@televet/kibble-ui 4.0.0-beta.129 → 4.0.0-beta.13

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 (1189) hide show
  1. package/README.md +0 -40
  2. package/dist/chunks/alert.types-Bnf8isvq.js +2 -0
  3. package/dist/chunks/alert.types-Bnf8isvq.js.map +1 -0
  4. package/dist/chunks/alert.types-kskv5PHB.js +170 -0
  5. package/dist/chunks/alert.types-kskv5PHB.js.map +1 -0
  6. package/dist/chunks/avatar.component-Coq-0l7p.js +2 -0
  7. package/dist/chunks/avatar.component-Coq-0l7p.js.map +1 -0
  8. package/dist/chunks/avatar.component-DzvE2D-d.js +307 -0
  9. package/dist/chunks/avatar.component-DzvE2D-d.js.map +1 -0
  10. package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
  11. package/dist/chunks/avatar.types-LQ1Bn8a3.js +13 -0
  12. package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +1 -0
  13. package/dist/chunks/avatarGroup.component-D-U0aMDv.js +71 -0
  14. package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +1 -0
  15. package/dist/chunks/avatarGroup.component-DES1ekL9.js +2 -0
  16. package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +1 -0
  17. package/dist/chunks/{button.component-Br9jCpBx.js → button.component-BiW8RE1U.js} +10 -10
  18. package/dist/chunks/button.component-BiW8RE1U.js.map +1 -0
  19. package/dist/chunks/button.component-Dufh_y5v.js +2 -0
  20. package/dist/chunks/button.component-Dufh_y5v.js.map +1 -0
  21. package/dist/chunks/{button.types-BKXZNvN1.js → button.types-CujqF5RD.js} +7 -9
  22. package/dist/chunks/button.types-CujqF5RD.js.map +1 -0
  23. package/dist/chunks/{button.types-Bl1awbi0.js → button.types-DsLMGraz.js} +2 -2
  24. package/dist/chunks/button.types-DsLMGraz.js.map +1 -0
  25. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +67 -0
  26. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +1 -0
  27. package/dist/chunks/buttonGroup.component-sM0NngWF.js +2 -0
  28. package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +1 -0
  29. package/dist/chunks/card.component-HX-4Y0j7.js +51 -0
  30. package/dist/chunks/card.component-HX-4Y0j7.js.map +1 -0
  31. package/dist/chunks/card.component-ZIoJIWVV.js +2 -0
  32. package/dist/chunks/card.component-ZIoJIWVV.js.map +1 -0
  33. package/dist/chunks/{theme.provider-Din1M63M.js → chakra-BqBkjpvZ.js} +11283 -10816
  34. package/dist/chunks/chakra-BqBkjpvZ.js.map +1 -0
  35. package/dist/chunks/chakra-DmF8Cxqs.js +5 -0
  36. package/dist/chunks/chakra-DmF8Cxqs.js.map +1 -0
  37. package/dist/chunks/characterCounter.component-BXxyn_IB.js +2 -0
  38. package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +1 -0
  39. package/dist/chunks/characterCounter.component-DhiMcztY.js +108 -0
  40. package/dist/chunks/characterCounter.component-DhiMcztY.js.map +1 -0
  41. package/dist/chunks/checkbox.component-DQVpdkqO.js +2 -0
  42. package/dist/chunks/checkbox.component-DQVpdkqO.js.map +1 -0
  43. package/dist/chunks/checkbox.component-DgyH37fL.js +90 -0
  44. package/dist/chunks/checkbox.component-DgyH37fL.js.map +1 -0
  45. package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
  46. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
  47. package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
  48. package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
  49. package/dist/chunks/checkboxGroup.component-C8cndZPg.js +51 -0
  50. package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +1 -0
  51. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +2 -0
  52. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +1 -0
  53. package/dist/chunks/conversationCard.component-CcWQpwrW.js +2 -0
  54. package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +1 -0
  55. package/dist/chunks/{conversationCard.component-F4TRYMIP.js → conversationCard.component-DKIHpfpL.js} +173 -120
  56. package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +1 -0
  57. package/dist/chunks/date-1NFv48Qu.js +3598 -0
  58. package/dist/chunks/date-1NFv48Qu.js.map +1 -0
  59. package/dist/chunks/date-Du64Exix.js +15 -0
  60. package/dist/chunks/date-Du64Exix.js.map +1 -0
  61. package/dist/chunks/datePicker.component-BthgWsMj.js +2 -0
  62. package/dist/chunks/datePicker.component-BthgWsMj.js.map +1 -0
  63. package/dist/chunks/datePicker.component-Q_KcgvIw.js +749 -0
  64. package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +1 -0
  65. package/dist/chunks/dnd-4IMP_kRN.js +6 -0
  66. package/dist/chunks/dnd-4IMP_kRN.js.map +1 -0
  67. package/dist/chunks/{sortableList.component-CjfPYcdW.js → dnd-DDR6viHX.js} +887 -978
  68. package/dist/chunks/dnd-DDR6viHX.js.map +1 -0
  69. package/dist/chunks/heading.component-B8niLTxz.js +10 -0
  70. package/dist/chunks/heading.component-B8niLTxz.js.map +1 -0
  71. package/dist/chunks/heading.component-CExbjSBi.js +2 -0
  72. package/dist/chunks/heading.component-CExbjSBi.js.map +1 -0
  73. package/dist/chunks/icon.component-B-BWWGO3.js +42 -0
  74. package/dist/chunks/icon.component-B-BWWGO3.js.map +1 -0
  75. package/dist/chunks/icon.component-Bmtf4XKw.js +2 -0
  76. package/dist/chunks/icon.component-Bmtf4XKw.js.map +1 -0
  77. package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
  78. package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
  79. package/dist/chunks/link.component-COhBuuX3.js +58 -0
  80. package/dist/chunks/link.component-COhBuuX3.js.map +1 -0
  81. package/dist/chunks/link.component-DZnXQz1W.js +2 -0
  82. package/dist/chunks/link.component-DZnXQz1W.js.map +1 -0
  83. package/dist/chunks/menu.component-BEj878EN.js +2 -0
  84. package/dist/chunks/menu.component-BEj878EN.js.map +1 -0
  85. package/dist/chunks/menu.component-CR9SH_jk.js +390 -0
  86. package/dist/chunks/menu.component-CR9SH_jk.js.map +1 -0
  87. package/dist/chunks/modal.types-ChWBgALC.js +146 -0
  88. package/dist/chunks/modal.types-ChWBgALC.js.map +1 -0
  89. package/dist/chunks/modal.types-CofEmV4v.js +2 -0
  90. package/dist/chunks/modal.types-CofEmV4v.js.map +1 -0
  91. package/dist/chunks/notificationCounter.component-BH6anjzq.js +2 -0
  92. package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +1 -0
  93. package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-CSuqzMTF.js} +15 -10
  94. package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +1 -0
  95. package/dist/chunks/popover.component-C1e_jTLD.js +2 -0
  96. package/dist/chunks/popover.component-C1e_jTLD.js.map +1 -0
  97. package/dist/chunks/popover.component-CzYfOF7z.js +221 -0
  98. package/dist/chunks/popover.component-CzYfOF7z.js.map +1 -0
  99. package/dist/chunks/popover.recipe-DnCuZJd3.js +123 -0
  100. package/dist/chunks/popover.recipe-DnCuZJd3.js.map +1 -0
  101. package/dist/chunks/popover.recipe-Pfz3evii.js +2 -0
  102. package/dist/chunks/popover.recipe-Pfz3evii.js.map +1 -0
  103. package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
  104. package/dist/chunks/popover.types-C-V7Diw4.js +12 -0
  105. package/dist/chunks/popover.types-C-V7Diw4.js.map +1 -0
  106. package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
  107. package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
  108. package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
  109. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
  110. package/dist/chunks/radioGroup.component-B1ZdhI8z.js +2 -0
  111. package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +1 -0
  112. package/dist/chunks/radioGroup.component-CsmHziwM.js +151 -0
  113. package/dist/chunks/radioGroup.component-CsmHziwM.js.map +1 -0
  114. package/dist/chunks/ratingDots.component-DFHojz_X.js +155 -0
  115. package/dist/chunks/ratingDots.component-DFHojz_X.js.map +1 -0
  116. package/dist/chunks/ratingDots.component-HugaFu0D.js +2 -0
  117. package/dist/chunks/ratingDots.component-HugaFu0D.js.map +1 -0
  118. package/dist/chunks/select.component-HI7aJx11.js +129 -0
  119. package/dist/chunks/select.component-HI7aJx11.js.map +1 -0
  120. package/dist/chunks/select.component-h5lPMmWB.js +2 -0
  121. package/dist/chunks/select.component-h5lPMmWB.js.map +1 -0
  122. package/dist/chunks/sortableList.component-B2hSRuex.js +2 -0
  123. package/dist/chunks/sortableList.component-B2hSRuex.js.map +1 -0
  124. package/dist/chunks/sortableList.component-DAIHsGEA.js +145 -0
  125. package/dist/chunks/sortableList.component-DAIHsGEA.js.map +1 -0
  126. package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
  127. package/dist/chunks/spinner.component-CUuidnSK.js.map +1 -0
  128. package/dist/chunks/{spinner.component-vkhAVeU1.js → spinner.component-D5tkelNc.js} +19 -21
  129. package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
  130. package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
  131. package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
  132. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +2 -0
  133. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +1 -0
  134. package/dist/chunks/{styledAvatar.types-TEOKzzqn.js → styledAvatar.types-DbSO8s7o.js} +19 -6
  135. package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +1 -0
  136. package/dist/chunks/switch.component-B1fXLRiO.js +53 -0
  137. package/dist/chunks/switch.component-B1fXLRiO.js.map +1 -0
  138. package/dist/chunks/switch.component-PH9nS7eN.js +2 -0
  139. package/dist/chunks/switch.component-PH9nS7eN.js.map +1 -0
  140. package/dist/chunks/tabs.component-6iPTLCx6.js +2 -0
  141. package/dist/chunks/tabs.component-6iPTLCx6.js.map +1 -0
  142. package/dist/chunks/tabs.component-DaUZITBw.js +87 -0
  143. package/dist/chunks/tabs.component-DaUZITBw.js.map +1 -0
  144. package/dist/chunks/tag.component-A__B03TA.js +66 -0
  145. package/dist/chunks/tag.component-A__B03TA.js.map +1 -0
  146. package/dist/chunks/tag.component-BjOfy3Bw.js +2 -0
  147. package/dist/chunks/tag.component-BjOfy3Bw.js.map +1 -0
  148. package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
  149. package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
  150. package/dist/chunks/tagBlock.component-Bx_hcjU4.js +2 -0
  151. package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +1 -0
  152. package/dist/chunks/{tagBlock.component-xwy8mG6_.js → tagBlock.component-Ch60_R7X.js} +36 -20
  153. package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +1 -0
  154. package/dist/chunks/text.component-CBa_saMP.js +2 -0
  155. package/dist/chunks/text.component-CBa_saMP.js.map +1 -0
  156. package/dist/chunks/text.component-XYjOAc2s.js +10 -0
  157. package/dist/chunks/text.component-XYjOAc2s.js.map +1 -0
  158. package/dist/chunks/textInput.component-CdPvTnhj.js +2 -0
  159. package/dist/chunks/textInput.component-CdPvTnhj.js.map +1 -0
  160. package/dist/chunks/textInput.component-LjDvSnBy.js +98 -0
  161. package/dist/chunks/textInput.component-LjDvSnBy.js.map +1 -0
  162. package/dist/chunks/textarea.component-C7l9zJKx.js +51 -0
  163. package/dist/chunks/textarea.component-C7l9zJKx.js.map +1 -0
  164. package/dist/chunks/textarea.component-CKEdjCAq.js +2 -0
  165. package/dist/chunks/textarea.component-CKEdjCAq.js.map +1 -0
  166. package/dist/chunks/timePicker.component-BLYPjS1u.js +2 -0
  167. package/dist/chunks/timePicker.component-BLYPjS1u.js.map +1 -0
  168. package/dist/chunks/timePicker.component-DFT36RN_.js +246 -0
  169. package/dist/chunks/timePicker.component-DFT36RN_.js.map +1 -0
  170. package/dist/chunks/timeRange.component-CzJjkQzN.js +2 -0
  171. package/dist/chunks/timeRange.component-CzJjkQzN.js.map +1 -0
  172. package/dist/chunks/timeRange.component-KETq7cDb.js +17 -0
  173. package/dist/chunks/timeRange.component-KETq7cDb.js.map +1 -0
  174. package/dist/chunks/timestamp.component-CuqY4euh.js +2 -0
  175. package/dist/chunks/timestamp.component-CuqY4euh.js.map +1 -0
  176. package/dist/chunks/timestamp.component-D764INLm.js +37 -0
  177. package/dist/chunks/timestamp.component-D764INLm.js.map +1 -0
  178. package/dist/chunks/tooltip.component-C3v2m2T2.js +70 -0
  179. package/dist/chunks/tooltip.component-C3v2m2T2.js.map +1 -0
  180. package/dist/chunks/tooltip.component-qWFa28S5.js +2 -0
  181. package/dist/chunks/tooltip.component-qWFa28S5.js.map +1 -0
  182. package/dist/chunks/typography-Cqrokog3.js.map +1 -1
  183. package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
  184. package/dist/chunks/typography.records-BPYXVuvi.js +2 -0
  185. package/dist/chunks/typography.records-BPYXVuvi.js.map +1 -0
  186. package/dist/chunks/typography.records-CG4wIBxE.js +24 -0
  187. package/dist/chunks/typography.records-CG4wIBxE.js.map +1 -0
  188. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  189. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  190. package/dist/chunks/vendor-BBfll6i3.js +11757 -0
  191. package/dist/chunks/vendor-BBfll6i3.js.map +1 -0
  192. package/dist/chunks/vendor-D-x6W6ez.js +57 -0
  193. package/dist/chunks/vendor-D-x6W6ez.js.map +1 -0
  194. package/dist/chunks/withFormControl-C7uVEpxe.js +2 -0
  195. package/dist/chunks/withFormControl-C7uVEpxe.js.map +1 -0
  196. package/dist/chunks/withFormControl-DSNvvAPD.js +149 -0
  197. package/dist/chunks/withFormControl-DSNvvAPD.js.map +1 -0
  198. package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
  199. package/dist/chunks/withTruncation-BskZBBVs.js.map +1 -0
  200. package/dist/chunks/{withTruncation-DLR1Illa.js → withTruncation-C2xFKhgB.js} +28 -21
  201. package/dist/chunks/withTruncation-C2xFKhgB.js.map +1 -0
  202. package/dist/cjs/components/Alert/index.cjs +1 -1
  203. package/dist/cjs/components/Avatar/index.cjs +1 -1
  204. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  205. package/dist/cjs/components/Button/index.cjs +1 -1
  206. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  207. package/dist/cjs/components/Card/index.cjs +1 -1
  208. package/dist/cjs/components/Card/index.cjs.map +1 -1
  209. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  210. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  211. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  212. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  213. package/dist/cjs/components/Heading/index.cjs +1 -1
  214. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  215. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  216. package/dist/cjs/components/Icon/index.cjs +1 -1
  217. package/dist/cjs/components/Link/index.cjs +1 -1
  218. package/dist/cjs/components/Menu/index.cjs +1 -1
  219. package/dist/cjs/components/Modal/index.cjs +1 -1
  220. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  221. package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
  222. package/dist/cjs/components/Picture/index.cjs +1 -1
  223. package/dist/cjs/components/Picture/index.cjs.map +1 -1
  224. package/dist/cjs/components/Popover/index.cjs +1 -1
  225. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  226. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  227. package/dist/cjs/components/Select/index.cjs +1 -1
  228. package/dist/cjs/components/SortableList/index.cjs +1 -1
  229. package/dist/cjs/components/Spinner/index.cjs +1 -1
  230. package/dist/cjs/components/Swatch/index.cjs +1 -1
  231. package/dist/cjs/components/Swatch/index.cjs.map +1 -1
  232. package/dist/cjs/components/Switch/index.cjs +1 -1
  233. package/dist/cjs/components/Tabs/index.cjs +1 -1
  234. package/dist/cjs/components/Tag/index.cjs +1 -1
  235. package/dist/cjs/components/Text/index.cjs +1 -1
  236. package/dist/cjs/components/TextInput/index.cjs +1 -1
  237. package/dist/cjs/components/Textarea/index.cjs +1 -1
  238. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  239. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  240. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  241. package/dist/cjs/components/index.cjs +1 -1
  242. package/dist/cjs/hocs/index.cjs +1 -1
  243. package/dist/cjs/hocs/index.cjs.map +1 -1
  244. package/dist/cjs/hooks/index.cjs +1 -1
  245. package/dist/cjs/hooks/index.cjs.map +1 -1
  246. package/dist/cjs/index.cjs +1 -1
  247. package/dist/cjs/{components → patterns}/ConversationCard/index.cjs +1 -1
  248. package/dist/cjs/{components → patterns}/StyledAvatar/index.cjs +1 -1
  249. package/dist/cjs/{components → patterns}/TagBlock/index.cjs +1 -1
  250. package/dist/cjs/{components → patterns}/Timestamp/index.cjs +1 -1
  251. package/dist/cjs/patterns/index.cjs +2 -0
  252. package/dist/cjs/shared/types/index.cjs +1 -1
  253. package/dist/cjs/shared/types/index.cjs.map +1 -1
  254. package/dist/cjs/theme/index.cjs +23 -1
  255. package/dist/cjs/theme/index.cjs.map +1 -1
  256. package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
  257. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  258. package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
  259. package/dist/cjs/theme/tokens/generated/index.cjs +2 -0
  260. package/dist/esm/components/Alert/index.js +1 -1
  261. package/dist/esm/components/Avatar/index.js +2 -2
  262. package/dist/esm/components/AvatarGroup/index.js +1 -1
  263. package/dist/esm/components/Button/index.js +2 -2
  264. package/dist/esm/components/ButtonGroup/index.js +1 -1
  265. package/dist/esm/components/Card/index.js +4 -4
  266. package/dist/esm/components/Card/index.js.map +1 -1
  267. package/dist/esm/components/CharacterCounter/index.js +1 -1
  268. package/dist/esm/components/Checkbox/index.js +1 -1
  269. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  270. package/dist/esm/components/DatePicker/index.js +1 -1
  271. package/dist/esm/components/Heading/index.js +1 -1
  272. package/dist/esm/components/Icon/generated/index.js +1632 -401
  273. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  274. package/dist/esm/components/Icon/index.js +1 -1
  275. package/dist/esm/components/Link/index.js +1 -1
  276. package/dist/esm/components/Menu/index.js +1 -1
  277. package/dist/esm/components/Modal/index.js +1 -1
  278. package/dist/esm/components/NotificationCounter/index.js +9 -4
  279. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  280. package/dist/esm/components/Picture/index.js +16 -1
  281. package/dist/esm/components/Picture/index.js.map +1 -1
  282. package/dist/esm/components/Popover/index.js +2 -2
  283. package/dist/esm/components/RadioGroup/index.js +2 -3
  284. package/dist/esm/components/RatingDots/index.js +1 -1
  285. package/dist/esm/components/Select/index.js +1 -1
  286. package/dist/esm/components/SortableList/index.js +1 -1
  287. package/dist/esm/components/Spinner/index.js +1 -1
  288. package/dist/esm/components/Swatch/index.js +62 -3
  289. package/dist/esm/components/Swatch/index.js.map +1 -1
  290. package/dist/esm/components/Switch/index.js +1 -1
  291. package/dist/esm/components/Tabs/index.js +2 -4
  292. package/dist/esm/components/Tag/index.js +1 -1
  293. package/dist/esm/components/Text/index.js +1 -1
  294. package/dist/esm/components/TextInput/index.js +1 -1
  295. package/dist/esm/components/Textarea/index.js +1 -1
  296. package/dist/esm/components/TimePicker/index.js +1 -1
  297. package/dist/esm/components/TimeRange/index.js +1 -1
  298. package/dist/esm/components/Tooltip/index.js +1 -1
  299. package/dist/esm/components/index.js +95 -121
  300. package/dist/esm/components/index.js.map +1 -1
  301. package/dist/esm/hocs/index.js +35 -4
  302. package/dist/esm/hocs/index.js.map +1 -1
  303. package/dist/esm/hooks/index.js +17 -8
  304. package/dist/esm/hooks/index.js.map +1 -1
  305. package/dist/esm/index.js +100 -144
  306. package/dist/esm/index.js.map +1 -1
  307. package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
  308. package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
  309. package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
  310. package/dist/esm/patterns/Timestamp/index.js +5 -0
  311. package/dist/esm/patterns/index.js +13 -0
  312. package/dist/esm/patterns/index.js.map +1 -0
  313. package/dist/esm/shared/types/index.js +15 -6
  314. package/dist/esm/shared/types/index.js.map +1 -1
  315. package/dist/esm/theme/index.js +2608 -4
  316. package/dist/esm/theme/index.js.map +1 -1
  317. package/dist/esm/theme/semanticTokens/index.js +0 -2
  318. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  319. package/dist/esm/theme/tokens/colors/index.js.map +1 -1
  320. package/dist/esm/theme/tokens/generated/index.js +2 -0
  321. package/dist/esm/theme/tokens/generated/index.js.map +1 -0
  322. package/dist/types/components/Alert/alert.component.d.ts +13 -5
  323. package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
  324. package/dist/types/components/Alert/alert.records.d.ts +5 -0
  325. package/dist/types/components/Alert/alert.types.d.ts +1 -1
  326. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
  327. package/dist/types/components/Alert.d.ts +2 -0
  328. package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -2
  329. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  330. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
  331. package/dist/types/components/Avatar.d.ts +2 -0
  332. package/dist/types/components/AvatarGroup.d.ts +2 -0
  333. package/dist/types/components/Button/button.component.d.ts +3 -2
  334. package/dist/types/components/Button/button.recipe.d.ts +1 -1
  335. package/dist/types/components/Button/button.types.d.ts +2 -2
  336. package/dist/types/components/Button.d.ts +2 -0
  337. package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
  338. package/dist/types/components/ButtonGroup.d.ts +2 -0
  339. package/dist/types/components/Card/card.component.d.ts +1 -1
  340. package/dist/types/components/Card.d.ts +2 -0
  341. package/dist/types/components/CharacterCounter.d.ts +2 -0
  342. package/dist/types/components/Checkbox/checkbox.component.d.ts +3 -4
  343. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -9
  344. package/dist/types/components/Checkbox.d.ts +2 -0
  345. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
  346. package/dist/types/components/CheckboxGroup.d.ts +2 -0
  347. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
  348. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
  349. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  350. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
  351. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
  352. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
  353. package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
  354. package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
  355. package/dist/types/components/DatePicker.d.ts +2 -0
  356. package/dist/types/components/Heading/heading.component.d.ts +3 -3
  357. package/dist/types/components/Heading/heading.types.d.ts +1 -1
  358. package/dist/types/components/Heading.d.ts +2 -0
  359. package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
  360. package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
  361. package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
  362. package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
  363. package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
  364. package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
  365. package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
  366. package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
  367. package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
  368. package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
  369. package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
  370. package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
  371. package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
  372. package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
  373. package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
  374. package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
  375. package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
  376. package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
  377. package/dist/types/components/Icon/generated/Article.d.ts +1 -1
  378. package/dist/types/components/Icon/generated/Award.d.ts +1 -1
  379. package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
  380. package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
  381. package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
  382. package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
  383. package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
  384. package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
  385. package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
  386. package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
  387. package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
  388. package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
  389. package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
  390. package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
  391. package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
  392. package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
  393. package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
  394. package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
  395. package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
  396. package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
  397. package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
  398. package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
  399. package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
  400. package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
  401. package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
  402. package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
  403. package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
  404. package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
  405. package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
  406. package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
  407. package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
  408. package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
  409. package/dist/types/components/Icon/generated/Close.d.ts +1 -1
  410. package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
  411. package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
  412. package/dist/types/components/Icon/generated/Code.d.ts +1 -1
  413. package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
  414. package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
  415. package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
  416. package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
  417. package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
  418. package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
  419. package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
  420. package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
  421. package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
  422. package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
  423. package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
  424. package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
  425. package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
  426. package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
  427. package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
  428. package/dist/types/components/Icon/generated/Download.d.ts +1 -1
  429. package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
  430. package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
  431. package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
  432. package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
  433. package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
  434. package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
  435. package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
  436. package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
  437. package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
  438. package/dist/types/components/Icon/generated/Form.d.ts +1 -1
  439. package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
  440. package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
  441. package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
  442. package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
  443. package/dist/types/components/Icon/generated/Health.d.ts +1 -1
  444. package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
  445. package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
  446. package/dist/types/components/Icon/generated/House.d.ts +1 -1
  447. package/dist/types/components/Icon/generated/Image.d.ts +1 -1
  448. package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
  449. package/dist/types/components/Icon/generated/Input.d.ts +1 -1
  450. package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
  451. package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
  452. package/dist/types/components/Icon/generated/List.d.ts +1 -1
  453. package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
  454. package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
  455. package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
  456. package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
  457. package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
  458. package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
  459. package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
  460. package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
  461. package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
  462. package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
  463. package/dist/types/components/Icon/generated/Message.d.ts +1 -1
  464. package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
  465. package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
  466. package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
  467. package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
  468. package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
  469. package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
  470. package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
  471. package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
  472. package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
  473. package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
  474. package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
  475. package/dist/types/components/Icon/generated/Package.d.ts +1 -1
  476. package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
  477. package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
  478. package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
  479. package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
  480. package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
  481. package/dist/types/components/Icon/generated/Person.d.ts +1 -1
  482. package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
  483. package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
  484. package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
  485. package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
  486. package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
  487. package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
  488. package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
  489. package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
  490. package/dist/types/components/Icon/generated/Play.d.ts +1 -1
  491. package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
  492. package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
  493. package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
  494. package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
  495. package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
  496. package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
  497. package/dist/types/components/Icon/generated/Record.d.ts +1 -1
  498. package/dist/types/components/Icon/generated/Report.d.ts +1 -1
  499. package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
  500. package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
  501. package/dist/types/components/Icon/generated/Send.d.ts +1 -1
  502. package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
  503. package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
  504. package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
  505. package/dist/types/components/Icon/generated/Star.d.ts +1 -1
  506. package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
  507. package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
  508. package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
  509. package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
  510. package/dist/types/components/Icon/generated/Support.d.ts +1 -1
  511. package/dist/types/components/Icon/generated/Table.d.ts +1 -1
  512. package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
  513. package/dist/types/components/Icon/generated/Target.d.ts +1 -1
  514. package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
  515. package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
  516. package/dist/types/components/Icon/generated/Team.d.ts +1 -1
  517. package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
  518. package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
  519. package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
  520. package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
  521. package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
  522. package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
  523. package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
  524. package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
  525. package/dist/types/components/Icon/generated/Website.d.ts +1 -1
  526. package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
  527. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  528. package/dist/types/components/Icon/generated.d.ts +2 -0
  529. package/dist/types/components/Icon/icon.component.d.ts +3 -2
  530. package/dist/types/components/Icon.d.ts +2 -0
  531. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
  532. package/dist/types/components/Link.d.ts +2 -0
  533. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
  534. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +7 -8
  535. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
  536. package/dist/types/components/Menu/menu.component.d.ts +2 -2
  537. package/dist/types/components/Menu.d.ts +2 -0
  538. package/dist/types/components/Modal/modal.component.d.ts +1 -2
  539. package/dist/types/components/Modal/modal.recipe.d.ts +10 -2
  540. package/dist/types/components/Modal.d.ts +2 -0
  541. package/dist/types/components/NotificationCounter.d.ts +2 -0
  542. package/dist/types/components/Picture.d.ts +2 -0
  543. package/dist/types/components/Popover/popover.component.d.ts +5 -6
  544. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  545. package/dist/types/components/Popover.d.ts +2 -0
  546. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -9
  547. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  548. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +9 -3
  549. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -9
  550. package/dist/types/components/RadioGroup.d.ts +2 -0
  551. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
  552. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
  553. package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
  554. package/dist/types/components/RatingDots.d.ts +2 -0
  555. package/dist/types/components/Select/select.component.d.ts +4 -9
  556. package/dist/types/components/Select/select.types.d.ts +1 -2
  557. package/dist/types/components/Select.d.ts +2 -0
  558. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
  559. package/dist/types/components/SortableList/index.d.ts +0 -1
  560. package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
  561. package/dist/types/components/SortableList.d.ts +2 -0
  562. package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
  563. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  564. package/dist/types/components/Spinner.d.ts +2 -0
  565. package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
  566. package/dist/types/components/Swatch.d.ts +2 -0
  567. package/dist/types/components/Switch/switch.component.d.ts +4 -5
  568. package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
  569. package/dist/types/components/Switch.d.ts +2 -0
  570. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
  571. package/dist/types/components/Tabs/index.d.ts +0 -2
  572. package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
  573. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
  574. package/dist/types/components/Tabs.d.ts +2 -0
  575. package/dist/types/components/Tag/tag.component.d.ts +3 -3
  576. package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
  577. package/dist/types/components/Tag.d.ts +2 -0
  578. package/dist/types/components/Text/text.component.d.ts +3 -3
  579. package/dist/types/components/Text/text.recipe.d.ts +1 -0
  580. package/dist/types/components/Text/text.types.d.ts +1 -1
  581. package/dist/types/components/Text.d.ts +2 -0
  582. package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
  583. package/dist/types/components/TextInput.d.ts +2 -0
  584. package/dist/types/components/Textarea/textarea.component.d.ts +4 -4
  585. package/dist/types/components/Textarea.d.ts +2 -0
  586. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
  587. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +2 -2
  588. package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
  589. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  590. package/dist/types/components/TimePicker.d.ts +2 -0
  591. package/dist/types/components/TimeRange.d.ts +2 -0
  592. package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
  593. package/dist/types/components/Tooltip.d.ts +2 -0
  594. package/dist/types/components/index.d.ts +1 -9
  595. package/dist/types/components.d.ts +2 -0
  596. package/dist/types/hocs/withDarkMode/index.d.ts +2 -1
  597. package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
  598. package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
  599. package/dist/types/hocs/withLightMode/index.d.ts +2 -1
  600. package/dist/types/hocs/withTruncation.d.ts +1 -1
  601. package/dist/types/hocs.d.ts +2 -0
  602. package/dist/types/hooks/index.d.ts +0 -2
  603. package/dist/types/hooks/useColorMode/index.d.ts +2 -4
  604. package/dist/types/hooks.d.ts +2 -0
  605. package/dist/types/index.d.ts +0 -2
  606. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  607. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +2 -2
  608. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +3 -3
  609. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +2 -2
  610. package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
  611. package/dist/types/patterns/ConversationCard.d.ts +2 -0
  612. package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  613. package/dist/types/patterns/StyledAvatar.d.ts +2 -0
  614. package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
  615. package/dist/types/patterns/TagBlock.d.ts +2 -0
  616. package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +2 -2
  617. package/dist/types/patterns/Timestamp.d.ts +2 -0
  618. package/dist/types/patterns/index.d.ts +4 -0
  619. package/dist/types/patterns.d.ts +2 -0
  620. package/dist/types/shared/types/theme.d.ts +1 -2
  621. package/dist/types/shared/types.d.ts +2 -0
  622. package/dist/types/shared/utils/sizes.d.ts +1 -1
  623. package/dist/types/theme/index.d.ts +5 -2
  624. package/dist/types/theme/providers/theme.provider.d.ts +3 -4
  625. package/dist/types/theme/semanticTokens/index.d.ts +0 -1
  626. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -5
  627. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -10
  628. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
  629. package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
  630. package/dist/types/theme/semanticTokens.d.ts +2 -0
  631. package/dist/types/theme/theme.config.d.ts +0 -1
  632. package/dist/types/theme/theme.types.d.ts +22 -0
  633. package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
  634. package/dist/types/theme/tokens/blurs.d.ts +2 -0
  635. package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
  636. package/dist/types/theme/tokens/borders.d.ts +2 -0
  637. package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
  638. package/dist/types/theme/tokens/colors.d.ts +2 -0
  639. package/dist/types/theme/tokens/generated/conditions.gen.d.ts +262 -0
  640. package/dist/types/theme/tokens/generated/index.d.ts +5 -0
  641. package/dist/types/theme/tokens/generated/prop-types.gen.d.ts +329 -0
  642. package/dist/types/theme/tokens/generated/recipes.gen.d.ts +1525 -0
  643. package/dist/types/theme/tokens/generated/system.gen.d.ts +693 -0
  644. package/dist/types/theme/tokens/generated/token.gen.d.ts +1896 -0
  645. package/dist/types/theme/tokens/generated.d.ts +2 -0
  646. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  647. package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
  648. package/dist/types/theme/tokens/shadows.d.ts +2 -0
  649. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -16
  650. package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
  651. package/dist/types/theme/tokens/sizes.d.ts +2 -0
  652. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
  653. package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
  654. package/dist/types/theme/tokens/spacing.d.ts +2 -0
  655. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
  656. package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
  657. package/dist/types/theme/tokens/transitions.d.ts +2 -0
  658. package/dist/types/theme/tokens/typography/typography.config.d.ts +71 -26
  659. package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
  660. package/dist/types/theme/tokens/typography.d.ts +2 -0
  661. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  662. package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
  663. package/dist/types/theme/tokens/zIndices.d.ts +2 -0
  664. package/dist/types/theme/tokens.d.ts +2 -0
  665. package/dist/types/theme.d.ts +2 -0
  666. package/package.json +56 -65
  667. package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
  668. package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
  669. package/dist/chunks/IconLogo-UpYiHEKq.js +0 -50
  670. package/dist/chunks/IconLogo-UpYiHEKq.js.map +0 -1
  671. package/dist/chunks/alert.types-CEvBY7aM.js +0 -2
  672. package/dist/chunks/alert.types-CEvBY7aM.js.map +0 -1
  673. package/dist/chunks/alert.types-kAvlVPfo.js +0 -139
  674. package/dist/chunks/alert.types-kAvlVPfo.js.map +0 -1
  675. package/dist/chunks/attr-BMs6szZx.js +0 -2
  676. package/dist/chunks/attr-BMs6szZx.js.map +0 -1
  677. package/dist/chunks/attr-sm10PXOd.js +0 -5
  678. package/dist/chunks/attr-sm10PXOd.js.map +0 -1
  679. package/dist/chunks/avatar.component-DGfWk-0y.js +0 -394
  680. package/dist/chunks/avatar.component-DGfWk-0y.js.map +0 -1
  681. package/dist/chunks/avatar.component-Dv96XFOF.js +0 -2
  682. package/dist/chunks/avatar.component-Dv96XFOF.js.map +0 -1
  683. package/dist/chunks/avatar.types-C6dZZjdi.js +0 -6
  684. package/dist/chunks/avatar.types-C6dZZjdi.js.map +0 -1
  685. package/dist/chunks/avatarGroup.component-BZNCUbR4.js +0 -67
  686. package/dist/chunks/avatarGroup.component-BZNCUbR4.js.map +0 -1
  687. package/dist/chunks/avatarGroup.component-CfSBCJKG.js +0 -2
  688. package/dist/chunks/avatarGroup.component-CfSBCJKG.js.map +0 -1
  689. package/dist/chunks/box-Baq7UBls.js +0 -2
  690. package/dist/chunks/box-Baq7UBls.js.map +0 -1
  691. package/dist/chunks/box-Ck9I7FYv.js +0 -7
  692. package/dist/chunks/box-Ck9I7FYv.js.map +0 -1
  693. package/dist/chunks/button.component-Br9jCpBx.js.map +0 -1
  694. package/dist/chunks/button.component-CsJxgblU.js +0 -2
  695. package/dist/chunks/button.component-CsJxgblU.js.map +0 -1
  696. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  697. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  698. package/dist/chunks/buttonGroup.component-B6Ebjoh6.js +0 -2
  699. package/dist/chunks/buttonGroup.component-B6Ebjoh6.js.map +0 -1
  700. package/dist/chunks/buttonGroup.component-Hf7tGheU.js +0 -68
  701. package/dist/chunks/buttonGroup.component-Hf7tGheU.js.map +0 -1
  702. package/dist/chunks/card.component-BTiT4hHy.js +0 -2
  703. package/dist/chunks/card.component-BTiT4hHy.js.map +0 -1
  704. package/dist/chunks/card.component-D41Jhrj7.js +0 -58
  705. package/dist/chunks/card.component-D41Jhrj7.js.map +0 -1
  706. package/dist/chunks/card.types-Cixp7ouC.js +0 -5
  707. package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
  708. package/dist/chunks/card.types-MvkQTTZF.js +0 -2
  709. package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
  710. package/dist/chunks/characterCounter.component-DXmly18j.js +0 -2
  711. package/dist/chunks/characterCounter.component-DXmly18j.js.map +0 -1
  712. package/dist/chunks/characterCounter.component-ox9jRwSj.js +0 -84
  713. package/dist/chunks/characterCounter.component-ox9jRwSj.js.map +0 -1
  714. package/dist/chunks/checkbox.anatomy-BJmDPPss.js +0 -2
  715. package/dist/chunks/checkbox.anatomy-BJmDPPss.js.map +0 -1
  716. package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js +0 -256
  717. package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js.map +0 -1
  718. package/dist/chunks/checkbox.component-Wke7fO3F.js +0 -260
  719. package/dist/chunks/checkbox.component-Wke7fO3F.js.map +0 -1
  720. package/dist/chunks/checkbox.component-u7MR3n4o.js +0 -2
  721. package/dist/chunks/checkbox.component-u7MR3n4o.js.map +0 -1
  722. package/dist/chunks/checkboxGroup.component-BTWYKZIw.js +0 -52
  723. package/dist/chunks/checkboxGroup.component-BTWYKZIw.js.map +0 -1
  724. package/dist/chunks/checkboxGroup.component-CNnlDoOR.js +0 -2
  725. package/dist/chunks/checkboxGroup.component-CNnlDoOR.js.map +0 -1
  726. package/dist/chunks/config-BFcXpdZo.js +0 -2
  727. package/dist/chunks/config-BFcXpdZo.js.map +0 -1
  728. package/dist/chunks/config-DlTdf-Yt.js +0 -57
  729. package/dist/chunks/config-DlTdf-Yt.js.map +0 -1
  730. package/dist/chunks/conversationCard.component-D5UsucDp.js +0 -2
  731. package/dist/chunks/conversationCard.component-D5UsucDp.js.map +0 -1
  732. package/dist/chunks/conversationCard.component-F4TRYMIP.js.map +0 -1
  733. package/dist/chunks/create-recipe-context-D7FewUR4.js +0 -62
  734. package/dist/chunks/create-recipe-context-D7FewUR4.js.map +0 -1
  735. package/dist/chunks/create-recipe-context-sESms8Eo.js +0 -2
  736. package/dist/chunks/create-recipe-context-sESms8Eo.js.map +0 -1
  737. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +0 -97
  738. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +0 -1
  739. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +0 -2
  740. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +0 -1
  741. package/dist/chunks/datePicker.component-7v8Bqmkg.js +0 -3019
  742. package/dist/chunks/datePicker.component-7v8Bqmkg.js.map +0 -1
  743. package/dist/chunks/datePicker.component-CBYLerCE.js +0 -15
  744. package/dist/chunks/datePicker.component-CBYLerCE.js.map +0 -1
  745. package/dist/chunks/dialog-BeivYfW7.js +0 -2
  746. package/dist/chunks/dialog-BeivYfW7.js.map +0 -1
  747. package/dist/chunks/dialog-HKVwK8-N.js +0 -136
  748. package/dist/chunks/dialog-HKVwK8-N.js.map +0 -1
  749. package/dist/chunks/divider.types-0j5qRXed.js +0 -47
  750. package/dist/chunks/divider.types-0j5qRXed.js.map +0 -1
  751. package/dist/chunks/divider.types-CK5oFy-i.js +0 -2
  752. package/dist/chunks/divider.types-CK5oFy-i.js.map +0 -1
  753. package/dist/chunks/empty-B5_AO6Pg.js +0 -2
  754. package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
  755. package/dist/chunks/empty-BU2EAux9.js +0 -8
  756. package/dist/chunks/empty-BU2EAux9.js.map +0 -1
  757. package/dist/chunks/factory-Ctbv0Ozn.js +0 -500
  758. package/dist/chunks/factory-Ctbv0Ozn.js.map +0 -1
  759. package/dist/chunks/factory-D6tdBUPG.js +0 -3
  760. package/dist/chunks/factory-D6tdBUPG.js.map +0 -1
  761. package/dist/chunks/flex-D14H6HbP.js +0 -2
  762. package/dist/chunks/flex-D14H6HbP.js.map +0 -1
  763. package/dist/chunks/flex-smlF8uQG.js +0 -40
  764. package/dist/chunks/flex-smlF8uQG.js.map +0 -1
  765. package/dist/chunks/float-DYLtz2A6.js +0 -64
  766. package/dist/chunks/float-DYLtz2A6.js.map +0 -1
  767. package/dist/chunks/float-OQXnYWBw.js +0 -2
  768. package/dist/chunks/float-OQXnYWBw.js.map +0 -1
  769. package/dist/chunks/format-BRt-TIiQ.js +0 -2
  770. package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
  771. package/dist/chunks/format-DgHM6wFr.js +0 -1275
  772. package/dist/chunks/format-DgHM6wFr.js.map +0 -1
  773. package/dist/chunks/grid-item-BBt_-NiB.js +0 -91
  774. package/dist/chunks/grid-item-BBt_-NiB.js.map +0 -1
  775. package/dist/chunks/grid-item-BfAkrDSq.js +0 -2
  776. package/dist/chunks/grid-item-BfAkrDSq.js.map +0 -1
  777. package/dist/chunks/group-Cv7AQw1b.js +0 -2
  778. package/dist/chunks/group-Cv7AQw1b.js.map +0 -1
  779. package/dist/chunks/group-DPCVolOl.js +0 -139
  780. package/dist/chunks/group-DPCVolOl.js.map +0 -1
  781. package/dist/chunks/h-stack-Bjx9hlJo.js +0 -2
  782. package/dist/chunks/h-stack-Bjx9hlJo.js.map +0 -1
  783. package/dist/chunks/h-stack-Ce6JSBK2.js +0 -12
  784. package/dist/chunks/h-stack-Ce6JSBK2.js.map +0 -1
  785. package/dist/chunks/heading.component-BMvc5kM8.js +0 -2
  786. package/dist/chunks/heading.component-BMvc5kM8.js.map +0 -1
  787. package/dist/chunks/heading.component-Cgi_rt8Q.js +0 -12
  788. package/dist/chunks/heading.component-Cgi_rt8Q.js.map +0 -1
  789. package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
  790. package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
  791. package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
  792. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
  793. package/dist/chunks/icon.component-B6R8-DRk.js +0 -2
  794. package/dist/chunks/icon.component-B6R8-DRk.js.map +0 -1
  795. package/dist/chunks/icon.component-S_qFWBRf.js +0 -32
  796. package/dist/chunks/icon.component-S_qFWBRf.js.map +0 -1
  797. package/dist/chunks/icons-BXxdrBrf.js +0 -216
  798. package/dist/chunks/icons-BXxdrBrf.js.map +0 -1
  799. package/dist/chunks/icons-CTpAjbC-.js +0 -2
  800. package/dist/chunks/icons-CTpAjbC-.js.map +0 -1
  801. package/dist/chunks/index-1syExFDc.js +0 -1328
  802. package/dist/chunks/index-1syExFDc.js.map +0 -1
  803. package/dist/chunks/index-4eV_IBpJ.js +0 -70
  804. package/dist/chunks/index-4eV_IBpJ.js.map +0 -1
  805. package/dist/chunks/index-50yAcekU.js +0 -371
  806. package/dist/chunks/index-50yAcekU.js.map +0 -1
  807. package/dist/chunks/index-AafzY9XD.js +0 -389
  808. package/dist/chunks/index-AafzY9XD.js.map +0 -1
  809. package/dist/chunks/index-BR7peqZO.js +0 -2
  810. package/dist/chunks/index-BR7peqZO.js.map +0 -1
  811. package/dist/chunks/index-BZO9oWt_.js +0 -444
  812. package/dist/chunks/index-BZO9oWt_.js.map +0 -1
  813. package/dist/chunks/index-C9d2jvcj.js +0 -7859
  814. package/dist/chunks/index-C9d2jvcj.js.map +0 -1
  815. package/dist/chunks/index-CHIISuTq.js +0 -3
  816. package/dist/chunks/index-CHIISuTq.js.map +0 -1
  817. package/dist/chunks/index-CIWHjZGL.js +0 -1189
  818. package/dist/chunks/index-CIWHjZGL.js.map +0 -1
  819. package/dist/chunks/index-CS8X6LiC.js +0 -2
  820. package/dist/chunks/index-CS8X6LiC.js.map +0 -1
  821. package/dist/chunks/index-ChpoK9RR.js +0 -290
  822. package/dist/chunks/index-ChpoK9RR.js.map +0 -1
  823. package/dist/chunks/index-CtXUprYH.js +0 -2
  824. package/dist/chunks/index-CtXUprYH.js.map +0 -1
  825. package/dist/chunks/index-CxYbW27D.js +0 -375
  826. package/dist/chunks/index-CxYbW27D.js.map +0 -1
  827. package/dist/chunks/index-D6LpzELR.js +0 -257
  828. package/dist/chunks/index-D6LpzELR.js.map +0 -1
  829. package/dist/chunks/index-DAWHN3cH.js +0 -86
  830. package/dist/chunks/index-DAWHN3cH.js.map +0 -1
  831. package/dist/chunks/index-DBk0LkcO.js +0 -2
  832. package/dist/chunks/index-DBk0LkcO.js.map +0 -1
  833. package/dist/chunks/index-DD49WSSW.js +0 -2
  834. package/dist/chunks/index-DD49WSSW.js.map +0 -1
  835. package/dist/chunks/index-DLX5_Po7.js +0 -10
  836. package/dist/chunks/index-DLX5_Po7.js.map +0 -1
  837. package/dist/chunks/index-DOXzraja.js +0 -2
  838. package/dist/chunks/index-DOXzraja.js.map +0 -1
  839. package/dist/chunks/index-DSedXH1s.js +0 -2
  840. package/dist/chunks/index-DSedXH1s.js.map +0 -1
  841. package/dist/chunks/index-DbTEJc-K.js +0 -2
  842. package/dist/chunks/index-DbTEJc-K.js.map +0 -1
  843. package/dist/chunks/index-DlJs9pM6.js +0 -1195
  844. package/dist/chunks/index-DlJs9pM6.js.map +0 -1
  845. package/dist/chunks/index-DowO8Ued.js +0 -2
  846. package/dist/chunks/index-DowO8Ued.js.map +0 -1
  847. package/dist/chunks/index-LDZVYRQt.js +0 -141
  848. package/dist/chunks/index-LDZVYRQt.js.map +0 -1
  849. package/dist/chunks/index-P9qG5HsO.js +0 -2
  850. package/dist/chunks/index-P9qG5HsO.js.map +0 -1
  851. package/dist/chunks/index-QTIBH1Or.js +0 -2
  852. package/dist/chunks/index-QTIBH1Or.js.map +0 -1
  853. package/dist/chunks/invertToken-DkyAF_BY.js +0 -10
  854. package/dist/chunks/invertToken-DkyAF_BY.js.map +0 -1
  855. package/dist/chunks/invertToken-Em3s32gh.js +0 -2
  856. package/dist/chunks/invertToken-Em3s32gh.js.map +0 -1
  857. package/dist/chunks/isSymbol-BQN49XhJ.js +0 -67
  858. package/dist/chunks/isSymbol-BQN49XhJ.js.map +0 -1
  859. package/dist/chunks/isSymbol-BdGeV_e0.js +0 -2
  860. package/dist/chunks/isSymbol-BdGeV_e0.js.map +0 -1
  861. package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
  862. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
  863. package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
  864. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
  865. package/dist/chunks/link.component--UJiv0xU.js +0 -36
  866. package/dist/chunks/link.component--UJiv0xU.js.map +0 -1
  867. package/dist/chunks/link.component-BCY_f6zw.js +0 -2
  868. package/dist/chunks/link.component-BCY_f6zw.js.map +0 -1
  869. package/dist/chunks/list-C_LmDoyW.js +0 -2
  870. package/dist/chunks/list-C_LmDoyW.js.map +0 -1
  871. package/dist/chunks/list-DqH5ttQG.js +0 -20
  872. package/dist/chunks/list-DqH5ttQG.js.map +0 -1
  873. package/dist/chunks/logo.types-R7sXqcB4.js +0 -2
  874. package/dist/chunks/logo.types-R7sXqcB4.js.map +0 -1
  875. package/dist/chunks/logo.types-jb-f-Z1C.js +0 -45
  876. package/dist/chunks/logo.types-jb-f-Z1C.js.map +0 -1
  877. package/dist/chunks/menu.component-BPggXzkH.js +0 -599
  878. package/dist/chunks/menu.component-BPggXzkH.js.map +0 -1
  879. package/dist/chunks/menu.component-OwlCMqw2.js +0 -2
  880. package/dist/chunks/menu.component-OwlCMqw2.js.map +0 -1
  881. package/dist/chunks/modal.types-4zzWdH2-.js +0 -95
  882. package/dist/chunks/modal.types-4zzWdH2-.js.map +0 -1
  883. package/dist/chunks/modal.types-BiEPKa2t.js +0 -2
  884. package/dist/chunks/modal.types-BiEPKa2t.js.map +0 -1
  885. package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
  886. package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +0 -1
  887. package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +0 -1
  888. package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
  889. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
  890. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +0 -6
  891. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +0 -1
  892. package/dist/chunks/omit-C-j4TrF5.js +0 -10
  893. package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
  894. package/dist/chunks/omit-DqNeoZ8h.js +0 -2
  895. package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
  896. package/dist/chunks/picture.component-C2C2r_BU.js +0 -2
  897. package/dist/chunks/picture.component-C2C2r_BU.js.map +0 -1
  898. package/dist/chunks/picture.component-DECGd77u.js +0 -22
  899. package/dist/chunks/picture.component-DECGd77u.js.map +0 -1
  900. package/dist/chunks/pinInput.types-Bz0HF7PQ.js +0 -145
  901. package/dist/chunks/pinInput.types-Bz0HF7PQ.js.map +0 -1
  902. package/dist/chunks/pinInput.types-DoQJLvWY.js +0 -2
  903. package/dist/chunks/pinInput.types-DoQJLvWY.js.map +0 -1
  904. package/dist/chunks/popover-root-provider-C-Z3nqiD.js +0 -43
  905. package/dist/chunks/popover-root-provider-C-Z3nqiD.js.map +0 -1
  906. package/dist/chunks/popover-root-provider-C2iwUZJn.js +0 -2
  907. package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +0 -1
  908. package/dist/chunks/popover.component-B1NHpxuL.js +0 -2
  909. package/dist/chunks/popover.component-B1NHpxuL.js.map +0 -1
  910. package/dist/chunks/popover.component-BOUBKQSa.js +0 -196
  911. package/dist/chunks/popover.component-BOUBKQSa.js.map +0 -1
  912. package/dist/chunks/popover.recipe-CQYAiRTB.js +0 -2
  913. package/dist/chunks/popover.recipe-CQYAiRTB.js.map +0 -1
  914. package/dist/chunks/popover.recipe-qpxHK0Qz.js +0 -241
  915. package/dist/chunks/popover.recipe-qpxHK0Qz.js.map +0 -1
  916. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  917. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  918. package/dist/chunks/provider-ClCAdPxy.js +0 -47
  919. package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
  920. package/dist/chunks/provider-NDo8kOkE.js +0 -2
  921. package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
  922. package/dist/chunks/radioGroup.types-BEIDLWVD.js +0 -2
  923. package/dist/chunks/radioGroup.types-BEIDLWVD.js.map +0 -1
  924. package/dist/chunks/radioGroup.types-CaOuRCIT.js +0 -219
  925. package/dist/chunks/radioGroup.types-CaOuRCIT.js.map +0 -1
  926. package/dist/chunks/ratingDots.component-BSxsE3Ri.js +0 -138
  927. package/dist/chunks/ratingDots.component-BSxsE3Ri.js.map +0 -1
  928. package/dist/chunks/ratingDots.component-TPth4wKQ.js +0 -2
  929. package/dist/chunks/ratingDots.component-TPth4wKQ.js.map +0 -1
  930. package/dist/chunks/render-strategy-C_zp9LNQ.js +0 -2
  931. package/dist/chunks/render-strategy-C_zp9LNQ.js.map +0 -1
  932. package/dist/chunks/render-strategy-dTkof8Jm.js +0 -12
  933. package/dist/chunks/render-strategy-dTkof8Jm.js.map +0 -1
  934. package/dist/chunks/select.component-91EorPLw.js +0 -2
  935. package/dist/chunks/select.component-91EorPLw.js.map +0 -1
  936. package/dist/chunks/select.component-CiPijmQE.js +0 -1054
  937. package/dist/chunks/select.component-CiPijmQE.js.map +0 -1
  938. package/dist/chunks/sortableList.component-CPYA3KKy.js +0 -6
  939. package/dist/chunks/sortableList.component-CPYA3KKy.js.map +0 -1
  940. package/dist/chunks/sortableList.component-CjfPYcdW.js.map +0 -1
  941. package/dist/chunks/spinner-BWqSIW6m.js +0 -8
  942. package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
  943. package/dist/chunks/spinner-BnpL14kK.js +0 -2
  944. package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
  945. package/dist/chunks/spinner.component-CzOv8dIY.js +0 -2
  946. package/dist/chunks/spinner.component-CzOv8dIY.js.map +0 -1
  947. package/dist/chunks/spinner.component-vkhAVeU1.js.map +0 -1
  948. package/dist/chunks/stack-BKu3hWEQ.js +0 -2
  949. package/dist/chunks/stack-BKu3hWEQ.js.map +0 -1
  950. package/dist/chunks/stack-Dnuh5Zgf.js +0 -85
  951. package/dist/chunks/stack-Dnuh5Zgf.js.map +0 -1
  952. package/dist/chunks/styledAvatar.types-9huVpPvU.js +0 -2
  953. package/dist/chunks/styledAvatar.types-9huVpPvU.js.map +0 -1
  954. package/dist/chunks/styledAvatar.types-TEOKzzqn.js.map +0 -1
  955. package/dist/chunks/swatch.types-CtRInwzo.js +0 -67
  956. package/dist/chunks/swatch.types-CtRInwzo.js.map +0 -1
  957. package/dist/chunks/swatch.types-qncm_zG6.js +0 -2
  958. package/dist/chunks/swatch.types-qncm_zG6.js.map +0 -1
  959. package/dist/chunks/switch.component-B8gX8Te0.js +0 -154
  960. package/dist/chunks/switch.component-B8gX8Te0.js.map +0 -1
  961. package/dist/chunks/switch.component-CJ3nDOQj.js +0 -2
  962. package/dist/chunks/switch.component-CJ3nDOQj.js.map +0 -1
  963. package/dist/chunks/tab.types-D2Y_KCOG.js +0 -2
  964. package/dist/chunks/tab.types-D2Y_KCOG.js.map +0 -1
  965. package/dist/chunks/tab.types-eHuXLv2i.js +0 -616
  966. package/dist/chunks/tab.types-eHuXLv2i.js.map +0 -1
  967. package/dist/chunks/tag.component-BAH11mPX.js +0 -82
  968. package/dist/chunks/tag.component-BAH11mPX.js.map +0 -1
  969. package/dist/chunks/tag.component-DcEASytC.js +0 -2
  970. package/dist/chunks/tag.component-DcEASytC.js.map +0 -1
  971. package/dist/chunks/tagBlock.component-lQeyNLgK.js +0 -2
  972. package/dist/chunks/tagBlock.component-lQeyNLgK.js.map +0 -1
  973. package/dist/chunks/tagBlock.component-xwy8mG6_.js.map +0 -1
  974. package/dist/chunks/text.component-nhTe7fy0.js +0 -12
  975. package/dist/chunks/text.component-nhTe7fy0.js.map +0 -1
  976. package/dist/chunks/text.component-waIIFgwB.js +0 -2
  977. package/dist/chunks/text.component-waIIFgwB.js.map +0 -1
  978. package/dist/chunks/textInput.component-Bw1lEr8q.js +0 -2
  979. package/dist/chunks/textInput.component-Bw1lEr8q.js.map +0 -1
  980. package/dist/chunks/textInput.component-GBvY3agL.js +0 -169
  981. package/dist/chunks/textInput.component-GBvY3agL.js.map +0 -1
  982. package/dist/chunks/textarea.component-DDYGwqlz.js +0 -2
  983. package/dist/chunks/textarea.component-DDYGwqlz.js.map +0 -1
  984. package/dist/chunks/textarea.component-DPI4Y1tG.js +0 -79
  985. package/dist/chunks/textarea.component-DPI4Y1tG.js.map +0 -1
  986. package/dist/chunks/theme-BFbOz0Jj.js +0 -2
  987. package/dist/chunks/theme-BFbOz0Jj.js.map +0 -1
  988. package/dist/chunks/theme-BOK659O0.js +0 -5
  989. package/dist/chunks/theme-BOK659O0.js.map +0 -1
  990. package/dist/chunks/theme.provider-Din1M63M.js.map +0 -1
  991. package/dist/chunks/theme.provider-fEXubEDT.js +0 -28
  992. package/dist/chunks/theme.provider-fEXubEDT.js.map +0 -1
  993. package/dist/chunks/timePicker.component-3lHlD-Sl.js +0 -2
  994. package/dist/chunks/timePicker.component-3lHlD-Sl.js.map +0 -1
  995. package/dist/chunks/timePicker.component-B-zof_x8.js +0 -209
  996. package/dist/chunks/timePicker.component-B-zof_x8.js.map +0 -1
  997. package/dist/chunks/timeRange.component-CrHyiWyg.js +0 -18
  998. package/dist/chunks/timeRange.component-CrHyiWyg.js.map +0 -1
  999. package/dist/chunks/timeRange.component-l8jhl4Vv.js +0 -2
  1000. package/dist/chunks/timeRange.component-l8jhl4Vv.js.map +0 -1
  1001. package/dist/chunks/timestamp.component-B1UUyLk6.js +0 -2
  1002. package/dist/chunks/timestamp.component-B1UUyLk6.js.map +0 -1
  1003. package/dist/chunks/timestamp.component-Cm2EcVTa.js +0 -51
  1004. package/dist/chunks/timestamp.component-Cm2EcVTa.js.map +0 -1
  1005. package/dist/chunks/toaster.records-CDCJPDWP.js +0 -2
  1006. package/dist/chunks/toaster.records-CDCJPDWP.js.map +0 -1
  1007. package/dist/chunks/toaster.records-DjNU8CFN.js +0 -822
  1008. package/dist/chunks/toaster.records-DjNU8CFN.js.map +0 -1
  1009. package/dist/chunks/tooltip.component-BlX3B2Di.js +0 -2
  1010. package/dist/chunks/tooltip.component-BlX3B2Di.js.map +0 -1
  1011. package/dist/chunks/tooltip.component-CZjm8G_B.js +0 -492
  1012. package/dist/chunks/tooltip.component-CZjm8G_B.js.map +0 -1
  1013. package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
  1014. package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
  1015. package/dist/chunks/typography.records-Cq-V6T7j.js +0 -66
  1016. package/dist/chunks/typography.records-Cq-V6T7j.js.map +0 -1
  1017. package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
  1018. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
  1019. package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
  1020. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
  1021. package/dist/chunks/use-field-context-CArmgHPP.js +0 -2
  1022. package/dist/chunks/use-field-context-CArmgHPP.js.map +0 -1
  1023. package/dist/chunks/use-field-context-DF-c50-r.js +0 -12
  1024. package/dist/chunks/use-field-context-DF-c50-r.js.map +0 -1
  1025. package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
  1026. package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
  1027. package/dist/chunks/use-locale-context-DMynFc1_.js +0 -2301
  1028. package/dist/chunks/use-locale-context-DMynFc1_.js.map +0 -1
  1029. package/dist/chunks/use-radio-group-9-qfzljd.js +0 -2
  1030. package/dist/chunks/use-radio-group-9-qfzljd.js.map +0 -1
  1031. package/dist/chunks/use-radio-group-DdVEhdry.js +0 -16
  1032. package/dist/chunks/use-radio-group-DdVEhdry.js.map +0 -1
  1033. package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
  1034. package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
  1035. package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
  1036. package/dist/chunks/use-recipe-d63ABaZ3.js.map +0 -1
  1037. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  1038. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  1039. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  1040. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  1041. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js +0 -2
  1042. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +0 -1
  1043. package/dist/chunks/usePortalContentRef-DO_jc4W9.js +0 -10
  1044. package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +0 -1
  1045. package/dist/chunks/v-stack-BZT7R_9f.js +0 -12
  1046. package/dist/chunks/v-stack-BZT7R_9f.js.map +0 -1
  1047. package/dist/chunks/v-stack-DxjgpeJ0.js +0 -2
  1048. package/dist/chunks/v-stack-DxjgpeJ0.js.map +0 -1
  1049. package/dist/chunks/walk-object-BrTExCqQ.js +0 -2
  1050. package/dist/chunks/walk-object-BrTExCqQ.js.map +0 -1
  1051. package/dist/chunks/walk-object-_CL3Bkm9.js +0 -28
  1052. package/dist/chunks/walk-object-_CL3Bkm9.js.map +0 -1
  1053. package/dist/chunks/withDarkMode-B9LErG-p.js +0 -2
  1054. package/dist/chunks/withDarkMode-B9LErG-p.js.map +0 -1
  1055. package/dist/chunks/withDarkMode-BE00aGRV.js +0 -21
  1056. package/dist/chunks/withDarkMode-BE00aGRV.js.map +0 -1
  1057. package/dist/chunks/withFormControl-6X6RWCqX.js +0 -360
  1058. package/dist/chunks/withFormControl-6X6RWCqX.js.map +0 -1
  1059. package/dist/chunks/withFormControl-COwU1OTv.js +0 -2
  1060. package/dist/chunks/withFormControl-COwU1OTv.js.map +0 -1
  1061. package/dist/chunks/withLightMode-UfFl5ry6.js +0 -20
  1062. package/dist/chunks/withLightMode-UfFl5ry6.js.map +0 -1
  1063. package/dist/chunks/withLightMode-fys9Cbqw.js +0 -2
  1064. package/dist/chunks/withLightMode-fys9Cbqw.js.map +0 -1
  1065. package/dist/chunks/withTruncation-BY4-q1lB.js +0 -2
  1066. package/dist/chunks/withTruncation-BY4-q1lB.js.map +0 -1
  1067. package/dist/chunks/withTruncation-DLR1Illa.js.map +0 -1
  1068. package/dist/chunks/wrap-B8tBNeBY.js +0 -45
  1069. package/dist/chunks/wrap-B8tBNeBY.js.map +0 -1
  1070. package/dist/chunks/wrap-CNn1kyJX.js +0 -2
  1071. package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
  1072. package/dist/cjs/chakra/index.cjs +0 -2
  1073. package/dist/cjs/chakra/index.cjs.map +0 -1
  1074. package/dist/cjs/cli/generate-theme-types.cjs +0 -6
  1075. package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
  1076. package/dist/cjs/cli/postinstall.cjs +0 -3
  1077. package/dist/cjs/cli/postinstall.cjs.map +0 -1
  1078. package/dist/cjs/components/Divider/index.cjs +0 -2
  1079. package/dist/cjs/components/Logo/generated/index.cjs +0 -2
  1080. package/dist/cjs/components/Logo/index.cjs +0 -2
  1081. package/dist/cjs/components/PinInput/index.cjs +0 -2
  1082. package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
  1083. package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
  1084. package/dist/cjs/components/Toast/index.cjs +0 -2
  1085. package/dist/cjs/components/Toast/index.cjs.map +0 -1
  1086. package/dist/cjs/hocs/withDarkMode/index.cjs +0 -2
  1087. package/dist/cjs/hocs/withDarkMode/index.cjs.map +0 -1
  1088. package/dist/cjs/hocs/withLightMode/index.cjs +0 -2
  1089. package/dist/cjs/hocs/withLightMode/index.cjs.map +0 -1
  1090. package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
  1091. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
  1092. package/dist/cjs/hooks/useColorMode/index.cjs +0 -2
  1093. package/dist/cjs/hooks/useColorMode/index.cjs.map +0 -1
  1094. package/dist/cjs/hooks/useColorModeValue/index.cjs +0 -2
  1095. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +0 -1
  1096. package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
  1097. package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
  1098. package/dist/cjs/shared/index.cjs +0 -2
  1099. package/dist/cjs/shared/index.cjs.map +0 -1
  1100. package/dist/cjs/shared/records/index.cjs +0 -2
  1101. package/dist/cjs/shared/records/index.cjs.map +0 -1
  1102. package/dist/esm/chakra/index.js +0 -3252
  1103. package/dist/esm/chakra/index.js.map +0 -1
  1104. package/dist/esm/cli/generate-theme-types.js +0 -22
  1105. package/dist/esm/cli/generate-theme-types.js.map +0 -1
  1106. package/dist/esm/cli/postinstall.js +0 -19
  1107. package/dist/esm/cli/postinstall.js.map +0 -1
  1108. package/dist/esm/components/Divider/index.js +0 -8
  1109. package/dist/esm/components/Logo/generated/index.js +0 -6
  1110. package/dist/esm/components/Logo/index.js +0 -6
  1111. package/dist/esm/components/PinInput/index.js +0 -6
  1112. package/dist/esm/components/PinInput/index.js.map +0 -1
  1113. package/dist/esm/components/StyledAvatar/index.js.map +0 -1
  1114. package/dist/esm/components/TagBlock/index.js.map +0 -1
  1115. package/dist/esm/components/Timestamp/index.js +0 -5
  1116. package/dist/esm/components/Timestamp/index.js.map +0 -1
  1117. package/dist/esm/components/Toast/index.js +0 -59
  1118. package/dist/esm/components/Toast/index.js.map +0 -1
  1119. package/dist/esm/hocs/withDarkMode/index.js +0 -5
  1120. package/dist/esm/hocs/withDarkMode/index.js.map +0 -1
  1121. package/dist/esm/hocs/withLightMode/index.js +0 -5
  1122. package/dist/esm/hocs/withLightMode/index.js.map +0 -1
  1123. package/dist/esm/hooks/useBreakpoint/index.js +0 -12
  1124. package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
  1125. package/dist/esm/hooks/useColorMode/index.js +0 -19
  1126. package/dist/esm/hooks/useColorMode/index.js.map +0 -1
  1127. package/dist/esm/hooks/useColorModeValue/index.js +0 -9
  1128. package/dist/esm/hooks/useColorModeValue/index.js.map +0 -1
  1129. package/dist/esm/hooks/useDeviceType/index.js +0 -12
  1130. package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
  1131. package/dist/esm/shared/index.js +0 -11
  1132. package/dist/esm/shared/index.js.map +0 -1
  1133. package/dist/esm/shared/records/index.js +0 -18
  1134. package/dist/esm/shared/records/index.js.map +0 -1
  1135. package/dist/types/chakra/index.d.ts +0 -53
  1136. package/dist/types/cli/generate-theme-types.d.ts +0 -2
  1137. package/dist/types/cli/postinstall.d.ts +0 -2
  1138. package/dist/types/components/Divider/divider.component.d.ts +0 -4
  1139. package/dist/types/components/Divider/divider.types.d.ts +0 -6
  1140. package/dist/types/components/Divider/index.d.ts +0 -2
  1141. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
  1142. package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
  1143. package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
  1144. package/dist/types/components/Logo/generated/index.d.ts +0 -4
  1145. package/dist/types/components/Logo/index.d.ts +0 -2
  1146. package/dist/types/components/Logo/logo.component.d.ts +0 -9
  1147. package/dist/types/components/Logo/logo.recipe.d.ts +0 -24
  1148. package/dist/types/components/Logo/logo.types.d.ts +0 -4
  1149. package/dist/types/components/PinInput/index.d.ts +0 -2
  1150. package/dist/types/components/PinInput/pinInput.component.d.ts +0 -12
  1151. package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
  1152. package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
  1153. package/dist/types/components/RadioGroup/radioGroup.types.d.ts +0 -2
  1154. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
  1155. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
  1156. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
  1157. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
  1158. package/dist/types/components/Toast/index.d.ts +0 -2
  1159. package/dist/types/components/Toast/toast.component.d.ts +0 -14
  1160. package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
  1161. package/dist/types/components/Toast/toast.types.d.ts +0 -19
  1162. package/dist/types/components/Toast/useToast.d.ts +0 -3
  1163. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
  1164. package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +0 -2
  1165. package/dist/types/hocs/withLightMode/withLightMode.d.ts +0 -2
  1166. package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
  1167. package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
  1168. package/dist/types/hooks/usePortalContentRef.d.ts +0 -6
  1169. package/dist/types/shared/index.d.ts +0 -1
  1170. package/dist/types/shared/records/index.d.ts +0 -1
  1171. package/dist/types/shared/records/status.d.ts +0 -5
  1172. /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
  1173. /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
  1174. /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
  1175. /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
  1176. /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
  1177. /package/dist/cjs/{components/StyledAvatar → theme/tokens/generated}/index.cjs.map +0 -0
  1178. /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
  1179. /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
  1180. /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
  1181. /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
  1182. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  1183. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  1184. /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
  1185. /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
  1186. /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  1187. /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
  1188. /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
  1189. /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
