@mesob/ui 0.4.7 → 0.5.2
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/components.d.ts +790 -109
- package/dist/components.js +11053 -6602
- package/dist/components.js.map +1 -1
- package/dist/google-analytics-B82Q7rm2.d.ts +24 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/locale.d.ts +2 -2
- package/dist/lib/locale.js.map +1 -1
- package/dist/providers.d.ts +15 -3
- package/dist/providers.js +101 -11
- package/dist/providers.js.map +1 -1
- package/package.json +9 -3
- package/src/styles/style-lyra.css +50 -0
- package/src/styles/style-maia.css +50 -0
- package/src/styles/style-mira.css +50 -0
- package/src/styles/style-nova.css +50 -0
- package/src/styles/style-vega.css +50 -0
- package/src/styles/themes.css +64 -0
|
@@ -1160,6 +1160,23 @@
|
|
|
1160
1160
|
@apply text-muted-foreground ml-auto text-xs tabular-nums;
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
+
/* MARK: NProgress */
|
|
1164
|
+
.cn-nprogress-root {
|
|
1165
|
+
@apply bg-transparent opacity-0 transition-opacity duration-100;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.cn-nprogress-root[data-mounted] {
|
|
1169
|
+
@apply opacity-100;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.cn-nprogress-bar {
|
|
1173
|
+
@apply bg-primary relative transition-transform duration-100 ease-linear;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.cn-nprogress-peg {
|
|
1177
|
+
@apply absolute top-0 right-0 h-full w-12 translate-x-[1px] rotate-0 shadow-[0_0_6px_hsl(var(--primary))];
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1163
1180
|
/* MARK: Radio Group */
|
|
1164
1181
|
.cn-radio-group {
|
|
1165
1182
|
@apply grid gap-2;
|
|
@@ -2342,3 +2359,36 @@
|
|
|
2342
2359
|
@apply hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground rounded-none;
|
|
2343
2360
|
}
|
|
2344
2361
|
}
|
|
2362
|
+
|
|
2363
|
+
/* MARK: AI Trigger */
|
|
2364
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
2365
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
.ai-fill-button:hover .ai-fill-ring-stroke {
|
|
2369
|
+
animation: ai-fill-ring-stroke 1200ms linear 2;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
@keyframes ai-fill-ring-visibility {
|
|
2373
|
+
0% {
|
|
2374
|
+
opacity: 0;
|
|
2375
|
+
}
|
|
2376
|
+
8% {
|
|
2377
|
+
opacity: 1;
|
|
2378
|
+
}
|
|
2379
|
+
85% {
|
|
2380
|
+
opacity: 1;
|
|
2381
|
+
}
|
|
2382
|
+
100% {
|
|
2383
|
+
opacity: 0;
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
@keyframes ai-fill-ring-stroke {
|
|
2388
|
+
from {
|
|
2389
|
+
stroke-dashoffset: 0;
|
|
2390
|
+
}
|
|
2391
|
+
to {
|
|
2392
|
+
stroke-dashoffset: -68;
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
@@ -1206,6 +1206,23 @@
|
|
|
1206
1206
|
@apply text-muted-foreground ml-auto text-sm tabular-nums;
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
+
/* MARK: NProgress */
|
|
1210
|
+
.cn-nprogress-root {
|
|
1211
|
+
@apply bg-transparent opacity-0 transition-opacity duration-200;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.cn-nprogress-root[data-mounted] {
|
|
1215
|
+
@apply opacity-100;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.cn-nprogress-bar {
|
|
1219
|
+
@apply bg-primary relative rounded-full transition-transform duration-200 ease-out;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.cn-nprogress-peg {
|
|
1223
|
+
@apply absolute top-0 right-0 h-full w-24 -translate-y-[1px] translate-x-[4px] rotate-[3deg] rounded-full shadow-[0_0_12px_hsl(var(--primary)),0_0_8px_hsl(var(--primary))];
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1209
1226
|
/* MARK: Radio Group */
|
|
1210
1227
|
.cn-radio-group {
|
|
1211
1228
|
@apply grid gap-3;
|
|
@@ -2379,3 +2396,36 @@
|
|
|
2379
2396
|
@apply hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground rounded-[var(--radius-sm)];
|
|
2380
2397
|
}
|
|
2381
2398
|
}
|
|
2399
|
+
|
|
2400
|
+
/* MARK: AI Trigger */
|
|
2401
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
2402
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
.ai-fill-button:hover .ai-fill-ring-stroke {
|
|
2406
|
+
animation: ai-fill-ring-stroke 1200ms linear 2;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
@keyframes ai-fill-ring-visibility {
|
|
2410
|
+
0% {
|
|
2411
|
+
opacity: 0;
|
|
2412
|
+
}
|
|
2413
|
+
8% {
|
|
2414
|
+
opacity: 1;
|
|
2415
|
+
}
|
|
2416
|
+
85% {
|
|
2417
|
+
opacity: 1;
|
|
2418
|
+
}
|
|
2419
|
+
100% {
|
|
2420
|
+
opacity: 0;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
@keyframes ai-fill-ring-stroke {
|
|
2425
|
+
from {
|
|
2426
|
+
stroke-dashoffset: 0;
|
|
2427
|
+
}
|
|
2428
|
+
to {
|
|
2429
|
+
stroke-dashoffset: -68;
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
@@ -1206,6 +1206,23 @@
|
|
|
1206
1206
|
@apply text-muted-foreground ml-auto text-xs/relaxed tabular-nums;
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
+
/* MARK: NProgress */
|
|
1210
|
+
.cn-nprogress-root {
|
|
1211
|
+
@apply bg-transparent opacity-0 transition-opacity duration-150;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.cn-nprogress-root[data-mounted] {
|
|
1215
|
+
@apply opacity-100;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.cn-nprogress-bar {
|
|
1219
|
+
@apply bg-primary relative rounded-md transition-transform duration-150 ease-out;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.cn-nprogress-peg {
|
|
1223
|
+
@apply absolute top-0 right-0 h-full w-14 translate-x-[2px] rotate-[2deg] rounded-md shadow-[0_0_7px_hsl(var(--primary)),0_0_4px_hsl(var(--primary))];
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1209
1226
|
/* MARK: Radio Group */
|
|
1210
1227
|
.cn-radio-group {
|
|
1211
1228
|
@apply grid gap-3;
|
|
@@ -2381,3 +2398,36 @@
|
|
|
2381
2398
|
@apply hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground rounded-[var(--radius-sm)];
|
|
2382
2399
|
}
|
|
2383
2400
|
}
|
|
2401
|
+
|
|
2402
|
+
/* MARK: AI Trigger */
|
|
2403
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
2404
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.ai-fill-button:hover .ai-fill-ring-stroke {
|
|
2408
|
+
animation: ai-fill-ring-stroke 1200ms linear 2;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
@keyframes ai-fill-ring-visibility {
|
|
2412
|
+
0% {
|
|
2413
|
+
opacity: 0;
|
|
2414
|
+
}
|
|
2415
|
+
8% {
|
|
2416
|
+
opacity: 1;
|
|
2417
|
+
}
|
|
2418
|
+
85% {
|
|
2419
|
+
opacity: 1;
|
|
2420
|
+
}
|
|
2421
|
+
100% {
|
|
2422
|
+
opacity: 0;
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
@keyframes ai-fill-ring-stroke {
|
|
2427
|
+
from {
|
|
2428
|
+
stroke-dashoffset: 0;
|
|
2429
|
+
}
|
|
2430
|
+
to {
|
|
2431
|
+
stroke-dashoffset: -68;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
@@ -1309,6 +1309,23 @@
|
|
|
1309
1309
|
@apply text-muted-foreground ml-auto text-sm tabular-nums;
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
|
+
/* MARK: NProgress */
|
|
1313
|
+
.cn-nprogress-root {
|
|
1314
|
+
@apply bg-transparent opacity-0 transition-opacity duration-150;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.cn-nprogress-root[data-mounted] {
|
|
1318
|
+
@apply opacity-100;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.cn-nprogress-bar {
|
|
1322
|
+
@apply bg-primary relative transition-transform duration-150 ease-out;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.cn-nprogress-peg {
|
|
1326
|
+
@apply absolute top-0 right-0 h-full w-16 translate-x-[2px] rotate-[2deg] shadow-[0_0_8px_hsl(var(--primary)),0_0_4px_hsl(var(--primary))];
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1312
1329
|
/* MARK: Radio Group */
|
|
1313
1330
|
.cn-radio-group {
|
|
1314
1331
|
@apply grid gap-2;
|
|
@@ -2482,3 +2499,36 @@
|
|
|
2482
2499
|
@apply hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground rounded-[var(--radius-sm)];
|
|
2483
2500
|
}
|
|
2484
2501
|
}
|
|
2502
|
+
|
|
2503
|
+
/* MARK: AI Trigger */
|
|
2504
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
2505
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
.ai-fill-button:hover .ai-fill-ring-stroke {
|
|
2509
|
+
animation: ai-fill-ring-stroke 1200ms linear 2;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
@keyframes ai-fill-ring-visibility {
|
|
2513
|
+
0% {
|
|
2514
|
+
opacity: 0;
|
|
2515
|
+
}
|
|
2516
|
+
8% {
|
|
2517
|
+
opacity: 1;
|
|
2518
|
+
}
|
|
2519
|
+
85% {
|
|
2520
|
+
opacity: 1;
|
|
2521
|
+
}
|
|
2522
|
+
100% {
|
|
2523
|
+
opacity: 0;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
@keyframes ai-fill-ring-stroke {
|
|
2528
|
+
from {
|
|
2529
|
+
stroke-dashoffset: 0;
|
|
2530
|
+
}
|
|
2531
|
+
to {
|
|
2532
|
+
stroke-dashoffset: -68;
|
|
2533
|
+
}
|
|
2534
|
+
}
|
|
@@ -1305,6 +1305,23 @@
|
|
|
1305
1305
|
@apply text-muted-foreground ml-auto text-sm tabular-nums;
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
|
+
/* MARK: NProgress */
|
|
1309
|
+
.cn-nprogress-root {
|
|
1310
|
+
@apply bg-transparent opacity-0 transition-opacity duration-200;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.cn-nprogress-root[data-mounted] {
|
|
1314
|
+
@apply opacity-100;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.cn-nprogress-bar {
|
|
1318
|
+
@apply bg-primary relative transition-transform duration-200 ease-out;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.cn-nprogress-peg {
|
|
1322
|
+
@apply absolute top-0 right-0 h-full w-20 -translate-y-[1px] translate-x-[3px] rotate-[3deg] shadow-[0_0_10px_hsl(var(--primary)),0_0_5px_hsl(var(--primary))];
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1308
1325
|
/* MARK: Radio Group */
|
|
1309
1326
|
.cn-radio-group {
|
|
1310
1327
|
@apply grid gap-3;
|
|
@@ -2478,3 +2495,36 @@
|
|
|
2478
2495
|
@apply hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground rounded-[var(--radius-sm)];
|
|
2479
2496
|
}
|
|
2480
2497
|
}
|
|
2498
|
+
|
|
2499
|
+
/* MARK: AI Trigger */
|
|
2500
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
2501
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
.ai-fill-button:hover .ai-fill-ring-stroke {
|
|
2505
|
+
animation: ai-fill-ring-stroke 1200ms linear 2;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
@keyframes ai-fill-ring-visibility {
|
|
2509
|
+
0% {
|
|
2510
|
+
opacity: 0;
|
|
2511
|
+
}
|
|
2512
|
+
8% {
|
|
2513
|
+
opacity: 1;
|
|
2514
|
+
}
|
|
2515
|
+
85% {
|
|
2516
|
+
opacity: 1;
|
|
2517
|
+
}
|
|
2518
|
+
100% {
|
|
2519
|
+
opacity: 0;
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
@keyframes ai-fill-ring-stroke {
|
|
2524
|
+
from {
|
|
2525
|
+
stroke-dashoffset: 0;
|
|
2526
|
+
}
|
|
2527
|
+
to {
|
|
2528
|
+
stroke-dashoffset: -68;
|
|
2529
|
+
}
|
|
2530
|
+
}
|
package/src/styles/themes.css
CHANGED
|
@@ -14,3 +14,67 @@
|
|
|
14
14
|
transition-duration: 0.01ms;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
/* MARK: AI Trigger (global; outside theme layers for consistent priority) */
|
|
19
|
+
.ai-fill-ring {
|
|
20
|
+
--ai-fill-ring-width: 2px;
|
|
21
|
+
border-radius: 9999px;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ai-fill-ring::before {
|
|
26
|
+
content: "";
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
padding: var(--ai-fill-ring-width);
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
border-radius: inherit;
|
|
32
|
+
background: linear-gradient(
|
|
33
|
+
105deg,
|
|
34
|
+
transparent 0%,
|
|
35
|
+
transparent 34%,
|
|
36
|
+
#c084fc 45%,
|
|
37
|
+
#60a5fa 50%,
|
|
38
|
+
transparent 58%,
|
|
39
|
+
transparent 100%
|
|
40
|
+
);
|
|
41
|
+
background-size: 220% 100%;
|
|
42
|
+
background-position: 130% 0;
|
|
43
|
+
-webkit-mask:
|
|
44
|
+
linear-gradient(#000 0 0) content-box,
|
|
45
|
+
linear-gradient(#000 0 0);
|
|
46
|
+
-webkit-mask-composite: xor;
|
|
47
|
+
mask-composite: exclude;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ai-fill-button:hover .ai-fill-ring {
|
|
51
|
+
animation: ai-fill-ring-visibility 2400ms linear 1 forwards;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ai-fill-button:hover .ai-fill-ring::before {
|
|
55
|
+
animation: ai-fill-ring-sweep 1200ms linear 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes ai-fill-ring-visibility {
|
|
59
|
+
0% {
|
|
60
|
+
opacity: 0;
|
|
61
|
+
}
|
|
62
|
+
8% {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
85% {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
100% {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes ai-fill-ring-sweep {
|
|
74
|
+
from {
|
|
75
|
+
background-position: 130% 0;
|
|
76
|
+
}
|
|
77
|
+
to {
|
|
78
|
+
background-position: -130% 0;
|
|
79
|
+
}
|
|
80
|
+
}
|