@okam/stack-ui 2.0.1 → 2.1.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/CHANGELOG.md +25 -0
- package/components/fields/ComboBox/interface.d.ts +6 -0
- package/components/fields/ListBox/interface.d.ts +1 -1
- package/components/fields/SearchField/interface.d.ts +9 -2
- package/components/fields/TextArea/attributes.d.ts +1 -0
- package/components/fields/TextInputField/attributes.d.ts +1 -0
- package/index.d.ts +1 -0
- package/index119.js +1 -1
- package/index119.mjs +1 -1
- package/index12.js +1 -1
- package/index12.mjs +6 -6
- package/index122.js +1 -1
- package/index122.mjs +22 -22
- package/index127.js +1 -1
- package/index127.mjs +10 -10
- package/index131.js +1 -1
- package/index131.mjs +1 -1
- package/index133.js +1 -1
- package/index133.mjs +11 -14
- package/index134.js +1 -1
- package/index134.mjs +12 -7
- package/index135.js +1 -1
- package/index135.mjs +14 -7
- package/index136.js +1 -1
- package/index136.mjs +6 -15
- package/index137.js +1 -1
- package/index137.mjs +7 -31
- package/index138.js +1 -2
- package/index138.mjs +15 -8
- package/index139.js +1 -2
- package/index139.mjs +30 -9
- package/index140.js +2 -1
- package/index140.mjs +8 -23
- package/index141.js +1 -1
- package/index141.mjs +8 -45
- package/index142.js +1 -1
- package/index142.mjs +24 -52
- package/index143.js +2 -6
- package/index143.mjs +45 -92
- package/index144.js +1 -1
- package/index144.mjs +52 -70
- package/index145.js +6 -1
- package/index145.mjs +82 -29
- package/index146.js +1 -51
- package/index146.mjs +65 -86
- package/index147.js +1 -64
- package/index147.mjs +33 -220
- package/index148.js +51 -10
- package/index148.mjs +85 -65
- package/index149.js +64 -1
- package/index149.mjs +214 -31
- package/index150.js +10 -1
- package/index150.mjs +68 -10
- package/index151.js +1 -6
- package/index151.mjs +42 -46
- package/index152.js +1 -5
- package/index152.mjs +10 -85
- package/index153.js +7 -1
- package/index153.mjs +50 -6
- package/index154.js +4 -11
- package/index154.mjs +78 -30
- package/index155.js +1 -1
- package/index155.mjs +6 -96
- package/index156.js +12 -1
- package/index156.mjs +39 -12
- package/index157.js +1 -1
- package/index157.mjs +96 -8
- package/index158.js +1 -1
- package/index158.mjs +13 -29
- package/index159.js +1 -1
- package/index159.mjs +7 -12
- package/index160.js +1 -7
- package/index160.mjs +23 -13
- package/index161.js +1 -15
- package/index161.mjs +9 -67
- package/index162.js +7 -1
- package/index162.mjs +22 -6
- package/index163.js +15 -9
- package/index163.mjs +68 -12
- package/index164.js +1 -41
- package/index164.mjs +7 -106
- package/index165.js +9 -47
- package/index165.mjs +13 -100
- package/index166.js +40 -15
- package/index166.mjs +100 -19
- package/index167.js +45 -18
- package/index167.mjs +85 -59
- package/index168.js +16 -1
- package/index168.mjs +20 -37
- package/index169.js +20 -1
- package/index169.mjs +76 -12
- package/index17.js +1 -1
- package/index17.mjs +14 -14
- package/index170.js +1 -1
- package/index170.mjs +41 -10
- package/index171.js +1 -1
- package/index171.mjs +11 -6
- package/index172.js +1 -2
- package/index172.mjs +6 -47
- package/index173.js +2 -0
- package/index173.mjs +50 -0
- package/index174.js +1 -0
- package/index174.mjs +13 -0
- package/index18.js +1 -1
- package/index18.mjs +7 -7
- package/index2.js +1 -1
- package/index2.mjs +4 -4
- package/index26.js +1 -1
- package/index26.mjs +15 -15
- package/index27.js +1 -1
- package/index27.mjs +15 -15
- package/index32.js +1 -1
- package/index32.mjs +105 -85
- package/index35.js +1 -1
- package/index35.mjs +14 -14
- package/index38.js +1 -1
- package/index38.mjs +115 -107
- package/index39.js +1 -1
- package/index39.mjs +11 -11
- package/index43.js +1 -1
- package/index43.mjs +55 -52
- package/index46.js +1 -1
- package/index46.mjs +86 -87
- package/index47.js +1 -1
- package/index47.mjs +110 -111
- package/index48.js +1 -1
- package/index48.mjs +3 -3
- package/index52.js +1 -1
- package/index52.mjs +1 -1
- package/index53.js +1 -1
- package/index53.mjs +1 -1
- package/index54.js +1 -1
- package/index54.mjs +3 -3
- package/index56.js +1 -1
- package/index56.mjs +33 -32
- package/index66.js +1 -1
- package/index66.mjs +1 -1
- package/index68.js +1 -1
- package/index68.mjs +11 -11
- package/index72.js +1 -1
- package/index72.mjs +13 -13
- package/index76.js +1 -1
- package/index76.mjs +1 -1
- package/index8.js +1 -1
- package/index8.mjs +30 -30
- package/index91.js +1 -1
- package/index91.mjs +50 -49
- package/package.json +2 -2
- package/theme/Search/index.d.ts +2 -1
package/index146.mjs
CHANGED
|
@@ -1,93 +1,72 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
import t from "./index148.mjs";
|
|
3
|
+
import r from "./index170.mjs";
|
|
4
|
+
const a = e({
|
|
5
|
+
base: "bg-color-1-200 p-4 flex flex-col gap-4"
|
|
6
|
+
}), o = e({
|
|
7
|
+
base: "flex flex-wrap 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 basis-9/12"
|
|
13
|
+
}), l = e({
|
|
14
|
+
base: "m-4"
|
|
15
|
+
}), i = e({
|
|
16
|
+
base: ""
|
|
17
|
+
}), p = e({
|
|
18
|
+
base: ""
|
|
19
|
+
}), c = e({
|
|
20
|
+
extend: r,
|
|
16
21
|
defaultVariants: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
}), d = e({
|
|
29
|
+
extend: t,
|
|
30
|
+
base: "basis-1/12",
|
|
22
31
|
variants: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
buttonStyle: {
|
|
28
|
-
default: `
|
|
29
|
-
px-4
|
|
30
|
-
py-2
|
|
31
|
-
text-white
|
|
32
|
-
bg-color-1-500
|
|
33
|
-
hover:bg-color-1-400
|
|
34
|
-
active:bg-color-1-400
|
|
35
|
-
`,
|
|
36
|
-
outline: `
|
|
37
|
-
px-4
|
|
38
|
-
py-2
|
|
39
|
-
bg-transparent
|
|
40
|
-
border-color-1-500
|
|
41
|
-
text-color-1-500
|
|
42
|
-
hover:bg-color-1-500
|
|
43
|
-
hover:text-white
|
|
44
|
-
active:bg-color-1-500
|
|
45
|
-
active:text-white
|
|
46
|
-
`,
|
|
47
|
-
hollow: `
|
|
48
|
-
px-2
|
|
49
|
-
bg-transparent
|
|
50
|
-
text-color-1-500
|
|
51
|
-
hover:border-b-color-1-500
|
|
52
|
-
active:border-b-color-1-500
|
|
53
|
-
focus:border-b-color-1-500
|
|
54
|
-
|
|
55
|
-
`
|
|
56
|
-
},
|
|
57
|
-
intent: {
|
|
58
|
-
danger: "",
|
|
59
|
-
error: `
|
|
60
|
-
bg-error
|
|
61
|
-
text-white
|
|
62
|
-
pointer-events-none
|
|
63
|
-
border-error
|
|
64
|
-
`
|
|
65
|
-
},
|
|
66
|
-
size: {
|
|
67
|
-
default: "min-w-12 min-h-6",
|
|
68
|
-
large: "min-w-36 min-h-18"
|
|
69
|
-
},
|
|
70
|
-
shape: {
|
|
71
|
-
rounded: "rounded-md",
|
|
72
|
-
circular: "rounded-full"
|
|
32
|
+
order: {
|
|
33
|
+
prev: "order-1",
|
|
34
|
+
next: "order-3"
|
|
73
35
|
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
hover:bg-danger-400
|
|
84
|
-
hover:border-danger-400
|
|
85
|
-
focus:bg-danger-400
|
|
86
|
-
focus:border-danger-400
|
|
87
|
-
`
|
|
36
|
+
}
|
|
37
|
+
}), f = e({
|
|
38
|
+
base: "flex gap-4 justify-center bg-color-1-200 z-10 bottom-4 left-0 right-0 order-4 basis-full"
|
|
39
|
+
}), m = e({
|
|
40
|
+
base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
|
|
41
|
+
variants: {
|
|
42
|
+
active: {
|
|
43
|
+
true: "bg-color-1-100",
|
|
44
|
+
false: ""
|
|
88
45
|
}
|
|
89
|
-
|
|
90
|
-
})
|
|
46
|
+
}
|
|
47
|
+
}), v = {
|
|
48
|
+
wrapper: a,
|
|
49
|
+
carouselWrapper: o,
|
|
50
|
+
closeBtn: s,
|
|
51
|
+
swiper: {
|
|
52
|
+
swiper: n,
|
|
53
|
+
wrapper: l
|
|
54
|
+
},
|
|
55
|
+
item: {
|
|
56
|
+
wrapper: i,
|
|
57
|
+
container: p,
|
|
58
|
+
title: c,
|
|
59
|
+
content: b,
|
|
60
|
+
icon: g
|
|
61
|
+
},
|
|
62
|
+
navigation: {
|
|
63
|
+
button: d
|
|
64
|
+
},
|
|
65
|
+
pagination: {
|
|
66
|
+
wrapper: f,
|
|
67
|
+
bullet: m
|
|
68
|
+
}
|
|
69
|
+
};
|
|
91
70
|
export {
|
|
92
|
-
|
|
71
|
+
v as default
|
|
93
72
|
};
|
package/index147.js
CHANGED
|
@@ -1,64 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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
|
|
24
|
-
flex
|
|
25
|
-
items-center
|
|
26
|
-
justify-center
|
|
27
|
-
cursor-pointer
|
|
28
|
-
transition-all
|
|
29
|
-
duration-100
|
|
30
|
-
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;
|
|
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/index147.mjs
CHANGED
|
@@ -1,230 +1,43 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const t =
|
|
3
|
-
base: "
|
|
4
|
-
}), a =
|
|
5
|
-
base: "
|
|
6
|
-
}), r = e({
|
|
7
|
-
base: "text-2xl text-color-1-500 font-bold"
|
|
8
|
-
}), l = e({
|
|
9
|
-
base: ""
|
|
10
|
-
});
|
|
11
|
-
e({
|
|
12
|
-
base: ""
|
|
13
|
-
});
|
|
14
|
-
e({
|
|
15
|
-
base: ""
|
|
16
|
-
});
|
|
17
|
-
e({
|
|
18
|
-
base: ""
|
|
19
|
-
});
|
|
20
|
-
const s = e({
|
|
21
|
-
base: "flex items-center gap-1"
|
|
22
|
-
}), n = e({
|
|
23
|
-
base: `
|
|
24
|
-
active:bg-color-1-500
|
|
25
|
-
p-2
|
|
26
|
-
rounded-full
|
|
27
|
-
active:text-color-1-100
|
|
28
|
-
hover:bg-color-1-200
|
|
29
|
-
focus-ring-black
|
|
30
|
-
transition-all
|
|
31
|
-
duration-300
|
|
32
|
-
ease-in-out
|
|
33
|
-
`
|
|
34
|
-
}), o = e({
|
|
35
|
-
base: `
|
|
36
|
-
border-spacing-2
|
|
37
|
-
border-separate
|
|
38
|
-
`
|
|
39
|
-
}), i = e({
|
|
40
|
-
base: `
|
|
41
|
-
text-center
|
|
42
|
-
capitalize
|
|
43
|
-
rounded-lg
|
|
44
|
-
p-2
|
|
45
|
-
mx-2
|
|
46
|
-
bg-color-1-300
|
|
47
|
-
`
|
|
48
|
-
}), c = e({
|
|
49
|
-
base: "text-center",
|
|
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",
|
|
50
6
|
variants: {
|
|
51
|
-
|
|
52
|
-
true: "
|
|
53
|
-
|
|
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"
|
|
54
15
|
}
|
|
55
16
|
}
|
|
56
|
-
}),
|
|
57
|
-
|
|
17
|
+
}), n = l({
|
|
18
|
+
extend: a,
|
|
19
|
+
base: "grid grid-cols-12 gap-6 px-4 col-span-full",
|
|
58
20
|
variants: {
|
|
59
|
-
|
|
60
|
-
true: ""
|
|
61
|
-
false: ""
|
|
62
|
-
},
|
|
63
|
-
isInvalid: {
|
|
64
|
-
true: "",
|
|
65
|
-
false: ""
|
|
66
|
-
},
|
|
67
|
-
isDisabled: {
|
|
68
|
-
true: "disabled pointer-events-none",
|
|
69
|
-
false: ""
|
|
70
|
-
},
|
|
71
|
-
isUnavailable: {
|
|
72
|
-
true: "pointer-events-none",
|
|
73
|
-
false: ""
|
|
74
|
-
},
|
|
75
|
-
isOutsideRange: {
|
|
76
|
-
true: "pointer-events-none",
|
|
77
|
-
false: ""
|
|
78
|
-
},
|
|
79
|
-
isOutsideVisibleRange: {
|
|
80
|
-
true: "pointer-events-none",
|
|
81
|
-
false: ""
|
|
82
|
-
},
|
|
83
|
-
isRoundedLeft: {
|
|
84
|
-
true: "rounded-l-full",
|
|
85
|
-
false: ""
|
|
86
|
-
},
|
|
87
|
-
isRoundedRight: {
|
|
88
|
-
true: "rounded-r-full",
|
|
89
|
-
false: ""
|
|
21
|
+
fullWidth: {
|
|
22
|
+
true: "max-w-full col-span-full p-0"
|
|
90
23
|
}
|
|
24
|
+
}
|
|
25
|
+
}), e = l({
|
|
26
|
+
base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
|
|
27
|
+
defaultVariants: {
|
|
28
|
+
size: "small"
|
|
91
29
|
},
|
|
92
|
-
compoundVariants: [
|
|
93
|
-
{
|
|
94
|
-
isSelected: [!0, !1],
|
|
95
|
-
isInvalid: !0,
|
|
96
|
-
class: "bg-error-400 hover:bg-error-500"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
isSelected: !0
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}), d = e({
|
|
103
|
-
base: `
|
|
104
|
-
w-full
|
|
105
|
-
h-full
|
|
106
|
-
flex
|
|
107
|
-
items-center
|
|
108
|
-
justify-center
|
|
109
|
-
cursor-pointer
|
|
110
|
-
transition-all
|
|
111
|
-
duration-100
|
|
112
|
-
ease-in-out
|
|
113
|
-
relative
|
|
114
|
-
`,
|
|
115
30
|
variants: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
hover:bg-color-1-500
|
|
121
|
-
`,
|
|
122
|
-
false: `
|
|
123
|
-
rounded-full
|
|
124
|
-
hover:text-white
|
|
125
|
-
hover:bg-color-1-400
|
|
126
|
-
`
|
|
127
|
-
},
|
|
128
|
-
isInvalid: {
|
|
129
|
-
true: "",
|
|
130
|
-
fasle: ""
|
|
131
|
-
},
|
|
132
|
-
isDisabled: {
|
|
133
|
-
true: "opacity-50",
|
|
134
|
-
false: ""
|
|
135
|
-
},
|
|
136
|
-
isUnavailable: {
|
|
137
|
-
true: "text-gray-200",
|
|
138
|
-
false: ""
|
|
139
|
-
},
|
|
140
|
-
isOutsideRange: {
|
|
141
|
-
true: `
|
|
142
|
-
text-black
|
|
143
|
-
before:content-['/']
|
|
144
|
-
before:text-gray-400
|
|
145
|
-
before:[font-weight:100]
|
|
146
|
-
before:text-4xl
|
|
147
|
-
before:absolute
|
|
148
|
-
before:inset-0
|
|
149
|
-
before:flex
|
|
150
|
-
before:items-center
|
|
151
|
-
before:justify-center
|
|
152
|
-
`,
|
|
153
|
-
false: ""
|
|
154
|
-
},
|
|
155
|
-
isOutsideVisibleRange: {
|
|
156
|
-
true: "text-gray-400",
|
|
157
|
-
false: ""
|
|
158
|
-
},
|
|
159
|
-
isFocusVisible: {
|
|
160
|
-
true: "",
|
|
161
|
-
false: ""
|
|
162
|
-
},
|
|
163
|
-
isSelectionStart: {
|
|
164
|
-
true: "",
|
|
165
|
-
false: ""
|
|
166
|
-
},
|
|
167
|
-
isSelectionEnd: {
|
|
168
|
-
true: "",
|
|
169
|
-
false: ""
|
|
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"
|
|
170
35
|
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
isSelectionStart: [!0, !1],
|
|
175
|
-
isSelectionEnd: [!0, !1],
|
|
176
|
-
isDisabled: !1,
|
|
177
|
-
isOutsideRange: !1,
|
|
178
|
-
isUnavailable: !1,
|
|
179
|
-
isInvalid: !0,
|
|
180
|
-
class: `
|
|
181
|
-
bg-error-400
|
|
182
|
-
hover:bg-error-500
|
|
183
|
-
`
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
isSelectionStart: !0,
|
|
187
|
-
class: `
|
|
188
|
-
rounded-l-full
|
|
189
|
-
bg-color-1-400
|
|
190
|
-
text-white
|
|
191
|
-
hover:bg-color-1-500
|
|
192
|
-
`
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
isSelectionEnd: !0,
|
|
196
|
-
class: `
|
|
197
|
-
rounded-r-full
|
|
198
|
-
bg-color-1-400
|
|
199
|
-
text-white
|
|
200
|
-
hover:bg-color-1-500
|
|
201
|
-
`
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
}), f = {
|
|
205
|
-
container: t,
|
|
206
|
-
header: a,
|
|
207
|
-
calendarHeaderContainer: l,
|
|
208
|
-
title: r,
|
|
209
|
-
navigationButtonsContainer: s,
|
|
210
|
-
navigationButtons: n,
|
|
211
|
-
calendarTable: o,
|
|
212
|
-
calendarDayLabel: i,
|
|
213
|
-
cellContainer: c,
|
|
214
|
-
cell: u,
|
|
215
|
-
cellDate: d
|
|
216
|
-
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
217
38
|
export {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
t as
|
|
222
|
-
i as calendarDayLabel,
|
|
223
|
-
a as calendarHeader,
|
|
224
|
-
l as calendarHeaderContainer,
|
|
225
|
-
n as calendarNavigationButtons,
|
|
226
|
-
s as calendarNavigationButtonsContainer,
|
|
227
|
-
o as calendarTable,
|
|
228
|
-
f as calendarTheme,
|
|
229
|
-
r as calendarTitle
|
|
39
|
+
a as container,
|
|
40
|
+
n as grid,
|
|
41
|
+
e as gridItem,
|
|
42
|
+
t as main
|
|
230
43
|
};
|
package/index148.js
CHANGED
|
@@ -1,10 +1,51 @@
|
|
|
1
|
-
"use strict";const e=require("tailwind-variants"),
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
h-fit
|
|
13
|
+
`,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{type:{button:"",menu:"text-2xl"},buttonStyle:{default:`
|
|
14
|
+
px-4
|
|
15
|
+
py-2
|
|
16
|
+
text-white
|
|
17
|
+
bg-color-1-500
|
|
18
|
+
hover:bg-color-1-400
|
|
19
|
+
active:bg-color-1-400
|
|
20
|
+
`,outline:`
|
|
21
|
+
px-4
|
|
22
|
+
py-2
|
|
23
|
+
bg-transparent
|
|
24
|
+
border-color-1-500
|
|
25
|
+
text-color-1-500
|
|
26
|
+
hover:bg-color-1-500
|
|
27
|
+
hover:text-white
|
|
28
|
+
active:bg-color-1-500
|
|
29
|
+
active:text-white
|
|
30
|
+
`,hollow:`
|
|
31
|
+
px-2
|
|
32
|
+
bg-transparent
|
|
33
|
+
text-color-1-500
|
|
34
|
+
hover:border-b-color-1-500
|
|
35
|
+
active:border-b-color-1-500
|
|
36
|
+
focus:border-b-color-1-500
|
|
37
|
+
|
|
38
|
+
`},intent:{danger:"",error:`
|
|
39
|
+
bg-error
|
|
40
|
+
text-white
|
|
41
|
+
pointer-events-none
|
|
42
|
+
border-error
|
|
43
|
+
`},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}},compoundVariants:[{intent:"danger",buttonStyle:"default",className:`
|
|
44
|
+
bg-danger-500
|
|
45
|
+
text-white
|
|
46
|
+
border-danger-500
|
|
47
|
+
hover:bg-danger-400
|
|
48
|
+
hover:border-danger-400
|
|
49
|
+
focus:bg-danger-400
|
|
50
|
+
focus:border-danger-400
|
|
51
|
+
`}]});module.exports=t;
|