@sytechui/theme 2.4.27 → 2.6.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/animations/index.d.mts +9 -0
- package/dist/animations/index.d.ts +9 -0
- package/dist/animations/index.js +9 -0
- package/dist/animations/index.mjs +1 -1
- package/dist/{chunk-Z65VJL4Y.mjs → chunk-27EH4573.mjs} +1 -1
- package/dist/{chunk-FQECQOZE.mjs → chunk-3PBT3W4C.mjs} +1 -1
- package/dist/{chunk-3L7WFLSH.mjs → chunk-4XFAHRMJ.mjs} +1 -1
- package/dist/{chunk-VDS6DP26.mjs → chunk-6Q4A5IGD.mjs} +1 -1
- package/dist/{chunk-NKYWOWNW.mjs → chunk-7CAOOET2.mjs} +1 -1
- package/dist/{chunk-TRZPE5UW.mjs → chunk-7MY46DKJ.mjs} +1 -1
- package/dist/{chunk-YLA7KS3I.mjs → chunk-AI6SQS6Z.mjs} +182 -2
- package/dist/{chunk-WDM42WDU.mjs → chunk-CBIC7UDL.mjs} +5 -5
- package/dist/{chunk-SGV526OS.mjs → chunk-CR7SUL27.mjs} +1 -1
- package/dist/chunk-FJOYYPB2.mjs +42 -0
- package/dist/{chunk-FUKRIH5Z.mjs → chunk-GXDNTAQH.mjs} +1 -1
- package/dist/{chunk-4V3RQUZU.mjs → chunk-GYRKKQKN.mjs} +1 -1
- package/dist/{chunk-5PWGYVAP.mjs → chunk-HRULT2QB.mjs} +1 -1
- package/dist/{chunk-EJDFNA7Y.mjs → chunk-K6X3VPO4.mjs} +1 -1
- package/dist/chunk-LV6ZC7XH.mjs +31 -0
- package/dist/{chunk-QQVGHMSD.mjs → chunk-M5F7VFZT.mjs} +1 -1
- package/dist/{chunk-E34EWEJV.mjs → chunk-OBSH26UE.mjs} +1 -1
- package/dist/{chunk-YW4DIYUX.mjs → chunk-P2SWF4YK.mjs} +1 -1
- package/dist/{chunk-3INHRVXM.mjs → chunk-QU72GCNK.mjs} +1 -1
- package/dist/{chunk-NPGKX3MZ.mjs → chunk-RAC3PSZO.mjs} +1 -1
- package/dist/{chunk-HYWP3BX7.mjs → chunk-SLRWKURF.mjs} +9 -0
- package/dist/{chunk-JS2FQJMX.mjs → chunk-TYJNRAT2.mjs} +1 -1
- package/dist/{chunk-6US6AURX.mjs → chunk-UJC5GXOO.mjs} +11 -7
- package/dist/{chunk-SSU66MWA.mjs → chunk-XOVETH7K.mjs} +1 -1
- package/dist/components/accordion.js +41 -1
- package/dist/components/accordion.mjs +27 -25
- package/dist/components/alert.js +41 -1
- package/dist/components/alert.mjs +27 -25
- package/dist/components/autocomplete.js +41 -1
- package/dist/components/autocomplete.mjs +7 -6
- package/dist/components/avatar.js +41 -1
- package/dist/components/avatar.mjs +27 -25
- package/dist/components/badge.js +41 -1
- package/dist/components/badge.mjs +27 -25
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.js +463 -0
- package/dist/components/bottom-bar.mjs +53 -0
- package/dist/components/breadcrumbs.js +41 -1
- package/dist/components/breadcrumbs.mjs +27 -25
- package/dist/components/button.js +41 -1
- package/dist/components/button.mjs +27 -25
- package/dist/components/calendar.js +41 -1
- package/dist/components/calendar.mjs +27 -25
- package/dist/components/card.js +41 -1
- package/dist/components/card.mjs +27 -25
- package/dist/components/checkbox.js +41 -1
- package/dist/components/checkbox.mjs +27 -25
- package/dist/components/chip.js +41 -1
- package/dist/components/chip.mjs +27 -25
- package/dist/components/code.js +41 -1
- package/dist/components/code.mjs +27 -25
- package/dist/components/date-input.js +41 -1
- package/dist/components/date-input.mjs +7 -6
- package/dist/components/date-picker.js +41 -1
- package/dist/components/date-picker.mjs +7 -6
- package/dist/components/divider.js +41 -1
- package/dist/components/divider.mjs +7 -6
- package/dist/components/drawer.js +41 -1
- package/dist/components/drawer.mjs +7 -6
- package/dist/components/drip.js +41 -1
- package/dist/components/drip.mjs +7 -6
- package/dist/components/drop-zone.js +41 -1
- package/dist/components/drop-zone.mjs +27 -25
- package/dist/components/dropdown.js +41 -1
- package/dist/components/dropdown.mjs +27 -25
- package/dist/components/form.js +41 -1
- package/dist/components/form.mjs +7 -6
- package/dist/components/image.js +41 -1
- package/dist/components/image.mjs +7 -6
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +253 -1
- package/dist/components/index.mjs +41 -34
- package/dist/components/input-otp.js +41 -1
- package/dist/components/input-otp.mjs +27 -25
- package/dist/components/input.js +41 -1
- package/dist/components/input.mjs +27 -25
- package/dist/components/kbd.js +41 -1
- package/dist/components/kbd.mjs +7 -6
- package/dist/components/link.js +41 -1
- package/dist/components/link.mjs +27 -25
- package/dist/components/listbox.js +41 -1
- package/dist/components/listbox.mjs +27 -25
- package/dist/components/menu.js +41 -1
- package/dist/components/menu.mjs +27 -25
- package/dist/components/modal.js +41 -1
- package/dist/components/modal.mjs +27 -25
- package/dist/components/navbar.js +41 -1
- package/dist/components/navbar.mjs +27 -25
- package/dist/components/number-input.js +41 -1
- package/dist/components/number-input.mjs +27 -25
- package/dist/components/pagination.js +41 -1
- package/dist/components/pagination.mjs +27 -25
- package/dist/components/popover.js +41 -1
- package/dist/components/popover.mjs +27 -25
- package/dist/components/progress.js +41 -1
- package/dist/components/progress.mjs +7 -6
- package/dist/components/radio.js +41 -1
- package/dist/components/radio.mjs +27 -25
- package/dist/components/scroll-area.js +41 -1
- package/dist/components/scroll-area.mjs +7 -6
- package/dist/components/scroll-shadow.js +41 -1
- package/dist/components/scroll-shadow.mjs +7 -6
- package/dist/components/select.js +41 -1
- package/dist/components/select.mjs +27 -25
- package/dist/components/shimmer-text.d.mts +46 -0
- package/dist/components/shimmer-text.d.ts +46 -0
- package/dist/components/shimmer-text.js +301 -0
- package/dist/components/shimmer-text.mjs +15 -0
- package/dist/components/skeleton.js +41 -1
- package/dist/components/skeleton.mjs +7 -6
- package/dist/components/slider.js +41 -1
- package/dist/components/slider.mjs +27 -25
- package/dist/components/snippet.js +41 -1
- package/dist/components/snippet.mjs +27 -25
- package/dist/components/spacer.js +41 -1
- package/dist/components/spacer.mjs +7 -6
- package/dist/components/spinner.js +41 -1
- package/dist/components/spinner.mjs +7 -6
- package/dist/components/table.js +41 -1
- package/dist/components/table.mjs +27 -25
- package/dist/components/tabs.js +41 -1
- package/dist/components/tabs.mjs +27 -25
- package/dist/components/toast.js +41 -1
- package/dist/components/toast.mjs +27 -25
- package/dist/components/toggle.js +41 -1
- package/dist/components/toggle.mjs +27 -25
- package/dist/components/user.js +41 -1
- package/dist/components/user.mjs +27 -25
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +256 -1
- package/dist/index.mjs +41 -34
- package/dist/plugin.js +50 -1
- package/dist/plugin.mjs +7 -6
- package/dist/utilities/index.d.mts +38 -0
- package/dist/utilities/index.d.ts +38 -0
- package/dist/utilities/index.js +41 -1
- package/dist/utilities/index.mjs +4 -3
- package/dist/utilities/shimmer-text.d.mts +42 -0
- package/dist/utilities/shimmer-text.d.ts +42 -0
- package/dist/utilities/shimmer-text.js +62 -0
- package/dist/utilities/shimmer-text.mjs +6 -0
- package/dist/utils/cn.js +41 -1
- package/dist/utils/cn.mjs +6 -5
- package/dist/utils/index.js +41 -1
- package/dist/utils/index.mjs +27 -25
- package/dist/utils/merge-classes.js +41 -1
- package/dist/utils/merge-classes.mjs +27 -25
- package/dist/utils/tv.js +41 -1
- package/dist/utils/tv.mjs +6 -5
- package/dist/utils/tw-merge-config.js +41 -1
- package/dist/utils/tw-merge-config.mjs +5 -4
- package/package.json +1 -1
|
@@ -181,13 +181,53 @@ var animation_default = {
|
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
+
// src/utilities/shimmer-text.ts
|
|
185
|
+
var readableText = {
|
|
186
|
+
animation: "none !important",
|
|
187
|
+
"background-image": "none",
|
|
188
|
+
"-webkit-text-fill-color": "currentColor"
|
|
189
|
+
};
|
|
190
|
+
var shimmer_text_default = {
|
|
191
|
+
".sytech-shimmer-text": {
|
|
192
|
+
color: "currentColor",
|
|
193
|
+
"--shimmer-angle": "20deg",
|
|
194
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
195
|
+
"--shimmer-iteration": "infinite",
|
|
196
|
+
"--shimmer-direction": "normal",
|
|
197
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
198
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
199
|
+
"background-repeat": "no-repeat",
|
|
200
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
201
|
+
"background-position": "100% 0",
|
|
202
|
+
"background-clip": "text",
|
|
203
|
+
"-webkit-background-clip": "text",
|
|
204
|
+
"-webkit-text-fill-color": "transparent"
|
|
205
|
+
},
|
|
206
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
207
|
+
"--shimmer-direction": "reverse"
|
|
208
|
+
},
|
|
209
|
+
"&.sytech-shimmer-text-reverse": {
|
|
210
|
+
"--shimmer-direction": "reverse"
|
|
211
|
+
},
|
|
212
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
213
|
+
"--shimmer-direction": "normal"
|
|
214
|
+
},
|
|
215
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
216
|
+
},
|
|
217
|
+
".sytech-shimmer-text-once": {
|
|
218
|
+
"--shimmer-iteration": "1"
|
|
219
|
+
},
|
|
220
|
+
".sytech-shimmer-text-disabled": readableText
|
|
221
|
+
};
|
|
222
|
+
|
|
184
223
|
// src/utilities/index.ts
|
|
185
224
|
var utilities = {
|
|
186
225
|
...custom_default,
|
|
187
226
|
...transition_default,
|
|
188
227
|
...scrollbar_hide_default,
|
|
189
228
|
...text_default,
|
|
190
|
-
...animation_default
|
|
229
|
+
...animation_default,
|
|
230
|
+
...shimmer_text_default
|
|
191
231
|
};
|
|
192
232
|
|
|
193
233
|
// src/utils/tw-merge-config.ts
|
|
@@ -3,35 +3,37 @@ import {
|
|
|
3
3
|
dropdownItem,
|
|
4
4
|
dropdownMenu,
|
|
5
5
|
dropdownSection
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-AI6SQS6Z.mjs";
|
|
7
7
|
import "../chunk-GQT3YUX3.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-P2SWF4YK.mjs";
|
|
9
|
+
import "../chunk-LV6ZC7XH.mjs";
|
|
10
|
+
import "../chunk-27EH4573.mjs";
|
|
11
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
12
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
13
|
+
import "../chunk-7CAOOET2.mjs";
|
|
14
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
15
|
+
import "../chunk-CR7SUL27.mjs";
|
|
16
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
17
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
18
|
+
import "../chunk-XOVETH7K.mjs";
|
|
19
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
20
|
+
import "../chunk-OBSH26UE.mjs";
|
|
21
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
22
|
+
import "../chunk-HRULT2QB.mjs";
|
|
23
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
24
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
25
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
26
|
+
import "../chunk-QU72GCNK.mjs";
|
|
27
|
+
import "../chunk-CBIC7UDL.mjs";
|
|
28
28
|
import "../chunk-D2XMP2NC.mjs";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-JGY6VQQQ.mjs";
|
|
30
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
31
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
32
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
33
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
30
34
|
import "../chunk-AWXUGVFR.mjs";
|
|
31
35
|
import "../chunk-MPVWW3DX.mjs";
|
|
32
36
|
import "../chunk-WH6SPIFG.mjs";
|
|
33
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
34
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
35
37
|
import "../chunk-WQEDQHKX.mjs";
|
|
36
38
|
import "../chunk-CPSLANMP.mjs";
|
|
37
39
|
import "../chunk-FFKHVGFX.mjs";
|
|
@@ -39,7 +41,7 @@ import "../chunk-5ICJA2GK.mjs";
|
|
|
39
41
|
import "../chunk-M63AFAHO.mjs";
|
|
40
42
|
import "../chunk-HUBDRSA4.mjs";
|
|
41
43
|
import "../chunk-WBQAMGXK.mjs";
|
|
42
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-SLRWKURF.mjs";
|
|
43
45
|
import "../chunk-IAS3SFA4.mjs";
|
|
44
46
|
import "../chunk-JUEOCLA3.mjs";
|
|
45
47
|
import "../chunk-3LKKH4AR.mjs";
|
package/dist/components/form.js
CHANGED
|
@@ -178,13 +178,53 @@ var animation_default = {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
+
// src/utilities/shimmer-text.ts
|
|
182
|
+
var readableText = {
|
|
183
|
+
animation: "none !important",
|
|
184
|
+
"background-image": "none",
|
|
185
|
+
"-webkit-text-fill-color": "currentColor"
|
|
186
|
+
};
|
|
187
|
+
var shimmer_text_default = {
|
|
188
|
+
".sytech-shimmer-text": {
|
|
189
|
+
color: "currentColor",
|
|
190
|
+
"--shimmer-angle": "20deg",
|
|
191
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
192
|
+
"--shimmer-iteration": "infinite",
|
|
193
|
+
"--shimmer-direction": "normal",
|
|
194
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
195
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
196
|
+
"background-repeat": "no-repeat",
|
|
197
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
198
|
+
"background-position": "100% 0",
|
|
199
|
+
"background-clip": "text",
|
|
200
|
+
"-webkit-background-clip": "text",
|
|
201
|
+
"-webkit-text-fill-color": "transparent"
|
|
202
|
+
},
|
|
203
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
204
|
+
"--shimmer-direction": "reverse"
|
|
205
|
+
},
|
|
206
|
+
"&.sytech-shimmer-text-reverse": {
|
|
207
|
+
"--shimmer-direction": "reverse"
|
|
208
|
+
},
|
|
209
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
210
|
+
"--shimmer-direction": "normal"
|
|
211
|
+
},
|
|
212
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
213
|
+
},
|
|
214
|
+
".sytech-shimmer-text-once": {
|
|
215
|
+
"--shimmer-iteration": "1"
|
|
216
|
+
},
|
|
217
|
+
".sytech-shimmer-text-disabled": readableText
|
|
218
|
+
};
|
|
219
|
+
|
|
181
220
|
// src/utilities/index.ts
|
|
182
221
|
var utilities = {
|
|
183
222
|
...custom_default,
|
|
184
223
|
...transition_default,
|
|
185
224
|
...scrollbar_hide_default,
|
|
186
225
|
...text_default,
|
|
187
|
-
...animation_default
|
|
226
|
+
...animation_default,
|
|
227
|
+
...shimmer_text_default
|
|
188
228
|
};
|
|
189
229
|
|
|
190
230
|
// src/utils/tw-merge-config.ts
|
package/dist/components/form.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-K6X3VPO4.mjs";
|
|
4
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
5
|
+
import "../chunk-QU72GCNK.mjs";
|
|
6
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
7
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
8
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
9
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
7
10
|
import "../chunk-AWXUGVFR.mjs";
|
|
8
11
|
import "../chunk-MPVWW3DX.mjs";
|
|
9
12
|
import "../chunk-WH6SPIFG.mjs";
|
|
10
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
11
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
12
13
|
export {
|
|
13
14
|
form
|
|
14
15
|
};
|
package/dist/components/image.js
CHANGED
|
@@ -178,13 +178,53 @@ var animation_default = {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
+
// src/utilities/shimmer-text.ts
|
|
182
|
+
var readableText = {
|
|
183
|
+
animation: "none !important",
|
|
184
|
+
"background-image": "none",
|
|
185
|
+
"-webkit-text-fill-color": "currentColor"
|
|
186
|
+
};
|
|
187
|
+
var shimmer_text_default = {
|
|
188
|
+
".sytech-shimmer-text": {
|
|
189
|
+
color: "currentColor",
|
|
190
|
+
"--shimmer-angle": "20deg",
|
|
191
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
192
|
+
"--shimmer-iteration": "infinite",
|
|
193
|
+
"--shimmer-direction": "normal",
|
|
194
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
195
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
196
|
+
"background-repeat": "no-repeat",
|
|
197
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
198
|
+
"background-position": "100% 0",
|
|
199
|
+
"background-clip": "text",
|
|
200
|
+
"-webkit-background-clip": "text",
|
|
201
|
+
"-webkit-text-fill-color": "transparent"
|
|
202
|
+
},
|
|
203
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
204
|
+
"--shimmer-direction": "reverse"
|
|
205
|
+
},
|
|
206
|
+
"&.sytech-shimmer-text-reverse": {
|
|
207
|
+
"--shimmer-direction": "reverse"
|
|
208
|
+
},
|
|
209
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
210
|
+
"--shimmer-direction": "normal"
|
|
211
|
+
},
|
|
212
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
213
|
+
},
|
|
214
|
+
".sytech-shimmer-text-once": {
|
|
215
|
+
"--shimmer-iteration": "1"
|
|
216
|
+
},
|
|
217
|
+
".sytech-shimmer-text-disabled": readableText
|
|
218
|
+
};
|
|
219
|
+
|
|
181
220
|
// src/utilities/index.ts
|
|
182
221
|
var utilities = {
|
|
183
222
|
...custom_default,
|
|
184
223
|
...transition_default,
|
|
185
224
|
...scrollbar_hide_default,
|
|
186
225
|
...text_default,
|
|
187
|
-
...animation_default
|
|
226
|
+
...animation_default,
|
|
227
|
+
...shimmer_text_default
|
|
188
228
|
};
|
|
189
229
|
|
|
190
230
|
// src/utils/tw-merge-config.ts
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
image
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HRULT2QB.mjs";
|
|
4
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
5
|
+
import "../chunk-QU72GCNK.mjs";
|
|
6
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
7
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
8
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
9
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
7
10
|
import "../chunk-AWXUGVFR.mjs";
|
|
8
11
|
import "../chunk-MPVWW3DX.mjs";
|
|
9
12
|
import "../chunk-WH6SPIFG.mjs";
|
|
10
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
11
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
12
13
|
export {
|
|
13
14
|
image
|
|
14
15
|
};
|
|
@@ -10,6 +10,7 @@ export { PopoverSlots, PopoverVariantProps, popover } from './popover.mjs';
|
|
|
10
10
|
export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.mjs';
|
|
11
11
|
export { ChipSlots, ChipVariantProps, chip } from './chip.mjs';
|
|
12
12
|
export { BadgeSlots, BadgeVariantProps, badge } from './badge.mjs';
|
|
13
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './bottom-bar.mjs';
|
|
13
14
|
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.mjs';
|
|
14
15
|
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.mjs';
|
|
15
16
|
export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.mjs';
|
|
@@ -29,6 +30,7 @@ export { DividerVariantProps, divider } from './divider.mjs';
|
|
|
29
30
|
export { KbdSlots, KbdVariantProps, kbd } from './kbd.mjs';
|
|
30
31
|
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.mjs';
|
|
31
32
|
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.mjs';
|
|
33
|
+
export { ShimmerTextVariantProps, shimmerText } from './shimmer-text.mjs';
|
|
32
34
|
export { SelectSlots, SelectVariantProps, select } from './select.mjs';
|
|
33
35
|
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.mjs';
|
|
34
36
|
export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.mjs';
|
|
@@ -10,6 +10,7 @@ export { PopoverSlots, PopoverVariantProps, popover } from './popover.js';
|
|
|
10
10
|
export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.js';
|
|
11
11
|
export { ChipSlots, ChipVariantProps, chip } from './chip.js';
|
|
12
12
|
export { BadgeSlots, BadgeVariantProps, badge } from './badge.js';
|
|
13
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './bottom-bar.js';
|
|
13
14
|
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.js';
|
|
14
15
|
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.js';
|
|
15
16
|
export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.js';
|
|
@@ -29,6 +30,7 @@ export { DividerVariantProps, divider } from './divider.js';
|
|
|
29
30
|
export { KbdSlots, KbdVariantProps, kbd } from './kbd.js';
|
|
30
31
|
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.js';
|
|
31
32
|
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.js';
|
|
33
|
+
export { ShimmerTextVariantProps, shimmerText } from './shimmer-text.js';
|
|
32
34
|
export { SelectSlots, SelectVariantProps, select } from './select.js';
|
|
33
35
|
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.js';
|
|
34
36
|
export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.js';
|
package/dist/components/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(components_exports, {
|
|
|
27
27
|
avatar: () => avatar,
|
|
28
28
|
avatarGroup: () => avatarGroup,
|
|
29
29
|
badge: () => badge,
|
|
30
|
+
bottomBar: () => bottomBar,
|
|
30
31
|
breadcrumbItem: () => breadcrumbItem,
|
|
31
32
|
breadcrumbs: () => breadcrumbs,
|
|
32
33
|
button: () => button,
|
|
@@ -73,6 +74,7 @@ __export(components_exports, {
|
|
|
73
74
|
scrollArea: () => scrollArea,
|
|
74
75
|
scrollShadow: () => scrollShadow,
|
|
75
76
|
select: () => select,
|
|
77
|
+
shimmerText: () => shimmerText,
|
|
76
78
|
skeleton: () => skeleton,
|
|
77
79
|
slider: () => slider,
|
|
78
80
|
snippet: () => snippet,
|
|
@@ -241,13 +243,53 @@ var animation_default = {
|
|
|
241
243
|
}
|
|
242
244
|
};
|
|
243
245
|
|
|
246
|
+
// src/utilities/shimmer-text.ts
|
|
247
|
+
var readableText = {
|
|
248
|
+
animation: "none !important",
|
|
249
|
+
"background-image": "none",
|
|
250
|
+
"-webkit-text-fill-color": "currentColor"
|
|
251
|
+
};
|
|
252
|
+
var shimmer_text_default = {
|
|
253
|
+
".sytech-shimmer-text": {
|
|
254
|
+
color: "currentColor",
|
|
255
|
+
"--shimmer-angle": "20deg",
|
|
256
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
257
|
+
"--shimmer-iteration": "infinite",
|
|
258
|
+
"--shimmer-direction": "normal",
|
|
259
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
260
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
261
|
+
"background-repeat": "no-repeat",
|
|
262
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
263
|
+
"background-position": "100% 0",
|
|
264
|
+
"background-clip": "text",
|
|
265
|
+
"-webkit-background-clip": "text",
|
|
266
|
+
"-webkit-text-fill-color": "transparent"
|
|
267
|
+
},
|
|
268
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
269
|
+
"--shimmer-direction": "reverse"
|
|
270
|
+
},
|
|
271
|
+
"&.sytech-shimmer-text-reverse": {
|
|
272
|
+
"--shimmer-direction": "reverse"
|
|
273
|
+
},
|
|
274
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
275
|
+
"--shimmer-direction": "normal"
|
|
276
|
+
},
|
|
277
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
278
|
+
},
|
|
279
|
+
".sytech-shimmer-text-once": {
|
|
280
|
+
"--shimmer-iteration": "1"
|
|
281
|
+
},
|
|
282
|
+
".sytech-shimmer-text-disabled": readableText
|
|
283
|
+
};
|
|
284
|
+
|
|
244
285
|
// src/utilities/index.ts
|
|
245
286
|
var utilities = {
|
|
246
287
|
...custom_default,
|
|
247
288
|
...transition_default,
|
|
248
289
|
...scrollbar_hide_default,
|
|
249
290
|
...text_default,
|
|
250
|
-
...animation_default
|
|
291
|
+
...animation_default,
|
|
292
|
+
...shimmer_text_default
|
|
251
293
|
};
|
|
252
294
|
|
|
253
295
|
// src/utils/tw-merge-config.ts
|
|
@@ -296,6 +338,12 @@ var tv = (options, config) => {
|
|
|
296
338
|
};
|
|
297
339
|
|
|
298
340
|
// src/utils/classes.ts
|
|
341
|
+
var focusVisibleClasses = [
|
|
342
|
+
"focus-visible:z-10",
|
|
343
|
+
"focus-visible:outline-2",
|
|
344
|
+
"focus-visible:outline-focus",
|
|
345
|
+
"focus-visible:outline-offset-2"
|
|
346
|
+
];
|
|
299
347
|
var dataFocusVisibleClasses = [
|
|
300
348
|
"outline-solid outline-transparent",
|
|
301
349
|
"data-[focus-visible=true]:z-10",
|
|
@@ -2980,6 +3028,184 @@ var badge = tv({
|
|
|
2980
3028
|
]
|
|
2981
3029
|
});
|
|
2982
3030
|
|
|
3031
|
+
// src/components/bottom-bar.ts
|
|
3032
|
+
var bottomBar = tv({
|
|
3033
|
+
slots: {
|
|
3034
|
+
base: ["z-50", "flex", "w-full", "pointer-events-none", "justify-center", "px-3"],
|
|
3035
|
+
list: [
|
|
3036
|
+
"relative",
|
|
3037
|
+
"flex",
|
|
3038
|
+
"w-full",
|
|
3039
|
+
"max-w-md",
|
|
3040
|
+
"items-center",
|
|
3041
|
+
"justify-around",
|
|
3042
|
+
"overflow-visible",
|
|
3043
|
+
"pointer-events-auto",
|
|
3044
|
+
"rounded-full",
|
|
3045
|
+
"border",
|
|
3046
|
+
"border-divider/60",
|
|
3047
|
+
"bg-content1/95",
|
|
3048
|
+
"shadow-large",
|
|
3049
|
+
"supports-[backdrop-filter]:bg-content1/65",
|
|
3050
|
+
"supports-[backdrop-filter]:backdrop-blur-2xl",
|
|
3051
|
+
"supports-[backdrop-filter]:backdrop-saturate-150"
|
|
3052
|
+
],
|
|
3053
|
+
item: ["relative", "flex", "min-w-0", "flex-1", "list-none", "justify-center"],
|
|
3054
|
+
link: [
|
|
3055
|
+
"group",
|
|
3056
|
+
"relative",
|
|
3057
|
+
"isolate",
|
|
3058
|
+
"flex",
|
|
3059
|
+
"min-h-14",
|
|
3060
|
+
"w-full",
|
|
3061
|
+
"min-w-0",
|
|
3062
|
+
"flex-col",
|
|
3063
|
+
"items-center",
|
|
3064
|
+
"justify-center",
|
|
3065
|
+
"gap-0.5",
|
|
3066
|
+
"px-2",
|
|
3067
|
+
"text-tiny",
|
|
3068
|
+
"font-medium",
|
|
3069
|
+
"text-default-500",
|
|
3070
|
+
"tap-highlight-transparent",
|
|
3071
|
+
"data-[selected=true]:font-semibold",
|
|
3072
|
+
"data-[disabled=true]:pointer-events-none",
|
|
3073
|
+
"data-[disabled=true]:opacity-disabled",
|
|
3074
|
+
"data-[prominent=true]:-translate-y-3",
|
|
3075
|
+
"data-[prominent=true]:mx-1",
|
|
3076
|
+
"data-[prominent=true]:min-h-16",
|
|
3077
|
+
"data-[prominent=true]:max-w-16",
|
|
3078
|
+
"data-[prominent=true]:rounded-full",
|
|
3079
|
+
"data-[prominent=true]:border",
|
|
3080
|
+
"data-[prominent=true]:border-divider/60",
|
|
3081
|
+
"data-[prominent=true]:bg-content1/95",
|
|
3082
|
+
"data-[prominent=true]:shadow-medium",
|
|
3083
|
+
"supports-[backdrop-filter]:data-[prominent=true]:bg-content1/70",
|
|
3084
|
+
...focusVisibleClasses
|
|
3085
|
+
],
|
|
3086
|
+
selectionIndicator: [
|
|
3087
|
+
"absolute",
|
|
3088
|
+
"z-0",
|
|
3089
|
+
"pointer-events-none",
|
|
3090
|
+
"list-none",
|
|
3091
|
+
"rounded-full",
|
|
3092
|
+
"bg-default-100/80",
|
|
3093
|
+
"will-change-[left,top,width,height]",
|
|
3094
|
+
"invisible",
|
|
3095
|
+
"data-[initialized=true]:visible"
|
|
3096
|
+
],
|
|
3097
|
+
icon: [
|
|
3098
|
+
"relative",
|
|
3099
|
+
"z-10",
|
|
3100
|
+
"flex",
|
|
3101
|
+
"size-6",
|
|
3102
|
+
"shrink-0",
|
|
3103
|
+
"items-center",
|
|
3104
|
+
"justify-center",
|
|
3105
|
+
"text-current",
|
|
3106
|
+
"[&>svg]:size-full"
|
|
3107
|
+
],
|
|
3108
|
+
label: ["relative", "z-10", "max-w-full", "truncate", "text-current"]
|
|
3109
|
+
},
|
|
3110
|
+
variants: {
|
|
3111
|
+
position: {
|
|
3112
|
+
fixed: {
|
|
3113
|
+
base: ["fixed", "inset-x-0", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
3114
|
+
},
|
|
3115
|
+
sticky: {
|
|
3116
|
+
base: ["sticky", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
3117
|
+
},
|
|
3118
|
+
static: {
|
|
3119
|
+
base: ["relative", "py-3"]
|
|
3120
|
+
}
|
|
3121
|
+
},
|
|
3122
|
+
color: {
|
|
3123
|
+
default: {
|
|
3124
|
+
link: "data-[selected=true]:text-foreground",
|
|
3125
|
+
selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
|
|
3126
|
+
},
|
|
3127
|
+
primary: {
|
|
3128
|
+
link: "data-[selected=true]:text-primary",
|
|
3129
|
+
selectionIndicator: ["bg-primary/15", "after:bg-primary"]
|
|
3130
|
+
},
|
|
3131
|
+
secondary: {
|
|
3132
|
+
link: "data-[selected=true]:text-secondary",
|
|
3133
|
+
selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
|
|
3134
|
+
},
|
|
3135
|
+
success: {
|
|
3136
|
+
link: "data-[selected=true]:text-success",
|
|
3137
|
+
selectionIndicator: ["bg-success/15", "after:bg-success"]
|
|
3138
|
+
},
|
|
3139
|
+
warning: {
|
|
3140
|
+
link: "data-[selected=true]:text-warning",
|
|
3141
|
+
selectionIndicator: ["bg-warning/15", "after:bg-warning"]
|
|
3142
|
+
},
|
|
3143
|
+
danger: {
|
|
3144
|
+
link: "data-[selected=true]:text-danger",
|
|
3145
|
+
selectionIndicator: ["bg-danger/15", "after:bg-danger"]
|
|
3146
|
+
}
|
|
3147
|
+
},
|
|
3148
|
+
variant: {
|
|
3149
|
+
solid: {},
|
|
3150
|
+
underlined: {
|
|
3151
|
+
selectionIndicator: [
|
|
3152
|
+
"bg-transparent",
|
|
3153
|
+
"after:absolute",
|
|
3154
|
+
"after:bottom-0",
|
|
3155
|
+
"after:left-1/2",
|
|
3156
|
+
"after:h-[5px]",
|
|
3157
|
+
"after:w-5",
|
|
3158
|
+
"after:-translate-x-1/2",
|
|
3159
|
+
"after:rounded-full",
|
|
3160
|
+
"after:content-['']"
|
|
3161
|
+
]
|
|
3162
|
+
},
|
|
3163
|
+
ghost: {
|
|
3164
|
+
selectionIndicator: "bg-transparent"
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3167
|
+
hideLabels: {
|
|
3168
|
+
always: {
|
|
3169
|
+
label: "sr-only"
|
|
3170
|
+
},
|
|
3171
|
+
selected: {
|
|
3172
|
+
label: [
|
|
3173
|
+
"max-h-0",
|
|
3174
|
+
"opacity-0",
|
|
3175
|
+
"group-data-[selected=true]:max-h-5",
|
|
3176
|
+
"group-data-[selected=true]:opacity-100"
|
|
3177
|
+
]
|
|
3178
|
+
},
|
|
3179
|
+
never: {}
|
|
3180
|
+
},
|
|
3181
|
+
disableAnimation: {
|
|
3182
|
+
true: {
|
|
3183
|
+
link: "transition-none",
|
|
3184
|
+
selectionIndicator: "transition-none",
|
|
3185
|
+
icon: "transition-none",
|
|
3186
|
+
label: "transition-none"
|
|
3187
|
+
},
|
|
3188
|
+
false: {
|
|
3189
|
+
link: "transition-[color,transform,opacity] duration-250 ease-out",
|
|
3190
|
+
selectionIndicator: [
|
|
3191
|
+
"data-[animated=true]:transition-[left,top,width,height]",
|
|
3192
|
+
"data-[animated=true]:duration-250",
|
|
3193
|
+
"data-[animated=true]:ease-out"
|
|
3194
|
+
],
|
|
3195
|
+
icon: "transition-transform duration-250 ease-out group-data-[selected=true]:scale-105",
|
|
3196
|
+
label: "transition-[color,max-height,opacity] duration-250 ease-out"
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
},
|
|
3200
|
+
defaultVariants: {
|
|
3201
|
+
position: "fixed",
|
|
3202
|
+
color: "primary",
|
|
3203
|
+
variant: "solid",
|
|
3204
|
+
hideLabels: "never",
|
|
3205
|
+
disableAnimation: false
|
|
3206
|
+
}
|
|
3207
|
+
});
|
|
3208
|
+
|
|
2983
3209
|
// src/components/checkbox.ts
|
|
2984
3210
|
var checkbox = tv({
|
|
2985
3211
|
slots: {
|
|
@@ -7543,6 +7769,30 @@ var skeleton = tv({
|
|
|
7543
7769
|
defaultVariants: {}
|
|
7544
7770
|
});
|
|
7545
7771
|
|
|
7772
|
+
// src/components/shimmer-text.ts
|
|
7773
|
+
var shimmerText = tv({
|
|
7774
|
+
base: "sytech-shimmer-text animate-shimmer-text",
|
|
7775
|
+
variants: {
|
|
7776
|
+
direction: {
|
|
7777
|
+
auto: "",
|
|
7778
|
+
reverse: "sytech-shimmer-text-reverse"
|
|
7779
|
+
},
|
|
7780
|
+
iteration: {
|
|
7781
|
+
infinite: "",
|
|
7782
|
+
once: "sytech-shimmer-text-once"
|
|
7783
|
+
},
|
|
7784
|
+
disableAnimation: {
|
|
7785
|
+
true: "sytech-shimmer-text-disabled !animate-none",
|
|
7786
|
+
false: ""
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
defaultVariants: {
|
|
7790
|
+
direction: "auto",
|
|
7791
|
+
iteration: "infinite",
|
|
7792
|
+
disableAnimation: false
|
|
7793
|
+
}
|
|
7794
|
+
});
|
|
7795
|
+
|
|
7546
7796
|
// src/components/select.ts
|
|
7547
7797
|
var select = tv({
|
|
7548
7798
|
slots: {
|
|
@@ -12316,6 +12566,7 @@ var toast = tv({
|
|
|
12316
12566
|
avatar,
|
|
12317
12567
|
avatarGroup,
|
|
12318
12568
|
badge,
|
|
12569
|
+
bottomBar,
|
|
12319
12570
|
breadcrumbItem,
|
|
12320
12571
|
breadcrumbs,
|
|
12321
12572
|
button,
|
|
@@ -12362,6 +12613,7 @@ var toast = tv({
|
|
|
12362
12613
|
scrollArea,
|
|
12363
12614
|
scrollShadow,
|
|
12364
12615
|
select,
|
|
12616
|
+
shimmerText,
|
|
12365
12617
|
skeleton,
|
|
12366
12618
|
slider,
|
|
12367
12619
|
snippet,
|