@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
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-GQT3YUX3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
cn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZLTZIM6X.mjs";
|
|
7
7
|
import {
|
|
8
8
|
tv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FBI452W6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
collapseAdjacentVariantBorders,
|
|
12
12
|
dataFocusVisibleClasses,
|
|
@@ -890,6 +890,571 @@ var buttonGroup = tv({
|
|
|
890
890
|
}
|
|
891
891
|
});
|
|
892
892
|
|
|
893
|
+
// src/components/stepper.ts
|
|
894
|
+
var stepper = tv({
|
|
895
|
+
slots: {
|
|
896
|
+
base: "w-full",
|
|
897
|
+
list: "m-0 flex list-none p-0",
|
|
898
|
+
item: "group/item flex min-w-0",
|
|
899
|
+
trigger: [
|
|
900
|
+
"group/trigger flex min-w-0 shrink-0 outline-solid outline-transparent",
|
|
901
|
+
"tap-highlight-transparent",
|
|
902
|
+
...dataFocusVisibleClasses,
|
|
903
|
+
"data-[clickable=true]:cursor-pointer",
|
|
904
|
+
"data-[disabled=true]:cursor-not-allowed",
|
|
905
|
+
"data-[disabled=true]:opacity-disabled"
|
|
906
|
+
],
|
|
907
|
+
indicator: [
|
|
908
|
+
"flex shrink-0 items-center justify-center rounded-full border-2 font-semibold",
|
|
909
|
+
"border-default-300 bg-default-100 text-default-500",
|
|
910
|
+
"group-data-[hover=true]/trigger:scale-105",
|
|
911
|
+
"group-data-[pressed=true]/trigger:scale-95",
|
|
912
|
+
"data-[status=error]:border-danger",
|
|
913
|
+
"data-[status=error]:bg-danger",
|
|
914
|
+
"data-[status=error]:text-danger-foreground"
|
|
915
|
+
],
|
|
916
|
+
content: "flex min-w-0 flex-col",
|
|
917
|
+
title: [
|
|
918
|
+
"text-default-500",
|
|
919
|
+
"group-data-[current=true]/item:text-foreground",
|
|
920
|
+
"group-data-[status=complete]/item:text-foreground",
|
|
921
|
+
"group-data-[status=error]/item:text-danger"
|
|
922
|
+
],
|
|
923
|
+
description: "text-default-400",
|
|
924
|
+
separator: "shrink-0 bg-default-200"
|
|
925
|
+
},
|
|
926
|
+
variants: {
|
|
927
|
+
orientation: {
|
|
928
|
+
horizontal: {
|
|
929
|
+
base: "overflow-x-auto scrollbar-hide",
|
|
930
|
+
list: "min-w-max flex-row items-start",
|
|
931
|
+
item: "flex-1 flex-row items-start last:flex-none",
|
|
932
|
+
trigger: "flex-col items-center text-center",
|
|
933
|
+
content: "mt-2 items-center",
|
|
934
|
+
separator: "mx-2 flex-1"
|
|
935
|
+
},
|
|
936
|
+
vertical: {
|
|
937
|
+
list: "flex-col",
|
|
938
|
+
item: "flex-col",
|
|
939
|
+
trigger: "flex-row items-start text-start",
|
|
940
|
+
content: "ms-3 items-start",
|
|
941
|
+
separator: "my-1"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
variant: {
|
|
945
|
+
solid: {},
|
|
946
|
+
bordered: {},
|
|
947
|
+
flat: {},
|
|
948
|
+
dot: {}
|
|
949
|
+
},
|
|
950
|
+
color: {
|
|
951
|
+
default: {},
|
|
952
|
+
primary: {},
|
|
953
|
+
secondary: {},
|
|
954
|
+
success: {},
|
|
955
|
+
warning: {},
|
|
956
|
+
danger: {}
|
|
957
|
+
},
|
|
958
|
+
size: {
|
|
959
|
+
sm: {
|
|
960
|
+
indicator: "h-6 w-6 text-tiny",
|
|
961
|
+
title: "text-tiny",
|
|
962
|
+
description: "text-tiny"
|
|
963
|
+
},
|
|
964
|
+
md: {
|
|
965
|
+
indicator: "h-8 w-8 text-small",
|
|
966
|
+
title: "text-small",
|
|
967
|
+
description: "text-tiny"
|
|
968
|
+
},
|
|
969
|
+
lg: {
|
|
970
|
+
indicator: "h-10 w-10 text-medium",
|
|
971
|
+
title: "text-medium",
|
|
972
|
+
description: "text-small"
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
radius: {
|
|
976
|
+
none: {
|
|
977
|
+
indicator: "rounded-none"
|
|
978
|
+
},
|
|
979
|
+
sm: {
|
|
980
|
+
indicator: "rounded-small"
|
|
981
|
+
},
|
|
982
|
+
md: {
|
|
983
|
+
indicator: "rounded-medium"
|
|
984
|
+
},
|
|
985
|
+
lg: {
|
|
986
|
+
indicator: "rounded-large"
|
|
987
|
+
},
|
|
988
|
+
full: {
|
|
989
|
+
indicator: "rounded-full"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
separatorMode: {
|
|
993
|
+
spaced: {},
|
|
994
|
+
connected: {}
|
|
995
|
+
},
|
|
996
|
+
isDisabled: {
|
|
997
|
+
true: {
|
|
998
|
+
base: "pointer-events-none opacity-disabled"
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
disableAnimation: {
|
|
1002
|
+
false: {
|
|
1003
|
+
indicator: "transition-transform"
|
|
1004
|
+
},
|
|
1005
|
+
true: {
|
|
1006
|
+
indicator: "transition-none"
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
defaultVariants: {
|
|
1011
|
+
orientation: "horizontal",
|
|
1012
|
+
variant: "solid",
|
|
1013
|
+
color: "primary",
|
|
1014
|
+
size: "md",
|
|
1015
|
+
radius: "full",
|
|
1016
|
+
separatorMode: "spaced",
|
|
1017
|
+
isDisabled: false,
|
|
1018
|
+
disableAnimation: false
|
|
1019
|
+
},
|
|
1020
|
+
compoundVariants: [
|
|
1021
|
+
{
|
|
1022
|
+
orientation: "horizontal",
|
|
1023
|
+
size: "sm",
|
|
1024
|
+
class: { separator: "mt-[11px] h-0.5" }
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
orientation: "horizontal",
|
|
1028
|
+
size: "md",
|
|
1029
|
+
class: { separator: "mt-[15px] h-0.5" }
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
orientation: "horizontal",
|
|
1033
|
+
size: "lg",
|
|
1034
|
+
class: { separator: "mt-[19px] h-0.5" }
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
orientation: "vertical",
|
|
1038
|
+
size: "sm",
|
|
1039
|
+
class: { separator: "ms-[11px] h-6 w-0.5" }
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
orientation: "vertical",
|
|
1043
|
+
size: "md",
|
|
1044
|
+
class: { separator: "ms-[15px] h-7 w-0.5" }
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
orientation: "vertical",
|
|
1048
|
+
size: "lg",
|
|
1049
|
+
class: { separator: "ms-[19px] h-8 w-0.5" }
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
separatorMode: "connected",
|
|
1053
|
+
orientation: "horizontal",
|
|
1054
|
+
class: {
|
|
1055
|
+
item: [
|
|
1056
|
+
"first:[&_[data-slot=content]]:items-start",
|
|
1057
|
+
"last:[&_[data-slot=content]]:items-end"
|
|
1058
|
+
],
|
|
1059
|
+
trigger: "flex-none",
|
|
1060
|
+
content: "w-0 overflow-visible whitespace-nowrap",
|
|
1061
|
+
separator: "mx-0"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
separatorMode: "connected",
|
|
1066
|
+
orientation: "vertical",
|
|
1067
|
+
class: {
|
|
1068
|
+
item: "relative",
|
|
1069
|
+
separator: "absolute bottom-0 my-0 h-auto"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
separatorMode: "connected",
|
|
1074
|
+
orientation: "vertical",
|
|
1075
|
+
size: "sm",
|
|
1076
|
+
class: { separator: "start-[11px] top-6 ms-0" }
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
separatorMode: "connected",
|
|
1080
|
+
orientation: "vertical",
|
|
1081
|
+
size: "md",
|
|
1082
|
+
class: { separator: "start-[15px] top-8 ms-0" }
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
separatorMode: "connected",
|
|
1086
|
+
orientation: "vertical",
|
|
1087
|
+
size: "lg",
|
|
1088
|
+
class: { separator: "start-[19px] top-10 ms-0" }
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
variant: "dot",
|
|
1092
|
+
orientation: "horizontal",
|
|
1093
|
+
size: "sm",
|
|
1094
|
+
class: { indicator: "h-2 w-2 border-0", separator: "mt-[3px]" }
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
variant: "dot",
|
|
1098
|
+
orientation: "horizontal",
|
|
1099
|
+
size: "md",
|
|
1100
|
+
class: { indicator: "h-2.5 w-2.5 border-0", separator: "mt-[4px]" }
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
variant: "dot",
|
|
1104
|
+
orientation: "horizontal",
|
|
1105
|
+
size: "lg",
|
|
1106
|
+
class: { indicator: "h-3 w-3 border-0", separator: "mt-[5px]" }
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
variant: "dot",
|
|
1110
|
+
orientation: "vertical",
|
|
1111
|
+
size: "sm",
|
|
1112
|
+
class: { indicator: "h-2 w-2 border-0", separator: "ms-[3px]" }
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
variant: "dot",
|
|
1116
|
+
orientation: "vertical",
|
|
1117
|
+
size: "md",
|
|
1118
|
+
class: { indicator: "h-2.5 w-2.5 border-0", separator: "ms-[4px]" }
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
variant: "dot",
|
|
1122
|
+
orientation: "vertical",
|
|
1123
|
+
size: "lg",
|
|
1124
|
+
class: { indicator: "h-3 w-3 border-0", separator: "ms-[5px]" }
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
separatorMode: "connected",
|
|
1128
|
+
variant: "dot",
|
|
1129
|
+
orientation: "vertical",
|
|
1130
|
+
size: "sm",
|
|
1131
|
+
class: {
|
|
1132
|
+
separator: "start-[3px] top-2 ms-0"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
separatorMode: "connected",
|
|
1137
|
+
variant: "dot",
|
|
1138
|
+
orientation: "vertical",
|
|
1139
|
+
size: "md",
|
|
1140
|
+
class: { separator: "start-[4px] top-2.5 ms-0" }
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
separatorMode: "connected",
|
|
1144
|
+
variant: "dot",
|
|
1145
|
+
orientation: "vertical",
|
|
1146
|
+
size: "lg",
|
|
1147
|
+
class: { separator: "start-[5px] top-3 ms-0" }
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
variant: "solid",
|
|
1151
|
+
color: "default",
|
|
1152
|
+
class: {
|
|
1153
|
+
indicator: [
|
|
1154
|
+
"data-[status=current]:border-default-foreground",
|
|
1155
|
+
"data-[status=current]:bg-default-foreground",
|
|
1156
|
+
"data-[status=current]:text-background",
|
|
1157
|
+
"data-[status=complete]:border-default-foreground",
|
|
1158
|
+
"data-[status=complete]:bg-default-foreground",
|
|
1159
|
+
"data-[status=complete]:text-background",
|
|
1160
|
+
"data-[status=loading]:border-default-foreground",
|
|
1161
|
+
"data-[status=loading]:bg-default-foreground",
|
|
1162
|
+
"data-[status=loading]:text-background"
|
|
1163
|
+
],
|
|
1164
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
variant: "solid",
|
|
1169
|
+
color: "primary",
|
|
1170
|
+
class: {
|
|
1171
|
+
indicator: [
|
|
1172
|
+
"data-[status=current]:border-primary data-[status=current]:bg-primary",
|
|
1173
|
+
"data-[status=current]:text-primary-foreground",
|
|
1174
|
+
"data-[status=complete]:border-primary data-[status=complete]:bg-primary",
|
|
1175
|
+
"data-[status=complete]:text-primary-foreground",
|
|
1176
|
+
"data-[status=loading]:border-primary data-[status=loading]:bg-primary",
|
|
1177
|
+
"data-[status=loading]:text-primary-foreground"
|
|
1178
|
+
],
|
|
1179
|
+
separator: "data-[status=complete]:bg-primary"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
variant: "solid",
|
|
1184
|
+
color: "secondary",
|
|
1185
|
+
class: {
|
|
1186
|
+
indicator: [
|
|
1187
|
+
"data-[status=current]:border-secondary data-[status=current]:bg-secondary",
|
|
1188
|
+
"data-[status=current]:text-secondary-foreground",
|
|
1189
|
+
"data-[status=complete]:border-secondary data-[status=complete]:bg-secondary",
|
|
1190
|
+
"data-[status=complete]:text-secondary-foreground",
|
|
1191
|
+
"data-[status=loading]:border-secondary data-[status=loading]:bg-secondary",
|
|
1192
|
+
"data-[status=loading]:text-secondary-foreground"
|
|
1193
|
+
],
|
|
1194
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
variant: "solid",
|
|
1199
|
+
color: "success",
|
|
1200
|
+
class: {
|
|
1201
|
+
indicator: [
|
|
1202
|
+
"data-[status=current]:border-success data-[status=current]:bg-success",
|
|
1203
|
+
"data-[status=current]:text-success-foreground",
|
|
1204
|
+
"data-[status=complete]:border-success data-[status=complete]:bg-success",
|
|
1205
|
+
"data-[status=complete]:text-success-foreground",
|
|
1206
|
+
"data-[status=loading]:border-success data-[status=loading]:bg-success",
|
|
1207
|
+
"data-[status=loading]:text-success-foreground"
|
|
1208
|
+
],
|
|
1209
|
+
separator: "data-[status=complete]:bg-success"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
variant: "solid",
|
|
1214
|
+
color: "warning",
|
|
1215
|
+
class: {
|
|
1216
|
+
indicator: [
|
|
1217
|
+
"data-[status=current]:border-warning data-[status=current]:bg-warning",
|
|
1218
|
+
"data-[status=current]:text-warning-foreground",
|
|
1219
|
+
"data-[status=complete]:border-warning data-[status=complete]:bg-warning",
|
|
1220
|
+
"data-[status=complete]:text-warning-foreground",
|
|
1221
|
+
"data-[status=loading]:border-warning data-[status=loading]:bg-warning",
|
|
1222
|
+
"data-[status=loading]:text-warning-foreground"
|
|
1223
|
+
],
|
|
1224
|
+
separator: "data-[status=complete]:bg-warning"
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
variant: "solid",
|
|
1229
|
+
color: "danger",
|
|
1230
|
+
class: {
|
|
1231
|
+
indicator: [
|
|
1232
|
+
"data-[status=current]:border-danger data-[status=current]:bg-danger",
|
|
1233
|
+
"data-[status=current]:text-danger-foreground",
|
|
1234
|
+
"data-[status=complete]:border-danger data-[status=complete]:bg-danger",
|
|
1235
|
+
"data-[status=complete]:text-danger-foreground",
|
|
1236
|
+
"data-[status=loading]:border-danger data-[status=loading]:bg-danger",
|
|
1237
|
+
"data-[status=loading]:text-danger-foreground"
|
|
1238
|
+
],
|
|
1239
|
+
separator: "data-[status=complete]:bg-danger"
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
variant: ["bordered", "flat"],
|
|
1244
|
+
color: "default",
|
|
1245
|
+
class: {
|
|
1246
|
+
indicator: [
|
|
1247
|
+
"data-[status=current]:border-default-foreground",
|
|
1248
|
+
"data-[status=current]:text-default-foreground",
|
|
1249
|
+
"data-[status=complete]:border-default-foreground",
|
|
1250
|
+
"data-[status=complete]:text-default-foreground",
|
|
1251
|
+
"data-[status=loading]:border-default-foreground",
|
|
1252
|
+
"data-[status=loading]:text-default-foreground"
|
|
1253
|
+
],
|
|
1254
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
variant: ["bordered", "flat"],
|
|
1259
|
+
color: "primary",
|
|
1260
|
+
class: {
|
|
1261
|
+
indicator: [
|
|
1262
|
+
"data-[status=current]:border-primary data-[status=current]:text-primary",
|
|
1263
|
+
"data-[status=complete]:border-primary data-[status=complete]:text-primary",
|
|
1264
|
+
"data-[status=loading]:border-primary data-[status=loading]:text-primary"
|
|
1265
|
+
],
|
|
1266
|
+
separator: "data-[status=complete]:bg-primary"
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
variant: ["bordered", "flat"],
|
|
1271
|
+
color: "secondary",
|
|
1272
|
+
class: {
|
|
1273
|
+
indicator: [
|
|
1274
|
+
"data-[status=current]:border-secondary data-[status=current]:text-secondary",
|
|
1275
|
+
"data-[status=complete]:border-secondary data-[status=complete]:text-secondary",
|
|
1276
|
+
"data-[status=loading]:border-secondary data-[status=loading]:text-secondary"
|
|
1277
|
+
],
|
|
1278
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
variant: ["bordered", "flat"],
|
|
1283
|
+
color: "success",
|
|
1284
|
+
class: {
|
|
1285
|
+
indicator: [
|
|
1286
|
+
"data-[status=current]:border-success data-[status=current]:text-success",
|
|
1287
|
+
"data-[status=complete]:border-success data-[status=complete]:text-success",
|
|
1288
|
+
"data-[status=loading]:border-success data-[status=loading]:text-success"
|
|
1289
|
+
],
|
|
1290
|
+
separator: "data-[status=complete]:bg-success"
|
|
1291
|
+
}
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
variant: ["bordered", "flat"],
|
|
1295
|
+
color: "warning",
|
|
1296
|
+
class: {
|
|
1297
|
+
indicator: [
|
|
1298
|
+
"data-[status=current]:border-warning data-[status=current]:text-warning",
|
|
1299
|
+
"data-[status=complete]:border-warning data-[status=complete]:text-warning",
|
|
1300
|
+
"data-[status=loading]:border-warning data-[status=loading]:text-warning"
|
|
1301
|
+
],
|
|
1302
|
+
separator: "data-[status=complete]:bg-warning"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
variant: ["bordered", "flat"],
|
|
1307
|
+
color: "danger",
|
|
1308
|
+
class: {
|
|
1309
|
+
indicator: [
|
|
1310
|
+
"data-[status=current]:border-danger data-[status=current]:text-danger",
|
|
1311
|
+
"data-[status=complete]:border-danger data-[status=complete]:text-danger",
|
|
1312
|
+
"data-[status=loading]:border-danger data-[status=loading]:text-danger"
|
|
1313
|
+
],
|
|
1314
|
+
separator: "data-[status=complete]:bg-danger"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
variant: "flat",
|
|
1319
|
+
color: "default",
|
|
1320
|
+
class: {
|
|
1321
|
+
indicator: [
|
|
1322
|
+
"data-[status=current]:bg-default-200",
|
|
1323
|
+
"data-[status=complete]:bg-default-200",
|
|
1324
|
+
"data-[status=loading]:bg-default-200"
|
|
1325
|
+
]
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
variant: "flat",
|
|
1330
|
+
color: "primary",
|
|
1331
|
+
class: {
|
|
1332
|
+
indicator: [
|
|
1333
|
+
"data-[status=current]:bg-primary/20",
|
|
1334
|
+
"data-[status=complete]:bg-primary/20",
|
|
1335
|
+
"data-[status=loading]:bg-primary/20"
|
|
1336
|
+
]
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
variant: "flat",
|
|
1341
|
+
color: "secondary",
|
|
1342
|
+
class: {
|
|
1343
|
+
indicator: [
|
|
1344
|
+
"data-[status=current]:bg-secondary/20",
|
|
1345
|
+
"data-[status=complete]:bg-secondary/20",
|
|
1346
|
+
"data-[status=loading]:bg-secondary/20"
|
|
1347
|
+
]
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
variant: "flat",
|
|
1352
|
+
color: "success",
|
|
1353
|
+
class: {
|
|
1354
|
+
indicator: [
|
|
1355
|
+
"data-[status=current]:bg-success/20",
|
|
1356
|
+
"data-[status=complete]:bg-success/20",
|
|
1357
|
+
"data-[status=loading]:bg-success/20"
|
|
1358
|
+
]
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
variant: "flat",
|
|
1363
|
+
color: "warning",
|
|
1364
|
+
class: {
|
|
1365
|
+
indicator: [
|
|
1366
|
+
"data-[status=current]:bg-warning/20",
|
|
1367
|
+
"data-[status=complete]:bg-warning/20",
|
|
1368
|
+
"data-[status=loading]:bg-warning/20"
|
|
1369
|
+
]
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
variant: "flat",
|
|
1374
|
+
color: "danger",
|
|
1375
|
+
class: {
|
|
1376
|
+
indicator: [
|
|
1377
|
+
"data-[status=current]:bg-danger/20",
|
|
1378
|
+
"data-[status=complete]:bg-danger/20",
|
|
1379
|
+
"data-[status=loading]:bg-danger/20"
|
|
1380
|
+
]
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
variant: "dot",
|
|
1385
|
+
color: "default",
|
|
1386
|
+
class: {
|
|
1387
|
+
indicator: [
|
|
1388
|
+
"data-[status=current]:bg-default-foreground",
|
|
1389
|
+
"data-[status=complete]:bg-default-foreground",
|
|
1390
|
+
"data-[status=loading]:bg-default-foreground"
|
|
1391
|
+
],
|
|
1392
|
+
separator: "data-[status=complete]:bg-default-foreground"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
variant: "dot",
|
|
1397
|
+
color: "primary",
|
|
1398
|
+
class: {
|
|
1399
|
+
indicator: [
|
|
1400
|
+
"data-[status=current]:bg-primary",
|
|
1401
|
+
"data-[status=complete]:bg-primary",
|
|
1402
|
+
"data-[status=loading]:bg-primary"
|
|
1403
|
+
],
|
|
1404
|
+
separator: "data-[status=complete]:bg-primary"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
variant: "dot",
|
|
1409
|
+
color: "secondary",
|
|
1410
|
+
class: {
|
|
1411
|
+
indicator: [
|
|
1412
|
+
"data-[status=current]:bg-secondary",
|
|
1413
|
+
"data-[status=complete]:bg-secondary",
|
|
1414
|
+
"data-[status=loading]:bg-secondary"
|
|
1415
|
+
],
|
|
1416
|
+
separator: "data-[status=complete]:bg-secondary"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
variant: "dot",
|
|
1421
|
+
color: "success",
|
|
1422
|
+
class: {
|
|
1423
|
+
indicator: [
|
|
1424
|
+
"data-[status=current]:bg-success",
|
|
1425
|
+
"data-[status=complete]:bg-success",
|
|
1426
|
+
"data-[status=loading]:bg-success"
|
|
1427
|
+
],
|
|
1428
|
+
separator: "data-[status=complete]:bg-success"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
variant: "dot",
|
|
1433
|
+
color: "warning",
|
|
1434
|
+
class: {
|
|
1435
|
+
indicator: [
|
|
1436
|
+
"data-[status=current]:bg-warning",
|
|
1437
|
+
"data-[status=complete]:bg-warning",
|
|
1438
|
+
"data-[status=loading]:bg-warning"
|
|
1439
|
+
],
|
|
1440
|
+
separator: "data-[status=complete]:bg-warning"
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
variant: "dot",
|
|
1445
|
+
color: "danger",
|
|
1446
|
+
class: {
|
|
1447
|
+
indicator: [
|
|
1448
|
+
"data-[status=current]:bg-danger",
|
|
1449
|
+
"data-[status=complete]:bg-danger",
|
|
1450
|
+
"data-[status=loading]:bg-danger"
|
|
1451
|
+
],
|
|
1452
|
+
separator: "data-[status=complete]:bg-danger"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
]
|
|
1456
|
+
});
|
|
1457
|
+
|
|
893
1458
|
// src/components/code.ts
|
|
894
1459
|
var code = tv({
|
|
895
1460
|
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
@@ -2352,27 +2917,27 @@ var bottomBar = tv({
|
|
|
2352
2917
|
color: {
|
|
2353
2918
|
default: {
|
|
2354
2919
|
link: "data-[selected=true]:text-foreground",
|
|
2355
|
-
selectionIndicator: ["
|
|
2920
|
+
selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
|
|
2356
2921
|
},
|
|
2357
2922
|
primary: {
|
|
2358
2923
|
link: "data-[selected=true]:text-primary",
|
|
2359
|
-
selectionIndicator: ["
|
|
2924
|
+
selectionIndicator: ["bg-primary/15", "after:bg-primary"]
|
|
2360
2925
|
},
|
|
2361
2926
|
secondary: {
|
|
2362
2927
|
link: "data-[selected=true]:text-secondary",
|
|
2363
|
-
selectionIndicator: ["
|
|
2928
|
+
selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
|
|
2364
2929
|
},
|
|
2365
2930
|
success: {
|
|
2366
2931
|
link: "data-[selected=true]:text-success",
|
|
2367
|
-
selectionIndicator: ["
|
|
2932
|
+
selectionIndicator: ["bg-success/15", "after:bg-success"]
|
|
2368
2933
|
},
|
|
2369
2934
|
warning: {
|
|
2370
2935
|
link: "data-[selected=true]:text-warning",
|
|
2371
|
-
selectionIndicator: ["
|
|
2936
|
+
selectionIndicator: ["bg-warning/15", "after:bg-warning"]
|
|
2372
2937
|
},
|
|
2373
2938
|
danger: {
|
|
2374
2939
|
link: "data-[selected=true]:text-danger",
|
|
2375
|
-
selectionIndicator: ["
|
|
2940
|
+
selectionIndicator: ["bg-danger/15", "after:bg-danger"]
|
|
2376
2941
|
}
|
|
2377
2942
|
},
|
|
2378
2943
|
variant: {
|
|
@@ -2382,15 +2947,16 @@ var bottomBar = tv({
|
|
|
2382
2947
|
"bg-transparent",
|
|
2383
2948
|
"after:absolute",
|
|
2384
2949
|
"after:bottom-0",
|
|
2385
|
-
"after:left-
|
|
2386
|
-
"after:h-
|
|
2387
|
-
"after:w-
|
|
2950
|
+
"after:left-1/2",
|
|
2951
|
+
"after:h-[5px]",
|
|
2952
|
+
"after:w-5",
|
|
2953
|
+
"after:-translate-x-1/2",
|
|
2388
2954
|
"after:rounded-full",
|
|
2389
2955
|
"after:content-['']"
|
|
2390
2956
|
]
|
|
2391
2957
|
},
|
|
2392
2958
|
ghost: {
|
|
2393
|
-
selectionIndicator:
|
|
2959
|
+
selectionIndicator: "bg-transparent"
|
|
2394
2960
|
}
|
|
2395
2961
|
},
|
|
2396
2962
|
hideLabels: {
|
|
@@ -10550,6 +11116,7 @@ export {
|
|
|
10550
11116
|
user,
|
|
10551
11117
|
button,
|
|
10552
11118
|
buttonGroup,
|
|
11119
|
+
stepper,
|
|
10553
11120
|
code,
|
|
10554
11121
|
popover,
|
|
10555
11122
|
snippet,
|
|
@@ -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)"
|