@okam/stack-ui 1.29.0 → 1.30.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 (413) hide show
  1. package/components/Accordion/components/AccordionItem.d.ts +1 -0
  2. package/components/Accordion/index.d.ts +2 -1
  3. package/components/Accordion/interface.d.ts +3 -2
  4. package/components/Alerts/components/AlertsCloseButton.d.ts +1 -1
  5. package/components/Alerts/index.d.ts +2 -1
  6. package/components/Alerts/interface.d.ts +4 -3
  7. package/components/Box/index.d.ts +3 -2
  8. package/components/Button/index.d.ts +8 -4
  9. package/components/Button/interface.d.ts +3 -2
  10. package/components/Calendar/index.d.ts +5 -1
  11. package/components/Calendar/interface.d.ts +2 -1
  12. package/components/Carousel/components/CarouselNavigationButton.d.ts +3 -3
  13. package/components/Date/index.d.ts +2 -1
  14. package/components/Date/interface.d.ts +2 -1
  15. package/components/Icon/index.d.ts +2 -1
  16. package/components/Icon/interface.d.ts +2 -1
  17. package/components/Lightbox/hooks/overlay/index.d.ts +75 -0
  18. package/components/Lightbox/index.d.ts +2 -1
  19. package/components/Lightbox/interface.d.ts +3 -2
  20. package/components/Menu/Menu.d.ts +2 -1
  21. package/components/Menu/interface.d.ts +5 -4
  22. package/components/Modal/index.d.ts +2 -1
  23. package/components/Modal/interface.d.ts +2 -1
  24. package/components/Popover/index.d.ts +2 -1
  25. package/components/Popover/interface.d.ts +3 -2
  26. package/components/ShareButton/index.d.ts +2 -1
  27. package/components/ShareButton/interface.d.ts +2 -2
  28. package/components/SidePanel/index.d.ts +3 -3
  29. package/components/SidePanel/interface.d.ts +5 -4
  30. package/components/Typography/index.d.ts +3 -2
  31. package/components/Video/index.d.ts +2 -1
  32. package/components/Video/interface.d.ts +2 -1
  33. package/components/WysiwygBlock/attributes.d.ts +2 -0
  34. package/components/WysiwygBlock/index.d.ts +2 -1
  35. package/components/WysiwygBlock/interface.d.ts +2 -1
  36. package/components/fields/Checkbox/Checkbox.interface.d.ts +2 -1
  37. package/components/fields/Checkbox/index.d.ts +2 -1
  38. package/components/fields/CheckboxGroup/index.d.ts +2 -1
  39. package/components/fields/CheckboxGroup/interface.d.ts +2 -1
  40. package/components/fields/DatePicker/index.d.ts +2 -1
  41. package/components/fields/DatePicker/interface.d.ts +2 -1
  42. package/components/fields/Radio/Radio.interface.d.ts +3 -2
  43. package/components/fields/Radio/index.d.ts +3 -2
  44. package/components/fields/RadioGroup/index.d.ts +2 -1
  45. package/components/fields/RadioGroup/interface.d.ts +2 -1
  46. package/components/fields/SearchField/index.d.ts +2 -1
  47. package/components/fields/SearchField/interface.d.ts +2 -1
  48. package/components/fields/Select/Select.d.ts +2 -1
  49. package/components/fields/Select/Select.interface.d.ts +3 -2
  50. package/components/fields/TextArea/index.d.ts +2 -1
  51. package/components/fields/TextInputField/interface.d.ts +3 -2
  52. package/index.d.ts +1 -0
  53. package/index.js +1 -1
  54. package/index.mjs +41 -38
  55. package/index100.js +1 -2
  56. package/index100.mjs +22 -21
  57. package/index101.js +2 -1
  58. package/index101.mjs +22 -63
  59. package/index102.js +1 -1
  60. package/index102.mjs +58 -24
  61. package/index103.js +1 -1
  62. package/index103.mjs +29 -4
  63. package/index104.js +1 -1
  64. package/index104.mjs +52 -11
  65. package/index105.js +1 -1
  66. package/index105.mjs +4 -14
  67. package/index106.js +1 -1
  68. package/index106.mjs +11 -23
  69. package/index107.js +1 -1
  70. package/index107.mjs +13 -22
  71. package/index108.js +1 -1
  72. package/index108.mjs +23 -39
  73. package/index109.js +1 -2
  74. package/index109.mjs +22 -12
  75. package/index11.js +1 -1
  76. package/index11.mjs +2 -2
  77. package/index110.js +1 -1
  78. package/index110.mjs +38 -7
  79. package/index111.js +2 -1
  80. package/index111.mjs +12 -21
  81. package/index112.js +1 -1
  82. package/index112.mjs +7 -38
  83. package/index113.js +1 -1
  84. package/index113.mjs +20 -48
  85. package/index114.js +1 -1
  86. package/index114.mjs +38 -40
  87. package/index115.js +1 -1
  88. package/index115.mjs +47 -11
  89. package/index116.js +1 -1
  90. package/index116.mjs +41 -26
  91. package/index117.js +1 -1
  92. package/index117.mjs +14 -20
  93. package/index118.js +1 -1
  94. package/index118.mjs +30 -8
  95. package/index119.js +1 -1
  96. package/index119.mjs +20 -30
  97. package/index120.js +1 -1
  98. package/index120.mjs +8 -14
  99. package/index121.js +1 -1
  100. package/index121.mjs +29 -16
  101. package/index122.js +1 -1
  102. package/index122.mjs +15 -21
  103. package/index123.js +1 -1
  104. package/index123.mjs +17 -11
  105. package/index124.js +1 -2
  106. package/index124.mjs +20 -21
  107. package/index125.js +1 -1
  108. package/index125.mjs +11 -12
  109. package/index126.js +2 -1
  110. package/index126.mjs +22 -46
  111. package/index127.js +1 -1
  112. package/index127.mjs +12 -241
  113. package/index128.js +1 -2
  114. package/index128.mjs +46 -13
  115. package/index129.js +1 -1
  116. package/index129.mjs +239 -28
  117. package/index13.js +1 -1
  118. package/index13.mjs +8 -5
  119. package/index130.js +2 -1
  120. package/index130.mjs +13 -51
  121. package/index131.js +1 -1
  122. package/index131.mjs +30 -27
  123. package/index132.js +1 -1
  124. package/index132.mjs +49 -19
  125. package/index133.js +1 -1
  126. package/index133.mjs +26 -61
  127. package/index134.js +1 -1
  128. package/index134.mjs +17 -91
  129. package/index135.js +1 -1
  130. package/index135.mjs +59 -29
  131. package/index136.js +1 -1
  132. package/index136.mjs +90 -117
  133. package/index137.js +1 -1
  134. package/index137.mjs +32 -26
  135. package/index138.js +1 -1
  136. package/index138.mjs +118 -121
  137. package/index139.js +1 -1
  138. package/index139.mjs +27 -134
  139. package/index14.js +1 -1
  140. package/index14.mjs +3 -3
  141. package/index140.js +1 -1
  142. package/index140.mjs +122 -12
  143. package/index141.js +1 -1
  144. package/index141.mjs +131 -92
  145. package/index142.js +1 -1
  146. package/index142.mjs +12 -104
  147. package/index143.js +1 -1
  148. package/index143.mjs +95 -5
  149. package/index144.js +1 -1
  150. package/index144.mjs +106 -3
  151. package/index145.js +1 -1
  152. package/index145.mjs +5 -125
  153. package/index146.js +1 -1
  154. package/index146.mjs +3 -29
  155. package/index147.js +1 -1
  156. package/index147.mjs +113 -39
  157. package/index148.js +1 -1
  158. package/index148.mjs +19 -34
  159. package/index149.js +1 -1
  160. package/index149.mjs +40 -26
  161. package/index150.js +1 -1
  162. package/index150.mjs +29 -98
  163. package/index151.js +1 -1
  164. package/index151.mjs +28 -68
  165. package/index152.js +1 -1
  166. package/index152.mjs +90 -78
  167. package/index153.js +1 -1
  168. package/index153.mjs +78 -98
  169. package/index154.js +1 -1
  170. package/index154.mjs +101 -199
  171. package/index155.js +1 -1
  172. package/index155.mjs +98 -65
  173. package/index156.js +1 -1
  174. package/index156.mjs +185 -127
  175. package/index157.js +1 -1
  176. package/index157.mjs +54 -109
  177. package/index158.js +1 -1
  178. package/index158.mjs +126 -202
  179. package/index159.js +1 -1
  180. package/index159.mjs +104 -175
  181. package/index16.js +1 -1
  182. package/index16.mjs +2 -2
  183. package/index160.js +1 -1
  184. package/index160.mjs +208 -60
  185. package/index161.js +1 -1
  186. package/index161.mjs +178 -246
  187. package/index162.js +1 -1
  188. package/index162.mjs +63 -91
  189. package/index163.js +1 -1
  190. package/index163.mjs +250 -166
  191. package/index164.js +1 -1
  192. package/index164.mjs +91 -78
  193. package/index165.js +1 -1
  194. package/index165.mjs +170 -54
  195. package/index166.js +1 -1
  196. package/index166.mjs +72 -114
  197. package/index167.js +1 -1
  198. package/index167.mjs +51 -109
  199. package/index168.js +1 -1
  200. package/index168.mjs +112 -108
  201. package/index169.js +1 -1
  202. package/index169.mjs +109 -65
  203. package/index170.js +1 -1
  204. package/index170.mjs +117 -105
  205. package/index171.js +1 -1
  206. package/index171.mjs +68 -48
  207. package/index172.js +1 -1
  208. package/index172.mjs +108 -91
  209. package/index173.js +1 -1
  210. package/index173.mjs +37 -55
  211. package/index174.js +1 -1
  212. package/index174.mjs +80 -43
  213. package/index175.js +1 -1
  214. package/index175.mjs +52 -81
  215. package/index176.js +1 -5
  216. package/index176.mjs +42 -66
  217. package/index177.js +1 -1
  218. package/index177.mjs +87 -1999
  219. package/index178.js +5 -1
  220. package/index178.mjs +79 -58
  221. package/index179.js +1 -1
  222. package/index179.mjs +1998 -175
  223. package/index18.js +1 -1
  224. package/index18.mjs +7 -7
  225. package/index180.js +1 -1
  226. package/index180.mjs +59 -5
  227. package/index181.js +1 -1
  228. package/index181.mjs +183 -125
  229. package/index182.js +1 -1
  230. package/index182.mjs +5 -179
  231. package/index183.js +1 -1
  232. package/index183.mjs +129 -8
  233. package/index184.js +1 -1
  234. package/index184.mjs +179 -3
  235. package/index185.js +1 -1
  236. package/index185.mjs +8 -35
  237. package/index186.js +1 -1
  238. package/index186.mjs +3 -5
  239. package/index187.js +1 -1
  240. package/index187.mjs +35 -28
  241. package/index188.js +1 -1
  242. package/index188.mjs +5 -6
  243. package/index189.js +1 -1
  244. package/index189.mjs +26 -310
  245. package/index19.js +1 -1
  246. package/index19.mjs +2 -2
  247. package/index190.js +1 -1
  248. package/index190.mjs +6 -192
  249. package/index191.js +1 -1
  250. package/index191.mjs +339 -7
  251. package/index192.js +1 -1
  252. package/index192.mjs +180 -23
  253. package/index193.js +1 -1
  254. package/index193.mjs +6 -53
  255. package/index194.js +1 -1
  256. package/index194.mjs +24 -44
  257. package/index195.js +1 -1
  258. package/index195.mjs +55 -124
  259. package/index196.js +1 -1
  260. package/index196.mjs +46 -5
  261. package/index197.js +1 -1
  262. package/index197.mjs +108 -26
  263. package/index198.js +1 -1
  264. package/index198.mjs +32 -6
  265. package/index199.js +1 -1
  266. package/index199.mjs +5 -7
  267. package/index2.js +1 -1
  268. package/index2.mjs +19 -19
  269. package/index20.js +1 -1
  270. package/index20.mjs +1 -1
  271. package/index200.js +1 -1
  272. package/index200.mjs +28 -7
  273. package/index201.js +1 -1
  274. package/index201.mjs +7 -5
  275. package/index202.js +1 -1
  276. package/index202.mjs +7 -5
  277. package/index203.js +1 -1
  278. package/index203.mjs +7 -9
  279. package/index204.js +1 -0
  280. package/index204.mjs +7 -0
  281. package/index205.js +1 -0
  282. package/index205.mjs +8 -0
  283. package/index206.js +1 -0
  284. package/index206.mjs +12 -0
  285. package/index21.js +1 -1
  286. package/index21.mjs +8 -8
  287. package/index22.js +1 -1
  288. package/index22.mjs +2 -2
  289. package/index23.js +1 -1
  290. package/index23.mjs +3 -3
  291. package/index24.js +1 -1
  292. package/index24.mjs +14 -14
  293. package/index26.js +1 -1
  294. package/index26.mjs +28 -21
  295. package/index27.js +1 -1
  296. package/index27.mjs +12 -12
  297. package/index28.js +1 -1
  298. package/index28.mjs +6 -6
  299. package/index29.js +1 -1
  300. package/index29.mjs +1 -1
  301. package/index30.js +1 -1
  302. package/index30.mjs +14 -8
  303. package/index31.js +1 -1
  304. package/index31.mjs +18 -18
  305. package/index32.js +1 -1
  306. package/index32.mjs +1 -1
  307. package/index33.mjs +43 -43
  308. package/index34.js +1 -1
  309. package/index34.mjs +1 -1
  310. package/index35.js +1 -1
  311. package/index35.mjs +3 -3
  312. package/index36.mjs +10 -10
  313. package/index4.js +1 -1
  314. package/index4.mjs +3 -3
  315. package/index6.js +1 -1
  316. package/index6.mjs +34 -33
  317. package/index65.js +1 -1
  318. package/index65.mjs +1 -1
  319. package/index66.js +1 -1
  320. package/index66.mjs +2 -2
  321. package/index67.js +1 -1
  322. package/index67.mjs +1 -1
  323. package/index69.js +1 -1
  324. package/index69.mjs +1 -1
  325. package/index7.mjs +4 -4
  326. package/index70.js +1 -1
  327. package/index70.mjs +1 -1
  328. package/index71.js +1 -1
  329. package/index71.mjs +1 -1
  330. package/index72.js +2 -1
  331. package/index72.mjs +27 -2
  332. package/index73.js +1 -2
  333. package/index73.mjs +2 -9
  334. package/index74.js +1 -1
  335. package/index74.mjs +7 -6
  336. package/index75.js +1 -1
  337. package/index75.mjs +6 -6
  338. package/index76.js +1 -1
  339. package/index76.mjs +6 -6
  340. package/index77.js +2 -1
  341. package/index77.mjs +8 -25
  342. package/index78.js +1 -1
  343. package/index78.mjs +25 -2
  344. package/index79.js +1 -6
  345. package/index79.mjs +2 -94
  346. package/index8.js +1 -1
  347. package/index8.mjs +42 -23
  348. package/index80.js +6 -1
  349. package/index80.mjs +79 -54
  350. package/index81.js +1 -1
  351. package/index81.mjs +61 -33
  352. package/index82.js +1 -42
  353. package/index82.mjs +34 -67
  354. package/index83.js +42 -1
  355. package/index83.mjs +69 -154
  356. package/index84.js +1 -9
  357. package/index84.mjs +149 -47
  358. package/index85.js +9 -1
  359. package/index85.mjs +48 -36
  360. package/index86.js +1 -1
  361. package/index86.mjs +40 -8
  362. package/index87.js +1 -1
  363. package/index87.mjs +9 -31
  364. package/index88.js +1 -1
  365. package/index88.mjs +35 -6
  366. package/index89.js +1 -12
  367. package/index89.mjs +6 -40
  368. package/index9.js +1 -1
  369. package/index9.mjs +7 -7
  370. package/index90.js +12 -1
  371. package/index90.mjs +36 -25
  372. package/index91.js +1 -1
  373. package/index91.mjs +24 -8
  374. package/index92.js +1 -7
  375. package/index92.mjs +7 -13
  376. package/index93.js +6 -14
  377. package/index93.mjs +13 -65
  378. package/index94.js +15 -1
  379. package/index94.mjs +71 -7
  380. package/index95.js +1 -16
  381. package/index95.mjs +7 -25
  382. package/index96.js +16 -1
  383. package/index96.mjs +20 -37
  384. package/index97.js +1 -1
  385. package/index97.mjs +40 -43
  386. package/index98.js +1 -1
  387. package/index98.mjs +44 -47
  388. package/index99.js +1 -1
  389. package/index99.mjs +48 -17
  390. package/package.json +1 -1
  391. package/providers/Translation/index.d.ts +4 -0
  392. package/providers/Translation/interface.d.ts +16 -0
  393. package/theme/Accordion/index.d.ts +12 -12
  394. package/theme/Alerts/index.d.ts +22 -22
  395. package/theme/Box/index.d.ts +8 -8
  396. package/theme/Button/index.d.ts +2 -2
  397. package/theme/Calendar/index.d.ts +12 -12
  398. package/theme/Carousel/index.d.ts +11 -11
  399. package/theme/Checkbox/index.d.ts +8 -8
  400. package/theme/CheckboxGroup/index.d.ts +3 -3
  401. package/theme/DatePicker/index.d.ts +9 -9
  402. package/theme/Image/index.d.ts +1 -1
  403. package/theme/LightBox/index.d.ts +9 -9
  404. package/theme/Radio/index.d.ts +6 -6
  405. package/theme/RadioGroup/index.d.ts +3 -3
  406. package/theme/Search/index.d.ts +3 -3
  407. package/theme/ShareButton/index.d.ts +10 -10
  408. package/theme/SidePanel/index.d.ts +3 -3
  409. package/theme/TextArea/index.d.ts +2 -2
  410. package/theme/Typography/index.d.ts +2 -2
  411. package/transitions/ModalTransition.d.ts +3 -6
  412. package/transitions/RenderWithSlide.d.ts +3 -6
  413. package/transitions/SidePanelTransition.d.ts +3 -6
