@limetech/lime-elements 37.50.2 → 37.51.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [37.51.0](https://github.com/Lundalogik/lime-elements/compare/v37.50.3...v37.51.0) (2024-06-11)
2
+
3
+
4
+ ### Features
5
+
6
+
7
+ * **text-editor:** add a CSS variable to control component's max height ([a5d6ac5](https://github.com/Lundalogik/lime-elements/commit/a5d6ac5300b00c50e4a28c8b04bdc8a9fe3c493d))
8
+
9
+ ## [37.50.3](https://github.com/Lundalogik/lime-elements/compare/v37.50.2...v37.50.3) (2024-06-11)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+
15
+ * **text-editor:** put most used controls in the toolbar first ([1061c72](https://github.com/Lundalogik/lime-elements/commit/1061c722c99b80783d5b1c2979612493776bd5b9))
16
+
1
17
  ## [37.50.2](https://github.com/Lundalogik/lime-elements/compare/v37.50.1...v37.50.2) (2024-06-11)
2
18
 
3
19
 
@@ -16859,18 +16859,23 @@ const textEditorMenuItems = [
16859
16859
  selected: false,
16860
16860
  },
16861
16861
  {
16862
- value: EditorMenuTypes.Code,
16863
- text: 'Code',
16864
- commandText: `${mod} \``,
16865
- icon: '-lime-text-code',
16862
+ value: EditorMenuTypes.Link,
16863
+ text: 'Link',
16864
+ icon: '-lime-text-link',
16865
+ iconOnly: true,
16866
+ },
16867
+ { separator: true },
16868
+ {
16869
+ value: EditorMenuTypes.BulletList,
16870
+ text: 'Bullet list',
16871
+ icon: '-lime-text-bulleted-list',
16866
16872
  iconOnly: true,
16867
16873
  selected: false,
16868
16874
  },
16869
16875
  {
16870
- value: EditorMenuTypes.CodeBlock,
16871
- text: 'Code Block',
16872
- commandText: `${mod} ${shift} C`,
16873
- icon: '-lime-text-code-block',
16876
+ value: EditorMenuTypes.OrderedList,
16877
+ text: 'Numbered list',
16878
+ icon: '-lime-text-ordered-list',
16874
16879
  iconOnly: true,
16875
16880
  selected: false,
16876
16881
  },
@@ -16901,32 +16906,29 @@ const textEditorMenuItems = [
16901
16906
  },
16902
16907
  { separator: true },
16903
16908
  {
16904
- value: EditorMenuTypes.BulletList,
16905
- text: 'Bullet list',
16906
- icon: '-lime-text-bulleted-list',
16909
+ value: EditorMenuTypes.Blockquote,
16910
+ text: 'Blockquote',
16911
+ icon: '-lime-text-blockquote',
16907
16912
  iconOnly: true,
16908
16913
  selected: false,
16909
16914
  },
16915
+ { separator: true },
16910
16916
  {
16911
- value: EditorMenuTypes.OrderedList,
16912
- text: 'Numbered list',
16913
- icon: '-lime-text-ordered-list',
16917
+ value: EditorMenuTypes.Code,
16918
+ text: 'Code',
16919
+ commandText: `${mod} \``,
16920
+ icon: '-lime-text-code',
16914
16921
  iconOnly: true,
16915
16922
  selected: false,
16916
16923
  },
16917
16924
  {
16918
- value: EditorMenuTypes.Blockquote,
16919
- text: 'Blockquote',
16920
- icon: '-lime-text-blockquote',
16925
+ value: EditorMenuTypes.CodeBlock,
16926
+ text: 'Code Block',
16927
+ commandText: `${mod} ${shift} C`,
16928
+ icon: '-lime-text-code-block',
16921
16929
  iconOnly: true,
16922
16930
  selected: false,
16923
16931
  },
16924
- {
16925
- value: EditorMenuTypes.Link,
16926
- text: 'Link',
16927
- icon: '-lime-text-link',
16928
- iconOnly: true,
16929
- },
16930
16932
  ];
16931
16933
  const getTextEditorMenuItems = () => cloneDeep(textEditorMenuItems);
16932
16934
  const menuTranslationIDs = {