@caspeco/casper-ui-library 9.12.0 → 10.0.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 (779) hide show
  1. package/dist/_virtual/compiler-runtime.js +5 -0
  2. package/dist/_virtual/compiler-runtime2.js +4 -0
  3. package/dist/_virtual/react-compiler-runtime.development.js +4 -0
  4. package/dist/_virtual/react-compiler-runtime.production.js +4 -0
  5. package/dist/components/accordion/accordion-item.d.ts +3 -2
  6. package/dist/components/accordion/accordion-item.d.ts.map +1 -1
  7. package/dist/components/accordion/accordion-item.js +36 -19
  8. package/dist/components/accordion/accordion-panel.d.ts +1 -1
  9. package/dist/components/accordion/accordion-panel.d.ts.map +1 -1
  10. package/dist/components/accordion/accordion-panel.js +13 -5
  11. package/dist/components/accordion/accordion.composition.d.ts +3 -3
  12. package/dist/components/accordion/accordion.composition.d.ts.map +1 -1
  13. package/dist/components/accordion/accordion.d.ts +1 -1
  14. package/dist/components/accordion/accordion.d.ts.map +1 -1
  15. package/dist/components/accordion/accordion.js +18 -6
  16. package/dist/components/alert/alert.composition.d.ts +5 -5
  17. package/dist/components/alert/alert.composition.d.ts.map +1 -1
  18. package/dist/components/alert/alert.d.ts +1 -1
  19. package/dist/components/alert/alert.d.ts.map +1 -1
  20. package/dist/components/alert/alert.js +58 -74
  21. package/dist/components/alert/helper.d.ts +1 -1
  22. package/dist/components/alert/helper.d.ts.map +1 -1
  23. package/dist/components/alert/helper.js +10 -15
  24. package/dist/components/badge/badge-recipe.js +13 -19
  25. package/dist/components/badge/badge.composition.d.ts +3 -3
  26. package/dist/components/badge/badge.composition.d.ts.map +1 -1
  27. package/dist/components/badge/badge.js +70 -31
  28. package/dist/components/box/box.composition.d.ts +6 -6
  29. package/dist/components/box/box.composition.d.ts.map +1 -1
  30. package/dist/components/box/box.js +10 -5
  31. package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
  32. package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  33. package/dist/components/breadcrumbs/breadcrumb-item.js +16 -5
  34. package/dist/components/breadcrumbs/breadcrumb-link.js +19 -17
  35. package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts +2 -2
  36. package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts.map +1 -1
  37. package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  38. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  39. package/dist/components/breadcrumbs/breadcrumbs.js +82 -80
  40. package/dist/components/button/button-recipe.js +6 -2
  41. package/dist/components/button/button.composition.d.ts +5 -5
  42. package/dist/components/button/button.composition.d.ts.map +1 -1
  43. package/dist/components/button/button.js +38 -42
  44. package/dist/components/checkbox/checkbox-icon.d.ts +2 -1
  45. package/dist/components/checkbox/checkbox-icon.d.ts.map +1 -1
  46. package/dist/components/checkbox/checkbox.composition.d.ts +3 -3
  47. package/dist/components/checkbox/checkbox.composition.d.ts.map +1 -1
  48. package/dist/components/checkbox/checkbox.js +34 -53
  49. package/dist/components/checkbox/icons/check.js +1 -6
  50. package/dist/components/checkbox/icons/minus.js +1 -6
  51. package/dist/components/checkbox/icons/plus.js +1 -6
  52. package/dist/components/checkbox-group/checkbox-group.composition.d.ts +2 -2
  53. package/dist/components/checkbox-group/checkbox-group.composition.d.ts.map +1 -1
  54. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
  55. package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
  56. package/dist/components/checkbox-group/checkbox-group.js +13 -4
  57. package/dist/components/collapsible/collapsible.composition.d.ts +3 -3
  58. package/dist/components/collapsible/collapsible.composition.d.ts.map +1 -1
  59. package/dist/components/collapsible/collapsible.d.ts +1 -1
  60. package/dist/components/collapsible/collapsible.d.ts.map +1 -1
  61. package/dist/components/collapsible/collapsible.js +93 -108
  62. package/dist/components/combobox/combobox-button.d.ts +1 -1
  63. package/dist/components/combobox/combobox-button.d.ts.map +1 -1
  64. package/dist/components/combobox/combobox-button.js +131 -174
  65. package/dist/components/combobox/combobox-item.d.ts +1 -1
  66. package/dist/components/combobox/combobox-item.d.ts.map +1 -1
  67. package/dist/components/combobox/combobox-item.js +18 -11
  68. package/dist/components/combobox/combobox-menu.d.ts +2 -2
  69. package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
  70. package/dist/components/combobox/combobox-menu.js +171 -270
  71. package/dist/components/combobox/combobox.composition.d.ts +9 -9
  72. package/dist/components/combobox/combobox.composition.d.ts.map +1 -1
  73. package/dist/components/combobox/combobox.d.ts +1 -1
  74. package/dist/components/combobox/combobox.d.ts.map +1 -1
  75. package/dist/components/combobox/combobox.js +286 -209
  76. package/dist/components/combobox/types.d.ts +7 -7
  77. package/dist/components/combobox/types.d.ts.map +1 -1
  78. package/dist/components/date-picker/base-date-picker.d.ts +2 -1
  79. package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
  80. package/dist/components/date-picker/base-date-picker.js +242 -240
  81. package/dist/components/date-picker/date-multi-picker.d.ts +8 -0
  82. package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -0
  83. package/dist/components/date-picker/date-multi-picker.js +30 -0
  84. package/dist/components/date-picker/date-picker-date-cell.d.ts +1 -1
  85. package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
  86. package/dist/components/date-picker/date-picker-date-cell.js +111 -117
  87. package/dist/components/date-picker/date-picker-header.d.ts +1 -1
  88. package/dist/components/date-picker/date-picker-header.d.ts.map +1 -1
  89. package/dist/components/date-picker/date-picker-header.js +153 -120
  90. package/dist/components/date-picker/date-picker-week-cell.d.ts +1 -1
  91. package/dist/components/date-picker/date-picker-week-cell.d.ts.map +1 -1
  92. package/dist/components/date-picker/date-picker-week-cell.js +41 -36
  93. package/dist/components/date-picker/date-picker.composition.d.ts +7 -4
  94. package/dist/components/date-picker/date-picker.composition.d.ts.map +1 -1
  95. package/dist/components/date-picker/date-picker.d.ts +1 -1
  96. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  97. package/dist/components/date-picker/date-picker.js +24 -45
  98. package/dist/components/date-picker/date-range-picker.d.ts +1 -1
  99. package/dist/components/date-picker/date-range-picker.d.ts.map +1 -1
  100. package/dist/components/date-picker/date-range-picker.js +23 -41
  101. package/dist/components/date-picker/date-week-picker.d.ts +1 -1
  102. package/dist/components/date-picker/date-week-picker.d.ts.map +1 -1
  103. package/dist/components/date-picker/date-week-picker.js +18 -36
  104. package/dist/components/date-picker/helper.js +1 -1
  105. package/dist/components/date-picker/index.d.ts +2 -1
  106. package/dist/components/date-picker/index.d.ts.map +1 -1
  107. package/dist/components/date-picker/types.d.ts +16 -0
  108. package/dist/components/date-picker/types.d.ts.map +1 -1
  109. package/dist/components/divider/divider.composition.d.ts +2 -2
  110. package/dist/components/divider/divider.composition.d.ts.map +1 -1
  111. package/dist/components/divider/divider.d.ts +1 -1
  112. package/dist/components/divider/divider.d.ts.map +1 -1
  113. package/dist/components/divider/divider.js +16 -19
  114. package/dist/components/drawer/drawer-recipe.js +25 -5
  115. package/dist/components/drawer/drawer.composition.d.ts +5 -5
  116. package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
  117. package/dist/components/drawer/drawer.d.ts +1 -1
  118. package/dist/components/drawer/drawer.d.ts.map +1 -1
  119. package/dist/components/drawer/drawer.js +38 -36
  120. package/dist/components/drawer/inline-drawer.d.ts +1 -1
  121. package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
  122. package/dist/components/drawer/inline-drawer.js +62 -57
  123. package/dist/components/drawer/use-drawer-key-down.js +15 -8
  124. package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
  125. package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
  126. package/dist/components/fieldset/fieldset-error-text.js +13 -5
  127. package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
  128. package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
  129. package/dist/components/fieldset/fieldset-helper-text.js +13 -5
  130. package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
  131. package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
  132. package/dist/components/fieldset/fieldset-legend.js +13 -5
  133. package/dist/components/fieldset/fieldset.d.ts +1 -1
  134. package/dist/components/fieldset/fieldset.d.ts.map +1 -1
  135. package/dist/components/fieldset/fieldset.js +15 -5
  136. package/dist/components/flex/flex.composition.d.ts +2 -2
  137. package/dist/components/flex/flex.composition.d.ts.map +1 -1
  138. package/dist/components/flex/flex.d.ts +1 -1
  139. package/dist/components/flex/flex.d.ts.map +1 -1
  140. package/dist/components/flex/flex.js +13 -5
  141. package/dist/components/form-control/form-control.composition.d.ts +6 -6
  142. package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
  143. package/dist/components/form-control/form-control.d.ts +1 -1
  144. package/dist/components/form-control/form-control.d.ts.map +1 -1
  145. package/dist/components/form-control/form-control.js +17 -22
  146. package/dist/components/form-control/form-error-message.d.ts +1 -1
  147. package/dist/components/form-control/form-error-message.d.ts.map +1 -1
  148. package/dist/components/form-control/form-error-message.js +13 -5
  149. package/dist/components/form-control/form-helper-text.d.ts +1 -1
  150. package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
  151. package/dist/components/form-control/form-helper-text.js +13 -5
  152. package/dist/components/form-control/form-label.d.ts +1 -1
  153. package/dist/components/form-control/form-label.d.ts.map +1 -1
  154. package/dist/components/form-control/form-label.js +24 -11
  155. package/dist/components/grid/grid-item.d.ts +1 -1
  156. package/dist/components/grid/grid-item.d.ts.map +1 -1
  157. package/dist/components/grid/grid-item.js +12 -4
  158. package/dist/components/grid/grid.composition.d.ts +2 -2
  159. package/dist/components/grid/grid.composition.d.ts.map +1 -1
  160. package/dist/components/grid/grid.d.ts +1 -1
  161. package/dist/components/grid/grid.d.ts.map +1 -1
  162. package/dist/components/grid/grid.js +13 -5
  163. package/dist/components/heading/heading.composition.d.ts +3 -3
  164. package/dist/components/heading/heading.composition.d.ts.map +1 -1
  165. package/dist/components/heading/heading.d.ts +1 -1
  166. package/dist/components/heading/heading.d.ts.map +1 -1
  167. package/dist/components/heading/heading.js +21 -29
  168. package/dist/components/highlight/highlight.composition.d.ts +2 -2
  169. package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
  170. package/dist/components/highlight/highlight.d.ts +1 -1
  171. package/dist/components/highlight/highlight.d.ts.map +1 -1
  172. package/dist/components/highlight/highlight.js +19 -15
  173. package/dist/components/icon/create-icon.js +24 -15
  174. package/dist/components/icon/icon.composition.d.ts +1 -1
  175. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  176. package/dist/components/icon/icons/absence-icon.js +1 -4
  177. package/dist/components/icon/icons/accessibility-icon.js +1 -4
  178. package/dist/components/icon/icons/add-absence-icon.js +1 -4
  179. package/dist/components/icon/icons/add-emoji-icon.js +1 -4
  180. package/dist/components/icon/icons/add-icon.js +1 -4
  181. package/dist/components/icon/icons/apple-icon.js +1 -4
  182. package/dist/components/icon/icons/apps-icon.js +1 -4
  183. package/dist/components/icon/icons/archive-icon.js +4 -5
  184. package/dist/components/icon/icons/area-icon.js +1 -4
  185. package/dist/components/icon/icons/at-icon.js +1 -4
  186. package/dist/components/icon/icons/attachment-icon.js +1 -4
  187. package/dist/components/icon/icons/baby-icon.js +1 -4
  188. package/dist/components/icon/icons/back-icon.js +1 -4
  189. package/dist/components/icon/icons/backspace-icon.js +1 -4
  190. package/dist/components/icon/icons/bank-icon.js +1 -4
  191. package/dist/components/icon/icons/bank-id-icon.js +1 -4
  192. package/dist/components/icon/icons/barcode-icon.js +1 -4
  193. package/dist/components/icon/icons/bell-icon.js +1 -4
  194. package/dist/components/icon/icons/bolt-icon.js +4 -5
  195. package/dist/components/icon/icons/calendar-icon.js +1 -4
  196. package/dist/components/icon/icons/camera-icon.js +1 -4
  197. package/dist/components/icon/icons/cancel-icon.js +1 -4
  198. package/dist/components/icon/icons/card-icon.js +1 -4
  199. package/dist/components/icon/icons/cart-icon.js +1 -4
  200. package/dist/components/icon/icons/caspeco-icon.js +4 -5
  201. package/dist/components/icon/icons/channels-icon.js +1 -4
  202. package/dist/components/icon/icons/chart-icon.js +1 -4
  203. package/dist/components/icon/icons/chart-line-icon.js +1 -4
  204. package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
  205. package/dist/components/icon/icons/chart-pie-icon.js +1 -4
  206. package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
  207. package/dist/components/icon/icons/check-icon.js +1 -4
  208. package/dist/components/icon/icons/checkbox-icon.js +1 -4
  209. package/dist/components/icon/icons/chevron-left-icon.js +1 -4
  210. package/dist/components/icon/icons/chevron-right-icon.js +1 -4
  211. package/dist/components/icon/icons/child-icon.js +1 -4
  212. package/dist/components/icon/icons/circle-info-icon.js +1 -4
  213. package/dist/components/icon/icons/circle-parking-icon.js +1 -4
  214. package/dist/components/icon/icons/circle-question-icon.js +1 -4
  215. package/dist/components/icon/icons/circle-select-icon.js +1 -4
  216. package/dist/components/icon/icons/circle-success-icon.js +1 -4
  217. package/dist/components/icon/icons/circle-user-icon.js +1 -4
  218. package/dist/components/icon/icons/clear-icon.js +1 -4
  219. package/dist/components/icon/icons/close-icon.js +1 -4
  220. package/dist/components/icon/icons/closed-icon.js +1 -4
  221. package/dist/components/icon/icons/collapse-icon.js +1 -4
  222. package/dist/components/icon/icons/color-icon.js +1 -4
  223. package/dist/components/icon/icons/columns-icon.js +1 -4
  224. package/dist/components/icon/icons/comment-add-icon.js +1 -4
  225. package/dist/components/icon/icons/comment-icon.js +1 -4
  226. package/dist/components/icon/icons/cookies-icon.js +1 -4
  227. package/dist/components/icon/icons/copy-icon.js +1 -4
  228. package/dist/components/icon/icons/date-icon.js +1 -4
  229. package/dist/components/icon/icons/decrease-icon.js +1 -4
  230. package/dist/components/icon/icons/delete-icon.js +1 -4
  231. package/dist/components/icon/icons/deliverect-icon.js +1 -4
  232. package/dist/components/icon/icons/delivery-icon.js +1 -4
  233. package/dist/components/icon/icons/description-icon.js +1 -4
  234. package/dist/components/icon/icons/discount-icon.js +1 -4
  235. package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
  236. package/dist/components/icon/icons/door-closed-icon.js +1 -4
  237. package/dist/components/icon/icons/door-open-icon.js +1 -4
  238. package/dist/components/icon/icons/down-icon.js +1 -4
  239. package/dist/components/icon/icons/eat-in-icon.js +1 -4
  240. package/dist/components/icon/icons/edit-icon.js +1 -4
  241. package/dist/components/icon/icons/email-icon.js +1 -4
  242. package/dist/components/icon/icons/error-icon.js +1 -4
  243. package/dist/components/icon/icons/expand-icon.js +1 -4
  244. package/dist/components/icon/icons/export-icon.js +1 -4
  245. package/dist/components/icon/icons/extract-icon.js +1 -4
  246. package/dist/components/icon/icons/facebook-icon.js +1 -4
  247. package/dist/components/icon/icons/failed-print-icon.js +1 -4
  248. package/dist/components/icon/icons/file-icon.js +1 -4
  249. package/dist/components/icon/icons/filter-icon.js +1 -4
  250. package/dist/components/icon/icons/folder-icon.js +1 -4
  251. package/dist/components/icon/icons/foodora-icon.js +1 -4
  252. package/dist/components/icon/icons/forward-icon.js +1 -4
  253. package/dist/components/icon/icons/glovo-icon.js +4 -5
  254. package/dist/components/icon/icons/goal-icon.js +1 -4
  255. package/dist/components/icon/icons/google-icon.js +1 -4
  256. package/dist/components/icon/icons/grip-more-icon.js +1 -4
  257. package/dist/components/icon/icons/hash-icon.js +1 -4
  258. package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
  259. package/dist/components/icon/icons/hide-icon.js +1 -4
  260. package/dist/components/icon/icons/history-icon.js +1 -4
  261. package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
  262. package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
  263. package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
  264. package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
  265. package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
  266. package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
  267. package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
  268. package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
  269. package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
  270. package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
  271. package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
  272. package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
  273. package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
  274. package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
  275. package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
  276. package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
  277. package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
  278. package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
  279. package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
  280. package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
  281. package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
  282. package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
  283. package/dist/components/icon/icons/image-icon.js +1 -4
  284. package/dist/components/icon/icons/import-icon.js +1 -4
  285. package/dist/components/icon/icons/inbox-icon.js +1 -4
  286. package/dist/components/icon/icons/increase-icon.js +1 -4
  287. package/dist/components/icon/icons/indeterminate-icon.js +1 -4
  288. package/dist/components/icon/icons/info-icon.js +1 -4
  289. package/dist/components/icon/icons/inheritance-icon.js +1 -4
  290. package/dist/components/icon/icons/just-eat-icon.js +1 -4
  291. package/dist/components/icon/icons/karma-icon.js +1 -4
  292. package/dist/components/icon/icons/key-command-icon.js +1 -4
  293. package/dist/components/icon/icons/key-enter-icon.js +1 -4
  294. package/dist/components/icon/icons/key-icon.js +1 -4
  295. package/dist/components/icon/icons/key-option-icon.js +1 -4
  296. package/dist/components/icon/icons/language-icon.js +1 -4
  297. package/dist/components/icon/icons/link-broken-icon.js +1 -4
  298. package/dist/components/icon/icons/link-external-icon.js +1 -4
  299. package/dist/components/icon/icons/link-icon.js +1 -4
  300. package/dist/components/icon/icons/list-ol-icon.js +1 -4
  301. package/dist/components/icon/icons/list-ul-icon.js +1 -4
  302. package/dist/components/icon/icons/loading-icon.js +1 -4
  303. package/dist/components/icon/icons/location-icon.js +1 -4
  304. package/dist/components/icon/icons/lock-icon.js +1 -4
  305. package/dist/components/icon/icons/log-in-icon.js +1 -4
  306. package/dist/components/icon/icons/log-out-icon.js +1 -4
  307. package/dist/components/icon/icons/map-icon.js +1 -4
  308. package/dist/components/icon/icons/maximize-icon.js +1 -4
  309. package/dist/components/icon/icons/members-icon.js +1 -4
  310. package/dist/components/icon/icons/menu-hide-icon.js +1 -4
  311. package/dist/components/icon/icons/menu-icon.js +1 -4
  312. package/dist/components/icon/icons/menu-show-icon.js +1 -4
  313. package/dist/components/icon/icons/message-add-icon.js +1 -4
  314. package/dist/components/icon/icons/message-icon.js +1 -4
  315. package/dist/components/icon/icons/message-lines-icon.js +1 -4
  316. package/dist/components/icon/icons/minimize-icon.js +1 -4
  317. package/dist/components/icon/icons/minimize-window-icon.js +1 -4
  318. package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
  319. package/dist/components/icon/icons/module-accounting-icon.js +1 -4
  320. package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
  321. package/dist/components/icon/icons/module-app-icon.js +1 -4
  322. package/dist/components/icon/icons/module-articles-icon.js +1 -4
  323. package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
  324. package/dist/components/icon/icons/module-booking-icon.js +1 -4
  325. package/dist/components/icon/icons/module-cai-icon.js +1 -4
  326. package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
  327. package/dist/components/icon/icons/module-cashier-icon.js +1 -4
  328. package/dist/components/icon/icons/module-communication-icon.js +1 -4
  329. package/dist/components/icon/icons/module-copilot-icon.js +1 -4
  330. package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
  331. package/dist/components/icon/icons/module-document-icon.js +1 -4
  332. package/dist/components/icon/icons/module-employees-icon.js +1 -4
  333. package/dist/components/icon/icons/module-feed-icon.js +1 -4
  334. package/dist/components/icon/icons/module-history-icon.js +1 -4
  335. package/dist/components/icon/icons/module-home-icon.js +1 -4
  336. package/dist/components/icon/icons/module-insights-icon.js +1 -4
  337. package/dist/components/icon/icons/module-kds-icon.js +1 -4
  338. package/dist/components/icon/icons/module-members-icon.js +1 -4
  339. package/dist/components/icon/icons/module-menus-icon.js +1 -4
  340. package/dist/components/icon/icons/module-my-city-icon.js +1 -4
  341. package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
  342. package/dist/components/icon/icons/module-online-order-icon.js +1 -4
  343. package/dist/components/icon/icons/module-organisation-icon.js +1 -4
  344. package/dist/components/icon/icons/module-pos-icon.js +1 -4
  345. package/dist/components/icon/icons/module-pulse-icon.js +1 -4
  346. package/dist/components/icon/icons/module-result-icon.js +1 -4
  347. package/dist/components/icon/icons/module-salary-icon.js +1 -4
  348. package/dist/components/icon/icons/module-schedule-icon.js +1 -4
  349. package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
  350. package/dist/components/icon/icons/module-settings-icon.js +1 -4
  351. package/dist/components/icon/icons/module-support-icon.js +1 -4
  352. package/dist/components/icon/icons/module-survey-icon.js +1 -4
  353. package/dist/components/icon/icons/module-table-map-icon.js +4 -5
  354. package/dist/components/icon/icons/module-tablet-icon.js +1 -4
  355. package/dist/components/icon/icons/module-time-icon.js +1 -4
  356. package/dist/components/icon/icons/module-timeline-icon.js +1 -4
  357. package/dist/components/icon/icons/module-tip-icon.js +1 -4
  358. package/dist/components/icon/icons/module-to-do-icon.js +1 -4
  359. package/dist/components/icon/icons/module-tools-icon.js +1 -4
  360. package/dist/components/icon/icons/module-top-list-icon.js +1 -4
  361. package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
  362. package/dist/components/icon/icons/module-web-icon.js +1 -4
  363. package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
  364. package/dist/components/icon/icons/more-vertical-icon.js +1 -4
  365. package/dist/components/icon/icons/nfc-icon.js +1 -4
  366. package/dist/components/icon/icons/no-cart-icon.js +1 -4
  367. package/dist/components/icon/icons/note-icon.js +1 -4
  368. package/dist/components/icon/icons/number-icon.js +4 -5
  369. package/dist/components/icon/icons/open-modal-icon.js +1 -4
  370. package/dist/components/icon/icons/parking-icon.js +1 -4
  371. package/dist/components/icon/icons/party-horn-icon.js +1 -4
  372. package/dist/components/icon/icons/pause-icon.js +1 -4
  373. package/dist/components/icon/icons/payment-card-icon.js +1 -4
  374. package/dist/components/icon/icons/payment-cash-icon.js +1 -4
  375. package/dist/components/icon/icons/payment-generic-icon.js +1 -4
  376. package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
  377. package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
  378. package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
  379. package/dist/components/icon/icons/percentage-icon.js +1 -4
  380. package/dist/components/icon/icons/phone-icon.js +1 -4
  381. package/dist/components/icon/icons/pin-icon.js +1 -4
  382. package/dist/components/icon/icons/pin-map-icon.js +1 -4
  383. package/dist/components/icon/icons/play-icon.js +1 -4
  384. package/dist/components/icon/icons/preview-icon.js +1 -4
  385. package/dist/components/icon/icons/print-icon.js +1 -4
  386. package/dist/components/icon/icons/privacy-icon.js +1 -4
  387. package/dist/components/icon/icons/product-admin-icon.js +1 -4
  388. package/dist/components/icon/icons/product-analytics-icon.js +1 -4
  389. package/dist/components/icon/icons/product-booking-icon.js +1 -4
  390. package/dist/components/icon/icons/product-checkout-icon.js +1 -4
  391. package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
  392. package/dist/components/icon/icons/product-staff-icon.js +1 -4
  393. package/dist/components/icon/icons/puck-icon.js +1 -4
  394. package/dist/components/icon/icons/qr-code-icon.js +1 -4
  395. package/dist/components/icon/icons/question-icon.js +1 -4
  396. package/dist/components/icon/icons/radio-icon.js +1 -4
  397. package/dist/components/icon/icons/receipt-icon.js +1 -4
  398. package/dist/components/icon/icons/redo-icon.js +1 -4
  399. package/dist/components/icon/icons/refund-icon.js +1 -4
  400. package/dist/components/icon/icons/remove-icon.js +1 -4
  401. package/dist/components/icon/icons/replace-icon.js +1 -4
  402. package/dist/components/icon/icons/schedule-icon.js +1 -4
  403. package/dist/components/icon/icons/search-icon.js +1 -4
  404. package/dist/components/icon/icons/select-icon.js +1 -4
  405. package/dist/components/icon/icons/send-icon.js +1 -4
  406. package/dist/components/icon/icons/share-icon.js +1 -4
  407. package/dist/components/icon/icons/show-icon.js +1 -4
  408. package/dist/components/icon/icons/shuffle-icon.js +1 -4
  409. package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
  410. package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
  411. package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
  412. package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
  413. package/dist/components/icon/icons/sliders-icon.js +1 -4
  414. package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
  415. package/dist/components/icon/icons/smile-icon.js +1 -4
  416. package/dist/components/icon/icons/sort-asc-icon.js +1 -4
  417. package/dist/components/icon/icons/sort-desc-icon.js +1 -4
  418. package/dist/components/icon/icons/split-icon.js +1 -4
  419. package/dist/components/icon/icons/status-icon.js +1 -4
  420. package/dist/components/icon/icons/stop-icon.js +1 -4
  421. package/dist/components/icon/icons/submenu-icon.js +1 -4
  422. package/dist/components/icon/icons/success-icon.js +1 -4
  423. package/dist/components/icon/icons/swap-icon.js +1 -4
  424. package/dist/components/icon/icons/swatch-icon.js +1 -4
  425. package/dist/components/icon/icons/sweat-icon.js +1 -4
  426. package/dist/components/icon/icons/table-icon.js +1 -4
  427. package/dist/components/icon/icons/table-map-icon.js +1 -4
  428. package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
  429. package/dist/components/icon/icons/take-away-icon.js +1 -4
  430. package/dist/components/icon/icons/talk-icon.js +1 -4
  431. package/dist/components/icon/icons/thumbtack-icon.js +1 -4
  432. package/dist/components/icon/icons/time-icon.js +1 -4
  433. package/dist/components/icon/icons/timeline-icon.js +1 -4
  434. package/dist/components/icon/icons/tip-icon.js +1 -4
  435. package/dist/components/icon/icons/title-icon.js +1 -4
  436. package/dist/components/icon/icons/translate-icon.js +1 -4
  437. package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
  438. package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
  439. package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
  440. package/dist/components/icon/icons/trend-down-icon.js +1 -4
  441. package/dist/components/icon/icons/trend-up-icon.js +1 -4
  442. package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
  443. package/dist/components/icon/icons/trivec-icon.js +4 -5
  444. package/dist/components/icon/icons/uber-eats-icon.js +1 -4
  445. package/dist/components/icon/icons/undo-icon.js +1 -4
  446. package/dist/components/icon/icons/unlock-icon.js +1 -4
  447. package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
  448. package/dist/components/icon/icons/up-icon.js +1 -4
  449. package/dist/components/icon/icons/user-group-icon.js +1 -4
  450. package/dist/components/icon/icons/user-icon.js +1 -4
  451. package/dist/components/icon/icons/user-permissions-icon.js +1 -4
  452. package/dist/components/icon/icons/user-wait-icon.js +1 -4
  453. package/dist/components/icon/icons/users-icon.js +1 -4
  454. package/dist/components/icon/icons/version-control-icon.js +1 -4
  455. package/dist/components/icon/icons/volume-high-icon.js +1 -4
  456. package/dist/components/icon/icons/volume-icon.js +1 -4
  457. package/dist/components/icon/icons/volume-low-icon.js +1 -4
  458. package/dist/components/icon/icons/volume-off-icon.js +1 -4
  459. package/dist/components/icon/icons/warning-icon.js +1 -4
  460. package/dist/components/icon/icons/waste-icon.js +1 -4
  461. package/dist/components/icon/icons/wifi-icon.js +1 -4
  462. package/dist/components/icon/icons/wifi-off-icon.js +1 -4
  463. package/dist/components/icon/icons/wolt-icon.js +1 -4
  464. package/dist/components/icon/icons/wrap-content-icon.js +1 -4
  465. package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
  466. package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
  467. package/dist/components/icon-button/icon-button.js +38 -32
  468. package/dist/components/image/image.composition.d.ts +1 -1
  469. package/dist/components/image/image.composition.d.ts.map +1 -1
  470. package/dist/components/image/image.d.ts +1 -1
  471. package/dist/components/image/image.d.ts.map +1 -1
  472. package/dist/components/image/image.js +12 -5
  473. package/dist/components/image-upload/image-cropper.d.ts +2 -1
  474. package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
  475. package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
  476. package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
  477. package/dist/components/image-upload/image-cropper.helper.js +38 -40
  478. package/dist/components/image-upload/image-cropper.js +63 -73
  479. package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
  480. package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
  481. package/dist/components/image-upload/image-upload-dropzone.js +102 -72
  482. package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
  483. package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
  484. package/dist/components/image-upload/image-upload-icons.js +19 -26
  485. package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
  486. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  487. package/dist/components/image-upload/image-upload-modal.js +54 -95
  488. package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
  489. package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
  490. package/dist/components/image-upload/image-upload.d.ts +1 -1
  491. package/dist/components/image-upload/image-upload.d.ts.map +1 -1
  492. package/dist/components/image-upload/image-upload.js +69 -78
  493. package/dist/components/input/input.composition.d.ts +9 -9
  494. package/dist/components/input/input.composition.d.ts.map +1 -1
  495. package/dist/components/input/input.d.ts +1 -1
  496. package/dist/components/input/input.js +54 -58
  497. package/dist/components/input/types.d.ts +5 -4
  498. package/dist/components/input/types.d.ts.map +1 -1
  499. package/dist/components/link/link.composition.d.ts +2 -2
  500. package/dist/components/link/link.composition.d.ts.map +1 -1
  501. package/dist/components/link/link.d.ts +1 -1
  502. package/dist/components/link/link.d.ts.map +1 -1
  503. package/dist/components/link/link.js +11 -3
  504. package/dist/components/list/list-item.d.ts +1 -1
  505. package/dist/components/list/list-item.d.ts.map +1 -1
  506. package/dist/components/list/list-item.js +13 -5
  507. package/dist/components/list/list.composition.d.ts +1 -1
  508. package/dist/components/list/list.composition.d.ts.map +1 -1
  509. package/dist/components/list/list.d.ts +1 -1
  510. package/dist/components/list/list.d.ts.map +1 -1
  511. package/dist/components/list/list.js +17 -11
  512. package/dist/components/menu/menu-box-button.js +16 -8
  513. package/dist/components/menu/menu-button.d.ts +1 -1
  514. package/dist/components/menu/menu-button.d.ts.map +1 -1
  515. package/dist/components/menu/menu-button.js +15 -5
  516. package/dist/components/menu/menu-divider.d.ts +2 -1
  517. package/dist/components/menu/menu-divider.d.ts.map +1 -1
  518. package/dist/components/menu/menu-divider.js +21 -12
  519. package/dist/components/menu/menu-group.d.ts +3 -2
  520. package/dist/components/menu/menu-group.d.ts.map +1 -1
  521. package/dist/components/menu/menu-group.js +131 -129
  522. package/dist/components/menu/menu-icon-button.d.ts +1 -1
  523. package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
  524. package/dist/components/menu/menu-icon-button.js +10 -5
  525. package/dist/components/menu/menu-item.d.ts +1 -1
  526. package/dist/components/menu/menu-item.d.ts.map +1 -1
  527. package/dist/components/menu/menu-item.js +43 -32
  528. package/dist/components/menu/menu-list.d.ts +1 -1
  529. package/dist/components/menu/menu-list.d.ts.map +1 -1
  530. package/dist/components/menu/menu-list.js +14 -4
  531. package/dist/components/menu/menu-recipe.js +6 -2
  532. package/dist/components/menu/menu.composition.d.ts +10 -10
  533. package/dist/components/menu/menu.composition.d.ts.map +1 -1
  534. package/dist/components/menu/menu.js +36 -19
  535. package/dist/components/message/message.composition.d.ts +1 -1
  536. package/dist/components/message/message.composition.d.ts.map +1 -1
  537. package/dist/components/message/message.d.ts +1 -1
  538. package/dist/components/message/message.d.ts.map +1 -1
  539. package/dist/components/message/message.js +36 -58
  540. package/dist/components/modal/modal-body.d.ts +1 -1
  541. package/dist/components/modal/modal-body.d.ts.map +1 -1
  542. package/dist/components/modal/modal-body.js +15 -7
  543. package/dist/components/modal/modal-close-button.d.ts +1 -1
  544. package/dist/components/modal/modal-close-button.d.ts.map +1 -1
  545. package/dist/components/modal/modal-close-button.js +16 -16
  546. package/dist/components/modal/modal-footer.d.ts +1 -1
  547. package/dist/components/modal/modal-footer.d.ts.map +1 -1
  548. package/dist/components/modal/modal-footer.js +29 -18
  549. package/dist/components/modal/modal-header.d.ts +1 -1
  550. package/dist/components/modal/modal-header.d.ts.map +1 -1
  551. package/dist/components/modal/modal-header.js +15 -5
  552. package/dist/components/modal/modal.composition.d.ts +11 -11
  553. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  554. package/dist/components/modal/modal.d.ts +1 -1
  555. package/dist/components/modal/modal.d.ts.map +1 -1
  556. package/dist/components/modal/modal.js +53 -43
  557. package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
  558. package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
  559. package/dist/components/navigation-list/navigation-list-item.js +54 -67
  560. package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
  561. package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
  562. package/dist/components/navigation-list/navigation-list.d.ts +1 -1
  563. package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
  564. package/dist/components/navigation-list/navigation-list.js +15 -5
  565. package/dist/components/paginator/paginator.composition.d.ts +2 -2
  566. package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
  567. package/dist/components/paginator/paginator.d.ts +1 -1
  568. package/dist/components/paginator/paginator.d.ts.map +1 -1
  569. package/dist/components/paginator/paginator.js +67 -51
  570. package/dist/components/quantity-button/minus-button.d.ts +1 -1
  571. package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
  572. package/dist/components/quantity-button/minus-button.js +14 -16
  573. package/dist/components/quantity-button/plus-button.d.ts +1 -1
  574. package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
  575. package/dist/components/quantity-button/plus-button.js +14 -16
  576. package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
  577. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  578. package/dist/components/quantity-button/quantity-button.d.ts +1 -1
  579. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  580. package/dist/components/quantity-button/quantity-button.js +38 -74
  581. package/dist/components/radio/check-icon.js +1 -6
  582. package/dist/components/radio/radio-group-context.js +2 -2
  583. package/dist/components/radio/radio-group.composition.d.ts +5 -5
  584. package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
  585. package/dist/components/radio/radio-group.d.ts +1 -1
  586. package/dist/components/radio/radio-group.d.ts.map +1 -1
  587. package/dist/components/radio/radio-group.js +26 -33
  588. package/dist/components/radio/radio.composition.d.ts +2 -2
  589. package/dist/components/radio/radio.composition.d.ts.map +1 -1
  590. package/dist/components/radio/radio.js +53 -49
  591. package/dist/components/radio-card/radio-card-group.d.ts +1 -1
  592. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  593. package/dist/components/radio-card/radio-card-group.js +23 -31
  594. package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
  595. package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
  596. package/dist/components/radio-card/radio-card.js +64 -81
  597. package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
  598. package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
  599. package/dist/components/rich-text-editor/boolean-control.js +50 -30
  600. package/dist/components/rich-text-editor/extensions.js +15 -17
  601. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
  602. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  603. package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
  604. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
  605. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
  606. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
  607. package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
  608. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  609. package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
  610. package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
  611. package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
  612. package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
  613. package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
  614. package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
  615. package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
  616. package/dist/components/segmented-control/segmented-control-item.js +23 -25
  617. package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
  618. package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
  619. package/dist/components/segmented-control/segmented-control.d.ts +1 -1
  620. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  621. package/dist/components/segmented-control/segmented-control.js +38 -38
  622. package/dist/components/segmented-control/types.d.ts +2 -1
  623. package/dist/components/segmented-control/types.d.ts.map +1 -1
  624. package/dist/components/select/select.composition.d.ts +3 -3
  625. package/dist/components/select/select.composition.d.ts.map +1 -1
  626. package/dist/components/select/select.js +27 -12
  627. package/dist/components/skeleton/skeleton-text.d.ts +1 -1
  628. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  629. package/dist/components/skeleton/skeleton-text.js +17 -12
  630. package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
  631. package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
  632. package/dist/components/skeleton/skeleton.d.ts +1 -1
  633. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  634. package/dist/components/skeleton/skeleton.js +18 -13
  635. package/dist/components/spinner/spinner.composition.d.ts +2 -2
  636. package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
  637. package/dist/components/spinner/spinner.d.ts +1 -1
  638. package/dist/components/spinner/spinner.d.ts.map +1 -1
  639. package/dist/components/spinner/spinner.js +26 -49
  640. package/dist/components/stack/stack.composition.d.ts +3 -3
  641. package/dist/components/stack/stack.composition.d.ts.map +1 -1
  642. package/dist/components/stack/stack.js +17 -7
  643. package/dist/components/stepper/check-icon.js +1 -6
  644. package/dist/components/stepper/step-context.d.ts +2 -1
  645. package/dist/components/stepper/step-context.d.ts.map +1 -1
  646. package/dist/components/stepper/step.d.ts +1 -1
  647. package/dist/components/stepper/step.d.ts.map +1 -1
  648. package/dist/components/stepper/step.js +89 -69
  649. package/dist/components/stepper/stepper.composition.d.ts +6 -6
  650. package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
  651. package/dist/components/stepper/stepper.d.ts +1 -1
  652. package/dist/components/stepper/stepper.d.ts.map +1 -1
  653. package/dist/components/stepper/stepper.js +41 -21
  654. package/dist/components/stepper/times-icon.js +1 -6
  655. package/dist/components/stepper/types.d.ts +2 -1
  656. package/dist/components/stepper/types.d.ts.map +1 -1
  657. package/dist/components/switch/switch.composition.d.ts +2 -2
  658. package/dist/components/switch/switch.composition.d.ts.map +1 -1
  659. package/dist/components/switch/switch.js +29 -33
  660. package/dist/components/table/table-cell.d.ts +1 -1
  661. package/dist/components/table/table-cell.d.ts.map +1 -1
  662. package/dist/components/table/table-cell.js +67 -92
  663. package/dist/components/table/table-content.d.ts +1 -1
  664. package/dist/components/table/table-content.d.ts.map +1 -1
  665. package/dist/components/table/table-content.js +26 -76
  666. package/dist/components/table/table-context-provider.d.ts +1 -1
  667. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  668. package/dist/components/table/table-context-provider.js +28 -49
  669. package/dist/components/table/table-context.d.ts.map +1 -1
  670. package/dist/components/table/table-filter.d.ts +1 -1
  671. package/dist/components/table/table-filter.d.ts.map +1 -1
  672. package/dist/components/table/table-filter.js +68 -96
  673. package/dist/components/table/table-header-dropdown.d.ts +1 -1
  674. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  675. package/dist/components/table/table-header-dropdown.js +65 -113
  676. package/dist/components/table/table-header-row.d.ts +1 -1
  677. package/dist/components/table/table-header-row.d.ts.map +1 -1
  678. package/dist/components/table/table-header-row.js +53 -106
  679. package/dist/components/table/table-recipe.js +6 -2
  680. package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
  681. package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
  682. package/dist/components/table/table-row-expand-toggle-button.js +26 -23
  683. package/dist/components/table/table-row.d.ts +1 -1
  684. package/dist/components/table/table-row.d.ts.map +1 -1
  685. package/dist/components/table/table-row.js +8 -26
  686. package/dist/components/table/table-toolbar-actions.d.ts +1 -1
  687. package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
  688. package/dist/components/table/table-toolbar-actions.js +4 -10
  689. package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
  690. package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
  691. package/dist/components/table/table-toolbar-search.d.ts +1 -1
  692. package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
  693. package/dist/components/table/table-toolbar-search.js +6 -11
  694. package/dist/components/table/table-toolbar-settings.d.ts +1 -1
  695. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  696. package/dist/components/table/table-toolbar-settings.js +75 -144
  697. package/dist/components/table/table-toolbar.d.ts +1 -1
  698. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  699. package/dist/components/table/table-toolbar.js +28 -34
  700. package/dist/components/table/table.composition.d.ts +5 -4
  701. package/dist/components/table/table.composition.d.ts.map +1 -1
  702. package/dist/components/table/table.d.ts +1 -1
  703. package/dist/components/table/table.d.ts.map +1 -1
  704. package/dist/components/table/table.js +1 -34
  705. package/dist/components/tabs/tab-list.d.ts +1 -1
  706. package/dist/components/tabs/tab-list.d.ts.map +1 -1
  707. package/dist/components/tabs/tab-list.js +15 -5
  708. package/dist/components/tabs/tab-panel.d.ts +1 -1
  709. package/dist/components/tabs/tab-panel.d.ts.map +1 -1
  710. package/dist/components/tabs/tab-panel.js +13 -5
  711. package/dist/components/tabs/tab-panels.d.ts +1 -1
  712. package/dist/components/tabs/tab-panels.d.ts.map +1 -1
  713. package/dist/components/tabs/tab-panels.js +12 -4
  714. package/dist/components/tabs/tab-with-image.d.ts +1 -1
  715. package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
  716. package/dist/components/tabs/tab-with-image.js +51 -32
  717. package/dist/components/tabs/tab.d.ts +1 -1
  718. package/dist/components/tabs/tab.d.ts.map +1 -1
  719. package/dist/components/tabs/tab.js +21 -16
  720. package/dist/components/tabs/tabs-recipe.js +3 -1
  721. package/dist/components/tabs/tabs.composition.d.ts +6 -6
  722. package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
  723. package/dist/components/tabs/tabs.d.ts +1 -1
  724. package/dist/components/tabs/tabs.d.ts.map +1 -1
  725. package/dist/components/tabs/tabs.js +22 -16
  726. package/dist/components/tag/tag-recipe.js +6 -1
  727. package/dist/components/tag/tag.composition.d.ts +4 -4
  728. package/dist/components/tag/tag.composition.d.ts.map +1 -1
  729. package/dist/components/tag/tag.d.ts +20 -20
  730. package/dist/components/tag/tag.d.ts.map +1 -1
  731. package/dist/components/tag/tag.js +41 -35
  732. package/dist/components/tag/types.d.ts +3 -2
  733. package/dist/components/tag/types.d.ts.map +1 -1
  734. package/dist/components/text/text.composition.d.ts +4 -4
  735. package/dist/components/text/text.composition.d.ts.map +1 -1
  736. package/dist/components/text/text.d.ts +1 -1
  737. package/dist/components/text/text.d.ts.map +1 -1
  738. package/dist/components/text/text.js +25 -35
  739. package/dist/components/textarea/textarea.composition.d.ts +3 -3
  740. package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
  741. package/dist/components/textarea/textarea.js +16 -16
  742. package/dist/components/toaster/toast-store.d.ts +2 -1
  743. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  744. package/dist/components/toaster/toast-store.js +19 -12
  745. package/dist/components/toaster/toaster.composition.d.ts +6 -6
  746. package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
  747. package/dist/components/toaster/toaster.d.ts +1 -1
  748. package/dist/components/toaster/toaster.d.ts.map +1 -1
  749. package/dist/components/toaster/toaster.js +33 -18
  750. package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
  751. package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
  752. package/dist/components/toggle-button/toggle-button.d.ts +1 -1
  753. package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
  754. package/dist/components/toggle-button/toggle-button.js +23 -17
  755. package/dist/components/toggle-button/use-button-children.js +33 -24
  756. package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
  757. package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
  758. package/dist/components/tooltip/tooltip.d.ts +1 -1
  759. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  760. package/dist/components/tooltip/tooltip.js +44 -32
  761. package/dist/hooks/use-color-mode.js +20 -11
  762. package/dist/hooks/use-disclosure.js +8 -2
  763. package/dist/hooks/use-remove-attributes.js +20 -12
  764. package/dist/index.js +664 -662
  765. package/dist/node_modules/@tiptap/core/dist/index.js +541 -525
  766. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +1464 -27
  767. package/dist/node_modules/@tiptap/extension-code/dist/index.js +26 -9
  768. package/dist/node_modules/@tiptap/extension-list/dist/index.js +314 -250
  769. package/dist/node_modules/@tiptap/extensions/dist/index.js +205 -182
  770. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
  771. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
  772. package/dist/node_modules/react/compiler-runtime.js +10 -0
  773. package/dist/theme/theme-provider-context.composition.d.ts +9 -9
  774. package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
  775. package/dist/theme/theme-provider.d.ts +1 -1
  776. package/dist/theme/theme-provider.d.ts.map +1 -1
  777. package/dist/theme/theme-provider.js +32 -28
  778. package/dist/theme/theme.js +6 -2
  779. package/package.json +15 -14
