nuvox 0.1.0 → 0.1.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/react/index.css +29 -71
- package/dist/react/index.css.map +1 -1
- package/package.json +1 -1
package/dist/react/index.css
CHANGED
|
@@ -2468,7 +2468,9 @@
|
|
|
2468
2468
|
min-inline-size: 0;
|
|
2469
2469
|
overflow: hidden;
|
|
2470
2470
|
background: var(--color-surfaceRaised, #f3f4f6);
|
|
2471
|
+
border: var(--border-widthThin, 1px) var(--border-style, solid) var(--color-border, transparent);
|
|
2471
2472
|
border-radius: var(--radius-full, 9999px);
|
|
2473
|
+
box-shadow: var(--shadow-xs, none);
|
|
2472
2474
|
}
|
|
2473
2475
|
.nx-progress__fill {
|
|
2474
2476
|
block-size: 100%;
|
|
@@ -3585,84 +3587,40 @@
|
|
|
3585
3587
|
}
|
|
3586
3588
|
|
|
3587
3589
|
/* src/react/Popover.css */
|
|
3588
|
-
.nx-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
inline-size:
|
|
3590
|
+
.nx-popover__content {
|
|
3591
|
+
z-index: 1060;
|
|
3592
|
+
box-sizing: border-box;
|
|
3593
|
+
min-inline-size: 12rem;
|
|
3594
|
+
max-inline-size: min(24rem, calc(100vw - 16px));
|
|
3595
|
+
max-block-size: calc(100vh - 16px);
|
|
3596
|
+
overflow: auto;
|
|
3597
|
+
padding: var(--spacing-md, 16px);
|
|
3598
|
+
margin: 0;
|
|
3599
|
+
background: var(--color-surface, #ffffff);
|
|
3600
|
+
color: var(--color-text, #111827);
|
|
3601
|
+
border: var(--border-widthThin, 1px) var(--border-style, solid) var(--color-border, #e5e7eb);
|
|
3602
|
+
border-radius: var(--radius-lg, 12px);
|
|
3603
|
+
box-shadow: var(--shadow-lg, 0 10px 24px rgba(0, 0, 0, 0.18));
|
|
3593
3604
|
font-family: var(--typography-fontSans, system-ui, sans-serif);
|
|
3605
|
+
font-size: var(--typography-sizeSm, 14px);
|
|
3606
|
+
animation: nx-popover-in var(--motion-durationFast, 120ms) var(--motion-easeStandard, ease);
|
|
3594
3607
|
}
|
|
3595
|
-
.nx-
|
|
3596
|
-
|
|
3597
|
-
flex: 1;
|
|
3598
|
-
min-inline-size: 0;
|
|
3599
|
-
overflow: hidden;
|
|
3600
|
-
background: var(--color-surfaceRaised, #f3f4f6);
|
|
3601
|
-
border: var(--border-widthThin, 1px) var(--border-style, solid) var(--color-border, transparent);
|
|
3602
|
-
border-radius: var(--radius-full, 9999px);
|
|
3603
|
-
box-shadow: var(--shadow-xs, none);
|
|
3604
|
-
}
|
|
3605
|
-
.nx-progress__fill {
|
|
3606
|
-
block-size: 100%;
|
|
3607
|
-
inline-size: 0;
|
|
3608
|
-
border-radius: inherit;
|
|
3609
|
-
background: var(--color-brand-500, #6366f1);
|
|
3610
|
-
transition: inline-size var(--motion-durationNormal, 180ms) var(--motion-easeStandard, ease);
|
|
3611
|
-
}
|
|
3612
|
-
.nx-progress--success .nx-progress__fill {
|
|
3613
|
-
background: var(--color-success-base, #16a34a);
|
|
3614
|
-
}
|
|
3615
|
-
.nx-progress--warning .nx-progress__fill {
|
|
3616
|
-
background: var(--color-warning-base, #d97706);
|
|
3617
|
-
}
|
|
3618
|
-
.nx-progress--danger .nx-progress__fill {
|
|
3619
|
-
background: var(--color-danger-base, #ef4444);
|
|
3620
|
-
}
|
|
3621
|
-
.nx-progress--xs {
|
|
3622
|
-
block-size: 4px;
|
|
3623
|
-
}
|
|
3624
|
-
.nx-progress--sm {
|
|
3625
|
-
block-size: 6px;
|
|
3626
|
-
}
|
|
3627
|
-
.nx-progress--md {
|
|
3628
|
-
block-size: 8px;
|
|
3629
|
-
}
|
|
3630
|
-
.nx-progress--lg {
|
|
3631
|
-
block-size: 12px;
|
|
3632
|
-
}
|
|
3633
|
-
.nx-progress--xl {
|
|
3634
|
-
block-size: 16px;
|
|
3635
|
-
}
|
|
3636
|
-
.nx-progress__value {
|
|
3637
|
-
flex-shrink: 0;
|
|
3638
|
-
font-size: var(--typography-sizeXs, 12px);
|
|
3639
|
-
font-variant-numeric: tabular-nums;
|
|
3640
|
-
color: var(--color-textMuted, #6b7280);
|
|
3641
|
-
min-inline-size: 3ch;
|
|
3642
|
-
text-align: end;
|
|
3643
|
-
}
|
|
3644
|
-
.nx-progress--indeterminate .nx-progress__fill {
|
|
3645
|
-
inline-size: 40%;
|
|
3646
|
-
border-radius: var(--radius-full, 9999px);
|
|
3647
|
-
animation: nx-progress-indeterminate 1.2s var(--motion-easeStandard, ease) infinite;
|
|
3648
|
-
will-change: transform;
|
|
3608
|
+
.nx-popover__content:focus-visible {
|
|
3609
|
+
outline: none;
|
|
3649
3610
|
}
|
|
3650
|
-
@keyframes nx-
|
|
3651
|
-
|
|
3652
|
-
|
|
3611
|
+
@keyframes nx-popover-in {
|
|
3612
|
+
from {
|
|
3613
|
+
opacity: 0;
|
|
3614
|
+
transform: translateY(-4px) scale(0.98);
|
|
3653
3615
|
}
|
|
3654
|
-
|
|
3655
|
-
|
|
3616
|
+
to {
|
|
3617
|
+
opacity: 1;
|
|
3618
|
+
transform: translateY(0) scale(1);
|
|
3656
3619
|
}
|
|
3657
3620
|
}
|
|
3658
3621
|
@media (prefers-reduced-motion: reduce) {
|
|
3659
|
-
.nx-
|
|
3660
|
-
|
|
3661
|
-
}
|
|
3662
|
-
.nx-progress--indeterminate .nx-progress__fill {
|
|
3663
|
-
animation: none;
|
|
3664
|
-
inline-size: 60%;
|
|
3665
|
-
transform: none;
|
|
3622
|
+
.nx-popover__content {
|
|
3623
|
+
animation-duration: 0.01ms;
|
|
3666
3624
|
}
|
|
3667
3625
|
}
|
|
3668
3626
|
|