@caspeco/casper-ui-library 9.13.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 (769) 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 +244 -262
  81. package/dist/components/date-picker/date-multi-picker.d.ts +1 -1
  82. package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -1
  83. package/dist/components/date-picker/date-multi-picker.js +25 -49
  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 +5 -5
  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/divider/divider.composition.d.ts +2 -2
  106. package/dist/components/divider/divider.composition.d.ts.map +1 -1
  107. package/dist/components/divider/divider.d.ts +1 -1
  108. package/dist/components/divider/divider.d.ts.map +1 -1
  109. package/dist/components/divider/divider.js +16 -19
  110. package/dist/components/drawer/drawer-recipe.js +25 -5
  111. package/dist/components/drawer/drawer.composition.d.ts +5 -5
  112. package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
  113. package/dist/components/drawer/drawer.d.ts +1 -1
  114. package/dist/components/drawer/drawer.d.ts.map +1 -1
  115. package/dist/components/drawer/drawer.js +38 -36
  116. package/dist/components/drawer/inline-drawer.d.ts +1 -1
  117. package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
  118. package/dist/components/drawer/inline-drawer.js +62 -57
  119. package/dist/components/drawer/use-drawer-key-down.js +15 -8
  120. package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
  121. package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
  122. package/dist/components/fieldset/fieldset-error-text.js +13 -5
  123. package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
  124. package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
  125. package/dist/components/fieldset/fieldset-helper-text.js +13 -5
  126. package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
  127. package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
  128. package/dist/components/fieldset/fieldset-legend.js +13 -5
  129. package/dist/components/fieldset/fieldset.d.ts +1 -1
  130. package/dist/components/fieldset/fieldset.d.ts.map +1 -1
  131. package/dist/components/fieldset/fieldset.js +15 -5
  132. package/dist/components/flex/flex.composition.d.ts +2 -2
  133. package/dist/components/flex/flex.composition.d.ts.map +1 -1
  134. package/dist/components/flex/flex.d.ts +1 -1
  135. package/dist/components/flex/flex.d.ts.map +1 -1
  136. package/dist/components/flex/flex.js +13 -5
  137. package/dist/components/form-control/form-control.composition.d.ts +6 -6
  138. package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
  139. package/dist/components/form-control/form-control.d.ts +1 -1
  140. package/dist/components/form-control/form-control.d.ts.map +1 -1
  141. package/dist/components/form-control/form-control.js +17 -22
  142. package/dist/components/form-control/form-error-message.d.ts +1 -1
  143. package/dist/components/form-control/form-error-message.d.ts.map +1 -1
  144. package/dist/components/form-control/form-error-message.js +13 -5
  145. package/dist/components/form-control/form-helper-text.d.ts +1 -1
  146. package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
  147. package/dist/components/form-control/form-helper-text.js +13 -5
  148. package/dist/components/form-control/form-label.d.ts +1 -1
  149. package/dist/components/form-control/form-label.d.ts.map +1 -1
  150. package/dist/components/form-control/form-label.js +24 -11
  151. package/dist/components/grid/grid-item.d.ts +1 -1
  152. package/dist/components/grid/grid-item.d.ts.map +1 -1
  153. package/dist/components/grid/grid-item.js +12 -4
  154. package/dist/components/grid/grid.composition.d.ts +2 -2
  155. package/dist/components/grid/grid.composition.d.ts.map +1 -1
  156. package/dist/components/grid/grid.d.ts +1 -1
  157. package/dist/components/grid/grid.d.ts.map +1 -1
  158. package/dist/components/grid/grid.js +13 -5
  159. package/dist/components/heading/heading.composition.d.ts +3 -3
  160. package/dist/components/heading/heading.composition.d.ts.map +1 -1
  161. package/dist/components/heading/heading.d.ts +1 -1
  162. package/dist/components/heading/heading.d.ts.map +1 -1
  163. package/dist/components/heading/heading.js +21 -29
  164. package/dist/components/highlight/highlight.composition.d.ts +2 -2
  165. package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
  166. package/dist/components/highlight/highlight.d.ts +1 -1
  167. package/dist/components/highlight/highlight.d.ts.map +1 -1
  168. package/dist/components/highlight/highlight.js +19 -15
  169. package/dist/components/icon/create-icon.js +24 -15
  170. package/dist/components/icon/icon.composition.d.ts +1 -1
  171. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  172. package/dist/components/icon/icons/absence-icon.js +1 -4
  173. package/dist/components/icon/icons/accessibility-icon.js +1 -4
  174. package/dist/components/icon/icons/add-absence-icon.js +1 -4
  175. package/dist/components/icon/icons/add-emoji-icon.js +1 -4
  176. package/dist/components/icon/icons/add-icon.js +1 -4
  177. package/dist/components/icon/icons/apple-icon.js +1 -4
  178. package/dist/components/icon/icons/apps-icon.js +1 -4
  179. package/dist/components/icon/icons/archive-icon.js +4 -5
  180. package/dist/components/icon/icons/area-icon.js +1 -4
  181. package/dist/components/icon/icons/at-icon.js +1 -4
  182. package/dist/components/icon/icons/attachment-icon.js +1 -4
  183. package/dist/components/icon/icons/baby-icon.js +1 -4
  184. package/dist/components/icon/icons/back-icon.js +1 -4
  185. package/dist/components/icon/icons/backspace-icon.js +1 -4
  186. package/dist/components/icon/icons/bank-icon.js +1 -4
  187. package/dist/components/icon/icons/bank-id-icon.js +1 -4
  188. package/dist/components/icon/icons/barcode-icon.js +1 -4
  189. package/dist/components/icon/icons/bell-icon.js +1 -4
  190. package/dist/components/icon/icons/bolt-icon.js +4 -5
  191. package/dist/components/icon/icons/calendar-icon.js +1 -4
  192. package/dist/components/icon/icons/camera-icon.js +1 -4
  193. package/dist/components/icon/icons/cancel-icon.js +1 -4
  194. package/dist/components/icon/icons/card-icon.js +1 -4
  195. package/dist/components/icon/icons/cart-icon.js +1 -4
  196. package/dist/components/icon/icons/caspeco-icon.js +4 -5
  197. package/dist/components/icon/icons/channels-icon.js +1 -4
  198. package/dist/components/icon/icons/chart-icon.js +1 -4
  199. package/dist/components/icon/icons/chart-line-icon.js +1 -4
  200. package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
  201. package/dist/components/icon/icons/chart-pie-icon.js +1 -4
  202. package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
  203. package/dist/components/icon/icons/check-icon.js +1 -4
  204. package/dist/components/icon/icons/checkbox-icon.js +1 -4
  205. package/dist/components/icon/icons/chevron-left-icon.js +1 -4
  206. package/dist/components/icon/icons/chevron-right-icon.js +1 -4
  207. package/dist/components/icon/icons/child-icon.js +1 -4
  208. package/dist/components/icon/icons/circle-info-icon.js +1 -4
  209. package/dist/components/icon/icons/circle-parking-icon.js +1 -4
  210. package/dist/components/icon/icons/circle-question-icon.js +1 -4
  211. package/dist/components/icon/icons/circle-select-icon.js +1 -4
  212. package/dist/components/icon/icons/circle-success-icon.js +1 -4
  213. package/dist/components/icon/icons/circle-user-icon.js +1 -4
  214. package/dist/components/icon/icons/clear-icon.js +1 -4
  215. package/dist/components/icon/icons/close-icon.js +1 -4
  216. package/dist/components/icon/icons/closed-icon.js +1 -4
  217. package/dist/components/icon/icons/collapse-icon.js +1 -4
  218. package/dist/components/icon/icons/color-icon.js +1 -4
  219. package/dist/components/icon/icons/columns-icon.js +1 -4
  220. package/dist/components/icon/icons/comment-add-icon.js +1 -4
  221. package/dist/components/icon/icons/comment-icon.js +1 -4
  222. package/dist/components/icon/icons/cookies-icon.js +1 -4
  223. package/dist/components/icon/icons/copy-icon.js +1 -4
  224. package/dist/components/icon/icons/date-icon.js +1 -4
  225. package/dist/components/icon/icons/decrease-icon.js +1 -4
  226. package/dist/components/icon/icons/delete-icon.js +1 -4
  227. package/dist/components/icon/icons/deliverect-icon.js +1 -4
  228. package/dist/components/icon/icons/delivery-icon.js +1 -4
  229. package/dist/components/icon/icons/description-icon.js +1 -4
  230. package/dist/components/icon/icons/discount-icon.js +1 -4
  231. package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
  232. package/dist/components/icon/icons/door-closed-icon.js +1 -4
  233. package/dist/components/icon/icons/door-open-icon.js +1 -4
  234. package/dist/components/icon/icons/down-icon.js +1 -4
  235. package/dist/components/icon/icons/eat-in-icon.js +1 -4
  236. package/dist/components/icon/icons/edit-icon.js +1 -4
  237. package/dist/components/icon/icons/email-icon.js +1 -4
  238. package/dist/components/icon/icons/error-icon.js +1 -4
  239. package/dist/components/icon/icons/expand-icon.js +1 -4
  240. package/dist/components/icon/icons/export-icon.js +1 -4
  241. package/dist/components/icon/icons/extract-icon.js +1 -4
  242. package/dist/components/icon/icons/facebook-icon.js +1 -4
  243. package/dist/components/icon/icons/failed-print-icon.js +1 -4
  244. package/dist/components/icon/icons/file-icon.js +1 -4
  245. package/dist/components/icon/icons/filter-icon.js +1 -4
  246. package/dist/components/icon/icons/folder-icon.js +1 -4
  247. package/dist/components/icon/icons/foodora-icon.js +1 -4
  248. package/dist/components/icon/icons/forward-icon.js +1 -4
  249. package/dist/components/icon/icons/glovo-icon.js +4 -5
  250. package/dist/components/icon/icons/goal-icon.js +1 -4
  251. package/dist/components/icon/icons/google-icon.js +1 -4
  252. package/dist/components/icon/icons/grip-more-icon.js +1 -4
  253. package/dist/components/icon/icons/hash-icon.js +1 -4
  254. package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
  255. package/dist/components/icon/icons/hide-icon.js +1 -4
  256. package/dist/components/icon/icons/history-icon.js +1 -4
  257. package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
  258. package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
  259. package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
  260. package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
  261. package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
  262. package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
  263. package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
  264. package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
  265. package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
  266. package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
  267. package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
  268. package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
  269. package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
  270. package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
  271. package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
  272. package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
  273. package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
  274. package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
  275. package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
  276. package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
  277. package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
  278. package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
  279. package/dist/components/icon/icons/image-icon.js +1 -4
  280. package/dist/components/icon/icons/import-icon.js +1 -4
  281. package/dist/components/icon/icons/inbox-icon.js +1 -4
  282. package/dist/components/icon/icons/increase-icon.js +1 -4
  283. package/dist/components/icon/icons/indeterminate-icon.js +1 -4
  284. package/dist/components/icon/icons/info-icon.js +1 -4
  285. package/dist/components/icon/icons/inheritance-icon.js +1 -4
  286. package/dist/components/icon/icons/just-eat-icon.js +1 -4
  287. package/dist/components/icon/icons/karma-icon.js +1 -4
  288. package/dist/components/icon/icons/key-command-icon.js +1 -4
  289. package/dist/components/icon/icons/key-enter-icon.js +1 -4
  290. package/dist/components/icon/icons/key-icon.js +1 -4
  291. package/dist/components/icon/icons/key-option-icon.js +1 -4
  292. package/dist/components/icon/icons/language-icon.js +1 -4
  293. package/dist/components/icon/icons/link-broken-icon.js +1 -4
  294. package/dist/components/icon/icons/link-external-icon.js +1 -4
  295. package/dist/components/icon/icons/link-icon.js +1 -4
  296. package/dist/components/icon/icons/list-ol-icon.js +1 -4
  297. package/dist/components/icon/icons/list-ul-icon.js +1 -4
  298. package/dist/components/icon/icons/loading-icon.js +1 -4
  299. package/dist/components/icon/icons/location-icon.js +1 -4
  300. package/dist/components/icon/icons/lock-icon.js +1 -4
  301. package/dist/components/icon/icons/log-in-icon.js +1 -4
  302. package/dist/components/icon/icons/log-out-icon.js +1 -4
  303. package/dist/components/icon/icons/map-icon.js +1 -4
  304. package/dist/components/icon/icons/maximize-icon.js +1 -4
  305. package/dist/components/icon/icons/members-icon.js +1 -4
  306. package/dist/components/icon/icons/menu-hide-icon.js +1 -4
  307. package/dist/components/icon/icons/menu-icon.js +1 -4
  308. package/dist/components/icon/icons/menu-show-icon.js +1 -4
  309. package/dist/components/icon/icons/message-add-icon.js +1 -4
  310. package/dist/components/icon/icons/message-icon.js +1 -4
  311. package/dist/components/icon/icons/message-lines-icon.js +1 -4
  312. package/dist/components/icon/icons/minimize-icon.js +1 -4
  313. package/dist/components/icon/icons/minimize-window-icon.js +1 -4
  314. package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
  315. package/dist/components/icon/icons/module-accounting-icon.js +1 -4
  316. package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
  317. package/dist/components/icon/icons/module-app-icon.js +1 -4
  318. package/dist/components/icon/icons/module-articles-icon.js +1 -4
  319. package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
  320. package/dist/components/icon/icons/module-booking-icon.js +1 -4
  321. package/dist/components/icon/icons/module-cai-icon.js +1 -4
  322. package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
  323. package/dist/components/icon/icons/module-cashier-icon.js +1 -4
  324. package/dist/components/icon/icons/module-communication-icon.js +1 -4
  325. package/dist/components/icon/icons/module-copilot-icon.js +1 -4
  326. package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
  327. package/dist/components/icon/icons/module-document-icon.js +1 -4
  328. package/dist/components/icon/icons/module-employees-icon.js +1 -4
  329. package/dist/components/icon/icons/module-feed-icon.js +1 -4
  330. package/dist/components/icon/icons/module-history-icon.js +1 -4
  331. package/dist/components/icon/icons/module-home-icon.js +1 -4
  332. package/dist/components/icon/icons/module-insights-icon.js +1 -4
  333. package/dist/components/icon/icons/module-kds-icon.js +1 -4
  334. package/dist/components/icon/icons/module-members-icon.js +1 -4
  335. package/dist/components/icon/icons/module-menus-icon.js +1 -4
  336. package/dist/components/icon/icons/module-my-city-icon.js +1 -4
  337. package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
  338. package/dist/components/icon/icons/module-online-order-icon.js +1 -4
  339. package/dist/components/icon/icons/module-organisation-icon.js +1 -4
  340. package/dist/components/icon/icons/module-pos-icon.js +1 -4
  341. package/dist/components/icon/icons/module-pulse-icon.js +1 -4
  342. package/dist/components/icon/icons/module-result-icon.js +1 -4
  343. package/dist/components/icon/icons/module-salary-icon.js +1 -4
  344. package/dist/components/icon/icons/module-schedule-icon.js +1 -4
  345. package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
  346. package/dist/components/icon/icons/module-settings-icon.js +1 -4
  347. package/dist/components/icon/icons/module-support-icon.js +1 -4
  348. package/dist/components/icon/icons/module-survey-icon.js +1 -4
  349. package/dist/components/icon/icons/module-table-map-icon.js +4 -5
  350. package/dist/components/icon/icons/module-tablet-icon.js +1 -4
  351. package/dist/components/icon/icons/module-time-icon.js +1 -4
  352. package/dist/components/icon/icons/module-timeline-icon.js +1 -4
  353. package/dist/components/icon/icons/module-tip-icon.js +1 -4
  354. package/dist/components/icon/icons/module-to-do-icon.js +1 -4
  355. package/dist/components/icon/icons/module-tools-icon.js +1 -4
  356. package/dist/components/icon/icons/module-top-list-icon.js +1 -4
  357. package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
  358. package/dist/components/icon/icons/module-web-icon.js +1 -4
  359. package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
  360. package/dist/components/icon/icons/more-vertical-icon.js +1 -4
  361. package/dist/components/icon/icons/nfc-icon.js +1 -4
  362. package/dist/components/icon/icons/no-cart-icon.js +1 -4
  363. package/dist/components/icon/icons/note-icon.js +1 -4
  364. package/dist/components/icon/icons/number-icon.js +4 -5
  365. package/dist/components/icon/icons/open-modal-icon.js +1 -4
  366. package/dist/components/icon/icons/parking-icon.js +1 -4
  367. package/dist/components/icon/icons/party-horn-icon.js +1 -4
  368. package/dist/components/icon/icons/pause-icon.js +1 -4
  369. package/dist/components/icon/icons/payment-card-icon.js +1 -4
  370. package/dist/components/icon/icons/payment-cash-icon.js +1 -4
  371. package/dist/components/icon/icons/payment-generic-icon.js +1 -4
  372. package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
  373. package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
  374. package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
  375. package/dist/components/icon/icons/percentage-icon.js +1 -4
  376. package/dist/components/icon/icons/phone-icon.js +1 -4
  377. package/dist/components/icon/icons/pin-icon.js +1 -4
  378. package/dist/components/icon/icons/pin-map-icon.js +1 -4
  379. package/dist/components/icon/icons/play-icon.js +1 -4
  380. package/dist/components/icon/icons/preview-icon.js +1 -4
  381. package/dist/components/icon/icons/print-icon.js +1 -4
  382. package/dist/components/icon/icons/privacy-icon.js +1 -4
  383. package/dist/components/icon/icons/product-admin-icon.js +1 -4
  384. package/dist/components/icon/icons/product-analytics-icon.js +1 -4
  385. package/dist/components/icon/icons/product-booking-icon.js +1 -4
  386. package/dist/components/icon/icons/product-checkout-icon.js +1 -4
  387. package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
  388. package/dist/components/icon/icons/product-staff-icon.js +1 -4
  389. package/dist/components/icon/icons/puck-icon.js +1 -4
  390. package/dist/components/icon/icons/qr-code-icon.js +1 -4
  391. package/dist/components/icon/icons/question-icon.js +1 -4
  392. package/dist/components/icon/icons/radio-icon.js +1 -4
  393. package/dist/components/icon/icons/receipt-icon.js +1 -4
  394. package/dist/components/icon/icons/redo-icon.js +1 -4
  395. package/dist/components/icon/icons/refund-icon.js +1 -4
  396. package/dist/components/icon/icons/remove-icon.js +1 -4
  397. package/dist/components/icon/icons/replace-icon.js +1 -4
  398. package/dist/components/icon/icons/schedule-icon.js +1 -4
  399. package/dist/components/icon/icons/search-icon.js +1 -4
  400. package/dist/components/icon/icons/select-icon.js +1 -4
  401. package/dist/components/icon/icons/send-icon.js +1 -4
  402. package/dist/components/icon/icons/share-icon.js +1 -4
  403. package/dist/components/icon/icons/show-icon.js +1 -4
  404. package/dist/components/icon/icons/shuffle-icon.js +1 -4
  405. package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
  406. package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
  407. package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
  408. package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
  409. package/dist/components/icon/icons/sliders-icon.js +1 -4
  410. package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
  411. package/dist/components/icon/icons/smile-icon.js +1 -4
  412. package/dist/components/icon/icons/sort-asc-icon.js +1 -4
  413. package/dist/components/icon/icons/sort-desc-icon.js +1 -4
  414. package/dist/components/icon/icons/split-icon.js +1 -4
  415. package/dist/components/icon/icons/status-icon.js +1 -4
  416. package/dist/components/icon/icons/stop-icon.js +1 -4
  417. package/dist/components/icon/icons/submenu-icon.js +1 -4
  418. package/dist/components/icon/icons/success-icon.js +1 -4
  419. package/dist/components/icon/icons/swap-icon.js +1 -4
  420. package/dist/components/icon/icons/swatch-icon.js +1 -4
  421. package/dist/components/icon/icons/sweat-icon.js +1 -4
  422. package/dist/components/icon/icons/table-icon.js +1 -4
  423. package/dist/components/icon/icons/table-map-icon.js +1 -4
  424. package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
  425. package/dist/components/icon/icons/take-away-icon.js +1 -4
  426. package/dist/components/icon/icons/talk-icon.js +1 -4
  427. package/dist/components/icon/icons/thumbtack-icon.js +1 -4
  428. package/dist/components/icon/icons/time-icon.js +1 -4
  429. package/dist/components/icon/icons/timeline-icon.js +1 -4
  430. package/dist/components/icon/icons/tip-icon.js +1 -4
  431. package/dist/components/icon/icons/title-icon.js +1 -4
  432. package/dist/components/icon/icons/translate-icon.js +1 -4
  433. package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
  434. package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
  435. package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
  436. package/dist/components/icon/icons/trend-down-icon.js +1 -4
  437. package/dist/components/icon/icons/trend-up-icon.js +1 -4
  438. package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
  439. package/dist/components/icon/icons/trivec-icon.js +4 -5
  440. package/dist/components/icon/icons/uber-eats-icon.js +1 -4
  441. package/dist/components/icon/icons/undo-icon.js +1 -4
  442. package/dist/components/icon/icons/unlock-icon.js +1 -4
  443. package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
  444. package/dist/components/icon/icons/up-icon.js +1 -4
  445. package/dist/components/icon/icons/user-group-icon.js +1 -4
  446. package/dist/components/icon/icons/user-icon.js +1 -4
  447. package/dist/components/icon/icons/user-permissions-icon.js +1 -4
  448. package/dist/components/icon/icons/user-wait-icon.js +1 -4
  449. package/dist/components/icon/icons/users-icon.js +1 -4
  450. package/dist/components/icon/icons/version-control-icon.js +1 -4
  451. package/dist/components/icon/icons/volume-high-icon.js +1 -4
  452. package/dist/components/icon/icons/volume-icon.js +1 -4
  453. package/dist/components/icon/icons/volume-low-icon.js +1 -4
  454. package/dist/components/icon/icons/volume-off-icon.js +1 -4
  455. package/dist/components/icon/icons/warning-icon.js +1 -4
  456. package/dist/components/icon/icons/waste-icon.js +1 -4
  457. package/dist/components/icon/icons/wifi-icon.js +1 -4
  458. package/dist/components/icon/icons/wifi-off-icon.js +1 -4
  459. package/dist/components/icon/icons/wolt-icon.js +1 -4
  460. package/dist/components/icon/icons/wrap-content-icon.js +1 -4
  461. package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
  462. package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
  463. package/dist/components/icon-button/icon-button.js +38 -32
  464. package/dist/components/image/image.composition.d.ts +1 -1
  465. package/dist/components/image/image.composition.d.ts.map +1 -1
  466. package/dist/components/image/image.d.ts +1 -1
  467. package/dist/components/image/image.d.ts.map +1 -1
  468. package/dist/components/image/image.js +12 -5
  469. package/dist/components/image-upload/image-cropper.d.ts +2 -1
  470. package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
  471. package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
  472. package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
  473. package/dist/components/image-upload/image-cropper.helper.js +38 -40
  474. package/dist/components/image-upload/image-cropper.js +63 -73
  475. package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
  476. package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
  477. package/dist/components/image-upload/image-upload-dropzone.js +102 -72
  478. package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
  479. package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
  480. package/dist/components/image-upload/image-upload-icons.js +19 -26
  481. package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
  482. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  483. package/dist/components/image-upload/image-upload-modal.js +54 -95
  484. package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
  485. package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
  486. package/dist/components/image-upload/image-upload.d.ts +1 -1
  487. package/dist/components/image-upload/image-upload.d.ts.map +1 -1
  488. package/dist/components/image-upload/image-upload.js +69 -78
  489. package/dist/components/input/input.composition.d.ts +9 -9
  490. package/dist/components/input/input.composition.d.ts.map +1 -1
  491. package/dist/components/input/input.d.ts +1 -1
  492. package/dist/components/input/input.js +54 -58
  493. package/dist/components/input/types.d.ts +5 -4
  494. package/dist/components/input/types.d.ts.map +1 -1
  495. package/dist/components/link/link.composition.d.ts +2 -2
  496. package/dist/components/link/link.composition.d.ts.map +1 -1
  497. package/dist/components/link/link.d.ts +1 -1
  498. package/dist/components/link/link.d.ts.map +1 -1
  499. package/dist/components/link/link.js +11 -3
  500. package/dist/components/list/list-item.d.ts +1 -1
  501. package/dist/components/list/list-item.d.ts.map +1 -1
  502. package/dist/components/list/list-item.js +13 -5
  503. package/dist/components/list/list.composition.d.ts +1 -1
  504. package/dist/components/list/list.composition.d.ts.map +1 -1
  505. package/dist/components/list/list.d.ts +1 -1
  506. package/dist/components/list/list.d.ts.map +1 -1
  507. package/dist/components/list/list.js +17 -11
  508. package/dist/components/menu/menu-box-button.js +16 -8
  509. package/dist/components/menu/menu-button.d.ts +1 -1
  510. package/dist/components/menu/menu-button.d.ts.map +1 -1
  511. package/dist/components/menu/menu-button.js +15 -5
  512. package/dist/components/menu/menu-divider.d.ts +2 -1
  513. package/dist/components/menu/menu-divider.d.ts.map +1 -1
  514. package/dist/components/menu/menu-divider.js +21 -12
  515. package/dist/components/menu/menu-group.d.ts +3 -2
  516. package/dist/components/menu/menu-group.d.ts.map +1 -1
  517. package/dist/components/menu/menu-group.js +131 -129
  518. package/dist/components/menu/menu-icon-button.d.ts +1 -1
  519. package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
  520. package/dist/components/menu/menu-icon-button.js +10 -5
  521. package/dist/components/menu/menu-item.d.ts +1 -1
  522. package/dist/components/menu/menu-item.d.ts.map +1 -1
  523. package/dist/components/menu/menu-item.js +43 -32
  524. package/dist/components/menu/menu-list.d.ts +1 -1
  525. package/dist/components/menu/menu-list.d.ts.map +1 -1
  526. package/dist/components/menu/menu-list.js +14 -4
  527. package/dist/components/menu/menu-recipe.js +6 -2
  528. package/dist/components/menu/menu.composition.d.ts +10 -10
  529. package/dist/components/menu/menu.composition.d.ts.map +1 -1
  530. package/dist/components/menu/menu.js +36 -19
  531. package/dist/components/message/message.composition.d.ts +1 -1
  532. package/dist/components/message/message.composition.d.ts.map +1 -1
  533. package/dist/components/message/message.d.ts +1 -1
  534. package/dist/components/message/message.d.ts.map +1 -1
  535. package/dist/components/message/message.js +36 -58
  536. package/dist/components/modal/modal-body.d.ts +1 -1
  537. package/dist/components/modal/modal-body.d.ts.map +1 -1
  538. package/dist/components/modal/modal-body.js +15 -7
  539. package/dist/components/modal/modal-close-button.d.ts +1 -1
  540. package/dist/components/modal/modal-close-button.d.ts.map +1 -1
  541. package/dist/components/modal/modal-close-button.js +16 -16
  542. package/dist/components/modal/modal-footer.d.ts +1 -1
  543. package/dist/components/modal/modal-footer.d.ts.map +1 -1
  544. package/dist/components/modal/modal-footer.js +29 -18
  545. package/dist/components/modal/modal-header.d.ts +1 -1
  546. package/dist/components/modal/modal-header.d.ts.map +1 -1
  547. package/dist/components/modal/modal-header.js +15 -5
  548. package/dist/components/modal/modal.composition.d.ts +11 -11
  549. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  550. package/dist/components/modal/modal.d.ts +1 -1
  551. package/dist/components/modal/modal.d.ts.map +1 -1
  552. package/dist/components/modal/modal.js +53 -43
  553. package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
  554. package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
  555. package/dist/components/navigation-list/navigation-list-item.js +54 -67
  556. package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
  557. package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
  558. package/dist/components/navigation-list/navigation-list.d.ts +1 -1
  559. package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
  560. package/dist/components/navigation-list/navigation-list.js +15 -5
  561. package/dist/components/paginator/paginator.composition.d.ts +2 -2
  562. package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
  563. package/dist/components/paginator/paginator.d.ts +1 -1
  564. package/dist/components/paginator/paginator.d.ts.map +1 -1
  565. package/dist/components/paginator/paginator.js +67 -51
  566. package/dist/components/quantity-button/minus-button.d.ts +1 -1
  567. package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
  568. package/dist/components/quantity-button/minus-button.js +14 -16
  569. package/dist/components/quantity-button/plus-button.d.ts +1 -1
  570. package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
  571. package/dist/components/quantity-button/plus-button.js +14 -16
  572. package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
  573. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  574. package/dist/components/quantity-button/quantity-button.d.ts +1 -1
  575. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  576. package/dist/components/quantity-button/quantity-button.js +38 -74
  577. package/dist/components/radio/check-icon.js +1 -6
  578. package/dist/components/radio/radio-group-context.js +2 -2
  579. package/dist/components/radio/radio-group.composition.d.ts +5 -5
  580. package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
  581. package/dist/components/radio/radio-group.d.ts +1 -1
  582. package/dist/components/radio/radio-group.d.ts.map +1 -1
  583. package/dist/components/radio/radio-group.js +26 -33
  584. package/dist/components/radio/radio.composition.d.ts +2 -2
  585. package/dist/components/radio/radio.composition.d.ts.map +1 -1
  586. package/dist/components/radio/radio.js +53 -49
  587. package/dist/components/radio-card/radio-card-group.d.ts +1 -1
  588. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  589. package/dist/components/radio-card/radio-card-group.js +23 -31
  590. package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
  591. package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
  592. package/dist/components/radio-card/radio-card.js +64 -81
  593. package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
  594. package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
  595. package/dist/components/rich-text-editor/boolean-control.js +50 -30
  596. package/dist/components/rich-text-editor/extensions.js +15 -17
  597. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
  598. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  599. package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
  600. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
  601. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
  602. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
  603. package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
  604. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  605. package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
  606. package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
  607. package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
  608. package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
  609. package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
  610. package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
  611. package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
  612. package/dist/components/segmented-control/segmented-control-item.js +23 -25
  613. package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
  614. package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
  615. package/dist/components/segmented-control/segmented-control.d.ts +1 -1
  616. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  617. package/dist/components/segmented-control/segmented-control.js +38 -38
  618. package/dist/components/segmented-control/types.d.ts +2 -1
  619. package/dist/components/segmented-control/types.d.ts.map +1 -1
  620. package/dist/components/select/select.composition.d.ts +3 -3
  621. package/dist/components/select/select.composition.d.ts.map +1 -1
  622. package/dist/components/select/select.js +27 -12
  623. package/dist/components/skeleton/skeleton-text.d.ts +1 -1
  624. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  625. package/dist/components/skeleton/skeleton-text.js +17 -12
  626. package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
  627. package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
  628. package/dist/components/skeleton/skeleton.d.ts +1 -1
  629. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  630. package/dist/components/skeleton/skeleton.js +18 -13
  631. package/dist/components/spinner/spinner.composition.d.ts +2 -2
  632. package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
  633. package/dist/components/spinner/spinner.d.ts +1 -1
  634. package/dist/components/spinner/spinner.d.ts.map +1 -1
  635. package/dist/components/spinner/spinner.js +26 -49
  636. package/dist/components/stack/stack.composition.d.ts +3 -3
  637. package/dist/components/stack/stack.composition.d.ts.map +1 -1
  638. package/dist/components/stack/stack.js +17 -7
  639. package/dist/components/stepper/check-icon.js +1 -6
  640. package/dist/components/stepper/step-context.d.ts +2 -1
  641. package/dist/components/stepper/step-context.d.ts.map +1 -1
  642. package/dist/components/stepper/step.d.ts +1 -1
  643. package/dist/components/stepper/step.d.ts.map +1 -1
  644. package/dist/components/stepper/step.js +89 -69
  645. package/dist/components/stepper/stepper.composition.d.ts +6 -6
  646. package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
  647. package/dist/components/stepper/stepper.d.ts +1 -1
  648. package/dist/components/stepper/stepper.d.ts.map +1 -1
  649. package/dist/components/stepper/stepper.js +41 -21
  650. package/dist/components/stepper/times-icon.js +1 -6
  651. package/dist/components/stepper/types.d.ts +2 -1
  652. package/dist/components/stepper/types.d.ts.map +1 -1
  653. package/dist/components/switch/switch.composition.d.ts +2 -2
  654. package/dist/components/switch/switch.composition.d.ts.map +1 -1
  655. package/dist/components/switch/switch.js +29 -33
  656. package/dist/components/table/table-cell.d.ts +1 -1
  657. package/dist/components/table/table-cell.d.ts.map +1 -1
  658. package/dist/components/table/table-cell.js +67 -92
  659. package/dist/components/table/table-content.d.ts +1 -1
  660. package/dist/components/table/table-content.d.ts.map +1 -1
  661. package/dist/components/table/table-content.js +26 -76
  662. package/dist/components/table/table-context-provider.d.ts +1 -1
  663. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  664. package/dist/components/table/table-context-provider.js +28 -49
  665. package/dist/components/table/table-context.d.ts.map +1 -1
  666. package/dist/components/table/table-filter.d.ts +1 -1
  667. package/dist/components/table/table-filter.d.ts.map +1 -1
  668. package/dist/components/table/table-filter.js +68 -96
  669. package/dist/components/table/table-header-dropdown.d.ts +1 -1
  670. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  671. package/dist/components/table/table-header-dropdown.js +65 -113
  672. package/dist/components/table/table-header-row.d.ts +1 -1
  673. package/dist/components/table/table-header-row.d.ts.map +1 -1
  674. package/dist/components/table/table-header-row.js +53 -106
  675. package/dist/components/table/table-recipe.js +6 -2
  676. package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
  677. package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
  678. package/dist/components/table/table-row-expand-toggle-button.js +26 -23
  679. package/dist/components/table/table-row.d.ts +1 -1
  680. package/dist/components/table/table-row.d.ts.map +1 -1
  681. package/dist/components/table/table-row.js +8 -26
  682. package/dist/components/table/table-toolbar-actions.d.ts +1 -1
  683. package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
  684. package/dist/components/table/table-toolbar-actions.js +4 -10
  685. package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
  686. package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
  687. package/dist/components/table/table-toolbar-search.d.ts +1 -1
  688. package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
  689. package/dist/components/table/table-toolbar-search.js +6 -11
  690. package/dist/components/table/table-toolbar-settings.d.ts +1 -1
  691. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  692. package/dist/components/table/table-toolbar-settings.js +75 -144
  693. package/dist/components/table/table-toolbar.d.ts +1 -1
  694. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  695. package/dist/components/table/table-toolbar.js +28 -34
  696. package/dist/components/table/table.composition.d.ts +5 -4
  697. package/dist/components/table/table.composition.d.ts.map +1 -1
  698. package/dist/components/table/table.d.ts +1 -1
  699. package/dist/components/table/table.d.ts.map +1 -1
  700. package/dist/components/table/table.js +1 -34
  701. package/dist/components/tabs/tab-list.d.ts +1 -1
  702. package/dist/components/tabs/tab-list.d.ts.map +1 -1
  703. package/dist/components/tabs/tab-list.js +15 -5
  704. package/dist/components/tabs/tab-panel.d.ts +1 -1
  705. package/dist/components/tabs/tab-panel.d.ts.map +1 -1
  706. package/dist/components/tabs/tab-panel.js +13 -5
  707. package/dist/components/tabs/tab-panels.d.ts +1 -1
  708. package/dist/components/tabs/tab-panels.d.ts.map +1 -1
  709. package/dist/components/tabs/tab-panels.js +12 -4
  710. package/dist/components/tabs/tab-with-image.d.ts +1 -1
  711. package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
  712. package/dist/components/tabs/tab-with-image.js +51 -32
  713. package/dist/components/tabs/tab.d.ts +1 -1
  714. package/dist/components/tabs/tab.d.ts.map +1 -1
  715. package/dist/components/tabs/tab.js +21 -16
  716. package/dist/components/tabs/tabs-recipe.js +3 -1
  717. package/dist/components/tabs/tabs.composition.d.ts +6 -6
  718. package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
  719. package/dist/components/tabs/tabs.d.ts +1 -1
  720. package/dist/components/tabs/tabs.d.ts.map +1 -1
  721. package/dist/components/tabs/tabs.js +22 -16
  722. package/dist/components/tag/tag-recipe.js +6 -1
  723. package/dist/components/tag/tag.composition.d.ts +4 -4
  724. package/dist/components/tag/tag.composition.d.ts.map +1 -1
  725. package/dist/components/tag/tag.d.ts +20 -20
  726. package/dist/components/tag/tag.d.ts.map +1 -1
  727. package/dist/components/tag/tag.js +41 -35
  728. package/dist/components/tag/types.d.ts +3 -2
  729. package/dist/components/tag/types.d.ts.map +1 -1
  730. package/dist/components/text/text.composition.d.ts +4 -4
  731. package/dist/components/text/text.composition.d.ts.map +1 -1
  732. package/dist/components/text/text.d.ts +1 -1
  733. package/dist/components/text/text.d.ts.map +1 -1
  734. package/dist/components/text/text.js +25 -35
  735. package/dist/components/textarea/textarea.composition.d.ts +3 -3
  736. package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
  737. package/dist/components/textarea/textarea.js +16 -16
  738. package/dist/components/toaster/toast-store.d.ts +2 -1
  739. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  740. package/dist/components/toaster/toast-store.js +19 -12
  741. package/dist/components/toaster/toaster.composition.d.ts +6 -6
  742. package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
  743. package/dist/components/toaster/toaster.d.ts +1 -1
  744. package/dist/components/toaster/toaster.d.ts.map +1 -1
  745. package/dist/components/toaster/toaster.js +33 -18
  746. package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
  747. package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
  748. package/dist/components/toggle-button/toggle-button.d.ts +1 -1
  749. package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
  750. package/dist/components/toggle-button/toggle-button.js +23 -17
  751. package/dist/components/toggle-button/use-button-children.js +33 -24
  752. package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
  753. package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
  754. package/dist/components/tooltip/tooltip.d.ts +1 -1
  755. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  756. package/dist/components/tooltip/tooltip.js +44 -32
  757. package/dist/hooks/use-color-mode.js +20 -11
  758. package/dist/hooks/use-disclosure.js +8 -2
  759. package/dist/hooks/use-remove-attributes.js +20 -12
  760. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
  761. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
  762. package/dist/node_modules/react/compiler-runtime.js +10 -0
  763. package/dist/theme/theme-provider-context.composition.d.ts +9 -9
  764. package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
  765. package/dist/theme/theme-provider.d.ts +1 -1
  766. package/dist/theme/theme-provider.d.ts.map +1 -1
  767. package/dist/theme/theme-provider.js +32 -28
  768. package/dist/theme/theme.js +6 -2
  769. package/package.json +7 -6
