@televet/kibble-ui 4.0.0-beta.138 → 4.0.0-beta.14

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 (1176) 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-BE20YKDd.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-NLe7CBa6.js → chakra-BqBkjpvZ.js} +11462 -11483
  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-CzKj9SoH.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-CgLl4iQA.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-Lu4_Owvr.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-DVDFFBjs.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-DdjcEEg8.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-BjSs1wds.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-DTEvsQfh.js → withTruncation-C2xFKhgB.js} +27 -20
  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/esm/components/Alert/index.js +1 -1
  260. package/dist/esm/components/Avatar/index.js +2 -2
  261. package/dist/esm/components/AvatarGroup/index.js +1 -1
  262. package/dist/esm/components/Button/index.js +2 -2
  263. package/dist/esm/components/ButtonGroup/index.js +1 -1
  264. package/dist/esm/components/Card/index.js +4 -4
  265. package/dist/esm/components/Card/index.js.map +1 -1
  266. package/dist/esm/components/CharacterCounter/index.js +1 -1
  267. package/dist/esm/components/Checkbox/index.js +1 -1
  268. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  269. package/dist/esm/components/DatePicker/index.js +1 -1
  270. package/dist/esm/components/Heading/index.js +1 -1
  271. package/dist/esm/components/Icon/generated/index.js +1632 -401
  272. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  273. package/dist/esm/components/Icon/index.js +1 -1
  274. package/dist/esm/components/Link/index.js +1 -1
  275. package/dist/esm/components/Menu/index.js +1 -1
  276. package/dist/esm/components/Modal/index.js +1 -1
  277. package/dist/esm/components/NotificationCounter/index.js +9 -4
  278. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  279. package/dist/esm/components/Picture/index.js +16 -1
  280. package/dist/esm/components/Picture/index.js.map +1 -1
  281. package/dist/esm/components/Popover/index.js +2 -2
  282. package/dist/esm/components/RadioGroup/index.js +2 -4
  283. package/dist/esm/components/RatingDots/index.js +1 -1
  284. package/dist/esm/components/Select/index.js +1 -1
  285. package/dist/esm/components/SortableList/index.js +1 -1
  286. package/dist/esm/components/Spinner/index.js +1 -1
  287. package/dist/esm/components/Swatch/index.js +62 -3
  288. package/dist/esm/components/Swatch/index.js.map +1 -1
  289. package/dist/esm/components/Switch/index.js +1 -1
  290. package/dist/esm/components/Tabs/index.js +2 -4
  291. package/dist/esm/components/Tag/index.js +1 -1
  292. package/dist/esm/components/Text/index.js +1 -1
  293. package/dist/esm/components/TextInput/index.js +1 -1
  294. package/dist/esm/components/Textarea/index.js +1 -1
  295. package/dist/esm/components/TimePicker/index.js +1 -1
  296. package/dist/esm/components/TimeRange/index.js +1 -1
  297. package/dist/esm/components/Tooltip/index.js +1 -1
  298. package/dist/esm/components/index.js +94 -121
  299. package/dist/esm/components/index.js.map +1 -1
  300. package/dist/esm/hocs/index.js +35 -4
  301. package/dist/esm/hocs/index.js.map +1 -1
  302. package/dist/esm/hooks/index.js +17 -8
  303. package/dist/esm/hooks/index.js.map +1 -1
  304. package/dist/esm/index.js +104 -147
  305. package/dist/esm/index.js.map +1 -1
  306. package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
  307. package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
  308. package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
  309. package/dist/esm/patterns/Timestamp/index.js +5 -0
  310. package/dist/esm/patterns/index.js +13 -0
  311. package/dist/esm/patterns/index.js.map +1 -0
  312. package/dist/esm/shared/types/index.js +15 -6
  313. package/dist/esm/shared/types/index.js.map +1 -1
  314. package/dist/esm/theme/index.js +2610 -4
  315. package/dist/esm/theme/index.js.map +1 -1
  316. package/dist/esm/theme/semanticTokens/index.js +0 -2
  317. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  318. package/dist/esm/theme/tokens/colors/index.js.map +1 -1
  319. package/dist/types/components/Alert/alert.component.d.ts +13 -5
  320. package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
  321. package/dist/types/components/Alert/alert.records.d.ts +5 -0
  322. package/dist/types/components/Alert/alert.types.d.ts +1 -1
  323. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
  324. package/dist/types/components/Alert.d.ts +2 -0
  325. package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -2
  326. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  327. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
  328. package/dist/types/components/Avatar.d.ts +2 -0
  329. package/dist/types/components/AvatarGroup.d.ts +2 -0
  330. package/dist/types/components/Button/button.component.d.ts +3 -2
  331. package/dist/types/components/Button/button.recipe.d.ts +1 -1
  332. package/dist/types/components/Button/button.types.d.ts +2 -2
  333. package/dist/types/components/Button.d.ts +2 -0
  334. package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
  335. package/dist/types/components/ButtonGroup.d.ts +2 -0
  336. package/dist/types/components/Card/card.component.d.ts +1 -1
  337. package/dist/types/components/Card.d.ts +2 -0
  338. package/dist/types/components/CharacterCounter.d.ts +2 -0
  339. package/dist/types/components/Checkbox/checkbox.component.d.ts +3 -4
  340. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -9
  341. package/dist/types/components/Checkbox.d.ts +2 -0
  342. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
  343. package/dist/types/components/CheckboxGroup.d.ts +2 -0
  344. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
  345. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
  346. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  347. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
  348. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
  349. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
  350. package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
  351. package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
  352. package/dist/types/components/DatePicker.d.ts +2 -0
  353. package/dist/types/components/Heading/heading.component.d.ts +4 -4
  354. package/dist/types/components/Heading/heading.types.d.ts +1 -1
  355. package/dist/types/components/Heading.d.ts +2 -0
  356. package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
  357. package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
  358. package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
  359. package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
  360. package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
  361. package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
  362. package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
  363. package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
  364. package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
  365. package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
  366. package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
  367. package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
  368. package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
  369. package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
  370. package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
  371. package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
  372. package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
  373. package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
  374. package/dist/types/components/Icon/generated/Article.d.ts +1 -1
  375. package/dist/types/components/Icon/generated/Award.d.ts +1 -1
  376. package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
  377. package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
  378. package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
  379. package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
  380. package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
  381. package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
  382. package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
  383. package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
  384. package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
  385. package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
  386. package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
  387. package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
  388. package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
  389. package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
  390. package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
  391. package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
  392. package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
  393. package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
  394. package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
  395. package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
  396. package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
  397. package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
  398. package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
  399. package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
  400. package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
  401. package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
  402. package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
  403. package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
  404. package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
  405. package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
  406. package/dist/types/components/Icon/generated/Close.d.ts +1 -1
  407. package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
  408. package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
  409. package/dist/types/components/Icon/generated/Code.d.ts +1 -1
  410. package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
  411. package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
  412. package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
  413. package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
  414. package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
  415. package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
  416. package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
  417. package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
  418. package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
  419. package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
  420. package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
  421. package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
  422. package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
  423. package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
  424. package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
  425. package/dist/types/components/Icon/generated/Download.d.ts +1 -1
  426. package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
  427. package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
  428. package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
  429. package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
  430. package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
  431. package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
  432. package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
  433. package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
  434. package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
  435. package/dist/types/components/Icon/generated/Form.d.ts +1 -1
  436. package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
  437. package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
  438. package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
  439. package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
  440. package/dist/types/components/Icon/generated/Health.d.ts +1 -1
  441. package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
  442. package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
  443. package/dist/types/components/Icon/generated/House.d.ts +1 -1
  444. package/dist/types/components/Icon/generated/Image.d.ts +1 -1
  445. package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
  446. package/dist/types/components/Icon/generated/Input.d.ts +1 -1
  447. package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
  448. package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
  449. package/dist/types/components/Icon/generated/List.d.ts +1 -1
  450. package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
  451. package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
  452. package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
  453. package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
  454. package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
  455. package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
  456. package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
  457. package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
  458. package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
  459. package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
  460. package/dist/types/components/Icon/generated/Message.d.ts +1 -1
  461. package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
  462. package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
  463. package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
  464. package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
  465. package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
  466. package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
  467. package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
  468. package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
  469. package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
  470. package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
  471. package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
  472. package/dist/types/components/Icon/generated/Package.d.ts +1 -1
  473. package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
  474. package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
  475. package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
  476. package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
  477. package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
  478. package/dist/types/components/Icon/generated/Person.d.ts +1 -1
  479. package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
  480. package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
  481. package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
  482. package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
  483. package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
  484. package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
  485. package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
  486. package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
  487. package/dist/types/components/Icon/generated/Play.d.ts +1 -1
  488. package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
  489. package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
  490. package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
  491. package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
  492. package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
  493. package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
  494. package/dist/types/components/Icon/generated/Record.d.ts +1 -1
  495. package/dist/types/components/Icon/generated/Report.d.ts +1 -1
  496. package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
  497. package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
  498. package/dist/types/components/Icon/generated/Send.d.ts +1 -1
  499. package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
  500. package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
  501. package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
  502. package/dist/types/components/Icon/generated/Star.d.ts +1 -1
  503. package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
  504. package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
  505. package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
  506. package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
  507. package/dist/types/components/Icon/generated/Support.d.ts +1 -1
  508. package/dist/types/components/Icon/generated/Table.d.ts +1 -1
  509. package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
  510. package/dist/types/components/Icon/generated/Target.d.ts +1 -1
  511. package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
  512. package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
  513. package/dist/types/components/Icon/generated/Team.d.ts +1 -1
  514. package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
  515. package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
  516. package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
  517. package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
  518. package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
  519. package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
  520. package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
  521. package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
  522. package/dist/types/components/Icon/generated/Website.d.ts +1 -1
  523. package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
  524. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  525. package/dist/types/components/Icon/generated.d.ts +2 -0
  526. package/dist/types/components/Icon/icon.component.d.ts +3 -2
  527. package/dist/types/components/Icon.d.ts +2 -0
  528. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
  529. package/dist/types/components/Link.d.ts +2 -0
  530. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
  531. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +7 -8
  532. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
  533. package/dist/types/components/Menu/menu.component.d.ts +2 -2
  534. package/dist/types/components/Menu.d.ts +2 -0
  535. package/dist/types/components/Modal/modal.component.d.ts +1 -2
  536. package/dist/types/components/Modal/modal.recipe.d.ts +10 -2
  537. package/dist/types/components/Modal.d.ts +2 -0
  538. package/dist/types/components/NotificationCounter.d.ts +2 -0
  539. package/dist/types/components/Picture.d.ts +2 -0
  540. package/dist/types/components/Popover/popover.component.d.ts +5 -6
  541. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  542. package/dist/types/components/Popover.d.ts +2 -0
  543. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -9
  544. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  545. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +9 -4
  546. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -26
  547. package/dist/types/components/RadioGroup.d.ts +2 -0
  548. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
  549. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
  550. package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
  551. package/dist/types/components/RatingDots.d.ts +2 -0
  552. package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +1 -1
  553. package/dist/types/components/Select/select.component.d.ts +4 -9
  554. package/dist/types/components/Select/select.types.d.ts +1 -2
  555. package/dist/types/components/Select.d.ts +2 -0
  556. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
  557. package/dist/types/components/SortableList/index.d.ts +0 -1
  558. package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
  559. package/dist/types/components/SortableList.d.ts +2 -0
  560. package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
  561. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  562. package/dist/types/components/Spinner.d.ts +2 -0
  563. package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
  564. package/dist/types/components/Swatch.d.ts +2 -0
  565. package/dist/types/components/Switch/switch.component.d.ts +4 -5
  566. package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
  567. package/dist/types/components/Switch.d.ts +2 -0
  568. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
  569. package/dist/types/components/Tabs/index.d.ts +0 -2
  570. package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
  571. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
  572. package/dist/types/components/Tabs.d.ts +2 -0
  573. package/dist/types/components/Tag/tag.component.d.ts +3 -3
  574. package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
  575. package/dist/types/components/Tag.d.ts +2 -0
  576. package/dist/types/components/Text/text.component.d.ts +4 -4
  577. package/dist/types/components/Text/text.recipe.d.ts +1 -0
  578. package/dist/types/components/Text/text.types.d.ts +1 -1
  579. package/dist/types/components/Text.d.ts +2 -0
  580. package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
  581. package/dist/types/components/TextInput.d.ts +2 -0
  582. package/dist/types/components/Textarea/textarea.component.d.ts +4 -4
  583. package/dist/types/components/Textarea.d.ts +2 -0
  584. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
  585. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +2 -2
  586. package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
  587. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  588. package/dist/types/components/TimePicker.d.ts +2 -0
  589. package/dist/types/components/TimeRange.d.ts +2 -0
  590. package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
  591. package/dist/types/components/Tooltip.d.ts +2 -0
  592. package/dist/types/components/index.d.ts +1 -9
  593. package/dist/types/components.d.ts +2 -0
  594. package/dist/types/hocs/withDarkMode/index.d.ts +2 -1
  595. package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
  596. package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
  597. package/dist/types/hocs/withLightMode/index.d.ts +2 -1
  598. package/dist/types/hocs/withTruncation.d.ts +1 -1
  599. package/dist/types/hocs.d.ts +2 -0
  600. package/dist/types/hooks/index.d.ts +0 -2
  601. package/dist/types/hooks/useColorMode/index.d.ts +2 -4
  602. package/dist/types/hooks.d.ts +2 -0
  603. package/dist/types/index.d.ts +0 -2
  604. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  605. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +2 -2
  606. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +3 -3
  607. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +2 -2
  608. package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
  609. package/dist/types/patterns/ConversationCard.d.ts +2 -0
  610. package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  611. package/dist/types/patterns/StyledAvatar.d.ts +2 -0
  612. package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
  613. package/dist/types/patterns/TagBlock.d.ts +2 -0
  614. package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +2 -2
  615. package/dist/types/patterns/Timestamp.d.ts +2 -0
  616. package/dist/types/patterns/index.d.ts +4 -0
  617. package/dist/types/patterns.d.ts +2 -0
  618. package/dist/types/shared/types/theme.d.ts +1 -2
  619. package/dist/types/shared/types.d.ts +2 -0
  620. package/dist/types/shared/utils/sizes.d.ts +1 -1
  621. package/dist/types/theme/index.d.ts +4 -2
  622. package/dist/types/theme/providers/theme.provider.d.ts +3 -4
  623. package/dist/types/theme/semanticTokens/index.d.ts +0 -1
  624. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -5
  625. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -10
  626. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
  627. package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
  628. package/dist/types/theme/semanticTokens.d.ts +2 -0
  629. package/dist/types/theme/theme.config.d.ts +1 -1
  630. package/dist/types/theme/theme.types.d.ts +37 -0
  631. package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
  632. package/dist/types/theme/tokens/blurs.d.ts +2 -0
  633. package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
  634. package/dist/types/theme/tokens/borders.d.ts +2 -0
  635. package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
  636. package/dist/types/theme/tokens/colors.d.ts +2 -0
  637. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  638. package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
  639. package/dist/types/theme/tokens/shadows.d.ts +2 -0
  640. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -16
  641. package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
  642. package/dist/types/theme/tokens/sizes.d.ts +2 -0
  643. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
  644. package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
  645. package/dist/types/theme/tokens/spacing.d.ts +2 -0
  646. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
  647. package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
  648. package/dist/types/theme/tokens/transitions.d.ts +2 -0
  649. package/dist/types/theme/tokens/typography/typography.config.d.ts +71 -26
  650. package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
  651. package/dist/types/theme/tokens/typography.d.ts +2 -0
  652. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +9 -9
  653. package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
  654. package/dist/types/theme/tokens/zIndices.d.ts +2 -0
  655. package/dist/types/theme/tokens.d.ts +2 -0
  656. package/dist/types/theme.d.ts +2 -0
  657. package/package.json +65 -69
  658. package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
  659. package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
  660. package/dist/chunks/IconLogo-UpYiHEKq.js +0 -50
  661. package/dist/chunks/IconLogo-UpYiHEKq.js.map +0 -1
  662. package/dist/chunks/alert.types-B4OZ51oz.js +0 -139
  663. package/dist/chunks/alert.types-B4OZ51oz.js.map +0 -1
  664. package/dist/chunks/alert.types-De_IDZNV.js +0 -2
  665. package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
  666. package/dist/chunks/attr-BMs6szZx.js +0 -2
  667. package/dist/chunks/attr-BMs6szZx.js.map +0 -1
  668. package/dist/chunks/attr-sm10PXOd.js +0 -5
  669. package/dist/chunks/attr-sm10PXOd.js.map +0 -1
  670. package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
  671. package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
  672. package/dist/chunks/avatar.component-M6X79WYy.js +0 -394
  673. package/dist/chunks/avatar.component-M6X79WYy.js.map +0 -1
  674. package/dist/chunks/avatar.types-C6dZZjdi.js +0 -6
  675. package/dist/chunks/avatar.types-C6dZZjdi.js.map +0 -1
  676. package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
  677. package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
  678. package/dist/chunks/avatarGroup.component-C2IuMqLq.js +0 -67
  679. package/dist/chunks/avatarGroup.component-C2IuMqLq.js.map +0 -1
  680. package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
  681. package/dist/chunks/button.component-DAv5WxDc.js +0 -2
  682. package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
  683. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  684. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  685. package/dist/chunks/buttonGroup.component-C8Q42bLh.js +0 -68
  686. package/dist/chunks/buttonGroup.component-C8Q42bLh.js.map +0 -1
  687. package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
  688. package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
  689. package/dist/chunks/card.component-BZxC19F_.js +0 -2
  690. package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
  691. package/dist/chunks/card.component-DJcYzMX1.js +0 -58
  692. package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
  693. package/dist/chunks/card.types-Cixp7ouC.js +0 -5
  694. package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
  695. package/dist/chunks/card.types-MvkQTTZF.js +0 -2
  696. package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
  697. package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
  698. package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
  699. package/dist/chunks/characterCounter.component-DiQ7jGRP.js +0 -84
  700. package/dist/chunks/characterCounter.component-DiQ7jGRP.js.map +0 -1
  701. package/dist/chunks/checkbox.anatomy-BNdLT4Qf.js +0 -2
  702. package/dist/chunks/checkbox.anatomy-BNdLT4Qf.js.map +0 -1
  703. package/dist/chunks/checkbox.anatomy-CknRrQ7F.js +0 -256
  704. package/dist/chunks/checkbox.anatomy-CknRrQ7F.js.map +0 -1
  705. package/dist/chunks/checkbox.component-D7_mvZK5.js +0 -260
  706. package/dist/chunks/checkbox.component-D7_mvZK5.js.map +0 -1
  707. package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
  708. package/dist/chunks/checkbox.component-Dhjcu89D.js.map +0 -1
  709. package/dist/chunks/checkboxGroup.component-BBxsA17L.js +0 -52
  710. package/dist/chunks/checkboxGroup.component-BBxsA17L.js.map +0 -1
  711. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
  712. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
  713. package/dist/chunks/config-B3QABP1-.js +0 -57
  714. package/dist/chunks/config-B3QABP1-.js.map +0 -1
  715. package/dist/chunks/config-jChwZPSv.js +0 -2
  716. package/dist/chunks/config-jChwZPSv.js.map +0 -1
  717. package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
  718. package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
  719. package/dist/chunks/conversationCard.component-CzKj9SoH.js.map +0 -1
  720. package/dist/chunks/create-recipe-context-CDw-39SC.js +0 -2
  721. package/dist/chunks/create-recipe-context-CDw-39SC.js.map +0 -1
  722. package/dist/chunks/create-recipe-context-CrEKmpj8.js +0 -62
  723. package/dist/chunks/create-recipe-context-CrEKmpj8.js.map +0 -1
  724. package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
  725. package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
  726. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
  727. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
  728. package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
  729. package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
  730. package/dist/chunks/datePicker.component-jK2SZTK0.js +0 -3019
  731. package/dist/chunks/datePicker.component-jK2SZTK0.js.map +0 -1
  732. package/dist/chunks/dialog-BPhjKQkb.js +0 -2
  733. package/dist/chunks/dialog-BPhjKQkb.js.map +0 -1
  734. package/dist/chunks/dialog-C70U2EqO.js +0 -136
  735. package/dist/chunks/dialog-C70U2EqO.js.map +0 -1
  736. package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
  737. package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
  738. package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
  739. package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
  740. package/dist/chunks/empty-B5_AO6Pg.js +0 -2
  741. package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
  742. package/dist/chunks/empty-BU2EAux9.js +0 -8
  743. package/dist/chunks/empty-BU2EAux9.js.map +0 -1
  744. package/dist/chunks/factory-BQshv7_b.js +0 -501
  745. package/dist/chunks/factory-BQshv7_b.js.map +0 -1
  746. package/dist/chunks/factory-a2SJjEvR.js +0 -3
  747. package/dist/chunks/factory-a2SJjEvR.js.map +0 -1
  748. package/dist/chunks/flex-BOU6tYUd.js +0 -2
  749. package/dist/chunks/flex-BOU6tYUd.js.map +0 -1
  750. package/dist/chunks/flex-CX-8gE9T.js +0 -40
  751. package/dist/chunks/flex-CX-8gE9T.js.map +0 -1
  752. package/dist/chunks/float-DfZEyFfn.js +0 -2
  753. package/dist/chunks/float-DfZEyFfn.js.map +0 -1
  754. package/dist/chunks/float-DgYuLWpx.js +0 -64
  755. package/dist/chunks/float-DgYuLWpx.js.map +0 -1
  756. package/dist/chunks/format-BRt-TIiQ.js +0 -2
  757. package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
  758. package/dist/chunks/format-DgHM6wFr.js +0 -1275
  759. package/dist/chunks/format-DgHM6wFr.js.map +0 -1
  760. package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
  761. package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
  762. package/dist/chunks/grid-item-qnuioQmr.js +0 -2
  763. package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
  764. package/dist/chunks/group-CplNJpRQ.js +0 -139
  765. package/dist/chunks/group-CplNJpRQ.js.map +0 -1
  766. package/dist/chunks/group-_vcW9myt.js +0 -2
  767. package/dist/chunks/group-_vcW9myt.js.map +0 -1
  768. package/dist/chunks/h-stack-8q5nAOg0.js +0 -12
  769. package/dist/chunks/h-stack-8q5nAOg0.js.map +0 -1
  770. package/dist/chunks/h-stack-D4MnHHRc.js +0 -2
  771. package/dist/chunks/h-stack-D4MnHHRc.js.map +0 -1
  772. package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
  773. package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
  774. package/dist/chunks/heading.component-DgW2WFXo.js +0 -12
  775. package/dist/chunks/heading.component-DgW2WFXo.js.map +0 -1
  776. package/dist/chunks/icon-button-5UcFiA_W.js +0 -119
  777. package/dist/chunks/icon-button-5UcFiA_W.js.map +0 -1
  778. package/dist/chunks/icon-button-B9rScw-E.js +0 -2
  779. package/dist/chunks/icon-button-B9rScw-E.js.map +0 -1
  780. package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
  781. package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
  782. package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
  783. package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
  784. package/dist/chunks/icons-B6Nwr9di.js +0 -2
  785. package/dist/chunks/icons-B6Nwr9di.js.map +0 -1
  786. package/dist/chunks/icons-DQ5FafZQ.js +0 -216
  787. package/dist/chunks/icons-DQ5FafZQ.js.map +0 -1
  788. package/dist/chunks/index-2glJ2faJ.js +0 -2
  789. package/dist/chunks/index-2glJ2faJ.js.map +0 -1
  790. package/dist/chunks/index-7Jpijbq_.js +0 -3
  791. package/dist/chunks/index-7Jpijbq_.js.map +0 -1
  792. package/dist/chunks/index-9BerxEcw.js +0 -7
  793. package/dist/chunks/index-9BerxEcw.js.map +0 -1
  794. package/dist/chunks/index-A_vmTNU7.js +0 -2
  795. package/dist/chunks/index-A_vmTNU7.js.map +0 -1
  796. package/dist/chunks/index-BEfEzWJx.js +0 -2
  797. package/dist/chunks/index-BEfEzWJx.js.map +0 -1
  798. package/dist/chunks/index-BQRnVsAg.js +0 -2
  799. package/dist/chunks/index-BQRnVsAg.js.map +0 -1
  800. package/dist/chunks/index-BVG0jtdY.js +0 -290
  801. package/dist/chunks/index-BVG0jtdY.js.map +0 -1
  802. package/dist/chunks/index-BbRqKs1S.js +0 -2
  803. package/dist/chunks/index-BbRqKs1S.js.map +0 -1
  804. package/dist/chunks/index-C0OKY-Oe.js +0 -74
  805. package/dist/chunks/index-C0OKY-Oe.js.map +0 -1
  806. package/dist/chunks/index-C87CU9tc.js +0 -371
  807. package/dist/chunks/index-C87CU9tc.js.map +0 -1
  808. package/dist/chunks/index-CJEisKZA.js +0 -1195
  809. package/dist/chunks/index-CJEisKZA.js.map +0 -1
  810. package/dist/chunks/index-CJLJNx88.js +0 -379
  811. package/dist/chunks/index-CJLJNx88.js.map +0 -1
  812. package/dist/chunks/index-CdpBJZ7v.js +0 -390
  813. package/dist/chunks/index-CdpBJZ7v.js.map +0 -1
  814. package/dist/chunks/index-CoYll30G.js +0 -8190
  815. package/dist/chunks/index-CoYll30G.js.map +0 -1
  816. package/dist/chunks/index-Cvv80m_N.js +0 -444
  817. package/dist/chunks/index-Cvv80m_N.js.map +0 -1
  818. package/dist/chunks/index-D-kSj7r7.js +0 -1203
  819. package/dist/chunks/index-D-kSj7r7.js.map +0 -1
  820. package/dist/chunks/index-D0HCo_Ly.js +0 -2
  821. package/dist/chunks/index-D0HCo_Ly.js.map +0 -1
  822. package/dist/chunks/index-DA7G0apY.js +0 -141
  823. package/dist/chunks/index-DA7G0apY.js.map +0 -1
  824. package/dist/chunks/index-DAI6_P9H.js +0 -2
  825. package/dist/chunks/index-DAI6_P9H.js.map +0 -1
  826. package/dist/chunks/index-DAWHN3cH.js +0 -86
  827. package/dist/chunks/index-DAWHN3cH.js.map +0 -1
  828. package/dist/chunks/index-DD49WSSW.js +0 -2
  829. package/dist/chunks/index-DD49WSSW.js.map +0 -1
  830. package/dist/chunks/index-DMcwHRZ5.js +0 -11
  831. package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
  832. package/dist/chunks/index-DtPX2rUg.js +0 -1362
  833. package/dist/chunks/index-DtPX2rUg.js.map +0 -1
  834. package/dist/chunks/index-WYcfOUFA.js +0 -2
  835. package/dist/chunks/index-WYcfOUFA.js.map +0 -1
  836. package/dist/chunks/index-_DAxfi81.js +0 -257
  837. package/dist/chunks/index-_DAxfi81.js.map +0 -1
  838. package/dist/chunks/index-eNFIsSpE.js +0 -2
  839. package/dist/chunks/index-eNFIsSpE.js.map +0 -1
  840. package/dist/chunks/index-jnwdAJ25.js +0 -2
  841. package/dist/chunks/index-jnwdAJ25.js.map +0 -1
  842. package/dist/chunks/index-nNZWP0FQ.js +0 -2
  843. package/dist/chunks/index-nNZWP0FQ.js.map +0 -1
  844. package/dist/chunks/invertToken-DkyAF_BY.js +0 -10
  845. package/dist/chunks/invertToken-DkyAF_BY.js.map +0 -1
  846. package/dist/chunks/invertToken-Em3s32gh.js +0 -2
  847. package/dist/chunks/invertToken-Em3s32gh.js.map +0 -1
  848. package/dist/chunks/isSymbol-BQN49XhJ.js +0 -67
  849. package/dist/chunks/isSymbol-BQN49XhJ.js.map +0 -1
  850. package/dist/chunks/isSymbol-BdGeV_e0.js +0 -2
  851. package/dist/chunks/isSymbol-BdGeV_e0.js.map +0 -1
  852. package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
  853. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
  854. package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
  855. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
  856. package/dist/chunks/link.component-CvR5CbiT.js +0 -36
  857. package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
  858. package/dist/chunks/link.component-yUJIJbIP.js +0 -2
  859. package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
  860. package/dist/chunks/list-D22V_L58.js +0 -2
  861. package/dist/chunks/list-D22V_L58.js.map +0 -1
  862. package/dist/chunks/list-DwRM9eA_.js +0 -20
  863. package/dist/chunks/list-DwRM9eA_.js.map +0 -1
  864. package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
  865. package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
  866. package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
  867. package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
  868. package/dist/chunks/menu.component-BSuLrqE6.js +0 -599
  869. package/dist/chunks/menu.component-BSuLrqE6.js.map +0 -1
  870. package/dist/chunks/menu.component-DylZiPAE.js +0 -2
  871. package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
  872. package/dist/chunks/modal.types-CBos7aXO.js +0 -2
  873. package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
  874. package/dist/chunks/modal.types-DCtp2gae.js +0 -95
  875. package/dist/chunks/modal.types-DCtp2gae.js.map +0 -1
  876. package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
  877. package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
  878. package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
  879. package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
  880. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
  881. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +0 -6
  882. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +0 -1
  883. package/dist/chunks/omit-C-j4TrF5.js +0 -10
  884. package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
  885. package/dist/chunks/omit-DqNeoZ8h.js +0 -2
  886. package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
  887. package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
  888. package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
  889. package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
  890. package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
  891. package/dist/chunks/pinInput.types-BSW6UBEv.js +0 -145
  892. package/dist/chunks/pinInput.types-BSW6UBEv.js.map +0 -1
  893. package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
  894. package/dist/chunks/pinInput.types-Cqm1Px5l.js.map +0 -1
  895. package/dist/chunks/popover-root-provider-CXqzoru9.js +0 -43
  896. package/dist/chunks/popover-root-provider-CXqzoru9.js.map +0 -1
  897. package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
  898. package/dist/chunks/popover-root-provider-ZB5BcrXn.js.map +0 -1
  899. package/dist/chunks/popover.component-BjS13k9K.js +0 -2
  900. package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
  901. package/dist/chunks/popover.component-D4rNmeWx.js +0 -196
  902. package/dist/chunks/popover.component-D4rNmeWx.js.map +0 -1
  903. package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
  904. package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
  905. package/dist/chunks/popover.recipe-D3BdzN-n.js +0 -241
  906. package/dist/chunks/popover.recipe-D3BdzN-n.js.map +0 -1
  907. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  908. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  909. package/dist/chunks/provider-ClCAdPxy.js +0 -47
  910. package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
  911. package/dist/chunks/provider-NDo8kOkE.js +0 -2
  912. package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
  913. package/dist/chunks/radioGroup.types-DL8g9TP2.js +0 -230
  914. package/dist/chunks/radioGroup.types-DL8g9TP2.js.map +0 -1
  915. package/dist/chunks/radioGroup.types-nhp1iyXG.js +0 -2
  916. package/dist/chunks/radioGroup.types-nhp1iyXG.js.map +0 -1
  917. package/dist/chunks/ratingDots.component-CDa2kpI9.js +0 -138
  918. package/dist/chunks/ratingDots.component-CDa2kpI9.js.map +0 -1
  919. package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
  920. package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
  921. package/dist/chunks/render-strategy-C2s5qZs8.js +0 -12
  922. package/dist/chunks/render-strategy-C2s5qZs8.js.map +0 -1
  923. package/dist/chunks/render-strategy-CfHUEDVm.js +0 -2
  924. package/dist/chunks/render-strategy-CfHUEDVm.js.map +0 -1
  925. package/dist/chunks/select.component-DKRwULd6.js +0 -1058
  926. package/dist/chunks/select.component-DKRwULd6.js.map +0 -1
  927. package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
  928. package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
  929. package/dist/chunks/sortableList.component-CgLl4iQA.js.map +0 -1
  930. package/dist/chunks/sortableList.component-vxiA7bvr.js +0 -6
  931. package/dist/chunks/sortableList.component-vxiA7bvr.js.map +0 -1
  932. package/dist/chunks/spinner-C31ZWQmA.js +0 -8
  933. package/dist/chunks/spinner-C31ZWQmA.js.map +0 -1
  934. package/dist/chunks/spinner-CBTcw_Tk.js +0 -2
  935. package/dist/chunks/spinner-CBTcw_Tk.js.map +0 -1
  936. package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
  937. package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
  938. package/dist/chunks/spinner.component-DVDFFBjs.js.map +0 -1
  939. package/dist/chunks/stack-BE-r1yqU.js +0 -2
  940. package/dist/chunks/stack-BE-r1yqU.js.map +0 -1
  941. package/dist/chunks/stack-rvdA8MI9.js +0 -85
  942. package/dist/chunks/stack-rvdA8MI9.js.map +0 -1
  943. package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
  944. package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
  945. package/dist/chunks/styledAvatar.types-DdjcEEg8.js.map +0 -1
  946. package/dist/chunks/swatch.types-CXlghcLw.js +0 -67
  947. package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
  948. package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
  949. package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
  950. package/dist/chunks/switch.component-Be_CZ-FX.js +0 -154
  951. package/dist/chunks/switch.component-Be_CZ-FX.js.map +0 -1
  952. package/dist/chunks/switch.component-C88jBbo_.js +0 -2
  953. package/dist/chunks/switch.component-C88jBbo_.js.map +0 -1
  954. package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
  955. package/dist/chunks/tab.types-DpmXyw5C.js.map +0 -1
  956. package/dist/chunks/tab.types-Dz716e6g.js +0 -611
  957. package/dist/chunks/tab.types-Dz716e6g.js.map +0 -1
  958. package/dist/chunks/tag.component-79aRVI7u.js +0 -82
  959. package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
  960. package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
  961. package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
  962. package/dist/chunks/tagBlock.component-BjSs1wds.js.map +0 -1
  963. package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
  964. package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
  965. package/dist/chunks/text.component-CHpMvCFa.js +0 -2
  966. package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
  967. package/dist/chunks/text.component-lM5aKXrg.js +0 -12
  968. package/dist/chunks/text.component-lM5aKXrg.js.map +0 -1
  969. package/dist/chunks/textInput.component-B58lZdwy.js +0 -169
  970. package/dist/chunks/textInput.component-B58lZdwy.js.map +0 -1
  971. package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
  972. package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
  973. package/dist/chunks/textarea.component-BYexywy1.js +0 -2
  974. package/dist/chunks/textarea.component-BYexywy1.js.map +0 -1
  975. package/dist/chunks/textarea.component-lgtQk1Iw.js +0 -79
  976. package/dist/chunks/textarea.component-lgtQk1Iw.js.map +0 -1
  977. package/dist/chunks/theme-BFbOz0Jj.js +0 -2
  978. package/dist/chunks/theme-BFbOz0Jj.js.map +0 -1
  979. package/dist/chunks/theme-BOK659O0.js +0 -5
  980. package/dist/chunks/theme-BOK659O0.js.map +0 -1
  981. package/dist/chunks/theme.provider-Bd7BxNo2.js +0 -28
  982. package/dist/chunks/theme.provider-Bd7BxNo2.js.map +0 -1
  983. package/dist/chunks/theme.provider-NLe7CBa6.js.map +0 -1
  984. package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
  985. package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
  986. package/dist/chunks/timePicker.component-DehTARbc.js +0 -209
  987. package/dist/chunks/timePicker.component-DehTARbc.js.map +0 -1
  988. package/dist/chunks/timeRange.component-BNHI6pWG.js +0 -18
  989. package/dist/chunks/timeRange.component-BNHI6pWG.js.map +0 -1
  990. package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
  991. package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
  992. package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
  993. package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
  994. package/dist/chunks/timestamp.component-ZUWkov0t.js +0 -51
  995. package/dist/chunks/timestamp.component-ZUWkov0t.js.map +0 -1
  996. package/dist/chunks/toaster.records-DE1y_F2-.js +0 -824
  997. package/dist/chunks/toaster.records-DE1y_F2-.js.map +0 -1
  998. package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
  999. package/dist/chunks/toaster.records-eCXbM85Z.js.map +0 -1
  1000. package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
  1001. package/dist/chunks/tooltip.component-CATpCSkf.js.map +0 -1
  1002. package/dist/chunks/tooltip.component-DTfwOaTc.js +0 -493
  1003. package/dist/chunks/tooltip.component-DTfwOaTc.js.map +0 -1
  1004. package/dist/chunks/typography.records-CSi8fOfA.js +0 -66
  1005. package/dist/chunks/typography.records-CSi8fOfA.js.map +0 -1
  1006. package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
  1007. package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
  1008. package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
  1009. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
  1010. package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
  1011. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
  1012. package/dist/chunks/use-field-context-BTxME29X.js +0 -2
  1013. package/dist/chunks/use-field-context-BTxME29X.js.map +0 -1
  1014. package/dist/chunks/use-field-context-C1iiT3PJ.js +0 -12
  1015. package/dist/chunks/use-field-context-C1iiT3PJ.js.map +0 -1
  1016. package/dist/chunks/use-locale-context-CGfkkp7X.js +0 -2315
  1017. package/dist/chunks/use-locale-context-CGfkkp7X.js.map +0 -1
  1018. package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
  1019. package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
  1020. package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
  1021. package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
  1022. package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
  1023. package/dist/chunks/use-recipe-d63ABaZ3.js.map +0 -1
  1024. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  1025. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  1026. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  1027. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  1028. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js +0 -2
  1029. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +0 -1
  1030. package/dist/chunks/usePortalContentRef-DO_jc4W9.js +0 -10
  1031. package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +0 -1
  1032. package/dist/chunks/v-stack-BKftVfdJ.js +0 -12
  1033. package/dist/chunks/v-stack-BKftVfdJ.js.map +0 -1
  1034. package/dist/chunks/v-stack-Bz-79Toq.js +0 -2
  1035. package/dist/chunks/v-stack-Bz-79Toq.js.map +0 -1
  1036. package/dist/chunks/walk-object-B1TqoXCj.js +0 -2
  1037. package/dist/chunks/walk-object-B1TqoXCj.js.map +0 -1
  1038. package/dist/chunks/walk-object-CGvlZ5aQ.js +0 -28
  1039. package/dist/chunks/walk-object-CGvlZ5aQ.js.map +0 -1
  1040. package/dist/chunks/withDarkMode-C3yba5oU.js +0 -21
  1041. package/dist/chunks/withDarkMode-C3yba5oU.js.map +0 -1
  1042. package/dist/chunks/withDarkMode-R08khTA6.js +0 -2
  1043. package/dist/chunks/withDarkMode-R08khTA6.js.map +0 -1
  1044. package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
  1045. package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
  1046. package/dist/chunks/withFormControl-C3IIthrA.js +0 -361
  1047. package/dist/chunks/withFormControl-C3IIthrA.js.map +0 -1
  1048. package/dist/chunks/withLightMode-Crw8xtkD.js +0 -2
  1049. package/dist/chunks/withLightMode-Crw8xtkD.js.map +0 -1
  1050. package/dist/chunks/withLightMode-DUdXB3Uy.js +0 -20
  1051. package/dist/chunks/withLightMode-DUdXB3Uy.js.map +0 -1
  1052. package/dist/chunks/withTruncation-DTEvsQfh.js.map +0 -1
  1053. package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
  1054. package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
  1055. package/dist/chunks/wrap-BzPamGsJ.js +0 -2
  1056. package/dist/chunks/wrap-BzPamGsJ.js.map +0 -1
  1057. package/dist/chunks/wrap-CRNL4bE6.js +0 -45
  1058. package/dist/chunks/wrap-CRNL4bE6.js.map +0 -1
  1059. package/dist/cjs/chakra/index.cjs +0 -3
  1060. package/dist/cjs/chakra/index.cjs.map +0 -1
  1061. package/dist/cjs/cli/generate-theme-types.cjs +0 -6
  1062. package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
  1063. package/dist/cjs/cli/postinstall.cjs +0 -3
  1064. package/dist/cjs/cli/postinstall.cjs.map +0 -1
  1065. package/dist/cjs/components/Divider/index.cjs +0 -2
  1066. package/dist/cjs/components/Logo/generated/index.cjs +0 -2
  1067. package/dist/cjs/components/Logo/index.cjs +0 -2
  1068. package/dist/cjs/components/PinInput/index.cjs +0 -2
  1069. package/dist/cjs/components/StyledAvatar/index.cjs.map +0 -1
  1070. package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
  1071. package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
  1072. package/dist/cjs/components/Toast/index.cjs +0 -2
  1073. package/dist/cjs/components/Toast/index.cjs.map +0 -1
  1074. package/dist/cjs/hocs/withDarkMode/index.cjs +0 -2
  1075. package/dist/cjs/hocs/withDarkMode/index.cjs.map +0 -1
  1076. package/dist/cjs/hocs/withLightMode/index.cjs +0 -2
  1077. package/dist/cjs/hocs/withLightMode/index.cjs.map +0 -1
  1078. package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
  1079. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
  1080. package/dist/cjs/hooks/useColorMode/index.cjs +0 -2
  1081. package/dist/cjs/hooks/useColorMode/index.cjs.map +0 -1
  1082. package/dist/cjs/hooks/useColorModeValue/index.cjs +0 -2
  1083. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +0 -1
  1084. package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
  1085. package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
  1086. package/dist/cjs/shared/index.cjs +0 -2
  1087. package/dist/cjs/shared/index.cjs.map +0 -1
  1088. package/dist/cjs/shared/records/index.cjs +0 -2
  1089. package/dist/cjs/shared/records/index.cjs.map +0 -1
  1090. package/dist/esm/chakra/index.js +0 -3314
  1091. package/dist/esm/chakra/index.js.map +0 -1
  1092. package/dist/esm/cli/generate-theme-types.js +0 -22
  1093. package/dist/esm/cli/generate-theme-types.js.map +0 -1
  1094. package/dist/esm/cli/postinstall.js +0 -19
  1095. package/dist/esm/cli/postinstall.js.map +0 -1
  1096. package/dist/esm/components/Divider/index.js +0 -8
  1097. package/dist/esm/components/Logo/generated/index.js +0 -6
  1098. package/dist/esm/components/Logo/index.js +0 -6
  1099. package/dist/esm/components/PinInput/index.js +0 -6
  1100. package/dist/esm/components/PinInput/index.js.map +0 -1
  1101. package/dist/esm/components/StyledAvatar/index.js.map +0 -1
  1102. package/dist/esm/components/TagBlock/index.js.map +0 -1
  1103. package/dist/esm/components/Timestamp/index.js +0 -5
  1104. package/dist/esm/components/Timestamp/index.js.map +0 -1
  1105. package/dist/esm/components/Toast/index.js +0 -59
  1106. package/dist/esm/components/Toast/index.js.map +0 -1
  1107. package/dist/esm/hocs/withDarkMode/index.js +0 -5
  1108. package/dist/esm/hocs/withDarkMode/index.js.map +0 -1
  1109. package/dist/esm/hocs/withLightMode/index.js +0 -5
  1110. package/dist/esm/hocs/withLightMode/index.js.map +0 -1
  1111. package/dist/esm/hooks/useBreakpoint/index.js +0 -12
  1112. package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
  1113. package/dist/esm/hooks/useColorMode/index.js +0 -19
  1114. package/dist/esm/hooks/useColorMode/index.js.map +0 -1
  1115. package/dist/esm/hooks/useColorModeValue/index.js +0 -9
  1116. package/dist/esm/hooks/useColorModeValue/index.js.map +0 -1
  1117. package/dist/esm/hooks/useDeviceType/index.js +0 -12
  1118. package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
  1119. package/dist/esm/shared/index.js +0 -11
  1120. package/dist/esm/shared/index.js.map +0 -1
  1121. package/dist/esm/shared/records/index.js +0 -18
  1122. package/dist/esm/shared/records/index.js.map +0 -1
  1123. package/dist/types/chakra/index.d.ts +0 -56
  1124. package/dist/types/cli/generate-theme-types.d.ts +0 -2
  1125. package/dist/types/cli/postinstall.d.ts +0 -2
  1126. package/dist/types/components/Divider/divider.component.d.ts +0 -4
  1127. package/dist/types/components/Divider/divider.types.d.ts +0 -6
  1128. package/dist/types/components/Divider/index.d.ts +0 -2
  1129. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
  1130. package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
  1131. package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
  1132. package/dist/types/components/Logo/generated/index.d.ts +0 -4
  1133. package/dist/types/components/Logo/index.d.ts +0 -2
  1134. package/dist/types/components/Logo/logo.component.d.ts +0 -9
  1135. package/dist/types/components/Logo/logo.recipe.d.ts +0 -24
  1136. package/dist/types/components/Logo/logo.types.d.ts +0 -4
  1137. package/dist/types/components/PinInput/index.d.ts +0 -2
  1138. package/dist/types/components/PinInput/pinInput.component.d.ts +0 -12
  1139. package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
  1140. package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
  1141. package/dist/types/components/RadioGroup/radioGroup.types.d.ts +0 -4
  1142. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
  1143. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
  1144. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
  1145. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
  1146. package/dist/types/components/Toast/index.d.ts +0 -2
  1147. package/dist/types/components/Toast/toast.component.d.ts +0 -14
  1148. package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
  1149. package/dist/types/components/Toast/toast.types.d.ts +0 -19
  1150. package/dist/types/components/Toast/useToast.d.ts +0 -3
  1151. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
  1152. package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +0 -2
  1153. package/dist/types/hocs/withLightMode/withLightMode.d.ts +0 -2
  1154. package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
  1155. package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
  1156. package/dist/types/hooks/usePortalContentRef.d.ts +0 -6
  1157. package/dist/types/shared/index.d.ts +0 -1
  1158. package/dist/types/shared/records/index.d.ts +0 -1
  1159. package/dist/types/shared/records/status.d.ts +0 -5
  1160. /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
  1161. /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
  1162. /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
  1163. /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
  1164. /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
  1165. /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
  1166. /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
  1167. /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
  1168. /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
  1169. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  1170. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  1171. /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
  1172. /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
  1173. /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  1174. /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
  1175. /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
  1176. /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
