@limetech/lime-elements 40.23.0 → 40.25.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 (404) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/{checkbox.template-CNJ29zDR.js → checkbox.template-DgiUCPna.js} +1 -1
  3. package/dist/cjs/dom-BWMDM6En.js +32 -0
  4. package/dist/cjs/{image.template-DlF-f23b.js → image.template-B_HZH9t-.js} +1 -1
  5. package/dist/cjs/{index-BlsqxTB1.js → index-CQn9p_mp.js} +12 -0
  6. package/dist/cjs/lime-elements.cjs.js +2 -2
  7. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-action-bar_3.cjs.entry.js +5 -6
  9. package/dist/cjs/limel-ai-avatar.cjs.entry.js +3 -4
  10. package/dist/cjs/limel-badge_7.cjs.entry.js +13 -13
  11. package/dist/cjs/limel-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-button-group.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-button.cjs.entry.js +3 -3
  14. package/dist/cjs/limel-callout.cjs.entry.js +3 -4
  15. package/dist/cjs/limel-card.cjs.entry.js +3 -3
  16. package/dist/cjs/limel-chart.cjs.entry.js +782 -180
  17. package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
  18. package/dist/cjs/limel-chip-set.cjs.entry.js +3 -4
  19. package/dist/cjs/limel-chip_2.cjs.entry.js +4 -5
  20. package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-code-diff.cjs.entry.js +3 -4
  22. package/dist/cjs/limel-code-editor.cjs.entry.js +3 -4
  23. package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -4
  24. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -3
  25. package/dist/cjs/limel-color-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/limel-config.cjs.entry.js +1 -1
  27. package/dist/cjs/limel-date-picker.cjs.entry.js +439 -28
  28. package/dist/cjs/limel-dialog.cjs.entry.js +3 -3
  29. package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
  30. package/dist/cjs/limel-dock.cjs.entry.js +4 -5
  31. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +5 -6
  32. package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
  33. package/dist/cjs/limel-email-viewer.cjs.entry.js +3 -4
  34. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +3 -3
  35. package/dist/cjs/limel-file-viewer.cjs.entry.js +3 -4
  36. package/dist/cjs/limel-file.cjs.entry.js +3 -4
  37. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +124 -16
  38. package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
  39. package/dist/cjs/limel-form-header.cjs.entry.js +2 -2
  40. package/dist/cjs/limel-form.cjs.entry.js +66 -6
  41. package/dist/cjs/limel-grid.cjs.entry.js +2 -2
  42. package/dist/cjs/limel-header.cjs.entry.js +2 -2
  43. package/dist/cjs/limel-help_2.cjs.entry.js +4 -4
  44. package/dist/cjs/limel-helper-line_3.cjs.entry.js +5 -5
  45. package/dist/cjs/limel-hotkey_4.cjs.entry.js +6 -6
  46. package/dist/cjs/limel-icon-button.cjs.entry.js +2 -2
  47. package/dist/cjs/limel-icon.cjs.entry.js +2 -2
  48. package/dist/cjs/limel-info-tile.cjs.entry.js +3 -3
  49. package/dist/cjs/limel-list-item.cjs.entry.js +7 -8
  50. package/dist/cjs/limel-markdown.cjs.entry.js +2 -2
  51. package/dist/cjs/limel-masonry-layout.cjs.entry.js +2 -2
  52. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +2 -2
  53. package/dist/cjs/limel-pagination-jump.cjs.entry.js +2 -3
  54. package/dist/cjs/limel-pagination.cjs.entry.js +7 -8
  55. package/dist/cjs/limel-picker.cjs.entry.js +7 -7
  56. package/dist/cjs/limel-popover_2.cjs.entry.js +3 -3
  57. package/dist/cjs/limel-profile-picture.cjs.entry.js +3 -4
  58. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
  59. package/dist/cjs/limel-progress-flow.cjs.entry.js +1 -1
  60. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +3 -4
  61. package/dist/cjs/limel-radio-button-group.cjs.entry.js +2 -2
  62. package/dist/cjs/limel-radio-button.cjs.entry.js +3 -3
  63. package/dist/cjs/limel-resize-handle.cjs.entry.js +3 -4
  64. package/dist/cjs/limel-select.cjs.entry.js +3 -3
  65. package/dist/cjs/limel-shortcut.cjs.entry.js +2 -2
  66. package/dist/cjs/limel-side-panel.cjs.entry.js +3 -4
  67. package/dist/cjs/limel-slider.cjs.entry.js +5 -6
  68. package/dist/cjs/limel-snackbar.cjs.entry.js +4 -5
  69. package/dist/cjs/limel-split-button.cjs.entry.js +3 -3
  70. package/dist/cjs/limel-switch.cjs.entry.js +2 -2
  71. package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
  72. package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -2
  73. package/dist/cjs/limel-table.cjs.entry.js +4 -5
  74. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +5 -6
  75. package/dist/cjs/limel-text-editor.cjs.entry.js +2 -2
  76. package/dist/cjs/{live-message-BNl3Ihcz.js → live-message-CwxlKd60.js} +0 -30
  77. package/dist/cjs/loader.cjs.js +2 -2
  78. package/dist/cjs/{render-list-component-BtAliHQp.js → render-list-component-BOYFHMFE.js} +1 -1
  79. package/dist/cjs/{translations-JLP5icQ9.js → translations-BPsptVkN.js} +73 -3
  80. package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
  81. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
  82. package/dist/collection/components/action-bar/action-bar.js +2 -2
  83. package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
  84. package/dist/collection/components/badge/badge.js +2 -2
  85. package/dist/collection/components/banner/banner.js +1 -1
  86. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  87. package/dist/collection/components/button/button.js +2 -2
  88. package/dist/collection/components/button-group/button-group.js +1 -1
  89. package/dist/collection/components/callout/callout.js +1 -1
  90. package/dist/collection/components/card/card.js +1 -1
  91. package/dist/collection/components/chart/chart.css +29 -0
  92. package/dist/collection/components/chart/chart.js +352 -67
  93. package/dist/collection/components/chart/options.js +342 -109
  94. package/dist/collection/components/chart/scale.js +25 -2
  95. package/dist/collection/components/chart/series.js +110 -0
  96. package/dist/collection/components/checkbox/checkbox.js +1 -1
  97. package/dist/collection/components/chip/chip.js +1 -1
  98. package/dist/collection/components/chip-set/chip-set.js +1 -1
  99. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  100. package/dist/collection/components/code-diff/code-diff.js +1 -1
  101. package/dist/collection/components/code-editor/code-editor.js +1 -1
  102. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  103. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  104. package/dist/collection/components/color-picker/color-picker.js +1 -1
  105. package/dist/collection/components/date-picker/date-formatter.js +147 -1
  106. package/dist/collection/components/date-picker/date-picker.css +112 -0
  107. package/dist/collection/components/date-picker/date-picker.js +307 -26
  108. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +77 -30
  109. package/dist/collection/components/date-picker/pickers/month-picker.js +3 -0
  110. package/dist/collection/components/date-picker/pickers/picker.js +37 -1
  111. package/dist/collection/components/date-picker/pickers/quarter-picker.js +3 -0
  112. package/dist/collection/components/date-picker/pickers/week-picker.js +21 -0
  113. package/dist/collection/components/date-picker/pickers/year-picker.js +24 -0
  114. package/dist/collection/components/dialog/dialog.js +2 -2
  115. package/dist/collection/components/dock/dock.js +2 -2
  116. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  117. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  118. package/dist/collection/components/file/file.js +1 -1
  119. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  120. package/dist/collection/components/file-input/file-input.js +1 -1
  121. package/dist/collection/components/flex-container/flex-container.js +1 -1
  122. package/dist/collection/components/form/fields/schema-field.js +19 -1
  123. package/dist/collection/components/form/form.js +30 -3
  124. package/dist/collection/components/form/form.test-schemas.js +11 -0
  125. package/dist/collection/components/form/invalid-input.js +14 -0
  126. package/dist/collection/components/form/widgets/date-picker.js +3 -1
  127. package/dist/collection/components/form-header/form-header.js +1 -1
  128. package/dist/collection/components/grid/grid.js +1 -1
  129. package/dist/collection/components/header/header.js +1 -1
  130. package/dist/collection/components/help/help-content.js +1 -1
  131. package/dist/collection/components/help/help.js +2 -2
  132. package/dist/collection/components/helper-line/helper-line.js +2 -2
  133. package/dist/collection/components/hotkey/hotkey.js +1 -1
  134. package/dist/collection/components/icon/icon.js +1 -1
  135. package/dist/collection/components/icon-button/icon-button.js +1 -1
  136. package/dist/collection/components/info-tile/info-tile.js +2 -2
  137. package/dist/collection/components/input-field/input-field.js +1 -1
  138. package/dist/collection/components/list/list.js +1 -1
  139. package/dist/collection/components/list-item/list-item.js +2 -2
  140. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  141. package/dist/collection/components/markdown/markdown.js +1 -1
  142. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  143. package/dist/collection/components/menu/menu.js +1 -1
  144. package/dist/collection/components/menu-list/menu-list.js +1 -1
  145. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  146. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  147. package/dist/collection/components/pagination/pagination.js +1 -1
  148. package/dist/collection/components/picker/picker.js +1 -1
  149. package/dist/collection/components/popover/popover.js +1 -1
  150. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  151. package/dist/collection/components/portal/portal.js +1 -1
  152. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  153. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  154. package/dist/collection/components/resize-handle/resize-handle.js +1 -1
  155. package/dist/collection/components/scroller/scroller.js +2 -2
  156. package/dist/collection/components/select/select.js +1 -1
  157. package/dist/collection/components/shortcut/shortcut.js +1 -1
  158. package/dist/collection/components/side-panel/side-panel.js +1 -1
  159. package/dist/collection/components/slider/slider.js +3 -3
  160. package/dist/collection/components/snackbar/snackbar.js +2 -2
  161. package/dist/collection/components/spinner/spinner.js +1 -1
  162. package/dist/collection/components/split-button/split-button.js +2 -2
  163. package/dist/collection/components/switch/switch.js +1 -1
  164. package/dist/collection/components/tab-bar/tab-bar.js +1 -1
  165. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  166. package/dist/collection/components/table/table.js +2 -2
  167. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  168. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  169. package/dist/collection/components/text-editor/text-editor.js +1 -1
  170. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  171. package/dist/collection/components/tooltip/tooltip.js +2 -2
  172. package/dist/collection/translations/da.js +2 -0
  173. package/dist/collection/translations/de.js +2 -0
  174. package/dist/collection/translations/en.js +2 -0
  175. package/dist/collection/translations/fi.js +2 -0
  176. package/dist/collection/translations/fr.js +2 -0
  177. package/dist/collection/translations/nl.js +2 -0
  178. package/dist/collection/translations/no.js +2 -0
  179. package/dist/collection/translations/sv.js +2 -0
  180. package/dist/esm/{checkbox.template-CAja2LKZ.js → checkbox.template-BJJmiDJP.js} +1 -1
  181. package/dist/esm/dom-B9Ofc5RB.js +30 -0
  182. package/dist/esm/{image.template-BGjw97m_.js → image.template-Cw2q5IS7.js} +1 -1
  183. package/dist/esm/{index-BU9IJqli.js → index-D3SUrFhp.js} +12 -1
  184. package/dist/esm/{keyboard-navigation-BF7IKmnG.js → keyboard-navigation-DeMxdkNf.js} +1 -1
  185. package/dist/esm/lime-elements.js +3 -3
  186. package/dist/esm/limel-3d-hover-effect-glow.entry.js +2 -2
  187. package/dist/esm/limel-action-bar_3.entry.js +5 -6
  188. package/dist/esm/limel-ai-avatar.entry.js +3 -4
  189. package/dist/esm/limel-badge_7.entry.js +12 -12
  190. package/dist/esm/limel-banner.entry.js +2 -2
  191. package/dist/esm/limel-button-group.entry.js +2 -2
  192. package/dist/esm/limel-button.entry.js +3 -3
  193. package/dist/esm/limel-callout.entry.js +3 -4
  194. package/dist/esm/limel-card.entry.js +3 -3
  195. package/dist/esm/limel-chart.entry.js +779 -177
  196. package/dist/esm/limel-checkbox.entry.js +3 -3
  197. package/dist/esm/limel-chip-set.entry.js +3 -4
  198. package/dist/esm/limel-chip_2.entry.js +4 -5
  199. package/dist/esm/limel-circular-progress.entry.js +2 -2
  200. package/dist/esm/limel-code-diff.entry.js +3 -4
  201. package/dist/esm/limel-code-editor.entry.js +3 -4
  202. package/dist/esm/limel-collapsible-section.entry.js +3 -4
  203. package/dist/esm/limel-color-picker-palette.entry.js +3 -3
  204. package/dist/esm/limel-color-picker.entry.js +2 -2
  205. package/dist/esm/limel-config.entry.js +1 -1
  206. package/dist/esm/limel-date-picker.entry.js +436 -25
  207. package/dist/esm/limel-dialog.entry.js +3 -3
  208. package/dist/esm/limel-dock-button.entry.js +1 -1
  209. package/dist/esm/limel-dock.entry.js +4 -5
  210. package/dist/esm/limel-drag-handle_2.entry.js +5 -6
  211. package/dist/esm/limel-dynamic-label.entry.js +1 -1
  212. package/dist/esm/limel-email-viewer.entry.js +3 -4
  213. package/dist/esm/limel-file-dropzone_2.entry.js +3 -3
  214. package/dist/esm/limel-file-viewer.entry.js +3 -4
  215. package/dist/esm/limel-file.entry.js +3 -4
  216. package/dist/esm/limel-flatpickr-adapter.entry.js +118 -10
  217. package/dist/esm/limel-flex-container.entry.js +2 -2
  218. package/dist/esm/limel-form-header.entry.js +2 -2
  219. package/dist/esm/limel-form.entry.js +66 -6
  220. package/dist/esm/limel-grid.entry.js +2 -2
  221. package/dist/esm/limel-header.entry.js +2 -2
  222. package/dist/esm/limel-help_2.entry.js +4 -4
  223. package/dist/esm/limel-helper-line_3.entry.js +5 -5
  224. package/dist/esm/limel-hotkey_4.entry.js +6 -6
  225. package/dist/esm/limel-icon-button.entry.js +2 -2
  226. package/dist/esm/limel-icon.entry.js +2 -2
  227. package/dist/esm/limel-info-tile.entry.js +3 -3
  228. package/dist/esm/limel-list-item.entry.js +7 -8
  229. package/dist/esm/limel-markdown.entry.js +2 -2
  230. package/dist/esm/limel-masonry-layout.entry.js +2 -2
  231. package/dist/esm/limel-menu-item-meta.entry.js +2 -2
  232. package/dist/esm/limel-pagination-jump.entry.js +2 -3
  233. package/dist/esm/limel-pagination.entry.js +3 -4
  234. package/dist/esm/limel-picker.entry.js +5 -5
  235. package/dist/esm/limel-popover_2.entry.js +3 -3
  236. package/dist/esm/limel-profile-picture.entry.js +3 -4
  237. package/dist/esm/limel-progress-flow-item.entry.js +1 -1
  238. package/dist/esm/limel-progress-flow.entry.js +1 -1
  239. package/dist/esm/limel-prosemirror-adapter.entry.js +3 -4
  240. package/dist/esm/limel-radio-button-group.entry.js +2 -2
  241. package/dist/esm/limel-radio-button.entry.js +3 -3
  242. package/dist/esm/limel-resize-handle.entry.js +3 -4
  243. package/dist/esm/limel-select.entry.js +3 -3
  244. package/dist/esm/limel-shortcut.entry.js +2 -2
  245. package/dist/esm/limel-side-panel.entry.js +3 -4
  246. package/dist/esm/limel-slider.entry.js +5 -6
  247. package/dist/esm/limel-snackbar.entry.js +4 -5
  248. package/dist/esm/limel-split-button.entry.js +3 -3
  249. package/dist/esm/limel-switch.entry.js +2 -2
  250. package/dist/esm/limel-tab-bar.entry.js +3 -3
  251. package/dist/esm/limel-tab-panel.entry.js +2 -2
  252. package/dist/esm/limel-table.entry.js +4 -5
  253. package/dist/esm/limel-text-editor-link-menu.entry.js +5 -6
  254. package/dist/esm/limel-text-editor.entry.js +2 -2
  255. package/dist/esm/{live-message-BQAYeNiX.js → live-message-BKB4vu28.js} +1 -30
  256. package/dist/esm/loader.js +3 -3
  257. package/dist/esm/{render-list-component-J1IzNpbv.js → render-list-component-CnMNjOaj.js} +1 -1
  258. package/dist/esm/{translations-D9ZGrMhe.js → translations--i932i_D.js} +70 -2
  259. package/dist/lime-elements/lime-elements.esm.js +1 -1
  260. package/dist/lime-elements/p--i932i_D.js +1 -0
  261. package/dist/lime-elements/p-07961d4f.entry.js +1 -0
  262. package/dist/lime-elements/p-099e9e1a.entry.js +1 -0
  263. package/dist/lime-elements/p-0dd5cb25.entry.js +1 -0
  264. package/dist/lime-elements/{p-40940a6c.entry.js → p-1d57370e.entry.js} +1 -1
  265. package/dist/lime-elements/p-1ef92aa3.entry.js +1 -0
  266. package/dist/lime-elements/p-1eff9347.entry.js +56 -0
  267. package/dist/lime-elements/{p-6053608a.entry.js → p-22458db2.entry.js} +2 -2
  268. package/dist/lime-elements/{p-db9cb7ef.entry.js → p-2520a91b.entry.js} +1 -1
  269. package/dist/lime-elements/{p-85318636.entry.js → p-25473848.entry.js} +1 -1
  270. package/dist/lime-elements/p-27000dfb.entry.js +1 -0
  271. package/dist/lime-elements/p-29800b71.entry.js +1 -0
  272. package/dist/lime-elements/{p-438fe49b.entry.js → p-2e1fd8c4.entry.js} +1 -1
  273. package/dist/lime-elements/p-2f6ee1b0.entry.js +1 -0
  274. package/dist/lime-elements/{p-c61e9b83.entry.js → p-427a3da3.entry.js} +1 -1
  275. package/dist/lime-elements/p-447a2633.entry.js +1 -0
  276. package/dist/lime-elements/{p-909466b8.entry.js → p-4c54780d.entry.js} +1 -1
  277. package/dist/lime-elements/p-4f81f0b4.entry.js +1 -0
  278. package/dist/lime-elements/{p-7d0ffc60.entry.js → p-5062b51a.entry.js} +1 -1
  279. package/dist/lime-elements/p-5295b4c7.entry.js +1 -0
  280. package/dist/lime-elements/p-5a1b7f4d.entry.js +1 -0
  281. package/dist/lime-elements/{p-a6387dc7.entry.js → p-5b9c1f8f.entry.js} +1 -1
  282. package/dist/lime-elements/p-5be1e9e8.entry.js +159 -0
  283. package/dist/lime-elements/p-5c6589aa.entry.js +1 -0
  284. package/dist/lime-elements/{p-3f7fa772.entry.js → p-5e7ca1fd.entry.js} +1 -1
  285. package/dist/lime-elements/{p-95a486c8.entry.js → p-5f66e497.entry.js} +1 -1
  286. package/dist/lime-elements/p-667759da.entry.js +1 -0
  287. package/dist/lime-elements/{p-48a412ed.entry.js → p-6a340609.entry.js} +1 -1
  288. package/dist/lime-elements/{p-a891f3e8.entry.js → p-6d3cde2e.entry.js} +1 -1
  289. package/dist/lime-elements/{p-f59447bf.entry.js → p-6e529563.entry.js} +1 -1
  290. package/dist/lime-elements/{p-c2056ebc.entry.js → p-743f014f.entry.js} +1 -1
  291. package/dist/lime-elements/{p-c6b3448c.entry.js → p-7aa034e2.entry.js} +1 -1
  292. package/dist/lime-elements/p-7b2ec934.entry.js +1 -0
  293. package/dist/lime-elements/p-7b99624f.entry.js +1 -0
  294. package/dist/lime-elements/p-7ea96b80.entry.js +1 -0
  295. package/dist/lime-elements/{p-e5abe390.entry.js → p-7fe1d9ad.entry.js} +1 -1
  296. package/dist/lime-elements/p-842694af.entry.js +1 -0
  297. package/dist/lime-elements/{p-d3f13124.entry.js → p-848aeaa6.entry.js} +1 -1
  298. package/dist/lime-elements/{p-1e0ced6a.entry.js → p-868a8b12.entry.js} +1 -1
  299. package/dist/lime-elements/p-891f6a07.entry.js +1 -0
  300. package/dist/lime-elements/{p-28957b5c.entry.js → p-8dcb9ef1.entry.js} +1 -1
  301. package/dist/lime-elements/p-92f79a62.entry.js +1 -0
  302. package/dist/lime-elements/p-93907698.entry.js +16 -0
  303. package/dist/lime-elements/{p-c0ebf7cc.entry.js → p-9b3c7341.entry.js} +1 -1
  304. package/dist/lime-elements/p-B9Ofc5RB.js +1 -0
  305. package/dist/lime-elements/{p-_1yBt1pG.js → p-BJrZuSu3.js} +1 -1
  306. package/dist/lime-elements/{p-Cadm4-WZ.js → p-BzHrLZdr.js} +1 -1
  307. package/dist/lime-elements/p-CMedqTpE.js +1 -0
  308. package/dist/lime-elements/{p-BU9IJqli.js → p-D3SUrFhp.js} +2 -2
  309. package/dist/lime-elements/p-DpXrxCh5.js +1 -0
  310. package/dist/lime-elements/p-DwxRLqY6.js +1 -0
  311. package/dist/lime-elements/{p-c8a34cef.entry.js → p-a0501e84.entry.js} +1 -1
  312. package/dist/lime-elements/p-a5419b44.entry.js +1 -0
  313. package/dist/lime-elements/{p-ce71c5b9.entry.js → p-abd612b3.entry.js} +1 -1
  314. package/dist/lime-elements/{p-f3b93ce8.entry.js → p-aeac9588.entry.js} +2 -2
  315. package/dist/lime-elements/p-b01e8af9.entry.js +1 -0
  316. package/dist/lime-elements/{p-f97ec7a5.entry.js → p-b08c9b52.entry.js} +1 -1
  317. package/dist/lime-elements/{p-54537c85.entry.js → p-b1f6412e.entry.js} +1 -1
  318. package/dist/lime-elements/{p-6ae093c8.entry.js → p-b3967ab3.entry.js} +1 -1
  319. package/dist/lime-elements/{p-5dce791c.entry.js → p-b8bfec0e.entry.js} +1 -1
  320. package/dist/lime-elements/p-ba4b44ad.entry.js +1 -0
  321. package/dist/lime-elements/{p-783fd221.entry.js → p-bf726f16.entry.js} +1 -1
  322. package/dist/lime-elements/p-c2f27d2a.entry.js +1 -0
  323. package/dist/lime-elements/{p-271662d4.entry.js → p-c3bd19ea.entry.js} +1 -1
  324. package/dist/lime-elements/p-cc560bbd.entry.js +1 -0
  325. package/dist/lime-elements/{p-0319f07f.entry.js → p-d2953c11.entry.js} +1 -1
  326. package/dist/lime-elements/{p-764d2f86.entry.js → p-d3d01dd4.entry.js} +1 -1
  327. package/dist/lime-elements/{p-4b75e653.entry.js → p-d9e6175b.entry.js} +1 -1
  328. package/dist/lime-elements/p-dab5421d.entry.js +1 -0
  329. package/dist/lime-elements/p-dcaeefc9.entry.js +1 -0
  330. package/dist/lime-elements/{p-f71fbc9e.entry.js → p-df8aa135.entry.js} +4 -4
  331. package/dist/lime-elements/p-e2fb2af4.entry.js +1 -0
  332. package/dist/lime-elements/p-e929fc64.entry.js +1 -0
  333. package/dist/lime-elements/p-ea02dade.entry.js +1 -0
  334. package/dist/lime-elements/p-ecd633cb.entry.js +1 -0
  335. package/dist/lime-elements/{p-39d1e157.entry.js → p-f5cd53e8.entry.js} +1 -1
  336. package/dist/lime-elements/{p-8fe28845.entry.js → p-f7cae25a.entry.js} +1 -1
  337. package/dist/types/components/chart/chart.d.ts +59 -8
  338. package/dist/types/components/chart/chart.types.d.ts +23 -0
  339. package/dist/types/components/chart/options.d.ts +83 -8
  340. package/dist/types/components/chart/scale.d.ts +10 -0
  341. package/dist/types/components/chart/series.d.ts +71 -0
  342. package/dist/types/components/date-picker/date-formatter.d.ts +12 -0
  343. package/dist/types/components/date-picker/date-picker.d.ts +59 -3
  344. package/dist/types/components/date-picker/flatpickr-adapter/flatpickr-adapter.d.ts +13 -2
  345. package/dist/types/components/date-picker/pickers/month-picker.d.ts +1 -0
  346. package/dist/types/components/date-picker/pickers/picker.d.ts +8 -1
  347. package/dist/types/components/date-picker/pickers/quarter-picker.d.ts +1 -0
  348. package/dist/types/components/date-picker/pickers/week-picker.d.ts +4 -0
  349. package/dist/types/components/date-picker/pickers/year-picker.d.ts +7 -0
  350. package/dist/types/components/form/fields/schema-field.d.ts +2 -0
  351. package/dist/types/components/form/form.d.ts +2 -0
  352. package/dist/types/components/form/form.test-schemas.d.ts +1 -0
  353. package/dist/types/components/form/invalid-input.d.ts +14 -0
  354. package/dist/types/components/form/widgets/date-picker.d.ts +1 -0
  355. package/dist/types/components.d.ts +73 -26
  356. package/dist/types/translations/da.d.ts +2 -0
  357. package/dist/types/translations/de.d.ts +2 -0
  358. package/dist/types/translations/en.d.ts +2 -0
  359. package/dist/types/translations/fi.d.ts +2 -0
  360. package/dist/types/translations/fr.d.ts +2 -0
  361. package/dist/types/translations/nl.d.ts +2 -0
  362. package/dist/types/translations/no.d.ts +2 -0
  363. package/dist/types/translations/sv.d.ts +2 -0
  364. package/package.json +3 -3
  365. package/dist/cjs/language-s0bKUCvO.js +0 -58
  366. package/dist/esm/language-VamkUr90.js +0 -55
  367. package/dist/lime-elements/p-0a7cbdc3.entry.js +0 -1
  368. package/dist/lime-elements/p-0f96e94d.entry.js +0 -1
  369. package/dist/lime-elements/p-1a0c5e45.entry.js +0 -1
  370. package/dist/lime-elements/p-401d5c92.entry.js +0 -1
  371. package/dist/lime-elements/p-430db3b9.entry.js +0 -1
  372. package/dist/lime-elements/p-43b62587.entry.js +0 -1
  373. package/dist/lime-elements/p-48dccb83.entry.js +0 -1
  374. package/dist/lime-elements/p-5c918155.entry.js +0 -1
  375. package/dist/lime-elements/p-66101ed6.entry.js +0 -1
  376. package/dist/lime-elements/p-7ab72b52.entry.js +0 -1
  377. package/dist/lime-elements/p-8d602078.entry.js +0 -1
  378. package/dist/lime-elements/p-8d9a2a22.entry.js +0 -1
  379. package/dist/lime-elements/p-8de4f0f3.entry.js +0 -1
  380. package/dist/lime-elements/p-8e80a884.entry.js +0 -56
  381. package/dist/lime-elements/p-99984c66.entry.js +0 -1
  382. package/dist/lime-elements/p-9d46f720.entry.js +0 -1
  383. package/dist/lime-elements/p-9e2b426c.entry.js +0 -1
  384. package/dist/lime-elements/p-C9dBa_Im.js +0 -1
  385. package/dist/lime-elements/p-Cw7VQSGU.js +0 -1
  386. package/dist/lime-elements/p-N9vxZMhe.js +0 -1
  387. package/dist/lime-elements/p-VamkUr90.js +0 -1
  388. package/dist/lime-elements/p-b1c7033b.entry.js +0 -16
  389. package/dist/lime-elements/p-b5451350.entry.js +0 -1
  390. package/dist/lime-elements/p-c75f3b0d.entry.js +0 -1
  391. package/dist/lime-elements/p-ca4247c4.entry.js +0 -1
  392. package/dist/lime-elements/p-cf2d43c7.entry.js +0 -1
  393. package/dist/lime-elements/p-d53421af.entry.js +0 -1
  394. package/dist/lime-elements/p-d8901e39.entry.js +0 -1
  395. package/dist/lime-elements/p-d89553b3.entry.js +0 -1
  396. package/dist/lime-elements/p-d93b8ce0.entry.js +0 -1
  397. package/dist/lime-elements/p-e97340c4.entry.js +0 -1
  398. package/dist/lime-elements/p-eF09GxA_.js +0 -1
  399. package/dist/lime-elements/p-ec0c113d.entry.js +0 -1
  400. package/dist/lime-elements/p-f036ad27.entry.js +0 -1
  401. package/dist/lime-elements/p-f197000b.entry.js +0 -159
  402. package/dist/lime-elements/p-f5bb17eb.entry.js +0 -1
  403. package/dist/lime-elements/p-f6bc6658.entry.js +0 -1
  404. package/dist/lime-elements/p-fa1aa440.entry.js +0 -1
