@alivecss/aliveui 1.2.0 → 1.3.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/cli.js +44 -13
- package/dist/index.js +44 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -13
- package/dist/index.mjs.map +1 -1
- package/dist/runtime.js +74 -0
- package/dist/runtime.js.map +1 -1
- package/dist/runtime.mjs +74 -0
- package/dist/runtime.mjs.map +1 -1
- package/dist/vite.js +44 -13
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +44 -13
- package/dist/vite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2618,14 +2618,14 @@ video {
|
|
|
2618
2618
|
gap: 10px;
|
|
2619
2619
|
padding: 12px 18px;
|
|
2620
2620
|
border-radius: 14px;
|
|
2621
|
-
background: rgba(255,255,255,0.08);
|
|
2621
|
+
background: var(--alive-toast-bg, rgba(255,255,255,0.08));
|
|
2622
2622
|
backdrop-filter: blur(16px);
|
|
2623
2623
|
-webkit-backdrop-filter: blur(16px);
|
|
2624
|
-
border: 1px solid rgba(255,255,255,0.12);
|
|
2624
|
+
border: 1px solid var(--alive-toast-border, rgba(255,255,255,0.12));
|
|
2625
2625
|
box-shadow: 0 8px 32px rgba(0,0,0,0.24), 0 1px 0 rgba(255,255,255,0.06) inset;
|
|
2626
2626
|
font-size: 0.875rem;
|
|
2627
2627
|
font-weight: 500;
|
|
2628
|
-
color: #fff;
|
|
2628
|
+
color: var(--alive-toast-color, #fff);
|
|
2629
2629
|
animation: alive-toast-loop 5s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
|
|
2630
2630
|
}
|
|
2631
2631
|
.alive-toast-icon {
|
|
@@ -2637,7 +2637,8 @@ video {
|
|
|
2637
2637
|
justify-content: center;
|
|
2638
2638
|
flex-shrink: 0;
|
|
2639
2639
|
font-size: 14px;
|
|
2640
|
-
background: rgba(255,255,255,0.1);
|
|
2640
|
+
background: var(--alive-toast-icon-bg, rgba(255,255,255,0.1));
|
|
2641
|
+
color: var(--alive-toast-icon-color, currentColor);
|
|
2641
2642
|
}
|
|
2642
2643
|
.alive-toast-title { font-weight: 600; font-size: 0.875rem; }
|
|
2643
2644
|
.alive-toast-body { font-size: 0.8125rem; opacity: 0.65; margin-top: 1px; }
|
|
@@ -2671,7 +2672,7 @@ video {
|
|
|
2671
2672
|
.alive-typewriter {
|
|
2672
2673
|
display: inline-block;
|
|
2673
2674
|
white-space: nowrap;
|
|
2674
|
-
border-right: 2px solid currentColor;
|
|
2675
|
+
border-right: 2px solid var(--alive-typewriter-cursor, currentColor);
|
|
2675
2676
|
animation:
|
|
2676
2677
|
alive-type-in 2s steps(40, end) both,
|
|
2677
2678
|
alive-blink 0.8s step-end infinite;
|
|
@@ -2870,7 +2871,7 @@ video {
|
|
|
2870
2871
|
position: absolute;
|
|
2871
2872
|
inset: -24px;
|
|
2872
2873
|
border-radius: inherit;
|
|
2873
|
-
background: radial-gradient(ellipse at center, rgba(99,102,241,0.25) 0%, rgba(99,102,241,0.08) 50%, transparent 70%);
|
|
2874
|
+
background: radial-gradient(ellipse at center, var(--alive-spotlight-color, rgba(99,102,241,0.25)) 0%, var(--alive-spotlight-color-mid, rgba(99,102,241,0.08)) 50%, transparent 70%);
|
|
2874
2875
|
animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2875
2876
|
pointer-events: none;
|
|
2876
2877
|
z-index: -1;
|
|
@@ -2880,8 +2881,8 @@ video {
|
|
|
2880
2881
|
position: absolute;
|
|
2881
2882
|
inset: -4px;
|
|
2882
2883
|
border-radius: inherit;
|
|
2883
|
-
border: 1px solid rgba(99,102,241,0.4);
|
|
2884
|
-
box-shadow: 0 0 24px rgba(99,102,241,0.3), 0 0 48px rgba(99,102,241,0.15);
|
|
2884
|
+
border: 1px solid var(--alive-spotlight-ring-color, rgba(99,102,241,0.4));
|
|
2885
|
+
box-shadow: 0 0 24px var(--alive-spotlight-glow, rgba(99,102,241,0.3)), 0 0 48px var(--alive-spotlight-glow-far, rgba(99,102,241,0.15));
|
|
2885
2886
|
animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2886
2887
|
pointer-events: none;
|
|
2887
2888
|
}
|
|
@@ -2907,6 +2908,9 @@ video {
|
|
|
2907
2908
|
font-size: 0.75rem;
|
|
2908
2909
|
font-weight: 600;
|
|
2909
2910
|
letter-spacing: 0.02em;
|
|
2911
|
+
background: var(--alive-badge-bg, transparent);
|
|
2912
|
+
color: var(--alive-badge-color, inherit);
|
|
2913
|
+
border: 1px solid var(--alive-badge-border, transparent);
|
|
2910
2914
|
animation: alive-badge-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2911
2915
|
}
|
|
2912
2916
|
.alive-badge-pulse .alive-badge-dot {
|
|
@@ -2915,6 +2919,7 @@ video {
|
|
|
2915
2919
|
height: 8px;
|
|
2916
2920
|
border-radius: 50%;
|
|
2917
2921
|
flex-shrink: 0;
|
|
2922
|
+
background: var(--alive-badge-dot, currentColor);
|
|
2918
2923
|
}
|
|
2919
2924
|
.alive-badge-pulse .alive-badge-dot::before {
|
|
2920
2925
|
content: '';
|
|
@@ -3131,8 +3136,8 @@ video {
|
|
|
3131
3136
|
gap: 8px;
|
|
3132
3137
|
padding: 20px 24px;
|
|
3133
3138
|
border-radius: 14px;
|
|
3134
|
-
background: rgba(255,255,255,0.04);
|
|
3135
|
-
border: 1px solid rgba(255,255,255,0.08);
|
|
3139
|
+
background: var(--alive-metric-bg, rgba(255,255,255,0.04));
|
|
3140
|
+
border: 1px solid var(--alive-metric-border, rgba(255,255,255,0.08));
|
|
3136
3141
|
animation: alive-metric-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
3137
3142
|
min-width: 160px;
|
|
3138
3143
|
}
|
|
@@ -3141,14 +3146,14 @@ video {
|
|
|
3141
3146
|
font-weight: 500;
|
|
3142
3147
|
text-transform: uppercase;
|
|
3143
3148
|
letter-spacing: 0.07em;
|
|
3144
|
-
color: rgba(255,255,255,0.4);
|
|
3149
|
+
color: var(--alive-metric-label-color, rgba(255,255,255,0.4));
|
|
3145
3150
|
}
|
|
3146
3151
|
.alive-metric-card-value {
|
|
3147
3152
|
font-size: 2.25rem;
|
|
3148
3153
|
font-weight: 800;
|
|
3149
3154
|
letter-spacing: -0.04em;
|
|
3150
3155
|
line-height: 1;
|
|
3151
|
-
color: #fff;
|
|
3156
|
+
color: var(--alive-metric-value-color, #fff);
|
|
3152
3157
|
}
|
|
3153
3158
|
.alive-metric-card-change {
|
|
3154
3159
|
display: inline-flex;
|
|
@@ -3172,7 +3177,7 @@ video {
|
|
|
3172
3177
|
.alive-metric-card-bar-fill {
|
|
3173
3178
|
height: 100%;
|
|
3174
3179
|
border-radius: 2px;
|
|
3175
|
-
background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
|
|
3180
|
+
background: linear-gradient(90deg, var(--alive-metric-accent, #6366f1), var(--alive-metric-accent-2, #8b5cf6), var(--alive-metric-accent, #6366f1));
|
|
3176
3181
|
background-size: 200% auto;
|
|
3177
3182
|
transform-origin: left;
|
|
3178
3183
|
animation:
|
|
@@ -4506,6 +4511,32 @@ video {
|
|
|
4506
4511
|
.alive-meteor:nth-child(2) { top: 25%; left: 30%; animation-delay: 0.8s; animation-duration: 1.8s; width: 40px; }
|
|
4507
4512
|
.alive-meteor:nth-child(3) { top: 5%; left: 60%; animation-delay: 1.5s; animation-duration: 2.5s; }
|
|
4508
4513
|
.alive-meteor:nth-child(4) { top: 40%; left: 75%; animation-delay: 0.4s; animation-duration: 1.6s; width: 80px; }
|
|
4514
|
+
|
|
4515
|
+
/* \u2500\u2500 Scene Sequencer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
4516
|
+
Pair with [data-alive-sequence] + [data-alive-scene] attributes.
|
|
4517
|
+
The runtime (./runtime) drives is-active and transition classes.
|
|
4518
|
+
See: data-alive-duration, data-alive-transition, data-alive-loop.
|
|
4519
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
4520
|
+
[data-alive-sequence] {
|
|
4521
|
+
position: relative;
|
|
4522
|
+
overflow: hidden;
|
|
4523
|
+
}
|
|
4524
|
+
[data-alive-scene] {
|
|
4525
|
+
position: absolute;
|
|
4526
|
+
inset: 0;
|
|
4527
|
+
opacity: 0;
|
|
4528
|
+
pointer-events: none;
|
|
4529
|
+
}
|
|
4530
|
+
[data-alive-scene].is-active {
|
|
4531
|
+
opacity: 1;
|
|
4532
|
+
pointer-events: auto;
|
|
4533
|
+
z-index: 1;
|
|
4534
|
+
}
|
|
4535
|
+
/* Outgoing scene (has a -out class) must stay visible during the transition */
|
|
4536
|
+
[data-alive-scene][class*="-out"] {
|
|
4537
|
+
opacity: 1;
|
|
4538
|
+
z-index: 2;
|
|
4539
|
+
}
|
|
4509
4540
|
`;
|
|
4510
4541
|
}
|
|
4511
4542
|
|