@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
  2. package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
  3. package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
  4. package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
  5. package/dist/chunks/anatomy-BkGk10kB.js +2 -0
  6. package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
  7. package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
  8. package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
  9. package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
  10. package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
  11. package/dist/chunks/avatar.component-C-365mx3.js +404 -0
  12. package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
  13. package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
  14. package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
  15. package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
  16. package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
  17. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
  18. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
  19. package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
  20. package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
  21. package/dist/chunks/button.component-BO6oee_V.js +69 -0
  22. package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
  23. package/dist/chunks/button.component-DjdgBXDC.js +2 -0
  24. package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
  25. package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
  26. package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
  27. package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
  28. package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
  29. package/dist/chunks/button.types-3lHElsln.js +2 -0
  30. package/dist/chunks/button.types-3lHElsln.js.map +1 -0
  31. package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
  32. package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
  33. package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
  34. package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
  35. package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
  36. package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
  37. package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
  38. package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
  39. package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
  40. package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
  41. package/dist/chunks/card.component-B1AznjWF.js +55 -0
  42. package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
  43. package/dist/chunks/card.component-BmBiYbMV.js +2 -0
  44. package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
  45. package/dist/chunks/center-Dmlzv1BW.js +20 -0
  46. package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
  47. package/dist/chunks/center-kk61ArhQ.js +2 -0
  48. package/dist/chunks/center-kk61ArhQ.js.map +1 -0
  49. package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
  50. package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
  51. package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
  52. package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
  53. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
  54. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
  55. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
  56. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
  57. package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
  58. package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
  59. package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
  60. package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
  61. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
  62. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
  63. package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
  64. package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
  65. package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
  66. package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
  67. package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
  68. package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
  69. package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
  70. package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
  71. package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
  72. package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
  73. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
  74. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
  75. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
  76. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
  77. package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
  78. package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
  79. package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
  80. package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
  81. package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
  82. package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
  83. package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
  84. package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
  85. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
  86. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
  87. package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
  88. package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
  89. package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
  90. package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
  91. package/dist/chunks/dialog-CZFwddWp.js +2 -0
  92. package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
  93. package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
  94. package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
  95. package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
  96. package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
  97. package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
  98. package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
  99. package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
  100. package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
  101. package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
  102. package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
  103. package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
  104. package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
  105. package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
  106. package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
  107. package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
  108. package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
  109. package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
  110. package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
  111. package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
  112. package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
  113. package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
  114. package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
  115. package/dist/chunks/heading.component-7ikcgDco.js +18 -0
  116. package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
  117. package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
  118. package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
  119. package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
  120. package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
  121. package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
  122. package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
  123. package/dist/chunks/icon.component-PV_nHBId.js +32 -0
  124. package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
  125. package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
  126. package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
  127. package/dist/chunks/index-B-OGBT0w.js +2 -0
  128. package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
  129. package/dist/chunks/index-B3xJnxjd.js +371 -0
  130. package/dist/chunks/index-B3xJnxjd.js.map +1 -0
  131. package/dist/chunks/index-BFUdiDZp.js +2 -0
  132. package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
  133. package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
  134. package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
  135. package/dist/chunks/index-BXv9lkZC.js +4 -0
  136. package/dist/chunks/index-BXv9lkZC.js.map +1 -0
  137. package/dist/chunks/index-BbZjRFzg.js +265 -0
  138. package/dist/chunks/index-BbZjRFzg.js.map +1 -0
  139. package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
  140. package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
  141. package/dist/chunks/index-BoulS5Zg.js +2 -0
  142. package/dist/chunks/index-BoulS5Zg.js.map +1 -0
  143. package/dist/chunks/index-BrJtqTzN.js +4115 -0
  144. package/dist/chunks/index-BrJtqTzN.js.map +1 -0
  145. package/dist/chunks/index-C9UYIjEB.js +1584 -0
  146. package/dist/chunks/index-C9UYIjEB.js.map +1 -0
  147. package/dist/chunks/index-CQURjLlA.js +3 -0
  148. package/dist/chunks/index-CQURjLlA.js.map +1 -0
  149. package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
  150. package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
  151. package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
  152. package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
  153. package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
  154. package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
  155. package/dist/chunks/index-D1RhzPVz.js +984 -0
  156. package/dist/chunks/index-D1RhzPVz.js.map +1 -0
  157. package/dist/chunks/index-D3Q0mQNf.js +325 -0
  158. package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
  159. package/dist/chunks/index-D6HBfqAu.js +2 -0
  160. package/dist/chunks/index-D6HBfqAu.js.map +1 -0
  161. package/dist/chunks/index-D6c4fMjg.js +2 -0
  162. package/dist/chunks/index-D6c4fMjg.js.map +1 -0
  163. package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
  164. package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
  165. package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
  166. package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
  167. package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
  168. package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
  169. package/dist/chunks/index-DS4KlAkI.js +371 -0
  170. package/dist/chunks/index-DS4KlAkI.js.map +1 -0
  171. package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
  172. package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
  173. package/dist/chunks/index-DVyODQn6.js +8 -0
  174. package/dist/chunks/index-DVyODQn6.js.map +1 -0
  175. package/dist/chunks/index-D_vndwae.js +3 -0
  176. package/dist/chunks/index-D_vndwae.js.map +1 -0
  177. package/dist/chunks/index-DfzXSlq1.js +2477 -0
  178. package/dist/chunks/index-DfzXSlq1.js.map +1 -0
  179. package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
  180. package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
  181. package/dist/chunks/index-Ts8g8jZd.js +2 -0
  182. package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
  183. package/dist/chunks/index-_913FPya.js +2 -0
  184. package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
  185. package/dist/chunks/index-fHSGm2nC.js +1044 -0
  186. package/dist/chunks/index-fHSGm2nC.js.map +1 -0
  187. package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
  188. package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
  189. package/dist/chunks/index-rSq6Bry6.js +2 -0
  190. package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
  191. package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
  192. package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
  193. package/dist/chunks/index-yh2QitBe.js +2 -0
  194. package/dist/chunks/index-yh2QitBe.js.map +1 -0
  195. package/dist/chunks/input-group-CFelIL63.js +78 -0
  196. package/dist/chunks/input-group-CFelIL63.js.map +1 -0
  197. package/dist/chunks/input-group-DUdSDk4o.js +2 -0
  198. package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
  199. package/dist/chunks/isToday-BgNkHh5t.js +2 -0
  200. package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
  201. package/dist/chunks/isToday-iCYsPDMT.js +23 -0
  202. package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
  203. package/dist/chunks/link.component--URNKuK2.js +44 -0
  204. package/dist/chunks/link.component--URNKuK2.js.map +1 -0
  205. package/dist/chunks/link.component-_YXG8MDq.js +2 -0
  206. package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
  207. package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
  208. package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
  209. package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
  210. package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
  211. package/dist/chunks/logo.types-88a31xCx.js +2 -0
  212. package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
  213. package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
  214. package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
  215. package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
  216. package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
  217. package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
  218. package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
  219. package/dist/chunks/modal.types-74os4Bqi.js +2 -0
  220. package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
  221. package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
  222. package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
  223. package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
  224. package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
  225. package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
  226. package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
  227. package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
  228. package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
  229. package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
  230. package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
  231. package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
  232. package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
  233. package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
  234. package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
  235. package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
  236. package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
  237. package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
  238. package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
  239. package/dist/chunks/popover-C7aj8Iwj.js +2 -0
  240. package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
  241. package/dist/chunks/popover-pd70xkY_.js +111 -0
  242. package/dist/chunks/popover-pd70xkY_.js.map +1 -0
  243. package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
  244. package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
  245. package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
  246. package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
  247. package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
  248. package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
  249. package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
  250. package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
  251. package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
  252. package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
  253. package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
  254. package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
  255. package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
  256. package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
  257. package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
  258. package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
  259. package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
  260. package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
  261. package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
  262. package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
  263. package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
  264. package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
  265. package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
  266. package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
  267. package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
  268. package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
  269. package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
  270. package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
  271. package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
  272. package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
  273. package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
  274. package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
  275. package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
  276. package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
  277. package/dist/chunks/rating-group-D8QA23q6.js +2 -0
  278. package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
  279. package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
  280. package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
  281. package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
  282. package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
  283. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
  284. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
  285. package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
  286. package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
  287. package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
  288. package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
  289. package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
  290. package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
  291. package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
  292. package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
  293. package/dist/chunks/select.component-CCNxMGvb.js +2 -0
  294. package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
  295. package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
  296. package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
  297. package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
  298. package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
  299. package/dist/chunks/spinner-B9ytCKVs.js +8 -0
  300. package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
  301. package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
  302. package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
  303. package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
  304. package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
  305. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
  306. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
  307. package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
  308. package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
  309. package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
  310. package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
  311. package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
  312. package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
  313. package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
  314. package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
  315. package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
  316. package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
  317. package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
  318. package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
  319. package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
  320. package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
  321. package/dist/chunks/tag.component-B7V76XfM.js +84 -0
  322. package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
  323. package/dist/chunks/tag.component-C98Wf07v.js +2 -0
  324. package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
  325. package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
  326. package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
  327. package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
  328. package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
  329. package/dist/chunks/text.component-CdTyTFds.js +12 -0
  330. package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
  331. package/dist/chunks/text.component-CeioUl0G.js +2 -0
  332. package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
  333. package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
  334. package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
  335. package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
  336. package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
  337. package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
  338. package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
  339. package/dist/chunks/textarea.component-axjxiv82.js +96 -0
  340. package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
  341. package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
  342. package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
  343. package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
  344. package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
  345. package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
  346. package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
  347. package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
  348. package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
  349. package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
  350. package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
  351. package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
  352. package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
  353. package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
  354. package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
  355. package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
  356. package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
  357. package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
  358. package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
  359. package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
  360. package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
  361. package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
  362. package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
  363. package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
  364. package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
  365. package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
  366. package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
  367. package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
  368. package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
  369. package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
  370. package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
  371. package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
  372. package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
  373. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
  374. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
  375. package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
  376. package/dist/chunks/use-locale-context-ym21RUxU.js.map +1 -0
  377. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  378. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  379. package/dist/chunks/withFormControl-DePFf9SY.js +367 -0
  380. package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
  381. package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
  382. package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
  383. package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
  384. package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
  385. package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
  386. package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
  387. package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
  388. package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
  389. package/dist/cjs/chakra/index.cjs +2 -2
  390. package/dist/cjs/chakra/index.cjs.map +1 -1
  391. package/dist/cjs/components/Alert/index.cjs +1 -1
  392. package/dist/cjs/components/Avatar/index.cjs +1 -1
  393. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  394. package/dist/cjs/components/Button/index.cjs +1 -1
  395. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  396. package/dist/cjs/components/Calendar/index.cjs +2 -0
  397. package/dist/cjs/components/Calendar/index.cjs.map +1 -0
  398. package/dist/cjs/components/Card/index.cjs +1 -1
  399. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  400. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  401. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  402. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  403. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  404. package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
  405. package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
  406. package/dist/cjs/components/Divider/index.cjs +1 -1
  407. package/dist/cjs/components/Heading/index.cjs +1 -1
  408. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  409. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  410. package/dist/cjs/components/Icon/index.cjs +1 -1
  411. package/dist/cjs/components/Link/index.cjs +1 -1
  412. package/dist/cjs/components/Logo/index.cjs +1 -1
  413. package/dist/cjs/components/Menu/index.cjs +1 -1
  414. package/dist/cjs/components/Modal/index.cjs +1 -1
  415. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  416. package/dist/cjs/components/NumberInput/index.cjs +2 -0
  417. package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
  418. package/dist/cjs/components/Picture/index.cjs +1 -1
  419. package/dist/cjs/components/PinInput/index.cjs +1 -1
  420. package/dist/cjs/components/Popover/index.cjs +1 -1
  421. package/dist/cjs/components/Progress/index.cjs +2 -0
  422. package/dist/cjs/components/Progress/index.cjs.map +1 -0
  423. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  424. package/dist/cjs/components/Radiomark/index.cjs +2 -0
  425. package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
  426. package/dist/cjs/components/Rating/index.cjs +2 -0
  427. package/dist/cjs/components/Rating/index.cjs.map +1 -0
  428. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  429. package/dist/cjs/components/Select/index.cjs +1 -1
  430. package/dist/cjs/components/SortableList/index.cjs +1 -1
  431. package/dist/cjs/components/Spinner/index.cjs +1 -1
  432. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  433. package/dist/cjs/components/Swatch/index.cjs +1 -1
  434. package/dist/cjs/components/Switch/index.cjs +1 -1
  435. package/dist/cjs/components/Tabs/index.cjs +1 -1
  436. package/dist/cjs/components/Tag/index.cjs +1 -1
  437. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  438. package/dist/cjs/components/Text/index.cjs +1 -1
  439. package/dist/cjs/components/TextInput/index.cjs +1 -1
  440. package/dist/cjs/components/Textarea/index.cjs +1 -1
  441. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  442. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  443. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  444. package/dist/cjs/components/Toast/index.cjs +1 -1
  445. package/dist/cjs/components/Toast/index.cjs.map +1 -1
  446. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  447. package/dist/cjs/components/index.cjs +1 -1
  448. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
  449. package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
  450. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
  451. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
  452. package/dist/cjs/index.cjs +1 -1
  453. package/dist/cjs/theme/index.cjs +1 -1
  454. package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
  455. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  456. package/dist/esm/chakra/index.js +1682 -1997
  457. package/dist/esm/chakra/index.js.map +1 -1
  458. package/dist/esm/components/Alert/index.js +1 -1
  459. package/dist/esm/components/Avatar/index.js +1 -1
  460. package/dist/esm/components/AvatarGroup/index.js +1 -1
  461. package/dist/esm/components/Button/index.js +2 -2
  462. package/dist/esm/components/ButtonGroup/index.js +1 -1
  463. package/dist/esm/components/Calendar/index.js +5 -0
  464. package/dist/esm/components/Calendar/index.js.map +1 -0
  465. package/dist/esm/components/Card/index.js +1 -1
  466. package/dist/esm/components/CharacterCounter/index.js +1 -1
  467. package/dist/esm/components/Checkbox/index.js +1 -1
  468. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  469. package/dist/esm/components/ConversationCard/index.js +1 -1
  470. package/dist/esm/components/DatePicker/index.js +4 -3
  471. package/dist/esm/components/DatePicker/index.js.map +1 -1
  472. package/dist/esm/components/DateTimePicker/index.js +7 -0
  473. package/dist/esm/components/DateTimePicker/index.js.map +1 -0
  474. package/dist/esm/components/Divider/index.js +6 -5
  475. package/dist/esm/components/Divider/index.js.map +1 -1
  476. package/dist/esm/components/Heading/index.js +1 -1
  477. package/dist/esm/components/Icon/generated/index.js +556 -342
  478. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  479. package/dist/esm/components/Icon/index.js +1 -1
  480. package/dist/esm/components/Link/index.js +1 -1
  481. package/dist/esm/components/Logo/index.js +1 -1
  482. package/dist/esm/components/Menu/index.js +1 -1
  483. package/dist/esm/components/Modal/index.js +1 -1
  484. package/dist/esm/components/NotificationCounter/index.js +1 -1
  485. package/dist/esm/components/NumberInput/index.js +5 -0
  486. package/dist/esm/components/NumberInput/index.js.map +1 -0
  487. package/dist/esm/components/Picture/index.js +1 -1
  488. package/dist/esm/components/PinInput/index.js +1 -1
  489. package/dist/esm/components/Popover/index.js +2 -2
  490. package/dist/esm/components/Progress/index.js +57 -0
  491. package/dist/esm/components/Progress/index.js.map +1 -0
  492. package/dist/esm/components/RadioGroup/index.js +1 -1
  493. package/dist/esm/components/Radiomark/index.js +5 -0
  494. package/dist/esm/components/Radiomark/index.js.map +1 -0
  495. package/dist/esm/components/Rating/index.js +5 -0
  496. package/dist/esm/components/Rating/index.js.map +1 -0
  497. package/dist/esm/components/RatingDots/index.js +1 -1
  498. package/dist/esm/components/Select/index.js +1 -1
  499. package/dist/esm/components/SortableList/index.js +1 -1
  500. package/dist/esm/components/Spinner/index.js +1 -1
  501. package/dist/esm/components/StyledAvatar/index.js +1 -1
  502. package/dist/esm/components/Swatch/index.js +1 -1
  503. package/dist/esm/components/Switch/index.js +1 -1
  504. package/dist/esm/components/Tabs/index.js +1 -1
  505. package/dist/esm/components/Tag/index.js +1 -1
  506. package/dist/esm/components/TagBlock/index.js +1 -1
  507. package/dist/esm/components/Text/index.js +1 -1
  508. package/dist/esm/components/TextInput/index.js +1 -1
  509. package/dist/esm/components/Textarea/index.js +1 -1
  510. package/dist/esm/components/TimePicker/index.js +1 -1
  511. package/dist/esm/components/TimeRange/index.js +1 -1
  512. package/dist/esm/components/Timestamp/index.js +1 -1
  513. package/dist/esm/components/Toast/index.js +26 -23
  514. package/dist/esm/components/Toast/index.js.map +1 -1
  515. package/dist/esm/components/Tooltip/index.js +1 -1
  516. package/dist/esm/components/index.js +131 -117
  517. package/dist/esm/components/index.js.map +1 -1
  518. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
  519. package/dist/esm/hooks/useColorMode/index.js.map +1 -1
  520. package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
  521. package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
  522. package/dist/esm/index.js +148 -134
  523. package/dist/esm/index.js.map +1 -1
  524. package/dist/esm/theme/index.js +1 -1
  525. package/dist/esm/theme/semanticTokens/index.js +4 -4
  526. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  527. package/dist/types/chakra/index.d.ts +2 -4
  528. package/dist/types/components/Alert/alert.component.d.ts +28 -1
  529. package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
  530. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
  531. package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
  532. package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
  533. package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
  534. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
  535. package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
  536. package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
  537. package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
  538. package/dist/types/components/Button/button.component.d.ts +14 -1
  539. package/dist/types/components/Button/button.recipe.d.ts +3 -1
  540. package/dist/types/components/Button/button.types.d.ts +2 -2
  541. package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
  542. package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
  543. package/dist/types/components/Calendar/index.d.ts +1 -0
  544. package/dist/types/components/Card/card.component.d.ts +41 -1
  545. package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
  546. package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
  547. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
  548. package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
  549. package/dist/types/components/Checkbox/index.d.ts +1 -0
  550. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
  551. package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
  552. package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
  553. package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
  554. package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
  555. package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
  556. package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
  557. package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
  558. package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
  559. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
  560. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
  561. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  562. package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
  563. package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
  564. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
  565. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
  566. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
  567. package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
  568. package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
  569. package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
  570. package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
  571. package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
  572. package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
  573. package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
  574. package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
  575. package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
  576. package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
  577. package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
  578. package/dist/types/components/DateTimePicker/index.d.ts +2 -0
  579. package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
  580. package/dist/types/components/Divider/divider.component.d.ts +7 -2
  581. package/dist/types/components/Heading/heading.component.d.ts +12 -0
  582. package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
  583. package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
  584. package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
  585. package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
  586. package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
  587. package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
  588. package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
  589. package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
  590. package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
  591. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  592. package/dist/types/components/Icon/icon.component.d.ts +10 -0
  593. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
  594. package/dist/types/components/Link/link.component.d.ts +19 -0
  595. package/dist/types/components/Logo/logo.component.d.ts +14 -1
  596. package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
  597. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
  598. package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
  599. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
  600. package/dist/types/components/Menu/index.d.ts +4 -0
  601. package/dist/types/components/Menu/menu.component.d.ts +22 -19
  602. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  603. package/dist/types/components/Menu/menu.types.d.ts +17 -0
  604. package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
  605. package/dist/types/components/Modal/modal.component.d.ts +46 -1
  606. package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
  607. package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
  608. package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
  609. package/dist/types/components/NumberInput/index.d.ts +2 -0
  610. package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
  611. package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
  612. package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
  613. package/dist/types/components/Picture/picture.component.d.ts +9 -1
  614. package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
  615. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  616. package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
  617. package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
  618. package/dist/types/components/Popover/popover.component.d.ts +45 -2
  619. package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
  620. package/dist/types/components/Popover/popover.types.d.ts +1 -1
  621. package/dist/types/components/Progress/index.d.ts +2 -0
  622. package/dist/types/components/Progress/progress.component.d.ts +26 -0
  623. package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
  624. package/dist/types/components/Progress/progress.types.d.ts +9 -0
  625. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
  626. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
  627. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
  628. package/dist/types/components/Radiomark/index.d.ts +1 -0
  629. package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
  630. package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
  631. package/dist/types/components/Rating/index.d.ts +1 -0
  632. package/dist/types/components/Rating/rating.component.d.ts +37 -0
  633. package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
  634. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
  635. package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
  636. package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
  637. package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
  638. package/dist/types/components/Select/select.component.d.ts +53 -3
  639. package/dist/types/components/Select/select.types.d.ts +3 -0
  640. package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
  641. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
  642. package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
  643. package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
  644. package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
  645. package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
  646. package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
  647. package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
  648. package/dist/types/components/Switch/switch.component.d.ts +15 -0
  649. package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
  650. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
  651. package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
  652. package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
  653. package/dist/types/components/Tag/tag.component.d.ts +31 -0
  654. package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
  655. package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
  656. package/dist/types/components/Text/text.component.d.ts +13 -0
  657. package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
  658. package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
  659. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
  660. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
  661. package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
  662. package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
  663. package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
  664. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
  665. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
  666. package/dist/types/components/Toast/toast.component.d.ts +19 -1
  667. package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
  668. package/dist/types/components/Toast/toast.types.d.ts +13 -0
  669. package/dist/types/components/Toast/useToast.d.ts +5 -0
  670. package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
  671. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
  672. package/dist/types/components/index.d.ts +5 -0
  673. package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
  674. package/dist/types/hocs/withTruncation.d.ts +8 -0
  675. package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
  676. package/dist/types/hooks/useColorMode/index.d.ts +39 -0
  677. package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
  678. package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
  679. package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
  680. package/dist/types/shared/components/withVariantStory.d.ts +6 -0
  681. package/dist/types/shared/types/index.d.ts +1 -0
  682. package/dist/types/theme/providers/theme.provider.d.ts +1 -0
  683. package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
  684. package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
  685. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
  686. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
  687. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
  688. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
  689. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  690. package/package.json +21 -18
  691. package/dist/chunks/alert.types-De_IDZNV.js +0 -2
  692. package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
  693. package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
  694. package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
  695. package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
  696. package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
  697. package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
  698. package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
  699. package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
  700. package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
  701. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
  702. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
  703. package/dist/chunks/button.component-BE20YKDd.js +0 -67
  704. package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
  705. package/dist/chunks/button.component-DAv5WxDc.js +0 -2
  706. package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
  707. package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
  708. package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
  709. package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
  710. package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
  711. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  712. package/dist/chunks/button.types-Bl1awbi0.js +0 -2
  713. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  714. package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
  715. package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
  716. package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
  717. package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
  718. package/dist/chunks/card.component-BZxC19F_.js +0 -2
  719. package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
  720. package/dist/chunks/card.component-DJcYzMX1.js +0 -58
  721. package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
  722. package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
  723. package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
  724. package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
  725. package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
  726. package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
  727. package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
  728. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
  729. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
  730. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
  731. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
  732. package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
  733. package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
  734. package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
  735. package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
  736. package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
  737. package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
  738. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
  739. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
  740. package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
  741. package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
  742. package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
  743. package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
  744. package/dist/chunks/dialog-BPhjKQkb.js +0 -2
  745. package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
  746. package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
  747. package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
  748. package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
  749. package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
  750. package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
  751. package/dist/chunks/grid-item-qnuioQmr.js +0 -2
  752. package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
  753. package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
  754. package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
  755. package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
  756. package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
  757. package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
  758. package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
  759. package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
  760. package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
  761. package/dist/chunks/index-2glJ2faJ.js +0 -2
  762. package/dist/chunks/index-7Jpijbq_.js +0 -3
  763. package/dist/chunks/index-7Jpijbq_.js.map +0 -1
  764. package/dist/chunks/index-A_vmTNU7.js +0 -2
  765. package/dist/chunks/index-BEfEzWJx.js +0 -2
  766. package/dist/chunks/index-Bm5QBNWR.js +0 -8190
  767. package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
  768. package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
  769. package/dist/chunks/index-DA90Dqf9.js +0 -1362
  770. package/dist/chunks/index-DA90Dqf9.js.map +0 -1
  771. package/dist/chunks/index-DAI6_P9H.js +0 -2
  772. package/dist/chunks/index-DMcwHRZ5.js +0 -11
  773. package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
  774. package/dist/chunks/index-jnwdAJ25.js +0 -2
  775. package/dist/chunks/index-jnwdAJ25.js.map +0 -1
  776. package/dist/chunks/link.component-CvR5CbiT.js +0 -36
  777. package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
  778. package/dist/chunks/link.component-yUJIJbIP.js +0 -2
  779. package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
  780. package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
  781. package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
  782. package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
  783. package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
  784. package/dist/chunks/menu.component-DylZiPAE.js +0 -2
  785. package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
  786. package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
  787. package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
  788. package/dist/chunks/modal.types-CBos7aXO.js +0 -2
  789. package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
  790. package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
  791. package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
  792. package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
  793. package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
  794. package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
  795. package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
  796. package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
  797. package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
  798. package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
  799. package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
  800. package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
  801. package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
  802. package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
  803. package/dist/chunks/popover.component-BjS13k9K.js +0 -2
  804. package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
  805. package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
  806. package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
  807. package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
  808. package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
  809. package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
  810. package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
  811. package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
  812. package/dist/chunks/popover.types-BF2KRf_I.js.map +0 -1
  813. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  814. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  815. package/dist/chunks/radioGroup.types-CZA7RcAn.js +0 -2
  816. package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
  817. package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
  818. package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
  819. package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
  820. package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
  821. package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
  822. package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
  823. package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
  824. package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
  825. package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
  826. package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
  827. package/dist/chunks/spinner-C31ZWQmA.js +0 -8
  828. package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
  829. package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
  830. package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
  831. package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
  832. package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
  833. package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
  834. package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
  835. package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
  836. package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
  837. package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
  838. package/dist/chunks/switch.component-C88jBbo_.js +0 -2
  839. package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
  840. package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
  841. package/dist/chunks/tag.component-79aRVI7u.js +0 -82
  842. package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
  843. package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
  844. package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
  845. package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
  846. package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
  847. package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
  848. package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
  849. package/dist/chunks/text.component-CHpMvCFa.js +0 -2
  850. package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
  851. package/dist/chunks/text.component-D9w-u_dB.js +0 -12
  852. package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
  853. package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
  854. package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
  855. package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
  856. package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
  857. package/dist/chunks/textarea.component-BYexywy1.js +0 -2
  858. package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
  859. package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
  860. package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
  861. package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
  862. package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
  863. package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
  864. package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
  865. package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
  866. package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
  867. package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
  868. package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
  869. package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
  870. package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
  871. package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
  872. package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
  873. package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
  874. package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
  875. package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
  876. package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
  877. package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
  878. package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
  879. package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
  880. package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
  881. package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
  882. package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
  883. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  884. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  885. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  886. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  887. package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
  888. package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
  889. package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
  890. package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
  891. package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
  892. package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
  893. package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
  894. package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
  895. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
  896. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
  897. package/dist/types/shared/utils/argTypes.d.ts +0 -6
