@vectoriox/iox-ui 5.133.0 → 5.135.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/commerce-core/index.d.ts +12 -1
- package/composite-core/index.d.ts +27 -22
- package/design-core/index.d.ts +436 -35
- package/domain-core/index.d.ts +353 -0
- package/domain-core/package.json +3 -0
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +2 -0
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +6 -48
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +21 -0
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +68 -57
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +895 -416
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-domain-core.mjs +422 -0
- package/fesm2022/vectoriox-iox-ui-domain-core.mjs.map +1 -0
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +14039 -12067
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +9 -3
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-mail-core.mjs +210 -2
- package/fesm2022/vectoriox-iox-ui-mail-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +290 -16
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1511 -432
- package/harness-core/index.d.ts +6 -1
- package/index.d.ts +139 -10
- package/mail-core/index.d.ts +190 -2
- package/package.json +5 -1
- package/src/actions-core/element-actions.ts +2 -0
- package/src/assist-core/page-sections.ts +7 -37
- package/src/commerce-core/shop-display.ts +21 -0
- package/src/composite-core/shop.ts +71 -57
- package/src/design-core/design-settings.ts +16 -0
- package/src/design-core/design-token.model.ts +7 -1
- package/src/design-core/flavor-spec.generated.ts +374 -35
- package/src/design-core/flavor-tokens.ts +12 -1
- package/src/design-core/header-behaviour.ts +32 -0
- package/src/design-core/motion-language.ts +115 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/design-core/style-presets.ts +3 -0
- package/src/domain-core/domain-vocabulary.ts +125 -0
- package/src/domain-core/domain-wire.ts +95 -0
- package/src/domain-core/org-path-redirect.ts +105 -0
- package/src/domain-core/public-api.ts +12 -0
- package/src/domain-core/web-domain.ts +251 -0
- package/src/generation-core/carry-fill.ts +36 -0
- package/src/generation-core/carry.ts +398 -0
- package/src/generation-core/check-carry.ts +216 -0
- package/src/generation-core/check-layout.ts +71 -5
- package/src/generation-core/compose-layout.ts +187 -28
- package/src/generation-core/compose-site.ts +154 -31
- package/src/generation-core/entrances.ts +66 -10
- package/src/generation-core/header-edit.ts +299 -0
- package/src/generation-core/header-mix.ts +64 -5
- package/src/generation-core/layout-fingerprint.ts +5 -1
- package/src/generation-core/layout-language.ts +20 -1
- package/src/generation-core/layout-space.ts +4 -4
- package/src/generation-core/layout-wire.ts +36 -1
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/public-api.ts +7 -0
- package/src/generation-core/redesign-additions.ts +273 -0
- package/src/generation-core/redesign-run.ts +364 -0
- package/src/generation-core/refit-page.ts +151 -0
- package/src/generation-core/section-stamp.ts +4 -4
- package/src/generation-core/shop-plan.ts +15 -0
- package/src/generation-core/site-build-run.ts +67 -3
- package/src/generation-core/site-spec.generated.ts +194 -94
- package/src/generation-core/site-tree.ts +19 -5
- package/src/generation-core/validate-site-plan.ts +37 -3
- package/src/harness-core/motion.ts +13 -3
- package/src/harness-core/starting-design.ts +1 -1
- package/src/mail-core/mail-domain.ts +305 -0
- package/src/mail-core/mail-wire.ts +8 -0
- package/src/mail-core/public-api.ts +3 -1
- package/styles/iox-design.css +30 -1
package/design-core/index.d.ts
CHANGED
|
@@ -408,6 +408,11 @@ declare const SPEC_TIERS: {
|
|
|
408
408
|
readonly type: "easing";
|
|
409
409
|
readonly group: "motion";
|
|
410
410
|
readonly desc: "";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "ease-pop";
|
|
413
|
+
readonly type: "easing";
|
|
414
|
+
readonly group: "motion";
|
|
415
|
+
readonly desc: "Settles just past its place (Lively, Expressive)";
|
|
411
416
|
}, {
|
|
412
417
|
readonly name: "ease-spring";
|
|
413
418
|
readonly type: "easing";
|
|
@@ -1394,6 +1399,7 @@ declare const SPEC_AXES: {
|
|
|
1394
1399
|
readonly "dur-slow": "0ms";
|
|
1395
1400
|
readonly "ease-standard": "linear";
|
|
1396
1401
|
readonly "ease-spring": "linear";
|
|
1402
|
+
readonly "ease-pop": "linear";
|
|
1397
1403
|
readonly "dur-spring": "0ms";
|
|
1398
1404
|
readonly "hover-lift": "0px";
|
|
1399
1405
|
readonly "press-scale": "1";
|
|
@@ -1416,8 +1422,8 @@ declare const SPEC_AXES: {
|
|
|
1416
1422
|
readonly "dur-base": "140ms";
|
|
1417
1423
|
readonly "dur-slow": "240ms";
|
|
1418
1424
|
readonly "ease-standard": "cubic-bezier(0.2, 0, 0, 1)";
|
|
1419
|
-
readonly "ease-spring": "
|
|
1420
|
-
readonly "dur-spring": "
|
|
1425
|
+
readonly "ease-spring": "linear(0, 0.0179, 0.0648, 0.1315, 0.2107, 0.2964, 0.384, 0.4701, 0.552, 0.6281, 0.6972, 0.7588, 0.8128, 0.8592, 0.8985, 0.9311, 0.9576, 0.9787, 0.9951, 1.0074, 1.0163, 1.0224, 1.0261, 1.0279, 1.0284, 1.0277, 1.0263, 1.0243, 1.022, 1.0196, 1.0171, 1.0147, 1.0124, 1.0102, 1.0083, 1.0066, 1.0051, 1.0038, 1.0027, 1.0018, 1)";
|
|
1426
|
+
readonly "dur-spring": "240ms";
|
|
1421
1427
|
readonly "hover-lift": "-2px";
|
|
1422
1428
|
readonly "press-scale": "0.97";
|
|
1423
1429
|
readonly "dur-hover": "80ms";
|
|
@@ -1432,6 +1438,7 @@ declare const SPEC_AXES: {
|
|
|
1432
1438
|
readonly "sheet-dur-out": "240ms";
|
|
1433
1439
|
readonly "toast-dur-in": "320ms";
|
|
1434
1440
|
readonly "toast-dur-out": "180ms";
|
|
1441
|
+
readonly "ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1435
1442
|
};
|
|
1436
1443
|
readonly standard: {
|
|
1437
1444
|
readonly label: "Standard";
|
|
@@ -1439,8 +1446,8 @@ declare const SPEC_AXES: {
|
|
|
1439
1446
|
readonly "dur-base": "200ms";
|
|
1440
1447
|
readonly "dur-slow": "320ms";
|
|
1441
1448
|
readonly "ease-standard": "cubic-bezier(0.2, 0, 0, 1)";
|
|
1442
|
-
readonly "ease-spring": "
|
|
1443
|
-
readonly "dur-spring": "
|
|
1449
|
+
readonly "ease-spring": "linear(0, 0.018, 0.0649, 0.1318, 0.2111, 0.2969, 0.3846, 0.4707, 0.5527, 0.6288, 0.6979, 0.7595, 0.8135, 0.8598, 0.899, 0.9315, 0.958, 0.979, 0.9954, 1.0076, 1.0165, 1.0225, 1.0261, 1.028, 1.0284, 1.0277, 1.0262, 1.0243, 1.022, 1.0195, 1.017, 1.0146, 1.0123, 1.0102, 1.0082, 1.0065, 1.005, 1.0038, 1.0027, 1.0018, 1)";
|
|
1450
|
+
readonly "dur-spring": "320ms";
|
|
1444
1451
|
readonly "hover-lift": "-2px";
|
|
1445
1452
|
readonly "press-scale": "0.98";
|
|
1446
1453
|
readonly "dur-hover": "120ms";
|
|
@@ -1455,6 +1462,7 @@ declare const SPEC_AXES: {
|
|
|
1455
1462
|
readonly "sheet-dur-out": "280ms";
|
|
1456
1463
|
readonly "toast-dur-in": "400ms";
|
|
1457
1464
|
readonly "toast-dur-out": "220ms";
|
|
1465
|
+
readonly "ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1458
1466
|
};
|
|
1459
1467
|
readonly calm: {
|
|
1460
1468
|
readonly label: "Calm";
|
|
@@ -1462,8 +1470,8 @@ declare const SPEC_AXES: {
|
|
|
1462
1470
|
readonly "dur-base": "400ms";
|
|
1463
1471
|
readonly "dur-slow": "800ms";
|
|
1464
1472
|
readonly "ease-standard": "cubic-bezier(0.33, 0, 0.1, 1)";
|
|
1465
|
-
readonly "ease-spring": "
|
|
1466
|
-
readonly "dur-spring": "
|
|
1473
|
+
readonly "ease-spring": "linear(0, 0.018, 0.0652, 0.1322, 0.2117, 0.2977, 0.3856, 0.4718, 0.5539, 0.63, 0.6992, 0.7607, 0.8146, 0.8609, 0.9, 0.9324, 0.9587, 0.9796, 0.9959, 1.008, 1.0168, 1.0227, 1.0262, 1.028, 1.0283, 1.0276, 1.0261, 1.0241, 1.0218, 1.0194, 1.0169, 1.0145, 1.0122, 1.01, 1.0081, 1.0064, 1.005, 1.0037, 1.0026, 1.0017, 1)";
|
|
1474
|
+
readonly "dur-spring": "800ms";
|
|
1467
1475
|
readonly "hover-lift": "0px";
|
|
1468
1476
|
readonly "press-scale": "0.98";
|
|
1469
1477
|
readonly "dur-hover": "150ms";
|
|
@@ -1478,6 +1486,7 @@ declare const SPEC_AXES: {
|
|
|
1478
1486
|
readonly "sheet-dur-out": "340ms";
|
|
1479
1487
|
readonly "toast-dur-in": "480ms";
|
|
1480
1488
|
readonly "toast-dur-out": "280ms";
|
|
1489
|
+
readonly "ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1481
1490
|
};
|
|
1482
1491
|
readonly lively: {
|
|
1483
1492
|
readonly label: "Lively";
|
|
@@ -1501,11 +1510,12 @@ declare const SPEC_AXES: {
|
|
|
1501
1510
|
readonly "sheet-dur-out": "280ms";
|
|
1502
1511
|
readonly "toast-dur-in": "400ms";
|
|
1503
1512
|
readonly "toast-dur-out": "220ms";
|
|
1513
|
+
readonly "ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1504
1514
|
};
|
|
1505
1515
|
};
|
|
1506
1516
|
readonly motionCommon: {
|
|
1507
1517
|
readonly "ease-enter": "cubic-bezier(0.05, 0.7, 0.1, 1)";
|
|
1508
|
-
readonly "ease-exit": "cubic-bezier(0.
|
|
1518
|
+
readonly "ease-exit": "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
1509
1519
|
readonly "ease-hover": "ease";
|
|
1510
1520
|
};
|
|
1511
1521
|
readonly modes: readonly ["light", "dark", "auto"];
|
|
@@ -1735,6 +1745,53 @@ declare const SPEC_AXES: {
|
|
|
1735
1745
|
readonly feel: "cinematic";
|
|
1736
1746
|
readonly phone: "fade";
|
|
1737
1747
|
};
|
|
1748
|
+
readonly flood: {
|
|
1749
|
+
readonly label: "Flood";
|
|
1750
|
+
readonly he: "הצפה";
|
|
1751
|
+
readonly hint: "A panel in your accent colour covers the page, then uncovers the next. On phones: Fade.";
|
|
1752
|
+
readonly transition: "cover-flood";
|
|
1753
|
+
readonly feel: "snappy";
|
|
1754
|
+
readonly phone: "fade";
|
|
1755
|
+
};
|
|
1756
|
+
readonly wipe: {
|
|
1757
|
+
readonly label: "Wipe";
|
|
1758
|
+
readonly he: "מגב";
|
|
1759
|
+
readonly hint: "A panel in the site's dark ground wipes up over the page, then off the next. On phones: Fade.";
|
|
1760
|
+
readonly transition: "cover-wipe";
|
|
1761
|
+
readonly feel: "snappy";
|
|
1762
|
+
readonly phone: "fade";
|
|
1763
|
+
};
|
|
1764
|
+
readonly circle: {
|
|
1765
|
+
readonly label: "Circle";
|
|
1766
|
+
readonly he: "עיגול";
|
|
1767
|
+
readonly hint: "The next page opens as a circle from where the visitor clicked. On phones: Fade.";
|
|
1768
|
+
readonly transition: "cover-circle";
|
|
1769
|
+
readonly feel: "snappy";
|
|
1770
|
+
readonly phone: "fade";
|
|
1771
|
+
};
|
|
1772
|
+
readonly veil: {
|
|
1773
|
+
readonly label: "Veil";
|
|
1774
|
+
readonly he: "מסך";
|
|
1775
|
+
readonly hint: "The next page's opening picture covers the screen, then gives way to the page (a page without one fades). On phones: Fade.";
|
|
1776
|
+
readonly transition: "cover-veil";
|
|
1777
|
+
readonly feel: "snappy";
|
|
1778
|
+
readonly phone: "fade";
|
|
1779
|
+
};
|
|
1780
|
+
readonly interstitial: {
|
|
1781
|
+
readonly label: "Line";
|
|
1782
|
+
readonly he: "שורה";
|
|
1783
|
+
readonly hint: "The next page's name, alone on the ground for a moment, then the page. On phones: Fade.";
|
|
1784
|
+
readonly transition: "cover-line";
|
|
1785
|
+
readonly feel: "snappy";
|
|
1786
|
+
readonly phone: "fade";
|
|
1787
|
+
};
|
|
1788
|
+
readonly controls: {
|
|
1789
|
+
readonly label: "Controls";
|
|
1790
|
+
readonly he: "פקדים";
|
|
1791
|
+
readonly hint: "No cover: the header's links fade in again and the page cross-fades.";
|
|
1792
|
+
readonly transition: "cover-controls";
|
|
1793
|
+
readonly feel: "snappy";
|
|
1794
|
+
};
|
|
1738
1795
|
};
|
|
1739
1796
|
readonly motionChoices: {
|
|
1740
1797
|
readonly pre: {
|
|
@@ -1759,6 +1816,222 @@ declare const SPEC_SPRINGS: {
|
|
|
1759
1816
|
};
|
|
1760
1817
|
};
|
|
1761
1818
|
};
|
|
1819
|
+
declare const SPEC_MOTION_LANGUAGE: {
|
|
1820
|
+
readonly arrive: readonly ["enter", "expo-out", "quart-out", "spring", "pop"];
|
|
1821
|
+
readonly leave: readonly ["exit", "expo-out", "quart-out"];
|
|
1822
|
+
readonly move: readonly ["rise", "mask-rise", "clip", "fade", "words-lit", "blur-in"];
|
|
1823
|
+
readonly curves: {
|
|
1824
|
+
readonly enter: "cubic-bezier(0.05, 0.7, 0.1, 1)";
|
|
1825
|
+
readonly "expo-out": "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
1826
|
+
readonly "quart-out": "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
1827
|
+
readonly spring: "{{ease-spring}}";
|
|
1828
|
+
readonly pop: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1829
|
+
readonly exit: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
1830
|
+
};
|
|
1831
|
+
readonly tiers: {
|
|
1832
|
+
readonly arrive: {
|
|
1833
|
+
readonly enter: "all";
|
|
1834
|
+
readonly "expo-out": "pro";
|
|
1835
|
+
readonly "quart-out": "pro";
|
|
1836
|
+
readonly spring: "pro";
|
|
1837
|
+
readonly pop: "pro";
|
|
1838
|
+
};
|
|
1839
|
+
readonly leave: {
|
|
1840
|
+
readonly exit: "all";
|
|
1841
|
+
readonly "expo-out": "pro";
|
|
1842
|
+
readonly "quart-out": "all";
|
|
1843
|
+
};
|
|
1844
|
+
readonly move: {
|
|
1845
|
+
readonly rise: "all";
|
|
1846
|
+
readonly "mask-rise": "all";
|
|
1847
|
+
readonly clip: "all";
|
|
1848
|
+
readonly fade: "all";
|
|
1849
|
+
readonly "words-lit": "all";
|
|
1850
|
+
readonly "blur-in": "pro";
|
|
1851
|
+
};
|
|
1852
|
+
readonly cover: {
|
|
1853
|
+
readonly none: "all";
|
|
1854
|
+
readonly fade: "all";
|
|
1855
|
+
readonly slide: "all";
|
|
1856
|
+
readonly cinematic: "all";
|
|
1857
|
+
readonly flood: "pro";
|
|
1858
|
+
readonly wipe: "pro";
|
|
1859
|
+
readonly circle: "pro";
|
|
1860
|
+
readonly veil: "pro";
|
|
1861
|
+
readonly interstitial: "pro";
|
|
1862
|
+
readonly controls: "pro";
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
readonly meanings: {
|
|
1866
|
+
readonly "arrive.enter": "today's arrival curve (a quick start, a long soft landing)";
|
|
1867
|
+
readonly "arrive.expo-out": "a fast start that settles very softly";
|
|
1868
|
+
readonly "arrive.quart-out": "a quick start, a firm landing";
|
|
1869
|
+
readonly "arrive.spring": "the look's spring, settling with a little give";
|
|
1870
|
+
readonly "arrive.pop": "settles just past its place and back (Lively and Expressive looks only)";
|
|
1871
|
+
readonly "move.rise": "headings rise into place";
|
|
1872
|
+
readonly "move.mask-rise": "heading lines rise out of their own masks, one by one";
|
|
1873
|
+
readonly "move.clip": "headings and pictures open from one side";
|
|
1874
|
+
readonly "move.fade": "headings fade in, nothing travels";
|
|
1875
|
+
readonly "move.words-lit": "words light one after another";
|
|
1876
|
+
readonly "move.blur-in": "headings come from blur into focus";
|
|
1877
|
+
};
|
|
1878
|
+
readonly defaults: {
|
|
1879
|
+
readonly arrive: "enter";
|
|
1880
|
+
readonly leave: "quart-out";
|
|
1881
|
+
readonly move: "rise";
|
|
1882
|
+
};
|
|
1883
|
+
readonly presets: {
|
|
1884
|
+
readonly "clear-care": {
|
|
1885
|
+
readonly arrive: "quart-out";
|
|
1886
|
+
readonly leave: "quart-out";
|
|
1887
|
+
readonly move: "rise";
|
|
1888
|
+
};
|
|
1889
|
+
readonly "swiss-grid": {
|
|
1890
|
+
readonly arrive: "quart-out";
|
|
1891
|
+
readonly leave: "quart-out";
|
|
1892
|
+
readonly move: "clip";
|
|
1893
|
+
};
|
|
1894
|
+
readonly "trusted-advisor": {
|
|
1895
|
+
readonly arrive: "quart-out";
|
|
1896
|
+
readonly leave: "quart-out";
|
|
1897
|
+
readonly move: "rise";
|
|
1898
|
+
};
|
|
1899
|
+
readonly "fresh-practice": {
|
|
1900
|
+
readonly arrive: "expo-out";
|
|
1901
|
+
readonly leave: "quart-out";
|
|
1902
|
+
readonly move: "fade";
|
|
1903
|
+
};
|
|
1904
|
+
readonly "gallery-minimal": {
|
|
1905
|
+
readonly arrive: "expo-out";
|
|
1906
|
+
readonly leave: "quart-out";
|
|
1907
|
+
readonly move: "fade";
|
|
1908
|
+
};
|
|
1909
|
+
readonly "warm-editorial": {
|
|
1910
|
+
readonly arrive: "quart-out";
|
|
1911
|
+
readonly leave: "quart-out";
|
|
1912
|
+
readonly move: "mask-rise";
|
|
1913
|
+
};
|
|
1914
|
+
readonly "soft-spa": {
|
|
1915
|
+
readonly arrive: "expo-out";
|
|
1916
|
+
readonly leave: "quart-out";
|
|
1917
|
+
readonly move: "blur-in";
|
|
1918
|
+
};
|
|
1919
|
+
readonly "quiet-luxury": {
|
|
1920
|
+
readonly arrive: "expo-out";
|
|
1921
|
+
readonly leave: "expo-out";
|
|
1922
|
+
readonly move: "fade";
|
|
1923
|
+
};
|
|
1924
|
+
readonly "after-dark": {
|
|
1925
|
+
readonly arrive: "expo-out";
|
|
1926
|
+
readonly leave: "quart-out";
|
|
1927
|
+
readonly move: "mask-rise";
|
|
1928
|
+
};
|
|
1929
|
+
readonly "ink-studio": {
|
|
1930
|
+
readonly arrive: "quart-out";
|
|
1931
|
+
readonly leave: "quart-out";
|
|
1932
|
+
readonly move: "mask-rise";
|
|
1933
|
+
};
|
|
1934
|
+
readonly "night-gallery": {
|
|
1935
|
+
readonly arrive: "expo-out";
|
|
1936
|
+
readonly leave: "quart-out";
|
|
1937
|
+
readonly move: "blur-in";
|
|
1938
|
+
};
|
|
1939
|
+
readonly "tech-studio": {
|
|
1940
|
+
readonly arrive: "quart-out";
|
|
1941
|
+
readonly leave: "quart-out";
|
|
1942
|
+
readonly move: "words-lit";
|
|
1943
|
+
};
|
|
1944
|
+
readonly "morning-glass": {
|
|
1945
|
+
readonly arrive: "expo-out";
|
|
1946
|
+
readonly leave: "quart-out";
|
|
1947
|
+
readonly move: "blur-in";
|
|
1948
|
+
};
|
|
1949
|
+
readonly "holiday-light": {
|
|
1950
|
+
readonly arrive: "spring";
|
|
1951
|
+
readonly leave: "quart-out";
|
|
1952
|
+
readonly move: "rise";
|
|
1953
|
+
};
|
|
1954
|
+
readonly "frosted-portfolio": {
|
|
1955
|
+
readonly arrive: "expo-out";
|
|
1956
|
+
readonly leave: "quart-out";
|
|
1957
|
+
readonly move: "blur-in";
|
|
1958
|
+
};
|
|
1959
|
+
readonly "coral-studio": {
|
|
1960
|
+
readonly arrive: "pop";
|
|
1961
|
+
readonly leave: "quart-out";
|
|
1962
|
+
readonly move: "rise";
|
|
1963
|
+
};
|
|
1964
|
+
readonly "corner-cafe": {
|
|
1965
|
+
readonly arrive: "spring";
|
|
1966
|
+
readonly leave: "quart-out";
|
|
1967
|
+
readonly move: "rise";
|
|
1968
|
+
};
|
|
1969
|
+
readonly "kind-community": {
|
|
1970
|
+
readonly arrive: "quart-out";
|
|
1971
|
+
readonly leave: "quart-out";
|
|
1972
|
+
readonly move: "rise";
|
|
1973
|
+
};
|
|
1974
|
+
readonly "little-ones": {
|
|
1975
|
+
readonly arrive: "pop";
|
|
1976
|
+
readonly leave: "quart-out";
|
|
1977
|
+
readonly move: "rise";
|
|
1978
|
+
};
|
|
1979
|
+
readonly "garden-party": {
|
|
1980
|
+
readonly arrive: "spring";
|
|
1981
|
+
readonly leave: "quart-out";
|
|
1982
|
+
readonly move: "rise";
|
|
1983
|
+
};
|
|
1984
|
+
readonly "bold-maker": {
|
|
1985
|
+
readonly arrive: "pop";
|
|
1986
|
+
readonly leave: "quart-out";
|
|
1987
|
+
readonly move: "mask-rise";
|
|
1988
|
+
};
|
|
1989
|
+
readonly festival: {
|
|
1990
|
+
readonly arrive: "pop";
|
|
1991
|
+
readonly leave: "quart-out";
|
|
1992
|
+
readonly move: "rise";
|
|
1993
|
+
};
|
|
1994
|
+
readonly zine: {
|
|
1995
|
+
readonly arrive: "quart-out";
|
|
1996
|
+
readonly leave: "quart-out";
|
|
1997
|
+
readonly move: "clip";
|
|
1998
|
+
};
|
|
1999
|
+
readonly "fresh-market": {
|
|
2000
|
+
readonly arrive: "spring";
|
|
2001
|
+
readonly leave: "quart-out";
|
|
2002
|
+
readonly move: "rise";
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
readonly leaveFor: {
|
|
2006
|
+
readonly enter: "exit";
|
|
2007
|
+
readonly "expo-out": "expo-out";
|
|
2008
|
+
readonly "quart-out": "quart-out";
|
|
2009
|
+
readonly spring: "quart-out";
|
|
2010
|
+
readonly pop: "quart-out";
|
|
2011
|
+
};
|
|
2012
|
+
readonly leaveShare: 0.5;
|
|
2013
|
+
readonly popLevels: readonly ["lively", "expressive"];
|
|
2014
|
+
readonly quietLevels: readonly ["subtle"];
|
|
2015
|
+
readonly quiet: {
|
|
2016
|
+
readonly riseDistance: 8;
|
|
2017
|
+
readonly clipFrom: 85;
|
|
2018
|
+
readonly maskBy: "together";
|
|
2019
|
+
};
|
|
2020
|
+
readonly planFallback: {
|
|
2021
|
+
readonly arrive: "enter";
|
|
2022
|
+
readonly move: "fade";
|
|
2023
|
+
readonly cover: "fade";
|
|
2024
|
+
};
|
|
2025
|
+
readonly coverMaxMs: {
|
|
2026
|
+
readonly cover: 400;
|
|
2027
|
+
readonly hold: 120;
|
|
2028
|
+
readonly uncover: 500;
|
|
2029
|
+
};
|
|
2030
|
+
readonly reduced: {
|
|
2031
|
+
readonly enter: "fade";
|
|
2032
|
+
readonly enterMaxMs: 200;
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
1762
2035
|
declare const SPEC_MOODS: {
|
|
1763
2036
|
readonly calm: "Calm";
|
|
1764
2037
|
readonly warm: "Warm";
|
|
@@ -1880,7 +2153,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
1880
2153
|
readonly moves: {
|
|
1881
2154
|
readonly scroll: "extra";
|
|
1882
2155
|
readonly animate: "subtle";
|
|
1883
|
-
readonly between: "
|
|
2156
|
+
readonly between: "interstitial";
|
|
1884
2157
|
};
|
|
1885
2158
|
readonly modes: readonly ["light", "dark"];
|
|
1886
2159
|
readonly moods: readonly ["minimal", "elegant", "editorial"];
|
|
@@ -1902,7 +2175,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
1902
2175
|
readonly moves: {
|
|
1903
2176
|
readonly scroll: "smooth";
|
|
1904
2177
|
readonly animate: "subtle";
|
|
1905
|
-
readonly between: "
|
|
2178
|
+
readonly between: "interstitial";
|
|
1906
2179
|
};
|
|
1907
2180
|
readonly modes: readonly ["light"];
|
|
1908
2181
|
readonly moods: readonly ["warm", "editorial", "crafted"];
|
|
@@ -1968,7 +2241,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
1968
2241
|
readonly moves: {
|
|
1969
2242
|
readonly scroll: "smooth";
|
|
1970
2243
|
readonly animate: "expressive";
|
|
1971
|
-
readonly between: "
|
|
2244
|
+
readonly between: "flood";
|
|
1972
2245
|
};
|
|
1973
2246
|
readonly modes: readonly ["dark"];
|
|
1974
2247
|
readonly moods: readonly ["bold", "energetic", "dark"];
|
|
@@ -1990,7 +2263,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
1990
2263
|
readonly moves: {
|
|
1991
2264
|
readonly scroll: "normal";
|
|
1992
2265
|
readonly animate: "standard";
|
|
1993
|
-
readonly between: "
|
|
2266
|
+
readonly between: "wipe";
|
|
1994
2267
|
};
|
|
1995
2268
|
readonly modes: readonly ["dark"];
|
|
1996
2269
|
readonly moods: readonly ["bold", "dark", "crafted"];
|
|
@@ -2012,7 +2285,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2012
2285
|
readonly moves: {
|
|
2013
2286
|
readonly scroll: "extra";
|
|
2014
2287
|
readonly animate: "subtle";
|
|
2015
|
-
readonly between: "
|
|
2288
|
+
readonly between: "veil";
|
|
2016
2289
|
};
|
|
2017
2290
|
readonly modes: readonly ["dark", "light"];
|
|
2018
2291
|
readonly moods: readonly ["minimal", "dark", "editorial"];
|
|
@@ -2078,7 +2351,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2078
2351
|
readonly moves: {
|
|
2079
2352
|
readonly scroll: "smooth";
|
|
2080
2353
|
readonly animate: "lively";
|
|
2081
|
-
readonly between: "
|
|
2354
|
+
readonly between: "circle";
|
|
2082
2355
|
};
|
|
2083
2356
|
readonly modes: readonly ["light"];
|
|
2084
2357
|
readonly moods: readonly ["friendly", "energetic"];
|
|
@@ -2188,7 +2461,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2188
2461
|
readonly moves: {
|
|
2189
2462
|
readonly scroll: "normal";
|
|
2190
2463
|
readonly animate: "lively";
|
|
2191
|
-
readonly between: "
|
|
2464
|
+
readonly between: "circle";
|
|
2192
2465
|
};
|
|
2193
2466
|
readonly modes: readonly ["light"];
|
|
2194
2467
|
readonly moods: readonly ["playful", "friendly"];
|
|
@@ -2232,7 +2505,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2232
2505
|
readonly moves: {
|
|
2233
2506
|
readonly scroll: "normal";
|
|
2234
2507
|
readonly animate: "expressive";
|
|
2235
|
-
readonly between: "
|
|
2508
|
+
readonly between: "flood";
|
|
2236
2509
|
};
|
|
2237
2510
|
readonly modes: readonly ["light"];
|
|
2238
2511
|
readonly moods: readonly ["bold", "playful", "crafted"];
|
|
@@ -2254,7 +2527,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2254
2527
|
readonly moves: {
|
|
2255
2528
|
readonly scroll: "normal";
|
|
2256
2529
|
readonly animate: "lively";
|
|
2257
|
-
readonly between: "
|
|
2530
|
+
readonly between: "circle";
|
|
2258
2531
|
};
|
|
2259
2532
|
readonly modes: readonly ["light", "dark"];
|
|
2260
2533
|
readonly moods: readonly ["energetic", "bold", "playful"];
|
|
@@ -2276,7 +2549,7 @@ declare const SPEC_STYLE_PRESETS: readonly [{
|
|
|
2276
2549
|
readonly moves: {
|
|
2277
2550
|
readonly scroll: "normal";
|
|
2278
2551
|
readonly animate: "expressive";
|
|
2279
|
-
readonly between: "
|
|
2552
|
+
readonly between: "wipe";
|
|
2280
2553
|
};
|
|
2281
2554
|
readonly modes: readonly ["light"];
|
|
2282
2555
|
readonly moods: readonly ["bold", "editorial", "playful"];
|
|
@@ -5310,19 +5583,25 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5310
5583
|
readonly tier: "semantic";
|
|
5311
5584
|
readonly type: "easing";
|
|
5312
5585
|
readonly group: "motion";
|
|
5313
|
-
readonly value: "cubic-bezier(0.
|
|
5586
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
5587
|
+
}, {
|
|
5588
|
+
readonly name: "ease-pop";
|
|
5589
|
+
readonly tier: "semantic";
|
|
5590
|
+
readonly type: "easing";
|
|
5591
|
+
readonly group: "motion";
|
|
5592
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
5314
5593
|
}, {
|
|
5315
5594
|
readonly name: "ease-spring";
|
|
5316
5595
|
readonly tier: "semantic";
|
|
5317
5596
|
readonly type: "easing";
|
|
5318
5597
|
readonly group: "motion";
|
|
5319
|
-
readonly value: "
|
|
5598
|
+
readonly value: "linear(0, 0.018, 0.0649, 0.1318, 0.2111, 0.2969, 0.3846, 0.4707, 0.5527, 0.6288, 0.6979, 0.7595, 0.8135, 0.8598, 0.899, 0.9315, 0.958, 0.979, 0.9954, 1.0076, 1.0165, 1.0225, 1.0261, 1.028, 1.0284, 1.0277, 1.0262, 1.0243, 1.022, 1.0195, 1.017, 1.0146, 1.0123, 1.0102, 1.0082, 1.0065, 1.005, 1.0038, 1.0027, 1.0018, 1)";
|
|
5320
5599
|
}, {
|
|
5321
5600
|
readonly name: "dur-spring";
|
|
5322
5601
|
readonly tier: "semantic";
|
|
5323
5602
|
readonly type: "duration";
|
|
5324
5603
|
readonly group: "motion";
|
|
5325
|
-
readonly value: "
|
|
5604
|
+
readonly value: "320ms";
|
|
5326
5605
|
}, {
|
|
5327
5606
|
readonly name: "hover-lift";
|
|
5328
5607
|
readonly tier: "semantic";
|
|
@@ -7307,19 +7586,25 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7307
7586
|
readonly tier: "semantic";
|
|
7308
7587
|
readonly type: "easing";
|
|
7309
7588
|
readonly group: "motion";
|
|
7310
|
-
readonly value: "cubic-bezier(0.
|
|
7589
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
7590
|
+
}, {
|
|
7591
|
+
readonly name: "ease-pop";
|
|
7592
|
+
readonly tier: "semantic";
|
|
7593
|
+
readonly type: "easing";
|
|
7594
|
+
readonly group: "motion";
|
|
7595
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
7311
7596
|
}, {
|
|
7312
7597
|
readonly name: "ease-spring";
|
|
7313
7598
|
readonly tier: "semantic";
|
|
7314
7599
|
readonly type: "easing";
|
|
7315
7600
|
readonly group: "motion";
|
|
7316
|
-
readonly value: "
|
|
7601
|
+
readonly value: "linear(0, 0.018, 0.0652, 0.1322, 0.2117, 0.2977, 0.3856, 0.4718, 0.5539, 0.63, 0.6992, 0.7607, 0.8146, 0.8609, 0.9, 0.9324, 0.9587, 0.9796, 0.9959, 1.008, 1.0168, 1.0227, 1.0262, 1.028, 1.0283, 1.0276, 1.0261, 1.0241, 1.0218, 1.0194, 1.0169, 1.0145, 1.0122, 1.01, 1.0081, 1.0064, 1.005, 1.0037, 1.0026, 1.0017, 1)";
|
|
7317
7602
|
}, {
|
|
7318
7603
|
readonly name: "dur-spring";
|
|
7319
7604
|
readonly tier: "semantic";
|
|
7320
7605
|
readonly type: "duration";
|
|
7321
7606
|
readonly group: "motion";
|
|
7322
|
-
readonly value: "
|
|
7607
|
+
readonly value: "800ms";
|
|
7323
7608
|
}, {
|
|
7324
7609
|
readonly name: "hover-lift";
|
|
7325
7610
|
readonly tier: "semantic";
|
|
@@ -9334,19 +9619,25 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
9334
9619
|
readonly tier: "semantic";
|
|
9335
9620
|
readonly type: "easing";
|
|
9336
9621
|
readonly group: "motion";
|
|
9337
|
-
readonly value: "cubic-bezier(0.
|
|
9622
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
9623
|
+
}, {
|
|
9624
|
+
readonly name: "ease-pop";
|
|
9625
|
+
readonly tier: "semantic";
|
|
9626
|
+
readonly type: "easing";
|
|
9627
|
+
readonly group: "motion";
|
|
9628
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
9338
9629
|
}, {
|
|
9339
9630
|
readonly name: "ease-spring";
|
|
9340
9631
|
readonly tier: "semantic";
|
|
9341
9632
|
readonly type: "easing";
|
|
9342
9633
|
readonly group: "motion";
|
|
9343
|
-
readonly value: "
|
|
9634
|
+
readonly value: "linear(0, 0.018, 0.0649, 0.1318, 0.2111, 0.2969, 0.3846, 0.4707, 0.5527, 0.6288, 0.6979, 0.7595, 0.8135, 0.8598, 0.899, 0.9315, 0.958, 0.979, 0.9954, 1.0076, 1.0165, 1.0225, 1.0261, 1.028, 1.0284, 1.0277, 1.0262, 1.0243, 1.022, 1.0195, 1.017, 1.0146, 1.0123, 1.0102, 1.0082, 1.0065, 1.005, 1.0038, 1.0027, 1.0018, 1)";
|
|
9344
9635
|
}, {
|
|
9345
9636
|
readonly name: "dur-spring";
|
|
9346
9637
|
readonly tier: "semantic";
|
|
9347
9638
|
readonly type: "duration";
|
|
9348
9639
|
readonly group: "motion";
|
|
9349
|
-
readonly value: "
|
|
9640
|
+
readonly value: "320ms";
|
|
9350
9641
|
}, {
|
|
9351
9642
|
readonly name: "hover-lift";
|
|
9352
9643
|
readonly tier: "semantic";
|
|
@@ -11358,7 +11649,13 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
11358
11649
|
readonly tier: "semantic";
|
|
11359
11650
|
readonly type: "easing";
|
|
11360
11651
|
readonly group: "motion";
|
|
11361
|
-
readonly value: "cubic-bezier(0.
|
|
11652
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
11653
|
+
}, {
|
|
11654
|
+
readonly name: "ease-pop";
|
|
11655
|
+
readonly tier: "semantic";
|
|
11656
|
+
readonly type: "easing";
|
|
11657
|
+
readonly group: "motion";
|
|
11658
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
11362
11659
|
}, {
|
|
11363
11660
|
readonly name: "ease-spring";
|
|
11364
11661
|
readonly tier: "semantic";
|
|
@@ -13397,7 +13694,13 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
13397
13694
|
readonly tier: "semantic";
|
|
13398
13695
|
readonly type: "easing";
|
|
13399
13696
|
readonly group: "motion";
|
|
13400
|
-
readonly value: "cubic-bezier(0.
|
|
13697
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
13698
|
+
}, {
|
|
13699
|
+
readonly name: "ease-pop";
|
|
13700
|
+
readonly tier: "semantic";
|
|
13701
|
+
readonly type: "easing";
|
|
13702
|
+
readonly group: "motion";
|
|
13703
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
13401
13704
|
}, {
|
|
13402
13705
|
readonly name: "ease-spring";
|
|
13403
13706
|
readonly tier: "semantic";
|
|
@@ -15409,19 +15712,25 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
15409
15712
|
readonly tier: "semantic";
|
|
15410
15713
|
readonly type: "easing";
|
|
15411
15714
|
readonly group: "motion";
|
|
15412
|
-
readonly value: "cubic-bezier(0.
|
|
15715
|
+
readonly value: "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
15716
|
+
}, {
|
|
15717
|
+
readonly name: "ease-pop";
|
|
15718
|
+
readonly tier: "semantic";
|
|
15719
|
+
readonly type: "easing";
|
|
15720
|
+
readonly group: "motion";
|
|
15721
|
+
readonly value: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
15413
15722
|
}, {
|
|
15414
15723
|
readonly name: "ease-spring";
|
|
15415
15724
|
readonly tier: "semantic";
|
|
15416
15725
|
readonly type: "easing";
|
|
15417
15726
|
readonly group: "motion";
|
|
15418
|
-
readonly value: "
|
|
15727
|
+
readonly value: "linear(0, 0.0179, 0.0648, 0.1315, 0.2107, 0.2964, 0.384, 0.4701, 0.552, 0.6281, 0.6972, 0.7588, 0.8128, 0.8592, 0.8985, 0.9311, 0.9576, 0.9787, 0.9951, 1.0074, 1.0163, 1.0224, 1.0261, 1.0279, 1.0284, 1.0277, 1.0263, 1.0243, 1.022, 1.0196, 1.0171, 1.0147, 1.0124, 1.0102, 1.0083, 1.0066, 1.0051, 1.0038, 1.0027, 1.0018, 1)";
|
|
15419
15728
|
}, {
|
|
15420
15729
|
readonly name: "dur-spring";
|
|
15421
15730
|
readonly tier: "semantic";
|
|
15422
15731
|
readonly type: "duration";
|
|
15423
15732
|
readonly group: "motion";
|
|
15424
|
-
readonly value: "
|
|
15733
|
+
readonly value: "240ms";
|
|
15425
15734
|
}, {
|
|
15426
15735
|
readonly name: "hover-lift";
|
|
15427
15736
|
readonly tier: "semantic";
|
|
@@ -17141,7 +17450,7 @@ declare const PRE_TINT_DEFAULT: TintId;
|
|
|
17141
17450
|
type ScrollId = keyof typeof SPEC_AXES.scrolls;
|
|
17142
17451
|
/** How much the sections move in as they scroll into view: Still · Subtle · Standard · Lively. */
|
|
17143
17452
|
type AnimateId = keyof typeof SPEC_AXES.animations;
|
|
17144
|
-
/** What plays between pages: None · Fade · Slide · Cinematic. */
|
|
17453
|
+
/** What plays between pages: None · Fade · Slide · Cinematic, and the covers (AW4). */
|
|
17145
17454
|
type BetweenId = keyof typeof SPEC_AXES.betweens;
|
|
17146
17455
|
declare const SCROLL_IDS: ReadonlyArray<ScrollId>;
|
|
17147
17456
|
declare const ANIMATE_IDS: ReadonlyArray<AnimateId>;
|
|
@@ -17176,6 +17485,12 @@ interface DesignChoices {
|
|
|
17176
17485
|
scroll?: ScrollId;
|
|
17177
17486
|
animate?: AnimateId;
|
|
17178
17487
|
between?: BetweenId;
|
|
17488
|
+
/** The look's motion language (AW3, MB-D5) — Design ▸ Motion ▸ Feel: the curve things arrive on (the leave
|
|
17489
|
+
* follows it). Absent = the contract's default arrival (a row stored before AW3). An `ArriveId`. */
|
|
17490
|
+
feel?: string;
|
|
17491
|
+
/** Design ▸ Motion ▸ Headings arrive: the look's ONE heading move. Absent = each level's own heading entrance
|
|
17492
|
+
* (MB-D8 — what a page built before AW3 was stamped with). A `MoveId`. */
|
|
17493
|
+
headings?: string;
|
|
17179
17494
|
}
|
|
17180
17495
|
interface FlavorSpecToken {
|
|
17181
17496
|
readonly name: string;
|
|
@@ -17402,7 +17717,10 @@ declare enum HeaderEdge {
|
|
|
17402
17717
|
/** The traits, stored in the root's props (no default: a plain Container saves neither). */
|
|
17403
17718
|
declare enum HeaderTrait {
|
|
17404
17719
|
Behaviour = "headerBehaviour",
|
|
17405
|
-
Edge = "headerEdge"
|
|
17720
|
+
Edge = "headerEdge",
|
|
17721
|
+
/** HI1b (HS-5): the mix the header was composed as — its `<ingredient>:<word>` words, space-separated (generation-core
|
|
17722
|
+
* `stampHeaderMix`). Read by Bindings ▸ Header and the Header studio; no renderer reads it. */
|
|
17723
|
+
Mix = "headerMix"
|
|
17406
17724
|
}
|
|
17407
17725
|
declare enum HeaderAttribute {
|
|
17408
17726
|
/** `stays` | `hides` on a header that stays at the top. Absent: it scrolls away. */
|
|
@@ -17425,6 +17743,23 @@ declare function headerEdgeOf(value: unknown): HeaderEdge | null;
|
|
|
17425
17743
|
declare function headerStaysAtTop(behaviour: unknown): boolean;
|
|
17426
17744
|
/** The attributes a header renders, from its two trait values — `{}` for a header that keeps today's behaviour. */
|
|
17427
17745
|
declare function headerAttributes(behaviour: unknown, edge: unknown): Record<string, string>;
|
|
17746
|
+
/** The brand's role (generation-core `NavRole.Brand`, spelled here: design-core reads no generation-core). */
|
|
17747
|
+
declare const BRAND_ROLE = "nav.brand";
|
|
17748
|
+
/** Written on the brand when its name is long: the shared CSS steps its type down the look's scale on a phone. */
|
|
17749
|
+
declare const BRAND_NAME_ATTRIBUTE = "data-iox-name";
|
|
17750
|
+
/** How long a header's name is, for a phone bar that must hold it on one or two lines. */
|
|
17751
|
+
declare enum BrandNameLength {
|
|
17752
|
+
/** Wears `size-lead` on a phone. */
|
|
17753
|
+
Long = "long",
|
|
17754
|
+
/** Wears `size-body` on a phone. */
|
|
17755
|
+
Longer = "longer"
|
|
17756
|
+
}
|
|
17757
|
+
/** From this many characters a name is `long`, then `longer`. Below it the name keeps its own size (a phone bar holds a
|
|
17758
|
+
* 16-character name in two lines at the largest heading size the looks give a brand). */
|
|
17759
|
+
declare const BRAND_NAME_LONG_AT = 17;
|
|
17760
|
+
declare const BRAND_NAME_LONGER_AT = 29;
|
|
17761
|
+
/** The name's attributes: `{}` for a name that keeps its size. Never shortens the words — the type steps down. */
|
|
17762
|
+
declare function brandNameAttributes(words: string): Record<string, string>;
|
|
17428
17763
|
|
|
17429
17764
|
/**
|
|
17430
17765
|
* How a site's MENU looks and moves (header-ingredients-plan.md HI2a; HB-D1/HB-D2, header-builder board v2). The header
|
|
@@ -18815,6 +19150,8 @@ declare enum DesignConfigKey {
|
|
|
18815
19150
|
Scroll = "scroll",
|
|
18816
19151
|
Animate = "animate",
|
|
18817
19152
|
Between = "between",
|
|
19153
|
+
Feel = "feel",
|
|
19154
|
+
Headings = "headings",
|
|
18818
19155
|
Revert = "revert"
|
|
18819
19156
|
}
|
|
18820
19157
|
/** A stored design, resolved: `choices` is ALWAYS complete and valid (pack defaults fill the gaps). */
|
|
@@ -18838,6 +19175,8 @@ declare function isRetiredFlavorId(id: string | null | undefined): boolean;
|
|
|
18838
19175
|
* the pack's own default (an unknown pair → the pack's first, a bad seed → the pack's seed).
|
|
18839
19176
|
*/
|
|
18840
19177
|
declare function resolveDesignChoices(partial: Partial<DesignChoices> | null | undefined): DesignChoices;
|
|
19178
|
+
/** The look's motion language as stored: a known Feel / Headings word is kept, anything else is absent (AW3). */
|
|
19179
|
+
declare function resolveMotionLanguageChoices(partial: Readonly<Partial<Record<'feel' | 'headings', unknown>>> | null | undefined): Pick<DesignChoices, 'feel' | 'headings'>;
|
|
18841
19180
|
/** The look's motion, completed: an absent or unknown choice reads `PRE_MOTION` — what the site already does. */
|
|
18842
19181
|
declare function resolveDesignMotion(partial: Readonly<Partial<Record<keyof DesignMotion, unknown>>> | null | undefined): DesignMotion;
|
|
18843
19182
|
/** The pack's own defaults for `flavorId` — what picking a card means before anything is tuned. */
|
|
@@ -19041,5 +19380,67 @@ declare function presetChoices(id: string, mode?: DesignMode): DesignChoices | n
|
|
|
19041
19380
|
*/
|
|
19042
19381
|
declare function stylePresetOfChoices(choices: DesignChoices | null | undefined): StylePreset | undefined;
|
|
19043
19382
|
|
|
19044
|
-
|
|
19045
|
-
|
|
19383
|
+
type ArriveId = (typeof SPEC_MOTION_LANGUAGE.arrive)[number];
|
|
19384
|
+
type LeaveId = (typeof SPEC_MOTION_LANGUAGE.leave)[number];
|
|
19385
|
+
type MoveId = (typeof SPEC_MOTION_LANGUAGE.move)[number];
|
|
19386
|
+
declare const ARRIVE_IDS: ReadonlyArray<ArriveId>;
|
|
19387
|
+
declare const LEAVE_IDS: ReadonlyArray<LeaveId>;
|
|
19388
|
+
declare const MOVE_IDS: ReadonlyArray<MoveId>;
|
|
19389
|
+
/** The plan tier a word is offered on (AW-D23): `all` every plan, `pro` Pro and Studio. */
|
|
19390
|
+
declare enum MotionWordTier {
|
|
19391
|
+
All = "all",
|
|
19392
|
+
Pro = "pro"
|
|
19393
|
+
}
|
|
19394
|
+
/** The arrive curve `spring` names: the look's own `ease-spring` token (a real spring at every speed — MB-D3). */
|
|
19395
|
+
declare const SPRING_CURVE_TOKEN = "ease-spring";
|
|
19396
|
+
/** A look's motion language, resolved. `move` null = the level's own heading entrance (a design stored before AW3). */
|
|
19397
|
+
interface MotionLanguage {
|
|
19398
|
+
readonly arrive: ArriveId;
|
|
19399
|
+
readonly leave: LeaveId;
|
|
19400
|
+
readonly move: MoveId | null;
|
|
19401
|
+
}
|
|
19402
|
+
declare const isArriveId: (v: unknown) => v is ArriveId;
|
|
19403
|
+
declare const isMoveId: (v: unknown) => v is MoveId;
|
|
19404
|
+
/** The families a word's tier is asked of: the arrive / leave curves, the heading move, the cover between pages (AW4). */
|
|
19405
|
+
type MotionWordKind = 'arrive' | 'leave' | 'move' | 'cover';
|
|
19406
|
+
/** A style preset's own language (its Feel and Headings arrive) — undefined for an unknown id. */
|
|
19407
|
+
declare function presetMotionLanguage(presetId: string | null | undefined): {
|
|
19408
|
+
arrive: ArriveId;
|
|
19409
|
+
leave: LeaveId;
|
|
19410
|
+
move: MoveId;
|
|
19411
|
+
} | undefined;
|
|
19412
|
+
/** The tier of a word: `pro` words (expo-out, spring, pop, blur in, the covers…) are offered on Pro and Studio only (MB-D6). */
|
|
19413
|
+
declare function motionWordTier(kind: MotionWordKind, word: string): MotionWordTier;
|
|
19414
|
+
/** `pop` overshoots: only a Lively or Expressive look arrives on it (contract `popLevels`). */
|
|
19415
|
+
declare function popAllowed(animate: string | null | undefined): boolean;
|
|
19416
|
+
/**
|
|
19417
|
+
* The language a set of choices wears. The leave follows Feel (MB-D5): the preset's own pair when Feel is still its
|
|
19418
|
+
* arrival, else the contract's `leaveFor`. A `pop` Feel on a level that may not overshoot settles as expo-out.
|
|
19419
|
+
*/
|
|
19420
|
+
declare function motionLanguageOf(choices: Pick<DesignChoices, 'feel' | 'headings' | 'animate'> & Partial<DesignChoices>, presetId?: string | null): MotionLanguage;
|
|
19421
|
+
/** The CSS timing function of an arrive / leave word; `spring` reads the look's own spring row. */
|
|
19422
|
+
declare function motionCurve(word: ArriveId | LeaveId, tokenValue?: (name: string) => string | undefined): string;
|
|
19423
|
+
/**
|
|
19424
|
+
* What a lower plan wears of a language (AW-D23, MB-D6): a Pro word is drawn as the plan's own (the contract's
|
|
19425
|
+
* `planFallback`) — Feel today's arrival, a Pro move a fade, a Pro cover (AW4) a fade between pages. Applied where a
|
|
19426
|
+
* look is CHOSEN (a Look pick, a build); a built site keeps its words.
|
|
19427
|
+
*/
|
|
19428
|
+
declare function motionLanguageForPlan<T extends Pick<DesignChoices, 'feel' | 'headings'> & {
|
|
19429
|
+
between?: DesignChoices['between'];
|
|
19430
|
+
}>(choices: T, pro: boolean): T;
|
|
19431
|
+
/** The reduced-motion floor (AW-D6): an entrance is a fade this long at most — gentler, never zero. */
|
|
19432
|
+
declare const REDUCED_ENTRANCE_MAX_MS: number;
|
|
19433
|
+
/** MB-D7: a travelling move plays its quiet form on these levels (rise 8 px, mask lines together, clip from 85 %). */
|
|
19434
|
+
declare const QUIET_LEVELS: ReadonlyArray<string>;
|
|
19435
|
+
declare const QUIET_MOVE: Readonly<{
|
|
19436
|
+
riseDistance: number;
|
|
19437
|
+
clipFrom: number;
|
|
19438
|
+
maskBy: string;
|
|
19439
|
+
}>;
|
|
19440
|
+
/** An exit takes about this share of its entrance's time (Emil: exits faster than entrances). */
|
|
19441
|
+
declare const LEAVE_SHARE: number;
|
|
19442
|
+
/** Every preset id the contract gives a language to — all 24 (build-spec refuses one without). */
|
|
19443
|
+
declare const MOTION_LANGUAGE_PRESET_IDS: ReadonlyArray<string>;
|
|
19444
|
+
|
|
19445
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BUTTON_VARIANT_TO_STYLE, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_MENU_LOOK, 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, EntranceParam, FIELD_INVALID_CLASS, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderTrait, INHERITED_TEXT, LEAVE_IDS, LEAVE_SHARE, LinkType, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MOOD_IDS, MOOD_LABELS, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuTrait, MotionWordTier, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, THEME_COLOR_TOKEN, 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, barReserveClass, brandNameAttributes, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerStaysAtTop, headingHref, inSrgbGamut, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isMoveId, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, popAllowed, preTintAccentGrounds, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
19446
|
+
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, 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, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PresetMode, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|