@televet/kibble-ui 4.0.0-beta.7 → 4.0.0-beta.70

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 (969) hide show
  1. package/README.md +40 -0
  2. package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
  3. package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
  4. package/dist/chunks/IconLogo-D8EHZ4Is.js +62 -0
  5. package/dist/chunks/IconLogo-D8EHZ4Is.js.map +1 -0
  6. package/dist/chunks/alert.types-DS2Fvjh0.js +219 -0
  7. package/dist/chunks/alert.types-DS2Fvjh0.js.map +1 -0
  8. package/dist/chunks/alert.types-Dk432DON.js +2 -0
  9. package/dist/chunks/alert.types-Dk432DON.js.map +1 -0
  10. package/dist/chunks/attr-BMs6szZx.js +2 -0
  11. package/dist/chunks/attr-BMs6szZx.js.map +1 -0
  12. package/dist/chunks/attr-sm10PXOd.js +5 -0
  13. package/dist/chunks/attr-sm10PXOd.js.map +1 -0
  14. package/dist/chunks/avatar.component-BwnT1aJb.js +2 -0
  15. package/dist/chunks/avatar.component-BwnT1aJb.js.map +1 -0
  16. package/dist/chunks/avatar.component-D8-zSaZY.js +420 -0
  17. package/dist/chunks/avatar.component-D8-zSaZY.js.map +1 -0
  18. package/dist/chunks/{avatarGroup.component-CceV-fW0.js → avatarGroup.component-CzE1Zf5a.js} +27 -28
  19. package/dist/chunks/{avatarGroup.component-CceV-fW0.js.map → avatarGroup.component-CzE1Zf5a.js.map} +1 -1
  20. package/dist/chunks/avatarGroup.component-fwQM13xU.js +2 -0
  21. package/dist/chunks/{avatarGroup.component-Q43nemix.js.map → avatarGroup.component-fwQM13xU.js.map} +1 -1
  22. package/dist/chunks/box-Baq7UBls.js +2 -0
  23. package/dist/chunks/box-Baq7UBls.js.map +1 -0
  24. package/dist/chunks/box-Ck9I7FYv.js +7 -0
  25. package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
  26. package/dist/chunks/{button.component-BtkAjIWe.js → button.component-BpF3MzbZ.js} +10 -10
  27. package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -0
  28. package/dist/chunks/button.component-Dd9AfGox.js +2 -0
  29. package/dist/chunks/button.component-Dd9AfGox.js.map +1 -0
  30. package/dist/chunks/buttonGroup.component-BxNmf9PW.js +77 -0
  31. package/dist/chunks/buttonGroup.component-BxNmf9PW.js.map +1 -0
  32. package/dist/chunks/buttonGroup.component-DjIL4l4S.js +2 -0
  33. package/dist/chunks/buttonGroup.component-DjIL4l4S.js.map +1 -0
  34. package/dist/chunks/card.component-DNX41NGG.js +59 -0
  35. package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
  36. package/dist/chunks/card.component-KNc4HKSh.js +2 -0
  37. package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
  38. package/dist/chunks/card.types-Cixp7ouC.js +5 -0
  39. package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
  40. package/dist/chunks/card.types-MvkQTTZF.js +2 -0
  41. package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
  42. package/dist/chunks/{characterCounter.component-DhiMcztY.js → characterCounter.component-Cp21TfIs.js} +14 -12
  43. package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-Cp21TfIs.js.map} +1 -1
  44. package/dist/chunks/characterCounter.component-DcA584n-.js +2 -0
  45. package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-DcA584n-.js.map} +1 -1
  46. package/dist/chunks/checkbox.component--Vmgxp-7.js +310 -0
  47. package/dist/chunks/checkbox.component--Vmgxp-7.js.map +1 -0
  48. package/dist/chunks/checkbox.component-Bh4QwJcg.js +2 -0
  49. package/dist/chunks/checkbox.component-Bh4QwJcg.js.map +1 -0
  50. package/dist/chunks/checkbox.records-4sZOXHyU.js +266 -0
  51. package/dist/chunks/checkbox.records-4sZOXHyU.js.map +1 -0
  52. package/dist/chunks/checkbox.records-DZk2IwS4.js +2 -0
  53. package/dist/chunks/checkbox.records-DZk2IwS4.js.map +1 -0
  54. package/dist/chunks/checkboxGroup.component-9ZYKl7G0.js +52 -0
  55. package/dist/chunks/{checkboxGroup.component-DcIdfbbl.js.map → checkboxGroup.component-9ZYKl7G0.js.map} +1 -1
  56. package/dist/chunks/checkboxGroup.component-DNNFSz0R.js +2 -0
  57. package/dist/chunks/{checkboxGroup.component-BYKUQW4y.js.map → checkboxGroup.component-DNNFSz0R.js.map} +1 -1
  58. package/dist/chunks/config-BFcXpdZo.js +2 -0
  59. package/dist/chunks/config-BFcXpdZo.js.map +1 -0
  60. package/dist/chunks/config-DlTdf-Yt.js +57 -0
  61. package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
  62. package/dist/chunks/conversationCard.component-DB9oGCQJ.js +2 -0
  63. package/dist/chunks/conversationCard.component-DB9oGCQJ.js.map +1 -0
  64. package/dist/chunks/{conversationCard.component-BSfDNuuw.js → conversationCard.component-Dl3nmTER.js} +51 -49
  65. package/dist/chunks/conversationCard.component-Dl3nmTER.js.map +1 -0
  66. package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
  67. package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
  68. package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
  69. package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
  70. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
  71. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
  72. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
  73. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
  74. package/dist/chunks/datePicker.component-BH4hHFlv.js +15 -0
  75. package/dist/chunks/datePicker.component-BH4hHFlv.js.map +1 -0
  76. package/dist/chunks/datePicker.component-Io1iXlpG.js +3165 -0
  77. package/dist/chunks/datePicker.component-Io1iXlpG.js.map +1 -0
  78. package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
  79. package/dist/chunks/dialog-trigger-B5NK0lr-.js.map +1 -0
  80. package/dist/chunks/dialog-trigger-BPlPzPU-.js +78 -0
  81. package/dist/chunks/dialog-trigger-BPlPzPU-.js.map +1 -0
  82. package/dist/chunks/divider.types-0j5qRXed.js +47 -0
  83. package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
  84. package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
  85. package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
  86. package/dist/chunks/empty-B5_AO6Pg.js +2 -0
  87. package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
  88. package/dist/chunks/empty-BU2EAux9.js +8 -0
  89. package/dist/chunks/empty-BU2EAux9.js.map +1 -0
  90. package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
  91. package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
  92. package/dist/chunks/factory-D6tdBUPG.js +3 -0
  93. package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
  94. package/dist/chunks/flex-D14H6HbP.js +2 -0
  95. package/dist/chunks/flex-D14H6HbP.js.map +1 -0
  96. package/dist/chunks/flex-smlF8uQG.js +40 -0
  97. package/dist/chunks/flex-smlF8uQG.js.map +1 -0
  98. package/dist/chunks/float-DYLtz2A6.js +64 -0
  99. package/dist/chunks/float-DYLtz2A6.js.map +1 -0
  100. package/dist/chunks/float-OQXnYWBw.js +2 -0
  101. package/dist/chunks/float-OQXnYWBw.js.map +1 -0
  102. package/dist/chunks/format-BRt-TIiQ.js +2 -0
  103. package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
  104. package/dist/chunks/format-DgHM6wFr.js +1275 -0
  105. package/dist/chunks/format-DgHM6wFr.js.map +1 -0
  106. package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
  107. package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
  108. package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
  109. package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
  110. package/dist/chunks/group-Cv7AQw1b.js +2 -0
  111. package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
  112. package/dist/chunks/group-DPCVolOl.js +139 -0
  113. package/dist/chunks/group-DPCVolOl.js.map +1 -0
  114. package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
  115. package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
  116. package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
  117. package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
  118. package/dist/chunks/heading.component-CDpYQCrQ.js +12 -0
  119. package/dist/chunks/heading.component-CDpYQCrQ.js.map +1 -0
  120. package/dist/chunks/heading.component-YGxay5SH.js +2 -0
  121. package/dist/chunks/heading.component-YGxay5SH.js.map +1 -0
  122. package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
  123. package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
  124. package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
  125. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
  126. package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
  127. package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
  128. package/dist/chunks/{icon.component-DjNY589M.js → icon.component-DGNCL1Yc.js} +14 -16
  129. package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
  130. package/dist/chunks/icons-BXxdrBrf.js +216 -0
  131. package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
  132. package/dist/chunks/icons-CTpAjbC-.js +2 -0
  133. package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
  134. package/dist/chunks/index-BBZxmcrY.js +2 -0
  135. package/dist/chunks/index-BBZxmcrY.js.map +1 -0
  136. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  137. package/dist/chunks/index-BDnnTdaJ.js.map +1 -0
  138. package/dist/chunks/index-BGwwyukg.js +2 -0
  139. package/dist/chunks/index-BGwwyukg.js.map +1 -0
  140. package/dist/chunks/index-BNYygzo-.js +376 -0
  141. package/dist/chunks/index-BNYygzo-.js.map +1 -0
  142. package/dist/chunks/index-BYf7SZUC.js +2 -0
  143. package/dist/chunks/index-BYf7SZUC.js.map +1 -0
  144. package/dist/chunks/index-BknUKotT.js +38 -0
  145. package/dist/chunks/index-BknUKotT.js.map +1 -0
  146. package/dist/chunks/index-C26MvkG3.js +2 -0
  147. package/dist/chunks/index-C26MvkG3.js.map +1 -0
  148. package/dist/chunks/index-C2kxTsiE.js +291 -0
  149. package/dist/chunks/index-C2kxTsiE.js.map +1 -0
  150. package/dist/chunks/index-COoMV9Mh.js +2 -0
  151. package/dist/chunks/index-COoMV9Mh.js.map +1 -0
  152. package/dist/chunks/index-CYk-7wwG.js +1018 -0
  153. package/dist/chunks/index-CYk-7wwG.js.map +1 -0
  154. package/dist/chunks/index-CZ42b9rT.js +3 -0
  155. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  156. package/dist/chunks/index-CZz7hHWb.js +2 -0
  157. package/dist/chunks/index-CZz7hHWb.js.map +1 -0
  158. package/dist/chunks/index-CgivotaP.js +20 -0
  159. package/dist/chunks/index-CgivotaP.js.map +1 -0
  160. package/dist/chunks/index-CjNAJEk5.js +6313 -0
  161. package/dist/chunks/index-CjNAJEk5.js.map +1 -0
  162. package/dist/chunks/index-CkYZf9Pm.js +2 -0
  163. package/dist/chunks/index-CkYZf9Pm.js.map +1 -0
  164. package/dist/chunks/index-Co91SHhW.js +141 -0
  165. package/dist/chunks/index-Co91SHhW.js.map +1 -0
  166. package/dist/chunks/index-D9DU-5GF.js +1196 -0
  167. package/dist/chunks/index-D9DU-5GF.js.map +1 -0
  168. package/dist/chunks/index-DAWHN3cH.js +86 -0
  169. package/dist/chunks/index-DAWHN3cH.js.map +1 -0
  170. package/dist/chunks/index-DD49WSSW.js +2 -0
  171. package/dist/chunks/index-DD49WSSW.js.map +1 -0
  172. package/dist/chunks/index-DUHFrLMI.js +389 -0
  173. package/dist/chunks/index-DUHFrLMI.js.map +1 -0
  174. package/dist/chunks/index-DcJZ8q0f.js +1190 -0
  175. package/dist/chunks/index-DcJZ8q0f.js.map +1 -0
  176. package/dist/chunks/index-MlhL0PDC.js +2 -0
  177. package/dist/chunks/index-MlhL0PDC.js.map +1 -0
  178. package/dist/chunks/index-S1uNQPZj.js +444 -0
  179. package/dist/chunks/index-S1uNQPZj.js.map +1 -0
  180. package/dist/chunks/index-UWtj4ULm.js +8 -0
  181. package/dist/chunks/index-UWtj4ULm.js.map +1 -0
  182. package/dist/chunks/index-YJ0R8Ot4.js +257 -0
  183. package/dist/chunks/index-YJ0R8Ot4.js.map +1 -0
  184. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  185. package/dist/chunks/index-ZaGEDS_0.js.map +1 -0
  186. package/dist/chunks/index-iyefwwxw.js +2 -0
  187. package/dist/chunks/index-iyefwwxw.js.map +1 -0
  188. package/dist/chunks/index-j7W9Hyzx.js +322 -0
  189. package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
  190. package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
  191. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
  192. package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
  193. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
  194. package/dist/chunks/link.component-CCFg-LIe.js +2 -0
  195. package/dist/chunks/link.component-CCFg-LIe.js.map +1 -0
  196. package/dist/chunks/link.component-DprieyUG.js +60 -0
  197. package/dist/chunks/link.component-DprieyUG.js.map +1 -0
  198. package/dist/chunks/list-C_LmDoyW.js +2 -0
  199. package/dist/chunks/list-C_LmDoyW.js.map +1 -0
  200. package/dist/chunks/list-DqH5ttQG.js +20 -0
  201. package/dist/chunks/list-DqH5ttQG.js.map +1 -0
  202. package/dist/chunks/logo.types-By8TqyNf.js +76 -0
  203. package/dist/chunks/logo.types-By8TqyNf.js.map +1 -0
  204. package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
  205. package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
  206. package/dist/chunks/menu.component-BrBufADw.js +678 -0
  207. package/dist/chunks/menu.component-BrBufADw.js.map +1 -0
  208. package/dist/chunks/menu.component-CA1R3suW.js +2 -0
  209. package/dist/chunks/menu.component-CA1R3suW.js.map +1 -0
  210. package/dist/chunks/modal.types-DMIt_b6l.js +206 -0
  211. package/dist/chunks/modal.types-DMIt_b6l.js.map +1 -0
  212. package/dist/chunks/modal.types-J-7C7HRm.js +2 -0
  213. package/dist/chunks/modal.types-J-7C7HRm.js.map +1 -0
  214. package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js → notificationCounter.component-Bei8mHSZ.js} +10 -8
  215. package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
  216. package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
  217. package/dist/chunks/{notificationCounter.component-D6v39lna.js.map → notificationCounter.component-BhZcuBmr.js.map} +1 -1
  218. package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
  219. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
  220. package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +11 -0
  221. package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +1 -0
  222. package/dist/chunks/omit-C-j4TrF5.js +10 -0
  223. package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
  224. package/dist/chunks/omit-DqNeoZ8h.js +2 -0
  225. package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
  226. package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
  227. package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
  228. package/dist/chunks/picture.component-DKbaaL64.js +35 -0
  229. package/dist/chunks/picture.component-DKbaaL64.js.map +1 -0
  230. package/dist/chunks/pinInput.types-7WPmw1uT.js +2 -0
  231. package/dist/chunks/pinInput.types-7WPmw1uT.js.map +1 -0
  232. package/dist/chunks/pinInput.types-MKrXrBGs.js +161 -0
  233. package/dist/chunks/pinInput.types-MKrXrBGs.js.map +1 -0
  234. package/dist/chunks/popover-80QH8HEJ.js +2 -0
  235. package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
  236. package/dist/chunks/popover-B9rNOU0g.js +110 -0
  237. package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
  238. package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
  239. package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
  240. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
  241. package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
  242. package/dist/chunks/popover.component-DVg1jDJP.js +322 -0
  243. package/dist/chunks/popover.component-DVg1jDJP.js.map +1 -0
  244. package/dist/chunks/popover.component-tDB4AKl6.js +2 -0
  245. package/dist/chunks/popover.component-tDB4AKl6.js.map +1 -0
  246. package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
  247. package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
  248. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  249. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  250. package/dist/chunks/provider-ClCAdPxy.js +47 -0
  251. package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
  252. package/dist/chunks/provider-NDo8kOkE.js +2 -0
  253. package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
  254. package/dist/chunks/radio.records-CvYow9QQ.js +2 -0
  255. package/dist/chunks/radio.records-CvYow9QQ.js.map +1 -0
  256. package/dist/chunks/radio.records-D4o5_F1_.js +382 -0
  257. package/dist/chunks/radio.records-D4o5_F1_.js.map +1 -0
  258. package/dist/chunks/radioGroup.component-3cpj4Fdg.js +2 -0
  259. package/dist/chunks/radioGroup.component-3cpj4Fdg.js.map +1 -0
  260. package/dist/chunks/radioGroup.component-DtUvr6xp.js +275 -0
  261. package/dist/chunks/radioGroup.component-DtUvr6xp.js.map +1 -0
  262. package/dist/chunks/ratingDots.component-6-mEjWSI.js +2 -0
  263. package/dist/chunks/{ratingDots.component-DOZX6EE0.js.map → ratingDots.component-6-mEjWSI.js.map} +1 -1
  264. package/dist/chunks/{ratingDots.component-B4OK_lXC.js → ratingDots.component-BG5YX46K.js} +31 -28
  265. package/dist/chunks/{ratingDots.component-B4OK_lXC.js.map → ratingDots.component-BG5YX46K.js.map} +1 -1
  266. package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
  267. package/dist/chunks/render-strategy-BmWbSgqh.js.map +1 -0
  268. package/dist/chunks/render-strategy-C8hwN3bm.js +12 -0
  269. package/dist/chunks/render-strategy-C8hwN3bm.js.map +1 -0
  270. package/dist/chunks/select.component-BJpvMiVS.js +391 -0
  271. package/dist/chunks/select.component-BJpvMiVS.js.map +1 -0
  272. package/dist/chunks/select.component-BoT168Vo.js +2 -0
  273. package/dist/chunks/select.component-BoT168Vo.js.map +1 -0
  274. package/dist/chunks/{dnd-DDR6viHX.js → sortableList.component-BhTdQsDy.js} +1015 -887
  275. package/dist/chunks/sortableList.component-BhTdQsDy.js.map +1 -0
  276. package/dist/chunks/sortableList.component-CVuqMmGN.js +6 -0
  277. package/dist/chunks/sortableList.component-CVuqMmGN.js.map +1 -0
  278. package/dist/chunks/spinner-BWqSIW6m.js +8 -0
  279. package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
  280. package/dist/chunks/spinner-BnpL14kK.js +2 -0
  281. package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
  282. package/dist/chunks/spinner.component-CyOYp_gK.js +2 -0
  283. package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-CyOYp_gK.js.map} +1 -1
  284. package/dist/chunks/{spinner.component-D5tkelNc.js → spinner.component-DEUk5b2t.js} +21 -19
  285. package/dist/chunks/spinner.component-DEUk5b2t.js.map +1 -0
  286. package/dist/chunks/stack-BKu3hWEQ.js +2 -0
  287. package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
  288. package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
  289. package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
  290. package/dist/chunks/styledAvatar.types-Bai06OFF.js +2 -0
  291. package/dist/chunks/styledAvatar.types-Bai06OFF.js.map +1 -0
  292. package/dist/chunks/{styledAvatar.types-CoxQchLt.js → styledAvatar.types-CjtH5RJ9.js} +3 -3
  293. package/dist/chunks/styledAvatar.types-CjtH5RJ9.js.map +1 -0
  294. package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
  295. package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
  296. package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
  297. package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
  298. package/dist/chunks/switch.component-D0LhsAtp.js +2 -0
  299. package/dist/chunks/switch.component-D0LhsAtp.js.map +1 -0
  300. package/dist/chunks/switch.component-DR68uid-.js +166 -0
  301. package/dist/chunks/switch.component-DR68uid-.js.map +1 -0
  302. package/dist/chunks/tabs.component-BOQsuw9O.js +639 -0
  303. package/dist/chunks/tabs.component-BOQsuw9O.js.map +1 -0
  304. package/dist/chunks/tabs.component-D-UJOaMx.js +2 -0
  305. package/dist/chunks/tabs.component-D-UJOaMx.js.map +1 -0
  306. package/dist/chunks/tag.component-C6a6EzZB.js +2 -0
  307. package/dist/chunks/tag.component-C6a6EzZB.js.map +1 -0
  308. package/dist/chunks/tag.component-pexJ0TAT.js +82 -0
  309. package/dist/chunks/tag.component-pexJ0TAT.js.map +1 -0
  310. package/dist/chunks/{tagBlock.component-LX4_ve_f.js → tagBlock.component-C3uXKG6W.js} +18 -17
  311. package/dist/chunks/tagBlock.component-C3uXKG6W.js.map +1 -0
  312. package/dist/chunks/tagBlock.component-De39Wv9A.js +2 -0
  313. package/dist/chunks/tagBlock.component-De39Wv9A.js.map +1 -0
  314. package/dist/chunks/text.component-BQyRxSjn.js +2 -0
  315. package/dist/chunks/text.component-BQyRxSjn.js.map +1 -0
  316. package/dist/chunks/text.component-Tqb6u7oS.js +12 -0
  317. package/dist/chunks/text.component-Tqb6u7oS.js.map +1 -0
  318. package/dist/chunks/textInput.component-BptYNPTY.js +180 -0
  319. package/dist/chunks/textInput.component-BptYNPTY.js.map +1 -0
  320. package/dist/chunks/textInput.component-D3WkCo0a.js +2 -0
  321. package/dist/chunks/textInput.component-D3WkCo0a.js.map +1 -0
  322. package/dist/chunks/textarea.component-B2A2ETCP.js +98 -0
  323. package/dist/chunks/textarea.component-B2A2ETCP.js.map +1 -0
  324. package/dist/chunks/textarea.component-BtxlhIiq.js +2 -0
  325. package/dist/chunks/textarea.component-BtxlhIiq.js.map +1 -0
  326. package/dist/chunks/{chakra-BqBkjpvZ.js → theme.provider-D7jnJHV_.js} +5139 -4299
  327. package/dist/chunks/theme.provider-D7jnJHV_.js.map +1 -0
  328. package/dist/chunks/theme.provider-Dfx-b7ns.js +26 -0
  329. package/dist/chunks/theme.provider-Dfx-b7ns.js.map +1 -0
  330. package/dist/chunks/{timePicker.component--ABdI3GF.js → timePicker.component--i9n_jD4.js} +46 -43
  331. package/dist/chunks/{timePicker.component--ABdI3GF.js.map → timePicker.component--i9n_jD4.js.map} +1 -1
  332. package/dist/chunks/timePicker.component-DkGLn9QR.js +2 -0
  333. package/dist/chunks/{timePicker.component-Dw_FjiQX.js.map → timePicker.component-DkGLn9QR.js.map} +1 -1
  334. package/dist/chunks/timeRange.component-C8a0-VjH.js +18 -0
  335. package/dist/chunks/{timeRange.component-B3OvVyo_.js.map → timeRange.component-C8a0-VjH.js.map} +1 -1
  336. package/dist/chunks/timeRange.component-D05q-kR8.js +2 -0
  337. package/dist/chunks/{timeRange.component-RLisXhuw.js.map → timeRange.component-D05q-kR8.js.map} +1 -1
  338. package/dist/chunks/timestamp.component-C10fs9xM.js +2 -0
  339. package/dist/chunks/timestamp.component-C10fs9xM.js.map +1 -0
  340. package/dist/chunks/timestamp.component-DNKt02wK.js +54 -0
  341. package/dist/chunks/timestamp.component-DNKt02wK.js.map +1 -0
  342. package/dist/chunks/toaster.records-BGfpUOVt.js +824 -0
  343. package/dist/chunks/toaster.records-BGfpUOVt.js.map +1 -0
  344. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  345. package/dist/chunks/toaster.records-BJo0j1IZ.js.map +1 -0
  346. package/dist/chunks/tooltip.component-C_9TdPKY.js +2 -0
  347. package/dist/chunks/tooltip.component-C_9TdPKY.js.map +1 -0
  348. package/dist/chunks/tooltip.component-D5WB93mB.js +751 -0
  349. package/dist/chunks/tooltip.component-D5WB93mB.js.map +1 -0
  350. package/dist/chunks/typography-Cqrokog3.js.map +1 -1
  351. package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
  352. package/dist/chunks/typography.records-C6G_65b4.js +2 -0
  353. package/dist/chunks/typography.records-C6G_65b4.js.map +1 -0
  354. package/dist/chunks/typography.records-jnjWfTLS.js +66 -0
  355. package/dist/chunks/typography.records-jnjWfTLS.js.map +1 -0
  356. package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
  357. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
  358. package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
  359. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
  360. package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
  361. package/dist/chunks/use-field-context--wBJQY1R.js.map +1 -0
  362. package/dist/chunks/use-field-context-B_G7Yziz.js +12 -0
  363. package/dist/chunks/use-field-context-B_G7Yziz.js.map +1 -0
  364. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  365. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
  366. package/dist/chunks/use-locale-context-D-agiW5E.js +2301 -0
  367. package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
  368. package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
  369. package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
  370. package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
  371. package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
  372. package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
  373. package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
  374. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
  375. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
  376. package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
  377. package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
  378. package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
  379. package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
  380. package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
  381. package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
  382. package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
  383. package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
  384. package/dist/chunks/withFormControl-BmNNU13g.js +376 -0
  385. package/dist/chunks/withFormControl-BmNNU13g.js.map +1 -0
  386. package/dist/chunks/withFormControl-WGwNiZnJ.js +2 -0
  387. package/dist/chunks/withFormControl-WGwNiZnJ.js.map +1 -0
  388. package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-CWtFfCrT.js} +21 -28
  389. package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-CWtFfCrT.js.map} +1 -1
  390. package/dist/chunks/withTruncation-DYrU9dhc.js +2 -0
  391. package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-DYrU9dhc.js.map} +1 -1
  392. package/dist/chunks/wrap-B8tBNeBY.js +45 -0
  393. package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
  394. package/dist/chunks/wrap-CNn1kyJX.js +2 -0
  395. package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
  396. package/dist/cjs/chakra/index.cjs +2 -0
  397. package/dist/cjs/chakra/index.cjs.map +1 -0
  398. package/dist/cjs/cli/generate-theme-types.cjs +6 -0
  399. package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
  400. package/dist/cjs/cli/postinstall.cjs +3 -0
  401. package/dist/cjs/cli/postinstall.cjs.map +1 -0
  402. package/dist/cjs/components/Alert/index.cjs +1 -1
  403. package/dist/cjs/components/Avatar/index.cjs +1 -1
  404. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  405. package/dist/cjs/components/Button/index.cjs +1 -1
  406. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  407. package/dist/cjs/components/Card/index.cjs +1 -1
  408. package/dist/cjs/components/Card/index.cjs.map +1 -1
  409. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  410. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  411. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  412. package/dist/cjs/{patterns → components}/ConversationCard/index.cjs +1 -1
  413. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  414. package/dist/cjs/components/Divider/index.cjs +2 -0
  415. package/dist/cjs/components/Heading/index.cjs +1 -1
  416. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  417. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  418. package/dist/cjs/components/Icon/index.cjs +1 -1
  419. package/dist/cjs/components/Link/index.cjs +1 -1
  420. package/dist/cjs/components/Logo/generated/index.cjs +2 -0
  421. package/dist/cjs/components/Logo/index.cjs +2 -0
  422. package/dist/cjs/components/Menu/index.cjs +1 -1
  423. package/dist/cjs/components/Modal/index.cjs +1 -1
  424. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  425. package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
  426. package/dist/cjs/components/Picture/index.cjs +1 -1
  427. package/dist/cjs/components/Picture/index.cjs.map +1 -1
  428. package/dist/cjs/components/PinInput/index.cjs +2 -0
  429. package/dist/cjs/components/Popover/index.cjs +1 -1
  430. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  431. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  432. package/dist/cjs/components/Select/index.cjs +1 -1
  433. package/dist/cjs/components/SortableList/index.cjs +1 -1
  434. package/dist/cjs/components/Spinner/index.cjs +1 -1
  435. package/dist/cjs/{patterns → components}/StyledAvatar/index.cjs +1 -1
  436. package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
  437. package/dist/cjs/components/Swatch/index.cjs +1 -1
  438. package/dist/cjs/components/Swatch/index.cjs.map +1 -1
  439. package/dist/cjs/components/Switch/index.cjs +1 -1
  440. package/dist/cjs/components/Tabs/index.cjs +1 -1
  441. package/dist/cjs/components/Tag/index.cjs +1 -1
  442. package/dist/cjs/{patterns → components}/TagBlock/index.cjs +1 -1
  443. package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
  444. package/dist/cjs/components/Text/index.cjs +1 -1
  445. package/dist/cjs/components/TextInput/index.cjs +1 -1
  446. package/dist/cjs/components/Textarea/index.cjs +1 -1
  447. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  448. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  449. package/dist/cjs/{patterns → components}/Timestamp/index.cjs +1 -1
  450. package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
  451. package/dist/cjs/components/Toast/index.cjs +2 -0
  452. package/dist/cjs/components/Toast/index.cjs.map +1 -0
  453. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  454. package/dist/cjs/components/index.cjs +1 -1
  455. package/dist/cjs/hocs/index.cjs +1 -1
  456. package/dist/cjs/hocs/index.cjs.map +1 -1
  457. package/dist/cjs/hooks/index.cjs +1 -1
  458. package/dist/cjs/hooks/index.cjs.map +1 -1
  459. package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
  460. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
  461. package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
  462. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
  463. package/dist/cjs/index.cjs +1 -1
  464. package/dist/cjs/shared/index.cjs +2 -0
  465. package/dist/cjs/shared/index.cjs.map +1 -0
  466. package/dist/cjs/shared/records/index.cjs +2 -0
  467. package/dist/cjs/shared/records/index.cjs.map +1 -0
  468. package/dist/cjs/theme/index.cjs +1 -23
  469. package/dist/cjs/theme/index.cjs.map +1 -1
  470. package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
  471. package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
  472. package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
  473. package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
  474. package/dist/cjs/theme/tokens/index.cjs +1 -1
  475. package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
  476. package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
  477. package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
  478. package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
  479. package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
  480. package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
  481. package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
  482. package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
  483. package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
  484. package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
  485. package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
  486. package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
  487. package/dist/esm/chakra/index.js +3227 -0
  488. package/dist/esm/chakra/index.js.map +1 -0
  489. package/dist/esm/cli/generate-theme-types.js +22 -0
  490. package/dist/esm/cli/generate-theme-types.js.map +1 -0
  491. package/dist/esm/cli/postinstall.js +21 -0
  492. package/dist/esm/cli/postinstall.js.map +1 -0
  493. package/dist/esm/components/Alert/index.js +3 -5
  494. package/dist/esm/components/Avatar/index.js +1 -1
  495. package/dist/esm/components/AvatarGroup/index.js +1 -1
  496. package/dist/esm/components/Button/index.js +1 -1
  497. package/dist/esm/components/ButtonGroup/index.js +1 -1
  498. package/dist/esm/components/Card/index.js +4 -5
  499. package/dist/esm/components/Card/index.js.map +1 -1
  500. package/dist/esm/components/CharacterCounter/index.js +1 -1
  501. package/dist/esm/components/Checkbox/index.js +1 -1
  502. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  503. package/dist/esm/{patterns → components}/ConversationCard/index.js +1 -1
  504. package/dist/esm/components/DatePicker/index.js +3 -4
  505. package/dist/esm/components/Divider/index.js +8 -0
  506. package/dist/esm/components/Heading/index.js +2 -4
  507. package/dist/esm/components/Heading/index.js.map +1 -1
  508. package/dist/esm/components/Icon/generated/index.js +373 -338
  509. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  510. package/dist/esm/components/Icon/index.js +4 -6
  511. package/dist/esm/components/Link/index.js +1 -1
  512. package/dist/esm/components/Logo/generated/index.js +6 -0
  513. package/dist/esm/components/Logo/index.js +7 -0
  514. package/dist/esm/components/Menu/index.js +1 -1
  515. package/dist/esm/components/Modal/index.js +1 -1
  516. package/dist/esm/components/NotificationCounter/index.js +5 -11
  517. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  518. package/dist/esm/components/Picture/index.js +1 -16
  519. package/dist/esm/components/Picture/index.js.map +1 -1
  520. package/dist/esm/components/PinInput/index.js +6 -0
  521. package/dist/esm/components/PinInput/index.js.map +1 -0
  522. package/dist/esm/components/Popover/index.js +1 -1
  523. package/dist/esm/components/RadioGroup/index.js +1 -1
  524. package/dist/esm/components/RatingDots/index.js +1 -1
  525. package/dist/esm/components/Select/index.js +1 -1
  526. package/dist/esm/components/SortableList/index.js +1 -1
  527. package/dist/esm/components/Spinner/index.js +1 -1
  528. package/dist/esm/{patterns → components}/StyledAvatar/index.js +1 -1
  529. package/dist/esm/components/StyledAvatar/index.js.map +1 -0
  530. package/dist/esm/components/Swatch/index.js +3 -62
  531. package/dist/esm/components/Swatch/index.js.map +1 -1
  532. package/dist/esm/components/Switch/index.js +1 -1
  533. package/dist/esm/components/Tabs/index.js +1 -1
  534. package/dist/esm/components/Tag/index.js +5 -6
  535. package/dist/esm/{patterns → components}/TagBlock/index.js +1 -1
  536. package/dist/esm/components/TagBlock/index.js.map +1 -0
  537. package/dist/esm/components/Text/index.js +2 -4
  538. package/dist/esm/components/Text/index.js.map +1 -1
  539. package/dist/esm/components/TextInput/index.js +2 -3
  540. package/dist/esm/components/Textarea/index.js +1 -1
  541. package/dist/esm/components/TimePicker/index.js +1 -1
  542. package/dist/esm/components/TimeRange/index.js +1 -1
  543. package/dist/esm/components/Timestamp/index.js +5 -0
  544. package/dist/esm/components/Timestamp/index.js.map +1 -0
  545. package/dist/esm/components/Toast/index.js +59 -0
  546. package/dist/esm/components/Toast/index.js.map +1 -0
  547. package/dist/esm/components/Tooltip/index.js +1 -1
  548. package/dist/esm/components/index.js +122 -111
  549. package/dist/esm/components/index.js.map +1 -1
  550. package/dist/esm/hocs/index.js +3 -35
  551. package/dist/esm/hocs/index.js.map +1 -1
  552. package/dist/esm/hooks/index.js +7 -17
  553. package/dist/esm/hooks/index.js.map +1 -1
  554. package/dist/esm/hooks/useBreakpoint/index.js +12 -0
  555. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
  556. package/dist/esm/hooks/useDeviceType/index.js +12 -0
  557. package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
  558. package/dist/esm/index.js +141 -116
  559. package/dist/esm/index.js.map +1 -1
  560. package/dist/esm/shared/index.js +9 -0
  561. package/dist/esm/shared/index.js.map +1 -0
  562. package/dist/esm/shared/records/index.js +18 -0
  563. package/dist/esm/shared/records/index.js.map +1 -0
  564. package/dist/esm/theme/index.js +3 -2477
  565. package/dist/esm/theme/index.js.map +1 -1
  566. package/dist/esm/theme/tokens/blurs/index.js +1 -13
  567. package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
  568. package/dist/esm/theme/tokens/borders/index.js +1 -22
  569. package/dist/esm/theme/tokens/borders/index.js.map +1 -1
  570. package/dist/esm/theme/tokens/index.js +2 -26
  571. package/dist/esm/theme/tokens/index.js.map +1 -1
  572. package/dist/esm/theme/tokens/shadows/index.js +1 -55
  573. package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
  574. package/dist/esm/theme/tokens/sizes/index.js +1 -28
  575. package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
  576. package/dist/esm/theme/tokens/spacing/index.js +1 -38
  577. package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
  578. package/dist/esm/theme/tokens/transitions/index.js +1 -17
  579. package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
  580. package/dist/esm/theme/tokens/typography/index.js +1 -53
  581. package/dist/esm/theme/tokens/typography/index.js.map +1 -1
  582. package/dist/esm/theme/tokens/zIndices/index.js +1 -19
  583. package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
  584. package/dist/types/chakra/index.d.ts +52 -0
  585. package/dist/types/cli/generate-theme-types.d.ts +2 -0
  586. package/dist/types/cli/postinstall.d.ts +2 -0
  587. package/dist/types/components/Alert/alert.component.d.ts +5 -13
  588. package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
  589. package/dist/types/components/Alert/index.d.ts +0 -1
  590. package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
  591. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  592. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
  593. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
  594. package/dist/types/components/Button/button.component.d.ts +2 -3
  595. package/dist/types/components/Button/button.recipe.d.ts +2 -2
  596. package/dist/types/components/Card/card.component.d.ts +1 -1
  597. package/dist/types/components/Card/index.d.ts +0 -1
  598. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  599. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
  600. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
  601. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
  602. package/dist/types/{patterns → components}/ConversationCard/conversationCard.component.d.ts +1 -1
  603. package/dist/types/components/DatePicker/index.d.ts +0 -1
  604. package/dist/types/components/Divider/divider.component.d.ts +4 -0
  605. package/dist/types/components/Divider/divider.types.d.ts +6 -0
  606. package/dist/types/components/Divider/index.d.ts +2 -0
  607. package/dist/types/components/Heading/heading.component.d.ts +1 -2
  608. package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
  609. package/dist/types/components/Heading/heading.types.d.ts +1 -1
  610. package/dist/types/components/Heading/index.d.ts +0 -1
  611. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
  612. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  613. package/dist/types/components/Icon/icon.component.d.ts +2 -3
  614. package/dist/types/components/Icon/index.d.ts +0 -1
  615. package/dist/types/components/Link/link.recipe.d.ts +1 -1
  616. package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
  617. package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
  618. package/dist/types/components/Logo/generated/index.d.ts +4 -0
  619. package/dist/types/components/Logo/index.d.ts +2 -0
  620. package/dist/types/components/Logo/logo.component.d.ts +10 -0
  621. package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
  622. package/dist/types/components/Logo/logo.types.d.ts +4 -0
  623. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +3 -2
  624. package/dist/types/components/Menu/menu.component.d.ts +1 -1
  625. package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
  626. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  627. package/dist/types/components/NotificationCounter/index.d.ts +0 -1
  628. package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
  629. package/dist/types/components/PinInput/index.d.ts +2 -0
  630. package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
  631. package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
  632. package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
  633. package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
  634. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  635. package/dist/types/components/RadioGroup/index.d.ts +1 -0
  636. package/dist/types/components/Select/select.component.d.ts +3 -0
  637. package/dist/types/components/SortableList/index.d.ts +1 -0
  638. package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
  639. package/dist/types/components/Spinner/spinner.recipe.d.ts +2 -2
  640. package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  641. package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
  642. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
  643. package/dist/types/components/Tag/index.d.ts +0 -1
  644. package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
  645. package/dist/types/{patterns → components}/TagBlock/tagBlock.component.d.ts +1 -1
  646. package/dist/types/components/Text/index.d.ts +0 -1
  647. package/dist/types/components/Text/text.component.d.ts +1 -2
  648. package/dist/types/components/Text/text.recipe.d.ts +1 -2
  649. package/dist/types/components/Text/text.types.d.ts +1 -1
  650. package/dist/types/components/TextInput/index.d.ts +0 -1
  651. package/dist/types/{patterns → components}/Timestamp/timestamp.component.d.ts +1 -1
  652. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
  653. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
  654. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
  655. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
  656. package/dist/types/components/Toast/index.d.ts +2 -0
  657. package/dist/types/components/Toast/toast.component.d.ts +14 -0
  658. package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
  659. package/dist/types/components/Toast/toast.types.d.ts +19 -0
  660. package/dist/types/components/Toast/useToast.d.ts +3 -0
  661. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
  662. package/dist/types/components/index.d.ts +9 -1
  663. package/dist/types/hocs/withFormControl/withFormControl.d.ts +2 -1
  664. package/dist/types/hooks/index.d.ts +2 -0
  665. package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
  666. package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
  667. package/dist/types/index.d.ts +2 -0
  668. package/dist/types/shared/index.d.ts +1 -0
  669. package/dist/types/shared/records/index.d.ts +1 -0
  670. package/dist/types/shared/records/status.d.ts +5 -0
  671. package/dist/types/shared/records/typography.d.ts +1 -1
  672. package/dist/types/theme/index.d.ts +2 -1
  673. package/dist/types/theme/providers/theme.provider.d.ts +2 -1
  674. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +4 -0
  675. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +8 -0
  676. package/dist/types/theme/theme.config.d.ts +1 -0
  677. package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
  678. package/dist/types/theme/tokens/blurs/index.d.ts +0 -1
  679. package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
  680. package/dist/types/theme/tokens/borders/index.d.ts +0 -1
  681. package/dist/types/theme/tokens/shadows/index.d.ts +0 -1
  682. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +11 -11
  683. package/dist/types/theme/tokens/sizes/index.d.ts +0 -1
  684. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +24 -10
  685. package/dist/types/theme/tokens/spacing/index.d.ts +0 -1
  686. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
  687. package/dist/types/theme/tokens/transitions/index.d.ts +0 -1
  688. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
  689. package/dist/types/theme/tokens/typography/index.d.ts +0 -1
  690. package/dist/types/theme/tokens/typography/typography.config.d.ts +29 -74
  691. package/dist/types/theme/tokens/zIndices/index.d.ts +0 -1
  692. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
  693. package/package.json +73 -43
  694. package/dist/chunks/alert.types-BgmtNKXK.js +0 -2
  695. package/dist/chunks/alert.types-BgmtNKXK.js.map +0 -1
  696. package/dist/chunks/alert.types-Bxdx-xbS.js +0 -172
  697. package/dist/chunks/alert.types-Bxdx-xbS.js.map +0 -1
  698. package/dist/chunks/avatar.component-BdxN6QYq.js +0 -307
  699. package/dist/chunks/avatar.component-BdxN6QYq.js.map +0 -1
  700. package/dist/chunks/avatar.component-BzPaBLJu.js +0 -2
  701. package/dist/chunks/avatar.component-BzPaBLJu.js.map +0 -1
  702. package/dist/chunks/avatarGroup.component-Q43nemix.js +0 -2
  703. package/dist/chunks/button.component-B0GkYzVz.js +0 -2
  704. package/dist/chunks/button.component-B0GkYzVz.js.map +0 -1
  705. package/dist/chunks/button.component-BtkAjIWe.js.map +0 -1
  706. package/dist/chunks/buttonGroup.component-B2VRV-q9.js +0 -2
  707. package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +0 -1
  708. package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +0 -67
  709. package/dist/chunks/buttonGroup.component-ZElXi_Hz.js.map +0 -1
  710. package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
  711. package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
  712. package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
  713. package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
  714. package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
  715. package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
  716. package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
  717. package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
  718. package/dist/chunks/checkbox.component-DCdt-YxF.js +0 -90
  719. package/dist/chunks/checkbox.component-DCdt-YxF.js.map +0 -1
  720. package/dist/chunks/checkbox.component-jiWqSWP0.js +0 -2
  721. package/dist/chunks/checkbox.component-jiWqSWP0.js.map +0 -1
  722. package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
  723. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
  724. package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
  725. package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
  726. package/dist/chunks/checkboxGroup.component-BYKUQW4y.js +0 -2
  727. package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +0 -51
  728. package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +0 -1
  729. package/dist/chunks/conversationCard.component-BcHNpQ76.js +0 -2
  730. package/dist/chunks/conversationCard.component-BcHNpQ76.js.map +0 -1
  731. package/dist/chunks/date-1NFv48Qu.js +0 -3598
  732. package/dist/chunks/date-1NFv48Qu.js.map +0 -1
  733. package/dist/chunks/date-Du64Exix.js +0 -15
  734. package/dist/chunks/date-Du64Exix.js.map +0 -1
  735. package/dist/chunks/datePicker.component-CnRDt24V.js +0 -2
  736. package/dist/chunks/datePicker.component-CnRDt24V.js.map +0 -1
  737. package/dist/chunks/datePicker.component-DubnEnlU.js +0 -750
  738. package/dist/chunks/datePicker.component-DubnEnlU.js.map +0 -1
  739. package/dist/chunks/dnd-4IMP_kRN.js +0 -6
  740. package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
  741. package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
  742. package/dist/chunks/heading.component-B8niLTxz.js +0 -10
  743. package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
  744. package/dist/chunks/heading.component-CExbjSBi.js +0 -2
  745. package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
  746. package/dist/chunks/heading.records-BaWnrbgl.js +0 -14
  747. package/dist/chunks/heading.records-BaWnrbgl.js.map +0 -1
  748. package/dist/chunks/heading.records-CbR05iL_.js +0 -2
  749. package/dist/chunks/heading.records-CbR05iL_.js.map +0 -1
  750. package/dist/chunks/icon.component-DjNY589M.js.map +0 -1
  751. package/dist/chunks/icon.component-DtX9HDyk.js +0 -2
  752. package/dist/chunks/icon.component-DtX9HDyk.js.map +0 -1
  753. package/dist/chunks/link.component-DjkiASIu.js +0 -58
  754. package/dist/chunks/link.component-DjkiASIu.js.map +0 -1
  755. package/dist/chunks/link.component-XWINESZ0.js +0 -2
  756. package/dist/chunks/link.component-XWINESZ0.js.map +0 -1
  757. package/dist/chunks/menu.component-CT28-CuT.js +0 -2
  758. package/dist/chunks/menu.component-CT28-CuT.js.map +0 -1
  759. package/dist/chunks/menu.component-gxhQh-pU.js +0 -390
  760. package/dist/chunks/menu.component-gxhQh-pU.js.map +0 -1
  761. package/dist/chunks/modal.types-CcUqszK6.js +0 -2
  762. package/dist/chunks/modal.types-CcUqszK6.js.map +0 -1
  763. package/dist/chunks/modal.types-pXkUwszR.js +0 -146
  764. package/dist/chunks/modal.types-pXkUwszR.js.map +0 -1
  765. package/dist/chunks/notificationCounter.component-D6v39lna.js +0 -2
  766. package/dist/chunks/popover.component-CnJmg9qf.js +0 -221
  767. package/dist/chunks/popover.component-CnJmg9qf.js.map +0 -1
  768. package/dist/chunks/popover.component-DdC0CY7-.js +0 -2
  769. package/dist/chunks/popover.component-DdC0CY7-.js.map +0 -1
  770. package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
  771. package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
  772. package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
  773. package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
  774. package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
  775. package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
  776. package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
  777. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
  778. package/dist/chunks/radioGroup.component-Cmi6MDqq.js +0 -2
  779. package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +0 -1
  780. package/dist/chunks/radioGroup.component-D96ItNYx.js +0 -151
  781. package/dist/chunks/radioGroup.component-D96ItNYx.js.map +0 -1
  782. package/dist/chunks/ratingDots.component-DOZX6EE0.js +0 -2
  783. package/dist/chunks/select.component-CqhmG4oz.js +0 -2
  784. package/dist/chunks/select.component-CqhmG4oz.js.map +0 -1
  785. package/dist/chunks/select.component-_JVxRL_-.js +0 -129
  786. package/dist/chunks/select.component-_JVxRL_-.js.map +0 -1
  787. package/dist/chunks/sortableList.component-BH9-C_Pe.js +0 -2
  788. package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +0 -1
  789. package/dist/chunks/sortableList.component-CdDArkRq.js +0 -145
  790. package/dist/chunks/sortableList.component-CdDArkRq.js.map +0 -1
  791. package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
  792. package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
  793. package/dist/chunks/styledAvatar.types-CMdLnJHx.js +0 -2
  794. package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +0 -1
  795. package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +0 -1
  796. package/dist/chunks/switch.component-6jkW8-JB.js +0 -2
  797. package/dist/chunks/switch.component-6jkW8-JB.js.map +0 -1
  798. package/dist/chunks/switch.component-BopLXT0i.js +0 -53
  799. package/dist/chunks/switch.component-BopLXT0i.js.map +0 -1
  800. package/dist/chunks/tabs.component-BJv145kf.js +0 -2
  801. package/dist/chunks/tabs.component-BJv145kf.js.map +0 -1
  802. package/dist/chunks/tabs.component-DTvdLvkX.js +0 -87
  803. package/dist/chunks/tabs.component-DTvdLvkX.js.map +0 -1
  804. package/dist/chunks/tag.component-DK64cZSr.js +0 -67
  805. package/dist/chunks/tag.component-DK64cZSr.js.map +0 -1
  806. package/dist/chunks/tag.component-D_hbxu6m.js +0 -2
  807. package/dist/chunks/tag.component-D_hbxu6m.js.map +0 -1
  808. package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +0 -1
  809. package/dist/chunks/tagBlock.component-a2gERgrx.js +0 -2
  810. package/dist/chunks/tagBlock.component-a2gERgrx.js.map +0 -1
  811. package/dist/chunks/text.component-CBa_saMP.js +0 -2
  812. package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
  813. package/dist/chunks/text.component-XYjOAc2s.js +0 -10
  814. package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
  815. package/dist/chunks/text.records-BK_JBYsT.js +0 -16
  816. package/dist/chunks/text.records-BK_JBYsT.js.map +0 -1
  817. package/dist/chunks/text.records-CIL3bbY0.js +0 -2
  818. package/dist/chunks/text.records-CIL3bbY0.js.map +0 -1
  819. package/dist/chunks/textInput.component-Bk7D4sbG.js +0 -99
  820. package/dist/chunks/textInput.component-Bk7D4sbG.js.map +0 -1
  821. package/dist/chunks/textInput.component-GSpfSqUc.js +0 -2
  822. package/dist/chunks/textInput.component-GSpfSqUc.js.map +0 -1
  823. package/dist/chunks/textarea.component-B8U8KcND.js +0 -2
  824. package/dist/chunks/textarea.component-B8U8KcND.js.map +0 -1
  825. package/dist/chunks/textarea.component-CT8iVuNX.js +0 -51
  826. package/dist/chunks/textarea.component-CT8iVuNX.js.map +0 -1
  827. package/dist/chunks/timePicker.component-Dw_FjiQX.js +0 -2
  828. package/dist/chunks/timeRange.component-B3OvVyo_.js +0 -17
  829. package/dist/chunks/timeRange.component-RLisXhuw.js +0 -2
  830. package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
  831. package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
  832. package/dist/chunks/timestamp.component-D764INLm.js +0 -37
  833. package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
  834. package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
  835. package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
  836. package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
  837. package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
  838. package/dist/chunks/vendor-BBfll6i3.js +0 -11757
  839. package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
  840. package/dist/chunks/vendor-D-x6W6ez.js +0 -57
  841. package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
  842. package/dist/chunks/withFormControl-B269FujS.js +0 -149
  843. package/dist/chunks/withFormControl-B269FujS.js.map +0 -1
  844. package/dist/chunks/withFormControl-Cy6Bwv0i.js +0 -2
  845. package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +0 -1
  846. package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
  847. package/dist/cjs/patterns/index.cjs +0 -2
  848. package/dist/esm/patterns/Timestamp/index.js +0 -5
  849. package/dist/esm/patterns/index.js +0 -13
  850. package/dist/esm/patterns/index.js.map +0 -1
  851. package/dist/types/components/Alert/alert.records.d.ts +0 -5
  852. package/dist/types/components/Alert/docs/alert.argTypes.d.ts +0 -5
  853. package/dist/types/components/Alert.d.ts +0 -2
  854. package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +0 -3
  855. package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +0 -3
  856. package/dist/types/components/Avatar.d.ts +0 -2
  857. package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +0 -3
  858. package/dist/types/components/AvatarGroup.d.ts +0 -2
  859. package/dist/types/components/Button/docs/button.argTypes.d.ts +0 -3
  860. package/dist/types/components/Button.d.ts +0 -2
  861. package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +0 -3
  862. package/dist/types/components/ButtonGroup.d.ts +0 -2
  863. package/dist/types/components/Card/docs/card.argTypes.d.ts +0 -3
  864. package/dist/types/components/Card.d.ts +0 -2
  865. package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +0 -3
  866. package/dist/types/components/CharacterCounter.d.ts +0 -2
  867. package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +0 -3
  868. package/dist/types/components/Checkbox.d.ts +0 -2
  869. package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +0 -3
  870. package/dist/types/components/CheckboxGroup.d.ts +0 -2
  871. package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +0 -3
  872. package/dist/types/components/DatePicker.d.ts +0 -2
  873. package/dist/types/components/Heading/docs/heading.argTypes.d.ts +0 -3
  874. package/dist/types/components/Heading.d.ts +0 -2
  875. package/dist/types/components/Icon/docs/icon.argTypes.d.ts +0 -3
  876. package/dist/types/components/Icon/generated.d.ts +0 -2
  877. package/dist/types/components/Icon.d.ts +0 -2
  878. package/dist/types/components/Link/docs/link.argTypes.d.ts +0 -5
  879. package/dist/types/components/Link.d.ts +0 -2
  880. package/dist/types/components/Menu/docs/menu.argTypes.d.ts +0 -4
  881. package/dist/types/components/Menu.d.ts +0 -2
  882. package/dist/types/components/Modal/docs/modal.argTypes.d.ts +0 -3
  883. package/dist/types/components/Modal.d.ts +0 -2
  884. package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +0 -3
  885. package/dist/types/components/NotificationCounter.d.ts +0 -2
  886. package/dist/types/components/Picture/docs/picture.argTypes.d.ts +0 -3
  887. package/dist/types/components/Picture.d.ts +0 -2
  888. package/dist/types/components/Popover/docs/popover.argTypes.d.ts +0 -3
  889. package/dist/types/components/Popover.d.ts +0 -2
  890. package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +0 -3
  891. package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +0 -3
  892. package/dist/types/components/RadioGroup.d.ts +0 -2
  893. package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +0 -3
  894. package/dist/types/components/RatingDots.d.ts +0 -2
  895. package/dist/types/components/Select/docs/select.argTypes.d.ts +0 -3
  896. package/dist/types/components/Select.d.ts +0 -2
  897. package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +0 -3
  898. package/dist/types/components/SortableList.d.ts +0 -2
  899. package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +0 -3
  900. package/dist/types/components/Spinner.d.ts +0 -2
  901. package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +0 -3
  902. package/dist/types/components/Swatch.d.ts +0 -2
  903. package/dist/types/components/Switch/docs/switch.argTypes.d.ts +0 -3
  904. package/dist/types/components/Switch.d.ts +0 -2
  905. package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +0 -3
  906. package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +0 -3
  907. package/dist/types/components/Tabs.d.ts +0 -2
  908. package/dist/types/components/Tag/docs/tag.argTypes.d.ts +0 -3
  909. package/dist/types/components/Tag.d.ts +0 -2
  910. package/dist/types/components/Text/docs/text.argTypes.d.ts +0 -3
  911. package/dist/types/components/Text.d.ts +0 -2
  912. package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +0 -3
  913. package/dist/types/components/TextInput.d.ts +0 -2
  914. package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +0 -3
  915. package/dist/types/components/Textarea.d.ts +0 -2
  916. package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +0 -3
  917. package/dist/types/components/TimePicker.d.ts +0 -2
  918. package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +0 -3
  919. package/dist/types/components/TimeRange.d.ts +0 -2
  920. package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +0 -3
  921. package/dist/types/components/Tooltip.d.ts +0 -2
  922. package/dist/types/components.d.ts +0 -2
  923. package/dist/types/hocs.d.ts +0 -2
  924. package/dist/types/hooks.d.ts +0 -2
  925. package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +0 -12
  926. package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +0 -22
  927. package/dist/types/patterns/ConversationCard.d.ts +0 -2
  928. package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +0 -3
  929. package/dist/types/patterns/StyledAvatar.d.ts +0 -2
  930. package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +0 -3
  931. package/dist/types/patterns/TagBlock.d.ts +0 -2
  932. package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +0 -3
  933. package/dist/types/patterns/Timestamp.d.ts +0 -2
  934. package/dist/types/patterns/index.d.ts +0 -4
  935. package/dist/types/patterns.d.ts +0 -2
  936. package/dist/types/shared/types.d.ts +0 -2
  937. package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +0 -7
  938. package/dist/types/theme/semanticTokens.d.ts +0 -2
  939. package/dist/types/theme/tokens/blurs.d.ts +0 -2
  940. package/dist/types/theme/tokens/borders/docs/borders.d.ts +0 -5
  941. package/dist/types/theme/tokens/borders.d.ts +0 -2
  942. package/dist/types/theme/tokens/colors.d.ts +0 -2
  943. package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +0 -6
  944. package/dist/types/theme/tokens/shadows.d.ts +0 -2
  945. package/dist/types/theme/tokens/sizes.d.ts +0 -2
  946. package/dist/types/theme/tokens/spacing.d.ts +0 -2
  947. package/dist/types/theme/tokens/transitions.d.ts +0 -2
  948. package/dist/types/theme/tokens/typography/docs/typography.d.ts +0 -2
  949. package/dist/types/theme/tokens/typography.d.ts +0 -2
  950. package/dist/types/theme/tokens/zIndices.d.ts +0 -2
  951. package/dist/types/theme/tokens.d.ts +0 -2
  952. package/dist/types/theme.d.ts +0 -2
  953. /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
  954. /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
  955. /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
  956. /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
  957. /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
  958. /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
  959. /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
  960. /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
  961. /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
  962. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  963. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  964. /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
  965. /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
  966. /package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  967. /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
  968. /package/dist/types/{patterns → components}/TagBlock/tagBlock.types.d.ts +0 -0
  969. /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.types-DMIt_b6l.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/dialog/dialog.js","../../src/components/Modal/components/ModalFooter/modalFooter.component.tsx","../../src/components/Modal/modal.component.tsx","../../src/components/Modal/modal.types.ts"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Dialog, useDialogContext } from '@ark-ui/react/dialog';\nimport { forwardRef } from 'react';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withRootProvider,\n withContext,\n useStyles: useDialogStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"dialog\" });\nconst DialogRootProvider = withRootProvider(\n Dialog.RootProvider,\n {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n }\n);\nconst DialogRoot = withRootProvider(Dialog.Root, {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n});\nconst DialogPropsProvider = PropsProvider;\nconst DialogTrigger = withContext(\n Dialog.Trigger,\n \"trigger\",\n { forwardAsChild: true }\n);\nconst DialogPositioner = withContext(Dialog.Positioner, \"positioner\", { forwardAsChild: true });\nconst DialogContent = withContext(\n Dialog.Content,\n \"content\",\n { forwardAsChild: true }\n);\nconst DialogDescription = withContext(Dialog.Description, \"description\", { forwardAsChild: true });\nconst DialogTitle = withContext(\n Dialog.Title,\n \"title\",\n { forwardAsChild: true }\n);\nconst DialogCloseTrigger = withContext(Dialog.CloseTrigger, \"closeTrigger\", { forwardAsChild: true });\nconst DialogActionTrigger = forwardRef(function DialogActionTrigger2(props, ref) {\n const dialog = useDialogContext();\n return /* @__PURE__ */ jsx(chakra.button, { ...props, ref, onClick: () => dialog.setOpen(false) });\n});\nconst DialogBackdrop = withContext(\n Dialog.Backdrop,\n \"backdrop\",\n { forwardAsChild: true }\n);\nconst DialogBody = withContext(\n \"div\",\n \"body\"\n);\nconst DialogFooter = withContext(\n \"div\",\n \"footer\"\n);\nconst DialogHeader = withContext(\n \"div\",\n \"header\"\n);\nconst DialogContext = Dialog.Context;\n\nexport { DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogContext, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogPropsProvider, DialogRoot, DialogRootProvider, DialogTitle, DialogTrigger, useDialogStyles };\n","import React from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Button } from \"components/Button/button.component\";\n\nexport interface ModalFooterProps extends Dialog.FooterProps {\n children?: React.ReactNode;\n destructive?: boolean;\n disabled?: boolean;\n hideCancel?: boolean;\n loading?: boolean;\n loadingText?: string;\n onCancel?: () => void;\n onSubmit?: () => void | Promise<void>;\n submitText?: string;\n}\n\nexport const ModalFooter = ({\n children,\n destructive,\n disabled,\n hideCancel = false,\n loading,\n loadingText,\n onCancel,\n onSubmit,\n submitText = \"Submit\",\n ...rest\n}: ModalFooterProps): React.JSX.Element => {\n return (\n <Dialog.Footer\n className=\"Modal__Footer\"\n data-testid=\"kibble-modal-footer\"\n {...rest}\n >\n {children ? (\n children\n ) : (\n <Flex alignItems=\"center\" justifyContent=\"space-between\" w=\"100%\">\n {!hideCancel && (\n <Dialog.ActionTrigger\n asChild\n className=\"Modal__CancelButton\"\n data-testid=\"kibble-modal-cancel-button\"\n >\n <Button variant=\"tertiary\" onClick={onCancel}>\n Cancel\n </Button>\n </Dialog.ActionTrigger>\n )}\n <Button\n className=\"Modal__SubmitButton\"\n data-testid=\"kibble-modal-submit-button\"\n onClick={onSubmit}\n loading={loading}\n loadingText={loadingText}\n disabled={disabled}\n variant={destructive ? \"primaryDestructive\" : \"primary\"}\n >\n {submitText}\n </Button>\n </Flex>\n )}\n </Dialog.Footer>\n );\n};\n","import React, { useRef, useState } from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Portal } from \"@chakra-ui/react/portal\";\nimport {\n ModalFooter,\n ModalFooterProps,\n} from \"./components/ModalFooter/modalFooter.component\";\nimport { Heading, HeadingProps } from \"components/Heading/heading.component\";\nimport { ModalMotionPreset, ModalPlacement, ModalSize } from \"./modal.types\";\nimport { Button } from \"components/Button/button.component\";\nimport { useBreakpointValue } from \"@chakra-ui/react\";\nimport { ModalContext } from \"./context/modal.context\";\n\nexport interface ModalProps extends Dialog.RootProps {\n footerProps?: ModalFooterProps;\n fullScreenMobile?: boolean;\n header?: React.ReactNode;\n headerProps?: HeadingProps;\n hideCloseButton?: boolean;\n hideFooter?: boolean;\n motionPreset?: ModalMotionPreset;\n placement?: ModalPlacement;\n showExpandButton?: boolean;\n size?: ModalSize;\n trigger?: React.ReactNode;\n}\n\nexport const Modal = ({\n children,\n footerProps,\n fullScreenMobile = true,\n header,\n headerProps,\n hideCloseButton = false,\n hideFooter = false,\n motionPreset = \"slide-in-bottom\",\n placement = \"center\",\n showExpandButton = false,\n size = \"md\",\n trigger,\n ...rest\n}: ModalProps): React.JSX.Element => {\n const contentRef = useRef<HTMLDivElement>(null!);\n const contextValue = { contentRef };\n const [isExpanded, setIsExpanded] = useState(false);\n const computedSize = useBreakpointValue({\n base: fullScreenMobile ? \"full\" : size,\n md: size,\n });\n\n return (\n <Dialog.Root\n motionPreset={motionPreset}\n placement={placement}\n size={computedSize}\n {...rest}\n expanded={isExpanded}\n >\n {trigger && <Dialog.Trigger asChild>{trigger}</Dialog.Trigger>}\n <Portal>\n <Dialog.Backdrop />\n <Dialog.Positioner>\n <ModalContext.Provider value={contextValue}>\n {\" \"}\n <Dialog.Content\n className=\"Modal\"\n data-testid=\"kibble-modal\"\n ref={contentRef}\n >\n {!hideCloseButton && (\n <Dialog.CloseTrigger\n asChild\n className=\"Modal__CloseButton\"\n data-testid=\"kibble-modal-close-button\"\n >\n <Button iconName=\"close\" variant=\"ghostNeutral\" />\n </Dialog.CloseTrigger>\n )}\n {showExpandButton && (\n <Button\n className=\"Modal__ExpandButton\"\n data-testid=\"kibble-modal-expand-button\"\n variant=\"ghostNeutral\"\n iconName={isExpanded ? \"arrowsIn\" : \"arrowsOut\"}\n position=\"absolute\"\n top={2}\n right={12}\n onClick={() => setIsExpanded((prev) => !prev)}\n />\n )}\n <Dialog.Header\n className=\"Modal__Header\"\n data-testid=\"kibble-modal-header\"\n >\n {header && (\n <Dialog.Title\n className=\"Modal__Title\"\n data-testid=\"kibble-modal-title\"\n asChild\n >\n {typeof header === \"string\" ? (\n <Heading size=\"xl\" {...headerProps}>\n {header}\n </Heading>\n ) : (\n header\n )}\n </Dialog.Title>\n )}\n </Dialog.Header>\n <Dialog.Body\n className=\"Modal__Body\"\n data-testid=\"kibble-modal-body\"\n >\n {children}\n </Dialog.Body>\n {!hideFooter && <ModalFooter {...footerProps} />}\n </Dialog.Content>\n </ModalContext.Provider>\n </Dialog.Positioner>\n </Portal>\n </Dialog.Root>\n );\n};\n","export const modalSizes = [\"xs\", \"sm\", \"md\", \"lg\", \"cover\", \"full\"] as const;\nexport type ModalSize = (typeof modalSizes)[number];\n\nexport const modalPlacements = [\"center\", \"top\", \"bottom\"] as const;\nexport type ModalPlacement = (typeof modalPlacements)[number];\n\nexport const modalScrollBehaviors = [\"inside\", \"outside\"] as const;\nexport type ModalScrollBehavior = (typeof modalScrollBehaviors)[number];\n\nexport const modalMotionPresets = [\n \"scale\",\n \"slide-in-bottom\",\n \"slide-in-top\",\n \"slide-in-left\",\n \"slide-in-right\",\n \"none\",\n] as const;\nexport type ModalMotionPreset = (typeof modalMotionPresets)[number];\n"],"names":["withRootProvider","withContext","createSlotRecipeContext","Dialog.RootProvider","DialogRoot","Dialog.Root","DialogTrigger","Dialog.Trigger","DialogPositioner","Dialog.Positioner","DialogContent","Dialog.Content","Dialog.Description","DialogTitle","Dialog.Title","DialogCloseTrigger","Dialog.CloseTrigger","DialogActionTrigger","forwardRef","props","ref","dialog","useDialogContext","jsx","chakra","DialogBackdrop","Dialog.Backdrop","DialogBody","DialogFooter","DialogHeader","ModalFooter","children","destructive","disabled","hideCancel","loading","loadingText","onCancel","onSubmit","submitText","rest","Dialog.Footer","jsxs","Flex","Dialog.ActionTrigger","Button","Modal","footerProps","fullScreenMobile","header","headerProps","hideCloseButton","hideFooter","motionPreset","placement","showExpandButton","size","trigger","contentRef","useRef","contextValue","isExpanded","setIsExpanded","useState","computedSize","useBreakpointValue","Portal","ModalContext","prev","Dialog.Header","Heading","Dialog.Body","modalSizes","modalPlacements","modalScrollBehaviors","modalMotionPresets"],"mappings":";;;;;;;;;;;AAQA,MAAM;AAAA,EACJ,kBAAAA;AAAA,EACA,aAAAC;AAGF,IAAIC,EAAwB,EAAE,KAAK,SAAQ,CAAE;AAClBF;AAAA,EACzBG;AAAAA,EACA;AAAA,IACE,cAAc,EAAE,eAAe,IAAM,WAAW,GAAI;AAAA,EACxD;AACA;AACA,MAAMC,IAAaJ,EAAiBK,GAAa;AAAA,EAC/C,cAAc,EAAE,eAAe,IAAM,WAAW,GAAI;AACtD,CAAC,GAEKC,IAAgBL;AAAA,EACpBM;AAAAA,EACA;AAAA,EACA,EAAE,gBAAgB,GAAI;AACxB,GACMC,IAAmBP,EAAYQ,GAAmB,cAAc,EAAE,gBAAgB,IAAM,GACxFC,IAAgBT;AAAA,EACpBU;AAAAA,EACA;AAAA,EACA,EAAE,gBAAgB,GAAI;AACxB;AAC0BV,EAAYW,GAAoB,eAAe,EAAE,gBAAgB,GAAM,CAAA;AACjG,MAAMC,IAAcZ;AAAA,EAClBa;AA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A;AAAA,YAAA;AAAA,UAChD,EAAA,CACF,EACF,CAAA;AAAA,QAAA,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GC3HayB,KAAa,CAAC,MAAM,MAAM,MAAM,MAAM,SAAS,MAAM,GAGrDC,KAAkB,CAAC,UAAU,OAAO,QAAQ,GAG5CC,KAAuB,CAAC,UAAU,SAAS,GAG3CC,KAAqB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const t=require("./jsx-runtime-BjDatQAs.js"),p=require("react"),a=require("./button.component-Dd9AfGox.js"),_=require("./flex-D14H6HbP.js"),M=require("./create-slot-recipe-context-IwVIgtBt.js"),B=require("./factory-D6tdBUPG.js"),e=require("./dialog-trigger-B5NK0lr-.js"),v=require("./heading.component-YGxay5SH.js"),w=require("./tooltip.component-C_9TdPKY.js"),y=require("./use-breakpoint-uBg4-8yY.js"),N=require("./use-locale-context-BdqHZ8L8.js"),{withRootProvider:R,withContext:o}=M.createSlotRecipeContext({key:"dialog"});R(e.DialogRootProvider,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const P=R(e.DialogRoot,{defaultProps:{unmountOnExit:!0,lazyMount:!0}}),q=o(e.DialogTrigger,"trigger",{forwardAsChild:!0}),T=o(e.DialogPositioner,"positioner",{forwardAsChild:!0}),S=o(e.DialogContent,"content",{forwardAsChild:!0});o(e.DialogDescription,"description",{forwardAsChild:!0});const A=o(e.DialogTitle,"title",{forwardAsChild:!0}),z=o(e.DialogCloseTrigger,"closeTrigger",{forwardAsChild:!0}),F=p.forwardRef(function(r,n){const s=e.useDialogContext();return t.jsxRuntimeExports.jsx(B.chakra.button,{...r,ref:n,onClick:()=>s.setOpen(!1)})}),O=o(e.DialogBackdrop,"backdrop",{forwardAsChild:!0}),H=o("div","body"),I=o("div","footer"),V=o("div","header"),L=({children:i,destructive:r,disabled:n,hideCancel:s=!1,loading:l,loadingText:d,onCancel:c,onSubmit:u,submitText:x="Submit",...m})=>t.jsxRuntimeExports.jsx(I,{className:"Modal__Footer","data-testid":"kibble-modal-footer",...m,children:i||t.jsxRuntimeExports.jsxs(_.Flex,{alignItems:"center",justifyContent:"space-between",w:"100%",children:[!s&&t.jsxRuntimeExports.jsx(F,{asChild:!0,className:"Modal__CancelButton","data-testid":"kibble-modal-cancel-button",children:t.jsxRuntimeExports.jsx(a.Button,{variant:"tertiary",onClick:c,children:"Cancel"})}),t.jsxRuntimeExports.jsx(a.Button,{className:"Modal__SubmitButton","data-testid":"kibble-modal-submit-button",onClick:u,loading:l,loadingText:d,disabled:n,variant:r?"primaryDestructive":"primary",children:x})]})}),W=({children:i,footerProps:r,fullScreenMobile:n=!0,header:s,headerProps:l,hideCloseButton:d=!1,hideFooter:c=!1,motionPreset:u="slide-in-bottom",placement:x="center",showExpandButton:m=!1,size:g="md",trigger:j,...f})=>{const b=p.useRef(null),C={contentRef:b},[h,E]=p.useState(!1),D=y.useBreakpointValue({base:n?"full":g,md:g});return t.jsxRuntimeExports.jsxs(P,{motionPreset:u,placement:x,size:D,...f,expanded:h,children:[j&&t.jsxRuntimeExports.jsx(q,{asChild:!0,children:j}),t.jsxRuntimeExports.jsxs(N.Portal,{children:[t.jsxRuntimeExports.jsx(O,{}),t.jsxRuntimeExports.jsx(T,{children:t.jsxRuntimeExports.jsxs(w.ModalContext.Provider,{value:C,children:[" ",t.jsxRuntimeExports.jsxs(S,{className:"Modal","data-testid":"kibble-modal",ref:b,children:[!d&&t.jsxRuntimeExports.jsx(z,{asChild:!0,className:"Modal__CloseButton","data-testid":"kibble-modal-close-button",children:t.jsxRuntimeExports.jsx(a.Button,{iconName:"close",variant:"ghostNeutral"})}),m&&t.jsxRuntimeExports.jsx(a.Button,{className:"Modal__ExpandButton","data-testid":"kibble-modal-expand-button",variant:"ghostNeutral",iconName:h?"arrowsIn":"arrowsOut",position:"absolute",top:2,right:12,onClick:()=>E(k=>!k)}),t.jsxRuntimeExports.jsx(V,{className:"Modal__Header","data-testid":"kibble-modal-header",children:s&&t.jsxRuntimeExports.jsx(A,{className:"Modal__Title","data-testid":"kibble-modal-title",asChild:!0,children:typeof s=="string"?t.jsxRuntimeExports.jsx(v.WrappedHeading,{size:"xl",...l,children:s}):s})}),t.jsxRuntimeExports.jsx(H,{className:"Modal__Body","data-testid":"kibble-modal-body",children:i}),!c&&t.jsxRuntimeExports.jsx(L,{...r})]})]})})]})]})},G=["xs","sm","md","lg","cover","full"],J=["center","top","bottom"],K=["inside","outside"],Q=["scale","slide-in-bottom","slide-in-top","slide-in-left","slide-in-right","none"];exports.Modal=W;exports.modalMotionPresets=Q;exports.modalPlacements=J;exports.modalScrollBehaviors=K;exports.modalSizes=G;
