@caspeco/casper-ui-library 10.3.1 → 10.5.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 (785) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +11 -0
  2. package/dist/_virtual/builtin_esm-external-require-react.js +9 -0
  3. package/dist/components/accordion/accordion-context.js +5 -6
  4. package/dist/components/accordion/accordion-item.js +28 -40
  5. package/dist/components/accordion/accordion-panel.js +17 -14
  6. package/dist/components/accordion/accordion-recipe.js +85 -120
  7. package/dist/components/accordion/accordion.js +23 -20
  8. package/dist/components/alert/alert.js +80 -59
  9. package/dist/components/alert/helper.js +30 -42
  10. package/dist/components/alert/types.d.ts.map +1 -1
  11. package/dist/components/badge/badge-recipe.js +57 -49
  12. package/dist/components/badge/badge.js +66 -71
  13. package/dist/components/badge/helper.js +8 -9
  14. package/dist/components/box/box.js +14 -11
  15. package/dist/components/breadcrumbs/breadcrumb-item.js +21 -17
  16. package/dist/components/breadcrumbs/breadcrumb-link.js +21 -20
  17. package/dist/components/breadcrumbs/breadcrumbs.js +123 -90
  18. package/dist/components/button/button-recipe.js +280 -315
  19. package/dist/components/button/button.js +39 -40
  20. package/dist/components/checkbox/checkbox-icon.js +38 -46
  21. package/dist/components/checkbox/checkbox-recipe.js +176 -204
  22. package/dist/components/checkbox/checkbox.js +43 -36
  23. package/dist/components/checkbox/icons/check.js +5 -5
  24. package/dist/components/checkbox/icons/minus.js +5 -5
  25. package/dist/components/checkbox/icons/plus.js +5 -5
  26. package/dist/components/checkbox-group/checkbox-group.js +17 -16
  27. package/dist/components/collapsible/collapsible.js +117 -101
  28. package/dist/components/collapsible/translations.js +29 -29
  29. package/dist/components/combobox/combobox-button.js +173 -143
  30. package/dist/components/combobox/combobox-item.js +45 -23
  31. package/dist/components/combobox/combobox-menu.js +240 -190
  32. package/dist/components/combobox/combobox-recipe.js +69 -103
  33. package/dist/components/combobox/combobox.js +243 -273
  34. package/dist/components/combobox/translations.js +49 -50
  35. package/dist/components/date-picker/base-date-picker.js +238 -248
  36. package/dist/components/date-picker/date-cell-recipe.js +149 -179
  37. package/dist/components/date-picker/date-multi-picker.js +35 -29
  38. package/dist/components/date-picker/date-picker-date-cell.js +109 -114
  39. package/dist/components/date-picker/date-picker-header.js +152 -170
  40. package/dist/components/date-picker/date-picker-week-cell.js +41 -43
  41. package/dist/components/date-picker/date-picker.js +32 -29
  42. package/dist/components/date-picker/date-range-picker.js +29 -24
  43. package/dist/components/date-picker/date-week-picker.js +29 -22
  44. package/dist/components/date-picker/datepicker-week-recipe.js +75 -91
  45. package/dist/components/date-picker/helper.js +11 -16
  46. package/dist/components/divider/divider-recipe.js +9 -11
  47. package/dist/components/divider/divider.js +19 -18
  48. package/dist/components/drawer/drawer-recipe.js +21 -50
  49. package/dist/components/drawer/drawer.js +45 -41
  50. package/dist/components/drawer/inline-drawer.js +69 -66
  51. package/dist/components/drawer/use-drawer-key-down.js +20 -20
  52. package/dist/components/fieldset/fieldset-error-text.js +15 -15
  53. package/dist/components/fieldset/fieldset-helper-text.js +15 -15
  54. package/dist/components/fieldset/fieldset-legend.js +15 -15
  55. package/dist/components/fieldset/fieldset-recipe.js +14 -24
  56. package/dist/components/fieldset/fieldset.js +17 -17
  57. package/dist/components/flex/flex.js +15 -15
  58. package/dist/components/form-control/form-control-recipe.js +42 -46
  59. package/dist/components/form-control/form-control.js +19 -19
  60. package/dist/components/form-control/form-error-message.js +15 -15
  61. package/dist/components/form-control/form-helper-text.js +15 -15
  62. package/dist/components/form-control/form-label.js +24 -26
  63. package/dist/components/grid/grid-item.js +15 -15
  64. package/dist/components/grid/grid.js +15 -15
  65. package/dist/components/heading/heading.js +24 -23
  66. package/dist/components/highlight/highlight.js +22 -21
  67. package/dist/components/icon/create-icon.js +27 -26
  68. package/dist/components/icon/icons/absence-icon.js +5 -5
  69. package/dist/components/icon/icons/accessibility-icon.js +5 -5
  70. package/dist/components/icon/icons/add-absence-icon.js +5 -5
  71. package/dist/components/icon/icons/add-emoji-icon.js +5 -5
  72. package/dist/components/icon/icons/add-icon.js +5 -5
  73. package/dist/components/icon/icons/apple-icon.js +5 -5
  74. package/dist/components/icon/icons/apps-icon.js +5 -5
  75. package/dist/components/icon/icons/archive-icon.js +6 -6
  76. package/dist/components/icon/icons/area-icon.js +5 -5
  77. package/dist/components/icon/icons/at-icon.js +5 -5
  78. package/dist/components/icon/icons/attachment-icon.js +5 -5
  79. package/dist/components/icon/icons/baby-icon.js +5 -5
  80. package/dist/components/icon/icons/back-icon.js +5 -5
  81. package/dist/components/icon/icons/backspace-icon.js +5 -5
  82. package/dist/components/icon/icons/bank-icon.js +5 -5
  83. package/dist/components/icon/icons/bank-id-icon.js +5 -5
  84. package/dist/components/icon/icons/barcode-icon.js +5 -5
  85. package/dist/components/icon/icons/bell-icon.js +5 -5
  86. package/dist/components/icon/icons/bolt-icon.js +7 -7
  87. package/dist/components/icon/icons/calendar-icon.js +5 -5
  88. package/dist/components/icon/icons/camera-icon.js +5 -5
  89. package/dist/components/icon/icons/cancel-icon.js +5 -5
  90. package/dist/components/icon/icons/card-icon.js +5 -5
  91. package/dist/components/icon/icons/cart-icon.js +5 -5
  92. package/dist/components/icon/icons/caspeco-icon.js +7 -7
  93. package/dist/components/icon/icons/channels-icon.js +5 -5
  94. package/dist/components/icon/icons/chart-icon.js +5 -5
  95. package/dist/components/icon/icons/chart-line-icon.js +5 -5
  96. package/dist/components/icon/icons/chart-mixed-icon.js +5 -5
  97. package/dist/components/icon/icons/chart-pie-icon.js +5 -5
  98. package/dist/components/icon/icons/chart-scatter-icon.js +5 -5
  99. package/dist/components/icon/icons/check-icon.js +5 -5
  100. package/dist/components/icon/icons/checkbox-icon.js +5 -5
  101. package/dist/components/icon/icons/chevron-left-icon.js +5 -5
  102. package/dist/components/icon/icons/chevron-right-icon.js +5 -5
  103. package/dist/components/icon/icons/child-icon.js +5 -5
  104. package/dist/components/icon/icons/circle-info-icon.js +5 -5
  105. package/dist/components/icon/icons/circle-parking-icon.js +5 -5
  106. package/dist/components/icon/icons/circle-question-icon.js +5 -5
  107. package/dist/components/icon/icons/circle-select-icon.js +5 -5
  108. package/dist/components/icon/icons/circle-success-icon.js +5 -5
  109. package/dist/components/icon/icons/circle-user-icon.js +5 -5
  110. package/dist/components/icon/icons/clear-icon.js +5 -5
  111. package/dist/components/icon/icons/close-icon.js +5 -5
  112. package/dist/components/icon/icons/closed-icon.js +5 -5
  113. package/dist/components/icon/icons/collapse-icon.js +5 -5
  114. package/dist/components/icon/icons/color-icon.js +5 -5
  115. package/dist/components/icon/icons/columns-icon.js +5 -5
  116. package/dist/components/icon/icons/comment-add-icon.js +5 -5
  117. package/dist/components/icon/icons/comment-icon.js +5 -5
  118. package/dist/components/icon/icons/cookies-icon.js +5 -5
  119. package/dist/components/icon/icons/copy-icon.js +5 -5
  120. package/dist/components/icon/icons/date-icon.js +5 -5
  121. package/dist/components/icon/icons/decrease-icon.js +4 -4
  122. package/dist/components/icon/icons/delete-icon.js +5 -5
  123. package/dist/components/icon/icons/deliverect-icon.js +5 -5
  124. package/dist/components/icon/icons/delivery-icon.js +5 -5
  125. package/dist/components/icon/icons/description-icon.js +5 -5
  126. package/dist/components/icon/icons/discount-icon.js +5 -5
  127. package/dist/components/icon/icons/distribute-evenly-icon.js +5 -5
  128. package/dist/components/icon/icons/door-closed-icon.js +5 -5
  129. package/dist/components/icon/icons/door-open-icon.js +5 -5
  130. package/dist/components/icon/icons/down-icon.js +5 -5
  131. package/dist/components/icon/icons/eat-in-icon.js +5 -5
  132. package/dist/components/icon/icons/edit-icon.js +5 -5
  133. package/dist/components/icon/icons/email-icon.js +5 -5
  134. package/dist/components/icon/icons/error-icon.js +5 -5
  135. package/dist/components/icon/icons/expand-icon.js +5 -5
  136. package/dist/components/icon/icons/export-icon.js +5 -5
  137. package/dist/components/icon/icons/extract-icon.js +5 -5
  138. package/dist/components/icon/icons/facebook-icon.js +5 -5
  139. package/dist/components/icon/icons/failed-print-icon.js +5 -5
  140. package/dist/components/icon/icons/file-icon.js +5 -5
  141. package/dist/components/icon/icons/filter-icon.js +5 -5
  142. package/dist/components/icon/icons/folder-icon.js +5 -5
  143. package/dist/components/icon/icons/foodora-icon.js +5 -5
  144. package/dist/components/icon/icons/forward-icon.js +5 -5
  145. package/dist/components/icon/icons/glovo-icon.js +7 -7
  146. package/dist/components/icon/icons/goal-icon.js +5 -5
  147. package/dist/components/icon/icons/google-icon.js +5 -5
  148. package/dist/components/icon/icons/grip-more-icon.js +5 -5
  149. package/dist/components/icon/icons/hash-icon.js +5 -5
  150. package/dist/components/icon/icons/hexagon-error-icon.js +5 -5
  151. package/dist/components/icon/icons/hide-icon.js +5 -5
  152. package/dist/components/icon/icons/history-icon.js +5 -5
  153. package/dist/components/icon/icons/icon-picker-anchor-icon.js +5 -5
  154. package/dist/components/icon/icons/icon-picker-asterisk-icon.js +5 -5
  155. package/dist/components/icon/icons/icon-picker-beer-icon.js +5 -5
  156. package/dist/components/icon/icons/icon-picker-bicycle-icon.js +5 -5
  157. package/dist/components/icon/icons/icon-picker-binoculars-icon.js +5 -5
  158. package/dist/components/icon/icons/icon-picker-bomb-icon.js +5 -5
  159. package/dist/components/icon/icons/icon-picker-car-icon.js +5 -5
  160. package/dist/components/icon/icons/icon-picker-cocktail-icon.js +5 -5
  161. package/dist/components/icon/icons/icon-picker-gem-icon.js +5 -5
  162. package/dist/components/icon/icons/icon-picker-heart-full-icon.js +5 -5
  163. package/dist/components/icon/icons/icon-picker-heart-icon.js +5 -5
  164. package/dist/components/icon/icons/icon-picker-magnet-icon.js +5 -5
  165. package/dist/components/icon/icons/icon-picker-money-icon.js +5 -5
  166. package/dist/components/icon/icons/icon-picker-moon-icon.js +5 -5
  167. package/dist/components/icon/icons/icon-picker-music-icon.js +5 -5
  168. package/dist/components/icon/icons/icon-picker-star-full-icon.js +5 -5
  169. package/dist/components/icon/icons/icon-picker-star-half-icon.js +5 -5
  170. package/dist/components/icon/icons/icon-picker-star-icon.js +5 -5
  171. package/dist/components/icon/icons/icon-picker-tint-icon.js +5 -5
  172. package/dist/components/icon/icons/icon-picker-tree-icon.js +5 -5
  173. package/dist/components/icon/icons/icon-picker-utensils-icon.js +5 -5
  174. package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +5 -5
  175. package/dist/components/icon/icons/image-icon.js +5 -5
  176. package/dist/components/icon/icons/import-icon.js +5 -5
  177. package/dist/components/icon/icons/inbox-icon.js +5 -5
  178. package/dist/components/icon/icons/increase-icon.js +5 -5
  179. package/dist/components/icon/icons/indeterminate-icon.js +4 -4
  180. package/dist/components/icon/icons/index.d.ts +1 -0
  181. package/dist/components/icon/icons/index.d.ts.map +1 -1
  182. package/dist/components/icon/icons/info-icon.js +5 -5
  183. package/dist/components/icon/icons/inheritance-icon.js +5 -5
  184. package/dist/components/icon/icons/just-eat-icon.js +5 -5
  185. package/dist/components/icon/icons/karma-icon.js +5 -5
  186. package/dist/components/icon/icons/key-command-icon.js +5 -5
  187. package/dist/components/icon/icons/key-enter-icon.js +5 -5
  188. package/dist/components/icon/icons/key-icon.js +5 -5
  189. package/dist/components/icon/icons/key-option-icon.js +5 -5
  190. package/dist/components/icon/icons/language-icon.js +5 -5
  191. package/dist/components/icon/icons/link-broken-icon.js +5 -5
  192. package/dist/components/icon/icons/link-external-icon.js +5 -5
  193. package/dist/components/icon/icons/link-icon.js +5 -5
  194. package/dist/components/icon/icons/list-ol-icon.js +5 -5
  195. package/dist/components/icon/icons/list-ul-icon.js +5 -5
  196. package/dist/components/icon/icons/loading-icon.js +5 -5
  197. package/dist/components/icon/icons/location-icon.js +5 -5
  198. package/dist/components/icon/icons/lock-icon.js +5 -5
  199. package/dist/components/icon/icons/log-in-icon.js +5 -5
  200. package/dist/components/icon/icons/log-out-icon.js +5 -5
  201. package/dist/components/icon/icons/map-icon.js +5 -5
  202. package/dist/components/icon/icons/maximize-icon.js +5 -5
  203. package/dist/components/icon/icons/members-icon.js +5 -5
  204. package/dist/components/icon/icons/menu-hide-icon.js +5 -5
  205. package/dist/components/icon/icons/menu-icon.js +5 -5
  206. package/dist/components/icon/icons/menu-show-icon.js +5 -5
  207. package/dist/components/icon/icons/message-add-icon.js +5 -5
  208. package/dist/components/icon/icons/message-icon.js +5 -5
  209. package/dist/components/icon/icons/message-lines-icon.js +5 -5
  210. package/dist/components/icon/icons/minimize-icon.js +5 -5
  211. package/dist/components/icon/icons/minimize-window-icon.js +5 -5
  212. package/dist/components/icon/icons/mobile-rotate-icon.js +5 -5
  213. package/dist/components/icon/icons/module-accounting-icon.js +5 -5
  214. package/dist/components/icon/icons/module-ai-forecast-icon.js +5 -5
  215. package/dist/components/icon/icons/module-app-icon.js +5 -5
  216. package/dist/components/icon/icons/module-articles-icon.js +5 -5
  217. package/dist/components/icon/icons/module-benchmark-icon.js +5 -5
  218. package/dist/components/icon/icons/module-booking-icon.js +5 -5
  219. package/dist/components/icon/icons/module-cai-icon.js +5 -5
  220. package/dist/components/icon/icons/module-campaigns-icon.js +5 -5
  221. package/dist/components/icon/icons/module-cashier-icon.js +5 -5
  222. package/dist/components/icon/icons/module-communication-icon.js +5 -5
  223. package/dist/components/icon/icons/module-copilot-icon.js +5 -5
  224. package/dist/components/icon/icons/module-dashboard-icon.js +5 -5
  225. package/dist/components/icon/icons/module-document-icon.js +5 -5
  226. package/dist/components/icon/icons/module-employees-icon.js +5 -5
  227. package/dist/components/icon/icons/module-feed-icon.js +5 -5
  228. package/dist/components/icon/icons/module-history-icon.js +5 -5
  229. package/dist/components/icon/icons/module-home-icon.js +5 -5
  230. package/dist/components/icon/icons/module-insights-icon.js +5 -5
  231. package/dist/components/icon/icons/module-kds-icon.js +5 -5
  232. package/dist/components/icon/icons/module-members-icon.js +5 -5
  233. package/dist/components/icon/icons/module-menus-icon.js +5 -5
  234. package/dist/components/icon/icons/module-my-city-icon.js +5 -5
  235. package/dist/components/icon/icons/module-notification-center-icon.js +5 -5
  236. package/dist/components/icon/icons/module-online-order-icon.js +5 -5
  237. package/dist/components/icon/icons/module-organisation-icon.js +5 -5
  238. package/dist/components/icon/icons/module-pos-icon.js +5 -5
  239. package/dist/components/icon/icons/module-pulse-icon.js +5 -5
  240. package/dist/components/icon/icons/module-result-icon.js +5 -5
  241. package/dist/components/icon/icons/module-salary-icon.js +5 -5
  242. package/dist/components/icon/icons/module-schedule-icon.js +5 -5
  243. package/dist/components/icon/icons/module-settings-alt-icon.js +5 -5
  244. package/dist/components/icon/icons/module-settings-icon.js +5 -5
  245. package/dist/components/icon/icons/module-support-icon.js +5 -5
  246. package/dist/components/icon/icons/module-survey-icon.js +5 -5
  247. package/dist/components/icon/icons/module-table-map-icon.js +6 -6
  248. package/dist/components/icon/icons/module-tablet-icon.js +5 -5
  249. package/dist/components/icon/icons/module-time-icon.js +5 -5
  250. package/dist/components/icon/icons/module-timeline-icon.js +5 -5
  251. package/dist/components/icon/icons/module-tip-icon.js +5 -5
  252. package/dist/components/icon/icons/module-to-do-icon.js +5 -5
  253. package/dist/components/icon/icons/module-tools-icon.js +5 -5
  254. package/dist/components/icon/icons/module-top-list-icon.js +5 -5
  255. package/dist/components/icon/icons/module-web-charts-icon.js +5 -5
  256. package/dist/components/icon/icons/module-web-icon.js +5 -5
  257. package/dist/components/icon/icons/more-horizontal-icon.js +5 -5
  258. package/dist/components/icon/icons/more-vertical-icon.js +5 -5
  259. package/dist/components/icon/icons/nfc-icon.js +5 -5
  260. package/dist/components/icon/icons/no-cart-icon.js +5 -5
  261. package/dist/components/icon/icons/note-icon.js +5 -5
  262. package/dist/components/icon/icons/number-icon.js +6 -6
  263. package/dist/components/icon/icons/open-modal-icon.js +5 -5
  264. package/dist/components/icon/icons/parking-icon.js +5 -5
  265. package/dist/components/icon/icons/party-horn-icon.js +5 -5
  266. package/dist/components/icon/icons/paste-icon.d.ts +2 -0
  267. package/dist/components/icon/icons/paste-icon.d.ts.map +1 -0
  268. package/dist/components/icon/icons/paste-icon.js +5 -0
  269. package/dist/components/icon/icons/pause-icon.js +5 -5
  270. package/dist/components/icon/icons/payment-card-icon.js +5 -5
  271. package/dist/components/icon/icons/payment-cash-icon.js +5 -5
  272. package/dist/components/icon/icons/payment-generic-icon.js +5 -5
  273. package/dist/components/icon/icons/payment-giftcard-icon.js +5 -5
  274. package/dist/components/icon/icons/payment-hotel-icon.js +5 -5
  275. package/dist/components/icon/icons/payment-invoice-icon.js +5 -5
  276. package/dist/components/icon/icons/percentage-icon.js +5 -5
  277. package/dist/components/icon/icons/phone-icon.js +5 -5
  278. package/dist/components/icon/icons/pin-icon.js +5 -5
  279. package/dist/components/icon/icons/pin-map-icon.js +5 -5
  280. package/dist/components/icon/icons/play-icon.js +5 -5
  281. package/dist/components/icon/icons/preview-icon.js +5 -5
  282. package/dist/components/icon/icons/print-icon.js +5 -5
  283. package/dist/components/icon/icons/privacy-icon.js +5 -5
  284. package/dist/components/icon/icons/product-admin-icon.js +5 -5
  285. package/dist/components/icon/icons/product-analytics-icon.js +5 -5
  286. package/dist/components/icon/icons/product-booking-icon.js +5 -5
  287. package/dist/components/icon/icons/product-checkout-icon.js +5 -5
  288. package/dist/components/icon/icons/product-my-pages-icon.js +5 -5
  289. package/dist/components/icon/icons/product-staff-icon.js +5 -5
  290. package/dist/components/icon/icons/puck-icon.js +5 -5
  291. package/dist/components/icon/icons/qr-code-icon.js +5 -5
  292. package/dist/components/icon/icons/question-icon.js +5 -5
  293. package/dist/components/icon/icons/radio-icon.js +5 -5
  294. package/dist/components/icon/icons/receipt-icon.js +5 -5
  295. package/dist/components/icon/icons/redo-icon.js +5 -5
  296. package/dist/components/icon/icons/refund-icon.js +5 -5
  297. package/dist/components/icon/icons/remove-icon.js +5 -5
  298. package/dist/components/icon/icons/replace-icon.js +5 -5
  299. package/dist/components/icon/icons/schedule-icon.js +5 -5
  300. package/dist/components/icon/icons/search-icon.js +5 -5
  301. package/dist/components/icon/icons/select-icon.js +4 -4
  302. package/dist/components/icon/icons/send-icon.js +5 -5
  303. package/dist/components/icon/icons/share-icon.js +5 -5
  304. package/dist/components/icon/icons/show-icon.js +5 -5
  305. package/dist/components/icon/icons/shuffle-icon.js +5 -5
  306. package/dist/components/icon/icons/sidebar-hide-icon.js +4 -4
  307. package/dist/components/icon/icons/sidebar-left-icon.js +4 -4
  308. package/dist/components/icon/icons/sidebar-right-icon.js +5 -5
  309. package/dist/components/icon/icons/sidebar-show-icon.js +5 -5
  310. package/dist/components/icon/icons/sliders-icon.js +5 -5
  311. package/dist/components/icon/icons/slightly-sad-icon.js +5 -5
  312. package/dist/components/icon/icons/smile-icon.js +5 -5
  313. package/dist/components/icon/icons/sort-asc-icon.js +5 -5
  314. package/dist/components/icon/icons/sort-desc-icon.js +5 -5
  315. package/dist/components/icon/icons/split-icon.js +5 -5
  316. package/dist/components/icon/icons/status-icon.js +5 -5
  317. package/dist/components/icon/icons/stop-icon.js +5 -5
  318. package/dist/components/icon/icons/submenu-icon.js +5 -5
  319. package/dist/components/icon/icons/success-icon.js +5 -5
  320. package/dist/components/icon/icons/swap-icon.js +5 -5
  321. package/dist/components/icon/icons/swatch-icon.js +5 -5
  322. package/dist/components/icon/icons/sweat-icon.js +5 -5
  323. package/dist/components/icon/icons/table-icon.js +5 -5
  324. package/dist/components/icon/icons/table-map-icon.js +5 -5
  325. package/dist/components/icon/icons/take-away-dot-com-icon.js +5 -5
  326. package/dist/components/icon/icons/take-away-icon.js +5 -5
  327. package/dist/components/icon/icons/talk-icon.js +5 -5
  328. package/dist/components/icon/icons/thumbtack-icon.js +5 -5
  329. package/dist/components/icon/icons/time-icon.js +5 -5
  330. package/dist/components/icon/icons/timeline-icon.js +5 -5
  331. package/dist/components/icon/icons/tip-icon.js +5 -5
  332. package/dist/components/icon/icons/title-icon.js +5 -5
  333. package/dist/components/icon/icons/translate-icon.js +5 -5
  334. package/dist/components/icon/icons/tree-view-collapse-icon.js +4 -4
  335. package/dist/components/icon/icons/tree-view-expand-icon.js +4 -4
  336. package/dist/components/icon/icons/tree-view-last-icon.js +4 -4
  337. package/dist/components/icon/icons/trend-down-icon.js +5 -5
  338. package/dist/components/icon/icons/trend-up-icon.js +5 -5
  339. package/dist/components/icon/icons/triangle-warning-icon.js +5 -5
  340. package/dist/components/icon/icons/trivec-icon.js +6 -6
  341. package/dist/components/icon/icons/uber-eats-icon.js +5 -5
  342. package/dist/components/icon/icons/undo-icon.js +5 -5
  343. package/dist/components/icon/icons/unlock-icon.js +5 -5
  344. package/dist/components/icon/icons/unwrap-content-icon.js +5 -5
  345. package/dist/components/icon/icons/up-icon.js +5 -5
  346. package/dist/components/icon/icons/user-group-icon.js +5 -5
  347. package/dist/components/icon/icons/user-icon.js +5 -5
  348. package/dist/components/icon/icons/user-permissions-icon.js +5 -5
  349. package/dist/components/icon/icons/user-wait-icon.js +5 -5
  350. package/dist/components/icon/icons/users-icon.js +5 -5
  351. package/dist/components/icon/icons/version-control-icon.js +5 -5
  352. package/dist/components/icon/icons/volume-high-icon.js +5 -5
  353. package/dist/components/icon/icons/volume-icon.js +5 -5
  354. package/dist/components/icon/icons/volume-low-icon.js +5 -5
  355. package/dist/components/icon/icons/volume-off-icon.js +5 -5
  356. package/dist/components/icon/icons/warning-icon.js +5 -5
  357. package/dist/components/icon/icons/waste-icon.js +5 -5
  358. package/dist/components/icon/icons/wifi-icon.js +5 -5
  359. package/dist/components/icon/icons/wifi-off-icon.js +5 -5
  360. package/dist/components/icon/icons/wolt-icon.js +5 -5
  361. package/dist/components/icon/icons/wrap-content-icon.js +5 -5
  362. package/dist/components/icon-button/icon-button.js +37 -39
  363. package/dist/components/image/image.js +12 -14
  364. package/dist/components/image-upload/image-cropper.helper.js +74 -82
  365. package/dist/components/image-upload/image-cropper.js +156 -183
  366. package/dist/components/image-upload/image-upload-dropzone.js +134 -112
  367. package/dist/components/image-upload/image-upload-helper.js +15 -19
  368. package/dist/components/image-upload/image-upload-icons.js +52 -20
  369. package/dist/components/image-upload/image-upload-modal.js +131 -106
  370. package/dist/components/image-upload/image-upload.js +96 -86
  371. package/dist/components/image-upload/translations.js +65 -65
  372. package/dist/components/image-upload/types.js +6 -4
  373. package/dist/components/input/helper.js +18 -29
  374. package/dist/components/input/input-addon-recipe.js +37 -43
  375. package/dist/components/input/input-recipe.js +124 -133
  376. package/dist/components/input/input.js +78 -83
  377. package/dist/components/link/link-recipe.js +18 -22
  378. package/dist/components/link/link.js +14 -14
  379. package/dist/components/list/list-item.js +15 -15
  380. package/dist/components/list/list.js +19 -20
  381. package/dist/components/menu/helper.js +12 -16
  382. package/dist/components/menu/menu-box-button.js +22 -18
  383. package/dist/components/menu/menu-button.js +18 -16
  384. package/dist/components/menu/menu-divider.js +31 -28
  385. package/dist/components/menu/menu-group.js +138 -142
  386. package/dist/components/menu/menu-icon-button.js +13 -11
  387. package/dist/components/menu/menu-item.js +44 -45
  388. package/dist/components/menu/menu-list.js +14 -15
  389. package/dist/components/menu/menu-recipe.js +67 -81
  390. package/dist/components/menu/menu.js +34 -41
  391. package/dist/components/message/message.js +52 -38
  392. package/dist/components/modal/modal-body-context.js +6 -7
  393. package/dist/components/modal/modal-body.js +17 -17
  394. package/dist/components/modal/modal-close-button.js +23 -18
  395. package/dist/components/modal/modal-footer.js +29 -32
  396. package/dist/components/modal/modal-header.js +17 -17
  397. package/dist/components/modal/modal-recipe.js +110 -141
  398. package/dist/components/modal/modal.js +54 -58
  399. package/dist/components/navigation-list/navigation-list-item.js +76 -88
  400. package/dist/components/navigation-list/navigation-list.js +23 -17
  401. package/dist/components/paginator/paginator-recipe.js +34 -40
  402. package/dist/components/paginator/paginator.js +65 -70
  403. package/dist/components/paginator/translations.js +35 -35
  404. package/dist/components/phone-input/country-data.js +31 -36
  405. package/dist/components/phone-input/country-list.js +45 -25
  406. package/dist/components/phone-input/country-selector.js +167 -115
  407. package/dist/components/phone-input/phone-input-helpers.js +91 -119
  408. package/dist/components/phone-input/phone-input.js +47 -42
  409. package/dist/components/phone-input/translations.js +53 -53
  410. package/dist/components/phone-input/use-phone-input.js +110 -137
  411. package/dist/components/quantity-button/minus-button.js +18 -16
  412. package/dist/components/quantity-button/plus-button.js +18 -16
  413. package/dist/components/quantity-button/quantity-button.js +72 -40
  414. package/dist/components/radio/check-icon.js +5 -5
  415. package/dist/components/radio/hover-styles.js +21 -36
  416. package/dist/components/radio/radio-group-context.js +5 -6
  417. package/dist/components/radio/radio-group-recipe.js +124 -142
  418. package/dist/components/radio/radio-group.js +30 -28
  419. package/dist/components/radio/radio.js +72 -55
  420. package/dist/components/radio-card/hover-styles.js +21 -36
  421. package/dist/components/radio-card/radio-card-group.js +24 -25
  422. package/dist/components/radio-card/radio-card.js +87 -67
  423. package/dist/components/rich-text-editor/boolean-control.js +51 -54
  424. package/dist/components/rich-text-editor/extensions.js +39 -34
  425. package/dist/components/rich-text-editor/index.js +26 -22
  426. package/dist/components/rich-text-editor/rich-text-editor-context.js +9 -11
  427. package/dist/components/rich-text-editor/rich-text-editor-control.js +290 -284
  428. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +71 -83
  429. package/dist/components/rich-text-editor/rich-text-editor.js +72 -69
  430. package/dist/components/rich-text-editor/rich-text-renderer.js +32 -32
  431. package/dist/components/rich-text-editor/translations.js +119 -119
  432. package/dist/components/rich-text-editor/use-rich-text-editor.js +22 -29
  433. package/dist/components/segmented-control/segmented-control-item.js +24 -25
  434. package/dist/components/segmented-control/segmented-control.js +49 -40
  435. package/dist/components/select/select-recipe.js +91 -106
  436. package/dist/components/select/select.js +27 -29
  437. package/dist/components/skeleton/skeleton-text.js +18 -19
  438. package/dist/components/skeleton/skeleton.js +19 -20
  439. package/dist/components/spinner/spinner.js +44 -28
  440. package/dist/components/stack/stack.js +18 -18
  441. package/dist/components/stepper/check-icon.js +5 -5
  442. package/dist/components/stepper/step-context.js +5 -5
  443. package/dist/components/stepper/step.js +111 -106
  444. package/dist/components/stepper/stepper.js +42 -43
  445. package/dist/components/stepper/times-icon.js +5 -5
  446. package/dist/components/switch/hover-styles.js +30 -44
  447. package/dist/components/switch/switch-recipe.js +76 -84
  448. package/dist/components/switch/switch.d.ts +3 -3
  449. package/dist/components/switch/switch.d.ts.map +1 -1
  450. package/dist/components/switch/switch.js +30 -31
  451. package/dist/components/switch/types.d.ts +4 -2
  452. package/dist/components/switch/types.d.ts.map +1 -1
  453. package/dist/components/table/helper.d.ts +6 -0
  454. package/dist/components/table/helper.d.ts.map +1 -1
  455. package/dist/components/table/helper.js +29 -9
  456. package/dist/components/table/index.d.ts +1 -1
  457. package/dist/components/table/index.d.ts.map +1 -1
  458. package/dist/components/table/table-cell.d.ts.map +1 -1
  459. package/dist/components/table/table-cell.js +136 -122
  460. package/dist/components/table/table-column-resize-handle.d.ts +12 -0
  461. package/dist/components/table/table-column-resize-handle.d.ts.map +1 -0
  462. package/dist/components/table/table-column-resize-handle.js +69 -0
  463. package/dist/components/table/table-content.d.ts.map +1 -1
  464. package/dist/components/table/table-content.js +174 -98
  465. package/dist/components/table/table-context-provider.d.ts +7 -2
  466. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  467. package/dist/components/table/table-context-provider.js +203 -151
  468. package/dist/components/table/table-context.d.ts +24 -0
  469. package/dist/components/table/table-context.d.ts.map +1 -1
  470. package/dist/components/table/table-context.js +18 -11
  471. package/dist/components/table/table-filter.js +170 -118
  472. package/dist/components/table/table-header-dropdown.js +131 -89
  473. package/dist/components/table/table-header-row.d.ts.map +1 -1
  474. package/dist/components/table/table-header-row.js +202 -140
  475. package/dist/components/table/table-recipe.d.ts.map +1 -1
  476. package/dist/components/table/table-recipe.js +75 -96
  477. package/dist/components/table/table-row-expand-toggle-button.js +28 -35
  478. package/dist/components/table/table-row.d.ts.map +1 -1
  479. package/dist/components/table/table-row.js +51 -41
  480. package/dist/components/table/table-toolbar-actions.js +19 -19
  481. package/dist/components/table/table-toolbar-add-button.js +18 -13
  482. package/dist/components/table/table-toolbar-search.js +17 -12
  483. package/dist/components/table/table-toolbar-settings.js +180 -133
  484. package/dist/components/table/table-toolbar.js +72 -51
  485. package/dist/components/table/table.composition.d.ts +1 -0
  486. package/dist/components/table/table.composition.d.ts.map +1 -1
  487. package/dist/components/table/table.constants.d.ts +4 -0
  488. package/dist/components/table/table.constants.d.ts.map +1 -1
  489. package/dist/components/table/table.constants.js +9 -4
  490. package/dist/components/table/table.d.ts +1 -1
  491. package/dist/components/table/table.d.ts.map +1 -1
  492. package/dist/components/table/table.js +41 -37
  493. package/dist/components/table/translations.d.ts +7 -0
  494. package/dist/components/table/translations.d.ts.map +1 -1
  495. package/dist/components/table/translations.js +199 -194
  496. package/dist/components/table/types.d.ts +33 -2
  497. package/dist/components/table/types.d.ts.map +1 -1
  498. package/dist/components/tabs/tab-list.js +16 -17
  499. package/dist/components/tabs/tab-panel.js +14 -14
  500. package/dist/components/tabs/tab-panels.js +15 -15
  501. package/dist/components/tabs/tab-with-image.js +60 -53
  502. package/dist/components/tabs/tab.js +26 -22
  503. package/dist/components/tabs/tabs-recipe.js +96 -116
  504. package/dist/components/tabs/tabs.js +25 -24
  505. package/dist/components/tag/tag-recipe.js +225 -252
  506. package/dist/components/tag/tag.js +121 -62
  507. package/dist/components/text/text-recipe.js +3 -8
  508. package/dist/components/text/text.js +26 -27
  509. package/dist/components/textarea/textarea-recipe.js +90 -96
  510. package/dist/components/textarea/textarea.js +19 -19
  511. package/dist/components/toaster/toast-store.d.ts +2 -2
  512. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  513. package/dist/components/toaster/toast-store.js +25 -32
  514. package/dist/components/toaster/toaster.js +39 -34
  515. package/dist/components/toggle-button/toggle-button.js +23 -25
  516. package/dist/components/toggle-button/use-button-children.js +36 -35
  517. package/dist/components/tooltip/tooltip.js +43 -47
  518. package/dist/hooks/use-color-mode.js +17 -22
  519. package/dist/hooks/use-disclosure.js +10 -13
  520. package/dist/hooks/use-measured-width.js +21 -21
  521. package/dist/hooks/use-remove-attributes.js +25 -24
  522. package/dist/index.js +395 -799
  523. package/dist/node_modules/@dnd-kit/abstract/index.js +658 -1185
  524. package/dist/node_modules/@dnd-kit/collision/dist/index.js +51 -90
  525. package/dist/node_modules/@dnd-kit/dom/index.js +1256 -1518
  526. package/dist/node_modules/@dnd-kit/dom/sortable.js +529 -654
  527. package/dist/node_modules/@dnd-kit/dom/utilities.js +772 -940
  528. package/dist/node_modules/@dnd-kit/geometry/dist/index.js +228 -196
  529. package/dist/node_modules/@dnd-kit/react/hooks.js +51 -63
  530. package/dist/node_modules/@dnd-kit/react/index.js +175 -235
  531. package/dist/node_modules/@dnd-kit/react/sortable.js +67 -142
  532. package/dist/node_modules/@dnd-kit/react/utilities.js +7 -9
  533. package/dist/node_modules/@dnd-kit/state/dist/index.js +157 -172
  534. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +154 -243
  535. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +294 -369
  536. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +95 -133
  537. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +96 -122
  538. package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +249 -264
  539. package/dist/node_modules/@tanstack/react-table/build/lib/index.js +34 -88
  540. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +74 -88
  541. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1463 -1822
  542. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +633 -768
  543. package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +30 -32
  544. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +35 -48
  545. package/dist/node_modules/@tiptap/core/dist/index.js +3433 -3946
  546. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +19 -19
  547. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +73 -1498
  548. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +71 -84
  549. package/dist/node_modules/@tiptap/extension-code/dist/index.js +65 -70
  550. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +155 -216
  551. package/dist/node_modules/@tiptap/extension-document/dist/index.js +9 -11
  552. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +48 -60
  553. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +65 -66
  554. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +47 -55
  555. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +68 -82
  556. package/dist/node_modules/@tiptap/extension-link/dist/index.js +365 -334
  557. package/dist/node_modules/@tiptap/extension-list/dist/index.js +936 -1105
  558. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +43 -48
  559. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +53 -65
  560. package/dist/node_modules/@tiptap/extension-text/dist/index.js +12 -12
  561. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +60 -64
  562. package/dist/node_modules/@tiptap/extensions/dist/index.js +439 -462
  563. package/dist/node_modules/@tiptap/react/dist/index.js +314 -0
  564. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +23 -24
  565. package/dist/node_modules/country-flag-icons/modules/countries.json.js +4 -4
  566. package/dist/node_modules/country-flag-icons/modules/hasFlag.js +6 -6
  567. package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +5469 -6298
  568. package/dist/node_modules/country-flag-icons/react/3x2/index.js +273 -269
  569. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
  570. package/dist/node_modules/date-fns/_lib/defaultOptions.js +6 -6
  571. package/dist/node_modules/date-fns/_lib/format/formatters.js +385 -544
  572. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +42 -57
  573. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +37 -48
  574. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
  575. package/dist/node_modules/date-fns/_lib/normalizeDates.js +6 -9
  576. package/dist/node_modules/date-fns/_lib/protectedTokens.js +19 -16
  577. package/dist/node_modules/date-fns/addDays.js +8 -8
  578. package/dist/node_modules/date-fns/addMonths.js +11 -18
  579. package/dist/node_modules/date-fns/addWeeks.js +6 -6
  580. package/dist/node_modules/date-fns/constants.js +10 -6
  581. package/dist/node_modules/date-fns/constructFrom.js +6 -6
  582. package/dist/node_modules/date-fns/constructNow.js +6 -6
  583. package/dist/node_modules/date-fns/differenceInCalendarDays.js +10 -14
  584. package/dist/node_modules/date-fns/endOfDay.js +7 -7
  585. package/dist/node_modules/date-fns/endOfMonth.js +7 -7
  586. package/dist/node_modules/date-fns/format.js +57 -55
  587. package/dist/node_modules/date-fns/getDayOfYear.js +9 -9
  588. package/dist/node_modules/date-fns/getISOWeek.js +10 -10
  589. package/dist/node_modules/date-fns/getISOWeekYear.js +13 -13
  590. package/dist/node_modules/date-fns/getWeek.js +10 -10
  591. package/dist/node_modules/date-fns/getWeekYear.js +14 -14
  592. package/dist/node_modules/date-fns/isBefore.js +6 -6
  593. package/dist/node_modules/date-fns/isDate.js +5 -5
  594. package/dist/node_modules/date-fns/isPast.js +6 -6
  595. package/dist/node_modules/date-fns/isSameDay.js +8 -12
  596. package/dist/node_modules/date-fns/isSameMonth.js +7 -11
  597. package/dist/node_modules/date-fns/isSameWeek.js +8 -12
  598. package/dist/node_modules/date-fns/isSameYear.js +7 -11
  599. package/dist/node_modules/date-fns/isToday.js +7 -10
  600. package/dist/node_modules/date-fns/isValid.js +7 -7
  601. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
  602. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
  603. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
  604. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -14
  605. package/dist/node_modules/date-fns/locale/da/_lib/formatDistance.js +68 -69
  606. package/dist/node_modules/date-fns/locale/da/_lib/formatLong.js +31 -32
  607. package/dist/node_modules/date-fns/locale/da/_lib/formatRelative.js +11 -11
  608. package/dist/node_modules/date-fns/locale/da/_lib/localize.js +193 -142
  609. package/dist/node_modules/date-fns/locale/da/_lib/match.js +123 -109
  610. package/dist/node_modules/date-fns/locale/da.js +17 -17
  611. package/dist/node_modules/date-fns/locale/en-GB/_lib/formatLong.js +31 -32
  612. package/dist/node_modules/date-fns/locale/en-GB.js +18 -18
  613. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
  614. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
  615. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
  616. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
  617. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
  618. package/dist/node_modules/date-fns/locale/en-US.js +18 -18
  619. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +68 -69
  620. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +31 -32
  621. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -18
  622. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +192 -141
  623. package/dist/node_modules/date-fns/locale/es/_lib/match.js +127 -114
  624. package/dist/node_modules/date-fns/locale/es.js +18 -18
  625. package/dist/node_modules/date-fns/locale/et/_lib/formatDistance.js +161 -162
  626. package/dist/node_modules/date-fns/locale/et/_lib/formatLong.js +31 -32
  627. package/dist/node_modules/date-fns/locale/et/_lib/formatRelative.js +11 -11
  628. package/dist/node_modules/date-fns/locale/et/_lib/localize.js +196 -152
  629. package/dist/node_modules/date-fns/locale/et/_lib/match.js +109 -107
  630. package/dist/node_modules/date-fns/locale/et.js +19 -19
  631. package/dist/node_modules/date-fns/locale/fi/_lib/formatDistance.js +101 -101
  632. package/dist/node_modules/date-fns/locale/fi/_lib/formatLong.js +31 -32
  633. package/dist/node_modules/date-fns/locale/fi/_lib/formatRelative.js +11 -11
  634. package/dist/node_modules/date-fns/locale/fi/_lib/localize.js +192 -140
  635. package/dist/node_modules/date-fns/locale/fi/_lib/match.js +122 -108
  636. package/dist/node_modules/date-fns/locale/fi.js +18 -18
  637. package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +68 -69
  638. package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +31 -32
  639. package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -11
  640. package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +176 -120
  641. package/dist/node_modules/date-fns/locale/fr/_lib/match.js +122 -108
  642. package/dist/node_modules/date-fns/locale/fr.js +18 -18
  643. package/dist/node_modules/date-fns/locale/lt/_lib/formatDistance.js +93 -109
  644. package/dist/node_modules/date-fns/locale/lt/_lib/formatLong.js +31 -32
  645. package/dist/node_modules/date-fns/locale/lt/_lib/formatRelative.js +11 -11
  646. package/dist/node_modules/date-fns/locale/lt/_lib/localize.js +298 -195
  647. package/dist/node_modules/date-fns/locale/lt/_lib/match.js +154 -121
  648. package/dist/node_modules/date-fns/locale/lt.js +19 -19
  649. package/dist/node_modules/date-fns/locale/lv/_lib/formatDistance.js +226 -120
  650. package/dist/node_modules/date-fns/locale/lv/_lib/formatLong.js +31 -32
  651. package/dist/node_modules/date-fns/locale/lv/_lib/formatRelative.js +22 -22
  652. package/dist/node_modules/date-fns/locale/lv/_lib/localize.js +298 -221
  653. package/dist/node_modules/date-fns/locale/lv/_lib/match.js +138 -112
  654. package/dist/node_modules/date-fns/locale/lv.js +18 -18
  655. package/dist/node_modules/date-fns/locale/nb/_lib/formatDistance.js +68 -69
  656. package/dist/node_modules/date-fns/locale/nb/_lib/formatLong.js +31 -32
  657. package/dist/node_modules/date-fns/locale/nb/_lib/formatRelative.js +11 -11
  658. package/dist/node_modules/date-fns/locale/nb/_lib/localize.js +159 -108
  659. package/dist/node_modules/date-fns/locale/nb/_lib/match.js +112 -108
  660. package/dist/node_modules/date-fns/locale/nb.js +18 -18
  661. package/dist/node_modules/date-fns/locale/nl/_lib/formatDistance.js +68 -69
  662. package/dist/node_modules/date-fns/locale/nl/_lib/formatLong.js +31 -32
  663. package/dist/node_modules/date-fns/locale/nl/_lib/formatRelative.js +11 -11
  664. package/dist/node_modules/date-fns/locale/nl/_lib/localize.js +160 -109
  665. package/dist/node_modules/date-fns/locale/nl/_lib/match.js +120 -108
  666. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatDistance.js +68 -69
  667. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatLong.js +31 -32
  668. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatRelative.js +11 -11
  669. package/dist/node_modules/date-fns/locale/nl-BE/_lib/localize.js +160 -109
  670. package/dist/node_modules/date-fns/locale/nl-BE/_lib/match.js +120 -108
  671. package/dist/node_modules/date-fns/locale/nl-BE.js +18 -18
  672. package/dist/node_modules/date-fns/locale/nl.js +18 -18
  673. package/dist/node_modules/date-fns/locale/sv/_lib/formatDistance.js +82 -86
  674. package/dist/node_modules/date-fns/locale/sv/_lib/formatLong.js +31 -32
  675. package/dist/node_modules/date-fns/locale/sv/_lib/formatRelative.js +11 -11
  676. package/dist/node_modules/date-fns/locale/sv/_lib/localize.js +199 -142
  677. package/dist/node_modules/date-fns/locale/sv/_lib/match.js +109 -107
  678. package/dist/node_modules/date-fns/locale/sv.js +18 -18
  679. package/dist/node_modules/date-fns/startOfDay.js +7 -7
  680. package/dist/node_modules/date-fns/startOfISOWeek.js +9 -6
  681. package/dist/node_modules/date-fns/startOfISOWeekYear.js +9 -9
  682. package/dist/node_modules/date-fns/startOfMonth.js +7 -7
  683. package/dist/node_modules/date-fns/startOfWeek.js +8 -8
  684. package/dist/node_modules/date-fns/startOfWeekYear.js +10 -10
  685. package/dist/node_modules/date-fns/startOfYear.js +7 -7
  686. package/dist/node_modules/date-fns/subDays.js +6 -6
  687. package/dist/node_modules/date-fns/subMonths.js +6 -6
  688. package/dist/node_modules/date-fns/subWeeks.js +6 -6
  689. package/dist/node_modules/date-fns/toDate.js +6 -6
  690. package/dist/node_modules/fast-equals/dist/es/index.js +239 -298
  691. package/dist/node_modules/libphonenumber-js/es6/ParseError.js +116 -89
  692. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +155 -183
  693. package/dist/node_modules/libphonenumber-js/es6/constants.js +4 -10
  694. package/dist/node_modules/libphonenumber-js/es6/format.js +70 -91
  695. package/dist/node_modules/libphonenumber-js/es6/getCountries.js +5 -5
  696. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +8 -10
  697. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +5 -5
  698. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +19 -14
  699. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +9 -9
  700. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +15 -17
  701. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +35 -45
  702. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +20 -26
  703. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +17 -22
  704. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +24 -36
  705. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +26 -30
  706. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +13 -21
  707. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +10 -24
  708. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +10 -11
  709. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +6 -8
  710. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +39 -39
  711. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +9 -11
  712. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -47
  713. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +12 -12
  714. package/dist/node_modules/libphonenumber-js/es6/helpers/isCallingCode.js +5 -5
  715. package/dist/node_modules/libphonenumber-js/es6/helpers/isCountryCode.js +5 -5
  716. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +6 -6
  717. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +9 -17
  718. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +5 -5
  719. package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +39 -0
  720. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +46 -77
  721. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +17 -18
  722. package/dist/node_modules/libphonenumber-js/es6/isPossible.js +29 -32
  723. package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -13
  724. package/dist/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +55 -52
  725. package/dist/node_modules/libphonenumber-js/es6/metadata.js +462 -482
  726. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +97 -95
  727. package/dist/node_modules/libphonenumber-js/es6/parse.js +98 -133
  728. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +43 -35
  729. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +8 -8
  730. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +51 -48
  731. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +59 -55
  732. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +13 -13
  733. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +7437 -3
  734. package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +6 -6
  735. package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +6 -6
  736. package/dist/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +7 -7
  737. package/dist/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +6 -6
  738. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +7 -7
  739. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +6 -6
  740. package/dist/node_modules/linkifyjs/dist/linkify.js +486 -679
  741. package/dist/node_modules/next-themes/dist/index.js +120 -85
  742. package/dist/node_modules/orderedmap/dist/index.js +64 -100
  743. package/dist/node_modules/prosemirror-commands/dist/index.js +313 -368
  744. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +109 -84
  745. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +162 -195
  746. package/dist/node_modules/prosemirror-history/dist/index.js +203 -239
  747. package/dist/node_modules/prosemirror-keymap/dist/index.js +45 -57
  748. package/dist/node_modules/prosemirror-model/dist/index.js +1783 -2735
  749. package/dist/node_modules/prosemirror-schema-list/dist/index.js +66 -81
  750. package/dist/node_modules/prosemirror-state/dist/index.js +517 -814
  751. package/dist/node_modules/prosemirror-transform/dist/index.js +1104 -1505
  752. package/dist/node_modules/prosemirror-view/dist/index.js +3274 -3782
  753. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +15 -21
  754. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +12 -14
  755. package/dist/node_modules/react/compiler-runtime.js +10 -10
  756. package/dist/node_modules/rope-sequence/dist/index.js +82 -99
  757. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +55 -58
  758. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +53 -57
  759. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +53 -58
  760. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +45 -46
  761. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -10
  762. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -10
  763. package/dist/node_modules/w3c-keyname/index.js +87 -92
  764. package/dist/theme/component-recipes.js +52 -53
  765. package/dist/theme/theme-casper-ui.js +179 -420
  766. package/dist/theme/theme-helper.js +4 -4
  767. package/dist/theme/theme-provider.js +33 -34
  768. package/dist/theme/theme-style-props.d.ts.map +1 -1
  769. package/dist/theme/theme-tokens.js +22 -12
  770. package/dist/theme/theme-types.js +22 -12
  771. package/dist/theme/theme.js +213 -268
  772. package/package.json +30 -29
  773. package/dist/_virtual/compiler-runtime.js +0 -5
  774. package/dist/_virtual/compiler-runtime2.js +0 -4
  775. package/dist/_virtual/index.js +0 -5
  776. package/dist/_virtual/index2.js +0 -4
  777. package/dist/_virtual/react-compiler-runtime.development.js +0 -4
  778. package/dist/_virtual/react-compiler-runtime.production.js +0 -4
  779. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
  780. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
  781. package/dist/_virtual/with-selector.development.js +0 -4
  782. package/dist/_virtual/with-selector.js +0 -5
  783. package/dist/_virtual/with-selector.production.js +0 -4
  784. package/dist/_virtual/with-selector2.js +0 -4
  785. package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +0 -506
