@limetech/lime-elements 40.12.3 → 40.13.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 (352) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/drag-to-reorder-BP5YkPuu.js +3092 -0
  3. package/dist/cjs/lime-elements.cjs.js +1 -1
  4. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
  5. package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
  6. package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
  7. package/dist/cjs/limel-badge.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +6 -6
  10. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-chart.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
  19. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  22. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
  23. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
  25. package/dist/cjs/limel-dock.cjs.entry.js +3 -3
  26. package/dist/cjs/{limel-scroller.cjs.entry.js → limel-drag-handle_2.cjs.entry.js} +40 -2
  27. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-file-viewer.cjs.entry.js +65 -56
  30. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  31. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  32. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  33. package/dist/cjs/limel-form.cjs.entry.js +539 -3171
  34. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  36. package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
  37. package/dist/cjs/limel-help.cjs.entry.js +2 -2
  38. package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
  39. package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
  40. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  41. package/dist/cjs/limel-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
  43. package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
  44. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  45. package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
  46. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  47. package/dist/cjs/limel-pagination-jump.cjs.entry.js +1 -1
  48. package/dist/cjs/limel-pagination.cjs.entry.js +2 -2
  49. package/dist/cjs/limel-picker.cjs.entry.js +2 -2
  50. package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
  51. package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
  52. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
  53. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  54. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  55. package/dist/cjs/limel-resize-handle.cjs.entry.js +43 -2
  56. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  57. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  58. package/dist/cjs/limel-side-panel.cjs.entry.js +16 -6
  59. package/dist/cjs/limel-slider.cjs.entry.js +4 -4
  60. package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
  61. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  62. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  63. package/dist/cjs/limel-tab-bar.cjs.entry.js +120 -16
  64. package/dist/cjs/limel-tab-panel.cjs.entry.js +7 -1
  65. package/dist/cjs/limel-table.cjs.entry.js +3 -3
  66. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
  67. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/cjs/{translations-DDyw5Zzz.js → translations-CLSqfR3x.js} +56 -0
  70. package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
  71. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
  72. package/dist/collection/components/action-bar/action-bar.js +2 -2
  73. package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
  74. package/dist/collection/components/badge/badge.js +2 -2
  75. package/dist/collection/components/banner/banner.js +1 -1
  76. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  77. package/dist/collection/components/button/button.js +2 -2
  78. package/dist/collection/components/button-group/button-group.js +1 -1
  79. package/dist/collection/components/callout/callout.js +1 -1
  80. package/dist/collection/components/card/card.js +1 -1
  81. package/dist/collection/components/checkbox/checkbox.js +1 -1
  82. package/dist/collection/components/chip/chip.js +1 -1
  83. package/dist/collection/components/chip-set/chip-set.js +1 -1
  84. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  85. package/dist/collection/components/code-diff/code-diff.js +1 -1
  86. package/dist/collection/components/code-editor/code-editor.js +1 -1
  87. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  88. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  89. package/dist/collection/components/color-picker/color-picker.js +1 -1
  90. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  91. package/dist/collection/components/dialog/dialog.js +2 -2
  92. package/dist/collection/components/dock/dock.js +2 -2
  93. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  94. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  95. package/dist/collection/components/file/file.js +1 -1
  96. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  97. package/dist/collection/components/file-input/file-input.js +1 -1
  98. package/dist/collection/components/flex-container/flex-container.js +1 -1
  99. package/dist/collection/components/form/form.css +59 -0
  100. package/dist/collection/components/form/form.js +49 -2
  101. package/dist/collection/components/form/show-field.js +116 -0
  102. package/dist/collection/components/form/templates/array-field-collapsible-item.js +1 -0
  103. package/dist/collection/components/form/templates/array-field-item.js +5 -0
  104. package/dist/collection/components/form/templates/array-field.js +20 -158
  105. package/dist/collection/components/form/templates/field.js +17 -0
  106. package/dist/collection/components/grid/grid.js +1 -1
  107. package/dist/collection/components/header/header.js +1 -1
  108. package/dist/collection/components/help/help-content.js +1 -1
  109. package/dist/collection/components/help/help.js +2 -2
  110. package/dist/collection/components/helper-line/helper-line.js +2 -2
  111. package/dist/collection/components/hotkey/hotkey.js +1 -1
  112. package/dist/collection/components/icon/icon.js +1 -1
  113. package/dist/collection/components/icon-button/icon-button.js +1 -1
  114. package/dist/collection/components/info-tile/info-tile.js +2 -2
  115. package/dist/collection/components/input-field/input-field.js +1 -1
  116. package/dist/collection/components/list/list.js +1 -1
  117. package/dist/collection/components/list-item/list-item.js +2 -2
  118. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  119. package/dist/collection/components/markdown/markdown.js +1 -1
  120. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  121. package/dist/collection/components/menu/menu.js +1 -1
  122. package/dist/collection/components/menu-list/menu-list.js +1 -1
  123. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  124. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  125. package/dist/collection/components/pagination/pagination.js +1 -1
  126. package/dist/collection/components/picker/picker.js +1 -1
  127. package/dist/collection/components/popover/popover.js +1 -1
  128. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  129. package/dist/collection/components/portal/portal.js +1 -1
  130. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  131. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  132. package/dist/collection/components/resize-handle/resize-handle.css +35 -33
  133. package/dist/collection/components/resize-handle/resize-handle.js +86 -4
  134. package/dist/collection/components/scroller/scroller.js +2 -2
  135. package/dist/collection/components/select/select.js +1 -1
  136. package/dist/collection/components/shortcut/shortcut.js +1 -1
  137. package/dist/collection/components/side-panel/side-panel.js +44 -27
  138. package/dist/collection/components/slider/slider.js +3 -3
  139. package/dist/collection/components/snackbar/snackbar.js +2 -2
  140. package/dist/collection/components/spinner/spinner.js +1 -1
  141. package/dist/collection/components/split-button/split-button.js +2 -2
  142. package/dist/collection/components/switch/switch.js +1 -1
  143. package/dist/collection/components/tab-bar/tab-bar.css +68 -22
  144. package/dist/collection/components/tab-bar/tab-bar.js +131 -4
  145. package/dist/collection/components/tab-bar/tabs.js +23 -0
  146. package/dist/collection/components/tab-panel/tab-panel.js +54 -1
  147. package/dist/collection/components/table/table.js +2 -2
  148. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  149. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  150. package/dist/collection/components/text-editor/text-editor.js +1 -1
  151. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  152. package/dist/collection/components/tooltip/tooltip.js +2 -2
  153. package/dist/collection/translations/da.js +7 -0
  154. package/dist/collection/translations/de.js +7 -0
  155. package/dist/collection/translations/en.js +7 -0
  156. package/dist/collection/translations/fi.js +7 -0
  157. package/dist/collection/translations/fr.js +7 -0
  158. package/dist/collection/translations/nl.js +7 -0
  159. package/dist/collection/translations/no.js +7 -0
  160. package/dist/collection/translations/sv.js +7 -0
  161. package/dist/collection/util/drag-to-reorder.js +116 -0
  162. package/dist/esm/{_baseForOwn-D5j7fHlv.js → _baseForOwn-vKFWmmaS.js} +1 -1
  163. package/dist/esm/{_baseIsEqual-CyF4P8uM.js → _baseIsEqual-B_JRErB0.js} +1 -1
  164. package/dist/esm/{_baseIteratee-CpbczHY1.js → _baseIteratee-CVz7aes3.js} +1 -1
  165. package/dist/esm/{_baseSet-Cw2IE6ZF.js → _baseSet-BUAq8NGm.js} +1 -1
  166. package/dist/esm/{cloneDeep-DAbOtbs8.js → cloneDeep-Bcll-3f8.js} +1 -1
  167. package/dist/esm/drag-to-reorder-BXmXIwCa.js +3086 -0
  168. package/dist/esm/{isEqual-CE83yS8T.js → isEqual-C-pK6AAU.js} +1 -1
  169. package/dist/esm/lime-elements.js +1 -1
  170. package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
  171. package/dist/esm/limel-action-bar_3.entry.js +4 -4
  172. package/dist/esm/limel-ai-avatar.entry.js +2 -2
  173. package/dist/esm/limel-badge.entry.js +2 -2
  174. package/dist/esm/limel-banner.entry.js +1 -1
  175. package/dist/esm/limel-breadcrumbs_6.entry.js +6 -6
  176. package/dist/esm/limel-button-group.entry.js +1 -1
  177. package/dist/esm/limel-button.entry.js +2 -2
  178. package/dist/esm/limel-callout.entry.js +2 -2
  179. package/dist/esm/limel-card.entry.js +1 -1
  180. package/dist/esm/limel-chart.entry.js +1 -1
  181. package/dist/esm/limel-checkbox.entry.js +1 -1
  182. package/dist/esm/limel-chip-set.entry.js +4 -4
  183. package/dist/esm/limel-chip_2.entry.js +2 -2
  184. package/dist/esm/limel-circular-progress.entry.js +1 -1
  185. package/dist/esm/limel-code-diff.entry.js +2 -2
  186. package/dist/esm/limel-code-editor.entry.js +2 -2
  187. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  188. package/dist/esm/limel-color-picker-palette.entry.js +2 -2
  189. package/dist/esm/limel-color-picker.entry.js +1 -1
  190. package/dist/esm/limel-dialog.entry.js +4 -4
  191. package/dist/esm/limel-dock.entry.js +3 -3
  192. package/dist/esm/{limel-scroller.entry.js → limel-drag-handle_2.entry.js} +40 -3
  193. package/dist/esm/limel-email-viewer.entry.js +2 -2
  194. package/dist/esm/limel-file-dropzone_2.entry.js +5 -5
  195. package/dist/esm/limel-file-viewer.entry.js +65 -56
  196. package/dist/esm/limel-file.entry.js +2 -2
  197. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  198. package/dist/esm/limel-flex-container.entry.js +1 -1
  199. package/dist/esm/limel-form.entry.js +536 -3168
  200. package/dist/esm/limel-grid.entry.js +1 -1
  201. package/dist/esm/limel-header.entry.js +1 -1
  202. package/dist/esm/limel-help-content.entry.js +1 -1
  203. package/dist/esm/limel-help.entry.js +2 -2
  204. package/dist/esm/limel-helper-line_3.entry.js +4 -4
  205. package/dist/esm/limel-hotkey_4.entry.js +5 -5
  206. package/dist/esm/limel-icon-button.entry.js +1 -1
  207. package/dist/esm/limel-icon.entry.js +1 -1
  208. package/dist/esm/limel-info-tile.entry.js +2 -2
  209. package/dist/esm/limel-list-item.entry.js +3 -3
  210. package/dist/esm/limel-markdown.entry.js +1 -1
  211. package/dist/esm/limel-masonry-layout.entry.js +1 -1
  212. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  213. package/dist/esm/limel-pagination-jump.entry.js +1 -1
  214. package/dist/esm/limel-pagination.entry.js +2 -2
  215. package/dist/esm/limel-picker.entry.js +2 -2
  216. package/dist/esm/limel-popover_2.entry.js +2 -2
  217. package/dist/esm/limel-profile-picture.entry.js +1 -1
  218. package/dist/esm/limel-prosemirror-adapter.entry.js +5 -5
  219. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  220. package/dist/esm/limel-radio-button.entry.js +2 -2
  221. package/dist/esm/limel-resize-handle.entry.js +43 -2
  222. package/dist/esm/limel-select.entry.js +1 -1
  223. package/dist/esm/limel-shortcut.entry.js +1 -1
  224. package/dist/esm/limel-side-panel.entry.js +16 -6
  225. package/dist/esm/limel-slider.entry.js +4 -4
  226. package/dist/esm/limel-snackbar.entry.js +3 -3
  227. package/dist/esm/limel-split-button.entry.js +2 -2
  228. package/dist/esm/limel-switch.entry.js +1 -1
  229. package/dist/esm/limel-tab-bar.entry.js +117 -13
  230. package/dist/esm/limel-tab-panel.entry.js +7 -1
  231. package/dist/esm/limel-table.entry.js +7 -7
  232. package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
  233. package/dist/esm/limel-text-editor.entry.js +1 -1
  234. package/dist/esm/loader.js +1 -1
  235. package/dist/esm/{translations-UrIr-5_D.js → translations-Drl5LNAD.js} +56 -0
  236. package/dist/lime-elements/lime-elements.esm.js +1 -1
  237. package/dist/lime-elements/{p-35bc5ed2.entry.js → p-01de145c.entry.js} +1 -1
  238. package/dist/lime-elements/{p-3ee121fa.entry.js → p-026eed2d.entry.js} +1 -1
  239. package/dist/lime-elements/{p-9ff6a455.entry.js → p-068b141b.entry.js} +1 -1
  240. package/dist/lime-elements/{p-9168793f.entry.js → p-09f8f883.entry.js} +1 -1
  241. package/dist/lime-elements/p-1066a057.entry.js +1 -0
  242. package/dist/lime-elements/{p-95322502.entry.js → p-1663fa9d.entry.js} +1 -1
  243. package/dist/lime-elements/{p-def7b38f.entry.js → p-17aa9235.entry.js} +1 -1
  244. package/dist/lime-elements/{p-910807cb.entry.js → p-19426c76.entry.js} +1 -1
  245. package/dist/lime-elements/{p-622660dd.entry.js → p-1d6014ed.entry.js} +1 -1
  246. package/dist/lime-elements/p-2370ff51.entry.js +1 -0
  247. package/dist/lime-elements/{p-0f18981d.entry.js → p-242f1032.entry.js} +1 -1
  248. package/dist/lime-elements/{p-828558cf.entry.js → p-27d375f3.entry.js} +1 -1
  249. package/dist/lime-elements/{p-2ba9d62f.entry.js → p-300f80e7.entry.js} +1 -1
  250. package/dist/lime-elements/{p-9ca18ba5.entry.js → p-3b4f6329.entry.js} +1 -1
  251. package/dist/lime-elements/{p-2528f75e.entry.js → p-3de45ea6.entry.js} +2 -2
  252. package/dist/lime-elements/{p-675a7469.entry.js → p-3f447d22.entry.js} +1 -1
  253. package/dist/lime-elements/{p-780dae0b.entry.js → p-3fa66fb1.entry.js} +1 -1
  254. package/dist/lime-elements/{p-09390c6a.entry.js → p-41172b62.entry.js} +1 -1
  255. package/dist/lime-elements/{p-d5144955.entry.js → p-41fb6e88.entry.js} +1 -1
  256. package/dist/lime-elements/{p-f4c9940e.entry.js → p-44ec1f22.entry.js} +1 -1
  257. package/dist/lime-elements/{p-268b4da1.entry.js → p-4a272ac2.entry.js} +1 -1
  258. package/dist/lime-elements/{p-e25bfb2c.entry.js → p-4a381bc6.entry.js} +1 -1
  259. package/dist/lime-elements/p-56fe13ef.entry.js +1 -0
  260. package/dist/lime-elements/p-5d623004.entry.js +1 -0
  261. package/dist/lime-elements/{p-8a59698f.entry.js → p-5ea07cbe.entry.js} +1 -1
  262. package/dist/lime-elements/p-600466a9.entry.js +1 -0
  263. package/dist/lime-elements/{p-657bfa36.entry.js → p-62b6e235.entry.js} +1 -1
  264. package/dist/lime-elements/p-64540beb.entry.js +1 -0
  265. package/dist/lime-elements/{p-1020ca20.entry.js → p-674680f9.entry.js} +1 -1
  266. package/dist/lime-elements/{p-d79d777e.entry.js → p-67536ac3.entry.js} +1 -1
  267. package/dist/lime-elements/{p-dd075353.entry.js → p-6770cf06.entry.js} +1 -1
  268. package/dist/lime-elements/{p-887eea11.entry.js → p-7375fac2.entry.js} +1 -1
  269. package/dist/lime-elements/{p-fb15f608.entry.js → p-7829198d.entry.js} +1 -1
  270. package/dist/lime-elements/{p-abed5afd.entry.js → p-82672504.entry.js} +1 -1
  271. package/dist/lime-elements/{p-24e5d420.entry.js → p-8339d921.entry.js} +1 -1
  272. package/dist/lime-elements/{p-33ed0c68.entry.js → p-87c9f4de.entry.js} +1 -1
  273. package/dist/lime-elements/{p-7a290372.entry.js → p-89316964.entry.js} +1 -1
  274. package/dist/lime-elements/{p-527e9c95.entry.js → p-8a9361a2.entry.js} +1 -1
  275. package/dist/lime-elements/{p-46bf8b22.entry.js → p-8e78fd4f.entry.js} +1 -1
  276. package/dist/lime-elements/{p-db1f9eba.entry.js → p-8f133cd6.entry.js} +1 -1
  277. package/dist/lime-elements/{p-ff4a8b89.entry.js → p-90198515.entry.js} +1 -1
  278. package/dist/lime-elements/{p-236743f1.entry.js → p-95ca7426.entry.js} +1 -1
  279. package/dist/lime-elements/{p-55b56742.entry.js → p-9aa921a2.entry.js} +1 -1
  280. package/dist/lime-elements/{p-540b2b24.entry.js → p-9bbf2612.entry.js} +1 -1
  281. package/dist/lime-elements/{p-a449ca04.entry.js → p-9d354eca.entry.js} +1 -1
  282. package/dist/lime-elements/{p-68542e00.entry.js → p-9e9187ce.entry.js} +1 -1
  283. package/dist/lime-elements/p-B26k4gw8.js +1 -0
  284. package/dist/lime-elements/p-BAqAt5It.js +1 -0
  285. package/dist/lime-elements/p-Cu9Ji1iJ.js +1 -0
  286. package/dist/lime-elements/{p-BY5NjPj8.js → p-D9Ezd43A.js} +1 -1
  287. package/dist/lime-elements/{p-nVemxylR.js → p-DFu1q54T.js} +1 -1
  288. package/dist/lime-elements/p-DdnBHYb-.js +7 -0
  289. package/dist/lime-elements/{p-B6-3WXAv.js → p-DeIIlp6m.js} +1 -1
  290. package/dist/lime-elements/p-Dq0uNStc.js +1 -0
  291. package/dist/lime-elements/{p-4a7df81a.entry.js → p-aac603af.entry.js} +1 -1
  292. package/dist/lime-elements/{p-5473eb74.entry.js → p-aee75ad1.entry.js} +1 -1
  293. package/dist/lime-elements/{p-4882acaa.entry.js → p-afbe54e6.entry.js} +1 -1
  294. package/dist/lime-elements/{p-a78aaf37.entry.js → p-b5ebcbfc.entry.js} +1 -1
  295. package/dist/lime-elements/{p-07916acc.entry.js → p-be8950a6.entry.js} +2 -2
  296. package/dist/lime-elements/p-c8cb4912.entry.js +16 -0
  297. package/dist/lime-elements/{p-de4d261a.entry.js → p-dd065596.entry.js} +1 -1
  298. package/dist/lime-elements/{p-0c2ce99b.entry.js → p-ddabfac0.entry.js} +1 -1
  299. package/dist/lime-elements/{p-d3475514.entry.js → p-de3cf7d8.entry.js} +1 -1
  300. package/dist/lime-elements/{p-458c131f.entry.js → p-e13e0001.entry.js} +2 -2
  301. package/dist/lime-elements/p-e2971111.entry.js +1 -0
  302. package/dist/lime-elements/{p-ecded772.entry.js → p-e332bb9b.entry.js} +1 -1
  303. package/dist/lime-elements/{p-54631dbf.entry.js → p-e50acec1.entry.js} +1 -1
  304. package/dist/lime-elements/{p-074275f4.entry.js → p-e9b1e0bd.entry.js} +1 -1
  305. package/dist/lime-elements/p-ec531ecb.entry.js +1 -0
  306. package/dist/lime-elements/{p-90286e5c.entry.js → p-f0bf3fd1.entry.js} +1 -1
  307. package/dist/lime-elements/p-f1ac7608.entry.js +1 -0
  308. package/dist/lime-elements/{p-c12fbc91.entry.js → p-f455150b.entry.js} +1 -1
  309. package/dist/types/components/form/form.d.ts +15 -0
  310. package/dist/types/components/form/show-field.d.ts +9 -0
  311. package/dist/types/components/form/templates/array-context.d.ts +4 -0
  312. package/dist/types/components/form/templates/array-field-collapsible-item.d.ts +5 -0
  313. package/dist/types/components/form/templates/array-field.d.ts +3 -13
  314. package/dist/types/components/form/templates/field.d.ts +1 -0
  315. package/dist/types/components/form/templates/object-field.d.ts +2 -2
  316. package/dist/types/components/resize-handle/resize-handle.d.ts +31 -2
  317. package/dist/types/components/side-panel/side-panel.d.ts +11 -4
  318. package/dist/types/components/tab-bar/tab-bar.d.ts +25 -0
  319. package/dist/types/components/tab-bar/tab.types.d.ts +18 -0
  320. package/dist/types/components/tab-bar/tabs.d.ts +12 -1
  321. package/dist/types/components/tab-panel/tab-panel.d.ts +18 -1
  322. package/dist/types/components.d.ts +143 -18
  323. package/dist/types/translations/da.d.ts +7 -0
  324. package/dist/types/translations/de.d.ts +7 -0
  325. package/dist/types/translations/en.d.ts +7 -0
  326. package/dist/types/translations/fi.d.ts +7 -0
  327. package/dist/types/translations/fr.d.ts +7 -0
  328. package/dist/types/translations/nl.d.ts +7 -0
  329. package/dist/types/translations/no.d.ts +7 -0
  330. package/dist/types/translations/sv.d.ts +7 -0
  331. package/dist/types/util/drag-to-reorder.d.ts +65 -0
  332. package/package.json +4 -4
  333. package/dist/cjs/isArrayLikeObject-U2Ddbw4n.js +0 -326
  334. package/dist/cjs/limel-drag-handle.cjs.entry.js +0 -42
  335. package/dist/esm/isArrayLikeObject-CJB8HbtH.js +0 -321
  336. package/dist/esm/limel-drag-handle.entry.js +0 -40
  337. package/dist/lime-elements/p-26813b2c.entry.js +0 -1
  338. package/dist/lime-elements/p-49eb2f64.entry.js +0 -13
  339. package/dist/lime-elements/p-4f58c6b3.entry.js +0 -1
  340. package/dist/lime-elements/p-646731b6.entry.js +0 -1
  341. package/dist/lime-elements/p-8d567e42.entry.js +0 -1
  342. package/dist/lime-elements/p-9b384d62.entry.js +0 -1
  343. package/dist/lime-elements/p-BQeIv4aA.js +0 -1
  344. package/dist/lime-elements/p-COdirXg1.js +0 -1
  345. package/dist/lime-elements/p-ORUNaKm-.js +0 -1
  346. package/dist/lime-elements/p-a317f2fa.entry.js +0 -1
  347. package/dist/lime-elements/p-a5246373.entry.js +0 -1
  348. package/dist/lime-elements/p-b609552e.entry.js +0 -1
  349. package/dist/lime-elements/p-bf849dc9.entry.js +0 -1
  350. package/dist/lime-elements/p-d7e5a4a7.entry.js +0 -1
  351. package/dist/lime-elements/p-pk5KIdKH.js +0 -1
  352. package/dist/lime-elements/p-w3yKYfBQ.js +0 -1