@@ -16,7 +16,7 @@ import { Button } from "./components/button/button.types";
16
16
  import { CalloutType } from "./components/callout/callout.types";
17
17
  import { Image } from "./global/shared-types/image.types";
18
18
  import { ListSeparator as ListSeparator1 } from "./global/shared-types/separator.types";
19
- import { ChartItem, ChartType, ChartValueFormat } from "./components/chart/chart.types";
19
+ import { ChartItem, ChartSeries, ChartType, ChartValueFormat } from "./components/chart/chart.types";
20
20
  import { Label, LabelValue } from "./components/dynamic-label/label.types";
21
21
  import { Link } from "./global/shared-types/link.types";
22
22
  import { Chip, ChipType } from "./components/chip-set/chip.types";
@@ -68,7 +68,7 @@ export { Button } from "./components/button/button.types";
68
68
  export { CalloutType } from "./components/callout/callout.types";
69
69
  export { Image } from "./global/shared-types/image.types";
70
70
  export { ListSeparator as ListSeparator1 } from "./global/shared-types/separator.types";
71
- export { ChartItem, ChartType, ChartValueFormat } from "./components/chart/chart.types";
71
+ export { ChartItem, ChartSeries, ChartType, ChartValueFormat } from "./components/chart/chart.types";
72
72
  export { Label, LabelValue } from "./components/dynamic-label/label.types";
