@okam/stack-ui 1.36.1 → 1.37.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 (246) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/components/Dialog/interface.d.ts +5 -3
  3. package/components/Lightbox/interface.d.ts +2 -0
  4. package/components/Modal/interface.d.ts +6 -4
  5. package/components/SidePanel/interface.d.ts +9 -6
  6. package/hooks/useLabelledOverlay/index.d.ts +9 -0
  7. package/hooks/useLabelledOverlay/interface.d.ts +14 -0
  8. package/index.d.ts +2 -1
  9. package/index.js +1 -1
  10. package/index.mjs +72 -70
  11. package/index100.js +5 -1
  12. package/index100.mjs +88 -6
  13. package/index101.js +1 -12
  14. package/index101.mjs +6 -40
  15. package/index102.js +12 -1
  16. package/index102.mjs +36 -25
  17. package/index103.js +1 -1
  18. package/index103.mjs +24 -8
  19. package/index104.js +1 -7
  20. package/index104.mjs +7 -13
  21. package/index105.js +6 -14
  22. package/index105.mjs +13 -65
  23. package/index106.js +15 -1
  24. package/index106.mjs +71 -7
  25. package/index107.js +1 -41
  26. package/index107.mjs +7 -106
  27. package/index108.js +32 -38
  28. package/index108.mjs +78 -74
  29. package/index109.js +46 -15
  30. package/index109.mjs +96 -19
  31. package/index110.js +16 -1
  32. package/index110.mjs +20 -37
  33. package/index111.js +1 -1
  34. package/index111.mjs +42 -48
  35. package/index112.js +1 -1
  36. package/index112.mjs +47 -22
  37. package/index113.js +1 -2
  38. package/index113.mjs +22 -21
  39. package/index123.js +1 -1
  40. package/index123.mjs +1 -1
  41. package/index131.js +1 -1
  42. package/index131.mjs +23 -8
  43. package/index132.js +1 -1
  44. package/index132.mjs +1 -1
  45. package/index133.js +1 -1
  46. package/index133.mjs +4 -4
  47. package/index134.js +1 -1
  48. package/index134.mjs +2 -2
  49. package/index135.js +1 -1
  50. package/index135.mjs +9 -9
  51. package/index139.js +1 -1
  52. package/index139.mjs +6 -18
  53. package/index145.js +1 -1
  54. package/index145.mjs +1 -1
  55. package/index150.js +1 -1
  56. package/index150.mjs +54 -18
  57. package/index151.js +1 -1
  58. package/index151.mjs +21 -6
  59. package/index152.js +1 -1
  60. package/index152.mjs +5 -11
  61. package/index153.js +1 -1
  62. package/index153.mjs +12 -57
  63. package/index159.js +1 -1
  64. package/index159.mjs +1 -1
  65. package/index162.js +1 -1
  66. package/index162.mjs +1 -1
  67. package/index178.js +1 -1
  68. package/index178.mjs +1 -1
  69. package/index18.js +1 -1
  70. package/index18.mjs +1 -1
  71. package/index196.js +1 -1
  72. package/index196.mjs +122 -138
  73. package/index197.js +1 -1
  74. package/index197.mjs +129 -192
  75. package/index198.js +1 -1
  76. package/index198.mjs +44 -22
  77. package/index199.js +1 -1
  78. package/index199.mjs +14 -49
  79. package/index2.js +1 -1
  80. package/index2.mjs +21 -21
  81. package/index200.js +1 -1
  82. package/index200.mjs +93 -46
  83. package/index201.js +1 -1
  84. package/index201.mjs +98 -89
  85. package/index202.js +1 -1
  86. package/index202.mjs +5 -72
  87. package/index203.js +1 -1
  88. package/index203.mjs +3 -68
  89. package/index204.js +1 -1
  90. package/index204.mjs +125 -7
  91. package/index205.js +1 -1
  92. package/index205.mjs +29 -11
  93. package/index206.js +1 -1
  94. package/index206.mjs +40 -113
  95. package/index207.js +1 -1
  96. package/index207.mjs +41 -131
  97. package/index208.js +1 -1
  98. package/index208.mjs +36 -43
  99. package/index209.js +1 -1
  100. package/index209.mjs +110 -11
  101. package/index210.js +1 -1
  102. package/index210.mjs +59 -77
  103. package/index211.js +1 -1
  104. package/index211.mjs +94 -99
  105. package/index212.js +1 -1
  106. package/index212.mjs +98 -5
  107. package/index213.js +1 -1
  108. package/index213.mjs +140 -3
  109. package/index214.js +1 -1
  110. package/index214.mjs +191 -119
  111. package/index215.js +1 -1
  112. package/index215.mjs +22 -29
  113. package/index216.js +1 -1
  114. package/index216.mjs +49 -51
  115. package/index217.js +1 -1
  116. package/index217.mjs +47 -43
  117. package/index218.js +1 -1
  118. package/index218.mjs +95 -35
  119. package/index219.js +1 -1
  120. package/index219.mjs +72 -114
  121. package/index220.js +1 -1
  122. package/index220.mjs +67 -76
  123. package/index221.js +1 -1
  124. package/index221.mjs +7 -101
  125. package/index222.js +1 -1
  126. package/index222.mjs +12 -98
  127. package/index250.js +1 -1
  128. package/index250.mjs +1 -1
  129. package/index255.js +1 -1
  130. package/index255.mjs +5 -5
  131. package/index256.js +1 -1
  132. package/index256.mjs +1 -1
  133. package/index257.js +1 -1
  134. package/index257.mjs +4 -4
  135. package/index258.js +1 -1
  136. package/index258.mjs +1 -1
  137. package/index259.js +1 -1
  138. package/index259.mjs +1 -1
  139. package/index260.js +1 -1
  140. package/index260.mjs +4 -4
  141. package/index261.js +1 -1
  142. package/index261.mjs +4 -4
  143. package/index262.js +1 -1
  144. package/index262.mjs +1 -1
  145. package/index263.js +1 -1
  146. package/index263.mjs +4 -4
  147. package/index264.js +1 -1
  148. package/index264.mjs +4 -4
  149. package/index265.js +1 -1
  150. package/index265.mjs +1 -1
  151. package/index266.js +1 -1
  152. package/index266.mjs +4 -4
  153. package/index267.js +1 -1
  154. package/index267.mjs +4 -4
  155. package/index268.js +1 -1
  156. package/index268.mjs +1 -1
  157. package/index269.js +1 -1
  158. package/index269.mjs +1 -1
  159. package/index270.js +1 -1
  160. package/index270.mjs +4 -4
  161. package/index271.js +1 -1
  162. package/index271.mjs +4 -4
  163. package/index272.js +1 -1
  164. package/index272.mjs +1 -1
  165. package/index273.js +1 -1
  166. package/index273.mjs +4 -4
  167. package/index274.js +1 -1
  168. package/index274.mjs +4 -4
  169. package/index275.js +1 -1
  170. package/index275.mjs +4 -4
  171. package/index276.js +1 -1
  172. package/index276.mjs +1 -1
  173. package/index277.js +1 -1
  174. package/index277.mjs +4 -4
  175. package/index278.js +1 -1
  176. package/index278.mjs +4 -4
  177. package/index279.js +1 -1
  178. package/index279.mjs +4 -4
  179. package/index280.js +1 -1
  180. package/index280.mjs +4 -4
  181. package/index281.js +1 -1
  182. package/index281.mjs +4 -4
  183. package/index282.js +1 -1
  184. package/index282.mjs +1 -1
  185. package/index283.js +1 -1
  186. package/index283.mjs +1 -1
  187. package/index284.js +1 -1
  188. package/index284.mjs +1 -1
  189. package/index285.js +1 -1
  190. package/index285.mjs +4 -4
  191. package/index286.js +1 -1
  192. package/index286.mjs +4 -4
  193. package/index287.js +1 -1
  194. package/index287.mjs +4 -4
  195. package/index288.js +1 -1
  196. package/index288.mjs +4 -4
  197. package/index289.js +1 -1
  198. package/index289.mjs +5 -5
  199. package/index30.js +1 -1
  200. package/index30.mjs +15 -12
  201. package/index310.js +1 -1
  202. package/index310.mjs +1 -1
  203. package/index35.js +1 -1
  204. package/index35.mjs +20 -20
  205. package/index38.js +1 -1
  206. package/index38.mjs +13 -13
  207. package/index4.js +1 -1
  208. package/index4.mjs +1 -1
  209. package/index43.js +1 -1
  210. package/index43.mjs +1 -1
  211. package/index45.js +1 -1
  212. package/index45.mjs +1 -1
  213. package/index75.js +1 -1
  214. package/index75.mjs +34 -29
  215. package/index8.js +1 -1
  216. package/index8.mjs +45 -34
  217. package/index81.js +1 -1
  218. package/index81.mjs +1 -1
  219. package/index89.js +2 -1
  220. package/index89.mjs +20 -5
  221. package/index9.js +1 -1
  222. package/index9.mjs +32 -30
  223. package/index90.js +1 -1
  224. package/index90.mjs +5 -2
  225. package/index91.js +1 -6
  226. package/index91.mjs +2 -94
  227. package/index92.js +6 -1
  228. package/index92.mjs +79 -54
  229. package/index93.js +1 -1
  230. package/index93.mjs +61 -33
  231. package/index94.js +1 -42
  232. package/index94.mjs +34 -67
  233. package/index95.js +38 -60
  234. package/index95.mjs +65 -219
  235. package/index96.js +63 -8
  236. package/index96.mjs +215 -44
  237. package/index97.js +9 -1
  238. package/index97.mjs +48 -36
  239. package/index98.js +1 -1
  240. package/index98.mjs +40 -8
  241. package/index99.js +1 -5
  242. package/index99.mjs +10 -85
  243. package/package.json +1 -1
  244. package/providers/SidePanel/interface.d.ts +13 -4
  245. package/theme/SidePanel/index.d.ts +1 -1
  246. package/components/Lightbox/hooks/overlay/index.d.ts +0 -79
