@televet/kibble-ui 4.0.0-beta.20 → 4.0.0-beta.25

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 (439) hide show
  1. package/README.md +0 -30
  2. package/dist/chunks/IconLogo-BurrDDT6.js +62 -0
  3. package/dist/chunks/IconLogo-BurrDDT6.js.map +1 -0
  4. package/dist/chunks/IconLogo-Dd5mp5A_.js +2 -0
  5. package/dist/chunks/IconLogo-Dd5mp5A_.js.map +1 -0
  6. package/dist/chunks/alert.component-BSUteYep.js +2 -0
  7. package/dist/chunks/alert.component-BSUteYep.js.map +1 -0
  8. package/dist/chunks/alert.component-CJmYmkOs.js +182 -0
  9. package/dist/chunks/alert.component-CJmYmkOs.js.map +1 -0
  10. package/dist/chunks/alert.types-JdzSuSVO.js +5 -0
  11. package/dist/chunks/alert.types-JdzSuSVO.js.map +1 -0
  12. package/dist/chunks/alert.types-R_9yno9e.js +2 -0
  13. package/dist/chunks/alert.types-R_9yno9e.js.map +1 -0
  14. package/dist/chunks/{avatar.component-DLqm7tQt.js → avatar.component-Bq-iwROm.js} +16 -16
  15. package/dist/chunks/avatar.component-Bq-iwROm.js.map +1 -0
  16. package/dist/chunks/{avatar.component-B14bRpeL.js → avatar.component-DVcDtvDR.js} +2 -2
  17. package/dist/chunks/avatar.component-DVcDtvDR.js.map +1 -0
  18. package/dist/chunks/{avatarGroup.component-4kVezqP-.js → avatarGroup.component-CXilO0oZ.js} +2 -2
  19. package/dist/chunks/{avatarGroup.component-4kVezqP-.js.map → avatarGroup.component-CXilO0oZ.js.map} +1 -1
  20. package/dist/chunks/{avatarGroup.component-DIDIECGK.js → avatarGroup.component-DCfOKiyR.js} +16 -16
  21. package/dist/chunks/{avatarGroup.component-DIDIECGK.js.map → avatarGroup.component-DCfOKiyR.js.map} +1 -1
  22. package/dist/chunks/{button.component-CA9bIFbq.js → button.component-BZEZZa7D.js} +7 -7
  23. package/dist/chunks/{button.component-CA9bIFbq.js.map → button.component-BZEZZa7D.js.map} +1 -1
  24. package/dist/chunks/{button.component-DDjwI0xh.js → button.component-DnWrqGc4.js} +2 -2
  25. package/dist/chunks/{button.component-DDjwI0xh.js.map → button.component-DnWrqGc4.js.map} +1 -1
  26. package/dist/chunks/{buttonGroup.component-DKnPmFIM.js → buttonGroup.component-DQswSQ0l.js} +2 -2
  27. package/dist/chunks/{buttonGroup.component-DKnPmFIM.js.map → buttonGroup.component-DQswSQ0l.js.map} +1 -1
  28. package/dist/chunks/{buttonGroup.component-BLRJnRJW.js → buttonGroup.component-toHK3QbU.js} +12 -12
  29. package/dist/chunks/{buttonGroup.component-BLRJnRJW.js.map → buttonGroup.component-toHK3QbU.js.map} +1 -1
  30. package/dist/chunks/card.component-1JqO34tC.js +2 -0
  31. package/dist/chunks/card.component-1JqO34tC.js.map +1 -0
  32. package/dist/chunks/card.component-CI7pt6L8.js +59 -0
  33. package/dist/chunks/card.component-CI7pt6L8.js.map +1 -0
  34. package/dist/chunks/card.types-Cixp7ouC.js +5 -0
  35. package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
  36. package/dist/chunks/card.types-MvkQTTZF.js +2 -0
  37. package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
  38. package/dist/chunks/chakra-BHjfByoV.js +5 -0
  39. package/dist/chunks/chakra-BHjfByoV.js.map +1 -0
  40. package/dist/chunks/{chakra-BqBkjpvZ.js → chakra-DEgvQPwa.js} +4066 -2306
  41. package/dist/chunks/chakra-DEgvQPwa.js.map +1 -0
  42. package/dist/chunks/{characterCounter.component-BXxyn_IB.js → characterCounter.component-0-1clNqF.js} +2 -2
  43. package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-0-1clNqF.js.map} +1 -1
  44. package/dist/chunks/{characterCounter.component-DhiMcztY.js → characterCounter.component-BhtK0SKA.js} +9 -9
  45. package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-BhtK0SKA.js.map} +1 -1
  46. package/dist/chunks/{checkbox.component-BnNl7j1h.js → checkbox.component-Kn48K9JS.js} +2 -2
  47. package/dist/chunks/{checkbox.component-BnNl7j1h.js.map → checkbox.component-Kn48K9JS.js.map} +1 -1
  48. package/dist/chunks/{checkbox.component-BN9GeeiB.js → checkbox.component-X_SD-4T8.js} +22 -22
  49. package/dist/chunks/{checkbox.component-BN9GeeiB.js.map → checkbox.component-X_SD-4T8.js.map} +1 -1
  50. package/dist/chunks/{checkboxGroup.component-DNwf69Ss.js → checkboxGroup.component-COD9t2JC.js} +16 -16
  51. package/dist/chunks/{checkboxGroup.component-DNwf69Ss.js.map → checkboxGroup.component-COD9t2JC.js.map} +1 -1
  52. package/dist/chunks/{checkboxGroup.component-CMSLo_U5.js → checkboxGroup.component-CYr1-Aci.js} +2 -2
  53. package/dist/chunks/{checkboxGroup.component-CMSLo_U5.js.map → checkboxGroup.component-CYr1-Aci.js.map} +1 -1
  54. package/dist/chunks/{conversationCard.component-CAKvEh_2.js → conversationCard.component-DjbHIWpM.js} +20 -20
  55. package/dist/chunks/conversationCard.component-DjbHIWpM.js.map +1 -0
  56. package/dist/chunks/{conversationCard.component-D56k22in.js → conversationCard.component-eWR68X0w.js} +2 -2
  57. package/dist/chunks/conversationCard.component-eWR68X0w.js.map +1 -0
  58. package/dist/chunks/{date-1NFv48Qu.js → date-CQ_hzmOK.js} +144 -144
  59. package/dist/chunks/date-CQ_hzmOK.js.map +1 -0
  60. package/dist/chunks/date-Dn1AgqaP.js +15 -0
  61. package/dist/chunks/date-Dn1AgqaP.js.map +1 -0
  62. package/dist/chunks/{datePicker.component-ZmMJoE3c.js → datePicker.component-C7TjBUEe.js} +2 -2
  63. package/dist/chunks/{datePicker.component-ZmMJoE3c.js.map → datePicker.component-C7TjBUEe.js.map} +1 -1
  64. package/dist/chunks/{datePicker.component-D1WtrZJd.js → datePicker.component-CLJT4YOv.js} +71 -71
  65. package/dist/chunks/{datePicker.component-D1WtrZJd.js.map → datePicker.component-CLJT4YOv.js.map} +1 -1
  66. package/dist/chunks/{dnd-DDR6viHX.js → dnd-B2xPQNV1.js} +2 -2
  67. package/dist/chunks/{dnd-DDR6viHX.js.map → dnd-B2xPQNV1.js.map} +1 -1
  68. package/dist/chunks/{dnd-4IMP_kRN.js → dnd-Whsk3gIz.js} +2 -2
  69. package/dist/chunks/{dnd-4IMP_kRN.js.map → dnd-Whsk3gIz.js.map} +1 -1
  70. package/dist/chunks/heading.component-BrXfTzEU.js +10 -0
  71. package/dist/chunks/{heading.component-B8niLTxz.js.map → heading.component-BrXfTzEU.js.map} +1 -1
  72. package/dist/chunks/{heading.component-CExbjSBi.js → heading.component-C92ZA4Md.js} +2 -2
  73. package/dist/chunks/{heading.component-CExbjSBi.js.map → heading.component-C92ZA4Md.js.map} +1 -1
  74. package/dist/chunks/{icon.component-w5bWbfVU.js → icon.component-DOan8Ddb.js} +6 -6
  75. package/dist/chunks/{icon.component-w5bWbfVU.js.map → icon.component-DOan8Ddb.js.map} +1 -1
  76. package/dist/chunks/{icon.component-CzjzLiO_.js → icon.component-Drw3LiG5.js} +2 -2
  77. package/dist/chunks/{icon.component-CzjzLiO_.js.map → icon.component-Drw3LiG5.js.map} +1 -1
  78. package/dist/chunks/{index-CloRZB5L.js → index-T4HRvnPT.js} +3 -3
  79. package/dist/chunks/{index-CloRZB5L.js.map → index-T4HRvnPT.js.map} +1 -1
  80. package/dist/chunks/{index-BlB7iuVg.js → index-tw4s2PIA.js} +2 -2
  81. package/dist/chunks/{index-BlB7iuVg.js.map → index-tw4s2PIA.js.map} +1 -1
  82. package/dist/chunks/{link.component-Cmdnhc-F.js → link.component-BV-T_tzT.js} +2 -2
  83. package/dist/chunks/{link.component-Cmdnhc-F.js.map → link.component-BV-T_tzT.js.map} +1 -1
  84. package/dist/chunks/{link.component-DGC1Xu5B.js → link.component-DbXsouSQ.js} +15 -15
  85. package/dist/chunks/{link.component-DGC1Xu5B.js.map → link.component-DbXsouSQ.js.map} +1 -1
  86. package/dist/chunks/logo.types-BRPr2KIZ.js +74 -0
  87. package/dist/chunks/logo.types-BRPr2KIZ.js.map +1 -0
  88. package/dist/chunks/logo.types-DPrISgm0.js +2 -0
  89. package/dist/chunks/logo.types-DPrISgm0.js.map +1 -0
  90. package/dist/chunks/{menu.component-BCRZgrRr.js → menu.component-BsNXuoLB.js} +2 -2
  91. package/dist/chunks/{menu.component-BCRZgrRr.js.map → menu.component-BsNXuoLB.js.map} +1 -1
  92. package/dist/chunks/{menu.component-Bscyjw7R.js → menu.component-xKsPT0Zc.js} +44 -44
  93. package/dist/chunks/{menu.component-Bscyjw7R.js.map → menu.component-xKsPT0Zc.js.map} +1 -1
  94. package/dist/chunks/{modal.types-CELCFObr.js → modal.types-Bhcd1P_H.js} +2 -2
  95. package/dist/chunks/{modal.types-CELCFObr.js.map → modal.types-Bhcd1P_H.js.map} +1 -1
  96. package/dist/chunks/{modal.types-BfXHtZ4i.js → modal.types-C7OrqSGs.js} +16 -16
  97. package/dist/chunks/{modal.types-BfXHtZ4i.js.map → modal.types-C7OrqSGs.js.map} +1 -1
  98. package/dist/chunks/{notificationCounter.component-BH6anjzq.js → notificationCounter.component-CIzFZpAS.js} +2 -2
  99. package/dist/chunks/{notificationCounter.component-BH6anjzq.js.map → notificationCounter.component-CIzFZpAS.js.map} +1 -1
  100. package/dist/chunks/{notificationCounter.component-CSuqzMTF.js → notificationCounter.component-COTswull.js} +3 -3
  101. package/dist/chunks/{notificationCounter.component-CSuqzMTF.js.map → notificationCounter.component-COTswull.js.map} +1 -1
  102. package/dist/chunks/pinInput.types-10zyeINr.js +64 -0
  103. package/dist/chunks/pinInput.types-10zyeINr.js.map +1 -0
  104. package/dist/chunks/pinInput.types-BFZZszU7.js +2 -0
  105. package/dist/chunks/pinInput.types-BFZZszU7.js.map +1 -0
  106. package/dist/chunks/{popover.component-CzKeBedr.js → popover.component-BnvmpVHq.js} +2 -2
  107. package/dist/chunks/{popover.component-CzKeBedr.js.map → popover.component-BnvmpVHq.js.map} +1 -1
  108. package/dist/chunks/{popover.component-CW5KsTYh.js → popover.component-GcAhSDeI.js} +19 -19
  109. package/dist/chunks/{popover.component-CW5KsTYh.js.map → popover.component-GcAhSDeI.js.map} +1 -1
  110. package/dist/chunks/{popover.recipe-Pfz3evii.js → popover.recipe-DDPfFy3l.js} +2 -2
  111. package/dist/chunks/{popover.recipe-Pfz3evii.js.map → popover.recipe-DDPfFy3l.js.map} +1 -1
  112. package/dist/chunks/{popover.recipe-DnCuZJd3.js → popover.recipe-E6-zKuvF.js} +2 -2
  113. package/dist/chunks/{popover.recipe-DnCuZJd3.js.map → popover.recipe-E6-zKuvF.js.map} +1 -1
  114. package/dist/chunks/{radioGroup.component-DP9JgY1J.js → radioGroup.component-BtxjtKro.js} +2 -2
  115. package/dist/chunks/{radioGroup.component-DP9JgY1J.js.map → radioGroup.component-BtxjtKro.js.map} +1 -1
  116. package/dist/chunks/{radioGroup.component-kn8czn3N.js → radioGroup.component-ByokG1ms.js} +18 -18
  117. package/dist/chunks/{radioGroup.component-kn8czn3N.js.map → radioGroup.component-ByokG1ms.js.map} +1 -1
  118. package/dist/chunks/{ratingDots.component-D0FX80wA.js → ratingDots.component-Bhh27z7J.js} +5 -5
  119. package/dist/chunks/{ratingDots.component-D0FX80wA.js.map → ratingDots.component-Bhh27z7J.js.map} +1 -1
  120. package/dist/chunks/{ratingDots.component-D5-xY2db.js → ratingDots.component-CBlKmrKG.js} +2 -2
  121. package/dist/chunks/{ratingDots.component-D5-xY2db.js.map → ratingDots.component-CBlKmrKG.js.map} +1 -1
  122. package/dist/chunks/{select.component-CQQ4z--7.js → select.component-CKo_vUjT.js} +2 -2
  123. package/dist/chunks/{select.component-CQQ4z--7.js.map → select.component-CKo_vUjT.js.map} +1 -1
  124. package/dist/chunks/{select.component-CqvAx7vP.js → select.component-vzYNxpKs.js} +41 -41
  125. package/dist/chunks/{select.component-CqvAx7vP.js.map → select.component-vzYNxpKs.js.map} +1 -1
  126. package/dist/chunks/{sortableList.component-DcjKdsDK.js → sortableList.component-C_kBtF5S.js} +2 -2
  127. package/dist/chunks/{sortableList.component-DcjKdsDK.js.map → sortableList.component-C_kBtF5S.js.map} +1 -1
  128. package/dist/chunks/{sortableList.component-_DXfCTac.js → sortableList.component-Cf0JaJ_t.js} +18 -18
  129. package/dist/chunks/{sortableList.component-_DXfCTac.js.map → sortableList.component-Cf0JaJ_t.js.map} +1 -1
  130. package/dist/chunks/{spinner.component-CUuidnSK.js → spinner.component-BSDKzlvm.js} +2 -2
  131. package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-BSDKzlvm.js.map} +1 -1
  132. package/dist/chunks/{spinner.component-D5tkelNc.js → spinner.component-D3If6khz.js} +6 -6
  133. package/dist/chunks/{spinner.component-D5tkelNc.js.map → spinner.component-D3If6khz.js.map} +1 -1
  134. package/dist/chunks/{styledAvatar.types-ByQoyukM.js → styledAvatar.types-CpzTd2Jl.js} +3 -3
  135. package/dist/chunks/styledAvatar.types-CpzTd2Jl.js.map +1 -0
  136. package/dist/chunks/{styledAvatar.types-CpU5SOAS.js → styledAvatar.types-D8JOpljn.js} +2 -2
  137. package/dist/chunks/styledAvatar.types-D8JOpljn.js.map +1 -0
  138. package/dist/chunks/{switch.component-diomUHZW.js → switch.component-BkC3TpSW.js} +2 -2
  139. package/dist/chunks/{switch.component-diomUHZW.js.map → switch.component-BkC3TpSW.js.map} +1 -1
  140. package/dist/chunks/{switch.component-C9WMHurt.js → switch.component-D8hb9FSO.js} +6 -6
  141. package/dist/chunks/{switch.component-C9WMHurt.js.map → switch.component-D8hb9FSO.js.map} +1 -1
  142. package/dist/chunks/{tabs.component-Bp1Lu8Xb.js → tabs.component-BjyZZY1w.js} +6 -6
  143. package/dist/chunks/{tabs.component-Bp1Lu8Xb.js.map → tabs.component-BjyZZY1w.js.map} +1 -1
  144. package/dist/chunks/{tabs.component-D6QT597P.js → tabs.component-DF92o83d.js} +2 -2
  145. package/dist/chunks/{tabs.component-D6QT597P.js.map → tabs.component-DF92o83d.js.map} +1 -1
  146. package/dist/chunks/{tag.component-BjOfy3Bw.js → tag.component-CHwt3mTK.js} +2 -2
  147. package/dist/chunks/{tag.component-BjOfy3Bw.js.map → tag.component-CHwt3mTK.js.map} +1 -1
  148. package/dist/chunks/{tag.component-A__B03TA.js → tag.component-DRL_uBU8.js} +3 -3
  149. package/dist/chunks/{tag.component-A__B03TA.js.map → tag.component-DRL_uBU8.js.map} +1 -1
  150. package/dist/chunks/{tagBlock.component-BKnmbWil.js → tagBlock.component-S9-bfH87.js} +2 -2
  151. package/dist/chunks/tagBlock.component-S9-bfH87.js.map +1 -0
  152. package/dist/chunks/{tagBlock.component-B99Qzj2K.js → tagBlock.component-nox0ltrv.js} +9 -9
  153. package/dist/chunks/tagBlock.component-nox0ltrv.js.map +1 -0
  154. package/dist/chunks/text.component-B1g7jaUt.js +10 -0
  155. package/dist/chunks/{text.component-XYjOAc2s.js.map → text.component-B1g7jaUt.js.map} +1 -1
  156. package/dist/chunks/{text.component-CBa_saMP.js → text.component-MDGpqA76.js} +2 -2
  157. package/dist/chunks/{text.component-CBa_saMP.js.map → text.component-MDGpqA76.js.map} +1 -1
  158. package/dist/chunks/{textInput.component-K4f7h4pP.js → textInput.component-CeMv8ruX.js} +13 -13
  159. package/dist/chunks/{textInput.component-K4f7h4pP.js.map → textInput.component-CeMv8ruX.js.map} +1 -1
  160. package/dist/chunks/{textInput.component-BalBo9uP.js → textInput.component-DIc2KQit.js} +2 -2
  161. package/dist/chunks/{textInput.component-BalBo9uP.js.map → textInput.component-DIc2KQit.js.map} +1 -1
  162. package/dist/chunks/{textarea.component-Cmbax8lT.js → textarea.component-BxiOP655.js} +12 -12
  163. package/dist/chunks/{textarea.component-Cmbax8lT.js.map → textarea.component-BxiOP655.js.map} +1 -1
  164. package/dist/chunks/{textarea.component-8tjcO0T7.js → textarea.component-CvCJMMjE.js} +2 -2
  165. package/dist/chunks/{textarea.component-8tjcO0T7.js.map → textarea.component-CvCJMMjE.js.map} +1 -1
  166. package/dist/chunks/theme.provider-CDBx4ruC.js +24 -0
  167. package/dist/chunks/theme.provider-CDBx4ruC.js.map +1 -0
  168. package/dist/chunks/theme.provider-tNFKZLVb.js +2681 -0
  169. package/dist/chunks/theme.provider-tNFKZLVb.js.map +1 -0
  170. package/dist/chunks/{timePicker.component-BwYdnFmw.js → timePicker.component-C3BvCG9H.js} +2 -2
  171. package/dist/chunks/{timePicker.component-BwYdnFmw.js.map → timePicker.component-C3BvCG9H.js.map} +1 -1
  172. package/dist/chunks/{timePicker.component-DGKUi5P9.js → timePicker.component-R19FX4-n.js} +23 -23
  173. package/dist/chunks/{timePicker.component-DGKUi5P9.js.map → timePicker.component-R19FX4-n.js.map} +1 -1
  174. package/dist/chunks/{timeRange.component-BhDFpXK-.js → timeRange.component-BXHsAP2P.js} +2 -2
  175. package/dist/chunks/{timeRange.component-BhDFpXK-.js.map → timeRange.component-BXHsAP2P.js.map} +1 -1
  176. package/dist/chunks/timeRange.component-D5-0fc2e.js +17 -0
  177. package/dist/chunks/{timeRange.component-uYrO4YEs.js.map → timeRange.component-D5-0fc2e.js.map} +1 -1
  178. package/dist/chunks/{timestamp.component-D764INLm.js → timestamp.component-7z9zT8EN.js} +5 -5
  179. package/dist/chunks/timestamp.component-7z9zT8EN.js.map +1 -0
  180. package/dist/chunks/{timestamp.component-CuqY4euh.js → timestamp.component-X_D71fgZ.js} +2 -2
  181. package/dist/chunks/timestamp.component-X_D71fgZ.js.map +1 -0
  182. package/dist/chunks/toaster.records-Dm3AFmL1.js +2 -0
  183. package/dist/chunks/toaster.records-Dm3AFmL1.js.map +1 -0
  184. package/dist/chunks/toaster.records-GZYhSv5r.js +47 -0
  185. package/dist/chunks/toaster.records-GZYhSv5r.js.map +1 -0
  186. package/dist/chunks/{tooltip.component-qWFa28S5.js → tooltip.component-BoZP4UV7.js} +2 -2
  187. package/dist/chunks/{tooltip.component-qWFa28S5.js.map → tooltip.component-BoZP4UV7.js.map} +1 -1
  188. package/dist/chunks/{tooltip.component-C3v2m2T2.js → tooltip.component-ZBmhLLNH.js} +10 -10
  189. package/dist/chunks/{tooltip.component-C3v2m2T2.js.map → tooltip.component-ZBmhLLNH.js.map} +1 -1
  190. package/dist/chunks/vendor-CRIhG-7s.js +21518 -0
  191. package/dist/chunks/vendor-CRIhG-7s.js.map +1 -0
  192. package/dist/chunks/vendor-DcKGwQlH.js +64 -0
  193. package/dist/chunks/vendor-DcKGwQlH.js.map +1 -0
  194. package/dist/chunks/{withFormControl-CDQGc9aO.js → withFormControl-BCyb1yXC.js} +22 -22
  195. package/dist/chunks/{withFormControl-CDQGc9aO.js.map → withFormControl-BCyb1yXC.js.map} +1 -1
  196. package/dist/chunks/{withFormControl-BJSHfbF_.js → withFormControl-BJIa-ZxM.js} +2 -2
  197. package/dist/chunks/{withFormControl-BJSHfbF_.js.map → withFormControl-BJIa-ZxM.js.map} +1 -1
  198. package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-C4IBRfqV.js} +4 -4
  199. package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-C4IBRfqV.js.map} +1 -1
  200. package/dist/chunks/{withTruncation-BskZBBVs.js → withTruncation-DZqJYnSw.js} +2 -2
  201. package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-DZqJYnSw.js.map} +1 -1
  202. package/dist/cjs/chakra.cjs +2 -0
  203. package/dist/cjs/chakra.cjs.map +1 -0
  204. package/dist/cjs/cli/postinstall.cjs +1 -1
  205. package/dist/cjs/cli/postinstall.cjs.map +1 -1
  206. package/dist/cjs/components/Alert.cjs +1 -1
  207. package/dist/cjs/components/Avatar.cjs +1 -1
  208. package/dist/cjs/components/AvatarGroup.cjs +1 -1
  209. package/dist/cjs/components/Button.cjs +1 -1
  210. package/dist/cjs/components/ButtonGroup.cjs +1 -1
  211. package/dist/cjs/components/Card.cjs +1 -1
  212. package/dist/cjs/components/Card.cjs.map +1 -1
  213. package/dist/cjs/components/CharacterCounter.cjs +1 -1
  214. package/dist/cjs/components/Checkbox.cjs +1 -1
  215. package/dist/cjs/components/CheckboxGroup.cjs +1 -1
  216. package/dist/cjs/{patterns → components}/ConversationCard.cjs +1 -1
  217. package/dist/cjs/components/DatePicker.cjs +1 -1
  218. package/dist/cjs/components/Divider.cjs +2 -0
  219. package/dist/cjs/components/Divider.cjs.map +1 -0
  220. package/dist/cjs/components/Heading.cjs +1 -1
  221. package/dist/cjs/components/Icon/generated.cjs +1 -1
  222. package/dist/cjs/components/Icon.cjs +1 -1
  223. package/dist/cjs/components/Link.cjs +1 -1
  224. package/dist/cjs/components/Logo/generated.cjs +2 -0
  225. package/dist/cjs/components/Logo/generated.cjs.map +1 -0
  226. package/dist/cjs/components/Logo.cjs +2 -0
  227. package/dist/cjs/components/Logo.cjs.map +1 -0
  228. package/dist/cjs/components/Menu.cjs +1 -1
  229. package/dist/cjs/components/Modal.cjs +1 -1
  230. package/dist/cjs/components/NotificationCounter.cjs +1 -1
  231. package/dist/cjs/components/Picture.cjs +1 -1
  232. package/dist/cjs/components/PinInput.cjs +2 -0
  233. package/dist/cjs/components/PinInput.cjs.map +1 -0
  234. package/dist/cjs/components/Popover.cjs +1 -1
  235. package/dist/cjs/components/RadioGroup.cjs +1 -1
  236. package/dist/cjs/components/RatingDots.cjs +1 -1
  237. package/dist/cjs/components/Select.cjs +1 -1
  238. package/dist/cjs/components/SortableList.cjs +1 -1
  239. package/dist/cjs/components/Spinner.cjs +1 -1
  240. package/dist/cjs/{patterns → components}/StyledAvatar.cjs +1 -1
  241. package/dist/cjs/components/Swatch.cjs +1 -1
  242. package/dist/cjs/components/Switch.cjs +1 -1
  243. package/dist/cjs/components/Tabs.cjs +1 -1
  244. package/dist/cjs/components/Tag.cjs +1 -1
  245. package/dist/cjs/{patterns → components}/TagBlock.cjs +1 -1
  246. package/dist/cjs/components/Text.cjs +1 -1
  247. package/dist/cjs/components/TextInput.cjs +1 -1
  248. package/dist/cjs/components/Textarea.cjs +1 -1
  249. package/dist/cjs/components/TimePicker.cjs +1 -1
  250. package/dist/cjs/components/TimeRange.cjs +1 -1
  251. package/dist/cjs/{patterns → components}/Timestamp.cjs +1 -1
  252. package/dist/cjs/components/Toast.cjs +2 -0
  253. package/dist/cjs/components/Toast.cjs.map +1 -0
  254. package/dist/cjs/components/Tooltip.cjs +1 -1
  255. package/dist/cjs/components.cjs +1 -1
  256. package/dist/cjs/hocs.cjs +1 -1
  257. package/dist/cjs/hooks.cjs +1 -1
  258. package/dist/cjs/index.cjs +1 -1
  259. package/dist/cjs/shared.cjs +2 -0
  260. package/dist/cjs/shared.cjs.map +1 -0
  261. package/dist/cjs/theme/tokens/blurs.cjs +1 -1
  262. package/dist/cjs/theme.cjs +1 -23
  263. package/dist/cjs/theme.cjs.map +1 -1
  264. package/dist/esm/chakra.js +69 -0
  265. package/dist/esm/chakra.js.map +1 -0
  266. package/dist/esm/cli/postinstall.js +6 -6
  267. package/dist/esm/cli/postinstall.js.map +1 -1
  268. package/dist/esm/components/Alert.js +4 -3
  269. package/dist/esm/components/Alert.js.map +1 -1
  270. package/dist/esm/components/Avatar.js +1 -1
  271. package/dist/esm/components/AvatarGroup.js +1 -1
  272. package/dist/esm/components/Button.js +1 -1
  273. package/dist/esm/components/ButtonGroup.js +1 -1
  274. package/dist/esm/components/Card.js +4 -4
  275. package/dist/esm/components/Card.js.map +1 -1
  276. package/dist/esm/components/CharacterCounter.js +1 -1
  277. package/dist/esm/components/Checkbox.js +1 -1
  278. package/dist/esm/components/CheckboxGroup.js +1 -1
  279. package/dist/esm/{patterns → components}/ConversationCard.js +1 -1
  280. package/dist/esm/components/DatePicker.js +1 -1
  281. package/dist/esm/components/Divider.js +27 -0
  282. package/dist/esm/components/Divider.js.map +1 -0
  283. package/dist/esm/components/Heading.js +1 -1
  284. package/dist/esm/components/Icon/generated.js +1 -1
  285. package/dist/esm/components/Icon.js +1 -1
  286. package/dist/esm/components/Link.js +1 -1
  287. package/dist/esm/components/Logo/generated.js +6 -0
  288. package/dist/esm/components/Logo/generated.js.map +1 -0
  289. package/dist/esm/components/Logo.js +7 -0
  290. package/dist/esm/components/Logo.js.map +1 -0
  291. package/dist/esm/components/Menu.js +1 -1
  292. package/dist/esm/components/Modal.js +1 -1
  293. package/dist/esm/components/NotificationCounter.js +1 -1
  294. package/dist/esm/components/Picture.js +3 -3
  295. package/dist/esm/components/PinInput.js +6 -0
  296. package/dist/esm/components/PinInput.js.map +1 -0
  297. package/dist/esm/components/Popover.js +1 -1
  298. package/dist/esm/components/RadioGroup.js +1 -1
  299. package/dist/esm/components/RatingDots.js +1 -1
  300. package/dist/esm/components/Select.js +1 -1
  301. package/dist/esm/components/SortableList.js +1 -1
  302. package/dist/esm/components/Spinner.js +1 -1
  303. package/dist/esm/{patterns → components}/StyledAvatar.js +1 -1
  304. package/dist/esm/components/Swatch.js +6 -6
  305. package/dist/esm/components/Switch.js +1 -1
  306. package/dist/esm/components/Tabs.js +1 -1
  307. package/dist/esm/components/Tag.js +1 -1
  308. package/dist/esm/{patterns → components}/TagBlock.js +1 -1
  309. package/dist/esm/components/Text.js +1 -1
  310. package/dist/esm/components/TextInput.js +1 -1
  311. package/dist/esm/components/Textarea.js +1 -1
  312. package/dist/esm/components/TimePicker.js +1 -1
  313. package/dist/esm/components/TimeRange.js +1 -1
  314. package/dist/esm/components/Timestamp.js +5 -0
  315. package/dist/esm/components/Toast.js +38 -0
  316. package/dist/esm/components/Toast.js.map +1 -0
  317. package/dist/esm/components/Tooltip.js +1 -1
  318. package/dist/esm/components.js +123 -98
  319. package/dist/esm/components.js.map +1 -1
  320. package/dist/esm/hocs.js +1 -1
  321. package/dist/esm/hooks.js +1 -1
  322. package/dist/esm/index.js +133 -118
  323. package/dist/esm/index.js.map +1 -1
  324. package/dist/esm/shared.js +9 -0
  325. package/dist/esm/shared.js.map +1 -0
  326. package/dist/esm/theme/tokens/blurs.js +2 -1
  327. package/dist/esm/theme/tokens/blurs.js.map +1 -1
  328. package/dist/esm/theme.js +3 -2608
  329. package/dist/esm/theme.js.map +1 -1
  330. package/dist/types/chakra/index.d.ts +52 -0
  331. package/dist/types/chakra.d.ts +2 -0
  332. package/dist/types/components/Alert/alert.component.d.ts +5 -13
  333. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  334. package/dist/types/components/Card/card.component.d.ts +1 -1
  335. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  336. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
  337. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
  338. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
  339. package/dist/types/{patterns → components}/ConversationCard/conversationCard.component.d.ts +1 -1
  340. package/dist/types/components/Divider/divider.component.d.ts +4 -0
  341. package/dist/types/components/Divider/divider.types.d.ts +6 -0
  342. package/dist/types/components/Divider/index.d.ts +2 -0
  343. package/dist/types/components/Divider.d.ts +2 -0
  344. package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
  345. package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
  346. package/dist/types/components/Logo/generated/index.d.ts +4 -0
  347. package/dist/types/components/Logo/generated.d.ts +2 -0
  348. package/dist/types/components/Logo/index.d.ts +2 -0
  349. package/dist/types/components/Logo/logo.component.d.ts +10 -0
  350. package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
  351. package/dist/types/components/Logo/logo.types.d.ts +4 -0
  352. package/dist/types/components/Logo.d.ts +2 -0
  353. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  354. package/dist/types/components/PinInput/index.d.ts +2 -0
  355. package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
  356. package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
  357. package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
  358. package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
  359. package/dist/types/components/PinInput.d.ts +2 -0
  360. package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  361. package/dist/types/{patterns → components}/TagBlock/tagBlock.component.d.ts +1 -1
  362. package/dist/types/{patterns → components}/Timestamp/timestamp.component.d.ts +1 -1
  363. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
  364. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +10 -0
  365. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
  366. package/dist/types/components/Toast/index.d.ts +2 -0
  367. package/dist/types/components/Toast/toast.component.d.ts +3 -0
  368. package/dist/types/components/Toast/toast.types.d.ts +19 -0
  369. package/dist/types/components/Toast.d.ts +2 -0
  370. package/dist/types/components/index.d.ts +9 -1
  371. package/dist/types/index.d.ts +1 -2
  372. package/dist/types/shared/index.d.ts +1 -0
  373. package/dist/types/shared.d.ts +2 -0
  374. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +4 -0
  375. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +8 -0
  376. package/package.json +58 -46
  377. package/dist/chunks/alert.types-CiHDB6qK.js +0 -2
  378. package/dist/chunks/alert.types-CiHDB6qK.js.map +0 -1
  379. package/dist/chunks/alert.types-CvARYqVc.js +0 -170
  380. package/dist/chunks/alert.types-CvARYqVc.js.map +0 -1
  381. package/dist/chunks/avatar.component-B14bRpeL.js.map +0 -1
  382. package/dist/chunks/avatar.component-DLqm7tQt.js.map +0 -1
  383. package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
  384. package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
  385. package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
  386. package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
  387. package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
  388. package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
  389. package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
  390. package/dist/chunks/conversationCard.component-CAKvEh_2.js.map +0 -1
  391. package/dist/chunks/conversationCard.component-D56k22in.js.map +0 -1
  392. package/dist/chunks/date-1NFv48Qu.js.map +0 -1
  393. package/dist/chunks/date-Du64Exix.js +0 -15
  394. package/dist/chunks/date-Du64Exix.js.map +0 -1
  395. package/dist/chunks/heading.component-B8niLTxz.js +0 -10
  396. package/dist/chunks/styledAvatar.types-ByQoyukM.js.map +0 -1
  397. package/dist/chunks/styledAvatar.types-CpU5SOAS.js.map +0 -1
  398. package/dist/chunks/tagBlock.component-B99Qzj2K.js.map +0 -1
  399. package/dist/chunks/tagBlock.component-BKnmbWil.js.map +0 -1
  400. package/dist/chunks/text.component-XYjOAc2s.js +0 -10
  401. package/dist/chunks/timeRange.component-uYrO4YEs.js +0 -17
  402. package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
  403. package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
  404. package/dist/chunks/vendor-BBfll6i3.js +0 -11757
  405. package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
  406. package/dist/chunks/vendor-D-x6W6ez.js +0 -57
  407. package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
  408. package/dist/cjs/cli/configure-paths.cjs +0 -3
  409. package/dist/cjs/cli/configure-paths.cjs.map +0 -1
  410. package/dist/cjs/patterns.cjs +0 -2
  411. package/dist/cjs/patterns.cjs.map +0 -1
  412. package/dist/esm/cli/configure-paths.js +0 -52
  413. package/dist/esm/cli/configure-paths.js.map +0 -1
  414. package/dist/esm/patterns/Timestamp.js +0 -5
  415. package/dist/esm/patterns.js +0 -13
  416. package/dist/esm/patterns.js.map +0 -1
  417. package/dist/types/cli/configure-paths.d.ts +0 -2
  418. package/dist/types/patterns/index.d.ts +0 -4
  419. package/dist/types/patterns.d.ts +0 -2
  420. /package/dist/cjs/{patterns → components}/ConversationCard.cjs.map +0 -0
  421. /package/dist/cjs/{patterns → components}/StyledAvatar.cjs.map +0 -0
  422. /package/dist/cjs/{patterns → components}/TagBlock.cjs.map +0 -0
  423. /package/dist/cjs/{patterns → components}/Timestamp.cjs.map +0 -0
  424. /package/dist/esm/{patterns → components}/ConversationCard.js.map +0 -0
  425. /package/dist/esm/{patterns → components}/StyledAvatar.js.map +0 -0
  426. /package/dist/esm/{patterns → components}/TagBlock.js.map +0 -0
  427. /package/dist/esm/{patterns → components}/Timestamp.js.map +0 -0
  428. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  429. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  430. /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
  431. /package/dist/types/{patterns → components}/ConversationCard.d.ts +0 -0
  432. /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
  433. /package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  434. /package/dist/types/{patterns → components}/StyledAvatar.d.ts +0 -0
  435. /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
  436. /package/dist/types/{patterns → components}/TagBlock/tagBlock.types.d.ts +0 -0
  437. /package/dist/types/{patterns → components}/TagBlock.d.ts +0 -0
  438. /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
  439. /package/dist/types/{patterns → components}/Timestamp.d.ts +0 -0