@@ -1,138 +1,111 @@
1
- import { c as ce } from "../../_virtual/compiler-runtime.js";
2
- import { useState as g } from "react";
3
- import { toE164 as ne, isUnknownCallingCode as ue, detectCountryFromInput as fe, resolveInitialCountry as de, validatePhoneNumber as me, detectCountryChange as le, isIncompletePhoneNumber as Ce, formatPhoneNumber as ie, extractNationalNumber as Ve } from "./phone-input-helpers.js";
4
- import { getCountryCallingCode as re } from "../../node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js";
5
- const he = /[^\d+\s\-().]/g;
6
- function Ne(p) {
7
- const e = ce.c(71);
8
- let v;
9
- e[0] !== p ? (v = p === void 0 ? {} : p, e[0] = p, e[1] = v) : v = e[1];
10
- const ae = v, {
11
- defaultCountry: z,
12
- defaultValue: c,
13
- isRequired: oe,
14
- customValidator: y,
15
- locale: se
16
- } = ae, f = oe === void 0 ? !1 : oe, i = se === void 0 ? "en-US" : se;
17
- let N;
18
- e[2] !== z || e[3] !== c || e[4] !== i ? (N = () => {
19
- if (c?.trim().startsWith("+")) {
20
- const s = fe(c);
21
- if (s)
22
- return s;
23
- }
24
- return de(z, i);
25
- }, e[2] = z, e[3] = c, e[4] = i, e[5] = N) : N = e[5];
26
- const [u] = g(N);
27
- let P;
28
- e[6] !== c || e[7] !== u ? (P = () => c ?? `+${re(u)}`, e[6] = c, e[7] = u, e[8] = P) : P = e[8];
29
- const [R] = g(P), [o, V] = g(R), [t, E] = g(u), [G, L] = g(!1);
30
- let I;
31
- e[9] !== t || e[10] !== o ? (I = ne(o, t), e[9] = t, e[10] = o, e[11] = I) : I = e[11];
32
- const O = I;
33
- let b;
34
- e[12] !== o ? (b = ue(o), e[12] = o, e[13] = b) : b = e[13];
35
- const W = b;
36
- let M;
37
- e[14] !== y || e[15] !== f || e[16] !== i ? (M = (s, n, l) => {
38
- const a = me(s, n, {
39
- isRequired: f,
40
- showValidation: l,
41
- locale: i
42
- });
43
- if (a.isValid && y) {
44
- const H = y(ne(s, n));
45
- if (H)
46
- return {
47
- isValid: !1,
48
- errorMessage: l ? H : void 0
49
- };
50
- }
51
- return a;
52
- }, e[14] = y, e[15] = f, e[16] = i, e[17] = M) : M = e[17];
53
- const d = M;
54
- let _;
55
- e[18] !== t || e[19] !== d || e[20] !== G || e[21] !== o ? (_ = d(o, t, G), e[18] = t, e[19] = d, e[20] = G, e[21] = o, e[22] = _) : _ = e[22];
56
- const h = _;
57
- let S;
58
- e[23] !== d ? (S = (s, n) => {
59
- const l = d(s, n, !0);
60
- return L(l.errorMessage !== void 0), l;
61
- }, e[23] = d, e[24] = S) : S = e[24];
62
- const r = S;
63
- let w;
64
- e[25] !== t ? (w = (s) => {
65
- const n = s.target.value.replace(he, "");
66
- V(n);
67
- let l = t;
68
- const a = le(n, t);
69
- a && (E(a), l = a), L((H) => H && Ce(n, l));
70
- }, e[25] = t, e[26] = w) : w = e[26];
71
- const X = w;
72
- let x;
73
- e[27] !== t || e[28] !== r || e[29] !== o ? (x = () => {
74
- const s = ie(o, t);
75
- r(s, t), s !== o && V(s);
76
- }, e[27] = t, e[28] = r, e[29] = o, e[30] = x) : x = e[30];
77
- const j = x;
78
- let B;
79
- e[31] !== t || e[32] !== r || e[33] !== o ? (B = (s, n) => {
80
- const l = Ve(o, t), a = l ? ie(l, s) : `+${re(s)}`;
81
- E(s), V(a), n && l && r(a, s);
82
- }, e[31] = t, e[32] = r, e[33] = o, e[34] = B) : B = e[34];
83
- const m = B;
84
- let U;
85
- e[35] !== m ? (U = (s) => m(s, !0), e[35] = m, e[36] = U) : U = e[36];
86
- const J = U;
87
- let $;
88
- e[37] !== t || e[38] !== r || e[39] !== o ? ($ = () => r(o, t), e[37] = t, e[38] = r, e[39] = o, e[40] = $) : $ = e[40];
89
- const K = $;
90
- let k;
91
- e[41] !== u || e[42] !== R ? (k = () => {
92
- V(R), E(u), L(!1);
93
- }, e[41] = u, e[42] = R, e[43] = k) : k = e[43];
94
- const Q = k;
95
- let q;
96
- e[44] !== t ? (q = (s) => {
97
- V(s);
98
- const n = le(s, t);
99
- n && E(n);
100
- }, e[44] = t, e[45] = q) : q = e[45];
101
- const T = q, Y = h.errorMessage !== void 0, Z = h.errorMessage;
102
- let A;
103
- e[46] !== t || e[47] !== Z || e[48] !== j || e[49] !== X || e[50] !== J || e[51] !== i || e[52] !== W || e[53] !== o ? (A = {
104
- value: o,
105
- onChange: X,
106
- onBlur: j,
107
- country: t,
108
- onCountryChange: J,
109
- unknownPrefix: W,
110
- errorMessage: Z,
111
- locale: i
112
- }, e[46] = t, e[47] = Z, e[48] = j, e[49] = X, e[50] = J, e[51] = i, e[52] = W, e[53] = o, e[54] = A) : A = e[54];
113
- const ee = A;
114
- let D;
115
- e[55] !== Y || e[56] !== f ? (D = {
116
- isRequired: f,
117
- isInvalid: Y
118
- }, e[55] = Y, e[56] = f, e[57] = D) : D = e[57];
119
- const te = D;
120
- let C;
121
- e[58] !== m ? (C = (s) => m(s, !1), e[58] = m, e[59] = C) : C = e[59];
122
- let F;
123
- return e[60] !== t || e[61] !== O || e[62] !== te || e[63] !== ee || e[64] !== Q || e[65] !== T || e[66] !== C || e[67] !== K || e[68] !== h.isValid || e[69] !== o ? (F = {
124
- inputProps: ee,
125
- formControlProps: te,
126
- value: o,
127
- e164: O,
128
- country: t,
129
- isValid: h.isValid,
130
- setCountry: C,
131
- setValue: T,
132
- validate: K,
133
- reset: Q
134
- }, e[60] = t, e[61] = O, e[62] = te, e[63] = ee, e[64] = Q, e[65] = T, e[66] = C, e[67] = K, e[68] = h.isValid, e[69] = o, e[70] = F) : F = e[70], F;
1
+ import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
+ import { getCountryCallingCode as t } from "../../node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js";
3
+ import { detectCountryChange as n, detectCountryFromInput as r, extractNationalNumber as i, formatPhoneNumber as ee, isIncompletePhoneNumber as te, isUnknownCallingCode as ne, resolveInitialCountry as re, toE164 as ie, validatePhoneNumber as ae } from "./phone-input-helpers.js";
4
+ import { useState as a } from "react";
5
+ //#region lib/components/phone-input/use-phone-input.ts
6
+ var oe = e(), se = /[^\d+\s\-().]/g;
7
+ function o(e) {
8
+ let o = (0, oe.c)(71), s;
9
+ o[0] === e ? s = o[1] : (s = e === void 0 ? {} : e, o[0] = e, o[1] = s);
10
+ let { defaultCountry: c, defaultValue: l, isRequired: ce, customValidator: u, locale: le } = s, d = ce !== void 0 && ce, f = le === void 0 ? "en-US" : le, p;
11
+ o[2] !== c || o[3] !== l || o[4] !== f ? (p = () => {
12
+ if (l?.trim().startsWith("+")) {
13
+ let e = r(l);
14
+ if (e) return e;
15
+ }
16
+ return re(c, f);
17
+ }, o[2] = c, o[3] = l, o[4] = f, o[5] = p) : p = o[5];
18
+ let [m] = a(p), h;
19
+ o[6] !== l || o[7] !== m ? (h = () => l ?? `+${t(m)}`, o[6] = l, o[7] = m, o[8] = h) : h = o[8];
20
+ let [g] = a(h), [_, v] = a(g), [y, b] = a(m), [x, S] = a(!1), C;
21
+ o[9] !== y || o[10] !== _ ? (C = ie(_, y), o[9] = y, o[10] = _, o[11] = C) : C = o[11];
22
+ let w = C, T;
23
+ o[12] === _ ? T = o[13] : (T = ne(_), o[12] = _, o[13] = T);
24
+ let E = T, D;
25
+ o[14] !== u || o[15] !== d || o[16] !== f ? (D = (e, t, n) => {
26
+ let r = ae(e, t, {
27
+ isRequired: d,
28
+ showValidation: n,
29
+ locale: f
30
+ });
31
+ if (r.isValid && u) {
32
+ let r = u(ie(e, t));
33
+ if (r) return {
34
+ isValid: !1,
35
+ errorMessage: n ? r : void 0
36
+ };
37
+ }
38
+ return r;
39
+ }, o[14] = u, o[15] = d, o[16] = f, o[17] = D) : D = o[17];
40
+ let O = D, k;
41
+ o[18] !== y || o[19] !== O || o[20] !== x || o[21] !== _ ? (k = O(_, y, x), o[18] = y, o[19] = O, o[20] = x, o[21] = _, o[22] = k) : k = o[22];
42
+ let A = k, j;
43
+ o[23] === O ? j = o[24] : (j = (e, t) => {
44
+ let n = O(e, t, !0);
45
+ return S(n.errorMessage !== void 0), n;
46
+ }, o[23] = O, o[24] = j);
47
+ let M = j, N;
48
+ o[25] === y ? N = o[26] : (N = (e) => {
49
+ let t = e.target.value.replace(se, "");
50
+ v(t);
51
+ let r = y, i = n(t, y);
52
+ i && (b(i), r = i), S((e) => e && te(t, r));
53
+ }, o[25] = y, o[26] = N);
54
+ let P = N, F;
55
+ o[27] !== y || o[28] !== M || o[29] !== _ ? (F = () => {
56
+ let e = ee(_, y);
57
+ M(e, y), e !== _ && v(e);
58
+ }, o[27] = y, o[28] = M, o[29] = _, o[30] = F) : F = o[30];
59
+ let I = F, L;
60
+ o[31] !== y || o[32] !== M || o[33] !== _ ? (L = (e, n) => {
61
+ let r = i(_, y), te = r ? ee(r, e) : `+${t(e)}`;
62
+ b(e), v(te), n && r && M(te, e);
63
+ }, o[31] = y, o[32] = M, o[33] = _, o[34] = L) : L = o[34];
64
+ let R = L, z;
65
+ o[35] === R ? z = o[36] : (z = (e) => R(e, !0), o[35] = R, o[36] = z);
66
+ let B = z, V;
67
+ o[37] !== y || o[38] !== M || o[39] !== _ ? (V = () => M(_, y), o[37] = y, o[38] = M, o[39] = _, o[40] = V) : V = o[40];
68
+ let H = V, U;
69
+ o[41] !== m || o[42] !== g ? (U = () => {
70
+ v(g), b(m), S(!1);
71
+ }, o[41] = m, o[42] = g, o[43] = U) : U = o[43];
72
+ let W = U, G;
73
+ o[44] === y ? G = o[45] : (G = (e) => {
74
+ v(e);
75
+ let t = n(e, y);
76
+ t && b(t);
77
+ }, o[44] = y, o[45] = G);
78
+ let K = G, q = A.errorMessage !== void 0, J = A.errorMessage, Y;
79
+ o[46] !== y || o[47] !== J || o[48] !== I || o[49] !== P || o[50] !== B || o[51] !== f || o[52] !== E || o[53] !== _ ? (Y = {
80
+ value: _,
81
+ onChange: P,
82
+ onBlur: I,
83
+ country: y,
84
+ onCountryChange: B,
85
+ unknownPrefix: E,
86
+ errorMessage: J,
87
+ locale: f
88
+ }, o[46] = y, o[47] = J, o[48] = I, o[49] = P, o[50] = B, o[51] = f, o[52] = E, o[53] = _, o[54] = Y) : Y = o[54];
89
+ let X = Y, Z;
90
+ o[55] !== q || o[56] !== d ? (Z = {
91
+ isRequired: d,
92
+ isInvalid: q
93
+ }, o[55] = q, o[56] = d, o[57] = Z) : Z = o[57];
94
+ let ue = Z, Q;
95
+ o[58] === R ? Q = o[59] : (Q = (e) => R(e, !1), o[58] = R, o[59] = Q);
96
+ let $;
97
+ return o[60] !== y || o[61] !== w || o[62] !== ue || o[63] !== X || o[64] !== W || o[65] !== K || o[66] !== Q || o[67] !== H || o[68] !== A.isValid || o[69] !== _ ? ($ = {
98
+ inputProps: X,
99
+ formControlProps: ue,
100
+ value: _,
101
+ e164: w,
102
+ country: y,
103
+ isValid: A.isValid,
104
+ setCountry: Q,
105
+ setValue: K,
106
+ validate: H,
107
+ reset: W
108
+ }, o[60] = y, o[61] = w, o[62] = ue, o[63] = X, o[64] = W, o[65] = K, o[66] = Q, o[67] = H, o[68] = A.isValid, o[69] = _, o[70] = $) : $ = o[70], $;
135
109
  }
136
- export {
137
- Ne as usePhoneInput
138
- };
110
+ //#endregion
111
+ export { o as usePhoneInput };
@@ -1,17 +1,19 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { c } from "../../_virtual/compiler-runtime.js";
3
- import { IconButton as m } from "../icon-button/icon-button.js";
4
- import { DecreaseIcon as l } from "../icon/icons/decrease-icon.js";
5
- function x(s) {
6
- const o = c.c(5), {
7
- buttonSize: i,
8
- ariaLabel: r,
9
- onClick: e,
10
- isDisabled: n
11
- } = s;
12
- let t;
13
- return o[0] !== r || o[1] !== i || o[2] !== n || o[3] !== e ? (t = /* @__PURE__ */ a(m, { variant: "ghost", icon: l, "aria-label": r, size: i, onClick: e, isDisabled: n }), o[0] = r, o[1] = i, o[2] = n, o[3] = e, o[4] = t) : t = o[4], t;
1
+ import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
+ import { DecreaseIcon as t } from "../icon/icons/decrease-icon.js";
3
+ import { IconButton as n } from "../icon-button/icon-button.js";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region lib/components/quantity-button/minus-button.tsx
6
+ var i = e();
7
+ function a(e) {
8
+ let a = (0, i.c)(5), { buttonSize: o, ariaLabel: s, onClick: c, isDisabled: l } = e, u;
9
+ return a[0] !== s || a[1] !== o || a[2] !== l || a[3] !== c ? (u = /* @__PURE__ */ r(n, {
10
+ variant: "ghost",
11
+ icon: t,
12
+ "aria-label": s,
13
+ size: o,
14
+ onClick: c,
15
+ isDisabled: l
16
+ }), a[0] = s, a[1] = o, a[2] = l, a[3] = c, a[4] = u) : u = a[4], u;
14
17
  }
15
- export {
16
- x as MinusButton
17
- };
18
+ //#endregion
19
+ export { a as MinusButton };
@@ -1,17 +1,19 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { c } from "../../_virtual/compiler-runtime.js";
3
- import { IconButton as m } from "../icon-button/icon-button.js";
4
- import { IncreaseIcon as l } from "../icon/icons/increase-icon.js";
5
- function x(s) {
6
- const o = c.c(5), {
7
- ariaLabel: i,
8
- buttonSize: r,
9
- onClick: n,
10
- isDisabled: e
11
- } = s;
12
- let t;
13
- return o[0] !== i || o[1] !== r || o[2] !== e || o[3] !== n ? (t = /* @__PURE__ */ a(m, { variant: "ghost", icon: l, "aria-label": i, size: r, onClick: n, isDisabled: e }), o[0] = i, o[1] = r, o[2] = e, o[3] = n, o[4] = t) : t = o[4], t;
1
+ import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
+ import { IncreaseIcon as t } from "../icon/icons/increase-icon.js";
3
+ import { IconButton as n } from "../icon-button/icon-button.js";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region lib/components/quantity-button/plus-button.tsx
6
+ var i = e();
7
+ function a(e) {
8
+ let a = (0, i.c)(5), { ariaLabel: o, buttonSize: s, onClick: c, isDisabled: l } = e, u;
9
+ return a[0] !== o || a[1] !== s || a[2] !== l || a[3] !== c ? (u = /* @__PURE__ */ r(n, {
10
+ variant: "ghost",
11
+ icon: t,
12
+ "aria-label": o,
13
+ size: s,
14
+ onClick: c,
15
+ isDisabled: l
16
+ }), a[0] = o, a[1] = s, a[2] = l, a[3] = c, a[4] = u) : u = a[4], u;
14
17
  }
15
- export {
16
- x as PlusButton
17
- };
18
+ //#endregion
19
+ export { a as PlusButton };
@@ -1,41 +1,73 @@
1
- import { jsx as u, jsxs as X } from "react/jsx-runtime";
2
- import { c as q } from "../../_virtual/compiler-runtime.js";
3
- import { Flex as T, Text as D, Box as I } from "@chakra-ui/react";
4
- import { MinusButton as M } from "./minus-button.js";
5
- import { PlusButton as O } from "./plus-button.js";
6
- import { ThemeFontSizeVariable as w, ThemeColorVariable as V, ThemeFontVariable as P, ThemeRadiusVariable as E, ThemeBorderVariable as H } from "../../theme/theme-types.js";
7
- function N(L) {
8
- const e = q.c(33);
9
- let t, o, i, d, m, b, f, p, h, x;
10
- e[0] !== L ? ({
11
- size: d,
12
- quantity: m,
13
- onClickPlus: o,
14
- onClickMinus: t,
15
- minusButtonAriaLabel: b,
16
- plusButtonAriaLabel: f,
17
- min: p,
18
- max: h,
19
- disabled: x,
20
- ...i
21
- } = L, e[0] = L, e[1] = t, e[2] = o, e[3] = i, e[4] = d, e[5] = m, e[6] = b, e[7] = f, e[8] = p, e[9] = h, e[10] = x) : (t = e[1], o = e[2], i = e[3], d = e[4], m = e[5], b = e[6], f = e[7], p = e[8], h = e[9], x = e[10]);
22
- const A = d === void 0 ? "sm" : d, g = m === void 0 ? 0 : m, S = b === void 0 ? "decrease" : b, v = f === void 0 ? "increase" : f, F = p === void 0 ? 0 : p, R = h === void 0 ? 99 : h, j = x === void 0 ? !1 : x, z = A === "lg", l = z ? "160px" : "120px", r = z ? "lg" : "md", y = z ? w.XLarge : w.Large, C = g <= F || j;
23
- let n;
24
- e[11] !== r || e[12] !== S || e[13] !== t || e[14] !== C ? (n = /* @__PURE__ */ u(M, { onClick: t, ariaLabel: S, buttonSize: r, isDisabled: C }), e[11] = r, e[12] = S, e[13] = t, e[14] = C, e[15] = n) : n = e[15];
25
- let a;
26
- e[16] !== g || e[17] !== y ? (a = /* @__PURE__ */ u(T, { justify: "center", align: "center", userSelect: "none", zIndex: -1, left: "0", right: "0", ml: "auto", mr: "auto", position: "absolute", h: "100%", children: /* @__PURE__ */ u(D, { fontFamily: P.SubHeader, fontWeight: "normal", fontSize: y, color: V.OnSurface, children: g }) }), e[16] = g, e[17] = y, e[18] = a) : a = e[18];
27
- const k = g >= R || j;
28
- let s;
29
- e[19] !== r || e[20] !== o || e[21] !== v || e[22] !== k ? (s = /* @__PURE__ */ u(O, { isDisabled: k, onClick: o, ariaLabel: v, buttonSize: r }), e[19] = r, e[20] = o, e[21] = v, e[22] = k, e[23] = s) : s = e[23];
30
- let c;
31
- e[24] !== a || e[25] !== s || e[26] !== n || e[27] !== l ? (c = /* @__PURE__ */ u(I, { border: H.XSmall, borderColor: V.OnBackgroundBorder, borderRadius: E.XLarge, backgroundColor: V.Surface, opacity: 0.88, children: /* @__PURE__ */ X(T, { justify: "space-between", position: "relative", zIndex: 1, w: l, children: [
32
- n,
33
- a,
34
- s
35
- ] }) }), e[24] = a, e[25] = s, e[26] = n, e[27] = l, e[28] = c) : c = e[28];
36
- let B;
37
- return e[29] !== i || e[30] !== c || e[31] !== l ? (B = /* @__PURE__ */ u(T, { w: l, ...i, children: c }), e[29] = i, e[30] = c, e[31] = l, e[32] = B) : B = e[32], B;
1
+ import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
+ import { ThemeBorderVariable as t, ThemeColorVariable as n, ThemeFontSizeVariable as r, ThemeFontVariable as i, ThemeRadiusVariable as a } from "../../theme/theme-types.js";
3
+ import { MinusButton as o } from "./minus-button.js";
4
+ import { PlusButton as s } from "./plus-button.js";
5
+ import { Box as c, Flex as l, Text as u } from "@chakra-ui/react";
6
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
7
+ //#region lib/components/quantity-button/quantity-button.tsx
8
+ var p = e();
9
+ function m(e) {
10
+ let m = (0, p.c)(33), h, g, _, v, y, b, x, S, C, w;
11
+ m[0] === e ? (h = m[1], g = m[2], _ = m[3], v = m[4], y = m[5], b = m[6], x = m[7], S = m[8], C = m[9], w = m[10]) : ({size: v, quantity: y, onClickPlus: g, onClickMinus: h, minusButtonAriaLabel: b, plusButtonAriaLabel: x, min: S, max: C, disabled: w, ..._} = e, m[0] = e, m[1] = h, m[2] = g, m[3] = _, m[4] = v, m[5] = y, m[6] = b, m[7] = x, m[8] = S, m[9] = C, m[10] = w);
12
+ let T = v === void 0 ? "sm" : v, E = y === void 0 ? 0 : y, D = b === void 0 ? "decrease" : b, O = x === void 0 ? "increase" : x, k = S === void 0 ? 0 : S, A = C === void 0 ? 99 : C, j = w !== void 0 && w, M = T === "lg", N = M ? "160px" : "120px", P = M ? "lg" : "md", F = M ? r.XLarge : r.Large, I = E <= k || j, L;
13
+ m[11] !== P || m[12] !== D || m[13] !== h || m[14] !== I ? (L = /* @__PURE__ */ d(o, {
14
+ onClick: h,
15
+ ariaLabel: D,
16
+ buttonSize: P,
17
+ isDisabled: I
18
+ }), m[11] = P, m[12] = D, m[13] = h, m[14] = I, m[15] = L) : L = m[15];
19
+ let R;
20
+ m[16] !== E || m[17] !== F ? (R = /* @__PURE__ */ d(l, {
21
+ justify: "center",
22
+ align: "center",
23
+ userSelect: "none",
24
+ zIndex: -1,
25
+ left: "0",
26
+ right: "0",
27
+ ml: "auto",
28
+ mr: "auto",
29
+ position: "absolute",
30
+ h: "100%",
31
+ children: /* @__PURE__ */ d(u, {
32
+ fontFamily: i.SubHeader,
33
+ fontWeight: "normal",
34
+ fontSize: F,
35
+ color: n.OnSurface,
36
+ children: E
37
+ })
38
+ }), m[16] = E, m[17] = F, m[18] = R) : R = m[18];
39
+ let z = E >= A || j, B;
40
+ m[19] !== P || m[20] !== g || m[21] !== O || m[22] !== z ? (B = /* @__PURE__ */ d(s, {
41
+ isDisabled: z,
42
+ onClick: g,
43
+ ariaLabel: O,
44
+ buttonSize: P
45
+ }), m[19] = P, m[20] = g, m[21] = O, m[22] = z, m[23] = B) : B = m[23];
46
+ let V;
47
+ m[24] !== R || m[25] !== B || m[26] !== L || m[27] !== N ? (V = /* @__PURE__ */ d(c, {
48
+ border: t.XSmall,
49
+ borderColor: n.OnBackgroundBorder,
50
+ borderRadius: a.XLarge,
51
+ backgroundColor: n.Surface,
52
+ opacity: .88,
53
+ children: /* @__PURE__ */ f(l, {
54
+ justify: "space-between",
55
+ position: "relative",
56
+ zIndex: 1,
57
+ w: N,
58
+ children: [
59
+ L,
60
+ R,
61
+ B
62
+ ]
63
+ })
64
+ }), m[24] = R, m[25] = B, m[26] = L, m[27] = N, m[28] = V) : V = m[28];
65
+ let H;
66
+ return m[29] !== _ || m[30] !== V || m[31] !== N ? (H = /* @__PURE__ */ d(l, {
67
+ w: N,
68
+ ..._,
69
+ children: V
70
+ }), m[29] = _, m[30] = V, m[31] = N, m[32] = H) : H = m[32], H;
38
71
  }
39
- export {
40
- N as QuantityButton
41
- };
72
+ //#endregion
73
+ export { m as QuantityButton };
@@ -1,5 +1,5 @@
1
- import { createCasperIcon as o } from "../icon/create-icon.js";
2
- const c = o("RadioCheckIcon", "M20.4375 6.52344C20.8281 6.91406 20.8281 7.5 20.4375 7.85156L10.125 18.1641C9.77344 18.5547 9.1875 18.5547 8.83594 18.1641L3.52344 12.8516C3.13281 12.5 3.13281 11.9141 3.52344 11.5234C3.875 11.1719 4.46094 11.1719 4.8125 11.5234L9.5 16.2109L19.1484 6.52344C19.5 6.17188 20.0859 6.17188 20.4375 6.52344Z", {}, "0 0 24 24");
3
- export {
4
- c as CheckIcon
5
- };
1
+ import { createCasperIcon as e } from "../icon/create-icon.js";
2
+ //#region lib/components/radio/check-icon.tsx
3
+ var t = e("RadioCheckIcon", "M20.4375 6.52344C20.8281 6.91406 20.8281 7.5 20.4375 7.85156L10.125 18.1641C9.77344 18.5547 9.1875 18.5547 8.83594 18.1641L3.52344 12.8516C3.13281 12.5 3.13281 11.9141 3.52344 11.5234C3.875 11.1719 4.46094 11.1719 4.8125 11.5234L9.5 16.2109L19.1484 6.52344C19.5 6.17188 20.0859 6.17188 20.4375 6.52344Z", {}, "0 0 24 24");
4
+ //#endregion
5
+ export { t as CheckIcon };
@@ -1,37 +1,22 @@
1
- import "@chakra-ui/react";
2
1
  import { ThemeColorVariable as e } from "../../theme/theme-types.js";
3
- const o = '& label[data-state="checked"]:not(:active):not([data-disabled]):hover', r = '& label[data-state="unchecked"]:not(:active):not([data-disabled]):not([data-invalid]):hover', a = '& label[data-invalid][data-state="unchecked"]:hover', l = {
4
- // Target only device that supports hover (excludes thouch screen devices):
5
- "@media(hover: hover)": {
6
- // General cursor styles
7
- "& label:not([data-disabled]):hover, & label:not([data-disabled]):hover *": {
8
- cursor: "pointer"
9
- },
10
- "& label[data-disabled]:hover, & label[data-disabled]:hover *": {
11
- cursor: "not-allowed"
12
- },
13
- // Specifc state hover styles
14
- [o]: {
15
- "& .radio__item-indicator": {
16
- bg: e.AccentHover,
17
- borderColor: e.AccentHover,
18
- color: e.OnAccent
19
- }
20
- },
21
- [r]: {
22
- "& .radio__item-indicator": {
23
- borderColor: e.AccentHover,
24
- color: e.OnSurface
25
- }
26
- },
27
- [a]: {
28
- "& .radio__item-indicator": {
29
- color: e.ErrorHover,
30
- borderColor: e.ErrorHover
31
- }
32
- }
33
- }
34
- };
35
- export {
36
- l as hoverStyles
37
- };
2
+ import "@chakra-ui/react";
3
+ //#region lib/components/radio/hover-styles.ts
4
+ var t = "& label[data-state=\"checked\"]:not(:active):not([data-disabled]):hover", n = "& label[data-state=\"unchecked\"]:not(:active):not([data-disabled]):not([data-invalid]):hover", r = "& label[data-invalid][data-state=\"unchecked\"]:hover", i = { "@media(hover: hover)": {
5
+ "& label:not([data-disabled]):hover, & label:not([data-disabled]):hover *": { cursor: "pointer" },
6
+ "& label[data-disabled]:hover, & label[data-disabled]:hover *": { cursor: "not-allowed" },
7
+ [t]: { "& .radio__item-indicator": {
8
+ bg: e.AccentHover,
9
+ borderColor: e.AccentHover,
10
+ color: e.OnAccent
11
+ } },
12
+ [n]: { "& .radio__item-indicator": {
13
+ borderColor: e.AccentHover,
14
+ color: e.OnSurface
15
+ } },
16
+ [r]: { "& .radio__item-indicator": {
17
+ color: e.ErrorHover,
18
+ borderColor: e.ErrorHover
19
+ } }
20
+ } };
21
+ //#endregion
22
+ export { i as hoverStyles };
@@ -1,6 +1,5 @@
1
- import t from "react";
2
- const o = t.createContext("solid"), r = () => t.useContext(o);
3
- export {
4
- o as RadioGroupVariantContext,
5
- r as useRadioGroupVariant
6
- };
1
+ import e from "react";
2
+ //#region lib/components/radio/radio-group-context.ts
3
+ var t = e.createContext("solid"), n = () => e.useContext(t);
4
+ //#endregion
5
+ export { t as RadioGroupVariantContext, n as useRadioGroupVariant };