@@ -0,0 +1,8 @@
1
+ import { c as e } from "./create-recipe-context-DfQ-MTih.js";
2
+ const { withContext: t } = e({
3
+ key: "spinner"
4
+ }), o = t("span");
5
+ export {
6
+ o as S
7
+ };
8
+ //# sourceMappingURL=spinner-B9ytCKVs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner-C31ZWQmA.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/spinner/spinner.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"spinner\"\n});\nconst Spinner = withContext(\"span\");\nconst SpinnerPropsProvider = PropsProvider;\n\nexport { Spinner, SpinnerPropsProvider };\n"],"names":["withContext","createRecipeContext","Spinner"],"mappings":";AAIA,MAAM,EAAE,aAAAA,EAA2B,IAAIC,EAAoB;AAAA,EACzD,KAAK;AACP,CAAC,GACKC,IAAUF,EAAY,MAAM;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"spinner-B9ytCKVs.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/spinner/spinner.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"spinner\"\n});\nconst Spinner = withContext(\"span\");\nconst SpinnerPropsProvider = PropsProvider;\n\nexport { Spinner, SpinnerPropsProvider };\n"],"names":["withContext","createRecipeContext","Spinner"],"mappings":";AAIA,MAAM,EAAE,aAAAA,EAA2B,IAAIC,EAAoB;AAAA,EACzD,KAAK;AACP,CAAC,GACKC,IAAUF,EAAY,MAAM;","x_google_ignoreList":[0]}
@@ -1,15 +1,15 @@
1
1
  import { j as t } from "./jsx-runtime-C5mzlN2N.js";
