@kopexa/theme 1.7.7 → 2.0.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/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
- package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
- package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
- package/dist/chunk-BETLBSSF.mjs +23 -0
- package/dist/chunk-BWB7MWRC.mjs +22 -0
- package/dist/chunk-CPERWXKN.mjs +21 -0
- package/dist/chunk-DI54XTS5.mjs +56 -0
- package/dist/chunk-GRPMKEI2.mjs +34 -0
- package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
- package/dist/chunk-HWEYNK3O.mjs +25 -0
- package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
- package/dist/chunk-IHW4FWFB.mjs +71 -0
- package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
- package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
- package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
- package/dist/chunk-LMCM4CW2.mjs +22 -0
- package/dist/chunk-M3GQ563Q.mjs +33 -0
- package/dist/chunk-NFOF75HQ.mjs +106 -0
- package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
- package/dist/chunk-SPQE7K66.mjs +18 -0
- package/dist/chunk-TVC4THD6.mjs +16 -0
- package/dist/chunk-URGRCBNW.mjs +27 -0
- package/dist/chunk-VSVGOX3P.mjs +48 -0
- package/dist/chunk-XGUDXC5P.mjs +26 -0
- package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
- package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
- package/dist/chunk-Z7D56R5U.mjs +70 -0
- package/dist/components/alert-dialog.d.mts +9 -9
- package/dist/components/alert-dialog.d.ts +9 -9
- package/dist/components/alert-dialog.js +11 -2
- package/dist/components/alert-dialog.mjs +1 -1
- package/dist/components/autocomplete.d.mts +73 -0
- package/dist/components/autocomplete.d.ts +73 -0
- package/dist/components/autocomplete.js +173 -0
- package/dist/components/autocomplete.mjs +8 -0
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.d.mts +15 -0
- package/dist/components/button.d.ts +15 -0
- package/dist/components/button.js +12 -6
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.d.mts +3 -0
- package/dist/components/chip.d.ts +3 -0
- package/dist/components/chip.js +4 -2
- package/dist/components/chip.mjs +1 -1
- package/dist/components/color-highlight-button.d.mts +36 -0
- package/dist/components/color-highlight-button.d.ts +36 -0
- package/dist/components/color-highlight-button.js +45 -0
- package/dist/components/color-highlight-button.mjs +6 -0
- package/dist/components/command.d.mts +9 -9
- package/dist/components/command.d.ts +9 -9
- package/dist/components/dialog.js +7 -9
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer.d.mts +3 -3
- package/dist/components/drawer.d.ts +3 -3
- package/dist/components/drawer.js +21 -17
- package/dist/components/drawer.mjs +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu.mjs +1 -1
- package/dist/components/editor-basic.d.mts +44 -0
- package/dist/components/editor-basic.d.ts +44 -0
- package/dist/components/editor-basic.js +58 -0
- package/dist/components/editor-basic.mjs +6 -0
- package/dist/components/editor-spinner.d.mts +60 -0
- package/dist/components/editor-spinner.d.ts +60 -0
- package/dist/components/editor-spinner.js +40 -0
- package/dist/components/editor-spinner.mjs +6 -0
- package/dist/components/hover-card.mjs +2 -2
- package/dist/components/index.d.mts +13 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.js +678 -198
- package/dist/components/index.mjs +93 -41
- package/dist/components/input-group.d.mts +5 -0
- package/dist/components/input-group.d.ts +5 -0
- package/dist/components/input-group.js +49 -0
- package/dist/components/input-group.mjs +6 -0
- package/dist/components/input-wrapper.d.mts +25 -0
- package/dist/components/input-wrapper.d.ts +25 -0
- package/dist/components/input-wrapper.js +72 -0
- package/dist/components/input-wrapper.mjs +6 -0
- package/dist/components/input.d.mts +30 -129
- package/dist/components/input.d.ts +30 -129
- package/dist/components/input.js +58 -71
- package/dist/components/input.mjs +2 -2
- package/dist/components/kbd.d.mts +35 -0
- package/dist/components/kbd.d.ts +35 -0
- package/dist/components/kbd.js +47 -0
- package/dist/components/kbd.mjs +6 -0
- package/dist/components/label.d.mts +22 -0
- package/dist/components/label.d.ts +22 -0
- package/dist/components/label.js +46 -0
- package/dist/components/label.mjs +6 -0
- package/dist/components/popover.d.mts +79 -14
- package/dist/components/popover.d.ts +79 -14
- package/dist/components/popover.js +41 -4
- package/dist/components/popover.mjs +2 -2
- package/dist/components/scroll-area.d.mts +50 -0
- package/dist/components/scroll-area.d.ts +50 -0
- package/dist/components/scroll-area.js +42 -0
- package/dist/components/scroll-area.mjs +6 -0
- package/dist/components/select.d.mts +76 -0
- package/dist/components/select.d.ts +76 -0
- package/dist/components/select.js +145 -0
- package/dist/components/select.mjs +7 -0
- package/dist/components/separator.d.mts +2 -2
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/separator.js +7 -1
- package/dist/components/separator.mjs +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/slash-dropdown-menu.d.mts +54 -0
- package/dist/components/slash-dropdown-menu.d.ts +54 -0
- package/dist/components/slash-dropdown-menu.js +55 -0
- package/dist/components/slash-dropdown-menu.mjs +7 -0
- package/dist/components/standard-chip.d.mts +4 -0
- package/dist/components/standard-chip.d.ts +4 -0
- package/dist/components/standard-chip.js +4 -2
- package/dist/components/standard-chip.mjs +2 -2
- package/dist/components/textarea.d.mts +25 -0
- package/dist/components/textarea.d.ts +25 -0
- package/dist/components/textarea.js +72 -0
- package/dist/components/textarea.mjs +7 -0
- package/dist/components/toolbar.d.mts +34 -0
- package/dist/components/toolbar.d.ts +34 -0
- package/dist/components/toolbar.js +46 -0
- package/dist/components/toolbar.mjs +6 -0
- package/dist/editor.css +784 -0
- package/dist/index.css +28 -1
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +678 -198
- package/dist/index.mjs +93 -41
- package/dist/utils/classes.d.mts +13 -1
- package/dist/utils/classes.d.ts +13 -1
- package/dist/utils/classes.js +14 -0
- package/dist/utils/classes.mjs +3 -1
- package/package.json +24 -18
- package/dist/chunk-CPEP2RO4.mjs +0 -17
- package/dist/chunk-IKJHZT2S.mjs +0 -19
- package/dist/chunk-UMSU2ZEG.mjs +0 -96
- /package/dist/{chunk-3ZVSVLZD.mjs → chunk-UWWO4AVU.mjs} +0 -0
|
@@ -1,31 +1,96 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
4
3
|
|
|
5
4
|
declare const popover: tailwind_variants.TVReturnType<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
content
|
|
5
|
+
variant: {
|
|
6
|
+
default: {
|
|
7
|
+
content: string[];
|
|
8
|
+
};
|
|
9
|
+
ghost: {
|
|
10
|
+
content: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
spacing: {
|
|
14
|
+
default: {
|
|
15
|
+
content: string;
|
|
16
|
+
};
|
|
17
|
+
dense: {
|
|
18
|
+
content: string;
|
|
9
19
|
};
|
|
10
20
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
width: {
|
|
22
|
+
default: {
|
|
23
|
+
content: string;
|
|
24
|
+
};
|
|
25
|
+
auto: {
|
|
26
|
+
content: string;
|
|
15
27
|
};
|
|
16
28
|
};
|
|
17
|
-
}
|
|
29
|
+
}, {
|
|
18
30
|
content: string[];
|
|
31
|
+
arrow: string[];
|
|
32
|
+
arrowTop: string;
|
|
33
|
+
arrowBottom: string;
|
|
19
34
|
}, undefined, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
content
|
|
35
|
+
variant: {
|
|
36
|
+
default: {
|
|
37
|
+
content: string[];
|
|
38
|
+
};
|
|
39
|
+
ghost: {
|
|
40
|
+
content: string;
|
|
23
41
|
};
|
|
24
42
|
};
|
|
25
|
-
|
|
43
|
+
spacing: {
|
|
44
|
+
default: {
|
|
45
|
+
content: string;
|
|
46
|
+
};
|
|
47
|
+
dense: {
|
|
48
|
+
content: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
width: {
|
|
52
|
+
default: {
|
|
53
|
+
content: string;
|
|
54
|
+
};
|
|
55
|
+
auto: {
|
|
56
|
+
content: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
26
60
|
content: string[];
|
|
27
|
-
|
|
61
|
+
arrow: string[];
|
|
62
|
+
arrowTop: string;
|
|
63
|
+
arrowBottom: string;
|
|
64
|
+
}, tailwind_variants.TVReturnType<{
|
|
65
|
+
variant: {
|
|
66
|
+
default: {
|
|
67
|
+
content: string[];
|
|
68
|
+
};
|
|
69
|
+
ghost: {
|
|
70
|
+
content: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
spacing: {
|
|
74
|
+
default: {
|
|
75
|
+
content: string;
|
|
76
|
+
};
|
|
77
|
+
dense: {
|
|
78
|
+
content: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
width: {
|
|
82
|
+
default: {
|
|
83
|
+
content: string;
|
|
84
|
+
};
|
|
85
|
+
auto: {
|
|
86
|
+
content: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
28
90
|
content: string[];
|
|
91
|
+
arrow: string[];
|
|
92
|
+
arrowTop: string;
|
|
93
|
+
arrowBottom: string;
|
|
29
94
|
}, undefined, unknown, unknown, undefined>>;
|
|
30
95
|
type PopoverVariants = VariantProps<typeof popover>;
|
|
31
96
|
|
|
@@ -1,31 +1,96 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
4
3
|
|
|
5
4
|
declare const popover: tailwind_variants.TVReturnType<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
content
|
|
5
|
+
variant: {
|
|
6
|
+
default: {
|
|
7
|
+
content: string[];
|
|
8
|
+
};
|
|
9
|
+
ghost: {
|
|
10
|
+
content: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
spacing: {
|
|
14
|
+
default: {
|
|
15
|
+
content: string;
|
|
16
|
+
};
|
|
17
|
+
dense: {
|
|
18
|
+
content: string;
|
|
9
19
|
};
|
|
10
20
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
width: {
|
|
22
|
+
default: {
|
|
23
|
+
content: string;
|
|
24
|
+
};
|
|
25
|
+
auto: {
|
|
26
|
+
content: string;
|
|
15
27
|
};
|
|
16
28
|
};
|
|
17
|
-
}
|
|
29
|
+
}, {
|
|
18
30
|
content: string[];
|
|
31
|
+
arrow: string[];
|
|
32
|
+
arrowTop: string;
|
|
33
|
+
arrowBottom: string;
|
|
19
34
|
}, undefined, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
content
|
|
35
|
+
variant: {
|
|
36
|
+
default: {
|
|
37
|
+
content: string[];
|
|
38
|
+
};
|
|
39
|
+
ghost: {
|
|
40
|
+
content: string;
|
|
23
41
|
};
|
|
24
42
|
};
|
|
25
|
-
|
|
43
|
+
spacing: {
|
|
44
|
+
default: {
|
|
45
|
+
content: string;
|
|
46
|
+
};
|
|
47
|
+
dense: {
|
|
48
|
+
content: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
width: {
|
|
52
|
+
default: {
|
|
53
|
+
content: string;
|
|
54
|
+
};
|
|
55
|
+
auto: {
|
|
56
|
+
content: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
26
60
|
content: string[];
|
|
27
|
-
|
|
61
|
+
arrow: string[];
|
|
62
|
+
arrowTop: string;
|
|
63
|
+
arrowBottom: string;
|
|
64
|
+
}, tailwind_variants.TVReturnType<{
|
|
65
|
+
variant: {
|
|
66
|
+
default: {
|
|
67
|
+
content: string[];
|
|
68
|
+
};
|
|
69
|
+
ghost: {
|
|
70
|
+
content: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
spacing: {
|
|
74
|
+
default: {
|
|
75
|
+
content: string;
|
|
76
|
+
};
|
|
77
|
+
dense: {
|
|
78
|
+
content: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
width: {
|
|
82
|
+
default: {
|
|
83
|
+
content: string;
|
|
84
|
+
};
|
|
85
|
+
auto: {
|
|
86
|
+
content: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
28
90
|
content: string[];
|
|
91
|
+
arrow: string[];
|
|
92
|
+
arrowTop: string;
|
|
93
|
+
arrowBottom: string;
|
|
29
94
|
}, undefined, unknown, unknown, undefined>>;
|
|
30
95
|
type PopoverVariants = VariantProps<typeof popover>;
|
|
31
96
|
|
|
@@ -35,10 +35,47 @@ var popoverContentClasses = [
|
|
|
35
35
|
var popover = (0, import_tailwind_variants.tv)({
|
|
36
36
|
slots: {
|
|
37
37
|
content: [
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
]
|
|
38
|
+
"data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95",
|
|
39
|
+
"data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 ",
|
|
40
|
+
"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
|
|
41
|
+
],
|
|
42
|
+
arrow: [
|
|
43
|
+
"data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px]",
|
|
44
|
+
"data-[side=left]:rotate-90 data-[side=right]:left-[-13px]",
|
|
45
|
+
"data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180"
|
|
46
|
+
],
|
|
47
|
+
arrowTop: "fill-popover",
|
|
48
|
+
arrowBottom: "fill-border"
|
|
49
|
+
},
|
|
50
|
+
variants: {
|
|
51
|
+
variant: {
|
|
52
|
+
default: {
|
|
53
|
+
content: [...popoverContentClasses]
|
|
54
|
+
},
|
|
55
|
+
ghost: {
|
|
56
|
+
content: "w-auto !p-0 bg-transparent"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
spacing: {
|
|
60
|
+
default: {
|
|
61
|
+
content: "p-4"
|
|
62
|
+
},
|
|
63
|
+
dense: {
|
|
64
|
+
content: "p-2"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
width: {
|
|
68
|
+
default: {
|
|
69
|
+
content: "w-72"
|
|
70
|
+
},
|
|
71
|
+
auto: {
|
|
72
|
+
content: "w-auto"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
defaultVariants: {
|
|
77
|
+
variant: "default",
|
|
78
|
+
spacing: "default"
|
|
42
79
|
}
|
|
43
80
|
});
|
|
44
81
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const scrollArea: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
root?: tailwind_merge.ClassNameValue;
|
|
9
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
10
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
11
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
[x: string]: {
|
|
16
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
17
|
+
root?: tailwind_merge.ClassNameValue;
|
|
18
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
19
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
20
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} | {}, {
|
|
24
|
+
root: string;
|
|
25
|
+
viewport: string;
|
|
26
|
+
scrollbar: string[];
|
|
27
|
+
thumb: string;
|
|
28
|
+
}, undefined, {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
31
|
+
root?: tailwind_merge.ClassNameValue;
|
|
32
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
33
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
34
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
} | {}, {
|
|
38
|
+
root: string;
|
|
39
|
+
viewport: string;
|
|
40
|
+
scrollbar: string[];
|
|
41
|
+
thumb: string;
|
|
42
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
43
|
+
root: string;
|
|
44
|
+
viewport: string;
|
|
45
|
+
scrollbar: string[];
|
|
46
|
+
thumb: string;
|
|
47
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
48
|
+
type ScrollAreaVariantProps = VariantProps<typeof scrollArea>;
|
|
49
|
+
|
|
50
|
+
export { type ScrollAreaVariantProps, scrollArea };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const scrollArea: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
root?: tailwind_merge.ClassNameValue;
|
|
9
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
10
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
11
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
[x: string]: {
|
|
16
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
17
|
+
root?: tailwind_merge.ClassNameValue;
|
|
18
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
19
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
20
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} | {}, {
|
|
24
|
+
root: string;
|
|
25
|
+
viewport: string;
|
|
26
|
+
scrollbar: string[];
|
|
27
|
+
thumb: string;
|
|
28
|
+
}, undefined, {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
31
|
+
root?: tailwind_merge.ClassNameValue;
|
|
32
|
+
viewport?: tailwind_merge.ClassNameValue;
|
|
33
|
+
thumb?: tailwind_merge.ClassNameValue;
|
|
34
|
+
scrollbar?: tailwind_merge.ClassNameValue;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
} | {}, {
|
|
38
|
+
root: string;
|
|
39
|
+
viewport: string;
|
|
40
|
+
scrollbar: string[];
|
|
41
|
+
thumb: string;
|
|
42
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
43
|
+
root: string;
|
|
44
|
+
viewport: string;
|
|
45
|
+
scrollbar: string[];
|
|
46
|
+
thumb: string;
|
|
47
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
48
|
+
type ScrollAreaVariantProps = VariantProps<typeof scrollArea>;
|
|
49
|
+
|
|
50
|
+
export { type ScrollAreaVariantProps, scrollArea };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/scroll-area.ts
|
|
21
|
+
var scroll_area_exports = {};
|
|
22
|
+
__export(scroll_area_exports, {
|
|
23
|
+
scrollArea: () => scrollArea
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(scroll_area_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var scrollArea = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "relative",
|
|
30
|
+
viewport: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
31
|
+
scrollbar: [
|
|
32
|
+
"flex touch-none p-px transition-[colors,opacity] select-none opacity-0 data-[hovering]:opacity-100 data-[scrolling]:opacity-100 duration-150 delay-300 data-[hovering]:duration-75 data-[scrolling]:duration-75 data-[hovering]:delay-0 data-[scrolling]:delay-0",
|
|
33
|
+
"data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:border-l data-[orientation=vertical]:border-l-transparent",
|
|
34
|
+
"data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent"
|
|
35
|
+
],
|
|
36
|
+
thumb: "bg-border relative flex-1 rounded-full"
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
+
0 && (module.exports = {
|
|
41
|
+
scrollArea
|
|
42
|
+
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const select: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
trigger: string[];
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
trigger: string[];
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
trigger: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
trigger: string[];
|
|
18
|
+
triggerIcon: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
clear: string[];
|
|
21
|
+
content: string[];
|
|
22
|
+
item: string[];
|
|
23
|
+
indicatorContainer: string[];
|
|
24
|
+
indicatorIcon: string[];
|
|
25
|
+
label: string[];
|
|
26
|
+
separator: string[];
|
|
27
|
+
}, undefined, {
|
|
28
|
+
size: {
|
|
29
|
+
sm: {
|
|
30
|
+
trigger: string[];
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
trigger: string[];
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
trigger: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
trigger: string[];
|
|
41
|
+
triggerIcon: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
clear: string[];
|
|
44
|
+
content: string[];
|
|
45
|
+
item: string[];
|
|
46
|
+
indicatorContainer: string[];
|
|
47
|
+
indicatorIcon: string[];
|
|
48
|
+
label: string[];
|
|
49
|
+
separator: string[];
|
|
50
|
+
}, tailwind_variants.TVReturnType<{
|
|
51
|
+
size: {
|
|
52
|
+
sm: {
|
|
53
|
+
trigger: string[];
|
|
54
|
+
};
|
|
55
|
+
md: {
|
|
56
|
+
trigger: string[];
|
|
57
|
+
};
|
|
58
|
+
lg: {
|
|
59
|
+
trigger: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
trigger: string[];
|
|
64
|
+
triggerIcon: string;
|
|
65
|
+
placeholder: string;
|
|
66
|
+
clear: string[];
|
|
67
|
+
content: string[];
|
|
68
|
+
item: string[];
|
|
69
|
+
indicatorContainer: string[];
|
|
70
|
+
indicatorIcon: string[];
|
|
71
|
+
label: string[];
|
|
72
|
+
separator: string[];
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type SelectVariantProps = VariantProps<typeof select>;
|
|
75
|
+
|
|
76
|
+
export { type SelectVariantProps, select };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const select: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
trigger: string[];
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
trigger: string[];
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
trigger: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
trigger: string[];
|
|
18
|
+
triggerIcon: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
clear: string[];
|
|
21
|
+
content: string[];
|
|
22
|
+
item: string[];
|
|
23
|
+
indicatorContainer: string[];
|
|
24
|
+
indicatorIcon: string[];
|
|
25
|
+
label: string[];
|
|
26
|
+
separator: string[];
|
|
27
|
+
}, undefined, {
|
|
28
|
+
size: {
|
|
29
|
+
sm: {
|
|
30
|
+
trigger: string[];
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
trigger: string[];
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
trigger: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
trigger: string[];
|
|
41
|
+
triggerIcon: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
clear: string[];
|
|
44
|
+
content: string[];
|
|
45
|
+
item: string[];
|
|
46
|
+
indicatorContainer: string[];
|
|
47
|
+
indicatorIcon: string[];
|
|
48
|
+
label: string[];
|
|
49
|
+
separator: string[];
|
|
50
|
+
}, tailwind_variants.TVReturnType<{
|
|
51
|
+
size: {
|
|
52
|
+
sm: {
|
|
53
|
+
trigger: string[];
|
|
54
|
+
};
|
|
55
|
+
md: {
|
|
56
|
+
trigger: string[];
|
|
57
|
+
};
|
|
58
|
+
lg: {
|
|
59
|
+
trigger: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
trigger: string[];
|
|
64
|
+
triggerIcon: string;
|
|
65
|
+
placeholder: string;
|
|
66
|
+
clear: string[];
|
|
67
|
+
content: string[];
|
|
68
|
+
item: string[];
|
|
69
|
+
indicatorContainer: string[];
|
|
70
|
+
indicatorIcon: string[];
|
|
71
|
+
label: string[];
|
|
72
|
+
separator: string[];
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type SelectVariantProps = VariantProps<typeof select>;
|
|
75
|
+
|
|
76
|
+
export { type SelectVariantProps, select };
|