@vectoriox/iox-ui 5.136.0 → 5.138.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/assist-core/index.d.ts +22 -4
- package/composite-core/index.d.ts +10 -2
- package/design-core/index.d.ts +257 -21
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +431 -61
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +999 -259
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -4
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +538 -11
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1118 -732
- package/harness-core/index.d.ts +2 -2
- package/index.d.ts +150 -4
- package/package.json +1 -1
- package/scene-core/index.d.ts +69 -13
- package/src/actions-core/element-actions.ts +14 -4
- package/src/assist-core/assist-turn.ts +3 -1
- package/src/assist-core/route-schema.ts +20 -5
- package/src/assist-core/surfaces.ts +12 -0
- package/src/composite-core/header.ts +18 -1
- package/src/design-core/design-settings.ts +14 -3
- package/src/design-core/design-token.model.ts +3 -0
- package/src/design-core/flavor-spec.generated.ts +64 -25
- package/src/design-core/graphemes.ts +16 -0
- package/src/design-core/header-behaviour.ts +20 -2
- package/src/design-core/motion-language.ts +11 -7
- package/src/design-core/node-classes.ts +10 -4
- package/src/design-core/preloader-of.ts +26 -0
- package/src/design-core/preloader.ts +49 -5
- package/src/design-core/public-api.ts +4 -0
- package/src/design-core/scrub.ts +37 -0
- package/src/design-core/section-edge.ts +223 -0
- package/src/design-core/style-presets.ts +2 -0
- package/src/generation-core/body-mix.ts +443 -0
- package/src/generation-core/check-layout.ts +42 -4
- package/src/generation-core/compose-layout.ts +28 -6
- package/src/generation-core/compose-site.ts +26 -8
- package/src/generation-core/header-mix.ts +4 -0
- package/src/generation-core/layout-fingerprint.ts +19 -1
- package/src/generation-core/layout-language.ts +21 -1
- package/src/generation-core/layout-wire.ts +27 -2
- package/src/generation-core/node-baselines.generated.ts +7 -2
- package/src/generation-core/opening-mix.ts +32 -0
- package/src/generation-core/plan-wire.ts +1 -0
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/redesign-run.ts +69 -2
- package/src/generation-core/site-build-run.ts +29 -7
- package/src/generation-core/site-plan.model.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +120 -86
- package/src/generation-core/text-scroll.ts +179 -0
- package/src/generation-core/validate-site-plan.ts +4 -2
- package/src/harness-core/starting-design.ts +6 -5
- package/src/scene-core/scroll-range.ts +4 -0
- package/src/scene-core/split-text.ts +216 -28
- package/styles/iox-design.css +87 -0
package/design-core/index.d.ts
CHANGED
|
@@ -1830,6 +1830,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1830
1830
|
};
|
|
1831
1831
|
readonly preloader: readonly ["none", "mark", "counter", "letters"];
|
|
1832
1832
|
readonly preloaderExit: readonly ["none", "fade", "sweep", "window", "lift"];
|
|
1833
|
+
readonly scrub: readonly ["never", "words", "entrances"];
|
|
1833
1834
|
readonly tiers: {
|
|
1834
1835
|
readonly arrive: {
|
|
1835
1836
|
readonly enter: "all";
|
|
@@ -1869,6 +1870,11 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1869
1870
|
readonly counter: "pro";
|
|
1870
1871
|
readonly letters: "pro";
|
|
1871
1872
|
};
|
|
1873
|
+
readonly scrub: {
|
|
1874
|
+
readonly never: "all";
|
|
1875
|
+
readonly words: "pro";
|
|
1876
|
+
readonly entrances: "pro";
|
|
1877
|
+
};
|
|
1872
1878
|
};
|
|
1873
1879
|
readonly meanings: {
|
|
1874
1880
|
readonly "arrive.enter": "today's arrival curve (a quick start, a long soft landing)";
|
|
@@ -1895,6 +1901,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1895
1901
|
readonly move: "rise";
|
|
1896
1902
|
readonly preloader: "none";
|
|
1897
1903
|
readonly preloaderExit: "none";
|
|
1904
|
+
readonly scrub: "never";
|
|
1898
1905
|
};
|
|
1899
1906
|
readonly "swiss-grid": {
|
|
1900
1907
|
readonly arrive: "quart-out";
|
|
@@ -1902,6 +1909,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1902
1909
|
readonly move: "clip";
|
|
1903
1910
|
readonly preloader: "none";
|
|
1904
1911
|
readonly preloaderExit: "none";
|
|
1912
|
+
readonly scrub: "never";
|
|
1905
1913
|
};
|
|
1906
1914
|
readonly "trusted-advisor": {
|
|
1907
1915
|
readonly arrive: "quart-out";
|
|
@@ -1909,6 +1917,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1909
1917
|
readonly move: "rise";
|
|
1910
1918
|
readonly preloader: "none";
|
|
1911
1919
|
readonly preloaderExit: "none";
|
|
1920
|
+
readonly scrub: "never";
|
|
1912
1921
|
};
|
|
1913
1922
|
readonly "fresh-practice": {
|
|
1914
1923
|
readonly arrive: "expo-out";
|
|
@@ -1916,6 +1925,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1916
1925
|
readonly move: "fade";
|
|
1917
1926
|
readonly preloader: "none";
|
|
1918
1927
|
readonly preloaderExit: "none";
|
|
1928
|
+
readonly scrub: "never";
|
|
1919
1929
|
};
|
|
1920
1930
|
readonly "gallery-minimal": {
|
|
1921
1931
|
readonly arrive: "expo-out";
|
|
@@ -1923,6 +1933,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1923
1933
|
readonly move: "fade";
|
|
1924
1934
|
readonly preloader: "none";
|
|
1925
1935
|
readonly preloaderExit: "none";
|
|
1936
|
+
readonly scrub: "never";
|
|
1926
1937
|
};
|
|
1927
1938
|
readonly "warm-editorial": {
|
|
1928
1939
|
readonly arrive: "quart-out";
|
|
@@ -1930,6 +1941,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1930
1941
|
readonly move: "mask-rise";
|
|
1931
1942
|
readonly preloader: "none";
|
|
1932
1943
|
readonly preloaderExit: "none";
|
|
1944
|
+
readonly scrub: "never";
|
|
1933
1945
|
};
|
|
1934
1946
|
readonly "soft-spa": {
|
|
1935
1947
|
readonly arrive: "expo-out";
|
|
@@ -1937,6 +1949,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1937
1949
|
readonly move: "blur-in";
|
|
1938
1950
|
readonly preloader: "none";
|
|
1939
1951
|
readonly preloaderExit: "none";
|
|
1952
|
+
readonly scrub: "never";
|
|
1940
1953
|
};
|
|
1941
1954
|
readonly "quiet-luxury": {
|
|
1942
1955
|
readonly arrive: "expo-out";
|
|
@@ -1944,6 +1957,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1944
1957
|
readonly move: "fade";
|
|
1945
1958
|
readonly preloader: "none";
|
|
1946
1959
|
readonly preloaderExit: "none";
|
|
1960
|
+
readonly scrub: "never";
|
|
1947
1961
|
};
|
|
1948
1962
|
readonly "after-dark": {
|
|
1949
1963
|
readonly arrive: "expo-out";
|
|
@@ -1951,6 +1965,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1951
1965
|
readonly move: "mask-rise";
|
|
1952
1966
|
readonly preloader: "mark";
|
|
1953
1967
|
readonly preloaderExit: "lift";
|
|
1968
|
+
readonly scrub: "words";
|
|
1954
1969
|
};
|
|
1955
1970
|
readonly "ink-studio": {
|
|
1956
1971
|
readonly arrive: "quart-out";
|
|
@@ -1958,6 +1973,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1958
1973
|
readonly move: "mask-rise";
|
|
1959
1974
|
readonly preloader: "none";
|
|
1960
1975
|
readonly preloaderExit: "none";
|
|
1976
|
+
readonly scrub: "never";
|
|
1961
1977
|
};
|
|
1962
1978
|
readonly "night-gallery": {
|
|
1963
1979
|
readonly arrive: "expo-out";
|
|
@@ -1965,6 +1981,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1965
1981
|
readonly move: "blur-in";
|
|
1966
1982
|
readonly preloader: "none";
|
|
1967
1983
|
readonly preloaderExit: "none";
|
|
1984
|
+
readonly scrub: "never";
|
|
1968
1985
|
};
|
|
1969
1986
|
readonly "tech-studio": {
|
|
1970
1987
|
readonly arrive: "quart-out";
|
|
@@ -1972,6 +1989,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1972
1989
|
readonly move: "words-lit";
|
|
1973
1990
|
readonly preloader: "counter";
|
|
1974
1991
|
readonly preloaderExit: "window";
|
|
1992
|
+
readonly scrub: "entrances";
|
|
1975
1993
|
};
|
|
1976
1994
|
readonly "morning-glass": {
|
|
1977
1995
|
readonly arrive: "expo-out";
|
|
@@ -1979,6 +1997,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1979
1997
|
readonly move: "blur-in";
|
|
1980
1998
|
readonly preloader: "none";
|
|
1981
1999
|
readonly preloaderExit: "none";
|
|
2000
|
+
readonly scrub: "never";
|
|
1982
2001
|
};
|
|
1983
2002
|
readonly "holiday-light": {
|
|
1984
2003
|
readonly arrive: "spring";
|
|
@@ -1986,6 +2005,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1986
2005
|
readonly move: "rise";
|
|
1987
2006
|
readonly preloader: "none";
|
|
1988
2007
|
readonly preloaderExit: "none";
|
|
2008
|
+
readonly scrub: "never";
|
|
1989
2009
|
};
|
|
1990
2010
|
readonly "frosted-portfolio": {
|
|
1991
2011
|
readonly arrive: "expo-out";
|
|
@@ -1993,6 +2013,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
1993
2013
|
readonly move: "blur-in";
|
|
1994
2014
|
readonly preloader: "none";
|
|
1995
2015
|
readonly preloaderExit: "none";
|
|
2016
|
+
readonly scrub: "never";
|
|
1996
2017
|
};
|
|
1997
2018
|
readonly "coral-studio": {
|
|
1998
2019
|
readonly arrive: "pop";
|
|
@@ -2000,6 +2021,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2000
2021
|
readonly move: "rise";
|
|
2001
2022
|
readonly preloader: "none";
|
|
2002
2023
|
readonly preloaderExit: "none";
|
|
2024
|
+
readonly scrub: "never";
|
|
2003
2025
|
};
|
|
2004
2026
|
readonly "corner-cafe": {
|
|
2005
2027
|
readonly arrive: "spring";
|
|
@@ -2007,6 +2029,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2007
2029
|
readonly move: "rise";
|
|
2008
2030
|
readonly preloader: "mark";
|
|
2009
2031
|
readonly preloaderExit: "fade";
|
|
2032
|
+
readonly scrub: "never";
|
|
2010
2033
|
};
|
|
2011
2034
|
readonly "kind-community": {
|
|
2012
2035
|
readonly arrive: "quart-out";
|
|
@@ -2014,6 +2037,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2014
2037
|
readonly move: "rise";
|
|
2015
2038
|
readonly preloader: "none";
|
|
2016
2039
|
readonly preloaderExit: "none";
|
|
2040
|
+
readonly scrub: "never";
|
|
2017
2041
|
};
|
|
2018
2042
|
readonly "little-ones": {
|
|
2019
2043
|
readonly arrive: "pop";
|
|
@@ -2021,6 +2045,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2021
2045
|
readonly move: "rise";
|
|
2022
2046
|
readonly preloader: "none";
|
|
2023
2047
|
readonly preloaderExit: "none";
|
|
2048
|
+
readonly scrub: "never";
|
|
2024
2049
|
};
|
|
2025
2050
|
readonly "garden-party": {
|
|
2026
2051
|
readonly arrive: "spring";
|
|
@@ -2028,6 +2053,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2028
2053
|
readonly move: "rise";
|
|
2029
2054
|
readonly preloader: "none";
|
|
2030
2055
|
readonly preloaderExit: "none";
|
|
2056
|
+
readonly scrub: "never";
|
|
2031
2057
|
};
|
|
2032
2058
|
readonly "bold-maker": {
|
|
2033
2059
|
readonly arrive: "pop";
|
|
@@ -2035,6 +2061,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2035
2061
|
readonly move: "mask-rise";
|
|
2036
2062
|
readonly preloader: "counter";
|
|
2037
2063
|
readonly preloaderExit: "sweep";
|
|
2064
|
+
readonly scrub: "words";
|
|
2038
2065
|
};
|
|
2039
2066
|
readonly festival: {
|
|
2040
2067
|
readonly arrive: "pop";
|
|
@@ -2042,6 +2069,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2042
2069
|
readonly move: "rise";
|
|
2043
2070
|
readonly preloader: "letters";
|
|
2044
2071
|
readonly preloaderExit: "fade";
|
|
2072
|
+
readonly scrub: "never";
|
|
2045
2073
|
};
|
|
2046
2074
|
readonly zine: {
|
|
2047
2075
|
readonly arrive: "quart-out";
|
|
@@ -2049,6 +2077,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2049
2077
|
readonly move: "clip";
|
|
2050
2078
|
readonly preloader: "letters";
|
|
2051
2079
|
readonly preloaderExit: "sweep";
|
|
2080
|
+
readonly scrub: "entrances";
|
|
2052
2081
|
};
|
|
2053
2082
|
readonly "fresh-market": {
|
|
2054
2083
|
readonly arrive: "spring";
|
|
@@ -2056,6 +2085,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2056
2085
|
readonly move: "rise";
|
|
2057
2086
|
readonly preloader: "none";
|
|
2058
2087
|
readonly preloaderExit: "none";
|
|
2088
|
+
readonly scrub: "never";
|
|
2059
2089
|
};
|
|
2060
2090
|
};
|
|
2061
2091
|
readonly leaveFor: {
|
|
@@ -2078,6 +2108,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2078
2108
|
readonly move: "fade";
|
|
2079
2109
|
readonly cover: "fade";
|
|
2080
2110
|
readonly preloader: "none";
|
|
2111
|
+
readonly scrub: "never";
|
|
2081
2112
|
};
|
|
2082
2113
|
readonly coverMaxMs: {
|
|
2083
2114
|
readonly cover: 400;
|
|
@@ -2086,6 +2117,7 @@ declare const SPEC_MOTION_LANGUAGE: {
|
|
|
2086
2117
|
};
|
|
2087
2118
|
readonly preloaderCapMs: 1500;
|
|
2088
2119
|
readonly preloaderLevels: readonly ["lively", "expressive"];
|
|
2120
|
+
readonly scrubLevels: readonly ["lively", "expressive"];
|
|
2089
2121
|
readonly reduced: {
|
|
2090
2122
|
readonly enter: "fade";
|
|
2091
2123
|
readonly enterMaxMs: 200;
|
|
@@ -17553,6 +17585,9 @@ interface DesignChoices {
|
|
|
17553
17585
|
/** Design ▸ Motion ▸ First visit (AW5): the preloader a visitor's first page of a session opens with — a
|
|
17554
17586
|
* `PreloaderKind`. Absent = none (a row stored before AW5). Its exit is the look's, never stored. */
|
|
17555
17587
|
preloader?: string;
|
|
17588
|
+
/** Design ▸ Motion ▸ By the scroll (AW10): what may follow the scroll — a `ScrubId` (never · words · entrances).
|
|
17589
|
+
* Absent = never (a row stored before AW10). */
|
|
17590
|
+
scrub?: string;
|
|
17556
17591
|
}
|
|
17557
17592
|
interface FlavorSpecToken {
|
|
17558
17593
|
readonly name: string;
|
|
@@ -17782,7 +17817,15 @@ declare enum HeaderTrait {
|
|
|
17782
17817
|
Edge = "headerEdge",
|
|
17783
17818
|
/** HI1b (HS-5): the mix the header was composed as — its `<ingredient>:<word>` words, space-separated (generation-core
|
|
17784
17819
|
* `stampHeaderMix`). Read by Bindings ▸ Header and the Header studio; no renderer reads it. */
|
|
17785
|
-
Mix = "headerMix"
|
|
17820
|
+
Mix = "headerMix",
|
|
17821
|
+
/** AW6 (AW6-D10): `follows` — its colours follow the section under it as the page scrolls. Absent / `opening`: it
|
|
17822
|
+
* wears the page's opening (#71), as before. Written by the Header studio ▸ Ground and the composer (`ink:follows`). */
|
|
17823
|
+
Ink = "headerInk"
|
|
17824
|
+
}
|
|
17825
|
+
/** Whose colours the header wears (contract HEADER `ink`): the page's opening, or every section as it passes under it. */
|
|
17826
|
+
declare enum HeaderInk {
|
|
17827
|
+
Opening = "opening",
|
|
17828
|
+
Follows = "follows"
|
|
17786
17829
|
}
|
|
17787
17830
|
declare enum HeaderAttribute {
|
|
17788
17831
|
/** `stays` | `hides` on a header that stays at the top. Absent: it scrolls away. */
|
|
@@ -17790,7 +17833,10 @@ declare enum HeaderAttribute {
|
|
|
17790
17833
|
/** `fade` | `line` | `none`: the edge it shows once the page has scrolled. Absent: its look's own divider stays. */
|
|
17791
17834
|
Edge = "data-iox-header-edge",
|
|
17792
17835
|
/** Written by the header runtime while a `hides` header has stepped aside. */
|
|
17793
|
-
Hidden = "data-iox-header-hidden"
|
|
17836
|
+
Hidden = "data-iox-header-hidden",
|
|
17837
|
+
/** `follows` on a header whose colours follow the section under it (the header ink runtime writes the page's
|
|
17838
|
+
* `data-iox-opening` as each section passes; the shared CSS cross-fades). Absent: it wears the opening. */
|
|
17839
|
+
Ink = "data-iox-header-ink"
|
|
17794
17840
|
}
|
|
17795
17841
|
/** What a composed header gets (the `nav.*` patterns' `header`, the palette's Navigation bar). */
|
|
17796
17842
|
declare const COMPOSED_HEADER: Readonly<{
|
|
@@ -17803,8 +17849,10 @@ declare function headerBehaviourOf(value: unknown): HeaderBehaviour;
|
|
|
17803
17849
|
declare function headerEdgeOf(value: unknown): HeaderEdge | null;
|
|
17804
17850
|
/** True when the header keeps its place at the top of the screen (it stays, or it hides and comes back). */
|
|
17805
17851
|
declare function headerStaysAtTop(behaviour: unknown): boolean;
|
|
17806
|
-
/**
|
|
17807
|
-
declare function
|
|
17852
|
+
/** A stored ink, or Opening for anything else. */
|
|
17853
|
+
declare function headerInkOf(value: unknown): HeaderInk;
|
|
17854
|
+
/** The attributes a header renders, from its trait values — `{}` for a header that keeps today's behaviour. */
|
|
17855
|
+
declare function headerAttributes(behaviour: unknown, edge: unknown, ink?: unknown): Record<string, string>;
|
|
17808
17856
|
/** The brand's role (generation-core `NavRole.Brand`, spelled here: design-core reads no generation-core). */
|
|
17809
17857
|
declare const BRAND_ROLE = "nav.brand";
|
|
17810
17858
|
/** Written on the brand when its name is long: the shared CSS steps its type down the look's scale on a phone. */
|
|
@@ -18249,7 +18297,9 @@ declare function previewElementStyleAdoption(tree: AdoptableNode[] | null | unde
|
|
|
18249
18297
|
* `compileSchemeCss` re-declares tokens on, so everything inside re-resolves;
|
|
18250
18298
|
* - the composite ROLE `iox-role-<role>` (`card.media` → `iox-role-card-media`; composite-components
|
|
18251
18299
|
* plan §3, Card v2) — what the shared CSS keys a part's structural rules on (the badge's corner, the
|
|
18252
|
-
* card's stretched link), so a role is never a renderer's private knowledge
|
|
18300
|
+
* card's stretched link), so a role is never a renderer's private knowledge;
|
|
18301
|
+
* - a Section's edge and shape `iox-seam-<edge>` / `iox-section-card` (AW6, `section-edge.ts`) — what the shared CSS
|
|
18302
|
+
* paints a seam on.
|
|
18253
18303
|
*
|
|
18254
18304
|
* Renderers read `elementStyle`, `colorScheme` and `role` for exactly this and nothing else.
|
|
18255
18305
|
*/
|
|
@@ -18361,7 +18411,8 @@ declare function setColorScheme(node: {
|
|
|
18361
18411
|
declare function hasElementStyleMarker(node: {
|
|
18362
18412
|
elementStyle?: string | null;
|
|
18363
18413
|
} | null | undefined): boolean;
|
|
18364
|
-
/** The classes a node renders: `'iox-es iox-es-card iox-scheme-inverse'` (+ a bottom bar's reserve class
|
|
18414
|
+
/** The classes a node renders: `'iox-es iox-es-card iox-scheme-inverse'` (+ a bottom bar's reserve class, a section's
|
|
18415
|
+
* edge or shape), or `''` for none. */
|
|
18365
18416
|
declare function nodeDesignClasses(node: DesignClassSource | null | undefined): string;
|
|
18366
18417
|
/** Make an element's design classes match the node — the live switch on the canvas and the
|
|
18367
18418
|
* component path's one-time stamp. Removes stale ones; touches no other class. */
|
|
@@ -18369,6 +18420,130 @@ declare function syncNodeDesignClasses(el: {
|
|
|
18369
18420
|
classList: DOMTokenList;
|
|
18370
18421
|
} | null | undefined, node: DesignClassSource | null | undefined): void;
|
|
18371
18422
|
|
|
18423
|
+
/**
|
|
18424
|
+
* A section's EDGE into the section above it, and its SHAPE (award-ingredients plan §7.1d, AW6 — board award-body,
|
|
18425
|
+
* AW6-D1…D11). Two content traits on a Section, edited in Bindings ▸ Section edge and stamped by the composer, and ONE
|
|
18426
|
+
* answer every renderer applies: the classes below, through design-core's node-class helper (`nodeDesignClasses`), which
|
|
18427
|
+
* the shared CSS (`iox-design.css`) paints.
|
|
18428
|
+
*
|
|
18429
|
+
* - The edge belongs to the LOWER section (AW6-D2): its `::before` — filled with its own ground — rises into the one
|
|
18430
|
+
* above by the seam's depth (contract `BODY.seams`, laptop · phone). Nothing moves: the shape is painted, never laid
|
|
18431
|
+
* out (`rules.seamPaintsOnly`, R-H16). Two neighbours on the same ground paint nothing visible (AW6-D3).
|
|
18432
|
+
* - `rounded` paints the upper section's lower corners away in this section's ground (AW6-D4: the upper looks laid
|
|
18433
|
+
* over this one, radius from the table, depth 0).
|
|
18434
|
+
* - Drip and torn are asymmetric: a right-to-left section draws them mirrored (AW6-D5, R-H18) — decided HERE from the
|
|
18435
|
+
* section's own Text Direction (`iox-seam-mirrored`), never by `:dir(rtl)`: a composed Hebrew page carries its
|
|
18436
|
+
* direction as the CSS `direction` of each section (which `:dir()` cannot see), and the builder canvas sits inside the
|
|
18437
|
+
* ADMIN's `<html dir>` — a Hebrew admin would mirror an English site's seams.
|
|
18438
|
+
* - The shape `card` insets the section from the window with the look's gutter and card radius (AW6-D11); a card takes
|
|
18439
|
+
* only Straight or Rounded, and its rounding is its own corners — so a card wears no seam class at all.
|
|
18440
|
+
*
|
|
18441
|
+
* Framework-free: the composer (generation-core), the builder's panels and both renderers read it.
|
|
18442
|
+
*/
|
|
18443
|
+
/** The seams — the contract's `BODY.ingredients.seam` (generation-core `BodySeam` is this vocabulary). */
|
|
18444
|
+
declare enum SectionEdge {
|
|
18445
|
+
Straight = "straight",
|
|
18446
|
+
Wave = "wave",
|
|
18447
|
+
Drip = "drip",
|
|
18448
|
+
Torn = "torn",
|
|
18449
|
+
Rounded = "rounded"
|
|
18450
|
+
}
|
|
18451
|
+
/** A section's shape: edge to edge, or a rounded card on the page's ground (contract `sections.inset-card`). */
|
|
18452
|
+
declare enum SectionShape {
|
|
18453
|
+
Full = "full",
|
|
18454
|
+
Card = "card"
|
|
18455
|
+
}
|
|
18456
|
+
/** The content traits (stored in `props`, like `colorScheme`). No default is saved: a section without them is straight and full. */
|
|
18457
|
+
declare const SECTION_EDGE_TRAIT = "seam";
|
|
18458
|
+
declare const SECTION_SHAPE_TRAIT = "sectionShape";
|
|
18459
|
+
/** The node types that offer an edge and a shape (a Container only as a page's direct child — the panel decides). */
|
|
18460
|
+
declare const SECTION_EDGE_TYPES: ReadonlyArray<string>;
|
|
18461
|
+
/** Every edge in contract order. */
|
|
18462
|
+
declare const SECTION_EDGES: ReadonlyArray<SectionEdge>;
|
|
18463
|
+
/** The edges a CARD may take (AW6-D11). */
|
|
18464
|
+
declare const CARD_EDGES: ReadonlyArray<SectionEdge>;
|
|
18465
|
+
/** The asymmetric edges — the ones a right-to-left section draws mirrored (the contract's `mirrors`). */
|
|
18466
|
+
declare const MIRRORED_EDGES: ReadonlyArray<SectionEdge>;
|
|
18467
|
+
declare const SEAM_CLASS_PREFIX = "iox-seam-";
|
|
18468
|
+
/** Beside an asymmetric edge's class on a right-to-left section (AW6-D5). */
|
|
18469
|
+
declare const SEAM_MIRRORED_CLASS = "iox-seam-mirrored";
|
|
18470
|
+
declare const SECTION_CARD_CLASS = "iox-section-card";
|
|
18471
|
+
/** The node shapes this module reads: a serialized node (`props`) or a builder node (`traits[]`). */
|
|
18472
|
+
interface SectionEdgeSource {
|
|
18473
|
+
props?: Readonly<Record<string, unknown>> | null;
|
|
18474
|
+
traits?: ReadonlyArray<{
|
|
18475
|
+
name?: string;
|
|
18476
|
+
default?: unknown;
|
|
18477
|
+
}> | null;
|
|
18478
|
+
/** A saved node's styles (its Text Direction decides a mirrored seam). */
|
|
18479
|
+
styleProps?: Readonly<Record<string, unknown>> | null;
|
|
18480
|
+
/** A builder node's styles. */
|
|
18481
|
+
styleTraits?: ReadonlyArray<{
|
|
18482
|
+
traits?: ReadonlyArray<{
|
|
18483
|
+
name?: string;
|
|
18484
|
+
default?: unknown;
|
|
18485
|
+
}> | null;
|
|
18486
|
+
}> | null;
|
|
18487
|
+
}
|
|
18488
|
+
/** A node's stored edge — Straight for none or anything unknown. */
|
|
18489
|
+
declare function sectionEdgeOf(node: SectionEdgeSource | null | undefined): SectionEdge;
|
|
18490
|
+
/** A node's stored shape — Full for none or anything unknown. */
|
|
18491
|
+
declare function sectionShapeOf(node: SectionEdgeSource | null | undefined): SectionShape;
|
|
18492
|
+
/** True when an edge is one a section of `shape` can wear (a card: Straight or Rounded). */
|
|
18493
|
+
declare function edgeFitsShape(edge: string, shape: string): boolean;
|
|
18494
|
+
/** `iox-seam-<edge>` for a known, non-straight edge — else null (an unknown word never reaches a class attribute). */
|
|
18495
|
+
declare function sectionEdgeClass(edge: unknown): string | null;
|
|
18496
|
+
/** True when the section's OWN Text Direction is right-to-left (a saved node's styleProps, a builder node's style
|
|
18497
|
+
* traits). A section with no direction of its own reads left-to-right. */
|
|
18498
|
+
declare function sectionIsRtl(node: SectionEdgeSource | null | undefined): boolean;
|
|
18499
|
+
/**
|
|
18500
|
+
* The classes a section renders for its edge and shape: `iox-seam-wave`, `iox-seam-drip iox-seam-mirrored` (a
|
|
18501
|
+
* right-to-left section), `iox-section-card`, or `''`. A card wears no seam (its rounding is its own corners); an edge
|
|
18502
|
+
* stored on a card that cannot take it is kept and drawn as nothing.
|
|
18503
|
+
*/
|
|
18504
|
+
declare function sectionDesignClasses(node: SectionEdgeSource | null | undefined): string;
|
|
18505
|
+
/** True for a class this module writes (so a re-sync removes a stale one). */
|
|
18506
|
+
declare function isSectionDesignClass(c: string): boolean;
|
|
18507
|
+
type WritableNode = {
|
|
18508
|
+
props?: Record<string, unknown> | null;
|
|
18509
|
+
traits?: Array<{
|
|
18510
|
+
name?: string;
|
|
18511
|
+
default?: unknown;
|
|
18512
|
+
}> | null;
|
|
18513
|
+
};
|
|
18514
|
+
/** Write a section's edge — THE one writer (Bindings ▸ Section edge, "every section", the composer). False when
|
|
18515
|
+
* nothing changed: an unknown edge, the edge it holds, or a builder node with no such trait. */
|
|
18516
|
+
declare function setSectionEdge(node: WritableNode | null | undefined, edge: string): boolean;
|
|
18517
|
+
/** The style props a card shape writes (the look's gutter either side, the card's radius — token references, so a
|
|
18518
|
+
* re-theme reaches it), and what Full width puts back. */
|
|
18519
|
+
declare const SECTION_CARD_STYLES: Readonly<Record<string, string>>;
|
|
18520
|
+
declare const SECTION_FULL_STYLES: Readonly<Record<string, string>>;
|
|
18521
|
+
/**
|
|
18522
|
+
* What choosing a shape writes, judged against what the section wears now: the trait, and the style props — Card
|
|
18523
|
+
* writes {@link SECTION_CARD_STYLES}; Full width puts {@link SECTION_FULL_STYLES} back only where the section still
|
|
18524
|
+
* holds the card's own value (an author's margin or radius is theirs and stays). `styles` is `{}` when nothing changes.
|
|
18525
|
+
*/
|
|
18526
|
+
declare function planSectionShape(shape: string, current?: Readonly<Record<string, unknown>>): {
|
|
18527
|
+
shape: SectionShape;
|
|
18528
|
+
styles: Record<string, string>;
|
|
18529
|
+
} | null;
|
|
18530
|
+
/** Write a section's shape trait (the style props are the caller's, from {@link planSectionShape}). */
|
|
18531
|
+
declare function setSectionShape(node: WritableNode | null | undefined, shape: string): boolean;
|
|
18532
|
+
/** A band of the page as the header sees it: its box in the viewport, and the scheme it wears (null = the page's own). */
|
|
18533
|
+
interface GroundBand {
|
|
18534
|
+
top: number;
|
|
18535
|
+
bottom: number;
|
|
18536
|
+
scheme: string | null;
|
|
18537
|
+
}
|
|
18538
|
+
/**
|
|
18539
|
+
* The non-default scheme of the band under the header's bottom edge — the 1px line just above `barBottom` — or null
|
|
18540
|
+
* (a default band, or nothing there). Pure: the boxes come from the renderer (the window's scroll on the site, the
|
|
18541
|
+
* canvas's own driver in the builder). The first band that holds the line wins (bands are the page's sections, in order).
|
|
18542
|
+
*/
|
|
18543
|
+
declare function schemeUnderBar(bands: ReadonlyArray<GroundBand>, barBottom: number): string | null;
|
|
18544
|
+
/** The scheme an element wears, read back from its `iox-scheme-<id>` class — null for none. */
|
|
18545
|
+
declare function schemeOfClasses(classes: Iterable<string> | null | undefined): string | null;
|
|
18546
|
+
|
|
18372
18547
|
/**
|
|
18373
18548
|
* A rendered Field's classes and its error, in design-core because two entries write into a Field: forms-core (the
|
|
18374
18549
|
* string renderer's markup, the form runtimes) and composite-core (the sign-in dialog). composite-core may not import
|
|
@@ -19216,6 +19391,8 @@ declare enum DesignConfigKey {
|
|
|
19216
19391
|
Headings = "headings",
|
|
19217
19392
|
/** AW5: the first-visit preloader (a `PreloaderKind`); absent = none. */
|
|
19218
19393
|
Preloader = "preloader",
|
|
19394
|
+
/** AW10: the look's By the scroll (a `ScrubId`); absent = never. */
|
|
19395
|
+
Scrub = "scrub",
|
|
19219
19396
|
Revert = "revert"
|
|
19220
19397
|
}
|
|
19221
19398
|
/** A stored design, resolved: `choices` is ALWAYS complete and valid (pack defaults fill the gaps). */
|
|
@@ -19239,9 +19416,9 @@ declare function isRetiredFlavorId(id: string | null | undefined): boolean;
|
|
|
19239
19416
|
* the pack's own default (an unknown pair → the pack's first, a bad seed → the pack's seed).
|
|
19240
19417
|
*/
|
|
19241
19418
|
declare function resolveDesignChoices(partial: Partial<DesignChoices> | null | undefined): DesignChoices;
|
|
19242
|
-
/** The look's motion language as stored: a known Feel / Headings word (AW3)
|
|
19243
|
-
* anything else is absent. */
|
|
19244
|
-
declare function resolveMotionLanguageChoices(partial: Readonly<Partial<Record<'feel' | 'headings' | 'preloader', unknown>>> | null | undefined): Pick<DesignChoices, 'feel' | 'headings' | 'preloader'>;
|
|
19419
|
+
/** The look's motion language as stored: a known Feel / Headings word (AW3), first-visit preloader (AW5) or By the
|
|
19420
|
+
* scroll word (AW10) is kept, anything else is absent. */
|
|
19421
|
+
declare function resolveMotionLanguageChoices(partial: Readonly<Partial<Record<'feel' | 'headings' | 'preloader' | 'scrub', unknown>>> | null | undefined): Pick<DesignChoices, 'feel' | 'headings' | 'preloader' | 'scrub'>;
|
|
19245
19422
|
/** The look's motion, completed: an absent or unknown choice reads `PRE_MOTION` — what the site already does. */
|
|
19246
19423
|
declare function resolveDesignMotion(partial: Readonly<Partial<Record<keyof DesignMotion, unknown>>> | null | undefined): DesignMotion;
|
|
19247
19424
|
/** The pack's own defaults for `flavorId` — what picking a card means before anything is tuned. */
|
|
@@ -19466,18 +19643,22 @@ interface MotionLanguage {
|
|
|
19466
19643
|
}
|
|
19467
19644
|
declare const isArriveId: (v: unknown) => v is ArriveId;
|
|
19468
19645
|
declare const isMoveId: (v: unknown) => v is MoveId;
|
|
19469
|
-
/**
|
|
19470
|
-
*
|
|
19471
|
-
|
|
19472
|
-
/** A style preset's own language (its Feel, Headings arrive and first-visit preloader with its exit) — undefined for an
|
|
19473
|
-
* unknown id. */
|
|
19474
|
-
declare function presetMotionLanguage(presetId: string | null | undefined): {
|
|
19646
|
+
/** A style preset's own language: its Feel, Headings arrive, first-visit preloader with its exit (AW5) and By the
|
|
19647
|
+
* scroll (AW10). */
|
|
19648
|
+
interface PresetMotionLanguage {
|
|
19475
19649
|
arrive: ArriveId;
|
|
19476
19650
|
leave: LeaveId;
|
|
19477
19651
|
move: MoveId;
|
|
19478
19652
|
preloader: string;
|
|
19479
19653
|
preloaderExit: string;
|
|
19480
|
-
|
|
19654
|
+
scrub: string;
|
|
19655
|
+
}
|
|
19656
|
+
/** The families a word's tier is asked of: the arrive / leave curves, the heading move, the cover between pages (AW4),
|
|
19657
|
+
* the first-visit preloader (AW5), By the scroll (AW10). */
|
|
19658
|
+
type MotionWordKind = 'arrive' | 'leave' | 'move' | 'cover' | 'preloader' | 'scrub';
|
|
19659
|
+
/** A style preset's own language (its Feel, Headings arrive and first-visit preloader with its exit) — undefined for an
|
|
19660
|
+
* unknown id. */
|
|
19661
|
+
declare function presetMotionLanguage(presetId: string | null | undefined): PresetMotionLanguage | undefined;
|
|
19481
19662
|
/** The tier of a word: `pro` words (expo-out, spring, pop, blur in, the covers…) are offered on Pro and Studio only (MB-D6). */
|
|
19482
19663
|
declare function motionWordTier(kind: MotionWordKind, word: string): MotionWordTier;
|
|
19483
19664
|
/** `pop` overshoots: only a Lively or Expressive look arrives on it (contract `popLevels`). */
|
|
@@ -19492,11 +19673,12 @@ declare function motionCurve(word: ArriveId | LeaveId, tokenValue?: (name: strin
|
|
|
19492
19673
|
/**
|
|
19493
19674
|
* 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
|
|
19494
19675
|
* `planFallback`) — Feel today's arrival, a Pro move a fade, a Pro cover (AW4) a fade between pages, a preloader (AW5)
|
|
19495
|
-
* none. Applied where a look is CHOSEN (a Look pick, a build); a built site keeps its words.
|
|
19676
|
+
* none, By the scroll (AW10) never. Applied where a look is CHOSEN (a Look pick, a build); a built site keeps its words.
|
|
19496
19677
|
*/
|
|
19497
19678
|
declare function motionLanguageForPlan<T extends Pick<DesignChoices, 'feel' | 'headings'> & {
|
|
19498
19679
|
between?: DesignChoices['between'];
|
|
19499
19680
|
preloader?: DesignChoices['preloader'];
|
|
19681
|
+
scrub?: DesignChoices['scrub'];
|
|
19500
19682
|
}>(choices: T, pro: boolean): T;
|
|
19501
19683
|
/** The reduced-motion floor (AW-D6): an entrance is a fade this long at most — gentler, never zero. */
|
|
19502
19684
|
declare const REDUCED_ENTRANCE_MAX_MS: number;
|
|
@@ -19512,6 +19694,12 @@ declare const LEAVE_SHARE: number;
|
|
|
19512
19694
|
/** Every preset id the contract gives a language to — all 24 (build-spec refuses one without). */
|
|
19513
19695
|
declare const MOTION_LANGUAGE_PRESET_IDS: ReadonlyArray<string>;
|
|
19514
19696
|
|
|
19697
|
+
/**
|
|
19698
|
+
* Text as a reader sees its letters (AW5 preloader, AW10 letter split): a Hebrew letter keeps its points, an emoji its
|
|
19699
|
+
* joiners, a flag its pair (`Intl.Segmenter`). ONE reading for every surface that counts or splits letters. Pure.
|
|
19700
|
+
*/
|
|
19701
|
+
declare function graphemes(text: string): string[];
|
|
19702
|
+
|
|
19515
19703
|
/** What opens the first visit (`design.preloader`). */
|
|
19516
19704
|
declare enum PreloaderKind {
|
|
19517
19705
|
None = "none",
|
|
@@ -19543,6 +19731,12 @@ declare const PRELOADER_LEVELS: ReadonlyArray<string>;
|
|
|
19543
19731
|
declare const PRELOADER_EXIT_MAX_MS = 500;
|
|
19544
19732
|
/** Letters shows the opening heading only while it is this short (PL-D2); a longer one shows the business name. */
|
|
19545
19733
|
declare const PRELOADER_LETTERS_MAX = 24;
|
|
19734
|
+
/** A preloader never leaves before its own entrance is seen (board 2) — still never past the cap. */
|
|
19735
|
+
declare const PRELOADER_MIN_SHOW_MS: Readonly<Record<Exclude<PreloaderKind, PreloaderKind.None>, number>>;
|
|
19736
|
+
/** The fast ease-out a preloader leaves on when the look names no `ease-exit` (MB-D1's quart-out). */
|
|
19737
|
+
declare const PRELOADER_EXIT_EASE = "cubic-bezier(0.25, 1, 0.5, 1)";
|
|
19738
|
+
/** The ease-out its content arrives on when the look names no `ease-enter` (expo-out). */
|
|
19739
|
+
declare const PRELOADER_ENTER_EASE = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
19546
19740
|
declare const isPreloaderKind: (v: unknown) => v is `${PreloaderKind}`;
|
|
19547
19741
|
/** What the runtime draws: the kind, the look's exit, and its cap. */
|
|
19548
19742
|
interface PreloaderPlan {
|
|
@@ -19570,8 +19764,22 @@ interface PreloaderInput {
|
|
|
19570
19764
|
declare function planPreloader(input: PreloaderInput): PreloaderPlan | null;
|
|
19571
19765
|
/** The look's exit (PL-D3): the preset's own, else a fade. */
|
|
19572
19766
|
declare function preloaderExitOf(presetId: string | null | undefined): PreloaderPlan['exit'];
|
|
19573
|
-
/**
|
|
19574
|
-
|
|
19767
|
+
/**
|
|
19768
|
+
* When it leaves (PL-D4): at the page's readiness — never before its own entrance is seen (`minMs`), never past the cap;
|
|
19769
|
+
* a readiness not yet known waits for the cap.
|
|
19770
|
+
*/
|
|
19771
|
+
declare function preloaderLeaveAt(readyMs: number | null | undefined, capMs?: number, minMs?: number): number;
|
|
19772
|
+
/** How a preloader leaves — frames (transform / opacity / clip-path only), a duration ≤ `PRELOADER_EXIT_MAX_MS`, and
|
|
19773
|
+
* whether the layer turns the accent panel first (Sweep). */
|
|
19774
|
+
interface PreloaderExitMotion {
|
|
19775
|
+
readonly frames: ReadonlyArray<Readonly<Record<string, string | number>>>;
|
|
19776
|
+
readonly duration: number;
|
|
19777
|
+
readonly accent: boolean;
|
|
19778
|
+
}
|
|
19779
|
+
/** The ONE description of each exit (PL-D3; Emil: transform / opacity / clip-path, ≤ 500 ms, on the look's ease-exit). */
|
|
19780
|
+
declare function preloaderExitMotion(exit: string | null | undefined): PreloaderExitMotion;
|
|
19781
|
+
/** A text as a reader sees its letters — `graphemes`, kept under the name the preloader has always used. */
|
|
19782
|
+
declare function preloaderGraphemes(text: string): string[];
|
|
19575
19783
|
/**
|
|
19576
19784
|
* PL-D5: a first visit is the session's first page in this tab AND not reached from another page of the same site
|
|
19577
19785
|
* (a new tab opened from the site, a reload after Back). `seen` = the tab's session memory; `referrer` and `origin`
|
|
@@ -19586,5 +19794,33 @@ declare function preloaderPercent(loaded: number, total: number, previous?: numb
|
|
|
19586
19794
|
/** PL-D2: what Letters spells — the opening heading while it is short enough, else the business name. */
|
|
19587
19795
|
declare function preloaderWords(heading: string | null | undefined, businessName: string | null | undefined): string;
|
|
19588
19796
|
|
|
19589
|
-
|
|
19590
|
-
|
|
19797
|
+
/**
|
|
19798
|
+
* What a look opens a visitor's first page with (AW5, PL-D1/D3/D6): the kind is the look's word, the exit the style
|
|
19799
|
+
* preset it is (`stylePresetOfChoices`; a customised look fades), the cap the contract's. A built site keeps its word
|
|
19800
|
+
* (AW-D23: the plan clamp happened when the look was chosen), so this asks as Pro unless told otherwise; the visitor's
|
|
19801
|
+
* side — reduced motion, a first visit — is the browser's to say (`preloaderHeadScript`). Null when it opens with nothing.
|
|
19802
|
+
*/
|
|
19803
|
+
declare function preloaderOfChoices(choices: Pick<DesignChoices, 'preloader' | 'animate'> & Partial<DesignChoices> | null | undefined, pro?: boolean): PreloaderPlan | null;
|
|
19804
|
+
/** A STORED design's preloader — what the public page read hands the engine (`designPreloader`), beside
|
|
19805
|
+
* `designMode` / `designMotion`. */
|
|
19806
|
+
declare function designPreloaderOf(config: ReadonlyArray<DesignConfigEntry> | null | undefined): PreloaderPlan | null;
|
|
19807
|
+
|
|
19808
|
+
/** The look's scrub (contract MOTION `ingredients.scrub`): what may follow the scroll. */
|
|
19809
|
+
declare enum ScrubId {
|
|
19810
|
+
/** Everything plays once as it arrives. */
|
|
19811
|
+
Never = "never",
|
|
19812
|
+
/** Text may light by the scroll: a text reveal follows it, lighting from dim. */
|
|
19813
|
+
Words = "words",
|
|
19814
|
+
/** Entrances may follow the scroll exactly: every entrance, a text reveal rising as it does on time. */
|
|
19815
|
+
Entrances = "entrances"
|
|
19816
|
+
}
|
|
19817
|
+
/** Every word, in the contract's order. */
|
|
19818
|
+
declare const SCRUB_IDS: ReadonlyArray<string>;
|
|
19819
|
+
/** The How animated levels a look's By the scroll is kept on (AW10-D7). */
|
|
19820
|
+
declare const SCRUB_LEVELS: ReadonlyArray<string>;
|
|
19821
|
+
declare const isScrubId: (v: unknown) => v is `${ScrubId}`;
|
|
19822
|
+
/** The look's scrub as stored: a known word, else never (a row stored before AW10 reads never). */
|
|
19823
|
+
declare function scrubOfChoices(choices: Pick<DesignChoices, 'scrub'> | null | undefined): ScrubId;
|
|
19824
|
+
|
|
19825
|
+
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_EDGES, 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, HeaderInk, HeaderTrait, INHERITED_TEXT, LEAVE_IDS, LEAVE_SHARE, LinkType, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, 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, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, 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, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, 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, ScrubId, SectionEdge, SectionShape, 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, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, 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, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, 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, planPreloader, planSectionShape, planSwissMigration, popAllowed, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, schemeOfClasses, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, 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 };
|
|
19826
|
+
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, GroundBand, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
@@ -203,11 +203,21 @@ const ELEMENT_ACTION_DESCRIPTORS = Object.freeze([
|
|
|
203
203
|
{ value: 'centre', labelKey: 'builder.scene.from.centre' },
|
|
204
204
|
] }] },
|
|
205
205
|
{ type: 'zoomOut', labelKey: 'builder.actions.zoomOut', kind: 'animated', group: 'motion', builderBehaviour: 'run' },
|
|
206
|
+
// AW10 (AW10-D1…D4): letter by letter is a third way it comes in (a display line; joined scripts and long lines fall to
|
|
207
|
+
// words, said in the panel); the Look is how each piece arrives — Rise travels up out of its mask, Light comes up from
|
|
208
|
+
// dim and nothing travels (the Scene words track's dim).
|
|
206
209
|
{ type: 'revealText', labelKey: 'builder.actions.revealText', kind: 'animated', group: 'motion', builderBehaviour: 'run',
|
|
207
|
-
params: [
|
|
210
|
+
params: [
|
|
211
|
+
{ name: 'by', type: 'string', label: 'builder.actions.params.revealBy', options: [
|
|
208
212
|
{ value: 'line', labelKey: 'builder.actions.params.byLine' },
|
|
209
213
|
{ value: 'word', labelKey: 'builder.actions.params.byWord' },
|
|
210
|
-
|
|
214
|
+
{ value: 'letter', labelKey: 'builder.actions.params.byLetter' },
|
|
215
|
+
] },
|
|
216
|
+
{ name: 'look', type: 'string', label: 'builder.actions.params.revealLook', options: [
|
|
217
|
+
{ value: 'rise', labelKey: 'builder.actions.params.lookRise' },
|
|
218
|
+
{ value: 'light', labelKey: 'builder.actions.params.lookLight' },
|
|
219
|
+
] },
|
|
220
|
+
] },
|
|
211
221
|
// AW3 (Motion board, E5): a heading comes from a small blur into focus — the look's `blur-in` move; reduced → the fade.
|
|
212
222
|
{ type: 'blurIn', labelKey: 'builder.actions.blurIn', kind: 'animated', group: 'motion', builderBehaviour: 'run' },
|
|
213
223
|
// Premium M6 (N5): a number that counts up ONCE, the first time it comes into view (D4); its final value is always the
|