@@ -1,17 +1,24 @@
1
- import { jsxs as c, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
+ import { c as h } from "../../_virtual/compiler-runtime.js";
2
3
  import { Flex as f } from "@chakra-ui/react";
3
- import { Box as o } from "../box/box.js";
4
- import { Highlight as n } from "../highlight/highlight.js";
5
- import { Tag as t } from "../tag/tag.js";
6
- import { ThemeSpaceVariable as h } from "../../theme/theme-types.js";
7
- function u({ item: r, asPlainText: a, isDeleting: l, highlightQuery: p }) {
8
- const d = l ? "primary" : r.variant ?? "neutral", i = l || (r.solid ?? !1);
9
- return a ? /* @__PURE__ */ c(f, { gap: h.XSmall, overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: [
4
+ import { Box as a } from "../box/box.js";
5
+ import { Highlight as m } from "../highlight/highlight.js";
6
+ import { Tag as x } from "../tag/tag.js";
7
+ import { ThemeSpaceVariable as w } from "../../theme/theme-types.js";
8
+ function j(s) {
9
+ const e = h.c(8), {
10
+ item: r,
11
+ asPlainText: o,
12
+ isDeleting: d,
13
+ highlightQuery: l
14
+ } = s, n = d ? "primary" : r.variant ?? "neutral", t = d || (r.solid ?? !1);
15
+ let p;
16
+ return e[0] !== o || e[1] !== l || e[2] !== r.append || e[3] !== r.label || e[4] !== r.prepend || e[5] !== t || e[6] !== n ? (p = o ? /* @__PURE__ */ c(f, { gap: w.XSmall, overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: [
10
17
  r.prepend,
11
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(n, { query: p ?? "", children: r.label }) }),
18
+ /* @__PURE__ */ i(a, { children: /* @__PURE__ */ i(m, { query: l ?? "", children: r.label }) }),
12
19
  r.append
13
- ] }) : /* @__PURE__ */ e(o, { overflow: "hidden", children: /* @__PURE__ */ e(t, { variant: d, solid: i, prepend: r.prepend, append: r.append, children: /* @__PURE__ */ e(o, { display: "block", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: /* @__PURE__ */ e(n, { query: p ?? "", children: r.label }) }) }) });
20
+ ] }) : /* @__PURE__ */ i(a, { overflow: "hidden", children: /* @__PURE__ */ i(x, { variant: n, solid: t, prepend: r.prepend, append: r.append, children: /* @__PURE__ */ i(a, { display: "block", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: /* @__PURE__ */ i(m, { query: l ?? "", children: r.label }) }) }) }), e[0] = o, e[1] = l, e[2] = r.append, e[3] = r.label, e[4] = r.prepend, e[5] = t, e[6] = n, e[7] = p) : p = e[7], p;
14
21
  }