@@ -1,1195 +0,0 @@
1
- import { k as z, M as x, N as M, c as oe, A as ue, O as Y, r as w, g as de, o as ce, t as he, E as ge, P as B, Q as me, b as pe, R as fe, S as Ie, u as j, H as Ee, T as ve, x as ye, d as h, l as Te, U as Oe } from "./index-DtPX2rUg.js";
2
- import { g as J, d as Re, b as F } from "./use-locale-context-CGfkkp7X.js";
3
- var Ce = Object.defineProperty, Ve = (e, s, t) => s in e ? Ce(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t, u = (e, s, t) => Ve(e, typeof s != "symbol" ? s + "" : s, t), P = {
4
- itemToValue(e) {
5
- return typeof e == "string" ? e : x(e) && M(e, "value") ? e.value : "";
6
- },
7
- itemToString(e) {
8
- return typeof e == "string" ? e : x(e) && M(e, "label") ? e.label : P.itemToValue(e);
9
- },
10
- isItemDisabled(e) {
11
- return x(e) && M(e, "disabled") ? !!e.disabled : !1;
12
- }
13
- }, ee = class te {
14
- constructor(s) {
15
- this.options = s, u(this, "items"), u(this, "copy", (t) => new te({ ...this.options, items: t ?? [...this.items] })), u(this, "isEqual", (t) => z(this.items, t.items)), u(this, "setItems", (t) => this.copy(t)), u(this, "getValues", (t = this.items) => Array.from(t).map((i) => this.getItemValue(i)).filter(Boolean)), u(this, "find", (t) => {
16
- if (t == null) return null;
17
- const i = this.indexOf(t);
18
- return i != null ? this.at(i) : null;
19
- }), u(this, "findMany", (t) => Array.from(t).map((i) => this.find(i)).filter((i) => i != null)), u(this, "at", (t) => {
20
- if (!this.options.groupBy && !this.options.groupSort)
21
- return this.items[t] ?? null;
22
- let i = 0;
23
- const l = this.group();
24
- for (const [, n] of l)
25
- for (const o of n) {
26
- if (i === t) return o;
27
- i++;
28
- }
29
- return null;
30
- }), u(this, "sortFn", (t, i) => {
31
- const l = this.indexOf(t), n = this.indexOf(i);
32
- return (l ?? 0) - (n ?? 0);
33
- }), u(this, "sort", (t) => [...t].sort(this.sortFn.bind(this))), u(this, "getItemValue", (t) => t == null ? null : this.options.itemToValue?.(t) ?? P.itemToValue(t)), u(this, "getItemDisabled", (t) => t == null ? !1 : this.options.isItemDisabled?.(t) ?? P.isItemDisabled(t)), u(this, "stringifyItem", (t) => t == null ? null : this.options.itemToString?.(t) ?? P.itemToString(t)), u(this, "stringify", (t) => t == null ? null : this.stringifyItem(this.find(t))), u(this, "stringifyItems", (t, i = ", ") => Array.from(t).map((l) => this.stringifyItem(l)).filter(Boolean).join(i)), u(this, "stringifyMany", (t, i) => this.stringifyItems(this.findMany(t), i)), u(this, "has", (t) => this.indexOf(t) !== -1), u(this, "hasItem", (t) => t == null ? !1 : this.has(this.getItemValue(t))), u(this, "group", () => {
34
- const { groupBy: t, groupSort: i } = this.options;
35
- if (!t) return [["", [...this.items]]];
36
- const l = /* @__PURE__ */ new Map();
37
- this.items.forEach((o, r) => {
38
- const c = t(o, r);
39
- l.has(c) || l.set(c, []), l.get(c).push(o);
40
- });
41
- let n = Array.from(l.entries());
42
- return i && n.sort(([o], [r]) => {
43
- if (typeof i == "function") return i(o, r);
44
- if (Array.isArray(i)) {
45
- const c = i.indexOf(o), m = i.indexOf(r);
46
- return c === -1 ? 1 : m === -1 ? -1 : c - m;
47
- }
48
- return i === "asc" ? o.localeCompare(r) : i === "desc" ? r.localeCompare(o) : 0;
49
- }), n;
50
- }), u(this, "getNextValue", (t, i = 1, l = !1) => {
51
- let n = this.indexOf(t);
52
- if (n === -1) return null;
53
- for (n = l ? Math.min(n + i, this.size - 1) : n + i; n <= this.size && this.getItemDisabled(this.at(n)); ) n++;
54
- return this.getItemValue(this.at(n));
55
- }), u(this, "getPreviousValue", (t, i = 1, l = !1) => {
56
- let n = this.indexOf(t);
57
- if (n === -1) return null;
58
- for (n = l ? Math.max(n - i, 0) : n - i; n >= 0 && this.getItemDisabled(this.at(n)); ) n--;
59
- return this.getItemValue(this.at(n));
60
- }), u(this, "indexOf", (t) => {
61
- if (t == null) return -1;
62
- if (!this.options.groupBy && !this.options.groupSort)
63
- return this.items.findIndex((n) => this.getItemValue(n) === t);
64
- let i = 0;
65
- const l = this.group();
66
- for (const [, n] of l)
67
- for (const o of n) {
68
- if (this.getItemValue(o) === t) return i;
69
- i++;
70
- }
71
- return -1;
72
- }), u(this, "getByText", (t, i) => {
73
- let l = i != null ? Se(this.items, this.indexOf(i)) : this.items;
74
- return t.length === 1 && (l = l.filter((o) => this.getItemValue(o) !== i)), l.find((o) => be(this.stringifyItem(o), t));
75
- }), u(this, "search", (t, i) => {
76
- const { state: l, currentValue: n, timeout: o = 350 } = i, r = l.keysSoFar + t, m = r.length > 1 && Array.from(r).every((v) => v === r[0]) ? r[0] : r, E = this.getByText(m, n), f = this.getItemValue(E);
77
- function y() {
78
- clearTimeout(l.timer), l.timer = -1;
79
- }
80
- function I(v) {
81
- l.keysSoFar = v, y(), v !== "" && (l.timer = +setTimeout(() => {
82
- I(""), y();
83
- }, o));
84
- }
85
- return I(r), f;
86
- }), u(this, "update", (t, i) => {
87
- let l = this.indexOf(t);
88
- return l === -1 ? this : this.copy([...this.items.slice(0, l), i, ...this.items.slice(l + 1)]);
89
- }), u(this, "upsert", (t, i, l = "append") => {
90
- let n = this.indexOf(t);
91
- return n === -1 ? (l === "append" ? this.append : this.prepend)(i) : this.copy([...this.items.slice(0, n), i, ...this.items.slice(n + 1)]);
92
- }), u(this, "insert", (t, ...i) => this.copy(V(this.items, t, ...i))), u(this, "insertBefore", (t, ...i) => {
93
- let l = this.indexOf(t);
94
- if (l === -1)
95
- if (this.items.length === 0) l = 0;
96
- else return this;
97
- return this.copy(V(this.items, l, ...i));
98
- }), u(this, "insertAfter", (t, ...i) => {
99
- let l = this.indexOf(t);
100
- if (l === -1)
101
- if (this.items.length === 0) l = 0;
102
- else return this;
103
- return this.copy(V(this.items, l + 1, ...i));
104
- }), u(this, "prepend", (...t) => this.copy(V(this.items, 0, ...t))), u(this, "append", (...t) => this.copy(V(this.items, this.items.length, ...t))), u(this, "filter", (t) => {
105
- const i = this.items.filter((l, n) => t(this.stringifyItem(l), n, l));
106
- return this.copy(i);
107
- }), u(this, "remove", (...t) => {
108
- const i = t.map(
109
- (l) => typeof l == "string" ? l : this.getItemValue(l)
110
- );
111
- return this.copy(
112
- this.items.filter((l) => {
113
- const n = this.getItemValue(l);
114
- return n == null ? !1 : !i.includes(n);
115
- })
116
- );
117
- }), u(this, "move", (t, i) => {
118
- const l = this.indexOf(t);
119
- return l === -1 ? this : this.copy(L(this.items, [l], i));
120
- }), u(this, "moveBefore", (t, ...i) => {
121
- let l = this.items.findIndex((o) => this.getItemValue(o) === t);
122
- if (l === -1) return this;
123
- let n = i.map((o) => this.items.findIndex((r) => this.getItemValue(r) === o)).sort((o, r) => o - r);
124
- return this.copy(L(this.items, n, l));
125
- }), u(this, "moveAfter", (t, ...i) => {
126
- let l = this.items.findIndex((o) => this.getItemValue(o) === t);
127
- if (l === -1) return this;
128
- let n = i.map((o) => this.items.findIndex((r) => this.getItemValue(r) === o)).sort((o, r) => o - r);
129
- return this.copy(L(this.items, n, l + 1));
130
- }), u(this, "reorder", (t, i) => this.copy(L(this.items, [t], i))), u(this, "compareValue", (t, i) => {
131
- const l = this.indexOf(t), n = this.indexOf(i);
132
- return l < n ? -1 : l > n ? 1 : 0;
133
- }), u(this, "range", (t, i) => {
134
- let l = [], n = t;
135
- for (; n != null; ) {
136
- if (this.find(n) && l.push(n), n === i) return l;
137
- n = this.getNextValue(n);
138
- }
139
- return [];
140
- }), u(this, "getValueRange", (t, i) => t && i ? this.compareValue(t, i) <= 0 ? this.range(t, i) : this.range(i, t) : []), u(this, "toString", () => {
141
- let t = "";
142
- for (const i of this.items) {
143
- const l = this.getItemValue(i), n = this.stringifyItem(i), o = this.getItemDisabled(i), r = [l, n, o].filter(Boolean).join(":");
144
- t += r + ",";
145
- }
146
- return t;
147
- }), u(this, "toJSON", () => ({
148
- size: this.size,
149
- first: this.firstValue,
150
- last: this.lastValue
151
- })), this.items = [...s.items];
152
- }
153
- /**
154
- * Returns the number of items in the collection
155
- */
156
- get size() {
157
- return this.items.length;
158
- }
159
- /**
160
- * Returns the first value in the collection
161
- */
162
- get firstValue() {
163
- let s = 0;
164
- for (; this.getItemDisabled(this.at(s)); ) s++;
165
- return this.getItemValue(this.at(s));
166
- }
167
- /**
168
- * Returns the last value in the collection
169
- */
170
- get lastValue() {
171
- let s = this.size - 1;
172
- for (; this.getItemDisabled(this.at(s)); ) s--;
173
- return this.getItemValue(this.at(s));
174
- }
175
- *[Symbol.iterator]() {
176
- yield* this.items;
177
- }
178
- }, be = (e, s) => !!e?.toLowerCase().startsWith(s.toLowerCase()), Se = (e, s) => e.map((t, i) => e[(Math.max(s, 0) + i) % e.length]);
179
- function V(e, s, ...t) {
180
- return [...e.slice(0, s), ...t, ...e.slice(s)];
181
- }
182
- function L(e, s, t) {
183
- s = [...s].sort((l, n) => l - n);
184
- const i = s.map((l) => e[l]);
185
- for (let l = s.length - 1; l >= 0; l--)
186
- e = [...e.slice(0, s[l]), ...e.slice(s[l] + 1)];
187
- return t = Math.max(0, t - s.filter((l) => l < t).length), [...e.slice(0, t), ...i, ...e.slice(t)];
188
- }
189
- var Ge = pe("select").parts(
190
- "label",
191
- "positioner",
192
- "trigger",
193
- "indicator",
194
- "clearTrigger",
195
- "item",
196
- "itemText",
197
- "itemIndicator",
198
- "itemGroup",
199
- "itemGroupLabel",
200
- "list",
201
- "content",
202
- "root",
203
- "control",
204
- "valueText"
205
- ), p = Ge.build(), ie = (e) => new ee(e);
206
- ie.empty = () => new ee({ items: [] });
207
- var Le = (e) => e.ids?.root ?? `select:${e.id}`, U = (e) => e.ids?.content ?? `select:${e.id}:content`, W = (e) => e.ids?.trigger ?? `select:${e.id}:trigger`, se = (e) => e.ids?.clearTrigger ?? `select:${e.id}:clear-trigger`, A = (e) => e.ids?.label ?? `select:${e.id}:label`, Ae = (e) => e.ids?.control ?? `select:${e.id}:control`, K = (e, s) => e.ids?.item?.(s) ?? `select:${e.id}:option:${s}`, $ = (e) => e.ids?.hiddenSelect ?? `select:${e.id}:select`, le = (e) => e.ids?.positioner ?? `select:${e.id}:positioner`, Pe = (e, s) => e.ids?.itemGroup?.(s) ?? `select:${e.id}:optgroup:${s}`, Q = (e, s) => e.ids?.itemGroupLabel?.(s) ?? `select:${e.id}:optgroup-label:${s}`, _ = (e) => e.getById($(e)), b = (e) => e.getById(U(e)), O = (e) => e.getById(W(e)), Fe = (e) => e.getById(se(e)), X = (e) => e.getById(le(e)), Ne = (e, s) => e.getById(K(e, s));
208
- function xe(e, s) {
209
- const { context: t, prop: i, scope: l, state: n, computed: o, send: r } = e, c = i("disabled") || t.get("fieldsetDisabled"), m = i("invalid"), E = i("readOnly"), f = i("composite"), y = i("collection"), I = n.hasTag("open"), v = n.matches("focused"), C = t.get("highlightedValue"), ne = t.get("highlightedItem"), re = t.get("selectedItems"), N = t.get("currentPlacement"), q = o("isTypingAhead"), H = o("isInteractive"), k = C ? K(l, C) : void 0;
210
- function G(a) {
211
- const d = y.getItemDisabled(a.item), g = y.getItemValue(a.item);
212
- return Oe(g, () => `[zag-js] No value found for item ${JSON.stringify(a.item)}`), {
213
- value: g,
214
- disabled: !!(c || d),
215
- highlighted: C === g,
216
- selected: t.get("value").includes(g)
217
- };
218
- }
219
- const ae = Re({
220
- ...i("positioning"),
221
- placement: N
222
- });
223
- return {
224
- open: I,
225
- focused: v,
226
- empty: t.get("value").length === 0,
227
- highlightedItem: ne,
228
- highlightedValue: C,
229
- selectedItems: re,
230
- hasSelectedItems: o("hasSelectedItems"),
231
- value: t.get("value"),
232
- valueAsString: o("valueAsString"),
233
- collection: y,
234
- multiple: !!i("multiple"),
235
- disabled: !!c,
236
- reposition(a = {}) {
237
- r({ type: "POSITIONING.SET", options: a });
238
- },
239
- focus() {
240
- O(l)?.focus({ preventScroll: !0 });
241
- },
242
- setOpen(a) {
243
- n.hasTag("open") !== a && r({ type: a ? "OPEN" : "CLOSE" });
244
- },
245
- selectValue(a) {
246
- r({ type: "ITEM.SELECT", value: a });
247
- },
248
- setValue(a) {
249
- r({ type: "VALUE.SET", value: a });
250
- },
251
- selectAll() {
252
- r({ type: "VALUE.SET", value: y.getValues() });
253
- },
254
- setHighlightValue(a) {
255
- r({ type: "HIGHLIGHTED_VALUE.SET", value: a });
256
- },
257
- clearHighlightValue() {
258
- r({ type: "HIGHLIGHTED_VALUE.CLEAR" });
259
- },
260
- clearValue(a) {
261
- r(a ? { type: "ITEM.CLEAR", value: a } : { type: "VALUE.CLEAR" });
262
- },
263
- getItemState: G,
264
- getRootProps() {
265
- return s.element({
266
- ...p.root.attrs,
267
- dir: i("dir"),
268
- id: Le(l),
269
- "data-invalid": h(m),
270
- "data-readonly": h(E)
271
- });
272
- },
273
- getLabelProps() {
274
- return s.label({
275
- dir: i("dir"),
276
- id: A(l),
277
- ...p.label.attrs,
278
- "data-disabled": h(c),
279
- "data-invalid": h(m),
280
- "data-readonly": h(E),
281
- htmlFor: $(l),
282
- onClick(a) {
283
- a.defaultPrevented || c || O(l)?.focus({ preventScroll: !0 });
284
- }
285
- });
286
- },
287
- getControlProps() {
288
- return s.element({
289
- ...p.control.attrs,
290
- dir: i("dir"),
291
- id: Ae(l),
292
- "data-state": I ? "open" : "closed",
293
- "data-focus": h(v),
294
- "data-disabled": h(c),
295
- "data-invalid": h(m)
296
- });
297
- },
298
- getValueTextProps() {
299
- return s.element({
300
- ...p.valueText.attrs,
301
- dir: i("dir"),
302
- "data-disabled": h(c),
303
- "data-invalid": h(m),
304
- "data-focus": h(v)
305
- });
306
- },
307
- getTriggerProps() {
308
- return s.button({
309
- id: W(l),
310
- disabled: c,
311
- dir: i("dir"),
312
- type: "button",
313
- role: "combobox",
314
- "aria-controls": U(l),
315
- "aria-expanded": I,
316
- "aria-haspopup": "listbox",
317
- "data-state": I ? "open" : "closed",
318
- "aria-invalid": m,
319
- "aria-labelledby": A(l),
320
- ...p.trigger.attrs,
321
- "data-disabled": h(c),
322
- "data-invalid": h(m),
323
- "data-readonly": h(E),
324
- "data-placement": N,
325
- "data-placeholder-shown": h(!o("hasSelectedItems")),
326
- onClick(a) {
327
- H && (a.defaultPrevented || r({ type: "TRIGGER.CLICK" }));
328
- },
329
- onFocus() {
330
- r({ type: "TRIGGER.FOCUS" });
331
- },
332
- onBlur() {
333
- r({ type: "TRIGGER.BLUR" });
334
- },
335
- onKeyDown(a) {
336
- if (a.defaultPrevented || !H) return;
337
- const g = {
338
- ArrowUp() {
339
- r({ type: "TRIGGER.ARROW_UP" });
340
- },
341
- ArrowDown(R) {
342
- r({ type: R.altKey ? "OPEN" : "TRIGGER.ARROW_DOWN" });
343
- },
344
- ArrowLeft() {
345
- r({ type: "TRIGGER.ARROW_LEFT" });
346
- },
347
- ArrowRight() {
348
- r({ type: "TRIGGER.ARROW_RIGHT" });
349
- },
350
- Home() {
351
- r({ type: "TRIGGER.HOME" });
352
- },
353
- End() {
354
- r({ type: "TRIGGER.END" });
355
- },
356
- Enter() {
357
- r({ type: "TRIGGER.ENTER" });
358
- },
359
- Space(R) {
360
- r(q ? { type: "TRIGGER.TYPEAHEAD", key: R.key } : { type: "TRIGGER.ENTER" });
361
- }
362
- }[j(a, {
363
- dir: i("dir"),
364
- orientation: "vertical"
365
- })];
366
- if (g) {
367
- g(a), a.preventDefault();
368
- return;
369
- }
370
- B.isValidEvent(a) && (r({ type: "TRIGGER.TYPEAHEAD", key: a.key }), a.preventDefault());
371
- }
372
- });
373
- },
374
- getIndicatorProps() {
375
- return s.element({
376
- ...p.indicator.attrs,
377
- dir: i("dir"),
378
- "aria-hidden": !0,
379
- "data-state": I ? "open" : "closed",
380
- "data-disabled": h(c),
381
- "data-invalid": h(m),
382
- "data-readonly": h(E)
383
- });
384
- },
385
- getItemProps(a) {
386
- const d = G(a);
387
- return s.element({
388
- id: K(l, d.value),
389
- role: "option",
390
- ...p.item.attrs,
391
- dir: i("dir"),
392
- "data-value": d.value,
393
- "aria-selected": d.selected,
394
- "data-state": d.selected ? "checked" : "unchecked",
395
- "data-highlighted": h(d.highlighted),
396
- "data-disabled": h(d.disabled),
397
- "aria-disabled": Te(d.disabled),
398
- onPointerMove(g) {
399
- d.disabled || g.pointerType !== "mouse" || d.value !== C && r({ type: "ITEM.POINTER_MOVE", value: d.value });
400
- },
401
- onClick(g) {
402
- g.defaultPrevented || d.disabled || r({ type: "ITEM.CLICK", src: "pointerup", value: d.value });
403
- },
404
- onPointerLeave(g) {
405
- d.disabled || a.persistFocus || g.pointerType !== "mouse" || !e.event.previous()?.type.includes("POINTER") || r({ type: "ITEM.POINTER_LEAVE" });
406
- }
407
- });
408
- },
409
- getItemTextProps(a) {
410
- const d = G(a);
411
- return s.element({
412
- ...p.itemText.attrs,
413
- "data-state": d.selected ? "checked" : "unchecked",
414
- "data-disabled": h(d.disabled),
415
- "data-highlighted": h(d.highlighted)
416
- });
417
- },
418
- getItemIndicatorProps(a) {
419
- const d = G(a);
420
- return s.element({
421
- "aria-hidden": !0,
422
- ...p.itemIndicator.attrs,
423
- "data-state": d.selected ? "checked" : "unchecked",
424
- hidden: !d.selected
425
- });
426
- },
427
- getItemGroupLabelProps(a) {
428
- const { htmlFor: d } = a;
429
- return s.element({
430
- ...p.itemGroupLabel.attrs,
431
- id: Q(l, d),
432
- dir: i("dir"),
433
- role: "presentation"
434
- });
435
- },
436
- getItemGroupProps(a) {
437
- const { id: d } = a;
438
- return s.element({
439
- ...p.itemGroup.attrs,
440
- "data-disabled": h(c),
441
- id: Pe(l, d),
442
- "aria-labelledby": Q(l, d),
443
- role: "group",
444
- dir: i("dir")
445
- });
446
- },
447
- getClearTriggerProps() {
448
- return s.button({
449
- ...p.clearTrigger.attrs,
450
- id: se(l),
451
- type: "button",
452
- "aria-label": "Clear value",
453
- "data-invalid": h(m),
454
- disabled: c,
455
- hidden: !o("hasSelectedItems"),
456
- dir: i("dir"),
457
- onClick(a) {
458
- a.defaultPrevented || r({ type: "CLEAR.CLICK" });
459
- }
460
- });
461
- },
462
- getHiddenSelectProps() {
463
- const a = t.get("value"), d = i("multiple") ? a : a?.[0];
464
- return s.select({
465
- name: i("name"),
466
- form: i("form"),
467
- disabled: c,
468
- multiple: i("multiple"),
469
- required: i("required"),
470
- "aria-hidden": !0,
471
- id: $(l),
472
- defaultValue: d,
473
- style: ye,
474
- tabIndex: -1,
475
- // Some browser extensions will focus the hidden select.
476
- // Let's forward the focus to the trigger.
477
- onFocus() {
478
- O(l)?.focus({ preventScroll: !0 });
479
- },
480
- "aria-labelledby": A(l)
481
- });
482
- },
483
- getPositionerProps() {
484
- return s.element({
485
- ...p.positioner.attrs,
486
- dir: i("dir"),
487
- id: le(l),
488
- style: ae.floating
489
- });
490
- },
491
- getContentProps() {
492
- return s.element({
493
- hidden: !I,
494
- dir: i("dir"),
495
- id: U(l),
496
- role: f ? "listbox" : "dialog",
497
- ...p.content.attrs,
498
- "data-state": I ? "open" : "closed",
499
- "data-placement": N,
500
- "data-activedescendant": k,
501
- "aria-activedescendant": f ? k : void 0,
502
- "aria-multiselectable": i("multiple") && f ? !0 : void 0,
503
- "aria-labelledby": A(l),
504
- tabIndex: 0,
505
- onKeyDown(a) {
506
- if (!H || !fe(a)) return;
507
- if (a.key === "Tab" && !Ie(a)) {
508
- a.preventDefault();
509
- return;
510
- }
511
- const d = {
512
- ArrowUp() {
513
- r({ type: "CONTENT.ARROW_UP" });
514
- },
515
- ArrowDown() {
516
- r({ type: "CONTENT.ARROW_DOWN" });
517
- },
518
- Home() {
519
- r({ type: "CONTENT.HOME" });
520
- },
521
- End() {
522
- r({ type: "CONTENT.END" });
523
- },
524
- Enter() {
525
- r({ type: "ITEM.CLICK", src: "keydown.enter" });
526
- },
527
- Space(D) {
528
- q ? r({ type: "CONTENT.TYPEAHEAD", key: D.key }) : d.Enter?.(D);
529
- }
530
- }, g = d[j(a)];
531
- if (g) {
532
- g(a), a.preventDefault();
533
- return;
534
- }
535
- const R = Ee(a);
536
- ve(R) || B.isValidEvent(a) && (r({ type: "CONTENT.TYPEAHEAD", key: a.key }), a.preventDefault());
537
- }
538
- });
539
- },
540
- getListProps() {
541
- return s.element({
542
- ...p.list.attrs,
543
- tabIndex: 0,
544
- role: f ? void 0 : "listbox",
545
- "aria-labelledby": W(l),
546
- "aria-activedescendant": f ? void 0 : k,
547
- "aria-multiselectable": !f && i("multiple") ? !0 : void 0
548
- });
549
- }
550
- };
551
- }
552
- var { and: S, not: T, or: He } = ue(), Me = oe({
553
- props({ props: e }) {
554
- return {
555
- loopFocus: !1,
556
- closeOnSelect: !e.multiple,
557
- composite: !0,
558
- defaultValue: [],
559
- ...e,
560
- collection: e.collection ?? ie.empty(),
561
- positioning: {
562
- placement: "bottom-start",
563
- gutter: 8,
564
- ...e.positioning
565
- }
566
- };
567
- },
568
- context({ prop: e, bindable: s }) {
569
- return {
570
- value: s(() => ({
571
- defaultValue: e("defaultValue"),
572
- value: e("value"),
573
- isEqual: z,
574
- onChange(t) {
575
- const i = e("collection").findMany(t);
576
- return e("onValueChange")?.({ value: t, items: i });
577
- }
578
- })),
579
- highlightedValue: s(() => ({
580
- defaultValue: e("defaultHighlightedValue") || null,
581
- value: e("highlightedValue"),
582
- onChange(t) {
583
- e("onHighlightChange")?.({
584
- highlightedValue: t,
585
- highlightedItem: e("collection").find(t),
586
- highlightedIndex: e("collection").indexOf(t)
587
- });
588
- }
589
- })),
590
- currentPlacement: s(() => ({
591
- defaultValue: void 0
592
- })),
593
- fieldsetDisabled: s(() => ({
594
- defaultValue: !1
595
- })),
596
- highlightedItem: s(() => ({
597
- defaultValue: null
598
- })),
599
- selectedItems: s(() => {
600
- const t = e("value") ?? e("defaultValue") ?? [];
601
- return { defaultValue: e("collection").findMany(t) };
602
- })
603
- };
604
- },
605
- refs() {
606
- return {
607
- typeahead: { ...B.defaultOptions }
608
- };
609
- },
610
- computed: {
611
- hasSelectedItems: ({ context: e }) => e.get("value").length > 0,
612
- isTypingAhead: ({ refs: e }) => e.get("typeahead").keysSoFar !== "",
613
- isDisabled: ({ prop: e, context: s }) => !!e("disabled") || !!s.get("fieldsetDisabled"),
614
- isInteractive: ({ prop: e }) => !(e("disabled") || e("readOnly")),
615
- valueAsString: ({ context: e, prop: s }) => s("collection").stringifyItems(e.get("selectedItems"))
616
- },
617
- initialState({ prop: e }) {
618
- return e("open") || e("defaultOpen") ? "open" : "idle";
619
- },
620
- entry: ["syncSelectElement"],
621
- watch({ context: e, prop: s, track: t, action: i }) {
622
- t([() => e.get("value").toString()], () => {
623
- i(["syncSelectedItems", "syncSelectElement", "dispatchChangeEvent"]);
624
- }), t([() => s("open")], () => {
625
- i(["toggleVisibility"]);
626
- }), t([() => e.get("highlightedValue")], () => {
627
- i(["syncHighlightedItem"]);
628
- }), t([() => s("collection").toString()], () => {
629
- i(["syncCollection"]);
630
- });
631
- },
632
- on: {
633
- "HIGHLIGHTED_VALUE.SET": {
634
- actions: ["setHighlightedItem"]
635
- },
636
- "HIGHLIGHTED_VALUE.CLEAR": {
637
- actions: ["clearHighlightedItem"]
638
- },
639
- "ITEM.SELECT": {
640
- actions: ["selectItem"]
641
- },
642
- "ITEM.CLEAR": {
643
- actions: ["clearItem"]
644
- },
645
- "VALUE.SET": {
646
- actions: ["setSelectedItems"]
647
- },
648
- "VALUE.CLEAR": {
649
- actions: ["clearSelectedItems"]
650
- },
651
- "CLEAR.CLICK": {
652
- actions: ["clearSelectedItems", "focusTriggerEl"]
653
- }
654
- },
655
- effects: ["trackFormControlState"],
656
- states: {
657
- idle: {
658
- tags: ["closed"],
659
- on: {
660
- "CONTROLLED.OPEN": [
661
- {
662
- guard: "isTriggerClickEvent",
663
- target: "open",
664
- actions: ["setInitialFocus", "highlightFirstSelectedItem"]
665
- },
666
- {
667
- target: "open",
668
- actions: ["setInitialFocus"]
669
- }
670
- ],
671
- "TRIGGER.CLICK": [
672
- {
673
- guard: "isOpenControlled",
674
- actions: ["invokeOnOpen"]
675
- },
676
- {
677
- target: "open",
678
- actions: ["invokeOnOpen", "setInitialFocus", "highlightFirstSelectedItem"]
679
- }
680
- ],
681
- "TRIGGER.FOCUS": {
682
- target: "focused"
683
- },
684
- OPEN: [
685
- {
686
- guard: "isOpenControlled",
687
- actions: ["invokeOnOpen"]
688
- },
689
- {
690
- target: "open",
691
- actions: ["setInitialFocus", "invokeOnOpen"]
692
- }
693
- ]
694
- }
695
- },
696
- focused: {
697
- tags: ["closed"],
698
- on: {
699
- "CONTROLLED.OPEN": [
700
- {
701
- guard: "isTriggerClickEvent",
702
- target: "open",
703
- actions: ["setInitialFocus", "highlightFirstSelectedItem"]
704
- },
705
- {
706
- guard: "isTriggerArrowUpEvent",
707
- target: "open",
708
- actions: ["setInitialFocus", "highlightComputedLastItem"]
709
- },
710
- {
711
- guard: He("isTriggerArrowDownEvent", "isTriggerEnterEvent"),
712
- target: "open",
713
- actions: ["setInitialFocus", "highlightComputedFirstItem"]
714
- },
715
- {
716
- target: "open",
717
- actions: ["setInitialFocus"]
718
- }
719
- ],
720
- OPEN: [
721
- {
722
- guard: "isOpenControlled",
723
- actions: ["invokeOnOpen"]
724
- },
725
- {
726
- target: "open",
727
- actions: ["setInitialFocus", "invokeOnOpen"]
728
- }
729
- ],
730
- "TRIGGER.BLUR": {
731
- target: "idle"
732
- },
733
- "TRIGGER.CLICK": [
734
- {
735
- guard: "isOpenControlled",
736
- actions: ["invokeOnOpen"]
737
- },
738
- {
739
- target: "open",
740
- actions: ["setInitialFocus", "invokeOnOpen", "highlightFirstSelectedItem"]
741
- }
742
- ],
743
- "TRIGGER.ENTER": [
744
- {
745
- guard: "isOpenControlled",
746
- actions: ["invokeOnOpen"]
747
- },
748
- {
749
- target: "open",
750
- actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedFirstItem"]
751
- }
752
- ],
753
- "TRIGGER.ARROW_UP": [
754
- {
755
- guard: "isOpenControlled",
756
- actions: ["invokeOnOpen"]
757
- },
758
- {
759
- target: "open",
760
- actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedLastItem"]
761
- }
762
- ],
763
- "TRIGGER.ARROW_DOWN": [
764
- {
765
- guard: "isOpenControlled",
766
- actions: ["invokeOnOpen"]
767
- },
768
- {
769
- target: "open",
770
- actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedFirstItem"]
771
- }
772
- ],
773
- "TRIGGER.ARROW_LEFT": [
774
- {
775
- guard: S(T("multiple"), "hasSelectedItems"),
776
- actions: ["selectPreviousItem"]
777
- },
778
- {
779
- guard: T("multiple"),
780
- actions: ["selectLastItem"]
781
- }
782
- ],
783
- "TRIGGER.ARROW_RIGHT": [
784
- {
785
- guard: S(T("multiple"), "hasSelectedItems"),
786
- actions: ["selectNextItem"]
787
- },
788
- {
789
- guard: T("multiple"),
790
- actions: ["selectFirstItem"]
791
- }
792
- ],
793
- "TRIGGER.HOME": {
794
- guard: T("multiple"),
795
- actions: ["selectFirstItem"]
796
- },
797
- "TRIGGER.END": {
798
- guard: T("multiple"),
799
- actions: ["selectLastItem"]
800
- },
801
- "TRIGGER.TYPEAHEAD": {
802
- guard: T("multiple"),
803
- actions: ["selectMatchingItem"]
804
- }
805
- }
806
- },
807
- open: {
808
- tags: ["open"],
809
- exit: ["scrollContentToTop"],
810
- effects: ["trackDismissableElement", "computePlacement", "scrollToHighlightedItem"],
811
- on: {
812
- "CONTROLLED.CLOSE": [
813
- {
814
- guard: "restoreFocus",
815
- target: "focused",
816
- actions: ["focusTriggerEl", "clearHighlightedItem"]
817
- },
818
- {
819
- target: "idle",
820
- actions: ["clearHighlightedItem"]
821
- }
822
- ],
823
- CLOSE: [
824
- {
825
- guard: "isOpenControlled",
826
- actions: ["invokeOnClose"]
827
- },
828
- {
829
- guard: "restoreFocus",
830
- target: "focused",
831
- actions: ["invokeOnClose", "focusTriggerEl", "clearHighlightedItem"]
832
- },
833
- {
834
- target: "idle",
835
- actions: ["invokeOnClose", "clearHighlightedItem"]
836
- }
837
- ],
838
- "TRIGGER.CLICK": [
839
- {
840
- guard: "isOpenControlled",
841
- actions: ["invokeOnClose"]
842
- },
843
- {
844
- target: "focused",
845
- actions: ["invokeOnClose", "clearHighlightedItem"]
846
- }
847
- ],
848
- "ITEM.CLICK": [
849
- {
850
- guard: S("closeOnSelect", "isOpenControlled"),
851
- actions: ["selectHighlightedItem", "invokeOnClose"]
852
- },
853
- {
854
- guard: "closeOnSelect",
855
- target: "focused",
856
- actions: ["selectHighlightedItem", "invokeOnClose", "focusTriggerEl", "clearHighlightedItem"]
857
- },
858
- {
859
- actions: ["selectHighlightedItem"]
860
- }
861
- ],
862
- "CONTENT.HOME": {
863
- actions: ["highlightFirstItem"]
864
- },
865
- "CONTENT.END": {
866
- actions: ["highlightLastItem"]
867
- },
868
- "CONTENT.ARROW_DOWN": [
869
- {
870
- guard: S("hasHighlightedItem", "loop", "isLastItemHighlighted"),
871
- actions: ["highlightFirstItem"]
872
- },
873
- {
874
- guard: "hasHighlightedItem",
875
- actions: ["highlightNextItem"]
876
- },
877
- {
878
- actions: ["highlightFirstItem"]
879
- }
880
- ],
881
- "CONTENT.ARROW_UP": [
882
- {
883
- guard: S("hasHighlightedItem", "loop", "isFirstItemHighlighted"),
884
- actions: ["highlightLastItem"]
885
- },
886
- {
887
- guard: "hasHighlightedItem",
888
- actions: ["highlightPreviousItem"]
889
- },
890
- {
891
- actions: ["highlightLastItem"]
892
- }
893
- ],
894
- "CONTENT.TYPEAHEAD": {
895
- actions: ["highlightMatchingItem"]
896
- },
897
- "ITEM.POINTER_MOVE": {
898
- actions: ["highlightItem"]
899
- },
900
- "ITEM.POINTER_LEAVE": {
901
- actions: ["clearHighlightedItem"]
902
- },
903
- "POSITIONING.SET": {
904
- actions: ["reposition"]
905
- }
906
- }
907
- }
908
- },
909
- implementations: {
910
- guards: {
911
- loop: ({ prop: e }) => !!e("loopFocus"),
912
- multiple: ({ prop: e }) => !!e("multiple"),
913
- hasSelectedItems: ({ computed: e }) => !!e("hasSelectedItems"),
914
- hasHighlightedItem: ({ context: e }) => e.get("highlightedValue") != null,
915
- isFirstItemHighlighted: ({ context: e, prop: s }) => e.get("highlightedValue") === s("collection").firstValue,
916
- isLastItemHighlighted: ({ context: e, prop: s }) => e.get("highlightedValue") === s("collection").lastValue,
917
- closeOnSelect: ({ prop: e, event: s }) => !!(s.closeOnSelect ?? e("closeOnSelect")),
918
- restoreFocus: ({ event: e }) => Z(e),
919
- // guard assertions (for controlled mode)
920
- isOpenControlled: ({ prop: e }) => e("open") !== void 0,
921
- isTriggerClickEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.CLICK",
922
- isTriggerEnterEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ENTER",
923
- isTriggerArrowUpEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ARROW_UP",
924
- isTriggerArrowDownEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ARROW_DOWN"
925
- },
926
- effects: {
927
- trackFormControlState({ context: e, scope: s }) {
928
- return ge(_(s), {
929
- onFieldsetDisabledChange(t) {
930
- e.set("fieldsetDisabled", t);
931
- },
932
- onFormReset() {
933
- const t = e.initial("value");
934
- e.set("value", t);
935
- }
936
- });
937
- },
938
- trackDismissableElement({ scope: e, send: s, prop: t }) {
939
- const i = () => b(e);
940
- let l = !0;
941
- return he(i, {
942
- defer: !0,
943
- exclude: [O(e), Fe(e)],
944
- onFocusOutside: t("onFocusOutside"),
945
- onPointerDownOutside: t("onPointerDownOutside"),
946
- onInteractOutside(n) {
947
- t("onInteractOutside")?.(n), l = !(n.detail.focusable || n.detail.contextmenu);
948
- },
949
- onDismiss() {
950
- s({ type: "CLOSE", src: "interact-outside", restoreFocus: l });
951
- }
952
- });
953
- },
954
- computePlacement({ context: e, prop: s, scope: t }) {
955
- const i = s("positioning");
956
- return e.set("currentPlacement", i.placement), J(() => O(t), () => X(t), {
957
- defer: !0,
958
- ...i,
959
- onComplete(o) {
960
- e.set("currentPlacement", o.placement);
961
- }
962
- });
963
- },
964
- scrollToHighlightedItem({ context: e, prop: s, scope: t, event: i }) {
965
- const l = (o) => {
966
- const r = e.get("highlightedValue");
967
- if (r == null || i.current().type.includes("POINTER")) return;
968
- const c = Ne(t, r), m = b(t), E = s("scrollToIndexFn");
969
- if (E) {
970
- const f = s("collection").indexOf(r);
971
- E?.({ index: f, immediate: o });
972
- return;
973
- }
974
- me(c, { rootEl: m, block: "nearest" });
975
- };
976
- return w(() => l(!0)), ce(() => b(t), {
977
- defer: !0,
978
- attributes: ["data-activedescendant"],
979
- callback() {
980
- l(!1);
981
- }
982
- });
983
- }
984
- },
985
- actions: {
986
- reposition({ context: e, prop: s, scope: t, event: i }) {
987
- const l = () => X(t);
988
- J(O(t), l, {
989
- ...s("positioning"),
990
- ...i.options,
991
- defer: !0,
992
- listeners: !1,
993
- onComplete(n) {
994
- e.set("currentPlacement", n.placement);
995
- }
996
- });
997
- },
998
- toggleVisibility({ send: e, prop: s, event: t }) {
999
- e({ type: s("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
1000
- },
1001
- highlightPreviousItem({ context: e, prop: s }) {
1002
- const t = e.get("highlightedValue");
1003
- if (t == null) return;
1004
- const i = s("collection").getPreviousValue(t, 1, s("loopFocus"));
1005
- i != null && e.set("highlightedValue", i);
1006
- },
1007
- highlightNextItem({ context: e, prop: s }) {
1008
- const t = e.get("highlightedValue");
1009
- if (t == null) return;
1010
- const i = s("collection").getNextValue(t, 1, s("loopFocus"));
1011
- i != null && e.set("highlightedValue", i);
1012
- },
1013
- highlightFirstItem({ context: e, prop: s }) {
1014
- const t = s("collection").firstValue;
1015
- e.set("highlightedValue", t);
1016
- },
1017
- highlightLastItem({ context: e, prop: s }) {
1018
- const t = s("collection").lastValue;
1019
- e.set("highlightedValue", t);
1020
- },
1021
- setInitialFocus({ scope: e }) {
1022
- w(() => {
1023
- de({
1024
- root: b(e)
1025
- })?.focus({ preventScroll: !0 });
1026
- });
1027
- },
1028
- focusTriggerEl({ event: e, scope: s }) {
1029
- Z(e) && w(() => {
1030
- O(s)?.focus({ preventScroll: !0 });
1031
- });
1032
- },
1033
- selectHighlightedItem({ context: e, prop: s, event: t }) {
1034
- let i = t.value ?? e.get("highlightedValue");
1035
- if (i == null || !s("collection").has(i)) return;
1036
- s("onSelect")?.({ value: i }), i = s("deselectable") && !s("multiple") && e.get("value").includes(i) ? null : i, e.set("value", (n) => i == null ? [] : s("multiple") ? Y(n, i) : [i]);
1037
- },
1038
- highlightComputedFirstItem({ context: e, prop: s, computed: t }) {
1039
- const i = s("collection"), l = t("hasSelectedItems") ? i.sort(e.get("value"))[0] : i.firstValue;
1040
- e.set("highlightedValue", l);
1041
- },
1042
- highlightComputedLastItem({ context: e, prop: s, computed: t }) {
1043
- const i = s("collection"), l = t("hasSelectedItems") ? i.sort(e.get("value"))[0] : i.lastValue;
1044
- e.set("highlightedValue", l);
1045
- },
1046
- highlightFirstSelectedItem({ context: e, prop: s, computed: t }) {
1047
- if (!t("hasSelectedItems")) return;
1048
- const i = s("collection").sort(e.get("value"))[0];
1049
- e.set("highlightedValue", i);
1050
- },
1051
- highlightItem({ context: e, event: s }) {
1052
- e.set("highlightedValue", s.value);
1053
- },
1054
- highlightMatchingItem({ context: e, prop: s, event: t, refs: i }) {
1055
- const l = s("collection").search(t.key, {
1056
- state: i.get("typeahead"),
1057
- currentValue: e.get("highlightedValue")
1058
- });
1059
- l != null && e.set("highlightedValue", l);
1060
- },
1061
- setHighlightedItem({ context: e, event: s }) {
1062
- e.set("highlightedValue", s.value);
1063
- },
1064
- clearHighlightedItem({ context: e }) {
1065
- e.set("highlightedValue", null);
1066
- },
1067
- selectItem({ context: e, prop: s, event: t }) {
1068
- s("onSelect")?.({ value: t.value });
1069
- const l = s("deselectable") && !s("multiple") && e.get("value").includes(t.value) ? null : t.value;
1070
- e.set("value", (n) => l == null ? [] : s("multiple") ? Y(n, l) : [l]);
1071
- },
1072
- clearItem({ context: e, event: s }) {
1073
- e.set("value", (t) => t.filter((i) => i !== s.value));
1074
- },
1075
- setSelectedItems({ context: e, event: s }) {
1076
- e.set("value", s.value);
1077
- },
1078
- clearSelectedItems({ context: e }) {
1079
- e.set("value", []);
1080
- },
1081
- selectPreviousItem({ context: e, prop: s }) {
1082
- const [t] = e.get("value"), i = s("collection").getPreviousValue(t);
1083
- i && e.set("value", [i]);
1084
- },
1085
- selectNextItem({ context: e, prop: s }) {
1086
- const [t] = e.get("value"), i = s("collection").getNextValue(t);
1087
- i && e.set("value", [i]);
1088
- },
1089
- selectFirstItem({ context: e, prop: s }) {
1090
- const t = s("collection").firstValue;
1091
- t && e.set("value", [t]);
1092
- },
1093
- selectLastItem({ context: e, prop: s }) {
1094
- const t = s("collection").lastValue;
1095
- t && e.set("value", [t]);
1096
- },
1097
- selectMatchingItem({ context: e, prop: s, event: t, refs: i }) {
1098
- const l = s("collection").search(t.key, {
1099
- state: i.get("typeahead"),
1100
- currentValue: e.get("value")[0]
1101
- });
1102
- l != null && e.set("value", [l]);
1103
- },
1104
- scrollContentToTop({ prop: e, scope: s }) {
1105
- e("scrollToIndexFn") ? e("scrollToIndexFn")?.({ index: 0, immediate: !0 }) : b(s)?.scrollTo(0, 0);
1106
- },
1107
- invokeOnOpen({ prop: e }) {
1108
- e("onOpenChange")?.({ open: !0 });
1109
- },
1110
- invokeOnClose({ prop: e }) {
1111
- e("onOpenChange")?.({ open: !1 });
1112
- },
1113
- syncSelectElement({ context: e, prop: s, scope: t }) {
1114
- const i = _(t);
1115
- if (i) {
1116
- if (e.get("value").length === 0 && !s("multiple")) {
1117
- i.selectedIndex = -1;
1118
- return;
1119
- }
1120
- for (const l of i.options)
1121
- l.selected = e.get("value").includes(l.value);
1122
- }
1123
- },
1124
- syncCollection({ context: e, prop: s }) {
1125
- const t = s("collection"), i = t.find(e.get("highlightedValue"));
1126
- i && e.set("highlightedItem", i);
1127
- const l = t.findMany(e.get("value"));
1128
- e.set("selectedItems", l);
1129
- },
1130
- syncSelectedItems({ context: e, prop: s }) {
1131
- const t = s("collection"), i = e.get("selectedItems"), n = e.get("value").map((o) => i.find((c) => t.getItemValue(c) === o) || t.find(o));
1132
- e.set("selectedItems", n);
1133
- },
1134
- syncHighlightedItem({ context: e, prop: s }) {
1135
- const t = s("collection"), i = e.get("highlightedValue"), l = i ? t.find(i) : null;
1136
- e.set("highlightedItem", l);
1137
- },
1138
- dispatchChangeEvent({ scope: e }) {
1139
- queueMicrotask(() => {
1140
- const s = _(e);
1141
- if (!s) return;
1142
- const t = e.getWin(), i = new t.Event("change", { bubbles: !0, composed: !0 });
1143
- s.dispatchEvent(i);
1144
- });
1145
- }
1146
- }
1147
- }
1148
- });
1149
- function Z(e) {
1150
- const s = e.restoreFocus ?? e.previousEvent?.restoreFocus;
1151
- return s == null || !!s;
1152
- }
1153
- F()([
1154
- "closeOnSelect",
1155
- "collection",
1156
- "composite",
1157
- "defaultHighlightedValue",
1158
- "defaultOpen",
1159
- "defaultValue",
1160
- "deselectable",
1161
- "dir",
1162
- "disabled",
1163
- "form",
1164
- "getRootNode",
1165
- "highlightedValue",
1166
- "id",
1167
- "ids",
1168
- "invalid",
1169
- "loopFocus",
1170
- "multiple",
1171
- "name",
1172
- "onFocusOutside",
1173
- "onHighlightChange",
1174
- "onInteractOutside",
1175
- "onOpenChange",
1176
- "onPointerDownOutside",
1177
- "onSelect",
1178
- "onValueChange",
1179
- "open",
1180
- "positioning",
1181
- "readOnly",
1182
- "required",
1183
- "scrollToIndexFn",
1184
- "value"
1185
- ]);
1186
- F()(["item", "persistFocus"]);
1187
- F()(["id"]);
1188
- F()(["htmlFor"]);
1189
- export {
1190
- ee as L,
1191
- Ge as a,
1192
- xe as c,
1193
- Me as m
1194
- };
1195
- //# sourceMappingURL=index-CJEisKZA.js.map