@sytechui/theme 2.5.0 → 2.6.1
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-TRZPE5UW.mjs → chunk-2BUT7L7P.mjs} +1 -1
- package/dist/{chunk-6US6AURX.mjs → chunk-2WQ76NXU.mjs} +8 -4
- package/dist/{chunk-FQECQOZE.mjs → chunk-4CEUCYJO.mjs} +1 -1
- package/dist/{chunk-3INHRVXM.mjs → chunk-7QDYFNL6.mjs} +1 -1
- package/dist/{chunk-SSU66MWA.mjs → chunk-7ZVSC6V6.mjs} +1 -1
- package/dist/{chunk-4V3RQUZU.mjs → chunk-BHGZZQCH.mjs} +1 -1
- package/dist/{chunk-Q5TYW2HJ.mjs → chunk-CPSLANMP.mjs} +2 -2
- package/dist/chunk-DBDK3IF7.mjs +31 -0
- package/dist/{chunk-3L7WFLSH.mjs → chunk-EOYBTX52.mjs} +1 -1
- package/dist/{chunk-NPGKX3MZ.mjs → chunk-FBI452W6.mjs} +1 -1
- package/dist/{chunk-JNXXF3DG.mjs → chunk-FFKHVGFX.mjs} +1 -1
- package/dist/chunk-FJOYYPB2.mjs +42 -0
- package/dist/{chunk-QQVGHMSD.mjs → chunk-FLCPUBBE.mjs} +1 -1
- package/dist/{chunk-VDS6DP26.mjs → chunk-FNHXMO5W.mjs} +1 -1
- package/dist/{chunk-5PWGYVAP.mjs → chunk-FZM5ZZP2.mjs} +1 -1
- package/dist/{chunk-FUKRIH5Z.mjs → chunk-GQMW4NEU.mjs} +1 -1
- package/dist/{chunk-Z65VJL4Y.mjs → chunk-JV5J6JHS.mjs} +1 -1
- package/dist/{chunk-SGV526OS.mjs → chunk-K3TTKHSU.mjs} +1 -1
- package/dist/{chunk-EJDFNA7Y.mjs → chunk-KCPJHUUJ.mjs} +1 -1
- package/dist/{chunk-IB36XVBI.mjs → chunk-LYTXO6TG.mjs} +579 -12
- package/dist/{chunk-NKYWOWNW.mjs → chunk-QP5CGENQ.mjs} +1 -1
- package/dist/{chunk-HYWP3BX7.mjs → chunk-SLRWKURF.mjs} +9 -0
- package/dist/{chunk-E34EWEJV.mjs → chunk-SRSOCM2C.mjs} +1 -1
- package/dist/{chunk-IAAKK6MJ.mjs → chunk-TOGBVQYA.mjs} +6 -6
- package/dist/{chunk-JS2FQJMX.mjs → chunk-VK7USAMR.mjs} +1 -1
- package/dist/{chunk-YW4DIYUX.mjs → chunk-ZLTZIM6X.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 +30 -28
- package/dist/components/alert.js +41 -1
- package/dist/components/alert.mjs +30 -28
- package/dist/components/autocomplete.js +41 -1
- package/dist/components/autocomplete.mjs +6 -5
- package/dist/components/avatar.js +41 -1
- package/dist/components/avatar.mjs +30 -28
- package/dist/components/badge.js +41 -1
- package/dist/components/badge.mjs +30 -28
- 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 +30 -28
- package/dist/components/breadcrumbs.js +41 -1
- package/dist/components/breadcrumbs.mjs +30 -28
- package/dist/components/button.js +41 -1
- package/dist/components/button.mjs +30 -28
- package/dist/components/calendar.js +41 -1
- package/dist/components/calendar.mjs +30 -28
- package/dist/components/card.js +41 -1
- package/dist/components/card.mjs +30 -28
- package/dist/components/checkbox.js +41 -1
- package/dist/components/checkbox.mjs +30 -28
- package/dist/components/chip.js +41 -1
- package/dist/components/chip.mjs +30 -28
- package/dist/components/code.js +41 -1
- package/dist/components/code.mjs +30 -28
- package/dist/components/date-input.js +41 -1
- package/dist/components/date-input.mjs +6 -5
- package/dist/components/date-picker.js +41 -1
- package/dist/components/date-picker.mjs +6 -5
- package/dist/components/divider.js +41 -1
- package/dist/components/divider.mjs +6 -5
- package/dist/components/drawer.js +41 -1
- package/dist/components/drawer.mjs +6 -5
- package/dist/components/drip.js +41 -1
- package/dist/components/drip.mjs +6 -5
- package/dist/components/drop-zone.js +41 -1
- package/dist/components/drop-zone.mjs +30 -28
- package/dist/components/dropdown.js +41 -1
- package/dist/components/dropdown.mjs +30 -28
- package/dist/components/form.js +41 -1
- package/dist/components/form.mjs +6 -5
- package/dist/components/image.js +41 -1
- package/dist/components/image.mjs +6 -5
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +645 -11
- package/dist/components/index.mjs +40 -33
- package/dist/components/input-otp.js +41 -1
- package/dist/components/input-otp.mjs +30 -28
- package/dist/components/input.js +41 -1
- package/dist/components/input.mjs +30 -28
- package/dist/components/kbd.js +41 -1
- package/dist/components/kbd.mjs +6 -5
- package/dist/components/link.js +41 -1
- package/dist/components/link.mjs +30 -28
- package/dist/components/listbox.js +41 -1
- package/dist/components/listbox.mjs +30 -28
- package/dist/components/menu.js +41 -1
- package/dist/components/menu.mjs +30 -28
- package/dist/components/modal.js +41 -1
- package/dist/components/modal.mjs +30 -28
- package/dist/components/navbar.js +41 -1
- package/dist/components/navbar.mjs +30 -28
- package/dist/components/number-input.js +41 -1
- package/dist/components/number-input.mjs +30 -28
- package/dist/components/pagination.js +41 -1
- package/dist/components/pagination.mjs +30 -28
- package/dist/components/popover.js +41 -1
- package/dist/components/popover.mjs +30 -28
- package/dist/components/progress.js +41 -1
- package/dist/components/progress.mjs +6 -5
- package/dist/components/radio.js +41 -1
- package/dist/components/radio.mjs +30 -28
- package/dist/components/scroll-area.js +41 -1
- package/dist/components/scroll-area.mjs +6 -5
- package/dist/components/scroll-shadow.js +41 -1
- package/dist/components/scroll-shadow.mjs +6 -5
- package/dist/components/select.js +41 -1
- package/dist/components/select.mjs +30 -28
- 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 +6 -5
- package/dist/components/slider.js +41 -1
- package/dist/components/slider.mjs +30 -28
- package/dist/components/snippet.js +41 -1
- package/dist/components/snippet.mjs +30 -28
- package/dist/components/spacer.js +41 -1
- package/dist/components/spacer.mjs +6 -5
- package/dist/components/spinner.js +41 -1
- package/dist/components/spinner.mjs +6 -5
- package/dist/components/stepper.d.mts +288 -0
- package/dist/components/stepper.d.ts +288 -0
- package/dist/components/stepper.js +849 -0
- package/dist/components/stepper.mjs +53 -0
- package/dist/components/table.js +41 -1
- package/dist/components/table.mjs +30 -28
- package/dist/components/tabs.js +41 -1
- package/dist/components/tabs.mjs +30 -28
- package/dist/components/toast.js +41 -1
- package/dist/components/toast.mjs +30 -28
- package/dist/components/toggle.js +41 -1
- package/dist/components/toggle.mjs +30 -28
- package/dist/components/user.js +41 -1
- package/dist/components/user.mjs +30 -28
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +654 -11
- package/dist/index.mjs +40 -33
- package/dist/plugin.js +50 -1
- package/dist/plugin.mjs +10 -9
- 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 +3 -2
- 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 +5 -4
- package/dist/utils/index.js +41 -1
- package/dist/utils/index.mjs +30 -28
- package/dist/utils/merge-classes.js +41 -1
- package/dist/utils/merge-classes.mjs +30 -28
- package/dist/utils/tv.js +41 -1
- package/dist/utils/tv.mjs +5 -4
- package/dist/utils/tw-merge-config.js +41 -1
- package/dist/utils/tw-merge-config.mjs +4 -3
- package/package.json +1 -1
- package/dist/{chunk-6TOTQSJE.mjs → chunk-IAS3SFA4.mjs} +6 -6
package/dist/components/index.js
CHANGED
|
@@ -74,11 +74,13 @@ __export(components_exports, {
|
|
|
74
74
|
scrollArea: () => scrollArea,
|
|
75
75
|
scrollShadow: () => scrollShadow,
|
|
76
76
|
select: () => select,
|
|
77
|
+
shimmerText: () => shimmerText,
|
|
77
78
|
skeleton: () => skeleton,
|
|
78
79
|
slider: () => slider,
|
|
79
80
|
snippet: () => snippet,
|
|
80
81
|
spacer: () => spacer,
|
|
81
82
|
spinner: () => spinner,
|
|
83
|
+
stepper: () => stepper,
|
|
82
84
|
table: () => table,
|
|
83
85
|
tabs: () => tabs,
|
|
84
86
|
toast: () => toast,
|
|
@@ -242,13 +244,53 @@ var animation_default = {
|
|
|
242
244
|
}
|
|
243
245
|
};
|
|
244
246
|
|
|
247
|
+
// src/utilities/shimmer-text.ts
|
|
248
|
+
var readableText = {
|
|
249
|
+
animation: "none !important",
|
|
250
|
+
"background-image": "none",
|
|
251
|
+
"-webkit-text-fill-color": "currentColor"
|
|
252
|
+
};
|
|
253
|
+
var shimmer_text_default = {
|
|
254
|
+
".sytech-shimmer-text": {
|
|
255
|
+
color: "currentColor",
|
|
256
|
+
"--shimmer-angle": "20deg",
|
|
257
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
258
|
+
"--shimmer-iteration": "infinite",
|
|
259
|
+
"--shimmer-direction": "normal",
|
|
260
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
261
|
+
"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)))",
|
|
262
|
+
"background-repeat": "no-repeat",
|
|
263
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
264
|
+
"background-position": "100% 0",
|
|
265
|
+
"background-clip": "text",
|
|
266
|
+
"-webkit-background-clip": "text",
|
|
267
|
+
"-webkit-text-fill-color": "transparent"
|
|
268
|
+
},
|
|
269
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
270
|
+
"--shimmer-direction": "reverse"
|
|
271
|
+
},
|
|
272
|
+
"&.sytech-shimmer-text-reverse": {
|
|
273
|
+
"--shimmer-direction": "reverse"
|
|
274
|
+
},
|
|
275
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
276
|
+
"--shimmer-direction": "normal"
|
|
277
|
+
},
|
|
278
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
279
|
+
},
|
|
280
|
+
".sytech-shimmer-text-once": {
|
|
281
|
+
"--shimmer-iteration": "1"
|
|
282
|
+
},
|
|
283
|
+
".sytech-shimmer-text-disabled": readableText
|
|
284
|
+
};
|
|
285
|
+
|
|
245
286
|
// src/utilities/index.ts
|
|
246
287
|
var utilities = {
|
|
247
288
|
...custom_default,
|
|
248
289
|
...transition_default,
|
|
249
290
|
...scrollbar_hide_default,
|
|
250
291
|
...text_default,
|
|
251
|
-
...animation_default
|
|
292
|
+
...animation_default,
|
|
293
|
+
...shimmer_text_default
|
|
252
294
|
};
|
|
253
295
|
|
|
254
296
|
// src/utils/tw-merge-config.ts
|
|
@@ -1619,6 +1661,571 @@ var spinner = tv({
|
|
|
1619
1661
|
]
|
|
1620
1662
|
});
|
|
1621
1663
|
|
|
1664
|
+
// src/components/stepper.ts
|
|
1665
|
+
var stepper = tv({
|
|
1666
|
+
slots: {
|
|
1667
|
+
base: "w-full",
|
|
1668
|
+
list: "m-0 flex list-none p-0",
|
|
1669
|
+
item: "group/item flex min-w-0",
|
|
1670
|
+
trigger: [
|
|
1671
|
+
"group/trigger flex min-w-0 shrink-0 outline-solid outline-transparent",
|
|
1672
|
+
"tap-highlight-transparent",
|
|
1673
|
+
...dataFocusVisibleClasses,
|
|
1674
|
+
"data-[clickable=true]:cursor-pointer",
|
|
1675
|
+
"data-[disabled=true]:cursor-not-allowed",
|
|
1676
|
+
"data-[disabled=true]:opacity-disabled"
|
|
1677
|
+
],
|
|
1678
|
+
indicator: [
|
|
1679
|
+
"flex shrink-0 items-center justify-center rounded-full border-2 font-semibold",
|
|
1680
|
+
"border-default-300 bg-default-100 text-default-500",
|
|
1681
|
+
"group-data-[hover=true]/trigger:scale-105",
|
|
1682
|
+
"group-data-[pressed=true]/trigger:scale-95",
|
|
1683
|
+
"data-[status=error]:border-danger",
|
|
1684
|
+
"data-[status=error]:bg-danger",
|
|
1685
|
+
"data-[status=error]:text-danger-foreground"
|
|
1686
|
+
],
|
|
1687
|
+
content: "flex min-w-0 flex-col",
|
|
1688
|
+
title: [
|
|
1689
|
+
"text-default-500",
|
|
1690
|
+
"group-data-[current=true]/item:text-foreground",
|
|
1691
|
+
"group-data-[status=complete]/item:text-foreground",
|
|
1692
|
+
"group-data-[status=error]/item:text-danger"
|
|
1693
|
+
],
|
|
1694
|
+
description: "text-default-400",
|
|
1695
|
+
separator: "shrink-0 bg-default-200"
|
|
1696
|
+
},
|
|
1697
|
+
variants: {
|
|
1698
|
+
orientation: {
|
|
1699
|
+
horizontal: {
|
|
1700
|
+
base: "overflow-x-auto scrollbar-hide",
|
|
1701
|
+
list: "min-w-max flex-row items-start",
|
|
1702
|
+
item: "flex-1 flex-row items-start last:flex-none",
|
|
1703
|
+
trigger: "flex-col items-center text-center",
|
|
1704
|
+
content: "mt-2 items-center",
|
|
1705
|
+
separator: "mx-2 flex-1"
|
|
1706
|
+
},
|
|
1707
|
+
vertical: {
|
|
1708
|
+
list: "flex-col",
|
|
1709
|
+
item: "flex-col",
|
|
1710
|
+
trigger: "flex-row items-start text-start",
|
|
1711
|
+
content: "ms-3 items-start",
|
|
1712
|
+
separator: "my-1"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
variant: {
|
|
1716
|
+
solid: {},
|
|
1717
|
+
bordered: {},
|
|
1718
|
+
flat: {},
|
|
1719
|
+
dot: {}
|
|
1720
|
+
},
|
|
1721
|
+
color: {
|
|
1722
|
+
default: {},
|
|
1723
|
+
primary: {},
|
|
1724
|
+
secondary: {},
|
|
1725
|
+
success: {},
|
|
1726
|
+
warning: {},
|
|
1727
|
+
danger: {}
|
|
1728
|
+
},
|
|
1729
|
+
size: {
|
|
1730
|
+
sm: {
|
|
1731
|
+
indicator: "h-6 w-6 text-tiny",
|
|
1732
|
+
title: "text-tiny",
|
|
1733
|
+
description: "text-tiny"
|
|
1734
|
+
},
|
|
1735
|
+
md: {
|
|
1736
|
+
indicator: "h-8 w-8 text-small",
|
|
1737
|
+
title: "text-small",
|
|
1738
|
+
description: "text-tiny"
|
|
1739
|
+
},
|
|
1740
|
+
lg: {
|
|
1741
|
+
indicator: "h-10 w-10 text-medium",
|
|
1742
|
+
title: "text-medium",
|
|
1743
|
+
description: "text-small"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
radius: {
|
|
1747
|
+
none: {
|
|
1748
|
+
indicator: "rounded-none"
|
|
1749
|
+
},
|
|
1750
|
+
sm: {
|
|
1751
|
+
indicator: "rounded-small"
|
|
1752
|
+
},
|
|
1753
|
+
md: {
|
|
1754
|
+
indicator: "rounded-medium"
|
|
1755
|
+
},
|
|
1756
|
+
lg: {
|
|
1757
|
+
indicator: "rounded-large"
|
|
1758
|
+
},
|
|
1759
|
+
full: {
|
|
1760
|
+
indicator: "rounded-full"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
separatorMode: {
|
|
1764
|
+
spaced: {},
|
|
1765
|
+
connected: {}
|
|
1766
|
+
},
|
|
1767
|
+
isDisabled: {
|
|
1768
|
+
true: {
|
|
1769
|
+
base: "pointer-events-none opacity-disabled"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
disableAnimation: {
|
|
1773
|
+
false: {
|
|
1774
|
+
indicator: "transition-transform"
|
|
1775
|
+
},
|
|
1776
|
+
true: {
|
|
1777
|
+
indicator: "transition-none"
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
defaultVariants: {
|
|
1782
|
+
orientation: "horizontal",
|
|
1783
|
+
variant: "solid",
|
|
1784
|
+
color: "primary",
|
|
1785
|
+
size: "md",
|
|
1786
|
+
radius: "full",
|
|
1787
|
+
separatorMode: "spaced",
|
|
1788
|
+
isDisabled: false,
|
|
1789
|
+
disableAnimation: false
|
|
1790
|
+
},
|
|
1791
|
+
compoundVariants: [
|
|
1792
|
+
{
|
|
1793
|
+
orientation: "horizontal",
|
|
1794
|
+
size: "sm",
|
|
1795
|
+
class: { separator: "mt-[11px] h-0.5" }
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
orientation: "horizontal",
|
|
1799
|
+
size: "md",
|
|
1800
|
+
class: { separator: "mt-[15px] h-0.5" }
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
orientation: "horizontal",
|
|
1804
|
+
size: "lg",
|
|
1805
|
+
class: { separator: "mt-[19px] h-0.5" }
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
orientation: "vertical",
|
|
1809
|
+
size: "sm",
|
|
1810
|
+
class: { separator: "ms-[11px] h-6 w-0.5" }
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
orientation: "vertical",
|
|
1814
|
+
size: "md",
|
|
1815
|
+
class: { separator: "ms-[15px] h-7 w-0.5" }
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
orientation: "vertical",
|
|
1819
|
+
size: "lg",
|
|
1820
|
+
class: { separator: "ms-[19px] h-8 w-0.5" }
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
separatorMode: "connected",
|
|
1824
|
+
orientation: "horizontal",
|
|
1825
|
+
class: {
|
|
1826
|
+
item: [
|
|
1827
|
+
"first:[&_[data-slot=content]]:items-start",
|
|
1828
|
+
"last:[&_[data-slot=content]]:items-end"
|
|
1829
|
+
],
|
|
1830
|
+
trigger: "flex-none",
|
|
1831
|
+
content: "w-0 overflow-visible whitespace-nowrap",
|
|
1832
|
+
separator: "mx-0"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
separatorMode: "connected",
|
|
1837
|
+
orientation: "vertical",
|
|
1838
|
+
class: {
|
|
1839
|
+
item: "relative",
|
|
1840
|
+
separator: "absolute bottom-0 my-0 h-auto"
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
separatorMode: "connected",
|
|
1845
|
+
orientation: "vertical",
|
|
1846
|
+
size: "sm",
|
|
1847
|
+
class: { separator: "start-[11px] top-6 ms-0" }
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
separatorMode: "connected",
|
|
1851
|
+
orientation: "vertical",
|
|
1852
|
+
size: "md",
|
|
1853
|
+
class: { separator: "start-[15px] top-8 ms-0" }
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
separatorMode: "connected",
|
|
1857
|
+
orientation: "vertical",
|
|
1858
|
+
size: "lg",
|
|
1859
|
+
class: { separator: "start-[19px] top-10 ms-0" }
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
variant: "dot",
|
|
1863
|
+
orientation: "horizontal",
|
|
1864
|
+
size: "sm",
|
|
1865
|
+
class: { indicator: "h-2 w-2 border-0", separator: "mt-[3px]" }
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
variant: "dot",
|
|
1869
|
+
orientation: "horizontal",
|
|
1870
|
+
size: "md",
|
|
1871
|
+
class: { indicator: "h-2.5 w-2.5 border-0", separator: "mt-[4px]" }
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
variant: "dot",
|
|
1875
|
+
orientation: "horizontal",
|
|
1876
|
+
size: "lg",
|
|
1877
|
+
class: { indicator: "h-3 w-3 border-0", separator: "mt-[5px]" }
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
variant: "dot",
|
|
1881
|
+
orientation: "vertical",
|
|
1882
|
+
size: "sm",
|
|
1883
|
+
class: { indicator: "h-2 w-2 border-0", separator: "ms-[3px]" }
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
variant: "dot",
|
|
1887
|
+
orientation: "vertical",
|
|
1888
|
+
size: "md",
|
|
1889
|
+
class: { indicator: "h-2.5 w-2.5 border-0", separator: "ms-[4px]" }
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
variant: "dot",
|
|
1893
|
+
orientation: "vertical",
|
|
1894
|
+
size: "lg",
|
|
1895
|
+
class: { indicator: "h-3 w-3 border-0", separator: "ms-[5px]" }
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
separatorMode: "connected",
|
|
1899
|
+
variant: "dot",
|
|
1900
|
+
orientation: "vertical",
|
|
1901
|
+
size: "sm",
|
|
1902
|
+
class: {
|
|
1903
|
+
separator: "start-[3px] top-2 ms-0"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
separatorMode: "connected",
|
|
1908
|
+
variant: "dot",
|
|
1909
|
+
orientation: "vertical",
|
|
1910
|
+
size: "md",
|
|
1911
|
+
class: { separator: "start-[4px] top-2.5 ms-0" }
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
separatorMode: "connected",
|
|
1915
|
+
variant: "dot",
|
|
1916
|
+
orientation: "vertical",
|
|
1917
|
+
size: "lg",
|
|
1918
|
+
class: { separator: "start-[5px] top-3 ms-0" }
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
variant: "solid",
|
|
1922
|
+
color: "default",
|
|
1923
|
+
class: {
|
|
1924
|
+
indicator: [
|
|
1925
|
+
"data-[status=current]:border-default-foreground",
|
|
1926
|
+
"data-[status=current]:bg-default-foreground",
|
|
1927
|
+
"data-[status=current]:text-background",
|
|
1928
|
+
"data-[status=complete]:border-default-foreground",
|
|
1929
|
+
"data-[status=complete]:bg-default-foreground",
|
|
1930
|
+
"data-[status=complete]:text-background",
|
|
1931
|
+
"data-[status=loading]:border-default-foreground",
|
|
1932
|
+
"data-[status=loading]:bg-default-foreground",
|
|
1933
|
+
"data-[status=loading]:text-background"
|
|
1934
|
+
],
|
|
1935
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
variant: "solid",
|
|
1940
|
+
color: "primary",
|
|
1941
|
+
class: {
|
|
1942
|
+
indicator: [
|
|
1943
|
+
"data-[status=current]:border-primary data-[status=current]:bg-primary",
|
|
1944
|
+
"data-[status=current]:text-primary-foreground",
|
|
1945
|
+
"data-[status=complete]:border-primary data-[status=complete]:bg-primary",
|
|
1946
|
+
"data-[status=complete]:text-primary-foreground",
|
|
1947
|
+
"data-[status=loading]:border-primary data-[status=loading]:bg-primary",
|
|
1948
|
+
"data-[status=loading]:text-primary-foreground"
|
|
1949
|
+
],
|
|
1950
|
+
separator: "data-[status=complete]:bg-primary"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
variant: "solid",
|
|
1955
|
+
color: "secondary",
|
|
1956
|
+
class: {
|
|
1957
|
+
indicator: [
|
|
1958
|
+
"data-[status=current]:border-secondary data-[status=current]:bg-secondary",
|
|
1959
|
+
"data-[status=current]:text-secondary-foreground",
|
|
1960
|
+
"data-[status=complete]:border-secondary data-[status=complete]:bg-secondary",
|
|
1961
|
+
"data-[status=complete]:text-secondary-foreground",
|
|
1962
|
+
"data-[status=loading]:border-secondary data-[status=loading]:bg-secondary",
|
|
1963
|
+
"data-[status=loading]:text-secondary-foreground"
|
|
1964
|
+
],
|
|
1965
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
variant: "solid",
|
|
1970
|
+
color: "success",
|
|
1971
|
+
class: {
|
|
1972
|
+
indicator: [
|
|
1973
|
+
"data-[status=current]:border-success data-[status=current]:bg-success",
|
|
1974
|
+
"data-[status=current]:text-success-foreground",
|
|
1975
|
+
"data-[status=complete]:border-success data-[status=complete]:bg-success",
|
|
1976
|
+
"data-[status=complete]:text-success-foreground",
|
|
1977
|
+
"data-[status=loading]:border-success data-[status=loading]:bg-success",
|
|
1978
|
+
"data-[status=loading]:text-success-foreground"
|
|
1979
|
+
],
|
|
1980
|
+
separator: "data-[status=complete]:bg-success"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
variant: "solid",
|
|
1985
|
+
color: "warning",
|
|
1986
|
+
class: {
|
|
1987
|
+
indicator: [
|
|
1988
|
+
"data-[status=current]:border-warning data-[status=current]:bg-warning",
|
|
1989
|
+
"data-[status=current]:text-warning-foreground",
|
|
1990
|
+
"data-[status=complete]:border-warning data-[status=complete]:bg-warning",
|
|
1991
|
+
"data-[status=complete]:text-warning-foreground",
|
|
1992
|
+
"data-[status=loading]:border-warning data-[status=loading]:bg-warning",
|
|
1993
|
+
"data-[status=loading]:text-warning-foreground"
|
|
1994
|
+
],
|
|
1995
|
+
separator: "data-[status=complete]:bg-warning"
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
variant: "solid",
|
|
2000
|
+
color: "danger",
|
|
2001
|
+
class: {
|
|
2002
|
+
indicator: [
|
|
2003
|
+
"data-[status=current]:border-danger data-[status=current]:bg-danger",
|
|
2004
|
+
"data-[status=current]:text-danger-foreground",
|
|
2005
|
+
"data-[status=complete]:border-danger data-[status=complete]:bg-danger",
|
|
2006
|
+
"data-[status=complete]:text-danger-foreground",
|
|
2007
|
+
"data-[status=loading]:border-danger data-[status=loading]:bg-danger",
|
|
2008
|
+
"data-[status=loading]:text-danger-foreground"
|
|
2009
|
+
],
|
|
2010
|
+
separator: "data-[status=complete]:bg-danger"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
variant: ["bordered", "flat"],
|
|
2015
|
+
color: "default",
|
|
2016
|
+
class: {
|
|
2017
|
+
indicator: [
|
|
2018
|
+
"data-[status=current]:border-default-foreground",
|
|
2019
|
+
"data-[status=current]:text-default-foreground",
|
|
2020
|
+
"data-[status=complete]:border-default-foreground",
|
|
2021
|
+
"data-[status=complete]:text-default-foreground",
|
|
2022
|
+
"data-[status=loading]:border-default-foreground",
|
|
2023
|
+
"data-[status=loading]:text-default-foreground"
|
|
2024
|
+
],
|
|
2025
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
variant: ["bordered", "flat"],
|
|
2030
|
+
color: "primary",
|
|
2031
|
+
class: {
|
|
2032
|
+
indicator: [
|
|
2033
|
+
"data-[status=current]:border-primary data-[status=current]:text-primary",
|
|
2034
|
+
"data-[status=complete]:border-primary data-[status=complete]:text-primary",
|
|
2035
|
+
"data-[status=loading]:border-primary data-[status=loading]:text-primary"
|
|
2036
|
+
],
|
|
2037
|
+
separator: "data-[status=complete]:bg-primary"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
variant: ["bordered", "flat"],
|
|
2042
|
+
color: "secondary",
|
|
2043
|
+
class: {
|
|
2044
|
+
indicator: [
|
|
2045
|
+
"data-[status=current]:border-secondary data-[status=current]:text-secondary",
|
|
2046
|
+
"data-[status=complete]:border-secondary data-[status=complete]:text-secondary",
|
|
2047
|
+
"data-[status=loading]:border-secondary data-[status=loading]:text-secondary"
|
|
2048
|
+
],
|
|
2049
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
variant: ["bordered", "flat"],
|
|
2054
|
+
color: "success",
|
|
2055
|
+
class: {
|
|
2056
|
+
indicator: [
|
|
2057
|
+
"data-[status=current]:border-success data-[status=current]:text-success",
|
|
2058
|
+
"data-[status=complete]:border-success data-[status=complete]:text-success",
|
|
2059
|
+
"data-[status=loading]:border-success data-[status=loading]:text-success"
|
|
2060
|
+
],
|
|
2061
|
+
separator: "data-[status=complete]:bg-success"
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
variant: ["bordered", "flat"],
|
|
2066
|
+
color: "warning",
|
|
2067
|
+
class: {
|
|
2068
|
+
indicator: [
|
|
2069
|
+
"data-[status=current]:border-warning data-[status=current]:text-warning",
|
|
2070
|
+
"data-[status=complete]:border-warning data-[status=complete]:text-warning",
|
|
2071
|
+
"data-[status=loading]:border-warning data-[status=loading]:text-warning"
|
|
2072
|
+
],
|
|
2073
|
+
separator: "data-[status=complete]:bg-warning"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
variant: ["bordered", "flat"],
|
|
2078
|
+
color: "danger",
|
|
2079
|
+
class: {
|
|
2080
|
+
indicator: [
|
|
2081
|
+
"data-[status=current]:border-danger data-[status=current]:text-danger",
|
|
2082
|
+
"data-[status=complete]:border-danger data-[status=complete]:text-danger",
|
|
2083
|
+
"data-[status=loading]:border-danger data-[status=loading]:text-danger"
|
|
2084
|
+
],
|
|
2085
|
+
separator: "data-[status=complete]:bg-danger"
|
|
2086
|
+
}
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
variant: "flat",
|
|
2090
|
+
color: "default",
|
|
2091
|
+
class: {
|
|
2092
|
+
indicator: [
|
|
2093
|
+
"data-[status=current]:bg-default-200",
|
|
2094
|
+
"data-[status=complete]:bg-default-200",
|
|
2095
|
+
"data-[status=loading]:bg-default-200"
|
|
2096
|
+
]
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
variant: "flat",
|
|
2101
|
+
color: "primary",
|
|
2102
|
+
class: {
|
|
2103
|
+
indicator: [
|
|
2104
|
+
"data-[status=current]:bg-primary/20",
|
|
2105
|
+
"data-[status=complete]:bg-primary/20",
|
|
2106
|
+
"data-[status=loading]:bg-primary/20"
|
|
2107
|
+
]
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
variant: "flat",
|
|
2112
|
+
color: "secondary",
|
|
2113
|
+
class: {
|
|
2114
|
+
indicator: [
|
|
2115
|
+
"data-[status=current]:bg-secondary/20",
|
|
2116
|
+
"data-[status=complete]:bg-secondary/20",
|
|
2117
|
+
"data-[status=loading]:bg-secondary/20"
|
|
2118
|
+
]
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
variant: "flat",
|
|
2123
|
+
color: "success",
|
|
2124
|
+
class: {
|
|
2125
|
+
indicator: [
|
|
2126
|
+
"data-[status=current]:bg-success/20",
|
|
2127
|
+
"data-[status=complete]:bg-success/20",
|
|
2128
|
+
"data-[status=loading]:bg-success/20"
|
|
2129
|
+
]
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
variant: "flat",
|
|
2134
|
+
color: "warning",
|
|
2135
|
+
class: {
|
|
2136
|
+
indicator: [
|
|
2137
|
+
"data-[status=current]:bg-warning/20",
|
|
2138
|
+
"data-[status=complete]:bg-warning/20",
|
|
2139
|
+
"data-[status=loading]:bg-warning/20"
|
|
2140
|
+
]
|
|
2141
|
+
}
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
variant: "flat",
|
|
2145
|
+
color: "danger",
|
|
2146
|
+
class: {
|
|
2147
|
+
indicator: [
|
|
2148
|
+
"data-[status=current]:bg-danger/20",
|
|
2149
|
+
"data-[status=complete]:bg-danger/20",
|
|
2150
|
+
"data-[status=loading]:bg-danger/20"
|
|
2151
|
+
]
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
variant: "dot",
|
|
2156
|
+
color: "default",
|
|
2157
|
+
class: {
|
|
2158
|
+
indicator: [
|
|
2159
|
+
"data-[status=current]:bg-default-foreground",
|
|
2160
|
+
"data-[status=complete]:bg-default-foreground",
|
|
2161
|
+
"data-[status=loading]:bg-default-foreground"
|
|
2162
|
+
],
|
|
2163
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
variant: "dot",
|
|
2168
|
+
color: "primary",
|
|
2169
|
+
class: {
|
|
2170
|
+
indicator: [
|
|
2171
|
+
"data-[status=current]:bg-primary",
|
|
2172
|
+
"data-[status=complete]:bg-primary",
|
|
2173
|
+
"data-[status=loading]:bg-primary"
|
|
2174
|
+
],
|
|
2175
|
+
separator: "data-[status=complete]:bg-primary"
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
variant: "dot",
|
|
2180
|
+
color: "secondary",
|
|
2181
|
+
class: {
|
|
2182
|
+
indicator: [
|
|
2183
|
+
"data-[status=current]:bg-secondary",
|
|
2184
|
+
"data-[status=complete]:bg-secondary",
|
|
2185
|
+
"data-[status=loading]:bg-secondary"
|
|
2186
|
+
],
|
|
2187
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
variant: "dot",
|
|
2192
|
+
color: "success",
|
|
2193
|
+
class: {
|
|
2194
|
+
indicator: [
|
|
2195
|
+
"data-[status=current]:bg-success",
|
|
2196
|
+
"data-[status=complete]:bg-success",
|
|
2197
|
+
"data-[status=loading]:bg-success"
|
|
2198
|
+
],
|
|
2199
|
+
separator: "data-[status=complete]:bg-success"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
variant: "dot",
|
|
2204
|
+
color: "warning",
|
|
2205
|
+
class: {
|
|
2206
|
+
indicator: [
|
|
2207
|
+
"data-[status=current]:bg-warning",
|
|
2208
|
+
"data-[status=complete]:bg-warning",
|
|
2209
|
+
"data-[status=loading]:bg-warning"
|
|
2210
|
+
],
|
|
2211
|
+
separator: "data-[status=complete]:bg-warning"
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
variant: "dot",
|
|
2216
|
+
color: "danger",
|
|
2217
|
+
class: {
|
|
2218
|
+
indicator: [
|
|
2219
|
+
"data-[status=current]:bg-danger",
|
|
2220
|
+
"data-[status=complete]:bg-danger",
|
|
2221
|
+
"data-[status=loading]:bg-danger"
|
|
2222
|
+
],
|
|
2223
|
+
separator: "data-[status=complete]:bg-danger"
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
});
|
|
2228
|
+
|
|
1622
2229
|
// src/components/code.ts
|
|
1623
2230
|
var code = tv({
|
|
1624
2231
|
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
@@ -3081,27 +3688,27 @@ var bottomBar = tv({
|
|
|
3081
3688
|
color: {
|
|
3082
3689
|
default: {
|
|
3083
3690
|
link: "data-[selected=true]:text-foreground",
|
|
3084
|
-
selectionIndicator: ["
|
|
3691
|
+
selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
|
|
3085
3692
|
},
|
|
3086
3693
|
primary: {
|
|
3087
3694
|
link: "data-[selected=true]:text-primary",
|
|
3088
|
-
selectionIndicator: ["
|
|
3695
|
+
selectionIndicator: ["bg-primary/15", "after:bg-primary"]
|
|
3089
3696
|
},
|
|
3090
3697
|
secondary: {
|
|
3091
3698
|
link: "data-[selected=true]:text-secondary",
|
|
3092
|
-
selectionIndicator: ["
|
|
3699
|
+
selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
|
|
3093
3700
|
},
|
|
3094
3701
|
success: {
|
|
3095
3702
|
link: "data-[selected=true]:text-success",
|
|
3096
|
-
selectionIndicator: ["
|
|
3703
|
+
selectionIndicator: ["bg-success/15", "after:bg-success"]
|
|
3097
3704
|
},
|
|
3098
3705
|
warning: {
|
|
3099
3706
|
link: "data-[selected=true]:text-warning",
|
|
3100
|
-
selectionIndicator: ["
|
|
3707
|
+
selectionIndicator: ["bg-warning/15", "after:bg-warning"]
|
|
3101
3708
|
},
|
|
3102
3709
|
danger: {
|
|
3103
3710
|
link: "data-[selected=true]:text-danger",
|
|
3104
|
-
selectionIndicator: ["
|
|
3711
|
+
selectionIndicator: ["bg-danger/15", "after:bg-danger"]
|
|
3105
3712
|
}
|
|
3106
3713
|
},
|
|
3107
3714
|
variant: {
|
|
@@ -3111,15 +3718,16 @@ var bottomBar = tv({
|
|
|
3111
3718
|
"bg-transparent",
|
|
3112
3719
|
"after:absolute",
|
|
3113
3720
|
"after:bottom-0",
|
|
3114
|
-
"after:left-
|
|
3115
|
-
"after:h-
|
|
3116
|
-
"after:w-
|
|
3721
|
+
"after:left-1/2",
|
|
3722
|
+
"after:h-[5px]",
|
|
3723
|
+
"after:w-5",
|
|
3724
|
+
"after:-translate-x-1/2",
|
|
3117
3725
|
"after:rounded-full",
|
|
3118
3726
|
"after:content-['']"
|
|
3119
3727
|
]
|
|
3120
3728
|
},
|
|
3121
3729
|
ghost: {
|
|
3122
|
-
selectionIndicator:
|
|
3730
|
+
selectionIndicator: "bg-transparent"
|
|
3123
3731
|
}
|
|
3124
3732
|
},
|
|
3125
3733
|
hideLabels: {
|
|
@@ -7727,6 +8335,30 @@ var skeleton = tv({
|
|
|
7727
8335
|
defaultVariants: {}
|
|
7728
8336
|
});
|
|
7729
8337
|
|
|
8338
|
+
// src/components/shimmer-text.ts
|
|
8339
|
+
var shimmerText = tv({
|
|
8340
|
+
base: "sytech-shimmer-text animate-shimmer-text",
|
|
8341
|
+
variants: {
|
|
8342
|
+
once: {
|
|
8343
|
+
true: "sytech-shimmer-text-once",
|
|
8344
|
+
false: ""
|
|
8345
|
+
},
|
|
8346
|
+
reverse: {
|
|
8347
|
+
true: "sytech-shimmer-text-reverse",
|
|
8348
|
+
false: ""
|
|
8349
|
+
},
|
|
8350
|
+
disableAnimation: {
|
|
8351
|
+
true: "sytech-shimmer-text-disabled !animate-none",
|
|
8352
|
+
false: ""
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
defaultVariants: {
|
|
8356
|
+
once: false,
|
|
8357
|
+
reverse: false,
|
|
8358
|
+
disableAnimation: false
|
|
8359
|
+
}
|
|
8360
|
+
});
|
|
8361
|
+
|
|
7730
8362
|
// src/components/select.ts
|
|
7731
8363
|
var select = tv({
|
|
7732
8364
|
slots: {
|
|
@@ -12547,11 +13179,13 @@ var toast = tv({
|
|
|
12547
13179
|
scrollArea,
|
|
12548
13180
|
scrollShadow,
|
|
12549
13181
|
select,
|
|
13182
|
+
shimmerText,
|
|
12550
13183
|
skeleton,
|
|
12551
13184
|
slider,
|
|
12552
13185
|
snippet,
|
|
12553
13186
|
spacer,
|
|
12554
13187
|
spinner,
|
|
13188
|
+
stepper,
|
|
12555
13189
|
table,
|
|
12556
13190
|
tabs,
|
|
12557
13191
|
toast,
|