@@ -51,7 +51,7 @@ import { EditorUiType } from "./components/text-editor/types";
51
51
  import { Option } from "./components/select/option.types";
52
52
  import { SidePanelAction, SidePanelActionSelect, SidePanelEntry } from "./components/side-panel/side-panel.types";
53
53
  import { SpinnerSize } from "./components/spinner/spinner.types";
54
- import { Tab } from "./components/tab-bar/tab.types";
54
+ import { Tab, TabReorderEvent } from "./components/tab-bar/tab.types";
55
55
  import { Column, ColumnAggregate, ColumnSorter, RowData, RowReorderEvent, TableParams } from "./components/table/table.types";
56
56
  import { Layout } from "./components/table/layout";
57
57
  import { EditorTextLink } from "./components/text-editor/prosemirror-adapter/menu/types";
@@ -101,7 +101,7 @@ export { EditorUiType } from "./components/text-editor/types";
101
101
  export { Option } from "./components/select/option.types";
102
102
  export { SidePanelAction, SidePanelActionSelect, SidePanelEntry } from "./components/side-panel/side-panel.types";
103
103
  export { SpinnerSize } from "./components/spinner/spinner.types";
104
- export { Tab } from "./components/tab-bar/tab.types";
104
+ export { Tab, TabReorderEvent } from "./components/tab-bar/tab.types";
105
105
  export { Column, ColumnAggregate, ColumnSorter, RowData, RowReorderEvent, TableParams } from "./components/table/table.types";