2
+ //# sourceMappingURL=modal.types-J-7C7HRm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.types-J-7C7HRm.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/dialog/dialog.js","../../src/components/Modal/components/ModalFooter/modalFooter.component.tsx","../../src/components/Modal/modal.component.tsx","../../src/components/Modal/modal.types.ts"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Dialog, useDialogContext } from '@ark-ui/react/dialog';\nimport { forwardRef } from 'react';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withRootProvider,\n withContext,\n useStyles: useDialogStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"dialog\" });\nconst DialogRootProvider = withRootProvider(\n Dialog.RootProvider,\n {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n }\n);\nconst DialogRoot = withRootProvider(Dialog.Root, {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n});\nconst DialogPropsProvider = PropsProvider;\nconst DialogTrigger = withContext(\n Dialog.Trigger,\n \"trigger\",\n { forwardAsChild: true }\n);\nconst DialogPositioner = withContext(Dialog.Positioner, \"positioner\", { forwardAsChild: true });\nconst DialogContent = withContext(\n Dialog.Content,\n \"content\",\n { forwardAsChild: true }\n);\nconst DialogDescription = withContext(Dialog.Description, \"description\", { forwardAsChild: true });\nconst DialogTitle = withContext(\n Dialog.Title,\n \"title\",\n { forwardAsChild: true }\n);\nconst DialogCloseTrigger = withContext(Dialog.CloseTrigger, \"closeTrigger\", { forwardAsChild: true });\nconst DialogActionTrigger = forwardRef(function DialogActionTrigger2(props, ref) {\n const dialog = useDialogContext();\n return /* @__PURE__ */ jsx(chakra.button, { ...props, ref, onClick: () => dialog.setOpen(false) });\n});\nconst DialogBackdrop = withContext(\n Dialog.Backdrop,\n \"backdrop\",\n { forwardAsChild: true }\n);\nconst DialogBody = withContext(\n \"div\",\n \"body\"\n);\nconst DialogFooter = withContext(\n \"div\",\n \"footer\"\n);\nconst DialogHeader = withContext(\n \"div\",\n \"header\"\n);\nconst DialogContext = Dialog.Context;\n\nexport { DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogContext, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogPropsProvider, DialogRoot, DialogRootProvider, DialogTitle, DialogTrigger, useDialogStyles };\n","import React from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Button } from \"components/Button/button.component\";\n\nexport interface ModalFooterProps extends Dialog.FooterProps {\n children?: React.ReactNode;\n destructive?: boolean;\n disabled?: boolean;\n hideCancel?: boolean;\n loading?: boolean;\n loadingText?: string;\n onCancel?: () => void;\n onSubmit?: () => void | Promise<void>;\n submitText?: string;\n}\n\nexport const ModalFooter = ({\n children,\n destructive,\n disabled,\n hideCancel = false,\n loading,\n loadingText,\n onCancel,\n onSubmit,\n submitText = \"Submit\",\n ...rest\n}: ModalFooterProps): React.JSX.Element => {\n return (\n <Dialog.Footer\n className=\"Modal__Footer\"\n data-testid=\"kibble-modal-footer\"\n {...rest}\n >\n {children ? (\n children\n ) : (\n <Flex alignItems=\"center\" justifyContent=\"space-between\" w=\"100%\">\n {!hideCancel && (\n <Dialog.ActionTrigger\n asChild\n className=\"Modal__CancelButton\"\n data-testid=\"kibble-modal-cancel-button\"\n >\n <Button variant=\"tertiary\" onClick={onCancel}>\n Cancel\n </Button>\n </Dialog.ActionTrigger>\n )}\n <Button\n className=\"Modal__SubmitButton\"\n data-testid=\"kibble-modal-submit-button\"\n onClick={onSubmit}\n loading={loading}\n loadingText={loadingText}\n disabled={disabled}\n variant={destructive ? \"primaryDestructive\" : \"primary\"}\n >\n {submitText}\n </Button>\n </Flex>\n )}\n </Dialog.Footer>\n );\n};\n","import React, { useRef, useState } from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Portal } from \"@chakra-ui/react/portal\";\nimport {\n ModalFooter,\n ModalFooterProps,\n} from \"./components/ModalFooter/modalFooter.component\";\nimport { Heading, HeadingProps } from \"components/Heading/heading.component\";\nimport { ModalMotionPreset, ModalPlacement, ModalSize } from \"./modal.types\";\nimport { Button } from \"components/Button/button.component\";\nimport { useBreakpointValue } from \"@chakra-ui/react\";\nimport { ModalContext } from \"./context/modal.context\";\n\nexport interface ModalProps extends Dialog.RootProps {\n footerProps?: ModalFooterProps;\n fullScreenMobile?: boolean;\n header?: React.ReactNode;\n headerProps?: HeadingProps;\n hideCloseButton?: boolean;\n hideFooter?: boolean;\n motionPreset?: ModalMotionPreset;\n placement?: ModalPlacement;\n showExpandButton?: boolean;\n size?: ModalSize;\n trigger?: React.ReactNode;\n}\n\nexport const Modal = ({\n children,\n footerProps,\n fullScreenMobile = true,\n header,\n headerProps,\n hideCloseButton = false,\n hideFooter = false,\n motionPreset = \"slide-in-bottom\",\n placement = \"center\",\n showExpandButton = false,\n size = \"md\",\n trigger,\n ...rest\n}: ModalProps): React.JSX.Element => {\n const contentRef = useRef<HTMLDivElement>(null!);\n const contextValue = { contentRef };\n const [isExpanded, setIsExpanded] = useState(false);\n const computedSize = useBreakpointValue({\n base: fullScreenMobile ? \"full\" : size,\n md: size,\n });\n\n return (\n <Dialog.Root\n motionPreset={motionPreset}\n placement={placement}\n size={computedSize}\n {...rest}\n expanded={isExpanded}\n >\n {trigger && <Dialog.Trigger asChild>{trigger}</Dialog.Trigger>}\n <Portal>\n <Dialog.Backdrop />\n <Dialog.Positioner>\n <ModalContext.Provider value={contextValue}>\n {\" \"}\n <Dialog.Content\n className=\"Modal\"\n data-testid=\"kibble-modal\"\n ref={contentRef}\n >\n {!hideCloseButton && (\n <Dialog.CloseTrigger\n asChild\n className=\"Modal__CloseButton\"\n data-testid=\"kibble-modal-close-button\"\n >\n <Button iconName=\"close\" variant=\"ghostNeutral\" />\n </Dialog.CloseTrigger>\n )}\n {showExpandButton && (\n <Button\n className=\"Modal__ExpandButton\"\n data-testid=\"kibble-modal-expand-button\"\n variant=\"ghostNeutral\"\n iconName={isExpanded ? \"arrowsIn\" : \"arrowsOut\"}\n position=\"absolute\"\n top={2}\n right={12}\n onClick={() => setIsExpanded((prev) => !prev)}\n />\n )}\n <Dialog.Header\n className=\"Modal__Header\"\n data-testid=\"kibble-modal-header\"\n >\n {header && (\n <Dialog.Title\n className=\"Modal__Title\"\n data-testid=\"kibble-modal-title\"\n asChild\n >\n {typeof header === \"string\" ? (\n <Heading size=\"xl\" {...headerProps}>\n {header}\n </Heading>\n ) : (\n header\n )}\n </Dialog.Title>\n )}\n </Dialog.Header>\n <Dialog.Body\n className=\"Modal__Body\"\n data-testid=\"kibble-modal-body\"\n >\n {children}\n </Dialog.Body>\n {!hideFooter && <ModalFooter {...footerProps} />}\n </Dialog.Content>\n </ModalContext.Provider>\n </Dialog.Positioner>\n </Portal>\n </Dialog.Root>\n );\n};\n","export const modalSizes = [\"xs\", \"sm\", \"md\", \"lg\", \"cover\", \"full\"] as const;\nexport type ModalSize = (typeof modalSizes)[number];\n\nexport const modalPlacements = [\"center\", \"top\", \"bottom\"] as const;\nexport type ModalPlacement = (typeof modalPlacements)[number];\n\nexport const modalScrollBehaviors = [\"inside\", \"outside\"] as const;\nexport type ModalScrollBehavior = (typeof modalScrollBehaviors)[number];\n\nexport const modalMotionPresets = [\n \"scale\",\n \"slide-in-bottom\",\n \"slide-in-top\",\n \"slide-in-left\",\n \"slide-in-right\",\n \"none\",\n] as const;\nexport type ModalMotionPreset = (typeof modalMotionPresets)[number];\n"],"names":["withRootProvider","withContext","createSlotRecipeContext","Dialog.RootProvider","DialogRoot","Dialog.Root","DialogTrigger","Dialog.Trigger","DialogPositioner","Dialog.Positioner","DialogContent","Dialog.Content","Dialog.Description","DialogTitle","Dialog.Title","DialogCloseTrigger","Dialog.CloseTrigger","DialogActionTrigger","forwardRef","props","ref","dialog","useDialogContext","jsx","chakra","DialogBackdrop","Dialog.Backdrop","DialogBody","DialogFooter","DialogHeader","ModalFooter","children","destructive","disabled","hideCancel","loading","loadingText","onCancel","onSubmit","submitText","rest","Dialog.Footer","jsxs","Flex","Dialog.ActionTrigger","Button","Modal","footerProps","fullScreenMobile","header","headerProps","hideCloseButton","hideFooter","motionPreset","placement","showExpandButton","size","trigger","contentRef","useRef","contextValue","isExpanded","setIsExpanded","useState","computedSize","useBreakpointValue","Portal","ModalContext","prev","Dialog.Header","Heading","Dialog.Body","modalSizes","modalPlacements","modalScrollBehaviors","modalMotionPresets"],"mappings":"8cAQM,CACJ,iBAAAA,EACA,YAAAC,CAGF,EAAIC,EAAuB,wBAAC,CAAE,IAAK,QAAQ,CAAE,EAClBF,EACzBG,EAAmB,mBACnB,CACE,aAAc,CAAE,cAAe,GAAM,UAAW,EAAI,CACxD,CACA,EACA,MAAMC,EAAaJ,EAAiBK,aAAa,CAC/C,aAAc,CAAE,cAAe,GAAM,UAAW,EAAI,CACtD,CAAC,EAEKC,EAAgBL,EACpBM,EAAc,cACd,UACA,CAAE,eAAgB,EAAI,CACxB,EACMC,EAAmBP,EAAYQ,EAAiB,iBAAE,aAAc,CAAE,eAAgB,GAAM,EACxFC,EAAgBT,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AAS,WACT,IAAK,EACL,MAAO,GACP,QAAS,IAAMC,EAAeM,GAAS,CAACA,CAAI,CAAA,CAC9C,EAEF7C,EAAA,kBAAA,IAAC8C,EAAA,CACC,UAAU,gBACV,cAAY,sBAEX,SACCpB,GAAA1B,EAAA,kBAAA,IAACT,EAAA,CACC,UAAU,eACV,cAAY,qBACZ,QAAO,GAEN,SAAA,OAAOmC,GAAW,SAChB1B,EAAAA,kBAAAA,IAAA+C,EAAAA,eAAA,CAAQ,KAAK,KAAM,GAAGpB,EACpB,SAAAD,CACH,CAAA,EAEAA,CAAA,CAAA,CAEJ,CAEJ,EACA1B,EAAA,kBAAA,IAACgD,EAAA,CACC,UAAU,cACV,cAAY,oBAEX,SAAAxC,CAAA,CACH,EACC,CAACqB,GAAe7B,EAAA,kBAAA,IAAAO,EAAA,CAAa,GAAGiB,CAAa,CAAA,CAAA,CAAA,CAAA,CAChD,CAAA,CACF,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,CAEJ,EC3HayB,EAAa,CAAC,KAAM,KAAM,KAAM,KAAM,QAAS,MAAM,EAGrDC,EAAkB,CAAC,SAAU,MAAO,QAAQ,EAG5CC,EAAuB,CAAC,SAAU,SAAS,EAG3CC,EAAqB,CAChC,QACA,kBACA,eACA,gBACA,iBACA,MACF","x_google_ignoreList":[0]}
@@ -1,5 +1,8 @@
1
- import { x as r } from "./vendor-BBfll6i3.js";
2
- import { r as c, y as l, B as x, F as m } from "./chakra-BqBkjpvZ.js";
1
+ import { j as r } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { a as c } from "./config-DlTdf-Yt.js";
3
+ import { u as l } from "./use-slot-recipe-DhtQ1j_5.js";
4
+ import { B as m } from "./box-Ck9I7FYv.js";
5
+ import { F as x } from "./flex-smlF8uQG.js";
3
6
  const d = ["root", "maxElement"], h = {
4
7
  blue: {
5
8
  root: {
@@ -101,15 +104,15 @@ const d = ["root", "maxElement"], h = {
101
104
  size: "md",
102
105
  variant: "red"
103
106
  }
104
- }), b = 99, E = ({
107
+ }), b = 99, k = ({
105
108
  count: t = 0,
106
109
  showCount: n = !0,
107
110
  size: o = "md",
108
111
  variant: i = "red"
109
112
  }) => {
110
- const e = l({ recipe: g })({ size: o, variant: i }), s = o !== "xs" && n, a = t > b ? /* @__PURE__ */ r.jsx(x, { css: e.maxElement }) : t > 0 && t;
113
+ const e = l({ recipe: g })({ size: o, variant: i }), s = o !== "xs" && n, a = t > b ? /* @__PURE__ */ r.jsx(m, { css: e.maxElement }) : t > 0 && t;
111
114
  return /* @__PURE__ */ r.jsx(
112
- m,
115
+ x,
113
116
  {
114
117
  className: "NotificationCounter",
115
118
  "data-testid": "kibble-notification-counter",
@@ -119,7 +122,6 @@ const d = ["root", "maxElement"], h = {
119
122
  );
120
123
  };
121
124
  export {
122
- b as M,
123
- E as N
125
+ k as N
124
126
  };
125
- //# sourceMappingURL=notificationCounter.component-DU5P6Ilh.js.map
127
+ //# sourceMappingURL=notificationCounter.component-Bei8mHSZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notificationCounter.component-DU5P6Ilh.js","sources":["../../src/components/NotificationCounter/notificationCounter.recipe.ts","../../src/components/NotificationCounter/notificationCounter.records.ts","../../src/components/NotificationCounter/notificationCounter.component.tsx"],"sourcesContent":["import {\n defineSlotRecipe,\n SystemStyleObject,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\n\nconst notificationCounterSlots = [\"root\", \"maxElement\"] as const;\ntype NotificationCounterSlot = (typeof notificationCounterSlots)[number];\n\nconst notificationCounterVariantStyles: Record<\n NotificationCounterVariant,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n blue: {\n root: {\n bgColor: \"background.accent\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n green: {\n root: {\n bgColor: \"background.success.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n neutral: {\n root: {\n bgColor: \"background.subtle.less\",\n color: \"text\",\n },\n maxElement: {\n bgColor: \"text\",\n },\n },\n red: {\n root: {\n bgColor: \"background.danger.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n};\n\nconst notificationCounterSizeStyles: Record<\n NotificationCounterSize,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n xs: {\n root: {\n fontSize: \"8px\",\n height: 3,\n width: 3,\n },\n maxElement: {\n height: \"1px\",\n width: \"1px\",\n },\n },\n sm: {\n root: { fontSize: \"10px\", height: 4, width: 4 },\n maxElement: {\n height: \"2px\",\n width: \"2px\",\n },\n },\n md: {\n root: {\n fontSize: \"xs\",\n height: 5,\n width: 5,\n },\n maxElement: {\n height: \"3px\",\n width: \"3px\",\n },\n },\n lg: {\n root: {\n fontSize: \"sm\",\n height: 6,\n width: 6,\n },\n maxElement: {\n height: 1,\n width: 1,\n },\n },\n};\n\nexport const notificationCounterRecipe = defineSlotRecipe({\n slots: notificationCounterSlots,\n base: {\n root: {\n alignItems: \"center\",\n border: \"1px\",\n borderColor: \"background\",\n borderRadius: \"full\",\n fontWeight: \"semibold\",\n justifyContent: \"center\",\n },\n maxElement: {\n borderRadius: \"full\",\n },\n },\n variants: {\n size: notificationCounterSizeStyles,\n variant: notificationCounterVariantStyles,\n },\n defaultVariants: {\n size: \"md\",\n variant: \"red\",\n },\n});\n","export const MAX_COUNT = 99;\n","import React from \"react\";\nimport { Flex, FlexProps } from \"@chakra-ui/react/flex\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { notificationCounterRecipe } from \"./notificationCounter.recipe\";\nimport { MAX_COUNT } from \"./notificationCounter.records\";\nimport { Box } from \"@chakra-ui/react/box\";\n\nexport interface NotificationCounterProps extends FlexProps {\n count?: number;\n showCount?: boolean;\n size?: NotificationCounterSize;\n variant?: NotificationCounterVariant;\n}\n\nexport const NotificationCounter = ({\n count = 0,\n showCount = true,\n size = \"md\",\n variant = \"red\",\n}: NotificationCounterProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: notificationCounterRecipe });\n const styles = recipe({ size, variant });\n const shouldShowCount = size !== \"xs\" && showCount;\n\n const counterContent =\n count > MAX_COUNT ? <Box css={styles.maxElement} /> : count > 0 && count;\n\n return (\n <Flex\n className=\"NotificationCounter\"\n data-testid=\"kibble-notification-counter\"\n css={styles.root}\n >\n {shouldShowCount && counterContent}\n </Flex>\n );\n};\n"],"names":["notificationCounterSlots","notificationCounterVariantStyles","notificationCounterSizeStyles","notificationCounterRecipe","defineSlotRecipe","MAX_COUNT","NotificationCounter","count","showCount","size","variant","styles","useSlotRecipe","shouldShowCount","counterContent","jsx","Box","Flex"],"mappings":";;AASA,MAAMA,IAA2B,CAAC,QAAQ,YAAY,GAGhDC,IAGF;AAAA,EACF,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,KAAK;AAAA,IACH,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GAEMC,IAGF;AAAA,EACF,IAAI;AAAA,IACF,MAAM;AAAA,MACJ,UAAU;AAAA,MACV,QAAQ;AAAA,MACR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,GACjCG,IAAkBJ,MAAS,QAAQD,GAEnCM,IACJP,IAAQF,IAAaU,gBAAAA,EAAAA,IAAAC,GAAA,EAAI,KAAKL,EAAO,WAAY,CAAA,IAAKJ,IAAQ,KAAKA;AAGnE,SAAAQ,gBAAAA,EAAA;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,eAAY;AAAA,MACZ,KAAKN,EAAO;AAAA,MAEX,UAAmBE,KAAAC;AAAA,IAAA;AAAA,EACtB;AAEJ;"}
1
+ {"version":3,"file":"notificationCounter.component-Bei8mHSZ.js","sources":["../../src/components/NotificationCounter/notificationCounter.recipe.ts","../../src/components/NotificationCounter/notificationCounter.records.ts","../../src/components/NotificationCounter/notificationCounter.component.tsx"],"sourcesContent":["import {\n defineSlotRecipe,\n SystemStyleObject,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\n\nconst notificationCounterSlots = [\"root\", \"maxElement\"] as const;\ntype NotificationCounterSlot = (typeof notificationCounterSlots)[number];\n\nconst notificationCounterVariantStyles: Record<\n NotificationCounterVariant,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n blue: {\n root: {\n bgColor: \"background.accent\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n green: {\n root: {\n bgColor: \"background.success.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n neutral: {\n root: {\n bgColor: \"background.subtle.less\",\n color: \"text\",\n },\n maxElement: {\n bgColor: \"text\",\n },\n },\n red: {\n root: {\n bgColor: \"background.danger.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n};\n\nconst notificationCounterSizeStyles: Record<\n NotificationCounterSize,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n xs: {\n root: {\n fontSize: \"8px\",\n height: 3,\n width: 3,\n },\n maxElement: {\n height: \"1px\",\n width: \"1px\",\n },\n },\n sm: {\n root: { fontSize: \"10px\", height: 4, width: 4 },\n maxElement: {\n height: \"2px\",\n width: \"2px\",\n },\n },\n md: {\n root: {\n fontSize: \"xs\",\n height: 5,\n width: 5,\n },\n maxElement: {\n height: \"3px\",\n width: \"3px\",\n },\n },\n lg: {\n root: {\n fontSize: \"sm\",\n height: 6,\n width: 6,\n },\n maxElement: {\n height: 1,\n width: 1,\n },\n },\n};\n\nexport const notificationCounterRecipe = defineSlotRecipe({\n slots: notificationCounterSlots,\n base: {\n root: {\n alignItems: \"center\",\n border: \"1px\",\n borderColor: \"background\",\n borderRadius: \"full\",\n fontWeight: \"semibold\",\n justifyContent: \"center\",\n },\n maxElement: {\n borderRadius: \"full\",\n },\n },\n variants: {\n size: notificationCounterSizeStyles,\n variant: notificationCounterVariantStyles,\n },\n defaultVariants: {\n size: \"md\",\n variant: \"red\",\n },\n});\n","export const MAX_COUNT = 99;\n","import React from \"react\";\nimport { Flex, FlexProps } from \"@chakra-ui/react/flex\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { notificationCounterRecipe } from \"./notificationCounter.recipe\";\nimport { MAX_COUNT } from \"./notificationCounter.records\";\nimport { Box } from \"@chakra-ui/react/box\";\n\nexport interface NotificationCounterProps extends FlexProps {\n count?: number;\n showCount?: boolean;\n size?: NotificationCounterSize;\n variant?: NotificationCounterVariant;\n}\n\nexport const NotificationCounter = ({\n count = 0,\n showCount = true,\n size = \"md\",\n variant = \"red\",\n}: NotificationCounterProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: notificationCounterRecipe });\n const styles = recipe({ size, variant });\n const shouldShowCount = size !== \"xs\" && showCount;\n\n const counterContent =\n count > MAX_COUNT ? <Box css={styles.maxElement} /> : count > 0 && count;\n\n return (\n <Flex\n className=\"NotificationCounter\"\n data-testid=\"kibble-notification-counter\"\n css={styles.root}\n >\n {shouldShowCount && counterContent}\n </Flex>\n );\n};\n"],"names":["notificationCounterSlots","notificationCounterVariantStyles","notificationCounterSizeStyles","notificationCounterRecipe","defineSlotRecipe","MAX_COUNT","NotificationCounter","count","showCount","size","variant","styles","useSlotRecipe","shouldShowCount","counterContent","jsx","Box","Flex"],"mappings":";;;;;AASA,MAAMA,IAA2B,CAAC,QAAQ,YAAY,GAGhDC,IAGF;AAAA,EACF,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,KAAK;AAAA,IACH,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GAEMC,IAGF;AAAA,EACF,IAAI;AAAA,IACF,MAAM;AAAA,MACJ,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,IAAA;AAAA,EAEX;AAAA,EACA,IAAI;AAAA,IACF,MAAM,EAAE,UAAU,QAAQ,QAAQ,GAAG,OAAO,EAAE;AAAA,IAC9C,YAAY;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,IAAA;AAAA,EAEX;AAAA,EACA,IAAI;AAAA,IACF,MAAM;AAAA,MACJ,UAAU;AAAA,MACV,QA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"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("./jsx-runtime-BjDatQAs.js"),a=require("./config-BFcXpdZo.js"),l=require("./use-slot-recipe-8liupslO.js"),x=require("./box-Baq7UBls.js"),u=require("./flex-D14H6HbP.js"),d=["root","maxElement"],m={blue:{root:{bgColor:"background.accent",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}},green:{root:{bgColor:"background.success.contrast",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}},neutral:{root:{bgColor:"background.subtle.less",color:"text"},maxElement:{bgColor:"text"}},red:{root:{bgColor:"background.danger.contrast",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}}},h={xs:{root:{fontSize:"8px",height:3,width:3},maxElement:{height:"1px",width:"1px"}},sm:{root:{fontSize:"10px",height:4,width:4},maxElement:{height:"2px",width:"2px"}},md:{root:{fontSize:"xs",height:5,width:5},maxElement:{height:"3px",width:"3px"}},lg:{root:{fontSize:"sm",height:6,width:6},maxElement:{height:1,width:1}}},g=a.defineSlotRecipe({slots:d,base:{root:{alignItems:"center",border:"1px",borderColor:"background",borderRadius:"full",fontWeight:"semibold",justifyContent:"center"},maxElement:{borderRadius:"full"}},variants:{size:h,variant:m},defaultVariants:{size:"md",variant:"red"}}),b=99,f=({count:t=0,showCount:r=!0,size:o="md",variant:i="red"})=>{const e=l.useSlotRecipe({recipe:g})({size:o,variant:i}),s=o!=="xs"&&r,c=t>b?n.jsxRuntimeExports.jsx(x.Box,{css:e.maxElement}):t>0&&t;return n.jsxRuntimeExports.jsx(u.Flex,{className:"NotificationCounter","data-testid":"kibble-notification-counter",css:e.root,children:s&&c})};exports.NotificationCounter=f;
2
+ //# sourceMappingURL=notificationCounter.component-BhZcuBmr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notificationCounter.component-D6v39lna.js","sources":["../../src/components/NotificationCounter/notificationCounter.recipe.ts","../../src/components/NotificationCounter/notificationCounter.records.ts","../../src/components/NotificationCounter/notificationCounter.component.tsx"],"sourcesContent":["import {\n defineSlotRecipe,\n SystemStyleObject,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\n\nconst notificationCounterSlots = [\"root\", \"maxElement\"] as const;\ntype NotificationCounterSlot = (typeof notificationCounterSlots)[number];\n\nconst notificationCounterVariantStyles: Record<\n NotificationCounterVariant,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n blue: {\n root: {\n bgColor: \"background.accent\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n green: {\n root: {\n bgColor: \"background.success.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n neutral: {\n root: {\n bgColor: \"background.subtle.less\",\n color: \"text\",\n },\n maxElement: {\n bgColor: \"text\",\n },\n },\n red: {\n root: {\n bgColor: \"background.danger.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n};\n\nconst notificationCounterSizeStyles: Record<\n NotificationCounterSize,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n xs: {\n root: {\n fontSize: \"8px\",\n height: 3,\n width: 3,\n },\n maxElement: {\n height: \"1px\",\n width: \"1px\",\n },\n },\n sm: {\n root: { fontSize: \"10px\", height: 4, width: 4 },\n maxElement: {\n height: \"2px\",\n width: \"2px\",\n },\n },\n md: {\n root: {\n fontSize: \"xs\",\n height: 5,\n width: 5,\n },\n maxElement: {\n height: \"3px\",\n width: \"3px\",\n },\n },\n lg: {\n root: {\n fontSize: \"sm\",\n height: 6,\n width: 6,\n },\n maxElement: {\n height: 1,\n width: 1,\n },\n },\n};\n\nexport const notificationCounterRecipe = defineSlotRecipe({\n slots: notificationCounterSlots,\n base: {\n root: {\n alignItems: \"center\",\n border: \"1px\",\n borderColor: \"background\",\n borderRadius: \"full\",\n fontWeight: \"semibold\",\n justifyContent: \"center\",\n },\n maxElement: {\n borderRadius: \"full\",\n },\n },\n variants: {\n size: notificationCounterSizeStyles,\n variant: notificationCounterVariantStyles,\n },\n defaultVariants: {\n size: \"md\",\n variant: \"red\",\n },\n});\n","export const MAX_COUNT = 99;\n","import React from \"react\";\nimport { Flex, FlexProps } from \"@chakra-ui/react/flex\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { notificationCounterRecipe } from \"./notificationCounter.recipe\";\nimport { MAX_COUNT } from \"./notificationCounter.records\";\nimport { Box } from \"@chakra-ui/react/box\";\n\nexport interface NotificationCounterProps extends FlexProps {\n count?: number;\n showCount?: boolean;\n size?: NotificationCounterSize;\n variant?: NotificationCounterVariant;\n}\n\nexport const NotificationCounter = ({\n count = 0,\n showCount = true,\n size = \"md\",\n variant = \"red\",\n}: NotificationCounterProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: notificationCounterRecipe });\n const styles = recipe({ size, variant });\n const shouldShowCount = size !== \"xs\" && showCount;\n\n const counterContent =\n count > MAX_COUNT ? <Box css={styles.maxElement} /> : count > 0 && count;\n\n return (\n <Flex\n className=\"NotificationCounter\"\n data-testid=\"kibble-notification-counter\"\n css={styles.root}\n >\n {shouldShowCount && counterContent}\n </Flex>\n );\n};\n"],"names":["notificationCounterSlots","notificationCounterVariantStyles","notificationCounterSizeStyles","notificationCounterRecipe","defineSlotRecipe","MAX_COUNT","NotificationCounter","count","showCount","size","variant","styles","useSlotRecipe","shouldShowCount","counterContent","jsx","Box","Flex"],"mappings":"uFASMA,EAA2B,CAAC,OAAQ,YAAY,EAGhDC,EAGF,CACF,KAAM,CACJ,KAAM,CACJ,QAAS,oBACT,MAAO,eACT,EACA,WAAY,CACV,QAAS,eAAA,CAEb,EACA,MAAO,CACL,KAAM,CACJ,QAAS,8BACT,MAAO,eACT,EACA,WAAY,CACV,QAAS,eAAA,CAEb,EACA,QAAS,CACP,KAAM,CACJ,QAAS,yBACT,MAAO,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Q,EAAA,kBAAA,IAACE,EAAA,KAAA,CACC,UAAU,sBACV,cAAY,8BACZ,IAAKN,EAAO,KAEX,SAAmBE,GAAAC,CAAA,CACtB,CAEJ"}
1
+ {"version":3,"file":"notificationCounter.component-BhZcuBmr.js","sources":["../../src/components/NotificationCounter/notificationCounter.recipe.ts","../../src/components/NotificationCounter/notificationCounter.records.ts","../../src/components/NotificationCounter/notificationCounter.component.tsx"],"sourcesContent":["import {\n defineSlotRecipe,\n SystemStyleObject,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\n\nconst notificationCounterSlots = [\"root\", \"maxElement\"] as const;\ntype NotificationCounterSlot = (typeof notificationCounterSlots)[number];\n\nconst notificationCounterVariantStyles: Record<\n NotificationCounterVariant,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n blue: {\n root: {\n bgColor: \"background.accent\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n green: {\n root: {\n bgColor: \"background.success.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n neutral: {\n root: {\n bgColor: \"background.subtle.less\",\n color: \"text\",\n },\n maxElement: {\n bgColor: \"text\",\n },\n },\n red: {\n root: {\n bgColor: \"background.danger.contrast\",\n color: \"text.contrast\",\n },\n maxElement: {\n bgColor: \"text.contrast\",\n },\n },\n};\n\nconst notificationCounterSizeStyles: Record<\n NotificationCounterSize,\n Record<NotificationCounterSlot, SystemStyleObject>\n> = {\n xs: {\n root: {\n fontSize: \"8px\",\n height: 3,\n width: 3,\n },\n maxElement: {\n height: \"1px\",\n width: \"1px\",\n },\n },\n sm: {\n root: { fontSize: \"10px\", height: 4, width: 4 },\n maxElement: {\n height: \"2px\",\n width: \"2px\",\n },\n },\n md: {\n root: {\n fontSize: \"xs\",\n height: 5,\n width: 5,\n },\n maxElement: {\n height: \"3px\",\n width: \"3px\",\n },\n },\n lg: {\n root: {\n fontSize: \"sm\",\n height: 6,\n width: 6,\n },\n maxElement: {\n height: 1,\n width: 1,\n },\n },\n};\n\nexport const notificationCounterRecipe = defineSlotRecipe({\n slots: notificationCounterSlots,\n base: {\n root: {\n alignItems: \"center\",\n border: \"1px\",\n borderColor: \"background\",\n borderRadius: \"full\",\n fontWeight: \"semibold\",\n justifyContent: \"center\",\n },\n maxElement: {\n borderRadius: \"full\",\n },\n },\n variants: {\n size: notificationCounterSizeStyles,\n variant: notificationCounterVariantStyles,\n },\n defaultVariants: {\n size: \"md\",\n variant: \"red\",\n },\n});\n","export const MAX_COUNT = 99;\n","import React from \"react\";\nimport { Flex, FlexProps } from \"@chakra-ui/react/flex\";\nimport {\n NotificationCounterSize,\n NotificationCounterVariant,\n} from \"./notificationCounter.types\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { notificationCounterRecipe } from \"./notificationCounter.recipe\";\nimport { MAX_COUNT } from \"./notificationCounter.records\";\nimport { Box } from \"@chakra-ui/react/box\";\n\nexport interface NotificationCounterProps extends FlexProps {\n count?: number;\n showCount?: boolean;\n size?: NotificationCounterSize;\n variant?: NotificationCounterVariant;\n}\n\nexport const NotificationCounter = ({\n count = 0,\n showCount = true,\n size = \"md\",\n variant = \"red\",\n}: NotificationCounterProps): React.JSX.Element => {\n const recipe = useSlotRecipe({ recipe: notificationCounterRecipe });\n const styles = recipe({ size, variant });\n const shouldShowCount = size !== \"xs\" && showCount;\n\n const counterContent =\n count > MAX_COUNT ? <Box css={styles.maxElement} /> : count > 0 && count;\n\n return (\n <Flex\n className=\"NotificationCounter\"\n data-testid=\"kibble-notification-counter\"\n css={styles.root}\n >\n {shouldShowCount && counterContent}\n </Flex>\n );\n};\n"],"names":["notificationCounterSlots","notificationCounterVariantStyles","notificationCounterSizeStyles","notificationCounterRecipe","defineSlotRecipe","MAX_COUNT","NotificationCounter","count","showCount","size","variant","styles","useSlotRecipe","shouldShowCount","counterContent","jsx","Box","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C,EAAU,KACZ,IAAmD,CAEjD,MAAMC,EADSC,EAAA,cAAc,CAAE,OAAQT,EAA2B,EAC5C,CAAE,KAAAM,EAAM,QAAAC,EAAS,EACjCG,EAAkBJ,IAAS,MAAQD,EAEnCM,EACJP,EAAQF,EAAaU,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,IAAKL,EAAO,UAAY,CAAA,EAAKJ,EAAQ,GAAKA,EAGnE,OAAAQ,EAAA,kBAAA,IAACE,EAAA,KAAA,CACC,UAAU,sBACV,cAAY,8BACZ,IAAKN,EAAO,KAEX,SAAmBE,GAAAC,CAAA,CACtB,CAEJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";const t=["xs","sm","md","lg"],n=["blue","green","neutral","red"];exports.notificationCounterSizes=t;exports.notificationCounterVariants=n;
2
+ //# sourceMappingURL=notificationCounter.types-B_-siNfi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationCounter.types-B_-siNfi.js","sources":["../../src/components/NotificationCounter/notificationCounter.types.ts"],"sourcesContent":["export const notificationCounterSizes = [\"xs\", \"sm\", \"md\", \"lg\"] as const;\nexport type NotificationCounterSize = (typeof notificationCounterSizes)[number];\n\nexport const notificationCounterVariants = [\n \"blue\",\n \"green\",\n \"neutral\",\n \"red\",\n] as const;\nexport type NotificationCounterVariant =\n (typeof notificationCounterVariants)[number];\n"],"names":["notificationCounterSizes","notificationCounterVariants"],"mappings":"aAAO,MAAMA,EAA2B,CAAC,KAAM,KAAM,KAAM,IAAI,EAGlDC,EAA8B,CACzC,OACA,QACA,UACA,KACF"}
@@ -0,0 +1,11 @@
1
+ const n = ["xs", "sm", "md", "lg"], t = [
2
+ "blue",
3
+ "green",
4
+ "neutral",
5
+ "red"
6
+ ];
7
+ export {
8
+ t as a,
9
+ n
10
+ };
11
+ //# sourceMappingURL=notificationCounter.types-S7ENT1Oj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationCounter.types-S7ENT1Oj.js","sources":["../../src/components/NotificationCounter/notificationCounter.types.ts"],"sourcesContent":["export const notificationCounterSizes = [\"xs\", \"sm\", \"md\", \"lg\"] as const;\nexport type NotificationCounterSize = (typeof notificationCounterSizes)[number];\n\nexport const notificationCounterVariants = [\n \"blue\",\n \"green\",\n \"neutral\",\n \"red\",\n] as const;\nexport type NotificationCounterVariant =\n (typeof notificationCounterVariants)[number];\n"],"names":["notificationCounterSizes","notificationCounterVariants"],"mappings":"AAAO,MAAMA,IAA2B,CAAC,MAAM,MAAM,MAAM,IAAI,GAGlDC,IAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
@@ -0,0 +1,10 @@
1
+ function c(n, t = []) {
2
+ const o = Object.assign({}, n);
3
+ for (const e of t)
4
+ e in o && delete o[e];
5
+ return o;
6
+ }
7
+ export {
8
+ c as o
9
+ };
10
+ //# sourceMappingURL=omit-C-j4TrF5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omit-C-j4TrF5.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/utils/omit.js"],"sourcesContent":["\"use strict\";\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone) {\n delete clone[key];\n }\n }\n return clone;\n}\n\nexport { omit };\n"],"names":["omit","object","keysToOmit","clone","key"],"mappings":"AACA,SAASA,EAAKC,GAAQC,IAAa,IAAI;AACrC,QAAMC,IAAQ,OAAO,OAAO,CAAA,GAAIF,CAAM;AACtC,aAAWG,KAAOF;AAChB,IAAIE,KAAOD,KACT,OAAOA,EAAMC,CAAG;AAGpB,SAAOD;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";function i(n,o=[]){const t=Object.assign({},n);for(const e of o)e in t&&delete t[e];return t}exports.omit=i;
2
+ //# sourceMappingURL=omit-DqNeoZ8h.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omit-DqNeoZ8h.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/utils/omit.js"],"sourcesContent":["\"use strict\";\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone) {\n delete clone[key];\n }\n }\n return clone;\n}\n\nexport { omit };\n"],"names":["omit","object","keysToOmit","clone","key"],"mappings":"aACA,SAASA,EAAKC,EAAQC,EAAa,GAAI,CACrC,MAAMC,EAAQ,OAAO,OAAO,CAAA,EAAIF,CAAM,EACtC,UAAWG,KAAOF,EACZE,KAAOD,GACT,OAAOA,EAAMC,CAAG,EAGpB,OAAOD,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const s=require("./jsx-runtime-BjDatQAs.js"),o=require("react"),r=require("./factory-D6tdBUPG.js"),u=o.forwardRef(function(t,e){const{align:i,fit:a="cover",...n}=t;return s.jsxRuntimeExports.jsx(r.chakra.img,{ref:e,objectFit:a,objectPosition:i,className:r.cx("chakra-image",t.className),...n})}),m=({src:c,webpSrc:t,...e})=>s.jsxRuntimeExports.jsx(u,{className:"Picture","data-testid":"kibble-picture",src:c,srcSet:t,...e});exports.Picture=m;
2
+ //# sourceMappingURL=picture.component-C2C2r_BU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture.component-C2C2r_BU.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/image/image.js","../../src/components/Picture/picture.component.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n","import React from \"react\";\nimport { Image, ImageProps } from \"@chakra-ui/react/image\";\n\nexport interface PictureProps extends ImageProps {\n webpSrc?: string;\n src: string;\n}\n\nexport const Picture = ({\n src,\n webpSrc,\n ...rest\n}: PictureProps): React.JSX.Element => {\n return (\n <Image\n className=\"Picture\"\n data-testid=\"kibble-picture\"\n src={src}\n srcSet={webpSrc}\n {...rest}\n />\n );\n};\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx","Picture","src","webpSrc"],"mappings":"gHAOMA,EAAQC,EAAU,WACtB,SAAgBC,EAAOC,EAAK,CAC1B,KAAM,CAAE,MAAAC,EAAO,IAAAC,EAAM,QAAS,GAAGC,CAAM,EAAGJ,EAC1C,OAAuBK,EAAG,kBAAA,IACxBC,EAAAA,OAAO,IACP,CACE,IAAAL,EACA,UAAWE,EACX,eAAgBD,EAChB,UAAWK,EAAE,GAAC,eAAgBP,EAAM,SAAS,EAC7C,GAAGI,CACX,CACK,CACL,CACA,ECbaI,EAAU,CAAC,CACtB,IAAAC,EACA,QAAAC,EACA,GAAGN,CACL,IAEIC,EAAA,kBAAA,IAACP,EAAA,CACC,UAAU,UACV,cAAY,iBACZ,IAAAW,EACA,OAAQC,EACP,GAAGN,CAAA,CACN","x_google_ignoreList":[0]}
@@ -0,0 +1,35 @@
1
+ import { j as r } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { forwardRef as o } from "react";
3
+ import { c as m, a as n } from "./factory-Ctbv0Ozn.js";
4
+ const f = o(
5
+ function(t, a) {
6
+ const { align: s, fit: c = "cover", ...i } = t;
7
+ return /* @__PURE__ */ r.jsx(
8
+ m.img,
9
+ {
10
+ ref: a,
11
+ objectFit: c,
12
+ objectPosition: s,
13
+ className: n("chakra-image", t.className),
14
+ ...i
15
+ }
16
+ );
17
+ }
18
+ ), g = ({
19
+ src: e,
20
+ webpSrc: t,
21
+ ...a
22
+ }) => /* @__PURE__ */ r.jsx(
23
+ f,
24
+ {
25
+ className: "Picture",
26
+ "data-testid": "kibble-picture",
27
+ src: e,
28
+ srcSet: t,
29
+ ...a
30
+ }
31
+ );
32
+ export {
33
+ g as P
34
+ };
35
+ //# sourceMappingURL=picture.component-DKbaaL64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture.component-DKbaaL64.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/image/image.js","../../src/components/Picture/picture.component.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n","import React from \"react\";\nimport { Image, ImageProps } from \"@chakra-ui/react/image\";\n\nexport interface PictureProps extends ImageProps {\n webpSrc?: string;\n src: string;\n}\n\nexport const Picture = ({\n src,\n webpSrc,\n ...rest\n}: PictureProps): React.JSX.Element => {\n return (\n <Image\n className=\"Picture\"\n data-testid=\"kibble-picture\"\n src={src}\n srcSet={webpSrc}\n {...rest}\n />\n );\n};\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx","Picture","src","webpSrc"],"mappings":";;;AAOA,MAAMA,IAAQC;AAAA,EACZ,SAAgBC,GAAOC,GAAK;AAC1B,UAAM,EAAE,OAAAC,GAAO,KAAAC,IAAM,SAAS,GAAGC,EAAM,IAAGJ;AAC1C,WAAuBK,gBAAAA,EAAG;AAAA,MACxBC,EAAO;AAAA,MACP;AAAA,QACE,KAAAL;AAAA,QACA,WAAWE;AAAA,QACX,gBAAgBD;AAAA,QAChB,WAAWK,EAAG,gBAAgBP,EAAM,SAAS;AAAA,QAC7C,GAAGI;AAAA,MACX;AAAA,IACK;AAAA,EACL;AACA,GCbaI,IAAU,CAAC;AAAA,EACtB,KAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGN;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACP;AAAA,EAAA;AAAA,IACC,WAAU;AAAA,IACV,eAAY;AAAA,IACZ,KAAAW;AAAA,IACA,QAAQC;AAAA,IACP,GAAGN;AAAA,EAAA;AACN;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("./jsx-runtime-BjDatQAs.js"),p=require("react"),y=require("./withFormControl-WGwNiZnJ.js"),k=require("./create-slot-recipe-context-IwVIgtBt.js"),s=require("./use-locale-context-BdqHZ8L8.js"),x=require("./use-field-context--wBJQY1R.js"),a=require("./index-CZ42b9rT.js"),m=require("./index-COoMV9Mh.js"),E=t=>t&&t.__esModule?t:{default:t},N=E(p),[I,d]=s.createContext({name:"PinInputContext",hookName:"usePinInputContext",providerName:"<PinInputProvider />"}),R=p.forwardRef((t,n)=>{const o=d(),r=a.mergeProps(o.getControlProps(),t);return i.jsxRuntimeExports.jsx(s.ark.div,{...r,ref:n})});R.displayName="PinInputControl";const f=p.forwardRef((t,n)=>{const o=d(),r=a.mergeProps(o.getHiddenInputProps(),t),e=x.useFieldContext();return i.jsxRuntimeExports.jsx(s.ark.input,{"aria-describedby":e?.ariaDescribedby,...r,ref:n})});f.displayName="PinInputHiddenInput";const C=p.forwardRef((t,n)=>{const[o,r]=s.createSplitProps()(t,["index"]),e=d(),u=a.mergeProps(e.getInputProps(o),r);return i.jsxRuntimeExports.jsx(s.ark.input,{...u,ref:n})});C.displayName="PinInputInput";const j=p.forwardRef((t,n)=>{const o=d(),r=a.mergeProps(o.getLabelProps(),t);return i.jsxRuntimeExports.jsx(s.ark.label,{...r,ref:n})});j.displayName="PinInputLabel";const _=t=>{const n=p.useId(),{getRootNode:o}=s.useEnvironmentContext(),{dir:r}=s.useLocaleContext(),e=x.useFieldContext(),u={id:n,ids:{label:e?.ids.label,hiddenInput:e?.ids.control},disabled:e?.disabled,readOnly:e?.readOnly,required:e?.required,invalid:e?.invalid,dir:r,getRootNode:o,...t},l=s.useMachine(m.machine,u);return m.connect(l,s.normalizeProps)},b=p.forwardRef((t,n)=>{const[o,r]=s.createSplitProps()(t,["autoFocus","blurOnComplete","count","defaultValue","disabled","form","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]),e=_(o),u=a.mergeProps(e.getRootProps(),r);return i.jsxRuntimeExports.jsx(I,{value:e,children:i.jsxRuntimeExports.jsx(s.ark.div,{...u,ref:n})})});b.displayName="PinInputRoot";const h=p.forwardRef((t,n)=>{const[{value:o},r]=s.createSplitProps()(t,["value"]),e=a.mergeProps(o.getRootProps(),r);return i.jsxRuntimeExports.jsx(I,{value:o,children:i.jsxRuntimeExports.jsx(s.ark.div,{...e,ref:n})})});h.displayName="PinInputRootProvider";const{withProvider:g,withContext:P}=k.createSlotRecipeContext({key:"pinInput"});g(h,"root",{forwardAsChild:!0});const q=g(b,"root",{forwardProps:["mask"],forwardAsChild:!0}),F=P(R,"control",{forwardAsChild:!0}),A=P(C,"input",{forwardAsChild:!0});P(j,"label",{forwardAsChild:!0});const $=f,H=y.withFormControl(({count:t=6,pinInputRef:n,onContrast:o=!1,otp:r=!0,size:e="md",type:u="numeric",...l})=>{const w=o?"onContrast":"default";return i.jsxRuntimeExports.jsxs(q,{className:"PinInput","data-testid":"kibble-pin-input",ref:n,variant:w,size:e,type:u,otp:r,...l,children:[i.jsxRuntimeExports.jsx($,{className:"PinInput__HiddenInput","data-testid":"kibble-pin-input-hidden-input"}),i.jsxRuntimeExports.jsx(F,{className:"PinInput__Control","data-testid":"kibble-pin-input-control",children:Array.from({length:t}).map((O,c)=>i.jsxRuntimeExports.jsx(A,{index:c,className:"PinInput__Input","data-testid":`kibble-pin-input-input-${c}`},c))})]})}),v=N.default.forwardRef((t,n)=>i.jsxRuntimeExports.jsx(H,{pinInputRef:n,...t}));v.displayName="PinInput";const L=["numeric","alphabetic","alphanumeric"];exports.WrappedPinInput=v;exports.pinInputTypes=L;
2
+ //# sourceMappingURL=pinInput.types-7WPmw1uT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinInput.types-7WPmw1uT.js","sources":["../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input-context.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-control.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-label.js","../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root-provider.js","../../node_modules/@chakra-ui/react/dist/esm/components/pin-input/pin-input.js","../../src/components/PinInput/pinInput.component.tsx","../../src/components/PinInput/pinInput.types.ts"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [PinInputProvider, usePinInputContext] = createContext({\n name: \"PinInputContext\",\n hookName: \"usePinInputContext\",\n providerName: \"<PinInputProvider />\"\n});\n\nexport { PinInputProvider, usePinInputContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputControl = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nPinInputControl.displayName = \"PinInputControl\";\n\nexport { PinInputControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputHiddenInput = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nPinInputHiddenInput.displayName = \"PinInputHiddenInput\";\n\nexport { PinInputHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputInput = forwardRef((props, ref) => {\n const [inputProps, localProps] = createSplitProps()(props, [\"index\"]);\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getInputProps(inputProps), localProps);\n return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });\n});\nPinInputInput.displayName = \"PinInputInput\";\n\nexport { PinInputInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputLabel = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref });\n});\nPinInputLabel.displayName = \"PinInputLabel\";\n\nexport { PinInputLabel };\n","'use client';\nimport * as pinInput from '@zag-js/pin-input';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst usePinInput = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n required: field?.required,\n invalid: field?.invalid,\n dir,\n getRootNode,\n ...props\n };\n const service = useMachine(pinInput.machine, machineProps);\n return pinInput.connect(service, normalizeProps);\n};\n\nexport { usePinInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInput } from './use-pin-input.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRoot = forwardRef((props, ref) => {\n const [usePinInputProps, localProps] = createSplitProps()(props, [\n \"autoFocus\",\n \"blurOnComplete\",\n \"count\",\n \"defaultValue\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"mask\",\n \"name\",\n \"onValueChange\",\n \"onValueComplete\",\n \"onValueInvalid\",\n \"otp\",\n \"pattern\",\n \"placeholder\",\n \"readOnly\",\n \"required\",\n \"selectOnFocus\",\n \"translations\",\n \"type\",\n \"value\"\n ]);\n const pinInput = usePinInput(usePinInputProps);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRoot.displayName = \"PinInputRoot\";\n\nexport { PinInputRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRootProvider = forwardRef((props, ref) => {\n const [{ value: pinInput }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRootProvider.displayName = \"PinInputRootProvider\";\n\nexport { PinInputRootProvider };\n","\"use strict\";\n\"use client\";\nimport { PinInput } from '@ark-ui/react/pin-input';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: usePinInputStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"pinInput\" });\nconst PinInputRootProvider = withProvider(PinInput.RootProvider, \"root\", { forwardAsChild: true });\nconst PinInputRoot = withProvider(\n PinInput.Root,\n \"root\",\n { forwardProps: [\"mask\"], forwardAsChild: true }\n);\nconst PinInputPropsProvider = PropsProvider;\nconst PinInputControl = withContext(PinInput.Control, \"control\", { forwardAsChild: true });\nconst PinInputInput = withContext(\n PinInput.Input,\n \"input\",\n { forwardAsChild: true }\n);\nconst PinInputLabel = withContext(\n PinInput.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst PinInputContext = PinInput.Context;\nconst PinInputHiddenInput = PinInput.HiddenInput;\n\nexport { PinInputContext, PinInputControl, PinInputHiddenInput, PinInputInput, PinInputLabel, PinInputPropsProvider, PinInputRoot, PinInputRootProvider, usePinInputStyles };\n","import React, { ForwardedRef } from \"react\";\nimport { PinInput as CPinInput } from \"@chakra-ui/react/pin-input\";\nimport {\n withFormControl,\n WithFormControlProps,\n} from \"hocs/withFormControl/withFormControl\";\n\nexport interface PinInputProps\n extends WithFormControlProps,\n Omit<CPinInput.RootProps, \"size\"> {\n count?: number;\n onContrast?: boolean;\n pinInputRef?: ForwardedRef<HTMLDivElement | null>;\n}\n\nconst PinInput = withFormControl(\n ({\n count = 6,\n pinInputRef,\n onContrast = false,\n otp = true,\n size = \"md\",\n type = \"numeric\",\n ...rest\n }: PinInputProps): React.JSX.Element => {\n const _computedVariant = onContrast ? \"onContrast\" : \"default\";\n\n return (\n <CPinInput.Root\n className=\"PinInput\"\n data-testid=\"kibble-pin-input\"\n ref={pinInputRef}\n variant={_computedVariant}\n size={size}\n type={type}\n otp={otp}\n {...rest}\n >\n <CPinInput.HiddenInput\n className=\"PinInput__HiddenInput\"\n data-testid=\"kibble-pin-input-hidden-input\"\n />\n <CPinInput.Control\n className=\"PinInput__Control\"\n data-testid=\"kibble-pin-input-control\"\n >\n {Array.from({ length: count }).map((_, index) => (\n <CPinInput.Input\n key={index}\n index={index}\n className=\"PinInput__Input\"\n data-testid={`kibble-pin-input-input-${index}`}\n />\n ))}\n </CPinInput.Control>\n </CPinInput.Root>\n );\n },\n);\n\nconst WrappedPinInput = React.forwardRef(\n (props: PinInputProps, ref: ForwardedRef<HTMLDivElement | null>) => (\n <PinInput pinInputRef={ref} {...props} />\n ),\n);\n\nWrappedPinInput.displayName = \"PinInput\";\n\nexport { WrappedPinInput as PinInput };\n","export const pinInputTypes = [\"numeric\", \"alphabetic\", \"alphanumeric\"] as const;\nexport type PinInputType = (typeof pinInputTypes)[number];\n"],"names":["PinInputProvider","usePinInputContext","createContext","PinInputControl","forwardRef","props","ref","pinInput","mergedProps","mergeProps","jsx","ark","PinInputHiddenInput","field","useFieldContext","PinInputInput","inputProps","localProps","createSplitProps","PinInputLabel","usePinInput","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","pinInput.machine","pinInput.connect","normalizeProps","PinInputRoot","usePinInputProps","PinInputRootProvider","withProvider","withContext","createSlotRecipeContext","PinInput.RootProvider","PinInput.Root","PinInput.Control","PinInput.Input","PinInput.Label","PinInput.HiddenInput","PinInput","withFormControl","count","pinInputRef","onContrast","otp","size","type","rest","_computedVariant","jsxs","CPinInput.Root","CPinInput.HiddenInput","CPinInput.Control","_","index","CPinInput.Input","WrappedPinInput","React","pinInputTypes"],"mappings":"qXAGM,CAACA,EAAkBC,CAAkB,EAAIC,gBAAc,CAC3D,KAAM,kBACN,SAAU,qBACV,aAAc,sBAChB,CAAC,ECAKC,EAAkBC,EAAU,WAAC,CAACC,EAAOC,IAAQ,CACjD,MAAMC,EAAWN,EAAoB,EAC/BO,EAAc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O,CAAA,CAE3C,EAEAyD,EAAgB,YAAc,WClEvB,MAAME,EAAgB,CAAC,UAAW,aAAc,cAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
@@ -0,0 +1,161 @@
1
+ import { j as i } from "./jsx-runtime-C5mzlN2N.js";
2
+ import N, { forwardRef as p, useId as R } from "react";
3
+ import { w } from "./withFormControl-BmNNU13g.js";
4
+ import { c as k } from "./create-slot-recipe-context-BJmsuxih.js";
5
+ import { c as _, f as a, a as m, i as A, j as H, k as O, n as V } from "./use-locale-context-D-agiW5E.js";
6
+ import { u as I } from "./use-field-context-B_G7Yziz.js";
7
+ import { Y as u } from "./index-CYk-7wwG.js";
8
+ import { m as $, c as F } from "./index-S1uNQPZj.js";
9
+ const [f, d] = _({
10
+ name: "PinInputContext",
11
+ hookName: "usePinInputContext",
12
+ providerName: "<PinInputProvider />"
13
+ }), b = p((n, t) => {
14
+ const o = d(), r = u(o.getControlProps(), n);
15
+ return /* @__PURE__ */ i.jsx(a.div, { ...r, ref: t });
16
+ });
17
+ b.displayName = "PinInputControl";
18
+ const x = p((n, t) => {
19
+ const o = d(), r = u(o.getHiddenInputProps(), n), e = I();
20
+ return /* @__PURE__ */ i.jsx(a.input, { "aria-describedby": e?.ariaDescribedby, ...r, ref: t });
21
+ });
22
+ x.displayName = "PinInputHiddenInput";
23
+ const C = p((n, t) => {
24
+ const [o, r] = m()(n, ["index"]), e = d(), s = u(e.getInputProps(o), r);
25
+ return /* @__PURE__ */ i.jsx(a.input, { ...s, ref: t });
26
+ });
27
+ C.displayName = "PinInputInput";
28
+ const h = p((n, t) => {
29
+ const o = d(), r = u(o.getLabelProps(), n);
30
+ return /* @__PURE__ */ i.jsx(a.label, { ...r, ref: t });
31
+ });
32
+ h.displayName = "PinInputLabel";
33
+ const L = (n) => {
34
+ const t = R(), { getRootNode: o } = A(), { dir: r } = H(), e = I(), s = {
35
+ id: t,
36
+ ids: {
37
+ label: e?.ids.label,
38
+ hiddenInput: e?.ids.control
39
+ },
40
+ disabled: e?.disabled,
41
+ readOnly: e?.readOnly,
42
+ required: e?.required,
43
+ invalid: e?.invalid,
44
+ dir: r,
45
+ getRootNode: o,
46
+ ...n
47
+ }, l = O($, s);
48
+ return F(l, V);
49
+ }, v = p((n, t) => {
50
+ const [o, r] = m()(n, [
51
+ "autoFocus",
52
+ "blurOnComplete",
53
+ "count",
54
+ "defaultValue",
55
+ "disabled",
56
+ "form",
57
+ "id",
58
+ "ids",
59
+ "invalid",
60
+ "mask",
61
+ "name",
62
+ "onValueChange",
63
+ "onValueComplete",
64
+ "onValueInvalid",
65
+ "otp",
66
+ "pattern",
67
+ "placeholder",
68
+ "readOnly",
69
+ "required",
70
+ "selectOnFocus",
71
+ "translations",
72
+ "type",
73
+ "value"
74
+ ]), e = L(o), s = u(e.getRootProps(), r);
75
+ return /* @__PURE__ */ i.jsx(f, { value: e, children: /* @__PURE__ */ i.jsx(a.div, { ...s, ref: t }) });
76
+ });
77
+ v.displayName = "PinInputRoot";
78
+ const g = p((n, t) => {
79
+ const [{ value: o }, r] = m()(n, ["value"]), e = u(o.getRootProps(), r);
80
+ return /* @__PURE__ */ i.jsx(f, { value: o, children: /* @__PURE__ */ i.jsx(a.div, { ...e, ref: t }) });
81
+ });
82
+ g.displayName = "PinInputRootProvider";
83
+ const {
84
+ withProvider: j,
85
+ withContext: P
86
+ } = k({ key: "pinInput" });
87
+ j(g, "root", { forwardAsChild: !0 });
88
+ const q = j(
89
+ v,
90
+ "root",
91
+ { forwardProps: ["mask"], forwardAsChild: !0 }
92
+ ), E = P(b, "control", { forwardAsChild: !0 }), S = P(
93
+ C,
94
+ "input",
95
+ { forwardAsChild: !0 }
96
+ );
97
+ P(
98
+ h,
99
+ "label",
100
+ { forwardAsChild: !0 }
101
+ );
102
+ const W = x, z = w(
103
+ ({
104
+ count: n = 6,
105
+ pinInputRef: t,
106
+ onContrast: o = !1,
107
+ otp: r = !0,
108
+ size: e = "md",
109
+ type: s = "numeric",
110
+ ...l
111
+ }) => {
112
+ const y = o ? "onContrast" : "default";
113
+ return /* @__PURE__ */ i.jsxs(
114
+ q,
115
+ {
116
+ className: "PinInput",
117
+ "data-testid": "kibble-pin-input",
118
+ ref: t,
119
+ variant: y,
120
+ size: e,
121
+ type: s,
122
+ otp: r,
123
+ ...l,
124
+ children: [
125
+ /* @__PURE__ */ i.jsx(
126
+ W,
127
+ {
128
+ className: "PinInput__HiddenInput",
129
+ "data-testid": "kibble-pin-input-hidden-input"
130
+ }
131
+ ),
132
+ /* @__PURE__ */ i.jsx(
133
+ E,
134
+ {
135
+ className: "PinInput__Control",
136
+ "data-testid": "kibble-pin-input-control",
137
+ children: Array.from({ length: n }).map((M, c) => /* @__PURE__ */ i.jsx(
138
+ S,
139
+ {
140
+ index: c,
141
+ className: "PinInput__Input",
142
+ "data-testid": `kibble-pin-input-input-${c}`
143
+ },
144
+ c
145
+ ))
146
+ }
147
+ )
148
+ ]
149
+ }
150
+ );
151
+ }
152
+ ), D = N.forwardRef(
153
+ (n, t) => /* @__PURE__ */ i.jsx(z, { pinInputRef: t, ...n })
154
+ );
155
+ D.displayName = "PinInput";
156
+ const X = ["numeric", "alphabetic", "alphanumeric"];
157
+ export {
158
+ D as W,
159
+ X as p
160
+ };
161
+ //# sourceMappingURL=pinInput.types-MKrXrBGs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinInput.types-MKrXrBGs.js","sources":["../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input-context.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-control.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-label.js","../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root-provider.js","../../node_modules/@chakra-ui/react/dist/esm/components/pin-input/pin-input.js","../../src/components/PinInput/pinInput.component.tsx","../../src/components/PinInput/pinInput.types.ts"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [PinInputProvider, usePinInputContext] = createContext({\n name: \"PinInputContext\",\n hookName: \"usePinInputContext\",\n providerName: \"<PinInputProvider />\"\n});\n\nexport { PinInputProvider, usePinInputContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputControl = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nPinInputControl.displayName = \"PinInputControl\";\n\nexport { PinInputControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputHiddenInput = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nPinInputHiddenInput.displayName = \"PinInputHiddenInput\";\n\nexport { PinInputHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputInput = forwardRef((props, ref) => {\n const [inputProps, localProps] = createSplitProps()(props, [\"index\"]);\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getInputProps(inputProps), localProps);\n return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });\n});\nPinInputInput.displayName = \"PinInputInput\";\n\nexport { PinInputInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputLabel = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref });\n});\nPinInputLabel.displayName = \"PinInputLabel\";\n\nexport { PinInputLabel };\n","'use client';\nimport * as pinInput from '@zag-js/pin-input';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst usePinInput = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n required: field?.required,\n invalid: field?.invalid,\n dir,\n getRootNode,\n ...props\n };\n const service = useMachine(pinInput.machine, machineProps);\n return pinInput.connect(service, normalizeProps);\n};\n\nexport { usePinInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInput } from './use-pin-input.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRoot = forwardRef((props, ref) => {\n const [usePinInputProps, localProps] = createSplitProps()(props, [\n \"autoFocus\",\n \"blurOnComplete\",\n \"count\",\n \"defaultValue\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"mask\",\n \"name\",\n \"onValueChange\",\n \"onValueComplete\",\n \"onValueInvalid\",\n \"otp\",\n \"pattern\",\n \"placeholder\",\n \"readOnly\",\n \"required\",\n \"selectOnFocus\",\n \"translations\",\n \"type\",\n \"value\"\n ]);\n const pinInput = usePinInput(usePinInputProps);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRoot.displayName = \"PinInputRoot\";\n\nexport { PinInputRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRootProvider = forwardRef((props, ref) => {\n const [{ value: pinInput }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRootProvider.displayName = \"PinInputRootProvider\";\n\nexport { PinInputRootProvider };\n","\"use strict\";\n\"use client\";\nimport { PinInput } from '@ark-ui/react/pin-input';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: usePinInputStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"pinInput\" });\nconst PinInputRootProvider = withProvider(PinInput.RootProvider, \"root\", { forwardAsChild: true });\nconst PinInputRoot = withProvider(\n PinInput.Root,\n \"root\",\n { forwardProps: [\"mask\"], forwardAsChild: true }\n);\nconst PinInputPropsProvider = PropsProvider;\nconst PinInputControl = withContext(PinInput.Control, \"control\", { forwardAsChild: true });\nconst PinInputInput = withContext(\n PinInput.Input,\n \"input\",\n { forwardAsChild: true }\n);\nconst PinInputLabel = withContext(\n PinInput.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst PinInputContext = PinInput.Context;\nconst PinInputHiddenInput = PinInput.HiddenInput;\n\nexport { PinInputContext, PinInputControl, PinInputHiddenInput, PinInputInput, PinInputLabel, PinInputPropsProvider, PinInputRoot, PinInputRootProvider, usePinInputStyles };\n","import React, { ForwardedRef } from \"react\";\nimport { PinInput as CPinInput } from \"@chakra-ui/react/pin-input\";\nimport {\n withFormControl,\n WithFormControlProps,\n} from \"hocs/withFormControl/withFormControl\";\n\nexport interface PinInputProps\n extends WithFormControlProps,\n Omit<CPinInput.RootProps, \"size\"> {\n count?: number;\n onContrast?: boolean;\n pinInputRef?: ForwardedRef<HTMLDivElement | null>;\n}\n\nconst PinInput = withFormControl(\n ({\n count = 6,\n pinInputRef,\n onContrast = false,\n otp = true,\n size = \"md\",\n type = \"numeric\",\n ...rest\n }: PinInputProps): React.JSX.Element => {\n const _computedVariant = onContrast ? \"onContrast\" : \"default\";\n\n return (\n <CPinInput.Root\n className=\"PinInput\"\n data-testid=\"kibble-pin-input\"\n ref={pinInputRef}\n variant={_computedVariant}\n size={size}\n type={type}\n otp={otp}\n {...rest}\n >\n <CPinInput.HiddenInput\n className=\"PinInput__HiddenInput\"\n data-testid=\"kibble-pin-input-hidden-input\"\n />\n <CPinInput.Control\n className=\"PinInput__Control\"\n data-testid=\"kibble-pin-input-control\"\n >\n {Array.from({ length: count }).map((_, index) => (\n <CPinInput.Input\n key={index}\n index={index}\n className=\"PinInput__Input\"\n data-testid={`kibble-pin-input-input-${index}`}\n />\n ))}\n </CPinInput.Control>\n </CPinInput.Root>\n );\n },\n);\n\nconst WrappedPinInput = React.forwardRef(\n (props: PinInputProps, ref: ForwardedRef<HTMLDivElement | null>) => (\n <PinInput pinInputRef={ref} {...props} />\n ),\n);\n\nWrappedPinInput.displayName = \"PinInput\";\n\nexport { WrappedPinInput as PinInput };\n","export const pinInputTypes = [\"numeric\", \"alphabetic\", \"alphanumeric\"] as const;\nexport type PinInputType = (typeof pinInputTypes)[number];\n"],"names":["PinInputProvider","usePinInputContext","createContext","PinInputControl","forwardRef","props","ref","pinInput","mergedProps","mergeProps","jsx","ark","PinInputHiddenInput","field","useFieldContext","PinInputInput","inputProps","localProps","createSplitProps","PinInputLabel","usePinInput","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","pinInput.machine","pinInput.connect","normalizeProps","PinInputRoot","usePinInputProps","PinInputRootProvider","withProvider","withContext","createSlotRecipeContext","PinInput.RootProvider","PinInput.Root","PinInput.Control","PinInput.Input","PinInput.Label","PinInput.HiddenInput","PinInput","withFormControl","count","pinInputRef","onContrast","otp","size","type","rest","_computedVariant","jsxs","CPinInput.Root","CPinInput.HiddenInput","CPinInput.Control","_","index","CPinInput.Input","WrappedPinInput","React","pinInputTypes"],"mappings":";;;;;;;;AAGA,MAAM,CAACA,GAAkBC,CAAkB,IAAIC,EAAc;AAAA,EAC3D,MAAM;AAAA,EACN,UAAU;AAAA,EACV,cAAc;AAChB,CAAC,GCAKC,IAAkBC,EAAW,CAACC,GAAOC,MAAQ;AACjD,QAAMC,IAAWN,EAAoB,GAC/BO,IAAcC,EAAWF,EAAS,gBAAe,GAAIF,CAAK;AAChE,SAAuBK,gBAAAA,EAAAA,IAAIC,EAAI,KAAK,EAAE,GAAGH,GAAa,KAAAF,GAAK;AAC7D,CAAC;AACDH,EAAgB,cAAc;ACJ9B,MAAMS,IAAsBR,EAAW,CAACC,GAAOC,MAAQ;AACrD,QAAMC,IAAWN,EAAoB,GAC/BO,IAAcC,EAAWF,EAAS,oBAAmB,GAAIF,CAAK,GAC9DQ,IAAQC,EAAiB;AAC/B,SAAuBJ,gBAAAA,EAAG,IAACC,EAAI,OAAO,EAAE,oBAAoBE,GAAO,iBAAiB,GAAGL,GAAa,KAAAF,GAAK;AAC3G,CAAC;AACDM,EAAoB,cAAc;AC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AAgB,cAAc;AClEvB,MAAME,IAAgB,CAAC,WAAW,cAAc,cAAc;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("./jsx-runtime-BjDatQAs.js"),R=require("./create-slot-recipe-context-IwVIgtBt.js"),s=require("./popover-root-provider-DAMDDAHQ.js"),P=require("react"),n=require("./use-locale-context-BdqHZ8L8.js"),v=require("./index-CZ42b9rT.js"),d=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getAnchorProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});d.displayName="PopoverAnchor";const a=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getArrowProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});a.displayName="PopoverArrow";const u=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getArrowTipProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});u.displayName="PopoverArrowTip";const g=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getDescriptionProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});g.displayName="PopoverDescription";const x=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getIndicatorProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});x.displayName="PopoverIndicator";const l=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=n.usePresenceContext(),c=v.mergeProps(o.getPositionerProps(),r);return t.unmounted?null:i.jsxRuntimeExports.jsx(n.ark.div,{...c,ref:e})});l.displayName="PopoverPositioner";const m=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=v.mergeProps(o.getTitleProps(),r);return i.jsxRuntimeExports.jsx(n.ark.div,{...t,ref:e})});m.displayName="PopoverTitle";const C=P.forwardRef((r,e)=>{const o=s.usePopoverContext(),t=n.usePresenceContext(),c=v.mergeProps({...o.getTriggerProps(),"aria-controls":t.unmounted?void 0:o.getTriggerProps()["aria-controls"]},r);return i.jsxRuntimeExports.jsx(n.ark.button,{...c,ref:e})});C.displayName="PopoverTrigger";const{withRootProvider:w,withContext:p,useStyles:A,PropsProvider:T}=R.createSlotRecipeContext({key:"popover"}),h=w(s.PopoverRootProvider),j=w(s.PopoverRoot),y=T,k=p(C,"trigger",{forwardAsChild:!0}),E=p(l,"positioner",{forwardAsChild:!0}),N=p(s.PopoverContent,"content",{forwardAsChild:!0}),f=p(u,"arrowTip",{forwardAsChild:!0}),$=p(a,"arrow",{forwardAsChild:!0,defaultProps:{children:i.jsxRuntimeExports.jsx(f,{})}}),q=p(s.PopoverCloseTrigger,"closeTrigger",{forwardAsChild:!0});p(x,"indicator",{forwardAsChild:!0});const D=p(m,"title",{forwardAsChild:!0}),S=p(g,"description",{forwardAsChild:!0}),I=p("footer","footer"),b=p("header","header"),B=p("div","body"),F=p(d,void 0,{forwardAsChild:!0}),H=s.PopoverContext;exports.PopoverAnchor=F;exports.PopoverArrow=$;exports.PopoverArrowTip=f;exports.PopoverBody=B;exports.PopoverCloseTrigger=q;exports.PopoverContent=N;exports.PopoverContext=H;exports.PopoverDescription=S;exports.PopoverFooter=I;exports.PopoverHeader=b;exports.PopoverPositioner=E;exports.PopoverPropsProvider=y;exports.PopoverRoot=j;exports.PopoverRootProvider=h;exports.PopoverTitle=D;exports.PopoverTrigger=k;exports.usePopoverStyles=A;
2
+ //# sourceMappingURL=popover-80QH8HEJ.js.map