@vectoriox/iox-ui 5.30.0 → 5.31.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/composite-core/index.d.ts +270 -0
- package/composite-core/package.json +3 -0
- package/design-core/index.d.ts +870 -41
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +704 -0
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -0
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +1090 -82
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +110 -30
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +134 -31
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +35 -23
- package/index.d.ts +41 -15
- package/package.json +5 -1
- package/src/composite-core/badge.ts +103 -0
- package/src/composite-core/card.ts +530 -0
- package/src/composite-core/composite-node.ts +143 -0
- package/src/composite-core/public-api.ts +11 -0
- package/src/composite-core/structure.ts +58 -0
- package/src/design-core/contrast-audit.ts +38 -5
- package/src/design-core/flavor-fixtures.generated.ts +144 -144
- package/src/design-core/flavor-spec.generated.ts +970 -26
- package/src/design-core/node-classes.ts +16 -4
- package/src/design-core/node-links.ts +29 -0
- package/src/generation-core/compose-site.ts +55 -1
- package/src/generation-core/node-baselines.generated.ts +14 -2
- package/src/generation-core/patterns.ts +29 -2
- package/src/generation-core/serialized-node.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +13 -26
- package/styles/iox-design.css +63 -0
package/design-core/index.d.ts
CHANGED
|
@@ -148,6 +148,16 @@ declare const SPEC_TIERS: {
|
|
|
148
148
|
readonly type: "color";
|
|
149
149
|
readonly group: "colour";
|
|
150
150
|
readonly desc: "Error fill";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "warning";
|
|
153
|
+
readonly type: "color";
|
|
154
|
+
readonly group: "colour";
|
|
155
|
+
readonly desc: "Warning text (Card v2 badge tone) — AA on warning-bg";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "warning-bg";
|
|
158
|
+
readonly type: "color";
|
|
159
|
+
readonly group: "colour";
|
|
160
|
+
readonly desc: "Warning fill";
|
|
151
161
|
}, {
|
|
152
162
|
readonly name: "scrim";
|
|
153
163
|
readonly type: "color";
|
|
@@ -739,6 +749,62 @@ declare const SPEC_TIERS: {
|
|
|
739
749
|
readonly name: "divider-color";
|
|
740
750
|
readonly type: "color";
|
|
741
751
|
readonly default: "var(--iox-line)";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "badge-radius";
|
|
754
|
+
readonly type: "radius";
|
|
755
|
+
readonly default: "var(--iox-radius-pill)";
|
|
756
|
+
}, {
|
|
757
|
+
readonly name: "badge-pad";
|
|
758
|
+
readonly type: "spacing";
|
|
759
|
+
readonly default: "3px 10px";
|
|
760
|
+
}, {
|
|
761
|
+
readonly name: "badge-size";
|
|
762
|
+
readonly type: "size";
|
|
763
|
+
readonly default: "var(--iox-size-label)";
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: "badge-neutral-bg";
|
|
766
|
+
readonly type: "color";
|
|
767
|
+
readonly default: "var(--iox-surface-2)";
|
|
768
|
+
}, {
|
|
769
|
+
readonly name: "badge-neutral-ink";
|
|
770
|
+
readonly type: "color";
|
|
771
|
+
readonly default: "var(--iox-text)";
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "badge-success-bg";
|
|
774
|
+
readonly type: "color";
|
|
775
|
+
readonly default: "var(--iox-success-bg)";
|
|
776
|
+
}, {
|
|
777
|
+
readonly name: "badge-success-ink";
|
|
778
|
+
readonly type: "color";
|
|
779
|
+
readonly default: "var(--iox-success)";
|
|
780
|
+
}, {
|
|
781
|
+
readonly name: "badge-warning-bg";
|
|
782
|
+
readonly type: "color";
|
|
783
|
+
readonly default: "var(--iox-warning-bg)";
|
|
784
|
+
}, {
|
|
785
|
+
readonly name: "badge-warning-ink";
|
|
786
|
+
readonly type: "color";
|
|
787
|
+
readonly default: "var(--iox-warning)";
|
|
788
|
+
}, {
|
|
789
|
+
readonly name: "badge-accent-bg";
|
|
790
|
+
readonly type: "color";
|
|
791
|
+
readonly default: "var(--iox-accent)";
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "badge-accent-ink";
|
|
794
|
+
readonly type: "color";
|
|
795
|
+
readonly default: "var(--iox-accent-ink)";
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "chip-border";
|
|
798
|
+
readonly type: "color";
|
|
799
|
+
readonly default: "var(--iox-line-strong)";
|
|
800
|
+
}, {
|
|
801
|
+
readonly name: "media-scrim";
|
|
802
|
+
readonly type: "color";
|
|
803
|
+
readonly default: "rgba(0, 0, 0, 0.62)";
|
|
804
|
+
}, {
|
|
805
|
+
readonly name: "media-scrim-ink";
|
|
806
|
+
readonly type: "color";
|
|
807
|
+
readonly default: "#FFFFFF";
|
|
742
808
|
}];
|
|
743
809
|
};
|
|
744
810
|
declare const SPEC_TOKEN_TYPES: readonly ["color", "paint", "font", "number", "size", "spacing", "radius", "shadow", "effect", "duration", "easing", "keyword", "other"];
|
|
@@ -991,6 +1057,8 @@ declare const SPEC_SCHEMES: {
|
|
|
991
1057
|
readonly "danger-bg": "{{~danger-bg}}";
|
|
992
1058
|
readonly success: "{{~success}}";
|
|
993
1059
|
readonly "success-bg": "{{~success-bg}}";
|
|
1060
|
+
readonly warning: "{{~warning}}";
|
|
1061
|
+
readonly "warning-bg": "{{~warning-bg}}";
|
|
994
1062
|
};
|
|
995
1063
|
};
|
|
996
1064
|
readonly accent: {
|
|
@@ -1015,6 +1083,8 @@ declare const SPEC_SCHEMES: {
|
|
|
1015
1083
|
readonly "danger-bg": "{{accent-hover}}";
|
|
1016
1084
|
readonly success: "{{accent-ink}}";
|
|
1017
1085
|
readonly "success-bg": "{{accent-hover}}";
|
|
1086
|
+
readonly warning: "{{accent-ink}}";
|
|
1087
|
+
readonly "warning-bg": "{{accent-hover}}";
|
|
1018
1088
|
};
|
|
1019
1089
|
};
|
|
1020
1090
|
};
|
|
@@ -1423,6 +1493,96 @@ declare const SPEC_ELEMENT_STYLES: readonly [{
|
|
|
1423
1493
|
readonly group: "Forms";
|
|
1424
1494
|
readonly appliesTo: readonly ["Field"];
|
|
1425
1495
|
readonly base: {};
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly id: "badge-neutral";
|
|
1498
|
+
readonly label: "Badge · Neutral";
|
|
1499
|
+
readonly group: "Content blocks";
|
|
1500
|
+
readonly appliesTo: readonly ["Container"];
|
|
1501
|
+
readonly base: {
|
|
1502
|
+
readonly backgroundColor: "var(--iox-badge-neutral-bg)";
|
|
1503
|
+
readonly color: "var(--iox-badge-neutral-ink)";
|
|
1504
|
+
readonly borderRadius: "var(--iox-badge-radius)";
|
|
1505
|
+
readonly padding: "var(--iox-badge-pad)";
|
|
1506
|
+
readonly fontFamily: "var(--iox-font-label)";
|
|
1507
|
+
readonly fontSize: "var(--iox-badge-size)";
|
|
1508
|
+
readonly fontWeight: "var(--iox-weight-label)";
|
|
1509
|
+
readonly letterSpacing: "var(--iox-tracking-label)";
|
|
1510
|
+
readonly textTransform: "var(--iox-case-label)";
|
|
1511
|
+
};
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly id: "badge-success";
|
|
1514
|
+
readonly label: "Badge · Success";
|
|
1515
|
+
readonly group: "Content blocks";
|
|
1516
|
+
readonly appliesTo: readonly ["Container"];
|
|
1517
|
+
readonly base: {
|
|
1518
|
+
readonly backgroundColor: "var(--iox-badge-success-bg)";
|
|
1519
|
+
readonly color: "var(--iox-badge-success-ink)";
|
|
1520
|
+
readonly borderRadius: "var(--iox-badge-radius)";
|
|
1521
|
+
readonly padding: "var(--iox-badge-pad)";
|
|
1522
|
+
readonly fontFamily: "var(--iox-font-label)";
|
|
1523
|
+
readonly fontSize: "var(--iox-badge-size)";
|
|
1524
|
+
readonly fontWeight: "var(--iox-weight-label)";
|
|
1525
|
+
readonly letterSpacing: "var(--iox-tracking-label)";
|
|
1526
|
+
readonly textTransform: "var(--iox-case-label)";
|
|
1527
|
+
};
|
|
1528
|
+
}, {
|
|
1529
|
+
readonly id: "badge-warning";
|
|
1530
|
+
readonly label: "Badge · Warning";
|
|
1531
|
+
readonly group: "Content blocks";
|
|
1532
|
+
readonly appliesTo: readonly ["Container"];
|
|
1533
|
+
readonly base: {
|
|
1534
|
+
readonly backgroundColor: "var(--iox-badge-warning-bg)";
|
|
1535
|
+
readonly color: "var(--iox-badge-warning-ink)";
|
|
1536
|
+
readonly borderRadius: "var(--iox-badge-radius)";
|
|
1537
|
+
readonly padding: "var(--iox-badge-pad)";
|
|
1538
|
+
readonly fontFamily: "var(--iox-font-label)";
|
|
1539
|
+
readonly fontSize: "var(--iox-badge-size)";
|
|
1540
|
+
readonly fontWeight: "var(--iox-weight-label)";
|
|
1541
|
+
readonly letterSpacing: "var(--iox-tracking-label)";
|
|
1542
|
+
readonly textTransform: "var(--iox-case-label)";
|
|
1543
|
+
};
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly id: "badge-accent";
|
|
1546
|
+
readonly label: "Badge · Accent";
|
|
1547
|
+
readonly group: "Content blocks";
|
|
1548
|
+
readonly appliesTo: readonly ["Container"];
|
|
1549
|
+
readonly base: {
|
|
1550
|
+
readonly backgroundColor: "var(--iox-badge-accent-bg)";
|
|
1551
|
+
readonly color: "var(--iox-badge-accent-ink)";
|
|
1552
|
+
readonly borderRadius: "var(--iox-badge-radius)";
|
|
1553
|
+
readonly padding: "var(--iox-badge-pad)";
|
|
1554
|
+
readonly fontFamily: "var(--iox-font-label)";
|
|
1555
|
+
readonly fontSize: "var(--iox-badge-size)";
|
|
1556
|
+
readonly fontWeight: "var(--iox-weight-label)";
|
|
1557
|
+
readonly letterSpacing: "var(--iox-tracking-label)";
|
|
1558
|
+
readonly textTransform: "var(--iox-case-label)";
|
|
1559
|
+
};
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly id: "chip";
|
|
1562
|
+
readonly label: "Chip";
|
|
1563
|
+
readonly group: "Content blocks";
|
|
1564
|
+
readonly appliesTo: readonly ["Container"];
|
|
1565
|
+
readonly base: {
|
|
1566
|
+
readonly backgroundColor: "transparent";
|
|
1567
|
+
readonly color: "var(--iox-text)";
|
|
1568
|
+
readonly borderStyle: "solid";
|
|
1569
|
+
readonly borderWidth: "var(--iox-border-width)";
|
|
1570
|
+
readonly borderColor: "var(--iox-chip-border)";
|
|
1571
|
+
readonly borderRadius: "var(--iox-badge-radius)";
|
|
1572
|
+
readonly padding: "var(--iox-badge-pad)";
|
|
1573
|
+
readonly fontFamily: "var(--iox-font-label)";
|
|
1574
|
+
readonly fontSize: "var(--iox-badge-size)";
|
|
1575
|
+
readonly fontWeight: "var(--iox-weight-label)";
|
|
1576
|
+
};
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly id: "media-scrim";
|
|
1579
|
+
readonly label: "Text over image";
|
|
1580
|
+
readonly group: "Content blocks";
|
|
1581
|
+
readonly appliesTo: readonly ["Container"];
|
|
1582
|
+
readonly base: {
|
|
1583
|
+
readonly backgroundColor: "linear-gradient(180deg, transparent 0%, var(--iox-media-scrim) 45%)";
|
|
1584
|
+
readonly color: "var(--iox-media-scrim-ink)";
|
|
1585
|
+
};
|
|
1426
1586
|
}, {
|
|
1427
1587
|
readonly id: "notice-success";
|
|
1428
1588
|
readonly label: "Success message";
|
|
@@ -1478,15 +1638,6 @@ declare const SPEC_BUTTON_VARIANT_TO_STYLE: {
|
|
|
1478
1638
|
readonly text: "button-ghost";
|
|
1479
1639
|
};
|
|
1480
1640
|
declare const SPEC_PALETTE_PRESETS: readonly [{
|
|
1481
|
-
readonly label: "Card";
|
|
1482
|
-
readonly type: "Container";
|
|
1483
|
-
readonly elementStyle: "card";
|
|
1484
|
-
readonly styleProps: {
|
|
1485
|
-
readonly display: "flex";
|
|
1486
|
-
readonly flexDirection: "column";
|
|
1487
|
-
readonly gap: "var(--iox-space-gap)";
|
|
1488
|
-
};
|
|
1489
|
-
}, {
|
|
1490
1641
|
readonly label: "Panel";
|
|
1491
1642
|
readonly type: "Container";
|
|
1492
1643
|
readonly elementStyle: "panel";
|
|
@@ -1693,6 +1844,23 @@ declare const SPEC_INK_SCOPES: readonly [{
|
|
|
1693
1844
|
readonly "link-hover-color": "currentColor";
|
|
1694
1845
|
readonly "text-muted": "currentColor";
|
|
1695
1846
|
};
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly styles: readonly ["badge-neutral", "badge-success", "badge-warning", "badge-accent", "chip"];
|
|
1849
|
+
readonly set: {
|
|
1850
|
+
readonly "icon-color": "currentColor";
|
|
1851
|
+
};
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly styles: readonly ["media-scrim"];
|
|
1854
|
+
readonly children: true;
|
|
1855
|
+
readonly set: {
|
|
1856
|
+
readonly "heading-color": "currentColor";
|
|
1857
|
+
readonly "eyebrow-color": "currentColor";
|
|
1858
|
+
readonly "text-muted": "currentColor";
|
|
1859
|
+
readonly "link-color": "currentColor";
|
|
1860
|
+
readonly "link-hover-color": "currentColor";
|
|
1861
|
+
readonly "icon-color": "currentColor";
|
|
1862
|
+
readonly "button-ghost-ink": "currentColor";
|
|
1863
|
+
};
|
|
1696
1864
|
}];
|
|
1697
1865
|
declare const SPEC_CONTRAST_AUDIT: {
|
|
1698
1866
|
readonly pairs: readonly [{
|
|
@@ -1743,6 +1911,10 @@ declare const SPEC_CONTRAST_AUDIT: {
|
|
|
1743
1911
|
readonly fg: "danger";
|
|
1744
1912
|
readonly bg: "danger-bg";
|
|
1745
1913
|
readonly min: 4.5;
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly fg: "warning";
|
|
1916
|
+
readonly bg: "warning-bg";
|
|
1917
|
+
readonly min: 4.5;
|
|
1746
1918
|
}, {
|
|
1747
1919
|
readonly fg: "accent-ink";
|
|
1748
1920
|
readonly bg: "accent-hover";
|
|
@@ -1857,6 +2029,12 @@ declare const SPEC_CONTRAST_AUDIT: {
|
|
|
1857
2029
|
readonly fg: "var(--iox-line-strong)";
|
|
1858
2030
|
readonly min: 3;
|
|
1859
2031
|
}];
|
|
2032
|
+
readonly scrims: readonly [{
|
|
2033
|
+
readonly style: "media-scrim";
|
|
2034
|
+
readonly token: "media-scrim";
|
|
2035
|
+
readonly scheme: "inverse";
|
|
2036
|
+
readonly image: "#FFFFFF";
|
|
2037
|
+
}];
|
|
1860
2038
|
};
|
|
1861
2039
|
declare const SPEC_LEGACY_ALIASES: {
|
|
1862
2040
|
readonly "radius-control": "var(--iox-button-radius)";
|
|
@@ -1953,6 +2131,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
1953
2131
|
readonly "success-bg": "#E7F4EC";
|
|
1954
2132
|
readonly danger: "#B3261E";
|
|
1955
2133
|
readonly "danger-bg": "#FBE9E7";
|
|
2134
|
+
readonly warning: "#7A4A00";
|
|
2135
|
+
readonly "warning-bg": "#FBF0D9";
|
|
1956
2136
|
readonly scrim: "rgba(15, 17, 21, 0.45)";
|
|
1957
2137
|
};
|
|
1958
2138
|
readonly dark: {
|
|
@@ -1978,6 +2158,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
1978
2158
|
readonly "success-bg": "#13291C";
|
|
1979
2159
|
readonly danger: "#FF8A80";
|
|
1980
2160
|
readonly "danger-bg": "#3A1715";
|
|
2161
|
+
readonly warning: "#F2C46D";
|
|
2162
|
+
readonly "warning-bg": "#2E2210";
|
|
1981
2163
|
readonly scrim: "rgba(0, 0, 0, 0.6)";
|
|
1982
2164
|
};
|
|
1983
2165
|
};
|
|
@@ -2178,6 +2360,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
2178
2360
|
readonly group: "colour";
|
|
2179
2361
|
readonly value: "#FBE9E7";
|
|
2180
2362
|
readonly dark: "#3A1715";
|
|
2363
|
+
}, {
|
|
2364
|
+
readonly name: "warning";
|
|
2365
|
+
readonly tier: "semantic";
|
|
2366
|
+
readonly type: "color";
|
|
2367
|
+
readonly group: "colour";
|
|
2368
|
+
readonly value: "#7A4A00";
|
|
2369
|
+
readonly dark: "#F2C46D";
|
|
2370
|
+
}, {
|
|
2371
|
+
readonly name: "warning-bg";
|
|
2372
|
+
readonly tier: "semantic";
|
|
2373
|
+
readonly type: "color";
|
|
2374
|
+
readonly group: "colour";
|
|
2375
|
+
readonly value: "#FBF0D9";
|
|
2376
|
+
readonly dark: "#2E2210";
|
|
2181
2377
|
}, {
|
|
2182
2378
|
readonly name: "scrim";
|
|
2183
2379
|
readonly tier: "semantic";
|
|
@@ -2986,6 +3182,90 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
2986
3182
|
readonly type: "color";
|
|
2987
3183
|
readonly group: "components";
|
|
2988
3184
|
readonly value: "var(--iox-line)";
|
|
3185
|
+
}, {
|
|
3186
|
+
readonly name: "badge-radius";
|
|
3187
|
+
readonly tier: "component";
|
|
3188
|
+
readonly type: "radius";
|
|
3189
|
+
readonly group: "components";
|
|
3190
|
+
readonly value: "var(--iox-radius-pill)";
|
|
3191
|
+
}, {
|
|
3192
|
+
readonly name: "badge-pad";
|
|
3193
|
+
readonly tier: "component";
|
|
3194
|
+
readonly type: "spacing";
|
|
3195
|
+
readonly group: "components";
|
|
3196
|
+
readonly value: "3px 10px";
|
|
3197
|
+
}, {
|
|
3198
|
+
readonly name: "badge-size";
|
|
3199
|
+
readonly tier: "component";
|
|
3200
|
+
readonly type: "size";
|
|
3201
|
+
readonly group: "components";
|
|
3202
|
+
readonly value: "var(--iox-size-label)";
|
|
3203
|
+
}, {
|
|
3204
|
+
readonly name: "badge-neutral-bg";
|
|
3205
|
+
readonly tier: "component";
|
|
3206
|
+
readonly type: "color";
|
|
3207
|
+
readonly group: "components";
|
|
3208
|
+
readonly value: "var(--iox-surface-2)";
|
|
3209
|
+
}, {
|
|
3210
|
+
readonly name: "badge-neutral-ink";
|
|
3211
|
+
readonly tier: "component";
|
|
3212
|
+
readonly type: "color";
|
|
3213
|
+
readonly group: "components";
|
|
3214
|
+
readonly value: "var(--iox-text)";
|
|
3215
|
+
}, {
|
|
3216
|
+
readonly name: "badge-success-bg";
|
|
3217
|
+
readonly tier: "component";
|
|
3218
|
+
readonly type: "color";
|
|
3219
|
+
readonly group: "components";
|
|
3220
|
+
readonly value: "var(--iox-success-bg)";
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly name: "badge-success-ink";
|
|
3223
|
+
readonly tier: "component";
|
|
3224
|
+
readonly type: "color";
|
|
3225
|
+
readonly group: "components";
|
|
3226
|
+
readonly value: "var(--iox-success)";
|
|
3227
|
+
}, {
|
|
3228
|
+
readonly name: "badge-warning-bg";
|
|
3229
|
+
readonly tier: "component";
|
|
3230
|
+
readonly type: "color";
|
|
3231
|
+
readonly group: "components";
|
|
3232
|
+
readonly value: "var(--iox-warning-bg)";
|
|
3233
|
+
}, {
|
|
3234
|
+
readonly name: "badge-warning-ink";
|
|
3235
|
+
readonly tier: "component";
|
|
3236
|
+
readonly type: "color";
|
|
3237
|
+
readonly group: "components";
|
|
3238
|
+
readonly value: "var(--iox-warning)";
|
|
3239
|
+
}, {
|
|
3240
|
+
readonly name: "badge-accent-bg";
|
|
3241
|
+
readonly tier: "component";
|
|
3242
|
+
readonly type: "color";
|
|
3243
|
+
readonly group: "components";
|
|
3244
|
+
readonly value: "var(--iox-accent)";
|
|
3245
|
+
}, {
|
|
3246
|
+
readonly name: "badge-accent-ink";
|
|
3247
|
+
readonly tier: "component";
|
|
3248
|
+
readonly type: "color";
|
|
3249
|
+
readonly group: "components";
|
|
3250
|
+
readonly value: "var(--iox-accent-ink)";
|
|
3251
|
+
}, {
|
|
3252
|
+
readonly name: "chip-border";
|
|
3253
|
+
readonly tier: "component";
|
|
3254
|
+
readonly type: "color";
|
|
3255
|
+
readonly group: "components";
|
|
3256
|
+
readonly value: "var(--iox-line-strong)";
|
|
3257
|
+
}, {
|
|
3258
|
+
readonly name: "media-scrim";
|
|
3259
|
+
readonly tier: "component";
|
|
3260
|
+
readonly type: "color";
|
|
3261
|
+
readonly group: "components";
|
|
3262
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
3263
|
+
}, {
|
|
3264
|
+
readonly name: "media-scrim-ink";
|
|
3265
|
+
readonly tier: "component";
|
|
3266
|
+
readonly type: "color";
|
|
3267
|
+
readonly group: "components";
|
|
3268
|
+
readonly value: "#FFFFFF";
|
|
2989
3269
|
}];
|
|
2990
3270
|
}, {
|
|
2991
3271
|
readonly id: "linen";
|
|
@@ -3076,6 +3356,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
3076
3356
|
readonly "success-bg": "#E9EEDF";
|
|
3077
3357
|
readonly danger: "#9A3324";
|
|
3078
3358
|
readonly "danger-bg": "#F5E3DC";
|
|
3359
|
+
readonly warning: "#7A4A00";
|
|
3360
|
+
readonly "warning-bg": "#FBF0D9";
|
|
3079
3361
|
readonly scrim: "rgba(31, 27, 22, 0.5)";
|
|
3080
3362
|
};
|
|
3081
3363
|
readonly dark: {
|
|
@@ -3101,6 +3383,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
3101
3383
|
readonly "success-bg": "#1E2619";
|
|
3102
3384
|
readonly danger: "#E8A08F";
|
|
3103
3385
|
readonly "danger-bg": "#2E1A15";
|
|
3386
|
+
readonly warning: "#F2C46D";
|
|
3387
|
+
readonly "warning-bg": "#2E2210";
|
|
3104
3388
|
readonly scrim: "rgba(0, 0, 0, 0.6)";
|
|
3105
3389
|
};
|
|
3106
3390
|
};
|
|
@@ -3301,6 +3585,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
3301
3585
|
readonly group: "colour";
|
|
3302
3586
|
readonly value: "#F5E3DC";
|
|
3303
3587
|
readonly dark: "#2E1A15";
|
|
3588
|
+
}, {
|
|
3589
|
+
readonly name: "warning";
|
|
3590
|
+
readonly tier: "semantic";
|
|
3591
|
+
readonly type: "color";
|
|
3592
|
+
readonly group: "colour";
|
|
3593
|
+
readonly value: "#7A4A00";
|
|
3594
|
+
readonly dark: "#F2C46D";
|
|
3595
|
+
}, {
|
|
3596
|
+
readonly name: "warning-bg";
|
|
3597
|
+
readonly tier: "semantic";
|
|
3598
|
+
readonly type: "color";
|
|
3599
|
+
readonly group: "colour";
|
|
3600
|
+
readonly value: "#FBF0D9";
|
|
3601
|
+
readonly dark: "#2E2210";
|
|
3304
3602
|
}, {
|
|
3305
3603
|
readonly name: "scrim";
|
|
3306
3604
|
readonly tier: "semantic";
|
|
@@ -4129,6 +4427,90 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
4129
4427
|
readonly type: "color";
|
|
4130
4428
|
readonly group: "components";
|
|
4131
4429
|
readonly value: "var(--iox-line)";
|
|
4430
|
+
}, {
|
|
4431
|
+
readonly name: "badge-radius";
|
|
4432
|
+
readonly tier: "component";
|
|
4433
|
+
readonly type: "radius";
|
|
4434
|
+
readonly group: "components";
|
|
4435
|
+
readonly value: "var(--iox-radius-pill)";
|
|
4436
|
+
}, {
|
|
4437
|
+
readonly name: "badge-pad";
|
|
4438
|
+
readonly tier: "component";
|
|
4439
|
+
readonly type: "spacing";
|
|
4440
|
+
readonly group: "components";
|
|
4441
|
+
readonly value: "3px 10px";
|
|
4442
|
+
}, {
|
|
4443
|
+
readonly name: "badge-size";
|
|
4444
|
+
readonly tier: "component";
|
|
4445
|
+
readonly type: "size";
|
|
4446
|
+
readonly group: "components";
|
|
4447
|
+
readonly value: "var(--iox-size-label)";
|
|
4448
|
+
}, {
|
|
4449
|
+
readonly name: "badge-neutral-bg";
|
|
4450
|
+
readonly tier: "component";
|
|
4451
|
+
readonly type: "color";
|
|
4452
|
+
readonly group: "components";
|
|
4453
|
+
readonly value: "var(--iox-surface-2)";
|
|
4454
|
+
}, {
|
|
4455
|
+
readonly name: "badge-neutral-ink";
|
|
4456
|
+
readonly tier: "component";
|
|
4457
|
+
readonly type: "color";
|
|
4458
|
+
readonly group: "components";
|
|
4459
|
+
readonly value: "var(--iox-text)";
|
|
4460
|
+
}, {
|
|
4461
|
+
readonly name: "badge-success-bg";
|
|
4462
|
+
readonly tier: "component";
|
|
4463
|
+
readonly type: "color";
|
|
4464
|
+
readonly group: "components";
|
|
4465
|
+
readonly value: "var(--iox-success-bg)";
|
|
4466
|
+
}, {
|
|
4467
|
+
readonly name: "badge-success-ink";
|
|
4468
|
+
readonly tier: "component";
|
|
4469
|
+
readonly type: "color";
|
|
4470
|
+
readonly group: "components";
|
|
4471
|
+
readonly value: "var(--iox-success)";
|
|
4472
|
+
}, {
|
|
4473
|
+
readonly name: "badge-warning-bg";
|
|
4474
|
+
readonly tier: "component";
|
|
4475
|
+
readonly type: "color";
|
|
4476
|
+
readonly group: "components";
|
|
4477
|
+
readonly value: "var(--iox-warning-bg)";
|
|
4478
|
+
}, {
|
|
4479
|
+
readonly name: "badge-warning-ink";
|
|
4480
|
+
readonly tier: "component";
|
|
4481
|
+
readonly type: "color";
|
|
4482
|
+
readonly group: "components";
|
|
4483
|
+
readonly value: "var(--iox-warning)";
|
|
4484
|
+
}, {
|
|
4485
|
+
readonly name: "badge-accent-bg";
|
|
4486
|
+
readonly tier: "component";
|
|
4487
|
+
readonly type: "color";
|
|
4488
|
+
readonly group: "components";
|
|
4489
|
+
readonly value: "var(--iox-accent)";
|
|
4490
|
+
}, {
|
|
4491
|
+
readonly name: "badge-accent-ink";
|
|
4492
|
+
readonly tier: "component";
|
|
4493
|
+
readonly type: "color";
|
|
4494
|
+
readonly group: "components";
|
|
4495
|
+
readonly value: "var(--iox-accent-ink)";
|
|
4496
|
+
}, {
|
|
4497
|
+
readonly name: "chip-border";
|
|
4498
|
+
readonly tier: "component";
|
|
4499
|
+
readonly type: "color";
|
|
4500
|
+
readonly group: "components";
|
|
4501
|
+
readonly value: "var(--iox-line-strong)";
|
|
4502
|
+
}, {
|
|
4503
|
+
readonly name: "media-scrim";
|
|
4504
|
+
readonly tier: "component";
|
|
4505
|
+
readonly type: "color";
|
|
4506
|
+
readonly group: "components";
|
|
4507
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
4508
|
+
}, {
|
|
4509
|
+
readonly name: "media-scrim-ink";
|
|
4510
|
+
readonly tier: "component";
|
|
4511
|
+
readonly type: "color";
|
|
4512
|
+
readonly group: "components";
|
|
4513
|
+
readonly value: "#FFFFFF";
|
|
4132
4514
|
}];
|
|
4133
4515
|
}, {
|
|
4134
4516
|
readonly id: "midnight";
|
|
@@ -4219,6 +4601,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
4219
4601
|
readonly "success-bg": "#E7F4EC";
|
|
4220
4602
|
readonly danger: "#B3261E";
|
|
4221
4603
|
readonly "danger-bg": "#FBE9E7";
|
|
4604
|
+
readonly warning: "#7A4A00";
|
|
4605
|
+
readonly "warning-bg": "#FBF0D9";
|
|
4222
4606
|
readonly scrim: "rgba(8, 9, 10, 0.55)";
|
|
4223
4607
|
};
|
|
4224
4608
|
readonly dark: {
|
|
@@ -4244,6 +4628,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
4244
4628
|
readonly "success-bg": "#0F2418";
|
|
4245
4629
|
readonly danger: "#FF7B72";
|
|
4246
4630
|
readonly "danger-bg": "#2D1213";
|
|
4631
|
+
readonly warning: "#F2C46D";
|
|
4632
|
+
readonly "warning-bg": "#2E2210";
|
|
4247
4633
|
readonly scrim: "rgba(0, 0, 0, 0.7)";
|
|
4248
4634
|
};
|
|
4249
4635
|
};
|
|
@@ -4444,6 +4830,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
4444
4830
|
readonly group: "colour";
|
|
4445
4831
|
readonly value: "#FBE9E7";
|
|
4446
4832
|
readonly dark: "#2D1213";
|
|
4833
|
+
}, {
|
|
4834
|
+
readonly name: "warning";
|
|
4835
|
+
readonly tier: "semantic";
|
|
4836
|
+
readonly type: "color";
|
|
4837
|
+
readonly group: "colour";
|
|
4838
|
+
readonly value: "#7A4A00";
|
|
4839
|
+
readonly dark: "#F2C46D";
|
|
4840
|
+
}, {
|
|
4841
|
+
readonly name: "warning-bg";
|
|
4842
|
+
readonly tier: "semantic";
|
|
4843
|
+
readonly type: "color";
|
|
4844
|
+
readonly group: "colour";
|
|
4845
|
+
readonly value: "#FBF0D9";
|
|
4846
|
+
readonly dark: "#2E2210";
|
|
4447
4847
|
}, {
|
|
4448
4848
|
readonly name: "scrim";
|
|
4449
4849
|
readonly tier: "semantic";
|
|
@@ -5194,73 +5594,157 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5194
5594
|
readonly tier: "component";
|
|
5195
5595
|
readonly type: "spacing";
|
|
5196
5596
|
readonly group: "components";
|
|
5197
|
-
readonly value: "var(--iox-space-pad)";
|
|
5597
|
+
readonly value: "var(--iox-space-pad)";
|
|
5598
|
+
}, {
|
|
5599
|
+
readonly name: "dialog-border";
|
|
5600
|
+
readonly tier: "component";
|
|
5601
|
+
readonly type: "color";
|
|
5602
|
+
readonly group: "components";
|
|
5603
|
+
readonly value: "transparent";
|
|
5604
|
+
}, {
|
|
5605
|
+
readonly name: "dialog-border-width";
|
|
5606
|
+
readonly tier: "component";
|
|
5607
|
+
readonly type: "size";
|
|
5608
|
+
readonly group: "components";
|
|
5609
|
+
readonly value: "0px";
|
|
5610
|
+
}, {
|
|
5611
|
+
readonly name: "image-radius";
|
|
5612
|
+
readonly tier: "component";
|
|
5613
|
+
readonly type: "radius";
|
|
5614
|
+
readonly group: "components";
|
|
5615
|
+
readonly value: "var(--iox-radius-md)";
|
|
5616
|
+
}, {
|
|
5617
|
+
readonly name: "image-hover-scale";
|
|
5618
|
+
readonly tier: "component";
|
|
5619
|
+
readonly type: "number";
|
|
5620
|
+
readonly group: "components";
|
|
5621
|
+
readonly value: "1";
|
|
5622
|
+
}, {
|
|
5623
|
+
readonly name: "link-color";
|
|
5624
|
+
readonly tier: "component";
|
|
5625
|
+
readonly type: "color";
|
|
5626
|
+
readonly group: "components";
|
|
5627
|
+
readonly value: "var(--iox-accent-text)";
|
|
5628
|
+
}, {
|
|
5629
|
+
readonly name: "link-hover-color";
|
|
5630
|
+
readonly tier: "component";
|
|
5631
|
+
readonly type: "color";
|
|
5632
|
+
readonly group: "components";
|
|
5633
|
+
readonly value: "var(--iox-text)";
|
|
5634
|
+
}, {
|
|
5635
|
+
readonly name: "link-decoration";
|
|
5636
|
+
readonly tier: "component";
|
|
5637
|
+
readonly type: "keyword";
|
|
5638
|
+
readonly group: "components";
|
|
5639
|
+
readonly value: "underline";
|
|
5640
|
+
}, {
|
|
5641
|
+
readonly name: "heading-color";
|
|
5642
|
+
readonly tier: "component";
|
|
5643
|
+
readonly type: "color";
|
|
5644
|
+
readonly group: "components";
|
|
5645
|
+
readonly value: "var(--iox-text)";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly name: "eyebrow-color";
|
|
5648
|
+
readonly tier: "component";
|
|
5649
|
+
readonly type: "color";
|
|
5650
|
+
readonly group: "components";
|
|
5651
|
+
readonly value: "var(--iox-accent-text)";
|
|
5652
|
+
}, {
|
|
5653
|
+
readonly name: "icon-color";
|
|
5654
|
+
readonly tier: "component";
|
|
5655
|
+
readonly type: "color";
|
|
5656
|
+
readonly group: "components";
|
|
5657
|
+
readonly value: "var(--iox-accent-text)";
|
|
5658
|
+
}, {
|
|
5659
|
+
readonly name: "divider-color";
|
|
5660
|
+
readonly tier: "component";
|
|
5661
|
+
readonly type: "color";
|
|
5662
|
+
readonly group: "components";
|
|
5663
|
+
readonly value: "var(--iox-line)";
|
|
5664
|
+
}, {
|
|
5665
|
+
readonly name: "badge-radius";
|
|
5666
|
+
readonly tier: "component";
|
|
5667
|
+
readonly type: "radius";
|
|
5668
|
+
readonly group: "components";
|
|
5669
|
+
readonly value: "var(--iox-radius-pill)";
|
|
5670
|
+
}, {
|
|
5671
|
+
readonly name: "badge-pad";
|
|
5672
|
+
readonly tier: "component";
|
|
5673
|
+
readonly type: "spacing";
|
|
5674
|
+
readonly group: "components";
|
|
5675
|
+
readonly value: "3px 10px";
|
|
5676
|
+
}, {
|
|
5677
|
+
readonly name: "badge-size";
|
|
5678
|
+
readonly tier: "component";
|
|
5679
|
+
readonly type: "size";
|
|
5680
|
+
readonly group: "components";
|
|
5681
|
+
readonly value: "var(--iox-size-label)";
|
|
5198
5682
|
}, {
|
|
5199
|
-
readonly name: "
|
|
5683
|
+
readonly name: "badge-neutral-bg";
|
|
5200
5684
|
readonly tier: "component";
|
|
5201
5685
|
readonly type: "color";
|
|
5202
5686
|
readonly group: "components";
|
|
5203
|
-
readonly value: "
|
|
5687
|
+
readonly value: "var(--iox-surface-2)";
|
|
5204
5688
|
}, {
|
|
5205
|
-
readonly name: "
|
|
5689
|
+
readonly name: "badge-neutral-ink";
|
|
5206
5690
|
readonly tier: "component";
|
|
5207
|
-
readonly type: "
|
|
5691
|
+
readonly type: "color";
|
|
5208
5692
|
readonly group: "components";
|
|
5209
|
-
readonly value: "
|
|
5693
|
+
readonly value: "var(--iox-text)";
|
|
5210
5694
|
}, {
|
|
5211
|
-
readonly name: "
|
|
5695
|
+
readonly name: "badge-success-bg";
|
|
5212
5696
|
readonly tier: "component";
|
|
5213
|
-
readonly type: "
|
|
5697
|
+
readonly type: "color";
|
|
5214
5698
|
readonly group: "components";
|
|
5215
|
-
readonly value: "var(--iox-
|
|
5699
|
+
readonly value: "var(--iox-success-bg)";
|
|
5216
5700
|
}, {
|
|
5217
|
-
readonly name: "
|
|
5701
|
+
readonly name: "badge-success-ink";
|
|
5218
5702
|
readonly tier: "component";
|
|
5219
|
-
readonly type: "
|
|
5703
|
+
readonly type: "color";
|
|
5220
5704
|
readonly group: "components";
|
|
5221
|
-
readonly value: "
|
|
5705
|
+
readonly value: "var(--iox-success)";
|
|
5222
5706
|
}, {
|
|
5223
|
-
readonly name: "
|
|
5707
|
+
readonly name: "badge-warning-bg";
|
|
5224
5708
|
readonly tier: "component";
|
|
5225
5709
|
readonly type: "color";
|
|
5226
5710
|
readonly group: "components";
|
|
5227
|
-
readonly value: "var(--iox-
|
|
5711
|
+
readonly value: "var(--iox-warning-bg)";
|
|
5228
5712
|
}, {
|
|
5229
|
-
readonly name: "
|
|
5713
|
+
readonly name: "badge-warning-ink";
|
|
5230
5714
|
readonly tier: "component";
|
|
5231
5715
|
readonly type: "color";
|
|
5232
5716
|
readonly group: "components";
|
|
5233
|
-
readonly value: "var(--iox-
|
|
5717
|
+
readonly value: "var(--iox-warning)";
|
|
5234
5718
|
}, {
|
|
5235
|
-
readonly name: "
|
|
5719
|
+
readonly name: "badge-accent-bg";
|
|
5236
5720
|
readonly tier: "component";
|
|
5237
|
-
readonly type: "
|
|
5721
|
+
readonly type: "color";
|
|
5238
5722
|
readonly group: "components";
|
|
5239
|
-
readonly value: "
|
|
5723
|
+
readonly value: "var(--iox-accent)";
|
|
5240
5724
|
}, {
|
|
5241
|
-
readonly name: "
|
|
5725
|
+
readonly name: "badge-accent-ink";
|
|
5242
5726
|
readonly tier: "component";
|
|
5243
5727
|
readonly type: "color";
|
|
5244
5728
|
readonly group: "components";
|
|
5245
|
-
readonly value: "var(--iox-
|
|
5729
|
+
readonly value: "var(--iox-accent-ink)";
|
|
5246
5730
|
}, {
|
|
5247
|
-
readonly name: "
|
|
5731
|
+
readonly name: "chip-border";
|
|
5248
5732
|
readonly tier: "component";
|
|
5249
5733
|
readonly type: "color";
|
|
5250
5734
|
readonly group: "components";
|
|
5251
|
-
readonly value: "var(--iox-
|
|
5735
|
+
readonly value: "var(--iox-line-strong)";
|
|
5252
5736
|
}, {
|
|
5253
|
-
readonly name: "
|
|
5737
|
+
readonly name: "media-scrim";
|
|
5254
5738
|
readonly tier: "component";
|
|
5255
5739
|
readonly type: "color";
|
|
5256
5740
|
readonly group: "components";
|
|
5257
|
-
readonly value: "
|
|
5741
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
5258
5742
|
}, {
|
|
5259
|
-
readonly name: "
|
|
5743
|
+
readonly name: "media-scrim-ink";
|
|
5260
5744
|
readonly tier: "component";
|
|
5261
5745
|
readonly type: "color";
|
|
5262
5746
|
readonly group: "components";
|
|
5263
|
-
readonly value: "
|
|
5747
|
+
readonly value: "#FFFFFF";
|
|
5264
5748
|
}];
|
|
5265
5749
|
}, {
|
|
5266
5750
|
readonly id: "glass";
|
|
@@ -5351,6 +5835,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5351
5835
|
readonly "success-bg": "#E3F5EA";
|
|
5352
5836
|
readonly danger: "#B3261E";
|
|
5353
5837
|
readonly "danger-bg": "#FCE8E6";
|
|
5838
|
+
readonly warning: "#7A4A00";
|
|
5839
|
+
readonly "warning-bg": "#FBF0D9";
|
|
5354
5840
|
readonly scrim: "rgba(15, 23, 42, 0.30)";
|
|
5355
5841
|
};
|
|
5356
5842
|
readonly dark: {
|
|
@@ -5380,6 +5866,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5380
5866
|
readonly "success-bg": "#12291C";
|
|
5381
5867
|
readonly danger: "#FF8A80";
|
|
5382
5868
|
readonly "danger-bg": "#3A1715";
|
|
5869
|
+
readonly warning: "#F2C46D";
|
|
5870
|
+
readonly "warning-bg": "#2E2210";
|
|
5383
5871
|
readonly scrim: "rgba(0, 0, 0, 0.5)";
|
|
5384
5872
|
};
|
|
5385
5873
|
};
|
|
@@ -5589,6 +6077,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5589
6077
|
readonly group: "colour";
|
|
5590
6078
|
readonly value: "#FCE8E6";
|
|
5591
6079
|
readonly dark: "#3A1715";
|
|
6080
|
+
}, {
|
|
6081
|
+
readonly name: "warning";
|
|
6082
|
+
readonly tier: "semantic";
|
|
6083
|
+
readonly type: "color";
|
|
6084
|
+
readonly group: "colour";
|
|
6085
|
+
readonly value: "#7A4A00";
|
|
6086
|
+
readonly dark: "#F2C46D";
|
|
6087
|
+
}, {
|
|
6088
|
+
readonly name: "warning-bg";
|
|
6089
|
+
readonly tier: "semantic";
|
|
6090
|
+
readonly type: "color";
|
|
6091
|
+
readonly group: "colour";
|
|
6092
|
+
readonly value: "#FBF0D9";
|
|
6093
|
+
readonly dark: "#2E2210";
|
|
5592
6094
|
}, {
|
|
5593
6095
|
readonly name: "scrim";
|
|
5594
6096
|
readonly tier: "semantic";
|
|
@@ -6425,6 +6927,90 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6425
6927
|
readonly type: "color";
|
|
6426
6928
|
readonly group: "components";
|
|
6427
6929
|
readonly value: "var(--iox-line)";
|
|
6930
|
+
}, {
|
|
6931
|
+
readonly name: "badge-radius";
|
|
6932
|
+
readonly tier: "component";
|
|
6933
|
+
readonly type: "radius";
|
|
6934
|
+
readonly group: "components";
|
|
6935
|
+
readonly value: "var(--iox-radius-pill)";
|
|
6936
|
+
}, {
|
|
6937
|
+
readonly name: "badge-pad";
|
|
6938
|
+
readonly tier: "component";
|
|
6939
|
+
readonly type: "spacing";
|
|
6940
|
+
readonly group: "components";
|
|
6941
|
+
readonly value: "3px 10px";
|
|
6942
|
+
}, {
|
|
6943
|
+
readonly name: "badge-size";
|
|
6944
|
+
readonly tier: "component";
|
|
6945
|
+
readonly type: "size";
|
|
6946
|
+
readonly group: "components";
|
|
6947
|
+
readonly value: "var(--iox-size-label)";
|
|
6948
|
+
}, {
|
|
6949
|
+
readonly name: "badge-neutral-bg";
|
|
6950
|
+
readonly tier: "component";
|
|
6951
|
+
readonly type: "color";
|
|
6952
|
+
readonly group: "components";
|
|
6953
|
+
readonly value: "var(--iox-surface-2)";
|
|
6954
|
+
}, {
|
|
6955
|
+
readonly name: "badge-neutral-ink";
|
|
6956
|
+
readonly tier: "component";
|
|
6957
|
+
readonly type: "color";
|
|
6958
|
+
readonly group: "components";
|
|
6959
|
+
readonly value: "var(--iox-text)";
|
|
6960
|
+
}, {
|
|
6961
|
+
readonly name: "badge-success-bg";
|
|
6962
|
+
readonly tier: "component";
|
|
6963
|
+
readonly type: "color";
|
|
6964
|
+
readonly group: "components";
|
|
6965
|
+
readonly value: "var(--iox-success-bg)";
|
|
6966
|
+
}, {
|
|
6967
|
+
readonly name: "badge-success-ink";
|
|
6968
|
+
readonly tier: "component";
|
|
6969
|
+
readonly type: "color";
|
|
6970
|
+
readonly group: "components";
|
|
6971
|
+
readonly value: "var(--iox-success)";
|
|
6972
|
+
}, {
|
|
6973
|
+
readonly name: "badge-warning-bg";
|
|
6974
|
+
readonly tier: "component";
|
|
6975
|
+
readonly type: "color";
|
|
6976
|
+
readonly group: "components";
|
|
6977
|
+
readonly value: "var(--iox-warning-bg)";
|
|
6978
|
+
}, {
|
|
6979
|
+
readonly name: "badge-warning-ink";
|
|
6980
|
+
readonly tier: "component";
|
|
6981
|
+
readonly type: "color";
|
|
6982
|
+
readonly group: "components";
|
|
6983
|
+
readonly value: "var(--iox-warning)";
|
|
6984
|
+
}, {
|
|
6985
|
+
readonly name: "badge-accent-bg";
|
|
6986
|
+
readonly tier: "component";
|
|
6987
|
+
readonly type: "color";
|
|
6988
|
+
readonly group: "components";
|
|
6989
|
+
readonly value: "var(--iox-accent)";
|
|
6990
|
+
}, {
|
|
6991
|
+
readonly name: "badge-accent-ink";
|
|
6992
|
+
readonly tier: "component";
|
|
6993
|
+
readonly type: "color";
|
|
6994
|
+
readonly group: "components";
|
|
6995
|
+
readonly value: "var(--iox-accent-ink)";
|
|
6996
|
+
}, {
|
|
6997
|
+
readonly name: "chip-border";
|
|
6998
|
+
readonly tier: "component";
|
|
6999
|
+
readonly type: "color";
|
|
7000
|
+
readonly group: "components";
|
|
7001
|
+
readonly value: "var(--iox-line-strong)";
|
|
7002
|
+
}, {
|
|
7003
|
+
readonly name: "media-scrim";
|
|
7004
|
+
readonly tier: "component";
|
|
7005
|
+
readonly type: "color";
|
|
7006
|
+
readonly group: "components";
|
|
7007
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
7008
|
+
}, {
|
|
7009
|
+
readonly name: "media-scrim-ink";
|
|
7010
|
+
readonly tier: "component";
|
|
7011
|
+
readonly type: "color";
|
|
7012
|
+
readonly group: "components";
|
|
7013
|
+
readonly value: "#FFFFFF";
|
|
6428
7014
|
}];
|
|
6429
7015
|
}, {
|
|
6430
7016
|
readonly id: "bloom";
|
|
@@ -6515,6 +7101,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6515
7101
|
readonly "success-bg": "#DDF3E3";
|
|
6516
7102
|
readonly danger: "#B3261E";
|
|
6517
7103
|
readonly "danger-bg": "#F9DEDC";
|
|
7104
|
+
readonly warning: "#7A4A00";
|
|
7105
|
+
readonly "warning-bg": "#FBF0D9";
|
|
6518
7106
|
readonly scrim: "rgba(29, 27, 32, 0.4)";
|
|
6519
7107
|
};
|
|
6520
7108
|
readonly dark: {
|
|
@@ -6540,6 +7128,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6540
7128
|
readonly "success-bg": "#123620";
|
|
6541
7129
|
readonly danger: "#F2B8B5";
|
|
6542
7130
|
readonly "danger-bg": "#601410";
|
|
7131
|
+
readonly warning: "#F2C46D";
|
|
7132
|
+
readonly "warning-bg": "#2E2210";
|
|
6543
7133
|
readonly scrim: "rgba(0, 0, 0, 0.55)";
|
|
6544
7134
|
};
|
|
6545
7135
|
};
|
|
@@ -6739,6 +7329,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6739
7329
|
readonly group: "colour";
|
|
6740
7330
|
readonly value: "#F9DEDC";
|
|
6741
7331
|
readonly dark: "#601410";
|
|
7332
|
+
}, {
|
|
7333
|
+
readonly name: "warning";
|
|
7334
|
+
readonly tier: "semantic";
|
|
7335
|
+
readonly type: "color";
|
|
7336
|
+
readonly group: "colour";
|
|
7337
|
+
readonly value: "#7A4A00";
|
|
7338
|
+
readonly dark: "#F2C46D";
|
|
7339
|
+
}, {
|
|
7340
|
+
readonly name: "warning-bg";
|
|
7341
|
+
readonly tier: "semantic";
|
|
7342
|
+
readonly type: "color";
|
|
7343
|
+
readonly group: "colour";
|
|
7344
|
+
readonly value: "#FBF0D9";
|
|
7345
|
+
readonly dark: "#2E2210";
|
|
6742
7346
|
}, {
|
|
6743
7347
|
readonly name: "scrim";
|
|
6744
7348
|
readonly tier: "semantic";
|
|
@@ -7559,6 +8163,90 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7559
8163
|
readonly type: "color";
|
|
7560
8164
|
readonly group: "components";
|
|
7561
8165
|
readonly value: "var(--iox-line)";
|
|
8166
|
+
}, {
|
|
8167
|
+
readonly name: "badge-radius";
|
|
8168
|
+
readonly tier: "component";
|
|
8169
|
+
readonly type: "radius";
|
|
8170
|
+
readonly group: "components";
|
|
8171
|
+
readonly value: "var(--iox-radius-pill)";
|
|
8172
|
+
}, {
|
|
8173
|
+
readonly name: "badge-pad";
|
|
8174
|
+
readonly tier: "component";
|
|
8175
|
+
readonly type: "spacing";
|
|
8176
|
+
readonly group: "components";
|
|
8177
|
+
readonly value: "3px 10px";
|
|
8178
|
+
}, {
|
|
8179
|
+
readonly name: "badge-size";
|
|
8180
|
+
readonly tier: "component";
|
|
8181
|
+
readonly type: "size";
|
|
8182
|
+
readonly group: "components";
|
|
8183
|
+
readonly value: "var(--iox-size-label)";
|
|
8184
|
+
}, {
|
|
8185
|
+
readonly name: "badge-neutral-bg";
|
|
8186
|
+
readonly tier: "component";
|
|
8187
|
+
readonly type: "color";
|
|
8188
|
+
readonly group: "components";
|
|
8189
|
+
readonly value: "var(--iox-surface-2)";
|
|
8190
|
+
}, {
|
|
8191
|
+
readonly name: "badge-neutral-ink";
|
|
8192
|
+
readonly tier: "component";
|
|
8193
|
+
readonly type: "color";
|
|
8194
|
+
readonly group: "components";
|
|
8195
|
+
readonly value: "var(--iox-text)";
|
|
8196
|
+
}, {
|
|
8197
|
+
readonly name: "badge-success-bg";
|
|
8198
|
+
readonly tier: "component";
|
|
8199
|
+
readonly type: "color";
|
|
8200
|
+
readonly group: "components";
|
|
8201
|
+
readonly value: "var(--iox-success-bg)";
|
|
8202
|
+
}, {
|
|
8203
|
+
readonly name: "badge-success-ink";
|
|
8204
|
+
readonly tier: "component";
|
|
8205
|
+
readonly type: "color";
|
|
8206
|
+
readonly group: "components";
|
|
8207
|
+
readonly value: "var(--iox-success)";
|
|
8208
|
+
}, {
|
|
8209
|
+
readonly name: "badge-warning-bg";
|
|
8210
|
+
readonly tier: "component";
|
|
8211
|
+
readonly type: "color";
|
|
8212
|
+
readonly group: "components";
|
|
8213
|
+
readonly value: "var(--iox-warning-bg)";
|
|
8214
|
+
}, {
|
|
8215
|
+
readonly name: "badge-warning-ink";
|
|
8216
|
+
readonly tier: "component";
|
|
8217
|
+
readonly type: "color";
|
|
8218
|
+
readonly group: "components";
|
|
8219
|
+
readonly value: "var(--iox-warning)";
|
|
8220
|
+
}, {
|
|
8221
|
+
readonly name: "badge-accent-bg";
|
|
8222
|
+
readonly tier: "component";
|
|
8223
|
+
readonly type: "color";
|
|
8224
|
+
readonly group: "components";
|
|
8225
|
+
readonly value: "var(--iox-accent)";
|
|
8226
|
+
}, {
|
|
8227
|
+
readonly name: "badge-accent-ink";
|
|
8228
|
+
readonly tier: "component";
|
|
8229
|
+
readonly type: "color";
|
|
8230
|
+
readonly group: "components";
|
|
8231
|
+
readonly value: "var(--iox-accent-ink)";
|
|
8232
|
+
}, {
|
|
8233
|
+
readonly name: "chip-border";
|
|
8234
|
+
readonly tier: "component";
|
|
8235
|
+
readonly type: "color";
|
|
8236
|
+
readonly group: "components";
|
|
8237
|
+
readonly value: "var(--iox-line-strong)";
|
|
8238
|
+
}, {
|
|
8239
|
+
readonly name: "media-scrim";
|
|
8240
|
+
readonly tier: "component";
|
|
8241
|
+
readonly type: "color";
|
|
8242
|
+
readonly group: "components";
|
|
8243
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
8244
|
+
}, {
|
|
8245
|
+
readonly name: "media-scrim-ink";
|
|
8246
|
+
readonly tier: "component";
|
|
8247
|
+
readonly type: "color";
|
|
8248
|
+
readonly group: "components";
|
|
8249
|
+
readonly value: "#FFFFFF";
|
|
7562
8250
|
}];
|
|
7563
8251
|
}, {
|
|
7564
8252
|
readonly id: "pop";
|
|
@@ -7649,6 +8337,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7649
8337
|
readonly "success-bg": "#C9F2D9";
|
|
7650
8338
|
readonly danger: "#B3261E";
|
|
7651
8339
|
readonly "danger-bg": "#FFD9D2";
|
|
8340
|
+
readonly warning: "#7A4A00";
|
|
8341
|
+
readonly "warning-bg": "#FBF0D9";
|
|
7652
8342
|
readonly scrim: "rgba(10, 10, 10, 0.5)";
|
|
7653
8343
|
};
|
|
7654
8344
|
readonly dark: {
|
|
@@ -7673,6 +8363,8 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7673
8363
|
readonly "success-bg": "#0F2A1A";
|
|
7674
8364
|
readonly danger: "#FF8A80";
|
|
7675
8365
|
readonly "danger-bg": "#3A1715";
|
|
8366
|
+
readonly warning: "#F2C46D";
|
|
8367
|
+
readonly "warning-bg": "#2E2210";
|
|
7676
8368
|
readonly scrim: "rgba(0, 0, 0, 0.6)";
|
|
7677
8369
|
};
|
|
7678
8370
|
};
|
|
@@ -7869,6 +8561,20 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7869
8561
|
readonly group: "colour";
|
|
7870
8562
|
readonly value: "#FFD9D2";
|
|
7871
8563
|
readonly dark: "#3A1715";
|
|
8564
|
+
}, {
|
|
8565
|
+
readonly name: "warning";
|
|
8566
|
+
readonly tier: "semantic";
|
|
8567
|
+
readonly type: "color";
|
|
8568
|
+
readonly group: "colour";
|
|
8569
|
+
readonly value: "#7A4A00";
|
|
8570
|
+
readonly dark: "#F2C46D";
|
|
8571
|
+
}, {
|
|
8572
|
+
readonly name: "warning-bg";
|
|
8573
|
+
readonly tier: "semantic";
|
|
8574
|
+
readonly type: "color";
|
|
8575
|
+
readonly group: "colour";
|
|
8576
|
+
readonly value: "#FBF0D9";
|
|
8577
|
+
readonly dark: "#2E2210";
|
|
7872
8578
|
}, {
|
|
7873
8579
|
readonly name: "scrim";
|
|
7874
8580
|
readonly tier: "semantic";
|
|
@@ -8702,6 +9408,90 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
8702
9408
|
readonly type: "color";
|
|
8703
9409
|
readonly group: "components";
|
|
8704
9410
|
readonly value: "var(--iox-line)";
|
|
9411
|
+
}, {
|
|
9412
|
+
readonly name: "badge-radius";
|
|
9413
|
+
readonly tier: "component";
|
|
9414
|
+
readonly type: "radius";
|
|
9415
|
+
readonly group: "components";
|
|
9416
|
+
readonly value: "var(--iox-radius-pill)";
|
|
9417
|
+
}, {
|
|
9418
|
+
readonly name: "badge-pad";
|
|
9419
|
+
readonly tier: "component";
|
|
9420
|
+
readonly type: "spacing";
|
|
9421
|
+
readonly group: "components";
|
|
9422
|
+
readonly value: "3px 10px";
|
|
9423
|
+
}, {
|
|
9424
|
+
readonly name: "badge-size";
|
|
9425
|
+
readonly tier: "component";
|
|
9426
|
+
readonly type: "size";
|
|
9427
|
+
readonly group: "components";
|
|
9428
|
+
readonly value: "var(--iox-size-label)";
|
|
9429
|
+
}, {
|
|
9430
|
+
readonly name: "badge-neutral-bg";
|
|
9431
|
+
readonly tier: "component";
|
|
9432
|
+
readonly type: "color";
|
|
9433
|
+
readonly group: "components";
|
|
9434
|
+
readonly value: "var(--iox-surface-2)";
|
|
9435
|
+
}, {
|
|
9436
|
+
readonly name: "badge-neutral-ink";
|
|
9437
|
+
readonly tier: "component";
|
|
9438
|
+
readonly type: "color";
|
|
9439
|
+
readonly group: "components";
|
|
9440
|
+
readonly value: "var(--iox-text)";
|
|
9441
|
+
}, {
|
|
9442
|
+
readonly name: "badge-success-bg";
|
|
9443
|
+
readonly tier: "component";
|
|
9444
|
+
readonly type: "color";
|
|
9445
|
+
readonly group: "components";
|
|
9446
|
+
readonly value: "var(--iox-success-bg)";
|
|
9447
|
+
}, {
|
|
9448
|
+
readonly name: "badge-success-ink";
|
|
9449
|
+
readonly tier: "component";
|
|
9450
|
+
readonly type: "color";
|
|
9451
|
+
readonly group: "components";
|
|
9452
|
+
readonly value: "var(--iox-success)";
|
|
9453
|
+
}, {
|
|
9454
|
+
readonly name: "badge-warning-bg";
|
|
9455
|
+
readonly tier: "component";
|
|
9456
|
+
readonly type: "color";
|
|
9457
|
+
readonly group: "components";
|
|
9458
|
+
readonly value: "var(--iox-warning-bg)";
|
|
9459
|
+
}, {
|
|
9460
|
+
readonly name: "badge-warning-ink";
|
|
9461
|
+
readonly tier: "component";
|
|
9462
|
+
readonly type: "color";
|
|
9463
|
+
readonly group: "components";
|
|
9464
|
+
readonly value: "var(--iox-warning)";
|
|
9465
|
+
}, {
|
|
9466
|
+
readonly name: "badge-accent-bg";
|
|
9467
|
+
readonly tier: "component";
|
|
9468
|
+
readonly type: "color";
|
|
9469
|
+
readonly group: "components";
|
|
9470
|
+
readonly value: "var(--iox-accent)";
|
|
9471
|
+
}, {
|
|
9472
|
+
readonly name: "badge-accent-ink";
|
|
9473
|
+
readonly tier: "component";
|
|
9474
|
+
readonly type: "color";
|
|
9475
|
+
readonly group: "components";
|
|
9476
|
+
readonly value: "var(--iox-accent-ink)";
|
|
9477
|
+
}, {
|
|
9478
|
+
readonly name: "chip-border";
|
|
9479
|
+
readonly tier: "component";
|
|
9480
|
+
readonly type: "color";
|
|
9481
|
+
readonly group: "components";
|
|
9482
|
+
readonly value: "var(--iox-line-strong)";
|
|
9483
|
+
}, {
|
|
9484
|
+
readonly name: "media-scrim";
|
|
9485
|
+
readonly tier: "component";
|
|
9486
|
+
readonly type: "color";
|
|
9487
|
+
readonly group: "components";
|
|
9488
|
+
readonly value: "rgba(0, 0, 0, 0.62)";
|
|
9489
|
+
}, {
|
|
9490
|
+
readonly name: "media-scrim-ink";
|
|
9491
|
+
readonly tier: "component";
|
|
9492
|
+
readonly type: "color";
|
|
9493
|
+
readonly group: "components";
|
|
9494
|
+
readonly value: "#FFFFFF";
|
|
8705
9495
|
}];
|
|
8706
9496
|
}];
|
|
8707
9497
|
declare const SPEC_CONTRAST: {
|
|
@@ -8718,6 +9508,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8718
9508
|
readonly "light:inverse-accent/inverse-bg": 8.34;
|
|
8719
9509
|
readonly "light:success/success-bg": 5.77;
|
|
8720
9510
|
readonly "light:danger/danger-bg": 5.58;
|
|
9511
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8721
9512
|
readonly "light:accent-ink/accent-hover": 7.43;
|
|
8722
9513
|
readonly "light:text-muted/surface-2": 5.79;
|
|
8723
9514
|
readonly "light:text/surface-2": 17.6;
|
|
@@ -8741,6 +9532,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8741
9532
|
readonly "dark:inverse-accent/inverse-bg": 5.14;
|
|
8742
9533
|
readonly "dark:success/success-bg": 8;
|
|
8743
9534
|
readonly "dark:danger/danger-bg": 7;
|
|
9535
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8744
9536
|
readonly "dark:accent-ink/accent-hover": 9.37;
|
|
8745
9537
|
readonly "dark:text-muted/surface-2": 6.28;
|
|
8746
9538
|
readonly "dark:text/surface-2": 14.84;
|
|
@@ -8766,6 +9558,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8766
9558
|
readonly "light:inverse-accent/inverse-bg": 7.61;
|
|
8767
9559
|
readonly "light:success/success-bg": 5.26;
|
|
8768
9560
|
readonly "light:danger/danger-bg": 5.88;
|
|
9561
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8769
9562
|
readonly "light:accent-ink/accent-hover": 8.41;
|
|
8770
9563
|
readonly "light:text-muted/surface-2": 5.33;
|
|
8771
9564
|
readonly "light:text/surface-2": 14.21;
|
|
@@ -8789,6 +9582,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8789
9582
|
readonly "dark:inverse-accent/inverse-bg": 5.15;
|
|
8790
9583
|
readonly "dark:success/success-bg": 8.41;
|
|
8791
9584
|
readonly "dark:danger/danger-bg": 7.73;
|
|
9585
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8792
9586
|
readonly "dark:accent-ink/accent-hover": 10.41;
|
|
8793
9587
|
readonly "dark:text-muted/surface-2": 6.74;
|
|
8794
9588
|
readonly "dark:text/surface-2": 14.32;
|
|
@@ -8814,6 +9608,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8814
9608
|
readonly "light:inverse-accent/inverse-bg": 8.32;
|
|
8815
9609
|
readonly "light:success/success-bg": 5.77;
|
|
8816
9610
|
readonly "light:danger/danger-bg": 5.58;
|
|
9611
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8817
9612
|
readonly "light:accent-ink/accent-hover": 7.31;
|
|
8818
9613
|
readonly "light:text-muted/surface-2": 5.5;
|
|
8819
9614
|
readonly "light:text/surface-2": 17.79;
|
|
@@ -8837,6 +9632,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8837
9632
|
readonly "dark:inverse-accent/inverse-bg": 5.46;
|
|
8838
9633
|
readonly "dark:success/success-bg": 9.37;
|
|
8839
9634
|
readonly "dark:danger/danger-bg": 6.9;
|
|
9635
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8840
9636
|
readonly "dark:accent-ink/accent-hover": 5.83;
|
|
8841
9637
|
readonly "dark:text-muted/surface-2": 5.79;
|
|
8842
9638
|
readonly "dark:text/surface-2": 16.53;
|
|
@@ -8859,6 +9655,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8859
9655
|
readonly "light:inverse-accent/inverse-bg": 6.88;
|
|
8860
9656
|
readonly "light:success/success-bg": 5.76;
|
|
8861
9657
|
readonly "light:danger/danger-bg": 5.55;
|
|
9658
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8862
9659
|
readonly "light:accent-ink/accent-hover": 6.76;
|
|
8863
9660
|
readonly "light:text-muted/surface-2": 6.51;
|
|
8864
9661
|
readonly "light:text/surface-2": 18.2;
|
|
@@ -8879,6 +9676,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8879
9676
|
readonly "dark:inverse-accent/inverse-bg": 4.79;
|
|
8880
9677
|
readonly "dark:success/success-bg": 8.02;
|
|
8881
9678
|
readonly "dark:danger/danger-bg": 7;
|
|
9679
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8882
9680
|
readonly "dark:accent-ink/accent-hover": 8.44;
|
|
8883
9681
|
readonly "dark:text-muted/surface-2": 6.54;
|
|
8884
9682
|
readonly "dark:text/surface-2": 14.41;
|
|
@@ -8901,6 +9699,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8901
9699
|
readonly "light:inverse-accent/inverse-bg": 7.74;
|
|
8902
9700
|
readonly "light:success/success-bg": 5.59;
|
|
8903
9701
|
readonly "light:danger/danger-bg": 5.14;
|
|
9702
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8904
9703
|
readonly "light:accent-ink/accent-hover": 7.86;
|
|
8905
9704
|
readonly "light:text-muted/surface-2": 8.15;
|
|
8906
9705
|
readonly "light:text/surface-2": 14.84;
|
|
@@ -8924,6 +9723,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8924
9723
|
readonly "dark:inverse-accent/inverse-bg": 4.97;
|
|
8925
9724
|
readonly "dark:success/success-bg": 8.02;
|
|
8926
9725
|
readonly "dark:danger/danger-bg": 7.66;
|
|
9726
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8927
9727
|
readonly "dark:accent-ink/accent-hover": 8.79;
|
|
8928
9728
|
readonly "dark:text-muted/surface-2": 8.43;
|
|
8929
9729
|
readonly "dark:text/surface-2": 11.1;
|
|
@@ -8949,6 +9749,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8949
9749
|
readonly "light:inverse-accent/inverse-bg": 13.71;
|
|
8950
9750
|
readonly "light:success/success-bg": 5.41;
|
|
8951
9751
|
readonly "light:danger/danger-bg": 5.01;
|
|
9752
|
+
readonly "light:warning/warning-bg": 6.61;
|
|
8952
9753
|
readonly "light:accent-ink/accent-hover": 7.72;
|
|
8953
9754
|
readonly "light:text-muted/surface-2": 7.52;
|
|
8954
9755
|
readonly "light:text/surface-2": 13.71;
|
|
@@ -8972,6 +9773,7 @@ declare const SPEC_CONTRAST: {
|
|
|
8972
9773
|
readonly "dark:inverse-accent/inverse-bg": 5.59;
|
|
8973
9774
|
readonly "dark:success/success-bg": 7.98;
|
|
8974
9775
|
readonly "dark:danger/danger-bg": 7;
|
|
9776
|
+
readonly "dark:warning/warning-bg": 9.53;
|
|
8975
9777
|
readonly "dark:accent-ink/accent-hover": 9.2;
|
|
8976
9778
|
readonly "dark:text-muted/surface-2": 7.59;
|
|
8977
9779
|
readonly "dark:text/surface-2": 13.12;
|
|
@@ -9505,9 +10307,12 @@ declare function previewElementStyleAdoption(tree: AdoptableNode[] | null | unde
|
|
|
9505
10307
|
* - the element-style MARKER `iox-es iox-es-<id>` (design-system §3b-bis) — component CSS carrying
|
|
9506
10308
|
* the system look is scoped to it, so a node saved before DS2 keeps its pre-DS2 look;
|
|
9507
10309
|
* - the section colour scheme `iox-scheme-<id>` (§3c) for a non-default `colorScheme` — the class
|
|
9508
|
-
* `compileSchemeCss` re-declares tokens on, so everything inside re-resolves
|
|
10310
|
+
* `compileSchemeCss` re-declares tokens on, so everything inside re-resolves;
|
|
10311
|
+
* - the composite ROLE `iox-role-<role>` (`card.media` → `iox-role-card-media`; composite-components
|
|
10312
|
+
* plan §3, Card v2) — what the shared CSS keys a part's structural rules on (the badge's corner, the
|
|
10313
|
+
* card's stretched link), so a role is never a renderer's private knowledge.
|
|
9509
10314
|
*
|
|
9510
|
-
* Renderers read `elementStyle` and `
|
|
10315
|
+
* Renderers read `elementStyle`, `colorScheme` and `role` for exactly this and nothing else.
|
|
9511
10316
|
*/
|
|
9512
10317
|
/** The section colour schemes — the contract's `schemes` keys. */
|
|
9513
10318
|
declare enum ColorScheme {
|
|
@@ -9527,9 +10332,12 @@ declare const COLOR_SCHEMES: ReadonlyArray<{
|
|
|
9527
10332
|
}>;
|
|
9528
10333
|
/** `iox-scheme-<id>` for a known NON-default scheme, else null — an unknown id never reaches a class attribute. */
|
|
9529
10334
|
declare function colorSchemeClass(id: unknown): string | null;
|
|
10335
|
+
/** `iox-role-<role>` for a well-formed composite role, else null. */
|
|
10336
|
+
declare function roleClass(role: unknown): string | null;
|
|
9530
10337
|
/** The node shapes this module reads: a serialized node (`props`) or a builder node (`traits[]`). */
|
|
9531
10338
|
interface DesignClassSource {
|
|
9532
10339
|
elementStyle?: string | null;
|
|
10340
|
+
role?: string | null;
|
|
9533
10341
|
props?: Readonly<Record<string, unknown>> | null;
|
|
9534
10342
|
traits?: ReadonlyArray<{
|
|
9535
10343
|
name?: string;
|
|
@@ -9597,6 +10405,8 @@ declare function emptyImageSrc(node: {
|
|
|
9597
10405
|
* (generation-core) writes it, the builder canvas and both engine render paths read it.
|
|
9598
10406
|
*/
|
|
9599
10407
|
declare enum LinkType {
|
|
10408
|
+
/** Links nowhere — a Heading's default; "Link the whole card" (Card v2) turns its title's link on. */
|
|
10409
|
+
None = "none",
|
|
9600
10410
|
External = "external",
|
|
9601
10411
|
Page = "page"
|
|
9602
10412
|
}
|
|
@@ -9613,6 +10423,23 @@ interface ButtonBlockLinkProps {
|
|
|
9613
10423
|
* as its Link does.
|
|
9614
10424
|
*/
|
|
9615
10425
|
declare function buttonBlockHref(props: ButtonBlockLinkProps, pageHref?: (route: string) => string): string | null;
|
|
10426
|
+
interface NodeLinkProps {
|
|
10427
|
+
linkType?: unknown;
|
|
10428
|
+
url?: unknown;
|
|
10429
|
+
pageRoute?: unknown;
|
|
10430
|
+
}
|
|
10431
|
+
/** The class of the `<a>` a linked Heading renders — the Card v2 stretched link keys on it (iox-design.css:
|
|
10432
|
+
* the card is the click target, its buttons sit above, the focus ring is drawn on the card). */
|
|
10433
|
+
declare const CARD_LINK_CLASS = "iox-card-link";
|
|
10434
|
+
/** On the editing canvas the anchor carries this, so the stretched `::after` is off and every part of the
|
|
10435
|
+
* card stays clickable (board 8). */
|
|
10436
|
+
declare const CANVAS_LINK_ATTRIBUTE = "data-iox-canvas";
|
|
10437
|
+
/**
|
|
10438
|
+
* The href a linked Heading renders (Card v2: the card's title IS its link), or `null` when it links
|
|
10439
|
+
* nowhere — `none`, or a link with no target yet (the title then renders as plain words). A page link goes
|
|
10440
|
+
* through `pageHref` exactly as a ButtonBlock's does.
|
|
10441
|
+
*/
|
|
10442
|
+
declare function headingHref(props: NodeLinkProps, pageHref?: (route: string) => string): string | null;
|
|
9616
10443
|
|
|
9617
10444
|
/**
|
|
9618
10445
|
* BRAND DERIVATION (flavors plan §6, F2): one colour in, an asserted accessible ramp out.
|
|
@@ -9808,7 +10635,9 @@ declare function preTintAccentGrounds(palette: FlavorPalette): {
|
|
|
9808
10635
|
* a gradient ground (Glass's mesh, Midnight's glow) checked at its worst stop;
|
|
9809
10636
|
* - base and hover; a button's icon read through the contract's `inkScopes` (it takes the button's ink),
|
|
9810
10637
|
* its focus ring; the form parts the field baseline paints (`contrastAudit.formParts`); the form's
|
|
9811
|
-
* Success / Error notices, in every scheme and container
|
|
10638
|
+
* Success / Error notices, in every scheme and container;
|
|
10639
|
+
* - a Badge's or Chip's icon through the same `inkScopes`, and text over an image (Card v2's "Image behind
|
|
10640
|
+
* text"): the block's ink over its scrim composited on the WORST-CASE image (`contrastAudit.scrims`).
|
|
9812
10641
|
*
|
|
9813
10642
|
* WCAG 2: 4.5:1 for text, 3:1 for glyphs, UI boundaries and focus indicators (1.4.11), judged on 8-bit
|
|
9814
10643
|
* colours. The same audit gates the contract (`colour.mjs auditContrast`, every flavor × tint × a seed
|
|
@@ -10372,5 +11201,5 @@ interface FontFamilyRemoval {
|
|
|
10372
11201
|
*/
|
|
10373
11202
|
declare function planFontFamilyRemoval(existing: ReadonlyArray<StoredDesignTokenRow>, previous: StoredDesign, family: string): FontFamilyRemoval;
|
|
10374
11203
|
|
|
10375
|
-
export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, LinkType, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_TINT_DEFAULT, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, sameDesignChoices, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
|
|
10376
|
-
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, ApplyElementStyleResult, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, KeptEdit, LinearSpring, MissingFontRole, MotionId, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, ResolvedMode, Rgb, Rgba, SchemeId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StoredDesign, StoredDesignTokenRow, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, TintId, TintLevel, TokenCssBlocks, TokenCssOptions };
|
|
11204
|
+
export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, LinkType, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_TINT_DEFAULT, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
|
|
11205
|
+
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, ApplyElementStyleResult, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, KeptEdit, LinearSpring, MissingFontRole, MotionId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, ResolvedMode, Rgb, Rgba, SchemeId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StoredDesign, StoredDesignTokenRow, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, TintId, TintLevel, TokenCssBlocks, TokenCssOptions };
|