package/dist/esm/theme.js CHANGED
@@ -1,2611 +1,6 @@
1
- import { x as p, bW as H } from "../chunks/vendor-BBfll6i3.js";
2
- import { aT as n, aU as V, ad as u, r as c, aV as O, aW as $, aX as j, aY as G, aZ as M } from "../chunks/chakra-BqBkjpvZ.js";
3
- import { coreColors as e } from "./theme/tokens/colors.js";
4
- import { a as P, f as x } from "../chunks/typography.records-CG4wIBxE.js";
5
- import { f as y, t as C } from "../chunks/typography-Cqrokog3.js";
6
- import { a as m, C as l } from "../chunks/checkbox.records-JWbKQ684.js";
7
- import { a as k, R as i } from "../chunks/radio.records-Cc3kP4Vn.js";
8
- import { p as S } from "../chunks/popover.recipe-DnCuZJd3.js";
9
- const Y = (t) => /* @__PURE__ */ p.jsx(H, { attribute: "class", disableTransitionOnChange: !0, ...t }), N = {
10
- none: "0",
11
- sm: "4px",
12
- base: "8px",
13
- md: "12px",
14
- lg: "16px",
15
- xl: "24px",
16
- "2xl": "40px",
17
- "3xl": "64px"
18
- }, a = (t) => Object.fromEntries(
19
- Object.entries(t).map(([b, g]) => [
20
- b,
21
- { value: String(g) }
22
- ])
23
- ), J = n.blurs(a(N)), K = {
24
- none: "0",
25
- "1px": "1px solid",
26
- "2px": "2px solid",
27
- "4px": "4px solid",
28
- "8px": "8px solid"
29
- }, X = {
30
- none: "0",
31
- xs: "0.125rem",
32
- sm: "0.375rem",
33
- base: "0.5rem",
34
- md: "0.75rem",
35
- lg: "1rem",
36
- xl: "1.5rem",
37
- "2xl": "2rem",
38
- "3xl": "2.5rem",
39
- full: "9999px"
40
- }, Z = n.borders(a(K)), q = n.radii(a(X)), Q = (t) => Object.fromEntries(
41
- Object.entries(t).map(([b, g]) => [
42
- b,
43
- Object.fromEntries(
44
- Object.entries(g).map(([W, I]) => [W, { value: I }])
45
- )
46
- ])
47
- ), rr = n.colors(Q(e)), er = {
48
- xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
49
- xsR: "0px 0px 0px 1px rgba(0, 0, 0, 0.05)",
50
- sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
51
- smR: " 0px -1px 2px rgba(0, 0, 0, 0.05)",
52
- base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
53
- baseR: "0px -1px 3px rgba(0, 0, 0, 0.1), 0px -1px 2px rgba(0, 0, 0, 0.06)",
54
- mdR: "0px -4px 6px -1px rgba(0, 0, 0, 0.1), 0px -2px 4px -1px rgba(0, 0, 0, 0.06)",
55
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
56
- lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
57
- lgR: "0px -10px 15px -3px rgba(0, 0, 0, 0.1), 0px -4px 6px -2px rgba(0, 0, 0, 0.05)",
58
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
59
- xlR: "0px -20px 25px -5px rgba(0, 0, 0, 0.1), 0px -10px 10px -5px rgba(0, 0, 0, 0.04)",
60
- "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
61
- "2xlR": "0px -25px 50px -12px rgba(0, 0, 0, 0.25)",
62
- outline: "0 0 0 3px rgba(66, 153, 225, 0.6)",
63
- hover: "0 0 0 3px #EDEBEB",
64
- // border || border.default
65
- "hover.contrast": "0 0 0 3px #504D4C",
66
- // border.contrast
67
- active: "0 0 0 3px #497CC3",
68
- // border.focus
69
- "active.contrast": "0 0 0 3px #CBE2FF",
70
- // border.focus.contrast
71
- inner: "inset 0 2px 4px 0 rgba(0,0,0,0.06)",
72
- none: "none",
73
- "dark-lg": "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"
74
- }, or = n.shadows(a(er)), tr = {
75
- max: "max-content",
76
- min: "min-content",
77
- full: "100%",
78
- "3xs": "14rem",
79
- "2xs": "16rem",
80
- xs: "20rem",
81
- sm: "24rem",
82
- md: "28rem",
83
- lg: "32rem",
84
- xl: "36rem",
85
- "2xl": "42rem",
86
- "3xl": "48rem",
87
- "4xl": "56rem",
88
- "5xl": "64rem",
89
- "6xl": "72rem",
90
- "7xl": "80rem",
91
- "8xl": "90rem"
92
- }, ar = {
93
- sm: "640px",
94
- md: "768px",
95
- lg: "1024px",
96
- xl: "1280px"
97
- }, nr = n.sizes({
98
- ...a(tr),
99
- container: {
100
- ...a(ar)
101
- }
102
- }), sr = n.fonts(a(P)), dr = n.fontSizes(
103
- a(x)
104
- ), cr = n.fontWeights(
105
- a(x)
106
- ), lr = n.lineHeights(
107
- a(x)
108
- ), ir = n.letterSpacings(
109
- a(x)
110
- ), br = {
111
- px: "1px",
112
- 0.5: "0.125rem",
113
- 1: "0.25rem",
114
- 1.5: "0.375rem",
115
- 2: "0.5rem",
116
- 2.5: "0.625rem",
117
- 3: "0.75rem",
118
- 3.5: "0.875rem",
119
- 4: "1rem",
120
- 5: "1.25rem",
121
- 6: "1.5rem",
122
- 7: "1.75rem",
123
- 8: "2rem",
124
- 9: "2.25rem",
125
- 10: "2.5rem",
126
- 12: "3rem",
127
- 14: "3.5rem",
128
- 16: "4rem",
129
- 20: "5rem",
130
- 24: "6rem",
131
- 28: "7rem",
132
- 32: "8rem",
133
- 36: "9rem",
134
- 40: "10rem",
135
- 44: "11rem",
136
- 48: "12rem",
137
- 52: "13rem",
138
- 56: "14rem",
139
- 60: "15rem",
140
- 64: "16rem",
141
- 72: "18rem",
142
- 80: "20rem",
143
- 96: "24rem"
144
- }, gr = n.spacing(a(br)), ur = {
145
- "ease-in": "cubic-bezier(0.4, 0, 1, 1)",
146
- "ease-out": "cubic-bezier(0, 0, 0.2, 1)",
147
- "ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
148
- }, pr = {
149
- "ultra-fast": "50ms",
150
- faster: "100ms",
151
- fast: "150ms",
152
- normal: "200ms",
153
- slow: "300ms",
154
- slower: "400ms",
155
- "ultra-slow": "500ms"
156
- }, hr = n.durations(
157
- a(pr)
158
- ), vr = n.easings(
159
- a(ur)
160
- ), xr = {
161
- hide: -1,
162
- auto: "auto",
163
- base: 0,
164
- docked: 10,
165
- dropdown: 1e3,
166
- sticky: 1100,
167
- banner: 1200,
168
- overlay: 1300,
169
- modal: 1400,
170
- popover: 1500,
171
- skipLink: 1600,
172
- toast: 1700,
173
- tooltip: 1800,
174
- tooltipExtra: 1e4
175
- }, mr = n.zIndex(a(xr)), o = (t) => ({
176
- value: {
177
- _light: t.value._dark,
178
- _dark: t.value._light
179
- }
180
- }), r = {
181
- primary: {
182
- default: {
183
- value: {
184
- _light: e.primary[600],
185
- _dark: e.primary[200]
186
- }
187
- },
188
- hover: {
189
- value: {
190
- _light: e.primary[700],
191
- _dark: e.primary[100]
192
- }
193
- },
194
- pressed: {
195
- value: {
196
- _light: e.primary[800],
197
- _dark: e.primary[50]
198
- }
199
- }
200
- },
201
- secondary: {
202
- default: {
203
- value: {
204
- _light: e.secondary[500],
205
- _dark: e.secondary[200]
206
- }
207
- },
208
- hover: {
209
- value: {
210
- _light: e.secondary[600],
211
- _dark: e.secondary[100]
212
- }
213
- },
214
- pressed: {
215
- value: {
216
- _light: e.secondary[700],
217
- _dark: e.secondary[50]
218
- }
219
- },
220
- subtle: {
221
- value: {
222
- _light: e.secondary[100],
223
- _dark: e.secondary[600]
224
- }
225
- }
226
- },
227
- danger: {
228
- default: {
229
- value: {
230
- _light: e.danger[600],
231
- _dark: e.danger[300]
232
- }
233
- },
234
- hover: {
235
- value: {
236
- _light: e.danger[600],
237
- _dark: e.danger[200]
238
- }
239
- },
240
- pressed: {
241
- value: {
242
- _light: e.danger[700],
243
- _dark: e.danger[100]
244
- }
245
- },
246
- // Leaving this in because it's the only one which is not truly inverse from the default because of WCAG
247
- inverse: {
248
- value: {
249
- _light: e.danger[300],
250
- _dark: e.danger[500]
251
- }
252
- }
253
- },
254
- warning: {
255
- default: {
256
- value: {
257
- _light: e.warning[600],
258
- _dark: e.warning[500]
259
- }
260
- },
261
- subtle: {
262
- value: {
263
- _light: e.warning[100],
264
- _dark: e.warning[700]
265
- }
266
- },
267
- note: {
268
- value: {
269
- _light: e.warning[100],
270
- _dark: e.warning[800]
271
- }
272
- }
273
- },
274
- success: {
275
- default: {
276
- value: {
277
- _light: e.success[600],
278
- _dark: e.success[300]
279
- }
280
- },
281
- subtle: {
282
- value: {
283
- _light: e.success[100],
284
- _dark: e.success[700]
285
- }
286
- }
287
- },
288
- neutral: {
289
- default: {
290
- value: {
291
- _light: e.neutral[50],
292
- _dark: e.neutral[900]
293
- }
294
- },
295
- subtle1: {
296
- value: {
297
- _light: e.neutral[100],
298
- _dark: e.neutral[800]
299
- }
300
- },
301
- subtle2: {
302
- value: {
303
- _light: e.neutral[200],
304
- _dark: e.neutral[700]
305
- }
306
- },
307
- subtle3: {
308
- value: {
309
- _light: e.neutral[300],
310
- _dark: e.neutral[600]
311
- }
312
- },
313
- subtle4: {
314
- value: {
315
- _light: e.neutral[600],
316
- _dark: e.neutral[400]
317
- }
318
- },
319
- overlay: {
320
- value: {
321
- _light: e.neutral[50],
322
- _dark: e.neutral[800]
323
- }
324
- },
325
- backdrop: {
326
- value: {
327
- _light: e.blackAlpha[600],
328
- _dark: e.blackAlpha[600]
329
- }
330
- }
331
- },
332
- primaryAlpha: {
333
- default: {
334
- value: {
335
- _light: e.primaryAlpha[50],
336
- _dark: e.primaryAlphaInverse[300]
337
- }
338
- },
339
- hover: {
340
- value: {
341
- _light: e.primaryAlpha[100],
342
- _dark: e.primaryAlphaInverse[400]
343
- }
344
- },
345
- pressed: {
346
- value: {
347
- _light: e.primaryAlpha[200],
348
- _dark: e.primaryAlphaInverse[500]
349
- }
350
- }
351
- },
352
- secondaryAlpha: {
353
- default: {
354
- value: {
355
- _light: e.secondaryAlpha[50],
356
- _dark: e.secondaryAlphaInverse[300]
357
- }
358
- },
359
- hover: {
360
- value: {
361
- _light: e.secondaryAlpha[100],
362
- _dark: e.secondaryAlphaInverse[400]
363
- }
364
- },
365
- pressed: {
366
- value: {
367
- _light: e.secondaryAlpha[200],
368
- _dark: e.secondaryAlphaInverse[500]
369
- }
370
- }
371
- },
372
- dangerAlpha: {
373
- default: {
374
- value: {
375
- _light: e.dangerAlpha[50],
376
- _dark: e.dangerAlphaInverse[300]
377
- }
378
- },
379
- hover: {
380
- value: {
381
- _light: e.dangerAlpha[100],
382
- _dark: e.dangerAlphaInverse[400]
383
- }
384
- },
385
- pressed: {
386
- value: {
387
- _light: e.dangerAlpha[200],
388
- _dark: e.dangerAlphaInverse[500]
389
- }
390
- }
391
- },
392
- neutralAlpha: {
393
- default: {
394
- value: {
395
- _light: e.blackAlpha[50],
396
- _dark: e.whiteAlpha[300]
397
- }
398
- },
399
- hover: {
400
- value: {
401
- _light: e.blackAlpha[100],
402
- _dark: e.whiteAlpha[400]
403
- }
404
- },
405
- pressed: {
406
- value: {
407
- _light: e.blackAlpha[200],
408
- _dark: e.whiteAlpha[500]
409
- }
410
- },
411
- dark: {
412
- value: {
413
- _light: e.blackAlpha[500],
414
- _dark: e.whiteAlpha[800]
415
- }
416
- }
417
- },
418
- ai: {
419
- default: {
420
- value: {
421
- _light: `linear-gradient(87.05deg, ${e.primary[100]} 7.97%, ${e.secondary[100]} 50.46%, ${e.danger[100]} 94.47%)`,
422
- _dark: `linear-gradient(87.05deg, ${e.primary[700]} 7.97%, ${e.secondary[700]} 50.46%, ${e.danger[700]} 94.47%)`
423
- }
424
- },
425
- hover: {
426
- value: {
427
- _light: `linear-gradient(87.05deg, ${e.primary[200]} 7.97%, ${e.secondary[200]} 50.46%, ${e.danger[200]} 94.47%)`,
428
- _dark: `linear-gradient(87.05deg, ${e.primary[600]} 7.97%, ${e.secondary[600]} 50.46%, ${e.danger[600]} 94.47%)`
429
- }
430
- },
431
- pressed: {
432
- value: {
433
- _light: `linear-gradient(87.05deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), linear-gradient(87.05deg, ${e.primary[200]} 7.97%, ${e.secondary[200]} 50.46%, ${e.danger[200]} 94.47%)`,
434
- _dark: `linear-gradient(87.05deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), linear-gradient(87.05deg, ${e.primary[600]} 7.97%, ${e.secondary[600]} 50.46%, ${e.danger[600]} 94.47%)`
435
- }
436
- }
437
- }
438
- }, w = o(
439
- r.neutral.default
440
- ), kr = {
441
- DEFAULT: w,
442
- accent: {
443
- DEFAULT: r.secondary.default,
444
- subtle: r.secondary.subtle
445
- },
446
- brand: {
447
- DEFAULT: r.primary.default,
448
- contrast: {
449
- DEFAULT: o(r.primary.default),
450
- hover: o(r.primary.hover)
451
- },
452
- hover: r.primary.hover
453
- },
454
- contrast: r.neutral.default,
455
- danger: {
456
- DEFAULT: r.danger.default,
457
- contrast: {
458
- DEFAULT: r.danger.inverse
459
- }
460
- },
461
- default: w,
462
- info: r.secondary.default,
463
- interactive: {
464
- DEFAULT: r.secondary.default,
465
- contrast: {
466
- DEFAULT: o(r.secondary.default),
467
- hover: o(r.secondary.hover)
468
- },
469
- hover: r.secondary.hover
470
- },
471
- placeholder: {
472
- DEFAULT: r.neutralAlpha.dark,
473
- contrast: o(r.neutralAlpha.dark)
474
- },
475
- subtle: {
476
- DEFAULT: r.neutral.subtle4,
477
- contrast: o(r.neutral.subtle4)
478
- },
479
- success: r.success.default,
480
- warning: r.warning.default
481
- }, z = r.neutral.subtle2, _r = {
482
- DEFAULT: z,
483
- default: z
484
- }, T = r.neutral.subtle2, fr = {
485
- DEFAULT: T,
486
- accent: {
487
- DEFAULT: r.secondary.default,
488
- subtle: r.secondary.subtle
489
- },
490
- brand: {
491
- DEFAULT: r.primary.default,
492
- contrast: o(r.primary.default)
493
- },
494
- contrast: o(r.neutral.subtle2),
495
- danger: {
496
- DEFAULT: r.danger.default,
497
- contrast: r.danger.inverse
498
- },
499
- default: T,
500
- focus: {
501
- DEFAULT: r.secondary.default,
502
- contrast: o(r.secondary.default)
503
- },
504
- info: r.secondary.default,
505
- strong: {
506
- DEFAULT: o(r.neutral.default),
507
- contrast: r.neutral.default
508
- },
509
- // This separation is needed to override Chakra's default
510
- subtle: r.neutral.subtle4,
511
- "subtle.contrast": o(r.neutral.subtle4),
512
- success: r.success.default,
513
- warning: r.warning.default
514
- }, D = r.neutral.default, yr = {
515
- DEFAULT: D,
516
- accent: {
517
- DEFAULT: r.secondary.default,
518
- subtle: r.secondary.subtle
519
- },
520
- ai: {
521
- DEFAULT: r.ai.default,
522
- hover: r.ai.hover,
523
- pressed: r.ai.pressed
524
- },
525
- alpha: {
526
- DEFAULT: r.neutralAlpha.default,
527
- contrast: {
528
- DEFAULT: o(r.neutralAlpha.default),
529
- hover: o(r.neutralAlpha.hover),
530
- pressed: o(r.neutralAlpha.pressed)
531
- },
532
- hover: r.neutralAlpha.hover,
533
- pressed: r.neutralAlpha.pressed
534
- },
535
- backdrop: r.neutral.backdrop,
536
- brand: r.primary.pressed,
537
- contrast: o(r.neutral.subtle1),
538
- danger: {
539
- DEFAULT: o(r.danger.hover),
540
- contrast: r.danger.default
541
- },
542
- default: D,
543
- destructive: {
544
- DEFAULT: r.danger.default,
545
- contrast: {
546
- DEFAULT: r.danger.inverse,
547
- hover: o(r.danger.hover),
548
- pressed: o(r.danger.pressed)
549
- },
550
- hover: r.danger.hover,
551
- pressed: r.danger.pressed
552
- },
553
- destructiveAlpha: {
554
- DEFAULT: r.dangerAlpha.default,
555
- contrast: {
556
- DEFAULT: o(r.dangerAlpha.default),
557
- hover: o(r.dangerAlpha.hover),
558
- pressed: o(r.dangerAlpha.pressed)
559
- },
560
- hover: r.dangerAlpha.hover,
561
- pressed: r.dangerAlpha.pressed
562
- },
563
- info: r.secondary.subtle,
564
- note: {
565
- DEFAULT: r.warning.note,
566
- hover: r.warning.subtle
567
- },
568
- overlay: {
569
- DEFAULT: r.neutral.overlay,
570
- contrast: o(r.neutral.overlay)
571
- },
572
- primary: {
573
- DEFAULT: r.primary.default,
574
- contrast: {
575
- DEFAULT: o(r.primary.default),
576
- hover: o(r.primary.hover),
577
- pressed: o(r.primary.pressed)
578
- },
579
- hover: r.primary.hover,
580
- pressed: r.primary.pressed
581
- },
582
- primaryAlpha: {
583
- DEFAULT: r.primaryAlpha.default,
584
- contrast: {
585
- DEFAULT: o(r.primaryAlpha.default),
586
- hover: o(r.primaryAlpha.hover),
587
- pressed: o(r.primaryAlpha.pressed)
588
- },
589
- hover: r.primaryAlpha.hover,
590
- pressed: r.primaryAlpha.pressed
591
- },
592
- secondary: {
593
- DEFAULT: r.secondary.default,
594
- contrast: {
595
- DEFAULT: o(r.secondary.default),
596
- hover: o(r.secondary.hover),
597
- pressed: o(r.secondary.pressed)
598
- },
599
- hover: r.secondary.hover,
600
- pressed: r.secondary.pressed
601
- },
602
- secondaryAlpha: {
603
- DEFAULT: r.secondaryAlpha.default,
604
- contrast: {
605
- DEFAULT: o(r.secondaryAlpha.default),
606
- hover: o(r.secondaryAlpha.hover),
607
- pressed: o(r.secondaryAlpha.pressed)
608
- },
609
- hover: r.secondaryAlpha.hover,
610
- pressed: r.secondaryAlpha.pressed
611
- },
612
- subtle: {
613
- DEFAULT: r.neutral.subtle1,
614
- contrast: o(r.neutral.subtle2),
615
- less: r.neutral.subtle2,
616
- more: o(r.neutral.subtle3),
617
- most: r.neutral.subtle3
618
- },
619
- success: {
620
- DEFAULT: r.success.subtle,
621
- contrast: r.success.default
622
- },
623
- warning: {
624
- DEFAULT: r.warning.subtle,
625
- contrast: r.warning.default
626
- }
627
- }, Cr = {
628
- background: yr,
629
- border: fr,
630
- divider: _r,
631
- text: kr
632
- }, Ar = V.colors(
633
- Cr
634
- ), F = {
635
- xs: { fontSize: "xs" },
636
- sm: { fontSize: "sm" },
637
- md: { fontSize: "md" },
638
- lg: { fontSize: "lg" },
639
- xl: { fontSize: "xl" },
640
- "2xl": { fontSize: "2xl" },
641
- "3xl": { fontSize: "3xl" },
642
- "4xl": { fontSize: "4xl" },
643
- "5xl": { fontSize: "5xl" },
644
- "6xl": { fontSize: "6xl" }
645
- }, A = "150%", Sr = u({
646
- base: {
647
- lineHeight: A
648
- },
649
- variants: {
650
- variant: C,
651
- size: F,
652
- fontWeight: y
653
- },
654
- defaultVariants: {
655
- variant: "default",
656
- size: "md",
657
- fontWeight: "normal"
658
- }
659
- }), wr = {
660
- xs: { fontSize: "sm", lineHeight: "120%" },
661
- sm: { fontSize: "md", lineHeight: "120%" },
662
- md: { fontSize: "xl", lineHeight: "120%" },
663
- lg: { fontSize: ["2xl", "3xl"], lineHeight: ["133%", "120%"] },
664
- xl: { fontSize: ["3xl", "4xl"], lineHeight: ["133%", "120%"] },
665
- "2xl": { fontSize: ["4xl", "5xl"], lineHeight: ["120%", "100%"] },
666
- "3xl": { fontSize: ["5xl", "6xl"], lineHeight: "100%" },
667
- "4xl": { fontSize: ["6xl", "7xl"], lineHeight: "100%" }
668
- }, zr = u({
669
- base: {
670
- fontWeight: "semibold"
671
- },
672
- variants: {
673
- variant: C,
674
- size: wr,
675
- fontWeight: y
676
- },
677
- defaultVariants: {
678
- variant: "default",
679
- size: "lg",
680
- fontWeight: "semibold"
681
- }
682
- }), Tr = u({
683
- base: {
684
- lineHeight: A,
685
- textDecoration: "underline"
686
- },
687
- variants: {
688
- variant: C,
689
- size: F,
690
- fontWeight: y
691
- },
692
- defaultVariants: {
693
- variant: "interactive",
694
- size: "md",
695
- fontWeight: "normal"
696
- }
697
- }), Dr = ["root", "label", "closeTrigger"], Er = {
698
- default: {
699
- root: {
700
- bgColor: "background.subtle.less",
701
- color: "text.default"
702
- }
703
- },
704
- error: {
705
- root: {
706
- bgColor: "background.danger",
707
- color: "text.danger"
708
- }
709
- },
710
- info: {
711
- root: {
712
- bgColor: "background.info",
713
- color: "text.info"
714
- }
715
- },
716
- success: {
717
- root: {
718
- bgColor: "background.success",
719
- color: "text.success"
720
- }
721
- },
722
- warning: {
723
- root: {
724
- bgColor: "background.warning",
725
- color: "text.warning"
726
- }
727
- }
728
- }, Lr = {
729
- sm: {
730
- root: {
731
- height: "20px",
732
- px: "8px"
733
- },
734
- label: {
735
- fontSize: "xs"
736
- },
737
- closeTrigger: {
738
- _icon: {
739
- height: "14px",
740
- width: "14px"
741
- }
742
- }
743
- },
744
- md: {
745
- root: {
746
- height: "24px",
747
- px: "8px"
748
- },
749
- label: {
750
- fontSize: "sm"
751
- },
752
- closeTrigger: {
753
- _icon: {
754
- height: "16px",
755
- width: "16px"
756
- }
757
- }
758
- },
759
- lg: {
760
- root: {
761
- borderRadius: "lg",
762
- height: "32px",
763
- px: "12px"
764
- },
765
- label: {
766
- fontSize: "md"
767
- },
768
- closeTrigger: {
769
- _icon: {
770
- height: "18px",
771
- width: "18px"
772
- }
773
- }
774
- }
775
- }, Rr = {
776
- hover: {
777
- closeTrigger: {
778
- borderRadius: "md",
779
- bgColor: "inherit",
780
- color: "inherit",
781
- display: "none",
782
- opacity: 0,
783
- padding: "2px !important",
784
- position: "absolute",
785
- right: 0,
786
- ring: 0,
787
- width: "auto",
788
- _groupHover: { display: "flex", opacity: 0.89 }
789
- }
790
- },
791
- always: {
792
- root: {
793
- gap: 0
794
- }
795
- },
796
- never: {}
797
- }, Br = c({
798
- slots: Dr,
799
- base: {
800
- root: {
801
- borderRadius: "md",
802
- boxShadow: "none",
803
- gap: 0,
804
- position: "relative"
805
- },
806
- label: {
807
- fontWeight: "semibold",
808
- overflowY: "visible",
809
- lineHeight: A
810
- },
811
- closeTrigger: {
812
- height: "20px",
813
- marginInline: 0,
814
- marginLeft: 1,
815
- opacity: 0.5,
816
- width: "20px",
817
- _hover: {
818
- opacity: 0.8
819
- },
820
- _active: {
821
- opacity: 1
822
- },
823
- _focus: {
824
- backgroundColor: "transparent",
825
- boxShadow: "none",
826
- outline: "none"
827
- }
828
- }
829
- },
830
- variants: {
831
- size: Lr,
832
- variant: Er,
833
- closeButtonDisplay: Rr
834
- },
835
- defaultVariants: {
836
- size: "md",
837
- variant: "default",
838
- closeButtonDisplay: "never"
839
- }
840
- }), Fr = {
841
- xs: {
842
- fontSize: "xs",
843
- h: 6,
844
- p: "3px 8px",
845
- minW: 6
846
- },
847
- sm: {
848
- fontSize: "sm",
849
- h: 8,
850
- p: "6px 12px",
851
- minW: 8
852
- },
853
- md: {
854
- fontSize: "md",
855
- h: 10,
856
- p: "8px 16px",
857
- minW: 10
858
- },
859
- lg: {
860
- fontSize: "lg",
861
- h: 12,
862
- p: "10px 20px",
863
- minW: 12
864
- }
865
- }, Ur = {
866
- primary: {
867
- bg: {
868
- base: "background.primary",
869
- _hover: {
870
- base: "background.primary.hover",
871
- _disabled: "background.primary"
872
- },
873
- _active: {
874
- base: "background.primary.pressed",
875
- _hover: "background.primary.pressed"
876
- }
877
- },
878
- color: {
879
- base: "text.contrast",
880
- _icon: "text.contrast"
881
- }
882
- },
883
- primaryOnContrast: {
884
- bg: {
885
- base: "background.primary.contrast",
886
- _hover: {
887
- base: "background.primary.contrast.hover",
888
- _disabled: "background.primary.contrast"
889
- },
890
- _active: {
891
- base: "background.primary.contrast.pressed",
892
- _hover: "background.primary.contrast.pressed"
893
- }
894
- },
895
- color: {
896
- base: "text",
897
- _icon: "text"
898
- }
899
- },
900
- primaryDestructive: {
901
- bg: {
902
- base: "background.destructive",
903
- _hover: {
904
- base: "background.destructive.hover",
905
- _disabled: "background.destructive"
906
- },
907
- _active: {
908
- base: "background.destructive.pressed",
909
- _hover: "background.destructive.pressed"
910
- }
911
- },
912
- color: "text.contrast",
913
- _icon: {
914
- color: "text.contrast"
915
- }
916
- },
917
- primaryDestructiveOnContrast: {
918
- bg: {
919
- base: "background.destructive.contrast",
920
- _hover: {
921
- base: "background.destructive.contrast.hover",
922
- _disabled: "background.destructive.contrast"
923
- },
924
- _active: {
925
- base: "background.destructive.contrast.pressed",
926
- _hover: "background.destructive.contrast.pressed"
927
- }
928
- },
929
- color: {
930
- base: "text",
931
- _icon: "text"
932
- }
933
- },
934
- secondary: {
935
- bg: {
936
- base: "transparent",
937
- _hover: {
938
- base: "background.alpha.hover",
939
- _disabled: "transparent"
940
- },
941
- _active: {
942
- base: "background.secondaryAlpha.pressed",
943
- _hover: "background.secondaryAlpha.pressed"
944
- }
945
- },
946
- borderColor: {
947
- base: "border.strong",
948
- _active: "border.focus"
949
- },
950
- color: {
951
- base: "text",
952
- _active: "text.interactive",
953
- _icon: "text"
954
- },
955
- _active: {
956
- _icon: {
957
- color: "text.interactive"
958
- }
959
- }
960
- },
961
- secondaryOnContrast: {
962
- bg: {
963
- base: "transparent",
964
- _hover: {
965
- base: "background.alpha.contrast.hover",
966
- _disabled: "transparent"
967
- },
968
- _active: {
969
- base: "background.secondaryAlpha.contrast.pressed",
970
- _hover: "background.secondaryAlpha.contrast.pressed"
971
- }
972
- },
973
- borderColor: {
974
- base: "border.strong.contrast",
975
- _active: "border.focus.contrast"
976
- },
977
- color: {
978
- base: "text.contrast",
979
- _active: "text.interactive.contrast",
980
- _icon: "text.contrast"
981
- },
982
- _active: {
983
- _icon: {
984
- color: "text.interactive.contrast"
985
- }
986
- }
987
- },
988
- secondaryDestructive: {
989
- bg: {
990
- base: "transparent",
991
- _hover: {
992
- base: "background.alpha.hover",
993
- _disabled: "transparent"
994
- },
995
- _active: {
996
- base: "background.destructiveAlpha.pressed",
997
- _hover: "background.destructiveAlpha.pressed"
998
- }
999
- },
1000
- borderColor: "border.danger",
1001
- color: "text.danger",
1002
- _icon: {
1003
- color: "text.danger"
1004
- }
1005
- },
1006
- secondaryDestructiveOnContrast: {
1007
- bg: {
1008
- base: "transparent",
1009
- _hover: {
1010
- base: "background.alpha.contrast.hover",
1011
- _disabled: "transparent"
1012
- },
1013
- _active: {
1014
- base: "background.destructiveAlpha.contrast.pressed",
1015
- _hover: "background.destructiveAlpha.contrast.pressed"
1016
- }
1017
- },
1018
- borderColor: "border.danger.contrast",
1019
- color: "text.danger.contrast",
1020
- _icon: {
1021
- color: "text.danger.contrast"
1022
- }
1023
- },
1024
- secondarySubtle: {
1025
- bg: {
1026
- base: "background",
1027
- _hover: {
1028
- base: "background.subtle",
1029
- _disabled: "background"
1030
- },
1031
- _active: {
1032
- base: "background.secondaryAlpha",
1033
- _hover: "background.secondaryAlpha"
1034
- }
1035
- },
1036
- borderColor: {
1037
- base: "border",
1038
- _active: "border.focus.contrast"
1039
- },
1040
- color: {
1041
- base: "text",
1042
- _active: "text.interactive",
1043
- _icon: "text"
1044
- },
1045
- _active: {
1046
- _icon: {
1047
- color: "text.interactive"
1048
- }
1049
- }
1050
- },
1051
- secondarySubtleOnContrast: {
1052
- bg: {
1053
- base: "transparent",
1054
- _hover: {
1055
- base: "background.subtle.contrast",
1056
- _disabled: "transparent"
1057
- },
1058
- _active: {
1059
- base: "background.secondaryAlpha.contrast",
1060
- _hover: "background.secondaryAlpha.contrast"
1061
- }
1062
- },
1063
- borderColor: {
1064
- base: "border.contrast",
1065
- _active: "border.focus"
1066
- },
1067
- color: {
1068
- base: "text.contrast",
1069
- _active: "text.interactive.contrast",
1070
- _icon: "text.contrast"
1071
- },
1072
- _active: {
1073
- _icon: {
1074
- color: "text.interactive.contrast"
1075
- }
1076
- }
1077
- },
1078
- secondarySubtleDestructive: {
1079
- bg: {
1080
- base: "background",
1081
- _hover: {
1082
- base: "background.subtle",
1083
- _disabled: "background"
1084
- },
1085
- _active: {
1086
- base: "background.destructiveAlpha",
1087
- _hover: "background.destructiveAlpha"
1088
- }
1089
- },
1090
- color: "text.danger",
1091
- borderColor: "border",
1092
- _icon: {
1093
- color: "text.danger"
1094
- }
1095
- },
1096
- secondarySubtleDestructiveOnContrast: {
1097
- bg: {
1098
- base: "background.contrast",
1099
- _hover: {
1100
- base: "background.subtle.contrast",
1101
- _disabled: "background.contrast"
1102
- },
1103
- _active: {
1104
- base: "background.destructiveAlpha.contrast",
1105
- _hover: "background.destructiveAlpha.contrast"
1106
- }
1107
- },
1108
- color: "text.danger.contrast",
1109
- borderColor: "border.contrast",
1110
- _icon: {
1111
- color: "text.danger.contrast"
1112
- }
1113
- },
1114
- tertiary: {
1115
- bg: {
1116
- base: "background.alpha",
1117
- _hover: {
1118
- base: "background.alpha.hover",
1119
- _disabled: "background.alpha"
1120
- },
1121
- _active: {
1122
- base: "background.secondaryAlpha.pressed",
1123
- _hover: "background.secondaryAlpha.pressed"
1124
- }
1125
- },
1126
- color: {
1127
- base: "text",
1128
- _active: "text.interactive",
1129
- _icon: "text"
1130
- },
1131
- _active: {
1132
- _icon: {
1133
- color: "text.interactive"
1134
- }
1135
- }
1136
- },
1137
- tertiaryOnContrast: {
1138
- bg: {
1139
- base: "background.alpha.contrast",
1140
- _hover: {
1141
- base: "background.alpha.contrast.hover",
1142
- _disabled: "background.alpha.contrast"
1143
- },
1144
- _active: {
1145
- base: "background.secondaryAlpha.contrast.pressed",
1146
- _hover: "background.secondaryAlpha.contrast.pressed"
1147
- }
1148
- },
1149
- color: {
1150
- base: "text.contrast",
1151
- _active: "text.interactive.contrast",
1152
- _icon: "text.contrast"
1153
- },
1154
- _active: {
1155
- _icon: {
1156
- color: "text.interactive.contrast"
1157
- }
1158
- }
1159
- },
1160
- tertiaryDestructive: {
1161
- bg: {
1162
- base: "background.destructiveAlpha",
1163
- _hover: {
1164
- base: "background.destructiveAlpha.hover",
1165
- _disabled: "background.destructiveAlpha"
1166
- },
1167
- _active: {
1168
- base: "background.destructiveAlpha.pressed",
1169
- _hover: "background.destructiveAlpha.pressed"
1170
- }
1171
- },
1172
- color: {
1173
- base: "text.danger",
1174
- _icon: "text.danger"
1175
- }
1176
- },
1177
- tertiaryDestructiveOnContrast: {
1178
- bg: {
1179
- base: "background.destructiveAlpha.contrast",
1180
- _hover: {
1181
- base: "background.destructiveAlpha.contrast.hover",
1182
- _disabled: "background.destructiveAlpha.contrast"
1183
- },
1184
- _active: {
1185
- base: "background.destructiveAlpha.contrast.pressed",
1186
- _hover: "background.destructiveAlpha.contrast.pressed"
1187
- }
1188
- },
1189
- color: {
1190
- base: "text.danger.contrast",
1191
- _icon: "text.danger.contrast"
1192
- }
1193
- },
1194
- ghost: {
1195
- bg: {
1196
- base: "transparent",
1197
- _hover: {
1198
- _disabled: "transparent"
1199
- },
1200
- _active: {
1201
- base: "background.secondaryAlpha.pressed",
1202
- _hover: "background.secondaryAlpha.pressed"
1203
- }
1204
- },
1205
- // Separating to override Chakra's variant
1206
- _hover: {
1207
- bg: "background.secondaryAlpha.hover"
1208
- },
1209
- color: {
1210
- base: "text.interactive",
1211
- _icon: "text.interactive"
1212
- }
1213
- },
1214
- ghostOnContrast: {
1215
- bg: {
1216
- base: "transparent",
1217
- _hover: {
1218
- base: "background.secondaryAlpha.contrast.hover",
1219
- _disabled: "transparent"
1220
- },
1221
- _active: {
1222
- base: "background.secondaryAlpha.contrast.pressed",
1223
- _hover: "background.secondaryAlpha.contrast.pressed"
1224
- }
1225
- },
1226
- color: {
1227
- base: "text.interactive.contrast",
1228
- _icon: "text.interactive.contrast"
1229
- }
1230
- },
1231
- ghostNeutral: {
1232
- bg: {
1233
- base: "transparent",
1234
- _hover: {
1235
- base: "background.alpha.hover",
1236
- _disabled: "transparent"
1237
- },
1238
- _active: {
1239
- base: "background.secondaryAlpha.pressed",
1240
- _hover: "background.secondaryAlpha.pressed"
1241
- }
1242
- },
1243
- color: {
1244
- base: "text",
1245
- _icon: "text"
1246
- },
1247
- _active: {
1248
- color: "text.interactive",
1249
- _icon: {
1250
- color: "text.interactive"
1251
- }
1252
- }
1253
- },
1254
- ghostNeutralOnContrast: {
1255
- bg: {
1256
- base: "transparent",
1257
- _hover: {
1258
- base: "background.alpha.contrast.hover",
1259
- _disabled: "transparent"
1260
- },
1261
- _active: {
1262
- base: "background.secondaryAlpha.contrast.pressed",
1263
- _hover: "background.secondaryAlpha.contrast.pressed"
1264
- }
1265
- },
1266
- color: {
1267
- base: "text.contrast",
1268
- _icon: "text.contrast",
1269
- _active: "text.interactive.contrast"
1270
- },
1271
- _active: {
1272
- _icon: {
1273
- color: "text.interactive.contrast"
1274
- }
1275
- }
1276
- },
1277
- ghostDestructive: {
1278
- bg: {
1279
- base: "transparent",
1280
- _hover: {
1281
- base: "background.destructiveAlpha.hover",
1282
- _disabled: "transparent"
1283
- },
1284
- _active: {
1285
- base: "background.destructiveAlpha.pressed",
1286
- _hover: "background.destructiveAlpha.pressed"
1287
- }
1288
- },
1289
- color: {
1290
- base: "text.danger",
1291
- _icon: "text.danger"
1292
- }
1293
- },
1294
- ghostDestructiveOnContrast: {
1295
- bg: {
1296
- base: "transparent",
1297
- _hover: {
1298
- base: "background.destructiveAlpha.contrast.hover",
1299
- _disabled: "transparent"
1300
- },
1301
- _active: {
1302
- base: "background.destructiveAlpha.contrast.pressed",
1303
- _hover: "background.destructiveAlpha.contrast.pressed"
1304
- }
1305
- },
1306
- color: {
1307
- base: "text.danger.contrast",
1308
- _icon: "text.danger.contrast"
1309
- }
1310
- },
1311
- ai: {
1312
- bg: {
1313
- base: "background.ai",
1314
- _hover: {
1315
- base: "background.ai.hover",
1316
- _disabled: "background.ai"
1317
- },
1318
- _active: {
1319
- base: "background.ai.pressed",
1320
- _hover: "background.ai.pressed"
1321
- }
1322
- },
1323
- color: {
1324
- base: "text.interactive",
1325
- _icon: "text.interactive"
1326
- },
1327
- borderWidth: "0"
1328
- }
1329
- }, E = u({
1330
- base: {
1331
- borderColor: "transparent",
1332
- borderRadius: "base",
1333
- borderWidth: "1px",
1334
- fontWeight: "semibold",
1335
- letterSpacing: "0.12px",
1336
- lineHeight: "150%"
1337
- },
1338
- variants: {
1339
- variant: Ur,
1340
- size: Fr
1341
- },
1342
- defaultVariants: {
1343
- size: "md",
1344
- variant: "primary"
1345
- }
1346
- }), Wr = {
1347
- default: {
1348
- bgColor: "background",
1349
- borderWidth: "1px",
1350
- borderColor: "border",
1351
- borderRadius: "base",
1352
- outline: "2px transparent",
1353
- color: "text",
1354
- _placeholder: {
1355
- color: "text.placeholder"
1356
- }
1357
- },
1358
- onContrast: {
1359
- bgColor: "background.contrast",
1360
- borderWidth: "1px",
1361
- borderColor: "border.contrast",
1362
- borderRadius: "base",
1363
- color: "text.contrast",
1364
- _placeholder: {
1365
- color: "text.placeholder.contrast"
1366
- }
1367
- }
1368
- }, Ir = {
1369
- default: {
1370
- borderColor: "border.danger",
1371
- borderWidth: "1px",
1372
- boxShadow: "0 0 0 1px var(--chakra-colors-border-danger)",
1373
- _hover: {
1374
- borderColor: "border.danger"
1375
- }
1376
- },
1377
- onContrast: {
1378
- borderColor: "border.danger.contrast",
1379
- boxShadow: "0 0 0 1px var(--chakra-colors-border-danger-contrast)",
1380
- _hover: {
1381
- borderColor: "border.danger.contrast"
1382
- }
1383
- }
1384
- }, Hr = {
1385
- default: {
1386
- bgColor: "border",
1387
- borderColor: "border",
1388
- cursor: "not-allowed",
1389
- opacity: 0.6,
1390
- _placeholder: {
1391
- color: "text.placeholder",
1392
- opacity: 1
1393
- }
1394
- },
1395
- onContrast: {
1396
- bgColor: "border.contrast",
1397
- borderColor: "border.contrast",
1398
- cursor: "not-allowed",
1399
- opacity: 0.6,
1400
- _placeholder: {
1401
- color: "text.placeholder.contrast",
1402
- opacity: 1
1403
- }
1404
- }
1405
- }, f = {
1406
- default: {
1407
- borderColor: "border.focus",
1408
- borderWidth: "1px",
1409
- boxShadow: "0 0 0 1px var(--chakra-colors-border-focus) !important",
1410
- _hover: {
1411
- boxShadow: "0 0 0 1px var(--chakra-colors-border-focus)",
1412
- borderColor: "border.focus"
1413
- }
1414
- },
1415
- onContrast: {
1416
- borderColor: "border.focus.contrast",
1417
- borderWidth: "1px",
1418
- boxShadow: "0 0 0 1px var(--chakra-colors-border-focus-contrast) !important",
1419
- _hover: {
1420
- boxShadow: "0 0 0 1px var(--chakra-colors-border-focus-contrast)",
1421
- borderColor: "border.focus.contrast"
1422
- }
1423
- }
1424
- }, Vr = {
1425
- default: {
1426
- borderColor: "border.strong"
1427
- },
1428
- onContrast: {
1429
- borderColor: "border.strong.contrast"
1430
- }
1431
- }, v = (t) => ({
1432
- ...Wr[t],
1433
- _hover: {
1434
- ...Vr[t]
1435
- },
1436
- _disabled: {
1437
- ...Hr[t]
1438
- },
1439
- _focus: {
1440
- ...f[t]
1441
- },
1442
- _invalid: {
1443
- ...Ir[t]
1444
- }
1445
- }), h = {
1446
- sm: {
1447
- fontSize: "sm",
1448
- minH: "32px"
1449
- },
1450
- md: {
1451
- fontSize: "md",
1452
- minH: "40px"
1453
- },
1454
- lg: {
1455
- fontSize: "lg",
1456
- minH: "48px"
1457
- }
1458
- }, L = u({
1459
- variants: {
1460
- variant: {
1461
- default: v("default"),
1462
- onContrast: v("onContrast")
1463
- },
1464
- size: h
1465
- },
1466
- defaultVariants: {
1467
- size: "md",
1468
- variant: "default"
1469
- }
1470
- }), Or = [
1471
- "root",
1472
- "hiddenInput",
1473
- "control",
1474
- "indicator",
1475
- "label"
1476
- ], $r = {
1477
- sm: {
1478
- control: {
1479
- height: l.sm,
1480
- width: l.sm
1481
- },
1482
- label: {
1483
- fontSize: "sm",
1484
- ml: m.sm
1485
- },
1486
- root: {
1487
- gap: 0
1488
- }
1489
- },
1490
- md: {
1491
- control: {
1492
- height: l.md,
1493
- width: l.md
1494
- },
1495
- label: {
1496
- fontSize: "md",
1497
- ml: m.md
1498
- },
1499
- root: {
1500
- gap: 0
1501
- }
1502
- },
1503
- lg: {
1504
- control: {
1505
- height: l.lg,
1506
- width: l.lg
1507
- },
1508
- label: {
1509
- fontSize: "lg",
1510
- ml: m.lg
1511
- },
1512
- root: {
1513
- gap: 0
1514
- }
1515
- }
1516
- }, R = {
1517
- bg: "background.secondary",
1518
- borderColor: "background.secondary",
1519
- color: "text.contrast",
1520
- _hover: {
1521
- bg: "background.secondary.hover",
1522
- borderColor: "background.secondary.hover"
1523
- },
1524
- _disabled: {
1525
- bg: "background.secondary",
1526
- borderColor: "background.secondary",
1527
- color: "text.contrast"
1528
- },
1529
- _icon: {
1530
- strokeWidth: "4px !important"
1531
- }
1532
- }, B = {
1533
- bg: "background.secondary.contrast",
1534
- borderColor: "background.secondary.contrast",
1535
- color: "text",
1536
- _hover: {
1537
- bg: "background.secondary.contrast.hover",
1538
- borderColor: "background.secondary.contrast.hover"
1539
- },
1540
- _disabled: {
1541
- bg: "background.secondary.contrast",
1542
- borderColor: "background.secondary.contrast",
1543
- color: "text"
1544
- }
1545
- }, jr = {
1546
- default: {
1547
- control: {
1548
- bg: "background",
1549
- color: "text.contrast",
1550
- _hover: {
1551
- borderColor: "border.strong"
1552
- },
1553
- _checked: { ...R },
1554
- _indeterminate: { ...R },
1555
- _disabled: {
1556
- bg: "background.subtle.less",
1557
- borderColor: "background.subtle.less"
1558
- },
1559
- _invalid: {
1560
- borderColor: "border.danger",
1561
- _hover: {
1562
- borderColor: "border.danger"
1563
- }
1564
- }
1565
- },
1566
- label: {
1567
- color: "text"
1568
- }
1569
- },
1570
- onContrast: {
1571
- control: {
1572
- bg: "background.contrast",
1573
- borderColor: "border.subtle",
1574
- _hover: {
1575
- borderColor: "border.strong.contrast"
1576
- },
1577
- _checked: { ...B },
1578
- _indeterminate: { ...B },
1579
- _disabled: {
1580
- bg: "background.subtle.more.contrast",
1581
- borderColor: "background.subtle.more.contrast",
1582
- _hover: {
1583
- borderColor: "background.subtle.more.contrast"
1584
- }
1585
- },
1586
- _invalid: {
1587
- borderColor: "border.danger.contrast",
1588
- _hover: {
1589
- borderColor: "border.danger.contrast"
1590
- }
1591
- }
1592
- },
1593
- label: {
1594
- color: "text.contrast"
1595
- }
1596
- }
1597
- }, Gr = c({
1598
- slots: Or,
1599
- base: {
1600
- root: {
1601
- width: "inherit",
1602
- _disabled: {
1603
- cursor: "not-allowed"
1604
- }
1605
- },
1606
- control: {
1607
- borderWidth: "1px",
1608
- borderColor: "border.subtle",
1609
- borderRadius: "xs",
1610
- _focus: {
1611
- boxShadow: "none"
1612
- },
1613
- _disabled: {
1614
- opacity: 0.6
1615
- }
1616
- },
1617
- label: {
1618
- lineHeight: "150%",
1619
- _disabled: {
1620
- opacity: 0.6
1621
- }
1622
- }
1623
- },
1624
- variants: {
1625
- variant: jr,
1626
- size: $r
1627
- },
1628
- defaultVariants: {
1629
- size: "md",
1630
- variant: "default"
1631
- }
1632
- }), Mr = [
1633
- "root",
1634
- "item",
1635
- "itemHiddenInput",
1636
- "itemControl",
1637
- "itemText"
1638
- ], Pr = {
1639
- sm: {
1640
- itemControl: {
1641
- height: i.sm,
1642
- width: i.sm
1643
- },
1644
- itemText: {
1645
- ml: k.sm
1646
- },
1647
- item: {
1648
- gap: 0
1649
- }
1650
- },
1651
- md: {
1652
- itemControl: {
1653
- height: i.md,
1654
- width: i.md
1655
- },
1656
- itemText: {
1657
- ml: k.md
1658
- },
1659
- item: {
1660
- gap: 0
1661
- }
1662
- },
1663
- lg: {
1664
- itemControl: {
1665
- height: i.lg,
1666
- width: i.lg
1667
- },
1668
- itemText: {
1669
- ml: k.lg
1670
- },
1671
- item: {
1672
- gap: 0
1673
- }
1674
- }
1675
- }, Yr = {
1676
- default: {
1677
- itemText: {
1678
- color: "text"
1679
- },
1680
- itemControl: {
1681
- background: "background",
1682
- borderColor: "border.subtle",
1683
- _hover: {
1684
- borderColor: "border.strong",
1685
- _disabled: {
1686
- borderColor: "border.subtle"
1687
- }
1688
- },
1689
- _checked: {
1690
- background: "background.secondary",
1691
- borderColor: "border.focus",
1692
- _hover: {
1693
- background: "background.secondary.hover",
1694
- borderColor: "background.secondary.hover"
1695
- },
1696
- _disabled: {
1697
- background: "background.secondary",
1698
- borderColor: "border.focus",
1699
- color: "text.contrast",
1700
- _hover: {
1701
- background: "background.secondary",
1702
- borderColor: "border.focus"
1703
- }
1704
- }
1705
- },
1706
- _disabled: {
1707
- background: "background.subtle.less",
1708
- borderColor: "background.subtle.less"
1709
- },
1710
- _invalid: {
1711
- borderColor: "border.danger",
1712
- _hover: {
1713
- borderColor: "border.danger"
1714
- },
1715
- _checked: {
1716
- borderColor: "border.focus"
1717
- },
1718
- _disabled: {
1719
- borderColor: "border.subtle"
1720
- }
1721
- }
1722
- }
1723
- },
1724
- onContrast: {
1725
- itemText: {
1726
- color: "text.contrast"
1727
- },
1728
- itemControl: {
1729
- background: "background.contrast",
1730
- borderColor: "border.subtle",
1731
- _hover: {
1732
- borderColor: "border.strong.contrast",
1733
- _disabled: {
1734
- borderColor: "background.subtle.less"
1735
- }
1736
- },
1737
- _checked: {
1738
- background: "background.secondary.contrast",
1739
- borderColor: "border.focus.contrast",
1740
- _before: {
1741
- bg: "background.contrast"
1742
- },
1743
- _hover: {
1744
- background: "background.secondary.contrast.hover",
1745
- borderColor: "background.secondary.contrast.hover"
1746
- },
1747
- _disabled: {
1748
- background: "background.secondary.contrast",
1749
- borderColor: "border.focus.contrast",
1750
- color: "text.contrast",
1751
- _hover: {
1752
- background: "background.secondary.contrast",
1753
- borderColor: "border.focus.contrast"
1754
- }
1755
- }
1756
- },
1757
- _disabled: {
1758
- background: "background.subtle.more",
1759
- borderColor: "background.subtle.more"
1760
- },
1761
- _invalid: {
1762
- borderColor: "border.danger.contrast",
1763
- _hover: {
1764
- borderColor: "border.danger.contrast"
1765
- },
1766
- _checked: {
1767
- borderColor: "border.focus.contrast"
1768
- },
1769
- _disabled: {
1770
- borderColor: "border.more.subtle"
1771
- }
1772
- }
1773
- }
1774
- }
1775
- }, Nr = c({
1776
- slots: Mr,
1777
- base: {
1778
- root: {
1779
- width: "inherit",
1780
- _disabled: {
1781
- opacity: 0.6
1782
- },
1783
- _focus: {
1784
- boxShadow: "none"
1785
- }
1786
- },
1787
- item: {
1788
- width: "inherit"
1789
- },
1790
- itemControl: {
1791
- borderWidth: "1px"
1792
- },
1793
- itemText: {
1794
- _disabled: {
1795
- opacity: 0.6
1796
- }
1797
- }
1798
- },
1799
- variants: {
1800
- size: Pr,
1801
- variant: Yr
1802
- },
1803
- defaultVariants: {
1804
- size: "md",
1805
- variant: "default"
1806
- }
1807
- }), Jr = [
1808
- "root",
1809
- "control",
1810
- "indicator",
1811
- "thumb",
1812
- "label"
1813
- ], Kr = {
1814
- sm: {
1815
- root: {
1816
- "--switch-height": "12px",
1817
- "--switch-width": "24px"
1818
- },
1819
- label: {
1820
- fontSize: "sm"
1821
- }
1822
- },
1823
- md: {
1824
- root: {
1825
- "--switch-height": "16px",
1826
- "--switch-width": "32px"
1827
- },
1828
- label: {
1829
- fontSize: "md"
1830
- }
1831
- },
1832
- lg: {
1833
- root: {
1834
- "--switch-height": "20px",
1835
- "--switch-width": "40px"
1836
- },
1837
- label: {
1838
- fontSize: "lg"
1839
- }
1840
- }
1841
- }, s = {
1842
- controlBg: "background.alpha.pressed",
1843
- controlBgChecked: "background.secondary",
1844
- controlInvalidBorder: "border.danger",
1845
- thumbBg: "background",
1846
- thumbBgChecked: "background"
1847
- }, d = {
1848
- controlBg: "background.alpha.contrast.pressed",
1849
- controlBgChecked: "background.secondary.contrast",
1850
- controlInvalidBorder: "border.danger.contrast",
1851
- thumbBg: "background.contrast",
1852
- thumbBgChecked: "background.contrast"
1853
- }, Xr = {
1854
- default: {
1855
- control: {
1856
- bg: s.controlBg,
1857
- _checked: {
1858
- bg: s.controlBgChecked
1859
- },
1860
- _invalid: {
1861
- outlineColor: s.controlInvalidBorder
1862
- }
1863
- },
1864
- thumb: {
1865
- bg: s.thumbBg,
1866
- _checked: {
1867
- bg: s.thumbBgChecked
1868
- }
1869
- }
1870
- },
1871
- onContrast: {
1872
- control: {
1873
- bg: d.controlBg,
1874
- _checked: {
1875
- bg: d.controlBgChecked
1876
- },
1877
- _invalid: {
1878
- outlineColor: d.controlInvalidBorder
1879
- }
1880
- },
1881
- thumb: {
1882
- bg: d.thumbBg,
1883
- _checked: {
1884
- bg: d.thumbBgChecked
1885
- }
1886
- }
1887
- },
1888
- indeterminate: {
1889
- root: {
1890
- "--switch-diff": "50%"
1891
- },
1892
- control: {
1893
- bg: s.controlBg,
1894
- _checked: {
1895
- bg: s.controlBgChecked
1896
- },
1897
- _invalid: {
1898
- outlineColor: s.controlInvalidBorder
1899
- }
1900
- },
1901
- thumb: {
1902
- bg: s.thumbBg,
1903
- translate: "var(--switch-x) 0",
1904
- _checked: {
1905
- bg: s.thumbBg
1906
- }
1907
- }
1908
- },
1909
- indeterminateOnContrast: {
1910
- root: {
1911
- "--switch-diff": "50%"
1912
- },
1913
- control: {
1914
- bg: d.controlBg,
1915
- _checked: {
1916
- bg: d.controlBgChecked
1917
- },
1918
- _invalid: {
1919
- outlineColor: d.controlInvalidBorder
1920
- }
1921
- },
1922
- thumb: {
1923
- bg: d.thumbBg,
1924
- translate: "var(--switch-x) 0",
1925
- _checked: {
1926
- bg: d.thumbBg
1927
- }
1928
- }
1929
- }
1930
- }, Zr = c({
1931
- slots: Jr,
1932
- base: {
1933
- control: {
1934
- _focusVisible: {
1935
- outline: "none"
1936
- }
1937
- },
1938
- thumb: {
1939
- boxShadow: "xsR",
1940
- height: "var(--switch-height)",
1941
- width: "var(--switch-height)",
1942
- scale: 0.8
1943
- }
1944
- },
1945
- variants: {
1946
- size: Kr,
1947
- variant: Xr
1948
- },
1949
- defaultVariants: {
1950
- size: "md",
1951
- variant: "default"
1952
- }
1953
- }), qr = ["root", "list", "trigger", "content"], Qr = {
1954
- xs: {
1955
- root: {
1956
- "--tabs-height": "36px"
1957
- },
1958
- trigger: {
1959
- py: 2
1960
- }
1961
- },
1962
- sm: {
1963
- root: {
1964
- "--tabs-height": "44px"
1965
- },
1966
- trigger: {
1967
- py: 3
1968
- }
1969
- },
1970
- md: {
1971
- root: {
1972
- "--tabs-height": "52px"
1973
- },
1974
- trigger: {
1975
- py: 4
1976
- }
1977
- },
1978
- lg: {
1979
- root: {
1980
- "--tabs-height": "64px"
1981
- },
1982
- trigger: {
1983
- py: 5
1984
- }
1985
- }
1986
- }, re = c({
1987
- slots: qr,
1988
- base: {
1989
- list: {
1990
- borderBottomWidth: "3px !important",
1991
- borderColor: "border"
1992
- },
1993
- trigger: {
1994
- color: "text",
1995
- _selected: {
1996
- background: "transparent",
1997
- _before: {
1998
- "--indicator-offset-y": "-3px",
1999
- bgColor: "background.accent !important",
2000
- height: "3px !important"
2001
- },
2002
- _hover: {
2003
- background: "transparent"
2004
- }
2005
- },
2006
- _hover: {
2007
- background: "background.alpha"
2008
- }
2009
- }
2010
- },
2011
- variants: {
2012
- size: Qr
2013
- },
2014
- defaultVariants: {
2015
- size: "md"
2016
- }
2017
- }), ee = ["root", "fallback", "image"], oe = {
2018
- xs: {
2019
- root: {
2020
- "--avatar-size": "24px"
2021
- },
2022
- fallback: {
2023
- fontSize: "10px",
2024
- fontWeight: "semibold"
2025
- }
2026
- },
2027
- sm: {
2028
- root: {
2029
- "--avatar-size": "32px"
2030
- },
2031
- fallback: {
2032
- fontSize: "sm"
2033
- }
2034
- },
2035
- md: {
2036
- root: {
2037
- "--avatar-size": "36px"
2038
- },
2039
- fallback: {
2040
- fontSize: "md"
2041
- }
2042
- },
2043
- lg: {
2044
- root: {
2045
- "--avatar-size": "40px"
2046
- },
2047
- fallback: {
2048
- fontSize: "md"
2049
- }
2050
- },
2051
- xl: {
2052
- root: {
2053
- "--avatar-size": "64px",
2054
- boxShadow: "0 0 0 2px var(--chakra-colors-border-strong-contrast)"
2055
- },
2056
- fallback: {
2057
- fontSize: "2xl"
2058
- }
2059
- }
2060
- }, te = {
2061
- accent: {
2062
- root: {
2063
- backgroundColor: "background.accent",
2064
- borderColor: "border.accent",
2065
- position: "relative",
2066
- "&[data-group-item]": {
2067
- borderColor: "border.accent"
2068
- }
2069
- }
2070
- },
2071
- contrast: {
2072
- root: {
2073
- backgroundColor: "background.subtle.more",
2074
- borderColor: "background.subtle.more",
2075
- "&[data-group-item]": {
2076
- borderColor: "background.subtle.more"
2077
- }
2078
- }
2079
- },
2080
- dashed: {
2081
- root: {
2082
- backgroundColor: "background",
2083
- borderColor: "transparent",
2084
- overflow: "visible",
2085
- color: "text",
2086
- _after: {
2087
- content: "''",
2088
- position: "absolute",
2089
- top: "-2px",
2090
- right: "-2px",
2091
- bottom: "-2px",
2092
- left: "-2px",
2093
- border: "1px dashed",
2094
- borderColor: "border.strong",
2095
- borderRadius: "100%"
2096
- },
2097
- "&[data-group-item]": {
2098
- borderColor: "transparent"
2099
- }
2100
- }
2101
- },
2102
- default: {
2103
- root: {
2104
- backgroundColor: "background.subtle.most",
2105
- borderColor: "background.subtle.most",
2106
- "&[data-group-item]": {
2107
- borderColor: "background.subtle.most"
2108
- }
2109
- }
2110
- },
2111
- outlineAccent: {
2112
- root: {
2113
- backgroundColor: "background",
2114
- color: "text.accent",
2115
- borderColor: "border.accent",
2116
- overflow: "visible",
2117
- "&[data-group-item]": {
2118
- borderColor: "border.accent"
2119
- }
2120
- }
2121
- },
2122
- outlineYellow: {
2123
- root: {
2124
- backgroundColor: "background.warning",
2125
- borderColor: "border.warning",
2126
- overflow: "visible",
2127
- color: "text",
2128
- "&[data-group-item]": {
2129
- borderColor: "border.warning"
2130
- }
2131
- }
2132
- }
2133
- }, ae = c({
2134
- slots: ee,
2135
- base: {
2136
- fallback: {
2137
- alignItems: "center",
2138
- display: "flex",
2139
- justifyContent: "center",
2140
- lineHeight: "24px",
2141
- pt: "1px"
2142
- },
2143
- root: {
2144
- boxShadow: "0 0 0 1px var(--chakra-colors-border-strong-contrast)",
2145
- color: "text.contrast",
2146
- zIndex: "calc(var(--group-count) - var(--group-index))"
2147
- }
2148
- },
2149
- variants: {
2150
- size: oe,
2151
- variant: te,
2152
- interactive: {
2153
- true: {
2154
- root: {
2155
- cursor: "pointer",
2156
- _hover: {
2157
- img: { opacity: 1 },
2158
- _after: {
2159
- content: '""',
2160
- backgroundColor: "background.alpha.hover",
2161
- w: "110%",
2162
- h: "110%",
2163
- borderRadius: "full",
2164
- position: "absolute"
2165
- }
2166
- },
2167
- _active: {
2168
- img: { opacity: 1 },
2169
- _after: {
2170
- content: '""',
2171
- backgroundColor: "background.alpha.pressed",
2172
- w: "110%",
2173
- h: "110%",
2174
- borderRadius: "full",
2175
- position: "absolute"
2176
- }
2177
- }
2178
- }
2179
- },
2180
- false: {
2181
- root: {
2182
- cursor: "default"
2183
- }
2184
- }
2185
- },
2186
- hideBorder: {
2187
- true: {
2188
- root: {
2189
- borderWidth: "0px"
2190
- }
2191
- },
2192
- false: {
2193
- root: {
2194
- borderWidth: "2px"
2195
- }
2196
- }
2197
- }
2198
- },
2199
- defaultVariants: {
2200
- size: "md",
2201
- variant: "default",
2202
- interactive: !1,
2203
- hideBorder: !1
2204
- }
2205
- }), U = {
2206
- padding: "8px 12px 8px 20px !important"
2207
- }, _ = {
2208
- ...U,
2209
- cursor: "pointer",
2210
- _hover: {
2211
- bgColor: "background.secondaryAlpha.hover"
2212
- },
2213
- "&[data-highlighted]": {
2214
- bgColor: "background.secondaryAlpha.hover !important"
2215
- }
2216
- }, ne = c({
2217
- slots: [
2218
- "checkboxItem",
2219
- "content",
2220
- "item",
2221
- "itemGroupLabel",
2222
- "trigger",
2223
- "triggerItem"
2224
- ],
2225
- base: {
2226
- checkboxItem: _,
2227
- content: {
2228
- bgColor: "background.overlay",
2229
- borderColor: "border",
2230
- boxShadow: "md",
2231
- px: "0 !important",
2232
- py: 2
2233
- },
2234
- item: _,
2235
- itemGroupLabel: U,
2236
- trigger: {
2237
- _icon: {
2238
- h: "unset",
2239
- w: "unset"
2240
- }
2241
- },
2242
- triggerItem: _
2243
- }
2244
- }), se = c({
2245
- slots: ["trigger", "item", "valueText", "content"],
2246
- base: {
2247
- content: {
2248
- borderRadius: "base",
2249
- borderWidth: "1px",
2250
- boxShadow: "md",
2251
- px: "0 !important"
2252
- },
2253
- item: {
2254
- justifyContent: "flex-start"
2255
- },
2256
- trigger: {
2257
- justifyContent: "flex-start"
2258
- },
2259
- valueText: {
2260
- alignItems: "center",
2261
- display: "flex",
2262
- gap: 2
2263
- }
2264
- },
2265
- variants: {
2266
- variant: {
2267
- default: {
2268
- content: {
2269
- bgColor: "background",
2270
- borderColor: "border"
2271
- },
2272
- item: {
2273
- _selected: {
2274
- bgColor: "background.secondaryAlpha.hover"
2275
- },
2276
- "&[data-highlighted]": {
2277
- bgColor: "background.secondaryAlpha.hover"
2278
- }
2279
- },
2280
- trigger: {
2281
- ...v("default"),
2282
- _placeholderShown: {
2283
- color: "text.placeholder"
2284
- },
2285
- _open: {
2286
- ...f.default
2287
- }
2288
- }
2289
- },
2290
- onContrast: {
2291
- content: {
2292
- bgColor: "background.contrast",
2293
- borderColor: "border.contrast"
2294
- },
2295
- item: {
2296
- _selected: {
2297
- bgColor: "background.secondaryAlpha.contrast.hover"
2298
- },
2299
- "&[data-highlighted]": {
2300
- bgColor: "background.secondaryAlpha.contrast.hover"
2301
- }
2302
- },
2303
- trigger: {
2304
- ...v("onContrast"),
2305
- _placeholderShown: {
2306
- color: "text.placeholder.contrast"
2307
- },
2308
- _open: {
2309
- ...f.onContrast
2310
- }
2311
- }
2312
- }
2313
- },
2314
- size: {
2315
- sm: {
2316
- item: {
2317
- fontSize: "sm"
2318
- },
2319
- trigger: {
2320
- ...h.sm
2321
- }
2322
- },
2323
- md: {
2324
- item: {
2325
- fontSize: "md"
2326
- },
2327
- trigger: {
2328
- ...h.md
2329
- }
2330
- },
2331
- lg: {
2332
- item: {
2333
- fontSize: "lg"
2334
- },
2335
- trigger: {
2336
- ...h.lg
2337
- }
2338
- }
2339
- }
2340
- },
2341
- defaultVariants: {
2342
- size: "md",
2343
- variant: "default"
2344
- }
2345
- }), de = [
2346
- "root",
2347
- "indicator",
2348
- "content",
2349
- "title",
2350
- "description"
2351
- ], ce = {
2352
- default: {
2353
- root: {
2354
- bgColor: "background"
2355
- }
2356
- },
2357
- error: {
2358
- root: {
2359
- bgColor: "background.danger"
2360
- }
2361
- },
2362
- info: {
2363
- root: {
2364
- bgColor: "background.info"
2365
- }
2366
- },
2367
- success: {
2368
- root: {
2369
- bgColor: "background.success"
2370
- }
2371
- },
2372
- warning: {
2373
- root: {
2374
- bgColor: "background.warning"
2375
- }
2376
- }
2377
- }, le = c({
2378
- slots: de,
2379
- base: {
2380
- content: {
2381
- gap: 0
2382
- },
2383
- root: {
2384
- borderRadius: "md",
2385
- color: "text",
2386
- pt: "8px !important",
2387
- pr: "12px !important",
2388
- pb: "8px !important",
2389
- pl: "12px !important",
2390
- width: "inherit"
2391
- },
2392
- title: {
2393
- alignItems: "center",
2394
- display: "flex"
2395
- }
2396
- },
2397
- variants: {
2398
- variant: ce,
2399
- hideIcon: {
2400
- true: {
2401
- root: {
2402
- gap: 0
2403
- }
2404
- },
2405
- false: {
2406
- root: {
2407
- gap: 2
2408
- }
2409
- }
2410
- },
2411
- onContrast: {
2412
- true: {},
2413
- false: {}
2414
- }
2415
- },
2416
- defaultVariants: {
2417
- variant: "success",
2418
- hideIcon: !1,
2419
- onContrast: !1
2420
- },
2421
- compoundVariants: [
2422
- {
2423
- onContrast: !0,
2424
- variant: "default",
2425
- css: { root: { bgColor: "background.contrast", color: "text.contrast" } }
2426
- },
2427
- {
2428
- onContrast: !0,
2429
- variant: "error",
2430
- css: {
2431
- root: { bgColor: "background.danger.contrast", color: "text.contrast" }
2432
- }
2433
- },
2434
- {
2435
- onContrast: !0,
2436
- variant: "info",
2437
- css: { root: { bgColor: "background.contrast", color: "text.contrast" } }
2438
- },
2439
- {
2440
- onContrast: !0,
2441
- variant: "success",
2442
- css: {
2443
- root: {
2444
- bgColor: "background.success.contrast",
2445
- color: "text.contrast"
2446
- }
2447
- }
2448
- },
2449
- {
2450
- onContrast: !0,
2451
- variant: "warning",
2452
- css: {
2453
- root: {
2454
- bgColor: "background.warning.contrast",
2455
- color: "text.contrast"
2456
- }
2457
- }
2458
- }
2459
- ]
2460
- }), ie = c({
2461
- slots: [
2462
- "root",
2463
- "backdrop",
2464
- "positioner",
2465
- "content",
2466
- "closeTrigger",
2467
- "header",
2468
- "title",
2469
- "body",
2470
- "footer",
2471
- "actionTrigger"
2472
- ],
2473
- base: {
2474
- backdrop: {
2475
- transition: "background 0.7s ease-in-out"
2476
- },
2477
- body: {
2478
- pb: 3,
2479
- pt: 0
2480
- },
2481
- content: {
2482
- transition: "all 0.7s ease-in-out"
2483
- },
2484
- footer: {
2485
- pt: 3,
2486
- pb: 6
2487
- },
2488
- header: {
2489
- maxW: "85%",
2490
- py: 3
2491
- }
2492
- },
2493
- variants: {
2494
- expanded: {
2495
- true: {
2496
- backdrop: {
2497
- background: "{colors.neutral.100}"
2498
- },
2499
- content: {
2500
- borderRadius: "none",
2501
- minH: "100%",
2502
- minW: "650px"
2503
- }
2504
- },
2505
- false: {
2506
- backdrop: {
2507
- background: "{colors.blackAlpha.600}"
2508
- },
2509
- content: {
2510
- minH: "100px",
2511
- minW: "300px"
2512
- }
2513
- }
2514
- }
2515
- },
2516
- defaultVariants: {}
2517
- }), be = $({
2518
- theme: {
2519
- tokens: {
2520
- blurs: J,
2521
- borders: Z,
2522
- colors: rr,
2523
- durations: hr,
2524
- easings: vr,
2525
- letterSpacings: ir,
2526
- lineHeights: lr,
2527
- fonts: sr,
2528
- fontSizes: dr,
2529
- fontWeights: cr,
2530
- radii: q,
2531
- shadows: or,
2532
- sizes: nr,
2533
- spacing: gr,
2534
- zIndex: mr
2535
- },
2536
- semanticTokens: {
2537
- colors: Ar
2538
- },
2539
- recipes: {
2540
- button: E,
2541
- heading: zr,
2542
- iconButton: E,
2543
- input: L,
2544
- link: Tr,
2545
- text: Sr,
2546
- textarea: L
2547
- },
2548
- slotRecipes: {
2549
- avatar: ae,
2550
- checkbox: Gr,
2551
- radioGroup: Nr,
2552
- switch: Zr,
2553
- tabs: re,
2554
- tag: Br,
2555
- popover: S,
2556
- hoverCard: S,
2557
- menu: ne,
2558
- select: se,
2559
- alert: le,
2560
- dialog: ie
2561
- }
2562
- },
2563
- globalCss: {
2564
- "button:focus-visible, button[data-focus-visible]": {
2565
- outline: "none !important",
2566
- boxShadow: "none !important"
2567
- },
2568
- "html, body": {
2569
- color: "text"
2570
- }
2571
- }
2572
- }), ge = O(j, be), fe = ({
2573
- customTheme: t,
2574
- children: b,
2575
- ...g
2576
- }) => /* @__PURE__ */ p.jsxs(G, { value: t ?? ge, children: [
2577
- /* @__PURE__ */ p.jsx(
2578
- M,
2579
- {
2580
- styles: `
2581
- @import url("https://use.typekit.net/wtr4buu.css");
2582
- @font-face {
2583
- font-family: "aktiv-grotesk", sans-serif;
2584
- font-style: normal;
2585
- font-weight: 400;
2586
- }
2587
- @font-face {
2588
- font-family: "aktiv-grotesk", sans-serif;
2589
- font-style: italic;
2590
- font-weight: 400;
2591
- }
2592
- @font-face {
2593
- font-family: "aktiv-grotesk", sans-serif;
2594
- font-style: normal;
2595
- font-weight: 600;
2596
- }
2597
- @font-face {
2598
- font-family: "aktiv-grotesk", sans-serif;
2599
- font-style: italic;
2600
- font-weight: 600;
2601
- }
2602
- `
2603
- }
2604
- ),
2605
- /* @__PURE__ */ p.jsx(Y, { ...g, children: b })
2606
- ] });
1
+ import { K as r, s as m } from "../chunks/theme.provider-tNFKZLVb.js";
2607
2
  export {
2608
- fe as KibbleThemeProvider,
2609
- ge as system
3
+ r as KibbleThemeProvider,
4
+ m as system
2610
5
  };
2611
6
  //# sourceMappingURL=theme.js.map