@okam/stack-ui 1.29.1 → 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.
- package/components/Accordion/components/AccordionItem.d.ts +1 -0
- package/components/Accordion/index.d.ts +2 -1
- package/components/Accordion/interface.d.ts +3 -2
- package/components/Alerts/components/AlertsCloseButton.d.ts +1 -1
- package/components/Alerts/index.d.ts +2 -1
- package/components/Alerts/interface.d.ts +4 -3
- package/components/Box/index.d.ts +3 -2
- package/components/Button/index.d.ts +8 -4
- package/components/Button/interface.d.ts +3 -2
- package/components/Calendar/index.d.ts +5 -1
- package/components/Calendar/interface.d.ts +2 -1
- package/components/Carousel/components/CarouselNavigationButton.d.ts +3 -3
- package/components/Date/index.d.ts +2 -1
- package/components/Date/interface.d.ts +2 -1
- package/components/Icon/index.d.ts +2 -1
- package/components/Icon/interface.d.ts +2 -1
- package/components/Lightbox/hooks/overlay/index.d.ts +75 -0
- package/components/Lightbox/index.d.ts +2 -1
- package/components/Lightbox/interface.d.ts +3 -2
- package/components/Menu/Menu.d.ts +2 -1
- package/components/Menu/interface.d.ts +5 -4
- package/components/Modal/index.d.ts +2 -1
- package/components/Modal/interface.d.ts +2 -1
- package/components/Popover/index.d.ts +2 -1
- package/components/Popover/interface.d.ts +3 -2
- package/components/ShareButton/index.d.ts +2 -1
- package/components/ShareButton/interface.d.ts +2 -2
- package/components/SidePanel/index.d.ts +3 -3
- package/components/SidePanel/interface.d.ts +5 -4
- package/components/Typography/index.d.ts +3 -2
- package/components/Video/index.d.ts +2 -1
- package/components/Video/interface.d.ts +2 -1
- package/components/WysiwygBlock/index.d.ts +2 -1
- package/components/WysiwygBlock/interface.d.ts +2 -1
- package/components/fields/Checkbox/Checkbox.interface.d.ts +2 -1
- package/components/fields/Checkbox/index.d.ts +2 -1
- package/components/fields/CheckboxGroup/index.d.ts +2 -1
- package/components/fields/CheckboxGroup/interface.d.ts +2 -1
- package/components/fields/DatePicker/index.d.ts +2 -1
- package/components/fields/DatePicker/interface.d.ts +2 -1
- package/components/fields/Radio/Radio.interface.d.ts +3 -2
- package/components/fields/Radio/index.d.ts +3 -2
- package/components/fields/RadioGroup/index.d.ts +2 -1
- package/components/fields/RadioGroup/interface.d.ts +2 -1
- package/components/fields/SearchField/index.d.ts +2 -1
- package/components/fields/SearchField/interface.d.ts +2 -1
- package/components/fields/Select/Select.d.ts +2 -1
- package/components/fields/Select/Select.interface.d.ts +3 -2
- package/components/fields/TextArea/index.d.ts +2 -1
- package/components/fields/TextInputField/interface.d.ts +3 -2
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +41 -38
- package/index100.js +1 -2
- package/index100.mjs +22 -21
- package/index101.js +2 -1
- package/index101.mjs +22 -63
- package/index102.js +1 -1
- package/index102.mjs +58 -24
- package/index103.js +1 -1
- package/index103.mjs +29 -52
- package/index104.js +1 -1
- package/index104.mjs +52 -4
- package/index105.js +1 -1
- package/index105.mjs +4 -11
- package/index106.js +1 -1
- package/index106.mjs +11 -14
- package/index107.js +1 -1
- package/index107.mjs +13 -22
- package/index108.js +1 -1
- package/index108.mjs +19 -19
- package/index109.js +1 -1
- package/index109.mjs +22 -38
- package/index11.js +1 -1
- package/index11.mjs +2 -2
- package/index110.js +1 -2
- package/index110.mjs +38 -12
- package/index111.js +2 -1
- package/index111.mjs +12 -7
- package/index112.js +1 -1
- package/index112.mjs +7 -21
- package/index113.js +1 -1
- package/index113.mjs +21 -38
- package/index114.js +1 -1
- package/index114.mjs +38 -49
- package/index115.js +1 -1
- package/index115.mjs +49 -40
- package/index116.js +1 -1
- package/index116.mjs +40 -13
- package/index117.js +1 -1
- package/index117.mjs +14 -26
- package/index118.js +1 -1
- package/index118.mjs +29 -18
- package/index119.js +1 -1
- package/index119.mjs +19 -8
- package/index120.js +1 -1
- package/index120.mjs +9 -30
- package/index121.js +1 -1
- package/index121.mjs +30 -15
- package/index122.js +1 -1
- package/index122.mjs +13 -15
- package/index123.js +1 -1
- package/index123.mjs +17 -21
- package/index124.js +1 -1
- package/index124.mjs +21 -11
- package/index125.js +1 -2
- package/index125.mjs +11 -22
- package/index126.js +2 -1
- package/index126.mjs +22 -12
- package/index127.js +1 -1
- package/index127.mjs +12 -46
- package/index128.js +1 -1
- package/index128.mjs +46 -241
- package/index129.js +1 -2
- package/index129.mjs +241 -13
- package/index13.js +1 -1
- package/index13.mjs +1 -1
- package/index130.js +2 -1
- package/index130.mjs +12 -29
- package/index131.js +1 -1
- package/index131.mjs +30 -51
- package/index132.js +1 -1
- package/index132.mjs +49 -25
- package/index133.js +1 -1
- package/index133.mjs +25 -19
- package/index134.js +1 -1
- package/index134.mjs +17 -58
- package/index135.js +1 -1
- package/index135.mjs +57 -90
- package/index136.js +1 -1
- package/index136.mjs +91 -28
- package/index137.js +1 -1
- package/index137.mjs +31 -119
- package/index138.js +1 -1
- package/index138.mjs +119 -25
- package/index139.js +1 -1
- package/index139.mjs +25 -122
- package/index14.js +1 -1
- package/index14.mjs +3 -3
- package/index140.js +1 -1
- package/index140.mjs +122 -132
- package/index141.js +1 -1
- package/index141.mjs +132 -12
- package/index142.js +1 -1
- package/index142.mjs +12 -93
- package/index143.js +1 -1
- package/index143.mjs +87 -98
- package/index144.js +1 -1
- package/index144.mjs +106 -5
- package/index145.js +1 -1
- package/index145.mjs +5 -3
- package/index146.js +1 -1
- package/index146.mjs +3 -125
- package/index147.js +1 -1
- package/index147.mjs +117 -21
- package/index148.js +1 -1
- package/index148.mjs +15 -37
- package/index149.js +1 -1
- package/index149.mjs +41 -34
- package/index150.js +1 -1
- package/index150.mjs +32 -25
- package/index151.js +1 -1
- package/index151.mjs +22 -98
- package/index152.js +1 -1
- package/index152.mjs +99 -63
- package/index153.js +1 -1
- package/index153.mjs +55 -79
- package/index154.js +1 -1
- package/index154.mjs +102 -98
- package/index155.js +1 -1
- package/index155.mjs +98 -200
- package/index156.js +1 -1
- package/index156.mjs +186 -51
- package/index157.js +1 -1
- package/index157.mjs +51 -128
- package/index158.js +1 -1
- package/index158.mjs +129 -107
- package/index159.js +1 -1
- package/index159.mjs +101 -199
- package/index16.js +1 -1
- package/index16.mjs +2 -2
- package/index160.js +1 -1
- package/index160.mjs +198 -171
- package/index161.js +1 -1
- package/index161.mjs +182 -61
- package/index162.js +1 -1
- package/index162.mjs +60 -249
- package/index163.js +1 -1
- package/index163.mjs +249 -88
- package/index164.js +1 -1
- package/index164.mjs +93 -170
- package/index165.js +1 -1
- package/index165.mjs +170 -80
- package/index166.js +1 -1
- package/index166.mjs +75 -49
- package/index167.js +1 -1
- package/index167.mjs +49 -117
- package/index168.js +1 -1
- package/index168.mjs +118 -108
- package/index169.js +1 -1
- package/index169.mjs +106 -112
- package/index170.js +1 -1
- package/index170.mjs +113 -63
- package/index171.js +1 -1
- package/index171.mjs +70 -108
- package/index172.js +1 -1
- package/index172.mjs +108 -50
- package/index173.js +1 -1
- package/index173.mjs +34 -75
- package/index174.js +1 -1
- package/index174.mjs +71 -48
- package/index175.js +1 -1
- package/index175.mjs +57 -43
- package/index176.js +1 -1
- package/index176.mjs +43 -86
- package/index177.js +1 -5
- package/index177.mjs +81 -62
- package/index178.js +5 -1
- package/index178.mjs +72 -2003
- package/index179.js +1 -1
- package/index179.mjs +2006 -54
- package/index18.js +1 -1
- package/index18.mjs +7 -7
- package/index180.js +1 -1
- package/index180.mjs +56 -185
- package/index181.js +1 -1
- package/index181.mjs +188 -5
- package/index182.js +1 -1
- package/index182.mjs +5 -130
- package/index183.js +1 -1
- package/index183.mjs +123 -172
- package/index184.js +1 -1
- package/index184.mjs +178 -8
- package/index185.js +1 -1
- package/index185.mjs +9 -3
- package/index186.js +1 -1
- package/index186.mjs +3 -36
- package/index187.js +1 -1
- package/index187.mjs +36 -5
- package/index188.js +1 -1
- package/index188.mjs +5 -29
- package/index189.js +1 -1
- package/index189.mjs +29 -6
- package/index19.js +1 -1
- package/index19.mjs +2 -2
- package/index190.js +1 -1
- package/index190.mjs +6 -313
- package/index191.js +1 -1
- package/index191.mjs +327 -179
- package/index192.js +1 -1
- package/index192.mjs +183 -8
- package/index193.js +1 -1
- package/index193.mjs +7 -25
- package/index194.js +1 -1
- package/index194.mjs +26 -55
- package/index195.js +1 -1
- package/index195.mjs +55 -46
- package/index196.js +1 -1
- package/index196.mjs +45 -123
- package/index197.js +1 -1
- package/index197.mjs +110 -5
- package/index198.js +1 -1
- package/index198.mjs +31 -27
- package/index199.js +1 -1
- package/index199.mjs +6 -7
- package/index2.js +1 -1
- package/index2.mjs +19 -19
- package/index20.js +1 -1
- package/index20.mjs +1 -1
- package/index200.js +1 -1
- package/index200.mjs +28 -7
- package/index201.js +1 -1
- package/index201.mjs +7 -8
- package/index202.js +1 -1
- package/index202.mjs +6 -3
- package/index203.js +1 -1
- package/index203.mjs +7 -5
- package/index204.js +1 -1
- package/index204.mjs +4 -9
- package/index205.js +1 -0
- package/index205.mjs +8 -0
- package/index206.js +1 -0
- package/index206.mjs +12 -0
- package/index21.js +1 -1
- package/index21.mjs +8 -8
- package/index22.js +1 -1
- package/index22.mjs +2 -2
- package/index23.js +1 -1
- package/index23.mjs +3 -3
- package/index24.js +1 -1
- package/index24.mjs +14 -14
- package/index26.js +1 -1
- package/index26.mjs +28 -21
- package/index27.js +1 -1
- package/index27.mjs +12 -12
- package/index28.js +1 -1
- package/index28.mjs +6 -6
- package/index29.js +1 -1
- package/index29.mjs +1 -1
- package/index30.js +1 -1
- package/index30.mjs +14 -8
- package/index31.js +1 -1
- package/index31.mjs +18 -18
- package/index32.js +1 -1
- package/index32.mjs +1 -1
- package/index33.mjs +43 -43
- package/index34.js +1 -1
- package/index34.mjs +1 -1
- package/index35.js +1 -1
- package/index35.mjs +3 -3
- package/index36.mjs +10 -10
- package/index4.js +1 -1
- package/index4.mjs +3 -3
- package/index6.js +1 -1
- package/index6.mjs +34 -33
- package/index65.js +1 -1
- package/index65.mjs +1 -1
- package/index66.js +1 -1
- package/index66.mjs +2 -2
- package/index67.js +1 -1
- package/index67.mjs +1 -1
- package/index69.js +1 -1
- package/index69.mjs +1 -1
- package/index7.mjs +4 -4
- package/index70.js +1 -1
- package/index70.mjs +1 -1
- package/index71.js +1 -1
- package/index71.mjs +1 -1
- package/index72.js +2 -1
- package/index72.mjs +27 -2
- package/index73.js +1 -2
- package/index73.mjs +2 -9
- package/index74.js +1 -1
- package/index74.mjs +7 -6
- package/index75.js +1 -1
- package/index75.mjs +6 -6
- package/index76.js +1 -1
- package/index76.mjs +6 -6
- package/index77.js +2 -1
- package/index77.mjs +8 -25
- package/index78.js +1 -1
- package/index78.mjs +25 -2
- package/index79.js +1 -6
- package/index79.mjs +2 -94
- package/index8.js +1 -1
- package/index8.mjs +42 -23
- package/index80.js +6 -1
- package/index80.mjs +79 -54
- package/index81.js +1 -1
- package/index81.mjs +61 -33
- package/index82.js +1 -42
- package/index82.mjs +34 -67
- package/index83.js +42 -1
- package/index83.mjs +69 -154
- package/index84.js +1 -9
- package/index84.mjs +149 -47
- package/index85.js +9 -1
- package/index85.mjs +48 -36
- package/index86.js +1 -1
- package/index86.mjs +40 -8
- package/index87.js +1 -1
- package/index87.mjs +9 -31
- package/index88.js +1 -1
- package/index88.mjs +35 -6
- package/index89.js +1 -12
- package/index89.mjs +6 -40
- package/index9.js +1 -1
- package/index9.mjs +7 -7
- package/index90.js +12 -1
- package/index90.mjs +36 -25
- package/index91.js +1 -1
- package/index91.mjs +24 -8
- package/index92.js +1 -7
- package/index92.mjs +7 -13
- package/index93.js +6 -14
- package/index93.mjs +13 -65
- package/index94.js +15 -1
- package/index94.mjs +71 -7
- package/index95.js +1 -16
- package/index95.mjs +7 -25
- package/index96.js +16 -1
- package/index96.mjs +20 -37
- package/index97.js +1 -1
- package/index97.mjs +40 -43
- package/index98.js +1 -1
- package/index98.mjs +44 -47
- package/index99.js +1 -1
- package/index99.mjs +48 -17
- package/package.json +1 -1
- package/providers/Translation/index.d.ts +4 -0
- package/providers/Translation/interface.d.ts +16 -0
- package/theme/Accordion/index.d.ts +12 -12
- package/theme/Alerts/index.d.ts +22 -22
- package/theme/Box/index.d.ts +8 -8
- package/theme/Button/index.d.ts +2 -2
- package/theme/Calendar/index.d.ts +12 -12
- package/theme/Carousel/index.d.ts +11 -11
- package/theme/Checkbox/index.d.ts +8 -8
- package/theme/CheckboxGroup/index.d.ts +3 -3
- package/theme/DatePicker/index.d.ts +9 -9
- package/theme/Image/index.d.ts +1 -1
- package/theme/LightBox/index.d.ts +9 -9
- package/theme/Radio/index.d.ts +6 -6
- package/theme/RadioGroup/index.d.ts +3 -3
- package/theme/Search/index.d.ts +3 -3
- package/theme/ShareButton/index.d.ts +10 -10
- package/theme/SidePanel/index.d.ts +3 -3
- package/theme/TextArea/index.d.ts +2 -2
- package/theme/Typography/index.d.ts +2 -2
- package/transitions/ModalTransition.d.ts +3 -6
- package/transitions/RenderWithSlide.d.ts +3 -6
- package/transitions/SidePanelTransition.d.ts +3 -6
package/index82.mjs
CHANGED
|
@@ -1,76 +1,43 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
3
|
-
base:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
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
|
-
|
|
66
|
-
|
|
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
|
-
|
|
39
|
+
a as container,
|
|
40
|
+
n as grid,
|
|
41
|
+
e as gridItem,
|
|
42
|
+
t as main
|
|
76
43
|
};
|
package/index83.js
CHANGED
|
@@ -1 +1,42 @@
|
|
|
1
|
-
"use strict";
|
|
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;
|
package/index83.mjs
CHANGED
|
@@ -1,161 +1,76 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
const
|
|
3
|
-
base:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
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"),
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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: "
|
|
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: "
|
|
27
|
-
}),
|
|
28
|
-
base: "
|
|
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
|
-
|
|
31
|
-
true: "
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
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";
|
|
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;
|