@okam/stack-ui 2.0.3 → 2.1.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.
- package/CHANGELOG.md +14 -0
- 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/index122.js +1 -1
- package/index122.mjs +22 -22
- 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 -7
- package/index151.mjs +42 -47
- 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/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/index2.js +1 -1
- package/index2.mjs +4 -4
- package/index38.js +1 -1
- package/index38.mjs +19 -19
- 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/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/index165.js
CHANGED
|
@@ -1,47 +1,9 @@
|
|
|
1
|
-
"use strict";const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`}),a=e.tv({extend:t,defaultVariants:{size:"h4"}}),s=e.tv({extend:t,defaultVariants:{size:"paragraph"}}),i=e.tv({extend:t,defaultVariants:{size:"paragraph",isError:!0}}),n=e.tv({base:`
|
|
11
|
-
focus-visible:outline
|
|
12
|
-
focus-visible:outline-offset-2
|
|
13
|
-
focus-visible:outline-2
|
|
14
|
-
focus-visible:outline-black
|
|
15
|
-
cursor-pointer
|
|
16
|
-
transition-all
|
|
17
|
-
duration-200
|
|
18
|
-
`,variants:{isSelected:{true:"bg-color-1-800 text-white"},isDisabled:{true:"opacity-50 pointer-events-none"},isLink:{true:`
|
|
19
|
-
border-b
|
|
20
|
-
border-color-1-300
|
|
21
|
-
px-2
|
|
22
|
-
py-0.5
|
|
23
|
-
mx-2
|
|
24
|
-
text-color-1-500
|
|
25
|
-
hover:text-color-1-700
|
|
26
|
-
hover:border-color-1-700
|
|
27
|
-
active:text-color-1-900
|
|
28
|
-
active:border-color-1-900
|
|
29
|
-
`,false:`
|
|
30
|
-
p-2
|
|
31
|
-
bg-color-1-200
|
|
32
|
-
rounded-full
|
|
33
|
-
hover:bg-color-1-300
|
|
34
|
-
active:bg-color-1-400
|
|
35
|
-
active:text-white
|
|
36
|
-
`}},defaultVariants:{isLink:!1}}),l=e.tv({base:`
|
|
37
|
-
flex
|
|
38
|
-
items-center
|
|
39
|
-
gap-2
|
|
40
|
-
`}),c=e.tv({base:`
|
|
41
|
-
aspect-square
|
|
42
|
-
rounded-full
|
|
43
|
-
bg-black/30
|
|
44
|
-
p-1
|
|
45
|
-
h-auto
|
|
46
|
-
w-8
|
|
47
|
-
`}),u={wrapper:r,tags:o,label:a,description:s,errorMessage:i,tag:{wrapper:n,container:l,removeButton:c}};module.exports=u;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("tailwind-variants"),e=require("./index148.js"),a=t.tv({extend:e,base:`
|
|
2
|
+
left-1/2
|
|
3
|
+
absolute
|
|
4
|
+
-translate-x-1/2
|
|
5
|
+
-translate-y-[300px]
|
|
6
|
+
transition-transform
|
|
7
|
+
focus:-translate-x-1/2
|
|
8
|
+
focus:translate-y-[75px]
|
|
9
|
+
`});exports.skipToMain=a;
|
package/index165.mjs
CHANGED
|
@@ -1,104 +1,17 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { tv as t } from "tailwind-variants";
|
|
2
|
+
import a from "./index148.mjs";
|
|
3
|
+
const s = t({
|
|
4
|
+
extend: a,
|
|
4
5
|
base: `
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
left-1/2
|
|
7
|
+
absolute
|
|
8
|
+
-translate-x-1/2
|
|
9
|
+
-translate-y-[300px]
|
|
10
|
+
transition-transform
|
|
11
|
+
focus:-translate-x-1/2
|
|
12
|
+
focus:translate-y-[75px]
|
|
8
13
|
`
|
|
9
|
-
})
|
|
10
|
-
base: `
|
|
11
|
-
w-full
|
|
12
|
-
flex
|
|
13
|
-
flex-wrap
|
|
14
|
-
gap-2
|
|
15
|
-
`
|
|
16
|
-
}), a = e({
|
|
17
|
-
extend: t,
|
|
18
|
-
defaultVariants: {
|
|
19
|
-
size: "h4"
|
|
20
|
-
}
|
|
21
|
-
}), s = e({
|
|
22
|
-
extend: t,
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
size: "paragraph"
|
|
25
|
-
}
|
|
26
|
-
}), i = e({
|
|
27
|
-
extend: t,
|
|
28
|
-
defaultVariants: {
|
|
29
|
-
size: "paragraph",
|
|
30
|
-
isError: !0
|
|
31
|
-
}
|
|
32
|
-
}), l = e({
|
|
33
|
-
base: `
|
|
34
|
-
focus-visible:outline
|
|
35
|
-
focus-visible:outline-offset-2
|
|
36
|
-
focus-visible:outline-2
|
|
37
|
-
focus-visible:outline-black
|
|
38
|
-
cursor-pointer
|
|
39
|
-
transition-all
|
|
40
|
-
duration-200
|
|
41
|
-
`,
|
|
42
|
-
variants: {
|
|
43
|
-
isSelected: {
|
|
44
|
-
true: "bg-color-1-800 text-white"
|
|
45
|
-
},
|
|
46
|
-
isDisabled: {
|
|
47
|
-
true: "opacity-50 pointer-events-none"
|
|
48
|
-
},
|
|
49
|
-
isLink: {
|
|
50
|
-
true: `
|
|
51
|
-
border-b
|
|
52
|
-
border-color-1-300
|
|
53
|
-
px-2
|
|
54
|
-
py-0.5
|
|
55
|
-
mx-2
|
|
56
|
-
text-color-1-500
|
|
57
|
-
hover:text-color-1-700
|
|
58
|
-
hover:border-color-1-700
|
|
59
|
-
active:text-color-1-900
|
|
60
|
-
active:border-color-1-900
|
|
61
|
-
`,
|
|
62
|
-
false: `
|
|
63
|
-
p-2
|
|
64
|
-
bg-color-1-200
|
|
65
|
-
rounded-full
|
|
66
|
-
hover:bg-color-1-300
|
|
67
|
-
active:bg-color-1-400
|
|
68
|
-
active:text-white
|
|
69
|
-
`
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
defaultVariants: {
|
|
73
|
-
isLink: !1
|
|
74
|
-
}
|
|
75
|
-
}), n = e({
|
|
76
|
-
base: `
|
|
77
|
-
flex
|
|
78
|
-
items-center
|
|
79
|
-
gap-2
|
|
80
|
-
`
|
|
81
|
-
}), p = e({
|
|
82
|
-
base: `
|
|
83
|
-
aspect-square
|
|
84
|
-
rounded-full
|
|
85
|
-
bg-black/30
|
|
86
|
-
p-1
|
|
87
|
-
h-auto
|
|
88
|
-
w-8
|
|
89
|
-
`
|
|
90
|
-
}), g = {
|
|
91
|
-
wrapper: o,
|
|
92
|
-
tags: r,
|
|
93
|
-
label: a,
|
|
94
|
-
description: s,
|
|
95
|
-
errorMessage: i,
|
|
96
|
-
tag: {
|
|
97
|
-
wrapper: l,
|
|
98
|
-
container: n,
|
|
99
|
-
removeButton: p
|
|
100
|
-
}
|
|
101
|
-
};
|
|
14
|
+
});
|
|
102
15
|
export {
|
|
103
|
-
|
|
16
|
+
s as skipToMain
|
|
104
17
|
};
|
package/index166.js
CHANGED
|
@@ -1,16 +1,41 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
placeholder:text-gray-2
|
|
1
|
+
"use strict";const t=require("tailwind-variants"),e=require("./index170.js"),r=t.tv({base:`
|
|
2
|
+
flex
|
|
3
|
+
flex-col
|
|
4
|
+
gap-4
|
|
5
|
+
`}),a=t.tv({base:`
|
|
6
|
+
flex
|
|
7
|
+
gap-4
|
|
8
|
+
`,variants:{orientation:{horizontal:"flex-col",vertical:"flex-row"}}}),o=t.tv({base:`
|
|
9
|
+
flex
|
|
10
|
+
flex-wrap
|
|
11
|
+
gap-4
|
|
12
|
+
`,variants:{orientation:{horizontal:"flex-row items-center",vertical:"flex-col items-end"}},defaultVariants:{orientation:"horizontal"}}),i=t.tv({extend:e,defaultVariants:{size:"h3"}}),n=t.tv({base:`
|
|
14
13
|
focus-ring-black
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
transition-all
|
|
15
|
+
duration-200
|
|
16
|
+
`}),s=t.tv({base:`
|
|
17
|
+
mt-4
|
|
18
|
+
p-4
|
|
19
|
+
bg-color-1-100
|
|
20
|
+
rounded-md
|
|
21
|
+
focus-ring-black
|
|
22
|
+
transition-all
|
|
23
|
+
duration-200
|
|
24
|
+
`}),l=t.tv({extend:e,base:`
|
|
25
|
+
focus-ring-black
|
|
26
|
+
transition-all
|
|
27
|
+
duration-200
|
|
28
|
+
px-4
|
|
29
|
+
py-2
|
|
30
|
+
`,variants:{orientation:{horizontal:"border-b border-b-4",vertical:"border-r border-r-4"},isSelected:{true:`
|
|
31
|
+
border-color-1-500
|
|
32
|
+
hover:border-color-1-900
|
|
33
|
+
active:border-color-1-900
|
|
34
|
+
`,false:`
|
|
35
|
+
border-color-1-200
|
|
36
|
+
hover:border-color-1-400
|
|
37
|
+
active:border-color-1-400
|
|
38
|
+
`},isDisabled:{true:`
|
|
39
|
+
opacity-30
|
|
40
|
+
pointer-events-none
|
|
41
|
+
`},isFocusVisible:{true:"has-focus-ring"}},defaultVariants:{size:"h6"}}),c={wrapper:r,container:a,list:o,label:i,panel:{transition:n,container:s},tab:l};module.exports=c;
|
package/index166.mjs
CHANGED
|
@@ -1,27 +1,108 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
|
|
1
|
+
import { tv as t } from "tailwind-variants";
|
|
2
|
+
import r from "./index170.mjs";
|
|
3
|
+
const a = t({
|
|
4
|
+
base: `
|
|
5
|
+
flex
|
|
6
|
+
flex-col
|
|
7
|
+
gap-4
|
|
8
|
+
`
|
|
9
|
+
}), o = t({
|
|
10
|
+
base: `
|
|
11
|
+
flex
|
|
12
|
+
gap-4
|
|
13
|
+
`,
|
|
14
|
+
variants: {
|
|
15
|
+
orientation: {
|
|
16
|
+
horizontal: "flex-col",
|
|
17
|
+
vertical: "flex-row"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}), e = t({
|
|
21
|
+
base: `
|
|
22
|
+
flex
|
|
23
|
+
flex-wrap
|
|
24
|
+
gap-4
|
|
25
|
+
`,
|
|
26
|
+
variants: {
|
|
27
|
+
orientation: {
|
|
28
|
+
horizontal: "flex-row items-center",
|
|
29
|
+
vertical: "flex-col items-end"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
defaultVariants: {
|
|
33
|
+
orientation: "horizontal"
|
|
34
|
+
}
|
|
35
|
+
}), i = t({
|
|
36
|
+
extend: r,
|
|
37
|
+
defaultVariants: {
|
|
38
|
+
size: "h3"
|
|
39
|
+
}
|
|
40
|
+
}), n = t({
|
|
41
|
+
base: `
|
|
42
|
+
focus-ring-black
|
|
43
|
+
transition-all
|
|
44
|
+
duration-200
|
|
45
|
+
`
|
|
46
|
+
}), s = t({
|
|
47
|
+
base: `
|
|
48
|
+
mt-4
|
|
49
|
+
p-4
|
|
50
|
+
bg-color-1-100
|
|
51
|
+
rounded-md
|
|
52
|
+
focus-ring-black
|
|
53
|
+
transition-all
|
|
54
|
+
duration-200
|
|
55
|
+
`
|
|
56
|
+
}), l = t({
|
|
57
|
+
extend: r,
|
|
3
58
|
base: `
|
|
4
|
-
w-full
|
|
5
|
-
min-h-32
|
|
6
|
-
rounded-2xl
|
|
7
|
-
px-6
|
|
8
|
-
h-12
|
|
9
|
-
border-2
|
|
10
|
-
border-solid
|
|
11
|
-
transition
|
|
12
|
-
duration-300
|
|
13
|
-
ease-in-out
|
|
14
|
-
text-gray-2
|
|
15
|
-
placeholder:text-gray-2
|
|
16
59
|
focus-ring-black
|
|
17
|
-
|
|
60
|
+
transition-all
|
|
61
|
+
duration-200
|
|
62
|
+
px-4
|
|
63
|
+
py-2
|
|
18
64
|
`,
|
|
19
65
|
variants: {
|
|
20
|
-
|
|
21
|
-
|
|
66
|
+
orientation: {
|
|
67
|
+
horizontal: "border-b border-b-4",
|
|
68
|
+
vertical: "border-r border-r-4"
|
|
69
|
+
},
|
|
70
|
+
isSelected: {
|
|
71
|
+
true: `
|
|
72
|
+
border-color-1-500
|
|
73
|
+
hover:border-color-1-900
|
|
74
|
+
active:border-color-1-900
|
|
75
|
+
`,
|
|
76
|
+
false: `
|
|
77
|
+
border-color-1-200
|
|
78
|
+
hover:border-color-1-400
|
|
79
|
+
active:border-color-1-400
|
|
80
|
+
`
|
|
81
|
+
},
|
|
82
|
+
isDisabled: {
|
|
83
|
+
true: `
|
|
84
|
+
opacity-30
|
|
85
|
+
pointer-events-none
|
|
86
|
+
`
|
|
87
|
+
},
|
|
88
|
+
isFocusVisible: {
|
|
89
|
+
true: "has-focus-ring"
|
|
22
90
|
}
|
|
91
|
+
},
|
|
92
|
+
defaultVariants: {
|
|
93
|
+
size: "h6"
|
|
23
94
|
}
|
|
24
|
-
})
|
|
95
|
+
}), d = {
|
|
96
|
+
wrapper: a,
|
|
97
|
+
container: o,
|
|
98
|
+
list: e,
|
|
99
|
+
label: i,
|
|
100
|
+
panel: {
|
|
101
|
+
transition: n,
|
|
102
|
+
container: s
|
|
103
|
+
},
|
|
104
|
+
tab: l
|
|
105
|
+
};
|
|
25
106
|
export {
|
|
26
|
-
|
|
107
|
+
d as default
|
|
27
108
|
};
|
package/index167.js
CHANGED
|
@@ -1,20 +1,47 @@
|
|
|
1
|
-
"use strict";const e=require("tailwind-variants"),
|
|
2
|
-
relative
|
|
3
|
-
group
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),t=require("./index170.js"),r=e.tv({base:`
|
|
4
2
|
flex
|
|
5
|
-
|
|
3
|
+
flex-col
|
|
6
4
|
gap-4
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
focus-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
`}),o=e.tv({base:`
|
|
6
|
+
w-full
|
|
7
|
+
flex
|
|
8
|
+
flex-wrap
|
|
9
|
+
gap-2
|
|
10
|
+
`}),a=e.tv({extend:t,defaultVariants:{size:"h4"}}),s=e.tv({extend:t,defaultVariants:{size:"paragraph"}}),i=e.tv({extend:t,defaultVariants:{size:"paragraph",isError:!0}}),n=e.tv({base:`
|
|
11
|
+
focus-visible:outline
|
|
12
|
+
focus-visible:outline-offset-2
|
|
13
|
+
focus-visible:outline-2
|
|
14
|
+
focus-visible:outline-black
|
|
15
|
+
cursor-pointer
|
|
16
|
+
transition-all
|
|
17
|
+
duration-200
|
|
18
|
+
`,variants:{isSelected:{true:"bg-color-1-800 text-white"},isDisabled:{true:"opacity-50 pointer-events-none"},isLink:{true:`
|
|
19
|
+
border-b
|
|
20
|
+
border-color-1-300
|
|
21
|
+
px-2
|
|
22
|
+
py-0.5
|
|
23
|
+
mx-2
|
|
24
|
+
text-color-1-500
|
|
25
|
+
hover:text-color-1-700
|
|
26
|
+
hover:border-color-1-700
|
|
27
|
+
active:text-color-1-900
|
|
28
|
+
active:border-color-1-900
|
|
29
|
+
`,false:`
|
|
30
|
+
p-2
|
|
31
|
+
bg-color-1-200
|
|
32
|
+
rounded-full
|
|
33
|
+
hover:bg-color-1-300
|
|
34
|
+
active:bg-color-1-400
|
|
35
|
+
active:text-white
|
|
36
|
+
`}},defaultVariants:{isLink:!1}}),l=e.tv({base:`
|
|
37
|
+
flex
|
|
38
|
+
items-center
|
|
39
|
+
gap-2
|
|
40
|
+
`}),c=e.tv({base:`
|
|
41
|
+
aspect-square
|
|
42
|
+
rounded-full
|
|
43
|
+
bg-black/30
|
|
44
|
+
p-1
|
|
45
|
+
h-auto
|
|
46
|
+
w-8
|
|
47
|
+
`}),u={wrapper:r,tags:o,label:a,description:s,errorMessage:i,tag:{wrapper:n,container:l,removeButton:c}};module.exports=u;
|
package/index167.mjs
CHANGED
|
@@ -1,78 +1,104 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
2
|
+
import t from "./index170.mjs";
|
|
3
|
+
const o = e({
|
|
4
4
|
base: `
|
|
5
|
-
relative
|
|
6
|
-
group
|
|
7
5
|
flex
|
|
8
|
-
|
|
6
|
+
flex-col
|
|
9
7
|
gap-4
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
py-1
|
|
13
|
-
mb-3
|
|
14
|
-
m-0.5
|
|
15
|
-
border-2
|
|
16
|
-
aria-disabled:pointer-events-none
|
|
17
|
-
aria-disabled:opacity-30
|
|
18
|
-
focus-ring-black
|
|
19
|
-
`,
|
|
20
|
-
variants: {
|
|
21
|
-
isError: {
|
|
22
|
-
true: "border-error"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}), a = e({
|
|
26
|
-
base: "flex flex-col order-2"
|
|
27
|
-
}), n = e({
|
|
28
|
-
base: "flex items-center gap-2"
|
|
29
|
-
}), o = e({
|
|
8
|
+
`
|
|
9
|
+
}), r = e({
|
|
30
10
|
base: `
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
w-full
|
|
12
|
+
flex
|
|
13
|
+
flex-wrap
|
|
14
|
+
gap-2
|
|
34
15
|
`
|
|
16
|
+
}), a = e({
|
|
17
|
+
extend: t,
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
size: "h4"
|
|
20
|
+
}
|
|
35
21
|
}), s = e({
|
|
36
|
-
|
|
22
|
+
extend: t,
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
size: "paragraph"
|
|
25
|
+
}
|
|
37
26
|
}), i = e({
|
|
38
|
-
extend:
|
|
39
|
-
base: "ml-0",
|
|
40
|
-
variants: {
|
|
41
|
-
isError: {
|
|
42
|
-
false: "hidden"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
27
|
+
extend: t,
|
|
45
28
|
defaultVariants: {
|
|
46
|
-
|
|
47
|
-
|
|
29
|
+
size: "paragraph",
|
|
30
|
+
isError: !0
|
|
48
31
|
}
|
|
49
|
-
}),
|
|
50
|
-
base:
|
|
32
|
+
}), l = e({
|
|
33
|
+
base: `
|
|
34
|
+
focus-visible:outline
|
|
35
|
+
focus-visible:outline-offset-2
|
|
36
|
+
focus-visible:outline-2
|
|
37
|
+
focus-visible:outline-black
|
|
38
|
+
cursor-pointer
|
|
39
|
+
transition-all
|
|
40
|
+
duration-200
|
|
41
|
+
`,
|
|
51
42
|
variants: {
|
|
43
|
+
isSelected: {
|
|
44
|
+
true: "bg-color-1-800 text-white"
|
|
45
|
+
},
|
|
52
46
|
isDisabled: {
|
|
53
|
-
true: "
|
|
47
|
+
true: "opacity-50 pointer-events-none"
|
|
54
48
|
},
|
|
55
|
-
|
|
56
|
-
true:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
49
|
+
isLink: {
|
|
50
|
+
true: `
|
|
51
|
+
border-b
|
|
52
|
+
border-color-1-300
|
|
53
|
+
px-2
|
|
54
|
+
py-0.5
|
|
55
|
+
mx-2
|
|
56
|
+
text-color-1-500
|
|
57
|
+
hover:text-color-1-700
|
|
58
|
+
hover:border-color-1-700
|
|
59
|
+
active:text-color-1-900
|
|
60
|
+
active:border-color-1-900
|
|
61
|
+
`,
|
|
62
|
+
false: `
|
|
63
|
+
p-2
|
|
64
|
+
bg-color-1-200
|
|
65
|
+
rounded-full
|
|
66
|
+
hover:bg-color-1-300
|
|
67
|
+
active:bg-color-1-400
|
|
68
|
+
active:text-white
|
|
69
|
+
`
|
|
64
70
|
}
|
|
71
|
+
},
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
isLink: !1
|
|
65
74
|
}
|
|
66
|
-
}),
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
}), n = e({
|
|
76
|
+
base: `
|
|
77
|
+
flex
|
|
78
|
+
items-center
|
|
79
|
+
gap-2
|
|
80
|
+
`
|
|
81
|
+
}), p = e({
|
|
82
|
+
base: `
|
|
83
|
+
aspect-square
|
|
84
|
+
rounded-full
|
|
85
|
+
bg-black/30
|
|
86
|
+
p-1
|
|
87
|
+
h-auto
|
|
88
|
+
w-8
|
|
89
|
+
`
|
|
90
|
+
}), g = {
|
|
91
|
+
wrapper: o,
|
|
92
|
+
tags: r,
|
|
93
|
+
label: a,
|
|
94
|
+
description: s,
|
|
72
95
|
errorMessage: i,
|
|
73
|
-
|
|
74
|
-
|
|
96
|
+
tag: {
|
|
97
|
+
wrapper: l,
|
|
98
|
+
container: n,
|
|
99
|
+
removeButton: p
|
|
100
|
+
}
|
|
75
101
|
};
|
|
76
102
|
export {
|
|
77
|
-
|
|
103
|
+
g as default
|
|
78
104
|
};
|
package/index168.js
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("tailwind-variants"),e=r.tv({base:`
|
|
2
|
+
w-full
|
|
3
|
+
min-h-32
|
|
4
|
+
rounded-2xl
|
|
5
|
+
px-6
|
|
6
|
+
h-12
|
|
7
|
+
border-2
|
|
8
|
+
border-solid
|
|
9
|
+
transition
|
|
10
|
+
duration-300
|
|
11
|
+
ease-in-out
|
|
12
|
+
text-gray-2
|
|
13
|
+
placeholder:text-gray-2
|
|
14
|
+
focus-ring-black
|
|
15
|
+
|
|
16
|
+
`,variants:{isError:{true:"border-red-500"}}});exports.textArea=e;
|
package/index168.mjs
CHANGED
|
@@ -1,44 +1,27 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
1
|
+
import { tv as r } from "tailwind-variants";
|
|
2
|
+
const t = r({
|
|
3
|
+
base: `
|
|
4
|
+
w-full
|
|
5
|
+
min-h-32
|
|
6
|
+
rounded-2xl
|
|
7
|
+
px-6
|
|
8
|
+
h-12
|
|
9
|
+
border-2
|
|
10
|
+
border-solid
|
|
11
|
+
transition
|
|
12
|
+
duration-300
|
|
13
|
+
ease-in-out
|
|
14
|
+
text-gray-2
|
|
15
|
+
placeholder:text-gray-2
|
|
16
|
+
focus-ring-black
|
|
17
|
+
|
|
18
|
+
`,
|
|
3
19
|
variants: {
|
|
4
|
-
size: {
|
|
5
|
-
h1: "text-5xl",
|
|
6
|
-
h2: "text-4xl",
|
|
7
|
-
h3: "text-3xl",
|
|
8
|
-
h4: "text-2xl",
|
|
9
|
-
h5: "text-xl",
|
|
10
|
-
h6: "text-lg",
|
|
11
|
-
leading: "text-md font-bold leading-normal",
|
|
12
|
-
paragraph: "text-md inline",
|
|
13
|
-
footnotes: "text-sm",
|
|
14
|
-
xs: "text-xs"
|
|
15
|
-
},
|
|
16
|
-
font: {
|
|
17
|
-
body: "font-body"
|
|
18
|
-
},
|
|
19
|
-
weight: {
|
|
20
|
-
normal: "font-normal",
|
|
21
|
-
light: "font-light",
|
|
22
|
-
bold: "font-bold"
|
|
23
|
-
},
|
|
24
|
-
color: {
|
|
25
|
-
gray: "text-gray-500",
|
|
26
|
-
white: "text-white"
|
|
27
|
-
},
|
|
28
20
|
isError: {
|
|
29
|
-
true: "
|
|
30
|
-
},
|
|
31
|
-
align: {
|
|
32
|
-
center: "text-center",
|
|
33
|
-
left: "text-left",
|
|
34
|
-
right: "text-right"
|
|
21
|
+
true: "border-red-500"
|
|
35
22
|
}
|
|
36
|
-
},
|
|
37
|
-
defaultVariants: {
|
|
38
|
-
size: "paragraph",
|
|
39
|
-
font: "body"
|
|
40
23
|
}
|
|
41
24
|
});
|
|
42
25
|
export {
|
|
43
|
-
|
|
26
|
+
t as textArea
|
|
44
27
|
};
|
package/index169.js
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),r=require("./index170.js"),t=e.tv({base:`
|
|
2
|
+
relative
|
|
3
|
+
group
|
|
4
|
+
flex
|
|
5
|
+
items-center
|
|
6
|
+
gap-4
|
|
7
|
+
rounded-md
|
|
8
|
+
px-4
|
|
9
|
+
py-1
|
|
10
|
+
mb-3
|
|
11
|
+
m-0.5
|
|
12
|
+
border-2
|
|
13
|
+
aria-disabled:pointer-events-none
|
|
14
|
+
aria-disabled:opacity-30
|
|
15
|
+
focus-ring-black
|
|
16
|
+
`,variants:{isError:{true:"border-error"}}}),n=e.tv({base:"flex flex-col order-2"}),s=e.tv({base:"flex items-center gap-2"}),a=e.tv({base:`
|
|
17
|
+
group-has-[:required]:after:content-["_*"]
|
|
18
|
+
group-has-[:required]:after:text-red-500
|
|
19
|
+
text-xs
|
|
20
|
+
`}),o=e.tv({base:""}),i=e.tv({extend:r,base:"ml-0",variants:{isError:{false:"hidden"}},defaultVariants:{isError:!1,size:"footnotes"}}),p=e.tv({base:[r(),"order-1"],variants:{isDisabled:{true:"text-gray-300"},isError:{true:"hidden"}}}),u=e.tv({base:[r({isError:!0}),"order-3"],variants:{isError:{false:"hidden"}}}),d={wrapper:t,container:s,inputWrapper:n,label:a,input:o,errorMessage:i,icon:p,errorIcon:u};module.exports=d;
|