@tribepad/themis 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/dist/elements/Accordion/index.js +325 -66
  2. package/dist/elements/Accordion/index.js.map +1 -1
  3. package/dist/elements/Accordion/index.mjs +317 -3
  4. package/dist/elements/Accordion/index.mjs.map +1 -1
  5. package/dist/elements/Avatar/index.js +461 -45
  6. package/dist/elements/Avatar/index.js.map +1 -1
  7. package/dist/elements/Avatar/index.mjs +456 -3
  8. package/dist/elements/Avatar/index.mjs.map +1 -1
  9. package/dist/elements/Badge/index.js +238 -36
  10. package/dist/elements/Badge/index.js.map +1 -1
  11. package/dist/elements/Badge/index.mjs +234 -4
  12. package/dist/elements/Badge/index.mjs.map +1 -1
  13. package/dist/elements/Breadcrumbs/index.js +808 -39
  14. package/dist/elements/Breadcrumbs/index.js.map +1 -1
  15. package/dist/elements/Breadcrumbs/index.mjs +810 -7
  16. package/dist/elements/Breadcrumbs/index.mjs.map +1 -1
  17. package/dist/elements/Button/index.js +282 -19
  18. package/dist/elements/Button/index.js.map +1 -1
  19. package/dist/elements/Button/index.mjs +283 -4
  20. package/dist/elements/Button/index.mjs.map +1 -1
  21. package/dist/elements/ButtonGroup/index.js +229 -56
  22. package/dist/elements/ButtonGroup/index.js.map +1 -1
  23. package/dist/elements/ButtonGroup/index.mjs +222 -3
  24. package/dist/elements/ButtonGroup/index.mjs.map +1 -1
  25. package/dist/elements/Card/Card.d.ts.map +1 -1
  26. package/dist/elements/Card/index.js +563 -67
  27. package/dist/elements/Card/index.js.map +1 -1
  28. package/dist/elements/Card/index.mjs +560 -6
  29. package/dist/elements/Card/index.mjs.map +1 -1
  30. package/dist/elements/Carousel/index.js +782 -14
  31. package/dist/elements/Carousel/index.js.map +1 -1
  32. package/dist/elements/Carousel/index.mjs +786 -8
  33. package/dist/elements/Carousel/index.mjs.map +1 -1
  34. package/dist/elements/Chart/index.js +1833 -36
  35. package/dist/elements/Chart/index.js.map +1 -1
  36. package/dist/elements/Chart/index.mjs +1832 -4
  37. package/dist/elements/Chart/index.mjs.map +1 -1
  38. package/dist/elements/Checkbox/index.js +310 -39
  39. package/dist/elements/Checkbox/index.js.map +1 -1
  40. package/dist/elements/Checkbox/index.mjs +306 -4
  41. package/dist/elements/Checkbox/index.mjs.map +1 -1
  42. package/dist/elements/CheckboxGroup/index.js +445 -59
  43. package/dist/elements/CheckboxGroup/index.js.map +1 -1
  44. package/dist/elements/CheckboxGroup/index.mjs +439 -4
  45. package/dist/elements/CheckboxGroup/index.mjs.map +1 -1
  46. package/dist/elements/DatePicker/index.js +871 -89
  47. package/dist/elements/DatePicker/index.js.map +1 -1
  48. package/dist/elements/DatePicker/index.mjs +853 -4
  49. package/dist/elements/DatePicker/index.mjs.map +1 -1
  50. package/dist/elements/Dropdown/index.js +189 -35
  51. package/dist/elements/Dropdown/index.js.map +1 -1
  52. package/dist/elements/Dropdown/index.mjs +184 -2
  53. package/dist/elements/Dropdown/index.mjs.map +1 -1
  54. package/dist/elements/FileField/index.js +1532 -129
  55. package/dist/elements/FileField/index.js.map +1 -1
  56. package/dist/elements/FileField/index.mjs +1507 -7
  57. package/dist/elements/FileField/index.mjs.map +1 -1
  58. package/dist/elements/FormLayout/index.js +166 -11
  59. package/dist/elements/FormLayout/index.js.map +1 -1
  60. package/dist/elements/FormLayout/index.mjs +167 -2
  61. package/dist/elements/FormLayout/index.mjs.map +1 -1
  62. package/dist/elements/Modal/index.js +228 -46
  63. package/dist/elements/Modal/index.js.map +1 -1
  64. package/dist/elements/Modal/index.mjs +220 -1
  65. package/dist/elements/Modal/index.mjs.map +1 -1
  66. package/dist/elements/NumberField/index.js +659 -48
  67. package/dist/elements/NumberField/index.js.map +1 -1
  68. package/dist/elements/NumberField/index.mjs +654 -6
  69. package/dist/elements/NumberField/index.mjs.map +1 -1
  70. package/dist/elements/OTPInput/index.js +729 -6
  71. package/dist/elements/OTPInput/index.js.map +1 -1
  72. package/dist/elements/OTPInput/index.mjs +732 -2
  73. package/dist/elements/OTPInput/index.mjs.map +1 -1
  74. package/dist/elements/Panel/index.js +326 -27
  75. package/dist/elements/Panel/index.js.map +1 -1
  76. package/dist/elements/Panel/index.mjs +323 -2
  77. package/dist/elements/Panel/index.mjs.map +1 -1
  78. package/dist/elements/Progress/index.js +181 -22
  79. package/dist/elements/Progress/index.js.map +1 -1
  80. package/dist/elements/Progress/index.mjs +181 -3
  81. package/dist/elements/Progress/index.mjs.map +1 -1
  82. package/dist/elements/RadioGroup/index.js +358 -34
  83. package/dist/elements/RadioGroup/index.js.map +1 -1
  84. package/dist/elements/RadioGroup/index.mjs +359 -4
  85. package/dist/elements/RadioGroup/index.mjs.map +1 -1
  86. package/dist/elements/Resizable/components/ResizableHandle.d.ts +0 -8
  87. package/dist/elements/Resizable/components/ResizableHandle.d.ts.map +1 -1
  88. package/dist/elements/Resizable/components/ResizablePanel.d.ts +0 -8
  89. package/dist/elements/Resizable/components/ResizablePanel.d.ts.map +1 -1
  90. package/dist/elements/Resizable/components/ResizablePanelGroup.d.ts +0 -8
  91. package/dist/elements/Resizable/components/ResizablePanelGroup.d.ts.map +1 -1
  92. package/dist/elements/Resizable/components/ResizablePopover.d.ts +0 -8
  93. package/dist/elements/Resizable/components/ResizablePopover.d.ts.map +1 -1
  94. package/dist/elements/Resizable/index.js +1568 -51
  95. package/dist/elements/Resizable/index.js.map +1 -1
  96. package/dist/elements/Resizable/index.mjs +1566 -6
  97. package/dist/elements/Resizable/index.mjs.map +1 -1
  98. package/dist/elements/Select/index.js +580 -22
  99. package/dist/elements/Select/index.js.map +1 -1
  100. package/dist/elements/Select/index.mjs +582 -2
  101. package/dist/elements/Select/index.mjs.map +1 -1
  102. package/dist/elements/Skeleton/index.js +77 -15
  103. package/dist/elements/Skeleton/index.js.map +1 -1
  104. package/dist/elements/Skeleton/index.mjs +78 -3
  105. package/dist/elements/Skeleton/index.mjs.map +1 -1
  106. package/dist/elements/Switch/index.js +153 -21
  107. package/dist/elements/Switch/index.js.map +1 -1
  108. package/dist/elements/Switch/index.mjs +149 -5
  109. package/dist/elements/Switch/index.mjs.map +1 -1
  110. package/dist/elements/Table/index.js +589 -68
  111. package/dist/elements/Table/index.js.map +1 -1
  112. package/dist/elements/Table/index.mjs +578 -5
  113. package/dist/elements/Table/index.mjs.map +1 -1
  114. package/dist/elements/Tabs/index.js +328 -63
  115. package/dist/elements/Tabs/index.js.map +1 -1
  116. package/dist/elements/Tabs/index.mjs +320 -3
  117. package/dist/elements/Tabs/index.mjs.map +1 -1
  118. package/dist/elements/TextField/index.js +695 -51
  119. package/dist/elements/TextField/index.js.map +1 -1
  120. package/dist/elements/TextField/index.mjs +684 -7
  121. package/dist/elements/TextField/index.mjs.map +1 -1
  122. package/dist/elements/TimeField/index.js +244 -33
  123. package/dist/elements/TimeField/index.js.map +1 -1
  124. package/dist/elements/TimeField/index.mjs +238 -2
  125. package/dist/elements/TimeField/index.mjs.map +1 -1
  126. package/dist/elements/Toast/index.js +727 -48
  127. package/dist/elements/Toast/index.js.map +1 -1
  128. package/dist/elements/Toast/index.mjs +724 -5
  129. package/dist/elements/Toast/index.mjs.map +1 -1
  130. package/dist/elements/Tooltip/index.js +315 -49
  131. package/dist/elements/Tooltip/index.js.map +1 -1
  132. package/dist/elements/Tooltip/index.mjs +310 -4
  133. package/dist/elements/Tooltip/index.mjs.map +1 -1
  134. package/dist/elements/index.js +12417 -799
  135. package/dist/elements/index.js.map +1 -1
  136. package/dist/elements/index.mjs +12233 -40
  137. package/dist/elements/index.mjs.map +1 -1
  138. package/dist/index.js +12452 -825
  139. package/dist/index.js.map +1 -1
  140. package/dist/index.mjs +12262 -42
  141. package/dist/index.mjs.map +1 -1
  142. package/dist/schemas/index.js +47 -21
  143. package/dist/schemas/index.js.map +1 -1
  144. package/dist/schemas/index.mjs +47 -2
  145. package/dist/schemas/index.mjs.map +1 -1
  146. package/dist/styles/index.js +161 -147
  147. package/dist/styles/index.js.map +1 -1
  148. package/dist/styles/index.mjs +128 -2
  149. package/dist/styles/index.mjs.map +1 -1
  150. package/dist/utils/index.js +7 -7
  151. package/dist/utils/index.js.map +1 -1
  152. package/dist/utils/index.mjs +9 -2
  153. package/dist/utils/index.mjs.map +1 -1
  154. package/package.json +1 -1
  155. package/dist/Carousel-NTZX5TOW.js +0 -16
  156. package/dist/Carousel-NTZX5TOW.js.map +0 -1
  157. package/dist/Carousel-YH3DOQJU.mjs +0 -7
  158. package/dist/Carousel-YH3DOQJU.mjs.map +0 -1
  159. package/dist/chunk-2HIUTHMU.mjs +0 -234
  160. package/dist/chunk-2HIUTHMU.mjs.map +0 -1
  161. package/dist/chunk-34GTFTDO.js +0 -431
  162. package/dist/chunk-34GTFTDO.js.map +0 -1
  163. package/dist/chunk-3H7ASYR7.js +0 -250
  164. package/dist/chunk-3H7ASYR7.js.map +0 -1
  165. package/dist/chunk-3IEN7JOP.js +0 -316
  166. package/dist/chunk-3IEN7JOP.js.map +0 -1
  167. package/dist/chunk-3JHN4GAL.js +0 -326
  168. package/dist/chunk-3JHN4GAL.js.map +0 -1
  169. package/dist/chunk-3MJPASQU.js +0 -232
  170. package/dist/chunk-3MJPASQU.js.map +0 -1
  171. package/dist/chunk-3XD2JUL3.js +0 -572
  172. package/dist/chunk-3XD2JUL3.js.map +0 -1
  173. package/dist/chunk-3YOY2VJ6.js +0 -189
  174. package/dist/chunk-3YOY2VJ6.js.map +0 -1
  175. package/dist/chunk-4DU5JSXB.js +0 -408
  176. package/dist/chunk-4DU5JSXB.js.map +0 -1
  177. package/dist/chunk-4E4E2GSS.js +0 -352
  178. package/dist/chunk-4E4E2GSS.js.map +0 -1
  179. package/dist/chunk-4NHAP4AN.mjs +0 -3
  180. package/dist/chunk-4NHAP4AN.mjs.map +0 -1
  181. package/dist/chunk-4S33J5NY.mjs +0 -415
  182. package/dist/chunk-4S33J5NY.mjs.map +0 -1
  183. package/dist/chunk-5SMGRT3G.mjs +0 -354
  184. package/dist/chunk-5SMGRT3G.mjs.map +0 -1
  185. package/dist/chunk-5SVLJN2C.mjs +0 -22
  186. package/dist/chunk-5SVLJN2C.mjs.map +0 -1
  187. package/dist/chunk-66WTU4EB.mjs +0 -299
  188. package/dist/chunk-66WTU4EB.mjs.map +0 -1
  189. package/dist/chunk-6S25NMOT.mjs +0 -335
  190. package/dist/chunk-6S25NMOT.mjs.map +0 -1
  191. package/dist/chunk-6SP7UB3D.js +0 -4
  192. package/dist/chunk-6SP7UB3D.js.map +0 -1
  193. package/dist/chunk-6TYWWQHM.mjs +0 -565
  194. package/dist/chunk-6TYWWQHM.mjs.map +0 -1
  195. package/dist/chunk-A3YUJA6W.mjs +0 -384
  196. package/dist/chunk-A3YUJA6W.mjs.map +0 -1
  197. package/dist/chunk-A6KEDVUR.js +0 -61
  198. package/dist/chunk-A6KEDVUR.js.map +0 -1
  199. package/dist/chunk-A77RUEWL.js +0 -730
  200. package/dist/chunk-A77RUEWL.js.map +0 -1
  201. package/dist/chunk-AA4IKMPE.mjs +0 -3
  202. package/dist/chunk-AA4IKMPE.mjs.map +0 -1
  203. package/dist/chunk-AKIA6GW6.mjs +0 -163
  204. package/dist/chunk-AKIA6GW6.mjs.map +0 -1
  205. package/dist/chunk-AL6P275L.mjs +0 -435
  206. package/dist/chunk-AL6P275L.mjs.map +0 -1
  207. package/dist/chunk-AZ3RJYTB.js +0 -37
  208. package/dist/chunk-AZ3RJYTB.js.map +0 -1
  209. package/dist/chunk-B5Q4UPL6.js +0 -32
  210. package/dist/chunk-B5Q4UPL6.js.map +0 -1
  211. package/dist/chunk-B6DHPMDP.mjs +0 -335
  212. package/dist/chunk-B6DHPMDP.mjs.map +0 -1
  213. package/dist/chunk-BDXKKMBZ.mjs +0 -184
  214. package/dist/chunk-BDXKKMBZ.mjs.map +0 -1
  215. package/dist/chunk-BL6E2DLZ.mjs +0 -52
  216. package/dist/chunk-BL6E2DLZ.mjs.map +0 -1
  217. package/dist/chunk-CGFDS4XS.mjs +0 -121
  218. package/dist/chunk-CGFDS4XS.mjs.map +0 -1
  219. package/dist/chunk-CJIW5TKI.js +0 -139
  220. package/dist/chunk-CJIW5TKI.js.map +0 -1
  221. package/dist/chunk-CKNISJOQ.js +0 -314
  222. package/dist/chunk-CKNISJOQ.js.map +0 -1
  223. package/dist/chunk-D6CBOECS.mjs +0 -1757
  224. package/dist/chunk-D6CBOECS.mjs.map +0 -1
  225. package/dist/chunk-DDWEVC2S.js +0 -166
  226. package/dist/chunk-DDWEVC2S.js.map +0 -1
  227. package/dist/chunk-DZ556D2F.mjs +0 -176
  228. package/dist/chunk-DZ556D2F.mjs.map +0 -1
  229. package/dist/chunk-E2KQFV3O.mjs +0 -10
  230. package/dist/chunk-E2KQFV3O.mjs.map +0 -1
  231. package/dist/chunk-EMMLADSC.js +0 -126
  232. package/dist/chunk-EMMLADSC.js.map +0 -1
  233. package/dist/chunk-EP4WOI5D.mjs +0 -926
  234. package/dist/chunk-EP4WOI5D.mjs.map +0 -1
  235. package/dist/chunk-FJRXLJC2.mjs +0 -160
  236. package/dist/chunk-FJRXLJC2.mjs.map +0 -1
  237. package/dist/chunk-FKQI434R.js +0 -345
  238. package/dist/chunk-FKQI434R.js.map +0 -1
  239. package/dist/chunk-FPKEAJRZ.mjs +0 -100
  240. package/dist/chunk-FPKEAJRZ.mjs.map +0 -1
  241. package/dist/chunk-FWQYB22U.js +0 -183
  242. package/dist/chunk-FWQYB22U.js.map +0 -1
  243. package/dist/chunk-GD5GHTMA.js +0 -189
  244. package/dist/chunk-GD5GHTMA.js.map +0 -1
  245. package/dist/chunk-GE5XTSDZ.js +0 -447
  246. package/dist/chunk-GE5XTSDZ.js.map +0 -1
  247. package/dist/chunk-GVE47ZAX.mjs +0 -32
  248. package/dist/chunk-GVE47ZAX.mjs.map +0 -1
  249. package/dist/chunk-HK46BT5U.mjs +0 -18
  250. package/dist/chunk-HK46BT5U.mjs.map +0 -1
  251. package/dist/chunk-HQVRMR6N.js +0 -365
  252. package/dist/chunk-HQVRMR6N.js.map +0 -1
  253. package/dist/chunk-HSGBJPJO.mjs +0 -398
  254. package/dist/chunk-HSGBJPJO.mjs.map +0 -1
  255. package/dist/chunk-I3AUTOMZ.mjs +0 -125
  256. package/dist/chunk-I3AUTOMZ.mjs.map +0 -1
  257. package/dist/chunk-IEI5LD5C.mjs +0 -1161
  258. package/dist/chunk-IEI5LD5C.mjs.map +0 -1
  259. package/dist/chunk-IIPTC2X7.mjs +0 -118
  260. package/dist/chunk-IIPTC2X7.mjs.map +0 -1
  261. package/dist/chunk-J7TLHF2Q.js +0 -4
  262. package/dist/chunk-J7TLHF2Q.js.map +0 -1
  263. package/dist/chunk-JJOWXFXQ.mjs +0 -765
  264. package/dist/chunk-JJOWXFXQ.mjs.map +0 -1
  265. package/dist/chunk-JPTSS2OA.mjs +0 -3
  266. package/dist/chunk-JPTSS2OA.mjs.map +0 -1
  267. package/dist/chunk-KFXXRLTP.js +0 -396
  268. package/dist/chunk-KFXXRLTP.js.map +0 -1
  269. package/dist/chunk-KPRRBSG6.mjs +0 -272
  270. package/dist/chunk-KPRRBSG6.mjs.map +0 -1
  271. package/dist/chunk-NFSBGRDB.mjs +0 -57
  272. package/dist/chunk-NFSBGRDB.mjs.map +0 -1
  273. package/dist/chunk-NGJVCFTM.js +0 -219
  274. package/dist/chunk-NGJVCFTM.js.map +0 -1
  275. package/dist/chunk-NSQ6MZJ6.mjs +0 -728
  276. package/dist/chunk-NSQ6MZJ6.mjs.map +0 -1
  277. package/dist/chunk-NYQYHT76.mjs +0 -296
  278. package/dist/chunk-NYQYHT76.mjs.map +0 -1
  279. package/dist/chunk-OLJJGI5B.js +0 -1193
  280. package/dist/chunk-OLJJGI5B.js.map +0 -1
  281. package/dist/chunk-Q3572X2J.js +0 -292
  282. package/dist/chunk-Q3572X2J.js.map +0 -1
  283. package/dist/chunk-QH7N7D4I.mjs +0 -210
  284. package/dist/chunk-QH7N7D4I.mjs.map +0 -1
  285. package/dist/chunk-R7XUIV25.js +0 -466
  286. package/dist/chunk-R7XUIV25.js.map +0 -1
  287. package/dist/chunk-RFFO4KPM.js +0 -135
  288. package/dist/chunk-RFFO4KPM.js.map +0 -1
  289. package/dist/chunk-RFX7QKA7.mjs +0 -180
  290. package/dist/chunk-RFX7QKA7.mjs.map +0 -1
  291. package/dist/chunk-SN5LFAP3.js +0 -940
  292. package/dist/chunk-SN5LFAP3.js.map +0 -1
  293. package/dist/chunk-T4COXKQ3.js +0 -24
  294. package/dist/chunk-T4COXKQ3.js.map +0 -1
  295. package/dist/chunk-TS54QM27.js +0 -125
  296. package/dist/chunk-TS54QM27.js.map +0 -1
  297. package/dist/chunk-UE2S4PCX.mjs +0 -220
  298. package/dist/chunk-UE2S4PCX.mjs.map +0 -1
  299. package/dist/chunk-UTW3QX2A.mjs +0 -282
  300. package/dist/chunk-UTW3QX2A.mjs.map +0 -1
  301. package/dist/chunk-V74LGMAE.js +0 -1767
  302. package/dist/chunk-V74LGMAE.js.map +0 -1
  303. package/dist/chunk-VIREG536.js +0 -12
  304. package/dist/chunk-VIREG536.js.map +0 -1
  305. package/dist/chunk-VY7M7346.js +0 -4
  306. package/dist/chunk-VY7M7346.js.map +0 -1
  307. package/dist/chunk-W3TJOO7H.mjs +0 -319
  308. package/dist/chunk-W3TJOO7H.mjs.map +0 -1
  309. package/dist/chunk-WIUOB36M.js +0 -54
  310. package/dist/chunk-WIUOB36M.js.map +0 -1
  311. package/dist/chunk-WJGLM4CY.js +0 -291
  312. package/dist/chunk-WJGLM4CY.js.map +0 -1
  313. package/dist/chunk-WNURH5OO.mjs +0 -453
  314. package/dist/chunk-WNURH5OO.mjs.map +0 -1
  315. package/dist/chunk-X25TNRSD.mjs +0 -364
  316. package/dist/chunk-X25TNRSD.mjs.map +0 -1
  317. package/dist/chunk-Y3GT7ETK.js +0 -108
  318. package/dist/chunk-Y3GT7ETK.js.map +0 -1
  319. package/dist/chunk-Z4FRNOF6.mjs +0 -115
  320. package/dist/chunk-Z4FRNOF6.mjs.map +0 -1
  321. package/dist/chunk-ZMYLD3BN.js +0 -166
  322. package/dist/chunk-ZMYLD3BN.js.map +0 -1
  323. package/dist/chunk-ZP2KV6EX.js +0 -815
  324. package/dist/chunk-ZP2KV6EX.js.map +0 -1
  325. package/dist/chunk-ZVKXFELU.js +0 -366
  326. package/dist/chunk-ZVKXFELU.js.map +0 -1
