@nextui-org/theme 0.0.0-dev-v2-20230527161625 → 0.0.0-dev-v2-20230528041548
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-IVZYEA5N.mjs → chunk-BHHIVMOY.mjs} +18 -18
- package/dist/{chunk-D6P5YDBJ.mjs → chunk-P5E3PNHW.mjs} +5 -5
- package/dist/components/index.js +23 -23
- package/dist/components/index.mjs +2 -2
- package/dist/components/progress.d.ts +19 -19
- package/dist/components/progress.js +18 -18
- package/dist/components/progress.mjs +1 -1
- package/dist/components/skeleton.js +5 -5
- package/dist/components/skeleton.mjs +1 -1
- package/dist/index.js +23 -23
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -8,27 +8,27 @@ var progress = tv(
|
|
|
8
8
|
labelWrapper: "flex justify-between",
|
|
9
9
|
value: "",
|
|
10
10
|
track: "z-0 relative bg-default-300/50 overflow-hidden",
|
|
11
|
-
|
|
11
|
+
indicator: "h-full"
|
|
12
12
|
},
|
|
13
13
|
variants: {
|
|
14
14
|
color: {
|
|
15
15
|
default: {
|
|
16
|
-
|
|
16
|
+
indicator: "bg-default-400"
|
|
17
17
|
},
|
|
18
18
|
primary: {
|
|
19
|
-
|
|
19
|
+
indicator: "bg-primary"
|
|
20
20
|
},
|
|
21
21
|
secondary: {
|
|
22
|
-
|
|
22
|
+
indicator: "bg-secondary"
|
|
23
23
|
},
|
|
24
24
|
success: {
|
|
25
|
-
|
|
25
|
+
indicator: "bg-success"
|
|
26
26
|
},
|
|
27
27
|
warning: {
|
|
28
|
-
|
|
28
|
+
indicator: "bg-warning"
|
|
29
29
|
},
|
|
30
30
|
danger: {
|
|
31
|
-
|
|
31
|
+
indicator: "bg-danger"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
size: {
|
|
@@ -61,41 +61,41 @@ var progress = tv(
|
|
|
61
61
|
radius: {
|
|
62
62
|
none: {
|
|
63
63
|
track: "rounded-none",
|
|
64
|
-
|
|
64
|
+
indicator: "rounded-none"
|
|
65
65
|
},
|
|
66
66
|
base: {
|
|
67
67
|
track: "rounded",
|
|
68
|
-
|
|
68
|
+
indicator: "rounded"
|
|
69
69
|
},
|
|
70
70
|
sm: {
|
|
71
71
|
track: "rounded-sm",
|
|
72
|
-
|
|
72
|
+
indicator: "rounded-sm"
|
|
73
73
|
},
|
|
74
74
|
md: {
|
|
75
75
|
track: "rounded-md",
|
|
76
|
-
|
|
76
|
+
indicator: "rounded-md"
|
|
77
77
|
},
|
|
78
78
|
lg: {
|
|
79
79
|
track: "rounded-lg",
|
|
80
|
-
|
|
80
|
+
indicator: "rounded-lg"
|
|
81
81
|
},
|
|
82
82
|
xl: {
|
|
83
83
|
track: "rounded-xl",
|
|
84
|
-
|
|
84
|
+
indicator: "rounded-xl"
|
|
85
85
|
},
|
|
86
86
|
full: {
|
|
87
87
|
track: "rounded-full",
|
|
88
|
-
|
|
88
|
+
indicator: "rounded-full"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
isStriped: {
|
|
92
92
|
true: {
|
|
93
|
-
|
|
93
|
+
indicator: "bg-stripe-gradient bg-[length:1.25rem_1.25rem]"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
isIndeterminate: {
|
|
97
97
|
true: {
|
|
98
|
-
|
|
98
|
+
indicator: ["absolute", "w-full", "origin-left", "animate-indeterminate-bar"]
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
isDisabled: {
|
|
@@ -106,7 +106,7 @@ var progress = tv(
|
|
|
106
106
|
disableAnimation: {
|
|
107
107
|
true: {},
|
|
108
108
|
false: {
|
|
109
|
-
|
|
109
|
+
indicator: "transition-transform !duration-500"
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
},
|
|
@@ -124,7 +124,7 @@ var progress = tv(
|
|
|
124
124
|
disableAnimation: true,
|
|
125
125
|
isIndeterminate: false,
|
|
126
126
|
class: {
|
|
127
|
-
|
|
127
|
+
indicator: "!transition-none motion-reduce:transition-none"
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
]
|
|
@@ -5,16 +5,15 @@ var skeleton = tv({
|
|
|
5
5
|
base: [
|
|
6
6
|
"group",
|
|
7
7
|
"relative",
|
|
8
|
-
"space-y-5",
|
|
9
8
|
"overflow-hidden",
|
|
10
|
-
"bg-
|
|
9
|
+
"bg-content3 dark:bg-content2",
|
|
11
10
|
"before:opacity-100",
|
|
12
11
|
"before:absolute",
|
|
13
12
|
"before:inset-0",
|
|
14
13
|
"before:-translate-x-full",
|
|
15
14
|
"before:animate-[shimmer_2s_infinite]",
|
|
16
15
|
"before:border-t",
|
|
17
|
-
"before:border-content4/
|
|
16
|
+
"before:border-content4/30",
|
|
18
17
|
"before:bg-gradient-to-r",
|
|
19
18
|
"before:from-transparent",
|
|
20
19
|
"before:via-content4",
|
|
@@ -26,7 +25,8 @@ var skeleton = tv({
|
|
|
26
25
|
"after:-z-10",
|
|
27
26
|
"after:bg-content3",
|
|
28
27
|
"dark:after:bg-content2",
|
|
29
|
-
"data-[loaded=true]:
|
|
28
|
+
"data-[loaded=true]:bg-transparent",
|
|
29
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
30
30
|
"data-[loaded=true]:after:opacity-0"
|
|
31
31
|
],
|
|
32
32
|
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
@@ -38,7 +38,7 @@ var skeleton = tv({
|
|
|
38
38
|
content: "transition-none"
|
|
39
39
|
},
|
|
40
40
|
false: {
|
|
41
|
-
base: "before:transition-opacity before:!duration-300",
|
|
41
|
+
base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
|
|
42
42
|
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -3620,27 +3620,27 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3620
3620
|
labelWrapper: "flex justify-between",
|
|
3621
3621
|
value: "",
|
|
3622
3622
|
track: "z-0 relative bg-default-300/50 overflow-hidden",
|
|
3623
|
-
|
|
3623
|
+
indicator: "h-full"
|
|
3624
3624
|
},
|
|
3625
3625
|
variants: {
|
|
3626
3626
|
color: {
|
|
3627
3627
|
default: {
|
|
3628
|
-
|
|
3628
|
+
indicator: "bg-default-400"
|
|
3629
3629
|
},
|
|
3630
3630
|
primary: {
|
|
3631
|
-
|
|
3631
|
+
indicator: "bg-primary"
|
|
3632
3632
|
},
|
|
3633
3633
|
secondary: {
|
|
3634
|
-
|
|
3634
|
+
indicator: "bg-secondary"
|
|
3635
3635
|
},
|
|
3636
3636
|
success: {
|
|
3637
|
-
|
|
3637
|
+
indicator: "bg-success"
|
|
3638
3638
|
},
|
|
3639
3639
|
warning: {
|
|
3640
|
-
|
|
3640
|
+
indicator: "bg-warning"
|
|
3641
3641
|
},
|
|
3642
3642
|
danger: {
|
|
3643
|
-
|
|
3643
|
+
indicator: "bg-danger"
|
|
3644
3644
|
}
|
|
3645
3645
|
},
|
|
3646
3646
|
size: {
|
|
@@ -3673,41 +3673,41 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3673
3673
|
radius: {
|
|
3674
3674
|
none: {
|
|
3675
3675
|
track: "rounded-none",
|
|
3676
|
-
|
|
3676
|
+
indicator: "rounded-none"
|
|
3677
3677
|
},
|
|
3678
3678
|
base: {
|
|
3679
3679
|
track: "rounded",
|
|
3680
|
-
|
|
3680
|
+
indicator: "rounded"
|
|
3681
3681
|
},
|
|
3682
3682
|
sm: {
|
|
3683
3683
|
track: "rounded-sm",
|
|
3684
|
-
|
|
3684
|
+
indicator: "rounded-sm"
|
|
3685
3685
|
},
|
|
3686
3686
|
md: {
|
|
3687
3687
|
track: "rounded-md",
|
|
3688
|
-
|
|
3688
|
+
indicator: "rounded-md"
|
|
3689
3689
|
},
|
|
3690
3690
|
lg: {
|
|
3691
3691
|
track: "rounded-lg",
|
|
3692
|
-
|
|
3692
|
+
indicator: "rounded-lg"
|
|
3693
3693
|
},
|
|
3694
3694
|
xl: {
|
|
3695
3695
|
track: "rounded-xl",
|
|
3696
|
-
|
|
3696
|
+
indicator: "rounded-xl"
|
|
3697
3697
|
},
|
|
3698
3698
|
full: {
|
|
3699
3699
|
track: "rounded-full",
|
|
3700
|
-
|
|
3700
|
+
indicator: "rounded-full"
|
|
3701
3701
|
}
|
|
3702
3702
|
},
|
|
3703
3703
|
isStriped: {
|
|
3704
3704
|
true: {
|
|
3705
|
-
|
|
3705
|
+
indicator: "bg-stripe-gradient bg-[length:1.25rem_1.25rem]"
|
|
3706
3706
|
}
|
|
3707
3707
|
},
|
|
3708
3708
|
isIndeterminate: {
|
|
3709
3709
|
true: {
|
|
3710
|
-
|
|
3710
|
+
indicator: ["absolute", "w-full", "origin-left", "animate-indeterminate-bar"]
|
|
3711
3711
|
}
|
|
3712
3712
|
},
|
|
3713
3713
|
isDisabled: {
|
|
@@ -3718,7 +3718,7 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3718
3718
|
disableAnimation: {
|
|
3719
3719
|
true: {},
|
|
3720
3720
|
false: {
|
|
3721
|
-
|
|
3721
|
+
indicator: "transition-transform !duration-500"
|
|
3722
3722
|
}
|
|
3723
3723
|
}
|
|
3724
3724
|
},
|
|
@@ -3736,7 +3736,7 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3736
3736
|
disableAnimation: true,
|
|
3737
3737
|
isIndeterminate: false,
|
|
3738
3738
|
class: {
|
|
3739
|
-
|
|
3739
|
+
indicator: "!transition-none motion-reduce:transition-none"
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
3742
|
]
|
|
@@ -6200,16 +6200,15 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6200
6200
|
base: [
|
|
6201
6201
|
"group",
|
|
6202
6202
|
"relative",
|
|
6203
|
-
"space-y-5",
|
|
6204
6203
|
"overflow-hidden",
|
|
6205
|
-
"bg-
|
|
6204
|
+
"bg-content3 dark:bg-content2",
|
|
6206
6205
|
"before:opacity-100",
|
|
6207
6206
|
"before:absolute",
|
|
6208
6207
|
"before:inset-0",
|
|
6209
6208
|
"before:-translate-x-full",
|
|
6210
6209
|
"before:animate-[shimmer_2s_infinite]",
|
|
6211
6210
|
"before:border-t",
|
|
6212
|
-
"before:border-content4/
|
|
6211
|
+
"before:border-content4/30",
|
|
6213
6212
|
"before:bg-gradient-to-r",
|
|
6214
6213
|
"before:from-transparent",
|
|
6215
6214
|
"before:via-content4",
|
|
@@ -6221,7 +6220,8 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6221
6220
|
"after:-z-10",
|
|
6222
6221
|
"after:bg-content3",
|
|
6223
6222
|
"dark:after:bg-content2",
|
|
6224
|
-
"data-[loaded=true]:
|
|
6223
|
+
"data-[loaded=true]:bg-transparent",
|
|
6224
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
6225
6225
|
"data-[loaded=true]:after:opacity-0"
|
|
6226
6226
|
],
|
|
6227
6227
|
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
@@ -6233,7 +6233,7 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6233
6233
|
content: "transition-none"
|
|
6234
6234
|
},
|
|
6235
6235
|
false: {
|
|
6236
|
-
base: "before:transition-opacity before:!duration-300",
|
|
6236
|
+
base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
|
|
6237
6237
|
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
6238
6238
|
}
|
|
6239
6239
|
}
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
} from "../chunk-T23JC6II.mjs";
|
|
14
14
|
import {
|
|
15
15
|
progress
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-BHHIVMOY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
radio,
|
|
19
19
|
radioGroup
|
|
20
20
|
} from "../chunk-W36MFWI6.mjs";
|
|
21
21
|
import {
|
|
22
22
|
skeleton
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-P5E3PNHW.mjs";
|
|
24
24
|
import {
|
|
25
25
|
snippet
|
|
26
26
|
} from "../chunk-AWAXOLMA.mjs";
|
|
@@ -6,7 +6,7 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```js
|
|
9
|
-
* const {base, labelWrapper, label, value, track,
|
|
9
|
+
* const {base, labelWrapper, label, value, track, indicator} = progress({...})
|
|
10
10
|
*
|
|
11
11
|
* <div className={base()} aria-label="progress" role="progressbar" aria-valuenow={value} aria-valuemin={min} aria-valuemax={max}>
|
|
12
12
|
* <div className={labelWrapper()}>
|
|
@@ -14,7 +14,7 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
14
14
|
* <span className={value()}>{value}</span>
|
|
15
15
|
* </div>
|
|
16
16
|
* <div className={track()}>
|
|
17
|
-
* <div className={
|
|
17
|
+
* <div className={indicator()} style={{width: `${value}%`}} />
|
|
18
18
|
* </div>
|
|
19
19
|
* </div>
|
|
20
20
|
* ```
|
|
@@ -22,22 +22,22 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
22
22
|
declare const progress: tailwind_variants.TVReturnType<{
|
|
23
23
|
color: {
|
|
24
24
|
default: {
|
|
25
|
-
|
|
25
|
+
indicator: string;
|
|
26
26
|
};
|
|
27
27
|
primary: {
|
|
28
|
-
|
|
28
|
+
indicator: string;
|
|
29
29
|
};
|
|
30
30
|
secondary: {
|
|
31
|
-
|
|
31
|
+
indicator: string;
|
|
32
32
|
};
|
|
33
33
|
success: {
|
|
34
|
-
|
|
34
|
+
indicator: string;
|
|
35
35
|
};
|
|
36
36
|
warning: {
|
|
37
|
-
|
|
37
|
+
indicator: string;
|
|
38
38
|
};
|
|
39
39
|
danger: {
|
|
40
|
-
|
|
40
|
+
indicator: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
@@ -70,41 +70,41 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
70
70
|
radius: {
|
|
71
71
|
none: {
|
|
72
72
|
track: string;
|
|
73
|
-
|
|
73
|
+
indicator: string;
|
|
74
74
|
};
|
|
75
75
|
base: {
|
|
76
76
|
track: string;
|
|
77
|
-
|
|
77
|
+
indicator: string;
|
|
78
78
|
};
|
|
79
79
|
sm: {
|
|
80
80
|
track: string;
|
|
81
|
-
|
|
81
|
+
indicator: string;
|
|
82
82
|
};
|
|
83
83
|
md: {
|
|
84
84
|
track: string;
|
|
85
|
-
|
|
85
|
+
indicator: string;
|
|
86
86
|
};
|
|
87
87
|
lg: {
|
|
88
88
|
track: string;
|
|
89
|
-
|
|
89
|
+
indicator: string;
|
|
90
90
|
};
|
|
91
91
|
xl: {
|
|
92
92
|
track: string;
|
|
93
|
-
|
|
93
|
+
indicator: string;
|
|
94
94
|
};
|
|
95
95
|
full: {
|
|
96
96
|
track: string;
|
|
97
|
-
|
|
97
|
+
indicator: string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
isStriped: {
|
|
101
101
|
true: {
|
|
102
|
-
|
|
102
|
+
indicator: string;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
isIndeterminate: {
|
|
106
106
|
true: {
|
|
107
|
-
|
|
107
|
+
indicator: string[];
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
isDisabled: {
|
|
@@ -115,7 +115,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
115
115
|
disableAnimation: {
|
|
116
116
|
true: {};
|
|
117
117
|
false: {
|
|
118
|
-
|
|
118
|
+
indicator: string;
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
}, unknown, {
|
|
@@ -124,7 +124,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
124
124
|
labelWrapper: string;
|
|
125
125
|
value: string;
|
|
126
126
|
track: string;
|
|
127
|
-
|
|
127
|
+
indicator: string;
|
|
128
128
|
}, undefined, undefined, {
|
|
129
129
|
twMerge: false;
|
|
130
130
|
}>;
|
|
@@ -32,27 +32,27 @@ var progress = (0, import_tailwind_variants.tv)(
|
|
|
32
32
|
labelWrapper: "flex justify-between",
|
|
33
33
|
value: "",
|
|
34
34
|
track: "z-0 relative bg-default-300/50 overflow-hidden",
|
|
35
|
-
|
|
35
|
+
indicator: "h-full"
|
|
36
36
|
},
|
|
37
37
|
variants: {
|
|
38
38
|
color: {
|
|
39
39
|
default: {
|
|
40
|
-
|
|
40
|
+
indicator: "bg-default-400"
|
|
41
41
|
},
|
|
42
42
|
primary: {
|
|
43
|
-
|
|
43
|
+
indicator: "bg-primary"
|
|
44
44
|
},
|
|
45
45
|
secondary: {
|
|
46
|
-
|
|
46
|
+
indicator: "bg-secondary"
|
|
47
47
|
},
|
|
48
48
|
success: {
|
|
49
|
-
|
|
49
|
+
indicator: "bg-success"
|
|
50
50
|
},
|
|
51
51
|
warning: {
|
|
52
|
-
|
|
52
|
+
indicator: "bg-warning"
|
|
53
53
|
},
|
|
54
54
|
danger: {
|
|
55
|
-
|
|
55
|
+
indicator: "bg-danger"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
size: {
|
|
@@ -85,41 +85,41 @@ var progress = (0, import_tailwind_variants.tv)(
|
|
|
85
85
|
radius: {
|
|
86
86
|
none: {
|
|
87
87
|
track: "rounded-none",
|
|
88
|
-
|
|
88
|
+
indicator: "rounded-none"
|
|
89
89
|
},
|
|
90
90
|
base: {
|
|
91
91
|
track: "rounded",
|
|
92
|
-
|
|
92
|
+
indicator: "rounded"
|
|
93
93
|
},
|
|
94
94
|
sm: {
|
|
95
95
|
track: "rounded-sm",
|
|
96
|
-
|
|
96
|
+
indicator: "rounded-sm"
|
|
97
97
|
},
|
|
98
98
|
md: {
|
|
99
99
|
track: "rounded-md",
|
|
100
|
-
|
|
100
|
+
indicator: "rounded-md"
|
|
101
101
|
},
|
|
102
102
|
lg: {
|
|
103
103
|
track: "rounded-lg",
|
|
104
|
-
|
|
104
|
+
indicator: "rounded-lg"
|
|
105
105
|
},
|
|
106
106
|
xl: {
|
|
107
107
|
track: "rounded-xl",
|
|
108
|
-
|
|
108
|
+
indicator: "rounded-xl"
|
|
109
109
|
},
|
|
110
110
|
full: {
|
|
111
111
|
track: "rounded-full",
|
|
112
|
-
|
|
112
|
+
indicator: "rounded-full"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
isStriped: {
|
|
116
116
|
true: {
|
|
117
|
-
|
|
117
|
+
indicator: "bg-stripe-gradient bg-[length:1.25rem_1.25rem]"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
isIndeterminate: {
|
|
121
121
|
true: {
|
|
122
|
-
|
|
122
|
+
indicator: ["absolute", "w-full", "origin-left", "animate-indeterminate-bar"]
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
isDisabled: {
|
|
@@ -130,7 +130,7 @@ var progress = (0, import_tailwind_variants.tv)(
|
|
|
130
130
|
disableAnimation: {
|
|
131
131
|
true: {},
|
|
132
132
|
false: {
|
|
133
|
-
|
|
133
|
+
indicator: "transition-transform !duration-500"
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
},
|
|
@@ -148,7 +148,7 @@ var progress = (0, import_tailwind_variants.tv)(
|
|
|
148
148
|
disableAnimation: true,
|
|
149
149
|
isIndeterminate: false,
|
|
150
150
|
class: {
|
|
151
|
-
|
|
151
|
+
indicator: "!transition-none motion-reduce:transition-none"
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
]
|
|
@@ -29,16 +29,15 @@ var skeleton = (0, import_tailwind_variants.tv)({
|
|
|
29
29
|
base: [
|
|
30
30
|
"group",
|
|
31
31
|
"relative",
|
|
32
|
-
"space-y-5",
|
|
33
32
|
"overflow-hidden",
|
|
34
|
-
"bg-
|
|
33
|
+
"bg-content3 dark:bg-content2",
|
|
35
34
|
"before:opacity-100",
|
|
36
35
|
"before:absolute",
|
|
37
36
|
"before:inset-0",
|
|
38
37
|
"before:-translate-x-full",
|
|
39
38
|
"before:animate-[shimmer_2s_infinite]",
|
|
40
39
|
"before:border-t",
|
|
41
|
-
"before:border-content4/
|
|
40
|
+
"before:border-content4/30",
|
|
42
41
|
"before:bg-gradient-to-r",
|
|
43
42
|
"before:from-transparent",
|
|
44
43
|
"before:via-content4",
|
|
@@ -50,7 +49,8 @@ var skeleton = (0, import_tailwind_variants.tv)({
|
|
|
50
49
|
"after:-z-10",
|
|
51
50
|
"after:bg-content3",
|
|
52
51
|
"dark:after:bg-content2",
|
|
53
|
-
"data-[loaded=true]:
|
|
52
|
+
"data-[loaded=true]:bg-transparent",
|
|
53
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
54
54
|
"data-[loaded=true]:after:opacity-0"
|
|
55
55
|
],
|
|
56
56
|
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
@@ -62,7 +62,7 @@ var skeleton = (0, import_tailwind_variants.tv)({
|
|
|
62
62
|
content: "transition-none"
|
|
63
63
|
},
|
|
64
64
|
false: {
|
|
65
|
-
base: "before:transition-opacity before:!duration-300",
|
|
65
|
+
base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
|
|
66
66
|
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
67
67
|
}
|
|
68
68
|
}
|
package/dist/index.js
CHANGED
|
@@ -3652,27 +3652,27 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3652
3652
|
labelWrapper: "flex justify-between",
|
|
3653
3653
|
value: "",
|
|
3654
3654
|
track: "z-0 relative bg-default-300/50 overflow-hidden",
|
|
3655
|
-
|
|
3655
|
+
indicator: "h-full"
|
|
3656
3656
|
},
|
|
3657
3657
|
variants: {
|
|
3658
3658
|
color: {
|
|
3659
3659
|
default: {
|
|
3660
|
-
|
|
3660
|
+
indicator: "bg-default-400"
|
|
3661
3661
|
},
|
|
3662
3662
|
primary: {
|
|
3663
|
-
|
|
3663
|
+
indicator: "bg-primary"
|
|
3664
3664
|
},
|
|
3665
3665
|
secondary: {
|
|
3666
|
-
|
|
3666
|
+
indicator: "bg-secondary"
|
|
3667
3667
|
},
|
|
3668
3668
|
success: {
|
|
3669
|
-
|
|
3669
|
+
indicator: "bg-success"
|
|
3670
3670
|
},
|
|
3671
3671
|
warning: {
|
|
3672
|
-
|
|
3672
|
+
indicator: "bg-warning"
|
|
3673
3673
|
},
|
|
3674
3674
|
danger: {
|
|
3675
|
-
|
|
3675
|
+
indicator: "bg-danger"
|
|
3676
3676
|
}
|
|
3677
3677
|
},
|
|
3678
3678
|
size: {
|
|
@@ -3705,41 +3705,41 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3705
3705
|
radius: {
|
|
3706
3706
|
none: {
|
|
3707
3707
|
track: "rounded-none",
|
|
3708
|
-
|
|
3708
|
+
indicator: "rounded-none"
|
|
3709
3709
|
},
|
|
3710
3710
|
base: {
|
|
3711
3711
|
track: "rounded",
|
|
3712
|
-
|
|
3712
|
+
indicator: "rounded"
|
|
3713
3713
|
},
|
|
3714
3714
|
sm: {
|
|
3715
3715
|
track: "rounded-sm",
|
|
3716
|
-
|
|
3716
|
+
indicator: "rounded-sm"
|
|
3717
3717
|
},
|
|
3718
3718
|
md: {
|
|
3719
3719
|
track: "rounded-md",
|
|
3720
|
-
|
|
3720
|
+
indicator: "rounded-md"
|
|
3721
3721
|
},
|
|
3722
3722
|
lg: {
|
|
3723
3723
|
track: "rounded-lg",
|
|
3724
|
-
|
|
3724
|
+
indicator: "rounded-lg"
|
|
3725
3725
|
},
|
|
3726
3726
|
xl: {
|
|
3727
3727
|
track: "rounded-xl",
|
|
3728
|
-
|
|
3728
|
+
indicator: "rounded-xl"
|
|
3729
3729
|
},
|
|
3730
3730
|
full: {
|
|
3731
3731
|
track: "rounded-full",
|
|
3732
|
-
|
|
3732
|
+
indicator: "rounded-full"
|
|
3733
3733
|
}
|
|
3734
3734
|
},
|
|
3735
3735
|
isStriped: {
|
|
3736
3736
|
true: {
|
|
3737
|
-
|
|
3737
|
+
indicator: "bg-stripe-gradient bg-[length:1.25rem_1.25rem]"
|
|
3738
3738
|
}
|
|
3739
3739
|
},
|
|
3740
3740
|
isIndeterminate: {
|
|
3741
3741
|
true: {
|
|
3742
|
-
|
|
3742
|
+
indicator: ["absolute", "w-full", "origin-left", "animate-indeterminate-bar"]
|
|
3743
3743
|
}
|
|
3744
3744
|
},
|
|
3745
3745
|
isDisabled: {
|
|
@@ -3750,7 +3750,7 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3750
3750
|
disableAnimation: {
|
|
3751
3751
|
true: {},
|
|
3752
3752
|
false: {
|
|
3753
|
-
|
|
3753
|
+
indicator: "transition-transform !duration-500"
|
|
3754
3754
|
}
|
|
3755
3755
|
}
|
|
3756
3756
|
},
|
|
@@ -3768,7 +3768,7 @@ var progress = (0, import_tailwind_variants18.tv)(
|
|
|
3768
3768
|
disableAnimation: true,
|
|
3769
3769
|
isIndeterminate: false,
|
|
3770
3770
|
class: {
|
|
3771
|
-
|
|
3771
|
+
indicator: "!transition-none motion-reduce:transition-none"
|
|
3772
3772
|
}
|
|
3773
3773
|
}
|
|
3774
3774
|
]
|
|
@@ -6232,16 +6232,15 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6232
6232
|
base: [
|
|
6233
6233
|
"group",
|
|
6234
6234
|
"relative",
|
|
6235
|
-
"space-y-5",
|
|
6236
6235
|
"overflow-hidden",
|
|
6237
|
-
"bg-
|
|
6236
|
+
"bg-content3 dark:bg-content2",
|
|
6238
6237
|
"before:opacity-100",
|
|
6239
6238
|
"before:absolute",
|
|
6240
6239
|
"before:inset-0",
|
|
6241
6240
|
"before:-translate-x-full",
|
|
6242
6241
|
"before:animate-[shimmer_2s_infinite]",
|
|
6243
6242
|
"before:border-t",
|
|
6244
|
-
"before:border-content4/
|
|
6243
|
+
"before:border-content4/30",
|
|
6245
6244
|
"before:bg-gradient-to-r",
|
|
6246
6245
|
"before:from-transparent",
|
|
6247
6246
|
"before:via-content4",
|
|
@@ -6253,7 +6252,8 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6253
6252
|
"after:-z-10",
|
|
6254
6253
|
"after:bg-content3",
|
|
6255
6254
|
"dark:after:bg-content2",
|
|
6256
|
-
"data-[loaded=true]:
|
|
6255
|
+
"data-[loaded=true]:bg-transparent",
|
|
6256
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
6257
6257
|
"data-[loaded=true]:after:opacity-0"
|
|
6258
6258
|
],
|
|
6259
6259
|
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
@@ -6265,7 +6265,7 @@ var skeleton = (0, import_tailwind_variants30.tv)({
|
|
|
6265
6265
|
content: "transition-none"
|
|
6266
6266
|
},
|
|
6267
6267
|
false: {
|
|
6268
|
-
base: "before:transition-opacity before:!duration-300",
|
|
6268
|
+
base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
|
|
6269
6269
|
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
6270
6270
|
}
|
|
6271
6271
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
} from "./chunk-T23JC6II.mjs";
|
|
14
14
|
import {
|
|
15
15
|
progress
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BHHIVMOY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
radio,
|
|
19
19
|
radioGroup
|
|
20
20
|
} from "./chunk-W36MFWI6.mjs";
|
|
21
21
|
import {
|
|
22
22
|
skeleton
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P5E3PNHW.mjs";
|
|
24
24
|
import {
|
|
25
25
|
snippet
|
|
26
26
|
} from "./chunk-AWAXOLMA.mjs";
|