@limetech/lime-elements 40.18.3 → 40.19.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.
Files changed (333) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/controlled-element-Ajn5eA-q.js +26 -0
  3. package/dist/cjs/{index-zZvs6xK-.js → index-DIiA99Er.js} +271 -71
  4. package/dist/cjs/lime-elements.cjs.js +1 -1
  5. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
  7. package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +65 -12
  11. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  12. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  14. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-chart.cjs.entry.js +1 -1
  16. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/limel-chip-set.cjs.entry.js +23 -4
  18. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  19. package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
  20. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  22. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  23. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
  24. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
  26. package/dist/cjs/limel-dock.cjs.entry.js +3 -3
  27. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +4 -4
  28. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
  30. package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
  31. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  32. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  33. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  34. package/dist/cjs/limel-form-header.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-form.cjs.entry.js +1 -1
  36. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  37. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  38. package/dist/cjs/limel-help_2.cjs.entry.js +3 -3
  39. package/dist/cjs/limel-helper-line_3.cjs.entry.js +6 -5
  40. package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
  41. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  42. package/dist/cjs/limel-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
  44. package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
  45. package/dist/cjs/limel-markdown.cjs.entry.js +4 -4
  46. package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
  47. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  48. package/dist/cjs/limel-pagination-jump.cjs.entry.js +1 -1
  49. package/dist/cjs/limel-pagination.cjs.entry.js +2 -2
  50. package/dist/cjs/limel-picker.cjs.entry.js +51 -24
  51. package/dist/cjs/limel-popover_2.cjs.entry.js +4 -11
  52. package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
  53. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +4 -4
  54. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  55. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  56. package/dist/cjs/limel-resize-handle.cjs.entry.js +2 -2
  57. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  58. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  59. package/dist/cjs/limel-side-panel.cjs.entry.js +2 -2
  60. package/dist/cjs/limel-slider.cjs.entry.js +4 -4
  61. package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
  62. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  63. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  64. package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
  65. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  66. package/dist/cjs/limel-table.cjs.entry.js +3 -3
  67. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
  68. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  69. package/dist/cjs/live-message-BNl3Ihcz.js +65 -0
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/cjs/{markdown-exporter-VtX_2D1d.js → markdown-exporter-BWS2EBxq.js} +2 -2
  72. package/dist/cjs/{markdown-parser-BYtTHL4W.js → markdown-parser-toAp9-Eq.js} +1 -1
  73. package/dist/cjs/{translations-CLSqfR3x.js → translations-CqJEWcfw.js} +8 -0
  74. package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
  75. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
  76. package/dist/collection/components/action-bar/action-bar.js +2 -2
  77. package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
  78. package/dist/collection/components/badge/badge.js +2 -2
  79. package/dist/collection/components/banner/banner.js +1 -1
  80. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  81. package/dist/collection/components/button/button.js +2 -2
  82. package/dist/collection/components/button-group/button-group.js +1 -1
  83. package/dist/collection/components/callout/callout.js +1 -1
  84. package/dist/collection/components/card/card.js +1 -1
  85. package/dist/collection/components/checkbox/checkbox.js +1 -1
  86. package/dist/collection/components/chip/chip.js +1 -1
  87. package/dist/collection/components/chip-set/chip-set.js +66 -3
  88. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  89. package/dist/collection/components/code-diff/code-diff.js +1 -1
  90. package/dist/collection/components/code-editor/code-editor.js +1 -1
  91. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  92. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  93. package/dist/collection/components/color-picker/color-picker.js +1 -1
  94. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  95. package/dist/collection/components/dialog/dialog.js +2 -2
  96. package/dist/collection/components/dock/dock.js +2 -2
  97. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  98. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  99. package/dist/collection/components/file/file.js +1 -1
  100. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  101. package/dist/collection/components/file-input/file-input.js +1 -1
  102. package/dist/collection/components/flex-container/flex-container.js +1 -1
  103. package/dist/collection/components/form/form.js +1 -1
  104. package/dist/collection/components/form-header/form-header.js +1 -1
  105. package/dist/collection/components/grid/grid.js +1 -1
  106. package/dist/collection/components/header/header.js +1 -1
  107. package/dist/collection/components/help/help-content.js +1 -1
  108. package/dist/collection/components/help/help.js +2 -2
  109. package/dist/collection/components/helper-line/helper-line.js +2 -2
  110. package/dist/collection/components/hotkey/hotkey.js +1 -1
  111. package/dist/collection/components/icon/icon.js +1 -1
  112. package/dist/collection/components/icon-button/icon-button.js +1 -1
  113. package/dist/collection/components/info-tile/info-tile.js +2 -2
  114. package/dist/collection/components/input-field/input-field.css +13 -0
  115. package/dist/collection/components/input-field/input-field.js +86 -5
  116. package/dist/collection/components/list/list-renderer.js +1 -1
  117. package/dist/collection/components/list/list.js +22 -1
  118. package/dist/collection/components/list-item/list-item.js +2 -2
  119. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  120. package/dist/collection/components/markdown/markdown.js +1 -1
  121. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  122. package/dist/collection/components/menu/menu.js +1 -1
  123. package/dist/collection/components/menu-list/menu-list.js +1 -1
  124. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  125. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  126. package/dist/collection/components/pagination/pagination.js +1 -1
  127. package/dist/collection/components/picker/picker.css +112 -0
  128. package/dist/collection/components/picker/picker.js +49 -20
  129. package/dist/collection/components/popover/popover.js +3 -10
  130. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  131. package/dist/collection/components/portal/portal.js +1 -1
  132. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  133. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  134. package/dist/collection/components/resize-handle/resize-handle.js +1 -1
  135. package/dist/collection/components/scroller/scroller.js +2 -2
  136. package/dist/collection/components/select/select.js +1 -1
  137. package/dist/collection/components/shortcut/shortcut.js +1 -1
  138. package/dist/collection/components/side-panel/side-panel.js +1 -1
  139. package/dist/collection/components/slider/slider.js +3 -3
  140. package/dist/collection/components/snackbar/snackbar.js +2 -2
  141. package/dist/collection/components/spinner/spinner.js +1 -1
  142. package/dist/collection/components/split-button/split-button.js +2 -2
  143. package/dist/collection/components/switch/switch.js +1 -1
  144. package/dist/collection/components/tab-bar/tab-bar.js +1 -1
  145. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  146. package/dist/collection/components/table/table.js +2 -2
  147. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  148. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  149. package/dist/collection/components/text-editor/text-editor.js +1 -1
  150. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  151. package/dist/collection/components/tooltip/tooltip.js +2 -2
  152. package/dist/collection/translations/da.js +1 -0
  153. package/dist/collection/translations/de.js +1 -0
  154. package/dist/collection/translations/en.js +1 -0
  155. package/dist/collection/translations/fi.js +1 -0
  156. package/dist/collection/translations/fr.js +1 -0
  157. package/dist/collection/translations/nl.js +1 -0
  158. package/dist/collection/translations/no.js +1 -0
  159. package/dist/collection/translations/sv.js +1 -0
  160. package/dist/collection/util/controlled-element.js +22 -0
  161. package/dist/collection/util/live-message.js +30 -0
  162. package/dist/esm/controlled-element-ByOXsysp.js +24 -0
  163. package/dist/esm/{index-BN64nlbO.js → index-CofmbCdQ.js} +271 -71
  164. package/dist/esm/lime-elements.js +1 -1
  165. package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
  166. package/dist/esm/limel-action-bar_3.entry.js +4 -4
  167. package/dist/esm/limel-ai-avatar.entry.js +2 -2
  168. package/dist/esm/limel-badge.entry.js +2 -2
  169. package/dist/esm/limel-banner.entry.js +1 -1
  170. package/dist/esm/limel-breadcrumbs_6.entry.js +64 -11
  171. package/dist/esm/limel-button-group.entry.js +1 -1
  172. package/dist/esm/limel-button.entry.js +2 -2
  173. package/dist/esm/limel-callout.entry.js +2 -2
  174. package/dist/esm/limel-card.entry.js +1 -1
  175. package/dist/esm/limel-chart.entry.js +1 -1
  176. package/dist/esm/limel-checkbox.entry.js +1 -1
  177. package/dist/esm/limel-chip-set.entry.js +23 -4
  178. package/dist/esm/limel-chip_2.entry.js +2 -2
  179. package/dist/esm/limel-circular-progress.entry.js +1 -1
  180. package/dist/esm/limel-code-diff.entry.js +2 -2
  181. package/dist/esm/limel-code-editor.entry.js +2 -2
  182. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  183. package/dist/esm/limel-color-picker-palette.entry.js +2 -2
  184. package/dist/esm/limel-color-picker.entry.js +1 -1
  185. package/dist/esm/limel-dialog.entry.js +2 -2
  186. package/dist/esm/limel-dock.entry.js +3 -3
  187. package/dist/esm/limel-drag-handle_2.entry.js +4 -4
  188. package/dist/esm/limel-email-viewer.entry.js +2 -2
  189. package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
  190. package/dist/esm/limel-file-viewer.entry.js +2 -2
  191. package/dist/esm/limel-file.entry.js +2 -2
  192. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  193. package/dist/esm/limel-flex-container.entry.js +1 -1
  194. package/dist/esm/limel-form-header.entry.js +1 -1
  195. package/dist/esm/limel-form.entry.js +1 -1
  196. package/dist/esm/limel-grid.entry.js +1 -1
  197. package/dist/esm/limel-header.entry.js +1 -1
  198. package/dist/esm/limel-help_2.entry.js +3 -3
  199. package/dist/esm/limel-helper-line_3.entry.js +6 -5
  200. package/dist/esm/limel-hotkey_4.entry.js +5 -5
  201. package/dist/esm/limel-icon-button.entry.js +1 -1
  202. package/dist/esm/limel-icon.entry.js +1 -1
  203. package/dist/esm/limel-info-tile.entry.js +2 -2
  204. package/dist/esm/limel-list-item.entry.js +3 -3
  205. package/dist/esm/limel-markdown.entry.js +4 -4
  206. package/dist/esm/limel-masonry-layout.entry.js +1 -1
  207. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  208. package/dist/esm/limel-pagination-jump.entry.js +1 -1
  209. package/dist/esm/limel-pagination.entry.js +2 -2
  210. package/dist/esm/limel-picker.entry.js +50 -23
  211. package/dist/esm/limel-popover_2.entry.js +4 -11
  212. package/dist/esm/limel-profile-picture.entry.js +1 -1
  213. package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
  214. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  215. package/dist/esm/limel-radio-button.entry.js +2 -2
  216. package/dist/esm/limel-resize-handle.entry.js +2 -2
  217. package/dist/esm/limel-select.entry.js +1 -1
  218. package/dist/esm/limel-shortcut.entry.js +1 -1
  219. package/dist/esm/limel-side-panel.entry.js +2 -2
  220. package/dist/esm/limel-slider.entry.js +4 -4
  221. package/dist/esm/limel-snackbar.entry.js +3 -3
  222. package/dist/esm/limel-split-button.entry.js +2 -2
  223. package/dist/esm/limel-switch.entry.js +1 -1
  224. package/dist/esm/limel-tab-bar.entry.js +1 -1
  225. package/dist/esm/limel-tab-panel.entry.js +1 -1
  226. package/dist/esm/limel-table.entry.js +3 -3
  227. package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
  228. package/dist/esm/limel-text-editor.entry.js +1 -1
  229. package/dist/esm/live-message-BQAYeNiX.js +62 -0
  230. package/dist/esm/loader.js +1 -1
  231. package/dist/esm/{markdown-exporter-tb8ft8Gq.js → markdown-exporter-B2vFxSLw.js} +2 -2
  232. package/dist/esm/{markdown-parser-DFP65EFu.js → markdown-parser-Cw8iW5R9.js} +1 -1
  233. package/dist/esm/{translations-Drl5LNAD.js → translations-kct5Kybu.js} +8 -0
  234. package/dist/lime-elements/lime-elements.esm.js +1 -1
  235. package/dist/lime-elements/{p-55f7c9f5.entry.js → p-02aac2c0.entry.js} +1 -1
  236. package/dist/lime-elements/{p-a608ebe3.entry.js → p-0319f07f.entry.js} +1 -1
  237. package/dist/lime-elements/{p-dd383c12.entry.js → p-0910aefc.entry.js} +1 -1
  238. package/dist/lime-elements/{p-a7a84633.entry.js → p-1a7d1d2b.entry.js} +1 -1
  239. package/dist/lime-elements/{p-f8566c5b.entry.js → p-1d9bc526.entry.js} +1 -1
  240. package/dist/lime-elements/{p-e0ab0046.entry.js → p-1e0ced6a.entry.js} +1 -1
  241. package/dist/lime-elements/{p-5f2a34ed.entry.js → p-28957b5c.entry.js} +1 -1
  242. package/dist/lime-elements/{p-fdc7da58.entry.js → p-38ab193f.entry.js} +1 -1
  243. package/dist/lime-elements/{p-3ae5fb67.entry.js → p-39d1e157.entry.js} +1 -1
  244. package/dist/lime-elements/{p-d0908a85.entry.js → p-3ac39bd5.entry.js} +2 -2
  245. package/dist/lime-elements/p-3ca188f6.entry.js +159 -0
  246. package/dist/lime-elements/{p-7f1a1ed5.entry.js → p-3f7fa772.entry.js} +1 -1
  247. package/dist/lime-elements/{p-b80433be.entry.js → p-40940a6c.entry.js} +1 -1
  248. package/dist/lime-elements/{p-7235d147.entry.js → p-438fe49b.entry.js} +1 -1
  249. package/dist/lime-elements/p-45572e9d.entry.js +1 -0
  250. package/dist/lime-elements/{p-0c314c3c.entry.js → p-47fe76a8.entry.js} +1 -1
  251. package/dist/lime-elements/p-4834e7c1.entry.js +1 -0
  252. package/dist/lime-elements/{p-22c44279.entry.js → p-48a412ed.entry.js} +1 -1
  253. package/dist/lime-elements/{p-eb5a18ff.entry.js → p-496b2437.entry.js} +1 -1
  254. package/dist/lime-elements/{p-5d9a2877.entry.js → p-4c080cd9.entry.js} +1 -1
  255. package/dist/lime-elements/{p-be0a8125.entry.js → p-54537c85.entry.js} +1 -1
  256. package/dist/lime-elements/{p-2c29c27f.entry.js → p-55fa19ae.entry.js} +1 -1
  257. package/dist/lime-elements/{p-da4b4a81.entry.js → p-5dce791c.entry.js} +1 -1
  258. package/dist/lime-elements/{p-b983531f.entry.js → p-6053608a.entry.js} +1 -1
  259. package/dist/lime-elements/{p-164e1ad0.entry.js → p-6ae093c8.entry.js} +1 -1
  260. package/dist/lime-elements/{p-29815107.entry.js → p-6d2d25b9.entry.js} +1 -1
  261. package/dist/lime-elements/{p-9e30d206.entry.js → p-6d9b89db.entry.js} +1 -1
  262. package/dist/lime-elements/{p-be2b8c1e.entry.js → p-6e9eeb0a.entry.js} +1 -1
  263. package/dist/lime-elements/{p-68129487.entry.js → p-764d2f86.entry.js} +1 -1
  264. package/dist/lime-elements/{p-49a53f0b.entry.js → p-7ab726c2.entry.js} +1 -1
  265. package/dist/lime-elements/{p-cced022b.entry.js → p-7b87e547.entry.js} +1 -1
  266. package/dist/lime-elements/{p-65eafc85.entry.js → p-7bf3bf8a.entry.js} +1 -1
  267. package/dist/lime-elements/{p-586ee40c.entry.js → p-7d0ffc60.entry.js} +1 -1
  268. package/dist/lime-elements/{p-fad7a3fa.entry.js → p-7f0743d6.entry.js} +1 -1
  269. package/dist/lime-elements/{p-7d27d572.entry.js → p-814b4934.entry.js} +1 -1
  270. package/dist/lime-elements/p-843886fe.entry.js +1 -0
  271. package/dist/lime-elements/p-8d602078.entry.js +1 -0
  272. package/dist/lime-elements/p-8fe28845.entry.js +1 -0
  273. package/dist/lime-elements/{p-f35880ef.entry.js → p-909466b8.entry.js} +1 -1
  274. package/dist/lime-elements/{p-545c087b.entry.js → p-933ffaa8.entry.js} +1 -1
  275. package/dist/lime-elements/{p-c1678d3a.entry.js → p-94ae27e2.entry.js} +1 -1
  276. package/dist/lime-elements/{p-cc8d6198.entry.js → p-95a486c8.entry.js} +1 -1
  277. package/dist/lime-elements/{p-565c85ac.entry.js → p-9b2623fe.entry.js} +1 -1
  278. package/dist/lime-elements/{p-C0wwdPYT.js → p-Bd37Vplf.js} +2 -2
  279. package/dist/lime-elements/p-ByOXsysp.js +1 -0
  280. package/dist/lime-elements/{p-_UXAljNc.js → p-CbPYnlF-.js} +1 -1
  281. package/dist/lime-elements/{p-Bgn2bikC.js → p-CvHpvp0f.js} +1 -1
  282. package/dist/lime-elements/p-Cw7VQSGU.js +1 -0
  283. package/dist/lime-elements/p-Dzp8dXTo.js +1 -0
  284. package/dist/lime-elements/{p-565e5ea7.entry.js → p-a6387dc7.entry.js} +1 -1
  285. package/dist/lime-elements/{p-40a48f70.entry.js → p-a6c6a31b.entry.js} +1 -1
  286. package/dist/lime-elements/{p-e8255f0b.entry.js → p-a7be03e1.entry.js} +1 -1
  287. package/dist/lime-elements/{p-67acf39d.entry.js → p-af7d07fd.entry.js} +1 -1
  288. package/dist/lime-elements/{p-707d4b28.entry.js → p-bffb5ed2.entry.js} +1 -1
  289. package/dist/lime-elements/{p-7035d93d.entry.js → p-c0ebf7cc.entry.js} +1 -1
  290. package/dist/lime-elements/{p-7aae3d13.entry.js → p-c2056ebc.entry.js} +1 -1
  291. package/dist/lime-elements/{p-19681a98.entry.js → p-c2f993cc.entry.js} +1 -1
  292. package/dist/lime-elements/{p-c73f4160.entry.js → p-c61e9b83.entry.js} +1 -1
  293. package/dist/lime-elements/{p-519603f5.entry.js → p-c6b3448c.entry.js} +1 -1
  294. package/dist/lime-elements/{p-153e91e1.entry.js → p-ce71c5b9.entry.js} +1 -1
  295. package/dist/lime-elements/{p-2a375a65.entry.js → p-d35d2859.entry.js} +1 -1
  296. package/dist/lime-elements/{p-26347009.entry.js → p-d3f13124.entry.js} +1 -1
  297. package/dist/lime-elements/{p-300f80e7.entry.js → p-d4702653.entry.js} +1 -1
  298. package/dist/lime-elements/{p-a2dc6645.entry.js → p-d8559847.entry.js} +1 -1
  299. package/dist/lime-elements/{p-c8f09dd5.entry.js → p-db9cb7ef.entry.js} +1 -1
  300. package/dist/lime-elements/{p-05c1f5a0.entry.js → p-e5abe390.entry.js} +1 -1
  301. package/dist/lime-elements/p-f036ad27.entry.js +1 -0
  302. package/dist/lime-elements/{p-2f5face5.entry.js → p-f59447bf.entry.js} +1 -1
  303. package/dist/lime-elements/{p-a81f6962.entry.js → p-f5bb17eb.entry.js} +1 -1
  304. package/dist/lime-elements/{p-9bbf2612.entry.js → p-f7a90228.entry.js} +1 -1
  305. package/dist/types/components/chip-set/chip-set.d.ts +15 -0
  306. package/dist/types/components/input-field/input-field.d.ts +13 -0
  307. package/dist/types/components/list/list-renderer-config.d.ts +1 -0
  308. package/dist/types/components/list/list.d.ts +6 -0
  309. package/dist/types/components/picker/picker.d.ts +12 -5
  310. package/dist/types/components/popover/popover.d.ts +0 -1
  311. package/dist/types/components.d.ts +46 -0
  312. package/dist/types/translations/da.d.ts +1 -0
  313. package/dist/types/translations/de.d.ts +1 -0
  314. package/dist/types/translations/en.d.ts +1 -0
  315. package/dist/types/translations/fi.d.ts +1 -0
  316. package/dist/types/translations/fr.d.ts +1 -0
  317. package/dist/types/translations/nl.d.ts +1 -0
  318. package/dist/types/translations/no.d.ts +1 -0
  319. package/dist/types/translations/sv.d.ts +1 -0
  320. package/dist/types/util/controlled-element.d.ts +11 -0
  321. package/dist/types/util/live-message.d.ts +17 -0
  322. package/package.json +2 -2
  323. package/dist/cjs/dom-BWMDM6En.js +0 -32
  324. package/dist/esm/dom-B9Ofc5RB.js +0 -30
  325. package/dist/lime-elements/p-513d2a5e.entry.js +0 -1
  326. package/dist/lime-elements/p-55abec82.entry.js +0 -1
  327. package/dist/lime-elements/p-70272ea2.entry.js +0 -1
  328. package/dist/lime-elements/p-813cb15c.entry.js +0 -1
  329. package/dist/lime-elements/p-895a68c5.entry.js +0 -1
  330. package/dist/lime-elements/p-93a2d3b3.entry.js +0 -159
  331. package/dist/lime-elements/p-B26k4gw8.js +0 -1
  332. package/dist/lime-elements/p-B9Ofc5RB.js +0 -1
  333. package/dist/lime-elements/p-ea11f365.entry.js +0 -1
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-Drl5LNAD.js';
3
- import { i as isDescendant } from './dom-B9Ofc5RB.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
+ import { t as translations } from './translations-kct5Kybu.js';
3
+ import { c as createLiveMessage, i as isDescendant } from './live-message-BQAYeNiX.js';
4
4
  import { E as ESCAPE, T as TAB, a as ENTER, A as ARROW_UP, b as ARROW_DOWN } from './keycodes-Bu6-QXrA.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { i as isTextEditingKey } from './typeahead-DOlnT3wh.js';
