@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
|
@@ -72,7 +72,9 @@ export const SPEC_SITE_PLAN_SHAPE = {
|
|
|
72
72
|
"fonts?": "object — uploaded font families per role (DS5)",
|
|
73
73
|
"scroll?": "string — axes.scrolls: how the site scrolls (rev 3.1; absent = axes.motionChoices.pre)",
|
|
74
74
|
"animate?": "string — axes.animations: how much the sections move in as they scroll into view",
|
|
75
|
-
"between?": "string — axes.betweens: what plays between pages"
|
|
75
|
+
"between?": "string — axes.betweens: what plays between pages",
|
|
76
|
+
"feel?": "string — motionLanguage.arrive: the curve things arrive on, the leave follows it (AW3, MB-D5; absent = motionLanguage.defaults.arrive)",
|
|
77
|
+
"headings?": "string — motionLanguage.move: how headings arrive (AW3; absent = each How animated level's own heading)"
|
|
76
78
|
},
|
|
77
79
|
"contentType": {
|
|
78
80
|
"name": "string — unique",
|
|
@@ -7937,6 +7939,69 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
7937
7939
|
"inBar.icons": "small icons (sound, theme, chat) in the bar",
|
|
7938
7940
|
"inBar.search": "a search field in the bar"
|
|
7939
7941
|
},
|
|
7942
|
+
"meaningsHe": {
|
|
7943
|
+
"arrange.split": "השם בתחילת הפס, הדפים בסופו",
|
|
7944
|
+
"arrange.centred": "השם במרכז, הדפים מתחתיו",
|
|
7945
|
+
"arrange.between": "הדפים משני צדי שם ממורכז",
|
|
7946
|
+
"arrange.name-only": "רק השם וכפתור תפריט, בכל רוחב",
|
|
7947
|
+
"menuSide.end": "כפתור התפריט בסוף הפס",
|
|
7948
|
+
"menuSide.start": "כפתור התפריט בתחילת הפס",
|
|
7949
|
+
"pages.inline": "כל הדפים בפס",
|
|
7950
|
+
"pages.menu": "הדפים מאחורי התפריט",
|
|
7951
|
+
"pages.menu-pinned": "הדפים מאחורי התפריט, ודף מרכזי אחד או שניים נשארים בפס",
|
|
7952
|
+
"menu.drawer": "מגירה שנפתחת מהקצה של כפתור התפריט",
|
|
7953
|
+
"menu.full": "אינדקס גדול של שמות הדפים על כל המסך",
|
|
7954
|
+
"menu.panel": "לוח שיורד מלמעלה, בגובה התוכן שלו",
|
|
7955
|
+
"menu.card": "כרטיס שנפתח מהפינה של כפתור התפריט",
|
|
7956
|
+
"menu.mega": "לוח רחב מתחת לפס, הדפים בטורים",
|
|
7957
|
+
"menuShows.links": "שמות הדפים",
|
|
7958
|
+
"menuShows.pictures": "כרטיסים עם תמונה לאוספים הראשיים, ליד שמות הדפים",
|
|
7959
|
+
"menuShows.big": "שמות הדפים, בגדול",
|
|
7960
|
+
"menuShows.two-levels": "מדורים, והפריטים של המדור שתחת העכבר עם המספר שלהם",
|
|
7961
|
+
"menuShows.words-card": "שמות הדפים בגדול, וכרטיס (תמונה או סרטון) לצידם",
|
|
7962
|
+
"action.none": "בלי קריאה לפעולה",
|
|
7963
|
+
"action.button": "כפתור אחד",
|
|
7964
|
+
"action.link": "קישור שקט אחד",
|
|
7965
|
+
"action.two": "כפתור מלא וכפתור עם מסגרת",
|
|
7966
|
+
"ground.solid": "רקע משלו",
|
|
7967
|
+
"ground.over": "מעל הפתיחה, שקוף עד שהדף זז",
|
|
7968
|
+
"ground.glass": "זכוכית חלבית (מראה עם טשטוש)",
|
|
7969
|
+
"ground.blend": "נבלע במה שמתחתיו, קריא מעל כל תמונה",
|
|
7970
|
+
"shape.bar": "פס ברוחב מלא",
|
|
7971
|
+
"shape.pill": "פס מעוגל אחד שמרחף",
|
|
7972
|
+
"shape.islands": "גלולות נפרדות שמרחפות",
|
|
7973
|
+
"brand.fits": "השם נכנס בפס",
|
|
7974
|
+
"brand.hangs": "לוגו גדול מהפס, שתלוי מתחתיו",
|
|
7975
|
+
"brand.later": "השם מגיע כשהדף זז",
|
|
7976
|
+
"scroll.stays": "תמיד שם",
|
|
7977
|
+
"scroll.hides": "נעלם בגלילה למטה, חוזר בגלילה למעלה",
|
|
7978
|
+
"scroll.away": "נגלל יחד עם הדף",
|
|
7979
|
+
"edge.fade": "צל רך מתחתיו כשהדף זז",
|
|
7980
|
+
"edge.line": "קו דק מתחתיו כשהדף זז",
|
|
7981
|
+
"edge.none": "בלי קצה",
|
|
7982
|
+
"phone.drawer": "מגירה בטלפון",
|
|
7983
|
+
"phone.bar": "פס תחתון בטלפון",
|
|
7984
|
+
"phone.both": "פס תחתון ומגירה בטלפון",
|
|
7985
|
+
"phone.full": "אינדקס על כל המסך בטלפון",
|
|
7986
|
+
"reveal.slide": "מחליק פנימה: מגירה מהקצה שלה, כל תפריט אחר בירידה קצרה",
|
|
7987
|
+
"reveal.fade": "נכנס בדהייה",
|
|
7988
|
+
"reveal.zoom": "גדל מהפינה של כפתור התפריט",
|
|
7989
|
+
"reveal.circle": "עיגול שנפתח מכפתור התפריט",
|
|
7990
|
+
"reveal.torn": "קצה קרוע שנפתח מכפתור התפריט, עם שוליים בצבע המבטא",
|
|
7991
|
+
"button.lines": "שלושה קווים שהופכים לאיקס",
|
|
7992
|
+
"button.word": "המילה תפריט, שהופכת לסגירה",
|
|
7993
|
+
"button.dots": "תשע נקודות שמתפזרות תחת העכבר והופכות לאיקס",
|
|
7994
|
+
"menuHover.line": "קו נמתח מתחת לשם הדף",
|
|
7995
|
+
"menuHover.dim": "שאר שמות הדפים מתעמעמים",
|
|
7996
|
+
"menuHover.row": "השורה שתחת העכבר מוארת",
|
|
7997
|
+
"menuHover.none": "שום דבר לא זז תחת העכבר",
|
|
7998
|
+
"above.none": "שום דבר מעל הפס",
|
|
7999
|
+
"above.announcement": "שורה אחת של חדשות מעל הפס",
|
|
8000
|
+
"above.marquee": "פס נע של מילים מעל הפס",
|
|
8001
|
+
"inBar.none": "שום דבר נוסף בפס",
|
|
8002
|
+
"inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס",
|
|
8003
|
+
"inBar.search": "שדה חיפוש בפס"
|
|
8004
|
+
},
|
|
7940
8005
|
"waits": {
|
|
7941
8006
|
"menuShows.pictures": {
|
|
7942
8007
|
"phase": "HI2",
|
|
@@ -8024,6 +8089,76 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
8024
8089
|
"arrange": "centred"
|
|
8025
8090
|
}
|
|
8026
8091
|
},
|
|
8092
|
+
"gallery": [
|
|
8093
|
+
{
|
|
8094
|
+
"id": "studio",
|
|
8095
|
+
"name": "Studio",
|
|
8096
|
+
"nameHe": "סטודיו",
|
|
8097
|
+
"words": "Name and pages · one button · drawer on a phone",
|
|
8098
|
+
"wordsHe": "שם ודפים · כפתור אחד · מגירה בטלפון",
|
|
8099
|
+
"mix": {}
|
|
8100
|
+
},
|
|
8101
|
+
{
|
|
8102
|
+
"id": "card",
|
|
8103
|
+
"name": "Card from the button",
|
|
8104
|
+
"nameHe": "כרטיס מהכפתור",
|
|
8105
|
+
"words": "Name and menu · a card · circle · dots",
|
|
8106
|
+
"wordsHe": "שם ותפריט · כרטיס · עיגול · נקודות",
|
|
8107
|
+
"mix": {
|
|
8108
|
+
"arrange": "name-only",
|
|
8109
|
+
"pages": "menu",
|
|
8110
|
+
"menu": "card",
|
|
8111
|
+
"reveal": "circle",
|
|
8112
|
+
"button": "dots",
|
|
8113
|
+
"menuHover": "dim",
|
|
8114
|
+
"action": "none"
|
|
8115
|
+
}
|
|
8116
|
+
},
|
|
8117
|
+
{
|
|
8118
|
+
"id": "directory",
|
|
8119
|
+
"name": "Directory",
|
|
8120
|
+
"nameHe": "מדריך",
|
|
8121
|
+
"words": "Stays · a line once scrolled · two actions",
|
|
8122
|
+
"wordsHe": "נשאר למעלה · קו כשגוללים · שתי פעולות",
|
|
8123
|
+
"mix": {
|
|
8124
|
+
"action": "two",
|
|
8125
|
+
"scroll": "stays",
|
|
8126
|
+
"edge": "line",
|
|
8127
|
+
"menuHover": "row"
|
|
8128
|
+
}
|
|
8129
|
+
},
|
|
8130
|
+
{
|
|
8131
|
+
"id": "index",
|
|
8132
|
+
"name": "Index",
|
|
8133
|
+
"nameHe": "אינדקס",
|
|
8134
|
+
"words": "Name and menu · the full screen · the word Menu",
|
|
8135
|
+
"wordsHe": "שם ותפריט · כל המסך · המילה תפריט",
|
|
8136
|
+
"mix": {
|
|
8137
|
+
"arrange": "name-only",
|
|
8138
|
+
"pages": "menu",
|
|
8139
|
+
"menu": "full",
|
|
8140
|
+
"reveal": "fade",
|
|
8141
|
+
"button": "word",
|
|
8142
|
+
"action": "none",
|
|
8143
|
+
"phone": "full"
|
|
8144
|
+
}
|
|
8145
|
+
},
|
|
8146
|
+
{
|
|
8147
|
+
"id": "shop-first",
|
|
8148
|
+
"name": "Shop first",
|
|
8149
|
+
"nameHe": "החנות קודם",
|
|
8150
|
+
"words": "Menu at the start · the shop kept · a top panel",
|
|
8151
|
+
"wordsHe": "תפריט בהתחלה · החנות נשארת · לוח עליון",
|
|
8152
|
+
"mix": {
|
|
8153
|
+
"arrange": "name-only",
|
|
8154
|
+
"menuSide": "start",
|
|
8155
|
+
"pages": "menu-pinned",
|
|
8156
|
+
"menu": "panel",
|
|
8157
|
+
"reveal": "slide",
|
|
8158
|
+
"action": "none"
|
|
8159
|
+
}
|
|
8160
|
+
}
|
|
8161
|
+
],
|
|
8027
8162
|
"navKinds": {
|
|
8028
8163
|
"bar": {},
|
|
8029
8164
|
"corner": {
|
|
@@ -9878,8 +10013,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
9878
10013
|
"leave": [
|
|
9879
10014
|
"exit",
|
|
9880
10015
|
"expo-out",
|
|
9881
|
-
"quart-out"
|
|
9882
|
-
"in-out"
|
|
10016
|
+
"quart-out"
|
|
9883
10017
|
],
|
|
9884
10018
|
"move": [
|
|
9885
10019
|
"rise",
|
|
@@ -9945,10 +10079,9 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
9945
10079
|
"arrive.quart-out": "a quick start, a firm landing",
|
|
9946
10080
|
"arrive.spring": "the look's spring, settling with a little give",
|
|
9947
10081
|
"arrive.pop": "settles just past its place and back (Lively and Expressive looks only)",
|
|
9948
|
-
"leave.exit": "
|
|
10082
|
+
"leave.exit": "leaves quickly and firmly (the stand-in name of quart-out — MB-D1)",
|
|
9949
10083
|
"leave.expo-out": "leaves fast, fades out softly",
|
|
9950
10084
|
"leave.quart-out": "leaves quickly and firmly",
|
|
9951
|
-
"leave.in-out": "leaves measured, like a machine",
|
|
9952
10085
|
"move.rise": "headings rise into place",
|
|
9953
10086
|
"move.mask-rise": "heading lines rise out of their own masks, one by one",
|
|
9954
10087
|
"move.clip": "headings and pictures open from one side",
|
|
@@ -9991,62 +10124,6 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
9991
10124
|
"micro.odometer": "a price's digits roll when the period changes"
|
|
9992
10125
|
},
|
|
9993
10126
|
"waits": {
|
|
9994
|
-
"arrive.expo-out": {
|
|
9995
|
-
"phase": "AW3",
|
|
9996
|
-
"drawnAs": "enter"
|
|
9997
|
-
},
|
|
9998
|
-
"arrive.quart-out": {
|
|
9999
|
-
"phase": "AW3",
|
|
10000
|
-
"drawnAs": "enter"
|
|
10001
|
-
},
|
|
10002
|
-
"arrive.spring": {
|
|
10003
|
-
"phase": "AW3",
|
|
10004
|
-
"drawnAs": "enter"
|
|
10005
|
-
},
|
|
10006
|
-
"arrive.pop": {
|
|
10007
|
-
"phase": "AW3",
|
|
10008
|
-
"drawnAs": "enter"
|
|
10009
|
-
},
|
|
10010
|
-
"leave.expo-out": {
|
|
10011
|
-
"phase": "AW3",
|
|
10012
|
-
"drawnAs": "exit"
|
|
10013
|
-
},
|
|
10014
|
-
"leave.quart-out": {
|
|
10015
|
-
"phase": "AW3",
|
|
10016
|
-
"drawnAs": "exit"
|
|
10017
|
-
},
|
|
10018
|
-
"leave.in-out": {
|
|
10019
|
-
"phase": "AW3",
|
|
10020
|
-
"drawnAs": "exit"
|
|
10021
|
-
},
|
|
10022
|
-
"move.blur-in": {
|
|
10023
|
-
"phase": "AW3",
|
|
10024
|
-
"drawnAs": "fade"
|
|
10025
|
-
},
|
|
10026
|
-
"cover.flood": {
|
|
10027
|
-
"phase": "AW4",
|
|
10028
|
-
"drawnAs": "fade"
|
|
10029
|
-
},
|
|
10030
|
-
"cover.wipe": {
|
|
10031
|
-
"phase": "AW4",
|
|
10032
|
-
"drawnAs": "fade"
|
|
10033
|
-
},
|
|
10034
|
-
"cover.circle": {
|
|
10035
|
-
"phase": "AW4",
|
|
10036
|
-
"drawnAs": "fade"
|
|
10037
|
-
},
|
|
10038
|
-
"cover.veil": {
|
|
10039
|
-
"phase": "AW4",
|
|
10040
|
-
"drawnAs": "fade"
|
|
10041
|
-
},
|
|
10042
|
-
"cover.interstitial": {
|
|
10043
|
-
"phase": "AW4",
|
|
10044
|
-
"drawnAs": "fade"
|
|
10045
|
-
},
|
|
10046
|
-
"cover.controls": {
|
|
10047
|
-
"phase": "AW4",
|
|
10048
|
-
"drawnAs": "none"
|
|
10049
|
-
},
|
|
10050
10127
|
"preloader.mark": {
|
|
10051
10128
|
"phase": "AW5",
|
|
10052
10129
|
"drawnAs": "none"
|
|
@@ -10130,7 +10207,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10130
10207
|
},
|
|
10131
10208
|
"defaults": {
|
|
10132
10209
|
"arrive": "enter",
|
|
10133
|
-
"leave": "
|
|
10210
|
+
"leave": "quart-out",
|
|
10134
10211
|
"move": "rise",
|
|
10135
10212
|
"cover": "none",
|
|
10136
10213
|
"preloader": "none",
|
|
@@ -10141,7 +10218,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10141
10218
|
},
|
|
10142
10219
|
"curves": {
|
|
10143
10220
|
"enter": "cubic-bezier(0.05, 0.7, 0.1, 1)",
|
|
10144
|
-
"exit": "cubic-bezier(0.
|
|
10221
|
+
"exit": "cubic-bezier(0.25, 1, 0.5, 1)",
|
|
10145
10222
|
"expo-out": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
10146
10223
|
"quart-out": "cubic-bezier(0.25, 1, 0.5, 1)",
|
|
10147
10224
|
"in-out": "cubic-bezier(0.65, 0, 0.35, 1)",
|
|
@@ -10153,13 +10230,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10153
10230
|
"arrive": "ease-enter",
|
|
10154
10231
|
"leave": "ease-exit"
|
|
10155
10232
|
},
|
|
10156
|
-
"add": [
|
|
10157
|
-
{
|
|
10158
|
-
"name": "ease-pop",
|
|
10159
|
-
"phase": "AW3",
|
|
10160
|
-
"from": "pop"
|
|
10161
|
-
}
|
|
10162
|
-
]
|
|
10233
|
+
"add": []
|
|
10163
10234
|
},
|
|
10164
10235
|
"fingerprint": [
|
|
10165
10236
|
"move",
|
|
@@ -10176,7 +10247,32 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10176
10247
|
"popLevels": [
|
|
10177
10248
|
"lively",
|
|
10178
10249
|
"expressive"
|
|
10179
|
-
]
|
|
10250
|
+
],
|
|
10251
|
+
"leaveFor": {
|
|
10252
|
+
"enter": "exit",
|
|
10253
|
+
"expo-out": "expo-out",
|
|
10254
|
+
"quart-out": "quart-out",
|
|
10255
|
+
"spring": "quart-out",
|
|
10256
|
+
"pop": "quart-out"
|
|
10257
|
+
},
|
|
10258
|
+
"quietLevels": [
|
|
10259
|
+
"subtle"
|
|
10260
|
+
],
|
|
10261
|
+
"quiet": {
|
|
10262
|
+
"riseDistance": 8,
|
|
10263
|
+
"clipFrom": 85,
|
|
10264
|
+
"maskBy": "together"
|
|
10265
|
+
},
|
|
10266
|
+
"planFallback": {
|
|
10267
|
+
"arrive": "enter",
|
|
10268
|
+
"move": "fade",
|
|
10269
|
+
"cover": "fade"
|
|
10270
|
+
},
|
|
10271
|
+
"coverMaxMs": {
|
|
10272
|
+
"cover": 400,
|
|
10273
|
+
"hold": 120,
|
|
10274
|
+
"uncover": 500
|
|
10275
|
+
}
|
|
10180
10276
|
},
|
|
10181
10277
|
"reduced": {
|
|
10182
10278
|
"phase": "AW3",
|
|
@@ -10195,6 +10291,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10195
10291
|
"tiers": {
|
|
10196
10292
|
"arrive.enter": "all",
|
|
10197
10293
|
"leave.exit": "all",
|
|
10294
|
+
"leave.quart-out": "all",
|
|
10198
10295
|
"move.rise": "all",
|
|
10199
10296
|
"move.mask-rise": "all",
|
|
10200
10297
|
"move.clip": "all",
|
|
@@ -10212,13 +10309,16 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10212
10309
|
"rules.preloaderCapMs": "all",
|
|
10213
10310
|
"rules.preloaderLevels": "all",
|
|
10214
10311
|
"rules.popLevels": "all",
|
|
10312
|
+
"rules.leaveFor": "all",
|
|
10313
|
+
"rules.quietLevels": "all",
|
|
10314
|
+
"rules.quiet": "all",
|
|
10315
|
+
"rules.planFallback": "all",
|
|
10316
|
+
"rules.coverMaxMs": "all",
|
|
10215
10317
|
"arrive.expo-out": "pro",
|
|
10216
10318
|
"arrive.quart-out": "pro",
|
|
10217
10319
|
"arrive.spring": "pro",
|
|
10218
10320
|
"arrive.pop": "pro",
|
|
10219
10321
|
"leave.expo-out": "pro",
|
|
10220
|
-
"leave.quart-out": "pro",
|
|
10221
|
-
"leave.in-out": "pro",
|
|
10222
10322
|
"move.blur-in": "pro",
|
|
10223
10323
|
"cover.flood": "pro",
|
|
10224
10324
|
"cover.wipe": "pro",
|
|
@@ -10250,13 +10350,13 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10250
10350
|
"presets": {
|
|
10251
10351
|
"clear-care": {
|
|
10252
10352
|
"arrive": "quart-out",
|
|
10253
|
-
"leave": "
|
|
10353
|
+
"leave": "quart-out",
|
|
10254
10354
|
"move": "rise",
|
|
10255
10355
|
"cover": "fade"
|
|
10256
10356
|
},
|
|
10257
10357
|
"swiss-grid": {
|
|
10258
10358
|
"arrive": "quart-out",
|
|
10259
|
-
"leave": "
|
|
10359
|
+
"leave": "quart-out",
|
|
10260
10360
|
"move": "clip",
|
|
10261
10361
|
"cover": "none",
|
|
10262
10362
|
"micro": [
|
|
@@ -10265,13 +10365,13 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10265
10365
|
},
|
|
10266
10366
|
"trusted-advisor": {
|
|
10267
10367
|
"arrive": "quart-out",
|
|
10268
|
-
"leave": "
|
|
10368
|
+
"leave": "quart-out",
|
|
10269
10369
|
"move": "rise",
|
|
10270
10370
|
"cover": "fade"
|
|
10271
10371
|
},
|
|
10272
10372
|
"fresh-practice": {
|
|
10273
10373
|
"arrive": "expo-out",
|
|
10274
|
-
"leave": "
|
|
10374
|
+
"leave": "quart-out",
|
|
10275
10375
|
"move": "fade",
|
|
10276
10376
|
"cover": "fade"
|
|
10277
10377
|
},
|
|
@@ -10287,7 +10387,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10287
10387
|
},
|
|
10288
10388
|
"warm-editorial": {
|
|
10289
10389
|
"arrive": "quart-out",
|
|
10290
|
-
"leave": "
|
|
10390
|
+
"leave": "quart-out",
|
|
10291
10391
|
"move": "mask-rise",
|
|
10292
10392
|
"cover": "interstitial",
|
|
10293
10393
|
"micro": [
|
|
@@ -10296,7 +10396,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10296
10396
|
},
|
|
10297
10397
|
"soft-spa": {
|
|
10298
10398
|
"arrive": "expo-out",
|
|
10299
|
-
"leave": "
|
|
10399
|
+
"leave": "quart-out",
|
|
10300
10400
|
"move": "blur-in",
|
|
10301
10401
|
"cover": "fade",
|
|
10302
10402
|
"loops": "drift"
|
|
@@ -10310,7 +10410,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10310
10410
|
},
|
|
10311
10411
|
"after-dark": {
|
|
10312
10412
|
"arrive": "expo-out",
|
|
10313
|
-
"leave": "
|
|
10413
|
+
"leave": "quart-out",
|
|
10314
10414
|
"move": "mask-rise",
|
|
10315
10415
|
"cover": "flood",
|
|
10316
10416
|
"preloader": "mark",
|
|
@@ -10323,7 +10423,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10323
10423
|
},
|
|
10324
10424
|
"ink-studio": {
|
|
10325
10425
|
"arrive": "quart-out",
|
|
10326
|
-
"leave": "
|
|
10426
|
+
"leave": "quart-out",
|
|
10327
10427
|
"move": "mask-rise",
|
|
10328
10428
|
"cover": "wipe",
|
|
10329
10429
|
"micro": [
|
|
@@ -10343,7 +10443,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10343
10443
|
},
|
|
10344
10444
|
"tech-studio": {
|
|
10345
10445
|
"arrive": "quart-out",
|
|
10346
|
-
"leave": "
|
|
10446
|
+
"leave": "quart-out",
|
|
10347
10447
|
"move": "words-lit",
|
|
10348
10448
|
"cover": "fade",
|
|
10349
10449
|
"preloader": "counter",
|
|
@@ -10357,13 +10457,13 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10357
10457
|
},
|
|
10358
10458
|
"morning-glass": {
|
|
10359
10459
|
"arrive": "expo-out",
|
|
10360
|
-
"leave": "
|
|
10460
|
+
"leave": "quart-out",
|
|
10361
10461
|
"move": "blur-in",
|
|
10362
10462
|
"cover": "fade"
|
|
10363
10463
|
},
|
|
10364
10464
|
"holiday-light": {
|
|
10365
10465
|
"arrive": "spring",
|
|
10366
|
-
"leave": "
|
|
10466
|
+
"leave": "quart-out",
|
|
10367
10467
|
"move": "rise",
|
|
10368
10468
|
"cover": "circle",
|
|
10369
10469
|
"micro": [
|
|
@@ -10382,7 +10482,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10382
10482
|
},
|
|
10383
10483
|
"coral-studio": {
|
|
10384
10484
|
"arrive": "pop",
|
|
10385
|
-
"leave": "
|
|
10485
|
+
"leave": "quart-out",
|
|
10386
10486
|
"move": "rise",
|
|
10387
10487
|
"cover": "slide",
|
|
10388
10488
|
"micro": [
|
|
@@ -10392,7 +10492,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10392
10492
|
},
|
|
10393
10493
|
"corner-cafe": {
|
|
10394
10494
|
"arrive": "spring",
|
|
10395
|
-
"leave": "
|
|
10495
|
+
"leave": "quart-out",
|
|
10396
10496
|
"move": "rise",
|
|
10397
10497
|
"cover": "slide",
|
|
10398
10498
|
"preloader": "mark",
|
|
@@ -10403,13 +10503,13 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10403
10503
|
},
|
|
10404
10504
|
"kind-community": {
|
|
10405
10505
|
"arrive": "quart-out",
|
|
10406
|
-
"leave": "
|
|
10506
|
+
"leave": "quart-out",
|
|
10407
10507
|
"move": "rise",
|
|
10408
10508
|
"cover": "fade"
|
|
10409
10509
|
},
|
|
10410
10510
|
"little-ones": {
|
|
10411
10511
|
"arrive": "pop",
|
|
10412
|
-
"leave": "
|
|
10512
|
+
"leave": "quart-out",
|
|
10413
10513
|
"move": "rise",
|
|
10414
10514
|
"cover": "circle",
|
|
10415
10515
|
"micro": [
|
|
@@ -10418,14 +10518,14 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10418
10518
|
},
|
|
10419
10519
|
"garden-party": {
|
|
10420
10520
|
"arrive": "spring",
|
|
10421
|
-
"leave": "
|
|
10521
|
+
"leave": "quart-out",
|
|
10422
10522
|
"move": "rise",
|
|
10423
10523
|
"cover": "fade",
|
|
10424
10524
|
"loops": "drift"
|
|
10425
10525
|
},
|
|
10426
10526
|
"bold-maker": {
|
|
10427
10527
|
"arrive": "pop",
|
|
10428
|
-
"leave": "
|
|
10528
|
+
"leave": "quart-out",
|
|
10429
10529
|
"move": "mask-rise",
|
|
10430
10530
|
"cover": "flood",
|
|
10431
10531
|
"preloader": "counter",
|
|
@@ -10439,7 +10539,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10439
10539
|
},
|
|
10440
10540
|
"festival": {
|
|
10441
10541
|
"arrive": "pop",
|
|
10442
|
-
"leave": "
|
|
10542
|
+
"leave": "quart-out",
|
|
10443
10543
|
"move": "rise",
|
|
10444
10544
|
"cover": "circle",
|
|
10445
10545
|
"preloader": "letters",
|
|
@@ -10450,7 +10550,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10450
10550
|
},
|
|
10451
10551
|
"zine": {
|
|
10452
10552
|
"arrive": "quart-out",
|
|
10453
|
-
"leave": "
|
|
10553
|
+
"leave": "quart-out",
|
|
10454
10554
|
"move": "clip",
|
|
10455
10555
|
"cover": "wipe",
|
|
10456
10556
|
"preloader": "letters",
|
|
@@ -10463,7 +10563,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10463
10563
|
},
|
|
10464
10564
|
"fresh-market": {
|
|
10465
10565
|
"arrive": "spring",
|
|
10466
|
-
"leave": "
|
|
10566
|
+
"leave": "quart-out",
|
|
10467
10567
|
"move": "rise",
|
|
10468
10568
|
"cover": "slide",
|
|
10469
10569
|
"micro": [
|
|
@@ -10512,7 +10612,7 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
10512
10612
|
"added": "2026-11-20",
|
|
10513
10613
|
"mix": {
|
|
10514
10614
|
"arrive": "quart-out",
|
|
10515
|
-
"leave": "
|
|
10615
|
+
"leave": "quart-out",
|
|
10516
10616
|
"cover": "veil",
|
|
10517
10617
|
"scrub": "entrances",
|
|
10518
10618
|
"micro": [
|
|
@@ -177,9 +177,24 @@ export interface SiteStudioPage {
|
|
|
177
177
|
readonly updatedAt?: string | null;
|
|
178
178
|
readonly layout?: ReadonlyArray<SerializedNode> | null;
|
|
179
179
|
readonly pageSettings?: { readonly layoutSource?: { readonly runId?: string; readonly pageKey?: string } | null } | null;
|
|
180
|
+
/** The build run that created the page (W2 stamps it on EVERY page it writes — composed by a model or stamped from
|
|
181
|
+
* sections); `layoutSource` names only a model-composed page's run (iox-ui#93). */
|
|
182
|
+
readonly siteBuildId?: string | null;
|
|
180
183
|
}
|
|
181
184
|
|
|
182
|
-
/**
|
|
185
|
+
/** The build that made a page and its plan page: `layoutSource` when the page was composed, else the run that created it
|
|
186
|
+
* (`siteBuildId`) and the plan page at the same route — a page stamped from sections is the build's too (iox-ui#93). */
|
|
187
|
+
export function pageBuildSource(page: SiteStudioPage, runs: ReadonlyMap<string, SiteStudioRun>): { runId?: string; run?: SiteStudioRun; pageKey?: string } {
|
|
188
|
+
const source = page.pageSettings?.layoutSource;
|
|
189
|
+
const runId = source?.runId || page.siteBuildId || undefined;
|
|
190
|
+
const run = runId ? runs.get(runId) : undefined;
|
|
191
|
+
if (!run) return runId ? { runId } : {};
|
|
192
|
+
const route = routeOf(page.route);
|
|
193
|
+
const pageKey = source?.pageKey || run.plan.pages.find(p => p.route === route)?.key;
|
|
194
|
+
return { runId, run, ...(pageKey ? { pageKey } : {}) };
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** A build run the studio's pages name (`layoutSource.runId`, else `siteBuildId`): its plan, when it finished, and the pages its fingerprints
|
|
183
198
|
* say were changed since (`editedPageIds` of its undo preview; null when it could not be read). */
|
|
184
199
|
export interface SiteStudioRun {
|
|
185
200
|
readonly id: string;
|
|
@@ -267,9 +282,8 @@ export function siteTreeOf(studio: SiteStudio): SiteTree {
|
|
|
267
282
|
key: page._id, id: page._id, name: page.name, route, isHome: !!page.isHome, template: isTemplateRoute(route),
|
|
268
283
|
status: page.status, changedAt: page.updatedAt ?? null,
|
|
269
284
|
};
|
|
270
|
-
const
|
|
271
|
-
const
|
|
272
|
-
const planned = run && source?.pageKey ? run.plan.pages.find(p => p.key === source.pageKey) : undefined;
|
|
285
|
+
const { runId, run, pageKey } = pageBuildSource(page, runs);
|
|
286
|
+
const planned = run && pageKey ? run.plan.pages.find(p => p.key === pageKey) : undefined;
|
|
273
287
|
if (run && planned) {
|
|
274
288
|
const known = Array.isArray(run.edited);
|
|
275
289
|
return {
|
|
@@ -284,7 +298,7 @@ export function siteTreeOf(studio: SiteStudio): SiteTree {
|
|
|
284
298
|
const known = !!run && Array.isArray(run.edited);
|
|
285
299
|
return {
|
|
286
300
|
...base, sections: layout.map(handSection), data: handData(layout, studio, label),
|
|
287
|
-
maker: !
|
|
301
|
+
maker: !runId ? SitePageMaker.Owner : known && run!.edited!.includes(page._id) ? SitePageMaker.Edited : SitePageMaker.Built,
|
|
288
302
|
...(run ? { editsKnown: known, builtAt: run.finishedAt ?? null } : {}), items: null,
|
|
289
303
|
};
|
|
290
304
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { flavorPackById, parseHexColor, SPEC_AXES } from '@vectoriox/iox-ui/design-core';
|
|
1
|
+
import { ARRIVE_IDS, flavorPackById, MOVE_IDS, parseHexColor, SPEC_AXES } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
import { formPresetById } from '@vectoriox/iox-ui/forms-core';
|
|
3
3
|
import { filmScreensFor, normalizeFrameSequence } from '@vectoriox/iox-ui/media-core';
|
|
4
4
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
@@ -11,7 +11,9 @@ import { ContentFieldControl, FIELD_TYPE_OF_CONTROL,
|
|
|
11
11
|
SitePlanSourceKind, SITE_LOCALES, SITE_PLAN_VERSION, GenerationTier, STAMPED_PAGE_ARCHETYPES,
|
|
12
12
|
} from './site-plan.model';
|
|
13
13
|
import { pricesIn } from './plan-words';
|
|
14
|
-
import { isShopResource, planSells, SHOP_PRODUCTS_MAX, SHOP_SLUG_FIELD, shopContentType } from './shop-plan';
|
|
14
|
+
import { isShopResource, planSells, SHOP_PRODUCTS_MAX, SHOP_SLUG_FIELD, shopContentType, shopListAliases } from './shop-plan';
|
|
15
|
+
import { withShownList } from './check-layout';
|
|
16
|
+
import { LayoutPage } from './layout-language';
|
|
15
17
|
import { artDirectionIssues } from './art-direction';
|
|
16
18
|
import { footerMixFromWords } from './footer-mix';
|
|
17
19
|
import { headerMixFromWords } from './header-mix';
|
|
@@ -246,6 +248,12 @@ function validateDesign(c: Collector, design: unknown): void {
|
|
|
246
248
|
axis('scroll', SPEC_AXES.scrolls);
|
|
247
249
|
axis('animate', SPEC_AXES.animations);
|
|
248
250
|
axis('between', SPEC_AXES.betweens);
|
|
251
|
+
// AW3: the look's motion language — Feel (an arrive word) and Headings arrive (a move word).
|
|
252
|
+
const word = (key: string, words: ReadonlyArray<string>) => {
|
|
253
|
+
if (design[key] !== undefined && (typeof design[key] !== 'string' || !words.includes(design[key] as string))) bad(key, `must be one of ${words.join(', ')}`);
|
|
254
|
+
};
|
|
255
|
+
word('feel', ARRIVE_IDS);
|
|
256
|
+
word('headings', MOVE_IDS);
|
|
249
257
|
if (design['mode'] !== undefined && !(SPEC_AXES.modes as ReadonlyArray<unknown>).includes(design['mode'])) bad('mode', `must be one of ${SPEC_AXES.modes.join(', ')}`);
|
|
250
258
|
if (design['pillButtons'] !== undefined && typeof design['pillButtons'] !== 'boolean') bad('pillButtons', 'must be a boolean');
|
|
251
259
|
if (design['fonts'] !== undefined && !isObject(design['fonts'])) bad('fonts', 'must be an object');
|
|
@@ -477,6 +485,29 @@ function validateProductPage(c: Collector, pages: unknown[], sources: Map<string
|
|
|
477
485
|
}
|
|
478
486
|
}
|
|
479
487
|
|
|
488
|
+
/**
|
|
489
|
+
* vectoriox/iox-ui#99: a selling site LISTS its products where a visitor can reach them — a page (not a per-item one) whose
|
|
490
|
+
* section shows the shop's list or its newest, every product linking to the product page. A composed page counts when its
|
|
491
|
+
* layout shows that list in a list section, a ready-made place stamps the section that binds it, or the gallery the
|
|
492
|
+
* composer turns into it is there (`withShownList`). A store whose products no page lists is refused, never built silent.
|
|
493
|
+
*/
|
|
494
|
+
function validateProductReach(c: Collector, plan: Record<string, unknown>, pages: unknown[]): void {
|
|
495
|
+
const lists = shopListAliases(plan);
|
|
496
|
+
if (!lists.length) return;
|
|
497
|
+
const reaches = pages.some(raw => {
|
|
498
|
+
if (!isObject(raw) || isPerItemPage(raw)) return false;
|
|
499
|
+
const sections = Array.isArray(raw['sections']) ? raw['sections'].filter(isObject) : [];
|
|
500
|
+
const bindings = sections.map(s => (typeof s['binding'] === 'string' ? s['binding'] : undefined));
|
|
501
|
+
const bound = lists.filter(alias => bindings.includes(alias));
|
|
502
|
+
const layout = raw['layout'];
|
|
503
|
+
if (!isObject(layout) || !Array.isArray(layout['sections'])) return bound.length > 0;
|
|
504
|
+
return withShownList(layout as unknown as LayoutPage, { shows: bound.length ? bound : lists, sectionBindings: bindings }) !== null;
|
|
505
|
+
});
|
|
506
|
+
if (!reaches) {
|
|
507
|
+
c.add(SitePlanIssueCode.ProductPage, 'pages', `nothing on the site lists the products — a page shows "${lists[0]}" in a list, each product linking to its page`);
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
480
511
|
function validatePages(c: Collector, list: unknown[], types: Map<string, ContentTypeInfo>, sources: Map<string, SourceInfo>, density: string | null): void {
|
|
481
512
|
const homes: number[] = [];
|
|
482
513
|
const routes = new Set(list.map(p => (isObject(p) && typeof p['route'] === 'string' ? p['route'] : null)).filter((r): r is string => !!r));
|
|
@@ -739,7 +770,10 @@ export function validateSitePlan(plan: unknown, ctx: SitePlanContext = {}): Site
|
|
|
739
770
|
const sells = validateShop(c, plan, ctx);
|
|
740
771
|
const design = isObject(plan['design']) ? plan['design'] : {};
|
|
741
772
|
validatePages(c, c.array(plan, 'pages', ''), withShopTypes(types, sources), sources, typeof design['density'] === 'string' ? design['density'] : null);
|
|
742
|
-
if (sells)
|
|
773
|
+
if (sells) {
|
|
774
|
+
validateProductPage(c, c.array(plan, 'pages', ''), sources);
|
|
775
|
+
validateProductReach(c, plan, c.array(plan, 'pages', ''));
|
|
776
|
+
}
|
|
743
777
|
validateGlobals(c, plan['globals']);
|
|
744
778
|
validateMixes(c, plan['mixes']);
|
|
745
779
|
validateScenes(c, c.array(plan, 'pages', ''), typeof design['animate'] === 'string' ? design['animate'] : null);
|