@alivecss/aliveui 1.2.0 → 1.3.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/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/vite.mjs
CHANGED
|
@@ -2664,14 +2664,14 @@ video {
|
|
|
2664
2664
|
gap: 10px;
|
|
2665
2665
|
padding: 12px 18px;
|
|
2666
2666
|
border-radius: 14px;
|
|
2667
|
-
background: rgba(255,255,255,0.08);
|
|
2667
|
+
background: var(--alive-toast-bg, rgba(255,255,255,0.08));
|
|
2668
2668
|
backdrop-filter: blur(16px);
|
|
2669
2669
|
-webkit-backdrop-filter: blur(16px);
|
|
2670
|
-
border: 1px solid rgba(255,255,255,0.12);
|
|
2670
|
+
border: 1px solid var(--alive-toast-border, rgba(255,255,255,0.12));
|
|
2671
2671
|
box-shadow: 0 8px 32px rgba(0,0,0,0.24), 0 1px 0 rgba(255,255,255,0.06) inset;
|
|
2672
2672
|
font-size: 0.875rem;
|
|
2673
2673
|
font-weight: 500;
|
|
2674
|
-
color: #fff;
|
|
2674
|
+
color: var(--alive-toast-color, #fff);
|
|
2675
2675
|
animation: alive-toast-loop 5s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
|
|
2676
2676
|
}
|
|
2677
2677
|
.alive-toast-icon {
|
|
@@ -2683,7 +2683,8 @@ video {
|
|
|
2683
2683
|
justify-content: center;
|
|
2684
2684
|
flex-shrink: 0;
|
|
2685
2685
|
font-size: 14px;
|
|
2686
|
-
background: rgba(255,255,255,0.1);
|
|
2686
|
+
background: var(--alive-toast-icon-bg, rgba(255,255,255,0.1));
|
|
2687
|
+
color: var(--alive-toast-icon-color, currentColor);
|
|
2687
2688
|
}
|
|
2688
2689
|
.alive-toast-title { font-weight: 600; font-size: 0.875rem; }
|
|
2689
2690
|
.alive-toast-body { font-size: 0.8125rem; opacity: 0.65; margin-top: 1px; }
|
|
@@ -2717,7 +2718,7 @@ video {
|
|
|
2717
2718
|
.alive-typewriter {
|
|
2718
2719
|
display: inline-block;
|
|
2719
2720
|
white-space: nowrap;
|
|
2720
|
-
border-right: 2px solid currentColor;
|
|
2721
|
+
border-right: 2px solid var(--alive-typewriter-cursor, currentColor);
|
|
2721
2722
|
animation:
|
|
2722
2723
|
alive-type-in 2s steps(40, end) both,
|
|
2723
2724
|
alive-blink 0.8s step-end infinite;
|
|
@@ -2916,7 +2917,7 @@ video {
|
|
|
2916
2917
|
position: absolute;
|
|
2917
2918
|
inset: -24px;
|
|
2918
2919
|
border-radius: inherit;
|
|
2919
|
-
background: radial-gradient(ellipse at center, rgba(99,102,241,0.25) 0%, rgba(99,102,241,0.08) 50%, transparent 70%);
|
|
2920
|
+
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%);
|
|
2920
2921
|
animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2921
2922
|
pointer-events: none;
|
|
2922
2923
|
z-index: -1;
|
|
@@ -2926,8 +2927,8 @@ video {
|
|
|
2926
2927
|
position: absolute;
|
|
2927
2928
|
inset: -4px;
|
|
2928
2929
|
border-radius: inherit;
|
|
2929
|
-
border: 1px solid rgba(99,102,241,0.4);
|
|
2930
|
-
box-shadow: 0 0 24px rgba(99,102,241,0.3), 0 0 48px rgba(99,102,241,0.15);
|
|
2930
|
+
border: 1px solid var(--alive-spotlight-ring-color, rgba(99,102,241,0.4));
|
|
2931
|
+
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));
|
|
2931
2932
|
animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2932
2933
|
pointer-events: none;
|
|
2933
2934
|
}
|
|
@@ -2953,6 +2954,9 @@ video {
|
|
|
2953
2954
|
font-size: 0.75rem;
|
|
2954
2955
|
font-weight: 600;
|
|
2955
2956
|
letter-spacing: 0.02em;
|
|
2957
|
+
background: var(--alive-badge-bg, transparent);
|
|
2958
|
+
color: var(--alive-badge-color, inherit);
|
|
2959
|
+
border: 1px solid var(--alive-badge-border, transparent);
|
|
2956
2960
|
animation: alive-badge-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
2957
2961
|
}
|
|
2958
2962
|
.alive-badge-pulse .alive-badge-dot {
|
|
@@ -2961,6 +2965,7 @@ video {
|
|
|
2961
2965
|
height: 8px;
|
|
2962
2966
|
border-radius: 50%;
|
|
2963
2967
|
flex-shrink: 0;
|
|
2968
|
+
background: var(--alive-badge-dot, currentColor);
|
|
2964
2969
|
}
|
|
2965
2970
|
.alive-badge-pulse .alive-badge-dot::before {
|
|
2966
2971
|
content: '';
|
|
@@ -3177,8 +3182,8 @@ video {
|
|
|
3177
3182
|
gap: 8px;
|
|
3178
3183
|
padding: 20px 24px;
|
|
3179
3184
|
border-radius: 14px;
|
|
3180
|
-
background: rgba(255,255,255,0.04);
|
|
3181
|
-
border: 1px solid rgba(255,255,255,0.08);
|
|
3185
|
+
background: var(--alive-metric-bg, rgba(255,255,255,0.04));
|
|
3186
|
+
border: 1px solid var(--alive-metric-border, rgba(255,255,255,0.08));
|
|
3182
3187
|
animation: alive-metric-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
3183
3188
|
min-width: 160px;
|
|
3184
3189
|
}
|
|
@@ -3187,14 +3192,14 @@ video {
|
|
|
3187
3192
|
font-weight: 500;
|
|
3188
3193
|
text-transform: uppercase;
|
|
3189
3194
|
letter-spacing: 0.07em;
|
|
3190
|
-
color: rgba(255,255,255,0.4);
|
|
3195
|
+
color: var(--alive-metric-label-color, rgba(255,255,255,0.4));
|
|
3191
3196
|
}
|
|
3192
3197
|
.alive-metric-card-value {
|
|
3193
3198
|
font-size: 2.25rem;
|
|
3194
3199
|
font-weight: 800;
|
|
3195
3200
|
letter-spacing: -0.04em;
|
|
3196
3201
|
line-height: 1;
|
|
3197
|
-
color: #fff;
|
|
3202
|
+
color: var(--alive-metric-value-color, #fff);
|
|
3198
3203
|
}
|
|
3199
3204
|
.alive-metric-card-change {
|
|
3200
3205
|
display: inline-flex;
|
|
@@ -3218,7 +3223,7 @@ video {
|
|
|
3218
3223
|
.alive-metric-card-bar-fill {
|
|
3219
3224
|
height: 100%;
|
|
3220
3225
|
border-radius: 2px;
|
|
3221
|
-
background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
|
|
3226
|
+
background: linear-gradient(90deg, var(--alive-metric-accent, #6366f1), var(--alive-metric-accent-2, #8b5cf6), var(--alive-metric-accent, #6366f1));
|
|
3222
3227
|
background-size: 200% auto;
|
|
3223
3228
|
transform-origin: left;
|
|
3224
3229
|
animation:
|
|
@@ -4552,6 +4557,32 @@ video {
|
|
|
4552
4557
|
.alive-meteor:nth-child(2) { top: 25%; left: 30%; animation-delay: 0.8s; animation-duration: 1.8s; width: 40px; }
|
|
4553
4558
|
.alive-meteor:nth-child(3) { top: 5%; left: 60%; animation-delay: 1.5s; animation-duration: 2.5s; }
|
|
4554
4559
|
.alive-meteor:nth-child(4) { top: 40%; left: 75%; animation-delay: 0.4s; animation-duration: 1.6s; width: 80px; }
|
|
4560
|
+
|
|
4561
|
+
/* \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
|
|
4562
|
+
Pair with [data-alive-sequence] + [data-alive-scene] attributes.
|
|
4563
|
+
The runtime (./runtime) drives is-active and transition classes.
|
|
4564
|
+
See: data-alive-duration, data-alive-transition, data-alive-loop.
|
|
4565
|
+
\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 */
|
|
4566
|
+
[data-alive-sequence] {
|
|
4567
|
+
position: relative;
|
|
4568
|
+
overflow: hidden;
|
|
4569
|
+
}
|
|
4570
|
+
[data-alive-scene] {
|
|
4571
|
+
position: absolute;
|
|
4572
|
+
inset: 0;
|
|
4573
|
+
opacity: 0;
|
|
4574
|
+
pointer-events: none;
|
|
4575
|
+
}
|
|
4576
|
+
[data-alive-scene].is-active {
|
|
4577
|
+
opacity: 1;
|
|
4578
|
+
pointer-events: auto;
|
|
4579
|
+
z-index: 1;
|
|
4580
|
+
}
|
|
4581
|
+
/* Outgoing scene (has a -out class) must stay visible during the transition */
|
|
4582
|
+
[data-alive-scene][class*="-out"] {
|
|
4583
|
+
opacity: 1;
|
|
4584
|
+
z-index: 2;
|
|
4585
|
+
}
|
|
4555
4586
|
`;
|
|
4556
4587
|
}
|
|
4557
4588
|
var init_base = __esm({
|