package/index91.mjs CHANGED
@@ -1,96 +1,4 @@
1
- import { tv as e } from "tailwind-variants";
2
- const r = e({
3
- base: "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",
4
- defaultVariants: {
5
- textAlign: "left",
6
- isOpen: !1
7
- },
8
- variants: {
9
- textAlign: {
10
- center: "text-center",
11
- left: "text-left"
12
- }
13
- }
14
- }), n = e({
15
- base: "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",
16
- variants: {
17
- titleBold: {
18
- true: "font-bold"
19
- },
20
- textAlign: {
21
- center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",
22
- left: "grid-cols-[1fr_3rem]"
23
- },
24
- bgColor: {
25
- gray: "bg-gray-300",
26
- white: "bg-white"
27
- }
28
- },
29
- defaultVariants: {
30
- titleBold: !1,
31
- textAlign: "left",
32
- bgColor: "white"
33
- }
34
- }), o = e({
35
- base: "",
36
- defaultVariants: {
37
- textAlign: "left"
38
- },
39
- variants: {
40
- textAlign: {
41
- center: "justify-self-center col-start-2",
42
- left: "justify-self-start"
43
- }
44
- }
45
- }), i = e({
46
- base: "text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",
47
- variants: {
48
- isOpen: {
49
- true: "-rotate-90",
50
- false: ""
51
- }
52
- }
53
- }), l = e({
54
- base: `
55
- font-body
56
- text-inherit
57
- h-auto
58
- grid
59
- `,
60
- defaultVariants: {
61
- textAlign: "left"
62
- },
63
- variants: {
64
- textAlign: {
65
- center: "grid-cols-[3rem_1fr_3rem] px-6 text-center",
66
- left: "grid-cols-[1fr_3rem] text-left"
67
- }
68
- }
69
- }), a = e({
70
- base: "overflow-hidden flex flex-col gap-2 items-start",
71
- defaultVariants: {
72
- textAlign: "left"
73
- },
74
- variants: {
75
- textAlign: {
76
- center: "col-start-2",
77
- left: ""
78
- }
79
- }
80
- }), c = {
81
- container: (t) => r(t),
82
- button: (t) => n(t),
83
- title: (t) => o(t),
84
- icon: (t) => i(t),
85
- region: (t) => l(t),
86
- content: (t) => a(t)
87
- };
1
+ const m = (e) => e;
88
2
  export {
89
- n as accordionButton,
90
- r as accordionContainer,
91
- a as accordionContent,
92
- i as accordionIcon,
93
- l as accordionRegion,
94
- c as accordionTheme,
95
- o as accordionTitle
3
+ m as makeTheme
96
4
  };
