@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,38 +1,33 @@
1
- import { getCountries as m } from "../../node_modules/libphonenumber-js/min/exports/getCountries.js";
2
- import { getCountryCallingCode as r } from "../../node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js";
3
- function l(e) {
4
- return e.normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
1
+ import { getCountries as e } from "../../node_modules/libphonenumber-js/min/exports/getCountries.js";
2
+ import { getCountryCallingCode as t } from "../../node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js";
3
+ //#region lib/components/phone-input/country-data.ts
4
+ function n(e) {
5
+ return e.normalize("NFD").replace(/\p{Diacritic}/gu, "").toLowerCase();
5
6
  }
6
- const s = m().map((e) => {
7
- const n = new Intl.Locale(`und-${e}`).maximize().language, t = new Intl.DisplayNames([n], {
8
- type: "region"
9
- }).of(e) ?? e;
10
- return {
11
- code: e,
12
- callingCode: r(e),
13
- nativeName: t
14
- };
15
- }), o = /* @__PURE__ */ new Map();
16
- function C(e) {
17
- let n = o.get(e);
18
- if (!n) {
19
- const t = new Intl.DisplayNames([e], {
20
- type: "region"
21
- });
22
- n = s.map((a) => {
23
- const i = t.of(a.code) ?? a.code;
24
- return {
25
- code: a.code,
26
- name: i,
27
- nativeName: a.nativeName,
28
- callingCode: a.callingCode,
29
- searchText: l(`${i} ${a.nativeName} ${a.code} ${a.callingCode}`)
30
- };
31
- }).sort((a, i) => a.name.localeCompare(i.name, e)), o.set(e, n);
32
- }
33
- return n;
7
+ var r = e().map((e) => {
8
+ let n = new Intl.Locale(`und-${e}`).maximize().language, r = new Intl.DisplayNames([n], { type: "region" }).of(e) ?? e;
9
+ return {
10
+ code: e,
11
+ callingCode: t(e),
12
+ nativeName: r
13
+ };
14
+ }), i = /* @__PURE__ */ new Map();
15
+ function a(e) {
16
+ let t = i.get(e);
17
+ if (!t) {
18
+ let a = new Intl.DisplayNames([e], { type: "region" });
19
+ t = r.map((e) => {
20
+ let t = a.of(e.code) ?? e.code;
21
+ return {
22
+ code: e.code,
23
+ name: t,
24
+ nativeName: e.nativeName,
25
+ callingCode: e.callingCode,
26
+ searchText: n(`${t} ${e.nativeName} ${e.code} ${e.callingCode}`)
27
+ };
28
+ }).sort((t, n) => t.name.localeCompare(n.name, e)), i.set(e, t);
29
+ }
30
+ return t;
34
31
  }
35
- export {
36
- C as getLocalizedCountries,
37
- l as normalizeForSearch
38
- };
32
+ //#endregion
33
+ export { a as getLocalizedCountries, n as normalizeForSearch };
@@ -1,27 +1,47 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { CheckIcon as e } from "../icon/icons/check-icon.js";
2
+ import { MenuItem as t } from "../menu/menu-item.js";
3
+ import { useVirtualizer as n } from "../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
4
+ import { useRef as r } from "react";
2
5
  import { Box as i } from "@chakra-ui/react";
3
- import { useVirtualizer as a } from "../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
4
- import { useRef as u } from "react";
5
- import { MenuItem as d } from "../menu/menu-item.js";
6
- import { CheckIcon as f } from "../icon/icons/check-icon.js";
7
- const h = 40, p = 250, I = 300;
8
- function _({
9
- items: n,
10
- renderItem: s,
11
- isReadOnly: c = !1,
12
- selectedCode: m
13
- }) {
14
- const l = u(null), o = a({
15
- count: n.length,
16
- getScrollElement: () => l.current,
17
- estimateSize: () => h,
18
- overscan: 8
19
- });
20
- return /* @__PURE__ */ t(i, { ref: l, maxHeight: p, minWidth: I, overflowY: "auto", children: /* @__PURE__ */ t(i, { height: o.getTotalSize(), position: "relative", width: "100%", children: o.getVirtualItems().map((r) => {
21
- const e = n[r.index];
22
- return e ? /* @__PURE__ */ t(i, { "data-index": r.index, ref: o.measureElement, position: "absolute", top: 0, left: 0, width: "100%", transform: `translateY(${r.start}px)`, children: /* @__PURE__ */ t(d, { value: e.code, isDisabled: c, rightIcon: e.code === m ? f : void 0, children: s(e) }) }, e.code) : null;
23
- }) }) });
6
+ import { jsx as a } from "react/jsx-runtime";
7
+ //#region lib/components/phone-input/country-list.tsx
8
+ var o = 40, s = 250, c = 300;
9
+ function l({ items: l, renderItem: u, isReadOnly: d = !1, selectedCode: f }) {
10
+ let p = r(null), m = n({
11
+ count: l.length,
12
+ getScrollElement: () => p.current,
13
+ estimateSize: () => o,
14
+ overscan: 8
15
+ });
16
+ return /* @__PURE__ */ a(i, {
17
+ ref: p,
18
+ maxHeight: s,
19
+ minWidth: c,
20
+ overflowY: "auto",
21
+ children: /* @__PURE__ */ a(i, {
22
+ height: m.getTotalSize(),
23
+ position: "relative",
24
+ width: "100%",
25
+ children: m.getVirtualItems().map((n) => {
26
+ let r = l[n.index];
27
+ return r ? /* @__PURE__ */ a(i, {
28
+ "data-index": n.index,
29
+ ref: m.measureElement,
30
+ position: "absolute",
31
+ top: 0,
32
+ left: 0,
33
+ width: "100%",
34
+ transform: `translateY(${n.start}px)`,
35
+ children: /* @__PURE__ */ a(t, {
36
+ value: r.code,
37
+ isDisabled: d,
38
+ rightIcon: r.code === f ? e : void 0,
39
+ children: u(r)
40
+ })
41
+ }, r.code) : null;
42
+ })
43
+ })
44
+ });
24
45
  }
25
- export {
26
- _ as CountryList
27
- };
46
+ //#endregion
47
+ export { l as CountryList };
@@ -1,120 +1,172 @@
1
- import { jsx as l, jsxs as V } from "react/jsx-runtime";
2
- import { c as Se } from "../../_virtual/compiler-runtime.js";
3
- import * as ge from "../../node_modules/country-flag-icons/react/3x2/index.js";
4
- import { useState as Ce, useId as ye } from "react";
5
- import { getLocalizedCountries as xe, normalizeForSearch as be } from "./country-data.js";
6
- import { CountryList as ve } from "./country-list.js";
7
- import { translations as Ie } from "./translations.js";
8
- import { ModuleWebIcon as _e } from "../icon/icons/module-web-icon.js";
9
- import { MenuIconButton as Fe } from "../menu/menu-icon-button.js";
10
- import { SelectIcon as Te } from "../icon/icons/select-icon.js";
11
- import { Text as te } from "../text/text.js";
12
- import ze from "../../node_modules/country-flag-icons/modules/hasFlag.js";
13
- import { Menu as Oe } from "../menu/menu.js";
14
- import { Flex as fe } from "../flex/flex.js";
15
- import { MenuBoxButton as Be } from "../menu/menu-box-button.js";
16
- import { SearchIcon as Me } from "../icon/icons/search-icon.js";
17
- import { Box as ue } from "../box/box.js";
18
- import { FormControl as we } from "../form-control/form-control.js";
19
- import { Input as Le } from "../input/input.js";
20
- import { Divider as Ee } from "../divider/divider.js";
21
- import { MenuList as De } from "../menu/menu-list.js";
22
- import { ThemeSpaceVariable as Y, ThemeColorVariable as oe, ThemeFontSizeVariable as je } from "../../theme/theme-types.js";
23
- function pe(n) {
24
- const e = n.code;
25
- if (!ze(e))
26
- return null;
27
- const t = ge[e];
28
- return t ? /* @__PURE__ */ l(t, { "aria-label": n.name, height: 16, width: 24, style: {
29
- flexShrink: 0,
30
- boxShadow: `0 0 0 1px ${oe.OnSurfaceBorder}`
31
- } }) : null;
1
+ import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
+ import { ThemeColorVariable as t, ThemeFontSizeVariable as n, ThemeSpaceVariable as r } from "../../theme/theme-types.js";
3
+ import { ModuleWebIcon as ee } from "../icon/icons/module-web-icon.js";
4
+ import { SearchIcon as i } from "../icon/icons/search-icon.js";
5
+ import { SelectIcon as a } from "../icon/icons/select-icon.js";
6
+ import { Text as o } from "../text/text.js";
7
+ import { Box as s } from "../box/box.js";
8
+ import { Menu as te } from "../menu/menu.js";
9
+ import { MenuBoxButton as ne } from "../menu/menu-box-button.js";
10
+ import { Flex as re } from "../flex/flex.js";
11
+ import { MenuIconButton as c } from "../menu/menu-icon-button.js";
12
+ import { MenuList as ie } from "../menu/menu-list.js";
13
+ import { Divider as ae } from "../divider/divider.js";
14
+ import { FormControl as oe } from "../form-control/form-control.js";
15
+ import { Input as se } from "../input/input.js";
16
+ import l from "../../node_modules/country-flag-icons/modules/hasFlag.js";
17
+ import { _3x2_exports as u } from "../../node_modules/country-flag-icons/react/3x2/index.js";
18
+ import { getLocalizedCountries as ce, normalizeForSearch as le } from "./country-data.js";
19
+ import { CountryList as ue } from "./country-list.js";
20
+ import { translations as de } from "./translations.js";
21
+ import { useId as fe, useState as pe } from "react";
22
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
23
+ //#region lib/components/phone-input/country-selector.tsx
24
+ var me = e();
25
+ function he(e) {
26
+ let n = e.code;
27
+ if (!l(n)) return null;
28
+ let r = u[n];
29
+ return r ? /* @__PURE__ */ d(r, {
30
+ "aria-label": e.name,
31
+ height: 16,
32
+ width: 24,
33
+ style: {
34
+ flexShrink: 0,
35
+ boxShadow: `0 0 0 1px ${t.OnSurfaceBorder}`
36
+ }
37
+ }) : null;
32
38
  }
33
- const ke = {
34
- xs: 12,
35
- sm: 12,
36
- md: 16,
37
- lg: 20,
38
- xl: 24
39
+ var ge = {
40
+ xs: 12,
41
+ sm: 12,
42
+ md: 16,
43
+ lg: 20,
44
+ xl: 24
39
45
  };
40
- function it(n) {
41
- const e = Se.c(87), {
42
- value: t,
43
- onChange: P,
44
- placeholder: he,
45
- isReadOnly: le,
46
- size: ne,
47
- menuPlacement: Z,
48
- locale: re,
49
- isDisabled: ie
50
- } = n, q = le === void 0 ? !1 : le, se = ne === void 0 ? "md" : ne, $ = re === void 0 ? "en-US" : re, c = ie === void 0 ? !1 : ie, [d, ae] = Ce(""), G = ye(), m = Ie[$], J = se === "sm" ? "xs" : "sm", R = ke[se];
51
- let f, u, p, h, S, r, g, i, C, y, x, b, s, v, I, _, F, a, T, z, O, B, M;
52
- if (e[0] !== c || e[1] !== $ || e[2] !== R || e[3] !== Z || e[4] !== P || e[5] !== d || e[6] !== t) {
53
- const Q = xe($), ce = be(d.trim());
54
- r = ce ? Q.filter((o) => o.searchText.includes(ce)) : Q;
55
- const me = t ? r.find((o) => o.code === t) : void 0;
56
- S = me ? [me, ...r.filter((o) => o.code !== t)] : r;
57
- let A;
58
- e[30] !== t ? (A = (o) => o.code === t, e[30] = t, e[31] = A) : A = e[31];
59
- const de = Q.find(A);
60
- let H;
61
- e[32] !== P ? (H = (o) => {
62
- P(o), ae("");
63
- }, e[32] = P, e[33] = H) : H = e[33];
64
- const ee = H;
65
- let N;
66
- e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = (o) => {
67
- ae(o.target.value);
68
- }, e[34] = N) : N = e[34], g = N, h = Re, p = Oe, e[35] !== ee ? (s = (o) => {
69
- ee(o.value);
70
- }, e[35] = ee, e[36] = s) : s = e[36], v = !0, I = Z, _ = !0, F = "unmount", e[37] !== R ? (a = [-8, R], e[37] = R, e[38] = a) : a = e[38], u = fe, y = "center", x = Y.XSmall, b = "center", f = Be, T = "flex", z = c, O = c ? "disabled" : "pointer", B = -1, M = !0, e[39] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
71
- outline: "none"
72
- }, e[39] = i) : i = e[39], C = de ? pe(de) : /* @__PURE__ */ l(_e, {}), e[0] = c, e[1] = $, e[2] = R, e[3] = Z, e[4] = P, e[5] = d, e[6] = t, e[7] = f, e[8] = u, e[9] = p, e[10] = h, e[11] = S, e[12] = r, e[13] = g, e[14] = i, e[15] = C, e[16] = y, e[17] = x, e[18] = b, e[19] = s, e[20] = v, e[21] = I, e[22] = _, e[23] = F, e[24] = a, e[25] = T, e[26] = z, e[27] = O, e[28] = B, e[29] = M;
73
- } else
74
- f = e[7], u = e[8], p = e[9], h = e[10], S = e[11], r = e[12], g = e[13], i = e[14], C = e[15], y = e[16], x = e[17], b = e[18], s = e[19], v = e[20], I = e[21], _ = e[22], F = e[23], a = e[24], T = e[25], z = e[26], O = e[27], B = e[28], M = e[29];
75
- let w;
76
- e[40] !== f || e[41] !== i || e[42] !== C || e[43] !== T || e[44] !== z || e[45] !== O || e[46] !== B || e[47] !== M ? (w = /* @__PURE__ */ l(f, { display: T, isDisabled: z, cursor: O, tabIndex: B, "aria-hidden": M, _focus: i, children: C }), e[40] = f, e[41] = i, e[42] = C, e[43] = T, e[44] = z, e[45] = O, e[46] = B, e[47] = M, e[48] = w) : w = e[48];
77
- let L;
78
- e[49] !== J || e[50] !== c || e[51] !== m.openCountrySelector ? (L = /* @__PURE__ */ l(Fe, { size: J, variant: "ghost", icon: Te, isDisabled: c, "aria-label": m.openCountrySelector }), e[49] = J, e[50] = c, e[51] = m.openCountrySelector, e[52] = L) : L = e[52];
79
- let E;
80
- e[53] !== u || e[54] !== y || e[55] !== x || e[56] !== b || e[57] !== w || e[58] !== L ? (E = /* @__PURE__ */ V(u, { align: y, gap: x, justify: b, children: [
81
- w,
82
- L
83
- ] }), e[53] = u, e[54] = y, e[55] = x, e[56] = b, e[57] = w, e[58] = L, e[59] = E) : E = e[59];
84
- const K = he ?? m.searchCountryPlaceholder;
85
- let U;
86
- e[60] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ l(Me, {}), e[60] = U) : U = e[60];
87
- let D;
88
- e[61] !== g || e[62] !== G || e[63] !== d || e[64] !== K ? (D = /* @__PURE__ */ l(ue, { onClick: Pe, children: /* @__PURE__ */ l(we, { isInvalid: !1, children: /* @__PURE__ */ l(Le, { id: G, placeholder: K, size: "md", value: d, onChange: g, variant: "ghost", leftElement: U }) }) }), e[61] = g, e[62] = G, e[63] = d, e[64] = K, e[65] = D) : D = e[65];
89
- let W;
90
- e[66] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ l(Ee, { mb: "3px" }), e[66] = W) : W = e[66];
91
- let j;
92
- e[67] !== h || e[68] !== S || e[69] !== r.length || e[70] !== q || e[71] !== m.noCountriesFound || e[72] !== t ? (j = r.length > 0 ? /* @__PURE__ */ l(ve, { items: S, renderItem: h, isReadOnly: q, selectedCode: t }) : /* @__PURE__ */ l(te, { padding: Y.Medium, paddingBottom: Y.X2Large, fontSize: je.Large, color: oe.OnBackgroundHeader, fontWeight: "500", textAlign: "center", width: "300px", children: m.noCountriesFound }), e[67] = h, e[68] = S, e[69] = r.length, e[70] = q, e[71] = m.noCountriesFound, e[72] = t, e[73] = j) : j = e[73];
93
- let k;
94
- e[74] !== D || e[75] !== j ? (k = /* @__PURE__ */ V(De, { overflow: "unset", overflowY: "unset", paddingTop: 0, children: [
95
- D,
96
- W,
97
- j
98
- ] }), e[74] = D, e[75] = j, e[76] = k) : k = e[76];
99
- let X;
100
- return e[77] !== p || e[78] !== s || e[79] !== v || e[80] !== I || e[81] !== _ || e[82] !== F || e[83] !== a || e[84] !== E || e[85] !== k ? (X = /* @__PURE__ */ V(p, { onSelect: s, closeOnSelect: v, placement: I, isLazy: _, lazyBehavior: F, offset: a, children: [
101
- E,
102
- k
103
- ] }), e[77] = p, e[78] = s, e[79] = v, e[80] = I, e[81] = _, e[82] = F, e[83] = a, e[84] = E, e[85] = k, e[86] = X) : X = e[86], X;
46
+ function p(e) {
47
+ let l = (0, me.c)(87), { value: u, onChange: p, placeholder: ye, isReadOnly: be, size: xe, menuPlacement: m, locale: Se, isDisabled: Ce } = e, we = be !== void 0 && be, Te = xe === void 0 ? "md" : xe, h = Se === void 0 ? "en-US" : Se, g = Ce !== void 0 && Ce, [_, Ee] = pe(""), v = fe(), y = de[h], De = Te === "sm" ? "xs" : "sm", b = ge[Te], x, S, C, w, T, E, D, O, k, A, j, M, N, P, F, I, L, R, z, B, V, H, U;
48
+ if (l[0] !== g || l[1] !== h || l[2] !== b || l[3] !== m || l[4] !== p || l[5] !== _ || l[6] !== u) {
49
+ let e = ce(h), t = le(_.trim());
50
+ E = t ? e.filter((e) => e.searchText.includes(t)) : e;
51
+ let n = u ? E.find((e) => e.code === u) : void 0;
52
+ T = n ? [n, ...E.filter((e) => e.code !== u)] : E;
53
+ let i;
54
+ l[30] === u ? i = l[31] : (i = (e) => e.code === u, l[30] = u, l[31] = i);
55
+ let a = e.find(i), o;
56
+ l[32] === p ? o = l[33] : (o = (e) => {
57
+ p(e), Ee("");
58
+ }, l[32] = p, l[33] = o);
59
+ let s = o, c;
60
+ l[34] === Symbol.for("react.memo_cache_sentinel") ? (c = (e) => {
61
+ Ee(e.target.value);
62
+ }, l[34] = c) : c = l[34], D = c, w = ve, C = te, l[35] === s ? N = l[36] : (N = (e) => {
63
+ s(e.value);
64
+ }, l[35] = s, l[36] = N), P = !0, F = m, I = !0, L = "unmount", l[37] === b ? R = l[38] : (R = [-8, b], l[37] = b, l[38] = R), S = re, A = "center", j = r.XSmall, M = "center", x = ne, z = "flex", B = g, V = g ? "disabled" : "pointer", H = -1, U = !0, l[39] === Symbol.for("react.memo_cache_sentinel") ? (O = { outline: "none" }, l[39] = O) : O = l[39], k = a ? he(a) : /* @__PURE__ */ d(ee, {}), l[0] = g, l[1] = h, l[2] = b, l[3] = m, l[4] = p, l[5] = _, l[6] = u, l[7] = x, l[8] = S, l[9] = C, l[10] = w, l[11] = T, l[12] = E, l[13] = D, l[14] = O, l[15] = k, l[16] = A, l[17] = j, l[18] = M, l[19] = N, l[20] = P, l[21] = F, l[22] = I, l[23] = L, l[24] = R, l[25] = z, l[26] = B, l[27] = V, l[28] = H, l[29] = U;
65
+ } else x = l[7], S = l[8], C = l[9], w = l[10], T = l[11], E = l[12], D = l[13], O = l[14], k = l[15], A = l[16], j = l[17], M = l[18], N = l[19], P = l[20], F = l[21], I = l[22], L = l[23], R = l[24], z = l[25], B = l[26], V = l[27], H = l[28], U = l[29];
66
+ let W;
67
+ l[40] !== x || l[41] !== O || l[42] !== k || l[43] !== z || l[44] !== B || l[45] !== V || l[46] !== H || l[47] !== U ? (W = /* @__PURE__ */ d(x, {
68
+ display: z,
69
+ isDisabled: B,
70
+ cursor: V,
71
+ tabIndex: H,
72
+ "aria-hidden": U,
73
+ _focus: O,
74
+ children: k
75
+ }), l[40] = x, l[41] = O, l[42] = k, l[43] = z, l[44] = B, l[45] = V, l[46] = H, l[47] = U, l[48] = W) : W = l[48];
76
+ let G;
77
+ l[49] !== De || l[50] !== g || l[51] !== y.openCountrySelector ? (G = /* @__PURE__ */ d(c, {
78
+ size: De,
79
+ variant: "ghost",
80
+ icon: a,
81
+ isDisabled: g,
82
+ "aria-label": y.openCountrySelector
83
+ }), l[49] = De, l[50] = g, l[51] = y.openCountrySelector, l[52] = G) : G = l[52];
84
+ let K;
85
+ l[53] !== S || l[54] !== A || l[55] !== j || l[56] !== M || l[57] !== W || l[58] !== G ? (K = /* @__PURE__ */ f(S, {
86
+ align: A,
87
+ gap: j,
88
+ justify: M,
89
+ children: [W, G]
90
+ }), l[53] = S, l[54] = A, l[55] = j, l[56] = M, l[57] = W, l[58] = G, l[59] = K) : K = l[59];
91
+ let q = ye ?? y.searchCountryPlaceholder, J;
92
+ l[60] === Symbol.for("react.memo_cache_sentinel") ? (J = /* @__PURE__ */ d(i, {}), l[60] = J) : J = l[60];
93
+ let Y;
94
+ l[61] !== D || l[62] !== v || l[63] !== _ || l[64] !== q ? (Y = /* @__PURE__ */ d(s, {
95
+ onClick: _e,
96
+ children: /* @__PURE__ */ d(oe, {
97
+ isInvalid: !1,
98
+ children: /* @__PURE__ */ d(se, {
99
+ id: v,
100
+ placeholder: q,
101
+ size: "md",
102
+ value: _,
103
+ onChange: D,
104
+ variant: "ghost",
105
+ leftElement: J
106
+ })
107
+ })
108
+ }), l[61] = D, l[62] = v, l[63] = _, l[64] = q, l[65] = Y) : Y = l[65];
109
+ let X;
110
+ l[66] === Symbol.for("react.memo_cache_sentinel") ? (X = /* @__PURE__ */ d(ae, { mb: "3px" }), l[66] = X) : X = l[66];
111
+ let Z;
112
+ l[67] !== w || l[68] !== T || l[69] !== E.length || l[70] !== we || l[71] !== y.noCountriesFound || l[72] !== u ? (Z = E.length > 0 ? /* @__PURE__ */ d(ue, {
113
+ items: T,
114
+ renderItem: w,
115
+ isReadOnly: we,
116
+ selectedCode: u
117
+ }) : /* @__PURE__ */ d(o, {
118
+ padding: r.Medium,
119
+ paddingBottom: r.X2Large,
120
+ fontSize: n.Large,
121
+ color: t.OnBackgroundHeader,
122
+ fontWeight: "500",
123
+ textAlign: "center",
124
+ width: "300px",
125
+ children: y.noCountriesFound
126
+ }), l[67] = w, l[68] = T, l[69] = E.length, l[70] = we, l[71] = y.noCountriesFound, l[72] = u, l[73] = Z) : Z = l[73];
127
+ let Q;
128
+ l[74] !== Y || l[75] !== Z ? (Q = /* @__PURE__ */ f(ie, {
129
+ overflow: "unset",
130
+ overflowY: "unset",
131
+ paddingTop: 0,
132
+ children: [
133
+ Y,
134
+ X,
135
+ Z
136
+ ]
137
+ }), l[74] = Y, l[75] = Z, l[76] = Q) : Q = l[76];
138
+ let $;
139
+ return l[77] !== C || l[78] !== N || l[79] !== P || l[80] !== F || l[81] !== I || l[82] !== L || l[83] !== R || l[84] !== K || l[85] !== Q ? ($ = /* @__PURE__ */ f(C, {
140
+ onSelect: N,
141
+ closeOnSelect: P,
142
+ placement: F,
143
+ isLazy: I,
144
+ lazyBehavior: L,
145
+ offset: R,
146
+ children: [K, Q]
147
+ }), l[77] = C, l[78] = N, l[79] = P, l[80] = F, l[81] = I, l[82] = L, l[83] = R, l[84] = K, l[85] = Q, l[86] = $) : $ = l[86], $;
104
148
  }
105
- function Pe(n) {
106
- return n.stopPropagation();
149
+ function _e(e) {
150
+ return e.stopPropagation();
107
151
  }
108
- function Re(n) {
109
- return /* @__PURE__ */ V(fe, { direction: "row", gap: Y.Small, alignItems: "center", children: [
110
- pe(n),
111
- /* @__PURE__ */ V(ue, { children: [
112
- /* @__PURE__ */ l(te, { display: "inline", children: n.name }),
113
- " ",
114
- /* @__PURE__ */ l(te, { display: "inline", color: oe.OnSurfaceSubdued, children: `(+${n.callingCode})` })
115
- ] })
116
- ] });
152
+ function ve(e) {
153
+ return /* @__PURE__ */ f(re, {
154
+ direction: "row",
155
+ gap: r.Small,
156
+ alignItems: "center",
157
+ children: [he(e), /* @__PURE__ */ f(s, { children: [
158
+ /* @__PURE__ */ d(o, {
159
+ display: "inline",
160
+ children: e.name
161
+ }),
162
+ " ",
163
+ /* @__PURE__ */ d(o, {
164
+ display: "inline",
165
+ color: t.OnSurfaceSubdued,
166
+ children: `(+${e.callingCode})`
167
+ })
168
+ ] })]
169
+ });
117
170
  }
118
- export {
119
- it as CountrySelector
120
- };
171
+ //#endregion
172
+ export { p as CountrySelector };