@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,26 +1,38 @@
1
- import { jsx as O } from "react/jsx-runtime";
2
- import { useRef as R, useState as q, useEffect as j } from "react";
3
- import { adjustCrop as X, ScalingDirection as b, getAspectRatioValue as y, calculateHandlePositions as E, getCursorStyle as J, isPointInsideRect as _, getOppositeCorner as K } from "./image-cropper.helper.js";
4
- function $({
5
- src: W,
1
+ import { jsx as q } from "react/jsx-runtime";
2
+ import { useRef as R, useState as J, useEffect as j } from "react";
3
+ import { adjustCrop as E, ScalingDirection as b, getAspectRatioValue as y, calculateHandlePositions as W, getCursorStyle as K, isPointInsideRect as B, getOppositeCorner as N } from "./image-cropper.helper.js";
4
+ function _(I) {
5
+ document.body.style.userSelect = I;
6
+ }
7
+ function x({
8
+ src: I,
6
9
  crop: z,
7
- onCropCallback: B,
10
+ onCropCallback: P,
8
11
  setPreviewImage: Y,
9
12
  aspectRatio: F
10
13
  }) {
11
- const S = R(null), m = R(null), v = R(null), C = R(null), s = R({ left: 0, top: 0, width: 0, height: 0 }), a = R({
14
+ const S = R(null), m = R(null), v = R(null), C = R(null), s = R({
15
+ left: 0,
16
+ top: 0,
17
+ width: 0,
18
+ height: 0
19
+ }), a = R({
12
20
  left: 0,
13
21
  top: 0
14
- }), [P, V] = q("crosshair"), T = 10, k = (e) => {
22
+ }), [U, V] = J("crosshair"), T = 10, k = (e) => {
15
23
  if (m.current && v.current) {
16
24
  const t = {
17
25
  width: v.current.width,
18
26
  height: v.current.height
19
- }, o = X(s.current, m.current, t, e);
20
- B(o);
27
+ }, o = E(s.current, m.current, t, e);
28
+ P(o);
21
29
  }
22
30
  }, A = (e, t, o, w) => {
23
- e.fillStyle = "rgba(0, 0, 0, 0.5)", e.fillRect(0, 0, t.width, t.height), e.save(), e.beginPath(), e.rect(o.left, o.top, o.width, o.height), e.clip(), m.current && e.drawImage(m.current, 0, 0, t.width, t.height), e.restore(), e.strokeStyle = "rgba(255, 255, 255, 0.88)", e.lineWidth = 1, e.strokeRect(o.left, o.top, o.width, o.height), w !== "new-selection" && E(o, T).forEach(({ x: g, y: d, corner: M }) => {
31
+ e.fillStyle = "rgba(0, 0, 0, 0.5)", e.fillRect(0, 0, t.width, t.height), e.save(), e.beginPath(), e.rect(o.left, o.top, o.width, o.height), e.clip(), m.current && e.drawImage(m.current, 0, 0, t.width, t.height), e.restore(), e.strokeStyle = "rgba(255, 255, 255, 0.88)", e.lineWidth = 1, e.strokeRect(o.left, o.top, o.width, o.height), w !== "new-selection" && W(o, T).forEach(({
32
+ x: g,
33
+ y: d,
34
+ corner: M
35
+ }) => {
24
36
  const i = T / 2, p = 3, c = (n, r = 0) => {
25
37
  e.strokeStyle = n, e.lineWidth = p + r, e.beginPath();
26
38
  const l = Math.min(o.width / 2, 16), h = Math.min(o.height / 2, 16);
@@ -49,12 +61,7 @@ function $({
49
61
  const t = e.getContext("2d"), o = {
50
62
  width: v.current.width,
51
63
  height: v.current.height
52
- }, w = X(
53
- s.current,
54
- m.current,
55
- o,
56
- b.ToFullSize
57
- );
64
+ }, w = E(s.current, m.current, o, b.ToFullSize);
58
65
  if (t)
59
66
  return t.drawImage(
60
67
  m.current,
@@ -75,20 +82,19 @@ function $({
75
82
  const e = S.current, t = e?.getContext("2d");
76
83
  if (!e || !t) return;
77
84
  const o = new Image();
78
- o.src = W, o.onload = () => {
79
- const { width: d } = o, { height: M } = o, i = Math.min(528 / d, 418 / M), p = d * i, c = M * i;
85
+ o.src = I, o.onload = () => {
86
+ const {
87
+ width: d
88
+ } = o, {
89
+ height: M
90
+ } = o, i = Math.min(528 / d, 418 / M), p = d * i, c = M * i;
80
91
  e.width = p, e.height = c, t.drawImage(o, 0, 0, e.width, e.height), m.current = o, m.current && t.drawImage(m.current, 0, 0, e.width, e.height), v.current = {
81
92
  width: p,
82
93
  height: c
83
94
  };
84
95
  let n, r, l;
85
96
  if (z)
86
- l = X(
87
- z,
88
- m.current,
89
- v.current,
90
- b.ToDisplayedSize
91
- );
97
+ l = E(z, m.current, v.current, b.ToDisplayedSize);
92
98
  else {
93
99
  const h = y(F);
94
100
  h ? p / c < h ? (n = p, r = n / h) : (r = c, n = r * h) : (n = p, r = c), l = {
@@ -100,26 +106,22 @@ function $({
100
106
  }
101
107
  s.current = l, A(t, e, l, C.current), k(b.ToFullSize), Y(D() || "");
102
108
  };
103
- }, [W]);
109
+ }, [I]);
104
110
  const L = () => {
105
111
  const e = S.current, t = e?.getContext("2d");
106
112
  !t || !e || (t.clearRect(0, 0, e.width, e.height), m.current && t.drawImage(m.current, 0, 0, e.width, e.height), A(t, e, s.current, null));
107
113
  }, G = (e) => {
108
- const t = J(
109
- e,
110
- S,
111
- s.current,
112
- T,
113
- E(s.current, T)
114
- );
114
+ const t = K(e, S, s.current, T, W(s.current, T));
115
115
  V(t);
116
- }, I = (e) => {
116
+ }, H = (e) => {
117
117
  const t = S.current, o = t?.getContext("2d");
118
118
  if (!t || !o) return;
119
119
  const w = t.getBoundingClientRect(), g = e.clientX - w.left, d = e.clientY - w.top;
120
120
  let M = 0, i = 0;
121
121
  a.current && (M = g - a.current.left, i = d - a.current.top);
122
- let p = { ...s.current };
122
+ let p = {
123
+ ...s.current
124
+ };
123
125
  if (C.current === "new-selection" || C.current === "resize") {
124
126
  if (!a.current) return;
125
127
  const c = y(F);
@@ -136,60 +138,48 @@ function $({
136
138
  c = Math.max(0, Math.min(c, t.width - s.current.width)), n = Math.max(0, Math.min(n, t.height - s.current.height)), a.current = {
137
139
  left: (a.current?.left || 0) + c - s.current.left,
138
140
  top: (a.current?.top || 0) + n - s.current.top
139
- }, p = { ...s.current, left: c, top: n };
141
+ }, p = {
142
+ ...s.current,
143
+ left: c,
144
+ top: n
145
+ };
140
146
  }
141
147
  s.current = p, L();
142
- }, H = () => {
143
- window.removeEventListener("mouseup", H), window.removeEventListener("mousemove", I), document.body.style.userSelect = "", C.current = null, L(), k(b.ToFullSize), Y(D() || "");
148
+ }, X = () => {
149
+ window.removeEventListener("mouseup", X), window.removeEventListener("mousemove", H), _(""), C.current = null, L(), k(b.ToFullSize), Y(D() || "");
144
150
  };
145
- function U(e) {
151
+ function O(e) {
146
152
  const t = S.current;
147
153
  if (!t) return;
148
- document.body.style.userSelect = "none";
149
- const o = t.getBoundingClientRect(), w = E(s.current, T).find(
150
- (i) => _(
151
- e.clientX - o.left,
152
- e.clientY - o.top,
153
- i.x,
154
- i.y,
155
- T,
156
- T
157
- )
158
- ), g = e.clientX - o.left, d = e.clientY - o.top, M = _(
159
- e.clientX - o.left,
160
- e.clientY - o.top,
161
- s.current.left,
162
- s.current.top,
163
- s.current.width,
164
- s.current.height
165
- );
154
+ _("none");
155
+ const o = t.getBoundingClientRect(), w = W(s.current, T).find((i) => B(e.clientX - o.left, e.clientY - o.top, i.x, i.y, T, T)), g = e.clientX - o.left, d = e.clientY - o.top, M = B(e.clientX - o.left, e.clientY - o.top, s.current.left, s.current.top, s.current.width, s.current.height);
166
156
  if (w) {
167
- const i = K(s.current, w.corner);
168
- C.current = "resize", a.current = { left: i.x, top: i.y };
157
+ const i = N(s.current, w.corner);
158
+ C.current = "resize", a.current = {
159
+ left: i.x,
160
+ top: i.y
161
+ };
169
162
  } else M ? (a.current = {
170
163
  left: e.clientX - o.left,
171
164
  top: e.clientY - o.top
172
- }, C.current = "move") : (a.current = { left: g, top: d }, C.current = "new-selection", s.current = {
165
+ }, C.current = "move") : (a.current = {
166
+ left: g,
167
+ top: d
168
+ }, C.current = "new-selection", s.current = {
173
169
  left: g,
174
170
  top: d,
175
171
  width: 0,
176
172
  height: 0
177
173
  });
178
- window.addEventListener("mouseup", H), window.addEventListener("mousemove", I);
174
+ window.addEventListener("mouseup", X), window.addEventListener("mousemove", H);
179
175
  }
180
176
  return j(() => () => {
181
- window.removeEventListener("mouseup", H), window.removeEventListener("mousemove", I);
182
- }, []), /* @__PURE__ */ O(
183
- "canvas",
184
- {
185
- ref: S,
186
- onMouseDown: U,
187
- onMouseMove: G,
188
- draggable: !1,
189
- style: { cursor: P, margin: "0 auto" }
190
- }
191
- );
177
+ window.removeEventListener("mouseup", X), window.removeEventListener("mousemove", H);
178
+ }, []), /* @__PURE__ */ q("canvas", { ref: S, onMouseDown: O, onMouseMove: G, draggable: !1, style: {
179
+ cursor: U,
180
+ margin: "0 auto"
181
+ } });
192
182
  }
193
183
  export {
194
- $ as ImageCropper
184
+ x as ImageCropper
195
185
  };
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { Locales } from './types.js';
2
3
  interface IDropzoneProps {
3
4
  locale: Locales;
@@ -8,6 +9,6 @@ export type FileItem = {
8
9
  fileName: string;
9
10
  data: string;
10
11
  };
11
- declare function Dropzone({ locale, setFileItem, setHasImageChanged }: IDropzoneProps): import("react/jsx-runtime").JSX.Element;
12
+ declare function Dropzone({ locale, setFileItem, setHasImageChanged }: IDropzoneProps): React.JSX.Element;
12
13
  export default Dropzone;
13
14
  //# sourceMappingURL=image-upload-dropzone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-dropzone.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-dropzone.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,UAAU,cAAc;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1C,kBAAkB,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,EAAE,cAAc,2CA4H5E;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"image-upload-dropzone.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-dropzone.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,UAAU,cAAc;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1C,kBAAkB,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,EAAE,cAAc,qBA4H5E;AAED,eAAe,QAAQ,CAAC"}
@@ -1,81 +1,111 @@
1
- import { jsxs as l, Fragment as E, jsx as a } from "react/jsx-runtime";
2
- import { Box as u, Text as g, Input as U } from "@chakra-ui/react";
3
- import k, { useState as f } from "react";
4
- import { sanitizeFilename as B } from "./image-upload-helper.js";
5
- import { ImageIconLarge as L } from "./image-upload-icons.js";
6
- import { translations as o } from "./translations.js";
7
- import { Alert as h } from "../alert/alert.js";
8
- import { ThemeRadiusVariable as V, ThemeColorVariable as d, ThemeSpaceVariable as x } from "../../theme/theme-types.js";
9
- function P({ locale: i, setFileItem: D, setHasImageChanged: b }) {
10
- const [F, s] = f(!1), [T, c] = f(!1), [y, m] = f(!1), t = k.createRef();
11
- function R(e, r) {
12
- const n = new FileReader();
13
- n.onload = r, n.readAsDataURL(e);
14
- }
15
- const z = ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml"], p = ({ target: e }) => {
16
- if (!e || !e.files || !e.files[0])
1
+ import { jsx as p, jsxs as B, Fragment as v } from "react/jsx-runtime";
2
+ import { c as ee } from "../../_virtual/compiler-runtime.js";
3
+ import { Text as O, Box as W, Input as te } from "@chakra-ui/react";
4
+ import re, { useState as L } from "react";
5
+ import { sanitizeFilename as le } from "./image-upload-helper.js";
6
+ import { ImageIconLarge as ae } from "./image-upload-icons.js";
7
+ import { translations as I } from "./translations.js";
8
+ import { Alert as N } from "../alert/alert.js";
9
+ import { ThemeColorVariable as M, ThemeRadiusVariable as ne, ThemeSpaceVariable as $ } from "../../theme/theme-types.js";
10
+ function he(q) {
11
+ const e = ee.c(34), {
12
+ locale: l,
13
+ setFileItem: R,
14
+ setHasImageChanged: A
15
+ } = q, [G, C] = L(!1), [z, V] = L(!1), [w, H] = L(!1);
16
+ let u;
17
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = re.createRef(), e[0] = u) : u = e[0];
18
+ const n = u;
19
+ let g;
20
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = function(r, a) {
21
+ const T = new FileReader();
22
+ T.onload = a, T.readAsDataURL(r);
23
+ }, e[1] = g) : g = e[1];
24
+ const J = g;
25
+ let h;
26
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml"], e[2] = h) : h = e[2];
27
+ const K = h;
28
+ let b;
29
+ e[3] !== R || e[4] !== A ? (b = (t) => {
30
+ const {
31
+ target: r
32
+ } = t;
33
+ if (!r || !r.files || !r.files[0])
17
34
  return;
18
- const r = e.files[0];
19
- if (!z.includes(r.type)) {
20
- m(!0);
35
+ const a = r.files[0];
36
+ if (!K.includes(a.type)) {
37
+ H(!0);
21
38
  return;
22
39
  }
23
- m(!1), r.size > 3145728 ? c(!0) : (c(!1), R(r, (M) => {
24
- const S = M.target?.result, j = { fileName: B(r.name), data: S };
25
- D(j), b(!0);
40
+ H(!1), a.size > 3145728 ? V(!0) : (V(!1), J(a, (T) => {
41
+ const Y = T.target?.result, Z = {
42
+ fileName: le(a.name),
43
+ data: Y
44
+ };
45
+ R(Z), A(!0);
26
46
  }));
27
- }, C = () => {
28
- t.current && t.current.click();
29
- }, I = (e) => {
30
- e.preventDefault(), e.dataTransfer.items && e.dataTransfer.items.length > 0 && s(!0);
31
- }, w = () => {
32
- s(!1);
33
- }, A = (e) => {
34
- if (e.preventDefault(), !!t.current && e.dataTransfer.files && e.dataTransfer.files.length > 0) {
47
+ }, e[3] = R, e[4] = A, e[5] = b) : b = e[5];
48
+ const o = b;
49
+ let _;
50
+ e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = () => {
51
+ n.current && n.current.click();
52
+ }, e[6] = _) : _ = e[6];
53
+ const P = _;
54
+ let D;
55
+ e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = (t) => {
56
+ t.preventDefault(), t.dataTransfer.items && t.dataTransfer.items.length > 0 && C(!0);
57
+ }, e[7] = D) : D = e[7];
58
+ const Q = D;
59
+ let x;
60
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = () => {
61
+ C(!1);
62
+ }, e[8] = x) : x = e[8];
63
+ const X = x;
64
+ let y;
65
+ e[9] !== o ? (y = (t) => {
66
+ if (t.preventDefault(), !!n.current && t.dataTransfer.files && t.dataTransfer.files.length > 0) {
35
67
  const r = new DataTransfer();
36
- Array.from(e.dataTransfer.files).forEach((n) => {
37
- r.items.add(n);
38
- }), t.current.files = r.files, p({
39
- target: t.current
40
- }), e.dataTransfer.clearData(), s(!1);
68
+ Array.from(t.dataTransfer.files).forEach((a) => {
69
+ r.items.add(a);
70
+ }), n.current.files = r.files, o({
71
+ target: n.current
72
+ }), t.dataTransfer.clearData(), C(!1);
41
73
  }
42
- };
43
- return /* @__PURE__ */ l(E, { children: [
44
- /* @__PURE__ */ l(
45
- u,
46
- {
47
- p: "108px",
48
- bg: d.BackgroundDisabled,
49
- borderWidth: "1px",
50
- borderColor: F ? d.OnSurfaceBorder : "transparent",
51
- transition: "150ms ease",
52
- borderRadius: V.Medium,
53
- display: "flex",
54
- alignItems: "center",
55
- justifyContent: "center",
56
- flexDir: "column",
57
- onDragOver: I,
58
- onDragLeave: w,
59
- onDrop: A,
60
- onClick: C,
61
- cursor: "pointer",
62
- children: [
63
- /* @__PURE__ */ a(L, {}),
64
- /* @__PURE__ */ a(g, { children: o[i].pullAndDrop }),
65
- /* @__PURE__ */ l(g, { children: [
66
- "eller",
67
- " ",
68
- /* @__PURE__ */ a(u, { as: "span", color: d.Accent, textDecoration: "underline", children: o[i].upload }),
69
- "."
70
- ] }),
71
- /* @__PURE__ */ a(U, { type: "file", ref: t, display: "none", onChange: p })
72
- ]
73
- }
74
- ),
75
- y && /* @__PURE__ */ a(h, { mt: x.Medium, type: "error", children: o[i].unsupportedFormat }),
76
- T && /* @__PURE__ */ a(h, { mt: x.Medium, type: "error", children: o[i].sizeExceeded })
77
- ] });
74
+ }, e[9] = o, e[10] = y) : y = e[10];
75
+ const E = y, U = G ? M.OnSurfaceBorder : "transparent";
76
+ let F;
77
+ e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ p(ae, {}), e[11] = F) : F = e[11];
78
+ const j = I[l];
79
+ let i;
80
+ e[12] !== j.pullAndDrop ? (i = /* @__PURE__ */ p(O, { children: j.pullAndDrop }), e[12] = j.pullAndDrop, e[13] = i) : i = e[13];
81
+ const k = I[l];
82
+ let s;
83
+ e[14] !== k.upload ? (s = /* @__PURE__ */ B(O, { children: [
84
+ "eller",
85
+ " ",
86
+ /* @__PURE__ */ p(W, { as: "span", color: M.Accent, textDecoration: "underline", children: k.upload }),
87
+ "."
88
+ ] }), e[14] = k.upload, e[15] = s) : s = e[15];
89
+ let c;
90
+ e[16] !== o ? (c = /* @__PURE__ */ p(te, { type: "file", ref: n, display: "none", onChange: o }), e[16] = o, e[17] = c) : c = e[17];
91
+ let f;
92
+ e[18] !== E || e[19] !== i || e[20] !== s || e[21] !== c || e[22] !== U ? (f = /* @__PURE__ */ B(W, { p: "108px", bg: M.BackgroundDisabled, borderWidth: "1px", borderColor: U, transition: "150ms ease", borderRadius: ne.Medium, display: "flex", alignItems: "center", justifyContent: "center", flexDir: "column", onDragOver: Q, onDragLeave: X, onDrop: E, onClick: P, cursor: "pointer", children: [
93
+ F,
94
+ i,
95
+ s,
96
+ c
97
+ ] }), e[18] = E, e[19] = i, e[20] = s, e[21] = c, e[22] = U, e[23] = f) : f = e[23];
98
+ let m;
99
+ e[24] !== l || e[25] !== w ? (m = w && /* @__PURE__ */ p(N, { mt: $.Medium, type: "error", children: I[l].unsupportedFormat }), e[24] = l, e[25] = w, e[26] = m) : m = e[26];
100
+ let d;
101
+ e[27] !== l || e[28] !== z ? (d = z && /* @__PURE__ */ p(N, { mt: $.Medium, type: "error", children: I[l].sizeExceeded }), e[27] = l, e[28] = z, e[29] = d) : d = e[29];
102
+ let S;
103
+ return e[30] !== f || e[31] !== m || e[32] !== d ? (S = /* @__PURE__ */ B(v, { children: [
104
+ f,
105
+ m,
106
+ d
107
+ ] }), e[30] = f, e[31] = m, e[32] = d, e[33] = S) : S = e[33], S;
78
108
  }
79
109
  export {
80
- P as default
110
+ he as default
81
111
  };
@@ -1,6 +1,6 @@
1
- export declare const ImageIcon: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const ImageIconLarge: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const UploadIcon: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const ImageFolderIcon: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const RemoveIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ImageIcon: () => import("react").JSX.Element;
2
+ export declare const ImageIconLarge: () => import("react").JSX.Element;
3
+ export declare const UploadIcon: () => import("react").JSX.Element;
4
+ export declare const ImageFolderIcon: () => import("react").JSX.Element;
5
+ export declare const RemoveIcon: () => import("react").JSX.Element;
6
6
  //# sourceMappingURL=image-upload-icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-icons.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,+CAUrB,CAAC;AAEF,eAAO,MAAM,cAAc,+CAU1B,CAAC;AAEF,eAAO,MAAM,UAAU,+CAStB,CAAC;AAEF,eAAO,MAAM,eAAe,+CAS3B,CAAC;AAEF,eAAO,MAAM,UAAU,+CAStB,CAAC"}
1
+ {"version":3,"file":"image-upload-icons.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,mCAUrB,CAAC;AAEF,eAAO,MAAM,cAAc,mCAU1B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC;AAEF,eAAO,MAAM,eAAe,mCAS3B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC"}
@@ -1,28 +1,21 @@
1
- import { jsx as C } from "react/jsx-runtime";
2
- import { Icon as i } from "@chakra-ui/react";
3
- const t = () => /* @__PURE__ */ C(i, { boxSize: "30px", width: "30px", height: "30px", asChild: !0, children: /* @__PURE__ */ C("svg", { viewBox: "0 0 30 30", children: /* @__PURE__ */ C(
4
- "path",
5
- {
6
- d: "M24 6.75H6C5.57812 6.75 5.25 7.125 5.25 7.5V22.5V22.5469L5.4375 22.2656L9.1875 17.0156C9.42188 16.6875 9.75 16.5 10.125 16.5C10.4531 16.5 10.8281 16.6875 11.0156 16.9688L12.4688 18.9844L16.3594 13.9688C16.5469 13.6875 16.875 13.5 17.25 13.5C17.5781 13.5 17.9062 13.6875 18.1406 13.9688L24.5156 22.2188L24.75 22.5V7.5C24.75 7.125 24.375 6.75 24 6.75ZM6 4.5H24C25.6406 4.5 27 5.85938 27 7.5V22.5C27 24.1875 25.6406 25.5 24 25.5H6C4.3125 25.5 3 24.1875 3 22.5V7.5C3 5.85938 4.3125 4.5 6 4.5ZM9.75 13.5C8.90625 13.5 8.20312 13.0781 7.78125 12.375C7.35938 11.7188 7.35938 10.8281 7.78125 10.125C8.20312 9.46875 8.90625 9 9.75 9C10.5469 9 11.25 9.46875 11.6719 10.125C12.0938 10.8281 12.0938 11.7188 11.6719 12.375C11.25 13.0781 10.5469 13.5 9.75 13.5Z",
7
- fill: "#0C0656",
8
- fillOpacity: "0.24"
9
- }
10
- ) }) }), L = () => /* @__PURE__ */ C(i, { boxSize: "64px", width: "64px", height: "64px", asChild: !0, children: /* @__PURE__ */ C("svg", { viewBox: "0 0 64 64", children: /* @__PURE__ */ C(
11
- "path",
12
- {
13
- d: "M20 15C16.625 15 14 17.75 14 21C14 24.375 16.625 27 20 27C23.25 27 26 24.375 26 21C26 17.75 23.25 15 20 15ZM56.875 4H8.875C4.5 4 0.875 7.625 0.875 12V52C0.875 56.5 4.5 60 8.875 60H56.875C61.25 60 64.875 56.5 64.875 52V12C64.875 7.625 61.375 4 56.875 4ZM58.875 51.25L41.75 28C41.375 27.375 40.75 27 40 27C39.125 27 38.5 27.375 38 28L24.75 46L20.125 40.25C19.625 39.75 19 39.375 18.25 39.375C17.5 39.375 16.875 39.75 16.375 40.25L7 52L6.875 12C6.875 11 7.875 10 8.875 10H56.875C58 10 58.875 11 58.875 12V51.25Z",
14
- fill: "#0C0656",
15
- fillOpacity: "0.24"
16
- }
17
- ) }) }), l = () => /* @__PURE__ */ C(i, { width: "24px", height: "24px", asChild: !0, children: /* @__PURE__ */ C("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ C(
18
- "path",
19
- {
20
- d: "M17.9766 7.85156L13.2891 12.5391L17.9375 17.1875C18.3281 17.5391 18.3281 18.125 17.9375 18.4766C17.5859 18.8672 17 18.8672 16.6484 18.4766L11.9609 13.8281L7.3125 18.4766C6.96094 18.8672 6.375 18.8672 6.02344 18.4766C5.63281 18.125 5.63281 17.5391 6.02344 17.1484L10.6719 12.5L6.02344 7.85156C5.63281 7.5 5.63281 6.91406 6.02344 6.52344C6.375 6.17188 6.96094 6.17188 7.35156 6.52344L12 11.2109L16.6484 6.5625C17 6.17188 17.5859 6.17188 17.9766 6.5625C18.3281 6.91406 18.3281 7.5 17.9766 7.85156Z",
21
- fill: "#0C0656"
22
- }
23
- ) }) });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as i } from "../../_virtual/compiler-runtime.js";
3
+ import { Icon as o } from "@chakra-ui/react";
4
+ const n = () => {
5
+ const C = i.c(1);
6
+ let e;
7
+ return C[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ t(o, { boxSize: "30px", width: "30px", height: "30px", asChild: !0, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 30 30", children: /* @__PURE__ */ t("path", { d: "M24 6.75H6C5.57812 6.75 5.25 7.125 5.25 7.5V22.5V22.5469L5.4375 22.2656L9.1875 17.0156C9.42188 16.6875 9.75 16.5 10.125 16.5C10.4531 16.5 10.8281 16.6875 11.0156 16.9688L12.4688 18.9844L16.3594 13.9688C16.5469 13.6875 16.875 13.5 17.25 13.5C17.5781 13.5 17.9062 13.6875 18.1406 13.9688L24.5156 22.2188L24.75 22.5V7.5C24.75 7.125 24.375 6.75 24 6.75ZM6 4.5H24C25.6406 4.5 27 5.85938 27 7.5V22.5C27 24.1875 25.6406 25.5 24 25.5H6C4.3125 25.5 3 24.1875 3 22.5V7.5C3 5.85938 4.3125 4.5 6 4.5ZM9.75 13.5C8.90625 13.5 8.20312 13.0781 7.78125 12.375C7.35938 11.7188 7.35938 10.8281 7.78125 10.125C8.20312 9.46875 8.90625 9 9.75 9C10.5469 9 11.25 9.46875 11.6719 10.125C12.0938 10.8281 12.0938 11.7188 11.6719 12.375C11.25 13.0781 10.5469 13.5 9.75 13.5Z", fill: "#0C0656", fillOpacity: "0.24" }) }) }), C[0] = e) : e = C[0], e;
8
+ }, h = () => {
9
+ const C = i.c(1);
10
+ let e;
11
+ return C[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ t(o, { boxSize: "64px", width: "64px", height: "64px", asChild: !0, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 64 64", children: /* @__PURE__ */ t("path", { d: "M20 15C16.625 15 14 17.75 14 21C14 24.375 16.625 27 20 27C23.25 27 26 24.375 26 21C26 17.75 23.25 15 20 15ZM56.875 4H8.875C4.5 4 0.875 7.625 0.875 12V52C0.875 56.5 4.5 60 8.875 60H56.875C61.25 60 64.875 56.5 64.875 52V12C64.875 7.625 61.375 4 56.875 4ZM58.875 51.25L41.75 28C41.375 27.375 40.75 27 40 27C39.125 27 38.5 27.375 38 28L24.75 46L20.125 40.25C19.625 39.75 19 39.375 18.25 39.375C17.5 39.375 16.875 39.75 16.375 40.25L7 52L6.875 12C6.875 11 7.875 10 8.875 10H56.875C58 10 58.875 11 58.875 12V51.25Z", fill: "#0C0656", fillOpacity: "0.24" }) }) }), C[0] = e) : e = C[0], e;
12
+ }, s = () => {
13
+ const C = i.c(1);
14
+ let e;
15
+ return C[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ t(o, { width: "24px", height: "24px", asChild: !0, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ t("path", { d: "M17.9766 7.85156L13.2891 12.5391L17.9375 17.1875C18.3281 17.5391 18.3281 18.125 17.9375 18.4766C17.5859 18.8672 17 18.8672 16.6484 18.4766L11.9609 13.8281L7.3125 18.4766C6.96094 18.8672 6.375 18.8672 6.02344 18.4766C5.63281 18.125 5.63281 17.5391 6.02344 17.1484L10.6719 12.5L6.02344 7.85156C5.63281 7.5 5.63281 6.91406 6.02344 6.52344C6.375 6.17188 6.96094 6.17188 7.35156 6.52344L12 11.2109L16.6484 6.5625C17 6.17188 17.5859 6.17188 17.9766 6.5625C18.3281 6.91406 18.3281 7.5 17.9766 7.85156Z", fill: "#0C0656" }) }) }), C[0] = e) : e = C[0], e;
16
+ };
24
17
  export {
25
- t as ImageIcon,
26
- L as ImageIconLarge,
27
- l as RemoveIcon
18
+ n as ImageIcon,
19
+ h as ImageIconLarge,
20
+ s as RemoveIcon
28
21
  };
@@ -13,6 +13,6 @@ interface IImageCropperModalProps {
13
13
  setPreviewImage: (base64: string) => void;
14
14
  setCrop: (crop: Crop | null) => void;
15
15
  }
16
- export declare function ImageUploadModal({ title, src, savedCrop, isOpen, aspectRatio, crop, locale, onClose, handleSaveImage, setPreviewImage, setCrop, }: IImageCropperModalProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function ImageUploadModal({ title, src, savedCrop, isOpen, aspectRatio, crop, locale, onClose, handleSaveImage, setPreviewImage, setCrop, }: IImageCropperModalProps): import("react").JSX.Element;
17
17
  export {};
18
18
  //# sourceMappingURL=image-upload-modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-modal.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-modal.tsx"],"names":[],"mappings":"AAOA,OAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAIlE,OAAO,EAAE,KAAK,IAAI,EAAE,sBAAsB,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAE1E,UAAU,uBAAuB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,sBAAsB,CAAC;IACpC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3F,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,GAAG,EACH,SAAS,EACT,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,OAAO,EACP,eAAe,EACf,eAAe,EACf,OAAO,GACP,EAAE,uBAAuB,2CAqHzB"}
1
+ {"version":3,"file":"image-upload-modal.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload-modal.tsx"],"names":[],"mappings":"AAOA,OAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAIlE,OAAO,EAAE,KAAK,IAAI,EAAE,sBAAsB,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAE1E,UAAU,uBAAuB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,sBAAsB,CAAC;IACpC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3F,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,GAAG,EACH,SAAS,EACT,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,OAAO,EACP,eAAe,EACf,eAAe,EACf,OAAO,GACP,EAAE,uBAAuB,+BAqHzB"}