@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
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/bottom-bar.ts
|
|
21
|
+
var bottom_bar_exports = {};
|
|
22
|
+
__export(bottom_bar_exports, {
|
|
23
|
+
bottomBar: () => bottomBar
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(bottom_bar_exports);
|
|
26
|
+
|
|
27
|
+
// src/utils/tv.ts
|
|
28
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
29
|
+
|
|
30
|
+
// src/utilities/transition.ts
|
|
31
|
+
var DEFAULT_TRANSITION_DURATION = "250ms";
|
|
32
|
+
var transition_default = {
|
|
33
|
+
/**
|
|
34
|
+
* Transition utilities
|
|
35
|
+
*/
|
|
36
|
+
".transition-background": {
|
|
37
|
+
"transition-property": "background",
|
|
38
|
+
"transition-timing-function": "ease",
|
|
39
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
40
|
+
},
|
|
41
|
+
".transition-colors-opacity": {
|
|
42
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity",
|
|
43
|
+
"transition-timing-function": "ease",
|
|
44
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
45
|
+
},
|
|
46
|
+
".transition-width": {
|
|
47
|
+
"transition-property": "width",
|
|
48
|
+
"transition-timing-function": "ease",
|
|
49
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
50
|
+
},
|
|
51
|
+
".transition-height": {
|
|
52
|
+
"transition-property": "height",
|
|
53
|
+
"transition-timing-function": "ease",
|
|
54
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
55
|
+
},
|
|
56
|
+
".transition-size": {
|
|
57
|
+
"transition-property": "width, height",
|
|
58
|
+
"transition-timing-function": "ease",
|
|
59
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
60
|
+
},
|
|
61
|
+
".transition-left": {
|
|
62
|
+
"transition-property": "left",
|
|
63
|
+
"transition-timing-function": "ease",
|
|
64
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
65
|
+
},
|
|
66
|
+
".transition-transform-opacity": {
|
|
67
|
+
"transition-property": "transform, scale, opacity rotate",
|
|
68
|
+
"transition-timing-function": "ease",
|
|
69
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
70
|
+
},
|
|
71
|
+
".transition-transform-background": {
|
|
72
|
+
"transition-property": "transform, scale, background",
|
|
73
|
+
"transition-timing-function": "ease",
|
|
74
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
75
|
+
},
|
|
76
|
+
".transition-transform-colors": {
|
|
77
|
+
"transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke",
|
|
78
|
+
"transition-timing-function": "ease",
|
|
79
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
80
|
+
},
|
|
81
|
+
".transition-transform-colors-opacity": {
|
|
82
|
+
"transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
|
|
83
|
+
"transition-timing-function": "ease",
|
|
84
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// src/utilities/custom.ts
|
|
89
|
+
var custom_default = {
|
|
90
|
+
/**
|
|
91
|
+
* Custom utilities
|
|
92
|
+
*/
|
|
93
|
+
".leading-inherit": {
|
|
94
|
+
"line-height": "inherit"
|
|
95
|
+
},
|
|
96
|
+
".bg-img-inherit": {
|
|
97
|
+
"background-image": "inherit"
|
|
98
|
+
},
|
|
99
|
+
".bg-clip-inherit": {
|
|
100
|
+
"background-clip": "inherit"
|
|
101
|
+
},
|
|
102
|
+
".text-fill-inherit": {
|
|
103
|
+
"-webkit-text-fill-color": "inherit"
|
|
104
|
+
},
|
|
105
|
+
".tap-highlight-transparent": {
|
|
106
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
107
|
+
},
|
|
108
|
+
".input-search-cancel-button-none": {
|
|
109
|
+
"&::-webkit-search-cancel-button": {
|
|
110
|
+
"-webkit-appearance": "none"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
// src/utilities/scrollbar-hide.ts
|
|
116
|
+
var scrollbar_hide_default = {
|
|
117
|
+
/**
|
|
118
|
+
* Scroll Hide
|
|
119
|
+
*/
|
|
120
|
+
".scrollbar-hide": {
|
|
121
|
+
/* IE and Edge */
|
|
122
|
+
"-ms-overflow-style": "none",
|
|
123
|
+
/* Firefox */
|
|
124
|
+
"scrollbar-width": "none",
|
|
125
|
+
/* Safari and Chrome */
|
|
126
|
+
"&::-webkit-scrollbar": {
|
|
127
|
+
display: "none"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
".scrollbar-default": {
|
|
131
|
+
/* IE and Edge */
|
|
132
|
+
"-ms-overflow-style": "auto",
|
|
133
|
+
/* Firefox */
|
|
134
|
+
"scrollbar-width": "auto",
|
|
135
|
+
/* Safari and Chrome */
|
|
136
|
+
"&::-webkit-scrollbar": {
|
|
137
|
+
display: "block"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
// src/utilities/text.ts
|
|
143
|
+
var text_default = {
|
|
144
|
+
/**
|
|
145
|
+
* Text utilities
|
|
146
|
+
*/
|
|
147
|
+
".text-tiny": {
|
|
148
|
+
"font-size": "var(--heroui-font-size-tiny)",
|
|
149
|
+
"line-height": "var(--heroui-line-height-tiny)"
|
|
150
|
+
},
|
|
151
|
+
".text-small": {
|
|
152
|
+
"font-size": "var(--heroui-font-size-small)",
|
|
153
|
+
"line-height": "var(--heroui-line-height-small)"
|
|
154
|
+
},
|
|
155
|
+
".text-medium": {
|
|
156
|
+
"font-size": "var(--heroui-font-size-medium)",
|
|
157
|
+
"line-height": "var(--heroui-line-height-medium)"
|
|
158
|
+
},
|
|
159
|
+
".text-large": {
|
|
160
|
+
"font-size": "var(--heroui-font-size-large)",
|
|
161
|
+
"line-height": "var(--heroui-line-height-large)"
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
// src/utilities/animation.ts
|
|
166
|
+
var animation_default = {
|
|
167
|
+
/** Animation Utilities */
|
|
168
|
+
".spinner-bar-animation": {
|
|
169
|
+
animation: "fade-out 1.2s linear infinite",
|
|
170
|
+
"animation-delay": "calc(-1.2s + (0.1s * var(--bar-index)))",
|
|
171
|
+
transform: "rotate(calc(30deg * var(--bar-index))) translate(140%)"
|
|
172
|
+
},
|
|
173
|
+
".spinner-dot-animation": {
|
|
174
|
+
"animation-delay": "calc(250ms * var(--dot-index))"
|
|
175
|
+
},
|
|
176
|
+
".spinner-dot-blink-animation": {
|
|
177
|
+
"animation-delay": "calc(200ms * var(--dot-index))"
|
|
178
|
+
}
|
|
179
|
+
};
|
|
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
|
+
|
|
220
|
+
// src/utilities/index.ts
|
|
221
|
+
var utilities = {
|
|
222
|
+
...custom_default,
|
|
223
|
+
...transition_default,
|
|
224
|
+
...scrollbar_hide_default,
|
|
225
|
+
...text_default,
|
|
226
|
+
...animation_default,
|
|
227
|
+
...shimmer_text_default
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/utils/tw-merge-config.ts
|
|
231
|
+
var COMMON_UNITS = ["small", "medium", "large"];
|
|
232
|
+
var twMergeConfig = {
|
|
233
|
+
theme: {
|
|
234
|
+
spacing: ["divider"],
|
|
235
|
+
radius: COMMON_UNITS
|
|
236
|
+
},
|
|
237
|
+
classGroups: {
|
|
238
|
+
shadow: [{ shadow: COMMON_UNITS }],
|
|
239
|
+
opacity: [{ opacity: ["disabled"] }],
|
|
240
|
+
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
241
|
+
"border-w": [{ border: COMMON_UNITS }],
|
|
242
|
+
"bg-image": [
|
|
243
|
+
"bg-stripe-gradient-default",
|
|
244
|
+
"bg-stripe-gradient-primary",
|
|
245
|
+
"bg-stripe-gradient-secondary",
|
|
246
|
+
"bg-stripe-gradient-success",
|
|
247
|
+
"bg-stripe-gradient-warning",
|
|
248
|
+
"bg-stripe-gradient-danger"
|
|
249
|
+
],
|
|
250
|
+
transition: Object.keys(utilities).filter((key) => key.includes(".transition")).map((key) => key.replace(".", ""))
|
|
251
|
+
// remove the dot from the key, .transition-background -> transition-background
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
// src/utils/tv.ts
|
|
256
|
+
var tv = (options, config) => {
|
|
257
|
+
var _a, _b, _c;
|
|
258
|
+
return (0, import_tailwind_variants.tv)(options, {
|
|
259
|
+
...config,
|
|
260
|
+
twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
|
|
261
|
+
twMergeConfig: {
|
|
262
|
+
...config == null ? void 0 : config.twMergeConfig,
|
|
263
|
+
theme: {
|
|
264
|
+
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
265
|
+
...twMergeConfig.theme
|
|
266
|
+
},
|
|
267
|
+
classGroups: {
|
|
268
|
+
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
269
|
+
...twMergeConfig.classGroups
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
// src/utils/classes.ts
|
|
276
|
+
var focusVisibleClasses = [
|
|
277
|
+
"focus-visible:z-10",
|
|
278
|
+
"focus-visible:outline-2",
|
|
279
|
+
"focus-visible:outline-focus",
|
|
280
|
+
"focus-visible:outline-offset-2"
|
|
281
|
+
];
|
|
282
|
+
|
|
283
|
+
// src/components/bottom-bar.ts
|
|
284
|
+
var bottomBar = tv({
|
|
285
|
+
slots: {
|
|
286
|
+
base: ["z-50", "flex", "w-full", "pointer-events-none", "justify-center", "px-3"],
|
|
287
|
+
list: [
|
|
288
|
+
"relative",
|
|
289
|
+
"flex",
|
|
290
|
+
"w-full",
|
|
291
|
+
"max-w-md",
|
|
292
|
+
"items-center",
|
|
293
|
+
"justify-around",
|
|
294
|
+
"overflow-visible",
|
|
295
|
+
"pointer-events-auto",
|
|
296
|
+
"rounded-full",
|
|
297
|
+
"border",
|
|
298
|
+
"border-divider/60",
|
|
299
|
+
"bg-content1/95",
|
|
300
|
+
"shadow-large",
|
|
301
|
+
"supports-[backdrop-filter]:bg-content1/65",
|
|
302
|
+
"supports-[backdrop-filter]:backdrop-blur-2xl",
|
|
303
|
+
"supports-[backdrop-filter]:backdrop-saturate-150"
|
|
304
|
+
],
|
|
305
|
+
item: ["relative", "flex", "min-w-0", "flex-1", "list-none", "justify-center"],
|
|
306
|
+
link: [
|
|
307
|
+
"group",
|
|
308
|
+
"relative",
|
|
309
|
+
"isolate",
|
|
310
|
+
"flex",
|
|
311
|
+
"min-h-14",
|
|
312
|
+
"w-full",
|
|
313
|
+
"min-w-0",
|
|
314
|
+
"flex-col",
|
|
315
|
+
"items-center",
|
|
316
|
+
"justify-center",
|
|
317
|
+
"gap-0.5",
|
|
318
|
+
"px-2",
|
|
319
|
+
"text-tiny",
|
|
320
|
+
"font-medium",
|
|
321
|
+
"text-default-500",
|
|
322
|
+
"tap-highlight-transparent",
|
|
323
|
+
"data-[selected=true]:font-semibold",
|
|
324
|
+
"data-[disabled=true]:pointer-events-none",
|
|
325
|
+
"data-[disabled=true]:opacity-disabled",
|
|
326
|
+
"data-[prominent=true]:-translate-y-3",
|
|
327
|
+
"data-[prominent=true]:mx-1",
|
|
328
|
+
"data-[prominent=true]:min-h-16",
|
|
329
|
+
"data-[prominent=true]:max-w-16",
|
|
330
|
+
"data-[prominent=true]:rounded-full",
|
|
331
|
+
"data-[prominent=true]:border",
|
|
332
|
+
"data-[prominent=true]:border-divider/60",
|
|
333
|
+
"data-[prominent=true]:bg-content1/95",
|
|
334
|
+
"data-[prominent=true]:shadow-medium",
|
|
335
|
+
"supports-[backdrop-filter]:data-[prominent=true]:bg-content1/70",
|
|
336
|
+
...focusVisibleClasses
|
|
337
|
+
],
|
|
338
|
+
selectionIndicator: [
|
|
339
|
+
"absolute",
|
|
340
|
+
"z-0",
|
|
341
|
+
"pointer-events-none",
|
|
342
|
+
"list-none",
|
|
343
|
+
"rounded-full",
|
|
344
|
+
"bg-default-100/80",
|
|
345
|
+
"will-change-[left,top,width,height]",
|
|
346
|
+
"invisible",
|
|
347
|
+
"data-[initialized=true]:visible"
|
|
348
|
+
],
|
|
349
|
+
icon: [
|
|
350
|
+
"relative",
|
|
351
|
+
"z-10",
|
|
352
|
+
"flex",
|
|
353
|
+
"size-6",
|
|
354
|
+
"shrink-0",
|
|
355
|
+
"items-center",
|
|
356
|
+
"justify-center",
|
|
357
|
+
"text-current",
|
|
358
|
+
"[&>svg]:size-full"
|
|
359
|
+
],
|
|
360
|
+
label: ["relative", "z-10", "max-w-full", "truncate", "text-current"]
|
|
361
|
+
},
|
|
362
|
+
variants: {
|
|
363
|
+
position: {
|
|
364
|
+
fixed: {
|
|
365
|
+
base: ["fixed", "inset-x-0", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
366
|
+
},
|
|
367
|
+
sticky: {
|
|
368
|
+
base: ["sticky", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
369
|
+
},
|
|
370
|
+
static: {
|
|
371
|
+
base: ["relative", "py-3"]
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
color: {
|
|
375
|
+
default: {
|
|
376
|
+
link: "data-[selected=true]:text-foreground",
|
|
377
|
+
selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
|
|
378
|
+
},
|
|
379
|
+
primary: {
|
|
380
|
+
link: "data-[selected=true]:text-primary",
|
|
381
|
+
selectionIndicator: ["bg-primary/15", "after:bg-primary"]
|
|
382
|
+
},
|
|
383
|
+
secondary: {
|
|
384
|
+
link: "data-[selected=true]:text-secondary",
|
|
385
|
+
selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
|
|
386
|
+
},
|
|
387
|
+
success: {
|
|
388
|
+
link: "data-[selected=true]:text-success",
|
|
389
|
+
selectionIndicator: ["bg-success/15", "after:bg-success"]
|
|
390
|
+
},
|
|
391
|
+
warning: {
|
|
392
|
+
link: "data-[selected=true]:text-warning",
|
|
393
|
+
selectionIndicator: ["bg-warning/15", "after:bg-warning"]
|
|
394
|
+
},
|
|
395
|
+
danger: {
|
|
396
|
+
link: "data-[selected=true]:text-danger",
|
|
397
|
+
selectionIndicator: ["bg-danger/15", "after:bg-danger"]
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
variant: {
|
|
401
|
+
solid: {},
|
|
402
|
+
underlined: {
|
|
403
|
+
selectionIndicator: [
|
|
404
|
+
"bg-transparent",
|
|
405
|
+
"after:absolute",
|
|
406
|
+
"after:bottom-0",
|
|
407
|
+
"after:left-1/2",
|
|
408
|
+
"after:h-[5px]",
|
|
409
|
+
"after:w-5",
|
|
410
|
+
"after:-translate-x-1/2",
|
|
411
|
+
"after:rounded-full",
|
|
412
|
+
"after:content-['']"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
ghost: {
|
|
416
|
+
selectionIndicator: "bg-transparent"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
hideLabels: {
|
|
420
|
+
always: {
|
|
421
|
+
label: "sr-only"
|
|
422
|
+
},
|
|
423
|
+
selected: {
|
|
424
|
+
label: [
|
|
425
|
+
"max-h-0",
|
|
426
|
+
"opacity-0",
|
|
427
|
+
"group-data-[selected=true]:max-h-5",
|
|
428
|
+
"group-data-[selected=true]:opacity-100"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
never: {}
|
|
432
|
+
},
|
|
433
|
+
disableAnimation: {
|
|
434
|
+
true: {
|
|
435
|
+
link: "transition-none",
|
|
436
|
+
selectionIndicator: "transition-none",
|
|
437
|
+
icon: "transition-none",
|
|
438
|
+
label: "transition-none"
|
|
439
|
+
},
|
|
440
|
+
false: {
|
|
441
|
+
link: "transition-[color,transform,opacity] duration-250 ease-out",
|
|
442
|
+
selectionIndicator: [
|
|
443
|
+
"data-[animated=true]:transition-[left,top,width,height]",
|
|
444
|
+
"data-[animated=true]:duration-250",
|
|
445
|
+
"data-[animated=true]:ease-out"
|
|
446
|
+
],
|
|
447
|
+
icon: "transition-transform duration-250 ease-out group-data-[selected=true]:scale-105",
|
|
448
|
+
label: "transition-[color,max-height,opacity] duration-250 ease-out"
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
defaultVariants: {
|
|
453
|
+
position: "fixed",
|
|
454
|
+
color: "primary",
|
|
455
|
+
variant: "solid",
|
|
456
|
+
hideLabels: "never",
|
|
457
|
+
disableAnimation: false
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
461
|
+
0 && (module.exports = {
|
|
462
|
+
bottomBar
|
|
463
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bottomBar
|
|
3
|
+
} from "../chunk-AI6SQS6Z.mjs";
|
|
4
|
+
import "../chunk-GQT3YUX3.mjs";
|
|
5
|
+
import "../chunk-P2SWF4YK.mjs";
|
|
6
|
+
import "../chunk-LV6ZC7XH.mjs";
|
|
7
|
+
import "../chunk-27EH4573.mjs";
|
|
8
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
9
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
10
|
+
import "../chunk-7CAOOET2.mjs";
|
|
11
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
12
|
+
import "../chunk-CR7SUL27.mjs";
|
|
13
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
14
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
15
|
+
import "../chunk-XOVETH7K.mjs";
|
|
16
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
17
|
+
import "../chunk-OBSH26UE.mjs";
|
|
18
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
19
|
+
import "../chunk-HRULT2QB.mjs";
|
|
20
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
21
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
22
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
23
|
+
import "../chunk-QU72GCNK.mjs";
|
|
24
|
+
import "../chunk-CBIC7UDL.mjs";
|
|
25
|
+
import "../chunk-D2XMP2NC.mjs";
|
|
26
|
+
import "../chunk-JGY6VQQQ.mjs";
|
|
27
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
28
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
29
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
30
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
31
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
32
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
33
|
+
import "../chunk-WH6SPIFG.mjs";
|
|
34
|
+
import "../chunk-WQEDQHKX.mjs";
|
|
35
|
+
import "../chunk-CPSLANMP.mjs";
|
|
36
|
+
import "../chunk-FFKHVGFX.mjs";
|
|
37
|
+
import "../chunk-5ICJA2GK.mjs";
|
|
38
|
+
import "../chunk-M63AFAHO.mjs";
|
|
39
|
+
import "../chunk-HUBDRSA4.mjs";
|
|
40
|
+
import "../chunk-WBQAMGXK.mjs";
|
|
41
|
+
import "../chunk-SLRWKURF.mjs";
|
|
42
|
+
import "../chunk-IAS3SFA4.mjs";
|
|
43
|
+
import "../chunk-JUEOCLA3.mjs";
|
|
44
|
+
import "../chunk-3LKKH4AR.mjs";
|
|
45
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
46
|
+
import "../chunk-OR5PUD24.mjs";
|
|
47
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
48
|
+
import "../chunk-L2OL7R23.mjs";
|
|
49
|
+
import "../chunk-YZYGFPNK.mjs";
|
|
50
|
+
import "../chunk-GHZ36ATJ.mjs";
|
|
51
|
+
export {
|
|
52
|
+
bottomBar
|
|
53
|
+
};
|
|
@@ -185,13 +185,53 @@ var animation_default = {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
// src/utilities/shimmer-text.ts
|
|
189
|
+
var readableText = {
|
|
190
|
+
animation: "none !important",
|
|
191
|
+
"background-image": "none",
|
|
192
|
+
"-webkit-text-fill-color": "currentColor"
|
|
193
|
+
};
|
|
194
|
+
var shimmer_text_default = {
|
|
195
|
+
".sytech-shimmer-text": {
|
|
196
|
+
color: "currentColor",
|
|
197
|
+
"--shimmer-angle": "20deg",
|
|
198
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
199
|
+
"--shimmer-iteration": "infinite",
|
|
200
|
+
"--shimmer-direction": "normal",
|
|
201
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
202
|
+
"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)))",
|
|
203
|
+
"background-repeat": "no-repeat",
|
|
204
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
205
|
+
"background-position": "100% 0",
|
|
206
|
+
"background-clip": "text",
|
|
207
|
+
"-webkit-background-clip": "text",
|
|
208
|
+
"-webkit-text-fill-color": "transparent"
|
|
209
|
+
},
|
|
210
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
211
|
+
"--shimmer-direction": "reverse"
|
|
212
|
+
},
|
|
213
|
+
"&.sytech-shimmer-text-reverse": {
|
|
214
|
+
"--shimmer-direction": "reverse"
|
|
215
|
+
},
|
|
216
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
217
|
+
"--shimmer-direction": "normal"
|
|
218
|
+
},
|
|
219
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
220
|
+
},
|
|
221
|
+
".sytech-shimmer-text-once": {
|
|
222
|
+
"--shimmer-iteration": "1"
|
|
223
|
+
},
|
|
224
|
+
".sytech-shimmer-text-disabled": readableText
|
|
225
|
+
};
|
|
226
|
+
|
|
188
227
|
// src/utilities/index.ts
|
|
189
228
|
var utilities = {
|
|
190
229
|
...custom_default,
|
|
191
230
|
...transition_default,
|
|
192
231
|
...scrollbar_hide_default,
|
|
193
232
|
...text_default,
|
|
194
|
-
...animation_default
|
|
233
|
+
...animation_default,
|
|
234
|
+
...shimmer_text_default
|
|
195
235
|
};
|
|
196
236
|
|
|
197
237
|
// src/utils/tw-merge-config.ts
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
breadcrumbItem,
|
|
3
3
|
breadcrumbs
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AI6SQS6Z.mjs";
|
|
5
5
|
import "../chunk-GQT3YUX3.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
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-
|
|
6
|
+
import "../chunk-P2SWF4YK.mjs";
|
|
7
|
+
import "../chunk-LV6ZC7XH.mjs";
|
|
8
|
+
import "../chunk-27EH4573.mjs";
|
|
9
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
10
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
11
|
+
import "../chunk-7CAOOET2.mjs";
|
|
12
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
13
|
+
import "../chunk-CR7SUL27.mjs";
|
|
14
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
15
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
16
|
+
import "../chunk-XOVETH7K.mjs";
|
|
17
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
18
|
+
import "../chunk-OBSH26UE.mjs";
|
|
19
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
20
|
+
import "../chunk-HRULT2QB.mjs";
|
|
21
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
22
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
23
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
24
|
+
import "../chunk-QU72GCNK.mjs";
|
|
25
|
+
import "../chunk-CBIC7UDL.mjs";
|
|
26
26
|
import "../chunk-D2XMP2NC.mjs";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-JGY6VQQQ.mjs";
|
|
28
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
29
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
30
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
31
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
28
32
|
import "../chunk-AWXUGVFR.mjs";
|
|
29
33
|
import "../chunk-MPVWW3DX.mjs";
|
|
30
34
|
import "../chunk-WH6SPIFG.mjs";
|
|
31
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
32
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
33
35
|
import "../chunk-WQEDQHKX.mjs";
|
|
34
36
|
import "../chunk-CPSLANMP.mjs";
|
|
35
37
|
import "../chunk-FFKHVGFX.mjs";
|
|
@@ -37,7 +39,7 @@ import "../chunk-5ICJA2GK.mjs";
|
|
|
37
39
|
import "../chunk-M63AFAHO.mjs";
|
|
38
40
|
import "../chunk-HUBDRSA4.mjs";
|
|
39
41
|
import "../chunk-WBQAMGXK.mjs";
|
|
40
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-SLRWKURF.mjs";
|
|
41
43
|
import "../chunk-IAS3SFA4.mjs";
|
|
42
44
|
import "../chunk-JUEOCLA3.mjs";
|
|
43
45
|
import "../chunk-3LKKH4AR.mjs";
|