@@ -1,223 +1,300 @@
1
- import { jsx as V, jsxs as de } from "react/jsx-runtime";
2
- import { useFieldContext as fe, Box as ge } from "@chakra-ui/react";
3
- import { useState as I, useRef as Z, useEffect as j, useMemo as $ } from "react";
4
- import { ComboboxButton as pe } from "./combobox-button.js";
5
- import { ComboboxMenu as be } from "./combobox-menu.js";
6
- import { translations as Se } from "./translations.js";
7
- const Ce = (s, h) => {
8
- const [t, n] = I(0), u = (i) => {
9
- if (!h.current) return;
10
- const S = [...h.current.querySelectorAll("li")];
11
- S[i] && (S[i]?.scrollIntoView({
1
+ import { jsx as Be, jsxs as Fe } from "react/jsx-runtime";
2
+ import { c as be } from "../../_virtual/compiler-runtime.js";
3
+ import { useFieldContext as Ne, Box as Ve } from "@chakra-ui/react";
4
+ import { useState as A, useRef as Re } from "react";
5
+ import { ComboboxButton as je } from "./combobox-button.js";
6
+ import { ComboboxMenu as ze } from "./combobox-menu.js";
7
+ import { translations as We } from "./translations.js";
8
+ const Ge = (b, e) => {
9
+ const t = be.c(15), [n, a] = A(0);
10
+ let I;
11
+ t[0] !== e ? (I = (f) => {
12
+ if (!e.current)
13
+ return;
14
+ const C = [...e.current.querySelectorAll("li")];
15
+ C[f] && (C[f]?.scrollIntoView({
12
16
  behavior: "smooth",
13
17
  block: "nearest"
14
- }), n(i));
15
- };
16
- return {
17
- index: t,
18
- set: u,
19
- next: () => u((t + 1) % s.length),
20
- previous: () => u((t - 1 + s.length) % s.length)
21
- };
22
- }, ve = (s, h, t, n, u) => {
23
- const [c, d] = I(!1);
24
- return j(() => {
25
- n && d(!1);
26
- }, [n, d]), { isOpen: c, close: () => {
27
- h || (t(""), u?.("")), d(!1);
28
- }, open: () => {
29
- c || n || (d(!0), s.set(0));
30
- } };
31
- }, xe = (s, h) => {
32
- const [t, n] = I([]), u = $(() => {
33
- if (!t.length) return s;
34
- const c = t[t.length - 1], d = {
18
+ }), a(f));
19
+ }, t[0] = e, t[1] = I) : I = t[1];
20
+ const l = I;
21
+ let u;
22
+ t[2] !== n || t[3] !== b || t[4] !== l ? (u = () => l((n + 1) % b.length), t[2] = n, t[3] = b, t[4] = l, t[5] = u) : u = t[5];
23
+ const p = u;
24
+ let d;
25
+ t[6] !== n || t[7] !== b || t[8] !== l ? (d = () => l((n - 1 + b.length) % b.length), t[6] = n, t[7] = b, t[8] = l, t[9] = d) : d = t[9];
26
+ const r = d;
27
+ let o;
28
+ return t[10] !== n || t[11] !== l || t[12] !== p || t[13] !== r ? (o = {
29
+ index: n,
30
+ set: l,
31
+ next: p,
32
+ previous: r
33
+ }, t[10] = n, t[11] = l, t[12] = p, t[13] = r, t[14] = o) : o = t[14], o;
34
+ }, Ue = (b, e, t, n, a, I) => {
35
+ const l = be.c(13), [u, p] = A(!1), d = u && !n;
36
+ let r;
37
+ l[0] !== e || l[1] !== a || l[2] !== t ? (r = () => {
38
+ e || (t(""), a?.("")), p(!1);
39
+ }, l[0] = e, l[1] = a, l[2] = t, l[3] = r) : r = l[3];
40
+ const o = r;
41
+ let f;
42
+ l[4] !== b || l[5] !== n || l[6] !== d || l[7] !== I ? (f = () => {
43
+ d || n || (p(!0), b.set(0), I?.());
44
+ }, l[4] = b, l[5] = n, l[6] = d, l[7] = I, l[8] = f) : f = l[8];
45
+ const C = f;
46
+ let x;
47
+ return l[9] !== o || l[10] !== d || l[11] !== C ? (x = {
48
+ isOpen: d,
49
+ close: o,
50
+ open: C
51
+ }, l[9] = o, l[10] = d, l[11] = C, l[12] = x) : x = l[12], x;
52
+ }, Je = (b, e) => {
53
+ const t = be.c(16);
54
+ let n;
55
+ t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = [], t[0] = n) : n = t[0];
56
+ const [a, I] = A(n);
57
+ let l;
58
+ if (!a.length)
59
+ l = b;
60
+ else {
61
+ const r = a[a.length - 1];
62
+ let o;
63
+ t[1] !== e.back ? (o = {
35
64
  id: "_back",
36
- label: h.back
37
- }, i = t[t.length - 1]?.children || [];
38
- return c?.isSelectableParent ? [d, c, ...i] : [d, ...i];
39
- }, [t, s, h]);
40
- return {
41
- open: (c) => {
42
- n((d) => [...d, c]);
43
- },
44
- back: () => {
45
- t.length && n((c) => [...c.slice(0, t.length - 1)]);
46
- },
47
- opened: t,
48
- current: u
49
- };
50
- }, Ie = (s) => $(() => {
51
- const h = {};
52
- function t(n, u) {
53
- h[n.id] = [...u], n.children && n.children.forEach((c) => t(c, [...u, n.label]));
65
+ label: e.back
66
+ }, t[1] = e.back, t[2] = o) : o = t[2];
67
+ const f = o;
68
+ let C;
69
+ t[3] !== r?.children ? (C = r?.children || [], t[3] = r?.children, t[4] = C) : C = t[4];
70
+ const x = C;
71
+ let q;
72
+ t[5] !== f || t[6] !== x || t[7] !== r ? (q = r?.isSelectableParent ? [f, r, ...x] : [f, ...x], t[5] = f, t[6] = x, t[7] = r, t[8] = q) : q = t[8], l = q;
73
+ }
74
+ let u;
75
+ t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = (r) => {
76
+ I((o) => [...o, r]);
77
+ }, t[9] = u) : u = t[9];
78
+ let p;
79
+ t[10] !== a.length ? (p = () => {
80
+ a.length && I((r) => [...r.slice(0, a.length - 1)]);
81
+ }, t[10] = a.length, t[11] = p) : p = t[11];
82
+ let d;
83
+ return t[12] !== l || t[13] !== a || t[14] !== p ? (d = {
84
+ open: u,
85
+ back: p,
86
+ opened: a,
87
+ current: l
88
+ }, t[12] = l, t[13] = a, t[14] = p, t[15] = d) : d = t[15], d;
89
+ }, Ke = (b) => {
90
+ const e = {};
91
+ function t(n, a) {
92
+ e[n.id] = [...a], n.children && n.children.forEach((I) => t(I, [...a, n.label]));
54
93
  }
55
- return s.forEach((n) => t(n, [])), h;
56
- }, [s]);
57
- function Me({
58
- id: s,
59
- label: h = "",
60
- isSingleSelect: t = !1,
61
- selectedItems: n = [],
62
- locale: u = "en-US",
63
- size: c = "md",
64
- variant: d = "outline",
65
- asPlainText: i = !1,
66
- onSearch: S,
67
- items: P,
68
- maxVisibleItems: _,
69
- onChange: G,
70
- onBlur: U,
71
- isDisabled: v,
72
- isReadOnly: x,
73
- isRequired: M,
74
- placeholder: T,
75
- footerContent: y,
76
- popoverWidth: R,
77
- popoverPlacement: D,
78
- collapsed: m = !1,
79
- folderStyle: k = "grouped",
80
- parentSelectsChildren: W,
81
- ...ee
82
- }) {
83
- const [w, H] = I(""), [ne, z] = I(!1), O = Se[u], q = Z(null), A = Z(null), C = xe(P, O), te = w.toLowerCase() === n[0]?.label.toLowerCase(), E = w.length > 0 && !(i && te), re = k === "stacked", L = fe(), J = L?.invalid ?? !1;
84
- v = v ?? L?.disabled ?? !1, x = x ?? L?.readOnly ?? !1, M = M ?? L?.required ?? !1;
85
- let p = C.current;
86
- if (E) {
87
- const e = [], r = w.toLowerCase();
88
- if (k === "stacked") {
89
- const l = (a) => a.map((f) => {
90
- const F = f.label.toLowerCase().includes(r), o = f.children && f.children.length > 0;
91
- if (F)
92
- return f;
93
- if (o) {
94
- const b = l(f.children);
95
- if (b.length > 0) {
96
- const Y = { ...f };
97
- return Y.children = b, Y;
94
+ return b.forEach((n) => t(n, [])), e;
95
+ };
96
+ function lt(b) {
97
+ const e = be.c(127);
98
+ let t, n, a, I, l, u, p, d, r, o, f, C, x, q, $, U, J, R, K, Q, X, Y, Z, _;
99
+ e[0] !== b ? ({
100
+ id: n,
101
+ label: U,
102
+ isSingleSelect: J,
103
+ selectedItems: R,
104
+ locale: K,
105
+ size: Q,
106
+ variant: X,
107
+ asPlainText: Y,
108
+ onSearch: o,
109
+ items: u,
110
+ maxVisibleItems: p,
111
+ onChange: r,
112
+ onBlur: d,
113
+ isDisabled: a,
114
+ isReadOnly: I,
115
+ isRequired: l,
116
+ placeholder: C,
117
+ footerContent: t,
118
+ popoverWidth: q,
119
+ popoverPlacement: x,
120
+ collapsed: Z,
121
+ folderStyle: _,
122
+ parentSelectsChildren: f,
123
+ ...$
124
+ } = b, e[0] = b, e[1] = t, e[2] = n, e[3] = a, e[4] = I, e[5] = l, e[6] = u, e[7] = p, e[8] = d, e[9] = r, e[10] = o, e[11] = f, e[12] = C, e[13] = x, e[14] = q, e[15] = $, e[16] = U, e[17] = J, e[18] = R, e[19] = K, e[20] = Q, e[21] = X, e[22] = Y, e[23] = Z, e[24] = _) : (t = e[1], n = e[2], a = e[3], I = e[4], l = e[5], u = e[6], p = e[7], d = e[8], r = e[9], o = e[10], f = e[11], C = e[12], x = e[13], q = e[14], $ = e[15], U = e[16], J = e[17], R = e[18], K = e[19], Q = e[20], X = e[21], Y = e[22], Z = e[23], _ = e[24]);
125
+ const Se = U === void 0 ? "" : U, y = J === void 0 ? !1 : J;
126
+ let se;
127
+ e[25] !== R ? (se = R === void 0 ? [] : R, e[25] = R, e[26] = se) : se = e[26];
128
+ const s = se, Me = K === void 0 ? "en-US" : K, Ie = Q === void 0 ? "md" : Q, me = X === void 0 ? "outline" : X, P = Y === void 0 ? !1 : Y, ve = Z === void 0 ? !1 : Z, k = _ === void 0 ? "grouped" : _, [H, ee] = A(P ? s[0]?.label ?? "" : ""), [Ce, Le] = A(!1), te = We[Me], xe = Re(null), Oe = Re(null), w = Je(u, te);
129
+ let ie;
130
+ e[27] !== H ? (ie = H.toLowerCase(), e[27] = H, e[28] = ie) : ie = e[28];
131
+ let re;
132
+ e[29] !== s[0]?.label ? (re = s[0]?.label.toLowerCase(), e[29] = s[0]?.label, e[30] = re) : re = e[30];
133
+ const Ae = ie === re, L = H.length > 0 && !(P && Ae), Pe = k === "stacked", oe = Ne(), D = oe?.invalid ?? !1, E = a ?? oe?.disabled ?? !1, T = I ?? oe?.readOnly ?? !1, ye = l ?? oe?.required ?? !1;
134
+ let m = w.current;
135
+ if (L)
136
+ if (e[31] !== k || e[32] !== H || e[33] !== u) {
137
+ const g = [], O = H.toLowerCase();
138
+ if (k === "stacked") {
139
+ const i = (h) => h.map((S) => {
140
+ const le = S.label.toLowerCase().includes(O), G = S.children && S.children.length > 0;
141
+ if (le)
142
+ return S;
143
+ if (G) {
144
+ const Te = i(S.children);
145
+ if (Te.length > 0) {
146
+ const v = {
147
+ ...S
148
+ };
149
+ return v.children = Te, v;
150
+ }
98
151
  }
99
- }
100
- }).filter(Boolean);
101
- p = l(P);
102
- } else {
103
- const l = (a) => {
104
- e.push(a), a.children && a.children.forEach(l);
105
- };
106
- P.forEach(l), p = e.filter((a) => {
107
- const f = a.label.toLowerCase().includes(w.toLowerCase());
108
- return (!(a.children && a.children.length > 0) || a.isSelectableParent) && f;
109
- });
110
- }
152
+ }).filter(Boolean);
153
+ m = i(u);
154
+ } else {
155
+ const i = (h) => {
156
+ g.push(h), h.children && h.children.forEach(i);
157
+ };
158
+ u.forEach(i), m = g.filter((h) => {
159
+ const S = h.label.toLowerCase().includes(H.toLowerCase());
160
+ return (!(h.children && h.children.length > 0) || h.isSelectableParent) && S;
161
+ });
162
+ }
163
+ e[31] = k, e[32] = H, e[33] = u, e[34] = m;
164
+ } else
165
+ m = e[34];
166
+ const M = Ge(m, Oe);
167
+ let ce;
168
+ e[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ce = [], e[35] = ce) : ce = e[35];
169
+ const [B, $e] = A(ce);
170
+ let ae;
171
+ e[36] !== k || e[37] !== y || e[38] !== s ? (ae = () => {
172
+ y || k === "stacked" || $e(s);
173
+ }, e[36] = k, e[37] = y, e[38] = s, e[39] = ae) : ae = e[39];
174
+ const c = Ue(M, P, ee, E, o, ae);
175
+ let de;
176
+ e[40] !== P || e[41] !== c.isOpen || e[42] !== s ? (de = {
177
+ isOpen: c.isOpen,
178
+ selectedItems: s,
179
+ asPlainText: P
180
+ }, e[40] = P, e[41] = c.isOpen, e[42] = s, e[43] = de) : de = e[43];
181
+ const [ke, De] = A(de);
182
+ if ((ke.isOpen !== c.isOpen || ke.selectedItems !== s || ke.asPlainText !== P) && (De({
183
+ isOpen: c.isOpen,
184
+ selectedItems: s,
185
+ asPlainText: P
186
+ }), P && !c.isOpen && ee(s[0]?.label ?? "")), !L) {
187
+ let g;
188
+ if (e[44] !== m || e[45] !== B) {
189
+ let O;
190
+ e[47] !== B ? (O = (i) => !B.find((h) => h.label === i.label), e[47] = B, e[48] = O) : O = e[48], g = [...B, ...m.filter(O)], e[44] = m, e[45] = B, e[46] = g;
191
+ } else
192
+ g = e[46];
193
+ m = g;
111
194
  }
112
- const B = Ce(p, A), g = ve(B, i, H, v, S);
113
- j(() => {
114
- i && !g.isOpen && H(n[0]?.label || "");
115
- }, [g.isOpen, n, i]);
116
- const [N, oe] = I([]);
117
- j(() => {
118
- !g.isOpen || t || k === "stacked" || oe(n);
119
- }, [g.isOpen]), E || (p = [
120
- ...N,
121
- ...p.filter((e) => !N.find((r) => r.label === e.label))
122
- ]);
123
- let K = !1;
124
- x ? p = n : (K = p.length > (_ ?? 1 / 0), p = p.slice(0, _));
125
- const le = Ie(P), se = (e) => {
126
- const r = C.opened.length > 0 && C.opened[C.opened.length - 1]?.id === e.id, l = e.children && e.children.length > 0;
127
- if (!E && !r && l) {
128
- C.open(e), requestAnimationFrame(() => B.set(1));
129
- return;
130
- }
131
- return t ? [e] : Q(e);
132
- }, ce = (e) => {
133
- const r = e.children && e.children.length > 0;
134
- if (!(r && !e.isSelectableParent && (t || !W)))
135
- return t ? [e] : r ? ie(e) : Q(e);
136
- }, Q = (e) => n.some((l) => l.id === e.id) ? n.filter((l) => l.id !== e.id) : [...n, e];
137
- function ie(e) {
138
- let r;
139
- const l = [], a = (o) => {
140
- o.children && o.children.length > 0 ? (o.isSelectableParent && l.push(o), o.children.forEach(a)) : l.push(o);
141
- };
142
- a(e);
143
- const f = n.filter(
144
- (o) => l.some((b) => b.id === o.id)
145
- );
146
- return f.length > 0 && (!e.isSelectableParent || f.some((o) => o.id === e.id)) ? r = n.filter((o) => !f.some((b) => b.id === o.id)) : r = [...n, ...l.filter((o) => !n.some((b) => b.id === o.id))], r;
195
+ let fe = !1;
196
+ if (T)
197
+ m = s;
198
+ else {
199
+ fe = m.length > (p ?? 1 / 0);
200
+ let g;
201
+ e[49] !== m || e[50] !== p ? (g = m.slice(0, p), e[49] = m, e[50] = p, e[51] = g) : g = e[51], m = g;
147
202
  }
148
- const ae = (e) => {
149
- if (!e || x || v)
203
+ const we = Ke(u);
204
+ let F, N;
205
+ if (e[52] !== M || e[53] !== L || e[54] !== y || e[55] !== f || e[56] !== s || e[57] !== w) {
206
+ let g = function(i) {
207
+ let h;
208
+ const S = [], le = (v) => {
209
+ v.children && v.children.length > 0 ? (v.isSelectableParent && S.push(v), v.children.forEach(le)) : S.push(v);
210
+ };
211
+ le(i);
212
+ const G = s.filter((v) => S.some((ne) => ne.id === v.id));
213
+ return G.length > 0 && (!i.isSelectableParent || G.some((v) => v.id === i.id)) ? h = s.filter((v) => !G.some((ne) => ne.id === v.id)) : h = [...s, ...S.filter((v) => !s.some((ne) => ne.id === v.id))], h;
214
+ };
215
+ F = (i) => {
216
+ const h = w.opened.length > 0 && w.opened[w.opened.length - 1]?.id === i.id, S = i.children && i.children.length > 0;
217
+ if (!L && !h && S) {
218
+ w.open(i), requestAnimationFrame(() => M.set(1));
219
+ return;
220
+ }
221
+ return y ? [i] : O(i);
222
+ }, N = (i) => {
223
+ const h = i.children && i.children.length > 0;
224
+ if (!(h && !i.isSelectableParent && (y || !f)))
225
+ return y ? [i] : h ? g(i) : O(i);
226
+ };
227
+ const O = (i) => s.some((S) => S.id === i.id) ? s.filter((S) => S.id !== i.id) : [...s, i];
228
+ e[52] = M, e[53] = L, e[54] = y, e[55] = f, e[56] = s, e[57] = w, e[58] = F, e[59] = N;
229
+ } else
230
+ F = e[58], N = e[59];
231
+ let he;
232
+ e[60] !== P || e[61] !== E || e[62] !== k || e[63] !== F || e[64] !== N || e[65] !== y || e[66] !== Pe || e[67] !== r || e[68] !== o || e[69] !== c || e[70] !== T || e[71] !== w ? (he = (g) => {
233
+ if (!g || T || E)
150
234
  return;
151
- if (A.current?.parentNode?.querySelector("input")?.focus(), e.id === "_back") {
152
- C.back();
235
+ if (Oe.current?.parentNode?.querySelector("input")?.focus(), g.id === "_back") {
236
+ w.back();
153
237
  return;
154
238
  }
155
- let r;
156
- k === "grouped" ? r = se(e) : r = ce(e), r && (i ? H(r[0]?.label ?? "") : re || (H(""), S?.("")), t && (r.length === 0 ? g.open() : g.close()), G && G(r));
157
- }, he = n.length === 0 ? T ?? O.search : void 0, ue = (e) => {
158
- q.current?.contains(e.relatedTarget) || (g.close(), z(!1), U && U(n));
159
- }, X = {
160
- id: s,
161
- asPlainText: i,
162
- inputValue: w,
163
- selectedItems: n,
164
- displayItems: p,
165
- toggleItem: ae,
166
- highlightState: B,
167
- openState: g,
168
- parentStrings: le,
169
- // Button
170
- size: c,
171
- variant: d,
172
- label: h,
173
- placeHolderText: he,
174
- isDisabled: v,
175
- isReadOnly: x,
176
- isInvalid: J,
177
- collapsed: m,
178
- hasPendingDelete: ne,
179
- setHasPendingDelete: z,
180
- setInputValue: H,
181
- onSearch: S,
182
- // Menu
183
- isSingleSelect: t,
184
- isSearching: E,
185
- isHidingItems: K,
186
- popoverWidth: R,
187
- popoverPlacement: D,
188
- previousSelectedItems: N,
189
- parentRef: q,
190
- popupRef: A,
191
- footerContent: y,
192
- subMenuState: C,
193
- translation: O,
239
+ let O;
240
+ k === "grouped" ? O = F(g) : O = N(g), O && (P ? ee(O[0]?.label ?? "") : Pe || (ee(""), o?.("")), y && (O.length === 0 ? c.open() : c.close()), r && r(O));
241
+ }, e[60] = P, e[61] = E, e[62] = k, e[63] = F, e[64] = N, e[65] = y, e[66] = Pe, e[67] = r, e[68] = o, e[69] = c, e[70] = T, e[71] = w, e[72] = he) : he = e[72];
242
+ const qe = he, He = s.length === 0 ? C ?? te.search : void 0;
243
+ let ue;
244
+ e[73] !== d || e[74] !== c || e[75] !== s ? (ue = (g) => {
245
+ xe.current?.contains(g.relatedTarget) || (c.close(), Le(!1), d && d(s));
246
+ }, e[73] = d, e[74] = c, e[75] = s, e[76] = ue) : ue = e[76];
247
+ const Ee = ue;
248
+ let pe;
249
+ e[77] !== P || e[78] !== ve || e[79] !== E || e[80] !== m || e[81] !== k || e[82] !== t || e[83] !== Ce || e[84] !== M || e[85] !== n || e[86] !== H || e[87] !== fe || e[88] !== D || e[89] !== L || e[90] !== y || e[91] !== Se || e[92] !== o || e[93] !== c || e[94] !== f || e[95] !== we || e[96] !== He || e[97] !== x || e[98] !== q || e[99] !== B || e[100] !== T || e[101] !== s || e[102] !== Ie || e[103] !== w || e[104] !== qe || e[105] !== te || e[106] !== me ? (pe = {
250
+ id: n,
251
+ asPlainText: P,
252
+ inputValue: H,
253
+ selectedItems: s,
254
+ displayItems: m,
255
+ toggleItem: qe,
256
+ highlightState: M,
257
+ openState: c,
258
+ parentStrings: we,
259
+ size: Ie,
260
+ variant: me,
261
+ label: Se,
262
+ placeHolderText: He,
263
+ isDisabled: E,
264
+ isReadOnly: T,
265
+ isInvalid: D,
266
+ collapsed: ve,
267
+ hasPendingDelete: Ce,
268
+ setHasPendingDelete: Le,
269
+ setInputValue: ee,
270
+ onSearch: o,
271
+ isSingleSelect: y,
272
+ isSearching: L,
273
+ isHidingItems: fe,
274
+ popoverWidth: q,
275
+ popoverPlacement: x,
276
+ previousSelectedItems: B,
277
+ parentRef: xe,
278
+ popupRef: Oe,
279
+ footerContent: t,
280
+ subMenuState: w,
281
+ translation: te,
194
282
  folderStyle: k,
195
- parentSelectsChildren: W
196
- };
197
- return /* @__PURE__ */ V(
198
- ge,
199
- {
200
- role: "combobox",
201
- asChild: !0,
202
- className: "combobox",
203
- ref: q,
204
- onClick: g.open,
205
- onBlur: ue,
206
- overflow: "visible",
207
- width: "100%",
208
- "aria-expanded": g.isOpen,
209
- "aria-required": M,
210
- "aria-disabled": v,
211
- "aria-readonly": x,
212
- "aria-invalid": J,
213
- ...ee,
214
- children: /* @__PURE__ */ de("label", { htmlFor: s, children: [
215
- /* @__PURE__ */ V(pe, { ...X }),
216
- g.isOpen && /* @__PURE__ */ V(be, { ...X })
217
- ] })
218
- }
219
- );
283
+ parentSelectsChildren: f
284
+ }, e[77] = P, e[78] = ve, e[79] = E, e[80] = m, e[81] = k, e[82] = t, e[83] = Ce, e[84] = M, e[85] = n, e[86] = H, e[87] = fe, e[88] = D, e[89] = L, e[90] = y, e[91] = Se, e[92] = o, e[93] = c, e[94] = f, e[95] = we, e[96] = He, e[97] = x, e[98] = q, e[99] = B, e[100] = T, e[101] = s, e[102] = Ie, e[103] = w, e[104] = qe, e[105] = te, e[106] = me, e[107] = pe) : pe = e[107];
285
+ const V = pe;
286
+ let j;
287
+ e[108] !== V ? (j = /* @__PURE__ */ Be(je, { ...V }), e[108] = V, e[109] = j) : j = e[109];
288
+ let z;
289
+ e[110] !== V || e[111] !== c.isOpen ? (z = c.isOpen && /* @__PURE__ */ Be(ze, { ...V }), e[110] = V, e[111] = c.isOpen, e[112] = z) : z = e[112];
290
+ let W;
291
+ e[113] !== n || e[114] !== j || e[115] !== z ? (W = /* @__PURE__ */ Fe("label", { htmlFor: n, children: [
292
+ j,
293
+ z
294
+ ] }), e[113] = n, e[114] = j, e[115] = z, e[116] = W) : W = e[116];
295
+ let ge;
296
+ return e[117] !== E || e[118] !== D || e[119] !== Ee || e[120] !== c.isOpen || e[121] !== c.open || e[122] !== $ || e[123] !== T || e[124] !== ye || e[125] !== W ? (ge = /* @__PURE__ */ Be(Ve, { role: "combobox", asChild: !0, className: "combobox", ref: xe, onClick: c.open, onBlur: Ee, overflow: "visible", width: "100%", "aria-expanded": c.isOpen, "aria-required": ye, "aria-disabled": E, "aria-readonly": T, "aria-invalid": D, ...$, children: W }), e[117] = E, e[118] = D, e[119] = Ee, e[120] = c.isOpen, e[121] = c.open, e[122] = $, e[123] = T, e[124] = ye, e[125] = W, e[126] = ge) : ge = e[126], ge;
220
297
  }
221
298
  export {
222
- Me as Combobox
299
+ lt as Combobox
223
300
  };
@@ -2,7 +2,7 @@ import { TagVariant } from '../tag/index.js';
2
2
  import { LayoutProps, MarginProps } from '../../theme/index.js';
3
3
  import { ConditionalValue } from '@chakra-ui/react';
4
4
  import { Placement } from '@floating-ui/dom';
5
- import { RefObject } from 'react';
5
+ import { ReactNode, RefObject } from 'react';
6
6
  export type { Placement };
7
7
  export type ComboboxTagVariant = TagVariant;
8
8
  export type Locales = "en-US" | "nb-NO" | "da-DK" | "sv-SE" | "en-GB" | "fr-FR" | "nl-BE";
@@ -22,11 +22,11 @@ export type ComboboxItem = {
22
22
  /**
23
23
  * Optional element to prepend to the item.
24
24
  */
25
- prepend?: JSX.Element | null;
25
+ prepend?: ReactNode;
26
26
  /**
27
27
  * Optional element to append to the item.
28
28
  */
29
- append?: JSX.Element | null;
29
+ append?: ReactNode;
30
30
  /**
31
31
  * @deprecated The dot is no longer rendered. Prop will be removed in the next major version.
32
32
  */
@@ -100,9 +100,9 @@ export type ComboboxInnerProps = {
100
100
  popoverWidth?: number;
101
101
  popoverPlacement?: Placement;
102
102
  previousSelectedItems: ComboboxItem[];
103
- parentRef: RefObject<HTMLLabelElement>;
104
- popupRef: RefObject<HTMLDivElement>;
105
- footerContent?: JSX.Element;
103
+ parentRef: RefObject<HTMLLabelElement | null>;
104
+ popupRef: RefObject<HTMLDivElement | null>;
105
+ footerContent?: ReactNode;
106
106
  subMenuState: SubMenuState;
107
107
  translation: Translation;
108
108
  folderStyle?: "grouped" | "stacked";
@@ -198,7 +198,7 @@ export type ComboboxProps = MarginProps & LayoutProps & {
198
198
  /**
199
199
  * Content to be displayed in a "footer"-slot of the combobox.
200
200
  */
201
- footerContent?: JSX.Element;
201
+ footerContent?: ReactNode;
202
202
  /**
203
203
  * Width of the popover. Defaults to match the width of the input field.
204
204
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBA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cAAc,CAAC,EAAE,SAAS,GAAG,KAAK,CAAA;CAAE,CAC7D,GACD,CACG;IACA;;;;OAIG;IACH,WAAW,EAAE,SAAS,CAAC;IACvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAC/B,GACD;IAAE,WAAW,CAAC,EAAE,SAAS,CAAC;IAAC,qBAAqB,CAAC,EAAE,KAAK,CAAA;CAAE,CAC5D,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { DatePickerPropsBase } from './types.js';
2
- export declare function BaseDatePicker({ selectedDate, onDateChange, onMonthChange, markSundayRed, strikeThroughDates, showDaysOutsideMonth, localeString, canSelectPastDates, isExpanded, dots, weekNumbers, selectWeek, shouldDisableDate, selectedMonth: initialMonth, dateRange, isRangeDate, onRangeChange, isDisabled, redDays, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, }: DatePickerPropsBase): import("react/jsx-runtime").JSX.Element;
3
+ export declare function BaseDatePicker({ selectedDate, onDateChange, selectedDates, onDatesChange, isMultiSelect, onMonthChange, markSundayRed, strikeThroughDates, showDaysOutsideMonth, localeString, canSelectPastDates, isExpanded, dots, weekNumbers, selectWeek, shouldDisableDate, selectedMonth: initialMonth, dateRange, isRangeDate, onRangeChange, isDisabled, redDays, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, }: DatePickerPropsBase): React.JSX.Element;
3
4
  //# sourceMappingURL=base-date-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-date-picker.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/base-date-picker.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,mBAAmB,EAAa,MAAM,SAAS,CAAC;AAmB9D,wBAAgB,cAAc,CAAC,EAC9B,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,oBAA4B,EAC5B,YAAY,EACZ,kBAAkB,EAClB,UAAiB,EACjB,IAAI,EACJ,WAAmB,EACnB,UAAkB,EAClB,iBAAiB,EACjB,aAAa,EAAE,YAAY,EAC3B,SAAS,EACT,WAAmB,EACnB,aAAa,EACb,UAAkB,EAClB,OAAY,EACZ,iBAAyB,EACzB,yBAAiC,EACjC,wBAAgC,GAChC,EAAE,mBAAmB,2CAkSrB"}
1
+ {"version":3,"file":"base-date-picker.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/base-date-picker.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,OAAO,KAAK,EAAE,mBAAmB,EAAa,MAAM,SAAS,CAAC;AAmB9D,wBAAgB,cAAc,CAAC,EAC9B,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAqB,EACrB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,oBAA4B,EAC5B,YAAY,EACZ,kBAAkB,EAClB,UAAiB,EACjB,IAAI,EACJ,WAAmB,EACnB,UAAkB,EAClB,iBAAiB,EACjB,aAAa,EAAE,YAAY,EAC3B,SAAS,EACT,WAAmB,EACnB,aAAa,EACb,UAAkB,EAClB,OAAY,EACZ,iBAAyB,EACzB,yBAAiC,EACjC,wBAAgC,GAChC,EAAE,mBAAmB,qBA+SrB"}