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