commerce-toolkit 0.3.0 → 0.5.0

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 (690) hide show
  1. package/dist/Combination-B_L7xrJs.js +674 -0
  2. package/dist/Combination-B_L7xrJs.js.map +1 -0
  3. package/dist/Combination-D7-DB-sH.cjs +42 -0
  4. package/dist/Combination-D7-DB-sH.cjs.map +1 -0
  5. package/dist/accordion-trigger-Bj1Laf6l.cjs +2 -0
  6. package/dist/{accordion-trigger-Bhrl2g4p.cjs.map → accordion-trigger-Bj1Laf6l.cjs.map} +1 -1
  7. package/dist/{accordion-trigger-DedSFrtg.js → accordion-trigger-Cdkd0tWD.js} +28 -26
  8. package/dist/{accordion-trigger-DedSFrtg.js.map → accordion-trigger-Cdkd0tWD.js.map} +1 -1
  9. package/dist/accordion.cjs +1 -1
  10. package/dist/accordion.js +1 -1
  11. package/dist/{alert-dismiss-DA9LNmIE.js → alert-dismiss-EYWAId7r.js} +3 -3
  12. package/dist/{alert-dismiss-DA9LNmIE.js.map → alert-dismiss-EYWAId7r.js.map} +1 -1
  13. package/dist/{alert-dismiss-10OVmm_h.cjs → alert-dismiss-m6lm9pLf.cjs} +2 -2
  14. package/dist/{alert-dismiss-10OVmm_h.cjs.map → alert-dismiss-m6lm9pLf.cjs.map} +1 -1
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.js +1 -1
  17. package/dist/{banner-dismiss-DfFezmDg.cjs → banner-dismiss-0uh1GtF1.cjs} +2 -2
  18. package/dist/{banner-dismiss-DfFezmDg.cjs.map → banner-dismiss-0uh1GtF1.cjs.map} +1 -1
  19. package/dist/{banner-dismiss-DTT0uoeG.js → banner-dismiss-B_j9wqx-.js} +2 -2
  20. package/dist/{banner-dismiss-DTT0uoeG.js.map → banner-dismiss-B_j9wqx-.js.map} +1 -1
  21. package/dist/banner.cjs +1 -1
  22. package/dist/banner.js +1 -1
  23. package/dist/{blog-post-card-author-D4zo7N_N.cjs → blog-post-card-author-B55DKFff.cjs} +2 -2
  24. package/dist/{blog-post-card-author-D4zo7N_N.cjs.map → blog-post-card-author-B55DKFff.cjs.map} +1 -1
  25. package/dist/{blog-post-card-author-CD_eplIv.js → blog-post-card-author-C1GuND4f.js} +8 -8
  26. package/dist/{blog-post-card-author-CD_eplIv.js.map → blog-post-card-author-C1GuND4f.js.map} +1 -1
  27. package/dist/blog-post-card.cjs +1 -1
  28. package/dist/blog-post-card.js +4 -4
  29. package/dist/button-W0_PtryU.js +106 -0
  30. package/dist/button-W0_PtryU.js.map +1 -0
  31. package/dist/button-ibzOCImJ.cjs +7 -0
  32. package/dist/button-ibzOCImJ.cjs.map +1 -0
  33. package/dist/button-radio-group.cjs +2 -0
  34. package/dist/button-radio-group.cjs.map +1 -0
  35. package/dist/button-radio-group.js +63 -0
  36. package/dist/button-radio-group.js.map +1 -0
  37. package/dist/{card-link-COguZcAK.js → card-link-C48N1y5C.js} +2 -2
  38. package/dist/{card-link-COguZcAK.js.map → card-link-C48N1y5C.js.map} +1 -1
  39. package/dist/{card-link-Dnn-M6g-.cjs → card-link-i_zrZjnx.cjs} +2 -2
  40. package/dist/{card-link-Dnn-M6g-.cjs.map → card-link-i_zrZjnx.cjs.map} +1 -1
  41. package/dist/card-radio-group.cjs +2 -0
  42. package/dist/card-radio-group.cjs.map +1 -0
  43. package/dist/card-radio-group.js +81 -0
  44. package/dist/card-radio-group.js.map +1 -0
  45. package/dist/card.cjs +1 -1
  46. package/dist/card.js +3 -3
  47. package/dist/{carousel-next-Co4dy8i8.cjs → carousel-next-BGIZglEF.cjs} +2 -2
  48. package/dist/{carousel-next-Co4dy8i8.cjs.map → carousel-next-BGIZglEF.cjs.map} +1 -1
  49. package/dist/{carousel-next-H6-vbcKz.js → carousel-next-BzKOs3K-.js} +2 -2
  50. package/dist/{carousel-next-H6-vbcKz.js.map → carousel-next-BzKOs3K-.js.map} +1 -1
  51. package/dist/carousel.cjs +1 -1
  52. package/dist/carousel.js +1 -1
  53. package/dist/{category-card-link-BwSFHFcd.cjs → category-card-link-BSmQDScF.cjs} +2 -2
  54. package/dist/{category-card-link-BwSFHFcd.cjs.map → category-card-link-BSmQDScF.cjs.map} +1 -1
  55. package/dist/{category-card-link-BqMAG9Op.js → category-card-link-mgtggmo_.js} +3 -3
  56. package/dist/{category-card-link-BqMAG9Op.js.map → category-card-link-mgtggmo_.js.map} +1 -1
  57. package/dist/category-card.cjs +1 -1
  58. package/dist/category-card.js +5 -5
  59. package/dist/checkbox-group.cjs +2 -0
  60. package/dist/checkbox-group.cjs.map +1 -0
  61. package/dist/checkbox-group.js +21 -0
  62. package/dist/checkbox-group.js.map +1 -0
  63. package/dist/checkbox-indicator-DVkOzOV6.cjs +2 -0
  64. package/dist/checkbox-indicator-DVkOzOV6.cjs.map +1 -0
  65. package/dist/checkbox-indicator-sO8XNm-j.js +296 -0
  66. package/dist/checkbox-indicator-sO8XNm-j.js.map +1 -0
  67. package/dist/checkbox.cjs +1 -1
  68. package/dist/checkbox.js +3 -5
  69. package/dist/checkbox.js.map +1 -1
  70. package/dist/{chip-button-BVG27Nve.js → chip-button-BhdyJZ5U.js} +2 -2
  71. package/dist/{chip-button-BVG27Nve.js.map → chip-button-BhdyJZ5U.js.map} +1 -1
  72. package/dist/{chip-button-B-QabGrN.cjs → chip-button-DRroMV7K.cjs} +2 -2
  73. package/dist/{chip-button-B-QabGrN.cjs.map → chip-button-DRroMV7K.cjs.map} +1 -1
  74. package/dist/chip.cjs +1 -1
  75. package/dist/chip.js +1 -1
  76. package/dist/compare-card-specs-empty-D42h8BPm.cjs +2 -0
  77. package/dist/compare-card-specs-empty-D42h8BPm.cjs.map +1 -0
  78. package/dist/compare-card-specs-empty-n4gOqNXU.js +285 -0
  79. package/dist/compare-card-specs-empty-n4gOqNXU.js.map +1 -0
  80. package/dist/compare-card.cjs +1 -1
  81. package/dist/compare-card.cjs.map +1 -1
  82. package/dist/compare-card.js +29 -30
  83. package/dist/compare-card.js.map +1 -1
  84. package/dist/{compare-drawer-remove-B6UNek1W.js → compare-drawer-remove-DqQAu7qC.js} +3 -3
  85. package/dist/{compare-drawer-remove-B6UNek1W.js.map → compare-drawer-remove-DqQAu7qC.js.map} +1 -1
  86. package/dist/{compare-drawer-remove-DcaPIOnG.cjs → compare-drawer-remove-DxYGdJay.cjs} +2 -2
  87. package/dist/{compare-drawer-remove-DcaPIOnG.cjs.map → compare-drawer-remove-DxYGdJay.cjs.map} +1 -1
  88. package/dist/compare-drawer.cjs +1 -1
  89. package/dist/compare-drawer.js +1 -1
  90. package/dist/components/button/button.d.ts +13 -13
  91. package/dist/components/button/button.d.ts.map +1 -1
  92. package/dist/components/button-link/button-link.d.ts +1 -1
  93. package/dist/components/button-link/button-link.d.ts.map +1 -1
  94. package/dist/components/button-radio-group/button-radio-group.d.ts +33 -0
  95. package/dist/components/button-radio-group/button-radio-group.d.ts.map +1 -0
  96. package/dist/components/button-radio-group/index.d.ts +3 -0
  97. package/dist/components/button-radio-group/index.d.ts.map +1 -0
  98. package/dist/components/button-radio-group/primitives/button-radio-group-item.d.ts +5 -0
  99. package/dist/components/button-radio-group/primitives/button-radio-group-item.d.ts.map +1 -0
  100. package/dist/components/button-radio-group/primitives/button-radio-group-root.d.ts +5 -0
  101. package/dist/components/button-radio-group/primitives/button-radio-group-root.d.ts.map +1 -0
  102. package/dist/components/button-radio-group/primitives.d.ts +3 -0
  103. package/dist/components/button-radio-group/primitives.d.ts.map +1 -0
  104. package/dist/components/card-radio-group/card-radio-group.d.ts +37 -0
  105. package/dist/components/card-radio-group/card-radio-group.d.ts.map +1 -0
  106. package/dist/components/card-radio-group/index.d.ts +3 -0
  107. package/dist/components/card-radio-group/index.d.ts.map +1 -0
  108. package/dist/components/card-radio-group/primitives/card-radio-group-image.d.ts +6 -0
  109. package/dist/components/card-radio-group/primitives/card-radio-group-image.d.ts.map +1 -0
  110. package/dist/components/card-radio-group/primitives/card-radio-group-item.d.ts +5 -0
  111. package/dist/components/card-radio-group/primitives/card-radio-group-item.d.ts.map +1 -0
  112. package/dist/components/card-radio-group/primitives/card-radio-group-label.d.ts +4 -0
  113. package/dist/components/card-radio-group/primitives/card-radio-group-label.d.ts.map +1 -0
  114. package/dist/components/card-radio-group/primitives/card-radio-group-root.d.ts +5 -0
  115. package/dist/components/card-radio-group/primitives/card-radio-group-root.d.ts.map +1 -0
  116. package/dist/components/card-radio-group/primitives/card-radio-group-thumbnail.d.ts +4 -0
  117. package/dist/components/card-radio-group/primitives/card-radio-group-thumbnail.d.ts.map +1 -0
  118. package/dist/components/card-radio-group/primitives.d.ts +6 -0
  119. package/dist/components/card-radio-group/primitives.d.ts.map +1 -0
  120. package/dist/components/checkbox/checkbox.d.ts +5 -15
  121. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  122. package/dist/components/checkbox/primitives/checkbox-root.d.ts +2 -10
  123. package/dist/components/checkbox/primitives/checkbox-root.d.ts.map +1 -1
  124. package/dist/components/checkbox/primitives.d.ts +1 -1
  125. package/dist/components/checkbox/primitives.d.ts.map +1 -1
  126. package/dist/components/checkbox-group/checkbox-group.d.ts +16 -0
  127. package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
  128. package/dist/components/checkbox-group/index.d.ts +3 -0
  129. package/dist/components/checkbox-group/index.d.ts.map +1 -0
  130. package/dist/components/checkbox-group/primitives/checkbox-group-option.d.ts +4 -0
  131. package/dist/components/checkbox-group/primitives/checkbox-group-option.d.ts.map +1 -0
  132. package/dist/components/checkbox-group/primitives/checkbox-group-root.d.ts +4 -0
  133. package/dist/components/checkbox-group/primitives/checkbox-group-root.d.ts.map +1 -0
  134. package/dist/components/checkbox-group/primitives.d.ts +3 -0
  135. package/dist/components/checkbox-group/primitives.d.ts.map +1 -0
  136. package/dist/components/counter/counter.d.ts +4 -5
  137. package/dist/components/counter/counter.d.ts.map +1 -1
  138. package/dist/components/counter/primitives/counter-decrease.d.ts +1 -1
  139. package/dist/components/counter/primitives/counter-decrease.d.ts.map +1 -1
  140. package/dist/components/counter/primitives/counter-increase.d.ts +1 -1
  141. package/dist/components/counter/primitives/counter-increase.d.ts.map +1 -1
  142. package/dist/components/counter/primitives/counter-input.d.ts +1 -1
  143. package/dist/components/counter/primitives/counter-input.d.ts.map +1 -1
  144. package/dist/components/counter/primitives/counter-root.d.ts +2 -14
  145. package/dist/components/counter/primitives/counter-root.d.ts.map +1 -1
  146. package/dist/components/counter/primitives.d.ts +1 -1
  147. package/dist/components/counter/primitives.d.ts.map +1 -1
  148. package/dist/components/date-picker/date-picker.d.ts +10 -0
  149. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  150. package/dist/components/date-picker/index.d.ts +3 -0
  151. package/dist/components/date-picker/index.d.ts.map +1 -0
  152. package/dist/components/date-picker/primitives/date-picker-content.d.ts +5 -0
  153. package/dist/components/date-picker/primitives/date-picker-content.d.ts.map +1 -0
  154. package/dist/components/date-picker/primitives/date-picker-portal.d.ts +5 -0
  155. package/dist/components/date-picker/primitives/date-picker-portal.d.ts.map +1 -0
  156. package/dist/components/date-picker/primitives/date-picker-root.d.ts +5 -0
  157. package/dist/components/date-picker/primitives/date-picker-root.d.ts.map +1 -0
  158. package/dist/components/date-picker/primitives/date-picker-trigger.d.ts +5 -0
  159. package/dist/components/date-picker/primitives/date-picker-trigger.d.ts.map +1 -0
  160. package/dist/components/date-picker/primitives.d.ts +5 -0
  161. package/dist/components/date-picker/primitives.d.ts.map +1 -0
  162. package/dist/components/field/index.d.ts +2 -0
  163. package/dist/components/field/index.d.ts.map +1 -0
  164. package/dist/components/field/primitives/field-description.d.ts +4 -0
  165. package/dist/components/field/primitives/field-description.d.ts.map +1 -0
  166. package/dist/components/field/primitives/field-error.d.ts +4 -0
  167. package/dist/components/field/primitives/field-error.d.ts.map +1 -0
  168. package/dist/components/field/primitives/field-group.d.ts +4 -0
  169. package/dist/components/field/primitives/field-group.d.ts.map +1 -0
  170. package/dist/components/field/primitives/field-hint.d.ts +4 -0
  171. package/dist/components/field/primitives/field-hint.d.ts.map +1 -0
  172. package/dist/components/field/primitives/field-item.d.ts +6 -0
  173. package/dist/components/field/primitives/field-item.d.ts.map +1 -0
  174. package/dist/components/field/primitives/field-label.d.ts +4 -0
  175. package/dist/components/field/primitives/field-label.d.ts.map +1 -0
  176. package/dist/components/field/primitives/field-legend.d.ts +4 -0
  177. package/dist/components/field/primitives/field-legend.d.ts.map +1 -0
  178. package/dist/components/field/primitives/field-separator.d.ts +4 -0
  179. package/dist/components/field/primitives/field-separator.d.ts.map +1 -0
  180. package/dist/components/field/primitives/field-set.d.ts +4 -0
  181. package/dist/components/field/primitives/field-set.d.ts.map +1 -0
  182. package/dist/components/field/primitives.d.ts +10 -0
  183. package/dist/components/field/primitives.d.ts.map +1 -0
  184. package/dist/components/file-input/file-input.d.ts +27 -0
  185. package/dist/components/file-input/file-input.d.ts.map +1 -0
  186. package/dist/components/file-input/index.d.ts +3 -0
  187. package/dist/components/file-input/index.d.ts.map +1 -0
  188. package/dist/components/file-input/primitives/file-input-details.d.ts +4 -0
  189. package/dist/components/file-input/primitives/file-input-details.d.ts.map +1 -0
  190. package/dist/components/file-input/primitives/file-input-dropzone-error.d.ts +4 -0
  191. package/dist/components/file-input/primitives/file-input-dropzone-error.d.ts.map +1 -0
  192. package/dist/components/file-input/primitives/file-input-dropzone-hint.d.ts +4 -0
  193. package/dist/components/file-input/primitives/file-input-dropzone-hint.d.ts.map +1 -0
  194. package/dist/components/file-input/primitives/file-input-dropzone.d.ts +4 -0
  195. package/dist/components/file-input/primitives/file-input-dropzone.d.ts.map +1 -0
  196. package/dist/components/file-input/primitives/file-input-error.d.ts +4 -0
  197. package/dist/components/file-input/primitives/file-input-error.d.ts.map +1 -0
  198. package/dist/components/file-input/primitives/file-input-header.d.ts +4 -0
  199. package/dist/components/file-input/primitives/file-input-header.d.ts.map +1 -0
  200. package/dist/components/file-input/primitives/file-input-icon.d.ts +8 -0
  201. package/dist/components/file-input/primitives/file-input-icon.d.ts.map +1 -0
  202. package/dist/components/file-input/primitives/file-input-item.d.ts +15 -0
  203. package/dist/components/file-input/primitives/file-input-item.d.ts.map +1 -0
  204. package/dist/components/file-input/primitives/file-input-list.d.ts +10 -0
  205. package/dist/components/file-input/primitives/file-input-list.d.ts.map +1 -0
  206. package/dist/components/file-input/primitives/file-input-message.d.ts +4 -0
  207. package/dist/components/file-input/primitives/file-input-message.d.ts.map +1 -0
  208. package/dist/components/file-input/primitives/file-input-metadata.d.ts +4 -0
  209. package/dist/components/file-input/primitives/file-input-metadata.d.ts.map +1 -0
  210. package/dist/components/file-input/primitives/file-input-name.d.ts +4 -0
  211. package/dist/components/file-input/primitives/file-input-name.d.ts.map +1 -0
  212. package/dist/components/file-input/primitives/file-input-progress.d.ts +4 -0
  213. package/dist/components/file-input/primitives/file-input-progress.d.ts.map +1 -0
  214. package/dist/components/file-input/primitives/file-input-remove.d.ts +4 -0
  215. package/dist/components/file-input/primitives/file-input-remove.d.ts.map +1 -0
  216. package/dist/components/file-input/primitives/file-input-root.d.ts +40 -0
  217. package/dist/components/file-input/primitives/file-input-root.d.ts.map +1 -0
  218. package/dist/components/file-input/primitives/file-input-status.d.ts +4 -0
  219. package/dist/components/file-input/primitives/file-input-status.d.ts.map +1 -0
  220. package/dist/components/file-input/primitives/file-input-trigger.d.ts +5 -0
  221. package/dist/components/file-input/primitives/file-input-trigger.d.ts.map +1 -0
  222. package/dist/components/file-input/primitives.d.ts +18 -0
  223. package/dist/components/file-input/primitives.d.ts.map +1 -0
  224. package/dist/components/form-status/form-status.d.ts +21 -0
  225. package/dist/components/form-status/form-status.d.ts.map +1 -0
  226. package/dist/components/form-status/index.d.ts +3 -0
  227. package/dist/components/form-status/index.d.ts.map +1 -0
  228. package/dist/components/form-status/primitives/form-status-root.d.ts +6 -0
  229. package/dist/components/form-status/primitives/form-status-root.d.ts.map +1 -0
  230. package/dist/components/form-status/primitives.d.ts +2 -0
  231. package/dist/components/form-status/primitives.d.ts.map +1 -0
  232. package/dist/components/input/index.d.ts +3 -0
  233. package/dist/components/input/index.d.ts.map +1 -0
  234. package/dist/components/input/input.d.ts +18 -0
  235. package/dist/components/input/input.d.ts.map +1 -0
  236. package/dist/components/input/primitives/input-field.d.ts +4 -0
  237. package/dist/components/input/primitives/input-field.d.ts.map +1 -0
  238. package/dist/components/input/primitives/input-prepend.d.ts +4 -0
  239. package/dist/components/input/primitives/input-prepend.d.ts.map +1 -0
  240. package/dist/components/input/primitives/input-root.d.ts +6 -0
  241. package/dist/components/input/primitives/input-root.d.ts.map +1 -0
  242. package/dist/components/input/primitives.d.ts +4 -0
  243. package/dist/components/input/primitives.d.ts.map +1 -0
  244. package/dist/components/label/label.d.ts +2 -4
  245. package/dist/components/label/label.d.ts.map +1 -1
  246. package/dist/components/logo/index.d.ts +0 -1
  247. package/dist/components/logo/index.d.ts.map +1 -1
  248. package/dist/components/logo/primitives/logo-text.d.ts +3 -1
  249. package/dist/components/logo/primitives/logo-text.d.ts.map +1 -1
  250. package/dist/components/navigation-menu/index.d.ts +3 -0
  251. package/dist/components/navigation-menu/index.d.ts.map +1 -0
  252. package/dist/components/navigation-menu/navigation-menu.d.ts +51 -0
  253. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  254. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts +5 -0
  255. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts.map +1 -0
  256. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts +4 -0
  257. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts.map +1 -0
  258. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts +5 -0
  259. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts.map +1 -0
  260. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts +5 -0
  261. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts.map +1 -0
  262. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts +4 -0
  263. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts.map +1 -0
  264. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts +5 -0
  265. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts.map +1 -0
  266. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts +5 -0
  267. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts.map +1 -0
  268. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts +5 -0
  269. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts.map +1 -0
  270. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts +4 -0
  271. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts.map +1 -0
  272. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts +8 -0
  273. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts.map +1 -0
  274. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts +4 -0
  275. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts.map +1 -0
  276. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts +5 -0
  277. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts.map +1 -0
  278. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts +5 -0
  279. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts.map +1 -0
  280. package/dist/components/navigation-menu/primitives.d.ts +14 -0
  281. package/dist/components/navigation-menu/primitives.d.ts.map +1 -0
  282. package/dist/components/product-card/primitives/product-card-label.d.ts.map +1 -1
  283. package/dist/components/radio-group/index.d.ts +3 -0
  284. package/dist/components/radio-group/index.d.ts.map +1 -0
  285. package/dist/components/radio-group/primitives/radio-group-indicator.d.ts +5 -0
  286. package/dist/components/radio-group/primitives/radio-group-indicator.d.ts.map +1 -0
  287. package/dist/components/radio-group/primitives/radio-group-item.d.ts +5 -0
  288. package/dist/components/radio-group/primitives/radio-group-item.d.ts.map +1 -0
  289. package/dist/components/radio-group/primitives/radio-group-option.d.ts +4 -0
  290. package/dist/components/radio-group/primitives/radio-group-option.d.ts.map +1 -0
  291. package/dist/components/radio-group/primitives/radio-group-root.d.ts +5 -0
  292. package/dist/components/radio-group/primitives/radio-group-root.d.ts.map +1 -0
  293. package/dist/components/radio-group/primitives.d.ts +5 -0
  294. package/dist/components/radio-group/primitives.d.ts.map +1 -0
  295. package/dist/components/radio-group/radio-group.d.ts +31 -0
  296. package/dist/components/radio-group/radio-group.d.ts.map +1 -0
  297. package/dist/components/range-input/index.d.ts +3 -0
  298. package/dist/components/range-input/index.d.ts.map +1 -0
  299. package/dist/components/range-input/primitives/range-input-root.d.ts +4 -0
  300. package/dist/components/range-input/primitives/range-input-root.d.ts.map +1 -0
  301. package/dist/components/range-input/primitives.d.ts +2 -0
  302. package/dist/components/range-input/primitives.d.ts.map +1 -0
  303. package/dist/components/range-input/range-input.d.ts +32 -0
  304. package/dist/components/range-input/range-input.d.ts.map +1 -0
  305. package/dist/components/rating/primitives/rating-root.d.ts +5 -1
  306. package/dist/components/rating/primitives/rating-root.d.ts.map +1 -1
  307. package/dist/components/rating/primitives/rating-star.d.ts.map +1 -1
  308. package/dist/components/rating/primitives/rating-total.d.ts +4 -0
  309. package/dist/components/rating/primitives/rating-total.d.ts.map +1 -0
  310. package/dist/components/rating/primitives/rating-value.d.ts +1 -1
  311. package/dist/components/rating/primitives/rating-value.d.ts.map +1 -1
  312. package/dist/components/rating/primitives.d.ts +1 -0
  313. package/dist/components/rating/primitives.d.ts.map +1 -1
  314. package/dist/components/rating/rating.d.ts +3 -1
  315. package/dist/components/rating/rating.d.ts.map +1 -1
  316. package/dist/components/select/index.d.ts +3 -0
  317. package/dist/components/select/index.d.ts.map +1 -0
  318. package/dist/components/select/primitives/select-content.d.ts +5 -0
  319. package/dist/components/select/primitives/select-content.d.ts.map +1 -0
  320. package/dist/components/select/primitives/select-icon.d.ts +5 -0
  321. package/dist/components/select/primitives/select-icon.d.ts.map +1 -0
  322. package/dist/components/select/primitives/select-item-text.d.ts +5 -0
  323. package/dist/components/select/primitives/select-item-text.d.ts.map +1 -0
  324. package/dist/components/select/primitives/select-item.d.ts +5 -0
  325. package/dist/components/select/primitives/select-item.d.ts.map +1 -0
  326. package/dist/components/select/primitives/select-portal.d.ts +5 -0
  327. package/dist/components/select/primitives/select-portal.d.ts.map +1 -0
  328. package/dist/components/select/primitives/select-root.d.ts +9 -0
  329. package/dist/components/select/primitives/select-root.d.ts.map +1 -0
  330. package/dist/components/select/primitives/select-scroll-down-button.d.ts +5 -0
  331. package/dist/components/select/primitives/select-scroll-down-button.d.ts.map +1 -0
  332. package/dist/components/select/primitives/select-scroll-up-button.d.ts +5 -0
  333. package/dist/components/select/primitives/select-scroll-up-button.d.ts.map +1 -0
  334. package/dist/components/select/primitives/select-trigger.d.ts +5 -0
  335. package/dist/components/select/primitives/select-trigger.d.ts.map +1 -0
  336. package/dist/components/select/primitives/select-value.d.ts +5 -0
  337. package/dist/components/select/primitives/select-value.d.ts.map +1 -0
  338. package/dist/components/select/primitives/select-viewport.d.ts +5 -0
  339. package/dist/components/select/primitives/select-viewport.d.ts.map +1 -0
  340. package/dist/components/select/primitives.d.ts +12 -0
  341. package/dist/components/select/primitives.d.ts.map +1 -0
  342. package/dist/components/select/select.d.ts +44 -0
  343. package/dist/components/select/select.d.ts.map +1 -0
  344. package/dist/components/swatch-radio-group/index.d.ts +3 -0
  345. package/dist/components/swatch-radio-group/index.d.ts.map +1 -0
  346. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-color.d.ts +6 -0
  347. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-color.d.ts.map +1 -0
  348. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-image.d.ts +6 -0
  349. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-image.d.ts.map +1 -0
  350. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-indicator.d.ts +4 -0
  351. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-indicator.d.ts.map +1 -0
  352. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-item.d.ts +5 -0
  353. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-item.d.ts.map +1 -0
  354. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-root.d.ts +5 -0
  355. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-root.d.ts.map +1 -0
  356. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-thumbnail.d.ts +4 -0
  357. package/dist/components/swatch-radio-group/primitives/swatch-radio-group-thumbnail.d.ts.map +1 -0
  358. package/dist/components/swatch-radio-group/primitives.d.ts +8 -0
  359. package/dist/components/swatch-radio-group/primitives.d.ts.map +1 -0
  360. package/dist/components/swatch-radio-group/swatch-radio-group.d.ts +42 -0
  361. package/dist/components/swatch-radio-group/swatch-radio-group.d.ts.map +1 -0
  362. package/dist/components/textarea/index.d.ts +2 -0
  363. package/dist/components/textarea/index.d.ts.map +1 -0
  364. package/dist/components/textarea/textarea.d.ts +4 -0
  365. package/dist/components/textarea/textarea.d.ts.map +1 -0
  366. package/dist/components/toggle-group/index.d.ts +3 -0
  367. package/dist/components/toggle-group/index.d.ts.map +1 -0
  368. package/dist/components/toggle-group/primitives/toggle-group-item.d.ts +5 -0
  369. package/dist/components/toggle-group/primitives/toggle-group-item.d.ts.map +1 -0
  370. package/dist/components/toggle-group/primitives/toggle-group-root.d.ts +5 -0
  371. package/dist/components/toggle-group/primitives/toggle-group-root.d.ts.map +1 -0
  372. package/dist/components/toggle-group/primitives.d.ts +3 -0
  373. package/dist/components/toggle-group/primitives.d.ts.map +1 -0
  374. package/dist/components/toggle-group/toggle-group.d.ts +32 -0
  375. package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
  376. package/dist/counter-input-60Nb59Nw.cjs +2 -0
  377. package/dist/counter-input-60Nb59Nw.cjs.map +1 -0
  378. package/dist/counter-input-staB16MG.js +80 -0
  379. package/dist/counter-input-staB16MG.js.map +1 -0
  380. package/dist/counter.cjs +1 -1
  381. package/dist/counter.js +2 -3
  382. package/dist/{cursor-pagination-link-BJafEeyH.cjs → cursor-pagination-link-C6otmDIa.cjs} +2 -2
  383. package/dist/{cursor-pagination-link-BJafEeyH.cjs.map → cursor-pagination-link-C6otmDIa.cjs.map} +1 -1
  384. package/dist/{cursor-pagination-link-CkZ5dwLY.js → cursor-pagination-link-CWbshIOY.js} +2 -2
  385. package/dist/{cursor-pagination-link-CkZ5dwLY.js.map → cursor-pagination-link-CWbshIOY.js.map} +1 -1
  386. package/dist/cursor-pagination.cjs +1 -1
  387. package/dist/cursor-pagination.js +4 -4
  388. package/dist/date-picker.cjs +2 -0
  389. package/dist/date-picker.cjs.map +1 -0
  390. package/dist/date-picker.js +258 -0
  391. package/dist/date-picker.js.map +1 -0
  392. package/dist/dropdown-menu-node-CAwgTGIA.cjs +7 -0
  393. package/dist/dropdown-menu-node-CAwgTGIA.cjs.map +1 -0
  394. package/dist/dropdown-menu-node-x6qIrxA6.js +1101 -0
  395. package/dist/dropdown-menu-node-x6qIrxA6.js.map +1 -0
  396. package/dist/dropdown-menu.cjs +1 -1
  397. package/dist/dropdown-menu.js +1 -1
  398. package/dist/{favorite-heart-DfzWBG3K.js → favorite-heart-DM8QjcYe.js} +17 -44
  399. package/dist/favorite-heart-DM8QjcYe.js.map +1 -0
  400. package/dist/favorite-heart-JHXkEZUQ.cjs +2 -0
  401. package/dist/favorite-heart-JHXkEZUQ.cjs.map +1 -0
  402. package/dist/favorite.cjs +1 -1
  403. package/dist/favorite.js +1 -1
  404. package/dist/field-error-D5NKv8wq.cjs +7 -0
  405. package/dist/field-error-D5NKv8wq.cjs.map +1 -0
  406. package/dist/field-error-DtlucLPM.js +150 -0
  407. package/dist/field-error-DtlucLPM.js.map +1 -0
  408. package/dist/field.cjs +2 -0
  409. package/dist/field.cjs.map +1 -0
  410. package/dist/field.js +13 -0
  411. package/dist/field.js.map +1 -0
  412. package/dist/file-input.cjs +2 -0
  413. package/dist/file-input.cjs.map +1 -0
  414. package/dist/file-input.js +625 -0
  415. package/dist/file-input.js.map +1 -0
  416. package/dist/form-status.cjs +2 -0
  417. package/dist/form-status.cjs.map +1 -0
  418. package/dist/form-status.js +32 -0
  419. package/dist/form-status.js.map +1 -0
  420. package/dist/icon.cjs +1 -1
  421. package/dist/icon.js +2 -2
  422. package/dist/{index-Cn_ZXVPF.js → index-437EL2iq.js} +2 -2
  423. package/dist/{index-Cn_ZXVPF.js.map → index-437EL2iq.js.map} +1 -1
  424. package/dist/index-B8ydIT5v.cjs +2 -0
  425. package/dist/index-B8ydIT5v.cjs.map +1 -0
  426. package/dist/index-BEcVxceo.js +235 -0
  427. package/dist/index-BEcVxceo.js.map +1 -0
  428. package/dist/{index-B_420jYs.js → index-BGQepRFJ.js} +2 -2
  429. package/dist/{index-B_420jYs.js.map → index-BGQepRFJ.js.map} +1 -1
  430. package/dist/index-BRpvnewZ.js +1541 -0
  431. package/dist/index-BRpvnewZ.js.map +1 -0
  432. package/dist/index-BZPx6jYI.js +9 -0
  433. package/dist/index-BZPx6jYI.js.map +1 -0
  434. package/dist/index-Baakt2Nc.js +32 -0
  435. package/dist/index-Baakt2Nc.js.map +1 -0
  436. package/dist/index-Bd0gQB0k.cjs +2 -0
  437. package/dist/index-Bd0gQB0k.cjs.map +1 -0
  438. package/dist/index-Bj4dHMqQ.cjs +2 -0
  439. package/dist/{index-BgU5ZH3M.cjs.map → index-Bj4dHMqQ.cjs.map} +1 -1
  440. package/dist/index-BpWB3aFK.js +71 -0
  441. package/dist/index-BpWB3aFK.js.map +1 -0
  442. package/dist/index-Bw3eeUEE.cjs +2 -0
  443. package/dist/index-Bw3eeUEE.cjs.map +1 -0
  444. package/dist/index-BybPvee-.js +135 -0
  445. package/dist/index-BybPvee-.js.map +1 -0
  446. package/dist/{index-BwVkw1mh.cjs → index-C8aODXfJ.cjs} +2 -2
  447. package/dist/{index-BwVkw1mh.cjs.map → index-C8aODXfJ.cjs.map} +1 -1
  448. package/dist/index-C8ni3LLa.cjs +2 -0
  449. package/dist/index-C8ni3LLa.cjs.map +1 -0
  450. package/dist/index-C9i1xBih.cjs +2 -0
  451. package/dist/index-C9i1xBih.cjs.map +1 -0
  452. package/dist/index-CCKe-Mpx.js +7 -0
  453. package/dist/index-CCKe-Mpx.js.map +1 -0
  454. package/dist/{index-Aj7AU26N.js → index-CFzSulqY.js} +3 -3
  455. package/dist/{index-Aj7AU26N.js.map → index-CFzSulqY.js.map} +1 -1
  456. package/dist/index-CHBN4DXC.cjs +2 -0
  457. package/dist/index-CHBN4DXC.cjs.map +1 -0
  458. package/dist/index-CfUNQctP.cjs +2 -0
  459. package/dist/index-CfUNQctP.cjs.map +1 -0
  460. package/dist/{index-9BYBSfjb.js → index-Cv867SGx.js} +2 -2
  461. package/dist/{index-9BYBSfjb.js.map → index-Cv867SGx.js.map} +1 -1
  462. package/dist/{index-ChSlzMYI.js → index-D54L0mSJ.js} +23 -21
  463. package/dist/{index-ChSlzMYI.js.map → index-D54L0mSJ.js.map} +1 -1
  464. package/dist/index-DFZozV_h.js +69 -0
  465. package/dist/index-DFZozV_h.js.map +1 -0
  466. package/dist/index-DO-atGp-.cjs +2 -0
  467. package/dist/index-DO-atGp-.cjs.map +1 -0
  468. package/dist/index-DYM6xIoO.js +81 -0
  469. package/dist/index-DYM6xIoO.js.map +1 -0
  470. package/dist/index-DYxWvftI.cjs +2 -0
  471. package/dist/index-DYxWvftI.cjs.map +1 -0
  472. package/dist/{index-DgGfdcU-.js → index-DbDmtVzS.js} +6 -6
  473. package/dist/{index-DgGfdcU-.js.map → index-DbDmtVzS.js.map} +1 -1
  474. package/dist/index-Dgln3ACt.cjs +6 -0
  475. package/dist/{index-BppAzNV8.cjs.map → index-Dgln3ACt.cjs.map} +1 -1
  476. package/dist/index-DqtbJbQD.cjs +2 -0
  477. package/dist/index-DqtbJbQD.cjs.map +1 -0
  478. package/dist/index-MQ0c3ZX_.cjs +2 -0
  479. package/dist/index-MQ0c3ZX_.cjs.map +1 -0
  480. package/dist/{index-wBo-Jtto.cjs → index-VgAaryF4.cjs} +2 -2
  481. package/dist/{index-wBo-Jtto.cjs.map → index-VgAaryF4.cjs.map} +1 -1
  482. package/dist/{index-BRcWOeqw.cjs → index-WIv2ndLu.cjs} +2 -2
  483. package/dist/{index-BRcWOeqw.cjs.map → index-WIv2ndLu.cjs.map} +1 -1
  484. package/dist/index-YyKO8LfJ.js +34 -0
  485. package/dist/index-YyKO8LfJ.js.map +1 -0
  486. package/dist/index-_4V-_s4C.js +18 -0
  487. package/dist/{index-CM8VpmHn.js.map → index-_4V-_s4C.js.map} +1 -1
  488. package/dist/{index-6tKkLrHE.cjs → index-bSPhqlcX.cjs} +2 -2
  489. package/dist/{index-6tKkLrHE.cjs.map → index-bSPhqlcX.cjs.map} +1 -1
  490. package/dist/{index-CB459AZm.cjs → index-ioB9fNr9.cjs} +2 -2
  491. package/dist/{index-CB459AZm.cjs.map → index-ioB9fNr9.cjs.map} +1 -1
  492. package/dist/index-rKs9bXHr.js +7 -0
  493. package/dist/index-rKs9bXHr.js.map +1 -0
  494. package/dist/index.cjs +7 -12
  495. package/dist/index.cjs.map +1 -1
  496. package/dist/index.d.ts +2 -2
  497. package/dist/index.d.ts.map +1 -1
  498. package/dist/index.js +1118 -1078
  499. package/dist/index.js.map +1 -1
  500. package/dist/input.cjs +2 -0
  501. package/dist/input.cjs.map +1 -0
  502. package/dist/input.js +72 -0
  503. package/dist/input.js.map +1 -0
  504. package/dist/label-C2HI4Bjj.js +38 -0
  505. package/dist/label-C2HI4Bjj.js.map +1 -0
  506. package/dist/label-CP55xclp.cjs +2 -0
  507. package/dist/label-CP55xclp.cjs.map +1 -0
  508. package/dist/logo-skeleton-DPhYgp4v.cjs +2 -0
  509. package/dist/logo-skeleton-DPhYgp4v.cjs.map +1 -0
  510. package/dist/logo-skeleton-DSSJAa_5.js +44 -0
  511. package/dist/logo-skeleton-DSSJAa_5.js.map +1 -0
  512. package/dist/logo.cjs +1 -1
  513. package/dist/logo.cjs.map +1 -1
  514. package/dist/logo.js +4 -10
  515. package/dist/logo.js.map +1 -1
  516. package/dist/{modal-title-CuB6IpxH.cjs → modal-title-D0y_YSeK.cjs} +2 -2
  517. package/dist/{modal-title-CuB6IpxH.cjs.map → modal-title-D0y_YSeK.cjs.map} +1 -1
  518. package/dist/{modal-title-MIH3Xsp2.js → modal-title-DIVsr1XZ.js} +3 -3
  519. package/dist/{modal-title-MIH3Xsp2.js.map → modal-title-DIVsr1XZ.js.map} +1 -1
  520. package/dist/modal.cjs +1 -1
  521. package/dist/modal.js +1 -1
  522. package/dist/navigation-menu.cjs +2 -0
  523. package/dist/navigation-menu.cjs.map +1 -0
  524. package/dist/navigation-menu.js +830 -0
  525. package/dist/navigation-menu.js.map +1 -0
  526. package/dist/{offset-pagination-ellipsis-MCFHXB-5.cjs → offset-pagination-ellipsis-BDbVGBuP.cjs} +2 -2
  527. package/dist/{offset-pagination-ellipsis-MCFHXB-5.cjs.map → offset-pagination-ellipsis-BDbVGBuP.cjs.map} +1 -1
  528. package/dist/{offset-pagination-ellipsis-DWDhFCgW.js → offset-pagination-ellipsis-bGa7YpkD.js} +2 -2
  529. package/dist/{offset-pagination-ellipsis-DWDhFCgW.js.map → offset-pagination-ellipsis-bGa7YpkD.js.map} +1 -1
  530. package/dist/offset-pagination.cjs +1 -1
  531. package/dist/offset-pagination.js +1 -1
  532. package/dist/{price-strike-DD2WNPQX.cjs → price-strike-BTE4S5Na.cjs} +2 -2
  533. package/dist/{price-strike-DD2WNPQX.cjs.map → price-strike-BTE4S5Na.cjs.map} +1 -1
  534. package/dist/{price-strike-Br_Yriv9.js → price-strike-Ciakdz8c.js} +2 -2
  535. package/dist/{price-strike-Br_Yriv9.js.map → price-strike-Ciakdz8c.js.map} +1 -1
  536. package/dist/price.cjs +1 -1
  537. package/dist/price.js +1 -1
  538. package/dist/product-card-label-BQeJxNcX.cjs +2 -0
  539. package/dist/product-card-label-BQeJxNcX.cjs.map +1 -0
  540. package/dist/{product-card-label-CJmC9ICf.js → product-card-label-C6D-fYjj.js} +68 -95
  541. package/dist/product-card-label-C6D-fYjj.js.map +1 -0
  542. package/dist/{product-card-root-4Xz4-pdL.js → product-card-root-BGUa-vQ_.js} +2 -2
  543. package/dist/{product-card-root-4Xz4-pdL.js.map → product-card-root-BGUa-vQ_.js.map} +1 -1
  544. package/dist/{product-card-root-BMTVhhFp.cjs → product-card-root-Q5lwSPd8.cjs} +2 -2
  545. package/dist/{product-card-root-BMTVhhFp.cjs.map → product-card-root-Q5lwSPd8.cjs.map} +1 -1
  546. package/dist/{product-card-skeleton-Dkqf-bfA.js → product-card-skeleton-B8DGleVJ.js} +8 -9
  547. package/dist/{product-card-skeleton-Dkqf-bfA.js.map → product-card-skeleton-B8DGleVJ.js.map} +1 -1
  548. package/dist/product-card-skeleton-CCbWpq16.cjs +2 -0
  549. package/dist/{product-card-skeleton-CCQkDMNl.cjs.map → product-card-skeleton-CCbWpq16.cjs.map} +1 -1
  550. package/dist/product-card.cjs +1 -1
  551. package/dist/product-card.js +4 -4
  552. package/dist/radio-group.cjs +2 -0
  553. package/dist/radio-group.cjs.map +1 -0
  554. package/dist/radio-group.js +82 -0
  555. package/dist/radio-group.js.map +1 -0
  556. package/dist/range-input.cjs +2 -0
  557. package/dist/range-input.cjs.map +1 -0
  558. package/dist/range-input.js +17 -0
  559. package/dist/range-input.js.map +1 -0
  560. package/dist/rating-total-BxVcB0gt.cjs +2 -0
  561. package/dist/rating-total-BxVcB0gt.cjs.map +1 -0
  562. package/dist/rating-total-C_vpBVPa.js +144 -0
  563. package/dist/rating-total-C_vpBVPa.js.map +1 -0
  564. package/dist/rating.cjs +1 -1
  565. package/dist/rating.js +4 -3
  566. package/dist/{reveal-trigger-XpH07-oH.cjs → reveal-trigger-CCTnO9e2.cjs} +2 -2
  567. package/dist/{reveal-trigger-XpH07-oH.cjs.map → reveal-trigger-CCTnO9e2.cjs.map} +1 -1
  568. package/dist/{reveal-trigger-C-dcymoc.js → reveal-trigger-ScuufoFq.js} +7 -7
  569. package/dist/{reveal-trigger-C-dcymoc.js.map → reveal-trigger-ScuufoFq.js.map} +1 -1
  570. package/dist/reveal.cjs +1 -1
  571. package/dist/reveal.js +1 -1
  572. package/dist/scroll-area-corner-Bc4E-OBW.cjs +2 -0
  573. package/dist/scroll-area-corner-Bc4E-OBW.cjs.map +1 -0
  574. package/dist/{scroll-area-corner-Bq7PB1XK.js → scroll-area-corner-DfIRArAE.js} +59 -59
  575. package/dist/scroll-area-corner-DfIRArAE.js.map +1 -0
  576. package/dist/scroll-area.cjs +1 -1
  577. package/dist/scroll-area.js +1 -1
  578. package/dist/select.cjs +2 -0
  579. package/dist/select.cjs.map +1 -0
  580. package/dist/select.js +991 -0
  581. package/dist/select.js.map +1 -0
  582. package/dist/{side-panel-close-Bjcn4BEE.cjs → side-panel-close-BSEnX7wo.cjs} +2 -2
  583. package/dist/{side-panel-close-Bjcn4BEE.cjs.map → side-panel-close-BSEnX7wo.cjs.map} +1 -1
  584. package/dist/{side-panel-close-DVJwOxdM.js → side-panel-close-CbsiwlUW.js} +3 -3
  585. package/dist/{side-panel-close-DVJwOxdM.js.map → side-panel-close-CbsiwlUW.js.map} +1 -1
  586. package/dist/side-panel.cjs +1 -1
  587. package/dist/side-panel.js +1 -1
  588. package/dist/{skeleton-box-yQLivCqg.cjs → skeleton-box-BsY5q4RG.cjs} +2 -2
  589. package/dist/{skeleton-box-yQLivCqg.cjs.map → skeleton-box-BsY5q4RG.cjs.map} +1 -1
  590. package/dist/{skeleton-box-BSzQ5f9Y.js → skeleton-box-D0XcgPLs.js} +2 -2
  591. package/dist/{skeleton-box-BSzQ5f9Y.js.map → skeleton-box-D0XcgPLs.js.map} +1 -1
  592. package/dist/{skeleton-icon-ThRjXhfU.js → skeleton-icon-Cm6f9u-Z.js} +2 -2
  593. package/dist/{skeleton-icon-ThRjXhfU.js.map → skeleton-icon-Cm6f9u-Z.js.map} +1 -1
  594. package/dist/{skeleton-icon-CCCgNtIy.cjs → skeleton-icon-o8gtDMoj.cjs} +2 -2
  595. package/dist/{skeleton-icon-CCCgNtIy.cjs.map → skeleton-icon-o8gtDMoj.cjs.map} +1 -1
  596. package/dist/{skeleton-root-DHW28LoV.js → skeleton-root-BIYF02UE.js} +2 -2
  597. package/dist/{skeleton-root-DHW28LoV.js.map → skeleton-root-BIYF02UE.js.map} +1 -1
  598. package/dist/{skeleton-root-uIgjea8b.cjs → skeleton-root-Bahq1UoM.cjs} +2 -2
  599. package/dist/{skeleton-root-uIgjea8b.cjs.map → skeleton-root-Bahq1UoM.cjs.map} +1 -1
  600. package/dist/{skeleton-text-Dd4GbnEz.js → skeleton-text-BCsnfhcU.js} +2 -2
  601. package/dist/{skeleton-text-Dd4GbnEz.js.map → skeleton-text-BCsnfhcU.js.map} +1 -1
  602. package/dist/{skeleton-text-CLzoDFvz.cjs → skeleton-text-BxefRRo2.cjs} +2 -2
  603. package/dist/{skeleton-text-CLzoDFvz.cjs.map → skeleton-text-BxefRRo2.cjs.map} +1 -1
  604. package/dist/skeleton.cjs +1 -1
  605. package/dist/skeleton.js +4 -4
  606. package/dist/swatch-radio-group.cjs +2 -0
  607. package/dist/swatch-radio-group.cjs.map +1 -0
  608. package/dist/swatch-radio-group.js +169 -0
  609. package/dist/swatch-radio-group.js.map +1 -0
  610. package/dist/{tabs-root-BmY1p2kY.js → tabs-root-BLHqpIyN.js} +19 -18
  611. package/dist/{tabs-root-BmY1p2kY.js.map → tabs-root-BLHqpIyN.js.map} +1 -1
  612. package/dist/tabs-root-DzmRz2Up.cjs +2 -0
  613. package/dist/{tabs-root-D3Bg29y-.cjs.map → tabs-root-DzmRz2Up.cjs.map} +1 -1
  614. package/dist/tabs.cjs +1 -1
  615. package/dist/tabs.js +1 -1
  616. package/dist/toggle-group.cjs +2 -0
  617. package/dist/toggle-group.cjs.map +1 -0
  618. package/dist/toggle-group.js +193 -0
  619. package/dist/toggle-group.js.map +1 -0
  620. package/dist/{utils-BOGlfttm.js → utils-CRiPKpXj.js} +2 -1
  621. package/dist/{utils-BOGlfttm.js.map → utils-CRiPKpXj.js.map} +1 -1
  622. package/dist/{utils-LBH114_M.cjs → utils-DoxiiusW.cjs} +2 -2
  623. package/dist/{utils-LBH114_M.cjs.map → utils-DoxiiusW.cjs.map} +1 -1
  624. package/package.json +144 -1
  625. package/tailwind.preset.js +3 -0
  626. package/dist/Combination-49q9aXeT.js +0 -801
  627. package/dist/Combination-49q9aXeT.js.map +0 -1
  628. package/dist/Combination-DAFZFTdA.cjs +0 -42
  629. package/dist/Combination-DAFZFTdA.cjs.map +0 -1
  630. package/dist/accordion-trigger-Bhrl2g4p.cjs +0 -2
  631. package/dist/button-BFVyxGhc.js +0 -104
  632. package/dist/button-BFVyxGhc.js.map +0 -1
  633. package/dist/button-Br8dBU5w.cjs +0 -7
  634. package/dist/button-Br8dBU5w.cjs.map +0 -1
  635. package/dist/checkbox-indicator-GNoyS6OL.cjs +0 -2
  636. package/dist/checkbox-indicator-GNoyS6OL.cjs.map +0 -1
  637. package/dist/checkbox-indicator-os50dewx.js +0 -18
  638. package/dist/checkbox-indicator-os50dewx.js.map +0 -1
  639. package/dist/checkbox-root-B9W2Y8rY.js +0 -302
  640. package/dist/checkbox-root-B9W2Y8rY.js.map +0 -1
  641. package/dist/checkbox-root-g9HcYZCP.cjs +0 -2
  642. package/dist/checkbox-root-g9HcYZCP.cjs.map +0 -1
  643. package/dist/compare-card-specs-empty-BMLUSqQL.js +0 -281
  644. package/dist/compare-card-specs-empty-BMLUSqQL.js.map +0 -1
  645. package/dist/compare-card-specs-empty-ar5CneZv.cjs +0 -2
  646. package/dist/compare-card-specs-empty-ar5CneZv.cjs.map +0 -1
  647. package/dist/components/field-error/field-error.d.ts +0 -14
  648. package/dist/components/field-error/field-error.d.ts.map +0 -1
  649. package/dist/components/field-error/index.d.ts +0 -2
  650. package/dist/components/field-error/index.d.ts.map +0 -1
  651. package/dist/components/logo/logo.d.ts +0 -32
  652. package/dist/components/logo/logo.d.ts.map +0 -1
  653. package/dist/counter-input-BJov0Fub.cjs +0 -2
  654. package/dist/counter-input-BJov0Fub.cjs.map +0 -1
  655. package/dist/counter-input-hbz8NVA1.js +0 -106
  656. package/dist/counter-input-hbz8NVA1.js.map +0 -1
  657. package/dist/dropdown-menu-node-4Pe3uXjC.js +0 -2621
  658. package/dist/dropdown-menu-node-4Pe3uXjC.js.map +0 -1
  659. package/dist/dropdown-menu-node-zOplWIzZ.cjs +0 -7
  660. package/dist/dropdown-menu-node-zOplWIzZ.cjs.map +0 -1
  661. package/dist/favorite-heart-DfzWBG3K.js.map +0 -1
  662. package/dist/favorite-heart-uZBiApM_.cjs +0 -2
  663. package/dist/favorite-heart-uZBiApM_.cjs.map +0 -1
  664. package/dist/index-BgU5ZH3M.cjs +0 -2
  665. package/dist/index-BppAzNV8.cjs +0 -6
  666. package/dist/index-Bw7_huW8.cjs +0 -2
  667. package/dist/index-Bw7_huW8.cjs.map +0 -1
  668. package/dist/index-BzgbBl8b.js +0 -83
  669. package/dist/index-BzgbBl8b.js.map +0 -1
  670. package/dist/index-CM8VpmHn.js +0 -17
  671. package/dist/index-CnXYiTkW.cjs +0 -2
  672. package/dist/index-CnXYiTkW.cjs.map +0 -1
  673. package/dist/index-Df-2-3xv.js +0 -136
  674. package/dist/index-Df-2-3xv.js.map +0 -1
  675. package/dist/logo-text-CK4vcNPY.js +0 -39
  676. package/dist/logo-text-CK4vcNPY.js.map +0 -1
  677. package/dist/logo-text-Db3yd3b1.cjs +0 -2
  678. package/dist/logo-text-Db3yd3b1.cjs.map +0 -1
  679. package/dist/product-card-label-CJmC9ICf.js.map +0 -1
  680. package/dist/product-card-label-D43AXtRL.cjs +0 -2
  681. package/dist/product-card-label-D43AXtRL.cjs.map +0 -1
  682. package/dist/product-card-skeleton-CCQkDMNl.cjs +0 -2
  683. package/dist/rating-value-CkSY9Pyr.cjs +0 -2
  684. package/dist/rating-value-CkSY9Pyr.cjs.map +0 -1
  685. package/dist/rating-value-DBtmrorI.js +0 -115
  686. package/dist/rating-value-DBtmrorI.js.map +0 -1
  687. package/dist/scroll-area-corner-Bq7PB1XK.js.map +0 -1
  688. package/dist/scroll-area-corner-DsyetkPH.cjs +0 -2
  689. package/dist/scroll-area-corner-DsyetkPH.cjs.map +0 -1
  690. package/dist/tabs-root-D3Bg29y-.cjs +0 -2
