@okam/stack-ui 1.37.0 → 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.
- package/components/Dialog/interface.d.ts +5 -3
- package/components/Modal/interface.d.ts +6 -4
- package/components/SidePanel/interface.d.ts +9 -6
- package/hooks/useLabelledOverlay/index.d.ts +9 -0
- package/hooks/useLabelledOverlay/interface.d.ts +14 -0
- package/index.d.ts +2 -1
- package/index.js +1 -1
- package/index.mjs +72 -70
- package/index100.js +5 -1
- package/index100.mjs +88 -6
- package/index101.js +1 -12
- package/index101.mjs +6 -40
- package/index102.js +12 -1
- package/index102.mjs +36 -25
- package/index103.js +1 -1
- package/index103.mjs +24 -8
- package/index104.js +1 -7
- package/index104.mjs +7 -13
- package/index105.js +6 -14
- package/index105.mjs +13 -65
- package/index106.js +15 -1
- package/index106.mjs +71 -7
- package/index107.js +1 -41
- package/index107.mjs +7 -106
- package/index108.js +32 -38
- package/index108.mjs +78 -74
- package/index109.js +46 -15
- package/index109.mjs +96 -19
- package/index110.js +16 -1
- package/index110.mjs +20 -37
- package/index111.js +1 -1
- package/index111.mjs +42 -48
- package/index112.js +1 -1
- package/index112.mjs +47 -22
- package/index113.js +1 -2
- package/index113.mjs +22 -21
- package/index114.js +1 -1
- package/index114.mjs +2 -2
- package/index115.js +1 -1
- package/index115.mjs +1 -1
- package/index123.js +1 -1
- package/index123.mjs +1 -1
- package/index131.js +1 -1
- package/index131.mjs +23 -8
- package/index139.js +1 -1
- package/index139.mjs +6 -18
- package/index145.js +1 -1
- package/index145.mjs +1 -1
- package/index150.js +1 -1
- package/index150.mjs +54 -18
- package/index151.js +1 -1
- package/index151.mjs +21 -6
- package/index152.js +1 -1
- package/index152.mjs +6 -46
- package/index153.js +1 -2
- package/index153.mjs +11 -12
- package/index154.js +1 -1
- package/index154.mjs +46 -30
- package/index155.js +2 -1
- package/index155.mjs +13 -57
- package/index156.js +1 -1
- package/index156.mjs +29 -11
- package/index178.js +1 -1
- package/index178.mjs +1 -1
- package/index18.js +1 -1
- package/index18.mjs +1 -1
- package/index2.js +1 -1
- package/index2.mjs +21 -21
- package/index250.js +1 -1
- package/index250.mjs +1 -1
- package/index30.js +1 -1
- package/index30.mjs +15 -12
- package/index310.js +1 -1
- package/index310.mjs +1 -1
- package/index35.js +1 -1
- package/index35.mjs +20 -20
- package/index38.js +1 -1
- package/index38.mjs +13 -13
- package/index4.js +1 -1
- package/index4.mjs +1 -1
- package/index43.js +1 -1
- package/index43.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +1 -1
- package/index75.js +1 -1
- package/index75.mjs +34 -29
- package/index8.js +1 -1
- package/index8.mjs +45 -34
- package/index81.js +1 -1
- package/index81.mjs +1 -1
- package/index89.js +2 -1
- package/index89.mjs +20 -5
- package/index9.js +1 -1
- package/index9.mjs +21 -21
- package/index90.js +1 -1
- package/index90.mjs +5 -2
- package/index91.js +1 -6
- package/index91.mjs +2 -94
- package/index92.js +6 -1
- package/index92.mjs +79 -54
- package/index93.js +1 -1
- package/index93.mjs +61 -33
- package/index94.js +1 -42
- package/index94.mjs +34 -67
- package/index95.js +38 -60
- package/index95.mjs +65 -219
- package/index96.js +63 -8
- package/index96.mjs +215 -44
- package/index97.js +9 -1
- package/index97.mjs +48 -36
- package/index98.js +1 -1
- package/index98.mjs +40 -8
- package/index99.js +1 -5
- package/index99.mjs +10 -85
- package/package.json +1 -1
- package/providers/SidePanel/interface.d.ts +13 -4
- package/theme/SidePanel/index.d.ts +1 -1
- package/components/Lightbox/hooks/overlay/index.d.ts +0 -79
package/index102.mjs
CHANGED
|
@@ -1,31 +1,42 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
+
import o from "./index111.mjs";
|
|
2
3
|
const t = e({
|
|
3
|
-
base: "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
base: "focus-ring-black"
|
|
5
|
+
}), l = e({
|
|
6
|
+
base: "rounded-3xl overflow-hidden"
|
|
7
|
+
}), a = e({
|
|
8
|
+
base: `
|
|
9
|
+
absolute
|
|
10
|
+
xl:top-10
|
|
11
|
+
xl:right-20
|
|
12
|
+
lg:top-8
|
|
13
|
+
lg:right-8
|
|
14
|
+
z-[10000]
|
|
15
|
+
top-4
|
|
16
|
+
right-4
|
|
17
|
+
size-10
|
|
18
|
+
focus-ring-black
|
|
19
|
+
`
|
|
20
|
+
}), r = e({
|
|
21
|
+
extend: o,
|
|
22
|
+
base: "sr-only"
|
|
19
23
|
}), s = e({
|
|
20
|
-
base: "
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
base: "w-screen h-screen bg-black/50 absolute top-0 left-0 flex justify-center items-center"
|
|
25
|
+
}), n = e({
|
|
26
|
+
base: ""
|
|
27
|
+
}), i = e({
|
|
28
|
+
base: "flex flex-col gap-4 items-center"
|
|
29
|
+
}), b = {
|
|
30
|
+
wrapper: t,
|
|
31
|
+
container: l,
|
|
32
|
+
label: r,
|
|
33
|
+
closeBtn: a,
|
|
34
|
+
modal: {
|
|
35
|
+
underlay: s,
|
|
36
|
+
overlay: n,
|
|
37
|
+
dialog: i
|
|
25
38
|
}
|
|
26
|
-
}
|
|
39
|
+
};
|
|
27
40
|
export {
|
|
28
|
-
|
|
29
|
-
t as radioLabel,
|
|
30
|
-
s as selectedMark
|
|
41
|
+
b as default
|
|
31
42
|
};
|
package/index103.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=e.tv({base:"text-black flex flex-row items-center hover:cursor-pointer focus-ring-black",variants:{isDisabled:{true:"text-gray-6"}}}),t=e.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"}}}),a=e.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}});exports.radio=t;exports.radioLabel=r;exports.selectedMark=a;
|
package/index103.mjs
CHANGED
|
@@ -1,15 +1,31 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
3
|
-
base: "
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
const t = e({
|
|
3
|
+
base: "text-black flex flex-row items-center hover:cursor-pointer focus-ring-black",
|
|
4
4
|
variants: {
|
|
5
5
|
isDisabled: {
|
|
6
|
-
true: "
|
|
6
|
+
true: "text-gray-6"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}), o = e({
|
|
10
|
+
base: "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",
|
|
11
|
+
variants: {
|
|
12
|
+
isDisabled: {
|
|
13
|
+
true: "border-gray-6"
|
|
14
|
+
},
|
|
15
|
+
isFocused: {
|
|
16
|
+
true: "outline-black [outline-offset: 2px]"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}), s = e({
|
|
20
|
+
base: "hidden w-4 h-4 bg-gray-300 rounded-full",
|
|
21
|
+
variants: {
|
|
22
|
+
selected: {
|
|
23
|
+
true: "block text-white"
|
|
7
24
|
}
|
|
8
25
|
}
|
|
9
|
-
}), t = o({
|
|
10
|
-
base: "flex flex-col gap-4 py-8"
|
|
11
26
|
});
|
|
12
27
|
export {
|
|
13
|
-
|
|
14
|
-
t as
|
|
28
|
+
o as radio,
|
|
29
|
+
t as radioLabel,
|
|
30
|
+
s as selectedMark
|
|
15
31
|
};
|
package/index104.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
box-border
|
|
3
|
-
absolute
|
|
4
|
-
right-4
|
|
5
|
-
focus-ring-black
|
|
6
|
-
outline-0
|
|
7
|
-
`});exports.searchIcon=n;exports.searchInput=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("tailwind-variants"),e=o.tv({base:"block",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),r=o.tv({base:"flex flex-col gap-4 py-8"});exports.radioGroup=e;exports.radioGroupItemsGroup=r;
|
package/index104.mjs
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
3
|
-
base: "
|
|
1
|
+
import { tv as o } from "tailwind-variants";
|
|
2
|
+
const r = o({
|
|
3
|
+
base: "block",
|
|
4
4
|
variants: {
|
|
5
5
|
isDisabled: {
|
|
6
6
|
true: "opacity-60 pointer-events-none"
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
}),
|
|
10
|
-
base:
|
|
11
|
-
box-border
|
|
12
|
-
absolute
|
|
13
|
-
right-4
|
|
14
|
-
focus-ring-black
|
|
15
|
-
outline-0
|
|
16
|
-
`
|
|
9
|
+
}), t = o({
|
|
10
|
+
base: "flex flex-col gap-4 py-8"
|
|
17
11
|
});
|
|
18
12
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
r as radioGroup,
|
|
14
|
+
t as radioGroupItemsGroup
|
|
21
15
|
};
|
package/index105.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
cursor-pointer
|
|
6
|
-
bg-color-1-200
|
|
7
|
-
hover:bg-color-1-300
|
|
8
|
-
w-full
|
|
9
|
-
text-color-1-500
|
|
10
|
-
rounded-none
|
|
11
|
-
p-2
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"p-4 w-full outline-0 search-cancel:appearance-none",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),n=e.tv({base:`
|
|
2
|
+
box-border
|
|
3
|
+
absolute
|
|
4
|
+
right-4
|
|
12
5
|
focus-ring-black
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
`,defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"last:rounded-r-full h-full",column:"last:rounded-b-full"}}}),i=t.tv({base:"text-white"}),s=t.tv({base:""});exports.shareButton=o;exports.shareButtonContainer=e;exports.shareButtonIcon=i;exports.shareButtonLink=n;exports.shareButtonLinkIcons=s;exports.shareButtonLinksList=r;
|
|
6
|
+
outline-0
|
|
7
|
+
`});exports.searchIcon=n;exports.searchInput=t;
|
package/index105.mjs
CHANGED
|
@@ -1,73 +1,21 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const o =
|
|
3
|
-
base: "
|
|
4
|
-
defaultVariants: {
|
|
5
|
-
listDirection: "row"
|
|
6
|
-
},
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
const o = e({
|
|
3
|
+
base: "p-4 w-full outline-0 search-cancel:appearance-none",
|
|
7
4
|
variants: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
column: "flex-col"
|
|
5
|
+
isDisabled: {
|
|
6
|
+
true: "opacity-60 pointer-events-none"
|
|
11
7
|
}
|
|
12
8
|
}
|
|
13
|
-
}),
|
|
14
|
-
base: "relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black",
|
|
15
|
-
variants: {
|
|
16
|
-
isOpen: {
|
|
17
|
-
true: "",
|
|
18
|
-
false: ""
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}), i = t({
|
|
22
|
-
base: "!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full",
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
listDirection: "row"
|
|
25
|
-
},
|
|
26
|
-
variants: {
|
|
27
|
-
listDirection: {
|
|
28
|
-
row: "flex-row pl-14 h-16 left-0",
|
|
29
|
-
column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0"
|
|
30
|
-
},
|
|
31
|
-
isOpen: {
|
|
32
|
-
true: "opacity-100 visible",
|
|
33
|
-
false: ""
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}), n = t({
|
|
9
|
+
}), a = e({
|
|
37
10
|
base: `
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
cursor-pointer
|
|
42
|
-
bg-color-1-200
|
|
43
|
-
hover:bg-color-1-300
|
|
44
|
-
w-full
|
|
45
|
-
text-color-1-500
|
|
46
|
-
rounded-none
|
|
47
|
-
p-2
|
|
11
|
+
box-border
|
|
12
|
+
absolute
|
|
13
|
+
right-4
|
|
48
14
|
focus-ring-black
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
`,
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
listDirection: "row"
|
|
54
|
-
},
|
|
55
|
-
variants: {
|
|
56
|
-
listDirection: {
|
|
57
|
-
row: "last:rounded-r-full h-full",
|
|
58
|
-
column: "last:rounded-b-full"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}), l = t({
|
|
62
|
-
base: "text-white"
|
|
63
|
-
}), s = t({
|
|
64
|
-
base: ""
|
|
15
|
+
outline-0
|
|
16
|
+
`
|
|
65
17
|
});
|
|
66
18
|
export {
|
|
67
|
-
|
|
68
|
-
o as
|
|
69
|
-
l as shareButtonIcon,
|
|
70
|
-
n as shareButtonLink,
|
|
71
|
-
s as shareButtonLinkIcons,
|
|
72
|
-
i as shareButtonLinksList
|
|
19
|
+
a as searchIcon,
|
|
20
|
+
o as searchInput
|
|
73
21
|
};
|
package/index106.js
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("tailwind-variants"),e=t.tv({base:"flex print:hidden relative",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row",column:"flex-col"}}}),o=t.tv({base:"relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black",variants:{isOpen:{true:"",false:""}}}),r=t.tv({base:"!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row pl-14 h-16 left-0",column:"flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0"},isOpen:{true:"opacity-100 visible",false:""}}}),n=t.tv({base:`
|
|
2
|
+
flex
|
|
3
|
+
items-center
|
|
4
|
+
justify-center
|
|
5
|
+
cursor-pointer
|
|
6
|
+
bg-color-1-200
|
|
7
|
+
hover:bg-color-1-300
|
|
8
|
+
w-full
|
|
9
|
+
text-color-1-500
|
|
10
|
+
rounded-none
|
|
11
|
+
p-2
|
|
12
|
+
focus-ring-black
|
|
13
|
+
z-10
|
|
14
|
+
has-focus-ring:z-20
|
|
15
|
+
`,defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"last:rounded-r-full h-full",column:"last:rounded-b-full"}}}),i=t.tv({base:"text-white"}),s=t.tv({base:""});exports.shareButton=o;exports.shareButtonContainer=e;exports.shareButtonIcon=i;exports.shareButtonLink=n;exports.shareButtonLinkIcons=s;exports.shareButtonLinksList=r;
|
package/index106.mjs
CHANGED
|
@@ -1,9 +1,73 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const o =
|
|
3
|
-
base: "
|
|
4
|
-
|
|
1
|
+
import { tv as t } from "tailwind-variants";
|
|
2
|
+
const o = t({
|
|
3
|
+
base: "flex print:hidden relative",
|
|
4
|
+
defaultVariants: {
|
|
5
|
+
listDirection: "row"
|
|
6
|
+
},
|
|
7
|
+
variants: {
|
|
8
|
+
listDirection: {
|
|
9
|
+
row: "flex-row",
|
|
10
|
+
column: "flex-col"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}), r = t({
|
|
14
|
+
base: "relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black",
|
|
15
|
+
variants: {
|
|
16
|
+
isOpen: {
|
|
17
|
+
true: "",
|
|
18
|
+
false: ""
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}), i = t({
|
|
22
|
+
base: "!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full",
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
listDirection: "row"
|
|
25
|
+
},
|
|
26
|
+
variants: {
|
|
27
|
+
listDirection: {
|
|
28
|
+
row: "flex-row pl-14 h-16 left-0",
|
|
29
|
+
column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0"
|
|
30
|
+
},
|
|
31
|
+
isOpen: {
|
|
32
|
+
true: "opacity-100 visible",
|
|
33
|
+
false: ""
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}), n = t({
|
|
37
|
+
base: `
|
|
38
|
+
flex
|
|
39
|
+
items-center
|
|
40
|
+
justify-center
|
|
41
|
+
cursor-pointer
|
|
42
|
+
bg-color-1-200
|
|
43
|
+
hover:bg-color-1-300
|
|
44
|
+
w-full
|
|
45
|
+
text-color-1-500
|
|
46
|
+
rounded-none
|
|
47
|
+
p-2
|
|
48
|
+
focus-ring-black
|
|
49
|
+
z-10
|
|
50
|
+
has-focus-ring:z-20
|
|
51
|
+
`,
|
|
52
|
+
defaultVariants: {
|
|
53
|
+
listDirection: "row"
|
|
54
|
+
},
|
|
55
|
+
variants: {
|
|
56
|
+
listDirection: {
|
|
57
|
+
row: "last:rounded-r-full h-full",
|
|
58
|
+
column: "last:rounded-b-full"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}), l = t({
|
|
62
|
+
base: "text-white"
|
|
63
|
+
}), s = t({
|
|
64
|
+
base: ""
|
|
65
|
+
});
|
|
5
66
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
67
|
+
r as shareButton,
|
|
68
|
+
o as shareButtonContainer,
|
|
69
|
+
l as shareButtonIcon,
|
|
70
|
+
n as shareButtonLink,
|
|
71
|
+
s as shareButtonLinkIcons,
|
|
72
|
+
i as shareButtonLinksList
|
|
9
73
|
};
|
package/index107.js
CHANGED
|
@@ -1,41 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
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:`
|
|
13
|
-
focus-ring-black
|
|
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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),n=e.tv({base:"m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"}),t=e.tv({base:"h-full w-full flex justify-end"}),a=e.tv({base:"bg-gray-300 h-full w-full overflow-y-auto"});exports.sidePanelContainer=t;exports.sidePanelInnerContainer=a;exports.sidePanelWrapper=n;
|
package/index107.mjs
CHANGED
|
@@ -1,108 +1,9 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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,
|
|
58
|
-
base: `
|
|
59
|
-
focus-ring-black
|
|
60
|
-
transition-all
|
|
61
|
-
duration-200
|
|
62
|
-
px-4
|
|
63
|
-
py-2
|
|
64
|
-
`,
|
|
65
|
-
variants: {
|
|
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"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
defaultVariants: {
|
|
93
|
-
size: "h6"
|
|
94
|
-
}
|
|
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
|
-
};
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
const o = e({
|
|
3
|
+
base: "m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"
|
|
4
|
+
}), t = e({ base: "h-full w-full flex justify-end" }), a = e({ base: "bg-gray-300 h-full w-full overflow-y-auto" });
|
|
106
5
|
export {
|
|
107
|
-
|
|
6
|
+
t as sidePanelContainer,
|
|
7
|
+
a as sidePanelInnerContainer,
|
|
8
|
+
o as sidePanelWrapper
|
|
108
9
|
};
|
package/index108.js
CHANGED
|
@@ -1,47 +1,41 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("tailwind-variants"),e=require("./index111.js"),r=t.tv({base:`
|
|
2
2
|
flex
|
|
3
3
|
flex-col
|
|
4
4
|
gap-4
|
|
5
|
-
`}),
|
|
6
|
-
|
|
5
|
+
`}),a=t.tv({base:`
|
|
6
|
+
flex
|
|
7
|
+
gap-4
|
|
8
|
+
`,variants:{orientation:{horizontal:"flex-col",vertical:"flex-row"}}}),o=t.tv({base:`
|
|
7
9
|
flex
|
|
8
10
|
flex-wrap
|
|
9
|
-
gap-
|
|
10
|
-
|
|
11
|
-
focus-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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:`
|
|
13
|
+
focus-ring-black
|
|
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
|
|
16
26
|
transition-all
|
|
17
27
|
duration-200
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
+
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
|
|
28
33
|
active:border-color-1-900
|
|
29
34
|
`,false:`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
`}},defaultVariants:{
|
|
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;
|
|
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;
|