@limetech/lime-elements 37.65.12 → 37.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import { FormComponent } from '../form/form.types';
3
3
  import { Languages } from '../date-picker/date.types';
4
4
  import { CustomElementDefinition } from '../../global/shared-types/custom-element.types';
5
5
  import { TriggerCharacter, TriggerEventDetail } from './text-editor.types';
6
+ import { EditorUiType } from './types';
6
7
  /**
7
8
  * A rich text editor that offers a rich text editing experience with markdown support,
8
9
  * in the sense that you can easily type markdown syntax and see the rendered
@@ -117,7 +118,7 @@ export declare class TextEditor implements FormComponent<string> {
117
118
  * scenarios such as mobile devices. In this mode, the toolbar is hidden
118
119
  * until the editor is focused.
119
120
  */
120
- ui?: 'standard' | 'minimal';
121
+ ui?: EditorUiType;
121
122
  /**
122
123
  * Dispatched when a change is made to the editor
123
124
  */
@@ -6,4 +6,8 @@ import { CustomElementDefinition } from '../../global/shared-types/custom-elemen
6
6
  export type TextEditorPlugin = {
7
7
  node: CustomElementDefinition[];
8
8
  };
9
+ /**
10
+ * @beta
11
+ */
12
+ export type EditorUiType = 'standard' | 'minimal';
9
13
  //# sourceMappingURL=types.d.ts.map
@@ -44,6 +44,7 @@ import { SpinnerSize } from "./components/spinner/spinner.types";
44
44
  import { Tab } from "./components/tab-bar/tab.types";
45
45
  import { Column, ColumnAggregate, ColumnSorter, RowData, TableParams } from "./components/table/table.types";
46
46
  import { Layout } from "./components/table/layout";
47
+ import { EditorUiType } from "./components/text-editor/types";
47
48
  import { EditorTextLink } from "./components/text-editor/prosemirror-adapter/menu/types";
48
49
  export { ActionBarItem } from "./components/action-bar/action-bar.types";
49
50
  export { ListItem, ListSeparator } from "./components/list/list-item.types";
@@ -84,6 +85,7 @@ export { SpinnerSize } from "./components/spinner/spinner.types";
84
85
  export { Tab } from "./components/tab-bar/tab.types";
85
86
  export { Column, ColumnAggregate, ColumnSorter, RowData, TableParams } from "./components/table/table.types";
86
87
  export { Layout } from "./components/table/layout";
88
+ export { EditorUiType } from "./components/text-editor/types";
87
89
  export { EditorTextLink } from "./components/text-editor/prosemirror-adapter/menu/types";
88
90
  export namespace Components {
89
91
  /**
@@ -2634,7 +2636,7 @@ export namespace Components {
2634
2636
  /**
2635
2637
  * Specifies the visual appearance of the editor. - `standard`: The default editor appearance with a full toolbar and standard layout. - `minimal`: A compact editor appearance, ideal for limited space scenarios such as mobile devices. In this mode, the toolbar is hidden until the editor is focused.
2636
2638
  */
2637
- "ui"?: 'standard' | 'minimal';
2639
+ "ui"?: EditorUiType;
2638
2640
  /**
2639
2641
  * Description of the text inside the editor as markdown
2640
2642
  */
@@ -7158,7 +7160,7 @@ declare namespace LocalJSX {
7158
7160
  /**
7159
7161
  * Specifies the visual appearance of the editor. - `standard`: The default editor appearance with a full toolbar and standard layout. - `minimal`: A compact editor appearance, ideal for limited space scenarios such as mobile devices. In this mode, the toolbar is hidden until the editor is focused.
7160
7162
  */
7161
- "ui"?: 'standard' | 'minimal';
7163
+ "ui"?: EditorUiType;
7162
7164
  /**
7163
7165
  * Description of the text inside the editor as markdown
7164
7166
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "37.65.12",
3
+ "version": "37.66.0",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",