@vectoriox/iox-ui 5.132.0 → 5.134.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 +44 -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 +118 -62
- 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 +13974 -12036
- 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 +288 -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 +1419 -379
- package/harness-core/index.d.ts +6 -1
- package/index.d.ts +139 -10
- package/mail-core/index.d.ts +315 -39
- 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/consent.ts +6 -2
- package/src/composite-core/shop-runtime.ts +47 -3
- package/src/composite-core/shop.ts +76 -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 +20 -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-standing.ts +58 -0
- package/src/mail-core/mail-vocabulary.ts +3 -0
- package/src/mail-core/mail-wire.ts +70 -1
- package/src/mail-core/public-api.ts +6 -1
- package/styles/iox-design.css +44 -2
|
@@ -498,6 +498,12 @@ export const SPEC_TIERS = {
|
|
|
498
498
|
"group": "motion",
|
|
499
499
|
"desc": ""
|
|
500
500
|
},
|
|
501
|
+
{
|
|
502
|
+
"name": "ease-pop",
|
|
503
|
+
"type": "easing",
|
|
504
|
+
"group": "motion",
|
|
505
|
+
"desc": "Settles just past its place (Lively, Expressive)"
|
|
506
|
+
},
|
|
501
507
|
{
|
|
502
508
|
"name": "ease-spring",
|
|
503
509
|
"type": "easing",
|
|
@@ -1726,6 +1732,7 @@ export const SPEC_AXES = {
|
|
|
1726
1732
|
"dur-slow": "0ms",
|
|
1727
1733
|
"ease-standard": "linear",
|
|
1728
1734
|
"ease-spring": "linear",
|
|
1735
|
+
"ease-pop": "linear",
|
|
1729
1736
|
"dur-spring": "0ms",
|
|
1730
1737
|
"hover-lift": "0px",
|
|
1731
1738
|
"press-scale": "1",
|
|
@@ -1748,8 +1755,8 @@ export const SPEC_AXES = {
|
|
|
1748
1755
|
"dur-base": "140ms",
|
|
1749
1756
|
"dur-slow": "240ms",
|
|
1750
1757
|
"ease-standard": "cubic-bezier(0.2, 0, 0, 1)",
|
|
1751
|
-
"ease-spring": "
|
|
1752
|
-
"dur-spring": "
|
|
1758
|
+
"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)",
|
|
1759
|
+
"dur-spring": "240ms",
|
|
1753
1760
|
"hover-lift": "-2px",
|
|
1754
1761
|
"press-scale": "0.97",
|
|
1755
1762
|
"dur-hover": "80ms",
|
|
@@ -1763,7 +1770,8 @@ export const SPEC_AXES = {
|
|
|
1763
1770
|
"sheet-dur-in": "400ms",
|
|
1764
1771
|
"sheet-dur-out": "240ms",
|
|
1765
1772
|
"toast-dur-in": "320ms",
|
|
1766
|
-
"toast-dur-out": "180ms"
|
|
1773
|
+
"toast-dur-out": "180ms",
|
|
1774
|
+
"ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
1767
1775
|
},
|
|
1768
1776
|
"standard": {
|
|
1769
1777
|
"label": "Standard",
|
|
@@ -1771,8 +1779,8 @@ export const SPEC_AXES = {
|
|
|
1771
1779
|
"dur-base": "200ms",
|
|
1772
1780
|
"dur-slow": "320ms",
|
|
1773
1781
|
"ease-standard": "cubic-bezier(0.2, 0, 0, 1)",
|
|
1774
|
-
"ease-spring": "
|
|
1775
|
-
"dur-spring": "
|
|
1782
|
+
"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)",
|
|
1783
|
+
"dur-spring": "320ms",
|
|
1776
1784
|
"hover-lift": "-2px",
|
|
1777
1785
|
"press-scale": "0.98",
|
|
1778
1786
|
"dur-hover": "120ms",
|
|
@@ -1786,7 +1794,8 @@ export const SPEC_AXES = {
|
|
|
1786
1794
|
"sheet-dur-in": "500ms",
|
|
1787
1795
|
"sheet-dur-out": "280ms",
|
|
1788
1796
|
"toast-dur-in": "400ms",
|
|
1789
|
-
"toast-dur-out": "220ms"
|
|
1797
|
+
"toast-dur-out": "220ms",
|
|
1798
|
+
"ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
1790
1799
|
},
|
|
1791
1800
|
"calm": {
|
|
1792
1801
|
"label": "Calm",
|
|
@@ -1794,8 +1803,8 @@ export const SPEC_AXES = {
|
|
|
1794
1803
|
"dur-base": "400ms",
|
|
1795
1804
|
"dur-slow": "800ms",
|
|
1796
1805
|
"ease-standard": "cubic-bezier(0.33, 0, 0.1, 1)",
|
|
1797
|
-
"ease-spring": "
|
|
1798
|
-
"dur-spring": "
|
|
1806
|
+
"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)",
|
|
1807
|
+
"dur-spring": "800ms",
|
|
1799
1808
|
"hover-lift": "0px",
|
|
1800
1809
|
"press-scale": "0.98",
|
|
1801
1810
|
"dur-hover": "150ms",
|
|
@@ -1809,7 +1818,8 @@ export const SPEC_AXES = {
|
|
|
1809
1818
|
"sheet-dur-in": "600ms",
|
|
1810
1819
|
"sheet-dur-out": "340ms",
|
|
1811
1820
|
"toast-dur-in": "480ms",
|
|
1812
|
-
"toast-dur-out": "280ms"
|
|
1821
|
+
"toast-dur-out": "280ms",
|
|
1822
|
+
"ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
1813
1823
|
},
|
|
1814
1824
|
"lively": {
|
|
1815
1825
|
"label": "Lively",
|
|
@@ -1832,12 +1842,13 @@ export const SPEC_AXES = {
|
|
|
1832
1842
|
"sheet-dur-in": "500ms",
|
|
1833
1843
|
"sheet-dur-out": "280ms",
|
|
1834
1844
|
"toast-dur-in": "400ms",
|
|
1835
|
-
"toast-dur-out": "220ms"
|
|
1845
|
+
"toast-dur-out": "220ms",
|
|
1846
|
+
"ease-pop": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
1836
1847
|
}
|
|
1837
1848
|
},
|
|
1838
1849
|
"motionCommon": {
|
|
1839
1850
|
"ease-enter": "cubic-bezier(0.05, 0.7, 0.1, 1)",
|
|
1840
|
-
"ease-exit": "cubic-bezier(0.
|
|
1851
|
+
"ease-exit": "cubic-bezier(0.25, 1, 0.5, 1)",
|
|
1841
1852
|
"ease-hover": "ease"
|
|
1842
1853
|
},
|
|
1843
1854
|
"modes": [
|
|
@@ -2108,6 +2119,53 @@ export const SPEC_AXES = {
|
|
|
2108
2119
|
"transition": "parallax-up",
|
|
2109
2120
|
"feel": "cinematic",
|
|
2110
2121
|
"phone": "fade"
|
|
2122
|
+
},
|
|
2123
|
+
"flood": {
|
|
2124
|
+
"label": "Flood",
|
|
2125
|
+
"he": "הצפה",
|
|
2126
|
+
"hint": "A panel in your accent colour covers the page, then uncovers the next. On phones: Fade.",
|
|
2127
|
+
"transition": "cover-flood",
|
|
2128
|
+
"feel": "snappy",
|
|
2129
|
+
"phone": "fade"
|
|
2130
|
+
},
|
|
2131
|
+
"wipe": {
|
|
2132
|
+
"label": "Wipe",
|
|
2133
|
+
"he": "מגב",
|
|
2134
|
+
"hint": "A panel in the site's dark ground wipes up over the page, then off the next. On phones: Fade.",
|
|
2135
|
+
"transition": "cover-wipe",
|
|
2136
|
+
"feel": "snappy",
|
|
2137
|
+
"phone": "fade"
|
|
2138
|
+
},
|
|
2139
|
+
"circle": {
|
|
2140
|
+
"label": "Circle",
|
|
2141
|
+
"he": "עיגול",
|
|
2142
|
+
"hint": "The next page opens as a circle from where the visitor clicked. On phones: Fade.",
|
|
2143
|
+
"transition": "cover-circle",
|
|
2144
|
+
"feel": "snappy",
|
|
2145
|
+
"phone": "fade"
|
|
2146
|
+
},
|
|
2147
|
+
"veil": {
|
|
2148
|
+
"label": "Veil",
|
|
2149
|
+
"he": "מסך",
|
|
2150
|
+
"hint": "The next page's opening picture covers the screen, then gives way to the page (a page without one fades). On phones: Fade.",
|
|
2151
|
+
"transition": "cover-veil",
|
|
2152
|
+
"feel": "snappy",
|
|
2153
|
+
"phone": "fade"
|
|
2154
|
+
},
|
|
2155
|
+
"interstitial": {
|
|
2156
|
+
"label": "Line",
|
|
2157
|
+
"he": "שורה",
|
|
2158
|
+
"hint": "The next page's name, alone on the ground for a moment, then the page. On phones: Fade.",
|
|
2159
|
+
"transition": "cover-line",
|
|
2160
|
+
"feel": "snappy",
|
|
2161
|
+
"phone": "fade"
|
|
2162
|
+
},
|
|
2163
|
+
"controls": {
|
|
2164
|
+
"label": "Controls",
|
|
2165
|
+
"he": "פקדים",
|
|
2166
|
+
"hint": "No cover: the header's links fade in again and the page cross-fades.",
|
|
2167
|
+
"transition": "cover-controls",
|
|
2168
|
+
"feel": "snappy"
|
|
2111
2169
|
}
|
|
2112
2170
|
},
|
|
2113
2171
|
"motionChoices": {
|
|
@@ -2135,6 +2193,245 @@ export const SPEC_SPRINGS = {
|
|
|
2135
2193
|
}
|
|
2136
2194
|
} as const;
|
|
2137
2195
|
|
|
2196
|
+
export const SPEC_MOTION_LANGUAGE = {
|
|
2197
|
+
"arrive": [
|
|
2198
|
+
"enter",
|
|
2199
|
+
"expo-out",
|
|
2200
|
+
"quart-out",
|
|
2201
|
+
"spring",
|
|
2202
|
+
"pop"
|
|
2203
|
+
],
|
|
2204
|
+
"leave": [
|
|
2205
|
+
"exit",
|
|
2206
|
+
"expo-out",
|
|
2207
|
+
"quart-out"
|
|
2208
|
+
],
|
|
2209
|
+
"move": [
|
|
2210
|
+
"rise",
|
|
2211
|
+
"mask-rise",
|
|
2212
|
+
"clip",
|
|
2213
|
+
"fade",
|
|
2214
|
+
"words-lit",
|
|
2215
|
+
"blur-in"
|
|
2216
|
+
],
|
|
2217
|
+
"curves": {
|
|
2218
|
+
"enter": "cubic-bezier(0.05, 0.7, 0.1, 1)",
|
|
2219
|
+
"expo-out": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
2220
|
+
"quart-out": "cubic-bezier(0.25, 1, 0.5, 1)",
|
|
2221
|
+
"spring": "{{ease-spring}}",
|
|
2222
|
+
"pop": "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
2223
|
+
"exit": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
2224
|
+
},
|
|
2225
|
+
"tiers": {
|
|
2226
|
+
"arrive": {
|
|
2227
|
+
"enter": "all",
|
|
2228
|
+
"expo-out": "pro",
|
|
2229
|
+
"quart-out": "pro",
|
|
2230
|
+
"spring": "pro",
|
|
2231
|
+
"pop": "pro"
|
|
2232
|
+
},
|
|
2233
|
+
"leave": {
|
|
2234
|
+
"exit": "all",
|
|
2235
|
+
"expo-out": "pro",
|
|
2236
|
+
"quart-out": "all"
|
|
2237
|
+
},
|
|
2238
|
+
"move": {
|
|
2239
|
+
"rise": "all",
|
|
2240
|
+
"mask-rise": "all",
|
|
2241
|
+
"clip": "all",
|
|
2242
|
+
"fade": "all",
|
|
2243
|
+
"words-lit": "all",
|
|
2244
|
+
"blur-in": "pro"
|
|
2245
|
+
},
|
|
2246
|
+
"cover": {
|
|
2247
|
+
"none": "all",
|
|
2248
|
+
"fade": "all",
|
|
2249
|
+
"slide": "all",
|
|
2250
|
+
"cinematic": "all",
|
|
2251
|
+
"flood": "pro",
|
|
2252
|
+
"wipe": "pro",
|
|
2253
|
+
"circle": "pro",
|
|
2254
|
+
"veil": "pro",
|
|
2255
|
+
"interstitial": "pro",
|
|
2256
|
+
"controls": "pro"
|
|
2257
|
+
}
|
|
2258
|
+
},
|
|
2259
|
+
"meanings": {
|
|
2260
|
+
"arrive.enter": "today's arrival curve (a quick start, a long soft landing)",
|
|
2261
|
+
"arrive.expo-out": "a fast start that settles very softly",
|
|
2262
|
+
"arrive.quart-out": "a quick start, a firm landing",
|
|
2263
|
+
"arrive.spring": "the look's spring, settling with a little give",
|
|
2264
|
+
"arrive.pop": "settles just past its place and back (Lively and Expressive looks only)",
|
|
2265
|
+
"move.rise": "headings rise into place",
|
|
2266
|
+
"move.mask-rise": "heading lines rise out of their own masks, one by one",
|
|
2267
|
+
"move.clip": "headings and pictures open from one side",
|
|
2268
|
+
"move.fade": "headings fade in, nothing travels",
|
|
2269
|
+
"move.words-lit": "words light one after another",
|
|
2270
|
+
"move.blur-in": "headings come from blur into focus"
|
|
2271
|
+
},
|
|
2272
|
+
"defaults": {
|
|
2273
|
+
"arrive": "enter",
|
|
2274
|
+
"leave": "quart-out",
|
|
2275
|
+
"move": "rise"
|
|
2276
|
+
},
|
|
2277
|
+
"presets": {
|
|
2278
|
+
"clear-care": {
|
|
2279
|
+
"arrive": "quart-out",
|
|
2280
|
+
"leave": "quart-out",
|
|
2281
|
+
"move": "rise"
|
|
2282
|
+
},
|
|
2283
|
+
"swiss-grid": {
|
|
2284
|
+
"arrive": "quart-out",
|
|
2285
|
+
"leave": "quart-out",
|
|
2286
|
+
"move": "clip"
|
|
2287
|
+
},
|
|
2288
|
+
"trusted-advisor": {
|
|
2289
|
+
"arrive": "quart-out",
|
|
2290
|
+
"leave": "quart-out",
|
|
2291
|
+
"move": "rise"
|
|
2292
|
+
},
|
|
2293
|
+
"fresh-practice": {
|
|
2294
|
+
"arrive": "expo-out",
|
|
2295
|
+
"leave": "quart-out",
|
|
2296
|
+
"move": "fade"
|
|
2297
|
+
},
|
|
2298
|
+
"gallery-minimal": {
|
|
2299
|
+
"arrive": "expo-out",
|
|
2300
|
+
"leave": "quart-out",
|
|
2301
|
+
"move": "fade"
|
|
2302
|
+
},
|
|
2303
|
+
"warm-editorial": {
|
|
2304
|
+
"arrive": "quart-out",
|
|
2305
|
+
"leave": "quart-out",
|
|
2306
|
+
"move": "mask-rise"
|
|
2307
|
+
},
|
|
2308
|
+
"soft-spa": {
|
|
2309
|
+
"arrive": "expo-out",
|
|
2310
|
+
"leave": "quart-out",
|
|
2311
|
+
"move": "blur-in"
|
|
2312
|
+
},
|
|
2313
|
+
"quiet-luxury": {
|
|
2314
|
+
"arrive": "expo-out",
|
|
2315
|
+
"leave": "expo-out",
|
|
2316
|
+
"move": "fade"
|
|
2317
|
+
},
|
|
2318
|
+
"after-dark": {
|
|
2319
|
+
"arrive": "expo-out",
|
|
2320
|
+
"leave": "quart-out",
|
|
2321
|
+
"move": "mask-rise"
|
|
2322
|
+
},
|
|
2323
|
+
"ink-studio": {
|
|
2324
|
+
"arrive": "quart-out",
|
|
2325
|
+
"leave": "quart-out",
|
|
2326
|
+
"move": "mask-rise"
|
|
2327
|
+
},
|
|
2328
|
+
"night-gallery": {
|
|
2329
|
+
"arrive": "expo-out",
|
|
2330
|
+
"leave": "quart-out",
|
|
2331
|
+
"move": "blur-in"
|
|
2332
|
+
},
|
|
2333
|
+
"tech-studio": {
|
|
2334
|
+
"arrive": "quart-out",
|
|
2335
|
+
"leave": "quart-out",
|
|
2336
|
+
"move": "words-lit"
|
|
2337
|
+
},
|
|
2338
|
+
"morning-glass": {
|
|
2339
|
+
"arrive": "expo-out",
|
|
2340
|
+
"leave": "quart-out",
|
|
2341
|
+
"move": "blur-in"
|
|
2342
|
+
},
|
|
2343
|
+
"holiday-light": {
|
|
2344
|
+
"arrive": "spring",
|
|
2345
|
+
"leave": "quart-out",
|
|
2346
|
+
"move": "rise"
|
|
2347
|
+
},
|
|
2348
|
+
"frosted-portfolio": {
|
|
2349
|
+
"arrive": "expo-out",
|
|
2350
|
+
"leave": "quart-out",
|
|
2351
|
+
"move": "blur-in"
|
|
2352
|
+
},
|
|
2353
|
+
"coral-studio": {
|
|
2354
|
+
"arrive": "pop",
|
|
2355
|
+
"leave": "quart-out",
|
|
2356
|
+
"move": "rise"
|
|
2357
|
+
},
|
|
2358
|
+
"corner-cafe": {
|
|
2359
|
+
"arrive": "spring",
|
|
2360
|
+
"leave": "quart-out",
|
|
2361
|
+
"move": "rise"
|
|
2362
|
+
},
|
|
2363
|
+
"kind-community": {
|
|
2364
|
+
"arrive": "quart-out",
|
|
2365
|
+
"leave": "quart-out",
|
|
2366
|
+
"move": "rise"
|
|
2367
|
+
},
|
|
2368
|
+
"little-ones": {
|
|
2369
|
+
"arrive": "pop",
|
|
2370
|
+
"leave": "quart-out",
|
|
2371
|
+
"move": "rise"
|
|
2372
|
+
},
|
|
2373
|
+
"garden-party": {
|
|
2374
|
+
"arrive": "spring",
|
|
2375
|
+
"leave": "quart-out",
|
|
2376
|
+
"move": "rise"
|
|
2377
|
+
},
|
|
2378
|
+
"bold-maker": {
|
|
2379
|
+
"arrive": "pop",
|
|
2380
|
+
"leave": "quart-out",
|
|
2381
|
+
"move": "mask-rise"
|
|
2382
|
+
},
|
|
2383
|
+
"festival": {
|
|
2384
|
+
"arrive": "pop",
|
|
2385
|
+
"leave": "quart-out",
|
|
2386
|
+
"move": "rise"
|
|
2387
|
+
},
|
|
2388
|
+
"zine": {
|
|
2389
|
+
"arrive": "quart-out",
|
|
2390
|
+
"leave": "quart-out",
|
|
2391
|
+
"move": "clip"
|
|
2392
|
+
},
|
|
2393
|
+
"fresh-market": {
|
|
2394
|
+
"arrive": "spring",
|
|
2395
|
+
"leave": "quart-out",
|
|
2396
|
+
"move": "rise"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"leaveFor": {
|
|
2400
|
+
"enter": "exit",
|
|
2401
|
+
"expo-out": "expo-out",
|
|
2402
|
+
"quart-out": "quart-out",
|
|
2403
|
+
"spring": "quart-out",
|
|
2404
|
+
"pop": "quart-out"
|
|
2405
|
+
},
|
|
2406
|
+
"leaveShare": 0.5,
|
|
2407
|
+
"popLevels": [
|
|
2408
|
+
"lively",
|
|
2409
|
+
"expressive"
|
|
2410
|
+
],
|
|
2411
|
+
"quietLevels": [
|
|
2412
|
+
"subtle"
|
|
2413
|
+
],
|
|
2414
|
+
"quiet": {
|
|
2415
|
+
"riseDistance": 8,
|
|
2416
|
+
"clipFrom": 85,
|
|
2417
|
+
"maskBy": "together"
|
|
2418
|
+
},
|
|
2419
|
+
"planFallback": {
|
|
2420
|
+
"arrive": "enter",
|
|
2421
|
+
"move": "fade",
|
|
2422
|
+
"cover": "fade"
|
|
2423
|
+
},
|
|
2424
|
+
"coverMaxMs": {
|
|
2425
|
+
"cover": 400,
|
|
2426
|
+
"hold": 120,
|
|
2427
|
+
"uncover": 500
|
|
2428
|
+
},
|
|
2429
|
+
"reduced": {
|
|
2430
|
+
"enter": "fade",
|
|
2431
|
+
"enterMaxMs": 200
|
|
2432
|
+
}
|
|
2433
|
+
} as const;
|
|
2434
|
+
|
|
2138
2435
|
export const SPEC_MOODS = {
|
|
2139
2436
|
"calm": "Calm",
|
|
2140
2437
|
"warm": "Warm",
|
|
@@ -2298,7 +2595,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2298
2595
|
"moves": {
|
|
2299
2596
|
"scroll": "extra",
|
|
2300
2597
|
"animate": "subtle",
|
|
2301
|
-
"between": "
|
|
2598
|
+
"between": "interstitial"
|
|
2302
2599
|
},
|
|
2303
2600
|
"modes": [
|
|
2304
2601
|
"light",
|
|
@@ -2331,7 +2628,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2331
2628
|
"moves": {
|
|
2332
2629
|
"scroll": "smooth",
|
|
2333
2630
|
"animate": "subtle",
|
|
2334
|
-
"between": "
|
|
2631
|
+
"between": "interstitial"
|
|
2335
2632
|
},
|
|
2336
2633
|
"modes": [
|
|
2337
2634
|
"light"
|
|
@@ -2428,7 +2725,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2428
2725
|
"moves": {
|
|
2429
2726
|
"scroll": "smooth",
|
|
2430
2727
|
"animate": "expressive",
|
|
2431
|
-
"between": "
|
|
2728
|
+
"between": "flood"
|
|
2432
2729
|
},
|
|
2433
2730
|
"modes": [
|
|
2434
2731
|
"dark"
|
|
@@ -2460,7 +2757,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2460
2757
|
"moves": {
|
|
2461
2758
|
"scroll": "normal",
|
|
2462
2759
|
"animate": "standard",
|
|
2463
|
-
"between": "
|
|
2760
|
+
"between": "wipe"
|
|
2464
2761
|
},
|
|
2465
2762
|
"modes": [
|
|
2466
2763
|
"dark"
|
|
@@ -2492,7 +2789,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2492
2789
|
"moves": {
|
|
2493
2790
|
"scroll": "extra",
|
|
2494
2791
|
"animate": "subtle",
|
|
2495
|
-
"between": "
|
|
2792
|
+
"between": "veil"
|
|
2496
2793
|
},
|
|
2497
2794
|
"modes": [
|
|
2498
2795
|
"dark",
|
|
@@ -2590,7 +2887,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2590
2887
|
"moves": {
|
|
2591
2888
|
"scroll": "smooth",
|
|
2592
2889
|
"animate": "lively",
|
|
2593
|
-
"between": "
|
|
2890
|
+
"between": "circle"
|
|
2594
2891
|
},
|
|
2595
2892
|
"modes": [
|
|
2596
2893
|
"light"
|
|
@@ -2748,7 +3045,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2748
3045
|
"moves": {
|
|
2749
3046
|
"scroll": "normal",
|
|
2750
3047
|
"animate": "lively",
|
|
2751
|
-
"between": "
|
|
3048
|
+
"between": "circle"
|
|
2752
3049
|
},
|
|
2753
3050
|
"modes": [
|
|
2754
3051
|
"light"
|
|
@@ -2811,7 +3108,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2811
3108
|
"moves": {
|
|
2812
3109
|
"scroll": "normal",
|
|
2813
3110
|
"animate": "expressive",
|
|
2814
|
-
"between": "
|
|
3111
|
+
"between": "flood"
|
|
2815
3112
|
},
|
|
2816
3113
|
"modes": [
|
|
2817
3114
|
"light"
|
|
@@ -2843,7 +3140,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2843
3140
|
"moves": {
|
|
2844
3141
|
"scroll": "normal",
|
|
2845
3142
|
"animate": "lively",
|
|
2846
|
-
"between": "
|
|
3143
|
+
"between": "circle"
|
|
2847
3144
|
},
|
|
2848
3145
|
"modes": [
|
|
2849
3146
|
"light",
|
|
@@ -2876,7 +3173,7 @@ export const SPEC_STYLE_PRESETS = [
|
|
|
2876
3173
|
"moves": {
|
|
2877
3174
|
"scroll": "normal",
|
|
2878
3175
|
"animate": "expressive",
|
|
2879
|
-
"between": "
|
|
3176
|
+
"between": "wipe"
|
|
2880
3177
|
},
|
|
2881
3178
|
"modes": [
|
|
2882
3179
|
"light"
|
|
@@ -6358,21 +6655,28 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6358
6655
|
"tier": "semantic",
|
|
6359
6656
|
"type": "easing",
|
|
6360
6657
|
"group": "motion",
|
|
6361
|
-
"value": "cubic-bezier(0.
|
|
6658
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
"name": "ease-pop",
|
|
6662
|
+
"tier": "semantic",
|
|
6663
|
+
"type": "easing",
|
|
6664
|
+
"group": "motion",
|
|
6665
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
6362
6666
|
},
|
|
6363
6667
|
{
|
|
6364
6668
|
"name": "ease-spring",
|
|
6365
6669
|
"tier": "semantic",
|
|
6366
6670
|
"type": "easing",
|
|
6367
6671
|
"group": "motion",
|
|
6368
|
-
"value": "
|
|
6672
|
+
"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)"
|
|
6369
6673
|
},
|
|
6370
6674
|
{
|
|
6371
6675
|
"name": "dur-spring",
|
|
6372
6676
|
"tier": "semantic",
|
|
6373
6677
|
"type": "duration",
|
|
6374
6678
|
"group": "motion",
|
|
6375
|
-
"value": "
|
|
6679
|
+
"value": "320ms"
|
|
6376
6680
|
},
|
|
6377
6681
|
{
|
|
6378
6682
|
"name": "hover-lift",
|
|
@@ -8698,21 +9002,28 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
8698
9002
|
"tier": "semantic",
|
|
8699
9003
|
"type": "easing",
|
|
8700
9004
|
"group": "motion",
|
|
8701
|
-
"value": "cubic-bezier(0.
|
|
9005
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
"name": "ease-pop",
|
|
9009
|
+
"tier": "semantic",
|
|
9010
|
+
"type": "easing",
|
|
9011
|
+
"group": "motion",
|
|
9012
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
8702
9013
|
},
|
|
8703
9014
|
{
|
|
8704
9015
|
"name": "ease-spring",
|
|
8705
9016
|
"tier": "semantic",
|
|
8706
9017
|
"type": "easing",
|
|
8707
9018
|
"group": "motion",
|
|
8708
|
-
"value": "
|
|
9019
|
+
"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)"
|
|
8709
9020
|
},
|
|
8710
9021
|
{
|
|
8711
9022
|
"name": "dur-spring",
|
|
8712
9023
|
"tier": "semantic",
|
|
8713
9024
|
"type": "duration",
|
|
8714
9025
|
"group": "motion",
|
|
8715
|
-
"value": "
|
|
9026
|
+
"value": "800ms"
|
|
8716
9027
|
},
|
|
8717
9028
|
{
|
|
8718
9029
|
"name": "hover-lift",
|
|
@@ -11070,21 +11381,28 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
11070
11381
|
"tier": "semantic",
|
|
11071
11382
|
"type": "easing",
|
|
11072
11383
|
"group": "motion",
|
|
11073
|
-
"value": "cubic-bezier(0.
|
|
11384
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
11385
|
+
},
|
|
11386
|
+
{
|
|
11387
|
+
"name": "ease-pop",
|
|
11388
|
+
"tier": "semantic",
|
|
11389
|
+
"type": "easing",
|
|
11390
|
+
"group": "motion",
|
|
11391
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
11074
11392
|
},
|
|
11075
11393
|
{
|
|
11076
11394
|
"name": "ease-spring",
|
|
11077
11395
|
"tier": "semantic",
|
|
11078
11396
|
"type": "easing",
|
|
11079
11397
|
"group": "motion",
|
|
11080
|
-
"value": "
|
|
11398
|
+
"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)"
|
|
11081
11399
|
},
|
|
11082
11400
|
{
|
|
11083
11401
|
"name": "dur-spring",
|
|
11084
11402
|
"tier": "semantic",
|
|
11085
11403
|
"type": "duration",
|
|
11086
11404
|
"group": "motion",
|
|
11087
|
-
"value": "
|
|
11405
|
+
"value": "320ms"
|
|
11088
11406
|
},
|
|
11089
11407
|
{
|
|
11090
11408
|
"name": "hover-lift",
|
|
@@ -13438,7 +13756,14 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
13438
13756
|
"tier": "semantic",
|
|
13439
13757
|
"type": "easing",
|
|
13440
13758
|
"group": "motion",
|
|
13441
|
-
"value": "cubic-bezier(0.
|
|
13759
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
13760
|
+
},
|
|
13761
|
+
{
|
|
13762
|
+
"name": "ease-pop",
|
|
13763
|
+
"tier": "semantic",
|
|
13764
|
+
"type": "easing",
|
|
13765
|
+
"group": "motion",
|
|
13766
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
13442
13767
|
},
|
|
13443
13768
|
{
|
|
13444
13769
|
"name": "ease-spring",
|
|
@@ -15819,7 +16144,14 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
15819
16144
|
"tier": "semantic",
|
|
15820
16145
|
"type": "easing",
|
|
15821
16146
|
"group": "motion",
|
|
15822
|
-
"value": "cubic-bezier(0.
|
|
16147
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
16148
|
+
},
|
|
16149
|
+
{
|
|
16150
|
+
"name": "ease-pop",
|
|
16151
|
+
"tier": "semantic",
|
|
16152
|
+
"type": "easing",
|
|
16153
|
+
"group": "motion",
|
|
16154
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
15823
16155
|
},
|
|
15824
16156
|
{
|
|
15825
16157
|
"name": "ease-spring",
|
|
@@ -18169,21 +18501,28 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
18169
18501
|
"tier": "semantic",
|
|
18170
18502
|
"type": "easing",
|
|
18171
18503
|
"group": "motion",
|
|
18172
|
-
"value": "cubic-bezier(0.
|
|
18504
|
+
"value": "cubic-bezier(0.25, 1, 0.5, 1)"
|
|
18505
|
+
},
|
|
18506
|
+
{
|
|
18507
|
+
"name": "ease-pop",
|
|
18508
|
+
"tier": "semantic",
|
|
18509
|
+
"type": "easing",
|
|
18510
|
+
"group": "motion",
|
|
18511
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
18173
18512
|
},
|
|
18174
18513
|
{
|
|
18175
18514
|
"name": "ease-spring",
|
|
18176
18515
|
"tier": "semantic",
|
|
18177
18516
|
"type": "easing",
|
|
18178
18517
|
"group": "motion",
|
|
18179
|
-
"value": "
|
|
18518
|
+
"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)"
|
|
18180
18519
|
},
|
|
18181
18520
|
{
|
|
18182
18521
|
"name": "dur-spring",
|
|
18183
18522
|
"tier": "semantic",
|
|
18184
18523
|
"type": "duration",
|
|
18185
18524
|
"group": "motion",
|
|
18186
|
-
"value": "
|
|
18525
|
+
"value": "240ms"
|
|
18187
18526
|
},
|
|
18188
18527
|
{
|
|
18189
18528
|
"name": "hover-lift",
|
|
@@ -5,13 +5,16 @@ import { SPEC_AXES } from './flavor-spec.generated';
|
|
|
5
5
|
import {
|
|
6
6
|
DesignChoices, DesignTokenRow, FlavorPackV2, FlavorSpecToken, flavorSourceStamp, PRE_MOTION, USER_TOKEN_SOURCE,
|
|
7
7
|
} from './design-token.model';
|
|
8
|
+
import { motionCurve, motionLanguageOf } from './motion-language';
|
|
9
|
+
import { stylePresetOfChoices } from './style-presets';
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
12
|
* A flavor's COMPLETE token set for a studio's choices (design-system plan §3a/§3e). A flavor IS
|
|
11
13
|
* its token values, so switching flavor — or any choice — rewrites token rows and nothing else.
|
|
12
14
|
*
|
|
13
15
|
* Layering, each step over the last (the boards' `tokenMap`, with the product's colour math):
|
|
14
|
-
* pack tokens → chosen font pair → shape · density · motion axes →
|
|
16
|
+
* pack tokens → chosen font pair → shape · density · motion axes → the look's motion language (AW3:
|
|
17
|
+
* ease-enter / ease-exit from Feel) → pill-button rule →
|
|
15
18
|
* the author's own font roles → every COLOUR token from the brand seed and the background tint
|
|
16
19
|
* (`flavorColours`, DS9: tinted neutrals, the accent quartet, the held contrast pairs).
|
|
17
20
|
*
|
|
@@ -24,6 +27,8 @@ const BUTTON_RADIUS = 'button-radius';
|
|
|
24
27
|
const PILL_RADIUS = 'var(--iox-radius-pill)';
|
|
25
28
|
const CONTROL_RADIUS = 'var(--iox-radius-sm)';
|
|
26
29
|
const USER_FONT_FALLBACK = 'system-ui, sans-serif';
|
|
30
|
+
const EASE_ENTER = 'ease-enter';
|
|
31
|
+
const EASE_EXIT = 'ease-exit';
|
|
27
32
|
|
|
28
33
|
type AxisTable = Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
29
34
|
|
|
@@ -87,6 +92,12 @@ export function buildFlavorTokens(pack: FlavorPackV2, choices: DesignChoices): D
|
|
|
87
92
|
...axisValues(axes.motions, choices.motion),
|
|
88
93
|
]) set(name, value);
|
|
89
94
|
|
|
95
|
+
// AW3 (MB-D1, MB-D5): the look's own arrival and leave — every entrance, dialog and menu moves on them.
|
|
96
|
+
const language = motionLanguageOf(choices, stylePresetOfChoices(choices)?.id);
|
|
97
|
+
const tokenValue = (name: string) => byName.get(name)?.value;
|
|
98
|
+
set(EASE_ENTER, motionCurve(language.arrive, tokenValue));
|
|
99
|
+
set(EASE_EXIT, motionCurve(language.leave, tokenValue));
|
|
100
|
+
|
|
90
101
|
const buttonRadius = pack.tokens.find(t => t.name === BUTTON_RADIUS);
|
|
91
102
|
set(BUTTON_RADIUS, choices.pillButtons ? PILL_RADIUS : (buttonRadius?.overridden ? buttonRadius.value : CONTROL_RADIUS));
|
|
92
103
|
|