@televet/kibble-ui 4.0.0-beta.28 → 4.0.0-beta.29

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