73
73
  export { Link } from "./global/shared-types/link.types";
74
74
  export { Chip, ChipType } from "./components/chip-set/chip.types";
@@ -528,8 +528,6 @@ export namespace Components {
528
528
  * @exampleComponent limel-example-chart-orientation
529
529
  * @exampleComponent limel-example-chart-max-value
530
530
  * @exampleComponent limel-example-chart-display-item-percentage
531
- * @exampleComponent limel-example-chart-value-format
532
- * @exampleComponent limel-example-chart-value-format-date
533
531
  * @exampleComponent limel-example-chart-type-bar
534
532
  * @exampleComponent limel-example-chart-type-dot
535
533
  * @exampleComponent limel-example-chart-type-area
@@ -545,9 +543,13 @@ export namespace Components {
545
543
  * @exampleComponent limel-example-chart-multi-axis-area-with-negative-start-values
546
544
  * @exampleComponent limel-example-chart-type-scatter-negative
547
545
  * @exampleComponent limel-example-chart-axis-increment
546
+ * @exampleComponent limel-example-chart-value-format
547
+ * @exampleComponent limel-example-chart-value-format-date
548
548
  * @exampleComponent limel-example-chart-clickable-items
549
549
  * @exampleComponent limel-example-chart-accessibility
550
550
  * @exampleComponent limel-example-chart-axis-labels
551
+ * @exampleComponent limel-example-chart-series
552
+ * @exampleComponent limel-example-chart-series-stacked
551
553
  * @exampleComponent limel-example-chart-styling
552
554
  * @beta
553
555
  */
@@ -561,7 +563,7 @@ export namespace Components {
561
563
  */
562
564
  "accessibleLabel"?: string;
563
565
  /**
564
- * Helps users of assistive technologies to understand what the values in the chart represent. Defaults to the translation for "value" in the current language.
566
+ * Helps users of assistive technologies to understand what the values in the chart represent. Defaults to the translation for "value" in the current language. In a chart with series, the series name the columns of values, and this label, when it is set, heads them all.
565
567
  */
566
568
  "accessibleValuesLabel"?: string;
567
569
  /**
@@ -595,7 +597,7 @@ export namespace Components {
595
597
  /**
596
598
  * List of items in the chart, each representing a data point.
597
599
  */
598
- "items": ChartItem[];
600
+ "items"?: ChartItem[];
599
601
  /**
600
602
  * Defines the language for translations, and for the way values are written, such as `1 234,5` in Swedish.
601
603
  * @default 'en'
@@ -615,6 +617,15 @@ export namespace Components {
615
617
  * @default 'landscape'
616
618
  */
617
619
  "orientation"?: 'landscape' | 'portrait';
620
+ /**
621
+ * Groups of items that are drawn side by side, each in a color of its own, such as the revenue and the costs of each month. Items of different series that have the same `text` are drawn together, at the same place on the axis. When there are two series or more, a legend names them. `bar`, `dot`, `line`, and `area` charts draw `series` instead of `items`. Other types draw `items`, or the items of the first series when `items` is not set.
622
+ */
623
+ "series"?: ChartSeries[];
624
+ /**
625
+ * Stacks the `series` on each other, so that each place on the axis shows their total, such as the revenue of each product, which adds up to the revenue of the month. Positive and negative values are stacked on their own side of zero, and a range adds its extent to the stack. Applies to `bar`, `line`, and `area` charts, but not when `valueFormat` is `date`.
626
+ * @default false
627
+ */
628
+ "stacked": boolean;
618
629
  /**
619
630
  * Defines how items are visualized in the chart. `stacked-bar` is the old name of `proportion-bar`. It still works, but logs a warning.
620
631
  * @default 'proportion-bar'
@@ -1354,6 +1365,7 @@ export namespace Components {
1354
1365
  * @exampleComponent limel-example-date-picker-programmatic-change
1355
1366
  * @exampleComponent limel-example-date-picker-composite
1356
1367
  * @exampleComponent limel-example-date-picker-custom-formatter
1368
+ * @exampleComponent limel-example-date-picker-typed-input
1357
1369
  */
1358
1370
  interface LimelDatePicker {
1359
1371
  /**
@@ -1366,15 +1378,15 @@ export namespace Components {
1366
1378
  */
1367
1379
  "format": string;
1368
1380
  /**
1369
- * Custom formatting function. Will be used for date formatting. :::note overrides `format` and `language` :::
1381
+ * Custom formatting function. Will be used for date formatting. :::note overrides `format` and `language`. A date can only be typed into the field when `format` is set as well, to the pattern your `formatter` produces. Typed text is parsed with `format` and `language`, and the field shows the value in `format` while it is being edited. :::
1370
1382
  */
1371
1383
  "formatter"?: (date: Date) => string;
1372
1384
  /**
1373
- * Optional helper text to display below the input field when it has focus. Screen readers read it as the description of the field, so use it for what the user needs to know, such as the format of the value or a requirement.
1385
+ * Optional helper text to display below the input field when it has focus. Screen readers read it as the description of the field, so use it for what the user needs to know, such as the format of the value or a requirement. While the typed text is not a valid date, an error with an example of the expected format is shown instead.
1374
1386
  */
1375
1387
  "helperText": string;
1376
1388
  /**
1377
- * Set to `true` to indicate that the current value of the date picker is invalid.
1389
+ * Set to `true` to indicate that the current value of the date picker is invalid. Typed text that is not a valid date is flagged by the component itself, whatever this is set to.
1378
1390
  * @default false
1379
1391
  */
1380
1392
  "invalid": boolean;
@@ -1847,13 +1859,17 @@ export namespace Components {
1847
1859
  * @private
1848
1860
  */
1849
1861
  interface LimelFlatpickrAdapter {
1862
+ /**
1863
+ * Moves focus to the selected day, else today, else the first day of the month.
1864
+ * @returns `false` when the calendar has no day grid
1865
+ */
1866
+ "focusDay": () => Promise<boolean>;
1850
1867
  /**
1851
1868
  * Format to display the selected date in.
1852
1869
  */
1853
1870
  "format": string;
1854
- "formatter": (date: Date) => string;
1855
1871
  /**
1856
- * The native input element to use with flatpickr.
1872
+ * The input the user types into. Setting it creates the calendar.
1857
1873
  */
1858
1874
  "inputElement": HTMLElement;
1859
1875
  /**
@@ -1865,6 +1881,10 @@ export namespace Components {
1865
1881
  * @default 'en'
1866
1882
  */
1867
1883
  "language": Languages;
1884
+ /**
1885
+ * Shown as selected instead of `value` while set.
1886
+ */
1887
+ "previewValue"?: Date;
1868
1888
  /**
1869
1889
  * Type of date picker.
1870
1890
  * @default 'datetime'
@@ -5006,8 +5026,6 @@ declare global {
5006
5026
  * @exampleComponent limel-example-chart-orientation
5007
5027
  * @exampleComponent limel-example-chart-max-value
5008
5028
  * @exampleComponent limel-example-chart-display-item-percentage
5009
- * @exampleComponent limel-example-chart-value-format
5010
- * @exampleComponent limel-example-chart-value-format-date
5011
5029
  * @exampleComponent limel-example-chart-type-bar
5012
5030
  * @exampleComponent limel-example-chart-type-dot
5013
5031
  * @exampleComponent limel-example-chart-type-area
@@ -5023,9 +5041,13 @@ declare global {
5023
5041
  * @exampleComponent limel-example-chart-multi-axis-area-with-negative-start-values
5024
5042
  * @exampleComponent limel-example-chart-type-scatter-negative
5025
5043
  * @exampleComponent limel-example-chart-axis-increment
5044
+ * @exampleComponent limel-example-chart-value-format
5045
+ * @exampleComponent limel-example-chart-value-format-date
5026
5046
  * @exampleComponent limel-example-chart-clickable-items
5027
5047
  * @exampleComponent limel-example-chart-accessibility
5028
5048
  * @exampleComponent limel-example-chart-axis-labels
5049
+ * @exampleComponent limel-example-chart-series
5050
+ * @exampleComponent limel-example-chart-series-stacked
5029
5051
  * @exampleComponent limel-example-chart-styling
5030
5052
  * @beta
5031
5053
  */
@@ -5379,6 +5401,7 @@ declare global {
5379
5401
  };
5380
5402
  interface HTMLLimelDatePickerElementEventMap {
5381
5403
  "change": Date;
5404
+ "invalidInput": string | null;
5382
5405
  }
5383
5406
  /**
5384
5407
  * @exampleComponent limel-example-date-picker-datetime
@@ -5392,6 +5415,7 @@ declare global {
5392
5415
  * @exampleComponent limel-example-date-picker-programmatic-change
5393
5416
  * @exampleComponent limel-example-date-picker-composite
5394
5417
  * @exampleComponent limel-example-date-picker-custom-formatter
5418
+ * @exampleComponent limel-example-date-picker-typed-input
5395
5419
  */
5396
5420
  interface HTMLLimelDatePickerElement extends Components.LimelDatePicker, HTMLStencilElement {
5397
5421
  addEventListener<K extends keyof HTMLLimelDatePickerElementEventMap>(type: K, listener: (this: HTMLLimelDatePickerElement, ev: LimelDatePickerCustomEvent<HTMLLimelDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -7782,8 +7806,6 @@ declare namespace LocalJSX {
7782
7806
  * @exampleComponent limel-example-chart-orientation
7783
7807
  * @exampleComponent limel-example-chart-max-value
7784
7808
  * @exampleComponent limel-example-chart-display-item-percentage
7785
- * @exampleComponent limel-example-chart-value-format
7786
- * @exampleComponent limel-example-chart-value-format-date
7787
7809
  * @exampleComponent limel-example-chart-type-bar
7788
7810
  * @exampleComponent limel-example-chart-type-dot
7789
7811
  * @exampleComponent limel-example-chart-type-area
@@ -7799,9 +7821,13 @@ declare namespace LocalJSX {
7799
7821
  * @exampleComponent limel-example-chart-multi-axis-area-with-negative-start-values
7800
7822
  * @exampleComponent limel-example-chart-type-scatter-negative
7801
7823
  * @exampleComponent limel-example-chart-axis-increment
7824
+ * @exampleComponent limel-example-chart-value-format
7825
+ * @exampleComponent limel-example-chart-value-format-date
7802
7826
  * @exampleComponent limel-example-chart-clickable-items
7803
7827
  * @exampleComponent limel-example-chart-accessibility
7804
7828
  * @exampleComponent limel-example-chart-axis-labels
7829
+ * @exampleComponent limel-example-chart-series
7830
+ * @exampleComponent limel-example-chart-series-stacked
7805
7831
  * @exampleComponent limel-example-chart-styling
7806
7832
  * @beta
7807
7833
  */
@@ -7815,7 +7841,7 @@ declare namespace LocalJSX {
7815
7841
  */
7816
7842
  "accessibleLabel"?: string;
7817
7843
  /**
7818
- * Helps users of assistive technologies to understand what the values in the chart represent. Defaults to the translation for "value" in the current language.
7844
+ * Helps users of assistive technologies to understand what the values in the chart represent. Defaults to the translation for "value" in the current language. In a chart with series, the series name the columns of values, and this label, when it is set, heads them all.
7819
7845
  */
7820
7846
  "accessibleValuesLabel"?: string;
7821
7847
  /**
@@ -7849,7 +7875,7 @@ declare namespace LocalJSX {
7849
7875
  /**
7850
7876
  * List of items in the chart, each representing a data point.
7851
7877
  */
7852
- "items": ChartItem[];
7878
+ "items"?: ChartItem[];
7853
7879
  /**
7854
7880
  * Defines the language for translations, and for the way values are written, such as `1 234,5` in Swedish.
7855
7881
  * @default 'en'
@@ -7865,7 +7891,7 @@ declare namespace LocalJSX {
7865
7891
  */
7866
7892
  "maxValue"?: number;
7867
7893
  /**
7868
- * Fired when a chart item with `clickable` set to `true` is clicked
7894
+ * Fired when a chart item with `clickable` set to `true` is clicked. The detail is the item itself, the same object as in `items` or in `series`, so a chart with series can tell which series the item belongs to by comparing it with the items of each series.
7869
7895
  */
7870
7896
  "onInteract"?: (event: LimelChartCustomEvent<ChartItem>) => void;
7871
7897
  /**
@@ -7873,6 +7899,15 @@ declare namespace LocalJSX {
7873
7899
  * @default 'landscape'
7874
7900
  */
7875
7901
  "orientation"?: 'landscape' | 'portrait';
7902
+ /**
7903
+ * Groups of items that are drawn side by side, each in a color of its own, such as the revenue and the costs of each month. Items of different series that have the same `text` are drawn together, at the same place on the axis. When there are two series or more, a legend names them. `bar`, `dot`, `line`, and `area` charts draw `series` instead of `items`. Other types draw `items`, or the items of the first series when `items` is not set.
7904
+ */
7905
+ "series"?: ChartSeries[];
7906
+ /**
7907
+ * Stacks the `series` on each other, so that each place on the axis shows their total, such as the revenue of each product, which adds up to the revenue of the month. Positive and negative values are stacked on their own side of zero, and a range adds its extent to the stack. Applies to `bar`, `line`, and `area` charts, but not when `valueFormat` is `date`.
7908
+ * @default false
7909
+ */
7910
+ "stacked"?: boolean;
7876
7911
  /**
7877
7912
  * Defines how items are visualized in the chart. `stacked-bar` is the old name of `proportion-bar`. It still works, but logs a warning.
7878
7913
  * @default 'proportion-bar'
@@ -8652,6 +8687,7 @@ declare namespace LocalJSX {
8652
8687
  * @exampleComponent limel-example-date-picker-programmatic-change
8653
8688
  * @exampleComponent limel-example-date-picker-composite
8654
8689
  * @exampleComponent limel-example-date-picker-custom-formatter
8690
+ * @exampleComponent limel-example-date-picker-typed-input
8655
8691
  */
8656
8692
  interface LimelDatePicker {
8657
8693
  /**
@@ -8664,15 +8700,15 @@ declare namespace LocalJSX {
8664
8700
  */
8665
8701
  "format"?: string;
8666
8702
  /**
8667
- * Custom formatting function. Will be used for date formatting. :::note overrides `format` and `language` :::
8703
+ * Custom formatting function. Will be used for date formatting. :::note overrides `format` and `language`. A date can only be typed into the field when `format` is set as well, to the pattern your `formatter` produces. Typed text is parsed with `format` and `language`, and the field shows the value in `format` while it is being edited. :::
8668
8704
  */
8669
8705
  "formatter"?: (date: Date) => string;
8670
8706
  /**
8671
- * Optional helper text to display below the input field when it has focus. Screen readers read it as the description of the field, so use it for what the user needs to know, such as the format of the value or a requirement.
8707
+ * Optional helper text to display below the input field when it has focus. Screen readers read it as the description of the field, so use it for what the user needs to know, such as the format of the value or a requirement. While the typed text is not a valid date, an error with an example of the expected format is shown instead.
8672
8708
  */
8673
8709
  "helperText"?: string;
8674
8710
  /**
8675
- * Set to `true` to indicate that the current value of the date picker is invalid.
8711
+ * Set to `true` to indicate that the current value of the date picker is invalid. Typed text that is not a valid date is flagged by the component itself, whatever this is set to.
8676
8712
  * @default false
8677
8713
  */
8678
8714
  "invalid"?: boolean;
@@ -8686,9 +8722,13 @@ declare namespace LocalJSX {
8686
8722
  */
8687
8723
  "language"?: Languages;
8688
8724
  /**
8689
- * Emitted when the date picker value is changed.
8725
+ * Emitted when a typed date is committed (on blur or `Enter`), when a date is picked in the calendar, and with `null` when the field is cleared. Typed text that is not a valid date is not emitted, so `value` keeps the last valid date, and `invalidInput` is emitted instead. A two-digit year is read as a full year, so `1/24/20` is 2020.
8690
8726
  */
8691
8727
  "onChange"?: (event: LimelDatePickerCustomEvent<Date>) => void;
8728
+ /**
8729
+ * Emitted with the error message when typed text that is not a valid date is committed, and with `null` when the field no longer holds such text.
8730
+ */
8731
+ "onInvalidInput"?: (event: LimelDatePickerCustomEvent<string | null>) => void;
8692
8732
  /**
8693
8733
  * A hint about what to type, such as an example or the format of the value. It is shown inside the field when the field is focused and empty, but not on iOS and Android, where the native date picker is used. Do not use it instead of a `label`, and do not put anything in it that the user needs to know. It disappears when the user starts to type, and some screen readers do not read it. Use `helperText` for that.
8694
8734
  */
@@ -9214,9 +9254,8 @@ declare namespace LocalJSX {
9214
9254
  * Format to display the selected date in.
9215
9255
  */
9216
9256
  "format"?: string;
9217
- "formatter": (date: Date) => string;
9218
9257
  /**
9219
- * The native input element to use with flatpickr.
9258
+ * The input the user types into. Setting it creates the calendar.
9220
9259
  */
9221
9260
  "inputElement"?: HTMLElement;
9222
9261
  /**
@@ -9232,6 +9271,10 @@ declare namespace LocalJSX {
9232
9271
  * Emitted when the date picker value is changed.
9233
9272
  */
9234
9273
  "onChange"?: (event: LimelFlatpickrAdapterCustomEvent<Date>) => void;
9274
+ /**
9275
+ * Shown as selected instead of `value` while set.
9276
+ */
9277
+ "previewValue"?: Date;
9235
9278
  /**
9236
9279
  * Type of date picker.
9237
9280
  * @default 'datetime'
@@ -12120,6 +12163,7 @@ declare namespace LocalJSX {
12120
12163
  "displayItemText": boolean;
12121
12164
  "displayItemValue": boolean;
12122
12165
  "displayItemPercentage": boolean;
12166
+ "stacked": boolean;
12123
12167
  "type": ChartType;
12124
12168
  "orientation": 'landscape' | 'portrait';
12125
12169
  "maxValue": number;
@@ -13009,8 +13053,6 @@ declare module "@stencil/core" {
13009
13053
  * @exampleComponent limel-example-chart-orientation
13010
13054
  * @exampleComponent limel-example-chart-max-value
13011
13055
  * @exampleComponent limel-example-chart-display-item-percentage
13012
- * @exampleComponent limel-example-chart-value-format
13013
- * @exampleComponent limel-example-chart-value-format-date
13014
13056
  * @exampleComponent limel-example-chart-type-bar
13015
13057
  * @exampleComponent limel-example-chart-type-dot
13016
13058
  * @exampleComponent limel-example-chart-type-area
@@ -13026,9 +13068,13 @@ declare module "@stencil/core" {
13026
13068
  * @exampleComponent limel-example-chart-multi-axis-area-with-negative-start-values
13027
13069
  * @exampleComponent limel-example-chart-type-scatter-negative
13028
13070
  * @exampleComponent limel-example-chart-axis-increment
13071
+ * @exampleComponent limel-example-chart-value-format
13072
+ * @exampleComponent limel-example-chart-value-format-date
13029
13073
  * @exampleComponent limel-example-chart-clickable-items
13030
13074
  * @exampleComponent limel-example-chart-accessibility
13031
13075
  * @exampleComponent limel-example-chart-axis-labels
13076
+ * @exampleComponent limel-example-chart-series
13077
+ * @exampleComponent limel-example-chart-series-stacked
13032
13078
  * @exampleComponent limel-example-chart-styling
13033
13079
  * @beta
13034
13080
  */
@@ -13245,6 +13291,7 @@ declare module "@stencil/core" {
13245
13291
  * @exampleComponent limel-example-date-picker-programmatic-change
13246
13292
  * @exampleComponent limel-example-date-picker-composite
13247
13293
  * @exampleComponent limel-example-date-picker-custom-formatter
13294
+ * @exampleComponent limel-example-date-picker-typed-input
13248
13295
  */
13249
13296
  "limel-date-picker": LocalJSX.IntrinsicElements["limel-date-picker"] & JSXBase.HTMLAttributes<HTMLLimelDatePickerElement>;
13250
13297
  /**
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
@@ -27,6 +27,8 @@ declare const _default: {
27
27
  'date-picker.month.heading': string;
28
28
  'date-picker.quarter.heading': string;
29
29
  'date-picker.year.heading': string;
30
+ 'date-picker.invalid-format': string;
31
+ 'date-picker.invalid-time-format': string;
30
32
  'drag-handle.drag-handle': string;
31
33
  'drag-handle.drag-to-reorder': string;
32
34
  'resize-handle.resize': string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "40.23.0",
3
+ "version": "40.25.0",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -55,7 +55,7 @@
55
55
  "@commitlint/cli": "^21.2.4",
56
56
  "@commitlint/config-conventional": "^21.2.4",
57
57
  "@limetech/eslint-config": "^5.0.3",
58
- "@microsoft/api-extractor": "^7.60.0",
58
+ "@microsoft/api-extractor": "^7.60.1",
59
59
  "@playwright/test": "1.64.1",
60
60
  "@popperjs/core": "^2.11.8",
61
61
  "@rjsf/core": "^6.11.0",
@@ -80,7 +80,7 @@
80
80
  "eslint": "^10.14.0",
81
81
  "flatpickr": "^4.6.13",
82
82
  "glob": "^14.0.3",
83
- "globals": "^17.13.0",
83
+ "globals": "^17.14.0",
84
84
  "hast-util-from-dom": "^5.0.1",
85
85
  "hast-util-to-mdast": "^10.1.2",
86
86
  "html-escaper": "^3.0.3",
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * Reduce a language to the primary subtag that our language maps are keyed by.
5
- *
6
- * A `language` prop is typed, but a custom element takes whatever string an
7
- * attribute carries — commonly a full BCP 47 tag such as `nb-NO`, since a host
8
- * application often derives the language from `document.documentElement.lang`.
9
- * Anything that is not a string must resolve rather than throw, so that an
10
- * unexpected value can never break a component's render.
11
- *
12
- * Examples:
13
- * - "nb" => "nb"
14
- * - "nb-NO" => "nb"
15
- * - "SV-SE" => "sv"
16
- * - undefined => ""
17
- *
18
- * @param language - the language to reduce
19
- * @returns the lower-cased primary subtag, or an empty string
20
- */
21
- function getPrimarySubtag(language) {
22
- if (typeof language !== 'string') {
23
- return '';
24
- }
25
- return language.toLowerCase().split('-', 1)[0];
26
- }
27
- /**
28
- * The locale that `Intl` writes numbers and dates in for `language`, or
29
- * `undefined` when it cannot write in that language. `Intl` throws on a
30
- * tag it cannot read, such as `sv_SE`, and quietly uses the viewer's own
31
- * locale for one it does not know, such as `zz`. A component that writes in
32
- * its `language` while it renders checks it here, and falls back to English
33
- * when this gives `undefined`.
34
- *
35
- * Examples:
36
- * - "sv" => "sv"
37
- * - "SV-se" => "sv-SE"
38
- * - "sv_SE" => undefined
39
- * - "zz" => undefined
40
- * - undefined => undefined
41
- *
42
- * @param language - the language to write in
43
- * @returns the locale, or `undefined`
44
- */
45
- function getSupportedLocale(language) {
46
- if (typeof language !== 'string') {
47
- return;
48
- }
49
- try {
50
- return Intl.NumberFormat.supportedLocalesOf(language)[0];
51
- }
52
- catch (_a) {
53
- return;
54
- }
55
- }
56
-
57
- exports.getPrimarySubtag = getPrimarySubtag;
58
- exports.getSupportedLocale = getSupportedLocale;
@@ -1,55 +0,0 @@
1
- /**
2
- * Reduce a language to the primary subtag that our language maps are keyed by.
3
- *
4
- * A `language` prop is typed, but a custom element takes whatever string an
5
- * attribute carries — commonly a full BCP 47 tag such as `nb-NO`, since a host
6
- * application often derives the language from `document.documentElement.lang`.
7
- * Anything that is not a string must resolve rather than throw, so that an
8
- * unexpected value can never break a component's render.
9
- *
10
- * Examples:
11
- * - "nb" => "nb"
12
- * - "nb-NO" => "nb"
13
- * - "SV-SE" => "sv"
14
- * - undefined => ""
15
- *
16
- * @param language - the language to reduce
17
- * @returns the lower-cased primary subtag, or an empty string
18
- */
19
- function getPrimarySubtag(language) {
20
- if (typeof language !== 'string') {
21
- return '';
22
- }
23
- return language.toLowerCase().split('-', 1)[0];
24
- }
25
- /**
26
- * The locale that `Intl` writes numbers and dates in for `language`, or
27
- * `undefined` when it cannot write in that language. `Intl` throws on a
28
- * tag it cannot read, such as `sv_SE`, and quietly uses the viewer's own
29
- * locale for one it does not know, such as `zz`. A component that writes in
30
- * its `language` while it renders checks it here, and falls back to English
31
- * when this gives `undefined`.
32
- *
33
- * Examples:
34
- * - "sv" => "sv"
35
- * - "SV-se" => "sv-SE"
36
- * - "sv_SE" => undefined
37
- * - "zz" => undefined
38
- * - undefined => undefined
39
- *
40
- * @param language - the language to write in
41
- * @returns the locale, or `undefined`
42
- */
43
- function getSupportedLocale(language) {
44
- if (typeof language !== 'string') {
45
- return;
46
- }
47
- try {
48
- return Intl.NumberFormat.supportedLocalesOf(language)[0];
49
- }
50
- catch (_a) {
51
- return;
52
- }
53
- }
54
-
55
- export { getPrimarySubtag as a, getSupportedLocale as g };