15
22
  export {
16
- u as ComboboxItem
23
+ j as ComboboxItem
17
24
  };
@@ -3,7 +3,7 @@ type CheckboxOrRadioButtonProps = {
3
3
  isSingleSelect: boolean;
4
4
  isChecked: boolean;
5
5
  };
6
- export declare function CheckboxOrRadioButton({ isSingleSelect, isChecked }: CheckboxOrRadioButtonProps): import("react/jsx-runtime").JSX.Element;
7
- export declare function ComboboxMenu(props: ComboboxInnerProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CheckboxOrRadioButton({ isSingleSelect, isChecked }: CheckboxOrRadioButtonProps): import("react").JSX.Element;
7
+ export declare function ComboboxMenu(props: ComboboxInnerProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=combobox-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"combobox-menu.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-menu.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACX,kBAAkB,EAIlB,MAAM,SAAS,CAAC;AAyCjB,KAAK,0BAA0B,GAAG;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AAElF,wBAAgB,qBAAqB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,0BAA0B,2CAQ9F;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,2CAoGrD"}
1
+ {"version":3,"file":"combobox-menu.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-menu.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACX,kBAAkB,EAIlB,MAAM,SAAS,CAAC;AAyCjB,KAAK,0BAA0B,GAAG;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AAElF,wBAAgB,qBAAqB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,0BAA0B,+BAQ9F;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,+BAoGrD"}
@@ -1,294 +1,195 @@
1
- import { jsxs as g, jsx as r, Fragment as E } from "react/jsx-runtime";
2
- import { Box as v, Flex as y } from "@chakra-ui/react";
3
- import { autoUpdate as L, computePosition as G, flip as _ } from "../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
4
- import { useState as Q, useEffect as U, Fragment as T } from "react";
5
- import { ComboboxItem as z } from "./combobox-item.js";
6
- import { interpolate as Y } from "./translations.js";
7
- import { ThemeColorVariable as d, ThemeShadowVariable as q, ThemeRadiusVariable as J, ThemeSpaceVariable as c, ThemeFontSizeVariable as K, ThemeBorderVariable as Z, ThemeIconSizeVariable as F } from "../../theme/theme-types.js";
8
- import { Text as V } from "../text/text.js";
9
- import { BackIcon as R } from "../icon/icons/back-icon.js";
10
- import { ForwardIcon as N } from "../icon/icons/forward-icon.js";
11
- import { Checkbox as D } from "../checkbox/checkbox.js";
12
- import { RadioGroup as ee } from "../radio/radio-group.js";
13
- import { Radio as re } from "../radio/radio.js";
14
- const ne = (n, t, s, h, a) => {
15
- const [b, x] = Q({
1
+ import { jsx as s, jsxs as w, Fragment as W } from "react/jsx-runtime";
2
+ import { c as z } from "../../_virtual/compiler-runtime.js";
3
+ import { Flex as V, Box as T } from "@chakra-ui/react";
4
+ import { autoUpdate as G, computePosition as Q, flip as U } from "../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
5
+ import { useState as Y, useEffect as q, Fragment as A } from "react";
6
+ import { ComboboxItem as _ } from "./combobox-item.js";
7
+ import { interpolate as J } from "./translations.js";
8
+ import { Text as D } from "../text/text.js";
9
+ import { ThemeColorVariable as x, ThemeSpaceVariable as m, ThemeFontSizeVariable as K, ThemeBorderVariable as Z, ThemeShadowVariable as N, ThemeRadiusVariable as R, ThemeIconSizeVariable as X } from "../../theme/theme-types.js";
10
+ import { BackIcon as ee } from "../icon/icons/back-icon.js";
11
+ import { ForwardIcon as te } from "../icon/icons/forward-icon.js";
12
+ import { Checkbox as E } from "../checkbox/checkbox.js";
13
+ import { RadioGroup as ne } from "../radio/radio-group.js";
14
+ import { Radio as oe } from "../radio/radio.js";
15
+ const re = (i, e, c, o, a) => {
16
+ const t = z.c(8);
17
+ let h;
18
+ t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
16
19
  transform: "translate(0, 0)",
17
20
  minWidth: 0
18
- });
19
- return U(() => {
20
- if (!n.current || !t.current || !s) return () => {
21
- };
22
- const k = async () => {
23
- if (n.current && t.current && s) {
24
- const { width: p } = n.current.getBoundingClientRect(), { x: P, y: u } = await G(n.current, t.current, {
21
+ }, t[0] = h) : h = t[0];
22
+ const [g, f] = Y(h);
23
+ let p, k;
24
+ return t[1] !== c || t[2] !== i || t[3] !== a || t[4] !== o || t[5] !== e ? (p = () => {
25
+ if (!i.current || !e.current || !c)
26
+ return ce;
27
+ const $ = async () => {
28
+ if (i.current && e.current && c) {
29
+ const {
30
+ width: n
31
+ } = i.current.getBoundingClientRect(), {
32
+ x: r,
33
+ y: l
34
+ } = await Q(i.current, e.current, {
25
35
  placement: a || "bottom-start",
26
- middleware: [_()]
36
+ middleware: [U()]
27
37
  });
28
- x({
29
- transform: `translate(${P}px, ${u}px)`,
30
- minWidth: h || p
38
+ f({
39
+ transform: `translate(${r}px, ${l}px)`,
40
+ minWidth: o || n
31
41
  });
32
42
  }
33
- }, w = () => {
34
- k().catch(console.error);
43
+ }, d = () => {
44
+ $().catch(console.error);
35
45
  };
36
- return L(n.current, t.current, w);
37
- }, [n, t, s, a, h]), b;
46
+ return G(i.current, e.current, d);
47
+ }, k = [i, e, c, a, o], t[1] = c, t[2] = i, t[3] = a, t[4] = o, t[5] = e, t[6] = p, t[7] = k) : (p = t[6], k = t[7]), q(p, k), g;
38
48
  };
39
- function H({ isSingleSelect: n, isChecked: t }) {
40
- return n ? /* @__PURE__ */ r(ee, { value: t ? "true" : "false", children: /* @__PURE__ */ r(re, { value: "true" }) }) : /* @__PURE__ */ r(D, { isChecked: t });
49
+ function j(i) {
50
+ const e = z.c(3), {
51
+ isSingleSelect: c,
52
+ isChecked: o
53
+ } = i;
54
+ let a;
55
+ return e[0] !== o || e[1] !== c ? (a = c ? /* @__PURE__ */ s(ne, { value: o ? "true" : "false", children: /* @__PURE__ */ s(oe, { value: "true" }) }) : /* @__PURE__ */ s(E, { isChecked: o }), e[0] = o, e[1] = c, e[2] = a) : a = e[2], a;
41
56
  }
42
- function be(n) {
43
- const {
44
- inputValue: t,
45
- displayItems: s,
46
- highlightState: h,
47
- openState: a,
48
- isSingleSelect: b,
49
- isSearching: x,
50
- isHidingItems: k,
51
- popoverWidth: w,
52
- popoverPlacement: p,
53
- parentRef: P,
54
- popupRef: u,
55
- footerContent: l,
56
- translation: e,
57
- folderStyle: i
58
- } = n, o = ne(
59
- P,
60
- u,
61
- a.isOpen,
62
- w,
63
- p
64
- ), C = (m) => {
65
- h.set(m);
66
- };
67
- return /* @__PURE__ */ g(
57
+ function we(i) {
58
+ const e = z.c(32), {
59
+ inputValue: c,
60
+ displayItems: o,
61
+ highlightState: a,
62
+ openState: t,
63
+ isSingleSelect: h,
64
+ isSearching: g,
65
+ isHidingItems: f,
66
+ popoverWidth: p,
67
+ popoverPlacement: k,
68
+ parentRef: $,
69
+ popupRef: d,
70
+ footerContent: n,
71
+ translation: r,
72
+ folderStyle: l
73
+ } = i, O = re($, d, t.isOpen, p, k);
74
+ let C;
75
+ e[0] !== a ? (C = (H) => {
76
+ a.set(H);
77
+ }, e[0] = a, e[1] = C) : C = e[1];
78
+ const y = C, I = t.isOpen ? "block" : "none";
79
+ let S;
80
+ e[2] !== h || e[3] !== t ? (S = (H) => {
81
+ H.preventDefault(), H.stopPropagation(), h && t.close();
82
+ }, e[2] = h, e[3] = t, e[4] = S) : S = e[4];
83
+ const b = !h;
84
+ let v;
85
+ e[5] !== o || e[6] !== c || e[7] !== g || e[8] !== r ? (v = g && o.length === 0 && c.length > 0 && /* @__PURE__ */ s(D, { px: m.Small, color: x.OnSurfaceSubdued, children: `${r.noMatchFor} "${c}"` }), e[5] = o, e[6] = c, e[7] = g, e[8] = r, e[9] = v) : v = e[9];
86
+ let P;
87
+ e[10] !== l || e[11] !== y || e[12] !== i ? (P = l === "stacked" ? /* @__PURE__ */ s(ie, { ...i, onHover: y }) : /* @__PURE__ */ s(le, { ...i, onHover: y }), e[10] = l, e[11] = y, e[12] = i, e[13] = P) : P = e[13];
88
+ let u;
89
+ e[14] !== o || e[15] !== f || e[16] !== r ? (u = f && /* @__PURE__ */ s(D, { px: m.Small, py: m.Small, color: x.OnSurfaceSubdued, fontSize: K.Small, children: J(r.showMaxItems, {
90
+ count: o.length
91
+ }) }), e[14] = o, e[15] = f, e[16] = r, e[17] = u) : u = e[17];
92
+ let B;
93
+ e[18] !== b || e[19] !== v || e[20] !== P || e[21] !== u ? (B = /* @__PURE__ */ w(V, { as: "ul", flexDirection: "column", maxHeight: "300px", overflowY: "auto", overflowX: "hidden", role: "listbox", "aria-multiselectable": b, padding: `${m.Small} 0`, children: [
68
94
  v,
69
- {
70
- display: a.isOpen ? "block" : "none",
71
- inset: "0 auto auto 0",
72
- position: "fixed",
73
- zIndex: "50",
74
- visibility: "visible",
75
- backgroundColor: d.Surface,
76
- borderRadius: J.Medium,
77
- boxShadow: q.Medium,
78
- color: d.OnSurface,
79
- overflow: "hidden",
80
- style: o,
81
- ref: u,
82
- maxW: "90%",
83
- onClick: (m) => {
84
- m.preventDefault(), m.stopPropagation(), b && a.close();
85
- },
86
- children: [
87
- /* @__PURE__ */ g(
88
- y,
89
- {
90
- as: "ul",
91
- flexDirection: "column",
92
- maxHeight: "300px",
93
- overflowY: "auto",
94
- overflowX: "hidden",
95
- role: "listbox",
96
- "aria-multiselectable": !b,
97
- padding: `${c.Small} 0`,
98
- children: [
99
- x && s.length === 0 && t.length > 0 && /* @__PURE__ */ r(
100
- V,
101
- {
102
- px: c.Small,
103
- color: d.OnSurfaceSubdued,
104
- children: `${e.noMatchFor} "${t}"`
105
- }
106
- ),
107
- i === "stacked" ? /* @__PURE__ */ r(oe, { ...n, onHover: C }) : /* @__PURE__ */ r(te, { ...n, onHover: C }),
108
- k && /* @__PURE__ */ r(
109
- V,
110
- {
111
- px: c.Small,
112
- py: c.Small,
113
- color: d.OnSurfaceSubdued,
114
- fontSize: K.Small,
115
- children: Y(e.showMaxItems, {
116
- count: s.length
117
- })
118
- }
119
- )
120
- ]
121
- }
122
- ),
123
- l && /* @__PURE__ */ r(
124
- v,
125
- {
126
- position: "sticky",
127
- bottom: "0",
128
- backgroundColor: d.Surface,
129
- padding: `${c.Small} ${c.Medium}`,
130
- borderTop: `${Z.XSmall} ${d.OnSurfaceBorder}`,
131
- tabIndex: -1,
132
- children: l
133
- }
134
- )
135
- ]
136
- }
137
- );
95
+ P,
96
+ u
97
+ ] }), e[18] = b, e[19] = v, e[20] = P, e[21] = u, e[22] = B) : B = e[22];
98
+ let M;
99
+ e[23] !== n ? (M = n && /* @__PURE__ */ s(T, { position: "sticky", bottom: "0", backgroundColor: x.Surface, padding: `${m.Small} ${m.Medium}`, borderTop: `${Z.XSmall} ${x.OnSurfaceBorder}`, tabIndex: -1, children: n }), e[23] = n, e[24] = M) : M = e[24];
100
+ let F;
101
+ return e[25] !== O || e[26] !== d || e[27] !== I || e[28] !== S || e[29] !== B || e[30] !== M ? (F = /* @__PURE__ */ w(T, { display: I, inset: "0 auto auto 0", position: "fixed", zIndex: "50", visibility: "visible", backgroundColor: x.Surface, borderRadius: R.Medium, boxShadow: N.Medium, color: x.OnSurface, overflow: "hidden", style: O, ref: d, maxW: "90%", onClick: S, children: [
102
+ B,
103
+ M
104
+ ] }), e[25] = O, e[26] = d, e[27] = I, e[28] = S, e[29] = B, e[30] = M, e[31] = F) : F = e[31], F;
138
105
  }
139
- const W = ({
140
- children: n,
141
- isChecked: t,
142
- onClick: s,
143
- isActive: h,
144
- onHover: a
145
- }) => /* @__PURE__ */ r(
146
- y,
147
- {
148
- as: "li",
149
- role: "option",
150
- width: "100%",
151
- flexDirection: "row",
152
- justifyContent: "space-between",
153
- padding: `${c.Small} ${c.Medium}`,
154
- gap: c.Medium,
155
- textDecoration: "none",
156
- backgroundColor: h ? d.AccentHoverAlpha : "",
157
- onClick: s,
158
- tabIndex: -1,
159
- onMouseEnter: a,
160
- "data-is-active-index": h,
161
- "aria-selected": t,
162
- children: n
163
- }
164
- ), oe = ({
165
- displayItems: n,
166
- selectedItems: t,
167
- toggleItem: s,
168
- onHover: h,
106
+ const L = (i) => {
107
+ const e = z.c(7), {
108
+ children: c,
109
+ isChecked: o,
110
+ onClick: a,
111
+ isActive: t,
112
+ onHover: h
113
+ } = i, g = t ? x.AccentHoverAlpha : "";
114
+ let f;
115
+ return e[0] !== c || e[1] !== t || e[2] !== o || e[3] !== a || e[4] !== h || e[5] !== g ? (f = /* @__PURE__ */ s(V, { as: "li", role: "option", width: "100%", flexDirection: "row", justifyContent: "space-between", padding: `${m.Small} ${m.Medium}`, gap: m.Medium, textDecoration: "none", backgroundColor: g, onClick: a, tabIndex: -1, onMouseEnter: h, "data-is-active-index": t, "aria-selected": o, children: c }), e[0] = c, e[1] = t, e[2] = o, e[3] = a, e[4] = h, e[5] = g, e[6] = f) : f = e[6], f;
116
+ }, ie = ({
117
+ displayItems: i,
118
+ selectedItems: e,
119
+ toggleItem: c,
120
+ onHover: o,
169
121
  parentSelectsChildren: a,
170
- highlightState: b,
171
- inputValue: x,
172
- isSingleSelect: k
122
+ highlightState: t,
123
+ inputValue: h,
124
+ isSingleSelect: g
173
125
  }) => {
174
- const w = (l, e) => l.children && l.children.length > 0 ? l.children.every((i) => w(i, e)) : e.some((i) => i.id === l.id), p = (l) => l.children && l.children.length > 0 ? l.children.some((e) => p(e)) : t.some((e) => e.id === l.id);
175
- let P = 0;
176
- const u = (l, e, i = []) => l.map((o) => {
177
- const C = (S) => {
178
- S.stopPropagation(), S.preventDefault(), s(o);
126
+ const f = (d, n) => d.children && d.children.length > 0 ? d.children.every((r) => f(r, n)) : n.some((r) => r.id === d.id), p = (d) => d.children && d.children.length > 0 ? d.children.some((n) => p(n)) : e.some((n) => n.id === d.id);
127
+ let k = 0;
128
+ const $ = (d, n, r = []) => d.map((l) => {
129
+ const O = (b) => {
130
+ b.stopPropagation(), b.preventDefault(), c(l);
179
131
  };
180
- i.length > 0 && (i[i.length - 1] -= 1);
181
- const m = P++, I = o.children && o.children.length > 0, B = !I || o.isSelectableParent;
182
- let $ = e.some((S) => S.id === o.id);
183
- return a && I && !o.isSelectableParent && w(o, e) && ($ = !0), /* @__PURE__ */ g(T, { children: [
184
- /* @__PURE__ */ g(
185
- W,
186
- {
187
- isActive: b.index === m,
188
- isChecked: $,
189
- onClick: C,
190
- onHover: () => h(m),
191
- children: [
192
- /* @__PURE__ */ g(y, { alignItems: "center", whiteSpace: "nowrap", minW: 0, children: [
193
- i.map((S, O, M) => {
194
- const f = M.length === O + 1, X = S > 0, A = S === 0, j = X || f;
195
- return /* @__PURE__ */ g(
196
- y,
197
- {
198
- w: c.Medium,
199
- minW: c.Medium,
200
- alignItems: "center",
201
- my: "-0.5rem",
202
- h: "2.5rem",
203
- children: [
204
- j && /* @__PURE__ */ r(
205
- v,
206
- {
207
- w: "1px",
208
- h: A ? "52%" : "100%",
209
- backgroundColor: d.OnSurface,
210
- mb: "auto"
211
- }
212
- ),
213
- f && /* @__PURE__ */ r(
214
- v,
215
- {
216
- w: "inherit",
217
- height: "1px",
218
- backgroundColor: d.OnSurface,
219
- mr: c.XSmall
220
- }
221
- )
222
- ]
223
- },
224
- `${o.id}_${O}`
225
- );
226
- }),
227
- /* @__PURE__ */ r(z, { item: o, asPlainText: !0, highlightQuery: x })
228
- ] }),
229
- B ? /* @__PURE__ */ r(H, { isSingleSelect: k, isChecked: $ }) : a && !k && /* @__PURE__ */ r(D, { isIndeterminate: p(o), isChecked: $ })
230
- ]
231
- }
232
- ),
233
- o.children && u(o.children, e, [...i, o.children.length])
234
- ] }, o.id);
132
+ r.length > 0 && (r[r.length - 1] -= 1);
133
+ const C = k++, y = l.children && l.children.length > 0, I = !y || l.isSelectableParent;
134
+ let S = n.some((b) => b.id === l.id);
135
+ return a && y && !l.isSelectableParent && f(l, n) && (S = !0), /* @__PURE__ */ w(A, { children: [
136
+ /* @__PURE__ */ w(L, { isActive: t.index === C, isChecked: S, onClick: O, onHover: () => o(C), children: [
137
+ /* @__PURE__ */ w(V, { alignItems: "center", whiteSpace: "nowrap", minW: 0, children: [
138
+ r.map((b, v, P) => {
139
+ const u = P.length === v + 1, B = b > 0, M = b === 0, F = B || u;
140
+ return /* @__PURE__ */ w(V, { w: m.Medium, minW: m.Medium, alignItems: "center", my: "-0.5rem", h: "2.5rem", children: [
141
+ F && /* @__PURE__ */ s(T, { w: "1px", h: M ? "52%" : "100%", backgroundColor: x.OnSurface, mb: "auto" }),
142
+ u && /* @__PURE__ */ s(T, { w: "inherit", height: "1px", backgroundColor: x.OnSurface, mr: m.XSmall })
143
+ ] }, `${l.id}_${v}`);
144
+ }),
145
+ /* @__PURE__ */ s(_, { item: l, asPlainText: !0, highlightQuery: h })
146
+ ] }),
147
+ I ? /* @__PURE__ */ s(j, { isSingleSelect: g, isChecked: S }) : a && !g && /* @__PURE__ */ s(E, { isIndeterminate: p(l), isChecked: S })
148
+ ] }),
149
+ l.children && $(l.children, n, [...r, l.children.length])
150
+ ] }, l.id);
235
151
  });
236
- return u(n, t);
237
- }, te = ({
238
- displayItems: n,
239
- selectedItems: t,
240
- toggleItem: s,
241
- onHover: h,
152
+ return $(i, e);
153
+ }, le = ({
154
+ displayItems: i,
155
+ selectedItems: e,
156
+ toggleItem: c,
157
+ onHover: o,
242
158
  highlightState: a,
243
- isSingleSelect: b,
244
- subMenuState: x,
245
- parentStrings: k,
246
- asPlainText: w,
159
+ isSingleSelect: t,
160
+ subMenuState: h,
161
+ parentStrings: g,
162
+ asPlainText: f,
247
163
  isSearching: p,
248
- isReadOnly: P,
249
- previousSelectedItems: u
164
+ isReadOnly: k,
165
+ previousSelectedItems: $
250
166
  }) => {
251
- const l = (e, i) => {
252
- e.stopPropagation(), e.preventDefault(), s(i);
167
+ const d = (n, r) => {
168
+ n.stopPropagation(), n.preventDefault(), c(r);
253
169
  };
254
- return n.map((e, i) => {
255
- const o = t.some((f) => f.id === e.id), C = e.children?.length, m = e.id === "_back", I = x.opened[x.opened.length - 1], B = e.id === I?.id, $ = m ? /* @__PURE__ */ g(y, { gap: c.XSmall, alignItems: "center", children: [
256
- /* @__PURE__ */ r(R, { size: F.Small }),
257
- e.label
258
- ] }) : /* @__PURE__ */ g(E, { children: [
259
- /* @__PURE__ */ g(y, { gap: c.XSmall, alignItems: "center", whiteSpace: "nowrap", children: [
260
- k[e.id]?.map((f) => /* @__PURE__ */ g(T, { children: [
261
- /* @__PURE__ */ r(v, { color: d.OnSurfaceSubdued, children: f }),
262
- /* @__PURE__ */ r(v, { color: d.OnSurfaceSubdued, children: "/" })
263
- ] }, f)),
264
- /* @__PURE__ */ r(z, { item: e, asPlainText: w })
170
+ return i.map((n, r) => {
171
+ const l = e.some((u) => u.id === n.id), O = n.children?.length, C = n.id === "_back", y = h.opened[h.opened.length - 1], I = n.id === y?.id, S = C ? /* @__PURE__ */ w(V, { gap: m.XSmall, alignItems: "center", children: [
172
+ /* @__PURE__ */ s(ee, { size: X.Small }),
173
+ n.label
174
+ ] }) : /* @__PURE__ */ w(W, { children: [
175
+ /* @__PURE__ */ w(V, { gap: m.XSmall, alignItems: "center", whiteSpace: "nowrap", children: [
176
+ g[n.id]?.map((u) => /* @__PURE__ */ w(A, { children: [
177
+ /* @__PURE__ */ s(T, { color: x.OnSurfaceSubdued, children: u }),
178
+ /* @__PURE__ */ s(T, { color: x.OnSurfaceSubdued, children: "/" })
179
+ ] }, u)),
180
+ /* @__PURE__ */ s(_, { item: n, asPlainText: f })
265
181
  ] }),
266
- P ? void 0 : C && !B && !p ? /* @__PURE__ */ r(N, { size: F.Small, color: d.OnBackgroundSubdued }) : /* @__PURE__ */ r(H, { isSingleSelect: b, isChecked: o })
267
- ] }), S = u.length > 0 && u.length - 1 === i && u.length < n.length, M = !P && !p && (S || (m || B));
268
- return /* @__PURE__ */ g(T, { children: [
269
- /* @__PURE__ */ r(
270
- W,
271
- {
272
- isActive: a.index === i,
273
- isChecked: o,
274
- onClick: (f) => l(f, e),
275
- onHover: () => h(i),
276
- children: $
277
- }
278
- ),
279
- M && /* @__PURE__ */ r(
280
- v,
281
- {
282
- margin: `${c.Small} ${m ? 0 : c.Medium}`,
283
- height: "1px",
284
- flexShrink: 0,
285
- backgroundColor: d.OnBackgroundBorder
286
- }
287
- )
288
- ] }, e.id);
182
+ k ? void 0 : O && !I && !p ? /* @__PURE__ */ s(te, { size: X.Small, color: x.OnBackgroundSubdued }) : /* @__PURE__ */ s(j, { isSingleSelect: t, isChecked: l })
183
+ ] }), b = $.length > 0 && $.length - 1 === r && $.length < i.length, P = !k && !p && (b || (C || I));
184
+ return /* @__PURE__ */ w(A, { children: [
185
+ /* @__PURE__ */ s(L, { isActive: a.index === r, isChecked: l, onClick: (u) => d(u, n), onHover: () => o(r), children: S }),
186
+ P && /* @__PURE__ */ s(T, { margin: `${m.Small} ${C ? 0 : m.Medium}`, height: "1px", flexShrink: 0, backgroundColor: x.OnBackgroundBorder })
187
+ ] }, n.id);
289
188
  });
290
189
  };
190
+ function ce() {
191
+ }
291
192
  export {
292
- H as CheckboxOrRadioButton,
293
- be as ComboboxMenu
193
+ j as CheckboxOrRadioButton,
194
+ we as ComboboxMenu
294
195
  };
@@ -1,10 +1,10 @@
1
- export declare const SingleSelect: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const MultiSelect: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const Disabled: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const Invalid: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const GhostVariant: () => import("react/jsx-runtime").JSX.Element;
7
- export declare const WithItemsAsPlainText: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const WithFooterContent: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const WithFolderStyleStacked: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const SingleSelect: () => import("react").JSX.Element;
2
+ export declare const MultiSelect: () => import("react").JSX.Element;
3
+ export declare const Disabled: () => import("react").JSX.Element;
4
+ export declare const Invalid: () => import("react").JSX.Element;
5
+ export declare const Sizes: () => import("react").JSX.Element;
6
+ export declare const GhostVariant: () => import("react").JSX.Element;
7
+ export declare const WithItemsAsPlainText: () => import("react").JSX.Element;
8
+ export declare const WithFooterContent: () => import("react").JSX.Element;
9
+ export declare const WithFolderStyleStacked: () => import("react").JSX.Element;
10
10
  //# sourceMappingURL=combobox.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.composition.tsx"],"names":[],"mappings":"AAsOA,eAAO,MAAM,YAAY,+CAoBxB,CAAC;AAEF,eAAO,MAAM,WAAW,+CAmBvB,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAmDpB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAqBnB,CAAC;AAEF,eAAO,MAAM,KAAK,+CAyEjB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAoBxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,+CAyBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,+CAyB7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,+CA8BlC,CAAC"}
1
+ {"version":3,"file":"combobox.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.composition.tsx"],"names":[],"mappings":"AAsOA,eAAO,MAAM,YAAY,mCAoBxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAmBvB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAmDpB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAqBnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAyEjB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAoBxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,mCAyBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAyB7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCA8BlC,CAAC"}
@@ -6,5 +6,5 @@ import { ComboboxProps } from './types.js';
6
6
  *
7
7
  * @see Docs https://caspeco.github.io/casper-ui-library/components/combobox
8
8
  */
9
- export declare function Combobox({ id, label, isSingleSelect, selectedItems, locale, size, variant, asPlainText, onSearch, items, maxVisibleItems, onChange, onBlur, isDisabled, isReadOnly, isRequired, placeholder, footerContent, popoverWidth, popoverPlacement, collapsed, folderStyle, parentSelectsChildren, ...props }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function Combobox({ id, label, isSingleSelect, selectedItems, locale, size, variant, asPlainText, onSearch, items, maxVisibleItems, onChange, onBlur, isDisabled, isReadOnly, isRequired, placeholder, footerContent, popoverWidth, popoverPlacement, collapsed, folderStyle, parentSelectsChildren, ...props }: ComboboxProps): import("react").JSX.Element;
10
10
  //# sourceMappingURL=combobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;AAsGjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,MAAgB,EAChB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,2CAyTf"}
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;AAgGjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,MAAgB,EAChB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BA2Tf"}