@@ -1,3252 +0,0 @@
1
- import { c as Y } from "../../chunks/create-recipe-context-D7FewUR4.js";
2
- import { j as s } from "../../chunks/jsx-runtime-C5mzlN2N.js";
3
- import { n as Xn, o as Zn, p as Jn, q as Kn, r as es, s as ts, b as os, t as rs, u as ns, v as ss, w as is, x as as, y as ls, z as cs, A as ds, B as ps, C as us, D as gs, E as Ps, F as ms, G as Cs, H as hs, I as vs, J as xs } from "../../chunks/index-C9d2jvcj.js";
4
- import { m as wP } from "../../chunks/index-C9d2jvcj.js";
5
- import { a1 as d, c as Ee, aN as bs, ab as fs, b as Fe, d as f, H as Ss, bb as ys, a$ as Ts, aw as ws } from "../../chunks/index-1syExFDc.js";
6
- import * as et from "react";
7
- import { forwardRef as a, Children as Is, useMemo as X, Fragment as ks, useId as I, useRef as tt, useState as _e, useEffect as ot, isValidElement as rt, cloneElement as js, useCallback as je } from "react";
8
- import { c as x, a as g, b as y, u as w, d as k, n as j, i as l, e as oe, k as nt, j as st, s as Oe, l as De, m as it } from "../../chunks/use-locale-context-DMynFc1_.js";
9
- import { P as kP } from "../../chunks/use-locale-context-DMynFc1_.js";
10
- import { c as $, a as be, f as $s, m as at } from "../../chunks/factory-Ctbv0Ozn.js";
11
- import { d as Rs } from "../../chunks/config-DlTdf-Yt.js";
12
- import { e as $P, b as RP, j as NP, a as AP, l as EP, c as FP } from "../../chunks/config-DlTdf-Yt.js";
13
- import { m as W } from "../../chunks/walk-object-_CL3Bkm9.js";
14
- import { B as lt } from "../../chunks/box-Ck9I7FYv.js";
15
- import { G as Ns } from "../../chunks/grid-item-BBt_-NiB.js";
16
- import { C as OP, a as DP } from "../../chunks/grid-item-BBt_-NiB.js";
17
- import { F as LP } from "../../chunks/flex-smlF8uQG.js";
18
- import { F as GP } from "../../chunks/float-DYLtz2A6.js";
19
- import { u as As } from "../../chunks/provider-ClCAdPxy.js";
20
- import { G as BP } from "../../chunks/group-DPCVolOl.js";
21
- import { S as ct } from "../../chunks/stack-Dnuh5Zgf.js";
22
- import { H as qP } from "../../chunks/h-stack-Ce6JSBK2.js";
23
- import { V as QP } from "../../chunks/v-stack-BZT7R_9f.js";
24
- import { W as YP, a as XP } from "../../chunks/wrap-B8tBNeBY.js";
25
- import { c as b } from "../../chunks/create-slot-recipe-context-BJmsuxih.js";
26
- import { Q as Es, c as dt, E as Fs, d as _s, e as Os, b as pt, P as Ds, C as Vs, F as Ls, f as Us, g as Gs, S as zs, A as Bs, h as Ms } from "../../chunks/icons-BXxdrBrf.js";
27
- import { b as qs, L as Hs, a as Qs, c as Ws } from "../../chunks/list-DqH5ttQG.js";
28
- import { u as Ys, s as ut, R as gt } from "../../chunks/render-strategy-dTkof8Jm.js";
29
- import { P as Xs, b as Zs, a as Js, c as Ks, d as ei } from "../../chunks/popover-root-provider-C-Z3nqiD.js";
30
- import { I as Pt, S as ti } from "../../chunks/icon-button-DTZOklQ9.js";
31
- import { u as D } from "../../chunks/use-field-context-DF-c50-r.js";
32
- import { a as oi, d as ri, j as ni, g as si, f as ii, k as ai, l as li, D as ci, h as di, e as pi, m as ui, b as gi, n as Pi, i as mi, c as Ci, o as hi, u as vi, p as xi, q as bi, r as fi, s as Si, t as yi, v as Ti, w as wi, x as Ii, y as ki } from "../../chunks/dialog-HKVwK8-N.js";
33
- import { u as ji } from "../../chunks/use-slot-recipe-DhtQ1j_5.js";
34
- import { a as Ze } from "../../chunks/use-breakpoint-MQ7agQJe.js";
35
- import { u as JP, b as KP } from "../../chunks/use-breakpoint-MQ7agQJe.js";
36
- import { u as tm } from "../../chunks/use-radio-group-DdVEhdry.js";
37
- import { u as rm } from "../../chunks/use-recipe-d63ABaZ3.js";
38
- const Ag = $("em", {
39
- base: {
40
- fontStyle: "italic"
41
- }
42
- }), { withContext: $i } = Y({
43
- key: "mark"
44
- }), Ri = $i("mark"), Ni = a(
45
- function(t, o) {
46
- const { size: r, ...n } = t;
47
- return /* @__PURE__ */ s.jsx(
48
- lt,
49
- {
50
- ...n,
51
- ref: o,
52
- boxSize: r,
53
- css: {
54
- display: "flex",
55
- alignItems: "center",
56
- justifyContent: "center",
57
- flexShrink: 0,
58
- flexGrow: 0,
59
- ...t.css
60
- }
61
- }
62
- );
63
- }
64
- ), Ai = a(
65
- function(t, o) {
66
- const { size: r, ...n } = t;
67
- return /* @__PURE__ */ s.jsx(Ni, { size: r, ref: o, borderRadius: "9999px", ...n });
68
- }
69
- ), Ei = Rs({
70
- "& > *:not(style)": {
71
- overflow: "hidden",
72
- position: "absolute",
73
- top: "0",
74
- right: "0",
75
- bottom: "0",
76
- left: "0",
77
- display: "flex",
78
- justifyContent: "center",
79
- alignItems: "center",
80
- width: "100%",
81
- height: "100%"
82
- },
83
- "& > img, & > video": {
84
- objectFit: "cover"
85
- }
86
- }), Eg = a(
87
- function(t, o) {
88
- const { ratio: r = 4 / 3, children: n, className: i, ...c } = t, p = Is.only(n);
89
- return /* @__PURE__ */ s.jsx(
90
- $.div,
91
- {
92
- ref: o,
93
- position: "relative",
94
- className: be("chakra-aspect-ratio", i),
95
- _before: {
96
- height: 0,
97
- content: '""',
98
- display: "block",
99
- paddingBottom: W(r, (u) => `${1 / u * 100}%`)
100
- },
101
- ...c,
102
- css: [Ei, t.css],
103
- children: p
104
- }
105
- );
106
- }
107
- ), Fi = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%", _i = `(?:${Fi.split(",").join("|")})`, Oi = new RegExp(
108
- `^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${_i}$`
109
- ), Di = (e) => typeof e == "string" && Oi.test(e), he = (e) => Di(e) || $s(e) ? e : `token(spacing.${e}, ${e})`, Fg = a(
110
- function(t, o) {
111
- const {
112
- inline: r,
113
- inlineStart: n,
114
- inlineEnd: i,
115
- block: c,
116
- blockStart: p,
117
- blockEnd: u,
118
- ...P
119
- } = t;
120
- return /* @__PURE__ */ s.jsx(
121
- $.div,
122
- {
123
- ref: o,
124
- ...P,
125
- css: {
126
- "--bleed-inline-start": W(r ?? n, he),
127
- "--bleed-inline-end": W(r ?? i, he),
128
- "--bleed-block-start": W(c ?? p, he),
129
- "--bleed-block-end": W(c ?? u, he),
130
- marginInlineStart: "calc(var(--bleed-inline-start, 0) * -1)",
131
- marginInlineEnd: "calc(var(--bleed-inline-end, 0) * -1)",
132
- marginBlockStart: "calc(var(--bleed-block-start, 0) * -1)",
133
- marginBlockEnd: "calc(var(--bleed-block-end, 0) * -1)"
134
- }
135
- }
136
- );
137
- }
138
- ), { withContext: Vi } = Y({
139
- key: "container"
140
- }), _g = Vi("div"), Og = a(
141
- function(t, o) {
142
- const { columns: r, minChildWidth: n, ...i } = t, c = As(), p = n ? Ui(n, c) : Gi(r);
143
- return /* @__PURE__ */ s.jsx(Ns, { ref: o, templateColumns: p, ...i });
144
- }
145
- );
146
- function Li(e) {
147
- return typeof e == "number" ? `${e}px` : e;
148
- }
149
- function Ui(e, t) {
150
- return W(e, (o) => {
151
- const r = t.tokens.getVar(`sizes.${o}`, Li(o));
152
- return o === null ? null : `repeat(auto-fit, minmax(${r}, 1fr))`;
153
- });
154
- }
155
- function Gi(e) {
156
- return W(
157
- e,
158
- (t) => t === null ? null : `repeat(${t}, minmax(0, 1fr))`
159
- );
160
- }
161
- const {
162
- withProvider: zi,
163
- withContext: Ve,
164
- PropsProvider: Bi
165
- } = b({ key: "blockquote" }), Mi = zi(
166
- "figure",
167
- "root"
168
- ), qi = Bi, Hi = Ve("blockquote", "content"), Qi = Ve("figcaption", "caption"), Wi = Ve(
169
- Es,
170
- "icon"
171
- ), Dg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
172
- __proto__: null,
173
- Caption: Qi,
174
- Content: Hi,
175
- Icon: Wi,
176
- PropsProvider: qi,
177
- Root: Mi
178
- }, Symbol.toStringTag, { value: "Module" })), { withContext: Yi } = Y({
179
- key: "code"
180
- }), Vg = Yi("code");
181
- var mt = (e, t) => {
182
- const o = [], r = (n, i, c) => {
183
- i - n > 0 && o.push({ start: n, end: i, match: c });
184
- };
185
- if (e.length === 0)
186
- r(0, t, !1);
187
- else {
188
- let n = 0;
189
- for (const i of e)
190
- r(n, i.start, !1), r(i.start, i.end, !0), n = i.end;
191
- r(n, t, !1);
192
- }
193
- return o;
194
- };
195
- function Xi(e) {
196
- const { text: t, query: o, ignoreCase: r } = e, n = r ? t.toLowerCase() : t, i = r && typeof o == "string" ? o.toLowerCase() : o, c = typeof n == "string" ? n.indexOf(i) : -1;
197
- if (c === -1)
198
- return [{ text: t, match: !1 }];
199
- const p = c + i.length;
200
- return mt([{ start: c, end: p }], t.length).map((P) => ({
201
- text: t.slice(P.start, P.end),
202
- match: !!P.match
203
- }));
204
- }
205
- var Zi = (e) => e.replace(/[|\\{}()[\]^$+*?.-]/g, (t) => `\\${t}`), Ji = (e, t) => {
206
- const o = e.filter(Boolean).map((r) => Zi(r));
207
- return new RegExp(`(${o.join("|")})`, t);
208
- }, Ki = (e, t = !0) => `${e ? "i" : ""}${t ? "g" : ""}`;
209
- function ea(e) {
210
- const { text: t, query: o, ignoreCase: r, matchAll: n } = e;
211
- if (o.length === 0)
212
- return [{ text: t, match: !1 }];
213
- const i = Ki(r, n), c = Ji(Array.isArray(o) ? o : [o], i), p = [...t.matchAll(c)].map((u) => ({
214
- start: u.index || 0,
215
- end: (u.index || 0) + u[0].length
216
- }));
217
- return mt(p, e.text.length).map((u) => ({
218
- text: e.text.slice(u.start, u.end),
219
- match: !!u.match
220
- }));
221
- }
222
- var ta = (e) => {
223
- if (e.matchAll == null && (e.matchAll = Array.isArray(e.query)), !e.matchAll && Array.isArray(e.query))
224
- throw new Error("matchAll must be true when using multiple queries");
225
- return e.matchAll ? ea(e) : Xi(e);
226
- };
227
- const oa = (e) => X(() => ta(e), [e]);
228
- function ce(e) {
229
- const { each: t, fallback: o, children: r } = e;
230
- return t?.length === 0 ? o || null : t?.map(r);
231
- }
232
- function Lg(e) {
233
- const { children: t, query: o, ignoreCase: r, matchAll: n, styles: i } = e;
234
- if (typeof t != "string")
235
- throw new Error("The children prop of Highlight must be a string");
236
- const c = oa({
237
- query: o,
238
- text: t,
239
- matchAll: n,
240
- ignoreCase: r
241
- });
242
- return /* @__PURE__ */ s.jsx(ce, { each: c, children: (p, u) => p.match ? /* @__PURE__ */ s.jsx(Ri, { css: i, children: p.text }, u) : /* @__PURE__ */ s.jsx(ks, { children: p.text }, u) });
243
- }
244
- const { withContext: ra } = Y({
245
- key: "kbd"
246
- }), Ug = ra("kbd"), Gg = a(
247
- function(t, o) {
248
- const { rel: r, className: n, ...i } = t;
249
- return /* @__PURE__ */ s.jsx(
250
- $.a,
251
- {
252
- ...i,
253
- ref: o,
254
- className: be("chakra-linkbox__overlay", n),
255
- css: [
256
- {
257
- position: "static",
258
- "&::before": {
259
- content: "''",
260
- cursor: "inherit",
261
- display: "block",
262
- position: "absolute",
263
- top: 0,
264
- left: 0,
265
- zIndex: 0,
266
- width: "100%",
267
- height: "100%"
268
- }
269
- },
270
- t.css
271
- ]
272
- }
273
- );
274
- }
275
- ), zg = a(
276
- function(t, o) {
277
- const { className: r, ...n } = t;
278
- return /* @__PURE__ */ s.jsx(
279
- $.div,
280
- {
281
- ref: o,
282
- position: "relative",
283
- ...n,
284
- className: be("chakra-linkbox", r),
285
- css: [
286
- {
287
- /* Elevate the links and abbreviations up */
288
- "& a[href]:not(.chakra-linkbox__overlay), abbr[title]": {
289
- position: "relative",
290
- zIndex: 1
291
- }
292
- },
293
- t.css
294
- ]
295
- }
296
- );
297
- }
298
- ), Bg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
299
- __proto__: null,
300
- Indicator: qs,
301
- Item: Hs,
302
- Root: Qs,
303
- RootPropsProvider: Ws
304
- }, Symbol.toStringTag, { value: "Module" })), [Ct, de] = x({
305
- name: "AccordionContext",
306
- hookName: "useAccordionContext",
307
- providerName: "<AccordionProvider />"
308
- }), na = (e) => e.children(de()), [sa, ia] = x({
309
- name: "AccordionItemContext",
310
- hookName: "useAccordionItemContext",
311
- providerName: "<AccordionItemProvider />"
312
- }), aa = (e) => g()(e, [
313
- "defaultOpen",
314
- "disabled",
315
- "id",
316
- "ids",
317
- "lazyMount",
318
- "onExitComplete",
319
- "onOpenChange",
320
- "open",
321
- "unmountOnExit"
322
- ]), la = (e = {}) => {
323
- const { lazyMount: t, unmountOnExit: o, ...r } = e, n = I(), i = tt(!1), { dir: c } = y(), { getRootNode: p } = w(), u = {
324
- id: n,
325
- dir: c,
326
- getRootNode: p,
327
- ...r
328
- }, P = k(Zn, u), S = Xn(P, j);
329
- S.visible && (i.current = !0);
330
- const E = !S.visible && !i.current && t || o && !S.visible && i.current;
331
- return { ...S, isUnmounted: E };
332
- }, [ht, fe] = x({
333
- name: "CollapsibleContext",
334
- hookName: "useCollapsibleContext",
335
- providerName: "<CollapsibleProvider />"
336
- }), Le = a((e, t) => {
337
- const [o, r] = aa(e), n = la(o), i = d(n.getRootProps(), r);
338
- return /* @__PURE__ */ s.jsx(ht, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
339
- });
340
- Le.displayName = "CollapsibleRoot";
341
- const [ca, Ue] = x({
342
- name: "AccordionItemPropsContext",
343
- hookName: "useAccordionItemPropsContext",
344
- providerName: "<AccordionItemPropsProvider />"
345
- }), vt = a((e, t) => {
346
- const [o, r] = g()(e, ["value", "disabled"]), n = de(), i = Ys(), c = d(n.getItemProps(o), r), p = n.getItemState(o), u = n.getItemContentProps(o);
347
- return /* @__PURE__ */ s.jsx(ca, { value: o, children: /* @__PURE__ */ s.jsx(sa, { value: p, children: /* @__PURE__ */ s.jsx(
348
- Le,
349
- {
350
- ref: t,
351
- open: p.expanded,
352
- ids: { content: u.id },
353
- ...i,
354
- ...c
355
- }
356
- ) }) });
357
- });
358
- vt.displayName = "AccordionItem";
359
- const Ge = a((e, t) => {
360
- const o = fe();
361
- if (o.isUnmounted)
362
- return null;
363
- const r = d(o.getContentProps(), e);
364
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
365
- });
366
- Ge.displayName = "CollapsibleContent";
367
- const da = g(), xt = a((e, t) => {
368
- const o = de(), r = Ue(), n = o.getItemContentProps(r), [, i] = da(n, ["hidden", "data-state"]), c = d(i, e);
369
- return /* @__PURE__ */ s.jsx(Ge, { ref: t, ...c });
370
- });
371
- xt.displayName = "AccordionItemContent";
372
- const pa = (e) => e.children(ia()), bt = a((e, t) => {
373
- const o = de(), r = Ue(), n = d(o.getItemIndicatorProps(r), e);
374
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
375
- });
376
- bt.displayName = "AccordionItemIndicator";
377
- const ft = a((e, t) => {
378
- const o = de(), r = Ue(), n = fe(), i = o.getItemTriggerProps(r), c = d(
379
- {
380
- ...i,
381
- "aria-controls": n.isUnmounted ? void 0 : i["aria-controls"]
382
- },
383
- e
384
- );
385
- return /* @__PURE__ */ s.jsx(l.button, { ...c, ref: t });
386
- });
387
- ft.displayName = "AccordionItemTrigger";
388
- const ua = (e) => {
389
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = {
390
- id: t,
391
- dir: r,
392
- getRootNode: o,
393
- ...e
394
- }, i = k(Jn, n);
395
- return Kn(i, j);
396
- }, St = a((e, t) => {
397
- const [o, r] = ut(e), [n, i] = g()(r, [
398
- "collapsible",
399
- "defaultValue",
400
- "disabled",
401
- "id",
402
- "ids",
403
- "multiple",
404
- "onFocusChange",
405
- "onValueChange",
406
- "orientation",
407
- "value"
408
- ]), c = ua(n), p = d(c.getRootProps(), i);
409
- return /* @__PURE__ */ s.jsx(Ct, { value: c, children: /* @__PURE__ */ s.jsx(gt, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...p, ref: t }) }) });
410
- });
411
- St.displayName = "AccordionRoot";
412
- const yt = a((e, t) => {
413
- const [o, r] = ut(e), [{ value: n }, i] = g()(r, ["value"]), c = d(n.getRootProps(), i);
414
- return /* @__PURE__ */ s.jsx(Ct, { value: n, children: /* @__PURE__ */ s.jsx(gt, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t }) }) });
415
- });
416
- yt.displayName = "AccordionRootProvider";
417
- const {
418
- withProvider: Tt,
419
- withContext: pe,
420
- PropsProvider: ga
421
- } = b({ key: "accordion" }), Pa = Tt(yt, "root", { forwardAsChild: !0 }), ma = Tt(
422
- St,
423
- "root",
424
- { forwardAsChild: !0 }
425
- ), Ca = ga, ha = pe(
426
- vt,
427
- "item",
428
- { forwardAsChild: !0 }
429
- ), va = pe(xt, "itemContent", { forwardAsChild: !0 }), xa = pe("div", "itemBody"), ba = pe(ft, "itemTrigger", { forwardAsChild: !0 }), fa = pe(bt, "itemIndicator", {
430
- forwardAsChild: !0,
431
- defaultProps: {
432
- children: /* @__PURE__ */ s.jsx(dt, {})
433
- }
434
- }), Sa = na, ya = pa, Mg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
435
- __proto__: null,
436
- Context: Sa,
437
- Item: ha,
438
- ItemBody: xa,
439
- ItemContent: va,
440
- ItemContext: ya,
441
- ItemIndicator: fa,
442
- ItemTrigger: ba,
443
- PropsProvider: Ca,
444
- Root: ma,
445
- RootProvider: Pa
446
- }, Symbol.toStringTag, { value: "Module" })), {
447
- withRootProvider: wt,
448
- withContext: ue,
449
- PropsProvider: Ta
450
- } = b({ key: "actionBar" }), wa = wt(ei, {
451
- defaultProps: {
452
- lazyMount: !0,
453
- unmountOnExit: !0
454
- }
455
- }), Ia = wt(
456
- Ks,
457
- {
458
- defaultProps: {
459
- autoFocus: !1,
460
- lazyMount: !0,
461
- unmountOnExit: !0
462
- }
463
- }
464
- ), ka = Ta, ja = ue("div", "positioner", { forwardAsChild: !0 }), $a = ue(Js, "content", { forwardAsChild: !0 }), Ra = ue("div", "separator"), Na = ue("button", "selectionTrigger"), Aa = ue(Zs, "closeTrigger", { forwardAsChild: !0 }), Ea = Xs, qg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
465
- __proto__: null,
466
- CloseTrigger: Aa,
467
- Content: $a,
468
- Context: Ea,
469
- Positioner: ja,
470
- PropsProvider: ka,
471
- Root: Ia,
472
- RootProvider: wa,
473
- SelectionTrigger: Na,
474
- Separator: Ra
475
- }, Symbol.toStringTag, { value: "Module" })), { withContext: Fa } = Y({
476
- key: "badge"
477
- }), Hg = Fa("span"), {
478
- withProvider: _a,
479
- withContext: re,
480
- PropsProvider: Oa
481
- } = b({ key: "breadcrumb" }), Da = _a(
482
- "nav",
483
- "root",
484
- {
485
- defaultProps: { "aria-label": "breadcrumb" }
486
- }
487
- ), Va = Oa, La = re(
488
- "ol",
489
- "list"
490
- ), Ua = re(
491
- "li",
492
- "item"
493
- ), Ga = re("a", "link"), za = re("span", "currentLink", {
494
- defaultProps: {
495
- role: "link",
496
- "aria-current": "page"
497
- }
498
- }), Ba = re("li", "separator", {
499
- defaultProps: {
500
- "aria-hidden": !0,
501
- children: /* @__PURE__ */ s.jsx(_s, {})
502
- }
503
- }), Ma = re("span", "ellipsis", {
504
- defaultProps: {
505
- role: "presentation",
506
- "aria-hidden": !0,
507
- children: /* @__PURE__ */ s.jsx(Fs, {})
508
- }
509
- }), Qg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
510
- __proto__: null,
511
- CurrentLink: za,
512
- Ellipsis: Ma,
513
- Item: Ua,
514
- Link: Ga,
515
- List: La,
516
- PropsProvider: Va,
517
- Root: Da,
518
- Separator: Ba
519
- }, Symbol.toStringTag, { value: "Module" })), [It, Z] = x({
520
- name: "ClipboardContext",
521
- hookName: "useClipboardContext",
522
- providerName: "<ClipboardProvider />"
523
- }), qa = (e) => e.children(Z()), kt = a((e, t) => {
524
- const o = Z(), r = d(o.getControlProps(), e);
525
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
526
- });
527
- kt.displayName = "ClipboardControl";
528
- const jt = a((e, t) => {
529
- const { children: o, copied: r, ...n } = e, i = Z(), c = d(i.getIndicatorProps({ copied: i.copied }), n);
530
- return /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t, children: i.copied ? r : o });
531
- });
532
- jt.displayName = "ClipboardIndicator";
533
- const $t = a((e, t) => {
534
- const o = Z(), r = d(o.getInputProps(), e);
535
- return /* @__PURE__ */ s.jsx(l.input, { ...r, ref: t });
536
- });
537
- $t.displayName = "ClipboardInput";
538
- const Rt = a((e, t) => {
539
- const o = Z(), r = d(o.getLabelProps(), e);
540
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
541
- });
542
- Rt.displayName = "ClipboardLabel";
543
- var Ha = Fe("clipboard").parts("root", "control", "trigger", "indicator", "input", "label"), te = Ha.build(), Qa = (e) => e.ids?.root ?? `clip:${e.id}`, Re = (e) => e.ids?.input ?? `clip:${e.id}:input`, Wa = (e) => e.ids?.label ?? `clip:${e.id}:label`, Ya = (e) => e.getById(Re(e)), Xa = (e, t) => Ka(e.getDoc(), t);
544
- function Za(e, t) {
545
- const o = e.createElement("pre");
546
- return Object.assign(o.style, {
547
- width: "1px",
548
- height: "1px",
549
- position: "fixed",
550
- top: "5px"
551
- }), o.textContent = t, o;
552
- }
553
- function Ja(e) {
554
- const o = Ss(e).getSelection();
555
- if (o == null)
556
- return Promise.reject(new Error());
557
- o.removeAllRanges();
558
- const r = e.ownerDocument, n = r.createRange();
559
- return n.selectNodeContents(e), o.addRange(n), r.execCommand("copy"), o.removeAllRanges(), Promise.resolve();
560
- }
561
- function Ka(e, t) {
562
- const o = e.defaultView || window;
563
- if (o.navigator.clipboard?.writeText !== void 0)
564
- return o.navigator.clipboard.writeText(t);
565
- if (!e.body)
566
- return Promise.reject(new Error());
567
- const r = Za(e, t);
568
- return e.body.appendChild(r), Ja(r), e.body.removeChild(r), Promise.resolve();
569
- }
570
- function el(e, t) {
571
- const { state: o, send: r, context: n, scope: i } = e, c = o.matches("copied");
572
- return {
573
- copied: c,
574
- value: n.get("value"),
575
- setValue(p) {
576
- r({ type: "VALUE.SET", value: p });
577
- },
578
- copy() {
579
- r({ type: "COPY" });
580
- },
581
- getRootProps() {
582
- return t.element({
583
- ...te.root.attrs,
584
- "data-copied": f(c),
585
- id: Qa(i)
586
- });
587
- },
588
- getLabelProps() {
589
- return t.label({
590
- ...te.label.attrs,
591
- htmlFor: Re(i),
592
- "data-copied": f(c),
593
- id: Wa(i)
594
- });
595
- },
596
- getControlProps() {
597
- return t.element({
598
- ...te.control.attrs,
599
- "data-copied": f(c)
600
- });
601
- },
602
- getInputProps() {
603
- return t.input({
604
- ...te.input.attrs,
605
- defaultValue: n.get("value"),
606
- "data-copied": f(c),
607
- readOnly: !0,
608
- "data-readonly": "true",
609
- id: Re(i),
610
- onFocus(p) {
611
- p.currentTarget.select();
612
- },
613
- onCopy() {
614
- r({ type: "INPUT.COPY" });
615
- }
616
- });
617
- },
618
- getTriggerProps() {
619
- return t.button({
620
- ...te.trigger.attrs,
621
- type: "button",
622
- "aria-label": c ? "Copied to clipboard" : "Copy to clipboard",
623
- "data-copied": f(c),
624
- onClick() {
625
- r({ type: "COPY" });
626
- }
627
- });
628
- },
629
- getIndicatorProps(p) {
630
- return t.element({
631
- ...te.indicator.attrs,
632
- hidden: p.copied !== c
633
- });
634
- }
635
- };
636
- }
637
- var tl = Ee({
638
- props({ props: e }) {
639
- return {
640
- timeout: 3e3,
641
- defaultValue: "",
642
- ...e
643
- };
644
- },
645
- initialState() {
646
- return "idle";
647
- },
648
- context({ prop: e, bindable: t }) {
649
- return {
650
- value: t(() => ({
651
- defaultValue: e("defaultValue"),
652
- value: e("value"),
653
- onChange(o) {
654
- e("onValueChange")?.({ value: o });
655
- }
656
- }))
657
- };
658
- },
659
- watch({ track: e, context: t, action: o }) {
660
- e([() => t.get("value")], () => {
661
- o(["syncInputElement"]);
662
- });
663
- },
664
- on: {
665
- "VALUE.SET": {
666
- actions: ["setValue"]
667
- },
668
- COPY: {
669
- target: "copied",
670
- actions: ["copyToClipboard", "invokeOnCopy"]
671
- }
672
- },
673
- states: {
674
- idle: {
675
- on: {
676
- "INPUT.COPY": {
677
- target: "copied",
678
- actions: ["invokeOnCopy"]
679
- }
680
- }
681
- },
682
- copied: {
683
- effects: ["waitForTimeout"],
684
- on: {
685
- "COPY.DONE": {
686
- target: "idle"
687
- },
688
- COPY: {
689
- target: "copied",
690
- actions: ["copyToClipboard", "invokeOnCopy"]
691
- },
692
- "INPUT.COPY": {
693
- actions: ["invokeOnCopy"]
694
- }
695
- }
696
- }
697
- },
698
- implementations: {
699
- effects: {
700
- waitForTimeout({ prop: e, send: t }) {
701
- return fs(() => {
702
- t({ type: "COPY.DONE" });
703
- }, e("timeout"));
704
- }
705
- },
706
- actions: {
707
- setValue({ context: e, event: t }) {
708
- e.set("value", t.value);
709
- },
710
- copyToClipboard({ context: e, scope: t }) {
711
- Xa(t, e.get("value"));
712
- },
713
- invokeOnCopy({ prop: e }) {
714
- e("onStatusChange")?.({ copied: !0 });
715
- },
716
- syncInputElement({ context: e, scope: t }) {
717
- const o = Ya(t);
718
- o && bs(o, e.get("value"));
719
- }
720
- }
721
- }
722
- });
723
- oe()([
724
- "getRootNode",
725
- "id",
726
- "ids",
727
- "value",
728
- "defaultValue",
729
- "timeout",
730
- "onStatusChange",
731
- "onValueChange"
732
- ]);
733
- oe()(["copied"]);
734
- const ol = (e) => {
735
- const t = I(), { getRootNode: o } = w(), r = {
736
- id: t,
737
- getRootNode: o,
738
- ...e
739
- }, n = k(tl, r);
740
- return el(n, j);
741
- }, Nt = a((e, t) => {
742
- const [o, r] = g()(e, [
743
- "defaultValue",
744
- "id",
745
- "ids",
746
- "onStatusChange",
747
- "onValueChange",
748
- "timeout",
749
- "value"
750
- ]), n = ol(o), i = d(n.getRootProps(), r);
751
- return /* @__PURE__ */ s.jsx(It, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ref: t, ...i }) });
752
- });
753
- Nt.displayName = "ClipboardRoot";
754
- const At = a((e, t) => {
755
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
756
- return /* @__PURE__ */ s.jsx(It, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ref: t, ...n }) });
757
- });
758
- At.displayName = "ClipboardRootProvider";
759
- const Et = a((e, t) => {
760
- const o = Z(), r = d(o.getTriggerProps(), e);
761
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
762
- });
763
- Et.displayName = "ClipboardTrigger";
764
- const Ft = a((e, t) => {
765
- const o = Z();
766
- return /* @__PURE__ */ s.jsx(l.span, { ...e, ref: t, children: e.children || o.value });
767
- });
768
- Ft.displayName = "ClipboardValueText";
769
- const {
770
- withProvider: _t,
771
- withContext: ne,
772
- PropsProvider: rl
773
- } = b({ key: "clipboard" }), nl = _t(At, "root", { forwardAsChild: !0 }), sl = _t(
774
- Nt,
775
- "root",
776
- { forwardAsChild: !0 }
777
- ), il = rl, al = ne(Et, "trigger", { forwardAsChild: !0 }), ll = ne(kt, "control", { forwardAsChild: !0 }), Ot = ne(jt, "indicator", {
778
- forwardAsChild: !0,
779
- defaultProps: {
780
- copied: /* @__PURE__ */ s.jsx(pt, { boxSize: "1em" }),
781
- children: /* @__PURE__ */ s.jsx(Os, { boxSize: "1em" })
782
- }
783
- }), cl = ne($t, "input", { forwardAsChild: !0 }), dl = ne(Rt, "label", { forwardAsChild: !0 }), pl = qa, ul = ne(Ft, "valueText", { forwardAsChild: !0 }), gl = a(function(t, o) {
784
- return /* @__PURE__ */ s.jsx(Ot, { copied: "Copied", ...t, ref: o, children: "Copy" });
785
- }), Wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
786
- __proto__: null,
787
- Context: pl,
788
- Control: ll,
789
- CopyText: gl,
790
- Indicator: Ot,
791
- Input: cl,
792
- Label: dl,
793
- PropsProvider: il,
794
- Root: sl,
795
- RootProvider: nl,
796
- Trigger: al,
797
- ValueText: ul
798
- }, Symbol.toStringTag, { value: "Module" })), Pl = (e) => e.children(fe()), Dt = a((e, t) => {
799
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
800
- return /* @__PURE__ */ s.jsx(ht, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
801
- });
802
- Dt.displayName = "CollapsibleRootProvider";
803
- const Vt = a((e, t) => {
804
- const o = fe(), r = d(o.getTriggerProps(), e);
805
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
806
- });
807
- Vt.displayName = "CollapsibleTrigger";
808
- const {
809
- withProvider: Lt,
810
- withContext: Ut,
811
- PropsProvider: ml
812
- } = b({ key: "collapsible" }), Cl = Lt(Dt, "root", { forwardAsChild: !0 }), hl = Lt(Le, "root", { forwardAsChild: !0 }), vl = ml, xl = Ut(Vt, "trigger", { forwardAsChild: !0 }), bl = Ut(Ge, "content", { forwardAsChild: !0 }), fl = Pl, Yg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
813
- __proto__: null,
814
- Content: bl,
815
- Context: fl,
816
- PropsProvider: vl,
817
- Root: hl,
818
- RootProvider: Cl,
819
- Trigger: xl
820
- }, Symbol.toStringTag, { value: "Module" })), [Sl, Gt] = x({
821
- name: "ColorPickerAreaContext",
822
- hookName: "useColorPickerAreaContext",
823
- providerName: "<ColorPickerAreaProvider />"
824
- }), [zt, C] = x({
825
- name: "ColorPickerContext",
826
- hookName: "useColorPickerContext",
827
- providerName: "<ColorPickerProvider />"
828
- }), Bt = a((e, t) => {
829
- const [o, r] = g()(e, ["xChannel", "yChannel"]), n = C(), i = d(n.getAreaProps(o), r);
830
- return /* @__PURE__ */ s.jsx(Sl, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
831
- });
832
- Bt.displayName = "ColorPickerArea";
833
- const Mt = a((e, t) => {
834
- const o = C(), r = Gt(), n = d(o.getAreaBackgroundProps(r), e);
835
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
836
- });
837
- Mt.displayName = "ColorPickerAreaBackground";
838
- const qt = a((e, t) => {
839
- const o = C(), r = Gt(), n = d(o.getAreaThumbProps(r), e);
840
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
841
- });
842
- qt.displayName = "ColorPickerAreaThumb";
843
- const Ht = a((e, t) => {
844
- const [o, r] = g()(e, ["channel", "orientation"]), n = C(), i = d(n.getChannelInputProps(o), r);
845
- return /* @__PURE__ */ s.jsx(l.input, { ...i, ref: t });
846
- });
847
- Ht.displayName = "ColorPickerChannelInput";
848
- const [yl, Se] = x({
849
- name: "ColorPickerChannelSliderContext",
850
- hookName: "useColorPickerChannelSliderContext",
851
- providerName: "<ColorPickerChannelSliderProvider />"
852
- }), [Tl, ze] = x({
853
- name: "ColorPickerFormatContext",
854
- hookName: "useColorPickerFormatPropsContext",
855
- providerName: "<ColorPickerFormatPropsProvider />",
856
- strict: !1
857
- }), Qt = a((e, t) => {
858
- const [o, r] = g()(e, ["channel", "orientation"]), n = C(), i = ze(), c = { ...o, ...i }, p = d(n.getChannelSliderProps(c), r);
859
- return /* @__PURE__ */ s.jsx(yl, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...p, ref: t }) });
860
- });
861
- Qt.displayName = "ColorPickerChannelSlider";
862
- const Wt = a(
863
- (e, t) => {
864
- const o = C(), r = Se(), n = d(o.getChannelSliderLabelProps(r), e);
865
- return /* @__PURE__ */ s.jsx(l.label, { ...n, ref: t });
866
- }
867
- );
868
- Wt.displayName = "ColorPickerChannelSliderLabel";
869
- const Yt = a(
870
- (e, t) => {
871
- const o = C(), r = Se(), n = ze(), i = { ...r, ...n }, c = d(o.getChannelSliderThumbProps(i), e);
872
- return /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t });
873
- }
874
- );
875
- Yt.displayName = "ColorPickerChannelSliderThumb";
876
- const Xt = a(
877
- (e, t) => {
878
- const o = C(), r = Se(), n = ze(), i = { ...r, ...n }, c = d(o.getChannelSliderTrackProps(i), e);
879
- return /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t });
880
- }
881
- );
882
- Xt.displayName = "ColorPickerChannelSliderTrack";
883
- const Zt = a(
884
- (e, t) => {
885
- const { locale: o } = y(), r = C(), n = Se(), i = d(r.getChannelSliderValueTextProps(n), e);
886
- return /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t, children: e.children || r.getChannelValueText(n.channel, o) });
887
- }
888
- );
889
- Zt.displayName = "ColorPickerChannelSliderValueText";
890
- const Jt = a((e, t) => {
891
- const o = C(), r = nt(), n = d(o.getContentProps(), r.getPresenceProps(), e);
892
- return r.unmounted ? null : /* @__PURE__ */ s.jsx(l.div, { ...n, ref: st(r.ref, t) });
893
- });
894
- Jt.displayName = "ColorPickerContent";
895
- const wl = (e) => e.children(C()), Kt = a((e, t) => {
896
- const o = C(), r = d(o.getControlProps(), e);
897
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
898
- });
899
- Kt.displayName = "ColorPickerControl";
900
- const eo = a(
901
- (e, t) => {
902
- const o = C(), r = d(o.getEyeDropperTriggerProps(), e);
903
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
904
- }
905
- );
906
- eo.displayName = "ColorPickerEyeDropperTrigger";
907
- const to = a((e, t) => {
908
- const o = C(), r = d(o.getFormatSelectProps(), e);
909
- return /* @__PURE__ */ s.jsx(l.select, { ...r, ref: t, children: ["rgba", "hsla", "hsba"].map((n) => /* @__PURE__ */ s.jsx(l.option, { value: n, children: n }, n)) });
910
- });
911
- to.displayName = "ColorPickerFormatSelect";
912
- const oo = a((e, t) => {
913
- const o = C(), r = d(o.getFormatTriggerProps(), e);
914
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
915
- });
916
- oo.displayName = "ColorPickerFormatTrigger";
917
- const ro = a((e, t) => {
918
- const o = C(), r = d(o.getHiddenInputProps(), e), n = D();
919
- return /* @__PURE__ */ s.jsx(l.input, { "aria-describedby": n?.ariaDescribedby, ...r, ref: t });
920
- });
921
- ro.displayName = "ColorPickerHiddenInput";
922
- const no = a((e, t) => {
923
- const o = C(), r = d(o.getLabelProps(), e);
924
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
925
- });
926
- no.displayName = "ColorPickerLabel";
927
- const so = a((e, t) => {
928
- const o = C(), r = d(o.getPositionerProps(), e);
929
- return nt().unmounted ? null : /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
930
- });
931
- so.displayName = "ColorPickerPositioner";
932
- const Il = (e) => {
933
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = D(), i = {
934
- id: t,
935
- ids: {
936
- label: n?.ids.label,
937
- input: n?.ids.control
938
- },
939
- dir: r,
940
- disabled: n?.disabled,
941
- invalid: n?.invalid,
942
- readOnly: n?.readOnly,
943
- required: n?.required,
944
- getRootNode: o,
945
- ...e
946
- }, c = k(es, i);
947
- return ts(c, j);
948
- }, io = a((e, t) => {
949
- const [o, r] = Oe(e), [n, i] = g()(r, [
950
- "closeOnSelect",
951
- "defaultOpen",
952
- "defaultValue",
953
- "defaultFormat",
954
- "disabled",
955
- "format",
956
- "id",
957
- "ids",
958
- "initialFocusEl",
959
- "invalid",
960
- "name",
961
- "name",
962
- "onFocusOutside",
963
- "onFormatChange",
964
- "onInteractOutside",
965
- "onOpenChange",
966
- "onPointerDownOutside",
967
- "onValueChange",
968
- "onValueChangeEnd",
969
- "open",
970
- "openAutoFocus",
971
- "positioning",
972
- "readOnly",
973
- "required",
974
- "value"
975
- ]), c = Il(n), p = De(d({ present: c.open }, o)), u = d(c.getRootProps(), i);
976
- return /* @__PURE__ */ s.jsx(zt, { value: c, children: /* @__PURE__ */ s.jsx(it, { value: p, children: /* @__PURE__ */ s.jsx(l.div, { ...u, ref: t }) }) });
977
- });
978
- io.displayName = "ColorPickerRoot";
979
- const ao = a((e, t) => {
980
- const [o, r] = Oe(e), [{ value: n }, i] = g()(r, ["value"]), c = De(d({ present: n.open }, o)), p = d(n.getRootProps(), i);
981
- return /* @__PURE__ */ s.jsx(zt, { value: n, children: /* @__PURE__ */ s.jsx(it, { value: c, children: /* @__PURE__ */ s.jsx(l.div, { ...p, ref: t }) }) });
982
- });
983
- ao.displayName = "ColorPickerRootProvider";
984
- const [lo, kl] = x({
985
- name: "ColorPickerSwatchContext",
986
- hookName: "useColorPickerSwatchContext",
987
- providerName: "<ColorPickerSwatchProvider />"
988
- }), co = a((e, t) => {
989
- const [o, r] = g()(e, ["respectAlpha", "value"]), n = C(), i = d(n.getSwatchProps(o), r);
990
- return /* @__PURE__ */ s.jsx(lo, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
991
- });
992
- co.displayName = "ColorPickerSwatch";
993
- const po = a((e, t) => {
994
- const o = C(), r = d(o.getSwatchGroupProps(), e);
995
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
996
- });
997
- po.displayName = "ColorPickerSwatchGroup";
998
- const uo = a((e, t) => {
999
- const o = C(), r = kl(), n = d(o.getSwatchIndicatorProps(r), e);
1000
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
1001
- });
1002
- uo.displayName = "ColorPickerSwatchIndicator";
1003
- const go = a((e, t) => {
1004
- const [o, r] = g()(e, ["value", "disabled"]), n = C(), i = d(n.getSwatchTriggerProps(o), r);
1005
- return /* @__PURE__ */ s.jsx(l.button, { ...i, ref: t });
1006
- });
1007
- go.displayName = "ColorPickerSwatchTrigger";
1008
- const Po = a(
1009
- (e, t) => {
1010
- const [o, r] = g()(e, ["size"]), n = C(), i = d(n.getTransparencyGridProps(o), r);
1011
- return /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t });
1012
- }
1013
- );
1014
- Po.displayName = "ColorPickerTransparencyGrid";
1015
- const mo = a((e, t) => {
1016
- const o = C(), r = d(o.getTriggerProps(), e);
1017
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1018
- });
1019
- mo.displayName = "ColorPickerTrigger";
1020
- const Co = a((e, t) => {
1021
- const [{ respectAlpha: o }, r] = g()(e, ["respectAlpha"]), n = C(), i = {
1022
- respectAlpha: o,
1023
- value: n.valueAsString
1024
- }, c = d(n.getSwatchProps(i), r);
1025
- return /* @__PURE__ */ s.jsx(lo, { value: i, children: /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t }) });
1026
- });
1027
- Co.displayName = "ColorPickerValueSwatch";
1028
- const ho = a((e, t) => {
1029
- const { children: o, format: r, ...n } = e, i = C(), c = d(i.getValueTextProps(), n), p = r ? i.value.toString(r) : i.valueAsString;
1030
- return /* @__PURE__ */ s.jsx(l.span, { ...c, ref: t, children: e.children || p });
1031
- });
1032
- ho.displayName = "ColorPickerValueText";
1033
- const vo = a((e, t) => {
1034
- const o = C(), [r, n] = g()(e, ["format"]);
1035
- return o.format !== r.format ? null : /* @__PURE__ */ s.jsx(Tl, { value: r, children: /* @__PURE__ */ s.jsx(l.div, { ref: t, "data-format": e.format, ...os.build().view.attrs, ...n }) });
1036
- });
1037
- vo.displayName = "ColorPickerView";
1038
- const {
1039
- withProvider: xo,
1040
- withContext: v,
1041
- PropsProvider: jl
1042
- } = b({ key: "colorPicker" }), $l = xo(ao, "root", { forwardAsChild: !0 }), Rl = xo(io, "root", { forwardAsChild: !0 }), Nl = jl, Al = v(no, "label", { forwardAsChild: !0 }), El = v(Kt, "control", { forwardAsChild: !0 }), bo = v(Co, "swatch", { forwardAsChild: !0 }), Fl = v(mo, "trigger", {
1043
- forwardAsChild: !0,
1044
- defaultProps: {
1045
- children: /* @__PURE__ */ s.jsx(bo, {})
1046
- }
1047
- }), _l = v(so, "positioner", { forwardAsChild: !0 }), Ol = v(Jt, "content", { forwardAsChild: !0 }), fo = v(Mt, "areaBackground", { forwardAsChild: !0 }), So = v(qt, "areaThumb", { forwardAsChild: !0 }), Dl = v(Bt, "area", {
1048
- forwardAsChild: !0,
1049
- defaultProps: {
1050
- children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1051
- /* @__PURE__ */ s.jsx(fo, {}),
1052
- /* @__PURE__ */ s.jsx(So, {})
1053
- ] })
1054
- }
1055
- }), yo = v(Xt, "channelSliderTrack", {
1056
- forwardAsChild: !0
1057
- }), To = v(Yt, "channelSliderThumb", {
1058
- forwardAsChild: !0
1059
- }), wo = v(Po, "transparencyGrid", { forwardAsChild: !0 }), Ne = v(Qt, "channelSlider", {
1060
- forwardAsChild: !0,
1061
- defaultProps: {
1062
- children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1063
- /* @__PURE__ */ s.jsx(wo, { size: "0.6rem" }),
1064
- /* @__PURE__ */ s.jsx(yo, {}),
1065
- /* @__PURE__ */ s.jsx(To, {})
1066
- ] })
1067
- }
1068
- }), Vl = a(
1069
- function(t, o) {
1070
- return /* @__PURE__ */ s.jsxs(ct, { gap: "1", flex: "1", px: "1", ref: o, ...t, children: [
1071
- /* @__PURE__ */ s.jsx(Ne, { channel: "hue" }),
1072
- /* @__PURE__ */ s.jsx(Ne, { channel: "alpha" })
1073
- ] });
1074
- }
1075
- ), Io = v(Ht, "channelInput", { forwardAsChild: !0 }), Ll = a(function(t, o) {
1076
- return /* @__PURE__ */ s.jsx(Io, { channel: "hex", ref: o, ...t });
1077
- }), Ul = v(po, "swatchGroup", { forwardAsChild: !0 }), Gl = v(go, "swatchTrigger", { forwardAsChild: !0 }), zl = v(co, "swatch", { forwardAsChild: !0 }), Bl = v(uo, "swatchIndicator", { forwardAsChild: !0 }), Ml = v(ho, "valueText", { forwardAsChild: !0 }), ql = v(vo, "view", { forwardAsChild: !0 }), Hl = v(oo, "formatTrigger", { forwardAsChild: !0 }), Ql = v(to, "formatSelect", { forwardAsChild: !0 }), Wl = v(eo, "eyeDropperTrigger", {
1078
- forwardAsChild: !0
1079
- }), Yl = a(function(t, o) {
1080
- const { children: r = /* @__PURE__ */ s.jsx(Ds, {}), ...n } = t, i = C(), c = at(i.getEyeDropperTriggerProps(), n);
1081
- return /* @__PURE__ */ s.jsx(Pt, { ref: o, ...c, children: r });
1082
- }), Xl = v(Zt, "channelSliderValueText", {
1083
- forwardAsChild: !0
1084
- }), Zl = v(Wt, "channelSliderLabel", {
1085
- forwardAsChild: !0
1086
- }), Jl = a(function(t, o) {
1087
- return /* @__PURE__ */ s.jsx(ro, { tabIndex: -1, ref: o, ...t });
1088
- }), Kl = wl, ec = v("span", "channelText", {
1089
- forwardAsChild: !0
1090
- }), Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1091
- __proto__: null,
1092
- Area: Dl,
1093
- AreaBackground: fo,
1094
- AreaThumb: So,
1095
- ChannelInput: Io,
1096
- ChannelSlider: Ne,
1097
- ChannelSliderLabel: Zl,
1098
- ChannelSliderThumb: To,
1099
- ChannelSliderTrack: yo,
1100
- ChannelSliderValueText: Xl,
1101
- ChannelText: ec,
1102
- Content: Ol,
1103
- Context: Kl,
1104
- Control: El,
1105
- EyeDropper: Yl,
1106
- EyeDropperTrigger: Wl,
1107
- FormatSelect: Ql,
1108
- FormatTrigger: Hl,
1109
- HiddenInput: Jl,
1110
- Input: Ll,
1111
- Label: Al,
1112
- Positioner: _l,
1113
- PropsProvider: Nl,
1114
- Root: Rl,
1115
- RootProvider: $l,
1116
- Sliders: Vl,
1117
- Swatch: zl,
1118
- SwatchGroup: Ul,
1119
- SwatchIndicator: Bl,
1120
- SwatchTrigger: Gl,
1121
- TransparencyGrid: wo,
1122
- Trigger: Fl,
1123
- ValueSwatch: bo,
1124
- ValueText: Ml,
1125
- View: ql
1126
- }, Symbol.toStringTag, { value: "Module" })), {
1127
- withProvider: tc,
1128
- withContext: Be,
1129
- PropsProvider: oc
1130
- } = b({ key: "dataList" }), rc = tc(
1131
- "dl",
1132
- "root"
1133
- ), nc = oc, sc = Be(
1134
- "div",
1135
- "item"
1136
- ), ic = Be("dt", "itemLabel"), ac = Be("dd", "itemValue"), Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1137
- __proto__: null,
1138
- Item: sc,
1139
- ItemLabel: ic,
1140
- ItemValue: ac,
1141
- PropsProvider: nc,
1142
- Root: rc
1143
- }, Symbol.toStringTag, { value: "Module" })), Jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1144
- __proto__: null,
1145
- ActionTrigger: oi,
1146
- Backdrop: ri,
1147
- Body: ni,
1148
- CloseTrigger: si,
1149
- Content: ii,
1150
- Context: ai,
1151
- Description: li,
1152
- Footer: ci,
1153
- Header: di,
1154
- Positioner: pi,
1155
- PropsProvider: ui,
1156
- Root: gi,
1157
- RootProvider: Pi,
1158
- Title: mi,
1159
- Trigger: Ci
1160
- }, Symbol.toStringTag, { value: "Module" })), {
1161
- withRootProvider: ko,
1162
- withContext: V,
1163
- PropsProvider: lc
1164
- } = b({ key: "drawer" }), cc = ko(
1165
- wi,
1166
- {
1167
- defaultProps: { unmountOnExit: !0, lazyMount: !0 }
1168
- }
1169
- ), dc = ko(Ti, {
1170
- defaultProps: { unmountOnExit: !0, lazyMount: !0 }
1171
- }), pc = lc, uc = V(
1172
- ki,
1173
- "trigger",
1174
- { forwardAsChild: !0 }
1175
- ), gc = V(yi, "positioner", { forwardAsChild: !0 }), Pc = V(
1176
- fi,
1177
- "content",
1178
- { forwardAsChild: !0 }
1179
- ), mc = V(Si, "description", { forwardAsChild: !0 }), Cc = V(
1180
- Ii,
1181
- "title",
1182
- { forwardAsChild: !0 }
1183
- ), hc = V(bi, "closeTrigger", { forwardAsChild: !0 }), vc = a(function(t, o) {
1184
- const r = vi();
1185
- return /* @__PURE__ */ s.jsx($.button, { ...t, ref: o, onClick: () => r.setOpen(!1) });
1186
- }), xc = V(
1187
- xi,
1188
- "backdrop",
1189
- { forwardAsChild: !0 }
1190
- ), bc = V(
1191
- "div",
1192
- "body"
1193
- ), fc = V(
1194
- "div",
1195
- "footer"
1196
- ), Sc = V(
1197
- "div",
1198
- "header"
1199
- ), yc = hi, Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1200
- __proto__: null,
1201
- ActionTrigger: vc,
1202
- Backdrop: xc,
1203
- Body: bc,
1204
- CloseTrigger: hc,
1205
- Content: Pc,
1206
- Context: yc,
1207
- Description: mc,
1208
- Footer: fc,
1209
- Header: Sc,
1210
- Positioner: gc,
1211
- Root: dc,
1212
- RootPropsProvider: pc,
1213
- RootProvider: cc,
1214
- Title: Cc,
1215
- Trigger: uc
1216
- }, Symbol.toStringTag, { value: "Module" })), [jo, z] = x({
1217
- name: "EditableContext",
1218
- hookName: "useEditableContext",
1219
- providerName: "<EditableProvider />"
1220
- }), $o = a((e, t) => {
1221
- const o = z(), r = d(o.getAreaProps(), e);
1222
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
1223
- });
1224
- $o.displayName = "EditableArea";
1225
- const Ro = a((e, t) => {
1226
- const o = z(), r = d(o.getCancelTriggerProps(), e);
1227
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1228
- });
1229
- Ro.displayName = "EditableCancelTrigger";
1230
- const Tc = (e) => e.children(z()), No = a((e, t) => {
1231
- const o = z(), r = d(o.getControlProps(), e);
1232
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
1233
- });
1234
- No.displayName = "EditableControl";
1235
- const Ao = a((e, t) => {
1236
- const o = z(), r = d(o.getEditTriggerProps(), e);
1237
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1238
- });
1239
- Ao.displayName = "EditableEditTrigger";
1240
- const Eo = a((e, t) => {
1241
- const o = z(), r = d(o.getInputProps(), e), n = D();
1242
- return /* @__PURE__ */ s.jsx(l.input, { "aria-describedby": n?.ariaDescribedby, ...r, ref: t });
1243
- });
1244
- Eo.displayName = "EditableInput";
1245
- const Fo = a((e, t) => {
1246
- const o = z(), r = d(o.getPreviewProps(), e);
1247
- return /* @__PURE__ */ s.jsx(l.span, { ...r, ref: t });
1248
- });
1249
- Fo.displayName = "EditablePreview";
1250
- const wc = (e) => {
1251
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = D(), i = {
1252
- id: t,
1253
- ids: {
1254
- label: n?.ids.label,
1255
- input: n?.ids.control
1256
- },
1257
- dir: r,
1258
- disabled: n?.disabled,
1259
- invalid: n?.invalid,
1260
- readOnly: n?.readOnly,
1261
- required: n?.required,
1262
- getRootNode: o,
1263
- ...e
1264
- }, c = k(rs, i);
1265
- return ns(c, j);
1266
- }, _o = a((e, t) => {
1267
- const [o, r] = g()(e, [
1268
- "activationMode",
1269
- "autoResize",
1270
- "defaultEdit",
1271
- "defaultValue",
1272
- "disabled",
1273
- "edit",
1274
- "finalFocusEl",
1275
- "form",
1276
- "id",
1277
- "ids",
1278
- "invalid",
1279
- "maxLength",
1280
- "name",
1281
- "onEditChange",
1282
- "onFocusOutside",
1283
- "onInteractOutside",
1284
- "onPointerDownOutside",
1285
- "onValueChange",
1286
- "onValueCommit",
1287
- "onValueRevert",
1288
- "placeholder",
1289
- "readOnly",
1290
- "required",
1291
- "selectOnFocus",
1292
- "submitMode",
1293
- "translations",
1294
- "value"
1295
- ]), n = wc(o), i = d(n.getRootProps(), r);
1296
- return /* @__PURE__ */ s.jsx(jo, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
1297
- });
1298
- _o.displayName = "EditableRoot";
1299
- const Oo = a((e, t) => {
1300
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
1301
- return /* @__PURE__ */ s.jsx(jo, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
1302
- });
1303
- Oo.displayName = "EditableRootProvider";
1304
- const Do = a((e, t) => {
1305
- const o = z(), r = d(o.getSubmitTriggerProps(), e);
1306
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1307
- });
1308
- Do.displayName = "EditableSubmitTrigger";
1309
- const {
1310
- withProvider: Vo,
1311
- withContext: M,
1312
- PropsProvider: Ic
1313
- } = b({ key: "editable" }), kc = Vo(Oo, "root", { forwardAsChild: !0 }), jc = Vo(
1314
- _o,
1315
- "root",
1316
- { forwardAsChild: !0 }
1317
- ), $c = Ic, Rc = M(Fo, "preview", { forwardAsChild: !0 }), Nc = M(
1318
- Eo,
1319
- "input",
1320
- { forwardAsChild: !0 }
1321
- ), Ac = a(function(t, o) {
1322
- const r = z(), n = at(r.getInputProps(), t);
1323
- return /* @__PURE__ */ s.jsx(l.textarea, { ref: o, ...n });
1324
- }), Ec = M(Ac, "input", { forwardAsChild: !0 }), Fc = M(No, "control", { forwardAsChild: !0 }), _c = M(
1325
- $o,
1326
- "area",
1327
- { forwardAsChild: !0 }
1328
- ), Oc = M(Ao, "editTrigger", { forwardAsChild: !0 }), Dc = M(Do, "submitTrigger", { forwardAsChild: !0 }), Vc = M(Ro, "cancelTrigger", { forwardAsChild: !0 }), Lc = Tc, eP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1329
- __proto__: null,
1330
- Area: _c,
1331
- CancelTrigger: Vc,
1332
- Context: Lc,
1333
- Control: Fc,
1334
- EditTrigger: Oc,
1335
- Input: Nc,
1336
- Preview: Rc,
1337
- PropsProvider: $c,
1338
- Root: jc,
1339
- RootProvider: kc,
1340
- SubmitTrigger: Dc,
1341
- Textarea: Ec
1342
- }, Symbol.toStringTag, { value: "Module" })), [Lo, T] = x({
1343
- name: "FileUploadContext",
1344
- hookName: "useFileUploadContext",
1345
- providerName: "<FileUploadProvider />"
1346
- }), Uo = a((e, t) => {
1347
- const o = T(), r = d(o.getClearTriggerProps(), e);
1348
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1349
- });
1350
- Uo.displayName = "FileUploadClearTrigger";
1351
- const Uc = (e) => e.children(T()), Go = a((e, t) => {
1352
- const [o, r] = g()(e, ["disableClick"]), n = T(), i = d(n.getDropzoneProps(o), r);
1353
- return /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t });
1354
- });
1355
- Go.displayName = "FileUploadDropzone";
1356
- const zo = a((e, t) => {
1357
- const o = T(), r = d(o.getHiddenInputProps(), e), n = D();
1358
- return /* @__PURE__ */ s.jsx(l.input, { "aria-describedby": n?.ariaDescribedby, ...r, ref: t });
1359
- });
1360
- zo.displayName = "FileUploadHiddenInput";
1361
- const [Gc, ge] = x({
1362
- name: "FileUploadItemPropsContext",
1363
- hookName: "useFileUploadItemPropsContext",
1364
- providerName: "<FileUploadItemPropsProvider />"
1365
- }), Bo = a((e, t) => {
1366
- const [o, r] = g()(e, ["file"]), n = T(), i = d(n.getItemProps(o), r);
1367
- return /* @__PURE__ */ s.jsx(Gc, { value: o, children: /* @__PURE__ */ s.jsx(l.li, { ...i, ref: t }) });
1368
- });
1369
- Bo.displayName = "FileUploadItem";
1370
- const Mo = a(
1371
- (e, t) => {
1372
- const o = T(), r = ge(), n = d(o.getItemDeleteTriggerProps(r), e);
1373
- return /* @__PURE__ */ s.jsx(l.button, { ...n, ref: t });
1374
- }
1375
- );
1376
- Mo.displayName = "FileUploadItemDeleteTrigger";
1377
- const qo = a((e, t) => {
1378
- const o = T(), r = d(o.getItemGroupProps(), e);
1379
- return /* @__PURE__ */ s.jsx(l.ul, { ...r, ref: t });
1380
- });
1381
- qo.displayName = "FileUploadItemGroup";
1382
- const Ho = a((e, t) => {
1383
- const { children: o, ...r } = e, n = T(), i = ge(), c = d(n.getItemNameProps(i), r);
1384
- return /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t, children: o || i.file.name });
1385
- });
1386
- Ho.displayName = "FileUploadItemName";
1387
- const Qo = a((e, t) => {
1388
- const o = T(), r = ge(), n = d(o.getItemPreviewProps(r), e);
1389
- return r.file.type.match(e.type ?? ".*") ? /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) : null;
1390
- });
1391
- Qo.displayName = "FileUploadItemPreview";
1392
- const Wo = a(
1393
- (e, t) => {
1394
- const [o, r] = _e(""), n = T(), i = ge(), c = d(n.getItemPreviewImageProps({ ...i, url: o }), e);
1395
- return ot(() => n.createFileUrl(i.file, (p) => r(p)), [i, n]), o ? /* @__PURE__ */ s.jsx(l.img, { ...c, ref: t }) : null;
1396
- }
1397
- );
1398
- Wo.displayName = "FileUploadItemPreviewImage";
1399
- const Yo = a((e, t) => {
1400
- const { children: o, ...r } = e, n = T(), i = ge(), c = d(n.getItemSizeTextProps(i), r);
1401
- return /* @__PURE__ */ s.jsx(l.div, { ...c, ref: t, children: o || n.getFileSize(i.file) });
1402
- });
1403
- Yo.displayName = "FileUploadItemSizeText";
1404
- const Xo = a((e, t) => {
1405
- const o = T(), r = d(o.getLabelProps(), e);
1406
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
1407
- });
1408
- Xo.displayName = "FileUploadLabel";
1409
- const zc = (e) => {
1410
- const t = I(), { getRootNode: o } = w(), { dir: r, locale: n } = y(), i = D(), c = {
1411
- id: t,
1412
- ids: {
1413
- label: i?.ids.label,
1414
- hiddenInput: i?.ids.control
1415
- },
1416
- dir: r,
1417
- disabled: i?.disabled,
1418
- locale: n,
1419
- required: i?.required,
1420
- invalid: i?.invalid,
1421
- getRootNode: o,
1422
- ...e
1423
- }, p = k(ss, c);
1424
- return is(p, j);
1425
- }, Zo = a((e, t) => {
1426
- const [o, r] = g()(e, [
1427
- "accept",
1428
- "allowDrop",
1429
- "capture",
1430
- "directory",
1431
- "disabled",
1432
- "id",
1433
- "ids",
1434
- "invalid",
1435
- "locale",
1436
- "maxFiles",
1437
- "maxFileSize",
1438
- "minFileSize",
1439
- "name",
1440
- "onFileAccept",
1441
- "onFileChange",
1442
- "onFileReject",
1443
- "preventDocumentDrop",
1444
- "required",
1445
- "translations",
1446
- "validate"
1447
- ]), n = zc(o), i = d(n.getRootProps(), r);
1448
- return /* @__PURE__ */ s.jsx(Lo, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
1449
- });
1450
- Zo.displayName = "FileUploadRoot";
1451
- const Jo = a((e, t) => {
1452
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
1453
- return /* @__PURE__ */ s.jsx(Lo, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
1454
- });
1455
- Jo.displayName = "FileUploadRootProvider";
1456
- const Ko = a((e, t) => {
1457
- const o = T(), r = d(o.getTriggerProps(), e);
1458
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1459
- });
1460
- Ko.displayName = "FileUploadTrigger";
1461
- const {
1462
- withProvider: er,
1463
- withContext: R,
1464
- useStyles: Bc,
1465
- PropsProvider: Mc
1466
- } = b({ key: "fileUpload" }), qc = er(Jo, "root", { forwardAsChild: !0 }), Hc = er(
1467
- Zo,
1468
- "root",
1469
- { forwardAsChild: !0 }
1470
- ), Qc = Mc, Wc = R(Uo, "clearTrigger", { forwardAsChild: !0 }), Yc = R(Go, "dropzone", { forwardAsChild: !0 }), Xc = R("div", "dropzoneContent"), tr = R(
1471
- Bo,
1472
- "item",
1473
- { forwardAsChild: !0 }
1474
- ), or = R("div", "itemContent"), rr = R(Mo, "itemDeleteTrigger", {
1475
- forwardAsChild: !0,
1476
- defaultProps: {
1477
- children: /* @__PURE__ */ s.jsx(Vs, {})
1478
- }
1479
- }), nr = R(qo, "itemGroup", { forwardAsChild: !0 }), Ae = R(Ho, "itemName", { forwardAsChild: !0 }), sr = R(Qo, "itemPreview", {
1480
- forwardAsChild: !0,
1481
- defaultProps: {
1482
- children: /* @__PURE__ */ s.jsx(Ls, {})
1483
- }
1484
- }), Zc = R(Wo, "itemPreviewImage", { forwardAsChild: !0 }), ir = R(Yo, "itemSizeText", { forwardAsChild: !0 }), Jc = R(Xo, "label", { forwardAsChild: !0 }), Kc = R(Ko, "trigger", { forwardAsChild: !0 }), ar = (e) => {
1485
- const { showSize: t, clearable: o, files: r, ...n } = e, i = T(), c = r ?? i.acceptedFiles;
1486
- return /* @__PURE__ */ s.jsx(ce, { each: c, children: (p) => /* @__PURE__ */ s.jsxs(tr, { file: p, ...n, children: [
1487
- /* @__PURE__ */ s.jsx(sr, {}),
1488
- t ? /* @__PURE__ */ s.jsxs(or, { children: [
1489
- /* @__PURE__ */ s.jsx(Ae, {}),
1490
- /* @__PURE__ */ s.jsx(ir, {})
1491
- ] }) : /* @__PURE__ */ s.jsx(Ae, { flex: "1" }),
1492
- o && /* @__PURE__ */ s.jsx(rr, {})
1493
- ] }, p.name) });
1494
- }, ed = a(
1495
- function(t, o) {
1496
- const { showSize: r, clearable: n, files: i, ...c } = t;
1497
- return /* @__PURE__ */ s.jsx(nr, { ref: o, ...c, children: /* @__PURE__ */ s.jsx(
1498
- ar,
1499
- {
1500
- showSize: r,
1501
- clearable: n,
1502
- files: i
1503
- }
1504
- ) });
1505
- }
1506
- ), td = a(function(t, o) {
1507
- const { fallback: r = "Select file(s)", ...n } = t, i = T(), c = Bc(), p = i.acceptedFiles, u = X(() => p.length === 1 ? p[0].name : p.length > 1 ? `${p.length} files` : r, [p, r]);
1508
- return /* @__PURE__ */ s.jsx(
1509
- ti,
1510
- {
1511
- ref: o,
1512
- "data-placeholder": u === r ? "" : void 0,
1513
- ...n,
1514
- css: [c.fileText, t.css],
1515
- children: u
1516
- }
1517
- );
1518
- }), od = Uc, rd = zo, tP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1519
- __proto__: null,
1520
- ClearTrigger: Wc,
1521
- Context: od,
1522
- Dropzone: Yc,
1523
- DropzoneContent: Xc,
1524
- FileText: td,
1525
- HiddenInput: rd,
1526
- Item: tr,
1527
- ItemContent: or,
1528
- ItemDeleteTrigger: rr,
1529
- ItemGroup: nr,
1530
- ItemName: Ae,
1531
- ItemPreview: sr,
1532
- ItemPreviewImage: Zc,
1533
- ItemSizeText: ir,
1534
- Items: ar,
1535
- Label: Jc,
1536
- List: ed,
1537
- PropsProvider: Qc,
1538
- Root: Hc,
1539
- RootProvider: qc,
1540
- Trigger: Kc
1541
- }, Symbol.toStringTag, { value: "Module" })), [lr, q] = x({
1542
- name: "NumberInputContext",
1543
- hookName: "useNumberInputContext",
1544
- providerName: "<NumberInputProvider />"
1545
- }), nd = (e) => e.children(q()), cr = a((e, t) => {
1546
- const o = q(), r = d(o.getControlProps(), e);
1547
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
1548
- });
1549
- cr.displayName = "NumberInputControl";
1550
- const dr = a(
1551
- (e, t) => {
1552
- const o = q(), r = d(o.getDecrementTriggerProps(), e);
1553
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1554
- }
1555
- );
1556
- dr.displayName = "NumberInputDecrementTrigger";
1557
- const pr = a(
1558
- (e, t) => {
1559
- const o = q(), r = d(o.getIncrementTriggerProps(), e);
1560
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1561
- }
1562
- );
1563
- pr.displayName = "NumberInputIncrementTrigger";
1564
- const ur = a((e, t) => {
1565
- const o = q(), r = d(o.getInputProps(), e), n = D();
1566
- return /* @__PURE__ */ s.jsx(l.input, { "aria-describedby": n?.ariaDescribedby, ...r, ref: t });
1567
- });
1568
- ur.displayName = "NumberInputInput";
1569
- const gr = a((e, t) => {
1570
- const o = q(), r = d(o.getLabelProps(), e);
1571
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
1572
- });
1573
- gr.displayName = "NumberInputLabel";
1574
- const sd = (e) => {
1575
- const t = I(), { getRootNode: o } = w(), { dir: r, locale: n } = y(), i = D(), c = {
1576
- id: t,
1577
- ids: {
1578
- label: i?.ids.label,
1579
- input: i?.ids.control
1580
- },
1581
- disabled: i?.disabled,
1582
- readOnly: i?.readOnly,
1583
- required: i?.required,
1584
- invalid: i?.invalid,
1585
- dir: r,
1586
- locale: n,
1587
- getRootNode: o,
1588
- ...e
1589
- }, p = k(as, c);
1590
- return ls(p, j);
1591
- }, Pr = a((e, t) => {
1592
- const [o, r] = g()(e, [
1593
- "allowMouseWheel",
1594
- "allowOverflow",
1595
- "clampValueOnBlur",
1596
- "defaultValue",
1597
- "disabled",
1598
- "focusInputOnChange",
1599
- "form",
1600
- "formatOptions",
1601
- "id",
1602
- "ids",
1603
- "inputMode",
1604
- "invalid",
1605
- "locale",
1606
- "max",
1607
- "min",
1608
- "name",
1609
- "onFocusChange",
1610
- "onValueChange",
1611
- "onValueInvalid",
1612
- "pattern",
1613
- "readOnly",
1614
- "required",
1615
- "spinOnPress",
1616
- "step",
1617
- "translations",
1618
- "value"
1619
- ]), n = sd(o), i = d(n.getRootProps(), r);
1620
- return /* @__PURE__ */ s.jsx(lr, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
1621
- });
1622
- Pr.displayName = "NumberInputRoot";
1623
- const mr = a((e, t) => {
1624
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
1625
- return /* @__PURE__ */ s.jsx(lr, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
1626
- });
1627
- mr.displayName = "NumberInputRootProvider";
1628
- const Cr = a((e, t) => {
1629
- const o = q(), r = d(o.getScrubberProps(), e);
1630
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
1631
- });
1632
- Cr.displayName = "NumberInputScrubber";
1633
- const hr = a((e, t) => {
1634
- const { children: o, ...r } = e, n = q(), i = d(n.getValueTextProps(), r);
1635
- return /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t, children: o || n.value });
1636
- });
1637
- hr.displayName = "NumberInputValueText";
1638
- const {
1639
- withProvider: vr,
1640
- withContext: J,
1641
- PropsProvider: id
1642
- } = b({ key: "numberInput" }), ad = vr(mr, "root", { forwardAsChild: !0 }), ld = vr(Pr, "root", { forwardAsChild: !0 }), cd = id, dd = J(gr, "label", { forwardAsChild: !0 }), pd = J(ur, "input", { forwardAsChild: !0 }), xr = J(pr, "incrementTrigger", {
1643
- forwardAsChild: !0,
1644
- defaultProps: { children: /* @__PURE__ */ s.jsx(Us, {}) }
1645
- }), br = J(dr, "decrementTrigger", {
1646
- forwardAsChild: !0,
1647
- defaultProps: { children: /* @__PURE__ */ s.jsx(dt, {}) }
1648
- }), ud = J(cr, "control", {
1649
- forwardAsChild: !0,
1650
- defaultProps: {
1651
- children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1652
- /* @__PURE__ */ s.jsx(xr, {}),
1653
- /* @__PURE__ */ s.jsx(br, {})
1654
- ] })
1655
- }
1656
- }), gd = J(Cr, "scrubber", { forwardAsChild: !0 }), Pd = J(hr, "valueText", { forwardAsChild: !0 }), md = nd, oP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1657
- __proto__: null,
1658
- Context: md,
1659
- Control: ud,
1660
- DecrementTrigger: br,
1661
- IncrementTrigger: xr,
1662
- Input: pd,
1663
- Label: dd,
1664
- PropsProvider: cd,
1665
- Root: ld,
1666
- RootProvider: ad,
1667
- Scrubber: gd,
1668
- ValueText: Pd
1669
- }, Symbol.toStringTag, { value: "Module" })), [fr, K] = x({
1670
- name: "PaginationContext",
1671
- hookName: "usePaginationContext",
1672
- providerName: "<PaginationProvider />"
1673
- }), Cd = (e) => e.children(K()), Sr = a((e, t) => {
1674
- const [o, r] = g()(e, ["index"]), n = K(), i = d(n.getEllipsisProps(o), r);
1675
- return /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t });
1676
- });
1677
- Sr.displayName = "PaginationEllipsis";
1678
- const yr = a((e, t) => {
1679
- const [o, r] = g()(e, ["value", "type"]), n = K(), i = d(n.getItemProps(o), r);
1680
- return /* @__PURE__ */ s.jsx(l.button, { ...i, ref: t });
1681
- });
1682
- yr.displayName = "PaginationItem";
1683
- const Tr = a((e, t) => {
1684
- const o = K(), r = d(o.getNextTriggerProps(), e);
1685
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1686
- });
1687
- Tr.displayName = "PaginationNextTrigger";
1688
- const wr = a((e, t) => {
1689
- const o = K(), r = d(o.getPrevTriggerProps(), e);
1690
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
1691
- });
1692
- wr.displayName = "PaginationPrevTrigger";
1693
- var hd = Fe("pagination").parts("root", "item", "ellipsis", "prevTrigger", "nextTrigger"), le = hd.build(), vd = (e) => e.ids?.root ?? `pagination:${e.id}`, xd = (e) => e.ids?.prevTrigger ?? `pagination:${e.id}:prev`, bd = (e) => e.ids?.nextTrigger ?? `pagination:${e.id}:next`, fd = (e, t) => e.ids?.ellipsis?.(t) ?? `pagination:${e.id}:ellipsis:${t}`, Sd = (e, t) => e.ids?.item?.(t) ?? `pagination:${e.id}:item:${t}`, ve = (e, t) => {
1694
- let o = t - e + 1;
1695
- return Array.from({ length: o }, (r, n) => n + e);
1696
- }, yd = (e) => e.map((t) => typeof t == "number" ? { type: "page", value: t } : { type: "ellipsis" }), xe = "ellipsis", Td = (e) => {
1697
- const { page: t, totalPages: o, siblingCount: r } = e, n = Math.min(2 * r + 5, o), i = 1, c = o, p = Math.max(t - r, i), u = Math.min(t + r, c), P = p > i + 1, S = u < c - 1, E = n - 2;
1698
- if (!P && S)
1699
- return [...ve(1, E), xe, c];
1700
- if (P && !S) {
1701
- const F = ve(c - E + 1, c);
1702
- return [i, xe, ...F];
1703
- }
1704
- if (P && S) {
1705
- const F = ve(p, u);
1706
- return [i, xe, ...F, xe, c];
1707
- }
1708
- return ve(i, c);
1709
- }, wd = (e) => yd(Td(e));
1710
- function Id(e, t) {
1711
- const { send: o, scope: r, prop: n, computed: i, context: c } = e, p = i("totalPages"), u = c.get("page"), P = n("translations"), S = n("count"), E = i("previousPage"), G = i("nextPage"), F = i("pageRange"), ae = n("type") === "button", Ce = u === 1, m = u === p, h = wd({
1712
- page: u,
1713
- totalPages: p,
1714
- siblingCount: n("siblingCount")
1715
- });
1716
- return {
1717
- count: S,
1718
- page: u,
1719
- pageSize: c.get("pageSize"),
1720
- totalPages: p,
1721
- pages: h,
1722
- previousPage: E,
1723
- nextPage: G,
1724
- pageRange: F,
1725
- slice(N) {
1726
- return N.slice(F.start, F.end);
1727
- },
1728
- setPageSize(N) {
1729
- o({ type: "SET_PAGE_SIZE", size: N });
1730
- },
1731
- setPage(N) {
1732
- o({ type: "SET_PAGE", page: N });
1733
- },
1734
- goToNextPage() {
1735
- o({ type: "NEXT_PAGE" });
1736
- },
1737
- goToPrevPage() {
1738
- o({ type: "PREVIOUS_PAGE" });
1739
- },
1740
- goToFirstPage() {
1741
- o({ type: "FIRST_PAGE" });
1742
- },
1743
- goToLastPage() {
1744
- o({ type: "LAST_PAGE" });
1745
- },
1746
- getRootProps() {
1747
- return t.element({
1748
- id: vd(r),
1749
- ...le.root.attrs,
1750
- dir: n("dir"),
1751
- "aria-label": P.rootLabel
1752
- });
1753
- },
1754
- getEllipsisProps(N) {
1755
- return t.element({
1756
- id: fd(r, N.index),
1757
- ...le.ellipsis.attrs,
1758
- dir: n("dir")
1759
- });
1760
- },
1761
- getItemProps(N) {
1762
- const Q = N.value, Xe = Q === u;
1763
- return t.element({
1764
- id: Sd(r, Q),
1765
- ...le.item.attrs,
1766
- dir: n("dir"),
1767
- "data-index": Q,
1768
- "data-selected": f(Xe),
1769
- "aria-current": Xe ? "page" : void 0,
1770
- "aria-label": P.itemLabel?.({ page: Q, totalPages: p }),
1771
- onClick() {
1772
- o({ type: "SET_PAGE", page: Q });
1773
- },
1774
- ...ae && { type: "button" }
1775
- });
1776
- },
1777
- getPrevTriggerProps() {
1778
- return t.element({
1779
- id: xd(r),
1780
- ...le.prevTrigger.attrs,
1781
- dir: n("dir"),
1782
- "data-disabled": f(Ce),
1783
- "aria-label": P.prevTriggerLabel,
1784
- onClick() {
1785
- o({ type: "PREVIOUS_PAGE" });
1786
- },
1787
- ...ae && { disabled: Ce, type: "button" }
1788
- });
1789
- },
1790
- getNextTriggerProps() {
1791
- return t.element({
1792
- id: bd(r),
1793
- ...le.nextTrigger.attrs,
1794
- dir: n("dir"),
1795
- "data-disabled": f(m),
1796
- "aria-label": P.nextTriggerLabel,
1797
- onClick() {
1798
- o({ type: "NEXT_PAGE" });
1799
- },
1800
- ...ae && { disabled: m, type: "button" }
1801
- });
1802
- }
1803
- };
1804
- }
1805
- var kd = Ee({
1806
- props({ props: e }) {
1807
- return {
1808
- defaultPageSize: 10,
1809
- siblingCount: 1,
1810
- defaultPage: 1,
1811
- type: "button",
1812
- count: 1,
1813
- ...e,
1814
- translations: {
1815
- rootLabel: "pagination",
1816
- prevTriggerLabel: "previous page",
1817
- nextTriggerLabel: "next page",
1818
- itemLabel({ page: t, totalPages: o }) {
1819
- return `${o > 1 && t === o ? "last page, " : ""}page ${t}`;
1820
- },
1821
- ...e.translations
1822
- }
1823
- };
1824
- },
1825
- initialState() {
1826
- return "idle";
1827
- },
1828
- context({ prop: e, bindable: t, getContext: o }) {
1829
- return {
1830
- page: t(() => ({
1831
- value: e("page"),
1832
- defaultValue: e("defaultPage"),
1833
- onChange(r) {
1834
- const n = o();
1835
- e("onPageChange")?.({ page: r, pageSize: n.get("pageSize") });
1836
- }
1837
- })),
1838
- pageSize: t(() => ({
1839
- value: e("pageSize"),
1840
- defaultValue: e("defaultPageSize"),
1841
- onChange(r) {
1842
- e("onPageSizeChange")?.({ pageSize: r });
1843
- }
1844
- }))
1845
- };
1846
- },
1847
- watch({ track: e, context: t, action: o }) {
1848
- e([() => t.get("pageSize")], () => {
1849
- o(["setPageIfNeeded"]);
1850
- });
1851
- },
1852
- computed: {
1853
- totalPages: ({ context: e, prop: t }) => Math.ceil(t("count") / e.get("pageSize")),
1854
- previousPage: ({ context: e }) => e.get("page") === 1 ? null : e.get("page") - 1,
1855
- nextPage: ({ context: e, computed: t }) => e.get("page") === t("totalPages") ? null : e.get("page") + 1,
1856
- pageRange: ({ context: e, prop: t }) => {
1857
- const o = (e.get("page") - 1) * e.get("pageSize"), r = Math.min(o + e.get("pageSize"), t("count"));
1858
- return { start: o, end: r };
1859
- },
1860
- isValidPage: ({ context: e, computed: t }) => e.get("page") >= 1 && e.get("page") <= t("totalPages")
1861
- },
1862
- on: {
1863
- SET_PAGE: {
1864
- guard: "isValidPage",
1865
- actions: ["setPage"]
1866
- },
1867
- SET_PAGE_SIZE: {
1868
- actions: ["setPageSize"]
1869
- },
1870
- FIRST_PAGE: {
1871
- actions: ["goToFirstPage"]
1872
- },
1873
- LAST_PAGE: {
1874
- actions: ["goToLastPage"]
1875
- },
1876
- PREVIOUS_PAGE: {
1877
- guard: "canGoToPrevPage",
1878
- actions: ["goToPrevPage"]
1879
- },
1880
- NEXT_PAGE: {
1881
- guard: "canGoToNextPage",
1882
- actions: ["goToNextPage"]
1883
- }
1884
- },
1885
- states: {
1886
- idle: {}
1887
- },
1888
- implementations: {
1889
- guards: {
1890
- isValidPage: ({ event: e, computed: t }) => e.page >= 1 && e.page <= t("totalPages"),
1891
- isValidCount: ({ context: e, event: t }) => e.get("page") > t.count,
1892
- canGoToNextPage: ({ context: e, computed: t }) => e.get("page") < t("totalPages"),
1893
- canGoToPrevPage: ({ context: e }) => e.get("page") > 1
1894
- },
1895
- actions: {
1896
- setPage({ context: e, event: t, computed: o }) {
1897
- const r = $e(t.page, o("totalPages"));
1898
- e.set("page", r);
1899
- },
1900
- setPageSize({ context: e, event: t }) {
1901
- e.set("pageSize", t.size);
1902
- },
1903
- goToFirstPage({ context: e }) {
1904
- e.set("page", 1);
1905
- },
1906
- goToLastPage({ context: e, computed: t }) {
1907
- e.set("page", t("totalPages"));
1908
- },
1909
- goToPrevPage({ context: e, computed: t }) {
1910
- e.set("page", (o) => $e(o - 1, t("totalPages")));
1911
- },
1912
- goToNextPage({ context: e, computed: t }) {
1913
- e.set("page", (o) => $e(o + 1, t("totalPages")));
1914
- },
1915
- setPageIfNeeded({ context: e, computed: t }) {
1916
- t("isValidPage") || e.set("page", 1);
1917
- }
1918
- }
1919
- }
1920
- }), $e = (e, t) => Math.min(Math.max(e, 1), t);
1921
- oe()([
1922
- "count",
1923
- "dir",
1924
- "getRootNode",
1925
- "id",
1926
- "ids",
1927
- "onPageChange",
1928
- "onPageSizeChange",
1929
- "page",
1930
- "defaultPage",
1931
- "pageSize",
1932
- "defaultPageSize",
1933
- "siblingCount",
1934
- "translations",
1935
- "type"
1936
- ]);
1937
- oe()(["value", "type"]);
1938
- oe()(["index"]);
1939
- const jd = (e) => {
1940
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = {
1941
- id: t,
1942
- dir: r,
1943
- getRootNode: o,
1944
- ...e
1945
- }, i = k(kd, n);
1946
- return Id(i, j);
1947
- }, Ir = a((e, t) => {
1948
- const [o, r] = g()(e, [
1949
- "count",
1950
- "defaultPage",
1951
- "defaultPageSize",
1952
- "id",
1953
- "ids",
1954
- "onPageChange",
1955
- "onPageSizeChange",
1956
- "page",
1957
- "pageSize",
1958
- "siblingCount",
1959
- "translations",
1960
- "type"
1961
- ]), n = jd(o), i = d(n.getRootProps(), r);
1962
- return /* @__PURE__ */ s.jsx(fr, { value: n, children: /* @__PURE__ */ s.jsx(l.nav, { ...i, ref: t }) });
1963
- });
1964
- Ir.displayName = "PaginationRoot";
1965
- const kr = a((e, t) => {
1966
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
1967
- return /* @__PURE__ */ s.jsx(fr, { value: o, children: /* @__PURE__ */ s.jsx(l.nav, { ...n, ref: t }) });
1968
- });
1969
- kr.displayName = "PaginationRootProvider";
1970
- const {
1971
- withProvider: jr,
1972
- withContext: ye,
1973
- PropsProvider: $d
1974
- } = b({ key: "pagination" }), Rd = jr(kr, "root", {
1975
- forwardAsChild: !0,
1976
- forwardProps: ["page"]
1977
- }), Nd = jr(
1978
- Ir,
1979
- "root",
1980
- { forwardAsChild: !0, forwardProps: ["page"] }
1981
- ), Ad = $d, $r = ye(Sr, "ellipsis", { forwardAsChild: !0 }), Rr = ye(yr, "item", { forwardAsChild: !0 }), Ed = ye(Tr, "nextTrigger", { forwardAsChild: !0 }), Fd = ye(wr, "prevTrigger", { forwardAsChild: !0 }), _d = Cd, Od = a(function(t, o) {
1982
- const { format: r = "compact", ...n } = t, { page: i, totalPages: c, pageRange: p, count: u } = K(), P = X(() => r === "short" ? `${i} / ${c}` : r === "compact" ? `${i} of ${c}` : `${p.start + 1} - ${Math.min(p.end, u)} of ${u}`, [r, i, c, p, u]);
1983
- return /* @__PURE__ */ s.jsx(lt, { fontWeight: "medium", ref: o, ...n, children: P });
1984
- }), Dd = (e) => {
1985
- const { pages: t } = K(), { render: o, ellipsis: r, ...n } = e;
1986
- return /* @__PURE__ */ s.jsx(ce, { each: t, children: (i, c) => i.type === "ellipsis" ? /* @__PURE__ */ s.jsx($r, { asChild: !0, index: c, ...n, children: r || /* @__PURE__ */ s.jsx(Pt, { as: "span", children: /* @__PURE__ */ s.jsx(Gs, {}) }) }, c) : /* @__PURE__ */ s.jsx(
1987
- Rr,
1988
- {
1989
- asChild: !0,
1990
- type: "page",
1991
- value: i.value,
1992
- ...n,
1993
- children: o(i)
1994
- },
1995
- c
1996
- ) });
1997
- }, rP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1998
- __proto__: null,
1999
- Context: _d,
2000
- Ellipsis: $r,
2001
- Item: Rr,
2002
- Items: Dd,
2003
- NextTrigger: Ed,
2004
- PageText: Od,
2005
- PrevTrigger: Fd,
2006
- PropsProvider: Ad,
2007
- Root: Nd,
2008
- RootProvider: Rd
2009
- }, Symbol.toStringTag, { value: "Module" })), [Nr, H] = x({
2010
- name: "ProgressContext",
2011
- hookName: "useProgressContext",
2012
- providerName: "<ProgressProvider />"
2013
- }), Ar = a((e, t) => {
2014
- const o = H(), r = d(o.getCircleProps(), e);
2015
- return /* @__PURE__ */ s.jsx(l.svg, { ref: t, ...r });
2016
- });
2017
- Ar.displayName = "ProgressCircle";
2018
- const Er = a((e, t) => {
2019
- const o = H(), r = d(o.getCircleRangeProps(), e);
2020
- return /* @__PURE__ */ s.jsx(l.circle, { ref: t, ...r });
2021
- });
2022
- Er.displayName = "ProgressCircleRange";
2023
- const Fr = a((e, t) => {
2024
- const o = H(), r = d(o.getCircleTrackProps(), e);
2025
- return /* @__PURE__ */ s.jsx(l.circle, { ref: t, ...r });
2026
- });
2027
- Fr.displayName = "ProgressCircleTrack";
2028
- const Vd = (e) => e.children(H()), Me = a((e, t) => {
2029
- const o = H(), r = d(o.getLabelProps(), e);
2030
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
2031
- });
2032
- Me.displayName = "ProgressLabel";
2033
- const _r = a((e, t) => {
2034
- const o = H(), r = d(o.getRangeProps(), e);
2035
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2036
- });
2037
- _r.displayName = "ProgressRange";
2038
- const Ld = (e) => {
2039
- const t = I(), { getRootNode: o } = w(), { dir: r, locale: n } = y(), i = {
2040
- id: t,
2041
- dir: r,
2042
- locale: n,
2043
- getRootNode: o,
2044
- ...e
2045
- }, c = k(cs, i);
2046
- return ds(c, j);
2047
- }, qe = a((e, t) => {
2048
- const [o, r] = g()(e, [
2049
- "defaultValue",
2050
- "formatOptions",
2051
- "id",
2052
- "ids",
2053
- "locale",
2054
- "max",
2055
- "min",
2056
- "onValueChange",
2057
- "orientation",
2058
- "translations",
2059
- "value"
2060
- ]), n = Ld(o), i = d(n.getRootProps(), r);
2061
- return /* @__PURE__ */ s.jsx(Nr, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2062
- });
2063
- qe.displayName = "ProgressRoot";
2064
- const He = a((e, t) => {
2065
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
2066
- return /* @__PURE__ */ s.jsx(Nr, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
2067
- });
2068
- He.displayName = "ProgressRootProvider";
2069
- const Or = a((e, t) => {
2070
- const o = H(), r = d(o.getTrackProps(), e);
2071
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2072
- });
2073
- Or.displayName = "ProgressTrack";
2074
- const Qe = a((e, t) => {
2075
- const { children: o, ...r } = e, n = H(), i = d(n.getValueTextProps(), r);
2076
- return /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t, children: o || n.percentAsString });
2077
- });
2078
- Qe.displayName = "ProgressValueText";
2079
- const {
2080
- withProvider: Dr,
2081
- withContext: Pe,
2082
- PropsProvider: Ud
2083
- } = b({ key: "progressCircle" }), Gd = Dr(He, "root", { forwardAsChild: !0 }), zd = Dr(qe, "root", { forwardAsChild: !0 }), Bd = Ud, Md = Pe(Me, "label", { forwardAsChild: !0 }), qd = Pe(Ar, "circle", { forwardAsChild: !0 }), Hd = Pe(Fr, "circleTrack", { forwardAsChild: !0 }), Qd = Pe(Er, "circleRange", { forwardAsChild: !0 }), Wd = Pe(Qe, "valueText", { forwardAsChild: !0 }), nP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2084
- __proto__: null,
2085
- Circle: qd,
2086
- Label: Md,
2087
- PropsProvider: Bd,
2088
- Range: Qd,
2089
- Root: zd,
2090
- RootProvider: Gd,
2091
- Track: Hd,
2092
- ValueText: Wd
2093
- }, Symbol.toStringTag, { value: "Module" })), {
2094
- withProvider: Vr,
2095
- withContext: Te,
2096
- PropsProvider: Yd
2097
- } = b({ key: "progress" }), Xd = Vr(He, "root", { forwardAsChild: !0 }), Zd = Vr(
2098
- qe,
2099
- "root"
2100
- ), Jd = Yd, Kd = Te(
2101
- Me,
2102
- "label",
2103
- { forwardAsChild: !0 }
2104
- ), ep = Te(
2105
- Or,
2106
- "track",
2107
- { forwardAsChild: !0 }
2108
- ), tp = Te(
2109
- _r,
2110
- "range",
2111
- { forwardAsChild: !0 }
2112
- ), op = Te(Qe, "valueText", { forwardAsChild: !0 }), rp = Vd, sP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2113
- __proto__: null,
2114
- Context: rp,
2115
- Label: Kd,
2116
- PropsProvider: Jd,
2117
- Range: tp,
2118
- Root: Zd,
2119
- RootProvider: Xd,
2120
- Track: ep,
2121
- ValueText: op
2122
- }, Symbol.toStringTag, { value: "Module" })), [Lr, me] = x({
2123
- name: "QrCodeContext",
2124
- hookName: "useQrCodeContext",
2125
- providerName: "<QrCodeProvider />"
2126
- }), np = (e) => e.children(me()), Ur = a((e, t) => {
2127
- const [o, r] = g()(e, [
2128
- "fileName",
2129
- "mimeType",
2130
- "quality"
2131
- ]), n = me(), i = d(n.getDownloadTriggerProps(o), r);
2132
- return /* @__PURE__ */ s.jsx(l.button, { ...i, ref: t });
2133
- });
2134
- Ur.displayName = "QrCodeDownloadTrigger";
2135
- const Gr = a((e, t) => {
2136
- const o = me(), r = d(o.getFrameProps(), e);
2137
- return /* @__PURE__ */ s.jsx(l.svg, { ...r, ref: t });
2138
- });
2139
- Gr.displayName = "QrCodeFrame";
2140
- const zr = a((e, t) => {
2141
- const o = me(), r = d(o.getOverlayProps(), e);
2142
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2143
- });
2144
- zr.displayName = "QrCodeOverlay";
2145
- const Br = a((e, t) => {
2146
- const o = me(), r = d(o.getPatternProps(), e);
2147
- return /* @__PURE__ */ s.jsx(l.path, { ...r, ref: t });
2148
- });
2149
- Br.displayName = "QrCodePattern";
2150
- const sp = (e) => {
2151
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = {
2152
- id: t,
2153
- dir: r,
2154
- getRootNode: o,
2155
- ...e
2156
- }, i = k(ps, n);
2157
- return us(i, j);
2158
- }, Mr = a((e, t) => {
2159
- const [o, r] = g()(e, [
2160
- "defaultValue",
2161
- "encoding",
2162
- "id",
2163
- "ids",
2164
- "onValueChange",
2165
- "pixelSize",
2166
- "value"
2167
- ]), n = sp(o), i = d(n.getRootProps(), r);
2168
- return /* @__PURE__ */ s.jsx(Lr, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2169
- });
2170
- Mr.displayName = "QrcodeRoot";
2171
- const qr = a((e, t) => {
2172
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
2173
- return /* @__PURE__ */ s.jsx(Lr, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
2174
- });
2175
- qr.displayName = "QrCodeRootProvider";
2176
- const {
2177
- withProvider: Hr,
2178
- withContext: we,
2179
- PropsProvider: ip
2180
- } = b({ key: "qrCode" }), ap = Hr(
2181
- Mr,
2182
- "root",
2183
- { forwardAsChild: !0 }
2184
- ), lp = Hr(qr, "root", { forwardAsChild: !0 }), cp = ip, Qr = we(
2185
- Br,
2186
- "pattern",
2187
- { forwardAsChild: !0 }
2188
- ), dp = we(
2189
- Gr,
2190
- "frame",
2191
- {
2192
- forwardAsChild: !0,
2193
- defaultProps: { children: /* @__PURE__ */ s.jsx(Qr, {}) }
2194
- }
2195
- ), pp = we(
2196
- zr,
2197
- "overlay",
2198
- { forwardAsChild: !0 }
2199
- ), up = we(Ur, "downloadTrigger", { forwardAsChild: !0 }), iP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2200
- __proto__: null,
2201
- Context: np,
2202
- DownloadTrigger: up,
2203
- Frame: dp,
2204
- Overlay: pp,
2205
- Pattern: Qr,
2206
- PropsProvider: cp,
2207
- Root: ap,
2208
- RootProvider: lp
2209
- }, Symbol.toStringTag, { value: "Module" })), [Wr, se] = x({
2210
- name: "RatingGroupContext",
2211
- hookName: "useRatingGroupContext",
2212
- providerName: "<RatingGroupProvider />"
2213
- }), gp = (e) => e.children(se()), Yr = a((e, t) => {
2214
- const o = se(), r = d(o.getControlProps(), e);
2215
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2216
- });
2217
- Yr.displayName = "RatingGroupControl";
2218
- const Xr = a((e, t) => {
2219
- const o = se(), r = d(o.getHiddenInputProps(), e), n = D();
2220
- return /* @__PURE__ */ s.jsx(l.input, { "aria-describedby": n?.ariaDescribedby, ...r, ref: t });
2221
- });
2222
- Xr.displayName = "RatingGroupHiddenInput";
2223
- const [Pp, Zr] = x({
2224
- name: "RatingGroupItemContext",
2225
- hookName: "useRatingGroupItemContext",
2226
- providerName: "<RatingGroupItemProvider />"
2227
- }), Jr = a((e, t) => {
2228
- const [o, r] = g()(e, ["index"]), n = se(), i = d(n.getItemProps(o), r), c = n.getItemState(o);
2229
- return /* @__PURE__ */ s.jsx(Pp, { value: c, children: /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t }) });
2230
- });
2231
- Jr.displayName = "RatingGroupItem";
2232
- const mp = (e) => e.children(Zr()), Kr = a((e, t) => {
2233
- const o = se(), r = d(o.getLabelProps(), e);
2234
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
2235
- });
2236
- Kr.displayName = "RatingGroupLabel";
2237
- const Cp = (e) => {
2238
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = D(), i = {
2239
- id: t,
2240
- ids: {
2241
- label: n?.ids.label,
2242
- hiddenInput: n?.ids.control
2243
- },
2244
- dir: r,
2245
- disabled: n?.disabled,
2246
- readOnly: n?.readOnly,
2247
- required: n?.required,
2248
- getRootNode: o,
2249
- ...e
2250
- }, c = k(gs, i);
2251
- return Ps(c, j);
2252
- }, en = a((e, t) => {
2253
- const [o, r] = g()(e, [
2254
- "allowHalf",
2255
- "autoFocus",
2256
- "count",
2257
- "defaultValue",
2258
- "disabled",
2259
- "form",
2260
- "id",
2261
- "ids",
2262
- "name",
2263
- "onHoverChange",
2264
- "onValueChange",
2265
- "readOnly",
2266
- "required",
2267
- "translations",
2268
- "value"
2269
- ]), n = Cp(o), i = d(n.getRootProps(), r);
2270
- return /* @__PURE__ */ s.jsx(Wr, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2271
- });
2272
- en.displayName = "RatingGroupRoot";
2273
- const tn = a((e, t) => {
2274
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
2275
- return /* @__PURE__ */ s.jsx(Wr, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
2276
- });
2277
- tn.displayName = "RatingGroupRootProvider";
2278
- const {
2279
- withProvider: on,
2280
- withContext: We,
2281
- useStyles: rn,
2282
- PropsProvider: hp
2283
- } = b({ key: "ratingGroup" }), vp = on(tn, "root", { forwardAsChild: !0 }), xp = on(en, "root", { forwardAsChild: !0 }), bp = hp, fp = We(Kr, "label", { forwardAsChild: !0 }), nn = We(Jr, "item", { forwardAsChild: !0 });
2284
- function Je(e, t) {
2285
- if (!rt(e)) return null;
2286
- const o = { [`data-${t}`]: "", "aria-hidden": "" };
2287
- return js(e, o);
2288
- }
2289
- const sn = a(function(t, o) {
2290
- const { icon: r = /* @__PURE__ */ s.jsx(zs, {}), ...n } = t, i = rn(), c = Zr();
2291
- return /* @__PURE__ */ s.jsxs(
2292
- $.span,
2293
- {
2294
- ...n,
2295
- "data-highlighted": c.highlighted ? "" : void 0,
2296
- "data-checked": c.checked ? "" : void 0,
2297
- "data-half": c.half ? "" : void 0,
2298
- css: [i.itemIndicator, t.css],
2299
- ref: o,
2300
- children: [
2301
- Je(r, "bg"),
2302
- Je(r, "fg")
2303
- ]
2304
- }
2305
- );
2306
- }), an = (e) => {
2307
- const t = se();
2308
- return /* @__PURE__ */ s.jsx(ce, { each: t.items, children: (o) => /* @__PURE__ */ s.jsx(nn, { index: o, ...e, children: /* @__PURE__ */ s.jsx(sn, {}) }, o) });
2309
- }, Sp = We(Yr, "control", {
2310
- forwardAsChild: !0,
2311
- defaultProps: { children: /* @__PURE__ */ s.jsx(an, {}) }
2312
- }), yp = gp, Tp = mp, wp = Xr, aP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2313
- __proto__: null,
2314
- Context: yp,
2315
- Control: Sp,
2316
- HiddenInput: wp,
2317
- Item: nn,
2318
- ItemContext: Tp,
2319
- ItemIndicator: sn,
2320
- Items: an,
2321
- Label: fp,
2322
- PropsProvider: bp,
2323
- Root: xp,
2324
- RootProvider: vp,
2325
- useRatingGroupStyles: rn
2326
- }, Symbol.toStringTag, { value: "Module" })), { withContext: Ip } = Y({
2327
- key: "skeleton"
2328
- }), ln = Ip("div"), lP = et.forwardRef(function(t, o) {
2329
- const { size: r, ...n } = t;
2330
- return /* @__PURE__ */ s.jsx(Ai, { size: r, asChild: !0, ref: o, children: /* @__PURE__ */ s.jsx(ln, { ...n }) });
2331
- }), cP = et.forwardRef(
2332
- function(t, o) {
2333
- const { noOfLines: r = 3, gap: n, rootProps: i, ...c } = t;
2334
- return /* @__PURE__ */ s.jsx(ct, { gap: n, width: "full", ref: o, ...i, children: Array.from({ length: r }).map((p, u) => /* @__PURE__ */ s.jsx(
2335
- ln,
2336
- {
2337
- height: "4",
2338
- _last: { maxW: r === 1 ? "100%" : "80%" },
2339
- ...c
2340
- },
2341
- u
2342
- )) });
2343
- }
2344
- ), [cn, A] = x({
2345
- name: "SliderContext",
2346
- hookName: "useSliderContext",
2347
- providerName: "<SliderProvider />"
2348
- }), kp = (e) => e.children(A()), dn = a((e, t) => {
2349
- const o = A(), r = d(o.getControlProps(), e);
2350
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2351
- });
2352
- dn.displayName = "SliderControl";
2353
- const [jp, pn] = x({
2354
- name: "SliderThumbPropsContext",
2355
- hookName: "useSliderThumbPropsContext",
2356
- providerName: "<SliderThumbPropsProvider />"
2357
- }), un = a((e, t) => {
2358
- const o = A(), { index: r } = pn(), n = d(o.getDraggingIndicatorProps({ index: r }), e);
2359
- return /* @__PURE__ */ s.jsx(l.span, { ...n, ref: t, children: e.children || o.getThumbValue(r) });
2360
- });
2361
- un.displayName = "SliderDraggingIndicator";
2362
- const gn = a((e, t) => {
2363
- const o = A(), r = pn(), n = d(o.getHiddenInputProps(r), e);
2364
- return /* @__PURE__ */ s.jsx(l.input, { ...n, ref: t });
2365
- });
2366
- gn.displayName = "SliderHiddenInput";
2367
- const Pn = a((e, t) => {
2368
- const o = A(), r = d(o.getLabelProps(), e);
2369
- return /* @__PURE__ */ s.jsx(l.label, { ...r, ref: t });
2370
- });
2371
- Pn.displayName = "SliderLabel";
2372
- const mn = a((e, t) => {
2373
- const [o, r] = g()(e, ["value"]), n = A(), i = d(n.getMarkerProps(o), r);
2374
- return /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t });
2375
- });
2376
- mn.displayName = "SliderMarker";
2377
- const Cn = a((e, t) => {
2378
- const o = A(), r = d(o.getMarkerGroupProps(), e);
2379
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2380
- });
2381
- Cn.displayName = "SliderMarkerGroup";
2382
- const hn = a((e, t) => {
2383
- const o = A(), r = d(o.getRangeProps(), e);
2384
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2385
- });
2386
- hn.displayName = "SliderRange";
2387
- const $p = (e) => {
2388
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = {
2389
- id: t,
2390
- dir: r,
2391
- getRootNode: o,
2392
- ...e
2393
- }, i = k(ms, n);
2394
- return Cs(i, j);
2395
- }, vn = a((e, t) => {
2396
- const [o, r] = g()(e, [
2397
- "aria-label",
2398
- "aria-labelledby",
2399
- "defaultValue",
2400
- "disabled",
2401
- "form",
2402
- "getAriaValueText",
2403
- "id",
2404
- "ids",
2405
- "invalid",
2406
- "max",
2407
- "min",
2408
- "minStepsBetweenThumbs",
2409
- "name",
2410
- "onFocusChange",
2411
- "onValueChange",
2412
- "onValueChangeEnd",
2413
- "orientation",
2414
- "origin",
2415
- "readOnly",
2416
- "step",
2417
- "thumbAlignment",
2418
- "thumbAlignment",
2419
- "thumbSize",
2420
- "value"
2421
- ]), n = $p(o), i = d(n.getRootProps(), r);
2422
- return /* @__PURE__ */ s.jsx(cn, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2423
- });
2424
- vn.displayName = "SliderRoot";
2425
- const xn = a((e, t) => {
2426
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
2427
- return /* @__PURE__ */ s.jsx(cn, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t }) });
2428
- });
2429
- xn.displayName = "SliderRootProvider";
2430
- const bn = a((e, t) => {
2431
- const [o, r] = g()(e, ["index", "name"]), n = A(), i = d(n.getThumbProps(o), r);
2432
- return /* @__PURE__ */ s.jsx(jp, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2433
- });
2434
- bn.displayName = "SliderThumb";
2435
- const fn = a((e, t) => {
2436
- const o = A(), r = d(o.getTrackProps(), e);
2437
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2438
- });
2439
- fn.displayName = "SliderTrack";
2440
- const Sn = a((e, t) => {
2441
- const { children: o, ...r } = e, n = A(), i = d(n.getValueTextProps(), r);
2442
- return /* @__PURE__ */ s.jsx(l.span, { ...i, ref: t, children: o || n.value.join(", ") });
2443
- });
2444
- Sn.displayName = "SliderValueText";
2445
- const {
2446
- withProvider: yn,
2447
- withContext: L,
2448
- PropsProvider: Rp
2449
- } = b({ key: "slider" }), Np = yn(xn, "root", { forwardAsChild: !0 }), Ap = yn(
2450
- vn,
2451
- "root",
2452
- { forwardAsChild: !0 }
2453
- ), Ep = Rp, Fp = L(
2454
- fn,
2455
- "track",
2456
- { forwardAsChild: !0 }
2457
- ), _p = L(
2458
- hn,
2459
- "range",
2460
- { forwardAsChild: !0 }
2461
- ), Tn = L(
2462
- bn,
2463
- "thumb",
2464
- { forwardAsChild: !0 }
2465
- ), Op = L(Sn, "valueText", { forwardAsChild: !0 }), Dp = L(
2466
- Pn,
2467
- "label",
2468
- { forwardAsChild: !0 }
2469
- ), wn = L(Cn, "markerGroup", { forwardAsChild: !0 }), In = L(
2470
- mn,
2471
- "marker",
2472
- { forwardAsChild: !0 }
2473
- ), kn = L("div", "markerIndicator"), Vp = L(un, "draggingIndicator", { forwardAsChild: !0 }), Lp = (e) => {
2474
- const t = A();
2475
- return /* @__PURE__ */ s.jsx(ce, { each: t.value, children: (o, r) => /* @__PURE__ */ s.jsx(Tn, { index: r, ...e, children: /* @__PURE__ */ s.jsx(jn, {}) }, r) });
2476
- }, Up = a(
2477
- function(t, o) {
2478
- const { marks: r, ...n } = t;
2479
- return r?.length ? /* @__PURE__ */ s.jsx(wn, { ref: o, ...n, children: r.map((i, c) => {
2480
- const p = typeof i == "number" ? i : i.value, u = typeof i == "number" ? void 0 : i.label;
2481
- return /* @__PURE__ */ s.jsxs(In, { value: p, children: [
2482
- /* @__PURE__ */ s.jsx(kn, {}),
2483
- u != null && /* @__PURE__ */ s.jsx("span", { className: "chakra-slider__marker-label", children: u })
2484
- ] }, c);
2485
- }) }) : null;
2486
- }
2487
- ), Gp = L(
2488
- dn,
2489
- "control",
2490
- { forwardAsChild: !0 }
2491
- ), zp = kp, jn = gn, dP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2492
- __proto__: null,
2493
- Context: zp,
2494
- Control: Gp,
2495
- DraggingIndicator: Vp,
2496
- HiddenInput: jn,
2497
- Label: Dp,
2498
- Marker: In,
2499
- MarkerGroup: wn,
2500
- MarkerIndicator: kn,
2501
- Marks: Up,
2502
- PropsProvider: Ep,
2503
- Range: _p,
2504
- Root: Ap,
2505
- RootProvider: Np,
2506
- Thumb: Tn,
2507
- Thumbs: Lp,
2508
- Track: Fp,
2509
- ValueText: Op
2510
- }, Symbol.toStringTag, { value: "Module" })), {
2511
- withProvider: Bp,
2512
- withContext: ie,
2513
- PropsProvider: $n
2514
- } = b({ key: "stat" }), Mp = Bp(
2515
- "dl",
2516
- "root"
2517
- ), qp = $n, Hp = ie("dt", "label"), Qp = ie(
2518
- "dd",
2519
- "valueText"
2520
- ), Wp = ie(
2521
- "span",
2522
- "helpText"
2523
- ), Yp = ie(
2524
- "span",
2525
- "valueUnit"
2526
- ), Xp = ie(
2527
- "span",
2528
- "indicator",
2529
- {
2530
- defaultProps: {
2531
- "data-type": "up",
2532
- children: /* @__PURE__ */ s.jsx(Ms, {})
2533
- }
2534
- }
2535
- ), Zp = ie("span", "indicator", {
2536
- defaultProps: {
2537
- "data-type": "down",
2538
- children: /* @__PURE__ */ s.jsx(Bs, {})
2539
- }
2540
- });
2541
- a(
2542
- function(t, o) {
2543
- const r = ji({ key: "stat" }), [n, i] = X(
2544
- () => r.splitVariantProps(t),
2545
- [t, r]
2546
- );
2547
- return /* @__PURE__ */ s.jsx($n, { value: n, children: /* @__PURE__ */ s.jsx(
2548
- $.div,
2549
- {
2550
- ref: o,
2551
- role: "group",
2552
- display: "flex",
2553
- flexWrap: "wrap",
2554
- justifyContent: "space-around",
2555
- alignItems: "flex-start",
2556
- ...i
2557
- }
2558
- ) });
2559
- }
2560
- );
2561
- const pP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2562
- __proto__: null,
2563
- DownIndicator: Zp,
2564
- HelpText: Wp,
2565
- Label: Hp,
2566
- PropsProvider: qp,
2567
- Root: Mp,
2568
- UpIndicator: Xp,
2569
- ValueText: Qp,
2570
- ValueUnit: Yp
2571
- }, Symbol.toStringTag, { value: "Module" })), {
2572
- withProvider: Jp,
2573
- withContext: Kp,
2574
- PropsProvider: eu
2575
- } = b({ key: "status" }), tu = Jp(
2576
- "div",
2577
- "root"
2578
- ), ou = eu, ru = Kp("div", "indicator"), uP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2579
- __proto__: null,
2580
- Indicator: ru,
2581
- PropsProvider: ou,
2582
- Root: tu
2583
- }, Symbol.toStringTag, { value: "Module" })), [Rn, U] = x({
2584
- name: "StepsContext",
2585
- hookName: "useStepsContext",
2586
- providerName: "<StepsProvider />"
2587
- }), Nn = a((e, t) => {
2588
- const o = U(), r = d(o.getContentProps({ index: o.count }), e);
2589
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2590
- });
2591
- Nn.displayName = "StepsCompletedContent";
2592
- const An = a((e, t) => {
2593
- const [o, r] = g()(e, ["index"]), n = U(), i = d(n.getContentProps(o), r);
2594
- return /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t });
2595
- });
2596
- An.displayName = "StepsContent";
2597
- const En = (e) => {
2598
- const t = U();
2599
- return e.children(t);
2600
- };
2601
- En.displayName = "StepsContext";
2602
- const [nu, Ye] = x({
2603
- name: "StepsItemPropsContext",
2604
- hookName: "useStepsItemPropsContext",
2605
- providerName: "<StepsItemPropsProvider />"
2606
- }), Fn = a((e, t) => {
2607
- const o = U(), r = Ye(), n = d(o.getIndicatorProps(r), e);
2608
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
2609
- });
2610
- Fn.displayName = "StepsIndicator";
2611
- const [su, iu] = x({
2612
- name: "StepsItemContext",
2613
- hookName: "useStepsItemContext",
2614
- providerName: "<StepsItem />"
2615
- }), _n = a((e, t) => {
2616
- const [o, r] = g()(e, ["index"]), n = U(), i = d(n.getItemProps(o), r), c = n.getItemState(o);
2617
- return /* @__PURE__ */ s.jsx(nu, { value: o, children: /* @__PURE__ */ s.jsx(su, { value: c, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) }) });
2618
- });
2619
- _n.displayName = "StepsItem";
2620
- const Ie = (e) => e.children(iu());
2621
- Ie.displayName = "StepsItemContext";
2622
- const On = a((e, t) => {
2623
- const o = U(), r = d(o.getListProps(), e);
2624
- return /* @__PURE__ */ s.jsx(l.div, { ...r, ref: t });
2625
- });
2626
- On.displayName = "StepsList";
2627
- const Dn = a((e, t) => {
2628
- const o = U(), r = d(o.getNextTriggerProps(), e);
2629
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
2630
- });
2631
- Dn.displayName = "StepsNextTrigger";
2632
- const Vn = a((e, t) => {
2633
- const o = U(), r = d(o.getPrevTriggerProps(), e);
2634
- return /* @__PURE__ */ s.jsx(l.button, { ...r, ref: t });
2635
- });
2636
- Vn.displayName = "StepsPrevTrigger";
2637
- var au = Fe("steps").parts(
2638
- "root",
2639
- "list",
2640
- "item",
2641
- "trigger",
2642
- "indicator",
2643
- "separator",
2644
- "content",
2645
- "nextTrigger",
2646
- "prevTrigger",
2647
- "progress"
2648
- ), O = au.build(), lu = (e) => e.ids?.root ?? `steps:${e.id}`, cu = (e) => e.ids?.list ?? `steps:${e.id}:list`, Ke = (e, t) => e.ids?.triggerId?.(t) ?? `steps:${e.id}:trigger:${t}`, du = (e, t) => e.ids?.contentId?.(t) ?? `steps:${e.id}:content:${t}`;
2649
- function pu(e, t) {
2650
- const { context: o, send: r, computed: n, prop: i, scope: c } = e, p = o.get("step"), u = i("count"), P = n("percent"), S = n("hasNextStep"), E = n("hasPrevStep"), G = (m) => ({
2651
- triggerId: Ke(c, m.index),
2652
- contentId: du(c, m.index),
2653
- current: m.index === p,
2654
- completed: m.index < p,
2655
- incomplete: m.index > p,
2656
- index: m.index,
2657
- first: m.index === 0,
2658
- last: m.index === u - 1
2659
- }), F = () => {
2660
- r({ type: "STEP.NEXT", src: "next.trigger.click" });
2661
- }, ke = () => {
2662
- r({ type: "STEP.PREV", src: "prev.trigger.click" });
2663
- }, ae = () => {
2664
- r({ type: "STEP.RESET", src: "reset.trigger.click" });
2665
- }, Ce = (m) => {
2666
- r({ type: "STEP.SET", value: m, src: "api.setValue" });
2667
- };
2668
- return {
2669
- value: p,
2670
- count: u,
2671
- percent: P,
2672
- hasNextStep: S,
2673
- hasPrevStep: E,
2674
- isCompleted: n("completed"),
2675
- goToNextStep: F,
2676
- goToPrevStep: ke,
2677
- resetStep: ae,
2678
- getItemState: G,
2679
- setStep: Ce,
2680
- getRootProps() {
2681
- return t.element({
2682
- ...O.root.attrs,
2683
- id: lu(c),
2684
- dir: i("dir"),
2685
- "data-orientation": i("orientation"),
2686
- style: {
2687
- "--percent": `${P}%`
2688
- }
2689
- });
2690
- },
2691
- getListProps() {
2692
- const h = ys(u).map((N, Q) => Ke(c, Q));
2693
- return t.element({
2694
- ...O.list.attrs,
2695
- dir: i("dir"),
2696
- id: cu(c),
2697
- role: "tablist",
2698
- "aria-owns": h.join(" "),
2699
- "aria-orientation": i("orientation"),
2700
- "data-orientation": i("orientation")
2701
- });
2702
- },
2703
- getItemProps(m) {
2704
- const h = G(m);
2705
- return t.element({
2706
- ...O.item.attrs,
2707
- dir: i("dir"),
2708
- "aria-current": h.current ? "step" : void 0,
2709
- "data-orientation": i("orientation")
2710
- });
2711
- },
2712
- getTriggerProps(m) {
2713
- const h = G(m);
2714
- return t.button({
2715
- ...O.trigger.attrs,
2716
- id: h.triggerId,
2717
- role: "tab",
2718
- dir: i("dir"),
2719
- tabIndex: !i("linear") || h.current ? 0 : -1,
2720
- "aria-selected": h.current,
2721
- "aria-controls": h.contentId,
2722
- "data-state": h.current ? "open" : "closed",
2723
- "data-orientation": i("orientation"),
2724
- "data-complete": f(h.completed),
2725
- "data-current": f(h.current),
2726
- "data-incomplete": f(h.incomplete),
2727
- onClick(N) {
2728
- N.defaultPrevented || i("linear") || r({ type: "STEP.SET", value: m.index, src: "trigger.click" });
2729
- }
2730
- });
2731
- },
2732
- getContentProps(m) {
2733
- const h = G(m);
2734
- return t.element({
2735
- ...O.content.attrs,
2736
- dir: i("dir"),
2737
- id: h.contentId,
2738
- role: "tabpanel",
2739
- tabIndex: 0,
2740
- hidden: !h.current,
2741
- "data-state": h.current ? "open" : "closed",
2742
- "data-orientation": i("orientation"),
2743
- "aria-labelledby": h.triggerId
2744
- });
2745
- },
2746
- getIndicatorProps(m) {
2747
- const h = G(m);
2748
- return t.element({
2749
- ...O.indicator.attrs,
2750
- dir: i("dir"),
2751
- "aria-hidden": !0,
2752
- "data-complete": f(h.completed),
2753
- "data-current": f(h.current),
2754
- "data-incomplete": f(h.incomplete)
2755
- });
2756
- },
2757
- getSeparatorProps(m) {
2758
- const h = G(m);
2759
- return t.element({
2760
- ...O.separator.attrs,
2761
- dir: i("dir"),
2762
- "data-orientation": i("orientation"),
2763
- "data-complete": f(h.completed),
2764
- "data-current": f(h.current),
2765
- "data-incomplete": f(h.incomplete)
2766
- });
2767
- },
2768
- getNextTriggerProps() {
2769
- return t.button({
2770
- ...O.nextTrigger.attrs,
2771
- dir: i("dir"),
2772
- type: "button",
2773
- disabled: !S,
2774
- onClick(m) {
2775
- m.defaultPrevented || F();
2776
- }
2777
- });
2778
- },
2779
- getPrevTriggerProps() {
2780
- return t.button({
2781
- dir: i("dir"),
2782
- ...O.prevTrigger.attrs,
2783
- type: "button",
2784
- disabled: !E,
2785
- onClick(m) {
2786
- m.defaultPrevented || ke();
2787
- }
2788
- });
2789
- },
2790
- getProgressProps() {
2791
- return t.element({
2792
- dir: i("dir"),
2793
- ...O.progress.attrs,
2794
- role: "progressbar",
2795
- "aria-valuenow": P,
2796
- "aria-valuemin": 0,
2797
- "aria-valuemax": 100,
2798
- "aria-valuetext": `${P}% complete`,
2799
- "data-complete": f(P === 100)
2800
- });
2801
- }
2802
- };
2803
- }
2804
- var uu = Ee({
2805
- props({ props: e }) {
2806
- return {
2807
- defaultStep: 0,
2808
- count: 1,
2809
- linear: !1,
2810
- orientation: "horizontal",
2811
- ...e
2812
- };
2813
- },
2814
- context({ prop: e, bindable: t }) {
2815
- return {
2816
- step: t(() => ({
2817
- defaultValue: e("defaultStep"),
2818
- value: e("step"),
2819
- onChange(o) {
2820
- e("onStepChange")?.({ step: o }), o == e("count") && e("onStepComplete")?.();
2821
- }
2822
- }))
2823
- };
2824
- },
2825
- computed: {
2826
- percent: ({ context: e, prop: t }) => e.get("step") / t("count") * 100,
2827
- hasNextStep: ({ context: e, prop: t }) => e.get("step") < t("count"),
2828
- hasPrevStep: ({ context: e }) => e.get("step") > 0,
2829
- completed: ({ context: e, prop: t }) => e.get("step") === t("count")
2830
- },
2831
- initialState() {
2832
- return "idle";
2833
- },
2834
- entry: ["validateStep"],
2835
- states: {
2836
- idle: {
2837
- on: {
2838
- "STEP.SET": {
2839
- actions: ["setStep"]
2840
- },
2841
- "STEP.NEXT": {
2842
- actions: ["goToNextStep"]
2843
- },
2844
- "STEP.PREV": {
2845
- actions: ["goToPrevStep"]
2846
- },
2847
- "STEP.RESET": {
2848
- actions: ["resetStep"]
2849
- }
2850
- }
2851
- }
2852
- },
2853
- implementations: {
2854
- actions: {
2855
- goToNextStep({ context: e, prop: t }) {
2856
- const o = Math.min(e.get("step") + 1, t("count"));
2857
- e.set("step", o);
2858
- },
2859
- goToPrevStep({ context: e }) {
2860
- const t = Math.max(e.get("step") - 1, 0);
2861
- e.set("step", t);
2862
- },
2863
- resetStep({ context: e }) {
2864
- e.set("step", 0);
2865
- },
2866
- setStep({ context: e, event: t }) {
2867
- e.set("step", t.value);
2868
- },
2869
- validateStep({ context: e, prop: t }) {
2870
- gu(t("count"), e.get("step"));
2871
- }
2872
- }
2873
- }
2874
- }), gu = (e, t) => {
2875
- if (!Ts(t, 0, e))
2876
- throw new RangeError(`[zag-js/steps] step index ${t} is out of bounds`);
2877
- };
2878
- oe()([
2879
- "count",
2880
- "dir",
2881
- "getRootNode",
2882
- "id",
2883
- "ids",
2884
- "linear",
2885
- "onStepChange",
2886
- "onStepComplete",
2887
- "orientation",
2888
- "step",
2889
- "defaultStep"
2890
- ]);
2891
- function Pu(e) {
2892
- const t = I(), { getRootNode: o } = w(), { dir: r } = y(), n = {
2893
- id: t,
2894
- dir: r,
2895
- getRootNode: o,
2896
- ...e
2897
- }, i = k(uu, n);
2898
- return pu(i, j);
2899
- }
2900
- const Ln = a((e, t) => {
2901
- const [o, r] = g()(e, [
2902
- "defaultStep",
2903
- "id",
2904
- "ids",
2905
- "count",
2906
- "linear",
2907
- "onStepChange",
2908
- "onStepComplete",
2909
- "orientation",
2910
- "step"
2911
- ]), n = Pu(o), i = d(n.getRootProps(), r);
2912
- return /* @__PURE__ */ s.jsx(Rn, { value: n, children: /* @__PURE__ */ s.jsx(l.div, { ...i, ref: t }) });
2913
- });
2914
- Ln.displayName = "StepsRoot";
2915
- const Un = a((e, t) => {
2916
- const [{ value: o }, r] = g()(e, ["value"]), n = d(o.getRootProps(), r);
2917
- return /* @__PURE__ */ s.jsx(Rn, { value: o, children: /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t, children: e.children }) });
2918
- });
2919
- Un.displayName = "StepsRootProvider";
2920
- const Gn = a((e, t) => {
2921
- const o = U(), r = Ye(), n = d(o.getSeparatorProps(r), e);
2922
- return /* @__PURE__ */ s.jsx(l.div, { ...n, ref: t });
2923
- });
2924
- Gn.displayName = "StepsSeparator";
2925
- const zn = a((e, t) => {
2926
- const o = U(), r = Ye(), n = d(o.getTriggerProps(r), e);
2927
- return /* @__PURE__ */ s.jsx(l.button, { ...n, ref: t });
2928
- });
2929
- zn.displayName = "StepsTrigger";
2930
- const {
2931
- withProvider: Bn,
2932
- withContext: _,
2933
- PropsProvider: mu
2934
- } = b({ key: "steps" }), Cu = Bn(Un, "root", { forwardAsChild: !0 }), hu = Bn(
2935
- Ln,
2936
- "root",
2937
- { forwardAsChild: !0 }
2938
- ), vu = mu, xu = _(
2939
- On,
2940
- "list",
2941
- { forwardAsChild: !0 }
2942
- ), bu = _(
2943
- _n,
2944
- "item",
2945
- { forwardAsChild: !0 }
2946
- ), fu = _(
2947
- zn,
2948
- "trigger",
2949
- { forwardAsChild: !0 }
2950
- ), Su = _(
2951
- An,
2952
- "content",
2953
- { forwardAsChild: !0 }
2954
- ), yu = _(Nn, "content"), Mn = a(
2955
- function(t, o) {
2956
- return /* @__PURE__ */ s.jsx(Ie, { children: (r) => /* @__PURE__ */ s.jsx($.div, { ref: o, ...t, children: r.index + 1 }) });
2957
- }
2958
- ), Tu = _(
2959
- "div",
2960
- "title"
2961
- ), wu = _("div", "description"), Iu = _(
2962
- Gn,
2963
- "separator",
2964
- { forwardAsChild: !0 }
2965
- ), qn = (e) => /* @__PURE__ */ s.jsx(Ie, { children: (t) => t.current ? /* @__PURE__ */ s.jsx(s.Fragment, { children: e.current ?? e.incomplete }) : t.completed ? /* @__PURE__ */ s.jsx(s.Fragment, { children: e.complete }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: e.incomplete ?? e.current }) }), ku = _(
2966
- Fn,
2967
- "indicator",
2968
- {
2969
- forwardAsChild: !0,
2970
- defaultProps: {
2971
- children: /* @__PURE__ */ s.jsx(qn, { complete: /* @__PURE__ */ s.jsx(pt, {}), incomplete: /* @__PURE__ */ s.jsx(Mn, {}) })
2972
- }
2973
- }
2974
- ), ju = _(Dn, "nextTrigger", { forwardAsChild: !0 }), $u = _(Vn, "prevTrigger", { forwardAsChild: !0 }), Ru = En, Nu = Ie, gP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2975
- __proto__: null,
2976
- CompletedContent: yu,
2977
- Content: Su,
2978
- Context: Ru,
2979
- Description: wu,
2980
- Indicator: ku,
2981
- Item: bu,
2982
- ItemContext: Nu,
2983
- List: xu,
2984
- NextTrigger: ju,
2985
- Number: Mn,
2986
- PrevTrigger: $u,
2987
- PropsProvider: vu,
2988
- Root: hu,
2989
- RootProvider: Cu,
2990
- Separator: Iu,
2991
- Status: qn,
2992
- Title: Tu,
2993
- Trigger: fu
2994
- }, Symbol.toStringTag, { value: "Module" })), {
2995
- StylesProvider: Au,
2996
- ClassNamesProvider: Eu,
2997
- useRecipeResult: Fu,
2998
- withContext: B,
2999
- PropsProvider: _u
3000
- } = b({ key: "table" }), Ou = a(
3001
- function({ native: t, ...o }, r) {
3002
- const { styles: n, props: i, classNames: c } = Fu(o), p = X(() => t ? {
3003
- ...n.root,
3004
- "& thead": n.header,
3005
- "& tbody": n.body,
3006
- "& tfoot": n.footer,
3007
- "& thead th": n.columnHeader,
3008
- "& tr": n.row,
3009
- "& td": n.cell,
3010
- "& caption": n.caption
3011
- } : n.root, [n, t]);
3012
- return /* @__PURE__ */ s.jsx(Eu, { value: c, children: /* @__PURE__ */ s.jsx(Au, { value: n, children: /* @__PURE__ */ s.jsx(
3013
- $.table,
3014
- {
3015
- ref: r,
3016
- ...i,
3017
- css: [p, o.css],
3018
- className: be(c?.root, o.className)
3019
- }
3020
- ) }) });
3021
- }
3022
- ), Du = _u, Vu = B(
3023
- "tr",
3024
- "row"
3025
- ), Lu = $("div", {
3026
- base: {
3027
- display: "block",
3028
- whiteSpace: "nowrap",
3029
- WebkitOverflowScrolling: "touch",
3030
- overflow: "auto",
3031
- maxWidth: "100%"
3032
- }
3033
- }), Uu = B("thead", "header"), Gu = B("tfoot", "footer"), zu = B("th", "columnHeader"), Bu = B(
3034
- "td",
3035
- "cell"
3036
- ), Mu = B("caption", "caption", {
3037
- defaultProps: {
3038
- captionSide: "bottom"
3039
- }
3040
- }), qu = B(
3041
- "tbody",
3042
- "body"
3043
- ), Hu = B("colgroup"), Qu = B(
3044
- "col"
3045
- ), PP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3046
- __proto__: null,
3047
- Body: qu,
3048
- Caption: Mu,
3049
- Cell: Bu,
3050
- Column: Qu,
3051
- ColumnGroup: Hu,
3052
- ColumnHeader: zu,
3053
- Footer: Gu,
3054
- Header: Uu,
3055
- Root: Ou,
3056
- RootPropsProvider: Du,
3057
- Row: Vu,
3058
- ScrollArea: Lu
3059
- }, Symbol.toStringTag, { value: "Module" })), {
3060
- withProvider: Wu,
3061
- withContext: ee,
3062
- PropsProvider: Yu
3063
- } = b({ key: "timeline" }), Xu = Wu(
3064
- "div",
3065
- "root",
3066
- { defaultProps: { role: "list" } }
3067
- ), Zu = Yu, Ju = ee(
3068
- "div",
3069
- "item",
3070
- { defaultProps: { role: "listitem" } }
3071
- ), Ku = ee("div", "separator"), eg = ee("div", "indicator"), tg = ee("div", "content"), og = ee(
3072
- "div",
3073
- "title"
3074
- ), rg = ee("div", "description"), ng = ee("div", "connector"), mP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3075
- __proto__: null,
3076
- Connector: ng,
3077
- Content: tg,
3078
- Description: rg,
3079
- Indicator: eg,
3080
- Item: Ju,
3081
- Root: Xu,
3082
- RootPropsProvider: Zu,
3083
- Separator: Ku,
3084
- Title: og
3085
- }, Symbol.toStringTag, { value: "Module" })), Hn = a((e, t) => {
3086
- const { fileName: o, data: r, mimeType: n, ...i } = e, { getWindow: c } = w(), p = (P) => {
3087
- hs({ file: P, name: o, type: n, win: c() });
3088
- }, u = (P) => {
3089
- if (e.onClick?.(P), !P.defaultPrevented)
3090
- if (ws(r)) {
3091
- const S = r();
3092
- S instanceof Promise ? S.then((E) => p(E)) : p(S);
3093
- } else
3094
- p(r);
3095
- };
3096
- return /* @__PURE__ */ s.jsx(l.button, { ref: t, ...i, type: "button", onClick: u });
3097
- });
3098
- Hn.displayName = "DownloadTrigger";
3099
- const { withContext: sg } = Y({ key: "downloadTrigger" }), CP = sg(Hn, { forwardAsChild: !0 });
3100
- function ig(e) {
3101
- const { when: t, fallback: o, children: r } = e;
3102
- let n;
3103
- return t ? n = typeof r == "function" ? r(t) : r : n = o, rt(n) ? n : /* @__PURE__ */ s.jsx(s.Fragment, { children: n });
3104
- }
3105
- const hP = (e) => {
3106
- const { children: t, fallback: o } = e, [r, n] = _e(!1);
3107
- return ot(() => {
3108
- n(!0);
3109
- }, []), /* @__PURE__ */ s.jsx(ig, { when: r, fallback: o, children: t });
3110
- }, Qn = (e) => {
3111
- const { locale: t } = y(), o = X(() => {
3112
- const { value: r, ...n } = e;
3113
- return vs(r, t, n);
3114
- }, [e, t]);
3115
- return /* @__PURE__ */ s.jsx(s.Fragment, { children: o });
3116
- };
3117
- Qn.displayName = "FormatByte";
3118
- const Wn = (e) => {
3119
- const { locale: t } = y(), o = X(() => {
3120
- const { value: r, ...n } = e;
3121
- return xs(r, t, n);
3122
- }, [e, t]);
3123
- return /* @__PURE__ */ s.jsx(s.Fragment, { children: o });
3124
- };
3125
- Wn.displayName = "FormatNumber";
3126
- const vP = Wn, xP = Qn, Yn = a((e, t) => {
3127
- const [o, r] = Oe(e), n = De(o);
3128
- return n.unmounted ? null : /* @__PURE__ */ s.jsx(
3129
- l.div,
3130
- {
3131
- ...r,
3132
- ...n.getPresenceProps(),
3133
- "data-scope": "presence",
3134
- "data-part": "root",
3135
- ref: st(n.ref, t)
3136
- }
3137
- );
3138
- });
3139
- Yn.displayName = "Presence";
3140
- const bP = $(Yn), ag = {
3141
- border: "0",
3142
- clip: "rect(0, 0, 0, 0)",
3143
- height: "1px",
3144
- width: "1px",
3145
- margin: "-1px",
3146
- padding: "0",
3147
- overflow: "hidden",
3148
- whiteSpace: "nowrap",
3149
- position: "absolute"
3150
- }, lg = $("span", {
3151
- base: ag
3152
- });
3153
- lg.displayName = "VisuallyHidden";
3154
- function fP(e) {
3155
- const t = tt(null);
3156
- return t.current === null && (t.current = typeof e == "function" ? e() : e), t.current;
3157
- }
3158
- function SP(e = {}) {
3159
- const t = Ze(e.onOpen), o = Ze(e.onClose), [r, n] = _e(e.defaultOpen || !1), i = e.open !== void 0 ? e.open : r, c = e.open !== void 0, p = je(() => {
3160
- c || n(!1), o?.();
3161
- }, [c, o]), u = je(() => {
3162
- c || n(!0), t?.();
3163
- }, [c, t]), P = je(() => {
3164
- i ? p() : u();
3165
- }, [i, u, p]);
3166
- return {
3167
- open: i,
3168
- onOpen: u,
3169
- onClose: p,
3170
- onToggle: P,
3171
- setOpen: n
3172
- };
3173
- }
3174
- export {
3175
- Mg as Accordion,
3176
- qg as ActionBar,
3177
- Eg as AspectRatio,
3178
- Hg as Badge,
3179
- Fg as Bleed,
3180
- Dg as Blockquote,
3181
- lt as Box,
3182
- Qg as Breadcrumb,
3183
- OP as Center,
3184
- hP as ClientOnly,
3185
- Wg as Clipboard,
3186
- Vg as Code,
3187
- Yg as Collapsible,
3188
- Xg as ColorPicker,
3189
- _g as Container,
3190
- Zg as DataList,
3191
- Jg as Dialog,
3192
- CP as DownloadTrigger,
3193
- Kg as Drawer,
3194
- eP as Editable,
3195
- Ag as Em,
3196
- tP as FileUpload,
3197
- LP as Flex,
3198
- GP as Float,
3199
- ce as For,
3200
- xP as FormatByte,
3201
- vP as FormatNumber,
3202
- Ns as Grid,
3203
- DP as GridItem,
3204
- BP as Group,
3205
- qP as HStack,
3206
- Lg as Highlight,
3207
- Ug as Kbd,
3208
- zg as LinkBox,
3209
- Gg as LinkOverlay,
3210
- Bg as List,
3211
- Ri as Mark,
3212
- oP as NumberInput,
3213
- rP as Pagination,
3214
- kP as Portal,
3215
- bP as Presence,
3216
- sP as Progress,
3217
- nP as ProgressCircle,
3218
- iP as QrCode,
3219
- aP as RatingGroup,
3220
- ig as Show,
3221
- Og as SimpleGrid,
3222
- ln as Skeleton,
3223
- lP as SkeletonCircle,
3224
- cP as SkeletonText,
3225
- dP as Slider,
3226
- ct as Stack,
3227
- pP as Stat,
3228
- uP as Status,
3229
- gP as Steps,
3230
- PP as Table,
3231
- mP as Timeline,
3232
- QP as VStack,
3233
- lg as VisuallyHidden,
3234
- YP as Wrap,
3235
- XP as WrapItem,
3236
- wP as createSystem,
3237
- $P as defineConfig,
3238
- RP as defineRecipe,
3239
- NP as defineSemanticTokens,
3240
- AP as defineSlotRecipe,
3241
- EP as defineTokens,
3242
- FP as mergeConfigs,
3243
- JP as useBreakpointValue,
3244
- la as useCollapsible,
3245
- fP as useConst,
3246
- SP as useDisclosure,
3247
- KP as useMediaQuery,
3248
- tm as useRadioGroup,
3249
- rm as useRecipe,
3250
- ji as useSlotRecipe
3251
- };
3252
- //# sourceMappingURL=index.js.map