@@ -1,85 +1,581 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
- var chunkWJGLM4CY_js = require('../../chunk-WJGLM4CY.js');
4
- require('../../chunk-3YOY2VJ6.js');
5
- require('../../chunk-Y3GT7ETK.js');
6
- require('../../chunk-B5Q4UPL6.js');
7
- require('../../chunk-VIREG536.js');
8
- require('../../chunk-T4COXKQ3.js');
4
+ var react = require('react');
5
+ var lucideReact = require('lucide-react');
6
+ var clsx = require('clsx');
7
+ var tailwindMerge = require('tailwind-merge');
8
+ var reactAriaComponents = require('react-aria-components');
9
+ var classVarianceAuthority = require('class-variance-authority');
10
+ var jsxRuntime = require('react/jsx-runtime');
11
+ var zod = require('zod');
9
12
 
10
-
11
-
12
- Object.defineProperty(exports, "Card", {
13
- enumerable: true,
14
- get: function () { return chunkWJGLM4CY_js.Card; }
15
- });
16
- Object.defineProperty(exports, "CardAction", {
17
- enumerable: true,
18
- get: function () { return chunkWJGLM4CY_js.CardAction; }
19
- });
20
- Object.defineProperty(exports, "CardActionPropsSchema", {
21
- enumerable: true,
22
- get: function () { return chunkWJGLM4CY_js.CardActionPropsSchema; }
23
- });
24
- Object.defineProperty(exports, "CardContent", {
25
- enumerable: true,
26
- get: function () { return chunkWJGLM4CY_js.CardContent; }
13
+ // src/elements/Card/Card.tsx
14
+ function cn(...inputs) {
15
+ return tailwindMerge.twMerge(clsx.clsx(inputs));
16
+ }
17
+ var PRESSED_STYLES = "data-[pressed]:scale-[0.97]";
18
+ var HOVER_STYLES = "data-[hovered]:shadow-md";
19
+ var HIGH_CONTRAST_HOVER = "hc:data-[hovered]:outline hc:data-[hovered]:outline-2 hc:data-[hovered]:outline-foreground";
20
+ var HIGH_CONTRAST_PRESSED = "hc:data-[pressed]:outline hc:data-[pressed]:outline-2 hc:data-[pressed]:outline-offset-1 hc:data-[pressed]:outline-foreground";
21
+ var ButtonGroupContext = react.createContext(null);
22
+ ButtonGroupContext.displayName = "ButtonGroupContext";
23
+ function useButtonGroupContext() {
24
+ return react.useContext(ButtonGroupContext);
25
+ }
26
+ var ButtonGroupItemContext = react.createContext(null);
27
+ ButtonGroupItemContext.displayName = "ButtonGroupItemContext";
28
+ function useButtonGroupItemContext() {
29
+ return react.useContext(ButtonGroupItemContext);
30
+ }
31
+ classVarianceAuthority.cva("inline-flex items-center gap-0", {
32
+ variants: {
33
+ orientation: {
34
+ horizontal: "flex-row",
35
+ vertical: "flex-col w-full"
36
+ }
37
+ },
38
+ defaultVariants: {
39
+ orientation: "horizontal"
40
+ }
27
41
  });
28
- Object.defineProperty(exports, "CardContentPropsSchema", {
29
- enumerable: true,
30
- get: function () { return chunkWJGLM4CY_js.CardContentPropsSchema; }
42
+ var buttonGroupItemVariants = classVarianceAuthority.cva("", {
43
+ variants: {
44
+ orientation: {
45
+ // min-w-[44px] ensures visual layer fills touch target width (for icon buttons)
46
+ horizontal: "min-w-[44px]",
47
+ // flex (overrides inline-flex) + min-h-[44px] makes visual layer fill touch target,
48
+ // eliminating gaps between stacked buttons in vertical orientation
49
+ vertical: "flex min-h-[44px]"
50
+ },
51
+ position: {
52
+ first: "",
53
+ middle: "",
54
+ last: "",
55
+ only: ""
56
+ // Single button - no modifications needed
57
+ }
58
+ },
59
+ compoundVariants: [
60
+ // ==========================================================================
61
+ // Horizontal Orientation
62
+ // ==========================================================================
63
+ {
64
+ orientation: "horizontal",
65
+ position: "first",
66
+ className: "rounded-r-none border-r-0"
67
+ },
68
+ {
69
+ orientation: "horizontal",
70
+ position: "middle",
71
+ className: "rounded-none border-r-0"
72
+ },
73
+ {
74
+ orientation: "horizontal",
75
+ position: "last",
76
+ className: "rounded-l-none"
77
+ },
78
+ // ==========================================================================
79
+ // Vertical Orientation
80
+ // Note: w-full is handled by Button's effectiveFullWidth for both layers
81
+ // ==========================================================================
82
+ {
83
+ orientation: "vertical",
84
+ position: "first",
85
+ className: "rounded-b-none border-b-0"
86
+ },
87
+ {
88
+ orientation: "vertical",
89
+ position: "middle",
90
+ className: "rounded-none border-b-0"
91
+ },
92
+ {
93
+ orientation: "vertical",
94
+ position: "last",
95
+ className: "rounded-t-none"
96
+ }
97
+ ],
98
+ defaultVariants: {
99
+ orientation: "horizontal",
100
+ position: "only"
101
+ }
31
102
  });
32
- Object.defineProperty(exports, "CardDescription", {
33
- enumerable: true,
34
- get: function () { return chunkWJGLM4CY_js.CardDescription; }
103
+ classVarianceAuthority.cva("bg-[var(--border)]", {
104
+ variants: {
105
+ orientation: {
106
+ horizontal: "w-px h-6 mx-1",
107
+ vertical: "h-px w-full my-1"
108
+ }
109
+ },
110
+ defaultVariants: {
111
+ orientation: "horizontal"
112
+ }
35
113
  });
36
- Object.defineProperty(exports, "CardDescriptionPropsSchema", {
37
- enumerable: true,
38
- get: function () { return chunkWJGLM4CY_js.CardDescriptionPropsSchema; }
114
+ var buttonOuterVariants = classVarianceAuthority.cva(
115
+ "inline-flex justify-center min-h-[44px] min-w-[44px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
116
+ {
117
+ variants: {
118
+ fullWidth: {
119
+ true: "w-full",
120
+ false: ""
121
+ },
122
+ inVerticalGroup: {
123
+ true: "items-stretch",
124
+ false: "items-center"
125
+ }
126
+ },
127
+ defaultVariants: {
128
+ fullWidth: false,
129
+ inVerticalGroup: false
130
+ }
131
+ }
132
+ );
133
+ var buttonVisualVariants = classVarianceAuthority.cva(
134
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 relative cursor-pointer",
135
+ {
136
+ variants: {
137
+ variant: {
138
+ default: "bg-[var(--primary-action)] text-[var(--primary-action-foreground)] shadow-md hover:bg-[var(--primary-action-hover)] data-[pressed]:bg-[var(--primary-action)]/80",
139
+ destructive: "bg-[var(--destructive-background)] text-[var(--destructive-foreground)] shadow-md hover:bg-[var(--destructive-background)]/90 data-[pressed]:bg-[var(--destructive-background)]/80",
140
+ outline: "border border-[var(--input-border)] bg-[var(--page-background)] hover:bg-[var(--input-border)] data-[pressed]:bg-[var(--input-border)]",
141
+ secondary: "bg-[var(--secondary)] text-[var(--secondary-foreground)] shadow-md hover:bg-[var(--secondary)]/80 data-[pressed]:bg-[var(--secondary)]/70",
142
+ ghost: "hover:bg-[var(--accent)] hover:text-[var(--accent-foreground)] data-[pressed]:bg-[var(--accent)]",
143
+ link: "text-[var(--text-link)] underline-offset-4 hover:underline data-[pressed]:text-[var(--text-link-hover)]"
144
+ },
145
+ fullWidth: {
146
+ true: "w-full",
147
+ false: ""
148
+ },
149
+ visualSize: {
150
+ default: "h-10 px-4 py-2",
151
+ sm: "h-9 rounded-md px-3 text-xs",
152
+ lg: "h-11 rounded-md px-8",
153
+ icon: "h-10 w-10",
154
+ dot: "h-5 w-5 rounded-full p-0 min-h-0 min-w-0"
155
+ },
156
+ paywall: {
157
+ true: "!bg-[var(--paywall)] !text-[var(--paywall-foreground)] !shadow-md hover:!bg-[var(--paywall)]/90 !cursor-not-allowed !border-transparent",
158
+ false: ""
159
+ }
160
+ },
161
+ defaultVariants: {
162
+ variant: "default",
163
+ visualSize: "default",
164
+ paywall: false
165
+ }
166
+ }
167
+ );
168
+ var Button = react.memo(react.forwardRef(
169
+ ({
170
+ className,
171
+ buttonVisualClassName,
172
+ variant,
173
+ size,
174
+ visualSize,
175
+ fullWidth,
176
+ loading = false,
177
+ loadingText = "Loading...",
178
+ shortcut,
179
+ children,
180
+ isDisabled,
181
+ paywall = false,
182
+ paywallRedirect,
183
+ paywallDescription,
184
+ onPress,
185
+ ...props
186
+ }, ref) => {
187
+ const paywallDescriptionId = react.useId();
188
+ const groupContext = useButtonGroupContext();
189
+ const itemContext = useButtonGroupItemContext();
190
+ const effectiveVariant = variant ?? groupContext?.variant ?? "default";
191
+ const effectiveSize = size ?? groupContext?.size;
192
+ const effectiveIsDisabled = isDisabled ?? groupContext?.isDisabled ?? false;
193
+ const isInVerticalGroup = groupContext?.orientation === "vertical";
194
+ const effectiveFullWidth = fullWidth || isInVerticalGroup;
195
+ const positionClassName = itemContext ? buttonGroupItemVariants({
196
+ orientation: groupContext?.orientation ?? "horizontal",
197
+ position: itemContext.position
198
+ }) : "";
199
+ const effectiveVisualSize = visualSize ?? effectiveSize ?? "default";
200
+ if (process.env.NODE_ENV !== "production") {
201
+ if ((effectiveVisualSize === "dot" || effectiveVisualSize === "icon") && !props["aria-label"] && !children) {
202
+ console.warn(
203
+ '[Button] visualSize="dot" or "icon" requires aria-label when no visible text is provided (WCAG 1.1.1)'
204
+ );
205
+ }
206
+ }
207
+ const handlePress = (e) => {
208
+ if (paywall) {
209
+ if (paywallRedirect) {
210
+ window.open(paywallRedirect, "_blank", "noopener,noreferrer");
211
+ }
212
+ return;
213
+ }
214
+ onPress?.(e);
215
+ };
216
+ const computedIsDisabled = effectiveIsDisabled || loading || void 0;
217
+ return /* @__PURE__ */ jsxRuntime.jsx(
218
+ reactAriaComponents.Button,
219
+ {
220
+ ref,
221
+ isDisabled: computedIsDisabled,
222
+ "aria-disabled": paywall ? true : void 0,
223
+ "aria-describedby": paywall ? paywallDescriptionId : void 0,
224
+ onPress: handlePress,
225
+ className: cn(buttonOuterVariants({ fullWidth: effectiveFullWidth, inVerticalGroup: isInVerticalGroup }), className),
226
+ ...props,
227
+ children: (renderProps) => (
228
+ /* Layer 2: Visual Button */
229
+ /* @__PURE__ */ jsxRuntime.jsxs(
230
+ "span",
231
+ {
232
+ className: cn(
233
+ buttonVisualVariants({
234
+ variant: effectiveVariant,
235
+ visualSize: effectiveVisualSize,
236
+ paywall,
237
+ fullWidth: effectiveFullWidth
238
+ }),
239
+ // Position styling from ButtonGroup context (border-radius adjustments)
240
+ positionClassName,
241
+ buttonVisualClassName,
242
+ // Layer 2 interaction styles (no focus - focus ring is on Layer 1)
243
+ PRESSED_STYLES,
244
+ HOVER_STYLES,
245
+ HIGH_CONTRAST_HOVER,
246
+ HIGH_CONTRAST_PRESSED
247
+ ),
248
+ "data-pressed": renderProps.isPressed || void 0,
249
+ children: [
250
+ loading && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
251
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "motion-safe:animate-spin", "aria-hidden": "true" }),
252
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", "aria-live": "polite", children: loadingText })
253
+ ] }),
254
+ !loading && children,
255
+ paywall && /* @__PURE__ */ jsxRuntime.jsx(
256
+ lucideReact.Zap,
257
+ {
258
+ "data-testid": "zap-icon",
259
+ "aria-hidden": "true",
260
+ className: "ml-1"
261
+ }
262
+ ),
263
+ paywall && /* @__PURE__ */ jsxRuntime.jsxs("span", { id: paywallDescriptionId, className: "sr-only", children: [
264
+ "Premium feature: ",
265
+ paywallDescription || "Upgrade required to access this feature"
266
+ ] }),
267
+ renderProps.isFocusVisible && shortcut && /* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "ml-auto hidden text-xs opacity-60 lg:inline", children: shortcut }),
268
+ renderProps.isPressed && /* @__PURE__ */ jsxRuntime.jsx(
269
+ "span",
270
+ {
271
+ className: "absolute inset-0 rounded-[inherit] bg-current opacity-10 motion-safe:animate-in motion-safe:zoom-in-95",
272
+ "aria-hidden": "true"
273
+ }
274
+ )
275
+ ]
276
+ }
277
+ )
278
+ )
279
+ }
280
+ );
281
+ }
282
+ ));
283
+ Button.displayName = "Button";
284
+ var BaseComponentPropsSchema = zod.z.object({
285
+ // Styling
286
+ className: zod.z.string().optional(),
287
+ // React
288
+ children: zod.z.any().optional(),
289
+ // ReactNode not directly supported by Zod
290
+ id: zod.z.string().optional(),
291
+ // Accessibility (WCAG 2.2 AA requirements)
292
+ "aria-label": zod.z.string().optional(),
293
+ "aria-labelledby": zod.z.string().optional(),
294
+ "aria-describedby": zod.z.string().optional(),
295
+ "aria-live": zod.z.enum(["off", "polite", "assertive"]).optional(),
296
+ "aria-hidden": zod.z.boolean().optional(),
297
+ // Testing & Development
298
+ "data-testid": zod.z.string().optional()
39
299
  });
40
- Object.defineProperty(exports, "CardFooter", {
41
- enumerable: true,
42
- get: function () { return chunkWJGLM4CY_js.CardFooter; }
43
- });
44
- Object.defineProperty(exports, "CardFooterPropsSchema", {
45
- enumerable: true,
46
- get: function () { return chunkWJGLM4CY_js.CardFooterPropsSchema; }
47
- });
48
- Object.defineProperty(exports, "CardHeader", {
49
- enumerable: true,
50
- get: function () { return chunkWJGLM4CY_js.CardHeader; }
300
+
301
+ // src/elements/Card/Card.types.ts
302
+ var FlipButtonPositionSchema = zod.z.enum([
303
+ "top-right",
304
+ "top-left",
305
+ "bottom-right",
306
+ "bottom-left"
307
+ ]);
308
+ var FlipButtonLabelSchema = zod.z.object({
309
+ show: zod.z.string().optional(),
310
+ hide: zod.z.string().optional()
51
311
  });
52
- Object.defineProperty(exports, "CardHeaderPropsSchema", {
53
- enumerable: true,
54
- get: function () { return chunkWJGLM4CY_js.CardHeaderPropsSchema; }
312
+ var FlipButtonIconSchema = zod.z.object({
313
+ /** Icon to show on front side button (default: RotateCcw) */
314
+ front: zod.z.custom().optional(),
315
+ /** Icon to show on back side button (default: same as front or RotateCcw) */
316
+ back: zod.z.custom().optional()
55
317
  });
56
- Object.defineProperty(exports, "CardPropsSchema", {
57
- enumerable: true,
58
- get: function () { return chunkWJGLM4CY_js.CardPropsSchema; }
318
+ var CardPropsSchema = BaseComponentPropsSchema.extend({
319
+ // Flip functionality
320
+ /** Enable flip animation feature */
321
+ flippable: zod.z.boolean().optional().default(false),
322
+ /** Content to display on the back side of the card */
323
+ backContent: zod.z.custom().optional(),
324
+ /** Controlled mode: current flip state */
325
+ isFlipped: zod.z.boolean().optional(),
326
+ /** Uncontrolled mode: initial flip state */
327
+ defaultFlipped: zod.z.boolean().optional().default(false),
328
+ /** Callback fired when flip state changes */
329
+ onFlipChange: zod.z.custom().optional(),
330
+ // Flip button configuration
331
+ /** Position of the flip button on the card */
332
+ flipButtonPosition: FlipButtonPositionSchema.optional().default("top-right"),
333
+ /** Custom labels for the flip button title attribute */
334
+ flipButtonLabel: FlipButtonLabelSchema.optional(),
335
+ /** Custom icons for the flip button (default: RotateCcw) */
336
+ flipButtonIcon: FlipButtonIconSchema.optional(),
337
+ /** Duration of flip animation in milliseconds */
338
+ flipDuration: zod.z.number().optional().default(600)
59
339
  });
60
- Object.defineProperty(exports, "CardTitle", {
61
- enumerable: true,
62
- get: function () { return chunkWJGLM4CY_js.CardTitle; }
340
+ var CardHeaderPropsSchema = BaseComponentPropsSchema.extend({
341
+ children: zod.z.custom()
63
342
  });
64
- Object.defineProperty(exports, "CardTitlePropsSchema", {
65
- enumerable: true,
66
- get: function () { return chunkWJGLM4CY_js.CardTitlePropsSchema; }
343
+ var CardTitlePropsSchema = BaseComponentPropsSchema.extend({
344
+ /** Heading level (h1-h6) - defaults to h3 */
345
+ as: zod.z.enum(["h1", "h2", "h3", "h4", "h5", "h6"]).optional().default("h3"),
346
+ children: zod.z.custom()
67
347
  });
68
- Object.defineProperty(exports, "FlipButtonIconSchema", {
69
- enumerable: true,
70
- get: function () { return chunkWJGLM4CY_js.FlipButtonIconSchema; }
348
+ var CardDescriptionPropsSchema = BaseComponentPropsSchema.extend({
349
+ children: zod.z.custom()
71
350
  });
72
- Object.defineProperty(exports, "FlipButtonLabelSchema", {
73
- enumerable: true,
74
- get: function () { return chunkWJGLM4CY_js.FlipButtonLabelSchema; }
351
+ var CardContentPropsSchema = BaseComponentPropsSchema.extend({
352
+ children: zod.z.custom()
75
353
  });
76
- Object.defineProperty(exports, "FlipButtonPositionSchema", {
77
- enumerable: true,
78
- get: function () { return chunkWJGLM4CY_js.FlipButtonPositionSchema; }
354
+ var CardFooterPropsSchema = BaseComponentPropsSchema.extend({
355
+ children: zod.z.custom()
79
356
  });
80
- Object.defineProperty(exports, "flipButtonPositionVariants", {
81
- enumerable: true,
82
- get: function () { return chunkWJGLM4CY_js.flipButtonPositionVariants; }
357
+ var CardActionPropsSchema = BaseComponentPropsSchema.extend({
358
+ children: zod.z.custom()
83
359
  });
360
+ var flipButtonPositionVariants = classVarianceAuthority.cva(
361
+ [
362
+ "absolute z-10 min-h-[44px] min-w-[44px] p-2",
363
+ "flex items-center justify-center",
364
+ "rounded-full bg-[var(--accent-background)]",
365
+ "text-[var(--primary-action)] hover:text-[var(--primary-action-hover)]",
366
+ "transition-colors duration-200",
367
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
368
+ ],
369
+ {
370
+ variants: {
371
+ position: {
372
+ "top-right": "top-2 right-2",
373
+ "top-left": "top-2 left-2",
374
+ "bottom-right": "bottom-2 right-2",
375
+ "bottom-left": "bottom-2 left-2"
376
+ }
377
+ },
378
+ defaultVariants: {
379
+ position: "top-right"
380
+ }
381
+ }
382
+ );
383
+ var Card = react.forwardRef(
384
+ (props, ref) => {
385
+ const {
386
+ children,
387
+ className,
388
+ flippable = false,
389
+ backContent,
390
+ isFlipped: controlledFlipped,
391
+ defaultFlipped = false,
392
+ onFlipChange,
393
+ flipButtonPosition = "top-right",
394
+ flipButtonLabel,
395
+ flipButtonIcon,
396
+ flipDuration = 600,
397
+ ...rest
398
+ } = props;
399
+ const [internalFlipped, setInternalFlipped] = react.useState(defaultFlipped);
400
+ const isControlled = controlledFlipped !== void 0;
401
+ const flipped = isControlled ? controlledFlipped : internalFlipped;
402
+ const handleFlip = react.useCallback(() => {
403
+ const newState = !flipped;
404
+ if (!isControlled) {
405
+ setInternalFlipped(newState);
406
+ }
407
+ onFlipChange?.(newState);
408
+ }, [flipped, isControlled, onFlipChange]);
409
+ if (!flippable) {
410
+ return /* @__PURE__ */ jsxRuntime.jsx(
411
+ "article",
412
+ {
413
+ ref,
414
+ className: cn(
415
+ "rounded-lg border border-[var(--border)] bg-[var(--content-background)] text-[var(--content-foreground)] shadow-sm",
416
+ className
417
+ ),
418
+ ...rest,
419
+ children
420
+ }
421
+ );
422
+ }
423
+ const showLabel = flipButtonLabel?.show ?? "Show more details";
424
+ const hideLabel = flipButtonLabel?.hide ?? "Show less details";
425
+ const defaultIcon = /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCcw, { className: "h-5 w-5", "aria-hidden": "true" });
426
+ const frontIcon = flipButtonIcon?.front ?? defaultIcon;
427
+ const backIcon = flipButtonIcon?.back ?? flipButtonIcon?.front ?? defaultIcon;
428
+ const FlipButton = ({ label, icon }) => /* @__PURE__ */ jsxRuntime.jsx(
429
+ Button,
430
+ {
431
+ variant: "ghost",
432
+ visualSize: "icon",
433
+ "aria-hidden": "true",
434
+ excludeFromTabOrder: true,
435
+ onPress: handleFlip,
436
+ className: flipButtonPositionVariants({ position: flipButtonPosition }),
437
+ "aria-label": label,
438
+ children: icon
439
+ }
440
+ );
441
+ return /* @__PURE__ */ jsxRuntime.jsx(
442
+ "article",
443
+ {
444
+ ref,
445
+ className: cn("relative", className),
446
+ style: { perspective: "1000px" },
447
+ ...rest,
448
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
449
+ "div",
450
+ {
451
+ className: cn(
452
+ "relative transition-transform",
453
+ "motion-reduce:transition-none"
454
+ ),
455
+ style: {
456
+ transformStyle: "preserve-3d",
457
+ transitionDuration: `${flipDuration}ms`,
458
+ transform: flipped ? "rotateY(180deg)" : "rotateY(0deg)"
459
+ },
460
+ "data-flipped": flipped,
461
+ children: [
462
+ /* @__PURE__ */ jsxRuntime.jsxs(
463
+ "div",
464
+ {
465
+ className: "relative rounded-lg border border-[var(--border)] bg-[var(--content-background)] text-[var(--content-foreground)] shadow-sm",
466
+ style: { backfaceVisibility: "hidden" },
467
+ "data-side": "front",
468
+ children: [
469
+ children,
470
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { label: showLabel, icon: frontIcon })
471
+ ]
472
+ }
473
+ ),
474
+ /* @__PURE__ */ jsxRuntime.jsxs(
475
+ "div",
476
+ {
477
+ className: "absolute inset-0 overflow-y-auto rounded-lg border border-[var(--border)] bg-[var(--content-background)] text-[var(--content-foreground)] shadow-sm",
478
+ style: {
479
+ backfaceVisibility: "hidden",
480
+ transform: "rotateY(180deg)"
481
+ },
482
+ "data-side": "back",
483
+ children: [
484
+ backContent,
485
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { label: hideLabel, icon: backIcon })
486
+ ]
487
+ }
488
+ )
489
+ ]
490
+ }
491
+ )
492
+ }
493
+ );
494
+ }
495
+ );
496
+ Card.displayName = "Card";
497
+ var CardHeader = react.forwardRef(
498
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
499
+ "header",
500
+ {
501
+ ref,
502
+ className: cn("flex flex-col space-y-1.5 p-6", className),
503
+ ...props,
504
+ children
505
+ }
506
+ )
507
+ );
508
+ CardHeader.displayName = "CardHeader";
509
+ var CardTitle = react.forwardRef(
510
+ ({ className, as: Comp = "h3", children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
511
+ Comp,
512
+ {
513
+ ref,
514
+ className: cn("text-2xl font-semibold leading-none tracking-tight", className),
515
+ ...props,
516
+ children
517
+ }
518
+ )
519
+ );
520
+ CardTitle.displayName = "CardTitle";
521
+ var CardDescription = react.forwardRef(
522
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
523
+ "p",
524
+ {
525
+ ref,
526
+ className: cn("text-sm text-[var(--content-foreground-muted)]", className),
527
+ ...props,
528
+ children
529
+ }
530
+ )
531
+ );
532
+ CardDescription.displayName = "CardDescription";
533
+ var CardContent = react.forwardRef(
534
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props, children })
535
+ );
536
+ CardContent.displayName = "CardContent";
537
+ var CardFooter = react.forwardRef(
538
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
539
+ "footer",
540
+ {
541
+ ref,
542
+ className: cn("flex items-center p-6 pt-0", className),
543
+ ...props,
544
+ children
545
+ }
546
+ )
547
+ );
548
+ CardFooter.displayName = "CardFooter";
549
+ var CardAction = react.forwardRef(
550
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
551
+ "div",
552
+ {
553
+ ref,
554
+ className: cn("ml-auto", className),
555
+ ...props,
556
+ children
557
+ }
558
+ )
559
+ );
560
+ CardAction.displayName = "CardAction";
561
+
562
+ exports.Card = Card;
563
+ exports.CardAction = CardAction;
564
+ exports.CardActionPropsSchema = CardActionPropsSchema;
565
+ exports.CardContent = CardContent;
566
+ exports.CardContentPropsSchema = CardContentPropsSchema;
567
+ exports.CardDescription = CardDescription;
568
+ exports.CardDescriptionPropsSchema = CardDescriptionPropsSchema;
569
+ exports.CardFooter = CardFooter;
570
+ exports.CardFooterPropsSchema = CardFooterPropsSchema;
571
+ exports.CardHeader = CardHeader;
572
+ exports.CardHeaderPropsSchema = CardHeaderPropsSchema;
573
+ exports.CardPropsSchema = CardPropsSchema;
574
+ exports.CardTitle = CardTitle;
575
+ exports.CardTitlePropsSchema = CardTitlePropsSchema;
576
+ exports.FlipButtonIconSchema = FlipButtonIconSchema;
577
+ exports.FlipButtonLabelSchema = FlipButtonLabelSchema;
578
+ exports.FlipButtonPositionSchema = FlipButtonPositionSchema;
579
+ exports.flipButtonPositionVariants = flipButtonPositionVariants;
84
580
  //# sourceMappingURL=index.js.map
85
581
  //# sourceMappingURL=index.js.map