@@ -1 +0,0 @@
1
- {"version":3,"file":"favorite-heart-DfzWBG3K.js","sources":["../node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19.2._6rpmg4fegmdjzgiifjdfiv2khy/node_modules/@radix-ui/react-toggle/dist/index.mjs","../src/components/favorite/primitives/favorite-root.tsx","../src/components/favorite/primitives/favorite-heart.tsx"],"sourcesContent":["\"use client\";\n\n// src/toggle.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Toggle\";\nvar Toggle = React.forwardRef((props, forwardedRef) => {\n const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;\n const [pressed, setPressed] = useControllableState({\n prop: pressedProp,\n onChange: onPressedChange,\n defaultProp: defaultPressed ?? false,\n caller: NAME\n });\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-pressed\": pressed,\n \"data-state\": pressed ? \"on\" : \"off\",\n \"data-disabled\": props.disabled ? \"\" : void 0,\n ...buttonProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => {\n if (!props.disabled) {\n setPressed(!pressed);\n }\n })\n }\n );\n});\nToggle.displayName = NAME;\nvar Root = Toggle;\nexport {\n Root,\n Toggle\n};\n//# sourceMappingURL=index.mjs.map\n","import * as Toggle from '@radix-ui/react-toggle';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type FavoriteRootProps = ComponentProps<typeof Toggle.Root>;\n\nexport function FavoriteRoot({ children, className, ...props }: FavoriteRootProps) {\n return (\n <Toggle.Root\n className={cn(\n 'group relative flex h-[50px] w-[50px] shrink-0 cursor-pointer items-center justify-center rounded-full border border-[var(--favorite-border,hsl(var(--contrast-100)))] text-[var(--favorite-icon,hsl(var(--foreground)))] ring-[var(--favorite-focus,hsl(var(--primary)))] transition duration-300 focus-within:outline-none focus-within:ring-2 data-[state=on]:bg-[var(--favorite-on-background,hsl(var(--contrast-100)))] data-[state=off]:hover:border-[var(--favorite-off-border,hsl(var(--contrast-200)))]',\n className,\n )}\n {...props}\n >\n {children}\n </Toggle.Root>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type FavoriteHeartProps = ComponentProps<'svg'> & {\n filled?: boolean;\n};\n\nexport function FavoriteHeart({ filled = false, className, ...props }: FavoriteHeartProps) {\n return (\n <svg\n className={cn(\n 'transform-gpu transition-transform duration-300 ease-out group-active:scale-75 group-active:animate-heart-pulse sm:group-hover:scale-110',\n className,\n )}\n fill=\"none\"\n height=\"21\"\n viewBox=\"0 0 20 21\"\n width=\"20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n {/* Line Heart */}\n <path\n className={cn({\n '-translate-x-px -translate-y-px scale-110 opacity-0 transition delay-100': filled,\n })}\n d=\"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n {/* Inner Filler Heart */}\n <path\n className={cn(\n 'origin-center transition-transform duration-300 ease-out',\n filled ? 'scale-100 fill-current' : 'scale-0',\n )}\n d=\"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z\"\n />\n </svg>\n );\n}\n"],"names":["NAME","Toggle","React","props","forwardedRef","pressedProp","defaultPressed","onPressedChange","buttonProps","pressed","setPressed","useControllableState","jsx","Primitive","composeEventHandlers","Root","FavoriteRoot","children","className","Toggle.Root","cn","FavoriteHeart","filled","jsxs"],"mappings":";;;;;;AAQA,IAAIA,IAAO,UACPC,IAASC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,QAAM,EAAE,SAASC,GAAa,gBAAAC,GAAgB,iBAAAC,GAAiB,GAAGC,EAAW,IAAKL,GAC5E,CAACM,GAASC,CAAU,IAAIC,EAAqB;AAAA,IACjD,MAAMN;AAAA,IACN,UAAUE;AAAA,IACV,aAAaD,KAAkB;AAAA,IAC/B,QAAQN;AAAA,EAC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AAA,YAEtC,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAGN;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const a=require("react/jsx-runtime"),f=require("react"),v=require("./index-BqyOu62e.cjs"),C=require("./index-BwVkw1mh.cjs"),p=require("./index-Bw7_huW8.cjs"),n=require("./utils-LBH114_M.cjs");function g(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const h=g(f);var i="Toggle",c=h.forwardRef((e,t)=>{const{pressed:r,defaultPressed:o,onPressedChange:l,...u}=e,[s,d]=C.useControllableState({prop:r,onChange:l,defaultProp:o??!1,caller:i});return a.jsx(p.Primitive.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...u,ref:t,onClick:v.composeEventHandlers(e.onClick,()=>{e.disabled||d(!s)})})});c.displayName=i;var b=c;function m({children:e,className:t,...r}){return a.jsx(b,{className:n.cn("group relative flex h-[50px] w-[50px] shrink-0 cursor-pointer items-center justify-center rounded-full border border-[var(--favorite-border,hsl(var(--contrast-100)))] text-[var(--favorite-icon,hsl(var(--foreground)))] ring-[var(--favorite-focus,hsl(var(--primary)))] transition duration-300 focus-within:outline-none focus-within:ring-2 data-[state=on]:bg-[var(--favorite-on-background,hsl(var(--contrast-100)))] data-[state=off]:hover:border-[var(--favorite-off-border,hsl(var(--contrast-200)))]",t),...r,children:e})}function x({filled:e=!1,className:t,...r}){return a.jsxs("svg",{className:n.cn("transform-gpu transition-transform duration-300 ease-out group-active:scale-75 group-active:animate-heart-pulse sm:group-hover:scale-110",t),fill:"none",height:"21",viewBox:"0 0 20 21",width:"20",xmlns:"http://www.w3.org/2000/svg",...r,children:[a.jsx("path",{className:n.cn({"-translate-x-px -translate-y-px scale-110 opacity-0 transition delay-100":e}),d:"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{className:n.cn("origin-center transition-transform duration-300 ease-out",e?"scale-100 fill-current":"scale-0"),d:"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z"})]})}exports.FavoriteHeart=x;exports.FavoriteRoot=m;
2
- //# sourceMappingURL=favorite-heart-uZBiApM_.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"favorite-heart-uZBiApM_.cjs","sources":["../node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19.2._6rpmg4fegmdjzgiifjdfiv2khy/node_modules/@radix-ui/react-toggle/dist/index.mjs","../src/components/favorite/primitives/favorite-root.tsx","../src/components/favorite/primitives/favorite-heart.tsx"],"sourcesContent":["\"use client\";\n\n// src/toggle.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Toggle\";\nvar Toggle = React.forwardRef((props, forwardedRef) => {\n const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;\n const [pressed, setPressed] = useControllableState({\n prop: pressedProp,\n onChange: onPressedChange,\n defaultProp: defaultPressed ?? false,\n caller: NAME\n });\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-pressed\": pressed,\n \"data-state\": pressed ? \"on\" : \"off\",\n \"data-disabled\": props.disabled ? \"\" : void 0,\n ...buttonProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => {\n if (!props.disabled) {\n setPressed(!pressed);\n }\n })\n }\n );\n});\nToggle.displayName = NAME;\nvar Root = Toggle;\nexport {\n Root,\n Toggle\n};\n//# sourceMappingURL=index.mjs.map\n","import * as Toggle from '@radix-ui/react-toggle';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type FavoriteRootProps = ComponentProps<typeof Toggle.Root>;\n\nexport function FavoriteRoot({ children, className, ...props }: FavoriteRootProps) {\n return (\n <Toggle.Root\n className={cn(\n 'group relative flex h-[50px] w-[50px] shrink-0 cursor-pointer items-center justify-center rounded-full border border-[var(--favorite-border,hsl(var(--contrast-100)))] text-[var(--favorite-icon,hsl(var(--foreground)))] ring-[var(--favorite-focus,hsl(var(--primary)))] transition duration-300 focus-within:outline-none focus-within:ring-2 data-[state=on]:bg-[var(--favorite-on-background,hsl(var(--contrast-100)))] data-[state=off]:hover:border-[var(--favorite-off-border,hsl(var(--contrast-200)))]',\n className,\n )}\n {...props}\n >\n {children}\n </Toggle.Root>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type FavoriteHeartProps = ComponentProps<'svg'> & {\n filled?: boolean;\n};\n\nexport function FavoriteHeart({ filled = false, className, ...props }: FavoriteHeartProps) {\n return (\n <svg\n className={cn(\n 'transform-gpu transition-transform duration-300 ease-out group-active:scale-75 group-active:animate-heart-pulse sm:group-hover:scale-110',\n className,\n )}\n fill=\"none\"\n height=\"21\"\n viewBox=\"0 0 20 21\"\n width=\"20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n {/* Line Heart */}\n <path\n className={cn({\n '-translate-x-px -translate-y-px scale-110 opacity-0 transition delay-100': filled,\n })}\n d=\"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n {/* Inner Filler Heart */}\n <path\n className={cn(\n 'origin-center transition-transform duration-300 ease-out',\n filled ? 'scale-100 fill-current' : 'scale-0',\n )}\n d=\"M17.3666 4.34166C16.941 3.91583 16.4356 3.57803 15.8794 3.34757C15.3232 3.1171 14.727 2.99847 14.1249 2.99847C13.5229 2.99847 12.9267 3.1171 12.3705 3.34757C11.8143 3.57803 11.3089 3.91583 10.8833 4.34166L9.99994 5.225L9.1166 4.34166C8.25686 3.48192 7.0908 2.99892 5.87494 2.99892C4.65908 2.99892 3.49301 3.48192 2.63327 4.34166C1.77353 5.20141 1.29053 6.36747 1.29053 7.58333C1.29053 8.79919 1.77353 9.96525 2.63327 10.825L3.5166 11.7083L9.99994 18.1917L16.4833 11.7083L17.3666 10.825C17.7924 10.3994 18.1302 9.89401 18.3607 9.33779C18.5912 8.78158 18.7098 8.1854 18.7098 7.58333C18.7098 6.98126 18.5912 6.38508 18.3607 5.82887C18.1302 5.27265 17.7924 4.76729 17.3666 4.34166Z\"\n />\n </svg>\n );\n}\n"],"names":["NAME","Toggle","React","props","forwardedRef","pressedProp","defaultPressed","onPressedChange","buttonProps","pressed","setPressed","useControllableState","jsx","Primitive","composeEventHandlers","Root","FavoriteRoot","children","className","Toggle.Root","cn","FavoriteHeart","filled","jsxs"],"mappings":"ueAQA,IAAIA,EAAO,SACPC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAASC,EAAa,eAAAC,EAAgB,gBAAAC,EAAiB,GAAGC,CAAW,EAAKL,EAC5E,CAACM,EAASC,CAAU,EAAIC,uBAAqB,CACjD,KAAMN,EACN,SAAUE,EACV,YAAaD,GAAkB,GAC/B,OAAQN,CACZ,CAAG,EACD,OAAuBY,EAAAA,IACrBC,EAAAA,UAAU,OACV,CACE,KAAM,SACN,eAAgBJ,EAChB,aAAcA,EAAU,KAAO,MAC/B,gBAAiBN,EAAM,SAAW,GAAK,OACvC,GAAGK,EACH,IAAKJ,EACL,QAASU,EAAAA,qBAAqBX,EAAM,QAAS,IAAM,CAC5CA,EAAM,UACTO,EAAW,CAACD,CAAO,CAEvB,CAAC,CACP,CACA,CACA,CAAC,EACDR,EAAO,YAAcD,EACrB,IAAIe,EAAOd,EC5BJ,SAASe,EAAa,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGf,GAA4B,CACjF,OACES,EAAAA,IAACO,EAAA,CACC,UAAWC,EAAAA,GACT,mfACAF,CAAA,EAED,GAAGf,EAEH,SAAAc,CAAA,CAAA,CAGP,CCXO,SAASI,EAAc,CAAE,OAAAC,EAAS,GAAO,UAAAJ,EAAW,GAAGf,GAA6B,CACzF,OACEoB,EAAAA,KAAC,MAAA,CACC,UAAWH,EAAAA,GACT,2IACAF,CAAA,EAEF,KAAK,OACL,OAAO,KACP,QAAQ,YACR,MAAM,KACN,MAAM,6BACL,GAAGf,EAGJ,SAAA,CAAAS,EAAAA,IAAC,OAAA,CACC,UAAWQ,EAAAA,GAAG,CACZ,2EAA4EE,CAAA,CAC7E,EACD,EAAE,wqBACF,OAAO,eACP,cAAc,QACd,eAAe,OAAA,CAAA,EAGjBV,EAAAA,IAAC,OAAA,CACC,UAAWQ,EAAAA,GACT,2DACAE,EAAS,yBAA2B,SAAA,EAEtC,EAAE,uqBAAA,CAAA,CACJ,CAAA,CAAA,CAGN","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const l=require("react"),f=require("react-dom"),c=require("./index-Bw7_huW8.cjs"),d=require("react/jsx-runtime");function p(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=p(l);var P="Portal",n=s.forwardRef((e,r)=>{const{container:t,...o}=e,[u,i]=s.useState(!1);c.useLayoutEffect2(()=>i(!0),[]);const a=t||u&&globalThis?.document?.body;return a?f.createPortal(d.jsx(c.Primitive.div,{...o,ref:r}),a):null});n.displayName=P;var m=n;exports.Portal=n;exports.Root=m;
2
- //# sourceMappingURL=index-BgU5ZH3M.cjs.map
@@ -1,6 +0,0 @@
1
- "use strict";const L=require("react"),p=require("./index-BqyOu62e.cjs"),P=require("./index-_XxjJPRD.cjs"),D=require("./index-CnXYiTkW.cjs"),_=require("./index-BRcWOeqw.cjs"),H=require("./index-BwVkw1mh.cjs"),v=require("./Combination-DAFZFTdA.cjs"),B=require("./index-BgU5ZH3M.cjs"),f=require("./index-Bw7_huW8.cjs"),i=require("react/jsx-runtime");function V(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const a=V(L);var x="Dialog",[y]=D.createContextScope(x),[z,u]=y(x),N=e=>{const{__scopeDialog:t,children:o,open:r,defaultOpen:s,onOpenChange:n,modal:l=!0}=e,c=a.useRef(null),g=a.useRef(null),[C,R]=H.useControllableState({prop:r,defaultProp:s??!1,onChange:n,caller:x});return i.jsx(z,{scope:t,triggerRef:c,contentRef:g,contentId:_.useId(),titleId:_.useId(),descriptionId:_.useId(),open:C,onOpenChange:R,onOpenToggle:a.useCallback(()=>R(G=>!G),[R]),modal:l,children:o})};N.displayName=x;var I="DialogTrigger",b=a.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,s=u(I,o),n=P.useComposedRefs(t,s.triggerRef);return i.jsx(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":O(s.open),...r,ref:n,onClick:p.composeEventHandlers(e.onClick,s.onOpenToggle)})});b.displayName=I;var E="DialogPortal",[K,j]=y(E,{forceMount:void 0}),T=e=>{const{__scopeDialog:t,forceMount:o,children:r,container:s}=e,n=u(E,t);return i.jsx(K,{scope:t,forceMount:o,children:a.Children.map(r,l=>i.jsx(D.Presence,{present:o||n.open,children:i.jsx(B.Portal,{asChild:!0,container:s,children:l})}))})};T.displayName=E;var m="DialogOverlay",A=a.forwardRef((e,t)=>{const o=j(m,e.__scopeDialog),{forceMount:r=o.forceMount,...s}=e,n=u(m,e.__scopeDialog);return n.modal?i.jsx(D.Presence,{present:r||n.open,children:i.jsx(Y,{...s,ref:t})}):null});A.displayName=m;var U=f.createSlot("DialogOverlay.RemoveScroll"),Y=a.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,s=u(m,o);return i.jsx(v.ReactRemoveScroll,{as:U,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(f.Primitive.div,{"data-state":O(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),d="DialogContent",M=a.forwardRef((e,t)=>{const o=j(d,e.__scopeDialog),{forceMount:r=o.forceMount,...s}=e,n=u(d,e.__scopeDialog);return i.jsx(D.Presence,{present:r||n.open,children:n.modal?i.jsx(Z,{...s,ref:t}):i.jsx(J,{...s,ref:t})})});M.displayName=d;var Z=a.forwardRef((e,t)=>{const o=u(d,e.__scopeDialog),r=a.useRef(null),s=P.useComposedRefs(t,o.contentRef,r);return a.useEffect(()=>{const n=r.current;if(n)return v.hideOthers(n)},[]),i.jsx(w,{...e,ref:s,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,n=>{n.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,n=>{const l=n.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&n.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,n=>n.preventDefault())})}),J=a.forwardRef((e,t)=>{const o=u(d,e.__scopeDialog),r=a.useRef(!1),s=a.useRef(!1);return i.jsx(w,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{e.onCloseAutoFocus?.(n),n.defaultPrevented||(r.current||o.triggerRef.current?.focus(),n.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:n=>{e.onInteractOutside?.(n),n.defaultPrevented||(r.current=!0,n.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const l=n.target;o.triggerRef.current?.contains(l)&&n.preventDefault(),n.detail.originalEvent.type==="focusin"&&s.current&&n.preventDefault()}})}),w=a.forwardRef((e,t)=>{const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:n,...l}=e,c=u(d,o),g=a.useRef(null),C=P.useComposedRefs(t,g);return v.useFocusGuards(),i.jsxs(i.Fragment,{children:[i.jsx(v.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:n,children:i.jsx(v.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":O(c.open),...l,ref:C,onDismiss:()=>c.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(X,{titleId:c.titleId}),i.jsx(te,{contentRef:g,descriptionId:c.descriptionId})]})]})}),h="DialogTitle",S=a.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,s=u(h,o);return i.jsx(f.Primitive.h2,{id:s.titleId,...r,ref:t})});S.displayName=h;var F="DialogDescription",Q=a.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,s=u(F,o);return i.jsx(f.Primitive.p,{id:s.descriptionId,...r,ref:t})});Q.displayName=F;var W="DialogClose",q=a.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,s=u(W,o);return i.jsx(f.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});q.displayName=W;function O(e){return e?"open":"closed"}var $="DialogTitleWarning",[le,k]=D.createContext2($,{contentName:d,titleName:h,docsSlug:"dialog"}),X=({titleId:e})=>{const t=k($),o=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
-
3
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
-
5
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},ee="DialogDescriptionWarning",te=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${k(ee).contentName}}.`;return a.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},oe=N,ne=b,re=T,se=A,ie=M,ae=S,ce=q;exports.Close=ce;exports.Content=ie;exports.Overlay=se;exports.Portal=re;exports.Root=oe;exports.Title=ae;exports.Trigger=ne;
6
- //# sourceMappingURL=index-BppAzNV8.cjs.map
@@ -1,2 +0,0 @@
1
- "use strict";const g=require("react"),v=require("react-dom"),E=require("./index-_XxjJPRD.cjs"),f=require("react/jsx-runtime");function d(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=d(g),S=d(v);function m(e){const t=b(e),r=i.forwardRef((n,o)=>{const{children:s,...c}=n,l=i.Children.toArray(s),a=l.find(C);if(a){const u=a.props.children,y=l.map(p=>p===a?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:p);return f.jsx(t,{...c,ref:o,children:i.isValidElement(u)?i.cloneElement(u,void 0,y):null})}return f.jsx(t,{...c,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function b(e){const t=i.forwardRef((r,n)=>{const{children:o,...s}=r;if(i.isValidElement(o)){const c=O(o),l=R(s,o.props);return o.type!==i.Fragment&&(l.ref=n?E.composeRefs(n,c):c),i.cloneElement(o,l)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var h=Symbol("radix.slottable");function C(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===h}function R(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...l)=>{const a=s(...l);return o(...l),a}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var P=globalThis?.document?i.useLayoutEffect:()=>{},j=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],D=j.reduce((e,t)=>{const r=m(`Primitive.${t}`),n=i.forwardRef((o,s)=>{const{asChild:c,...l}=o,a=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(a,{...l,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function _(e,t){e&&S.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=D;exports.createSlot=m;exports.dispatchDiscreteCustomEvent=_;exports.useLayoutEffect2=P;
2
- //# sourceMappingURL=index-Bw7_huW8.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-Bw7_huW8.cjs","sources":["../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19._bvylq7i3abu4hbpi6ukh4as6qa/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n","// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn","useLayoutEffect2","NODES","Primitive","primitive","node","Slot","Node","asChild","primitiveProps","Comp","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"+ZAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAA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AOD,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZrB,EAAAA,IAAI0B,EAAM,CAAE,GAAGD,EAAgB,IAAKlC,EAAc,CAC3E,CAAC,EACD,OAAAgC,EAAK,YAAc,aAAaF,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGE,CAAI,CACrC,EAAG,CAAA,CAAE,EACL,SAASI,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0,1,2]}
@@ -1,83 +0,0 @@
1
- import * as i from "react";
2
- import * as m from "react-dom";
3
- import { c as y } from "./index-DLcqcWxM.js";
4
- import { jsx as u } from "react/jsx-runtime";
5
- // @__NO_SIDE_EFFECTS__
6
- function E(e) {
7
- const t = /* @__PURE__ */ h(e), o = i.forwardRef((n, r) => {
8
- const { children: s, ...a } = n, l = i.Children.toArray(s), c = l.find(S);
9
- if (c) {
10
- const f = c.props.children, d = l.map((p) => p === c ? i.Children.count(f) > 1 ? i.Children.only(null) : i.isValidElement(f) ? f.props.children : null : p);
11
- return /* @__PURE__ */ u(t, { ...a, ref: r, children: i.isValidElement(f) ? i.cloneElement(f, void 0, d) : null });
12
- }
13
- return /* @__PURE__ */ u(t, { ...a, ref: r, children: s });
14
- });
15
- return o.displayName = `${e}.Slot`, o;
16
- }
17
- // @__NO_SIDE_EFFECTS__
18
- function h(e) {
19
- const t = i.forwardRef((o, n) => {
20
- const { children: r, ...s } = o;
21
- if (i.isValidElement(r)) {
22
- const a = C(r), l = g(s, r.props);
23
- return r.type !== i.Fragment && (l.ref = n ? y(n, a) : a), i.cloneElement(r, l);
24
- }
25
- return i.Children.count(r) > 1 ? i.Children.only(null) : null;
26
- });
27
- return t.displayName = `${e}.SlotClone`, t;
28
- }
29
- var v = Symbol("radix.slottable");
30
- function S(e) {
31
- return i.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === v;
32
- }
33
- function g(e, t) {
34
- const o = { ...t };
35
- for (const n in t) {
36
- const r = e[n], s = t[n];
37
- /^on[A-Z]/.test(n) ? r && s ? o[n] = (...l) => {
38
- const c = s(...l);
39
- return r(...l), c;
40
- } : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...s } : n === "className" && (o[n] = [r, s].filter(Boolean).join(" "));
41
- }
42
- return { ...e, ...o };
43
- }
44
- function C(e) {
45
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
46
- return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
47
- }
48
- var w = globalThis?.document ? i.useLayoutEffect : () => {
49
- }, R = [
50
- "a",
51
- "button",
52
- "div",
53
- "form",
54
- "h2",
55
- "h3",
56
- "img",
57
- "input",
58
- "label",
59
- "li",
60
- "nav",
61
- "ol",
62
- "p",
63
- "select",
64
- "span",
65
- "svg",
66
- "ul"
67
- ], N = R.reduce((e, t) => {
68
- const o = /* @__PURE__ */ E(`Primitive.${t}`), n = i.forwardRef((r, s) => {
69
- const { asChild: a, ...l } = r, c = a ? o : t;
70
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(c, { ...l, ref: s });
71
- });
72
- return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
73
- }, {});
74
- function O(e, t) {
75
- e && m.flushSync(() => e.dispatchEvent(t));
76
- }
77
- export {
78
- N as P,
79
- E as c,
80
- O as d,
81
- w as u
82
- };
83
- //# sourceMappingURL=index-BzgbBl8b.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-BzgbBl8b.js","sources":["../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19._bvylq7i3abu4hbpi6ukh4as6qa/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n","// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn","useLayoutEffect2","NODES","Primitive","primitive","node","Slot","Node","asChild","primitiveProps","Comp","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAi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AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAO,gBAAAtC,EAAW,aAAaqC,CAAI,EAAE,GACrCE,IAAOlC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAiC,GAAS,GAAGC,EAAc,IAAKnC,GACjCoC,IAAOF,IAAUF,IAAOD;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZ,gBAAArB,EAAI0B,GAAM,EAAE,GAAGD,GAAgB,KAAKlC,GAAc;AAAA,EAC3E,CAAC;AACD,SAAAgC,EAAK,cAAc,aAAaF,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGE,EAAI;AACrC,GAAG,CAAA,CAAE;AACL,SAASI,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0,1,2]}
@@ -1,17 +0,0 @@
1
- import * as o from "react";
2
- import c from "react-dom";
3
- import { u as f, P as l } from "./index-BzgbBl8b.js";
4
- import { jsx as u } from "react/jsx-runtime";
5
- var p = "Portal", r = o.forwardRef((a, e) => {
6
- const { container: s, ...n } = a, [i, m] = o.useState(!1);
7
- f(() => m(!0), []);
8
- const t = s || i && globalThis?.document?.body;
9
- return t ? c.createPortal(/* @__PURE__ */ u(l.div, { ...n, ref: e }), t) : null;
10
- });
11
- r.displayName = p;
12
- var v = r;
13
- export {
14
- r as P,
15
- v as R
16
- };
17
- //# sourceMappingURL=index-CM8VpmHn.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const P=require("react"),O=require("react/jsx-runtime"),y=require("./index-_XxjJPRD.cjs"),M=require("./index-Bw7_huW8.cjs");function A(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const c=A(P);function C(t,e){const n=c.createContext(e),r=u=>{const{children:o,...d}=u,s=c.useMemo(()=>d,Object.values(d));return O.jsx(n.Provider,{value:s,children:o})};r.displayName=t+"Provider";function i(u){const o=c.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${u}\` must be used within \`${t}\``)}return[r,i]}function h(t,e=[]){let n=[];function r(u,o){const d=c.createContext(o),s=n.length;n=[...n,o];const a=m=>{const{scope:p,children:f,...N}=m,g=p?.[t]?.[s]||d,v=c.useMemo(()=>N,Object.values(N));return O.jsx(g.Provider,{value:v,children:f})};a.displayName=u+"Provider";function l(m,p){const f=p?.[t]?.[s]||d,N=c.useContext(f);if(N)return N;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${u}\``)}return[a,l]}const i=()=>{const u=n.map(o=>c.createContext(o));return function(d){const s=d?.[t]||u;return c.useMemo(()=>({[`__scope${t}`]:{...d,[t]:s}}),[d,s])}};return i.scopeName=t,[r,w(i,...e)]}function w(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(u){const o=r.reduce((d,{useScope:s,scopeName:a})=>{const m=s(u)[`__scope${a}`];return{...d,...m}},{});return c.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}function E(t,e){return c.useReducer((n,r)=>e[n][r]??n,t)}var S=t=>{const{present:e,children:n}=t,r=R(e),i=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),u=y.useComposedRefs(r.ref,T(i));return typeof n=="function"||r.isPresent?c.cloneElement(i,{ref:u}):null};S.displayName="Presence";function R(t){const[e,n]=c.useState(),r=c.useRef(null),i=c.useRef(t),u=c.useRef("none"),o=t?"mounted":"unmounted",[d,s]=E(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const a=x(r.current);u.current=d==="mounted"?a:"none"},[d]),M.useLayoutEffect2(()=>{const a=r.current,l=i.current;if(l!==t){const p=u.current,f=x(a);t?s("MOUNT"):f==="none"||a?.display==="none"?s("UNMOUNT"):s(l&&p!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,s]),M.useLayoutEffect2(()=>{if(e){let a;const l=e.ownerDocument.defaultView??window,m=f=>{const g=x(r.current).includes(CSS.escape(f.animationName));if(f.target===e&&g&&(s("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",a=l.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},p=f=>{f.target===e&&(u.current=x(r.current))};return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{l.clearTimeout(a),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:c.useCallback(a=>{r.current=a?getComputedStyle(a):null,n(a)},[])}}function x(t){return t?.animationName||"none"}function T(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}exports.Presence=S;exports.createContext2=C;exports.createContextScope=h;
2
- //# sourceMappingURL=index-CnXYiTkW.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CnXYiTkW.cjs","sources":["../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19.2_rg5yyfyy4s5drnz7lbyqdnomsm/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope","useStateMachine","initialState","machine","state","event","Presence","present","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","mayWarn"],"mappings":"maAGA,SAASA,EAAeC,EAAmBC,EAAgB,CACzD,MAAMC,EAAUC,EAAM,cAAcF,CAAc,EAC5CG,EAAYC,GAAU,CAC1B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAO,EAAKF,EAC3BG,EAAQL,EAAM,QAAQ,IAAMI,EA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AoBA,GAAUA,EAAO,eAC7D,OAAIC,EACKF,EAAQ,KAEjBC,EAAS,OAAO,yBAAyBD,EAAS,KAAK,GAAG,IAC1DE,EAAUD,GAAU,mBAAoBA,GAAUA,EAAO,eACrDC,EACKF,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0,1]}
@@ -1,136 +0,0 @@
1
- import * as i from "react";
2
- import { jsx as P } from "react/jsx-runtime";
3
- import { u as S } from "./index-DLcqcWxM.js";
4
- import { u as A } from "./index-BzgbBl8b.js";
5
- function R(n, e) {
6
- const t = i.createContext(e), o = (u) => {
7
- const { children: r, ...m } = u, s = i.useMemo(() => m, Object.values(m));
8
- return /* @__PURE__ */ P(t.Provider, { value: s, children: r });
9
- };
10
- o.displayName = n + "Provider";
11
- function c(u) {
12
- const r = i.useContext(t);
13
- if (r) return r;
14
- if (e !== void 0) return e;
15
- throw new Error(`\`${u}\` must be used within \`${n}\``);
16
- }
17
- return [o, c];
18
- }
19
- function I(n, e = []) {
20
- let t = [];
21
- function o(u, r) {
22
- const m = i.createContext(r), s = t.length;
23
- t = [...t, r];
24
- const a = (d) => {
25
- const { scope: p, children: f, ...N } = d, x = p?.[n]?.[s] || m, M = i.useMemo(() => N, Object.values(N));
26
- return /* @__PURE__ */ P(x.Provider, { value: M, children: f });
27
- };
28
- a.displayName = u + "Provider";
29
- function l(d, p) {
30
- const f = p?.[n]?.[s] || m, N = i.useContext(f);
31
- if (N) return N;
32
- if (r !== void 0) return r;
33
- throw new Error(`\`${d}\` must be used within \`${u}\``);
34
- }
35
- return [a, l];
36
- }
37
- const c = () => {
38
- const u = t.map((r) => i.createContext(r));
39
- return function(m) {
40
- const s = m?.[n] || u;
41
- return i.useMemo(
42
- () => ({ [`__scope${n}`]: { ...m, [n]: s } }),
43
- [m, s]
44
- );
45
- };
46
- };
47
- return c.scopeName = n, [o, g(c, ...e)];
48
- }
49
- function g(...n) {
50
- const e = n[0];
51
- if (n.length === 1) return e;
52
- const t = () => {
53
- const o = n.map((c) => ({
54
- useScope: c(),
55
- scopeName: c.scopeName
56
- }));
57
- return function(u) {
58
- const r = o.reduce((m, { useScope: s, scopeName: a }) => {
59
- const d = s(u)[`__scope${a}`];
60
- return { ...m, ...d };
61
- }, {});
62
- return i.useMemo(() => ({ [`__scope${e.scopeName}`]: r }), [r]);
63
- };
64
- };
65
- return t.scopeName = e.scopeName, t;
66
- }
67
- function C(n, e) {
68
- return i.useReducer((t, o) => e[t][o] ?? t, n);
69
- }
70
- var O = (n) => {
71
- const { present: e, children: t } = n, o = h(e), c = typeof t == "function" ? t({ present: o.isPresent }) : i.Children.only(t), u = S(o.ref, y(c));
72
- return typeof t == "function" || o.isPresent ? i.cloneElement(c, { ref: u }) : null;
73
- };
74
- O.displayName = "Presence";
75
- function h(n) {
76
- const [e, t] = i.useState(), o = i.useRef(null), c = i.useRef(n), u = i.useRef("none"), r = n ? "mounted" : "unmounted", [m, s] = C(r, {
77
- mounted: {
78
- UNMOUNT: "unmounted",
79
- ANIMATION_OUT: "unmountSuspended"
80
- },
81
- unmountSuspended: {
82
- MOUNT: "mounted",
83
- ANIMATION_END: "unmounted"
84
- },
85
- unmounted: {
86
- MOUNT: "mounted"
87
- }
88
- });
89
- return i.useEffect(() => {
90
- const a = v(o.current);
91
- u.current = m === "mounted" ? a : "none";
92
- }, [m]), A(() => {
93
- const a = o.current, l = c.current;
94
- if (l !== n) {
95
- const p = u.current, f = v(a);
96
- n ? s("MOUNT") : f === "none" || a?.display === "none" ? s("UNMOUNT") : s(l && p !== f ? "ANIMATION_OUT" : "UNMOUNT"), c.current = n;
97
- }
98
- }, [n, s]), A(() => {
99
- if (e) {
100
- let a;
101
- const l = e.ownerDocument.defaultView ?? window, d = (f) => {
102
- const x = v(o.current).includes(CSS.escape(f.animationName));
103
- if (f.target === e && x && (s("ANIMATION_END"), !c.current)) {
104
- const M = e.style.animationFillMode;
105
- e.style.animationFillMode = "forwards", a = l.setTimeout(() => {
106
- e.style.animationFillMode === "forwards" && (e.style.animationFillMode = M);
107
- });
108
- }
109
- }, p = (f) => {
110
- f.target === e && (u.current = v(o.current));
111
- };
112
- return e.addEventListener("animationstart", p), e.addEventListener("animationcancel", d), e.addEventListener("animationend", d), () => {
113
- l.clearTimeout(a), e.removeEventListener("animationstart", p), e.removeEventListener("animationcancel", d), e.removeEventListener("animationend", d);
114
- };
115
- } else
116
- s("ANIMATION_END");
117
- }, [e, s]), {
118
- isPresent: ["mounted", "unmountSuspended"].includes(m),
119
- ref: i.useCallback((a) => {
120
- o.current = a ? getComputedStyle(a) : null, t(a);
121
- }, [])
122
- };
123
- }
124
- function v(n) {
125
- return n?.animationName || "none";
126
- }
127
- function y(n) {
128
- let e = Object.getOwnPropertyDescriptor(n.props, "ref")?.get, t = e && "isReactWarning" in e && e.isReactWarning;
129
- return t ? n.ref : (e = Object.getOwnPropertyDescriptor(n, "ref")?.get, t = e && "isReactWarning" in e && e.isReactWarning, t ? n.props.ref : n.props.ref || n.ref);
130
- }
131
- export {
132
- O as P,
133
- R as a,
134
- I as c
135
- };
136
- //# sourceMappingURL=index-Df-2-3xv.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-Df-2-3xv.js","sources":["../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19.2_rg5yyfyy4s5drnz7lbyqdnomsm/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope","useStateMachine","initialState","machine","state","event","Presence","present","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","mayWarn"],"mappings":";;;;AAGA,SAASA,EAAeC,GAAmBC,GAAgB;AACzD,QAAMC,IAAUC,EAAM,cAAcF,CAAc,GAC5CG,IAAW,CAACC,MAAU;AAC1B,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAO,IAAKF,GAC3BG,IAAQL,EAAM,QAAQ,MAAMI,GAAS,OAAO,OAAOA,CAAO,CAAC;AACjE,WAAuB,gBAAAE,EAAIP,EAAQ,UAAU,EAAE,OAAAM,GAAO,UAAAF,EAAQ,CAAE;AAAA,EAClE;AACA,EAAAF,EAAS,cAAcJ,IAAoB;AAC3C,WAASU,EAAYC,GAAc;AACjC,UAAMJ,IAAUJ,EAAM,WAAWD,CAAO;AACxC,QAAIK,EAAS,QAAOA;AACpB,QAAIN,MAAmB,OAAQ,QAAOA;AACtC,UAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI;AAAA,EACpF;AACA,SAAO,CAACI,GAAUM,CAAW;AAC/B;AACA,SAASE,EAA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,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0,1]}
@@ -1,39 +0,0 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { S as s } from "./index-DD8W7cMj.js";
3
- import { c as l } from "./utils-BOGlfttm.js";
4
- function c({ asChild: o = !1, className: t, children: n, ...e }) {
5
- return /* @__PURE__ */ a(o ? s : "img", { className: l("object-contain object-left", t), ...e, children: n });
6
- }
7
- function u({ asChild: o = !1, className: t, children: n, ...e }) {
8
- return /* @__PURE__ */ a(
9
- o ? s : "a",
10
- {
11
- className: l(
12
- "focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--logo-focus,hsl(var(--primary)))]",
13
- t
14
- ),
15
- "data-slot": "logo-link",
16
- ...e,
17
- children: n
18
- }
19
- );
20
- }
21
- function g({ children: o, className: t, ...n }) {
22
- return /* @__PURE__ */ a(
23
- "span",
24
- {
25
- className: l(
26
- "text-lg font-semibold leading-none text-[var(--logo-text,hsl(var(--foreground)))] [font-family:var(--logo-font-family,var(--font-family-heading))] @xl:text-2xl",
27
- t
28
- ),
29
- ...n,
30
- children: o
31
- }
32
- );
33
- }
34
- export {
35
- c as L,
36
- u as a,
37
- g as b
38
- };
39
- //# sourceMappingURL=logo-text-CK4vcNPY.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logo-text-CK4vcNPY.js","sources":["../src/components/logo/primitives/logo-image.tsx","../src/components/logo/primitives/logo-link.tsx","../src/components/logo/primitives/logo-text.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport interface LogoImageProps extends ComponentProps<'img'> {\n asChild?: boolean;\n}\n\nexport function LogoImage({ asChild = false, className, children, ...props }: LogoImageProps) {\n const Component = asChild ? Slot : 'img';\n\n return (\n <Component className={cn('object-contain object-left', className)} {...props}>\n {children}\n </Component>\n );\n}\n","import { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport interface LogoLinkProps extends ComponentProps<'a'> {\n asChild?: boolean;\n}\n\nexport function LogoLink({ asChild = false, className, children, ...props }: LogoLinkProps) {\n const Component = asChild ? Slot : 'a';\n\n return (\n <Component\n className={cn(\n 'focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--logo-focus,hsl(var(--primary)))]',\n className,\n )}\n data-slot=\"logo-link\"\n {...props}\n >\n {children}\n </Component>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type LogoTextProps = ComponentProps<'span'>;\n\nexport function LogoText({ children, className, ...props }: LogoTextProps) {\n return (\n <span\n className={cn(\n 'text-lg font-semibold leading-none text-[var(--logo-text,hsl(var(--foreground)))] [font-family:var(--logo-font-family,var(--font-family-heading))] @xl:text-2xl',\n className,\n )}\n {...props}\n >\n {children}\n </span>\n );\n}\n"],"names":["LogoImage","asChild","className","children","props","jsx","Slot","cn","LogoLink","LogoText"],"mappings":";;;AASO,SAASA,EAAU,EAAE,SAAAC,IAAU,IAAO,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAAyB;AAG5F,SACE,gBAAAC,EAHgBJ,IAAUK,IAAO,SAGtB,WAAWC,EAAG,8BAA8BL,CAAS,GAAI,GAAGE,GACpE,UAAAD,GACH;AAEJ;ACRO,SAASK,EAAS,EAAE,SAAAP,IAAU,IAAO,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAAwB;AAG1F,SACE,gBAAAC;AAAA,IAHgBJ,IAAUK,IAAO;AAAA,IAGhC;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAL;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AClBO,SAASM,EAAS,EAAE,UAAAN,GAAU,WAAAD,GAAW,GAAGE,KAAwB;AACzE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWE;AAAA,QACT;AAAA,QACAL;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("react/jsx-runtime"),a=require("./index-DGaxX11V.cjs"),l=require("./utils-LBH114_M.cjs");function r({asChild:o=!1,className:t,children:e,...n}){const s=o?a.Slot:"img";return i.jsx(s,{className:l.cn("object-contain object-left",t),...n,children:e})}function c({asChild:o=!1,className:t,children:e,...n}){const s=o?a.Slot:"a";return i.jsx(s,{className:l.cn("focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--logo-focus,hsl(var(--primary)))]",t),"data-slot":"logo-link",...n,children:e})}function f({children:o,className:t,...e}){return i.jsx("span",{className:l.cn("text-lg font-semibold leading-none text-[var(--logo-text,hsl(var(--foreground)))] [font-family:var(--logo-font-family,var(--font-family-heading))] @xl:text-2xl",t),...e,children:o})}exports.LogoImage=r;exports.LogoLink=c;exports.LogoText=f;
2
- //# sourceMappingURL=logo-text-Db3yd3b1.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logo-text-Db3yd3b1.cjs","sources":["../src/components/logo/primitives/logo-image.tsx","../src/components/logo/primitives/logo-link.tsx","../src/components/logo/primitives/logo-text.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport interface LogoImageProps extends ComponentProps<'img'> {\n asChild?: boolean;\n}\n\nexport function LogoImage({ asChild = false, className, children, ...props }: LogoImageProps) {\n const Component = asChild ? Slot : 'img';\n\n return (\n <Component className={cn('object-contain object-left', className)} {...props}>\n {children}\n </Component>\n );\n}\n","import { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport interface LogoLinkProps extends ComponentProps<'a'> {\n asChild?: boolean;\n}\n\nexport function LogoLink({ asChild = false, className, children, ...props }: LogoLinkProps) {\n const Component = asChild ? Slot : 'a';\n\n return (\n <Component\n className={cn(\n 'focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--logo-focus,hsl(var(--primary)))]',\n className,\n )}\n data-slot=\"logo-link\"\n {...props}\n >\n {children}\n </Component>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type LogoTextProps = ComponentProps<'span'>;\n\nexport function LogoText({ children, className, ...props }: LogoTextProps) {\n return (\n <span\n className={cn(\n 'text-lg font-semibold leading-none text-[var(--logo-text,hsl(var(--foreground)))] [font-family:var(--logo-font-family,var(--font-family-heading))] @xl:text-2xl',\n className,\n )}\n {...props}\n >\n {children}\n </span>\n );\n}\n"],"names":["LogoImage","asChild","className","children","props","Component","Slot","jsx","cn","LogoLink","LogoText"],"mappings":"sHASO,SAASA,EAAU,CAAE,QAAAC,EAAU,GAAO,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAAyB,CAC5F,MAAMC,EAAYJ,EAAUK,EAAAA,KAAO,MAEnC,OACEC,MAACF,GAAU,UAAWG,EAAAA,GAAG,6BAA8BN,CAAS,EAAI,GAAGE,EACpE,SAAAD,EACH,CAEJ,CCRO,SAASM,EAAS,CAAE,QAAAR,EAAU,GAAO,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAAwB,CAC1F,MAAMC,EAAYJ,EAAUK,EAAAA,KAAO,IAEnC,OACEC,EAAAA,IAACF,EAAA,CACC,UAAWG,EAAAA,GACT,uHACAN,CAAA,EAEF,YAAU,YACT,GAAGE,EAEH,SAAAD,CAAA,CAAA,CAGP,CClBO,SAASO,EAAS,CAAE,SAAAP,EAAU,UAAAD,EAAW,GAAGE,GAAwB,CACzE,OACEG,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,GACT,kKACAN,CAAA,EAED,GAAGE,EAEH,SAAAD,CAAA,CAAA,CAGP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-card-label-CJmC9ICf.js","sources":["../src/components/badge/badge.tsx","../src/components/checkbox/checkbox.tsx","../src/components/product-card/primitives/product-card-preview.tsx","../src/components/product-card/primitives/product-card-thumbnail.tsx","../src/components/product-card/primitives/product-card-image.tsx","../src/components/product-card/primitives/product-card-badge.tsx","../src/components/product-card/primitives/product-card-fallback.tsx","../src/components/product-card/primitives/product-card-link.tsx","../src/components/product-card/primitives/product-card-details.tsx","../src/components/product-card/primitives/product-card-header.tsx","../src/components/product-card/primitives/product-card-title.tsx","../src/components/product-card/primitives/product-card-subtitle.tsx","../src/components/price/price.tsx","../src/components/product-card/primitives/product-card-price.tsx","../src/components/product-card/primitives/product-card-compare.tsx","../src/components/product-card/primitives/product-card-checkbox.tsx","../node_modules/.pnpm/@radix-ui+react-label@2.1.7_@types+react-dom@19.2.2_@types+react@19.2.2__@types+react@19.2.2__h3esd6u5mwikxnlir43mok2s5m/node_modules/@radix-ui/react-label/dist/index.mjs","../src/components/label/label.tsx","../src/components/product-card/primitives/product-card-label.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type BadgeProps = ComponentProps<'span'> & {\n children: string;\n shape?: 'pill' | 'rounded';\n variant?: 'primary' | 'warning' | 'error' | 'success' | 'info';\n};\n\n/**\n * This component supports various CSS variables for theming. Here's a comprehensive list, along\n * with their default values:\n *\n * ```css\n * :root {\n * --badge-primary-background: color-mix(in oklab, hsl(var(--primary)), white 75%);\n * --badge-success-background: color-mix(in oklab, hsl(var(--success)), white 75%);\n * --badge-warning-background: color-mix(in oklab, hsl(var(--warning)), white 75%);\n * --badge-error-background: color-mix(in oklab, hsl(var(--error)), white 75%);\n * --badge-info-background: color-mix(in oklab, hsl(var(--info)), white 75%);\n * --badge-text: hsl(var(--foreground));\n * --badge-font-family: var(--font-family-mono);\n * }\n * ```\n */\nexport function Badge({\n children,\n shape = 'rounded',\n className,\n variant = 'primary',\n ...props\n}: BadgeProps) {\n return (\n <span\n className={cn(\n 'px-2 py-0.5 text-xs uppercase tracking-tighter text-[var(--badge-text,hsl(var(--foreground)))] [font-family:var(--badge-font-family,var(--font-family-mono))]',\n {\n pill: 'rounded-full',\n rounded: 'rounded',\n }[shape],\n {\n primary:\n 'bg-[var(--badge-primary-background,color-mix(in_oklab,hsl(var(--primary)),white_75%))]',\n warning:\n 'bg-[var(--badge-warning-background,color-mix(in_oklab,hsl(var(--warning)),white_75%))]',\n error:\n 'bg-[var(--badge-error-background,color-mix(in_oklab,hsl(var(--error)),white_75%))]',\n success:\n 'bg-[var(--badge-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]',\n info: 'bg-[var(--badge-info-background,color-mix(in_oklab,hsl(var(--info)),white_75%))]',\n }[variant],\n className,\n )}\n {...props}\n >\n {children}\n </span>\n );\n}\n","'use client';\n\nimport { Check } from 'lucide-react';\nimport type { ComponentProps } from 'react';\n\nimport * as CheckboxPrimitive from '@/components/checkbox';\n\nexport type CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root>;\n\n/**\n * This component supports various CSS variables for theming. Here's a comprehensive list, along\n * with their default values:\n *\n * ```css\n * :root {\n * --checkbox-focus: var(--primary);\n * --checkbox-light-label: var(--foreground);\n * --checkbox-light-error: var(--error);\n * --checkbox-light-unchecked-border: var(--contrast-200);\n * --checkbox-light-unchecked-border-hover: var(--contrast-300);\n * --checkbox-light-unchecked-background: var(--background);\n * --checkbox-light-unchecked-icon: var(--foreground);\n * --checkbox-light-checked-border: var(--foreground);\n * --checkbox-light-checked-border-hover: var(--foreground);\n * --checkbox-light-checked-background: var(--foreground);\n * --checkbox-light-checked-icon: var(--background);\n * --checkbox-light-disabled-border: var(--contrast-200);\n * --checkbox-light-disabled-background: var(--contrast-100);\n * --checkbox-light-disabled-icon: var(--contrast-300);\n * --checkbox-dark-label: var(--background);\n * --checkbox-dark-error: var(--error);\n * --checkbox-dark-unchecked-border: var(--contrast-400);\n * --checkbox-dark-unchecked-border-hover: var(--contrast-300);\n * --checkbox-dark-unchecked-background: var(--foreground);\n * --checkbox-dark-unchecked-icon: var(--background);\n * --checkbox-dark-checked-border: var(--background);\n * --checkbox-dark-checked-border-hover: var(--background);\n * --checkbox-dark-checked-background: var(--foreground);\n * --checkbox-dark-checked-icon: var(--foreground);\n * --checkbox-dark-disabled-border: var(--contrast-200);\n * --checkbox-dark-disabled-background: var(--contrast-100);\n * --checkbox-dark-disabled-icon: var(--contrast-300);\n * --checkbox-font-family: var(--font-family-body);\n * }\n * ```\n */\nexport function Checkbox({ className, colorScheme = 'light', ...props }: CheckboxProps) {\n return (\n <CheckboxPrimitive.Root className={className} colorScheme={colorScheme} {...props}>\n <CheckboxPrimitive.Indicator>\n <Check className=\"h-4 w-4\" color=\"currentColor\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type ProductCardPreviewProps = ComponentProps<'div'>;\n\nexport function ProductCardPreview({ className, children, ...props }: ProductCardPreviewProps) {\n return (\n <div className={cn('relative', className)} data-slot=\"product-card-preview\" {...props}>\n {children}\n </div>\n );\n}\n","'use client';\n\nimport type { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardThumbnailProps = ComponentProps<'div'>;\n\nexport function ProductCardThumbnail({ className, children, ...props }: ProductCardThumbnailProps) {\n const { aspectRatio, colorScheme } = useProductCard();\n\n return (\n <div\n className={cn(\n 'relative overflow-hidden rounded-[var(--product-card-border-radius,1rem)]',\n {\n '5:6': 'aspect-[5/6]',\n '3:4': 'aspect-[3/4]',\n '1:1': 'aspect-square',\n }[aspectRatio],\n {\n light: 'bg-[var(--product-card-light-background,hsl(var(--contrast-100)))]',\n dark: 'bg-[var(--product-card-dark-background,hsl(var(--contrast-500)))]',\n }[colorScheme],\n className,\n )}\n data-slot=\"product-card-thumbnail\"\n {...props}\n >\n {children}\n </div>\n );\n}\n","'use client';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport interface ProductCardImageProps extends ComponentProps<'img'> {\n asChild?: boolean;\n}\n\nexport function ProductCardImage({\n className,\n children,\n asChild = false,\n ...props\n}: ProductCardImageProps) {\n const { colorScheme } = useProductCard();\n\n const Component = asChild ? Slot : 'img';\n\n return (\n <Component\n className={cn(\n 'h-full w-full scale-100 select-none object-cover transition-transform duration-500 ease-out group-hover:scale-110',\n {\n light: 'bg-[var(--product-card-light-background,hsl(var(--contrast-100)))]',\n dark: 'bg-[var(--product-card-dark-background,hsl(var(--contrast-500)))]',\n }[colorScheme],\n className,\n )}\n data-slot=\"product-card-image\"\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { Badge } from '@/components/badge';\nimport { cn } from '@/lib';\n\nexport type ProductCardBadgeProps = ComponentProps<typeof Badge>;\n\nexport function ProductCardBadge({ className, children, ...props }: ProductCardBadgeProps) {\n return (\n <Badge\n className={cn('absolute left-3 top-3', className)}\n data-slot=\"product-card-badge\"\n shape=\"rounded\"\n {...props}\n >\n {children}\n </Badge>\n );\n}\n","'use client';\n\nimport { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardFallbackProps = ComponentProps<'div'>;\n\nexport function ProductCardFallback({ className, children, ...props }: ProductCardFallbackProps) {\n const { colorScheme } = useProductCard();\n\n return (\n <div\n className={cn(\n 'break-words p-4 text-4xl font-bold leading-none tracking-tight transition-transform duration-500 ease-out group-hover:scale-105',\n {\n light: '[color:color-mix(in_oklab,hsl(var(--foreground))_30%,transparent)]',\n dark: '[color:color-mix(in_oklab,hsl(var(--background))_30%,transparent)]',\n }[colorScheme],\n className,\n )}\n data-slot=\"product-card-fallback\"\n {...props}\n >\n {children}\n </div>\n );\n}\n","'use client';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport type { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport interface ProductCardLinkProps extends ComponentProps<'a'> {\n asChild?: boolean;\n}\n\nexport function ProductCardLink({ asChild = false, className, ...props }: ProductCardLinkProps) {\n const { colorScheme } = useProductCard();\n\n const Component = asChild ? Slot : 'a';\n\n return (\n <Component\n className={cn(\n 'absolute inset-0 rounded-[var(--product-card-border-radius,1rem)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--product-card-focus,hsl(var(--primary)))] focus-visible:ring-offset-4',\n {\n light: 'ring-offset-[var(--product-card-light-offset,hsl(var(--background)))]',\n dark: 'ring-offset-[var(--product-card-dark-offset,hsl(var(--foreground)))]',\n }[colorScheme],\n className,\n )}\n data-slot=\"product-card-link\"\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type ProductCardDetailsProps = ComponentProps<'div'>;\n\nexport function ProductCardDetails({ children, className, ...props }: ProductCardDetailsProps) {\n return (\n <div\n className={cn(\n 'mt-2 flex flex-col items-start gap-x-4 gap-y-3 px-1 @xs:mt-3 @xs:flex-row',\n className,\n )}\n data-slot=\"product-card-details\"\n {...props}\n >\n {children}\n </div>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type ProductCardHeaderProps = ComponentProps<'div'>;\n\nexport function ProductCardHeader({ children, className, ...props }: ProductCardHeaderProps) {\n return (\n <div\n className={cn('relative flex-1 text-sm @[16rem]:text-base', className)}\n data-slot=\"product-card-header\"\n {...props}\n >\n {children}\n </div>\n );\n}\n","'use client';\n\nimport type { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardTitleProps = ComponentProps<'h3'>;\n\nexport function ProductCardTitle({ className, children, ...props }: ProductCardTitleProps) {\n const { colorScheme } = useProductCard();\n\n return (\n <h3\n className={cn(\n 'block font-semibold',\n {\n light: 'text-[var(--product-card-light-title,hsl(var(--foreground)))]',\n dark: 'text-[var(--product-card-dark-title,hsl(var(--background)))]',\n }[colorScheme],\n )}\n data-slot=\"product-card-title\"\n {...props}\n >\n {children}\n </h3>\n );\n}\n","'use client';\n\nimport type { ComponentProps } from 'react';\n\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardSubtitleProps = ComponentProps<'span'>;\n\nexport function ProductCardSubtitle({ children, className, ...props }: ProductCardSubtitleProps) {\n const { colorScheme } = useProductCard();\n\n return (\n <span\n className={cn(\n 'block text-sm font-normal',\n {\n light:\n 'text-[var(--product-card-light-subtitle,color-mix(in_oklab,hsl(var(--foreground))_75%,transparent))]',\n dark: 'text-[var(--product-card-dark-subtitle,color-mix(in_oklab,hsl(var(--background))_75%,transparent))]',\n }[colorScheme],\n className,\n )}\n data-slot=\"product-card-subtitle\"\n {...props}\n >\n {children}\n </span>\n );\n}\n","import * as PricePrimitive from '@/components/price';\n\ninterface PriceDefault {\n type: 'default';\n value: string;\n}\n\ninterface PriceRange {\n type: 'range';\n minValue: string;\n maxValue: string;\n}\n\ninterface PriceSale {\n type: 'sale';\n previousValue: string;\n currentValue: string;\n}\n\ntype PriceType = PriceDefault | PriceRange | PriceSale;\n\nexport interface PriceProps extends PricePrimitive.RootProps {\n price: PriceType;\n}\n\n/**\n * This component supports various CSS variables for theming. Here's a comprehensive list, along\n * with their default values:\n *\n * ```css\n * :root {\n * --price-light-text: hsl(var(--foreground));\n * --price-light-sale-text: hsl(var(--foreground));\n * --price-dark-text: hsl(var(--background));\n * --price-dark-sale-text: hsl(var(--background));\n * }\n * ```\n */\nexport function Price({ className, colorScheme = 'light', price, ...props }: PriceProps) {\n return (\n <PricePrimitive.Root className={className} colorScheme={colorScheme} {...props}>\n {price.type === 'range' && (\n <>\n <PricePrimitive.Default>{price.minValue}</PricePrimitive.Default>\n {' – '}\n <PricePrimitive.Default>{price.maxValue}</PricePrimitive.Default>\n </>\n )}\n {price.type === 'sale' && (\n <>\n <PricePrimitive.Strike>{price.currentValue}</PricePrimitive.Strike>{' '}\n <PricePrimitive.Default>{price.previousValue}</PricePrimitive.Default>\n </>\n )}\n {price.type === 'default' && <PricePrimitive.Default>{price.value}</PricePrimitive.Default>}\n </PricePrimitive.Root>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { Price } from '@/components/price';\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardPriceProps = ComponentProps<typeof Price>;\n\nexport function ProductCardPrice({ className, price, ...props }: ProductCardPriceProps) {\n const { colorScheme } = useProductCard();\n\n return (\n <Price\n className={cn('mt-2', className)}\n colorScheme={colorScheme}\n data-slot=\"product-card-price\"\n price={price}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type ProductCardCompareProps = ComponentProps<'div'>;\n\nexport function ProductCardCompare({ className, children, ...props }: ProductCardCompareProps) {\n return (\n <div\n className={cn(\n 'font-(family-name:--checkbox-font-family,var(--font-family-body)) flex shrink-0 items-center gap-2',\n className,\n )}\n data-slot=\"product-card-compare\"\n {...props}\n >\n {children}\n </div>\n );\n}\n","'use client';\n\nimport type { ComponentProps } from 'react';\n\nimport { Checkbox } from '@/components/checkbox';\nimport { cn } from '@/lib';\n\nexport type ProductCardCheckboxProps = ComponentProps<typeof Checkbox>;\n\nexport function ProductCardCheckbox({ className, ...props }: ProductCardCheckboxProps) {\n return <Checkbox className={cn(className)} data-slot=\"product-card-checkbox\" {...props} />;\n}\n","\"use client\";\n\n// src/label.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Label\";\nvar Label = React.forwardRef((props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.label,\n {\n ...props,\n ref: forwardedRef,\n onMouseDown: (event) => {\n const target = event.target;\n if (target.closest(\"button, input, select, textarea\")) return;\n props.onMouseDown?.(event);\n if (!event.defaultPrevented && event.detail > 1) event.preventDefault();\n }\n }\n );\n});\nLabel.displayName = NAME;\nvar Root = Label;\nexport {\n Label,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n","import * as LabelPrimitive from '@radix-ui/react-label';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type LabelProps = ComponentProps<typeof LabelPrimitive.Root> & {\n colorScheme?: 'light' | 'dark';\n};\n\nexport function Label({ className, children, colorScheme = 'light', ...props }: LabelProps) {\n return (\n <LabelPrimitive.Root\n className={cn(\n 'cursor-pointer text-sm peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n {\n light: 'text-[var(--checkbox-light-label,hsl(var(--foreground)))]',\n dark: 'text-[var(--checkbox-dark-label,hsl(var(--background)))]',\n }[colorScheme],\n )}\n data-slot=\"label\"\n {...props}\n >\n {children}\n </LabelPrimitive.Root>\n );\n}\n","'use client';\n\nimport { ComponentProps } from 'react';\n\nimport { Label } from '@/components/label';\nimport { useProductCard } from '@/components/product-card';\nimport { cn } from '@/lib';\n\nexport type ProductCardLabelProps = ComponentProps<typeof Label>;\n\nexport function ProductCardLabel({ className, children, ...props }: ProductCardLabelProps) {\n const { colorScheme } = useProductCard();\n\n return (\n <Label\n className={cn(className)}\n colorScheme={colorScheme}\n data-slot=\"product-card-label\"\n {...props}\n >\n {children}\n </Label>\n );\n}\n"],"names":["Badge","children","shape","className","variant","props","jsx","cn","Checkbox","colorScheme","CheckboxPrimitive.Root","CheckboxPrimitive.Indicator","Check","ProductCardPreview","ProductCardThumbnail","aspectRatio","useProductCard","ProductCardImage","asChild","Slot","ProductCardBadge","ProductCardFallback","ProductCardLink","ProductCardDetails","ProductCardHeader","ProductCardTitle","ProductCardSubtitle","Price","price","PricePrimitive.Root","jsxs","Fragment","PricePrimitive.Default","PricePrimitive.Strike","ProductCardPrice","ProductCardCompare","ProductCardCheckbox","NAME","Label","React","forwardedRef","Primitive","event","Root","LabelPrimitive.Root","ProductCardLabel"],"mappings":";;;;;;;;;;AA0BO,SAASA,EAAM;AAAA,EACpB,UAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,WAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,GAAGC;AACL,GAAe;AACb,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,SAAS;AAAA,QAAA,EACTL,CAAK;AAAA,QACP;AAAA,UACE,SACE;AAAA,UACF,SACE;AAAA,UACF,OACE;AAAA,UACF,SACE;AAAA,UACF,MAAM;AAAA,QAAA,EACNE,CAAO;AAAA,QACTD;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,MAEH,UAAAJ;AAAA,IAAA;AAAA,EAAA;AAGP;ACbO,SAASO,EAAS,EAAE,WAAAL,GAAW,aAAAM,IAAc,SAAS,GAAGJ,KAAwB;AACtF,2BACGK,GAAA,EAAuB,WAAAP,GAAsB,aAAAM,GAA2B,GAAGJ,GAC1E,UAAA,gBAAAC,EAACK,GAAA,EACC,4BAACC,GAAA,EAAM,WAAU,WAAU,OAAM,eAAA,CAAe,GAClD,GACF;AAEJ;AChDO,SAASC,EAAmB,EAAE,WAAAV,GAAW,UAAAF,GAAU,GAAGI,KAAkC;AAC7F,SACE,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAG,YAAYJ,CAAS,GAAG,aAAU,wBAAwB,GAAGE,GAC7E,UAAAJ,EAAA,CACH;AAEJ;ACHO,SAASa,EAAqB,EAAE,WAAAX,GAAW,UAAAF,GAAU,GAAGI,KAAoC;AACjG,QAAM,EAAE,aAAAU,GAAa,aAAAN,EAAA,IAAgBO,EAAA;AAErC,SACE,gBAAAV;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,OAAO;AA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