106
106
  export { Layout } from "./components/table/layout";
107
107
  export { EditorTextLink } from "./components/text-editor/prosemirror-adapter/menu/types";
@@ -1900,6 +1900,7 @@ export namespace Components {
1900
1900
  * @exampleComponent limel-example-form-row-layout
1901
1901
  * @exampleComponent limel-example-builtin-field-types-form
1902
1902
  * @exampleComponent limel-example-code-editor-form
1903
+ * @exampleComponent limel-example-form-highlighted-field
1903
1904
  */
1904
1905
  interface LimelForm {
1905
1906
  /**
@@ -1911,6 +1912,11 @@ export namespace Components {
1911
1912
  * Extra errors to display in the form. Typical use case is asynchronous errors generated server side.
1912
1913
  */
1913
1914
  "errors": ValidationError;
1915
+ /**
1916
+ * The path in the value of a field to take the user to, such as `['heroes', 2, 'name']`. When it changes, the form opens the sections and list items the field is in, scrolls it into view, focuses it and briefly highlights it. If the path goes further than the form can show, such as into a custom component, the closest field above the end of the path is shown. To show the same field again, set it to `undefined` first.
1917
+ * @beta
1918
+ */
1919
+ "highlightedField"?: Array<string | number>;
1914
1920
  /**
1915
1921
  * Factory for creating properties for custom form components When using custom components in the form some properties might have to be set dynamically. If this factory is set, it will be called with the current schema for the field for each custom component in the form. The factory must return an object where each key is the name of the property that should be set, along with its value.
1916
1922
  */
@@ -3475,16 +3481,25 @@ export namespace Components {
3475
3481
  * the edge that `location` names. Give the element a `position` other than
3476
3482
  * `static`. If other content covers the handle, also give the element
3477
3483
  * `isolation: isolate`.
3484
+ * ## Accessibility
3485
+ * The user reaches the handle with the <kbd>Tab</kbd> key. The handle is named
3486
+ * "Resize" followed by `resizableRegionLabel`, for example "Resize side
3487
+ * panel". A tooltip shows the name and how to resize. While the pointer is
3488
+ * over the handle, it says to drag the handle. While the handle has keyboard
3489
+ * focus, it says which arrow keys to press, which fit `location`. Screen
3490
+ * readers read the arrow keys as the description of the handle.
3478
3491
  * @exampleComponent limel-example-resize-handle-basic
3479
3492
  * @exampleComponent limel-example-resize-handle-locations
3480
3493
  * @exampleComponent limel-example-resize-handle-grab-area
3494
+ * @exampleComponent limel-example-resize-handle-accessibility
3481
3495
  * @private
3482
3496
  */
3483
3497
  interface LimelResizeHandle {
3484
3498
  /**
3485
- * The accessible name of the handle.
3499
+ * Defines the language for translations.
3500
+ * @default 'en'
3486
3501
  */
3487
- "label": string;
3502
+ "language": Languages;
3488
3503
  /**
3489
3504
  * The location of the handle relative to the resizable element.
3490
3505
  * @default 'left'
@@ -3498,6 +3513,10 @@ export namespace Components {
3498
3513
  * The smallest size that the element can have, in pixels.
3499
3514
  */
3500
3515
  "min"?: number;
3516
+ /**
3517
+ * The name of the region that the handle resizes, for example `side panel`. The accessible name of the handle is "Resize" followed by this name, for example "Resize side panel". When no name is set, the handle is named "Resize this region". Write the name in the language that is set in `language`, in the form that reads right after "Resize", for example `side panel` in English and `sidopanelen` in Swedish.
3518
+ */
3519
+ "resizableRegionLabel"?: string;
3501
3520
  /**
3502
3521
  * The size of the element, in pixels: the width when `location` is `left` or `right`, and the height when it is `top` or `bottom`.
3503
3522
  */
@@ -3660,6 +3679,7 @@ export namespace Components {
3660
3679
  * @exampleComponent limel-example-side-panel-header-actions
3661
3680
  * @exampleComponent limel-example-side-panel-stacking
3662
3681
  * @exampleComponent limel-example-side-panel-full-screen
3682
+ * @exampleComponent limel-example-side-panel-accessibility
3663
3683
  * @private
3664
3684
  */
3665
3685
  interface LimelSidePanel {
@@ -3684,14 +3704,14 @@ export namespace Components {
3684
3704
  */
3685
3705
  "fullScreen": boolean;
3686
3706
  /**
3687
- * Accessible name of the panel. Screen readers announce it. Set it to something that tells the user what the panel is for.
3707
+ * Accessible name of the panel. Screen readers announce it. Set it to something that tells the user what the panel is for. The resize handle is named after it, for example "Resize Customer details panel". When no label is set, the handle is named "Resize side panel".
3688
3708
  */
3689
3709
  "label"?: string;
3690
3710
  /**
3691
- * Label of the resize handle. Used as the accessible name.
3692
- * @default 'Resize'
3711
+ * Defines the language for translations.
3712
+ * @default 'en'
3693
3713
  */
3694
- "resizeLabel": string;
3714
+ "language": Languages;
3695
3715
  /**
3696
3716
  * The panels in the stack, outermost first. The last entry is the panel that is displayed. Its heading, subheading and icon are shown in the header. The other entries are shown as backs behind the panel.
3697
3717
  * @default []
@@ -3965,6 +3985,7 @@ export namespace Components {
3965
3985
  * A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device. A vertical tab bar does the same, upwards and downwards.
3966
3986
  * The arrows are only a shortcut for people who use a mouse or a touch screen. Screen readers do not announce them, and the Tab key skips them. People who use a keyboard or a screen reader move between the tabs, and the tab bar keeps the selected tab in view.
3967
3987
  * The left and right arrow keys move to the previous and the next tab, and select it. In a vertical tab bar, the up and down arrow keys do that instead. Home and End move to the first and the last tab. Moving past the last tab continues at the first one, and the other way around. The Tab key moves on to what comes after the tab bar, and moving back with Shift and Tab lands on the selected tab, or on the first tab when none is selected.
3988
+ * Set `allowTabReorder` to let the user drag the tabs into the order they want. Every tab then gets a drag handle, and the tab bar emits `reorderTab` when the user drops a tab in a new place. The tab bar does not change `tabs` itself, so the component that uses it decides the new order, and can save it for the user. A tab that the component does not move, stays where it was. The tabs can be reordered with a mouse and a touch screen, but not yet with the keyboard.
3968
3989
  * :::tip Other things to consider
3969
3990
  * Never divide the content of a tab using a nested tab bar.
3970
3991
  * Never place two tab bars within the same screen.
@@ -3977,8 +3998,15 @@ export namespace Components {
3977
3998
  * @exampleComponent limel-example-tab-bar-with-equal-tab-width
3978
3999
  * @exampleComponent limel-example-tab-bar-vertical
3979
4000
  * @exampleComponent limel-example-tab-bar-tab-width
4001
+ * @exampleComponent limel-example-tab-bar-reorder
4002
+ * @exampleComponent limel-example-tab-bar-reorder-vertical
3980
4003
  */
3981
4004
  interface LimelTabBar {
4005
+ /**
4006
+ * Set to `true` to let the user reorder the tabs by dragging them. Listen for `reorderTab` and give the tab bar the tabs in their new order.
4007
+ * @default false
4008
+ */
4009
+ "allowTabReorder": boolean;
3982
4010
  /**
3983
4011
  * Whether the tabs are laid out in a row, above the content they belong to, or in a column, next to it.
3984
4012
  * @default 'horizontal'
@@ -4002,10 +4030,20 @@ export namespace Components {
4002
4030
  * load data or render anything until the tab is active.
4003
4031
  * The slotted components can also emit the `changeTab` event to update anything
4004
4032
  * inside the actual tab, e.g. to change the icon, color or badge.
4033
+ * Set `allowTabReorder` to let the user reorder the tabs by dragging them. The
4034
+ * panel does not change `tabs` itself. Listen for `reorderTab`, and give the
4035
+ * panel the tabs in their new order. The tabs can be reordered with a mouse
4036
+ * and a touch screen, but not yet with the keyboard.
4005
4037
  * @exampleComponent limel-example-tab-panel-basic
4006
4038
  * @exampleComponent limel-example-tab-panel-vertical
4039
+ * @exampleComponent limel-example-tab-panel-reorder
4007
4040
  */
4008
4041
  interface LimelTabPanel {
4042
+ /**
4043
+ * Set to `true` to let the user reorder the tabs by dragging them. Listen for `reorderTab` and give the panel the tabs in their new order.
4044
+ * @default false
4045
+ */
4046
+ "allowTabReorder": boolean;
4009
4047
  /**
4010
4048
  * Whether the tabs are laid out in a row, above the content, or in a column, to the left of it.
4011
4049
  * @default 'horizontal'
@@ -5651,6 +5689,7 @@ declare global {
5651
5689
  * @exampleComponent limel-example-form-row-layout
5652
5690
  * @exampleComponent limel-example-builtin-field-types-form
5653
5691
  * @exampleComponent limel-example-code-editor-form
5692
+ * @exampleComponent limel-example-form-highlighted-field
5654
5693
  */
5655
5694
  interface HTMLLimelFormElement extends Components.LimelForm, HTMLStencilElement {
5656
5695
  addEventListener<K extends keyof HTMLLimelFormElementEventMap>(type: K, listener: (this: HTMLLimelFormElement, ev: LimelFormCustomEvent<HTMLLimelFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6545,9 +6584,17 @@ declare global {
6545
6584
  * the edge that `location` names. Give the element a `position` other than
6546
6585
  * `static`. If other content covers the handle, also give the element
6547
6586
  * `isolation: isolate`.
6587
+ * ## Accessibility
6588
+ * The user reaches the handle with the <kbd>Tab</kbd> key. The handle is named
6589
+ * "Resize" followed by `resizableRegionLabel`, for example "Resize side
6590
+ * panel". A tooltip shows the name and how to resize. While the pointer is
6591
+ * over the handle, it says to drag the handle. While the handle has keyboard
6592
+ * focus, it says which arrow keys to press, which fit `location`. Screen
6593
+ * readers read the arrow keys as the description of the handle.
6548
6594
  * @exampleComponent limel-example-resize-handle-basic
6549
6595
  * @exampleComponent limel-example-resize-handle-locations
6550
6596
  * @exampleComponent limel-example-resize-handle-grab-area
6597
+ * @exampleComponent limel-example-resize-handle-accessibility
6551
6598
  * @private
6552
6599
  */
6553
6600
  interface HTMLLimelResizeHandleElement extends Components.LimelResizeHandle, HTMLStencilElement {
@@ -6676,6 +6723,7 @@ declare global {
6676
6723
  * @exampleComponent limel-example-side-panel-header-actions
6677
6724
  * @exampleComponent limel-example-side-panel-stacking
6678
6725
  * @exampleComponent limel-example-side-panel-full-screen
6726
+ * @exampleComponent limel-example-side-panel-accessibility
6679
6727
  * @private
6680
6728
  */
6681
6729
  interface HTMLLimelSidePanelElement extends Components.LimelSidePanel, HTMLStencilElement {
@@ -6837,6 +6885,7 @@ declare global {
6837
6885
  };
6838
6886
  interface HTMLLimelTabBarElementEventMap {
6839
6887
  "changeTab": Tab;
6888
+ "reorderTab": TabReorderEvent;
6840
6889
  }
6841
6890
  /**
6842
6891
  * Tabs are great to organize information hierarchically in the interface and divide it into distinct categories. Using tabs, you can create groups of content that are related and at the same level in the hierarchy.
@@ -6848,6 +6897,7 @@ declare global {
6848
6897
  * A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device. A vertical tab bar does the same, upwards and downwards.
6849
6898
  * The arrows are only a shortcut for people who use a mouse or a touch screen. Screen readers do not announce them, and the Tab key skips them. People who use a keyboard or a screen reader move between the tabs, and the tab bar keeps the selected tab in view.
6850
6899
  * The left and right arrow keys move to the previous and the next tab, and select it. In a vertical tab bar, the up and down arrow keys do that instead. Home and End move to the first and the last tab. Moving past the last tab continues at the first one, and the other way around. The Tab key moves on to what comes after the tab bar, and moving back with Shift and Tab lands on the selected tab, or on the first tab when none is selected.
6900
+ * Set `allowTabReorder` to let the user drag the tabs into the order they want. Every tab then gets a drag handle, and the tab bar emits `reorderTab` when the user drops a tab in a new place. The tab bar does not change `tabs` itself, so the component that uses it decides the new order, and can save it for the user. A tab that the component does not move, stays where it was. The tabs can be reordered with a mouse and a touch screen, but not yet with the keyboard.
6851
6901
  * :::tip Other things to consider
6852
6902
  * Never divide the content of a tab using a nested tab bar.
6853
6903
  * Never place two tab bars within the same screen.
@@ -6860,6 +6910,8 @@ declare global {
6860
6910
  * @exampleComponent limel-example-tab-bar-with-equal-tab-width
6861
6911
  * @exampleComponent limel-example-tab-bar-vertical
6862
6912
  * @exampleComponent limel-example-tab-bar-tab-width
6913
+ * @exampleComponent limel-example-tab-bar-reorder
6914
+ * @exampleComponent limel-example-tab-bar-reorder-vertical
6863
6915
  */
6864
6916
  interface HTMLLimelTabBarElement extends Components.LimelTabBar, HTMLStencilElement {
6865
6917
  addEventListener<K extends keyof HTMLLimelTabBarElementEventMap>(type: K, listener: (this: HTMLLimelTabBarElement, ev: LimelTabBarCustomEvent<HTMLLimelTabBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6877,6 +6929,7 @@ declare global {
6877
6929
  };
6878
6930
  interface HTMLLimelTabPanelElementEventMap {
6879
6931
  "changeTab": Tab;
6932
+ "reorderTab": TabReorderEvent;
6880
6933
  }
6881
6934
  /**
6882
6935
  * The `limel-tab-panel` component uses the `limel-tab-bar` component together
@@ -6890,8 +6943,13 @@ declare global {
6890
6943
  * load data or render anything until the tab is active.
6891
6944
  * The slotted components can also emit the `changeTab` event to update anything
6892
6945
  * inside the actual tab, e.g. to change the icon, color or badge.
6946
+ * Set `allowTabReorder` to let the user reorder the tabs by dragging them. The
6947
+ * panel does not change `tabs` itself. Listen for `reorderTab`, and give the
6948
+ * panel the tabs in their new order. The tabs can be reordered with a mouse
6949
+ * and a touch screen, but not yet with the keyboard.
6893
6950
  * @exampleComponent limel-example-tab-panel-basic
6894
6951
  * @exampleComponent limel-example-tab-panel-vertical
6952
+ * @exampleComponent limel-example-tab-panel-reorder
6895
6953
  */
6896
6954
  interface HTMLLimelTabPanelElement extends Components.LimelTabPanel, HTMLStencilElement {
6897
6955
  addEventListener<K extends keyof HTMLLimelTabPanelElementEventMap>(type: K, listener: (this: HTMLLimelTabPanelElement, ev: LimelTabPanelCustomEvent<HTMLLimelTabPanelElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -9087,6 +9145,7 @@ declare namespace LocalJSX {
9087
9145
  * @exampleComponent limel-example-form-row-layout
9088
9146
  * @exampleComponent limel-example-builtin-field-types-form
9089
9147
  * @exampleComponent limel-example-code-editor-form
9148
+ * @exampleComponent limel-example-form-highlighted-field
9090
9149
  */
9091
9150
  interface LimelForm {
9092
9151
  /**
@@ -9098,6 +9157,11 @@ declare namespace LocalJSX {
9098
9157
  * Extra errors to display in the form. Typical use case is asynchronous errors generated server side.
9099
9158
  */
9100
9159
  "errors"?: ValidationError;
9160
+ /**
9161
+ * The path in the value of a field to take the user to, such as `['heroes', 2, 'name']`. When it changes, the form opens the sections and list items the field is in, scrolls it into view, focuses it and briefly highlights it. If the path goes further than the form can show, such as into a custom component, the closest field above the end of the path is shown. To show the same field again, set it to `undefined` first.
9162
+ * @beta
9163
+ */
9164
+ "highlightedField"?: Array<string | number>;
9101
9165
  /**
9102
9166
  * Emitted when a change is made within the form
9103
9167
  */
@@ -10745,16 +10809,25 @@ declare namespace LocalJSX {
10745
10809
  * the edge that `location` names. Give the element a `position` other than
10746
10810
  * `static`. If other content covers the handle, also give the element
10747
10811
  * `isolation: isolate`.
10812
+ * ## Accessibility
10813
+ * The user reaches the handle with the <kbd>Tab</kbd> key. The handle is named
10814
+ * "Resize" followed by `resizableRegionLabel`, for example "Resize side
10815
+ * panel". A tooltip shows the name and how to resize. While the pointer is
10816
+ * over the handle, it says to drag the handle. While the handle has keyboard
10817
+ * focus, it says which arrow keys to press, which fit `location`. Screen
10818
+ * readers read the arrow keys as the description of the handle.
10748
10819
  * @exampleComponent limel-example-resize-handle-basic
10749
10820
  * @exampleComponent limel-example-resize-handle-locations
10750
10821
  * @exampleComponent limel-example-resize-handle-grab-area
10822
+ * @exampleComponent limel-example-resize-handle-accessibility
10751
10823
  * @private
10752
10824
  */
10753
10825
  interface LimelResizeHandle {
10754
10826
  /**
10755
- * The accessible name of the handle.
10827
+ * Defines the language for translations.
10828
+ * @default 'en'
10756
10829
  */
10757
- "label"?: string;
10830
+ "language"?: Languages;
10758
10831
  /**
10759
10832
  * The location of the handle relative to the resizable element.
10760
10833
  * @default 'left'
@@ -10776,6 +10849,10 @@ declare namespace LocalJSX {
10776
10849
  * Emitted after the last `changeSize` when the user has finished a resize: when the pointer is released after it has moved, and after each arrow key press. Pressing and releasing the handle without moving it emits nothing.
10777
10850
  */
10778
10851
  "onEndResize"?: (event: LimelResizeHandleCustomEvent<void>) => void;
10852
+ /**
10853
+ * The name of the region that the handle resizes, for example `side panel`. The accessible name of the handle is "Resize" followed by this name, for example "Resize side panel". When no name is set, the handle is named "Resize this region". Write the name in the language that is set in `language`, in the form that reads right after "Resize", for example `side panel` in English and `sidopanelen` in Swedish.
10854
+ */
10855
+ "resizableRegionLabel"?: string;
10779
10856
  /**
10780
10857
  * The size of the element, in pixels: the width when `location` is `left` or `right`, and the height when it is `top` or `bottom`.
10781
10858
  */
@@ -10936,6 +11013,7 @@ declare namespace LocalJSX {
10936
11013
  * @exampleComponent limel-example-side-panel-header-actions
10937
11014
  * @exampleComponent limel-example-side-panel-stacking
10938
11015
  * @exampleComponent limel-example-side-panel-full-screen
11016
+ * @exampleComponent limel-example-side-panel-accessibility
10939
11017
  * @private
10940
11018
  */
10941
11019
  interface LimelSidePanel {
@@ -10960,9 +11038,14 @@ declare namespace LocalJSX {
10960
11038
  */
10961
11039
  "fullScreen"?: boolean;
10962
11040
  /**
10963
- * Accessible name of the panel. Screen readers announce it. Set it to something that tells the user what the panel is for.
11041
+ * Accessible name of the panel. Screen readers announce it. Set it to something that tells the user what the panel is for. The resize handle is named after it, for example "Resize Customer details panel". When no label is set, the handle is named "Resize side panel".
10964
11042
  */
10965
11043
  "label"?: string;
11044
+ /**
11045
+ * Defines the language for translations.
11046
+ * @default 'en'
11047
+ */
11048
+ "language"?: Languages;
10966
11049
  /**
10967
11050
  * Emitted when the user has finished a resize that changed the width. The detail is the new width in pixels. The panel already uses the new width. Store the value to restore the width with `--side-panel-width` the next time the panel opens.
10968
11051
  */
@@ -10979,11 +11062,6 @@ declare namespace LocalJSX {
10979
11062
  * Emitted when a back of the stack is clicked. The detail is the index of its entry in `stack`.
10980
11063
  */
10981
11064
  "onSelectStackEntry"?: (event: LimelSidePanelCustomEvent<number>) => void;
10982
- /**
10983
- * Label of the resize handle. Used as the accessible name.
10984
- * @default 'Resize'
10985
- */
10986
- "resizeLabel"?: string;
10987
11065
  /**
10988
11066
  * The panels in the stack, outermost first. The last entry is the panel that is displayed. Its heading, subheading and icon are shown in the header. The other entries are shown as backs behind the panel.
10989
11067
  * @default []
@@ -11272,6 +11350,7 @@ declare namespace LocalJSX {
11272
11350
  * A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device. A vertical tab bar does the same, upwards and downwards.
11273
11351
  * The arrows are only a shortcut for people who use a mouse or a touch screen. Screen readers do not announce them, and the Tab key skips them. People who use a keyboard or a screen reader move between the tabs, and the tab bar keeps the selected tab in view.
11274
11352
  * The left and right arrow keys move to the previous and the next tab, and select it. In a vertical tab bar, the up and down arrow keys do that instead. Home and End move to the first and the last tab. Moving past the last tab continues at the first one, and the other way around. The Tab key moves on to what comes after the tab bar, and moving back with Shift and Tab lands on the selected tab, or on the first tab when none is selected.
11353
+ * Set `allowTabReorder` to let the user drag the tabs into the order they want. Every tab then gets a drag handle, and the tab bar emits `reorderTab` when the user drops a tab in a new place. The tab bar does not change `tabs` itself, so the component that uses it decides the new order, and can save it for the user. A tab that the component does not move, stays where it was. The tabs can be reordered with a mouse and a touch screen, but not yet with the keyboard.
11275
11354
  * :::tip Other things to consider
11276
11355
  * Never divide the content of a tab using a nested tab bar.
11277
11356
  * Never place two tab bars within the same screen.
@@ -11284,12 +11363,23 @@ declare namespace LocalJSX {
11284
11363
  * @exampleComponent limel-example-tab-bar-with-equal-tab-width
11285
11364
  * @exampleComponent limel-example-tab-bar-vertical
11286
11365
  * @exampleComponent limel-example-tab-bar-tab-width
11366
+ * @exampleComponent limel-example-tab-bar-reorder
11367
+ * @exampleComponent limel-example-tab-bar-reorder-vertical
11287
11368
  */
11288
11369
  interface LimelTabBar {
11370
+ /**
11371
+ * Set to `true` to let the user reorder the tabs by dragging them. Listen for `reorderTab` and give the tab bar the tabs in their new order.
11372
+ * @default false
11373
+ */
11374
+ "allowTabReorder"?: boolean;
11289
11375
  /**
11290
11376
  * Emitted when a tab has been changed
11291
11377
  */
11292
11378
  "onChangeTab"?: (event: LimelTabBarCustomEvent<Tab>) => void;
11379
+ /**
11380
+ * Emitted when the user has dragged a tab to a new place. The tab bar does not change `tabs` itself. The tab stays where it was until `tabs` is set to the tabs in their new order.
11381
+ */
11382
+ "onReorderTab"?: (event: LimelTabBarCustomEvent<TabReorderEvent>) => void;
11293
11383
  /**
11294
11384
  * Whether the tabs are laid out in a row, above the content they belong to, or in a column, next to it.
11295
11385
  * @default 'horizontal'
@@ -11313,14 +11403,28 @@ declare namespace LocalJSX {
11313
11403
  * load data or render anything until the tab is active.
11314
11404
  * The slotted components can also emit the `changeTab` event to update anything
11315
11405
  * inside the actual tab, e.g. to change the icon, color or badge.
11406
+ * Set `allowTabReorder` to let the user reorder the tabs by dragging them. The
11407
+ * panel does not change `tabs` itself. Listen for `reorderTab`, and give the
11408
+ * panel the tabs in their new order. The tabs can be reordered with a mouse
11409
+ * and a touch screen, but not yet with the keyboard.
11316
11410
  * @exampleComponent limel-example-tab-panel-basic
11317
11411
  * @exampleComponent limel-example-tab-panel-vertical
11412
+ * @exampleComponent limel-example-tab-panel-reorder
11318
11413
  */
11319
11414
  interface LimelTabPanel {
11415
+ /**
11416
+ * Set to `true` to let the user reorder the tabs by dragging them. Listen for `reorderTab` and give the panel the tabs in their new order.
11417
+ * @default false
11418
+ */
11419
+ "allowTabReorder"?: boolean;
11320
11420
  /**
11321
11421
  * Emitted when a tab has been changed
11322
11422
  */
11323
11423
  "onChangeTab"?: (event: LimelTabPanelCustomEvent<Tab>) => void;
11424
+ /**
11425
+ * Emitted when the user has dragged a tab to a new place. The panel does not change `tabs` itself. The tab stays where it was until `tabs` is set to the tabs in their new order.
11426
+ */
11427
+ "onReorderTab"?: (event: LimelTabPanelCustomEvent<TabReorderEvent>) => void;
11324
11428
  /**
11325
11429
  * Whether the tabs are laid out in a row, above the content, or in a column, to the left of it.
11326
11430
  * @default 'horizontal'
@@ -12248,7 +12352,8 @@ declare namespace LocalJSX {
12248
12352
  }
12249
12353
  interface LimelResizeHandleAttributes {
12250
12354
  "location": 'left' | 'right' | 'top' | 'bottom';
12251
- "label": string;
12355
+ "resizableRegionLabel": string;
12356
+ "language": Languages;
12252
12357
  "value": number;
12253
12358
  "min": number;
12254
12359
  "max": number;
@@ -12273,8 +12378,8 @@ declare namespace LocalJSX {
12273
12378
  }
12274
12379
  interface LimelSidePanelAttributes {
12275
12380
  "label": string;
12381
+ "language": Languages;
12276
12382
  "closeLabel": string;
12277
- "resizeLabel": string;
12278
12383
  "closeOnEscape": boolean;
12279
12384
  "fullScreen": boolean;
12280
12385
  }
@@ -12325,9 +12430,11 @@ declare namespace LocalJSX {
12325
12430
  }
12326
12431
  interface LimelTabBarAttributes {
12327
12432
  "orientation": 'horizontal' | 'vertical';
12433
+ "allowTabReorder": boolean;
12328
12434
  }
12329
12435
  interface LimelTabPanelAttributes {
12330
12436
  "orientation": 'horizontal' | 'vertical';
12437
+ "allowTabReorder": boolean;
12331
12438
  }
12332
12439
  interface LimelTableAttributes {
12333
12440
  "mode": 'local' | 'remote';
@@ -13116,6 +13223,7 @@ declare module "@stencil/core" {
13116
13223
  * @exampleComponent limel-example-form-row-layout
13117
13224
  * @exampleComponent limel-example-builtin-field-types-form
13118
13225
  * @exampleComponent limel-example-code-editor-form
13226
+ * @exampleComponent limel-example-form-highlighted-field
13119
13227
  */
13120
13228
  "limel-form": LocalJSX.IntrinsicElements["limel-form"] & JSXBase.HTMLAttributes<HTMLLimelFormElement>;
13121
13229
  /**
@@ -13667,9 +13775,17 @@ declare module "@stencil/core" {
13667
13775
  * the edge that `location` names. Give the element a `position` other than
13668
13776
  * `static`. If other content covers the handle, also give the element
13669
13777
  * `isolation: isolate`.
13778
+ * ## Accessibility
13779
+ * The user reaches the handle with the <kbd>Tab</kbd> key. The handle is named
13780
+ * "Resize" followed by `resizableRegionLabel`, for example "Resize side
13781
+ * panel". A tooltip shows the name and how to resize. While the pointer is
13782
+ * over the handle, it says to drag the handle. While the handle has keyboard
13783
+ * focus, it says which arrow keys to press, which fit `location`. Screen
13784
+ * readers read the arrow keys as the description of the handle.
13670
13785
  * @exampleComponent limel-example-resize-handle-basic
13671
13786
  * @exampleComponent limel-example-resize-handle-locations
13672
13787
  * @exampleComponent limel-example-resize-handle-grab-area
13788
+ * @exampleComponent limel-example-resize-handle-accessibility
13673
13789
  * @private
13674
13790
  */
13675
13791
  "limel-resize-handle": LocalJSX.IntrinsicElements["limel-resize-handle"] & JSXBase.HTMLAttributes<HTMLLimelResizeHandleElement>;
@@ -13753,6 +13869,7 @@ declare module "@stencil/core" {
13753
13869
  * @exampleComponent limel-example-side-panel-header-actions
13754
13870
  * @exampleComponent limel-example-side-panel-stacking
13755
13871
  * @exampleComponent limel-example-side-panel-full-screen
13872
+ * @exampleComponent limel-example-side-panel-accessibility
13756
13873
  * @private
13757
13874
  */
13758
13875
  "limel-side-panel": LocalJSX.IntrinsicElements["limel-side-panel"] & JSXBase.HTMLAttributes<HTMLLimelSidePanelElement>;
@@ -13839,6 +13956,7 @@ declare module "@stencil/core" {
13839
13956
  * A tab bar can contain an unlimited number of tabs. However, depending on the device width and width of the tabs, the number of tabs that are visible at the same time will vary. When there is limited horizontal space, the component shows a left-arrow and/or right-arrow button, which scrolls and reveals the additional tabs. The tab bar can also be swiped left and right on a touch-device. A vertical tab bar does the same, upwards and downwards.
13840
13957
  * The arrows are only a shortcut for people who use a mouse or a touch screen. Screen readers do not announce them, and the Tab key skips them. People who use a keyboard or a screen reader move between the tabs, and the tab bar keeps the selected tab in view.
13841
13958
  * The left and right arrow keys move to the previous and the next tab, and select it. In a vertical tab bar, the up and down arrow keys do that instead. Home and End move to the first and the last tab. Moving past the last tab continues at the first one, and the other way around. The Tab key moves on to what comes after the tab bar, and moving back with Shift and Tab lands on the selected tab, or on the first tab when none is selected.
13959
+ * Set `allowTabReorder` to let the user drag the tabs into the order they want. Every tab then gets a drag handle, and the tab bar emits `reorderTab` when the user drops a tab in a new place. The tab bar does not change `tabs` itself, so the component that uses it decides the new order, and can save it for the user. A tab that the component does not move, stays where it was. The tabs can be reordered with a mouse and a touch screen, but not yet with the keyboard.
13842
13960
  * :::tip Other things to consider
13843
13961
  * Never divide the content of a tab using a nested tab bar.
13844
13962
  * Never place two tab bars within the same screen.
@@ -13851,6 +13969,8 @@ declare module "@stencil/core" {
13851
13969
  * @exampleComponent limel-example-tab-bar-with-equal-tab-width
13852
13970
  * @exampleComponent limel-example-tab-bar-vertical
13853
13971
  * @exampleComponent limel-example-tab-bar-tab-width
13972
+ * @exampleComponent limel-example-tab-bar-reorder
13973
+ * @exampleComponent limel-example-tab-bar-reorder-vertical
13854
13974
  */
13855
13975
  "limel-tab-bar": LocalJSX.IntrinsicElements["limel-tab-bar"] & JSXBase.HTMLAttributes<HTMLLimelTabBarElement>;
13856
13976
  /**
@@ -13865,8 +13985,13 @@ declare module "@stencil/core" {
13865
13985
  * load data or render anything until the tab is active.
13866
13986
  * The slotted components can also emit the `changeTab` event to update anything
13867
13987
  * inside the actual tab, e.g. to change the icon, color or badge.
13988
+ * Set `allowTabReorder` to let the user reorder the tabs by dragging them. The
13989
+ * panel does not change `tabs` itself. Listen for `reorderTab`, and give the
13990
+ * panel the tabs in their new order. The tabs can be reordered with a mouse
13991
+ * and a touch screen, but not yet with the keyboard.
13868
13992
  * @exampleComponent limel-example-tab-panel-basic
13869
13993
  * @exampleComponent limel-example-tab-panel-vertical
13994
+ * @exampleComponent limel-example-tab-panel-reorder
13870
13995
  */
13871
13996
  "limel-tab-panel": LocalJSX.IntrinsicElements["limel-tab-panel"] & JSXBase.HTMLAttributes<HTMLLimelTabPanelElement>;
13872
13997
  /**
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'file.drag-and-drop-tips': string;
34
41
  'file.optimizing': string;
@@ -29,6 +29,13 @@ declare const _default: {
29
29
  'date-picker.year.heading': string;
30
30
  'drag-handle.drag-handle': string;
31
31
  'drag-handle.drag-to-reorder': string;
32
+ 'resize-handle.resize': string;
33
+ 'resize-handle.resize-this-region': string;
34
+ 'resize-handle.drag': string;
35
+ 'resize-handle.keys-left-right': string;
36
+ 'resize-handle.keys-up-down': string;
37
+ 'side-panel.resize-region': string;
38
+ 'side-panel.resize-region.named': string;
32
39
  'chip-set.clear-all': string;
33
40
  'snackbar.dismiss': string;
34
41
  'file.drag-and-drop-tips': string;