@sytechui/theme 2.6.3 → 2.6.5
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-Z4ZQGUPY.mjs → chunk-C4PASXVH.mjs} +11 -52
- package/dist/{chunk-NJBUOBAS.mjs → chunk-RXQFUPJE.mjs} +1 -1
- package/dist/{chunk-7K2CWEHT.mjs → chunk-ZHIADCEL.mjs} +1 -0
- package/dist/components/accordion.mjs +3 -3
- package/dist/components/avatar.mjs +3 -3
- package/dist/components/badge.mjs +3 -3
- package/dist/components/bottom-bar.mjs +3 -3
- package/dist/components/breadcrumbs.mjs +3 -3
- package/dist/components/button.mjs +3 -3
- package/dist/components/calendar.mjs +3 -3
- package/dist/components/card.mjs +3 -3
- package/dist/components/checkbox.mjs +3 -3
- package/dist/components/chip.mjs +3 -3
- package/dist/components/code.mjs +3 -3
- package/dist/components/drop-zone.mjs +3 -3
- package/dist/components/dropdown.mjs +3 -3
- package/dist/components/index.js +10 -51
- package/dist/components/index.mjs +3 -3
- package/dist/components/input-otp.mjs +3 -3
- package/dist/components/input.mjs +3 -3
- package/dist/components/link.mjs +3 -3
- package/dist/components/listbox.mjs +3 -3
- package/dist/components/menu.mjs +3 -3
- package/dist/components/modal.mjs +3 -3
- package/dist/components/navbar.mjs +3 -3
- package/dist/components/number-input.mjs +3 -3
- package/dist/components/pagination.mjs +3 -3
- package/dist/components/popover.mjs +3 -3
- package/dist/components/radio.mjs +3 -3
- package/dist/components/select.mjs +3 -3
- package/dist/components/slider.mjs +3 -3
- package/dist/components/snippet.mjs +3 -3
- package/dist/components/stepper.mjs +3 -3
- package/dist/components/table.js +8 -50
- package/dist/components/table.mjs +3 -3
- package/dist/components/tabs.js +2 -1
- package/dist/components/tabs.mjs +3 -3
- package/dist/components/toast.mjs +3 -3
- package/dist/components/toggle.mjs +3 -3
- package/dist/components/user.mjs +3 -3
- package/dist/index.js +11 -51
- package/dist/index.mjs +3 -3
- package/dist/plugin.js +1 -0
- package/dist/plugin.mjs +2 -2
- package/dist/utils/classes.js +1 -0
- package/dist/utils/classes.mjs +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.mjs +3 -3
- package/dist/utils/merge-classes.mjs +3 -3
- package/package.json +1 -1
- package/dist/animations/index.d.mts +0 -132
- package/dist/animations/index.d.ts +0 -132
- package/dist/colors/blue.d.mts +0 -14
- package/dist/colors/blue.d.ts +0 -14
- package/dist/colors/common.d.mts +0 -103
- package/dist/colors/common.d.ts +0 -103
- package/dist/colors/cyan.d.mts +0 -14
- package/dist/colors/cyan.d.ts +0 -14
- package/dist/colors/green.d.mts +0 -14
- package/dist/colors/green.d.ts +0 -14
- package/dist/colors/index.d.mts +0 -109
- package/dist/colors/index.d.ts +0 -109
- package/dist/colors/pink.d.mts +0 -14
- package/dist/colors/pink.d.ts +0 -14
- package/dist/colors/purple.d.mts +0 -14
- package/dist/colors/purple.d.ts +0 -14
- package/dist/colors/red.d.mts +0 -14
- package/dist/colors/red.d.ts +0 -14
- package/dist/colors/semantic.d.mts +0 -10
- package/dist/colors/semantic.d.ts +0 -10
- package/dist/colors/types.d.mts +0 -39
- package/dist/colors/types.d.ts +0 -39
- package/dist/colors/yellow.d.mts +0 -14
- package/dist/colors/yellow.d.ts +0 -14
- package/dist/colors/zinc.d.mts +0 -14
- package/dist/colors/zinc.d.ts +0 -14
- package/dist/colors.d.mts +0 -4
- package/dist/colors.d.ts +0 -4
- package/dist/components/accordion.d.mts +0 -228
- package/dist/components/accordion.d.ts +0 -228
- package/dist/components/alert.d.mts +0 -316
- package/dist/components/alert.d.ts +0 -316
- package/dist/components/autocomplete.d.mts +0 -95
- package/dist/components/autocomplete.d.ts +0 -95
- package/dist/components/avatar.d.mts +0 -300
- package/dist/components/avatar.d.ts +0 -300
- package/dist/components/badge.d.mts +0 -223
- package/dist/components/badge.d.ts +0 -223
- package/dist/components/bottom-bar.d.mts +0 -263
- package/dist/components/bottom-bar.d.ts +0 -263
- package/dist/components/breadcrumbs.d.mts +0 -379
- package/dist/components/breadcrumbs.d.ts +0 -379
- package/dist/components/button.d.mts +0 -188
- package/dist/components/button.d.ts +0 -188
- package/dist/components/calendar.d.mts +0 -279
- package/dist/components/calendar.d.ts +0 -279
- package/dist/components/card.d.mts +0 -257
- package/dist/components/card.d.ts +0 -257
- package/dist/components/checkbox.d.mts +0 -375
- package/dist/components/checkbox.d.ts +0 -375
- package/dist/components/chip.d.mts +0 -340
- package/dist/components/chip.d.ts +0 -340
- package/dist/components/code.d.mts +0 -80
- package/dist/components/code.d.ts +0 -80
- package/dist/components/date-input.d.mts +0 -392
- package/dist/components/date-input.d.ts +0 -392
- package/dist/components/date-picker.d.mts +0 -220
- package/dist/components/date-picker.d.ts +0 -220
- package/dist/components/divider.d.mts +0 -70
- package/dist/components/divider.d.ts +0 -70
- package/dist/components/drawer.d.mts +0 -190
- package/dist/components/drawer.d.ts +0 -190
- package/dist/components/drip.d.mts +0 -13
- package/dist/components/drip.d.ts +0 -13
- package/dist/components/drop-zone.d.mts +0 -434
- package/dist/components/drop-zone.d.ts +0 -434
- package/dist/components/dropdown.d.mts +0 -247
- package/dist/components/dropdown.d.ts +0 -247
- package/dist/components/form.d.mts +0 -19
- package/dist/components/form.d.ts +0 -19
- package/dist/components/image.d.mts +0 -174
- package/dist/components/image.d.ts +0 -174
- package/dist/components/index.d.mts +0 -51
- package/dist/components/index.d.ts +0 -51
- package/dist/components/input-otp.d.mts +0 -282
- package/dist/components/input-otp.d.ts +0 -282
- package/dist/components/input.d.mts +0 -458
- package/dist/components/input.d.ts +0 -458
- package/dist/components/kbd.d.mts +0 -50
- package/dist/components/kbd.d.ts +0 -50
- package/dist/components/link.d.mts +0 -107
- package/dist/components/link.d.ts +0 -107
- package/dist/components/listbox.d.mts +0 -3
- package/dist/components/listbox.d.ts +0 -3
- package/dist/components/menu.d.mts +0 -324
- package/dist/components/menu.d.ts +0 -324
- package/dist/components/modal.d.mts +0 -380
- package/dist/components/modal.d.ts +0 -380
- package/dist/components/navbar.d.mts +0 -246
- package/dist/components/navbar.d.ts +0 -246
- package/dist/components/number-input.d.mts +0 -476
- package/dist/components/number-input.d.ts +0 -476
- package/dist/components/pagination.d.mts +0 -288
- package/dist/components/pagination.d.ts +0 -288
- package/dist/components/popover.d.mts +0 -339
- package/dist/components/popover.d.ts +0 -339
- package/dist/components/progress.d.mts +0 -498
- package/dist/components/progress.d.ts +0 -498
- package/dist/components/radio.d.mts +0 -354
- package/dist/components/radio.d.ts +0 -354
- package/dist/components/scroll-area.d.mts +0 -109
- package/dist/components/scroll-area.d.ts +0 -109
- package/dist/components/scroll-shadow.d.mts +0 -48
- package/dist/components/scroll-shadow.d.ts +0 -48
- package/dist/components/select.d.mts +0 -530
- package/dist/components/select.d.ts +0 -530
- package/dist/components/shimmer-text.d.mts +0 -46
- package/dist/components/shimmer-text.d.ts +0 -46
- package/dist/components/skeleton.d.mts +0 -60
- package/dist/components/skeleton.d.ts +0 -60
- package/dist/components/slider.d.mts +0 -482
- package/dist/components/slider.d.ts +0 -482
- package/dist/components/snippet.d.mts +0 -206
- package/dist/components/snippet.d.ts +0 -206
- package/dist/components/spacer.d.mts +0 -31
- package/dist/components/spacer.d.ts +0 -31
- package/dist/components/spinner.d.mts +0 -398
- package/dist/components/spinner.d.ts +0 -398
- package/dist/components/stepper.d.mts +0 -288
- package/dist/components/stepper.d.ts +0 -288
- package/dist/components/table.d.mts +0 -509
- package/dist/components/table.d.ts +0 -509
- package/dist/components/tabs.d.mts +0 -413
- package/dist/components/tabs.d.ts +0 -413
- package/dist/components/toast.d.mts +0 -329
- package/dist/components/toast.d.ts +0 -329
- package/dist/components/toggle.d.mts +0 -243
- package/dist/components/toggle.d.ts +0 -243
- package/dist/components/user.d.mts +0 -63
- package/dist/components/user.d.ts +0 -63
- package/dist/default-layout.d.mts +0 -8
- package/dist/default-layout.d.ts +0 -8
- package/dist/index.d.mts +0 -66
- package/dist/index.d.ts +0 -66
- package/dist/plugin.d.mts +0 -12
- package/dist/plugin.d.ts +0 -12
- package/dist/types.d.mts +0 -138
- package/dist/types.d.ts +0 -138
- package/dist/utilities/animation.d.mts +0 -16
- package/dist/utilities/animation.d.ts +0 -16
- package/dist/utilities/custom.d.mts +0 -27
- package/dist/utilities/custom.d.ts +0 -27
- package/dist/utilities/index.d.mts +0 -171
- package/dist/utilities/index.d.ts +0 -171
- package/dist/utilities/scrollbar-hide.d.mts +0 -59
- package/dist/utilities/scrollbar-hide.d.ts +0 -59
- package/dist/utilities/shimmer-text.d.mts +0 -42
- package/dist/utilities/shimmer-text.d.ts +0 -42
- package/dist/utilities/text.d.mts +0 -23
- package/dist/utilities/text.d.ts +0 -23
- package/dist/utilities/transition.d.mts +0 -58
- package/dist/utilities/transition.d.ts +0 -58
- package/dist/utils/classes.d.mts +0 -42
- package/dist/utils/classes.d.ts +0 -42
- package/dist/utils/cn.d.mts +0 -13
- package/dist/utils/cn.d.ts +0 -13
- package/dist/utils/index.d.mts +0 -7
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/merge-classes.d.mts +0 -12
- package/dist/utils/merge-classes.d.ts +0 -12
- package/dist/utils/object.d.mts +0 -13
- package/dist/utils/object.d.ts +0 -13
- package/dist/utils/theme.d.mts +0 -9
- package/dist/utils/theme.d.ts +0 -9
- package/dist/utils/tv.d.mts +0 -5
- package/dist/utils/tv.d.ts +0 -5
- package/dist/utils/tw-merge-config.d.mts +0 -25
- package/dist/utils/tw-merge-config.d.ts +0 -25
- package/dist/utils/types.d.mts +0 -10
- package/dist/utils/types.d.ts +0 -10
- package/dist/utils/variants.d.mts +0 -67
- package/dist/utils/variants.d.ts +0 -67
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
declare const scrollbarModes: {
|
|
2
|
-
'[data-scrollbar="thin"]': {
|
|
3
|
-
"--scrollbar-width": string;
|
|
4
|
-
"--scrollbar-color": string;
|
|
5
|
-
"--scrollbar-gutter": string;
|
|
6
|
-
};
|
|
7
|
-
'[data-scrollbar="default"]': {
|
|
8
|
-
"--scrollbar-width": string;
|
|
9
|
-
"--scrollbar-color": string;
|
|
10
|
-
"--scrollbar-gutter": string;
|
|
11
|
-
};
|
|
12
|
-
'[data-scrollbar="none"]': {
|
|
13
|
-
"--scrollbar-width": string;
|
|
14
|
-
"--scrollbar-color": string;
|
|
15
|
-
"--scrollbar-gutter": string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
declare const _default: {
|
|
19
|
-
/**
|
|
20
|
-
* Theme-aware scrollbar
|
|
21
|
-
*/
|
|
22
|
-
".scrollbar": {
|
|
23
|
-
"scrollbar-width": string;
|
|
24
|
-
"scrollbar-color": string;
|
|
25
|
-
"scrollbar-gutter": string;
|
|
26
|
-
};
|
|
27
|
-
".scrollbar-thin": {
|
|
28
|
-
"scrollbar-width": string;
|
|
29
|
-
"scrollbar-color": string;
|
|
30
|
-
"scrollbar-gutter": string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Scroll Hide
|
|
34
|
-
*/
|
|
35
|
-
".scrollbar-hide": {
|
|
36
|
-
"-ms-overflow-style": string;
|
|
37
|
-
"scrollbar-width": string;
|
|
38
|
-
"&::-webkit-scrollbar": {
|
|
39
|
-
display: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
".scrollbar-default": {
|
|
43
|
-
"-ms-overflow-style": string;
|
|
44
|
-
"scrollbar-width": string;
|
|
45
|
-
"scrollbar-color": string;
|
|
46
|
-
"scrollbar-gutter": string;
|
|
47
|
-
"&::-webkit-scrollbar": {
|
|
48
|
-
display: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
".scrollbar-none": {
|
|
52
|
-
"-ms-overflow-style": string;
|
|
53
|
-
"scrollbar-width": string;
|
|
54
|
-
"scrollbar-color": string;
|
|
55
|
-
"scrollbar-gutter": string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export { _default as default, scrollbarModes };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
declare const scrollbarModes: {
|
|
2
|
-
'[data-scrollbar="thin"]': {
|
|
3
|
-
"--scrollbar-width": string;
|
|
4
|
-
"--scrollbar-color": string;
|
|
5
|
-
"--scrollbar-gutter": string;
|
|
6
|
-
};
|
|
7
|
-
'[data-scrollbar="default"]': {
|
|
8
|
-
"--scrollbar-width": string;
|
|
9
|
-
"--scrollbar-color": string;
|
|
10
|
-
"--scrollbar-gutter": string;
|
|
11
|
-
};
|
|
12
|
-
'[data-scrollbar="none"]': {
|
|
13
|
-
"--scrollbar-width": string;
|
|
14
|
-
"--scrollbar-color": string;
|
|
15
|
-
"--scrollbar-gutter": string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
declare const _default: {
|
|
19
|
-
/**
|
|
20
|
-
* Theme-aware scrollbar
|
|
21
|
-
*/
|
|
22
|
-
".scrollbar": {
|
|
23
|
-
"scrollbar-width": string;
|
|
24
|
-
"scrollbar-color": string;
|
|
25
|
-
"scrollbar-gutter": string;
|
|
26
|
-
};
|
|
27
|
-
".scrollbar-thin": {
|
|
28
|
-
"scrollbar-width": string;
|
|
29
|
-
"scrollbar-color": string;
|
|
30
|
-
"scrollbar-gutter": string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Scroll Hide
|
|
34
|
-
*/
|
|
35
|
-
".scrollbar-hide": {
|
|
36
|
-
"-ms-overflow-style": string;
|
|
37
|
-
"scrollbar-width": string;
|
|
38
|
-
"&::-webkit-scrollbar": {
|
|
39
|
-
display: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
".scrollbar-default": {
|
|
43
|
-
"-ms-overflow-style": string;
|
|
44
|
-
"scrollbar-width": string;
|
|
45
|
-
"scrollbar-color": string;
|
|
46
|
-
"scrollbar-gutter": string;
|
|
47
|
-
"&::-webkit-scrollbar": {
|
|
48
|
-
display: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
".scrollbar-none": {
|
|
52
|
-
"-ms-overflow-style": string;
|
|
53
|
-
"scrollbar-width": string;
|
|
54
|
-
"scrollbar-color": string;
|
|
55
|
-
"scrollbar-gutter": string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export { _default as default, scrollbarModes };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
".sytech-shimmer-text": {
|
|
3
|
-
color: string;
|
|
4
|
-
"--shimmer-angle": string;
|
|
5
|
-
"--shimmer-spread": string;
|
|
6
|
-
"--shimmer-iteration": string;
|
|
7
|
-
"--shimmer-direction": string;
|
|
8
|
-
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
-
"background-image": string;
|
|
10
|
-
"background-repeat": string;
|
|
11
|
-
"background-size": string;
|
|
12
|
-
"background-position": string;
|
|
13
|
-
"background-clip": string;
|
|
14
|
-
"-webkit-background-clip": string;
|
|
15
|
-
"-webkit-text-fill-color": string;
|
|
16
|
-
};
|
|
17
|
-
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
-
"--shimmer-direction": string;
|
|
19
|
-
};
|
|
20
|
-
"&.sytech-shimmer-text-reverse": {
|
|
21
|
-
"--shimmer-direction": string;
|
|
22
|
-
};
|
|
23
|
-
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
-
"--shimmer-direction": string;
|
|
25
|
-
};
|
|
26
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
-
animation: string;
|
|
28
|
-
"background-image": string;
|
|
29
|
-
"-webkit-text-fill-color": string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
".sytech-shimmer-text-once": {
|
|
33
|
-
"--shimmer-iteration": string;
|
|
34
|
-
};
|
|
35
|
-
".sytech-shimmer-text-disabled": {
|
|
36
|
-
animation: string;
|
|
37
|
-
"background-image": string;
|
|
38
|
-
"-webkit-text-fill-color": string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { _default as default };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
".sytech-shimmer-text": {
|
|
3
|
-
color: string;
|
|
4
|
-
"--shimmer-angle": string;
|
|
5
|
-
"--shimmer-spread": string;
|
|
6
|
-
"--shimmer-iteration": string;
|
|
7
|
-
"--shimmer-direction": string;
|
|
8
|
-
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
-
"background-image": string;
|
|
10
|
-
"background-repeat": string;
|
|
11
|
-
"background-size": string;
|
|
12
|
-
"background-position": string;
|
|
13
|
-
"background-clip": string;
|
|
14
|
-
"-webkit-background-clip": string;
|
|
15
|
-
"-webkit-text-fill-color": string;
|
|
16
|
-
};
|
|
17
|
-
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
-
"--shimmer-direction": string;
|
|
19
|
-
};
|
|
20
|
-
"&.sytech-shimmer-text-reverse": {
|
|
21
|
-
"--shimmer-direction": string;
|
|
22
|
-
};
|
|
23
|
-
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
-
"--shimmer-direction": string;
|
|
25
|
-
};
|
|
26
|
-
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
-
animation: string;
|
|
28
|
-
"background-image": string;
|
|
29
|
-
"-webkit-text-fill-color": string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
".sytech-shimmer-text-once": {
|
|
33
|
-
"--shimmer-iteration": string;
|
|
34
|
-
};
|
|
35
|
-
".sytech-shimmer-text-disabled": {
|
|
36
|
-
animation: string;
|
|
37
|
-
"background-image": string;
|
|
38
|
-
"-webkit-text-fill-color": string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { _default as default };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
/**
|
|
3
|
-
* Text utilities
|
|
4
|
-
*/
|
|
5
|
-
".text-tiny": {
|
|
6
|
-
"font-size": string;
|
|
7
|
-
"line-height": string;
|
|
8
|
-
};
|
|
9
|
-
".text-small": {
|
|
10
|
-
"font-size": string;
|
|
11
|
-
"line-height": string;
|
|
12
|
-
};
|
|
13
|
-
".text-medium": {
|
|
14
|
-
"font-size": string;
|
|
15
|
-
"line-height": string;
|
|
16
|
-
};
|
|
17
|
-
".text-large": {
|
|
18
|
-
"font-size": string;
|
|
19
|
-
"line-height": string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { _default as default };
|
package/dist/utilities/text.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
/**
|
|
3
|
-
* Text utilities
|
|
4
|
-
*/
|
|
5
|
-
".text-tiny": {
|
|
6
|
-
"font-size": string;
|
|
7
|
-
"line-height": string;
|
|
8
|
-
};
|
|
9
|
-
".text-small": {
|
|
10
|
-
"font-size": string;
|
|
11
|
-
"line-height": string;
|
|
12
|
-
};
|
|
13
|
-
".text-medium": {
|
|
14
|
-
"font-size": string;
|
|
15
|
-
"line-height": string;
|
|
16
|
-
};
|
|
17
|
-
".text-large": {
|
|
18
|
-
"font-size": string;
|
|
19
|
-
"line-height": string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { _default as default };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const DEFAULT_TRANSITION_DURATION = "250ms";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
/**
|
|
4
|
-
* Transition utilities
|
|
5
|
-
*/
|
|
6
|
-
".transition-background": {
|
|
7
|
-
"transition-property": string;
|
|
8
|
-
"transition-timing-function": string;
|
|
9
|
-
"transition-duration": string;
|
|
10
|
-
};
|
|
11
|
-
".transition-colors-opacity": {
|
|
12
|
-
"transition-property": string;
|
|
13
|
-
"transition-timing-function": string;
|
|
14
|
-
"transition-duration": string;
|
|
15
|
-
};
|
|
16
|
-
".transition-width": {
|
|
17
|
-
"transition-property": string;
|
|
18
|
-
"transition-timing-function": string;
|
|
19
|
-
"transition-duration": string;
|
|
20
|
-
};
|
|
21
|
-
".transition-height": {
|
|
22
|
-
"transition-property": string;
|
|
23
|
-
"transition-timing-function": string;
|
|
24
|
-
"transition-duration": string;
|
|
25
|
-
};
|
|
26
|
-
".transition-size": {
|
|
27
|
-
"transition-property": string;
|
|
28
|
-
"transition-timing-function": string;
|
|
29
|
-
"transition-duration": string;
|
|
30
|
-
};
|
|
31
|
-
".transition-left": {
|
|
32
|
-
"transition-property": string;
|
|
33
|
-
"transition-timing-function": string;
|
|
34
|
-
"transition-duration": string;
|
|
35
|
-
};
|
|
36
|
-
".transition-transform-opacity": {
|
|
37
|
-
"transition-property": string;
|
|
38
|
-
"transition-timing-function": string;
|
|
39
|
-
"transition-duration": string;
|
|
40
|
-
};
|
|
41
|
-
".transition-transform-background": {
|
|
42
|
-
"transition-property": string;
|
|
43
|
-
"transition-timing-function": string;
|
|
44
|
-
"transition-duration": string;
|
|
45
|
-
};
|
|
46
|
-
".transition-transform-colors": {
|
|
47
|
-
"transition-property": string;
|
|
48
|
-
"transition-timing-function": string;
|
|
49
|
-
"transition-duration": string;
|
|
50
|
-
};
|
|
51
|
-
".transition-transform-colors-opacity": {
|
|
52
|
-
"transition-property": string;
|
|
53
|
-
"transition-timing-function": string;
|
|
54
|
-
"transition-duration": string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { DEFAULT_TRANSITION_DURATION, _default as default };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const DEFAULT_TRANSITION_DURATION = "250ms";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
/**
|
|
4
|
-
* Transition utilities
|
|
5
|
-
*/
|
|
6
|
-
".transition-background": {
|
|
7
|
-
"transition-property": string;
|
|
8
|
-
"transition-timing-function": string;
|
|
9
|
-
"transition-duration": string;
|
|
10
|
-
};
|
|
11
|
-
".transition-colors-opacity": {
|
|
12
|
-
"transition-property": string;
|
|
13
|
-
"transition-timing-function": string;
|
|
14
|
-
"transition-duration": string;
|
|
15
|
-
};
|
|
16
|
-
".transition-width": {
|
|
17
|
-
"transition-property": string;
|
|
18
|
-
"transition-timing-function": string;
|
|
19
|
-
"transition-duration": string;
|
|
20
|
-
};
|
|
21
|
-
".transition-height": {
|
|
22
|
-
"transition-property": string;
|
|
23
|
-
"transition-timing-function": string;
|
|
24
|
-
"transition-duration": string;
|
|
25
|
-
};
|
|
26
|
-
".transition-size": {
|
|
27
|
-
"transition-property": string;
|
|
28
|
-
"transition-timing-function": string;
|
|
29
|
-
"transition-duration": string;
|
|
30
|
-
};
|
|
31
|
-
".transition-left": {
|
|
32
|
-
"transition-property": string;
|
|
33
|
-
"transition-timing-function": string;
|
|
34
|
-
"transition-duration": string;
|
|
35
|
-
};
|
|
36
|
-
".transition-transform-opacity": {
|
|
37
|
-
"transition-property": string;
|
|
38
|
-
"transition-timing-function": string;
|
|
39
|
-
"transition-duration": string;
|
|
40
|
-
};
|
|
41
|
-
".transition-transform-background": {
|
|
42
|
-
"transition-property": string;
|
|
43
|
-
"transition-timing-function": string;
|
|
44
|
-
"transition-duration": string;
|
|
45
|
-
};
|
|
46
|
-
".transition-transform-colors": {
|
|
47
|
-
"transition-property": string;
|
|
48
|
-
"transition-timing-function": string;
|
|
49
|
-
"transition-duration": string;
|
|
50
|
-
};
|
|
51
|
-
".transition-transform-colors-opacity": {
|
|
52
|
-
"transition-property": string;
|
|
53
|
-
"transition-timing-function": string;
|
|
54
|
-
"transition-duration": string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { DEFAULT_TRANSITION_DURATION, _default as default };
|
package/dist/utils/classes.d.mts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is the base classNames for all elements.
|
|
3
|
-
* Is meant to be used with the `addBase` method from tailwindcss.
|
|
4
|
-
*/
|
|
5
|
-
declare const baseStyles: (prefix: string) => {
|
|
6
|
-
color: string;
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
"--scrollbar-thumb": string;
|
|
9
|
-
"--scrollbar-track": string;
|
|
10
|
-
"--scrollbar-gutter": string;
|
|
11
|
-
"--scrollbar-width": string;
|
|
12
|
-
"--scrollbar-color": string;
|
|
13
|
-
"--table-pinned-bg": string;
|
|
14
|
-
"--table-pinned-shadow": string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* focus classNames when the element is focused by keyboard.
|
|
18
|
-
*/
|
|
19
|
-
declare const focusVisibleClasses: string[];
|
|
20
|
-
declare const dataFocusVisibleClasses: string[];
|
|
21
|
-
declare const groupDataFocusVisibleClasses: string[];
|
|
22
|
-
declare const ringClasses: string[];
|
|
23
|
-
/**
|
|
24
|
-
* This classes centers the element by using absolute positioning.
|
|
25
|
-
*/
|
|
26
|
-
declare const translateCenterClasses: string[];
|
|
27
|
-
declare const absoluteFullClasses: string[];
|
|
28
|
-
/**
|
|
29
|
-
* This object defines CSS classes for collapsing adjacent variant borders.
|
|
30
|
-
* It includes classes for different variants like default, primary, secondary, etc.
|
|
31
|
-
*/
|
|
32
|
-
declare const collapseAdjacentVariantBorders: {
|
|
33
|
-
default: string[];
|
|
34
|
-
primary: string[];
|
|
35
|
-
secondary: string[];
|
|
36
|
-
success: string[];
|
|
37
|
-
warning: string[];
|
|
38
|
-
danger: string[];
|
|
39
|
-
};
|
|
40
|
-
declare const hiddenInputClasses: string[];
|
|
41
|
-
|
|
42
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
|
package/dist/utils/classes.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is the base classNames for all elements.
|
|
3
|
-
* Is meant to be used with the `addBase` method from tailwindcss.
|
|
4
|
-
*/
|
|
5
|
-
declare const baseStyles: (prefix: string) => {
|
|
6
|
-
color: string;
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
"--scrollbar-thumb": string;
|
|
9
|
-
"--scrollbar-track": string;
|
|
10
|
-
"--scrollbar-gutter": string;
|
|
11
|
-
"--scrollbar-width": string;
|
|
12
|
-
"--scrollbar-color": string;
|
|
13
|
-
"--table-pinned-bg": string;
|
|
14
|
-
"--table-pinned-shadow": string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* focus classNames when the element is focused by keyboard.
|
|
18
|
-
*/
|
|
19
|
-
declare const focusVisibleClasses: string[];
|
|
20
|
-
declare const dataFocusVisibleClasses: string[];
|
|
21
|
-
declare const groupDataFocusVisibleClasses: string[];
|
|
22
|
-
declare const ringClasses: string[];
|
|
23
|
-
/**
|
|
24
|
-
* This classes centers the element by using absolute positioning.
|
|
25
|
-
*/
|
|
26
|
-
declare const translateCenterClasses: string[];
|
|
27
|
-
declare const absoluteFullClasses: string[];
|
|
28
|
-
/**
|
|
29
|
-
* This object defines CSS classes for collapsing adjacent variant borders.
|
|
30
|
-
* It includes classes for different variants like default, primary, secondary, etc.
|
|
31
|
-
*/
|
|
32
|
-
declare const collapseAdjacentVariantBorders: {
|
|
33
|
-
default: string[];
|
|
34
|
-
primary: string[];
|
|
35
|
-
secondary: string[];
|
|
36
|
-
success: string[];
|
|
37
|
-
warning: string[];
|
|
38
|
-
danger: string[];
|
|
39
|
-
};
|
|
40
|
-
declare const hiddenInputClasses: string[];
|
|
41
|
-
|
|
42
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
|
package/dist/utils/cn.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
|
|
4
|
-
type ClassDictionary = Record<string, any>;
|
|
5
|
-
type ClassArray = ClassValue[];
|
|
6
|
-
/**
|
|
7
|
-
* We need to extend the tailwind merge to include HeroUI's custom classes.
|
|
8
|
-
*
|
|
9
|
-
* So we can use classes like `text-small` or `text-default-500` and override them.
|
|
10
|
-
*/
|
|
11
|
-
declare function cn(...inputs: ClassValue[]): tailwind_variants.CnReturn;
|
|
12
|
-
|
|
13
|
-
export { type ClassArray, type ClassDictionary, type ClassValue, cn };
|
package/dist/utils/cn.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
|
|
4
|
-
type ClassDictionary = Record<string, any>;
|
|
5
|
-
type ClassArray = ClassValue[];
|
|
6
|
-
/**
|
|
7
|
-
* We need to extend the tailwind merge to include HeroUI's custom classes.
|
|
8
|
-
*
|
|
9
|
-
* So we can use classes like `text-small` or `text-default-500` and override them.
|
|
10
|
-
*/
|
|
11
|
-
declare function cn(...inputs: ClassValue[]): tailwind_variants.CnReturn;
|
|
12
|
-
|
|
13
|
-
export { type ClassArray, type ClassDictionary, type ClassValue, cn };
|
package/dist/utils/index.d.mts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './classes.mjs';
|
|
2
|
-
export { SlotsToClasses } from './types.mjs';
|
|
3
|
-
export { colorVariants } from './variants.mjs';
|
|
4
|
-
export { COMMON_UNITS, twMergeConfig } from './tw-merge-config.mjs';
|
|
5
|
-
export { mergeClasses } from './merge-classes.mjs';
|
|
6
|
-
export { cn } from './cn.mjs';
|
|
7
|
-
import 'tailwind-variants';
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './classes.js';
|
|
2
|
-
export { SlotsToClasses } from './types.js';
|
|
3
|
-
export { colorVariants } from './variants.js';
|
|
4
|
-
export { COMMON_UNITS, twMergeConfig } from './tw-merge-config.js';
|
|
5
|
-
export { mergeClasses } from './merge-classes.js';
|
|
6
|
-
export { cn } from './cn.js';
|
|
7
|
-
import 'tailwind-variants';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SlotsToClasses } from './types.mjs';
|
|
2
|
-
import 'tailwind-variants';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Merges two sets of class names for each slot in a component.
|
|
6
|
-
* @param itemClasses - Base classes for each slot
|
|
7
|
-
* @param itemPropsClasses - Additional classes from props for each slot
|
|
8
|
-
* @returns A merged object containing the combined classes for each slot
|
|
9
|
-
*/
|
|
10
|
-
declare const mergeClasses: <T extends SlotsToClasses<string>, P extends SlotsToClasses<string>>(itemClasses?: T, itemPropsClasses?: P) => T;
|
|
11
|
-
|
|
12
|
-
export { mergeClasses };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SlotsToClasses } from './types.js';
|
|
2
|
-
import 'tailwind-variants';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Merges two sets of class names for each slot in a component.
|
|
6
|
-
* @param itemClasses - Base classes for each slot
|
|
7
|
-
* @param itemPropsClasses - Additional classes from props for each slot
|
|
8
|
-
* @returns A merged object containing the combined classes for each slot
|
|
9
|
-
*/
|
|
10
|
-
declare const mergeClasses: <T extends SlotsToClasses<string>, P extends SlotsToClasses<string>>(itemClasses?: T, itemPropsClasses?: P) => T;
|
|
11
|
-
|
|
12
|
-
export { mergeClasses };
|
package/dist/utils/object.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function swapColorValues<T extends Object>(colors: T): {};
|
|
2
|
-
declare function removeDefaultKeys<T extends Object>(obj: T): {};
|
|
3
|
-
declare function flatten(target: any, opts: any): {};
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* Flatten theme object and remove default keys
|
|
7
|
-
*
|
|
8
|
-
* @param obj theme object
|
|
9
|
-
* @returns object with flattened keys
|
|
10
|
-
*/
|
|
11
|
-
declare const flattenThemeObject: <TTarget>(obj: TTarget) => {};
|
|
12
|
-
|
|
13
|
-
export { flatten, flattenThemeObject, removeDefaultKeys, swapColorValues };
|
package/dist/utils/object.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function swapColorValues<T extends Object>(colors: T): {};
|
|
2
|
-
declare function removeDefaultKeys<T extends Object>(obj: T): {};
|
|
3
|
-
declare function flatten(target: any, opts: any): {};
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* Flatten theme object and remove default keys
|
|
7
|
-
*
|
|
8
|
-
* @param obj theme object
|
|
9
|
-
* @returns object with flattened keys
|
|
10
|
-
*/
|
|
11
|
-
declare const flattenThemeObject: <TTarget>(obj: TTarget) => {};
|
|
12
|
-
|
|
13
|
-
export { flatten, flattenThemeObject, removeDefaultKeys, swapColorValues };
|
package/dist/utils/theme.d.mts
DELETED
package/dist/utils/theme.d.ts
DELETED
package/dist/utils/tv.d.mts
DELETED
package/dist/utils/tv.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const COMMON_UNITS: string[];
|
|
2
|
-
declare const twMergeConfig: {
|
|
3
|
-
theme: {
|
|
4
|
-
spacing: string[];
|
|
5
|
-
radius: string[];
|
|
6
|
-
};
|
|
7
|
-
classGroups: {
|
|
8
|
-
shadow: {
|
|
9
|
-
shadow: string[];
|
|
10
|
-
}[];
|
|
11
|
-
opacity: {
|
|
12
|
-
opacity: string[];
|
|
13
|
-
}[];
|
|
14
|
-
"font-size": {
|
|
15
|
-
text: string[];
|
|
16
|
-
}[];
|
|
17
|
-
"border-w": {
|
|
18
|
-
border: string[];
|
|
19
|
-
}[];
|
|
20
|
-
"bg-image": string[];
|
|
21
|
-
transition: string[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { COMMON_UNITS, twMergeConfig };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const COMMON_UNITS: string[];
|
|
2
|
-
declare const twMergeConfig: {
|
|
3
|
-
theme: {
|
|
4
|
-
spacing: string[];
|
|
5
|
-
radius: string[];
|
|
6
|
-
};
|
|
7
|
-
classGroups: {
|
|
8
|
-
shadow: {
|
|
9
|
-
shadow: string[];
|
|
10
|
-
}[];
|
|
11
|
-
opacity: {
|
|
12
|
-
opacity: string[];
|
|
13
|
-
}[];
|
|
14
|
-
"font-size": {
|
|
15
|
-
text: string[];
|
|
16
|
-
}[];
|
|
17
|
-
"border-w": {
|
|
18
|
-
border: string[];
|
|
19
|
-
}[];
|
|
20
|
-
"bg-image": string[];
|
|
21
|
-
transition: string[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { COMMON_UNITS, twMergeConfig };
|
package/dist/utils/types.d.mts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This Typescript utility transform a list of slots into a list of {slot: classes}
|
|
5
|
-
*/
|
|
6
|
-
type SlotsToClasses<S extends string> = {
|
|
7
|
-
[key in S]?: Exclude<ClassValue, 0n>;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type { SlotsToClasses };
|
package/dist/utils/types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This Typescript utility transform a list of slots into a list of {slot: classes}
|
|
5
|
-
*/
|
|
6
|
-
type SlotsToClasses<S extends string> = {
|
|
7
|
-
[key in S]?: Exclude<ClassValue, 0n>;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type { SlotsToClasses };
|