package/index92.js CHANGED
@@ -1 +1,6 @@
1
- "use strict";const e=require("tailwind-variants"),t=require("./index94.js"),r=require("./index110.js"),a=e.tv({base:"bg-color-1-200 p-4 flex flex-col gap-4"}),s=e.tv({base:"flex justify-between items-center gap-4 relative"}),n=e.tv({extend:t,base:"self-end"}),o=e.tv({base:"bg-color-1-300 m-2 rounded-lg order-2"}),l=e.tv({base:"m-4"}),i=e.tv({base:""}),c=e.tv({base:""}),p=e.tv({extend:r,defaultVariants:{size:"h1"}}),b=e.tv({extend:r}),u=e.tv({base:"block w-min bg-color-1-400 p-2 rounded-lg"}),v=e.tv({extend:t,variants:{order:{prev:"order-1",next:"order-3"}}}),d=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),g=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:""}}}),w={wrapper:a,carouselWrapper:s,closeBtn:n,swiper:{swiper:o,wrapper:l},item:{wrapper:i,container:c,title:p,content:b,icon:u},navigation:{button:v},pagination:{wrapper:d,bullet:g}};module.exports=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),n=e.tv({base:"[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{textAlign:{center:"text-center",left:"text-left"}}}),o=e.tv({base:"grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",variants:{titleBold:{true:"font-bold"},textAlign:{center:"grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",left:"grid-cols-[1fr_3rem]"},bgColor:{gray:"bg-gray-300",white:"bg-white"}},defaultVariants:{titleBold:!1,textAlign:"left",bgColor:"white"}}),r=e.tv({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),i=e.tv({base:"text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",variants:{isOpen:{true:"-rotate-90",false:""}}}),a=e.tv({base:`
2
+ font-body
3
+ text-inherit
4
+ h-auto
5
+ grid
6
+ `,defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"grid-cols-[3rem_1fr_3rem] px-6 text-center",left:"grid-cols-[1fr_3rem] text-left"}}}),l=e.tv({base:"overflow-hidden flex flex-col gap-2 items-start",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),c={container:t=>n(t),button:t=>o(t),title:t=>r(t),icon:t=>i(t),region:t=>a(t),content:t=>l(t)};exports.accordionButton=o;exports.accordionContainer=n;exports.accordionContent=l;exports.accordionIcon=i;exports.accordionRegion=a;exports.accordionTheme=c;exports.accordionTitle=r;
package/index92.mjs CHANGED
@@ -1,71 +1,96 @@
1
1
  import { tv as e } from "tailwind-variants";
2
- import t from "./index94.mjs";
3
- import r from "./index110.mjs";
4
- const a = e({
5
- base: "bg-color-1-200 p-4 flex flex-col gap-4"
6
- }), o = e({
7
- base: "flex justify-between items-center gap-4 relative"
8
- }), s = e({
9
- extend: t,
10
- base: "self-end"
2
+ const r = e({
3
+ base: "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",
4
+ defaultVariants: {
5
+ textAlign: "left",
6
+ isOpen: !1
7
+ },
8
+ variants: {
9
+ textAlign: {
10
+ center: "text-center",
11
+ left: "text-left"
12
+ }
13
+ }
11
14
  }), n = e({
12
- base: "bg-color-1-300 m-2 rounded-lg order-2"
13
- }), l = e({
14
- base: "m-4"
15
- }), p = e({
16
- base: ""
17
- }), i = e({
18
- base: ""
19
- }), c = e({
20
- extend: r,
15
+ base: "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",
16
+ variants: {
17
+ titleBold: {
18
+ true: "font-bold"
19
+ },
20
+ textAlign: {
21
+ center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",
22
+ left: "grid-cols-[1fr_3rem]"
23
+ },
24
+ bgColor: {
25
+ gray: "bg-gray-300",
26
+ white: "bg-white"
27
+ }
28
+ },
21
29
  defaultVariants: {
22
- size: "h1"
30
+ titleBold: !1,
31
+ textAlign: "left",
32
+ bgColor: "white"
23
33
  }
24
- }), b = e({
25
- extend: r
26
- }), g = e({
27
- base: "block w-min bg-color-1-400 p-2 rounded-lg"
28
- }), m = e({
29
- extend: t,
34
+ }), o = e({
35
+ base: "",
36
+ defaultVariants: {
37
+ textAlign: "left"
38
+ },
30
39
  variants: {
31
- order: {
32
- prev: "order-1",
33
- next: "order-3"
40
+ textAlign: {
41
+ center: "justify-self-center col-start-2",
42
+ left: "justify-self-start"
34
43
  }
35
44
  }
36
- }), u = e({
37
- base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
38
- }), d = e({
39
- base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
45
+ }), i = e({
46
+ base: "text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",
40
47
  variants: {
41
- active: {
42
- true: "bg-color-1-100",
48
+ isOpen: {
49
+ true: "-rotate-90",
43
50
  false: ""
44
51
  }
45
52
  }
46
- }), v = {
47
- wrapper: a,
48
- carouselWrapper: o,
49
- closeBtn: s,
50
- swiper: {
51
- swiper: n,
52
- wrapper: l
53
- },
54
- item: {
55
- wrapper: p,
56
- container: i,
57
- title: c,
58
- content: b,
59
- icon: g
53
+ }), l = e({
54
+ base: `
55
+ font-body
56
+ text-inherit
57
+ h-auto
58
+ grid
59
+ `,
60
+ defaultVariants: {
61
+ textAlign: "left"
60
62
  },
61
- navigation: {
62
- button: m
63
+ variants: {
64
+ textAlign: {
65
+ center: "grid-cols-[3rem_1fr_3rem] px-6 text-center",
66
+ left: "grid-cols-[1fr_3rem] text-left"
67
+ }
68
+ }
69
+ }), a = e({
70
+ base: "overflow-hidden flex flex-col gap-2 items-start",
71
+ defaultVariants: {
72
+ textAlign: "left"
63
73
  },
64
- pagination: {
65
- wrapper: u,
66
- bullet: d
74
+ variants: {
75
+ textAlign: {
76
+ center: "col-start-2",
77
+ left: ""
78
+ }
67
79
  }
80
+ }), c = {
81
+ container: (t) => r(t),
82
+ button: (t) => n(t),
83
+ title: (t) => o(t),
84
+ icon: (t) => i(t),
85
+ region: (t) => l(t),
86
+ content: (t) => a(t)
68
87
  };
69
88
  export {
70
- v as default
89
+ n as accordionButton,
90
+ r as accordionContainer,
91
+ a as accordionContent,
92
+ i as accordionIcon,
93
+ l as accordionRegion,
94
+ c as accordionTheme,
95
+ o as accordionTitle
71
96
  };
package/index93.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("tailwind-variants"),s=l.tv({base:"w-full bg-slate-100"}),a=l.tv({base:"max-w-screen-lg mx-auto w-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"},spacing:{small:"mb-3",medium:"mb-6",large:"mb-8",none:"mb-0"}}}),t=l.tv({extend:a,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),e=l.tv({base:"bg-slate-300 h-64 p-4 flex justify-start items-end",defaultVariants:{size:"small"},variants:{size:{small:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",medium:"col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",large:"lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"}}});exports.container=a;exports.grid=t;exports.gridItem=e;exports.main=s;
1
+ "use strict";const e=require("tailwind-variants"),t=require("./index95.js"),r=require("./index111.js"),a=e.tv({base:"bg-color-1-200 p-4 flex flex-col gap-4"}),s=e.tv({base:"flex justify-between items-center gap-4 relative"}),n=e.tv({extend:t,base:"self-end"}),o=e.tv({base:"bg-color-1-300 m-2 rounded-lg order-2"}),l=e.tv({base:"m-4"}),i=e.tv({base:""}),c=e.tv({base:""}),p=e.tv({extend:r,defaultVariants:{size:"h1"}}),b=e.tv({extend:r}),u=e.tv({base:"block w-min bg-color-1-400 p-2 rounded-lg"}),v=e.tv({extend:t,variants:{order:{prev:"order-1",next:"order-3"}}}),d=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),g=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:""}}}),w={wrapper:a,carouselWrapper:s,closeBtn:n,swiper:{swiper:o,wrapper:l},item:{wrapper:i,container:c,title:p,content:b,icon:u},navigation:{button:v},pagination:{wrapper:d,bullet:g}};module.exports=w;
package/index93.mjs CHANGED
@@ -1,43 +1,71 @@
1
- import { tv as l } from "tailwind-variants";
2
- const t = l({
3
- base: "w-full bg-slate-100"
4
- }), a = l({
5
- base: "max-w-screen-lg mx-auto w-full",
1
+ import { tv as e } from "tailwind-variants";
2
+ import t from "./index95.mjs";
3
+ import r from "./index111.mjs";
4
+ const a = e({
5
+ base: "bg-color-1-200 p-4 flex flex-col gap-4"
6
+ }), o = e({
7
+ base: "flex justify-between items-center gap-4 relative"
8
+ }), s = e({
9
+ extend: t,
10
+ base: "self-end"
11
+ }), n = e({
12
+ base: "bg-color-1-300 m-2 rounded-lg order-2"
13
+ }), l = e({
14
+ base: "m-4"
15
+ }), p = e({
16
+ base: ""
17
+ }), i = e({
18
+ base: ""
19
+ }), c = e({
20
+ extend: r,
21
+ defaultVariants: {
22
+ size: "h1"
23
+ }
24
+ }), b = e({
25
+ extend: r
26
+ }), g = e({
27
+ base: "block w-min bg-color-1-400 p-2 rounded-lg"
28
+ }), m = e({
29
+ extend: t,
6
30
  variants: {
7
- fullWidth: {
8
- true: "max-w-full col-span-full p-0"
9
- },
10
- spacing: {
11
- small: "mb-3",
12
- medium: "mb-6",
13
- large: "mb-8",
14
- none: "mb-0"
31
+ order: {
32
+ prev: "order-1",
33
+ next: "order-3"
15
34
  }
16
35
  }
17
- }), n = l({
18
- extend: a,
19
- base: "grid grid-cols-12 gap-6 px-4 col-span-full",
36
+ }), u = e({
37
+ base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
38
+ }), d = e({
39
+ base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
20
40
  variants: {
21
- fullWidth: {
22
- true: "max-w-full col-span-full p-0"
41
+ active: {
42
+ true: "bg-color-1-100",
43
+ false: ""
23
44
  }
24
45
  }
25
- }), e = l({
26
- base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
27
- defaultVariants: {
28
- size: "small"
46
+ }), v = {
47
+ wrapper: a,
48
+ carouselWrapper: o,
49
+ closeBtn: s,
50
+ swiper: {
51
+ swiper: n,
52
+ wrapper: l
29
53
  },
30
- variants: {
31
- size: {
32
- small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",
33
- medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",
34
- large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"
35
- }
54
+ item: {
55
+ wrapper: p,
56
+ container: i,
57
+ title: c,
58
+ content: b,
59
+ icon: g
60
+ },
61
+ navigation: {
62
+ button: m
63
+ },
64
+ pagination: {
65
+ wrapper: u,
66
+ bullet: d
36
67
  }
37
- });
68
+ };
38
69
  export {
39
- a as container,
40
- n as grid,
41
- e as gridItem,
42
- t as main
70
+ v as default
43
71
  };
package/index94.js CHANGED
@@ -1,42 +1 @@
1
- "use strict";const e=require("tailwind-variants"),t=e.tv({base:`
2
- flex
3
- items-center
4
- justify-center
5
- gap-4
6
- transition
7
- duration-300
8
- ease-in-out
9
- disabled:pointer-events-none
10
- disabled:opacity-30
11
- focus-ring-black
12
- `,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{type:{button:"",menu:"text-2xl"},buttonStyle:{default:`
13
- px-4
14
- py-2
15
- text-white
16
- !bg-color-1-500
17
- hover:!bg-color-1-400
18
- active:!bg-color-1-400
19
- `,outline:`
20
- px-4
21
- py-2
22
- bg-transparent
23
- !border-color-1-500
24
- text-color-1-500
25
- hover:bg-color-1-500
26
- hover:text-white
27
- active:bg-color-1-500
28
- active:text-white
29
- `,hollow:`
30
- px-2
31
- bg-transparent
32
- text-color-1-500
33
- hover:border-b-color-1-500
34
- active:border-b-color-1-500
35
- focus:border-b-color-1-500
36
-
37
- `},intent:{error:`
38
- !bg-error
39
- text-white
40
- pointer-events-none
41
- !border-error
42
- `},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}});module.exports=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("tailwind-variants"),s=l.tv({base:"w-full bg-slate-100"}),a=l.tv({base:"max-w-screen-lg mx-auto w-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"},spacing:{small:"mb-3",medium:"mb-6",large:"mb-8",none:"mb-0"}}}),t=l.tv({extend:a,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),e=l.tv({base:"bg-slate-300 h-64 p-4 flex justify-start items-end",defaultVariants:{size:"small"},variants:{size:{small:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",medium:"col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",large:"lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"}}});exports.container=a;exports.grid=t;exports.gridItem=e;exports.main=s;
package/index94.mjs CHANGED
@@ -1,76 +1,43 @@
1
- import { tv as e } from "tailwind-variants";
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
- `,
1
+ import { tv as l } from "tailwind-variants";
2
+ const t = l({
3
+ base: "w-full bg-slate-100"
4
+ }), a = l({
5
+ base: "max-w-screen-lg mx-auto w-full",
6
+ variants: {
7
+ fullWidth: {
8
+ true: "max-w-full col-span-full p-0"
9
+ },
10
+ spacing: {
11
+ small: "mb-3",
12
+ medium: "mb-6",
13
+ large: "mb-8",
14
+ none: "mb-0"
15
+ }
16
+ }
17
+ }), n = l({
18
+ extend: a,
19
+ base: "grid grid-cols-12 gap-6 px-4 col-span-full",
20
+ variants: {
21
+ fullWidth: {
22
+ true: "max-w-full col-span-full p-0"
23
+ }
24
+ }
25
+ }), e = l({
26
+ base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
15
27
  defaultVariants: {
16
- buttonStyle: "default",
17
- type: "button",
18
- size: "default",
19
- shape: "rounded"
28
+ size: "small"
20
29
  },
21
30
  variants: {
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
31
  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"
32
+ small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",
33
+ medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",
34
+ large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"
71
35
  }
72
36
  }
73
37
  });
74
38
  export {
75
- o as default
39
+ a as container,
40
+ n as grid,
41
+ e as gridItem,
42
+ t as main
76
43
  };
package/index95.js CHANGED
@@ -1,64 +1,42 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"text-gray-800 flex flex-col gap-4"}),a=e.tv({base:"flex items-center justify-between"}),r=e.tv({base:"text-2xl text-color-1-500 font-bold"}),l=e.tv({base:""});e.tv({base:""});e.tv({base:""});e.tv({base:""});const n=e.tv({base:"flex items-center gap-1"}),s=e.tv({base:`
2
- active:bg-color-1-500
3
- p-2
4
- rounded-full
5
- active:text-color-1-100
6
- hover:bg-color-1-200
7
- focus-ring-black
8
- transition-all
9
- duration-300
10
- ease-in-out
11
- `}),i=e.tv({base:`
12
- border-spacing-2
13
- border-separate
14
- `}),o=e.tv({base:`
15
- text-center
16
- capitalize
17
- rounded-lg
18
- p-2
19
- mx-2
20
- bg-color-1-300
21
- `}),c=e.tv({base:"text-center",variants:{isFocusVisible:{true:"z-10",false:""}}}),d=e.tv({base:"w-10 h-10",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",false:""},isDisabled:{true:"disabled pointer-events-none",false:""},isUnavailable:{true:"pointer-events-none",false:""},isOutsideRange:{true:"pointer-events-none",false:""},isOutsideVisibleRange:{true:"pointer-events-none",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:[!0,!1],isInvalid:!0,class:"bg-error-400 hover:bg-error-500"},{isSelected:!0}]}),u=e.tv({base:`
22
- w-full
23
- h-full
1
+ "use strict";const e=require("tailwind-variants"),t=e.tv({base:`
24
2
  flex
25
3
  items-center
26
4
  justify-center
27
- cursor-pointer
28
- transition-all
29
- duration-100
5
+ gap-4
6
+ transition
7
+ duration-300
30
8
  ease-in-out
31
- relative
32
- `,variants:{isSelected:{true:`
33
- bg-color-1-400
34
- text-white
35
- hover:bg-color-1-500
36
- `,false:`
37
- rounded-full
38
- hover:text-white
39
- hover:bg-color-1-400
40
- `},isInvalid:{true:"",fasle:""},isDisabled:{true:"opacity-50",false:""},isUnavailable:{true:"text-gray-200",false:""},isOutsideRange:{true:`
41
- text-black
42
- before:content-['/']
43
- before:text-gray-400
44
- before:[font-weight:100]
45
- before:text-4xl
46
- before:absolute
47
- before:inset-0
48
- before:flex
49
- before:items-center
50
- before:justify-center
51
- `,false:""},isOutsideVisibleRange:{true:"text-gray-400",false:""},isFocusVisible:{true:"",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isSelectionStart:[!0,!1],isSelectionEnd:[!0,!1],isDisabled:!1,isOutsideRange:!1,isUnavailable:!1,isInvalid:!0,class:`
52
- bg-error-400
53
- hover:bg-error-500
54
- `},{isSelectionStart:!0,class:`
55
- rounded-l-full
56
- bg-color-1-400
57
- text-white
58
- hover:bg-color-1-500
59
- `},{isSelectionEnd:!0,class:`
60
- rounded-r-full
61
- bg-color-1-400
62
- text-white
63
- hover:bg-color-1-500
64
- `}]}),b={container:t,header:a,calendarHeaderContainer:l,title:r,navigationButtonsContainer:n,navigationButtons:s,calendarTable:i,calendarDayLabel:o,cellContainer:c,cell:d,cellDate:u};exports.calendarCell=d;exports.calendarCellContainer=c;exports.calendarCellDate=u;exports.calendarContainer=t;exports.calendarDayLabel=o;exports.calendarHeader=a;exports.calendarHeaderContainer=l;exports.calendarNavigationButtons=s;exports.calendarNavigationButtonsContainer=n;exports.calendarTable=i;exports.calendarTheme=b;exports.calendarTitle=r;
9
+ disabled:pointer-events-none
10
+ disabled:opacity-30
11
+ focus-ring-black
12
+ `,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{type:{button:"",menu:"text-2xl"},buttonStyle:{default:`
13
+ px-4
14
+ py-2
15
+ text-white
16
+ !bg-color-1-500
17
+ hover:!bg-color-1-400
18
+ active:!bg-color-1-400
19
+ `,outline:`
20
+ px-4
21
+ py-2
22
+ bg-transparent
23
+ !border-color-1-500
24
+ text-color-1-500
25
+ hover:bg-color-1-500
26
+ hover:text-white
27
+ active:bg-color-1-500
28
+ active:text-white
29
+ `,hollow:`
30
+ px-2
31
+ bg-transparent
32
+ text-color-1-500
33
+ hover:border-b-color-1-500
34
+ active:border-b-color-1-500
35
+ focus:border-b-color-1-500
36
+
37
+ `},intent:{error:`
38
+ !bg-error
39
+ text-white
40
+ pointer-events-none
41
+ !border-error
42
+ `},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}});module.exports=t;