@sytechui/theme 2.5.0 → 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-IB36XVBI.mjs → chunk-AI6SQS6Z.mjs} +13 -12
- package/dist/{chunk-IAAKK6MJ.mjs → chunk-CBIC7UDL.mjs} +8 -8
- package/dist/{chunk-Q5TYW2HJ.mjs → chunk-CPSLANMP.mjs} +2 -2
- package/dist/{chunk-SGV526OS.mjs → chunk-CR7SUL27.mjs} +1 -1
- package/dist/{chunk-JNXXF3DG.mjs → chunk-FFKHVGFX.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/colors/common.mjs +3 -3
- package/dist/colors/index.mjs +5 -5
- package/dist/colors/semantic.mjs +4 -4
- package/dist/colors.mjs +5 -5
- package/dist/components/accordion.js +41 -1
- package/dist/components/accordion.mjs +32 -30
- package/dist/components/alert.js +41 -1
- package/dist/components/alert.mjs +32 -30
- 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 +32 -30
- package/dist/components/badge.js +41 -1
- package/dist/components/badge.mjs +32 -30
- package/dist/components/bottom-bar.d.mts +3 -3
- package/dist/components/bottom-bar.d.ts +3 -3
- package/dist/components/bottom-bar.js +52 -11
- package/dist/components/bottom-bar.mjs +32 -30
- package/dist/components/breadcrumbs.js +41 -1
- package/dist/components/breadcrumbs.mjs +32 -30
- package/dist/components/button.js +41 -1
- package/dist/components/button.mjs +32 -30
- package/dist/components/calendar.js +41 -1
- package/dist/components/calendar.mjs +32 -30
- package/dist/components/card.js +41 -1
- package/dist/components/card.mjs +32 -30
- package/dist/components/checkbox.js +41 -1
- package/dist/components/checkbox.mjs +32 -30
- package/dist/components/chip.js +41 -1
- package/dist/components/chip.mjs +32 -30
- package/dist/components/code.js +41 -1
- package/dist/components/code.mjs +32 -30
- 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 +32 -30
- package/dist/components/dropdown.js +41 -1
- package/dist/components/dropdown.mjs +32 -30
- 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 +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +78 -11
- package/dist/components/index.mjs +36 -31
- package/dist/components/input-otp.js +41 -1
- package/dist/components/input-otp.mjs +32 -30
- package/dist/components/input.js +41 -1
- package/dist/components/input.mjs +32 -30
- 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 +32 -30
- package/dist/components/listbox.js +41 -1
- package/dist/components/listbox.mjs +32 -30
- package/dist/components/menu.js +41 -1
- package/dist/components/menu.mjs +32 -30
- package/dist/components/modal.js +41 -1
- package/dist/components/modal.mjs +32 -30
- package/dist/components/navbar.js +41 -1
- package/dist/components/navbar.mjs +32 -30
- package/dist/components/number-input.js +41 -1
- package/dist/components/number-input.mjs +32 -30
- package/dist/components/pagination.js +41 -1
- package/dist/components/pagination.mjs +32 -30
- package/dist/components/popover.js +41 -1
- package/dist/components/popover.mjs +32 -30
- 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 +32 -30
- 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 +32 -30
- 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 +32 -30
- package/dist/components/snippet.js +41 -1
- package/dist/components/snippet.mjs +32 -30
- 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 +32 -30
- package/dist/components/tabs.js +41 -1
- package/dist/components/tabs.mjs +32 -30
- package/dist/components/toast.js +41 -1
- package/dist/components/toast.mjs +32 -30
- package/dist/components/toggle.js +41 -1
- package/dist/components/toggle.mjs +32 -30
- package/dist/components/user.js +41 -1
- package/dist/components/user.mjs +32 -30
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +87 -11
- package/dist/index.mjs +40 -35
- package/dist/plugin.js +50 -1
- package/dist/plugin.mjs +12 -11
- 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 +32 -30
- package/dist/utils/merge-classes.js +41 -1
- package/dist/utils/merge-classes.mjs +32 -30
- 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
- package/dist/{chunk-6TOTQSJE.mjs → chunk-IAS3SFA4.mjs} +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const animations: {
|
|
2
2
|
animation: {
|
|
3
3
|
shimmer: string;
|
|
4
|
+
"shimmer-text": string;
|
|
4
5
|
"drip-expand": string;
|
|
5
6
|
"spinner-ease-spin": string;
|
|
6
7
|
"spinner-linear-spin": string;
|
|
@@ -19,6 +20,14 @@ declare const animations: {
|
|
|
19
20
|
transform: string;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
23
|
+
"shimmer-text": {
|
|
24
|
+
"0%": {
|
|
25
|
+
backgroundPosition: string;
|
|
26
|
+
};
|
|
27
|
+
"100%": {
|
|
28
|
+
backgroundPosition: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
22
31
|
"spinner-spin": {
|
|
23
32
|
"0%": {
|
|
24
33
|
transform: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const animations: {
|
|
2
2
|
animation: {
|
|
3
3
|
shimmer: string;
|
|
4
|
+
"shimmer-text": string;
|
|
4
5
|
"drip-expand": string;
|
|
5
6
|
"spinner-ease-spin": string;
|
|
6
7
|
"spinner-linear-spin": string;
|
|
@@ -19,6 +20,14 @@ declare const animations: {
|
|
|
19
20
|
transform: string;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
23
|
+
"shimmer-text": {
|
|
24
|
+
"0%": {
|
|
25
|
+
backgroundPosition: string;
|
|
26
|
+
};
|
|
27
|
+
"100%": {
|
|
28
|
+
backgroundPosition: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
22
31
|
"spinner-spin": {
|
|
23
32
|
"0%": {
|
|
24
33
|
transform: string;
|
package/dist/animations/index.js
CHANGED
|
@@ -26,6 +26,7 @@ module.exports = __toCommonJS(animations_exports);
|
|
|
26
26
|
var animations = {
|
|
27
27
|
animation: {
|
|
28
28
|
shimmer: "shimmer 2s infinite",
|
|
29
|
+
"shimmer-text": "shimmer-text var(--shimmer-duration, 2s) linear var(--shimmer-iteration, infinite) var(--shimmer-direction, normal)",
|
|
29
30
|
"drip-expand": "drip-expand 420ms linear",
|
|
30
31
|
"spinner-ease-spin": "spinner-spin 0.8s ease infinite",
|
|
31
32
|
"spinner-linear-spin": "spinner-spin 0.8s linear infinite",
|
|
@@ -44,6 +45,14 @@ var animations = {
|
|
|
44
45
|
transform: "translateX(200%)"
|
|
45
46
|
}
|
|
46
47
|
},
|
|
48
|
+
"shimmer-text": {
|
|
49
|
+
"0%": {
|
|
50
|
+
backgroundPosition: "100% 0"
|
|
51
|
+
},
|
|
52
|
+
"100%": {
|
|
53
|
+
backgroundPosition: "0 0"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
47
56
|
"spinner-spin": {
|
|
48
57
|
"0%": {
|
|
49
58
|
transform: "rotate(0deg)"
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-GQT3YUX3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
cn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P2SWF4YK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
tv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RAC3PSZO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
collapseAdjacentVariantBorders,
|
|
12
12
|
dataFocusVisibleClasses,
|
|
@@ -2352,27 +2352,27 @@ var bottomBar = tv({
|
|
|
2352
2352
|
color: {
|
|
2353
2353
|
default: {
|
|
2354
2354
|
link: "data-[selected=true]:text-foreground",
|
|
2355
|
-
selectionIndicator: ["
|
|
2355
|
+
selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
|
|
2356
2356
|
},
|
|
2357
2357
|
primary: {
|
|
2358
2358
|
link: "data-[selected=true]:text-primary",
|
|
2359
|
-
selectionIndicator: ["
|
|
2359
|
+
selectionIndicator: ["bg-primary/15", "after:bg-primary"]
|
|
2360
2360
|
},
|
|
2361
2361
|
secondary: {
|
|
2362
2362
|
link: "data-[selected=true]:text-secondary",
|
|
2363
|
-
selectionIndicator: ["
|
|
2363
|
+
selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
|
|
2364
2364
|
},
|
|
2365
2365
|
success: {
|
|
2366
2366
|
link: "data-[selected=true]:text-success",
|
|
2367
|
-
selectionIndicator: ["
|
|
2367
|
+
selectionIndicator: ["bg-success/15", "after:bg-success"]
|
|
2368
2368
|
},
|
|
2369
2369
|
warning: {
|
|
2370
2370
|
link: "data-[selected=true]:text-warning",
|
|
2371
|
-
selectionIndicator: ["
|
|
2371
|
+
selectionIndicator: ["bg-warning/15", "after:bg-warning"]
|
|
2372
2372
|
},
|
|
2373
2373
|
danger: {
|
|
2374
2374
|
link: "data-[selected=true]:text-danger",
|
|
2375
|
-
selectionIndicator: ["
|
|
2375
|
+
selectionIndicator: ["bg-danger/15", "after:bg-danger"]
|
|
2376
2376
|
}
|
|
2377
2377
|
},
|
|
2378
2378
|
variant: {
|
|
@@ -2382,15 +2382,16 @@ var bottomBar = tv({
|
|
|
2382
2382
|
"bg-transparent",
|
|
2383
2383
|
"after:absolute",
|
|
2384
2384
|
"after:bottom-0",
|
|
2385
|
-
"after:left-
|
|
2386
|
-
"after:h-
|
|
2387
|
-
"after:w-
|
|
2385
|
+
"after:left-1/2",
|
|
2386
|
+
"after:h-[5px]",
|
|
2387
|
+
"after:w-5",
|
|
2388
|
+
"after:-translate-x-1/2",
|
|
2388
2389
|
"after:rounded-full",
|
|
2389
2390
|
"after:content-['']"
|
|
2390
2391
|
]
|
|
2391
2392
|
},
|
|
2392
2393
|
ghost: {
|
|
2393
|
-
selectionIndicator:
|
|
2394
|
+
selectionIndicator: "bg-transparent"
|
|
2394
2395
|
}
|
|
2395
2396
|
},
|
|
2396
2397
|
hideLabels: {
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
baseStyles
|
|
3
|
-
} from "./chunk-JGY6VQQQ.mjs";
|
|
4
1
|
import {
|
|
5
2
|
isBaseTheme
|
|
6
3
|
} from "./chunk-D2XMP2NC.mjs";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
baseStyles
|
|
6
|
+
} from "./chunk-JGY6VQQQ.mjs";
|
|
10
7
|
import {
|
|
11
8
|
utilities
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UJC5GXOO.mjs";
|
|
13
10
|
import {
|
|
14
11
|
semanticColors
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FFKHVGFX.mjs";
|
|
16
13
|
import {
|
|
17
14
|
flattenThemeObject
|
|
18
15
|
} from "./chunk-5ICJA2GK.mjs";
|
|
@@ -21,9 +18,12 @@ import {
|
|
|
21
18
|
defaultLayout,
|
|
22
19
|
lightLayout
|
|
23
20
|
} from "./chunk-HUBDRSA4.mjs";
|
|
21
|
+
import {
|
|
22
|
+
animations
|
|
23
|
+
} from "./chunk-SLRWKURF.mjs";
|
|
24
24
|
import {
|
|
25
25
|
commonColors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IAS3SFA4.mjs";
|
|
27
27
|
|
|
28
28
|
// src/plugin.ts
|
|
29
29
|
import Color from "color";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/utilities/shimmer-text.ts
|
|
2
|
+
var readableText = {
|
|
3
|
+
animation: "none !important",
|
|
4
|
+
"background-image": "none",
|
|
5
|
+
"-webkit-text-fill-color": "currentColor"
|
|
6
|
+
};
|
|
7
|
+
var shimmer_text_default = {
|
|
8
|
+
".sytech-shimmer-text": {
|
|
9
|
+
color: "currentColor",
|
|
10
|
+
"--shimmer-angle": "20deg",
|
|
11
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
12
|
+
"--shimmer-iteration": "infinite",
|
|
13
|
+
"--shimmer-direction": "normal",
|
|
14
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
15
|
+
"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)))",
|
|
16
|
+
"background-repeat": "no-repeat",
|
|
17
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
18
|
+
"background-position": "100% 0",
|
|
19
|
+
"background-clip": "text",
|
|
20
|
+
"-webkit-background-clip": "text",
|
|
21
|
+
"-webkit-text-fill-color": "transparent"
|
|
22
|
+
},
|
|
23
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
+
"--shimmer-direction": "reverse"
|
|
25
|
+
},
|
|
26
|
+
"&.sytech-shimmer-text-reverse": {
|
|
27
|
+
"--shimmer-direction": "reverse"
|
|
28
|
+
},
|
|
29
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
30
|
+
"--shimmer-direction": "normal"
|
|
31
|
+
},
|
|
32
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
33
|
+
},
|
|
34
|
+
".sytech-shimmer-text-once": {
|
|
35
|
+
"--shimmer-iteration": "1"
|
|
36
|
+
},
|
|
37
|
+
".sytech-shimmer-text-disabled": readableText
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export {
|
|
41
|
+
shimmer_text_default
|
|
42
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-RAC3PSZO.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/shimmer-text.ts
|
|
6
|
+
var shimmerText = tv({
|
|
7
|
+
base: "sytech-shimmer-text animate-shimmer-text",
|
|
8
|
+
variants: {
|
|
9
|
+
direction: {
|
|
10
|
+
auto: "",
|
|
11
|
+
reverse: "sytech-shimmer-text-reverse"
|
|
12
|
+
},
|
|
13
|
+
iteration: {
|
|
14
|
+
infinite: "",
|
|
15
|
+
once: "sytech-shimmer-text-once"
|
|
16
|
+
},
|
|
17
|
+
disableAnimation: {
|
|
18
|
+
true: "sytech-shimmer-text-disabled !animate-none",
|
|
19
|
+
false: ""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
direction: "auto",
|
|
24
|
+
iteration: "infinite",
|
|
25
|
+
disableAnimation: false
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
shimmerText
|
|
31
|
+
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
var animations = {
|
|
3
3
|
animation: {
|
|
4
4
|
shimmer: "shimmer 2s infinite",
|
|
5
|
+
"shimmer-text": "shimmer-text var(--shimmer-duration, 2s) linear var(--shimmer-iteration, infinite) var(--shimmer-direction, normal)",
|
|
5
6
|
"drip-expand": "drip-expand 420ms linear",
|
|
6
7
|
"spinner-ease-spin": "spinner-spin 0.8s ease infinite",
|
|
7
8
|
"spinner-linear-spin": "spinner-spin 0.8s linear infinite",
|
|
@@ -20,6 +21,14 @@ var animations = {
|
|
|
20
21
|
transform: "translateX(200%)"
|
|
21
22
|
}
|
|
22
23
|
},
|
|
24
|
+
"shimmer-text": {
|
|
25
|
+
"0%": {
|
|
26
|
+
backgroundPosition: "100% 0"
|
|
27
|
+
},
|
|
28
|
+
"100%": {
|
|
29
|
+
backgroundPosition: "0 0"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
23
32
|
"spinner-spin": {
|
|
24
33
|
"0%": {
|
|
25
34
|
transform: "rotate(0deg)"
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
shimmer_text_default
|
|
3
|
+
} from "./chunk-FJOYYPB2.mjs";
|
|
4
|
+
import {
|
|
5
|
+
text_default
|
|
6
|
+
} from "./chunk-RUIUXVZ4.mjs";
|
|
7
|
+
import {
|
|
8
|
+
transition_default
|
|
9
|
+
} from "./chunk-GSRZWDGA.mjs";
|
|
1
10
|
import {
|
|
2
11
|
animation_default
|
|
3
12
|
} from "./chunk-AWXUGVFR.mjs";
|
|
@@ -7,12 +16,6 @@ import {
|
|
|
7
16
|
import {
|
|
8
17
|
scrollbar_hide_default
|
|
9
18
|
} from "./chunk-WH6SPIFG.mjs";
|
|
10
|
-
import {
|
|
11
|
-
text_default
|
|
12
|
-
} from "./chunk-RUIUXVZ4.mjs";
|
|
13
|
-
import {
|
|
14
|
-
transition_default
|
|
15
|
-
} from "./chunk-GSRZWDGA.mjs";
|
|
16
19
|
|
|
17
20
|
// src/utilities/index.ts
|
|
18
21
|
var utilities = {
|
|
@@ -20,7 +23,8 @@ var utilities = {
|
|
|
20
23
|
...transition_default,
|
|
21
24
|
...scrollbar_hide_default,
|
|
22
25
|
...text_default,
|
|
23
|
-
...animation_default
|
|
26
|
+
...animation_default,
|
|
27
|
+
...shimmer_text_default
|
|
24
28
|
};
|
|
25
29
|
|
|
26
30
|
export {
|
package/dist/colors/common.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-IAS3SFA4.mjs";
|
|
4
|
+
import "../chunk-JUEOCLA3.mjs";
|
|
4
5
|
import "../chunk-3LKKH4AR.mjs";
|
|
6
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
5
7
|
import "../chunk-OR5PUD24.mjs";
|
|
6
8
|
import "../chunk-DCEG5LGX.mjs";
|
|
7
9
|
import "../chunk-L2OL7R23.mjs";
|
|
8
10
|
import "../chunk-YZYGFPNK.mjs";
|
|
9
|
-
import "../chunk-JUEOCLA3.mjs";
|
|
10
11
|
import "../chunk-GHZ36ATJ.mjs";
|
|
11
|
-
import "../chunk-T3GWIVAM.mjs";
|
|
12
12
|
export {
|
|
13
13
|
commonColors
|
|
14
14
|
};
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CPSLANMP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-FFKHVGFX.mjs";
|
|
7
7
|
import "../chunk-5ICJA2GK.mjs";
|
|
8
8
|
import "../chunk-M63AFAHO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
commonColors
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-IAS3SFA4.mjs";
|
|
12
|
+
import "../chunk-JUEOCLA3.mjs";
|
|
12
13
|
import "../chunk-3LKKH4AR.mjs";
|
|
14
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
13
15
|
import "../chunk-OR5PUD24.mjs";
|
|
14
16
|
import "../chunk-DCEG5LGX.mjs";
|
|
15
17
|
import "../chunk-L2OL7R23.mjs";
|
|
16
18
|
import "../chunk-YZYGFPNK.mjs";
|
|
17
|
-
import "../chunk-JUEOCLA3.mjs";
|
|
18
19
|
import "../chunk-GHZ36ATJ.mjs";
|
|
19
|
-
import "../chunk-T3GWIVAM.mjs";
|
|
20
20
|
export {
|
|
21
21
|
colors,
|
|
22
22
|
commonColors,
|
package/dist/colors/semantic.mjs
CHANGED
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
semanticColors,
|
|
3
3
|
themeColorsDark,
|
|
4
4
|
themeColorsLight
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-FFKHVGFX.mjs";
|
|
6
6
|
import "../chunk-5ICJA2GK.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-IAS3SFA4.mjs";
|
|
8
|
+
import "../chunk-JUEOCLA3.mjs";
|
|
8
9
|
import "../chunk-3LKKH4AR.mjs";
|
|
10
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
9
11
|
import "../chunk-OR5PUD24.mjs";
|
|
10
12
|
import "../chunk-DCEG5LGX.mjs";
|
|
11
13
|
import "../chunk-L2OL7R23.mjs";
|
|
12
14
|
import "../chunk-YZYGFPNK.mjs";
|
|
13
|
-
import "../chunk-JUEOCLA3.mjs";
|
|
14
15
|
import "../chunk-GHZ36ATJ.mjs";
|
|
15
|
-
import "../chunk-T3GWIVAM.mjs";
|
|
16
16
|
export {
|
|
17
17
|
semanticColors,
|
|
18
18
|
themeColorsDark,
|
package/dist/colors.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./chunk-WQEDQHKX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
colors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CPSLANMP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FFKHVGFX.mjs";
|
|
8
8
|
import "./chunk-5ICJA2GK.mjs";
|
|
9
9
|
import "./chunk-M63AFAHO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commonColors
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IAS3SFA4.mjs";
|
|
13
|
+
import "./chunk-JUEOCLA3.mjs";
|
|
13
14
|
import "./chunk-3LKKH4AR.mjs";
|
|
15
|
+
import "./chunk-T3GWIVAM.mjs";
|
|
14
16
|
import "./chunk-OR5PUD24.mjs";
|
|
15
17
|
import "./chunk-DCEG5LGX.mjs";
|
|
16
18
|
import "./chunk-L2OL7R23.mjs";
|
|
17
19
|
import "./chunk-YZYGFPNK.mjs";
|
|
18
|
-
import "./chunk-JUEOCLA3.mjs";
|
|
19
20
|
import "./chunk-GHZ36ATJ.mjs";
|
|
20
|
-
import "./chunk-T3GWIVAM.mjs";
|
|
21
21
|
export {
|
|
22
22
|
colors,
|
|
23
23
|
commonColors,
|
|
@@ -179,13 +179,53 @@ var animation_default = {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
+
// src/utilities/shimmer-text.ts
|
|
183
|
+
var readableText = {
|
|
184
|
+
animation: "none !important",
|
|
185
|
+
"background-image": "none",
|
|
186
|
+
"-webkit-text-fill-color": "currentColor"
|
|
187
|
+
};
|
|
188
|
+
var shimmer_text_default = {
|
|
189
|
+
".sytech-shimmer-text": {
|
|
190
|
+
color: "currentColor",
|
|
191
|
+
"--shimmer-angle": "20deg",
|
|
192
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
193
|
+
"--shimmer-iteration": "infinite",
|
|
194
|
+
"--shimmer-direction": "normal",
|
|
195
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
196
|
+
"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)))",
|
|
197
|
+
"background-repeat": "no-repeat",
|
|
198
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
199
|
+
"background-position": "100% 0",
|
|
200
|
+
"background-clip": "text",
|
|
201
|
+
"-webkit-background-clip": "text",
|
|
202
|
+
"-webkit-text-fill-color": "transparent"
|
|
203
|
+
},
|
|
204
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
205
|
+
"--shimmer-direction": "reverse"
|
|
206
|
+
},
|
|
207
|
+
"&.sytech-shimmer-text-reverse": {
|
|
208
|
+
"--shimmer-direction": "reverse"
|
|
209
|
+
},
|
|
210
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
211
|
+
"--shimmer-direction": "normal"
|
|
212
|
+
},
|
|
213
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
214
|
+
},
|
|
215
|
+
".sytech-shimmer-text-once": {
|
|
216
|
+
"--shimmer-iteration": "1"
|
|
217
|
+
},
|
|
218
|
+
".sytech-shimmer-text-disabled": readableText
|
|
219
|
+
};
|
|
220
|
+
|
|
182
221
|
// src/utilities/index.ts
|
|
183
222
|
var utilities = {
|
|
184
223
|
...custom_default,
|
|
185
224
|
...transition_default,
|
|
186
225
|
...scrollbar_hide_default,
|
|
187
226
|
...text_default,
|
|
188
|
-
...animation_default
|
|
227
|
+
...animation_default,
|
|
228
|
+
...shimmer_text_default
|
|
189
229
|
};
|
|
190
230
|
|
|
191
231
|
// src/utils/tw-merge-config.ts
|