@caspeco/casper-ui-library 10.4.0 → 10.5.1

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 (842) 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/info-icon.js +5 -5
  181. package/dist/components/icon/icons/inheritance-icon.js +5 -5
  182. package/dist/components/icon/icons/just-eat-icon.js +5 -5
  183. package/dist/components/icon/icons/karma-icon.js +5 -5
  184. package/dist/components/icon/icons/key-command-icon.js +5 -5
  185. package/dist/components/icon/icons/key-enter-icon.js +5 -5
  186. package/dist/components/icon/icons/key-icon.js +5 -5
  187. package/dist/components/icon/icons/key-option-icon.js +5 -5
  188. package/dist/components/icon/icons/language-icon.js +5 -5
  189. package/dist/components/icon/icons/link-broken-icon.js +5 -5
  190. package/dist/components/icon/icons/link-external-icon.js +5 -5
  191. package/dist/components/icon/icons/link-icon.js +5 -5
  192. package/dist/components/icon/icons/list-ol-icon.js +5 -5
  193. package/dist/components/icon/icons/list-ul-icon.js +5 -5
  194. package/dist/components/icon/icons/loading-icon.js +5 -5
  195. package/dist/components/icon/icons/location-icon.js +5 -5
  196. package/dist/components/icon/icons/lock-icon.js +5 -5
  197. package/dist/components/icon/icons/log-in-icon.js +5 -5
  198. package/dist/components/icon/icons/log-out-icon.js +5 -5
  199. package/dist/components/icon/icons/map-icon.js +5 -5
  200. package/dist/components/icon/icons/maximize-icon.js +5 -5
  201. package/dist/components/icon/icons/members-icon.js +5 -5
  202. package/dist/components/icon/icons/menu-hide-icon.js +5 -5
  203. package/dist/components/icon/icons/menu-icon.js +5 -5
  204. package/dist/components/icon/icons/menu-show-icon.js +5 -5
  205. package/dist/components/icon/icons/message-add-icon.js +5 -5
  206. package/dist/components/icon/icons/message-icon.js +5 -5
  207. package/dist/components/icon/icons/message-lines-icon.js +5 -5
  208. package/dist/components/icon/icons/minimize-icon.js +5 -5
  209. package/dist/components/icon/icons/minimize-window-icon.js +5 -5
  210. package/dist/components/icon/icons/mobile-rotate-icon.js +5 -5
  211. package/dist/components/icon/icons/module-accounting-icon.js +5 -5
  212. package/dist/components/icon/icons/module-ai-forecast-icon.js +5 -5
  213. package/dist/components/icon/icons/module-app-icon.js +5 -5
  214. package/dist/components/icon/icons/module-articles-icon.js +5 -5
  215. package/dist/components/icon/icons/module-benchmark-icon.js +5 -5
  216. package/dist/components/icon/icons/module-booking-icon.js +5 -5
  217. package/dist/components/icon/icons/module-cai-icon.js +5 -5
  218. package/dist/components/icon/icons/module-campaigns-icon.js +5 -5
  219. package/dist/components/icon/icons/module-cashier-icon.js +5 -5
  220. package/dist/components/icon/icons/module-communication-icon.js +5 -5
  221. package/dist/components/icon/icons/module-copilot-icon.js +5 -5
  222. package/dist/components/icon/icons/module-dashboard-icon.js +5 -5
  223. package/dist/components/icon/icons/module-document-icon.js +5 -5
  224. package/dist/components/icon/icons/module-employees-icon.js +5 -5
  225. package/dist/components/icon/icons/module-feed-icon.js +5 -5
  226. package/dist/components/icon/icons/module-history-icon.js +5 -5
  227. package/dist/components/icon/icons/module-home-icon.js +5 -5
  228. package/dist/components/icon/icons/module-insights-icon.js +5 -5
  229. package/dist/components/icon/icons/module-kds-icon.js +5 -5
  230. package/dist/components/icon/icons/module-members-icon.js +5 -5
  231. package/dist/components/icon/icons/module-menus-icon.js +5 -5
  232. package/dist/components/icon/icons/module-my-city-icon.js +5 -5
  233. package/dist/components/icon/icons/module-notification-center-icon.js +5 -5
  234. package/dist/components/icon/icons/module-online-order-icon.js +5 -5
  235. package/dist/components/icon/icons/module-organisation-icon.js +5 -5
  236. package/dist/components/icon/icons/module-pos-icon.js +5 -5
  237. package/dist/components/icon/icons/module-pulse-icon.js +5 -5
  238. package/dist/components/icon/icons/module-result-icon.js +5 -5
  239. package/dist/components/icon/icons/module-salary-icon.js +5 -5
  240. package/dist/components/icon/icons/module-schedule-icon.js +5 -5
  241. package/dist/components/icon/icons/module-settings-alt-icon.js +5 -5
  242. package/dist/components/icon/icons/module-settings-icon.js +5 -5
  243. package/dist/components/icon/icons/module-support-icon.js +5 -5
  244. package/dist/components/icon/icons/module-survey-icon.js +5 -5
  245. package/dist/components/icon/icons/module-table-map-icon.js +6 -6
  246. package/dist/components/icon/icons/module-tablet-icon.js +5 -5
  247. package/dist/components/icon/icons/module-time-icon.js +5 -5
  248. package/dist/components/icon/icons/module-timeline-icon.js +5 -5
  249. package/dist/components/icon/icons/module-tip-icon.js +5 -5
  250. package/dist/components/icon/icons/module-to-do-icon.js +5 -5
  251. package/dist/components/icon/icons/module-tools-icon.js +5 -5
  252. package/dist/components/icon/icons/module-top-list-icon.js +5 -5
  253. package/dist/components/icon/icons/module-web-charts-icon.js +5 -5
  254. package/dist/components/icon/icons/module-web-icon.js +5 -5
  255. package/dist/components/icon/icons/more-horizontal-icon.js +5 -5
  256. package/dist/components/icon/icons/more-vertical-icon.js +5 -5
  257. package/dist/components/icon/icons/nfc-icon.js +5 -5
  258. package/dist/components/icon/icons/no-cart-icon.js +5 -5
  259. package/dist/components/icon/icons/note-icon.js +5 -5
  260. package/dist/components/icon/icons/number-icon.js +6 -6
  261. package/dist/components/icon/icons/open-modal-icon.js +5 -5
  262. package/dist/components/icon/icons/parking-icon.js +5 -5
  263. package/dist/components/icon/icons/party-horn-icon.js +5 -5
  264. package/dist/components/icon/icons/paste-icon.js +5 -5
  265. package/dist/components/icon/icons/pause-icon.js +5 -5
  266. package/dist/components/icon/icons/payment-card-icon.js +5 -5
  267. package/dist/components/icon/icons/payment-cash-icon.js +5 -5
  268. package/dist/components/icon/icons/payment-generic-icon.js +5 -5
  269. package/dist/components/icon/icons/payment-giftcard-icon.js +5 -5
  270. package/dist/components/icon/icons/payment-hotel-icon.js +5 -5
  271. package/dist/components/icon/icons/payment-invoice-icon.js +5 -5
  272. package/dist/components/icon/icons/percentage-icon.js +5 -5
  273. package/dist/components/icon/icons/phone-icon.js +5 -5
  274. package/dist/components/icon/icons/pin-icon.js +5 -5
  275. package/dist/components/icon/icons/pin-map-icon.js +5 -5
  276. package/dist/components/icon/icons/play-icon.js +5 -5
  277. package/dist/components/icon/icons/preview-icon.js +5 -5
  278. package/dist/components/icon/icons/print-icon.js +5 -5
  279. package/dist/components/icon/icons/privacy-icon.js +5 -5
  280. package/dist/components/icon/icons/product-admin-icon.js +5 -5
  281. package/dist/components/icon/icons/product-analytics-icon.js +5 -5
  282. package/dist/components/icon/icons/product-booking-icon.js +5 -5
  283. package/dist/components/icon/icons/product-checkout-icon.js +5 -5
  284. package/dist/components/icon/icons/product-my-pages-icon.js +5 -5
  285. package/dist/components/icon/icons/product-staff-icon.js +5 -5
  286. package/dist/components/icon/icons/puck-icon.js +5 -5
  287. package/dist/components/icon/icons/qr-code-icon.js +5 -5
  288. package/dist/components/icon/icons/question-icon.js +5 -5
  289. package/dist/components/icon/icons/radio-icon.js +5 -5
  290. package/dist/components/icon/icons/receipt-icon.js +5 -5
  291. package/dist/components/icon/icons/redo-icon.js +5 -5
  292. package/dist/components/icon/icons/refund-icon.js +5 -5
  293. package/dist/components/icon/icons/remove-icon.js +5 -5
  294. package/dist/components/icon/icons/replace-icon.js +5 -5
  295. package/dist/components/icon/icons/schedule-icon.js +5 -5
  296. package/dist/components/icon/icons/search-icon.js +5 -5
  297. package/dist/components/icon/icons/select-icon.js +4 -4
  298. package/dist/components/icon/icons/send-icon.js +5 -5
  299. package/dist/components/icon/icons/share-icon.js +5 -5
  300. package/dist/components/icon/icons/show-icon.js +5 -5
  301. package/dist/components/icon/icons/shuffle-icon.js +5 -5
  302. package/dist/components/icon/icons/sidebar-hide-icon.js +4 -4
  303. package/dist/components/icon/icons/sidebar-left-icon.js +4 -4
  304. package/dist/components/icon/icons/sidebar-right-icon.js +5 -5
  305. package/dist/components/icon/icons/sidebar-show-icon.js +5 -5
  306. package/dist/components/icon/icons/sliders-icon.js +5 -5
  307. package/dist/components/icon/icons/slightly-sad-icon.js +5 -5
  308. package/dist/components/icon/icons/smile-icon.js +5 -5
  309. package/dist/components/icon/icons/sort-asc-icon.js +5 -5
  310. package/dist/components/icon/icons/sort-desc-icon.js +5 -5
  311. package/dist/components/icon/icons/split-icon.js +5 -5
  312. package/dist/components/icon/icons/status-icon.js +5 -5
  313. package/dist/components/icon/icons/stop-icon.js +5 -5
  314. package/dist/components/icon/icons/submenu-icon.js +5 -5
  315. package/dist/components/icon/icons/success-icon.js +5 -5
  316. package/dist/components/icon/icons/swap-icon.js +5 -5
  317. package/dist/components/icon/icons/swatch-icon.js +5 -5
  318. package/dist/components/icon/icons/sweat-icon.js +5 -5
  319. package/dist/components/icon/icons/table-icon.js +5 -5
  320. package/dist/components/icon/icons/table-map-icon.js +5 -5
  321. package/dist/components/icon/icons/take-away-dot-com-icon.js +5 -5
  322. package/dist/components/icon/icons/take-away-icon.js +5 -5
  323. package/dist/components/icon/icons/talk-icon.js +5 -5
  324. package/dist/components/icon/icons/thumbtack-icon.js +5 -5
  325. package/dist/components/icon/icons/time-icon.js +5 -5
  326. package/dist/components/icon/icons/timeline-icon.js +5 -5
  327. package/dist/components/icon/icons/tip-icon.js +5 -5
  328. package/dist/components/icon/icons/title-icon.js +5 -5
  329. package/dist/components/icon/icons/translate-icon.js +5 -5
  330. package/dist/components/icon/icons/tree-view-collapse-icon.js +4 -4
  331. package/dist/components/icon/icons/tree-view-expand-icon.js +4 -4
  332. package/dist/components/icon/icons/tree-view-last-icon.js +4 -4
  333. package/dist/components/icon/icons/trend-down-icon.js +5 -5
  334. package/dist/components/icon/icons/trend-up-icon.js +5 -5
  335. package/dist/components/icon/icons/triangle-warning-icon.js +5 -5
  336. package/dist/components/icon/icons/trivec-icon.js +6 -6
  337. package/dist/components/icon/icons/uber-eats-icon.js +5 -5
  338. package/dist/components/icon/icons/undo-icon.js +5 -5
  339. package/dist/components/icon/icons/unlock-icon.js +5 -5
  340. package/dist/components/icon/icons/unwrap-content-icon.js +5 -5
  341. package/dist/components/icon/icons/up-icon.js +5 -5
  342. package/dist/components/icon/icons/user-group-icon.js +5 -5
  343. package/dist/components/icon/icons/user-icon.js +5 -5
  344. package/dist/components/icon/icons/user-permissions-icon.js +5 -5
  345. package/dist/components/icon/icons/user-wait-icon.js +5 -5
  346. package/dist/components/icon/icons/users-icon.js +5 -5
  347. package/dist/components/icon/icons/version-control-icon.js +5 -5
  348. package/dist/components/icon/icons/volume-high-icon.js +5 -5
  349. package/dist/components/icon/icons/volume-icon.js +5 -5
  350. package/dist/components/icon/icons/volume-low-icon.js +5 -5
  351. package/dist/components/icon/icons/volume-off-icon.js +5 -5
  352. package/dist/components/icon/icons/warning-icon.js +5 -5
  353. package/dist/components/icon/icons/waste-icon.js +5 -5
  354. package/dist/components/icon/icons/wifi-icon.js +5 -5
  355. package/dist/components/icon/icons/wifi-off-icon.js +5 -5
  356. package/dist/components/icon/icons/wolt-icon.js +5 -5
  357. package/dist/components/icon/icons/wrap-content-icon.js +5 -5
  358. package/dist/components/icon-button/icon-button.js +37 -39
  359. package/dist/components/image/image.js +12 -14
  360. package/dist/components/image-upload/image-cropper.helper.js +74 -82
  361. package/dist/components/image-upload/image-cropper.js +156 -183
  362. package/dist/components/image-upload/image-upload-dropzone.js +134 -112
  363. package/dist/components/image-upload/image-upload-helper.js +15 -19
  364. package/dist/components/image-upload/image-upload-icons.js +52 -20
  365. package/dist/components/image-upload/image-upload-modal.js +131 -106
  366. package/dist/components/image-upload/image-upload.js +96 -86
  367. package/dist/components/image-upload/translations.js +65 -65
  368. package/dist/components/image-upload/types.js +6 -4
  369. package/dist/components/input/helper.js +18 -29
  370. package/dist/components/input/input-addon-recipe.js +37 -43
  371. package/dist/components/input/input-recipe.js +124 -133
  372. package/dist/components/input/input.js +78 -83
  373. package/dist/components/link/link-recipe.js +18 -22
  374. package/dist/components/link/link.js +14 -14
  375. package/dist/components/list/list-item.js +15 -15
  376. package/dist/components/list/list.js +19 -20
  377. package/dist/components/menu/helper.js +12 -16
  378. package/dist/components/menu/menu-box-button.js +22 -18
  379. package/dist/components/menu/menu-button.js +18 -16
  380. package/dist/components/menu/menu-divider.js +31 -28
  381. package/dist/components/menu/menu-group.js +138 -142
  382. package/dist/components/menu/menu-icon-button.js +13 -11
  383. package/dist/components/menu/menu-item.js +44 -45
  384. package/dist/components/menu/menu-list.js +14 -15
  385. package/dist/components/menu/menu-recipe.js +67 -81
  386. package/dist/components/menu/menu.js +34 -41
  387. package/dist/components/message/message.js +52 -38
  388. package/dist/components/modal/modal-body-context.js +6 -7
  389. package/dist/components/modal/modal-body.js +17 -17
  390. package/dist/components/modal/modal-close-button.js +23 -18
  391. package/dist/components/modal/modal-footer.js +29 -32
  392. package/dist/components/modal/modal-header.js +17 -17
  393. package/dist/components/modal/modal-recipe.js +110 -141
  394. package/dist/components/modal/modal.js +54 -58
  395. package/dist/components/navigation-list/navigation-list-item.js +76 -88
  396. package/dist/components/navigation-list/navigation-list.js +23 -17
  397. package/dist/components/paginator/paginator-recipe.js +34 -40
  398. package/dist/components/paginator/paginator.js +65 -70
  399. package/dist/components/paginator/translations.js +35 -35
  400. package/dist/components/phone-input/country-data.d.ts +1 -1
  401. package/dist/components/phone-input/country-data.d.ts.map +1 -1
  402. package/dist/components/phone-input/country-data.js +31 -36
  403. package/dist/components/phone-input/country-list.d.ts +1 -1
  404. package/dist/components/phone-input/country-list.d.ts.map +1 -1
  405. package/dist/components/phone-input/country-list.js +46 -25
  406. package/dist/components/phone-input/country-selector.d.ts +1 -1
  407. package/dist/components/phone-input/country-selector.d.ts.map +1 -1
  408. package/dist/components/phone-input/country-selector.js +167 -115
  409. package/dist/components/phone-input/phone-input-helpers.d.ts +1 -1
  410. package/dist/components/phone-input/phone-input-helpers.d.ts.map +1 -1
  411. package/dist/components/phone-input/phone-input-helpers.js +91 -119
  412. package/dist/components/phone-input/phone-input.js +47 -42
  413. package/dist/components/phone-input/translations.js +53 -53
  414. package/dist/components/phone-input/types.d.ts +1 -1
  415. package/dist/components/phone-input/types.d.ts.map +1 -1
  416. package/dist/components/phone-input/use-phone-input.d.ts +1 -1
  417. package/dist/components/phone-input/use-phone-input.d.ts.map +1 -1
  418. package/dist/components/phone-input/use-phone-input.js +110 -137
  419. package/dist/components/quantity-button/minus-button.js +18 -16
  420. package/dist/components/quantity-button/plus-button.js +18 -16
  421. package/dist/components/quantity-button/quantity-button.js +72 -40
  422. package/dist/components/radio/check-icon.js +5 -5
  423. package/dist/components/radio/hover-styles.js +21 -36
  424. package/dist/components/radio/radio-group-context.js +5 -6
  425. package/dist/components/radio/radio-group-recipe.js +124 -142
  426. package/dist/components/radio/radio-group.js +30 -28
  427. package/dist/components/radio/radio.js +72 -55
  428. package/dist/components/radio-card/hover-styles.js +21 -36
  429. package/dist/components/radio-card/radio-card-group.js +24 -25
  430. package/dist/components/radio-card/radio-card.js +87 -67
  431. package/dist/components/rich-text-editor/boolean-control.js +51 -54
  432. package/dist/components/rich-text-editor/extensions.js +39 -34
  433. package/dist/components/rich-text-editor/index.js +26 -22
  434. package/dist/components/rich-text-editor/rich-text-editor-context.js +9 -11
  435. package/dist/components/rich-text-editor/rich-text-editor-control.js +290 -284
  436. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +71 -83
  437. package/dist/components/rich-text-editor/rich-text-editor.js +72 -69
  438. package/dist/components/rich-text-editor/rich-text-renderer.js +32 -32
  439. package/dist/components/rich-text-editor/translations.js +119 -119
  440. package/dist/components/rich-text-editor/use-rich-text-editor.js +22 -29
  441. package/dist/components/segmented-control/segmented-control-item.js +24 -25
  442. package/dist/components/segmented-control/segmented-control.js +49 -40
  443. package/dist/components/select/select-recipe.js +91 -106
  444. package/dist/components/select/select.js +27 -29
  445. package/dist/components/skeleton/skeleton-text.js +18 -19
  446. package/dist/components/skeleton/skeleton.js +19 -20
  447. package/dist/components/spinner/spinner.js +44 -28
  448. package/dist/components/stack/stack.js +18 -18
  449. package/dist/components/stepper/check-icon.js +5 -5
  450. package/dist/components/stepper/step-context.js +5 -5
  451. package/dist/components/stepper/step.js +111 -106
  452. package/dist/components/stepper/stepper.js +42 -43
  453. package/dist/components/stepper/times-icon.js +5 -5
  454. package/dist/components/switch/hover-styles.js +30 -44
  455. package/dist/components/switch/switch-recipe.js +76 -84
  456. package/dist/components/switch/switch.d.ts +3 -3
  457. package/dist/components/switch/switch.d.ts.map +1 -1
  458. package/dist/components/switch/switch.js +30 -31
  459. package/dist/components/switch/types.d.ts +4 -2
  460. package/dist/components/switch/types.d.ts.map +1 -1
  461. package/dist/components/table/helper.d.ts +6 -0
  462. package/dist/components/table/helper.d.ts.map +1 -1
  463. package/dist/components/table/helper.js +29 -9
  464. package/dist/components/table/index.d.ts +1 -1
  465. package/dist/components/table/index.d.ts.map +1 -1
  466. package/dist/components/table/table-cell.d.ts.map +1 -1
  467. package/dist/components/table/table-cell.js +136 -122
  468. package/dist/components/table/table-column-resize-handle.d.ts +12 -0
  469. package/dist/components/table/table-column-resize-handle.d.ts.map +1 -0
  470. package/dist/components/table/table-column-resize-handle.js +69 -0
  471. package/dist/components/table/table-content.d.ts.map +1 -1
  472. package/dist/components/table/table-content.js +174 -98
  473. package/dist/components/table/table-context-provider.d.ts +7 -2
  474. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  475. package/dist/components/table/table-context-provider.js +203 -151
  476. package/dist/components/table/table-context.d.ts +24 -0
  477. package/dist/components/table/table-context.d.ts.map +1 -1
  478. package/dist/components/table/table-context.js +18 -11
  479. package/dist/components/table/table-filter.js +170 -118
  480. package/dist/components/table/table-header-dropdown.js +131 -89
  481. package/dist/components/table/table-header-row.d.ts.map +1 -1
  482. package/dist/components/table/table-header-row.js +202 -140
  483. package/dist/components/table/table-recipe.d.ts.map +1 -1
  484. package/dist/components/table/table-recipe.js +75 -96
  485. package/dist/components/table/table-row-expand-toggle-button.js +28 -35
  486. package/dist/components/table/table-row.d.ts.map +1 -1
  487. package/dist/components/table/table-row.js +51 -41
  488. package/dist/components/table/table-toolbar-actions.js +19 -19
  489. package/dist/components/table/table-toolbar-add-button.js +18 -13
  490. package/dist/components/table/table-toolbar-search.js +17 -12
  491. package/dist/components/table/table-toolbar-settings.js +180 -133
  492. package/dist/components/table/table-toolbar.js +72 -51
  493. package/dist/components/table/table.composition.d.ts +1 -0
  494. package/dist/components/table/table.composition.d.ts.map +1 -1
  495. package/dist/components/table/table.constants.d.ts +4 -0
  496. package/dist/components/table/table.constants.d.ts.map +1 -1
  497. package/dist/components/table/table.constants.js +9 -4
  498. package/dist/components/table/table.d.ts +1 -1
  499. package/dist/components/table/table.d.ts.map +1 -1
  500. package/dist/components/table/table.js +41 -37
  501. package/dist/components/table/translations.d.ts +7 -0
  502. package/dist/components/table/translations.d.ts.map +1 -1
  503. package/dist/components/table/translations.js +199 -194
  504. package/dist/components/table/types.d.ts +33 -2
  505. package/dist/components/table/types.d.ts.map +1 -1
  506. package/dist/components/tabs/tab-list.js +16 -17
  507. package/dist/components/tabs/tab-panel.js +14 -14
  508. package/dist/components/tabs/tab-panels.js +15 -15
  509. package/dist/components/tabs/tab-with-image.js +60 -53
  510. package/dist/components/tabs/tab.js +26 -22
  511. package/dist/components/tabs/tabs-recipe.js +96 -116
  512. package/dist/components/tabs/tabs.js +25 -24
  513. package/dist/components/tag/tag-recipe.js +225 -252
  514. package/dist/components/tag/tag.js +121 -62
  515. package/dist/components/text/text-recipe.js +3 -8
  516. package/dist/components/text/text.js +26 -27
  517. package/dist/components/textarea/textarea-recipe.js +90 -96
  518. package/dist/components/textarea/textarea.js +19 -19
  519. package/dist/components/toaster/toast-store.d.ts +2 -2
  520. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  521. package/dist/components/toaster/toast-store.js +25 -32
  522. package/dist/components/toaster/toaster.js +39 -34
  523. package/dist/components/toggle-button/toggle-button.js +23 -25
  524. package/dist/components/toggle-button/use-button-children.js +36 -35
  525. package/dist/components/tooltip/tooltip.js +43 -47
  526. package/dist/hooks/use-color-mode.js +17 -22
  527. package/dist/hooks/use-disclosure.js +10 -13
  528. package/dist/hooks/use-measured-width.js +21 -21
  529. package/dist/hooks/use-remove-attributes.js +25 -24
  530. package/dist/index.js +396 -802
  531. package/dist/node_modules/@dnd-kit/abstract/index.js +658 -1185
  532. package/dist/node_modules/@dnd-kit/collision/dist/index.js +51 -90
  533. package/dist/node_modules/@dnd-kit/dom/index.js +1256 -1518
  534. package/dist/node_modules/@dnd-kit/dom/sortable.js +529 -654
  535. package/dist/node_modules/@dnd-kit/dom/utilities.js +772 -940
  536. package/dist/node_modules/@dnd-kit/geometry/dist/index.js +228 -196
  537. package/dist/node_modules/@dnd-kit/react/hooks.js +51 -63
  538. package/dist/node_modules/@dnd-kit/react/index.js +175 -235
  539. package/dist/node_modules/@dnd-kit/react/sortable.js +67 -142
  540. package/dist/node_modules/@dnd-kit/react/utilities.js +7 -9
  541. package/dist/node_modules/@dnd-kit/state/dist/index.js +157 -172
  542. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +154 -243
  543. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +294 -369
  544. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +95 -133
  545. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +96 -122
  546. package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +249 -264
  547. package/dist/node_modules/@tanstack/react-table/build/lib/index.js +34 -88
  548. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +74 -88
  549. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1463 -1822
  550. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +633 -768
  551. package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +30 -32
  552. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +35 -48
  553. package/dist/node_modules/@tiptap/core/dist/index.js +3433 -3946
  554. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +19 -19
  555. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +73 -1498
  556. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +71 -84
  557. package/dist/node_modules/@tiptap/extension-code/dist/index.js +65 -70
  558. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +155 -216
  559. package/dist/node_modules/@tiptap/extension-document/dist/index.js +9 -11
  560. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +48 -60
  561. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +65 -66
  562. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +47 -55
  563. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +68 -82
  564. package/dist/node_modules/@tiptap/extension-link/dist/index.js +365 -334
  565. package/dist/node_modules/@tiptap/extension-list/dist/index.js +936 -1105
  566. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +43 -48
  567. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +53 -65
  568. package/dist/node_modules/@tiptap/extension-text/dist/index.js +12 -12
  569. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +60 -64
  570. package/dist/node_modules/@tiptap/extensions/dist/index.js +439 -462
  571. package/dist/node_modules/@tiptap/react/dist/index.js +314 -0
  572. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +23 -24
  573. package/dist/node_modules/country-flag-icons/modules/countries.json.js +4 -4
  574. package/dist/node_modules/country-flag-icons/modules/hasFlag.js +6 -6
  575. package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +5469 -6298
  576. package/dist/node_modules/country-flag-icons/react/3x2/index.js +273 -269
  577. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
  578. package/dist/node_modules/date-fns/_lib/defaultOptions.js +6 -6
  579. package/dist/node_modules/date-fns/_lib/format/formatters.js +385 -544
  580. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +42 -57
  581. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +37 -48
  582. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
  583. package/dist/node_modules/date-fns/_lib/normalizeDates.js +6 -9
  584. package/dist/node_modules/date-fns/_lib/protectedTokens.js +19 -16
  585. package/dist/node_modules/date-fns/addDays.js +8 -8
  586. package/dist/node_modules/date-fns/addMonths.js +11 -18
  587. package/dist/node_modules/date-fns/addWeeks.js +6 -6
  588. package/dist/node_modules/date-fns/constants.js +10 -6
  589. package/dist/node_modules/date-fns/constructFrom.js +6 -6
  590. package/dist/node_modules/date-fns/constructNow.js +6 -6
  591. package/dist/node_modules/date-fns/differenceInCalendarDays.js +10 -14
  592. package/dist/node_modules/date-fns/endOfDay.js +7 -7
  593. package/dist/node_modules/date-fns/endOfMonth.js +7 -7
  594. package/dist/node_modules/date-fns/format.js +57 -55
  595. package/dist/node_modules/date-fns/getDayOfYear.js +9 -9
  596. package/dist/node_modules/date-fns/getISOWeek.js +10 -10
  597. package/dist/node_modules/date-fns/getISOWeekYear.js +13 -13
  598. package/dist/node_modules/date-fns/getWeek.js +10 -10
  599. package/dist/node_modules/date-fns/getWeekYear.js +14 -14
  600. package/dist/node_modules/date-fns/isBefore.js +6 -6
  601. package/dist/node_modules/date-fns/isDate.js +5 -5
  602. package/dist/node_modules/date-fns/isPast.js +6 -6
  603. package/dist/node_modules/date-fns/isSameDay.js +8 -12
  604. package/dist/node_modules/date-fns/isSameMonth.js +7 -11
  605. package/dist/node_modules/date-fns/isSameWeek.js +8 -12
  606. package/dist/node_modules/date-fns/isSameYear.js +7 -11
  607. package/dist/node_modules/date-fns/isToday.js +7 -10
  608. package/dist/node_modules/date-fns/isValid.js +7 -7
  609. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
  610. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
  611. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
  612. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -14
  613. package/dist/node_modules/date-fns/locale/da/_lib/formatDistance.js +68 -69
  614. package/dist/node_modules/date-fns/locale/da/_lib/formatLong.js +31 -32
  615. package/dist/node_modules/date-fns/locale/da/_lib/formatRelative.js +11 -11
  616. package/dist/node_modules/date-fns/locale/da/_lib/localize.js +193 -142
  617. package/dist/node_modules/date-fns/locale/da/_lib/match.js +123 -109
  618. package/dist/node_modules/date-fns/locale/da.js +17 -17
  619. package/dist/node_modules/date-fns/locale/en-GB/_lib/formatLong.js +31 -32
  620. package/dist/node_modules/date-fns/locale/en-GB.js +18 -18
  621. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
  622. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
  623. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
  624. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
  625. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
  626. package/dist/node_modules/date-fns/locale/en-US.js +18 -18
  627. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +68 -69
  628. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +31 -32
  629. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -18
  630. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +192 -141
  631. package/dist/node_modules/date-fns/locale/es/_lib/match.js +127 -114
  632. package/dist/node_modules/date-fns/locale/es.js +18 -18
  633. package/dist/node_modules/date-fns/locale/et/_lib/formatDistance.js +161 -162
  634. package/dist/node_modules/date-fns/locale/et/_lib/formatLong.js +31 -32
  635. package/dist/node_modules/date-fns/locale/et/_lib/formatRelative.js +11 -11
  636. package/dist/node_modules/date-fns/locale/et/_lib/localize.js +196 -152
  637. package/dist/node_modules/date-fns/locale/et/_lib/match.js +109 -107
  638. package/dist/node_modules/date-fns/locale/et.js +19 -19
  639. package/dist/node_modules/date-fns/locale/fi/_lib/formatDistance.js +101 -101
  640. package/dist/node_modules/date-fns/locale/fi/_lib/formatLong.js +31 -32
  641. package/dist/node_modules/date-fns/locale/fi/_lib/formatRelative.js +11 -11
  642. package/dist/node_modules/date-fns/locale/fi/_lib/localize.js +192 -140
  643. package/dist/node_modules/date-fns/locale/fi/_lib/match.js +122 -108
  644. package/dist/node_modules/date-fns/locale/fi.js +18 -18
  645. package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +68 -69
  646. package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +31 -32
  647. package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -11
  648. package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +176 -120
  649. package/dist/node_modules/date-fns/locale/fr/_lib/match.js +122 -108
  650. package/dist/node_modules/date-fns/locale/fr.js +18 -18
  651. package/dist/node_modules/date-fns/locale/lt/_lib/formatDistance.js +93 -109
  652. package/dist/node_modules/date-fns/locale/lt/_lib/formatLong.js +31 -32
  653. package/dist/node_modules/date-fns/locale/lt/_lib/formatRelative.js +11 -11
  654. package/dist/node_modules/date-fns/locale/lt/_lib/localize.js +298 -195
  655. package/dist/node_modules/date-fns/locale/lt/_lib/match.js +154 -121
  656. package/dist/node_modules/date-fns/locale/lt.js +19 -19
  657. package/dist/node_modules/date-fns/locale/lv/_lib/formatDistance.js +226 -120
  658. package/dist/node_modules/date-fns/locale/lv/_lib/formatLong.js +31 -32
  659. package/dist/node_modules/date-fns/locale/lv/_lib/formatRelative.js +22 -22
  660. package/dist/node_modules/date-fns/locale/lv/_lib/localize.js +298 -221
  661. package/dist/node_modules/date-fns/locale/lv/_lib/match.js +138 -112
  662. package/dist/node_modules/date-fns/locale/lv.js +18 -18
  663. package/dist/node_modules/date-fns/locale/nb/_lib/formatDistance.js +68 -69
  664. package/dist/node_modules/date-fns/locale/nb/_lib/formatLong.js +31 -32
  665. package/dist/node_modules/date-fns/locale/nb/_lib/formatRelative.js +11 -11
  666. package/dist/node_modules/date-fns/locale/nb/_lib/localize.js +159 -108
  667. package/dist/node_modules/date-fns/locale/nb/_lib/match.js +112 -108
  668. package/dist/node_modules/date-fns/locale/nb.js +18 -18
  669. package/dist/node_modules/date-fns/locale/nl/_lib/formatDistance.js +68 -69
  670. package/dist/node_modules/date-fns/locale/nl/_lib/formatLong.js +31 -32
  671. package/dist/node_modules/date-fns/locale/nl/_lib/formatRelative.js +11 -11
  672. package/dist/node_modules/date-fns/locale/nl/_lib/localize.js +160 -109
  673. package/dist/node_modules/date-fns/locale/nl/_lib/match.js +120 -108
  674. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatDistance.js +68 -69
  675. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatLong.js +31 -32
  676. package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatRelative.js +11 -11
  677. package/dist/node_modules/date-fns/locale/nl-BE/_lib/localize.js +160 -109
  678. package/dist/node_modules/date-fns/locale/nl-BE/_lib/match.js +120 -108
  679. package/dist/node_modules/date-fns/locale/nl-BE.js +18 -18
  680. package/dist/node_modules/date-fns/locale/nl.js +18 -18
  681. package/dist/node_modules/date-fns/locale/sv/_lib/formatDistance.js +82 -86
  682. package/dist/node_modules/date-fns/locale/sv/_lib/formatLong.js +31 -32
  683. package/dist/node_modules/date-fns/locale/sv/_lib/formatRelative.js +11 -11
  684. package/dist/node_modules/date-fns/locale/sv/_lib/localize.js +199 -142
  685. package/dist/node_modules/date-fns/locale/sv/_lib/match.js +109 -107
  686. package/dist/node_modules/date-fns/locale/sv.js +18 -18
  687. package/dist/node_modules/date-fns/startOfDay.js +7 -7
  688. package/dist/node_modules/date-fns/startOfISOWeek.js +9 -6
  689. package/dist/node_modules/date-fns/startOfISOWeekYear.js +9 -9
  690. package/dist/node_modules/date-fns/startOfMonth.js +7 -7
  691. package/dist/node_modules/date-fns/startOfWeek.js +8 -8
  692. package/dist/node_modules/date-fns/startOfWeekYear.js +10 -10
  693. package/dist/node_modules/date-fns/startOfYear.js +7 -7
  694. package/dist/node_modules/date-fns/subDays.js +6 -6
  695. package/dist/node_modules/date-fns/subMonths.js +6 -6
  696. package/dist/node_modules/date-fns/subWeeks.js +6 -6
  697. package/dist/node_modules/date-fns/toDate.js +6 -6
  698. package/dist/node_modules/fast-equals/dist/es/index.js +239 -298
  699. package/dist/node_modules/libphonenumber-js/es6-modern/ParseError.js +8 -0
  700. package/dist/node_modules/libphonenumber-js/es6-modern/PhoneNumber.js +73 -0
  701. package/dist/node_modules/libphonenumber-js/es6-modern/constants.js +4 -0
  702. package/dist/node_modules/libphonenumber-js/es6-modern/format.js +77 -0
  703. package/dist/node_modules/libphonenumber-js/es6-modern/getCountries.js +7 -0
  704. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/RFC3966.js +8 -0
  705. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/applyInternationalSeparatorStyle.js +7 -0
  706. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/checkNumberLength.js +21 -0
  707. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extension/createExtensionPattern.js +9 -0
  708. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extension/extractExtension.js +17 -0
  709. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCode.js +37 -0
  710. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +21 -0
  711. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +21 -0
  712. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumber.js +27 -0
  713. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +27 -0
  714. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractPhoneContext.js +16 -0
  715. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/formatNationalNumberUsingFormat.js +9 -0
  716. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryAndCallingCodeFromOneOfThem.js +12 -0
  717. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryByCallingCode.js +8 -0
  718. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryByNationalNumber.js +14 -0
  719. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getIddPrefix.js +10 -0
  720. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getNumberType.js +30 -0
  721. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getPossibleCountriesForNumber.js +12 -0
  722. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isCallingCode.js +7 -0
  723. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isCountryCode.js +7 -0
  724. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isObject.js +7 -0
  725. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isViablePhoneNumber.js +12 -0
  726. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/matchesEntirely.js +6 -0
  727. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/mergeArrays.js +8 -0
  728. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/parseDigits.js +48 -0
  729. package/dist/node_modules/libphonenumber-js/es6-modern/helpers/stripIddPrefix.js +16 -0
  730. package/dist/node_modules/libphonenumber-js/es6-modern/isPossible.js +32 -0
  731. package/dist/node_modules/libphonenumber-js/es6-modern/isValid.js +13 -0
  732. package/dist/node_modules/libphonenumber-js/es6-modern/isValidPhoneNumber.js +20 -0
  733. package/dist/node_modules/libphonenumber-js/es6-modern/metadata.js +254 -0
  734. package/dist/node_modules/libphonenumber-js/es6-modern/normalizeArguments.js +26 -0
  735. package/dist/node_modules/libphonenumber-js/es6-modern/parse.js +100 -0
  736. package/dist/node_modules/libphonenumber-js/es6-modern/parseIncompletePhoneNumber.js +19 -0
  737. package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumber.js +9 -0
  738. package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumberWithError_.js +16 -0
  739. package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumber_.js +24 -0
  740. package/dist/node_modules/libphonenumber-js/es6-modern/tools/semver-compare.js +14 -0
  741. package/dist/node_modules/libphonenumber-js/max/es6/exports/PhoneNumber.js +10 -0
  742. package/dist/node_modules/libphonenumber-js/max/es6/exports/getCountries.js +8 -0
  743. package/dist/node_modules/libphonenumber-js/max/es6/exports/getCountryCallingCode.js +8 -0
  744. package/dist/node_modules/libphonenumber-js/max/es6/exports/isSupportedCountry.js +8 -0
  745. package/dist/node_modules/libphonenumber-js/max/es6/exports/isValidPhoneNumber.js +8 -0
  746. package/dist/node_modules/libphonenumber-js/max/es6/exports/parsePhoneNumber.js +9 -0
  747. package/dist/node_modules/libphonenumber-js/max/es6/exports/withMetadataArgument.js +10 -0
  748. package/dist/node_modules/libphonenumber-js/metadata.max.json.js +10497 -0
  749. package/dist/node_modules/linkifyjs/dist/linkify.js +486 -679
  750. package/dist/node_modules/next-themes/dist/index.js +120 -85
  751. package/dist/node_modules/orderedmap/dist/index.js +64 -100
  752. package/dist/node_modules/prosemirror-commands/dist/index.js +313 -368
  753. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +109 -84
  754. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +162 -195
  755. package/dist/node_modules/prosemirror-history/dist/index.js +203 -239
  756. package/dist/node_modules/prosemirror-keymap/dist/index.js +45 -57
  757. package/dist/node_modules/prosemirror-model/dist/index.js +1783 -2735
  758. package/dist/node_modules/prosemirror-schema-list/dist/index.js +66 -81
  759. package/dist/node_modules/prosemirror-state/dist/index.js +517 -814
  760. package/dist/node_modules/prosemirror-transform/dist/index.js +1104 -1505
  761. package/dist/node_modules/prosemirror-view/dist/index.js +3274 -3782
  762. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +15 -21
  763. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +12 -14
  764. package/dist/node_modules/react/compiler-runtime.js +10 -10
  765. package/dist/node_modules/rope-sequence/dist/index.js +82 -99
  766. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +55 -58
  767. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +53 -57
  768. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +53 -58
  769. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +45 -46
  770. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -10
  771. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -10
  772. package/dist/node_modules/w3c-keyname/index.js +87 -92
  773. package/dist/theme/component-recipes.js +52 -53
  774. package/dist/theme/theme-casper-ui.js +179 -420
  775. package/dist/theme/theme-helper.js +4 -4
  776. package/dist/theme/theme-provider.js +33 -34
  777. package/dist/theme/theme-style-props.d.ts.map +1 -1
  778. package/dist/theme/theme-tokens.js +22 -12
  779. package/dist/theme/theme-types.js +22 -12
  780. package/dist/theme/theme.js +213 -268
  781. package/package.json +30 -29
  782. package/dist/_virtual/compiler-runtime.js +0 -5
  783. package/dist/_virtual/compiler-runtime2.js +0 -4
  784. package/dist/_virtual/index.js +0 -5
  785. package/dist/_virtual/index2.js +0 -4
  786. package/dist/_virtual/react-compiler-runtime.development.js +0 -4
  787. package/dist/_virtual/react-compiler-runtime.production.js +0 -4
  788. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
  789. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
  790. package/dist/_virtual/with-selector.development.js +0 -4
  791. package/dist/_virtual/with-selector.js +0 -5
  792. package/dist/_virtual/with-selector.production.js +0 -4
  793. package/dist/_virtual/with-selector2.js +0 -4
  794. package/dist/node_modules/libphonenumber-js/es6/ParseError.js +0 -89
  795. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -192
  796. package/dist/node_modules/libphonenumber-js/es6/constants.js +0 -10
  797. package/dist/node_modules/libphonenumber-js/es6/format.js +0 -98
  798. package/dist/node_modules/libphonenumber-js/es6/getCountries.js +0 -7
  799. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -11
  800. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -7
  801. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -16
  802. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -11
  803. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -18
  804. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -46
  805. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -27
  806. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -23
  807. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -39
  808. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -31
  809. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -23
  810. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -25
  811. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +0 -12
  812. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -9
  813. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -43
  814. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -12
  815. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -52
  816. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -14
  817. package/dist/node_modules/libphonenumber-js/es6/helpers/isCallingCode.js +0 -7
  818. package/dist/node_modules/libphonenumber-js/es6/helpers/isCountryCode.js +0 -7
  819. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -7
  820. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -20
  821. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -6
  822. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -79
  823. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -19
  824. package/dist/node_modules/libphonenumber-js/es6/isPossible.js +0 -35
  825. package/dist/node_modules/libphonenumber-js/es6/isValid.js +0 -14
  826. package/dist/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +0 -59
  827. package/dist/node_modules/libphonenumber-js/es6/metadata.js +0 -494
  828. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -108
  829. package/dist/node_modules/libphonenumber-js/es6/parse.js +0 -138
  830. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -40
  831. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -9
  832. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -55
  833. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -62
  834. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -14
  835. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +0 -4
  836. package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +0 -8
  837. package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +0 -8
  838. package/dist/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +0 -8
  839. package/dist/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +0 -8
  840. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -8
  841. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -8
  842. package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +0 -506
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,5 +0,0 @@
1
- import { __require as r } from "../node_modules/use-sync-external-store/shim/with-selector.js";
2
- var t = r();
3
- export {
4
- t as w
5
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1,89 +0,0 @@
1
- function i(r) {
2
- "@babel/helpers - typeof";
3
- return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4
- return typeof t;
5
- } : function(t) {
6
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
7
- }, i(r);
8
- }
9
- function a(r, t, n) {
10
- return Object.defineProperty(r, "prototype", { writable: !1 }), r;
11
- }
12
- function s(r, t) {
13
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
14
- }
15
- function l(r, t, n) {
16
- return t = c(t), y(r, p() ? Reflect.construct(t, n || [], c(r).constructor) : t.apply(r, n));
17
- }
18
- function y(r, t) {
19
- if (t && (i(t) == "object" || typeof t == "function")) return t;
20
- if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
21
- return b(r);
22
- }
23
- function b(r) {
24
- if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25
- return r;
26
- }
27
- function _(r, t) {
28
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
29
- r.prototype = Object.create(t && t.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), t && u(r, t);
30
- }
31
- function f(r) {
32
- var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
33
- return f = function(e) {
34
- if (e === null || !v(e)) return e;
35
- if (typeof e != "function") throw new TypeError("Super expression must either be null or a function");
36
- if (t !== void 0) {
37
- if (t.has(e)) return t.get(e);
38
- t.set(e, o);
39
- }
40
- function o() {
41
- return h(e, arguments, c(this).constructor);
42
- }
43
- return o.prototype = Object.create(e.prototype, { constructor: { value: o, enumerable: !1, writable: !0, configurable: !0 } }), u(o, e);
44
- }, f(r);
45
- }
46
- function h(r, t, n) {
47
- if (p()) return Reflect.construct.apply(null, arguments);
48
- var e = [null];
49
- e.push.apply(e, t);
50
- var o = new (r.bind.apply(r, e))();
51
- return n && u(o, n.prototype), o;
52
- }
53
- function p() {
54
- try {
55
- var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
56
- }));
57
- } catch {
58
- }
59
- return (p = function() {
60
- return !!r;
61
- })();
62
- }
63
- function v(r) {
64
- try {
65
- return Function.toString.call(r).indexOf("[native code]") !== -1;
66
- } catch {
67
- return typeof r == "function";
68
- }
69
- }
70
- function u(r, t) {
71
- return u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, e) {
72
- return n.__proto__ = e, n;
73
- }, u(r, t);
74
- }
75
- function c(r) {
76
- return c = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
77
- return t.__proto__ || Object.getPrototypeOf(t);
78
- }, c(r);
79
- }
80
- var O = /* @__PURE__ */ (function(r) {
81
- function t(n) {
82
- var e;
83
- return s(this, t), e = l(this, t, [n]), Object.setPrototypeOf(e, t.prototype), e.name = e.constructor.name, e;
84
- }
85
- return _(t, r), a(t);
86
- })(/* @__PURE__ */ f(Error));
87
- export {
88
- O as default
89
- };
@@ -1,192 +0,0 @@
1
- import g, { validateMetadata as h } from "./metadata.js";
2
- import d from "./isPossible.js";
3
- import v from "./isValid.js";
4
- import w from "./helpers/getNumberType.js";
5
- import P from "./helpers/getCountryAndCallingCodeFromOneOfThem.js";
6
- import E from "./helpers/getPossibleCountriesForNumber.js";
7
- import O from "./helpers/extractCountryCallingCode.js";
8
- import s from "./helpers/isObject.js";
9
- import j from "./format.js";
10
- function i(r) {
11
- "@babel/helpers - typeof";
12
- return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
13
- return typeof e;
14
- } : function(e) {
15
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
16
- }, i(r);
17
- }
18
- function f(r, e) {
19
- var t = Object.keys(r);
20
- if (Object.getOwnPropertySymbols) {
21
- var n = Object.getOwnPropertySymbols(r);
22
- e && (n = n.filter(function(o) {
23
- return Object.getOwnPropertyDescriptor(r, o).enumerable;
24
- })), t.push.apply(t, n);
25
- }
26
- return t;
27
- }
28
- function l(r) {
29
- for (var e = 1; e < arguments.length; e++) {
30
- var t = arguments[e] != null ? arguments[e] : {};
31
- e % 2 ? f(Object(t), !0).forEach(function(n) {
32
- k(r, n, t[n]);
33
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : f(Object(t)).forEach(function(n) {
34
- Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
35
- });
36
- }
37
- return r;
38
- }
39
- function k(r, e, t) {
40
- return (e = c(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
41
- }
42
- function C(r, e) {
43
- if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function");
44
- }
45
- function T(r, e) {
46
- for (var t = 0; t < e.length; t++) {
47
- var n = e[t];
48
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, c(n.key), n);
49
- }
50
- }
51
- function N(r, e, t) {
52
- return e && T(r.prototype, e), Object.defineProperty(r, "prototype", { writable: !1 }), r;
53
- }
54
- function c(r) {
55
- var e = M(r, "string");
56
- return i(e) == "symbol" ? e : e + "";
57
- }
58
- function M(r, e) {
59
- if (i(r) != "object" || !r) return r;
60
- var t = r[Symbol.toPrimitive];
61
- if (t !== void 0) {
62
- var n = t.call(r, e);
63
- if (i(n) != "object") return n;
64
- throw new TypeError("@@toPrimitive must return a primitive value.");
65
- }
66
- return String(r);
67
- }
68
- var U = /* @__PURE__ */ (function() {
69
- function r(e, t, n) {
70
- if (C(this, r), !e)
71
- throw new TypeError("First argument is required");
72
- if (typeof e != "string")
73
- throw new TypeError("First argument must be a string");
74
- if (e[0] === "+" && !t)
75
- throw new TypeError("`metadata` argument not passed");
76
- if (s(t) && s(t.countries)) {
77
- n = t;
78
- var o = e;
79
- if (!S.test(o))
80
- throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
81
- var u = O(o, void 0, void 0, void 0, n), m = u.countryCallingCode, y = u.number;
82
- if (t = y, e = m, !t)
83
- throw new Error("Invalid `number` argument passed: too short");
84
- }
85
- if (!t)
86
- throw new TypeError("`nationalNumber` argument is required");
87
- if (typeof t != "string")
88
- throw new TypeError("`nationalNumber` argument must be a string");
89
- h(n);
90
- var a = P(e, n), p = a.country, b = a.callingCode;
91
- this.country = p, this.countryCallingCode = b, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
92
- return n;
93
- };
94
- }
95
- return N(r, [{
96
- key: "setExt",
97
- value: function(t) {
98
- this.ext = t;
99
- }
100
- }, {
101
- key: "getPossibleCountries",
102
- value: function() {
103
- return this.country ? [this.country] : E(this.countryCallingCode, this.nationalNumber, this.getMetadata());
104
- }
105
- }, {
106
- key: "isPossible",
107
- value: function() {
108
- return d(this, {
109
- v2: !0
110
- }, this.getMetadata());
111
- }
112
- }, {
113
- key: "isValid",
114
- value: function() {
115
- return v(this, {
116
- v2: !0
117
- }, this.getMetadata());
118
- }
119
- }, {
120
- key: "isNonGeographic",
121
- value: function() {
122
- var t = new g(this.getMetadata());
123
- return t.isNonGeographicCallingCode(this.countryCallingCode);
124
- }
125
- }, {
126
- key: "isEqual",
127
- value: function(t) {
128
- return this.number === t.number && this.ext === t.ext;
129
- }
130
- // `validateLength()` method was originally meant to be an equivalent for `validatePhoneNumberLength()`.
131
- //
132
- // Later, it became apparent that it's not really a true equivalent.
133
- // The reason is that a `PhoneNumber` instance is not created
134
- // when the phone number string is too short for it to be considered a valid phone number:
135
- // * When there must be at least 2 national (significant) number digits: `"1"`.
136
- // * When the country calling code part of an international number is incomplete: `"+12"`.
137
- //
138
- // So leaving this `validateLength()` method here would suggest a hidden anti-pattern
139
- // of using it instead of `validatePhoneNumberLength()` while ignoring
140
- // the "too short to be even possible" case from phone number length validation.
141
- // And ignoring that case wouldn't make any sense in a real-world application
142
- // because it would still be a valid case that should be handled.
143
- //
144
- // Because of that, this method was eventually commented out in order to not introduce
145
- // that kind of an anti-pattern.
146
- //
147
- // validateLength() {
148
- // const result = checkNumberLength(
149
- // this.nationalNumber,
150
- // undefined,
151
- // this.getMetadata()
152
- // )
153
- // if (result !== 'IS_POSSIBLE') {
154
- // return result
155
- // }
156
- // }
157
- }, {
158
- key: "getType",
159
- value: function() {
160
- return w(this, {
161
- v2: !0
162
- }, this.getMetadata());
163
- }
164
- }, {
165
- key: "format",
166
- value: function(t, n) {
167
- return j(this, t, n ? l(l({}, n), {}, {
168
- v2: !0
169
- }) : {
170
- v2: !0
171
- }, this.getMetadata());
172
- }
173
- }, {
174
- key: "formatNational",
175
- value: function(t) {
176
- return this.format("NATIONAL", t);
177
- }
178
- }, {
179
- key: "formatInternational",
180
- value: function(t) {
181
- return this.format("INTERNATIONAL", t);
182
- }
183
- }, {
184
- key: "getURI",
185
- value: function(t) {
186
- return this.format("RFC3966", t);
187
- }
188
- }]);
189
- })(), S = /^\+\d+$/;
190
- export {
191
- U as default
192
- };
@@ -1,10 +0,0 @@
1
- var v = 2, A = 17, E = 3, _ = "0-90-9٠-٩۰-۹", F = "-‐-―−ー-", u = "//", a = "..", S = "  ­​⁠ ", r = "()()[]\\[\\]", c = "~⁓∼~", N = "".concat(F).concat(u).concat(a).concat(S).concat(r).concat(c), T = "++";
2
- export {
3
- E as MAX_LENGTH_COUNTRY_CODE,
4
- A as MAX_LENGTH_FOR_NSN,
5
- v as MIN_LENGTH_FOR_NSN,
6
- T as PLUS_CHARS,
7
- _ as VALID_DIGITS,
8
- N as VALID_PUNCTUATION,
9
- S as WHITESPACE
10
- };
@@ -1,98 +0,0 @@
1
- import N from "./helpers/matchesEntirely.js";
2
- import g from "./helpers/formatNationalNumberUsingFormat.js";
3
- import s, { getCountryCallingCode as h } from "./metadata.js";
4
- import d from "./helpers/getIddPrefix.js";
5
- import { formatRFC3966 as I } from "./helpers/RFC3966.js";
6
- var m = {
7
- formatExtension: function(t, r, e) {
8
- return "".concat(t).concat(e.ext()).concat(r);
9
- }
10
- };
11
- function O(n, t, r, e) {
12
- r ? r = A({}, m, r) : r = m;
13
- var a = new s(e);
14
- if (n.country && n.country !== "001") {
15
- if (!a.hasCountry(n.country))
16
- throw new Error("Unknown country: ".concat(n.country));
17
- a.selectNumberingPlan(n.country);
18
- } else if (n.countryCallingCode)
19
- a.selectNumberingPlan(n.countryCallingCode);
20
- else return n.phone || "";
21
- var o = a.countryCallingCode(), c = r.v2 ? n.nationalNumber : n.phone, i;
22
- switch (t) {
23
- case "NATIONAL":
24
- return c ? (i = f(c, n.carrierCode, "NATIONAL", a, r), u(i, n.ext, a, r.formatExtension)) : "";
25
- case "INTERNATIONAL":
26
- return c ? (i = f(c, null, "INTERNATIONAL", a, r), i = "+".concat(o, " ").concat(i), u(i, n.ext, a, r.formatExtension)) : "+".concat(o);
27
- case "E.164":
28
- return "+".concat(o).concat(c);
29
- case "RFC3966":
30
- return I({
31
- number: "+".concat(o).concat(c),
32
- ext: n.ext
33
- });
34
- // For reference, here's Google's IDD formatter:
35
- // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
36
- // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
37
- // Who would even need to format phone numbers in IDD format anyway?
38
- case "IDD":
39
- if (!r.fromCountry)
40
- return;
41
- var l = v(c, n.carrierCode, o, r.fromCountry, a);
42
- return l ? u(l, n.ext, a, r.formatExtension) : void 0;
43
- default:
44
- throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
45
- }
46
- }
47
- function f(n, t, r, e, a) {
48
- var o = x(e.formats(), n);
49
- return o ? g(n, o, {
50
- useInternationalFormat: r === "INTERNATIONAL",
51
- withNationalPrefix: !(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && a && a.nationalPrefix === !1)
52
- }) : n;
53
- }
54
- function x(n, t) {
55
- return E(n, function(r) {
56
- if (r.leadingDigitsPatterns().length > 0) {
57
- var e = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
58
- if (t.search(e) !== 0)
59
- return !1;
60
- }
61
- return N(t, r.pattern());
62
- });
63
- }
64
- function u(n, t, r, e) {
65
- return t ? e(n, t, r) : n;
66
- }
67
- function v(n, t, r, e, a) {
68
- var o = h(e, a.metadata);
69
- if (o === r) {
70
- var c = f(n, t, "NATIONAL", a);
71
- return r === "1" ? r + " " + c : c;
72
- }
73
- var i = d(e, void 0, a.metadata);
74
- if (i)
75
- return "".concat(i, " ").concat(r, " ").concat(f(n, null, "INTERNATIONAL", a));
76
- }
77
- function A() {
78
- for (var n = 1, t = arguments.length, r = new Array(t), e = 0; e < t; e++)
79
- r[e] = arguments[e];
80
- for (; n < r.length; ) {
81
- if (r[n])
82
- for (var a in r[n])
83
- r[0][a] = r[n][a];
84
- n++;
85
- }
86
- return r[0];
87
- }
88
- function E(n, t) {
89
- for (var r = 0; r < n.length; ) {
90
- if (t(n[r]))
91
- return n[r];
92
- r++;
93
- }
94
- }
95
- export {
96
- x as chooseFormatForNumber,
97
- O as default
98
- };
@@ -1,7 +0,0 @@
1
- import e from "./metadata.js";
2
- function n(t) {
3
- return new e(t).getCountries();
4
- }
5
- export {
6
- n as default
7
- };
@@ -1,11 +0,0 @@
1
- function n(r) {
2
- var t = r.number, e = r.ext;
3
- if (!t)
4
- return "";
5
- if (t[0] !== "+")
6
- throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
7
- return "tel:".concat(t).concat(e ? ";ext=" + e : "");
8
- }
9
- export {
10
- n as formatRFC3966
11
- };
@@ -1,7 +0,0 @@
1
- import { VALID_PUNCTUATION as e } from "../constants.js";
2
- function a(t) {
3
- return t.replace(new RegExp("[".concat(e, "]+"), "g"), " ").trim();
4
- }
5
- export {
6
- a as default
7
- };
@@ -1,16 +0,0 @@
1
- import h from "../metadata.js";
2
- function L(i, u, r) {
3
- return s(i, void 0, u, r);
4
- }
5
- function s(i, u, r, e) {
6
- r && (e = new h(e.metadata), e.selectNumberingPlan(r));
7
- var f = e.type(u), n = f && f.possibleLengths() || e.possibleLengths();
8
- if (!n)
9
- return "IS_POSSIBLE";
10
- var t = i.length, l = n[0];
11
- return l === t ? "IS_POSSIBLE" : l > t ? "TOO_SHORT" : n[n.length - 1] < t ? "TOO_LONG" : n.indexOf(t, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
12
- }
13
- export {
14
- s as checkNumberLengthForType,
15
- L as default
16
- };
@@ -1,11 +0,0 @@
1
- import { VALID_DIGITS as A } from "../../constants.js";
2
- var g = ";ext=", t = function(a) {
3
- return "([".concat(A, "]{1,").concat(a, "})");
4
- };
5
- function D(x) {
6
- var a = "20", o = "15", i = "9", F = "6", n = "[  \\t,]*", e = "[:\\..]?[  \\t,-]*", r = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", E = "(?:[xx##~~]|int|int)", l = "[- ]+", u = "[  \\t]*", v = "(?:,{2}|;)", b = g + t(a), m = n + s + e + t(a) + r, p = n + E + e + t(i) + r, L = l + t(F) + "#", f = u + v + e + t(o) + r, c = u + "(?:,)+" + e + t(i) + r;
7
- return b + "|" + m + "|" + p + "|" + L + "|" + f + "|" + c;
8
- }
9
- export {
10
- D as default
11
- };
@@ -1,18 +0,0 @@
1
- import o from "./createExtensionPattern.js";
2
- var n = new RegExp("(?:" + o() + ")$", "i");
3
- function c(e) {
4
- var a = e.search(n);
5
- if (a < 0)
6
- return {};
7
- for (var i = e.slice(0, a), r = e.match(n), t = 1; t < r.length; ) {
8
- if (r[t])
9
- return {
10
- number: i,
11
- ext: r[t]
12
- };
13
- t++;
14
- }
15
- }
16
- export {
17
- c as default
18
- };
@@ -1,46 +0,0 @@
1
- import s from "./stripIddPrefix.js";
2
- import I from "./extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js";
3
- import R from "../metadata.js";
4
- import { MAX_LENGTH_COUNTRY_CODE as S } from "../constants.js";
5
- function C(r, n, e, t, o) {
6
- if (!r)
7
- return {};
8
- var _;
9
- if (r[0] !== "+") {
10
- var a = s(r, e, t, o);
11
- if (a && a !== r)
12
- _ = !0, r = "+" + a;
13
- else {
14
- if (e || t) {
15
- var l = I(r, n, e, t, o), N = l.countryCallingCode, M = l.number;
16
- if (N)
17
- return {
18
- countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
19
- countryCallingCode: N,
20
- number: M
21
- };
22
- }
23
- return {
24
- // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
25
- // countryCallingCodeSource: 'UNSPECIFIED',
26
- number: r
27
- };
28
- }
29
- }
30
- if (r[1] === "0")
31
- return {};
32
- for (var c = new R(o), i = 2; i - 1 <= S && i <= r.length; ) {
33
- var f = r.slice(1, i);
34
- if (c.hasCallingCode(f))
35
- return c.selectNumberingPlan(f), {
36
- countryCallingCodeSource: _ ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
37
- countryCallingCode: f,
38
- number: r.slice(i)
39
- };
40
- i++;
41
- }
42
- return {};
43
- }
44
- export {
45
- C as default
46
- };
@@ -1,27 +0,0 @@
1
- import a, { getCountryCallingCode as v } from "../metadata.js";
2
- import l from "./matchesEntirely.js";
3
- import m from "./extractNationalNumber.js";
4
- import b from "./checkNumberLength.js";
5
- function y(r, h, i, e, t) {
6
- if (!(i || e))
7
- return {
8
- number: r
9
- };
10
- var o = i ? v(i, t) : e;
11
- if (r.indexOf(o) === 0) {
12
- var n = new a(t);
13
- n.selectNumberingPlan(i || e);
14
- var u = r.slice(o.length), f = m(u, void 0, n), N = f.nationalNumber, g = m(r, void 0, n), c = g.nationalNumber;
15
- if (!l(c, n.nationalNumberPattern()) && l(N, n.nationalNumberPattern()) || b(c, void 0, n) === "TOO_LONG")
16
- return {
17
- countryCallingCode: o,
18
- number: u
19
- };
20
- }
21
- return {
22
- number: r
23
- };
24
- }
25
- export {
26
- y as default
27
- };
@@ -1,23 +0,0 @@
1
- import s, { isPhoneContextValid as x, PLUS_SIGN as F, RFC3966_PREFIX_ as a, RFC3966_PHONE_CONTEXT_ as d, RFC3966_ISDN_SUBADDRESS_ as m } from "./extractPhoneContext.js";
2
- import v from "../ParseError.js";
3
- function S(r, _) {
4
- var f = _.extractFormattedPhoneNumber, e = s(r);
5
- if (!x(e))
6
- throw new v("NOT_A_NUMBER");
7
- var t;
8
- if (e === null)
9
- t = f(r) || "";
10
- else {
11
- t = "", e.charAt(0) === F && (t += e);
12
- var n = r.indexOf(a), o;
13
- n >= 0 ? o = n + a.length : o = 0;
14
- var h = r.indexOf(d);
15
- t += r.substring(o, h);
16
- }
17
- var i = t.indexOf(m);
18
- if (i > 0 && (t = t.substring(0, i)), t !== "")
19
- return t;
20
- }
21
- export {
22
- S as default
23
- };
@@ -1,39 +0,0 @@
1
- import l from "./extractNationalNumberFromPossiblyIncompleteNumber.js";
2
- import o from "./matchesEntirely.js";
3
- import u from "./checkNumberLength.js";
4
- import N from "./getCountryByCallingCode.js";
5
- function g(e, n, r) {
6
- var i = l(e, r), a = i.carrierCode, t = i.nationalNumber;
7
- if (t !== e) {
8
- if (!m(e, t, r))
9
- return {
10
- nationalNumber: e
11
- };
12
- if (r.numberingPlan.possibleLengths() && (n || (n = N(r.numberingPlan.callingCode(), {
13
- nationalNumber: t,
14
- metadata: r
15
- })), !f(t, n, r)))
16
- return {
17
- nationalNumber: e
18
- };
19
- }
20
- return {
21
- nationalNumber: t,
22
- carrierCode: a
23
- };
24
- }
25
- function m(e, n, r) {
26
- return !(o(e, r.nationalNumberPattern()) && !o(n, r.nationalNumberPattern()));
27
- }
28
- function f(e, n, r) {
29
- switch (u(e, n, r)) {
30
- case "TOO_SHORT":
31
- case "INVALID_LENGTH":
32
- return !1;
33
- default:
34
- return !0;
35
- }
36
- }
37
- export {
38
- g as default
39
- };
@@ -1,31 +0,0 @@
1
- function F(l, i) {
2
- if (l && i.numberingPlan.nationalPrefixForParsing()) {
3
- var g = new RegExp("^(?:" + i.numberingPlan.nationalPrefixForParsing() + ")"), n = g.exec(l);
4
- if (n) {
5
- var r, P, v = n.length - 1, e = v > 0 && n[v];
6
- if (i.nationalPrefixTransformRule() && e)
7
- r = l.replace(g, i.nationalPrefixTransformRule()), v > 1 && (P = n[1]);
8
- else {
9
- var o = n[0];
10
- r = l.slice(o.length), e && (P = n[1]);
11
- }
12
- var f;
13
- if (e) {
14
- var s = l.indexOf(n[1]), a = l.slice(0, s);
15
- a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
16
- } else
17
- f = n[0];
18
- return {
19
- nationalNumber: r,
20
- nationalPrefix: f,
21
- carrierCode: P
22
- };
23
- }
24
- }
25
- return {
26
- nationalNumber: l
27
- };
28
- }
29
- export {
30
- F as default
31
- };