package/index83.mjs CHANGED
@@ -1,161 +1,76 @@
1
1
  import { tv as e } from "tailwind-variants";
2
- const s = e({
3
- base: "inline-block text-gray-800"
4
- }), l = e({
5
- base: "flex items-center justify-between pb-4"
6
- }), a = e({
7
- base: "flex items-center gap-1"
8
- }), i = e({
9
- base: "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"
10
- }), r = e({
11
- base: "flex-1"
12
- }), n = e({
13
- base: "text-center"
14
- }), o = e({
15
- base: "py-0.5 relative",
16
- variants: {
17
- isFocusVisible: {
18
- true: "z-10",
19
- false: ""
20
- }
21
- }
22
- }), c = e({
23
- base: "w-10 h-10 outline-none group",
24
- variants: {
25
- isSelected: {
26
- true: "",
27
- false: ""
28
- },
29
- isInvalid: {
30
- true: "",
31
- fasle: ""
32
- },
33
- isDisabled: {
34
- true: "disabled",
35
- false: ""
36
- },
37
- isRoundedLeft: {
38
- true: "rounded-l-full",
39
- false: ""
40
- },
41
- isRoundedRight: {
42
- true: "rounded-r-full",
43
- false: ""
44
- }
2
+ const o = e({
3
+ base: `
4
+ flex
5
+ items-center
6
+ justify-center
7
+ gap-4
8
+ transition
9
+ duration-300
10
+ ease-in-out
11
+ disabled:pointer-events-none
12
+ disabled:opacity-30
13
+ focus-ring-black
14
+ `,
15
+ defaultVariants: {
16
+ buttonStyle: "default",
17
+ type: "button",
18
+ size: "default",
19
+ shape: "rounded"
45
20
  },
46
- compoundVariants: [
47
- {
48
- isSelected: !0,
49
- isInvalid: !0,
50
- class: "bg-red-300"
51
- },
52
- {
53
- isSelected: !0,
54
- isInvalid: !1,
55
- class: "bg-color-1-300"
56
- }
57
- ]
58
- }), d = e({
59
- base: "w-full h-full rounded-full flex items-center justify-center cursor-pointer",
60
21
  variants: {
61
- isSelected: {
62
- true: "",
63
- false: ""
64
- },
65
- isInvalid: {
66
- true: "",
67
- fasle: ""
68
- },
69
- isDisabled: {
70
- true: "",
71
- false: ""
72
- },
73
- isFocusVisible: {
74
- true: "ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",
75
- false: ""
76
- },
77
- isSelectionStart: {
78
- true: "",
79
- false: ""
80
- },
81
- isSelectionEnd: {
82
- true: "",
83
- false: ""
84
- }
85
- },
86
- compoundVariants: [
87
- {
88
- isDisabled: !0,
89
- isInvalid: !1,
90
- class: "text-gray-400"
91
- },
92
- {
93
- isSelectionStart: !0,
94
- isSelectionEnd: !1,
95
- isInvalid: !0,
96
- class: "bg-red-600 text-white hover:bg-red-700"
97
- },
98
- {
99
- isSelectionStart: !0,
100
- isSelectionEnd: !0,
101
- isInvalid: !0,
102
- class: "bg-red-600 text-white hover:bg-red-700"
103
- },
104
- {
105
- isSelectionStart: !0,
106
- isSelectionEnd: !1,
107
- isInvalid: !1,
108
- class: "bg-color-1-400 text-white hover:bg-color-1-500"
109
- },
110
- {
111
- isSelectionStart: !0,
112
- isSelectionEnd: !0,
113
- isInvalid: !1,
114
- class: "bg-color-1-400 rounded-full text-white hover:bg-color-1-500"
115
- },
116
- {
117
- isSelectionStart: !1,
118
- isSelectionEnd: !0,
119
- isInvalid: !0,
120
- class: "bg-red-600 text-white hover:bg-red-700"
121
- },
122
- {
123
- isSelectionStart: !1,
124
- isSelectionEnd: !0,
125
- isInvalid: !1,
126
- class: "bg-color-1-400 text-white hover:bg-color-1-500"
127
- },
128
- {
129
- isSelected: !1,
130
- isDisabled: !1,
131
- class: "hover:bg-color-1-100"
132
- },
133
- {
134
- isSelected: !0,
135
- isDisabled: !1,
136
- isInvalid: !1,
137
- isSelectionStart: !1,
138
- isSelectionEnd: !1,
139
- class: "hover:bg-color-1-300"
140
- },
141
- {
142
- isSelected: !0,
143
- isDisabled: !1,
144
- isInvalid: !0,
145
- isSelectionStart: !1,
146
- isSelectionEnd: !1,
147
- class: "hover:bg-red-400"
22
+ type: {
23
+ button: "",
24
+ menu: "text-2xl"
25
+ },
26
+ buttonStyle: {
27
+ default: `
28
+ px-4
29
+ py-2
30
+ text-white
31
+ !bg-color-1-500
32
+ hover:!bg-color-1-400
33
+ active:!bg-color-1-400
34
+ `,
35
+ outline: `
36
+ px-4
37
+ py-2
38
+ bg-transparent
39
+ !border-color-1-500
40
+ text-color-1-500
41
+ hover:bg-color-1-500
42
+ hover:text-white
43
+ active:bg-color-1-500
44
+ active:text-white
45
+ `,
46
+ hollow: `
47
+ px-2
48
+ bg-transparent
49
+ text-color-1-500
50
+ hover:border-b-color-1-500
51
+ active:border-b-color-1-500
52
+ focus:border-b-color-1-500
53
+
54
+ `
55
+ },
56
+ intent: {
57
+ error: `
58
+ !bg-error
59
+ text-white
60
+ pointer-events-none
61
+ !border-error
62
+ `
63
+ },
64
+ size: {
65
+ default: "min-w-12 min-h-6",
66
+ large: "min-w-36 min-h-18"
67
+ },
68
+ shape: {
69
+ rounded: "rounded-md",
70
+ circular: "rounded-full"
148
71
  }
149
- ]
72
+ }
150
73
  });
151
74
  export {
152
- c as calendarCell,
153
- o as calendarCellContainer,
154
- d as calendarCellFormattedDate,
155
- s as calendarContainer,
156
- n as calendarDayLabel,
157
- l as calendarHeaderContainer,
158
- i as calendarNavigationButtons,
159
- a as calendarNavigationButtonsContainer,
160
- r as calendarTable
75
+ o as default
161
76
  };
package/index84.js CHANGED
@@ -1,9 +1 @@
1
- "use strict";const e=require("tailwind-variants"),r=require("./index82.js"),t=e.tv({base:"flex justify-between items-center gap-4 relative"}),o=e.tv({base:`
2
- bg-color-1-300
3
- m-2
4
- rounded-lg
5
- order-2
6
- focus-visible:outline-2
7
- focus-visible:outline-black
8
- focus-visible:outline-offset-2
9
- `}),a=e.tv({base:"m-4"}),s=e.tv({extend:r,variants:{order:{prev:"order-1",next:"order-3"}}}),i=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),n=e.tv({base:"w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",variants:{active:{true:"bg-color-1-100",false:""}}}),l=e.tv({base:"bg-color-1-400 "}),c=e.tv({base:""}),u={carouselWrapper:t,swiper:{swiper:o,wrapper:a},navigation:{button:s},pagination:{wrapper:i,bullet:n},slide:{wrapper:l,container:c}};module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"inline-block text-gray-800"}),a=e.tv({base:"flex items-center justify-between pb-4"}),l=e.tv({base:"flex items-center gap-1"}),s=e.tv({base:"active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"}),i=e.tv({base:"flex-1"}),r=e.tv({base:"text-center"}),n=e.tv({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),o=e.tv({base:"w-10 h-10 outline-none group",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"disabled",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:!0,isInvalid:!0,class:"bg-red-300"},{isSelected:!0,isInvalid:!1,class:"bg-color-1-300"}]}),c=e.tv({base:"w-full h-full rounded-full flex items-center justify-center cursor-pointer",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"",false:""},isFocusVisible:{true:"ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isDisabled:!0,isInvalid:!1,class:"text-gray-400"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 rounded-full text-white hover:bg-color-1-500"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelected:!1,isDisabled:!1,class:"hover:bg-color-1-100"},{isSelected:!0,isDisabled:!1,isInvalid:!1,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-color-1-300"},{isSelected:!0,isDisabled:!1,isInvalid:!0,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-red-400"}]});exports.calendarCell=o;exports.calendarCellContainer=n;exports.calendarCellFormattedDate=c;exports.calendarContainer=t;exports.calendarDayLabel=r;exports.calendarHeaderContainer=a;exports.calendarNavigationButtons=s;exports.calendarNavigationButtonsContainer=l;exports.calendarTable=i;
package/index84.mjs CHANGED
@@ -1,59 +1,161 @@
1
1
  import { tv as e } from "tailwind-variants";
