@dillingerstaffing/strand-svelte 0.10.0 → 0.12.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/css/strand-ui.css
CHANGED
|
@@ -783,6 +783,10 @@
|
|
|
783
783
|
font-size: var(--strand-text-4xl);
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
.strand-data-readout--xl .strand-data-readout__value {
|
|
787
|
+
font-size: clamp(4.5rem, 10vw, 7rem);
|
|
788
|
+
}
|
|
789
|
+
|
|
786
790
|
|
|
787
791
|
/* Dialog */
|
|
788
792
|
/*! Strand UI | MIT License | dillingerstaffing.com */
|
|
@@ -1170,6 +1174,32 @@
|
|
|
1170
1174
|
outline-offset: 2px;
|
|
1171
1175
|
}
|
|
1172
1176
|
|
|
1177
|
+
/* ── CTA link variant ── */
|
|
1178
|
+
.strand-link--cta {
|
|
1179
|
+
display: inline-flex;
|
|
1180
|
+
align-items: center;
|
|
1181
|
+
min-height: var(--strand-touch-target);
|
|
1182
|
+
padding-block: var(--strand-space-2);
|
|
1183
|
+
font-size: var(--strand-text-sm);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.strand-link--cta:hover {
|
|
1187
|
+
color: var(--strand-blue-vivid);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* ── Monospace link variant (footer, overline-style) ── */
|
|
1191
|
+
.strand-link--mono {
|
|
1192
|
+
font-family: var(--strand-font-mono);
|
|
1193
|
+
font-size: var(--strand-text-xs);
|
|
1194
|
+
letter-spacing: var(--strand-tracking-wider);
|
|
1195
|
+
color: var(--strand-gray-400);
|
|
1196
|
+
background-image: none;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.strand-link--mono:hover {
|
|
1200
|
+
color: var(--strand-blue-primary);
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1173
1203
|
/* ── Reduced motion ── */
|
|
1174
1204
|
@media (prefers-reduced-motion: reduce) {
|
|
1175
1205
|
.strand-link {
|
|
@@ -1589,11 +1619,35 @@
|
|
|
1589
1619
|
.strand-reveal-group > .strand-reveal:nth-child(5) { transition-delay: calc(var(--strand-stagger-delay) * 4); }
|
|
1590
1620
|
.strand-reveal-group > .strand-reveal:nth-child(6) { transition-delay: var(--strand-duration-slow); }
|
|
1591
1621
|
|
|
1622
|
+
/* ── CSS-only scroll-driven animation (no JS required) ── */
|
|
1623
|
+
@supports (animation-timeline: view()) {
|
|
1624
|
+
.strand-reveal {
|
|
1625
|
+
opacity: 0;
|
|
1626
|
+
transform: translateY(24px);
|
|
1627
|
+
transition: none;
|
|
1628
|
+
animation: strand-reveal-up linear both;
|
|
1629
|
+
animation-timeline: view();
|
|
1630
|
+
animation-range: entry 0% entry 100%;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.strand-reveal-group > .strand-reveal {
|
|
1634
|
+
animation: strand-reveal-up linear both;
|
|
1635
|
+
animation-timeline: view();
|
|
1636
|
+
animation-range: entry 0% entry 100%;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
@keyframes strand-reveal-up {
|
|
1640
|
+
from { opacity: 0; transform: translateY(24px); }
|
|
1641
|
+
to { opacity: 1; transform: translateY(0); }
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1592
1645
|
@media (prefers-reduced-motion: reduce) {
|
|
1593
1646
|
.strand-reveal {
|
|
1594
1647
|
opacity: 1;
|
|
1595
1648
|
transform: none;
|
|
1596
1649
|
transition: none;
|
|
1650
|
+
animation: none;
|
|
1597
1651
|
}
|
|
1598
1652
|
}
|
|
1599
1653
|
|
|
@@ -1630,6 +1684,11 @@
|
|
|
1630
1684
|
background-color: var(--strand-surface-recessed);
|
|
1631
1685
|
}
|
|
1632
1686
|
|
|
1687
|
+
/* ── Border variant ── */
|
|
1688
|
+
.strand-section--border-top {
|
|
1689
|
+
border-top: 1px solid var(--strand-gray-200);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1633
1692
|
|
|
1634
1693
|
/* Select */
|
|
1635
1694
|
/*! Strand UI | MIT License | dillingerstaffing.com */
|
|
@@ -2755,6 +2814,9 @@
|
|
|
2755
2814
|
Derivation: section-boundary production (DL 11.10).
|
|
2756
2815
|
OVERLINE + border-bottom + margin-bottom + padding-bottom */
|
|
2757
2816
|
.strand-card-section {
|
|
2817
|
+
display: flex;
|
|
2818
|
+
justify-content: space-between;
|
|
2819
|
+
align-items: center;
|
|
2758
2820
|
margin-bottom: var(--strand-space-3);
|
|
2759
2821
|
padding-bottom: var(--strand-space-2);
|
|
2760
2822
|
border-bottom: 1px solid var(--strand-gray-200);
|
|
@@ -2890,3 +2952,43 @@
|
|
|
2890
2952
|
color: var(--strand-gray-400);
|
|
2891
2953
|
}
|
|
2892
2954
|
|
|
2955
|
+
/* ══════════════════════════════════════════════════
|
|
2956
|
+
UTILITIES
|
|
2957
|
+
══════════════════════════════════════════════════ */
|
|
2958
|
+
|
|
2959
|
+
/* ── Screen reader only ── */
|
|
2960
|
+
.strand-sr-only {
|
|
2961
|
+
position: absolute;
|
|
2962
|
+
width: 1px;
|
|
2963
|
+
height: 1px;
|
|
2964
|
+
padding: 0;
|
|
2965
|
+
margin: -1px;
|
|
2966
|
+
overflow: hidden;
|
|
2967
|
+
clip: rect(0, 0, 0, 0);
|
|
2968
|
+
white-space: nowrap;
|
|
2969
|
+
border: 0;
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
/* ── Section header ──
|
|
2973
|
+
Derivation: section-boundary production (DL 11.10).
|
|
2974
|
+
Centered heading group with bottom margin. */
|
|
2975
|
+
.strand-section-header {
|
|
2976
|
+
margin-bottom: clamp(2rem, 4vw, 4rem);
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
/* ── Step indicator ──
|
|
2980
|
+
Numbered position indicator for sequential steps. */
|
|
2981
|
+
.strand-step-indicator {
|
|
2982
|
+
display: inline-flex;
|
|
2983
|
+
align-items: center;
|
|
2984
|
+
justify-content: center;
|
|
2985
|
+
width: var(--strand-space-8);
|
|
2986
|
+
height: var(--strand-space-8);
|
|
2987
|
+
border-radius: var(--strand-radius-full);
|
|
2988
|
+
background: var(--strand-blue-glow);
|
|
2989
|
+
color: var(--strand-blue-primary);
|
|
2990
|
+
font-family: var(--strand-font-mono);
|
|
2991
|
+
font-size: var(--strand-text-sm);
|
|
2992
|
+
font-weight: var(--strand-weight-semibold);
|
|
2993
|
+
}
|
|
2994
|
+
|