2
- import { W as c } from "./text.component-D9w-u_dB.js";
2
+ import { W as f } from "./text.component-CdTyTFds.js";
3
3
  import { t as n } from "./typography-Cqrokog3.js";
4
- import { a as d } from "./config-B3QABP1-.js";
5
- import { u as b } from "./use-slot-recipe-DhtQ1j_5.js";
6
- import { V as m } from "./v-stack-BKftVfdJ.js";
7
- import { S as f } from "./spinner-C31ZWQmA.js";
8
- const S = ["root", "spinner", "label"], u = {
4
+ import { d as m } from "./config-Djkl1N81.js";
5
+ import { u as b } from "./create-slot-recipe-context-D_FXDJGp.js";
6
+ import { V as u } from "./v-stack-BKftVfdJ.js";
7
+ import { S } from "./spinner-B9ytCKVs.js";
8
+ const x = ["root", "spinner", "label"], h = {
9
9
  xs: {
10
10
  spinner: {
11
- h: 3,
12
- w: 3
11
+ h: 2,
12
+ w: 2
13
13
  },
14
14
  label: {
15
15
  fontSize: "xs"
@@ -52,7 +52,7 @@ const S = ["root", "spinner", "label"], u = {
52
52
  fontSize: "xl"
53
53
  }
54
54
  }
55
- }, h = {
55
+ }, C = {
56
56
  accent: {
57
57
  spinner: n.accent
58
58
  },
@@ -104,8 +104,8 @@ const S = ["root", "spinner", "label"], u = {
104
104
  warning: {
105
105
  spinner: n.warning
106
106
  }
107
- }, x = d({
108
- slots: S,
107
+ }, g = m({
108
+ slots: x,
109
109
  base: {
110
110
  root: {
111
111
  alignItems: "center",
@@ -113,8 +113,8 @@ const S = ["root", "spinner", "label"], u = {
113
113
  }
114
114
  },
115
115
  variants: {
116
- variant: h,
117
- size: u,
116
+ variant: C,
117
+ size: h,
118
118
  fullScreen: {
119
119
  true: {
120
120
  root: {
@@ -132,6 +132,21 @@ const S = ["root", "spinner", "label"], u = {
132
132
  w: "max-content"
133
133
  }
134
134
  }
135
+ },
136
+ centered: {
137
+ true: {
138
+ root: {
139
+ alignItems: "center",
140
+ justifyContent: "center",
141
+ w: "100%"
142
+ }
143
+ },
144
+ false: {
145
+ root: {
146
+ alignItems: "flex-start",
147
+ justifyContent: "flex-start"
148
+ }
149
+ }
135
150
  }
136
151
  },
137
152
  defaultVariants: {
@@ -139,41 +154,34 @@ const S = ["root", "spinner", "label"], u = {
139
154
  size: "md",
140
155
  variant: "brand"
141
156
  }
142
- }), V = ({
143
- backdropColor: r = "background.alpha.pressed",
157
+ }), k = ({
158
+ backdropColor: i = "background.alpha.pressed",
144
159
  fullScreen: s = !1,
145
- label: a = "Loading...",
146
- labelProps: i,
147
- showLabel: o = !1,
160
+ label: r,
161
+ labelProps: o,
148
162
  size: l = "md",
149
- variant: p = "accent"
163
+ variant: p = "accent",
164
+ color: c,
165
+ centered: d = !0,
166
+ ["data-testid"]: a = "kibble-spinner"
150
167
  }) => {
151
- const e = b({ recipe: x })({ variant: p, size: l, fullScreen: s });
152
- return /* @__PURE__ */ t.jsxs(
153
- m,
154
- {
155
- className: "Spinner",
156
- "data-testid": "kibble-spinner",
157
- css: e.root,
158
- ...s && { bg: r },
159
- children: [
160
- /* @__PURE__ */ t.jsx(f, { css: e.spinner }),
161
- o && /* @__PURE__ */ t.jsx(
162
- c,
163
- {
164
- className: "Spinner__Label",
165
- "data-testid": "kibble-spinner-label",
166
- variant: "subtle",
167
- css: e.label,
168
- ...i,
169
- children: a
170
- }
171
- )
172
- ]
173
- }
174
- );
168
+ const e = b({ recipe: g })({ variant: p, size: l, fullScreen: s, centered: d });
169
+ return /* @__PURE__ */ t.jsxs(u, { className: "Spinner", "data-testid": a, css: e.root, ...s && { bg: i }, children: [
170
+ /* @__PURE__ */ t.jsx(S, { css: e.spinner, color: c }),
171
+ r && /* @__PURE__ */ t.jsx(
172
+ f,
173
+ {
174
+ className: "Spinner__Label",
175
+ "data-testid": `${a}-label`,
176
+ variant: "subtle",
177
+ css: e.label,
178
+ ...o,
179
+ children: r
180
+ }
181
+ )
182
+ ] });
175
183
  };
176
184
  export {
177
- V as S
185
+ k as S
178
186
  };
179
- //# sourceMappingURL=spinner.component-DPYj17HK.js.map
187
+ //# sourceMappingURL=spinner.component-B3dkvoO9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.component-B3dkvoO9.js","sources":["../../src/components/Spinner/spinner.recipe.ts","../../src/components/Spinner/spinner.component.tsx"],"sourcesContent":["import { defineSlotRecipe, SystemStyleObject } from '@chakra-ui/react/styled-system';\nimport { SpinnerSize } from './spinner.types';\nimport { TypographyVariant } from 'shared/types';\nimport { typographyVariantStyles } from '../../shared/records/typography';\n\nconst spinnerSlots = ['root', 'spinner', 'label'] as const;\ntype SpinnerSlot = (typeof spinnerSlots)[number];\ntype SpinnerSlotStyles = {\n [key in SpinnerSlot]?: SystemStyleObject;\n};\n\nconst spinnerSizeStyles: Record<SpinnerSize, SpinnerSlotStyles> = {\n xs: {\n spinner: {\n h: 2,\n w: 2,\n },\n label: {\n fontSize: 'xs',\n },\n },\n sm: {\n spinner: {\n h: 4,\n w: 4,\n },\n label: {\n fontSize: 'sm',\n },\n },\n md: {\n spinner: {\n h: 6,\n w: 6,\n '--spinner-size': 6,\n },\n label: {\n fontSize: 'md',\n },\n },\n lg: {\n spinner: {\n h: 8,\n w: 8,\n },\n label: {\n fontSize: 'lg',\n },\n },\n xl: {\n spinner: {\n h: 12,\n w: 12,\n },\n label: {\n fontSize: 'xl',\n },\n },\n};\n\nconst spinnerVariantStyles: Record<TypographyVariant, SpinnerSlotStyles> = {\n accent: {\n spinner: typographyVariantStyles.accent,\n },\n accentSubtle: {\n spinner: typographyVariantStyles.accentSubtle,\n },\n brand: {\n spinner: typographyVariantStyles.brand,\n },\n brandOnContrast: {\n spinner: typographyVariantStyles.brandOnContrast,\n },\n danger: {\n spinner: typographyVariantStyles.danger,\n },\n dangerOnContrast: {\n spinner: typographyVariantStyles.dangerOnContrast,\n },\n default: {\n spinner: typographyVariantStyles.default,\n },\n info: {\n spinner: typographyVariantStyles.info,\n },\n interactive: {\n spinner: typographyVariantStyles.interactive,\n },\n interactiveOnContrast: {\n spinner: typographyVariantStyles.interactiveOnContrast,\n },\n onContrast: {\n spinner: typographyVariantStyles.onContrast,\n },\n placeholder: {\n spinner: typographyVariantStyles.placeholder,\n },\n placeholderOnContrast: {\n spinner: typographyVariantStyles.placeholderOnContrast,\n },\n subtle: {\n spinner: typographyVariantStyles.subtle,\n },\n subtleOnContrast: {\n spinner: typographyVariantStyles.subtleOnContrast,\n },\n success: {\n spinner: typographyVariantStyles.success,\n },\n warning: {\n spinner: typographyVariantStyles.warning,\n },\n};\n\nexport const spinnerRecipe = defineSlotRecipe({\n slots: spinnerSlots,\n base: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n },\n variants: {\n variant: spinnerVariantStyles,\n size: spinnerSizeStyles,\n fullScreen: {\n true: {\n root: {\n h: '100%',\n left: 0,\n top: 0,\n position: 'absolute',\n w: '100%',\n zIndex: 'tooltipExtra',\n },\n },\n false: {\n root: {\n h: 'max-content',\n w: 'max-content',\n },\n },\n },\n centered: {\n true: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n w: '100%',\n },\n },\n false: {\n root: {\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n },\n },\n },\n },\n defaultVariants: {\n fullScreen: false,\n size: 'md',\n variant: 'brand',\n },\n});\n","import React from 'react';\nimport { Spinner as CSpinner } from '@chakra-ui/react/spinner';\nimport { VStack } from '@chakra-ui/react/stack';\nimport { SpinnerSize } from './spinner.types';\nimport { Text, TextProps } from 'components/Text/text.component';\nimport { TypographyVariant } from 'shared/types';\nimport { useSlotRecipe } from '@chakra-ui/react';\nimport { spinnerRecipe } from './spinner.recipe';\nimport { SemanticBackgroundColorToken } from 'theme/semanticTokens';\n\nexport interface SpinnerProps {\n /**\n * The background color for the full size spinner.\n * @default background.alpha.pressed\n */\n backdropColor?: SemanticBackgroundColorToken;\n /**\n * Whether the spinner should cover the entire screen.\n * @default false\n */\n fullScreen?: boolean;\n /** Optional label to display below the spinner. */\n label?: string;\n /** Props to customize the label of the spinner. See `Text` for more information. */\n labelProps?: Omit<TextProps, 'chilren'>;\n /** The size of the spinner. */\n size?: SpinnerSize;\n /**\n * The color variant of the spinner.\n * @default brand\n */\n variant?: TypographyVariant;\n /** The color of the spinner. If this value is provided, the variant prop will be ignored. */\n color?: string;\n /**\n * Data test id for the spinner.\n * @default kibble-spinner\n */\n 'data-testid'?: string;\n /**\n * Whether the spinner should be centered in the container.\n * @default true\n */\n centered?: boolean;\n}\n\nexport const Spinner = ({\n backdropColor = 'background.alpha.pressed',\n fullScreen = false,\n label,\n labelProps,\n size = 'md',\n variant = 'accent',\n color,\n centered = true,\n ['data-testid']: dataTestId = 'kibble-spinner',\n}: SpinnerProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: spinnerRecipe });\n const styles = recipe({ variant, size, fullScreen, centered });\n\n return (\n <VStack className=\"Spinner\" data-testid={dataTestId} css={styles.root} {...(fullScreen && { bg: backdropColor })}>\n <CSpinner css={styles.spinner} color={color} />\n {label && (\n <Text\n className=\"Spinner__Label\"\n data-testid={`${dataTestId}-label`}\n variant=\"subtle\"\n css={styles.label}\n {...labelProps}\n >\n {label}\n </Text>\n )}\n </VStack>\n );\n};\n"],"names":["spinnerSlots","spinnerSizeStyles","spinnerVariantStyles","typographyVariantStyles","spinnerRecipe","defineSlotRecipe","Spinner","backdropColor","fullScreen","label","labelProps","size","variant","color","centered","dataTestId","styles","useSlotRecipe","jsxs","VStack","jsx","CSpinner","Text"],"mappings":";;;;;;;AAKA,MAAMA,IAAe,CAAC,QAAQ,WAAW,OAAO,GAM1CC,IAA4D;AAAA,EAChE,IAAI;AAAA,IACF,SAAS;AAAA,MACP,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,EAEd;AAAA,EACA,IAAI;AAAA,IACF,SAAS;AAAA,MACP,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,EAEd;AAAA,EACA,IAAI;AAAA,IACF,SAAS;AAAA,MACP,GAAG;AAAA,MACH,GAAG;AAAA,MACH,kBAAkB;AAAA,IACpB;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,EAEd;AAAA,EACA,IAAI;AAAA,IACF,SAAS;AAAA,MACP,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,EAEd;AAAA,EACA,IAAI;AAAA,IACF,SAAS;AAAA,MACP,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,EACZ;AAEJ,GAEMC,IAAqE;AAAA,EACzE,QAAQ;AAAA,IACN,SAASC,EAAwB;AAAA,EACnC;AAAA,EACA,cAAc;AAAA,IACZ,SAASA,EAAw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;AAEJ;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("./jsx-runtime-BjDatQAs.js"),S=require("./text.component-CeioUl0G.js"),t=require("./typography-CtiaGoJG.js"),u=require("./config-jChwZPSv.js"),d=require("./create-slot-recipe-context-HXE1VazG.js"),g=require("./v-stack-Bz-79Toq.js"),h=require("./spinner-CBTcw_Tk.js"),b=["root","spinner","label"],f={xs:{spinner:{h:2,w:2},label:{fontSize:"xs"}},sm:{spinner:{h:4,w:4},label:{fontSize:"sm"}},md:{spinner:{h:6,w:6,"--spinner-size":6},label:{fontSize:"md"}},lg:{spinner:{h:8,w:8},label:{fontSize:"lg"}},xl:{spinner:{h:12,w:12},label:{fontSize:"xl"}}},x={accent:{spinner:t.typographyVariantStyles.accent},accentSubtle:{spinner:t.typographyVariantStyles.accentSubtle},brand:{spinner:t.typographyVariantStyles.brand},brandOnContrast:{spinner:t.typographyVariantStyles.brandOnContrast},danger:{spinner:t.typographyVariantStyles.danger},dangerOnContrast:{spinner:t.typographyVariantStyles.dangerOnContrast},default:{spinner:t.typographyVariantStyles.default},info:{spinner:t.typographyVariantStyles.info},interactive:{spinner:t.typographyVariantStyles.interactive},interactiveOnContrast:{spinner:t.typographyVariantStyles.interactiveOnContrast},onContrast:{spinner:t.typographyVariantStyles.onContrast},placeholder:{spinner:t.typographyVariantStyles.placeholder},placeholderOnContrast:{spinner:t.typographyVariantStyles.placeholderOnContrast},subtle:{spinner:t.typographyVariantStyles.subtle},subtleOnContrast:{spinner:t.typographyVariantStyles.subtleOnContrast},success:{spinner:t.typographyVariantStyles.success},warning:{spinner:t.typographyVariantStyles.warning}},V=u.defineSlotRecipe({slots:b,base:{root:{alignItems:"center",justifyContent:"center"}},variants:{variant:x,size:f,fullScreen:{true:{root:{h:"100%",left:0,top:0,position:"absolute",w:"100%",zIndex:"tooltipExtra"}},false:{root:{h:"max-content",w:"max-content"}}},centered:{true:{root:{alignItems:"center",justifyContent:"center",w:"100%"}},false:{root:{alignItems:"flex-start",justifyContent:"flex-start"}}}},defaultVariants:{fullScreen:!1,size:"md",variant:"brand"}}),m=({backdropColor:i="background.alpha.pressed",fullScreen:r=!1,label:s,labelProps:o,size:p="md",variant:l="accent",color:c,centered:y=!0,["data-testid"]:a="kibble-spinner"})=>{const e=d.useSlotRecipe({recipe:V})({variant:l,size:p,fullScreen:r,centered:y});return n.jsxRuntimeExports.jsxs(g.VStack,{className:"Spinner","data-testid":a,css:e.root,...r&&{bg:i},children:[n.jsxRuntimeExports.jsx(h.Spinner,{css:e.spinner,color:c}),s&&n.jsxRuntimeExports.jsx(S.WrappedText,{className:"Spinner__Label","data-testid":`${a}-label`,variant:"subtle",css:e.label,...o,children:s})]})};exports.Spinner=m;
2
+ //# sourceMappingURL=spinner.component-DuW1_IWM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.component-DuW1_IWM.js","sources":["../../src/components/Spinner/spinner.recipe.ts","../../src/components/Spinner/spinner.component.tsx"],"sourcesContent":["import { defineSlotRecipe, SystemStyleObject } from '@chakra-ui/react/styled-system';\nimport { SpinnerSize } from './spinner.types';\nimport { TypographyVariant } from 'shared/types';\nimport { typographyVariantStyles } from '../../shared/records/typography';\n\nconst spinnerSlots = ['root', 'spinner', 'label'] as const;\ntype SpinnerSlot = (typeof spinnerSlots)[number];\ntype SpinnerSlotStyles = {\n [key in SpinnerSlot]?: SystemStyleObject;\n};\n\nconst spinnerSizeStyles: Record<SpinnerSize, SpinnerSlotStyles> = {\n xs: {\n spinner: {\n h: 2,\n w: 2,\n },\n label: {\n fontSize: 'xs',\n },\n },\n sm: {\n spinner: {\n h: 4,\n w: 4,\n },\n label: {\n fontSize: 'sm',\n },\n },\n md: {\n spinner: {\n h: 6,\n w: 6,\n '--spinner-size': 6,\n },\n label: {\n fontSize: 'md',\n },\n },\n lg: {\n spinner: {\n h: 8,\n w: 8,\n },\n label: {\n fontSize: 'lg',\n },\n },\n xl: {\n spinner: {\n h: 12,\n w: 12,\n },\n label: {\n fontSize: 'xl',\n },\n },\n};\n\nconst spinnerVariantStyles: Record<TypographyVariant, SpinnerSlotStyles> = {\n accent: {\n spinner: typographyVariantStyles.accent,\n },\n accentSubtle: {\n spinner: typographyVariantStyles.accentSubtle,\n },\n brand: {\n spinner: typographyVariantStyles.brand,\n },\n brandOnContrast: {\n spinner: typographyVariantStyles.brandOnContrast,\n },\n danger: {\n spinner: typographyVariantStyles.danger,\n },\n dangerOnContrast: {\n spinner: typographyVariantStyles.dangerOnContrast,\n },\n default: {\n spinner: typographyVariantStyles.default,\n },\n info: {\n spinner: typographyVariantStyles.info,\n },\n interactive: {\n spinner: typographyVariantStyles.interactive,\n },\n interactiveOnContrast: {\n spinner: typographyVariantStyles.interactiveOnContrast,\n },\n onContrast: {\n spinner: typographyVariantStyles.onContrast,\n },\n placeholder: {\n spinner: typographyVariantStyles.placeholder,\n },\n placeholderOnContrast: {\n spinner: typographyVariantStyles.placeholderOnContrast,\n },\n subtle: {\n spinner: typographyVariantStyles.subtle,\n },\n subtleOnContrast: {\n spinner: typographyVariantStyles.subtleOnContrast,\n },\n success: {\n spinner: typographyVariantStyles.success,\n },\n warning: {\n spinner: typographyVariantStyles.warning,\n },\n};\n\nexport const spinnerRecipe = defineSlotRecipe({\n slots: spinnerSlots,\n base: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n },\n variants: {\n variant: spinnerVariantStyles,\n size: spinnerSizeStyles,\n fullScreen: {\n true: {\n root: {\n h: '100%',\n left: 0,\n top: 0,\n position: 'absolute',\n w: '100%',\n zIndex: 'tooltipExtra',\n },\n },\n false: {\n root: {\n h: 'max-content',\n w: 'max-content',\n },\n },\n },\n centered: {\n true: {\n root: {\n alignItems: 'center',\n justifyContent: 'center',\n w: '100%',\n },\n },\n false: {\n root: {\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n },\n },\n },\n },\n defaultVariants: {\n fullScreen: false,\n size: 'md',\n variant: 'brand',\n },\n});\n","import React from 'react';\nimport { Spinner as CSpinner } from '@chakra-ui/react/spinner';\nimport { VStack } from '@chakra-ui/react/stack';\nimport { SpinnerSize } from './spinner.types';\nimport { Text, TextProps } from 'components/Text/text.component';\nimport { TypographyVariant } from 'shared/types';\nimport { useSlotRecipe } from '@chakra-ui/react';\nimport { spinnerRecipe } from './spinner.recipe';\nimport { SemanticBackgroundColorToken } from 'theme/semanticTokens';\n\nexport interface SpinnerProps {\n /**\n * The background color for the full size spinner.\n * @default background.alpha.pressed\n */\n backdropColor?: SemanticBackgroundColorToken;\n /**\n * Whether the spinner should cover the entire screen.\n * @default false\n */\n fullScreen?: boolean;\n /** Optional label to display below the spinner. */\n label?: string;\n /** Props to customize the label of the spinner. See `Text` for more information. */\n labelProps?: Omit<TextProps, 'chilren'>;\n /** The size of the spinner. */\n size?: SpinnerSize;\n /**\n * The color variant of the spinner.\n * @default brand\n */\n variant?: TypographyVariant;\n /** The color of the spinner. If this value is provided, the variant prop will be ignored. */\n color?: string;\n /**\n * Data test id for the spinner.\n * @default kibble-spinner\n */\n 'data-testid'?: string;\n /**\n * Whether the spinner should be centered in the container.\n * @default true\n */\n centered?: boolean;\n}\n\nexport const Spinner = ({\n backdropColor = 'background.alpha.pressed',\n fullScreen = false,\n label,\n labelProps,\n size = 'md',\n variant = 'accent',\n color,\n centered = true,\n ['data-testid']: dataTestId = 'kibble-spinner',\n}: SpinnerProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: spinnerRecipe });\n const styles = recipe({ variant, size, fullScreen, centered });\n\n return (\n <VStack className=\"Spinner\" data-testid={dataTestId} css={styles.root} {...(fullScreen && { bg: backdropColor })}>\n <CSpinner css={styles.spinner} color={color} />\n {label && (\n <Text\n className=\"Spinner__Label\"\n data-testid={`${dataTestId}-label`}\n variant=\"subtle\"\n css={styles.label}\n {...labelProps}\n >\n {label}\n </Text>\n )}\n </VStack>\n );\n};\n"],"names":["spinnerSlots","spinnerSizeStyles","spinnerVariantStyles","typographyVariantStyles","spinnerRecipe","defineSlotRecipe","Spinner","backdropColor","fullScreen","label","labelProps","size","variant","color","centered","dataTestId","styles","useSlotRecipe","jsxs","VStack","jsx","CSpinner","Text"],"mappings":"wSAKMA,EAAe,CAAC,OAAQ,UAAW,OAAO,EAM1CC,EAA4D,CAChE,GAAI,CACF,QAAS,CACP,EAAG,EACH,EAAG,CACL,EACA,MAAO,CACL,SAAU,IAAA,CAEd,EACA,GAAI,CACF,QAAS,CACP,EAAG,EACH,EAAG,CACL,EACA,MAAO,CACL,SAAU,IAAA,CAEd,EACA,GAAI,CACF,QAAS,CACP,EAAG,EACH,EAAG,EACH,iBAAkB,CACpB,EACA,MAAO,CACL,SAAU,IAAA,CAEd,EACA,GAAI,CACF,QAAS,CACP,EAAG,EACH,EAAG,CACL,EACA,MAAO,CACL,SAAU,IAAA,CAEd,EACA,GAAI,CACF,QAAS,CACP,EAAG,GACH,EAAG,EACL,EACA,MAAO,CACL,SAAU,IAAA,CACZ,CAEJ,EAEMC,EAAqE,CACzE,OAAQ,CACN,QAASC,EAAAA,wBAAwB,MACnC,EACA,aAAc,CACZ,QAASA,EAAAA,wBAAwB,YACnC,EACA,MAAO,CACL,QAASA,EAAAA,wBAAwB,KACnC,EACA,gBAAiB,CACf,QAASA,EAAAA,wBAAwB,eACnC,EACA,OAAQ,CACN,QAASA,EAAAA,wBAAwB,MACnC,EACA,iBAAkB,CAChB,QAASA,EAAAA,wBAAwB,gBACnC,EACA,QAAS,CACP,QAASA,EAAAA,wBAAwB,OACnC,EACA,KAAM,CACJ,QAASA,EAAAA,wBAAwB,IACnC,EACA,YAAa,CACX,QAASA,EAAAA,wBAAwB,WACnC,EACA,sBAAuB,CACrB,QAASA,EAAAA,wBAAwB,qBACnC,EACA,WAAY,CACV,QAASA,EAAAA,wBAAwB,UACnC,EACA,YAAa,CACX,QAASA,EAAAA,wBAAwB,WACnC,EACA,sBAAuB,CACrB,QAASA,EAAAA,wBAAwB,qBACnC,EACA,OAAQ,CACN,QAASA,EAAAA,wBAAwB,MACnC,EACA,iBAA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,EAAA,YAAA,CACC,UAAU,iBACV,cAAa,GAAGP,CAAU,SAC1B,QAAQ,SACR,IAAKC,EAAO,MACX,GAAGN,EAEH,SAAAD,CAAA,CAAA,CACH,EAEJ,CAEJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";const p=require("./jsx-runtime-BjDatQAs.js"),d=require("react"),u=require("./avatar.component-B1HGlwVW.js"),m=t=>t&&t.__esModule?t:{default:t},y=m(d),P=y.default.memo(({type:t="Client",["data-testid"]:l="kibble-styled-avatar",...o})=>{const{name:a,tooltipProps:e={placement:"top",...o.tooltipProps},onClick:s}=o,r={variant:"outlineYellow",tooltipProps:{...e,label:e?.label||`${a} (Test Client)`}},i={iconName:"cellphone",tooltipProps:{...e,label:e?.label||`Text messages sent from ${a||"unknown number"}`}},c={Automated:{iconName:"robot",backgroundColor:"background.primary",hideBorder:!0,color:"text.contrast",size:"sm",showTooltip:!1,cursor:"default"},Client:{},Clinic:{variant:"outlineAccent",name:a||"Sys"},SMS:i,TestClient:r,Pet:{hideBorder:!0,iconName:"paw",backgroundColor:"background.contrast.mostSubtle",badgeProps:{iconName:"cancel",bg:"background.danger",status:"error",position:"top-end"}}};return p.jsxRuntimeExports.jsx(u.Avatar,{className:"StyledAvatar","data-testid":`${l}-${t}`,onClick:n=>{n.stopPropagation(),s&&s(n)},...c[t],...o})}),S=["Client","SMS","TestClient","Automated","Clinic","Pet"];exports.StyledAvatar=P;exports.styledAvatarTypes=S;
2
+ //# sourceMappingURL=styledAvatar.types-CcP-Vl9c.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styledAvatar.types-CcP-Vl9c.js","sources":["../../src/components/StyledAvatar/styledAvatar.component.tsx","../../src/components/StyledAvatar/styledAvatar.types.ts"],"sourcesContent":["import React from 'react';\nimport { Avatar, AvatarProps } from 'components/Avatar/avatar.component';\nimport { StyledAvatarType } from './styledAvatar.types';\n\nexport interface StyledAvatarProps extends AvatarProps {\n /**\n * Defines the style of the `Avatar`.\n * @default Client\n */\n type?: StyledAvatarType;\n /**\n * Data test id for the styled avatar.\n * @default kibble-styled-avatar\n */\n 'data-testid'?: string;\n}\n\nexport const StyledAvatar = React.memo(\n ({\n type = 'Client',\n ['data-testid']: dataTestId = 'kibble-styled-avatar',\n ...rest\n }: StyledAvatarProps): React.JSX.Element => {\n const { name, tooltipProps = { placement: 'top', ...rest.tooltipProps }, onClick } = rest;\n\n const testClientStyleProps: Partial<AvatarProps> = {\n variant: 'outlineYellow',\n tooltipProps: {\n ...tooltipProps,\n label: tooltipProps?.label || `${name} (Test Client)`,\n },\n };\n\n const smsStyleProps: Partial<AvatarProps> = {\n iconName: 'cellphone',\n tooltipProps: {\n ...tooltipProps,\n label: tooltipProps?.label || `Text messages sent from ${name || 'unknown number'}`,\n },\n };\n\n const automatedStyleProps: Partial<AvatarProps> = {\n iconName: 'robot',\n backgroundColor: 'background.primary',\n hideBorder: true,\n color: 'text.contrast',\n size: 'sm',\n showTooltip: false,\n cursor: 'default',\n };\n\n const clinicStyleProps: Partial<AvatarProps> = {\n variant: 'outlineAccent',\n name: name || 'Sys',\n };\n\n const petStyleProps: Partial<AvatarProps> = {\n hideBorder: true,\n iconName: 'paw',\n backgroundColor: 'background.contrast.mostSubtle',\n badgeProps: {\n iconName: 'cancel',\n bg: 'background.danger',\n status: 'error',\n position: 'top-end',\n },\n };\n\n const styleProps: Record<StyledAvatarType, Partial<AvatarProps>> = {\n Automated: automatedStyleProps,\n Client: {},\n Clinic: clinicStyleProps,\n SMS: smsStyleProps,\n TestClient: testClientStyleProps,\n Pet: petStyleProps,\n };\n\n return (\n <Avatar\n className=\"StyledAvatar\"\n data-testid={`${dataTestId}-${type}`}\n onClick={(e): void => {\n e.stopPropagation();\n if (onClick) {\n onClick(e);\n }\n }}\n {...styleProps[type]}\n {...rest}\n />\n );\n },\n);\n","export const styledAvatarTypes = ['Client', 'SMS', 'TestClient', 'Automated', 'Clinic', 'Pet'] as const;\nexport type StyledAvatarType = (typeof styledAvatarTypes)[number];\n"],"names":["StyledAvatar","React","type","dataTestId","rest","name","tooltipProps","onClick","testClientStyleProps","smsStyleProps","styleProps","jsx","Avatar","e","styledAvatarTypes"],"mappings":"mKAiBaA,EAAeC,EAAM,QAAA,KAChC,CAAC,CACC,KAAAC,EAAO,SACP,CAAC,eAAgBC,EAAa,uBAC9B,GAAGC,CAAA,IACuC,CACpC,KAAA,CAAE,KAAAC,EAAM,aAAAC,EAAe,CAAE,UAAW,MAAO,GAAGF,EAAK,YAAA,EAAgB,QAAAG,CAAA,EAAYH,EAE/EI,EAA6C,CACjD,QAAS,gBACT,aAAc,CACZ,GAAGF,EACH,MAAOA,GAAc,OAAS,GAAGD,CAAI,gBAAA,CAEzC,EAEMI,EAAsC,CAC1C,SAAU,YACV,aAAc,CACZ,GAAGH,EACH,MAAOA,GAAc,OAAS,2BAA2BD,GAAQ,gBAAgB,EAAA,CAErF,EA6BMK,EAA6D,CACjE,UA5BgD,CAChD,SAAU,QACV,gBAAiB,qBACjB,WAAY,GACZ,MAAO,gBACP,KAAM,KACN,YAAa,GACb,OAAQ,SACV,EAqBE,OAAQ,CAAC,EACT,OApB6C,CAC7C,QAAS,gBACT,KAAML,GAAQ,KAChB,EAkBE,IAAKI,EACL,WAAYD,EACZ,IAlB0C,CAC1C,WAAY,GACZ,SAAU,MACV,gBAAiB,iCACjB,WAAY,CACV,SAAU,SACV,GAAI,oBACJ,OAAQ,QACR,SAAU,SAAA,CAEd,CASA,EAGE,OAAAG,EAAA,kBAAA,IAACC,EAAA,OAAA,CACC,UAAU,eACV,cAAa,GAAGT,CAAU,IAAID,CAAI,GAClC,QAAUW,GAAY,CACpBA,EAAE,gBAAgB,EACdN,GACFA,EAAQM,CAAC,CAEb,EACC,GAAGH,EAAWR,CAAI,EAClB,GAAGE,CAAA,CACN,CAAA,CAGN,EC5FaU,EAAoB,CAAC,SAAU,MAAO,aAAc,YAAa,SAAU,KAAK"}
@@ -0,0 +1,69 @@
1
+ import { j as p } from "./jsx-runtime-C5mzlN2N.js";
2
+ import m from "react";
3
+ import { A as d } from "./avatar.component-C-365mx3.js";
4
+ const g = m.memo(
5
+ ({
6
+ type: a = "Client",
7
+ ["data-testid"]: l = "kibble-styled-avatar",
8
+ ...o
9
+ }) => {
10
+ const { name: e, tooltipProps: t = { placement: "top", ...o.tooltipProps }, onClick: s } = o, n = {
11
+ variant: "outlineYellow",
12
+ tooltipProps: {
13
+ ...t,
14
+ label: t?.label || `${e} (Test Client)`
15
+ }
16
+ }, i = {
17
+ iconName: "cellphone",
18
+ tooltipProps: {
19
+ ...t,
20
+ label: t?.label || `Text messages sent from ${e || "unknown number"}`
21
+ }
22
+ }, c = {
23
+ Automated: {
24
+ iconName: "robot",
25
+ backgroundColor: "background.primary",
26
+ hideBorder: !0,
27
+ color: "text.contrast",
28
+ size: "sm",
29
+ showTooltip: !1,
30
+ cursor: "default"
31
+ },
32
+ Client: {},
33
+ Clinic: {
34
+ variant: "outlineAccent",
35
+ name: e || "Sys"
36
+ },
37
+ SMS: i,
38
+ TestClient: n,
39
+ Pet: {
40
+ hideBorder: !0,
41
+ iconName: "paw",
42
+ backgroundColor: "background.contrast.mostSubtle",
43
+ badgeProps: {
44
+ iconName: "cancel",
45
+ bg: "background.danger",
46
+ status: "error",
47
+ position: "top-end"
48
+ }
49
+ }
50
+ };
51
+ return /* @__PURE__ */ p.jsx(
52
+ d,
53
+ {
54
+ className: "StyledAvatar",
55
+ "data-testid": `${l}-${a}`,
56
+ onClick: (r) => {
57
+ r.stopPropagation(), s && s(r);
58
+ },
59
+ ...c[a],
60
+ ...o
61
+ }
62
+ );
63
+ }
64
+ ), k = ["Client", "SMS", "TestClient", "Automated", "Clinic", "Pet"];
65
+ export {
66
+ g as S,
67
+ k as s
68
+ };
69
+ //# sourceMappingURL=styledAvatar.types-cR6PNPxA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styledAvatar.types-cR6PNPxA.js","sources":["../../src/components/StyledAvatar/styledAvatar.component.tsx","../../src/components/StyledAvatar/styledAvatar.types.ts"],"sourcesContent":["import React from 'react';\nimport { Avatar, AvatarProps } from 'components/Avatar/avatar.component';\nimport { StyledAvatarType } from './styledAvatar.types';\n\nexport interface StyledAvatarProps extends AvatarProps {\n /**\n * Defines the style of the `Avatar`.\n * @default Client\n */\n type?: StyledAvatarType;\n /**\n * Data test id for the styled avatar.\n * @default kibble-styled-avatar\n */\n 'data-testid'?: string;\n}\n\nexport const StyledAvatar = React.memo(\n ({\n type = 'Client',\n ['data-testid']: dataTestId = 'kibble-styled-avatar',\n ...rest\n }: StyledAvatarProps): React.JSX.Element => {\n const { name, tooltipProps = { placement: 'top', ...rest.tooltipProps }, onClick } = rest;\n\n const testClientStyleProps: Partial<AvatarProps> = {\n variant: 'outlineYellow',\n tooltipProps: {\n ...tooltipProps,\n label: tooltipProps?.label || `${name} (Test Client)`,\n },\n };\n\n const smsStyleProps: Partial<AvatarProps> = {\n iconName: 'cellphone',\n tooltipProps: {\n ...tooltipProps,\n label: tooltipProps?.label || `Text messages sent from ${name || 'unknown number'}`,\n },\n };\n\n const automatedStyleProps: Partial<AvatarProps> = {\n iconName: 'robot',\n backgroundColor: 'background.primary',\n hideBorder: true,\n color: 'text.contrast',\n size: 'sm',\n showTooltip: false,\n cursor: 'default',\n };\n\n const clinicStyleProps: Partial<AvatarProps> = {\n variant: 'outlineAccent',\n name: name || 'Sys',\n };\n\n const petStyleProps: Partial<AvatarProps> = {\n hideBorder: true,\n iconName: 'paw',\n backgroundColor: 'background.contrast.mostSubtle',\n badgeProps: {\n iconName: 'cancel',\n bg: 'background.danger',\n status: 'error',\n position: 'top-end',\n },\n };\n\n const styleProps: Record<StyledAvatarType, Partial<AvatarProps>> = {\n Automated: automatedStyleProps,\n Client: {},\n Clinic: clinicStyleProps,\n SMS: smsStyleProps,\n TestClient: testClientStyleProps,\n Pet: petStyleProps,\n };\n\n return (\n <Avatar\n className=\"StyledAvatar\"\n data-testid={`${dataTestId}-${type}`}\n onClick={(e): void => {\n e.stopPropagation();\n if (onClick) {\n onClick(e);\n }\n }}\n {...styleProps[type]}\n {...rest}\n />\n );\n },\n);\n","export const styledAvatarTypes = ['Client', 'SMS', 'TestClient', 'Automated', 'Clinic', 'Pet'] as const;\nexport type StyledAvatarType = (typeof styledAvatarTypes)[number];\n"],"names":["StyledAvatar","React","type","dataTestId","rest","name","tooltipProps","onClick","testClientStyleProps","smsStyleProps","styleProps","jsx","Avatar","e","styledAvatarTypes"],"mappings":";;;AAiBO,MAAMA,IAAeC,EAAM;AAAA,EAChC,CAAC;AAAA,IACC,MAAAC,IAAO;AAAA,IACP,CAAC,gBAAgBC,IAAa;AAAA,IAC9B,GAAGC;AAAA,EAAA,MACuC;AACpC,UAAA,EAAE,MAAAC,GAAM,cAAAC,IAAe,EAAE,WAAW,OAAO,GAAGF,EAAK,aAAA,GAAgB,SAAAG,EAAA,IAAYH,GAE/EI,IAA6C;AAAA,MACjD,SAAS;AAAA,MACT,cAAc;AAAA,QACZ,GAAGF;AAAA,QACH,OAAOA,GAAc,SAAS,GAAGD,CAAI;AAAA,MAAA;AAAA,IAEzC,GAEMI,IAAsC;AAAA,MAC1C,UAAU;AAAA,MACV,cAAc;AAAA,QACZ,GAAGH;AAAA,QACH,OAAOA,GAAc,SAAS,2BAA2BD,KAAQ,gBAAgB;AAAA,MAAA;AAAA,IAErF,GA6BMK,IAA6D;AAAA,MACjE,WA5BgD;AAAA,QAChD,UAAU;AAAA,QACV,iBAAiB;AAAA,QACjB,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,MAAM;AAAA,QACN,aAAa;AAAA,QACb,QAAQ;AAAA,MACV;AAAA,MAqBE,QAAQ,CAAC;AAAA,MACT,QApB6C;AAAA,QAC7C,SAAS;AAAA,QACT,MAAML,KAAQ;AAAA,MAChB;AAAA,MAkBE,KAAKI;AAAA,MACL,YAAYD;AAAA,MACZ,KAlB0C;AAAA,QAC1C,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,iBAAiB;AAAA,QACjB,YAAY;AAAA,UACV,UAAU;AAAA,UACV,IAAI;AAAA,UACJ,QAAQ;AAAA,UACR,UAAU;AAAA,QAAA;AAAA,MAEd;AAAA,IASA;AAGE,WAAAG,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,eAAa,GAAGT,CAAU,IAAID,CAAI;AAAA,QAClC,SAAS,CAACW,MAAY;AACpB,UAAAA,EAAE,gBAAgB,GACdN,KACFA,EAAQM,CAAC;AAAA,QAEb;AAAA,QACC,GAAGH,EAAWR,CAAI;AAAA,QAClB,GAAGE;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN,GC5FaU,IAAoB,CAAC,UAAU,OAAO,cAAc,aAAa,UAAU,KAAK;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const x=require("./jsx-runtime-BjDatQAs.js"),h=require("./index-BQRnVsAg.js"),p=require("./config-jChwZPSv.js"),n=require("./use-recipe-DaPWl_pL.js"),u={xs:{borderRadius:"xs",height:"12px",width:"12px"},sm:{borderRadius:"3px",height:"16px",width:"16px"},md:{borderRadius:"4px",height:"20px",width:"20px"},lg:{borderRadius:"5px",height:"24px",width:"24px"},xl:{borderRadius:"sm",height:"32px",width:"32px"}},l=p.defineRecipe({base:{display:"inline-block",border:"1px"},variants:{size:u},defaultVariants:{size:"md"}}),w=({size:s="md",color:t,backgroundColor:i,bgColor:r,borderColor:c,["data-testid"]:a="kibble-swatch",...d})=>{const o=n.useRecipe({recipe:l})({size:s}),e=r||i||t||"transparent";return x.jsxRuntimeExports.jsx(h.Box,{className:"Swatch","data-testid":a,css:o,bg:e,borderColor:c||e,...d})},b=["xs","sm","md","lg","xl"];exports.Swatch=w;exports.swatchSizes=b;
2
+ //# sourceMappingURL=swatch.types-AZLB8OWG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swatch.types-AZLB8OWG.js","sources":["../../src/components/Swatch/swatch.recipe.ts","../../src/components/Swatch/swatch.component.tsx","../../src/components/Swatch/swatch.types.ts"],"sourcesContent":["import { defineRecipe, SystemStyleObject } from '@chakra-ui/react/styled-system';\nimport { SwatchSize } from './swatch.types';\n\nconst swatchSizeStyles: Record<SwatchSize, SystemStyleObject> = {\n xs: {\n borderRadius: 'xs',\n height: '12px',\n width: '12px',\n },\n sm: {\n borderRadius: '3px',\n height: '16px',\n width: '16px',\n },\n md: {\n borderRadius: '4px',\n height: '20px',\n width: '20px',\n },\n lg: {\n borderRadius: '5px',\n height: '24px',\n width: '24px',\n },\n xl: {\n borderRadius: 'sm',\n height: '32px',\n width: '32px',\n },\n};\n\nexport const swatchRecipe = defineRecipe({\n base: {\n display: 'inline-block',\n border: '1px',\n },\n variants: {\n size: swatchSizeStyles,\n },\n defaultVariants: {\n size: 'md',\n },\n});\n","import React from 'react';\nimport { Box, BoxProps } from '@chakra-ui/react/box';\nimport { SwatchSize } from './swatch.types';\nimport { useRecipe } from '@chakra-ui/react/styled-system';\nimport { swatchRecipe } from './swatch.recipe';\n\nexport interface BaseSwatchProps {\n /**\n * Size of the swatch.\n * @default md\n */\n size?: SwatchSize;\n /**\n * Data test id for the swatch.\n * @default kibble-swatch\n */\n 'data-testid'?: string;\n}\n\nexport type SwatchProps = BaseSwatchProps & Omit<BoxProps, 'children'>;\n\nexport const Swatch = ({\n size = 'md',\n color,\n backgroundColor,\n bgColor,\n borderColor,\n ['data-testid']: dataTestId = 'kibble-swatch',\n ...rest\n}: SwatchProps): React.JSX.Element => {\n const recipe = useRecipe({ recipe: swatchRecipe });\n const styles = recipe({ size });\n const _swatchColor = bgColor || backgroundColor || color || 'transparent';\n\n return (\n <Box\n className=\"Swatch\"\n data-testid={dataTestId}\n css={styles}\n bg={_swatchColor}\n borderColor={borderColor || _swatchColor}\n {...rest}\n />\n );\n};\n","export const swatchSizes = ['xs', 'sm', 'md', 'lg', 'xl'] as const;\nexport type SwatchSize = (typeof swatchSizes)[number];\n"],"names":["swatchSizeStyles","swatchRecipe","defineRecipe","Swatch","size","color","backgroundColor","bgColor","borderColor","dataTestId","rest","styles","useRecipe","_swatchColor","jsx","Box","swatchSizes"],"mappings":"mKAGMA,EAA0D,CAC9D,GAAI,CACF,aAAc,KACd,OAAQ,OACR,MAAO,MACT,EACA,GAAI,CACF,aAAc,MACd,OAAQ,OACR,MAAO,MACT,EACA,GAAI,CACF,aAAc,MACd,OAAQ,OACR,MAAO,MACT,EACA,GAAI,CACF,aAAc,MACd,OAAQ,OACR,MAAO,MACT,EACA,GAAI,CACF,aAAc,KACd,OAAQ,OACR,MAAO,MAAA,CAEX,EAEaC,EAAeC,EAAAA,aAAa,CACvC,KAAM,CACJ,QAAS,eACT,OAAQ,KACV,EACA,SAAU,CACR,KAAMF,CACR,EACA,gBAAiB,CACf,KAAM,IAAA,CAEV,CAAC,ECrBYG,EAAS,CAAC,CACrB,KAAAC,EAAO,KACP,MAAAC,EACA,gBAAAC,EACA,QAAAC,EACA,YAAAC,EACA,CAAC,eAAgBC,EAAa,gBAC9B,GAAGC,CACL,IAAsC,CAEpC,MAAMC,EADSC,EAAA,UAAU,CAAE,OAAQX,EAAc,EAC3B,CAAE,KAAAG,EAAM,EACxBS,EAAeN,GAAWD,GAAmBD,GAAS,cAG1D,OAAAS,EAAA,kBAAA,IAACC,EAAA,IAAA,CACC,UAAU,SACV,cAAaN,EACb,IAAKE,EACL,GAAIE,EACJ,YAAaL,GAAeK,EAC3B,GAAGH,CAAA,CACN,CAEJ,EC5CaM,EAAc,CAAC,KAAM,KAAM,KAAM,KAAM,IAAI"}
@@ -1,8 +1,8 @@
1
- import { j as d } from "./jsx-runtime-C5mzlN2N.js";
2
- import { B as x } from "./index-9BerxEcw.js";
3
- import { b as c } from "./config-B3QABP1-.js";
4
- import { u as h } from "./use-recipe-d63ABaZ3.js";
5
- const m = {
1
+ import { j as x } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { B as c } from "./index-9BerxEcw.js";
3
+ import { a as h } from "./config-Djkl1N81.js";
4
+ import { u as m } from "./use-recipe-d63ABaZ3.js";
5
+ const n = {
6
6
  xs: {
7
7
  borderRadius: "xs",
8
8
  height: "12px",
@@ -28,40 +28,41 @@ const m = {
28
28
  height: "32px",
29
29
  width: "32px"
30
30
  }
31
- }, n = c({
31
+ }, l = h({
32
32
  base: {
33
33
  display: "inline-block",
34
34
  border: "1px"
35
35
  },
36
36
  variants: {
37
- size: m
37
+ size: n
38
38
  },
39
39
  defaultVariants: {
40
40
  size: "md"
41
41
  }
42
- }), g = ({
43
- size: e = "md",
44
- color: t,
42
+ }), f = ({
43
+ size: t = "md",
44
+ color: e,
45
45
  backgroundColor: i,
46
46
  bgColor: r,
47
47
  borderColor: a,
48
- ...o
48
+ ["data-testid"]: o = "kibble-swatch",
49
+ ...d
49
50
  }) => {
50
- const p = h({ recipe: n })({ size: e }), s = r || i || t || "transparent";
51
- return /* @__PURE__ */ d.jsx(
52
- x,
51
+ const p = m({ recipe: l })({ size: t }), s = r || i || e || "transparent";
52
+ return /* @__PURE__ */ x.jsx(
53
+ c,
53
54
  {
54
55
  className: "Swatch",
55
- "data-testid": "kibble-swatch",
56
+ "data-testid": o,
56
57
  css: p,
57
58
  bg: s,
58
59
  borderColor: a || s,
59
- ...o
60
+ ...d
60
61
  }
61
62
  );
62
- }, f = ["xs", "sm", "md", "lg", "xl"];
63
+ }, S = ["xs", "sm", "md", "lg", "xl"];
63
64
  export {
64
- g as S,
65
- f as s
65
+ f as S,
66
+ S as s
66
67
  };
67
- //# sourceMappingURL=swatch.types-CXlghcLw.js.map
68
+ //# sourceMappingURL=swatch.types-CkrkMi11.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swatch.types-CkrkMi11.js","sources":["../../src/components/Swatch/swatch.recipe.ts","../../src/components/Swatch/swatch.component.tsx","../../src/components/Swatch/swatch.types.ts"],"sourcesContent":["import { defineRecipe, SystemStyleObject } from '@chakra-ui/react/styled-system';\nimport { SwatchSize } from './swatch.types';\n\nconst swatchSizeStyles: Record<SwatchSize, SystemStyleObject> = {\n xs: {\n borderRadius: 'xs',\n height: '12px',\n width: '12px',\n },\n sm: {\n borderRadius: '3px',\n height: '16px',\n width: '16px',\n },\n md: {\n borderRadius: '4px',\n height: '20px',\n width: '20px',\n },\n lg: {\n borderRadius: '5px',\n height: '24px',\n width: '24px',\n },\n xl: {\n borderRadius: 'sm',\n height: '32px',\n width: '32px',\n },\n};\n\nexport const swatchRecipe = defineRecipe({\n base: {\n display: 'inline-block',\n border: '1px',\n },\n variants: {\n size: swatchSizeStyles,\n },\n defaultVariants: {\n size: 'md',\n },\n});\n","import React from 'react';\nimport { Box, BoxProps } from '@chakra-ui/react/box';\nimport { SwatchSize } from './swatch.types';\nimport { useRecipe } from '@chakra-ui/react/styled-system';\nimport { swatchRecipe } from './swatch.recipe';\n\nexport interface BaseSwatchProps {\n /**\n * Size of the swatch.\n * @default md\n */\n size?: SwatchSize;\n /**\n * Data test id for the swatch.\n * @default kibble-swatch\n */\n 'data-testid'?: string;\n}\n\nexport type SwatchProps = BaseSwatchProps & Omit<BoxProps, 'children'>;\n\nexport const Swatch = ({\n size = 'md',\n color,\n backgroundColor,\n bgColor,\n borderColor,\n ['data-testid']: dataTestId = 'kibble-swatch',\n ...rest\n}: SwatchProps): React.JSX.Element => {\n const recipe = useRecipe({ recipe: swatchRecipe });\n const styles = recipe({ size });\n const _swatchColor = bgColor || backgroundColor || color || 'transparent';\n\n return (\n <Box\n className=\"Swatch\"\n data-testid={dataTestId}\n css={styles}\n bg={_swatchColor}\n borderColor={borderColor || _swatchColor}\n {...rest}\n />\n );\n};\n","export const swatchSizes = ['xs', 'sm', 'md', 'lg', 'xl'] as const;\nexport type SwatchSize = (typeof swatchSizes)[number];\n"],"names":["swatchSizeStyles","swatchRecipe","defineRecipe","Swatch","size","color","backgroundColor","bgColor","borderColor","dataTestId","rest","styles","useRecipe","_swatchColor","jsx","Box","swatchSizes"],"mappings":";;;;AAGA,MAAMA,IAA0D;AAAA,EAC9D,IAAI;AAAA,IACF,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,OAAO;AAAA,EAAA;AAEX,GAEaC,IAAeC,EAAa;AAAA,EACvC,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,EACV;AAAA,EACA,UAAU;AAAA,IACR,MAAMF;AAAA,EACR;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EAAA;AAEV,CAAC,GCrBYG,IAAS,CAAC;AAAA,EACrB,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,SAAAC;AAAA,EACA,aAAAC;AAAA,EACA,CAAC,gBAAgBC,IAAa;AAAA,EAC9B,GAAGC;AACL,MAAsC;AAEpC,QAAMC,IADSC,EAAU,EAAE,QAAQX,GAAc,EAC3B,EAAE,MAAAG,GAAM,GACxBS,IAAeN,KAAWD,KAAmBD,KAAS;AAG1D,SAAAS,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,eAAaN;AAAA,MACb,KAAKE;AAAA,MACL,IAAIE;AAAA,MACJ,aAAaL,KAAeK;AAAA,MAC3B,GAAGH;AAAA,IAAA;AAAA,EACN;AAEJ,GC5CaM,IAAc,CAAC,MAAM,MAAM,MAAM,MAAM,IAAI;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),N=require("./withFormControl-wZA87Sd4.js"),w=require("./attr-BMs6szZx.js"),$=require("./create-slot-recipe-context-HXE1VazG.js"),f=require("./factory-a2SJjEvR.js"),i=require("./use-locale-context-ym21RUxU.js"),S=require("./use-field-context-Cm29IQ7H.js"),u=require("./index-CQURjLlA.js"),m=require("./index-DLe40do7.js"),_=t=>t&&t.__esModule?t:{default:t},A=_(c),[R,h]=i.createContext({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),C=c.forwardRef((t,r)=>{const e=h(),s=u.mergeProps(e.getControlProps(),t);return n.jsxRuntimeExports.jsx(i.ark.span,{...s,ref:r})});C.displayName="SwitchControl";const j=c.forwardRef((t,r)=>{const e=h(),s=u.mergeProps(e.getHiddenInputProps(),t),o=S.useFieldContext();return n.jsxRuntimeExports.jsx(i.ark.input,{"aria-describedby":o?.ariaDescribedby,...s,ref:r})});j.displayName="SwitchHiddenInput";const P=c.forwardRef((t,r)=>{const e=h(),s=u.mergeProps(e.getLabelProps(),t);return n.jsxRuntimeExports.jsx(i.ark.span,{...s,ref:r})});P.displayName="SwitchLabel";const I=t=>{const r=c.useId(),{getRootNode:e}=i.useEnvironmentContext(),{dir:s}=i.useLocaleContext(),o=S.useFieldContext(),a={id:r,ids:{label:o?.ids.label,hiddenInput:o?.ids.control},dir:s,disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,getRootNode:e,...t},d=i.useMachine(m.machine,a);return m.connect(d,i.normalizeProps)},b=c.forwardRef((t,r)=>{const[e,s]=i.createSplitProps()(t,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),o=I(e),a=u.mergeProps(o.getRootProps(),s);return n.jsxRuntimeExports.jsx(R,{value:o,children:n.jsxRuntimeExports.jsx(i.ark.label,{...a,ref:r})})});b.displayName="SwitchRoot";const k=c.forwardRef((t,r)=>{const[{value:e},s]=i.createSplitProps()(t,["value"]),o=u.mergeProps(e.getRootProps(),s);return n.jsxRuntimeExports.jsx(R,{value:e,children:n.jsxRuntimeExports.jsx(i.ark.label,{...o,ref:r})})});k.displayName="SwitchRootProvider";const g=c.forwardRef((t,r)=>{const e=h(),s=u.mergeProps(e.getThumbProps(),t);return n.jsxRuntimeExports.jsx(i.ark.span,{...s,ref:r})});g.displayName="SwitchThumb";const{withProvider:v,withContext:x,useStyles:L}=$.createSlotRecipeContext({key:"switch"});v(k,"root",{forwardAsChild:!0});const F=v(b,"root",{forwardAsChild:!0}),H=x(P,"label",{forwardAsChild:!0}),O=x(g,"thumb",{forwardAsChild:!0}),M=x(C,"control",{forwardAsChild:!0,defaultProps:{children:n.jsxRuntimeExports.jsx(O,{})}});c.forwardRef(function(r,e){const s=h(),o=L(),{fallback:a,children:d,unstyled:l,...p}=r;return n.jsxRuntimeExports.jsx(f.chakra.span,{ref:e,"data-checked":w.dataAttr(s.checked),...p,css:[l?void 0:o.indicator,r.css],children:s.checked?d:a})});c.forwardRef(function(r,e){const s=h(),{fallback:o,children:a,...d}=r;return n.jsxRuntimeExports.jsx(f.chakra.span,{ref:e,"data-checked":w.dataAttr(s.checked),...d,children:s.checked?a:o})});const D=j,y=A.default.forwardRef(({children:t,indeterminate:r=!1,onContrast:e,label:s,rootRef:o,size:a="md",switchRef:d,["data-testid"]:l="kibble-switch",...p},E)=>{const q=c.useMemo(()=>r?e?"indeterminateOnContrast":"indeterminate":e?"onContrast":"default",[r,e]);return n.jsxRuntimeExports.jsxs(F,{className:"Switch","data-testid":l,ref:o,size:a,variant:q,...p,children:[n.jsxRuntimeExports.jsx(D,{className:"Switch_Input","data-testid":`${l}-input`,ref:d||E}),n.jsxRuntimeExports.jsx(M,{className:"Switch_Control","data-testid":`${l}-control`}),!!t&&n.jsxRuntimeExports.jsx(H,{"data-testid":`${l}-label`,children:t})]})});y.displayName="Switch";const T=N.withFormControl(y);exports.WrappedSwitch=T;
2
+ //# sourceMappingURL=switch.component-CgzCLoTB.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.component-Cke7O8gk.js","sources":["../../node_modules/@ark-ui/react/dist/components/switch/use-switch-context.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-label.js","../../node_modules/@ark-ui/react/dist/components/switch/use-switch.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root-provider.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js","../../node_modules/@chakra-ui/react/dist/esm/components/switch/switch.js","../../src/components/Switch/switch.component.tsx"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [SwitchProvider, useSwitchContext] = createContext({\n name: \"SwitchContext\",\n hookName: \"useSwitchContext\",\n providerName: \"<SwitchProvider />\"\n});\n\nexport { SwitchProvider, useSwitchContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchControl = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchControl.displayName = \"SwitchControl\";\n\nexport { SwitchControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchHiddenInput = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nSwitchHiddenInput.displayName = \"SwitchHiddenInput\";\n\nexport { SwitchHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchLabel = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchLabel.displayName = \"SwitchLabel\";\n\nexport { SwitchLabel };\n","'use client';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport * as zagSwitch from '@zag-js/switch';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst useSwitch = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n dir,\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n invalid: field?.invalid,\n required: field?.required,\n getRootNode,\n ...props\n };\n const service = useMachine(zagSwitch.machine, machineProps);\n return zagSwitch.connect(service, normalizeProps);\n};\n\nexport { useSwitch };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { useSwitch } from './use-switch.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRoot = forwardRef((props, ref) => {\n const [switchProps, localProps] = createSplitProps()(props, [\n \"checked\",\n \"defaultChecked\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"label\",\n \"name\",\n \"onCheckedChange\",\n \"readOnly\",\n \"required\",\n \"value\"\n ]);\n const switchContext = useSwitch(switchProps);\n const mergedProps = mergeProps(switchContext.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: switchContext, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRoot.displayName = \"SwitchRoot\";\n\nexport { SwitchRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRootProvider = forwardRef((props, ref) => {\n const [{ value: api }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(api.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: api, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRootProvider.displayName = \"SwitchRootProvider\";\n\nexport { SwitchRootProvider };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchThumb = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getThumbProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchThumb.displayName = \"SwitchThumb\";\n\nexport { SwitchThumb };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Switch, useSwitchContext } from '@ark-ui/react/switch';\nimport { forwardRef } from 'react';\nimport { dataAttr } from '../../utils/attr.js';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useSwitchStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"switch\" });\nconst SwitchRootProvider = withProvider(Switch.RootProvider, \"root\", { forwardAsChild: true });\nconst SwitchRoot = withProvider(\n Switch.Root,\n \"root\",\n { forwardAsChild: true }\n);\nconst SwitchPropsProvider = PropsProvider;\nconst SwitchLabel = withContext(\n Switch.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst SwitchThumb = withContext(\n Switch.Thumb,\n \"thumb\",\n { forwardAsChild: true }\n);\nconst SwitchControl = withContext(\n Switch.Control,\n \"control\",\n {\n forwardAsChild: true,\n defaultProps: { children: /* @__PURE__ */ jsx(SwitchThumb, {}) }\n }\n);\nconst SwitchIndicator = forwardRef(function SwitchIndicator2(props, ref) {\n const api = useSwitchContext();\n const styles = useSwitchStyles();\n const { fallback, children, unstyled, ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.span,\n {\n ref,\n \"data-checked\": dataAttr(api.checked),\n ...rest,\n css: [!unstyled ? styles.indicator : void 0, props.css],\n children: api.checked ? children : fallback\n }\n );\n});\nconst SwitchThumbIndicator = forwardRef(function SwitchThumbIndicator2(props, ref) {\n const api = useSwitchContext();\n const { fallback, children, ...rest } = props;\n return /* @__PURE__ */ jsx(chakra.span, { ref, \"data-checked\": dataAttr(api.checked), ...rest, children: api.checked ? children : fallback });\n});\nconst SwitchContext = Switch.Context;\nconst SwitchHiddenInput = Switch.HiddenInput;\n\nexport { SwitchContext, SwitchControl, SwitchHiddenInput, SwitchIndicator, SwitchLabel, SwitchPropsProvider, SwitchRoot, SwitchRootProvider, SwitchThumb, SwitchThumbIndicator, useSwitchStyles };\n","import React, { useMemo } from 'react';\nimport { Switch as CSwitch } from '@chakra-ui/react/switch';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\n\nexport interface SwitchProps extends WithFormControlProps, Omit<CSwitch.RootProps, 'label' | 'onChange'> {\n indeterminate?: boolean;\n rootRef?: React.Ref<HTMLLabelElement | null>;\n size?: FormControlSize;\n switchRef?: React.Ref<HTMLInputElement | null>;\n}\n\nconst Switch = React.forwardRef<HTMLInputElement, SwitchProps>(\n (\n {\n children,\n indeterminate = false,\n onContrast,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n label,\n rootRef,\n size = 'md',\n switchRef,\n ...rest\n },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = useMemo(() => {\n if (indeterminate) {\n return onContrast ? 'indeterminateOnContrast' : 'indeterminate';\n } else {\n return onContrast ? 'onContrast' : 'default';\n }\n }, [indeterminate, onContrast]);\n\n return (\n <CSwitch.Root\n className=\"Switch\"\n data-testid=\"kibble-switch\"\n ref={rootRef}\n size={size}\n variant={_computedVariant}\n {...rest}\n >\n <CSwitch.HiddenInput className=\"Switch_Input\" data-testid=\"kibble-switch-input\" ref={switchRef || ref} />\n <CSwitch.Control className=\"Switch_Control\" data-testid=\"kibble-switch-control\" />\n {!!children && <CSwitch.Label>{children}</CSwitch.Label>}\n </CSwitch.Root>\n );\n },\n);\n\nSwitch.displayName = 'Switch';\nconst WrappedSwitch = withFormControl<SwitchProps>(Switch);\n\nexport { WrappedSwitch as Switch };\n"],"names":["SwitchProvider","useSwitchContext","createContext","SwitchControl","forwardRef","props","ref","switchContext","mergedProps","mergeProps","jsx","ark","SwitchHiddenInput","field","useFieldContext","SwitchLabel","useSwitch","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","zagSwitch.machine","zagSwitch.connect","normalizeProps","SwitchRoot","switchProps","localProps","createSplitProps","SwitchRootProvider","api","SwitchThumb","withProvider","withContext","useSwitchStyles","createSlotRecipeContext","Switch.RootProvider","Switch.Root","Switch.Label","Switch.Thumb","Switch.Control","styles","fallback","children","unstyled","rest","chakra","dataAttr","Switch.HiddenInput","Switch","React","indeterminate","onContrast","label","rootRef","size","switchRef","_computedVariant","useMemo","jsxs","CSwitch.Root","CSwitch.HiddenInput","CSwitch.Control","CSwitch.Label","WrappedSwitch","withFormControl"],"mappings":";;;;;;;;;;AAGA,MAAM,CAACA,GAAgBC,CAAgB,IAAIC,EAAc;AAAA,EACvD,MAAM;AAAA,EACN,UAAU;AAAA,EACV,cAAc;AAChB,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GAAG,GAAGe,GAAM,UAAUf,EAAI,UAAUa,IAAWD,GAAU;AAC9I,CAAC;AAED,MAAMlC,IAAoBwC,GCjDpBC,IAASC,EAAM;AAAA,EACnB,CACE;AAAA,IACE,UAAAP;AAAA,IACA,eAAAQ,IAAgB;AAAA,IAChB,YAAAC;AAAA;AAAA,IAEA,OAAAC;AAAA,IACA,SAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,WAAAC;AAAA,IACA,GAAGX;AAAA,KAEL3C,MACsB;AAChB,UAAAuD,IAAmBC,EAAQ,MAC3BP,IACKC,IAAa,4BAA4B,kBAEzCA,IAAa,eAAe,WAEpC,CAACD,GAAeC,CAAU,CAAC;AAG5B,WAAAO,gBAAAA,EAAA;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,eAAY;AAAA,QACZ,KAAKN;AAAA,QACL,MAAAC;AAAA,QACA,SAASE;AAAA,QACR,GAAGZ;AAAA,QAEJ,UAAA;AAAA,UAACvC,gBAAAA,MAAAuD,GAAA,EAAoB,WAAU,gBAAe,eAAY,uBAAsB,KAAKL,KAAatD,GAAK;AAAA,gCACtG4D,GAAA,EAAgB,WAAU,kBAAiB,eAAY,yBAAwB;AAAA,UAC/E,CAAC,CAACnB,2BAAaoB,GAAA,EAAe,UAAApB,EAAS,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1C;AAAA,EAAA;AAGN;AAEAM,EAAO,cAAc;AACf,MAAAe,KAAgBC,EAA6BhB,CAAM;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
1
+ {"version":3,"file":"switch.component-CgzCLoTB.js","sources":["../../node_modules/@ark-ui/react/dist/components/switch/use-switch-context.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-label.js","../../node_modules/@ark-ui/react/dist/components/switch/use-switch.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root-provider.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js","../../node_modules/@chakra-ui/react/dist/esm/components/switch/switch.js","../../src/components/Switch/switch.component.tsx"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [SwitchProvider, useSwitchContext] = createContext({\n name: \"SwitchContext\",\n hookName: \"useSwitchContext\",\n providerName: \"<SwitchProvider />\"\n});\n\nexport { SwitchProvider, useSwitchContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchControl = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchControl.displayName = \"SwitchControl\";\n\nexport { SwitchControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchHiddenInput = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nSwitchHiddenInput.displayName = \"SwitchHiddenInput\";\n\nexport { SwitchHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchLabel = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchLabel.displayName = \"SwitchLabel\";\n\nexport { SwitchLabel };\n","'use client';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport * as zagSwitch from '@zag-js/switch';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst useSwitch = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n dir,\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n invalid: field?.invalid,\n required: field?.required,\n getRootNode,\n ...props\n };\n const service = useMachine(zagSwitch.machine, machineProps);\n return zagSwitch.connect(service, normalizeProps);\n};\n\nexport { useSwitch };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { useSwitch } from './use-switch.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRoot = forwardRef((props, ref) => {\n const [switchProps, localProps] = createSplitProps()(props, [\n \"checked\",\n \"defaultChecked\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"label\",\n \"name\",\n \"onCheckedChange\",\n \"readOnly\",\n \"required\",\n \"value\"\n ]);\n const switchContext = useSwitch(switchProps);\n const mergedProps = mergeProps(switchContext.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: switchContext, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRoot.displayName = \"SwitchRoot\";\n\nexport { SwitchRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRootProvider = forwardRef((props, ref) => {\n const [{ value: api }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(api.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: api, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRootProvider.displayName = \"SwitchRootProvider\";\n\nexport { SwitchRootProvider };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchThumb = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getThumbProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchThumb.displayName = \"SwitchThumb\";\n\nexport { SwitchThumb };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Switch, useSwitchContext } from '@ark-ui/react/switch';\nimport { forwardRef } from 'react';\nimport { dataAttr } from '../../utils/attr.js';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useSwitchStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"switch\" });\nconst SwitchRootProvider = withProvider(Switch.RootProvider, \"root\", { forwardAsChild: true });\nconst SwitchRoot = withProvider(\n Switch.Root,\n \"root\",\n { forwardAsChild: true }\n);\nconst SwitchPropsProvider = PropsProvider;\nconst SwitchLabel = withContext(\n Switch.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst SwitchThumb = withContext(\n Switch.Thumb,\n \"thumb\",\n { forwardAsChild: true }\n);\nconst SwitchControl = withContext(\n Switch.Control,\n \"control\",\n {\n forwardAsChild: true,\n defaultProps: { children: /* @__PURE__ */ jsx(SwitchThumb, {}) }\n }\n);\nconst SwitchIndicator = forwardRef(function SwitchIndicator2(props, ref) {\n const api = useSwitchContext();\n const styles = useSwitchStyles();\n const { fallback, children, unstyled, ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.span,\n {\n ref,\n \"data-checked\": dataAttr(api.checked),\n ...rest,\n css: [!unstyled ? styles.indicator : void 0, props.css],\n children: api.checked ? children : fallback\n }\n );\n});\nconst SwitchThumbIndicator = forwardRef(function SwitchThumbIndicator2(props, ref) {\n const api = useSwitchContext();\n const { fallback, children, ...rest } = props;\n return /* @__PURE__ */ jsx(chakra.span, { ref, \"data-checked\": dataAttr(api.checked), ...rest, children: api.checked ? children : fallback });\n});\nconst SwitchContext = Switch.Context;\nconst SwitchHiddenInput = Switch.HiddenInput;\n\nexport { SwitchContext, SwitchControl, SwitchHiddenInput, SwitchIndicator, SwitchLabel, SwitchPropsProvider, SwitchRoot, SwitchRootProvider, SwitchThumb, SwitchThumbIndicator, useSwitchStyles };\n","import React, { useMemo } from 'react';\nimport { Switch as CSwitch } from '@chakra-ui/react/switch';\nimport { withFormControl, WithFormControlProps } from 'hocs/withFormControl/withFormControl';\nimport { FormControlSize } from 'hocs/withFormControl/withFormControl.types';\n\nexport interface SwitchProps extends WithFormControlProps, Omit<CSwitch.RootProps, 'label' | 'onChange'> {\n /**\n * If true, the switch will be indeterminate. This only affects the switch visually and does not modify the checked property.\n * @default false\n */\n indeterminate?: boolean;\n /** Ref to the switch component. */\n rootRef?: React.Ref<HTMLLabelElement | null>;\n /**\n * Size of the switch.\n * @default md\n */\n size?: FormControlSize;\n /** Ref to the hiddeninput element. */\n switchRef?: React.Ref<HTMLInputElement | null>;\n /**\n * Data test id for the switch.\n * @default kibble-switch\n */\n 'data-testid'?: string;\n}\n\nconst Switch = React.forwardRef<HTMLInputElement, SwitchProps>(\n (\n {\n children,\n indeterminate = false,\n onContrast,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n label,\n rootRef,\n size = 'md',\n switchRef,\n ['data-testid']: dataTestId = 'kibble-switch',\n ...rest\n },\n ref,\n ): React.JSX.Element => {\n const _computedVariant = useMemo(() => {\n if (indeterminate) {\n return onContrast ? 'indeterminateOnContrast' : 'indeterminate';\n } else {\n return onContrast ? 'onContrast' : 'default';\n }\n }, [indeterminate, onContrast]);\n\n return (\n <CSwitch.Root\n className=\"Switch\"\n data-testid={dataTestId}\n ref={rootRef}\n size={size}\n variant={_computedVariant}\n {...rest}\n >\n <CSwitch.HiddenInput className=\"Switch_Input\" data-testid={`${dataTestId}-input`} ref={switchRef || ref} />\n <CSwitch.Control className=\"Switch_Control\" data-testid={`${dataTestId}-control`} />\n {!!children && <CSwitch.Label data-testid={`${dataTestId}-label`}>{children}</CSwitch.Label>}\n </CSwitch.Root>\n );\n },\n);\n\nSwitch.displayName = 'Switch';\nconst WrappedSwitch = withFormControl<SwitchProps>(Switch);\n\nexport { WrappedSwitch as Switch };\n"],"names":["SwitchProvider","useSwitchContext","createContext","SwitchControl","forwardRef","props","ref","switchContext","mergedProps","mergeProps","jsx","ark","SwitchHiddenInput","field","useFieldContext","SwitchLabel","useSwitch","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","zagSwitch.machine","zagSwitch.connect","normalizeProps","SwitchRoot","switchProps","localProps","createSplitProps","SwitchRootProvider","api","SwitchThumb","withProvider","withContext","useSwitchStyles","createSlotRecipeContext","Switch.RootProvider","Switch.Root","Switch.Label","Switch.Thumb","Switch.Control","styles","fallback","children","unstyled","rest","chakra","dataAttr","Switch.HiddenInput","Switch","React","indeterminate","onContrast","label","rootRef","size","switchRef","dataTestId","_computedVariant","useMemo","jsxs","CSwitch.Root","CSwitch.HiddenInput","CSwitch.Control","CSwitch.Label","WrappedSwitch","withFormControl"],"mappings":"wbAGM,CAACA,EAAgBC,CAAgB,EAAIC,gBAAc,C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