2
- import o from "./index82.mjs";
3
- const r = e({
4
- base: "flex justify-between items-center gap-4 relative"
5
- }), t = e({
6
- base: `
7
- bg-color-1-300
8
- m-2
9
- rounded-lg
10
- order-2
11
- focus-visible:outline-2
12
- focus-visible:outline-black
13
- focus-visible:outline-offset-2
14
- `
2
+ const s = e({
3
+ base: "inline-block text-gray-800"
4
+ }), l = e({
5
+ base: "flex items-center justify-between pb-4"
15
6
  }), a = e({
16
- base: "m-4"
17
- }), s = e({
18
- extend: o,
19
- variants: {
20
- order: {
21
- prev: "order-1",
22
- next: "order-3"
23
- }
24
- }
7
+ base: "flex items-center gap-1"
25
8
  }), i = e({
26
- base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
27
- }), l = e({
28
- base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
9
+ base: "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"
10
+ }), r = e({
11
+ base: "flex-1"
12
+ }), n = e({
13
+ base: "text-center"
14
+ }), o = e({
15
+ base: "py-0.5 relative",
29
16
  variants: {
30
- active: {
31
- true: "bg-color-1-100",
17
+ isFocusVisible: {
18
+ true: "z-10",
32
19
  false: ""
33
20
  }
34
21
  }
35
- }), n = e({
36
- base: "bg-color-1-400 "
37
22
  }), c = e({
38
- base: ""
39
- }), b = {
40
- carouselWrapper: r,
41
- swiper: {
42
- swiper: t,
43
- wrapper: a
44
- },
45
- navigation: {
46
- button: s
23
+ base: "w-10 h-10 outline-none group",
24
+ variants: {
25
+ isSelected: {
26
+ true: "",
27
+ false: ""
28
+ },
29
+ isInvalid: {
30
+ true: "",
31
+ fasle: ""
32
+ },
33
+ isDisabled: {
34
+ true: "disabled",
35
+ false: ""
36
+ },
37
+ isRoundedLeft: {
38
+ true: "rounded-l-full",
39
+ false: ""
40
+ },
41
+ isRoundedRight: {
42
+ true: "rounded-r-full",
43
+ false: ""
44
+ }
47
45
  },
48
- pagination: {
49
- wrapper: i,
50
- bullet: l
46
+ compoundVariants: [
47
+ {
48
+ isSelected: !0,
49
+ isInvalid: !0,
50
+ class: "bg-red-300"
51
+ },
52
+ {
53
+ isSelected: !0,
54
+ isInvalid: !1,
55
+ class: "bg-color-1-300"
56
+ }
57
+ ]
58
+ }), d = e({
59
+ base: "w-full h-full rounded-full flex items-center justify-center cursor-pointer",
60
+ variants: {
61
+ isSelected: {
62
+ true: "",
63
+ false: ""
64
+ },
65
+ isInvalid: {
66
+ true: "",
67
+ fasle: ""
68
+ },
69
+ isDisabled: {
70
+ true: "",
71
+ false: ""
72
+ },
73
+ isFocusVisible: {
74
+ true: "ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",
75
+ false: ""
76
+ },
77
+ isSelectionStart: {
78
+ true: "",
79
+ false: ""
80
+ },
81
+ isSelectionEnd: {
82
+ true: "",
83
+ false: ""
84
+ }
51
85
  },
52
- slide: {
53
- wrapper: n,
54
- container: c
55
- }
56
- };
86
+ compoundVariants: [
87
+ {
88
+ isDisabled: !0,
89
+ isInvalid: !1,
90
+ class: "text-gray-400"
91
+ },
92
+ {
93
+ isSelectionStart: !0,
94
+ isSelectionEnd: !1,
95
+ isInvalid: !0,
96
+ class: "bg-red-600 text-white hover:bg-red-700"
97
+ },
98
+ {
99
+ isSelectionStart: !0,
100
+ isSelectionEnd: !0,
101
+ isInvalid: !0,
102
+ class: "bg-red-600 text-white hover:bg-red-700"
103
+ },
104
+ {
105
+ isSelectionStart: !0,
106
+ isSelectionEnd: !1,
107
+ isInvalid: !1,
108
+ class: "bg-color-1-400 text-white hover:bg-color-1-500"
109
+ },
110
+ {
111
+ isSelectionStart: !0,
112
+ isSelectionEnd: !0,
113
+ isInvalid: !1,
114
+ class: "bg-color-1-400 rounded-full text-white hover:bg-color-1-500"
115
+ },
116
+ {
117
+ isSelectionStart: !1,
118
+ isSelectionEnd: !0,
119
+ isInvalid: !0,
120
+ class: "bg-red-600 text-white hover:bg-red-700"
121
+ },
122
+ {
123
+ isSelectionStart: !1,
124
+ isSelectionEnd: !0,
125
+ isInvalid: !1,
126
+ class: "bg-color-1-400 text-white hover:bg-color-1-500"
127
+ },
128
+ {
129
+ isSelected: !1,
130
+ isDisabled: !1,
131
+ class: "hover:bg-color-1-100"
132
+ },
133
+ {
134
+ isSelected: !0,
135
+ isDisabled: !1,
136
+ isInvalid: !1,
137
+ isSelectionStart: !1,
138
+ isSelectionEnd: !1,
139
+ class: "hover:bg-color-1-300"
140
+ },
141
+ {
142
+ isSelected: !0,
143
+ isDisabled: !1,
144
+ isInvalid: !0,
145
+ isSelectionStart: !1,
146
+ isSelectionEnd: !1,
147
+ class: "hover:bg-red-400"
148
+ }
149
+ ]
150
+ });
57
151
  export {
58
- b as default
152
+ c as calendarCell,
153
+ o as calendarCellContainer,
154
+ d as calendarCellFormattedDate,
155
+ s as calendarContainer,
156
+ n as calendarDayLabel,
157
+ l as calendarHeaderContainer,
158
+ i as calendarNavigationButtons,
159
+ a as calendarNavigationButtonsContainer,
160
+ r as calendarTable
59
161
  };
package/index85.js CHANGED
@@ -1 +1,9 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=e.tv({base:"flex focus-ring-black"}),t=e.tv({base:"hover:cursor-pointer",variants:{color:{gray:"text-gray-300",black:"text-black"},isDisabled:{true:"text-gray-6"}},defaultVariants:{color:"black"}}),c=e.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"},isError:{true:"border-red-500"}}}),o=e.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),a=e.tv({base:"text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"});exports.checkBox=c;exports.checkMark=o;exports.checkMarkIcon=a;exports.checkboxContainer=r;exports.checkboxLabel=t;
1
+ "use strict";const e=require("tailwind-variants"),r=require("./index83.js"),t=e.tv({base:"flex justify-between items-center gap-4 relative"}),o=e.tv({base:`
2
+ bg-color-1-300
3
+ m-2
4
+ rounded-lg
5
+ order-2
6
+ focus-visible:outline-2
7
+ focus-visible:outline-black
8
+ focus-visible:outline-offset-2
9
+ `}),a=e.tv({base:"m-4"}),s=e.tv({extend:r,variants:{order:{prev:"order-1",next:"order-3"}}}),i=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),n=e.tv({base:"w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",variants:{active:{true:"bg-color-1-100",false:""}}}),l=e.tv({base:"bg-color-1-400 "}),c=e.tv({base:""}),u={carouselWrapper:t,swiper:{swiper:o,wrapper:a},navigation:{button:s},pagination:{wrapper:i,bullet:n},slide:{wrapper:l,container:c}};module.exports=u;
package/index85.mjs CHANGED
@@ -1,47 +1,59 @@
1
1
  import { tv as e } from "tailwind-variants";
2
- const t = e({
3
- base: "flex focus-ring-black"
4
- }), o = e({
5
- base: "hover:cursor-pointer",
2
+ import o from "./index83.mjs";
3
+ const r = e({
4
+ base: "flex justify-between items-center gap-4 relative"
5
+ }), t = e({
6
+ base: `
7
+ bg-color-1-300
8
+ m-2
9
+ rounded-lg
10
+ order-2
11
+ focus-visible:outline-2
12
+ focus-visible:outline-black
13
+ focus-visible:outline-offset-2
14
+ `
15
+ }), a = e({
16
+ base: "m-4"
17
+ }), s = e({
18
+ extend: o,
6
19
  variants: {
7
- color: {
8
- gray: "text-gray-300",
9
- black: "text-black"
10
- },
11
- isDisabled: {
12
- true: "text-gray-6"
20
+ order: {
21
+ prev: "order-1",
22
+ next: "order-3"
13
23
  }
14
- },
15
- defaultVariants: {
16
- color: "black"
17
24
  }
18
- }), a = e({
19
- base: "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",
25
+ }), i = e({
26
+ base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
27
+ }), l = e({
28
+ base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
20
29
  variants: {
21
- isDisabled: {
22
- true: "border-gray-6"
23
- },
24
- isFocused: {
25
- true: "outline-black [outline-offset: 2px]"
26
- },
27
- isError: {
28
- true: "border-red-500"
30
+ active: {
31
+ true: "bg-color-1-100",
32
+ false: ""
29
33
  }
30
34
  }
35
+ }), n = e({
36
+ base: "bg-color-1-400 "
31
37
  }), c = e({
32
- base: "hidden w-4 h-4 bg-gray-300 rounded-full",
33
- variants: {
34
- selected: {
35
- true: "block text-white"
36
- }
38
+ base: ""
39
+ }), b = {
40
+ carouselWrapper: r,
41
+ swiper: {
42
+ swiper: t,
43
+ wrapper: a
44
+ },
45
+ navigation: {
46
+ button: s
47
+ },
48
+ pagination: {
49
+ wrapper: i,
50
+ bullet: l
51
+ },
52
+ slide: {
53
+ wrapper: n,
54
+ container: c
37
55
  }
38
- }), s = e({
39
- base: "text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"
40
- });
56
+ };
41
57
  export {
42
- a as checkBox,
43
- c as checkMark,
44
- s as checkMarkIcon,
45
- t as checkboxContainer,
46
- o as checkboxLabel
58
+ b as default
47
59
  };
package/index86.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),o=e.tv({base:"block",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),t=e.tv({base:"flex flex-col gap-4 py-8"});exports.checkboxGroup=o;exports.checkboxGroupItemsGroup=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=e.tv({base:"flex focus-ring-black"}),t=e.tv({base:"hover:cursor-pointer",variants:{color:{gray:"text-gray-300",black:"text-black"},isDisabled:{true:"text-gray-6"}},defaultVariants:{color:"black"}}),c=e.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"},isError:{true:"border-red-500"}}}),o=e.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),a=e.tv({base:"text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"});exports.checkBox=c;exports.checkMark=o;exports.checkMarkIcon=a;exports.checkboxContainer=r;exports.checkboxLabel=t;
package/index86.mjs CHANGED
@@ -1,15 +1,47 @@
1
- import { tv as o } from "tailwind-variants";
2
- const t = o({
3
- base: "block",
1
+ import { tv as e } from "tailwind-variants";
2
+ const t = e({
3
+ base: "flex focus-ring-black"
4
+ }), o = e({
5
+ base: "hover:cursor-pointer",
4
6
  variants: {
7
+ color: {
8
+ gray: "text-gray-300",
9
+ black: "text-black"
10
+ },
5
11
  isDisabled: {
6
- true: "opacity-60 pointer-events-none"
12
+ true: "text-gray-6"
7
13
  }
14
+ },
15
+ defaultVariants: {
16
+ color: "black"
8
17
  }
9
- }), c = o({
10
- base: "flex flex-col gap-4 py-8"
18
+ }), a = e({
19
+ base: "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",
20
+ variants: {
21
+ isDisabled: {
22
+ true: "border-gray-6"
23
+ },
24
+ isFocused: {
25
+ true: "outline-black [outline-offset: 2px]"
26
+ },
27
+ isError: {
28
+ true: "border-red-500"
29
+ }
30
+ }
31
+ }), c = e({
32
+ base: "hidden w-4 h-4 bg-gray-300 rounded-full",
33
+ variants: {
34
+ selected: {
35
+ true: "block text-white"
36
+ }
37
+ }
38
+ }), s = e({
39
+ base: "text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"
11
40
  });
12
41
  export {
13
- t as checkboxGroup,
14
- c as checkboxGroupItemsGroup
42
+ a as checkBox,
43
+ c as checkMark,
44
+ s as checkMarkIcon,
45
+ t as checkboxContainer,
46
+ o as checkboxLabel
15
47
  };
package/index87.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"relative inline-flex flex-col text-left"}),r=e.tv({base:"flex items-center border-2 border-color-1-500 rounded focus-ring-black"}),a=e.tv({base:"fixed inset-0"}),o=e.tv({base:"absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"}),d=e.tv({base:"pr-1 flex gap-2",defaultVariants:{dateFieldShown:!0},variants:{dateFieldShown:{true:"",false:"hidden"}}}),n=e.tv({base:"focus-ring-black"}),i=e.tv({base:"text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"}),l=e.tv({base:"text-color-1-500 font-bold px-2"});exports.datePickerButton=r;exports.datePickerCalendarPopoverContainer=o;exports.datePickerCalendarPopoverUnderlay=a;exports.datePickerContainer=t;exports.datePickerDateField=d;exports.datePickerDateSegment=n;exports.datePickerIcon=i;exports.datePickerLabel=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),o=e.tv({base:"block",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),t=e.tv({base:"flex flex-col gap-4 py-8"});exports.checkboxGroup=o;exports.checkboxGroupItemsGroup=t;
package/index87.mjs CHANGED
@@ -1,37 +1,15 @@
1
- import { tv as e } from "tailwind-variants";
2
- const o = e({
3
- base: "relative inline-flex flex-col text-left"
4
- }), r = e({
5
- base: "flex items-center border-2 border-color-1-500 rounded focus-ring-black"
6
- }), a = e({
7
- base: "fixed inset-0"
8
- }), d = e({
9
- base: "absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"
10
- }), l = e({
11
- base: "pr-1 flex gap-2",
12
- defaultVariants: {
13
- dateFieldShown: !0
14
- },
1
+ import { tv as o } from "tailwind-variants";
2
+ const t = o({
3
+ base: "block",
15
4
  variants: {
16
- dateFieldShown: {
17
- true: "",
18
- false: "hidden"
5
+ isDisabled: {
6
+ true: "opacity-60 pointer-events-none"
19
7
  }
20
8
  }
21
- }), n = e({
22
- base: "focus-ring-black"
23
- }), c = e({
24
- base: "text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"
25
- }), i = e({
26
- base: "text-color-1-500 font-bold px-2"
9
+ }), c = o({
10
+ base: "flex flex-col gap-4 py-8"
27
11
  });
28
12
  export {
29
- r as datePickerButton,
30
- d as datePickerCalendarPopoverContainer,
31
- a as datePickerCalendarPopoverUnderlay,
32
- o as datePickerContainer,
33
- l as datePickerDateField,
34
- n as datePickerDateSegment,
35
- c as datePickerIcon,
36
- i as datePickerLabel
13
+ t as checkboxGroup,
14
+ c as checkboxGroupItemsGroup
37
15
  };