Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Type definition for uiType used in the text-editor #3293

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

john-traas
Copy link
Contributor

@john-traas john-traas commented Nov 8, 2024

Fixes https://github.com/Lundalogik/crm-feature/issues/4455

May need separate PR's in both building blocks and lime-crm-components to then import and use the Type definition.

Copy link

github-actions bot commented Nov 8, 2024

Documentation has been published to https://lundalogik.github.io/lime-elements/versions/PR-3293/

@@ -7,3 +7,5 @@ import { CustomElementDefinition } from '../../global/shared-types/custom-elemen
export type TextEditorPlugin = {
node: CustomElementDefinition[];
};

export type EditorUiTypes = 'standard' | 'minimal';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Singular ☺️

Suggested change
export type EditorUiTypes = 'standard' | 'minimal';
export type EditorUiType = 'standard' | 'minimal';

Copy link
Contributor Author

@john-traas john-traas Nov 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄 Updated

@john-traas john-traas marked this pull request as ready for review November 11, 2024 15:00
@john-traas john-traas force-pushed the add-ui-types-as-a-type branch 2 times, most recently from e18c3f8 to c65260e Compare November 11, 2024 15:09
@john-traas john-traas requested a review from a team as a code owner November 11, 2024 15:36
@@ -7,3 +7,5 @@ import { CustomElementDefinition } from '../../global/shared-types/custom-elemen
export type TextEditorPlugin = {
node: CustomElementDefinition[];
};

export type EditorUiType = 'standard' | 'minimal';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing release tag on this type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants