@limetech/lime-elements 39.11.1 → 39.12.1

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/lime-elements.cjs.js +1 -1
  3. package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +4 -4
  4. package/dist/cjs/limel-form.cjs.entry.js +103 -178
  5. package/dist/cjs/limel-helper-line_2.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-masonry-layout.cjs.entry.js +213 -0
  7. package/dist/cjs/limel-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
  9. package/dist/cjs/limel-portal_3.cjs.entry.js +4 -4
  10. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  12. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-slider.cjs.entry.js +2 -2
  16. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  19. package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  21. package/dist/cjs/limel-table.cjs.entry.js +3 -3
  22. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +3 -3
  23. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/collection/collection-manifest.json +1 -0
  26. package/dist/collection/components/form/form.js +13 -16
  27. package/dist/collection/components/form/schema-cache.js +66 -0
  28. package/dist/collection/components/masonry-layout/masonry-layout.css +21 -0
  29. package/dist/collection/components/masonry-layout/masonry-layout.js +267 -0
  30. package/dist/collection/components/menu/menu.js +1 -1
  31. package/dist/collection/components/menu-list/menu-list.js +1 -1
  32. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  33. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  34. package/dist/collection/components/picker/picker.js +1 -1
  35. package/dist/collection/components/popover/popover.js +1 -1
  36. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  37. package/dist/collection/components/portal/portal.js +1 -1
  38. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  39. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  40. package/dist/collection/components/select/select.js +1 -1
  41. package/dist/collection/components/shortcut/shortcut.js +1 -1
  42. package/dist/collection/components/slider/slider.js +2 -2
  43. package/dist/collection/components/snackbar/snackbar.js +2 -2
  44. package/dist/collection/components/spinner/spinner.js +1 -1
  45. package/dist/collection/components/split-button/split-button.js +2 -2
  46. package/dist/collection/components/switch/switch.js +1 -1
  47. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  48. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  49. package/dist/collection/components/table/table.js +3 -3
  50. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  51. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  52. package/dist/collection/components/text-editor/text-editor.js +1 -1
  53. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  54. package/dist/collection/components/tooltip/tooltip.js +2 -2
  55. package/dist/esm/lime-elements.js +1 -1
  56. package/dist/esm/limel-breadcrumbs_7.entry.js +4 -4
  57. package/dist/esm/limel-form.entry.js +103 -178
  58. package/dist/esm/limel-helper-line_2.entry.js +1 -1
  59. package/dist/esm/limel-masonry-layout.entry.js +211 -0
  60. package/dist/esm/limel-picker.entry.js +1 -1
  61. package/dist/esm/limel-popover_2.entry.js +2 -2
  62. package/dist/esm/limel-portal_3.entry.js +4 -4
  63. package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
  64. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  65. package/dist/esm/limel-radio-button.entry.js +2 -2
  66. package/dist/esm/limel-select.entry.js +1 -1
  67. package/dist/esm/limel-shortcut.entry.js +1 -1
  68. package/dist/esm/limel-slider.entry.js +2 -2
  69. package/dist/esm/limel-snackbar.entry.js +2 -2
  70. package/dist/esm/limel-split-button.entry.js +2 -2
  71. package/dist/esm/limel-switch.entry.js +1 -1
  72. package/dist/esm/limel-tab-bar.entry.js +2 -2
  73. package/dist/esm/limel-tab-panel.entry.js +1 -1
  74. package/dist/esm/limel-table.entry.js +3 -3
  75. package/dist/esm/limel-text-editor-link-menu.entry.js +3 -3
  76. package/dist/esm/limel-text-editor.entry.js +1 -1
  77. package/dist/esm/loader.js +1 -1
  78. package/dist/lime-elements/lime-elements.esm.js +1 -1
  79. package/dist/lime-elements/{p-3d724fc2.entry.js → p-0ea2db02.entry.js} +1 -1
  80. package/dist/lime-elements/{p-730a05e3.entry.js → p-0f4b1953.entry.js} +1 -1
  81. package/dist/lime-elements/{p-2906606d.entry.js → p-173def13.entry.js} +1 -1
  82. package/dist/lime-elements/{p-fe993f80.entry.js → p-341857fa.entry.js} +1 -1
  83. package/dist/lime-elements/p-469ec146.entry.js +1 -0
  84. package/dist/lime-elements/p-58615011.entry.js +1 -0
  85. package/dist/lime-elements/{p-8203eea8.entry.js → p-79c797f5.entry.js} +1 -1
  86. package/dist/lime-elements/{p-1635ece7.entry.js → p-7e584d40.entry.js} +1 -1
  87. package/dist/lime-elements/{p-3f188493.entry.js → p-803ec458.entry.js} +1 -1
  88. package/dist/lime-elements/{p-e0716b51.entry.js → p-811c4820.entry.js} +1 -1
  89. package/dist/lime-elements/{p-c308e2a5.entry.js → p-8fed01b1.entry.js} +2 -2
  90. package/dist/lime-elements/{p-de203f64.entry.js → p-92539877.entry.js} +1 -1
  91. package/dist/lime-elements/{p-8805080c.entry.js → p-9728aa4a.entry.js} +1 -1
  92. package/dist/lime-elements/{p-89b35965.entry.js → p-a6fe98eb.entry.js} +1 -1
  93. package/dist/lime-elements/{p-8b106865.entry.js → p-bd77c457.entry.js} +1 -1
  94. package/dist/lime-elements/{p-afd4be62.entry.js → p-d1477eca.entry.js} +1 -1
  95. package/dist/lime-elements/{p-9aa07388.entry.js → p-d1717de1.entry.js} +1 -1
  96. package/dist/lime-elements/{p-faceccc0.entry.js → p-d4d4236b.entry.js} +1 -1
  97. package/dist/lime-elements/{p-9015c90c.entry.js → p-e7438c81.entry.js} +1 -1
  98. package/dist/lime-elements/p-f93163eb.entry.js +7 -0
  99. package/dist/lime-elements/{p-50f51eb9.entry.js → p-fbdca779.entry.js} +1 -1
  100. package/dist/types/components/form/form.d.ts +1 -0
  101. package/dist/types/components/form/schema-cache.d.ts +17 -0
  102. package/dist/types/components/masonry-layout/masonry-layout.d.ts +94 -0
  103. package/dist/types/components.d.ts +90 -0
  104. package/package.json +1 -2
  105. package/dist/lime-elements/p-59716b48.entry.js +0 -1
  106. package/dist/lime-elements/p-fb6c42a6.entry.js +0 -7
@@ -0,0 +1,213 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BjHIBY-I.js');
4
+
5
+ const masonryLayoutCss = () => `:host(limel-masonry-layout){display:block;position:relative;box-sizing:border-box;visibility:hidden}:host(limel-masonry-layout) ::slotted(*){opacity:0;box-sizing:border-box}:host(limel-masonry-layout.is-laid-out){visibility:visible}:host(limel-masonry-layout.is-laid-out) ::slotted(*){opacity:1}`;
6
+
7
+ const MasonryLayout = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ /**
11
+ * When `true`, items are placed left-to-right in DOM order.
12
+ * When `false` (default), items are placed in the shortest column.
13
+ */
14
+ this.ordered = false;
15
+ this.containerHeight = 0;
16
+ this.hasRendered = false;
17
+ this.pendingLayoutFrame = null;
18
+ }
19
+ onOrderedChange() {
20
+ this.scheduleLayout();
21
+ }
22
+ componentDidLoad() {
23
+ this.setupObservers();
24
+ this.layoutItems();
25
+ this.hasRendered = true;
26
+ }
27
+ connectedCallback() {
28
+ if (this.hasRendered) {
29
+ this.setupObservers();
30
+ this.scheduleLayout();
31
+ }
32
+ }
33
+ disconnectedCallback() {
34
+ var _a, _b, _c;
35
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
36
+ (_b = this.mutationObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
37
+ (_c = this.itemResizeObserver) === null || _c === void 0 ? void 0 : _c.disconnect();
38
+ if (this.pendingLayoutFrame !== null) {
39
+ cancelAnimationFrame(this.pendingLayoutFrame);
40
+ }
41
+ }
42
+ render() {
43
+ const style = {
44
+ height: `${this.containerHeight}rem`,
45
+ };
46
+ return (index.h(index.Host, { key: 'e41aecdf81962515dabef9b872cac4a44facf45d', style: style, class: { 'is-laid-out': this.hasRendered } }, index.h("slot", { key: '94e9603630597a47bef3861a076fca9a8e90dd3c' })));
47
+ }
48
+ setupObservers() {
49
+ this.resizeObserver = new ResizeObserver(() => {
50
+ this.scheduleLayout();
51
+ });
52
+ this.resizeObserver.observe(this.host);
53
+ this.itemResizeObserver = new ResizeObserver(() => {
54
+ this.scheduleLayout();
55
+ });
56
+ this.mutationObserver = new MutationObserver(() => {
57
+ this.observeItemSizes();
58
+ this.scheduleLayout();
59
+ });
60
+ this.mutationObserver.observe(this.host, { childList: true });
61
+ this.observeItemSizes();
62
+ }
63
+ observeItemSizes() {
64
+ var _a;
65
+ (_a = this.itemResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
66
+ const items = this.getItems();
67
+ for (const item of items) {
68
+ this.itemResizeObserver.observe(item);
69
+ }
70
+ }
71
+ getItems() {
72
+ return [...this.host.children].filter((child) => child instanceof HTMLElement);
73
+ }
74
+ getRootFontSize() {
75
+ return Number.parseFloat(getComputedStyle(document.documentElement).fontSize);
76
+ }
77
+ pxToRem(px, rootFontSize) {
78
+ return px / rootFontSize;
79
+ }
80
+ /**
81
+ * Reads a CSS custom property from the host element and resolves
82
+ * its value to pixels. Falls back to the provided default if the
83
+ * property is not set.
84
+ *
85
+ * @param property - The CSS custom property name to read.
86
+ * @param fallback - The fallback CSS value if the property is not set.
87
+ * @param rootFontSize - The root font size in pixels for rem conversion.
88
+ */
89
+ getCssPropertyInPx(property, fallback, rootFontSize) {
90
+ const value = getComputedStyle(this.host).getPropertyValue(property).trim() ||
91
+ fallback;
92
+ const number = Number.parseFloat(value);
93
+ if (value.endsWith('px')) {
94
+ return number;
95
+ }
96
+ // Assume rem for any other unit (rem is the project standard)
97
+ return number * rootFontSize;
98
+ }
99
+ /**
100
+ * Debounces layout recalculations using `requestAnimationFrame`
101
+ * to coalesce multiple observer callbacks into a single layout
102
+ * pass per frame, avoiding layout thrashing.
103
+ */
104
+ scheduleLayout() {
105
+ if (this.pendingLayoutFrame !== null) {
106
+ cancelAnimationFrame(this.pendingLayoutFrame);
107
+ }
108
+ this.pendingLayoutFrame = requestAnimationFrame(() => {
109
+ this.pendingLayoutFrame = null;
110
+ this.layoutItems();
111
+ });
112
+ }
113
+ layoutItems() {
114
+ const items = this.getItems();
115
+ if (items.length === 0) {
116
+ this.containerHeight = 0;
117
+ return;
118
+ }
119
+ const hostWidth = this.host.offsetWidth;
120
+ if (!hostWidth) {
121
+ return;
122
+ }
123
+ const rootFontSize = this.getRootFontSize();
124
+ const gapPx = this.getCssPropertyInPx('--masonry-layout-gap', '1rem', rootFontSize);
125
+ const { columnCount, columnWidth } = this.calculateColumns(hostWidth, gapPx, rootFontSize);
126
+ const columnHeights = this.positionItems(items, columnCount, columnWidth, gapPx, rootFontSize);
127
+ const newHeight = this.pxToRem(Math.max(...columnHeights) - gapPx, rootFontSize);
128
+ if (Math.abs(newHeight - this.containerHeight) > 0.1) {
129
+ this.containerHeight = newHeight;
130
+ }
131
+ }
132
+ calculateColumns(hostWidth, gapPx, rootFontSize) {
133
+ const minColumnWidthPx = this.getCssPropertyInPx('--masonry-layout-min-column-width', '12rem', rootFontSize);
134
+ const columnCount = Math.max(1, Math.floor((hostWidth + gapPx) / (minColumnWidthPx + gapPx)));
135
+ const columnWidth = (hostWidth - (columnCount - 1) * gapPx) / columnCount;
136
+ return { columnCount, columnWidth };
137
+ }
138
+ /**
139
+ * Absolutely positions each item into the grid. In ordered mode,
140
+ * items are placed left-to-right via round-robin. In default mode,
141
+ * each item is placed in the shortest column for balanced heights.
142
+ *
143
+ * @param items - The child elements to position.
144
+ * @param columnCount - The number of columns in the grid.
145
+ * @param columnWidth - The width of each column in pixels.
146
+ * @param gapPx - The gap between items in pixels.
147
+ * @param rootFontSize - The root font size in pixels for rem conversion.
148
+ * @returns The cumulative height of each column in pixels.
149
+ */
150
+ positionItems(items, columnCount, columnWidth, gapPx, rootFontSize) {
151
+ const columnHeights = Array.from({ length: columnCount }, () => 0);
152
+ let index = 0;
153
+ for (const item of items) {
154
+ const column = this.ordered
155
+ ? index % columnCount
156
+ : columnHeights.indexOf(Math.min(...columnHeights));
157
+ const x = column * (columnWidth + gapPx);
158
+ const y = columnHeights[column];
159
+ item.style.position = 'absolute';
160
+ item.style.left = `${this.pxToRem(x, rootFontSize)}rem`;
161
+ item.style.top = `${this.pxToRem(y, rootFontSize)}rem`;
162
+ item.style.width = `${this.pxToRem(columnWidth, rootFontSize)}rem`;
163
+ if (!this.hasRendered) {
164
+ this.staggerFadeIn(item, index);
165
+ }
166
+ columnHeights[column] += item.offsetHeight + gapPx;
167
+ index++;
168
+ }
169
+ return columnHeights;
170
+ }
171
+ /**
172
+ * Applies a staggered fade-in transition to an item.
173
+ * Inline `transition` and `transitionDelay` styles are set
174
+ * temporarily and cleaned up via a `transitionend` listener
175
+ * so they don't interfere with the consumer's own transitions.
176
+ *
177
+ * The listener filters by `event.target` to avoid reacting to
178
+ * bubbled events from descendant elements.
179
+ *
180
+ * Skipped entirely when `prefers-reduced-motion: reduce` is
181
+ * active — items become visible instantly via the CSS
182
+ * `is-laid-out` class instead.
183
+ *
184
+ * @param item - The element to fade in.
185
+ * @param index - The item's position in the list, used to calculate the delay.
186
+ */
187
+ staggerFadeIn(item, index) {
188
+ const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
189
+ if (prefersReducedMotion) {
190
+ return;
191
+ }
192
+ item.style.transition = 'opacity 0.2s cubic-bezier(0.2, 0, 0.2, 1)';
193
+ item.style.transitionDelay = `${index * 20}ms`;
194
+ const cleanup = (event) => {
195
+ if (event.target !== item || event.propertyName !== 'opacity') {
196
+ return;
197
+ }
198
+ item.style.transition = '';
199
+ item.style.transitionDelay = '';
200
+ item.removeEventListener('transitionend', cleanup);
201
+ };
202
+ item.addEventListener('transitionend', cleanup);
203
+ }
204
+ get host() { return index.getElement(this); }
205
+ static get watchers() { return {
206
+ "ordered": [{
207
+ "onOrderedChange": 0
208
+ }]
209
+ }; }
210
+ };
211
+ MasonryLayout.style = masonryLayoutCss();
212
+
213
+ exports.limel_masonry_layout = MasonryLayout;
@@ -189,7 +189,7 @@ const Picker = class {
189
189
  props.maxItems = 1;
190
190
  }
191
191
  return [
192
- index.h("limel-chip-set", Object.assign({ key: 'e20f22b6907ad1d28f8b8c0847e5080faca09b3b', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
192
+ index.h("limel-chip-set", Object.assign({ key: '4f760b3049b45f6db36e19fd776479dcef11403f', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
193
193
  this.renderDropdown(),
194
194
  ];
195
195
  }
@@ -124,7 +124,7 @@ const Popover = class {
124
124
  render() {
125
125
  const cssProperties = this.getCssProperties();
126
126
  const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
127
- return (index.h("div", { key: '53e64435fa661015fbbf2e449890864c8008c329', class: "trigger-anchor" }, index.h("slot", { key: '85336e8f76377921850ffc7704c7588707c45066', name: "trigger", ref: this.setTriggerRef }), index.h("limel-portal", { key: 'a40bfde87375a494ac5404911b4b1f058a55becf', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, index.h("limel-popover-surface", { key: '396e369ae3e61a79bfd2f520e05187a6ff85f834', contentCollection: this.host.children, style: cssProperties }))));
127
+ return (index.h("div", { key: '7bc94b0e636ab16a04e76947731eb815f9a33e38', class: "trigger-anchor" }, index.h("slot", { key: 'e35b20eb6e38755cd50f71ada0413efcc79ce9e0', name: "trigger", ref: this.setTriggerRef }), index.h("limel-portal", { key: '397107a1f1fa9f796f0801da60df81084a0862ea', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, index.h("limel-popover-surface", { key: 'f63f011a8d529a68b535fcbed4685a5bb508dded', contentCollection: this.host.children, style: cssProperties }))));
128
128
  }
129
129
  globalClickListener(event) {
130
130
  const element = event.target;
@@ -167,7 +167,7 @@ const PopoverSurface = class {
167
167
  this.appendElement();
168
168
  }
169
169
  render() {
170
- return index.h("div", { key: '72e73b254be6cebbd27332329b10a58210ae0352', class: "limel-popover-surface", tabindex: "0" });
170
+ return index.h("div", { key: '2ade664e817c3559b6721f0567736c8942afd2f1', class: "limel-popover-surface", tabindex: "0" });
171
171
  }
172
172
  appendElement() {
173
173
  const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
@@ -1875,7 +1875,7 @@ const Portal = class {
1875
1875
  }
1876
1876
  }
1877
1877
  render() {
1878
- return index.h("slot", { key: 'd6ed0d276afec19ba5ffd4d6a6fcf96937127d6a' });
1878
+ return index.h("slot", { key: 'c8e7ba60cdab45dd239eae6c9123f673a48e8e22' });
1879
1879
  }
1880
1880
  onVisible() {
1881
1881
  if (!this.container && this.visible) {
@@ -2143,10 +2143,10 @@ const Tooltip = class {
2143
2143
  }
2144
2144
  render() {
2145
2145
  const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
2146
- return (index.h("div", { key: 'ffc3b079a0fcb1a4065c176228d720c64ca57d2e', class: "trigger-anchor" }, index.h("limel-portal", { key: 'e18fa14f5c328485f6755bc62c402c16d6dd0fd1', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
2146
+ return (index.h("div", { key: '41e07fbdde2814c108805286e919ac0da916c0f3', class: "trigger-anchor" }, index.h("limel-portal", { key: '4bb06a6307a3ccb934cc30c76ebde152fb784beb', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
2147
2147
  'z-index': tooltipZIndex,
2148
2148
  'pointer-events': 'none',
2149
- }, anchor: this.ownerElement }, index.h("limel-tooltip-content", { key: 'cc3a5f98a22082b4e8c2d0ec6bd71d5cf5770c0a', label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
2149
+ }, anchor: this.ownerElement }, index.h("limel-tooltip-content", { key: 'eb24b1a7df99ef054b4d0108275480568c22eede', label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
2150
2150
  }
2151
2151
  setOwnerAriaLabel() {
2152
2152
  var _a;
@@ -2189,7 +2189,7 @@ const TooltipContent = class {
2189
2189
  };
2190
2190
  }
2191
2191
  return [
2192
- index.h("text", Object.assign({ key: '14fbfda34a833644fd73cbfabb4e481ab5979c69', class: { 'has-column-layout': isLabelsTextLong } }, props), index.h("div", { key: '672c23e4d0f992395a422f684436ffb18720bd12', class: "label" }, this.label), index.h("div", { key: '132cffce86c4cd1a274ffbfd3d0ec1bfb9c3c073', class: "helper-label" }, this.helperLabel)),
2192
+ index.h("text", Object.assign({ key: 'c19e656075b926d26447a5620a0a779686445129', class: { 'has-column-layout': isLabelsTextLong } }, props), index.h("div", { key: '3e6c1220fde6121d6da548c48c776cbfbb83f4cd', class: "label" }, this.label), index.h("div", { key: 'e0dd60dc54481586a4af70a6c133ded3b32bb688', class: "helper-label" }, this.helperLabel)),
2193
2193
  ];
2194
2194
  }
2195
2195
  };
@@ -27826,7 +27826,7 @@ const ProsemirrorAdapter = class {
27826
27826
  (_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
27827
27827
  }
27828
27828
  render() {
27829
- return (index$1.h(index$1.Host, { key: '125d6d80cfc94a3121cde5d121d3cb2a26cf1635', onFocus: this.handleFocus }, index$1.h("div", { key: 'eb076afa683c0dfcb57b6688bc94ce1b81ce5710', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
27829
+ return (index$1.h(index$1.Host, { key: 'b7dbbd5a73e68e2df2b52f36f6d57bc0885f87a3', onFocus: this.handleFocus }, index$1.h("div", { key: 'a630b7eacb1b5be9460b85944e2a3a5955661437', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
27830
27830
  }
27831
27831
  renderToolbar() {
27832
27832
  if (this.actionBarItems.length === 0 || this.ui === 'no-toolbar') {
@@ -26,7 +26,7 @@ const RadioButtonGroup = class {
26
26
  };
27
27
  }
28
28
  render() {
29
- return (index.h("limel-list", { key: 'd42e6342d4fd79d34cb2c6a9d25d3dfe577e9a99', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
29
+ return (index.h("limel-list", { key: '0a68f90122f1e246d966e3b747f0e13bed2c901b', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
30
30
  }
31
31
  createItems() {
32
32
  return this.items.map((option) => {
@@ -9,12 +9,12 @@ const RadioButtonComponent = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h(index.Host, { key: '64623e09534c5b4e457029cbed4865d97d3cc19e', class: {
12
+ return (index.h(index.Host, { key: 'd198242b1e1a066b38b1d6ddc55fcd8dd7817c36', class: {
13
13
  'boolean-input': true,
14
14
  'radio-button': true,
15
15
  checked: this.checked,
16
16
  disabled: this.disabled,
17
- } }, index.h("input", { key: '4eb816e8031d20bbfa5beb32798e50e5d3747895', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), index.h("div", { key: '9e7d7db22981a16b4655d7cbcd7c3eb2462a7953', class: "box" }), index.h("label", { key: '4b2061d351b2d4d03d6e5763bc132be46d146e48', class: "boolean-input-label", htmlFor: this.id }, this.label)));
17
+ } }, index.h("input", { key: '7b2a009c5753d4ad9bad3c1ee9d8aa2b1fc30db8', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), index.h("div", { key: '8eef5a56df7502ec7b6cb1ed84c8b8f0a72cd21c', class: "box" }), index.h("label", { key: 'bcd0883bf0dbdd307508a47e98402e590167fa00', class: "boolean-input-label", htmlFor: this.id }, this.label)));
18
18
  }
19
19
  };
20
20
  RadioButtonComponent.style = radioButtonCss();
@@ -553,7 +553,7 @@ const Select = class {
553
553
  }
554
554
  render() {
555
555
  const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
556
- return (index.h(SelectTemplate, { key: '0bc73012998fd97b022c0bdbab31e6806a3ddfd3', id: this.portalId, disabled: this.disabled || this.readonly, readonly: this.readonly, required: this.required, invalid: this.invalid, label: this.label, helperText: this.helperText, value: this.value, options: this.options, onMenuChange: this.handleMenuChange, onNativeChange: this.handleNativeChange, onTriggerPress: this.handleMenuTriggerKeyPress, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.isMobileDevice && !this.multiple, dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
556
+ return (index.h(SelectTemplate, { key: '10e53df1cc7d3e629da0e5b18a96045e4f8e6224', id: this.portalId, disabled: this.disabled || this.readonly, readonly: this.readonly, required: this.required, invalid: this.invalid, label: this.label, helperText: this.helperText, value: this.value, options: this.options, onMenuChange: this.handleMenuChange, onNativeChange: this.handleNativeChange, onTriggerPress: this.handleMenuTriggerKeyPress, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.isMobileDevice && !this.multiple, dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
557
557
  }
558
558
  watchOpen(newValue, oldValue) {
559
559
  if (this.checkValid) {
@@ -48,7 +48,7 @@ const Shortcut = class {
48
48
  render() {
49
49
  var _a, _b, _c, _d, _e;
50
50
  const rel = linkHelper.getRel((_a = this.link) === null || _a === void 0 ? void 0 : _a.target, (_b = this.link) === null || _b === void 0 ? void 0 : _b.rel);
51
- return (index.h(index.Host, { key: '68fa485e1c6552337de3e8304dcb14bd2056f3cc', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, index.h("a", { key: 'e83e54fcd7776e92938795a2f623e23df14985b0', "aria-disabled": this.disabled, href: (_c = this.link) === null || _c === void 0 ? void 0 : _c.href, target: (_d = this.link) === null || _d === void 0 ? void 0 : _d.target, rel: rel, tabindex: "0", "aria-label": this.getAriaLabel(), title: (_e = this.link) === null || _e === void 0 ? void 0 : _e.title }, index.h("limel-icon", { key: 'b1aa7fec058ef958c71b0a01fc3c1340e66a0422', name: this.icon }), index.h("limel-3d-hover-effect-glow", { key: '59132d5f6b5d99f38bba8143a2ff39166dce8648' })), this.renderLabel(), this.renderNotification()));
51
+ return (index.h(index.Host, { key: 'cfca58724948367892595cd9dd49d4482ac61bf3', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, index.h("a", { key: 'f13f91fa379319448a95ca0182f61d375636b952', "aria-disabled": this.disabled, href: (_c = this.link) === null || _c === void 0 ? void 0 : _c.href, target: (_d = this.link) === null || _d === void 0 ? void 0 : _d.target, rel: rel, tabindex: "0", "aria-label": this.getAriaLabel(), title: (_e = this.link) === null || _e === void 0 ? void 0 : _e.title }, index.h("limel-icon", { key: '3d5b929acb6a26081626098f69cd29fb70b42faa', name: this.icon }), index.h("limel-3d-hover-effect-glow", { key: '05dd83b54485aa7fdbc103e84f50532313e4b8f0' })), this.renderLabel(), this.renderNotification()));
52
52
  }
53
53
  get host() { return index.getElement(this); }
54
54
  };
@@ -196,9 +196,9 @@ const Slider = class {
196
196
  if (this.disabled || this.readonly) {
197
197
  inputProps.disabled = true;
198
198
  }
199
- return (index.h(index.Host, { key: 'fa9695563f078bdab1707422cad3aaef2610e592', class: this.getContainerClassList() }, index.h("limel-notched-outline", { key: '8b71ef15e9544a6b346248217c2c2fa8acbba6e7', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, index.h("div", { key: '0327cf7d5295bb1d56e2e34b8dca15cfc3e15c0d', slot: "content" }, index.h("div", { key: '83fade77119ba9fa1d24ae8fdcd54317648918b3', class: "slider", style: { '--slider-fraction': `${fraction}` } }, index.h("input", Object.assign({ key: '5181430787abe75b4556923e31ebe8520df977e9', type: "range", min: min, max: max, value: this.displayValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperText
199
+ return (index.h(index.Host, { key: '00987f40cc3a4a7d47a5efec7257acbfcde2df06', class: this.getContainerClassList() }, index.h("limel-notched-outline", { key: '90d73bb40733a3bd85b0c7d6fb0420f4b48de9e9', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, index.h("div", { key: 'd35d56c074af9c68663a7f2c475794f82cc2f924', slot: "content" }, index.h("div", { key: '28367643903a7c888eb4c381e498d179afb2374a', class: "slider", style: { '--slider-fraction': `${fraction}` } }, index.h("input", Object.assign({ key: '9e2f5519e946f39444b21c893fa7c45db769b1d6', type: "range", min: min, max: max, value: this.displayValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperText
200
200
  ? this.helperTextId
201
- : undefined, onInput: this.handleInput, onChange: this.handleChange }, inputProps)), index.h("div", { key: '6ee95d718f1d01e92adcf9592882ed1d32e4ba67', class: "track" }, index.h("div", { key: 'bba420e41501990bdeb1326e59e6eff57000848d', class: "active" }), this.renderStepDots(min, max)), index.h("div", { key: '46e5a45adbda4e1a650d01408c3d228f1c6be68d', class: "thumb" }, index.h("div", { key: 'eeba995f52ff3291e2e7818528b05c7c1dec1b32', class: "knob" }), index.h("div", { key: 'd0321459ed22c6870d939da54df43fe2bfef6333', class: "indicator", "aria-hidden": "true" }, this.displayValue))), index.h("div", { key: 'bcc4449d7605343fd64f4b89b50c8e5d665f6937', class: "range-labels" }, index.h("span", { key: '301c78b1640551fe814ad3b2768bb40f9b682b39', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), index.h("span", { key: '7f8d741f63030b6f8e88231e5215448b815bf3ca', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderHelperLine()));
201
+ : undefined, onInput: this.handleInput, onChange: this.handleChange }, inputProps)), index.h("div", { key: '58525aba7ff932188e1395a71f43a5b3a448cfcc', class: "track" }, index.h("div", { key: '4e4c6f0eb6fea869a9e204c79adb8ca2c481f566', class: "active" }), this.renderStepDots(min, max)), index.h("div", { key: '326cefe13667b61450ed270fee96ec6bca479fa6', class: "thumb" }, index.h("div", { key: '716621ccf495c5f9ec27758b62d5f15b9995cf06', class: "knob" }), index.h("div", { key: '110c06b6803a4120ee1c613880b2ea8243702c89', class: "indicator", "aria-hidden": "true" }, this.displayValue))), index.h("div", { key: '0c82e7f841b39be2380a450898c231c37282e502', class: "range-labels" }, index.h("span", { key: '40088f1c268470bc585f5dbcf92f479641a6c2e0', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), index.h("span", { key: '8375f191def455fb3967209d18d839ada677c477', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderHelperLine()));
202
202
  }
203
203
  watchValue() {
204
204
  this.displayValue = this.multiplyByFactor(this.getValue());
@@ -147,14 +147,14 @@ const Snackbar = class {
147
147
  }
148
148
  }
149
149
  render() {
150
- return (index.h("aside", { key: '0c9605ecafcab256f9e1b2ac43b72c70695c1719', popover: "manual", style: {
150
+ return (index.h("aside", { key: 'f6658fa4fb12f30db4bed68726dfc8a45acb0075', popover: "manual", style: {
151
151
  '--snackbar-timeout': `${Math.max(this.timeout || 0, 0)}ms`,
152
152
  '--snackbar-distance-to-top-edge': `${this.offset}px`,
153
153
  }, class: {
154
154
  open: this.open,
155
155
  'is-closing': this.closing,
156
156
  'limel-portal--parent': true,
157
- }, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, index.h("div", { key: '58b4d6d2f94be604273c46e0babccade357798ab', class: "surface" }, index.h("div", { key: '148001236225eb6980f3894151e04fd43037863e', class: "label" }, this.message), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
157
+ }, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, index.h("div", { key: '2656ead3fd0b2e1e478229141a5651ed6fbf9c53', class: "surface" }, index.h("div", { key: '767a77e8558909e5f050715c94e2f72e7f3904e5', class: "label" }, this.message), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
158
158
  }
159
159
  setAriaRoles() {
160
160
  if (!this.open) {
@@ -45,9 +45,9 @@ const SplitButton = class {
45
45
  };
46
46
  }
47
47
  render() {
48
- return (index.h(index.Host, { key: '4ddbc6a1d81d69c50340512ed8a7112b2288fa3e', class: {
48
+ return (index.h(index.Host, { key: '461a17ec679b6f3e17ae9e89d03ebf00b1c28127', class: {
49
49
  'has-menu': this.items.length > 0,
50
- }, onClick: this.filterClickWhenDisabled }, index.h("limel-button", { key: '050586c28af81bc598021a602d4f274afd7a777b', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
50
+ }, onClick: this.filterClickWhenDisabled }, index.h("limel-button", { key: 'a2493b1f91c1ab1376685f2f9eec5fb8bbc7b1e8', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
51
51
  }
52
52
  static get delegatesFocus() { return true; }
53
53
  };
@@ -67,7 +67,7 @@ const Switch = class {
67
67
  makeEnterClickable.removeEnterClickable(this.host);
68
68
  }
69
69
  render() {
70
- return (index.h(index.Host, { key: '4adc29ba50c4e06948efef7b922c0fb70bb58ecb' }, this.readonly
70
+ return (index.h(index.Host, { key: 'dd6c6cb7fabaf8bae143a4787845c56aebf2fe74' }, this.readonly
71
71
  ? this.renderReadonly()
72
72
  : this.renderInteractive(), this.renderHelperLine()));
73
73
  }
@@ -2084,11 +2084,11 @@ const TabBar = class {
2084
2084
  this.tearDown();
2085
2085
  }
2086
2086
  render() {
2087
- return (index.h("div", { key: '011bbe3e75ebeb4fefe4942704ef003ad64e92fc', class: "mdc-tab-bar", role: "tablist" }, index.h("div", { key: '6119888fd94f5ea3d474c1a14016e456ff98923e', class: {
2087
+ return (index.h("div", { key: '5fcbc5f69907b3437a7c17d18d5356ac45f84ea4', class: "mdc-tab-bar", role: "tablist" }, index.h("div", { key: '0ec7bac2105ac5a2620379a907fc660344387539', class: {
2088
2088
  'mdc-tab-scroller': true,
2089
2089
  'can-scroll-left': this.canScrollLeft,
2090
2090
  'can-scroll-right': this.canScrollRight,
2091
- } }, index.h("div", { key: 'ac46f8471cbdbaec95bed2d5541d6f927eee0fb7', class: "mdc-tab-scroller__scroll-area lime-hide-scrollbars" }, index.h("div", { key: 'a12f6a5112ff94c5c70a6800972e81998fd51517', class: "mdc-tab-scroller__scroll-content" }, this.tabs.map(this.renderTab))), index.h("div", { key: '2891ceddace39d210b314c203bdaaf1cf50257da', class: "scroll-fade left" }), index.h("div", { key: '52d16debe5cba91b876d2c1ebc3fa0b65554193c', class: "scroll-button left" }, index.h("button", { key: 'a9c6c3bc7027e7dfcfdc999f542911533d2ad97d', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollLeft, onClick: this.handleLeftScrollClick }, index.h("limel-icon", { key: '6d910230e3e7182c0431508603f97a8da195454f', name: "angle_left" }))), index.h("div", { key: '47ab1002864f2603fcaee518c5cf8604512a5294', class: "scroll-fade right" }), index.h("div", { key: 'cebdcc16ed78ecbeafcf4bfbc9e1c59277f3c959', class: "scroll-button right" }, index.h("button", { key: 'd35caa827d3f4218537f91522cfe1b4b85d0de29', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollRight, onClick: this.handleRightScrollClick }, index.h("limel-icon", { key: '875ee1bfc8a28a6fbed1d6323974f732f5d3274e', name: "angle_right" }))))));
2091
+ } }, index.h("div", { key: 'e4bd200335ff91ff6cb6476fef0c30ff90ee1c44', class: "mdc-tab-scroller__scroll-area lime-hide-scrollbars" }, index.h("div", { key: 'c3f774e3524131d4d42c34eb1884ac95a173422e', class: "mdc-tab-scroller__scroll-content" }, this.tabs.map(this.renderTab))), index.h("div", { key: 'babdaf65720c52c03cf4bfedee68993ead018e94', class: "scroll-fade left" }), index.h("div", { key: 'fe06945559ccf14921f523776a15f68f62496804', class: "scroll-button left" }, index.h("button", { key: '5a6098a7776d635f9aaa9a7f59b4e7024f270ee1', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollLeft, onClick: this.handleLeftScrollClick }, index.h("limel-icon", { key: '89bdf714b634b0ec7d56d3b1b66961a74999e9e6', name: "angle_left" }))), index.h("div", { key: 'e7c6d0adb6634015c3482a3787451ffcfa37ee90', class: "scroll-fade right" }), index.h("div", { key: '97d2229df3f45d495ec59f97ae92c53fa63a5cab', class: "scroll-button right" }, index.h("button", { key: '1d4c1bf329e8739802faa4040d7438aa4c2056f0', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollRight, onClick: this.handleRightScrollClick }, index.h("limel-icon", { key: '1bc8b53f7958170c51aac799e05d441e5d6666c7', name: "angle_right" }))))));
2092
2092
  }
2093
2093
  tabsChanged(newTabs = [], oldTabs = []) {
2094
2094
  const newIds = newTabs.map((tab) => tab.id);
@@ -44,7 +44,7 @@ const TabPanel = class {
44
44
  this.tabs.forEach(this.setTabStatus);
45
45
  }
46
46
  render() {
47
- return (index.h(index.Host, { key: 'ebab881a0b0efc36b64c866b58b919890c526525', onChangeTab: this.handleChangeTabs }, index.h("div", { key: '1417a34aea0af009e44cd91ac8fd425412a2b706', class: "tab-panel" }, index.h("limel-tab-bar", { key: '5b420eeec41fdd353ba0ba36bb0e475c3fd26821', tabs: this.tabs }), index.h("div", { key: 'aa3d6f711a824a07eed6f2b5120497dd4218ed7b', class: "tab-content" }, index.h("slot", { key: '7ba511fa07bd96018e4d8d288d7b1dca572cead0' })))));
47
+ return (index.h(index.Host, { key: 'cc2be22eb941e72c7333ee435d912e55bc38fd20', onChangeTab: this.handleChangeTabs }, index.h("div", { key: 'a5ea8894f2bb8121320dabf15757ec6d667c3e9d', class: "tab-panel" }, index.h("limel-tab-bar", { key: '42be419551f9c3e1310de21bb89bab89bd759dee', tabs: this.tabs }), index.h("div", { key: '13e156b564873aaa4de691bd3cefc703ba7d2f65', class: "tab-content" }, index.h("slot", { key: 'b48cff50f857f337af2c60a0d7411a6b8860ae3d' })))));
48
48
  }
49
49
  setSlotElements() {
50
50
  const slot = this.getSlot();
@@ -31033,16 +31033,16 @@ const Table = class {
31033
31033
  render() {
31034
31034
  var _a, _b;
31035
31035
  const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
31036
- return (index.h(index.Host, { key: '83aff83d2e82d2b6bb71cca08a0f9532f084edf7', class: {
31036
+ return (index.h(index.Host, { key: '9277abb7977cb9acb8b8f4eb89b65d960d5e86c6', class: {
31037
31037
  'has-low-density': this.layout === 'lowDensity',
31038
31038
  'has-pagination-on-top': this.paginationLocation === 'top',
31039
- } }, index.h("div", { key: '159ef3258158b9987c2023612bc9975163253d91', id: "tabulator-container", class: {
31039
+ } }, index.h("div", { key: '75386d5a89d461ce2c0c6318ed3c465abb92c8e9', id: "tabulator-container", class: {
31040
31040
  'has-pagination': totalRows > this.pageSize,
31041
31041
  'has-aggregation': this.hasAggregation(this.columns),
31042
31042
  'has-movable-columns': this.movableColumns,
31043
31043
  'has-rowselector': this.selectable,
31044
31044
  'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
31045
- } }, index.h("div", { key: '74fbcc4af5ee32f05f19987127f1c26c71794cd3', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, index.h("limel-spinner", { key: 'b9da01750a35d99e2ea2f6ba024c5a3b25ac1aef', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), index.h("div", { key: 'dc3936c5ea3999ded14c4929ad7a03eef11418b1', id: "tabulator-table" }))));
31045
+ } }, index.h("div", { key: 'e3ab9bf53c9b5f4192ab65c49245bfc5be555940', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, index.h("limel-spinner", { key: 'ccef86fe3824a5117495e3fb96ea2928217663ce', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), index.h("div", { key: 'cc7c274d6b0f81ac24b5a56467dc38fb204ed306', id: "tabulator-table" }))));
31046
31046
  }
31047
31047
  renderSelectAll() {
31048
31048
  var _a, _b, _c;
@@ -109,9 +109,9 @@ const TextEditorLinkMenu = class {
109
109
  var _a, _b;
110
110
  const isValid = this.isValid(this.link.href);
111
111
  return [
112
- index.h("limel-input-field", { key: 'f91dd3a9c03bb52cb91ea0f3251288f5a612cd3a', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown, ref: (el) => (this.textInput = el) }),
113
- index.h("limel-input-field", { key: '1034663268cae0a749397331b43ea44387431c78', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown }),
114
- index.h("div", { key: '5c4b46deb47d9369a0a59e1e5908934093322755', class: "actions" }, index.h("limel-button", { key: '62c2dcc49a7907d938a27e2887432caa3e1a75ff', label: this.getTranslation('cancel'), onClick: this.handleCancel }), index.h("limel-button", { key: '5252752da58d02fd81abef41fc9788a07e277738', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
112
+ index.h("limel-input-field", { key: '453392d104185e6ad22ee90e204960da0c0f1def', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown, ref: (el) => (this.textInput = el) }),
113
+ index.h("limel-input-field", { key: '78c1dcc14cde3e8e6a053560e92fa9828b55d266', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown }),
114
+ index.h("div", { key: '2d77225e278410cb4af77b35ba756f0805f30b8c', class: "actions" }, index.h("limel-button", { key: 'bf2ad2a86c6231517e18f50a65a41785f5d0c38b', label: this.getTranslation('cancel'), onClick: this.handleCancel }), index.h("limel-button", { key: 'b86cddda73e5027fb88c0cb36ed784341b1081a7', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
115
115
  ];
116
116
  }
117
117
  };
@@ -131,7 +131,7 @@ const TextEditor = class {
131
131
  this.editorId = randomString.createRandomString();
132
132
  }
133
133
  render() {
134
- return (index.h(index.Host, { key: '31661aea27e0dea61827560c031587bd208f8bed' }, index.h("limel-notched-outline", { key: '81571a171ba0b629117d8b153e091e6d34c98c70', labelId: this.editorId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
134
+ return (index.h(index.Host, { key: 'bde3c6cc9cb0ed28fc72a3749a178b40d8694633' }, index.h("limel-notched-outline", { key: '344abd4bc6c049085605d9ea74cb942f93b331a6', labelId: this.editorId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
135
135
  }
136
136
  renderEditor() {
137
137
  if (this.readonly) {