@@ -12,7 +12,7 @@ import './toNumber-D6JYpQI9.js';
12
12
  import './isSymbol-ClAke5ga.js';
13
13
  import './isObjectLike-oiMYqRQ0.js';
14
14
 
15
- const pickerCss = () => `:host{position:relative;display:block}:host([hidden]){display:none}`;
15
+ const pickerCss = () => `@charset "UTF-8";:host{position:relative;display:block}:host([hidden]){display:none}.suggestions-message{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}`;
16
16
 
17
17
  const SEARCH_DEBOUNCE = 300;
18
18
  const CHIP_SET_TAG_NAME = 'limel-chip-set';
@@ -88,11 +88,13 @@ const Picker = class {
88
88
  */
89
89
  this.badgeIcons = false;
90
90
  this.textValue = '';
91
+ this.suggestionsEngaged = false;
91
92
  this.loading = false;
92
93
  this.chips = [];
93
94
  // Should NOT be decorated with State(), since this
94
95
  // should not trigger a re-render by itself.
95
96
  this.chipSetEditMode = false;
97
+ this.suggestionsMessage = createLiveMessage(() => this.getSuggestionsMessage());
96
98
  this.getValueId = (item) => {
97
99
  const value = item.value;
98
100
  if (!!value && typeof value === 'object') {
@@ -171,8 +173,12 @@ const Picker = class {
171
173
  this.chipSet = this.host.shadowRoot.querySelector(CHIP_SET_TAG_NAME);
172
174
  this.updateTabIndex();
173
175
  }
176
+ componentDidRender() {
177
+ this.suggestionsMessage.update();
178
+ }
174
179
  disconnectedCallback() {
175
180
  this.debouncedSearch.cancel();
181
+ this.suggestionsMessage.update.cancel();
176
182
  }
177
183
  onDisabledChange() {
178
184
  this.updateTabIndex();
@@ -192,13 +198,11 @@ const Picker = class {
192
198
  }
193
199
  render() {
194
200
  const props = {};
201
+ const dropdownContent = this.getDropdownContentList();
195
202
  if (!this.multiple) {
196
203
  props.maxItems = 1;
197
204
  }
198
- return [
199
- h("limel-chip-set", Object.assign({ key: 'c3f4fd001d63a287a8a9f447f7c9df65279fbc34', 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, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
200
- this.renderDropdown(),
201
- ];
205
+ return (h(Host, { key: 'b8a2414331b89aa646ecdab2a0e5fb9bfce06de4' }, h("limel-chip-set", Object.assign({ key: 'bf4fe7ed7973f40c903116cd538f485e3f44881d', 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, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode, suggestionListId: this.canOpenList() ? this.portalId : undefined, suggestionListOpen: this.suggestionsEngaged && dropdownContent.length > 0 }, props)), this.renderPortal(dropdownContent), h("span", { key: '3967fc14d3207567c5976c48c1154b96ea3fe285', class: "suggestions-message", "aria-live": "polite", ref: this.suggestionsMessage.setElement })));
202
206
  }
203
207
  onChangeValue() {
204
208
  this.chips = this.createChips(this.value);
@@ -210,27 +214,44 @@ const Picker = class {
210
214
  return null;
211
215
  }
212
216
  /**
213
- * Renders the dropdown with the items to pick from, or a spinner if the picker
214
- * is waiting for items to be received
217
+ * Collects what the dropdown shows: the items to pick from, or a spinner
218
+ * if the picker is waiting for items to be received, and the actions. The
219
+ * dropdown is open when there is anything to show.
215
220
  *
216
- * @returns picker dropdown
221
+ * @returns the pieces of the dropdown
217
222
  */
218
- renderDropdown() {
223
+ getDropdownContentList() {
219
224
  const dropDownContent = this.getDropdownContent();
220
225
  const content = [];
221
226
  if (this.shouldShowDropDownContent()) {
222
227
  const actionContent = this.getActionContent();
223
- if (this.actionPosition === 'top') {
228
+ if (actionContent && this.actionPosition === 'top') {
224
229
  content.push(actionContent);
225
230
  }
226
231
  if (dropDownContent) {
227
232
  content.push(dropDownContent);
228
233
  }
229
- if (this.actionPosition === 'bottom') {
234
+ if (actionContent && this.actionPosition === 'bottom') {
230
235
  content.push(actionContent);
231
236
  }
232
237
  }
233
- return this.renderPortal(content);
238
+ return content;
239
+ }
240
+ getSuggestionsMessage() {
241
+ var _a;
242
+ if (!this.shouldShowDropDownContent()) {
243
+ return '';
244
+ }
245
+ if (this.loading) {
246
+ return translations.get('loading', this.language);
247
+ }
248
+ if (!((_a = this.items) === null || _a === void 0 ? void 0 : _a.length)) {
249
+ return this.textValue === '' ? '' : this.getEmptyResultMessage();
250
+ }
251
+ const count = this.items.filter((item) => !('separator' in item)).length;
252
+ return count
253
+ ? translations.get('suggestions.available', this.language, { count })
254
+ : '';
234
255
  }
235
256
  getActionContent() {
236
257
  var _a, _b;
@@ -250,11 +271,11 @@ const Picker = class {
250
271
  removeUnusedPropertiesOnAction(action) {
251
272
  return Object.assign(Object.assign({}, action), { actions: [] });
252
273
  }
274
+ canOpenList() {
275
+ return !this.readonly && !this.isFull();
276
+ }
253
277
  shouldShowDropDownContent() {
254
- if (this.readonly || this.isFull()) {
255
- return false;
256
- }
257
- return !!this.chipSetEditMode;
278
+ return this.canOpenList() && !!this.chipSetEditMode;
258
279
  }
259
280
  getDropdownContent() {
260
281
  var _a;
@@ -294,11 +315,14 @@ const Picker = class {
294
315
  padding: '1rem 0',
295
316
  } }, h("limel-spinner", { limeBranded: false })));
296
317
  }
297
- renderEmptyMessage() {
298
- const text = this.emptyResultMessage ||
318
+ getEmptyResultMessage() {
319
+ return (this.emptyResultMessage ||
299
320
  translations.get('picker.no-matching-results', this.language, {
300
321
  query: this.textValue,
301
- });
322
+ }));
323
+ }
324
+ renderEmptyMessage() {
325
+ const text = this.getEmptyResultMessage();
302
326
  const style = {
303
327
  color: 'rgb(var(--contrast-1100))',
304
328
  textAlign: 'center',
@@ -308,7 +332,7 @@ const Picker = class {
308
332
  return h("p", { style: style }, text);
309
333
  }
310
334
  renderListResult() {
311
- return (h("limel-list", { "data-suggestions": "", badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
335
+ return (h("limel-list", { "data-suggestions": "", accessibleLabel: this.label || this.searchLabel, badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
312
336
  }
313
337
  onListKeyDown(event) {
314
338
  if (event.key === ESCAPE) {
@@ -344,6 +368,7 @@ const Picker = class {
344
368
  isDescendant(element, portalElement)) {
345
369
  return;
346
370
  }
371
+ this.suggestionsEngaged = false;
347
372
  this.clearInputField();
348
373
  }
349
374
  /**
@@ -355,6 +380,7 @@ const Picker = class {
355
380
  event.stopPropagation();
356
381
  const query = event.detail;
357
382
  this.textValue = query;
383
+ this.suggestionsEngaged = true;
358
384
  this.debouncedSearch(query);
359
385
  // If the search-query is an empty string, bypass debouncing.
360
386
  if (query === '') {
@@ -450,6 +476,7 @@ const Picker = class {
450
476
  */
451
477
  handleInputKeyDown(event) {
452
478
  var _a;
479
+ this.suggestionsEngaged = true;
453
480
  const isUp = event.key === ARROW_UP;
454
481
  const isDown = event.key === ARROW_DOWN;
455
482
  const isEscape = event.key === ESCAPE;
@@ -2,6 +2,7 @@ import { r as registerInstance, c as createEvent, h, a as getElement } from './i
2
2
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
3
  import { E as ESCAPE } from './keycodes-Bu6-QXrA.js';
4
4
  import { f as focusTriggerElement, z as zipObject } from './focus-trigger-element-CIEHI_yk.js';
5
+ import { s as setControlledElement } from './controlled-element-ByOXsysp.js';
5
6
  import './_assignValue-CEFvyZxO.js';
6
7
  import './_defineProperty-C69Btzid.js';
7
8
  import './_getNative-COawFdVX.js';
@@ -80,7 +81,7 @@ const Popover = class {
80
81
  // `aria-expanded` is needed even when the popover is closed. Without
81
82
  // it, the trigger reads as an ordinary button to a screen reader.
82
83
  element.setAttribute('aria-expanded', this.open ? 'true' : 'false');
83
- this.setControlledPopup(element);
84
+ setControlledElement(element, this.portalId);
84
85
  element.setAttribute('role', 'button');
85
86
  };
86
87
  this.portalId = createRandomString();
@@ -139,7 +140,7 @@ const Popover = class {
139
140
  render() {
140
141
  const cssProperties = this.getCssProperties();
141
142
  const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
142
- return (h("div", { key: 'f314178b0648433c2e764a31b64c94c85f31d7ce', class: "trigger-anchor" }, h("slot", { key: '93953d9f7bf5c1c0550e445a4e49591029408725', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: '01d43457e8eeebd3c135ea823bb26e0e3e336d12', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: '6c368bcc7a3914fa62525b01f912cf4d0e640531', contentCollection: this.host.children, popupRole: this.getNamedPopupRole(), accessibleLabel: this.accessibleLabel, style: cssProperties }))));
143
+ return (h("div", { key: '25f9721cd8faad3f7f8d2d6f6f5152bfa507783c', class: "trigger-anchor" }, h("slot", { key: 'b3a48d53f82b3caaf6ba3123b8df0c6b2880a6d7', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: '3707b6a5157e89bc57f0687ef2ca74a592226e70', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: 'bb5eb9c961732fe8582cc3e95787803efec6e6a4', contentCollection: this.host.children, popupRole: this.getNamedPopupRole(), accessibleLabel: this.accessibleLabel, style: cssProperties }))));
143
144
  }
144
145
  globalClickListener(event) {
145
146
  const element = event.target;
@@ -174,14 +175,6 @@ const Popover = class {
174
175
  }
175
176
  this.hasWarnedAboutMissingName = hasNoName;
176
177
  }
177
- setControlledPopup(element) {
178
- const popup = document.querySelector(`#${this.portalId}`);
179
- if ('ariaControlsElements' in element) {
180
- element.ariaControlsElements = popup ? [popup] : null;
181
- return;
182
- }
183
- element.setAttribute('aria-controls', this.portalId);
184
- }
185
178
  get host() { return getElement(this); }
186
179
  static get watchers() { return {
187
180
  "open": [{
@@ -201,7 +194,7 @@ const PopoverSurface = class {
201
194
  this.appendElement();
202
195
  }
203
196
  render() {
204
- return (h("div", { key: '0391463d9777ee0a43de19b4fcf97e5b1ef120d9', class: "limel-popover-surface", tabindex: "0", role: this.popupRole, "aria-label": this.accessibleLabel }));
197
+ return (h("div", { key: 'b3b766fa5d9b26b48136c0856bbfb40745498b7c', class: "limel-popover-surface", tabindex: "0", role: this.popupRole, "aria-label": this.accessibleLabel }));
205
198
  }
206
199
  appendElement() {
207
200
  const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
2
  import { i as isTypeAccepted } from './files-CKnLqPDj.js';
3
3
  import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
4
- import { t as translations } from './translations-Drl5LNAD.js';
4
+ import { t as translations } from './translations-kct5Kybu.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
7
7
  import { I as ImageTemplate } from './image.template-BGjw97m_.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { L as LevelMapping, E as EditorMenuTypes, i as isInlineImageTag, M as MouseButtons, e as editorMenuTypesArray } from './types-C_Yu8dOg.js';
3
- import { g as getLinkAttributes, m as markdownToHTML, s as sanitizeHTML } from './markdown-parser-DFP65EFu.js';
3
+ import { g as getLinkAttributes, m as markdownToHTML, s as sanitizeHTML } from './markdown-parser-Cw8iW5R9.js';
4
4
  import { c as cloneDeep } from './cloneDeep-BYrS7zqD.js';
5
- import { t as translations } from './translations-Drl5LNAD.js';
6
- import { c as decodeHTML, e as decodeHTMLStrict } from './index-BN64nlbO.js';
5
+ import { t as translations } from './translations-kct5Kybu.js';
6
+ import { c as decodeHTML, e as decodeHTMLStrict } from './index-CofmbCdQ.js';
7
7
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
8
8
  import { i as isItem } from './is-item-CrvUOVvg.js';
9
9
  import { c as createFileInfo } from './files-CKnLqPDj.js';
@@ -28657,7 +28657,7 @@ const ProsemirrorAdapter = class {
28657
28657
  (_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
28658
28658
  }
28659
28659
  render() {
28660
- return (h(Host, { key: 'f5d3b059f54cdb32f9499b9063e4b3c732490f0e', onFocus: this.handleFocus }, h("div", { key: '81aa602b9cf3575da987261e60629e008c03269c', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
28660
+ return (h(Host, { key: '8146122990b6020e7c1062938123d233e6c4e6aa', onFocus: this.handleFocus }, h("div", { key: '49dfd2b845efad4528689a9890e2f59cb5cd030e', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
28661
28661
  }
28662
28662
  renderToolbar() {
28663
28663
  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: 'c2126217b6d0e46fa2697ad357fa441dfd611e84', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
27
+ return (h("limel-list", { key: 'b9c2e1312803c82e8729e0f55b2e2c06e24c00a0', 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: '6a13619b314af79329c8bb375b13db650ff84bc0', class: {
10
+ return (h(Host, { key: '9fd754e0cad07b0dafc27ff12966f1ecc43ac94c', 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: '766fe9899d9c4b0ef0b4cce2a579d70d95ddc4ef', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: '95c155149a1e2e0c90f0f32c960b7fb02844a352', class: "box" }), h("label", { key: 'c79892604f14bdc55ea207a9e95214c2b3c365dc', class: "boolean-input-label", htmlFor: this.id }, this.label)));
15
+ } }, h("input", { key: 'e6dfb4a56fd955db9718400bdf9f1315d768883c', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: '371b6ff8362f34dc1dcedb254c99246c36bbd8db', class: "box" }), h("label", { key: '2a65aee91c5f82a13b9e469f6bd5eb9126d798cf', class: "boolean-input-label", htmlFor: this.id }, this.label)));
16
16
  }
17
17
  };
18
18
  RadioButtonComponent.style = radioButtonCss();
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-Drl5LNAD.js';
2
+ import { t as translations } from './translations-kct5Kybu.js';
3
3
  import { A as ARROW_UP, b as ARROW_DOWN, c as ARROW_LEFT, d as ARROW_RIGHT } from './keycodes-Bu6-QXrA.js';
4
4
  import './language-ChagAaNf.js';
5
5
 
@@ -246,7 +246,7 @@ const ResizeHandle = class {
246
246
  }
247
247
  render() {
248
248
  const name = this.getName();
249
- return (h(Host, { key: '60afc9a25d46b0353ea82e5d952c4f16ea966af9', onKeyDown: this.handleKeyDown, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, h("div", { key: 'cf668350fd88ceb546b2ba5d9f2e256fad850633', role: "separator", id: SEPARATOR_ID, tabindex: "0", "aria-orientation": getOrientation(this.location), "aria-label": name, "aria-valuenow": this.value, "aria-valuemin": this.min, "aria-valuemax": this.max, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '581a96a20905d70ed32f5a25b8db803ea4daee6a', role: "presentation" }, h("span", { key: 'a06b14126c53c2a28c32897cf27d95f2d86d6e71' }), h("span", { key: 'b0b80786f6fa842b562c3e17c82f6d569f977d6f' }), h("span", { key: 'f1604f9a3e96bf59558bba08a3c9388f97ecb17e' }))), h("limel-tooltip", { key: '43c3a9a2502f30e58067f1eb16e53129face2bf4', elementId: SEPARATOR_ID, label: name, helperLabel: this.getHint(), openDirection: this.location })));
249
+ return (h(Host, { key: 'ae82ff62dfeb954f5dec181a8d3e0a0e564e0219', onKeyDown: this.handleKeyDown, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, h("div", { key: '68826930c86850047893b5f8edcb8203000b0126', role: "separator", id: SEPARATOR_ID, tabindex: "0", "aria-orientation": getOrientation(this.location), "aria-label": name, "aria-valuenow": this.value, "aria-valuemin": this.min, "aria-valuemax": this.max, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '15be73014f20e7788cdb3a9ff0d332a0c036a1fe', role: "presentation" }, h("span", { key: '69e9b4c0496d659db9b82d91339ab60e455b8bcc' }), h("span", { key: '9549feb07707e9ba8751ab4d06e6c2b5f9d1bbd7' }), h("span", { key: '4ce59a99ca80989774915fa499a5251ef041db83' }))), h("limel-tooltip", { key: 'cbadd628e570b83c4bd3944e7e87d5834dbcd418', elementId: SEPARATOR_ID, label: name, helperLabel: this.getHint(), openDirection: this.location })));
250
250
  }
251
251
  getName() {
252
252
  if (!this.resizableRegionLabel) {
@@ -658,7 +658,7 @@ const Select = class {
658
658
  }
659
659
  render() {
660
660
  const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
661
- return (h(SelectTemplate, { key: 'f0cb07f6a462919f27c952ca518dd6139413dde6', id: this.portalId, disabled: this.disabled, 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, onTriggerKeyDown: this.handleMenuTriggerKeyDown, listRef: this.setListElement, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.shouldRenderNative(), dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
661
+ return (h(SelectTemplate, { key: '4e7a0b4acfc0a76fa2e10089d974796a08b81f22', id: this.portalId, disabled: this.disabled, 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, onTriggerKeyDown: this.handleMenuTriggerKeyDown, listRef: this.setListElement, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.shouldRenderNative(), dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
662
662
  }
663
663
  watchOpen(newValue, oldValue) {
664
664
  if (this.checkValid) {
@@ -51,7 +51,7 @@ const Shortcut = class {
51
51
  render() {
52
52
  var _a, _b, _c, _d, _e;
53
53
  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);
54
- return (h(Host, { key: '7bf3b46e100ac6bbdaa80340005154bc83be3c1b', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("a", { key: '411751e70f5933a78549fee2aa7f4196ac6c2607', "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: '8b0c70289868c38c326ed0f3ced857f069b5914c', name: this.icon }), h("limel-3d-hover-effect-glow", { key: 'a1d467b156cbd66220284d296c081a34f5288142' })), this.renderLabel(), this.renderNotification()));
54
+ return (h(Host, { key: '85fa2d40b55cf7760d741790a1c46aed214b9138', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("a", { key: 'd0947264d9e635538b680c49f6d63d9b1fe5c276', "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: '49f8738c4f675badac5c048a74b15070f883e425', name: this.icon }), h("limel-3d-hover-effect-glow", { key: 'd079dc72de9f71b9694ce6dad18f37082ebf4c8b' })), this.renderLabel(), this.renderNotification()));
55
55
  }
56
56
  get host() { return getElement(this); }
57
57
  };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-Drl5LNAD.js';
2
+ import { t as translations } from './translations-kct5Kybu.js';
3
3
  import { E as ESCAPE } from './keycodes-Bu6-QXrA.js';
4
4
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
5
5
  import './language-ChagAaNf.js';
@@ -228,7 +228,7 @@ const SidePanel = class {
228
228
  .querySelector('button.close')) === null || _a === void 0 ? void 0 : _a.focus();
229
229
  }
230
230
  render() {
231
- return (h(Host, { key: '08b05c2b8afd8932dc8adb37ad90f1d95470157c' }, h("section", { key: 'f22ca23fdd6a12800bb0302324b9bc2240248799', ref: this.setPanel, role: "dialog", "aria-label": this.label, tabindex: "-1" }, this.renderHandle(), h("div", { key: '2fad374bae850686330e1ed96f5fab4f47243ee2', class: "content" }, h("div", { key: 'fe0752f1df11d0ed2b7e5b9592527f4c2db920c5', class: "toolbar" }, this.renderCloseButton(), this.renderActions()), this.renderHeader(), this.renderBody())), this.renderStack(), h("span", { key: 'c5550895527070ff57f41eab0e01e8a1eb924883', "data-limit": "min", ref: this.setMinLimit }), h("span", { key: '2de8d255c665137b0e6049eaf79214e5164aed85', "data-limit": "max", ref: this.setMaxLimit })));
231
+ return (h(Host, { key: '9b897330f9b462ea664d78d5886c1a192b95b037' }, h("section", { key: 'dd60b5b91233d1dedde3fbdabf6145a2f008e99a', ref: this.setPanel, role: "dialog", "aria-label": this.label, tabindex: "-1" }, this.renderHandle(), h("div", { key: 'd6e145ccba5ca797168eeb39da030844a03d1dc1', class: "content" }, h("div", { key: 'f1b5b41bcd39b5b1192ed080ddb770a7b5f694ac', class: "toolbar" }, this.renderCloseButton(), this.renderActions()), this.renderHeader(), this.renderBody())), this.renderStack(), h("span", { key: 'b84046762f4f9c81a8a93eb388037b7565f6457a', "data-limit": "min", ref: this.setMinLimit }), h("span", { key: '2a3c7a1084875e6d57fe401716e550a365d8adc8', "data-limit": "max", ref: this.setMaxLimit })));
232
232
  }
233
233
  // A native button and not `limel-icon-button`, because the hover animation
234
234
  // styles the icon, which is inside the shadow root of `limel-icon-button`.
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
2
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
- import { t as translations } from './translations-Drl5LNAD.js';
3
+ import { t as translations } from './translations-kct5Kybu.js';
4
4
  import './language-ChagAaNf.js';
5
5
 
6
6
  /**
@@ -306,15 +306,15 @@ const Slider = class {
306
306
  if (this.disabled || this.readonly) {
307
307
  inputProps.disabled = true;
308
308
  }
309
- return (h(Host, { key: '221db331025fdd7f147d86da437fd6cd1daa2622', class: this.getContainerClassList() }, h("limel-notched-outline", { key: 'e43bad1e38c8f7844f6c9556e1663d5db0fcda81', labelId: this.inputId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !this.isUnset, hasFloatingLabel: true }, h("div", { key: '94f4bcfbf53ec1aa1f283140f66249cf20222758', slot: "content" }, h("div", { key: '070e80ffb9cd899b95b65f608012f6179e857a48', class: "slider", style: { '--slider-fraction': `${fraction}` } }, h("input", Object.assign({ key: 'c797f60bb1dee92f504bbe9b7d7e46e28e35bb5b', id: this.inputId, type: "range", min: min, max: max, value: this.displayValue, "aria-describedby": this.helperText
309
+ return (h(Host, { key: 'f36c727962bfff9e4b4d1f59659edf19e3d7966f', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '0e87be789bc4f5462b45d9ac9e7f2318ca59000f', labelId: this.inputId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !this.isUnset, hasFloatingLabel: true }, h("div", { key: '2d46c8256b2497a041ad0ef70a17a8a9c3a68646', slot: "content" }, h("div", { key: '55f05f623a70dd946189a70b399372c1409757e2', class: "slider", style: { '--slider-fraction': `${fraction}` } }, h("input", Object.assign({ key: 'f56b592cdab90fd824081529800ad995b0129dc4', id: this.inputId, type: "range", min: min, max: max, value: this.displayValue, "aria-describedby": this.helperText
310
310
  ? this.helperTextId
311
311
  : undefined, "aria-invalid": this.invalid ? 'true' : undefined, "aria-valuetext": this.isUnset
312
312
  ? translations.get('value-not-set', this.language)
313
313
  : undefined, ref: (el) => {
314
314
  this.inputElement = el;
315
- }, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: '1d2cc0e4f84e3292e404499a670ee32f7b2f0c07', class: "track" }, h("div", { key: '849eda8cc4916f9455aee96ea3e4811a80be3a18', class: "active" }), this.renderStepDots(min, max)), h("div", { key: '92ac819c20b16c8d54d7a482c76e9cba7217cb74', class: "thumb" }, h("div", { key: '2e696e951a707674f67bb7a679123d0749b7f7fd', class: "knob" }), h("div", { key: 'a794baedbf24fe400f48340af990ce6e4794e59c', class: "indicator", "aria-hidden": "true" }, this.isUnset
315
+ }, onInput: this.handleInput, onChange: this.handleChange, onClick: this.handleClick }, inputProps)), h("div", { key: 'bc8caf7e40128a09bd09c5dfaa1932702a3181ec', class: "track" }, h("div", { key: 'b76f3d65f499dfc0b0c689bc1f18af79842847e1', class: "active" }), this.renderStepDots(min, max)), h("div", { key: '197a21d948777705839baf6c9e37606675d92952', class: "thumb" }, h("div", { key: 'e9f5ec56849f8165071d6c0b79f0366b4dbe664d', class: "knob" }), h("div", { key: '932a98222a1bd85cfcec64f318aaf7acb9b03e97', class: "indicator", "aria-hidden": "true" }, this.isUnset
316
316
  ? '\u{2194}\u{FE0E}'
317
- : this.displayValue))), h("div", { key: '30c8309de3dc8c0040b334e46d9426a70ba38b15', class: "range-labels" }, h("span", { key: 'faa79880adff0de1b541cdeada725b73bd44798f', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), h("span", { key: 'd7c2ebd24f1883d5a6104ef0f51faa7daea3e3c9', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderClearButton(), this.renderHelperLine()));
317
+ : this.displayValue))), h("div", { key: '19f3779a56a21d317bf350f99a5f93068b1be09d', class: "range-labels" }, h("span", { key: '4e4ad708a44753912606aa177dfe6a7c742138fe', class: "min" }, this.multiplyByFactor(this.valuemin), this.unit), h("span", { key: 'b9e990eabfbe6284c732189be3609cc476caf169', class: "max" }, this.multiplyByFactor(this.valuemax), this.unit)))), this.renderClearButton(), this.renderHelperLine()));
318
318
  }
319
319
  watchValue() {
320
320
  this.syncStateFromValue();
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-Drl5LNAD.js';
2
+ import { t as translations } from './translations-kct5Kybu.js';
3
3
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
4
4
  import './language-ChagAaNf.js';
5
5
 
@@ -146,14 +146,14 @@ const Snackbar = class {
146
146
  }
147
147
  }
148
148
  render() {
149
- return (h("aside", { key: '4de74024219bac0fafcda941c0cc06a68ed9dff3', popover: "manual", style: {
149
+ return (h("aside", { key: '86271cf61d1b060d3f12b753be16190d111ea3d1', popover: "manual", style: {
150
150
  '--snackbar-timeout': `${Math.max(this.timeout || 0, 0)}ms`,
151
151
  '--snackbar-distance-to-top-edge': `${this.offset}px`,
152
152
  }, class: {
153
153
  open: this.open,
154
154
  'is-closing': this.closing,
155
155
  'limel-portal--parent': true,
156
- }, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: 'eccc1a4b99d40849bbbae22664bd504a59f0a66f', class: "surface" }, h("limel-markdown", { key: '31ed89296bd16195a46a6e29288404cefc78d247', class: "label", value: this.message }), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
156
+ }, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: 'cf0e868a834c0ec189cb42a6f22bbc7435d9f566', class: "surface" }, h("limel-markdown", { key: '4d55bc3eac78572795aaa1eef0d3d43721150123', class: "label", value: this.message }), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
157
157
  }
158
158
  setAriaRoles() {
159
159
  if (!this.open) {
@@ -43,9 +43,9 @@ const SplitButton = class {
43
43
  };
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '18de8e93a8ff6756ad149bde1ea84ce90ce0036b', class: {
46
+ return (h(Host, { key: 'e9fb690c19e7e7276bbe1457f7c9ddf34535f2e5', class: {
47
47
  'has-menu': this.items.length > 0,
48
- }, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: 'a2c1bc26acc989c8e0fa62ce31d644dab9ab9ee2', 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: '3dbc886df3854572ef0a1655aa815925150a6987', 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
  };
@@ -66,7 +66,7 @@ const Switch = class {
66
66
  removeEnterClickable(this.host);
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: 'f587a415d29965c927cca8900bc06e4168eb2113' }, this.readonly
69
+ return (h(Host, { key: 'dd5e5f289e3d62bfe697d93b178ffc0ecd84e498' }, this.readonly
70
70
  ? this.renderReadonly()
71
71
  : this.renderInteractive(), this.renderHelperLine()));
72
72
  }
@@ -358,7 +358,7 @@ const TabBar = class {
358
358
  }
359
359
  render() {
360
360
  const tabStop = findTabStop(this.tabs, this.tabs.findIndex((tab) => tab.active), this.getNavigationOptions());
361
- return (h("div", { key: 'd5f54de83640eb4898a58cd71696085e28f3701a', role: "tablist", "aria-orientation": this.getOrientation(), onKeyDown: this.handleKeyDown }, h("limel-scroller", { key: '565bbbcdf070a6b2521064a84347028baaae273e', orientation: this.getOrientation() }, this.tabs.map((tab, index) => this.renderTabOrMovableTab(tab, index, index === tabStop)))));
361
+ return (h("div", { key: '520c0e3987f3de626ca2c01809b42b504146eb76', role: "tablist", "aria-orientation": this.getOrientation(), onKeyDown: this.handleKeyDown }, h("limel-scroller", { key: '60512f257f8ef89cc0b6142ac80d515060bbbba0', orientation: this.getOrientation() }, this.tabs.map((tab, index) => this.renderTabOrMovableTab(tab, index, index === tabStop)))));
362
362
  }
363
363
  tabsChanged(newTabs = [], oldTabs = []) {
364
364
  const newIds = newTabs.map((tab) => tab.id);
@@ -55,7 +55,7 @@ const TabPanel = class {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: 'eb146868d93cc4bd4f42cc360005e25e44dd7ad3', onChangeTab: this.handleChangeTabs }, h("div", { key: 'b6453044e1cd4ecf20351bf3b6ebe72debc6c0d5', class: "tab-panel" }, h("limel-tab-bar", { key: '0a12ede1dc3f43c029a959af75afcb67ff853612', tabs: this.tabs, orientation: this.orientation, allowTabReorder: this.allowTabReorder }), h("div", { key: '19b1b3f077a6e9a01a4327f595e4bf8c82a06261', class: "tab-content" }, h("slot", { key: 'b1e30dd491a4a5629a55ec11220f968cf9f1f2c8' })))));
58
+ return (h(Host, { key: 'b914d64b43fdcb450e1e4d229952a1a9af8b7eed', onChangeTab: this.handleChangeTabs }, h("div", { key: 'b01a95d321115f07399d3ee40780f234bf8a3ed7', class: "tab-panel" }, h("limel-tab-bar", { key: '96a9dc357929d64c3dbbbb23441b5729efea33b3', tabs: this.tabs, orientation: this.orientation, allowTabReorder: this.allowTabReorder }), h("div", { key: '0dd475dbc1fbc58a3e826dec668d35b1ce0f4318', class: "tab-content" }, h("slot", { key: '3918e9fc54b588e898c8280fc92e89270fd896a1' })))));
59
59
  }
60
60
  setSlotElements() {
61
61
  const slot = this.getSlot();
@@ -11,7 +11,7 @@ import { i as isArrayLike } from './isArrayLike-wfLI14yj.js';
11
11
  import { n as negate } from './negate-ooVD-6_a.js';
12
12
  import { _ as _mapLayout } from './layout-C4zsCPOF.js';
13
13
  import { i as isEqual } from './isEqual-BIfg0KPc.js';
14
- import { t as translations } from './translations-Drl5LNAD.js';
14
+ import { t as translations } from './translations-kct5Kybu.js';
15
15
  import './isArray-B8VKuhvH.js';
16
16
  import './isSymbol-ClAke5ga.js';
17
17
  import './isObjectLike-oiMYqRQ0.js';
@@ -32319,13 +32319,13 @@ const Table = class {
32319
32319
  render() {
32320
32320
  var _a, _b;
32321
32321
  const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
32322
- return (h(Host, { key: '0191a4fb265a4eda818fe9478f253cc0210e3e3a', class: {
32322
+ return (h(Host, { key: '14890d8a92126d1e7e07071b40f745a3bc110ef4', class: {
32323
32323
  'has-low-density': this.layout === 'lowDensity',
32324
32324
  'has-pagination-on-top': this.paginationLocation === 'top',
32325
32325
  'has-aggregation': this.hasAggregation(this.columns),
32326
32326
  'has-pagination': totalRows > this.pageSize,
32327
32327
  'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
32328
- } }, h("div", { key: 'c0d266d3f273b437b0aa7d6fa83cb7ebe93b1963', id: "tabulator-container" }, h("div", { key: '836bbd66c7a99bacc2a961e51b6b05af5963cb8d', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: 'b62f403ffb83b30e568b7da64b5ad45cb369b6de', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '3c9f054e2c7b1a4f18115abf771b07ff729258cf', id: "tabulator-table" }))));
32328
+ } }, h("div", { key: '07aec37799ff2dd44949e24655b44da04b9ae4de', id: "tabulator-container" }, h("div", { key: '97984b2a9bf59cef4b04395cbb1248c48bac5bc3', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: '29a35c732185becb5192c854ad1bceea43a395fd', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '22a46313cf345b16e17b4ddc46283a3610accac5', id: "tabulator-table" }))));
32329
32329
  }
32330
32330
  renderSelectAll() {
32331
32331
  var _a, _b, _c;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-Drl5LNAD.js';
2
+ import { t as translations } from './translations-kct5Kybu.js';
3
3
  import { a as ENTER, E as ESCAPE } from './keycodes-Bu6-QXrA.js';
4
4
  import './language-ChagAaNf.js';
5
5
 
@@ -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
- h("limel-input-field", { key: 'f9676b8287c3d6d366b668f56f701b0f4a61edb9', 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 }),
113
- h("limel-input-field", { key: '4471ed4849ecf1536e1d230c3a9821f8254ecf7e', 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, ref: (el) => (this.linkInput = el) }),
114
- h("div", { key: 'fd05d27fce1f463979847fbc16fd9aac8a9fb17a', class: "actions" }, h("limel-button", { key: '9bd0d2e1b0d9a37094872652efad8b5f9e0ace15', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: 'a9aab48e7fe4cf0811e5b9044c9804a0cac73765', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
112
+ h("limel-input-field", { key: 'e9ff24b3ef0ffbc098c32f77c1cefeac9b2dbcd9', 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 }),
113
+ h("limel-input-field", { key: 'df5552b700c8c73d28ab83658b31e817b7dedceb', 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, ref: (el) => (this.linkInput = el) }),
114
+ h("div", { key: 'd4243e548a1227865ec40af31a5868e7f7214b5e', class: "actions" }, h("limel-button", { key: 'a16b1a026825dd3441a5ce018704f6ae9e0ed576', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: '8c4b46e58487ef17c9e2637127a17b5a2847863d', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
115
115
  ];
116
116
  }
117
117
  };
@@ -159,7 +159,7 @@ const TextEditor = class {
159
159
  await ((_a = this.adapterElement) === null || _a === void 0 ? void 0 : _a.clear());
160
160
  }
161
161
  render() {
162
- return (h(Host, { key: 'c67e770630e0b704d0f00e76c59f4c6cf12c4cd9' }, h("limel-notched-outline", { key: 'c4c58e24b9dd09cccf433d2f3227994dbdadf5e4', 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()));
162
+ return (h(Host, { key: 'e0ebfa29ceaf175ab0dc5fe78f7eb055f80d045c' }, h("limel-notched-outline", { key: '2f2823bb140c77e1af697adb75985729c01cfbb4', 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()));
163
163
  }
164
164
  renderEditor() {
165
165
  if (this.readonly) {
@@ -0,0 +1,62 @@
1
+ import { d as debounce } from './debounce-B67JMchz.js';
2
+
3
+ /**
4
+ * Check if an element is a descendant of another, even if it is located within a shadow root
5
+ *
6
+ * @param element - The element to check
7
+ * @param parent - The parent element
8
+ * @returns True if the element is a descendant of the parent element, false otherwise
9
+ */
10
+ function isDescendant(element, parent) {
11
+ if (!parent) {
12
+ return false;
13
+ }
14
+ if (parent.contains(element)) {
15
+ return true;
16
+ }
17
+ let currentNode = element;
18
+ let i = 0; // Just in case something weird happens, let's not crash the browser…
19
+ const DEPTH = 1000; // Max depth to search.
20
+ while (i < DEPTH &&
21
+ currentNode &&
22
+ currentNode.getRootNode().nodeName === '#document-fragment') {
23
+ currentNode = currentNode.getRootNode().host;
24
+ if (parent.contains(currentNode)) {
25
+ return true;
26
+ }
27
+ i += 1;
28
+ }
29
+ return parent.contains(currentNode);
30
+ }
31
+
32
+ const LIVE_MESSAGE_DELAY = 500;
33
+ /**
34
+ * Creates what a component needs to speak a message through a visually hidden
35
+ * element with `aria-live`. The text is written straight into that element
36
+ * and not through the state of the component, so speaking costs no render.
37
+ * It is written a short while after the last update, so that a screen reader
38
+ * does not read out every change while the user is typing.
39
+ *
40
+ * @param getMessage - Returns the text to speak. An empty text clears the
41
+ * element, so that the same message is spoken again the next time.
42
+ * @returns `setElement`, to be used as the `ref` of the live element, and
43
+ * `update`, to be called when the message may have changed.
44
+ */
45
+ const createLiveMessage = (getMessage) => {
46
+ let element;
47
+ const setElement = (liveElement) => {
48
+ element = liveElement;
49
+ };
50
+ const update = debounce(() => {
51
+ if (!element) {
52
+ return;
53
+ }
54
+ const message = getMessage();
55
+ if (element.textContent !== message) {
56
+ element.textContent = message;
57
+ }
58
+ }, LIVE_MESSAGE_DELAY);
59
+ return { setElement, update };
60
+ };
61
+
62
+ export { createLiveMessage as c, isDescendant as i };