@vectoriox/iox-ui 5.84.0 → 5.86.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/actions-core/index.d.ts +47 -3
- package/composite-core/index.d.ts +93 -15
- package/design-core/index.d.ts +2013 -187
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +153 -70
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +307 -39
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +2222 -85
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +27 -4
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +250 -12
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +101 -5
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +1545 -78
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +23 -4
- package/generation-core/index.d.ts +13 -0
- package/index.d.ts +563 -62
- package/package.json +1 -1
- package/scene-core/index.d.ts +32 -4
- package/src/actions-core/action.model.ts +1 -1
- package/src/actions-core/dialog-motion.ts +25 -0
- package/src/actions-core/dialog-opener.ts +9 -3
- package/src/actions-core/element-actions.ts +25 -1
- package/src/actions-core/popover-opener.ts +50 -0
- package/src/actions-core/public-api.ts +1 -0
- package/src/composite-core/header.ts +25 -0
- package/src/composite-core/public-api.ts +1 -0
- package/src/composite-core/slider-runtime.ts +82 -0
- package/src/composite-core/slider.ts +194 -27
- package/src/composite-core/structure.ts +14 -9
- package/src/design-core/flavor-spec.generated.ts +2145 -85
- package/src/design-core/header-behaviour.ts +76 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/design-core/theme-color.ts +21 -5
- package/src/forms-core/submit-lifecycle.ts +30 -3
- package/src/generation-core/baseline-roles.ts +1 -0
- package/src/generation-core/compose-site.ts +8 -0
- package/src/generation-core/node-baselines.generated.ts +231 -11
- package/src/generation-core/patterns.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +8 -0
- package/src/scene-core/scene.ts +18 -0
- package/src/scene-core/scroll-driver.ts +83 -6
- package/styles/iox-design.css +431 -1
- package/styles/iox-forms.css +29 -4
|
@@ -2,7 +2,7 @@ import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, owne
|
|
|
2
2
|
import { formPresetById, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, planFormPresetIds, ControlType, FORM_NODE_TYPE, collectFormSpec, FIELD_NODE_TYPE, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
3
3
|
import { normalizeFrameSequence, filmScreensFor, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
4
4
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
5
|
-
import { pickTabsAutoBinds, pickAccordionAutoBinds, segmentedOptions, ITEM_OPEN_STATE, CardPart, CardRole, CardLayout, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildCardRecipe, findByRole, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, ACCORDION_WORDS, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, TABS_WORDS, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW } from '@vectoriox/iox-ui/composite-core';
|
|
5
|
+
import { pickTabsAutoBinds, pickAccordionAutoBinds, segmentedOptions, ITEM_OPEN_STATE, CardPart, CardRole, CardLayout, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildCardRecipe, findByRole, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, ACCORDION_WORDS, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, TABS_WORDS, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour } from '@vectoriox/iox-ui/composite-core';
|
|
6
6
|
import { ELEMENT_ACTION_DESCRIPTORS, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
7
7
|
|
|
8
8
|
// GENERATED from iox-ai-guidance flavor-spec.v1.json — do not edit; re-run scripts/gen-flavor-spec.mjs
|
|
@@ -1146,6 +1146,10 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1146
1146
|
"label": "Navigation bar",
|
|
1147
1147
|
"global": "before",
|
|
1148
1148
|
"phoneMenu": "drawer",
|
|
1149
|
+
"header": {
|
|
1150
|
+
"behaviour": "hides",
|
|
1151
|
+
"edge": "fade"
|
|
1152
|
+
},
|
|
1149
1153
|
"intent": "The brand on one side, the pages and one call to action on the other — the default header.",
|
|
1150
1154
|
"node": {
|
|
1151
1155
|
"t": "Container",
|
|
@@ -1215,6 +1219,10 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1215
1219
|
"label": "Navigation — the name centred",
|
|
1216
1220
|
"global": "before",
|
|
1217
1221
|
"phoneMenu": "drawer",
|
|
1222
|
+
"header": {
|
|
1223
|
+
"behaviour": "hides",
|
|
1224
|
+
"edge": "fade"
|
|
1225
|
+
},
|
|
1218
1226
|
"intent": "The name centred above a centred row of pages — when the name is the brand.",
|
|
1219
1227
|
"node": {
|
|
1220
1228
|
"t": "Container",
|
|
@@ -6096,7 +6104,9 @@ const NODE_BASELINES = {
|
|
|
6096
6104
|
"pageRoute": "",
|
|
6097
6105
|
"target": "_self",
|
|
6098
6106
|
"type": "button",
|
|
6099
|
-
"ariaLabel": ""
|
|
6107
|
+
"ariaLabel": "",
|
|
6108
|
+
"tooltip": "",
|
|
6109
|
+
"tooltipPlacement": "above"
|
|
6100
6110
|
},
|
|
6101
6111
|
"styleProps": {
|
|
6102
6112
|
"position": "static",
|
|
@@ -6192,7 +6202,9 @@ const NODE_BASELINES = {
|
|
|
6192
6202
|
"target",
|
|
6193
6203
|
"type",
|
|
6194
6204
|
"__accessibilityLabel",
|
|
6195
|
-
"ariaLabel"
|
|
6205
|
+
"ariaLabel",
|
|
6206
|
+
"tooltip",
|
|
6207
|
+
"tooltipPlacement"
|
|
6196
6208
|
],
|
|
6197
6209
|
"styleTraits": [
|
|
6198
6210
|
"position",
|
|
@@ -6581,7 +6593,9 @@ const NODE_BASELINES = {
|
|
|
6581
6593
|
"defaultOn",
|
|
6582
6594
|
"activateOn",
|
|
6583
6595
|
"orientation",
|
|
6584
|
-
"ariaLabel"
|
|
6596
|
+
"ariaLabel",
|
|
6597
|
+
"headerBehaviour",
|
|
6598
|
+
"headerEdge"
|
|
6585
6599
|
],
|
|
6586
6600
|
"styleTraits": [
|
|
6587
6601
|
"position",
|
|
@@ -7271,7 +7285,9 @@ const NODE_BASELINES = {
|
|
|
7271
7285
|
"url": "https://",
|
|
7272
7286
|
"pageRoute": "",
|
|
7273
7287
|
"target": "_self",
|
|
7274
|
-
"ariaLabel": ""
|
|
7288
|
+
"ariaLabel": "",
|
|
7289
|
+
"tooltip": "",
|
|
7290
|
+
"tooltipPlacement": "above"
|
|
7275
7291
|
},
|
|
7276
7292
|
"styleProps": {
|
|
7277
7293
|
"position": "static",
|
|
@@ -7366,7 +7382,9 @@ const NODE_BASELINES = {
|
|
|
7366
7382
|
"pageRoute",
|
|
7367
7383
|
"target",
|
|
7368
7384
|
"__accessibilityLabel",
|
|
7369
|
-
"ariaLabel"
|
|
7385
|
+
"ariaLabel",
|
|
7386
|
+
"tooltip",
|
|
7387
|
+
"tooltipPlacement"
|
|
7370
7388
|
],
|
|
7371
7389
|
"styleTraits": [
|
|
7372
7390
|
"position",
|
|
@@ -7471,7 +7489,9 @@ const NODE_BASELINES = {
|
|
|
7471
7489
|
"pageRoute": "",
|
|
7472
7490
|
"target": "_self",
|
|
7473
7491
|
"colorScheme": "default",
|
|
7474
|
-
"ariaLabel": ""
|
|
7492
|
+
"ariaLabel": "",
|
|
7493
|
+
"tooltip": "",
|
|
7494
|
+
"tooltipPlacement": "above"
|
|
7475
7495
|
},
|
|
7476
7496
|
"styleProps": {
|
|
7477
7497
|
"position": "static",
|
|
@@ -7566,7 +7586,9 @@ const NODE_BASELINES = {
|
|
|
7566
7586
|
"target",
|
|
7567
7587
|
"colorScheme",
|
|
7568
7588
|
"__accessibilityLabel",
|
|
7569
|
-
"ariaLabel"
|
|
7589
|
+
"ariaLabel",
|
|
7590
|
+
"tooltip",
|
|
7591
|
+
"tooltipPlacement"
|
|
7570
7592
|
],
|
|
7571
7593
|
"styleTraits": [
|
|
7572
7594
|
"position",
|
|
@@ -9004,6 +9026,10 @@ const NODE_BASELINES = {
|
|
|
9004
9026
|
"slideToClickedSlide": false,
|
|
9005
9027
|
"effect": "slide",
|
|
9006
9028
|
"speed": 300,
|
|
9029
|
+
"scrollPlays": false,
|
|
9030
|
+
"controlsPlacement": "under",
|
|
9031
|
+
"enableCaption": false,
|
|
9032
|
+
"enableCount": false,
|
|
9007
9033
|
"enableNavigation": false,
|
|
9008
9034
|
"navigationColor": "#ffffff",
|
|
9009
9035
|
"navigationSize": 44,
|
|
@@ -9111,7 +9137,11 @@ const NODE_BASELINES = {
|
|
|
9111
9137
|
"__effectsLabel",
|
|
9112
9138
|
"effect",
|
|
9113
9139
|
"speed",
|
|
9140
|
+
"scrollPlays",
|
|
9114
9141
|
"__navLabel",
|
|
9142
|
+
"controlsPlacement",
|
|
9143
|
+
"enableCaption",
|
|
9144
|
+
"enableCount",
|
|
9115
9145
|
"enableNavigation",
|
|
9116
9146
|
"navigationColor",
|
|
9117
9147
|
"navigationSize",
|
|
@@ -9216,7 +9246,9 @@ const NODE_BASELINES = {
|
|
|
9216
9246
|
"container": true
|
|
9217
9247
|
},
|
|
9218
9248
|
"SliderSlide": {
|
|
9219
|
-
"props": {
|
|
9249
|
+
"props": {
|
|
9250
|
+
"caption": ""
|
|
9251
|
+
},
|
|
9220
9252
|
"styleProps": {
|
|
9221
9253
|
"position": "static",
|
|
9222
9254
|
"top": "auto",
|
|
@@ -9295,7 +9327,9 @@ const NODE_BASELINES = {
|
|
|
9295
9327
|
"transitionDelay": "0ms",
|
|
9296
9328
|
"transitionTimingFunction": "ease"
|
|
9297
9329
|
},
|
|
9298
|
-
"traits": [
|
|
9330
|
+
"traits": [
|
|
9331
|
+
"caption"
|
|
9332
|
+
],
|
|
9299
9333
|
"styleTraits": [
|
|
9300
9334
|
"position",
|
|
9301
9335
|
"top",
|
|
@@ -9525,7 +9559,7 @@ const NODE_BASELINES = {
|
|
|
9525
9559
|
"name": "Contact form",
|
|
9526
9560
|
"formId": "",
|
|
9527
9561
|
"feedback": "smart",
|
|
9528
|
-
"
|
|
9562
|
+
"afterSend": "message",
|
|
9529
9563
|
"focusFirstProblem": true,
|
|
9530
9564
|
"announceFailure": true,
|
|
9531
9565
|
"honeypot": true,
|
|
@@ -9621,7 +9655,7 @@ const NODE_BASELINES = {
|
|
|
9621
9655
|
"name",
|
|
9622
9656
|
"formId",
|
|
9623
9657
|
"feedback",
|
|
9624
|
-
"
|
|
9658
|
+
"afterSend",
|
|
9625
9659
|
"focusFirstProblem",
|
|
9626
9660
|
"announceFailure",
|
|
9627
9661
|
"__spamLabel",
|
|
@@ -10911,6 +10945,200 @@ const NODE_BASELINES = {
|
|
|
10911
10945
|
],
|
|
10912
10946
|
"container": true
|
|
10913
10947
|
},
|
|
10948
|
+
"Popover": {
|
|
10949
|
+
"props": {
|
|
10950
|
+
"placement": "below",
|
|
10951
|
+
"ariaLabel": "",
|
|
10952
|
+
"colorScheme": "default"
|
|
10953
|
+
},
|
|
10954
|
+
"styleProps": {
|
|
10955
|
+
"position": "static",
|
|
10956
|
+
"top": "auto",
|
|
10957
|
+
"right": "auto",
|
|
10958
|
+
"bottom": "auto",
|
|
10959
|
+
"left": "auto",
|
|
10960
|
+
"zIndex": "0",
|
|
10961
|
+
"display": "block",
|
|
10962
|
+
"flexDirection": "row",
|
|
10963
|
+
"flexWrap": "nowrap",
|
|
10964
|
+
"justifyContent": "flex-start",
|
|
10965
|
+
"alignItems": "stretch",
|
|
10966
|
+
"gap": "0px",
|
|
10967
|
+
"gridTemplateColumns": "1fr",
|
|
10968
|
+
"gridTemplateRows": "auto",
|
|
10969
|
+
"justifyItems": "stretch",
|
|
10970
|
+
"alignContent": "stretch",
|
|
10971
|
+
"alignSelf": "auto",
|
|
10972
|
+
"order": "0",
|
|
10973
|
+
"flexGrow": "0",
|
|
10974
|
+
"flexShrink": "1",
|
|
10975
|
+
"flexBasis": "auto",
|
|
10976
|
+
"justifySelf": "auto",
|
|
10977
|
+
"gridColumn": "auto",
|
|
10978
|
+
"gridRow": "auto",
|
|
10979
|
+
"width": "320px",
|
|
10980
|
+
"height": "auto",
|
|
10981
|
+
"minWidth": "auto",
|
|
10982
|
+
"minHeight": "auto",
|
|
10983
|
+
"maxWidth": "auto",
|
|
10984
|
+
"maxHeight": "auto",
|
|
10985
|
+
"aspectRatio": "auto",
|
|
10986
|
+
"objectFit": "cover",
|
|
10987
|
+
"overflow": "visible",
|
|
10988
|
+
"fontFamily": "Poppins, sans-serif",
|
|
10989
|
+
"fontSize": "16px",
|
|
10990
|
+
"fontWeight": "400",
|
|
10991
|
+
"color": "#000000",
|
|
10992
|
+
"lineHeight": "1.5",
|
|
10993
|
+
"letterSpacing": "0px",
|
|
10994
|
+
"textTransform": "none",
|
|
10995
|
+
"textAlign": "start",
|
|
10996
|
+
"fontStyle": "normal",
|
|
10997
|
+
"textDecoration": "none",
|
|
10998
|
+
"fontVariantNumeric": "normal",
|
|
10999
|
+
"WebkitTextStrokeWidth": "0px",
|
|
11000
|
+
"WebkitTextStrokeColor": "transparent",
|
|
11001
|
+
"margin": "0px 0px 0px 0px",
|
|
11002
|
+
"padding": "16px",
|
|
11003
|
+
"borderWidth": "0px",
|
|
11004
|
+
"borderStyle": "solid",
|
|
11005
|
+
"borderColor": "#CCCCCC",
|
|
11006
|
+
"borderRadius": "12px",
|
|
11007
|
+
"backgroundColor": "#ffffff",
|
|
11008
|
+
"opacity": "1",
|
|
11009
|
+
"mixBlendMode": "normal",
|
|
11010
|
+
"cursor": "auto",
|
|
11011
|
+
"boxShadow": "0 12px 32px rgba(0, 0, 0, 0.18)",
|
|
11012
|
+
"textShadow": "",
|
|
11013
|
+
"translateX": "0px",
|
|
11014
|
+
"translateY": "0px",
|
|
11015
|
+
"scaleX": "1",
|
|
11016
|
+
"scaleY": "1",
|
|
11017
|
+
"rotate": "0deg",
|
|
11018
|
+
"skewX": "0deg",
|
|
11019
|
+
"skewY": "0deg",
|
|
11020
|
+
"transformOrigin": "center",
|
|
11021
|
+
"filterBlur": "0px",
|
|
11022
|
+
"filterHueRotate": "0deg",
|
|
11023
|
+
"filterBrightness": "1",
|
|
11024
|
+
"filterContrast": "1",
|
|
11025
|
+
"filterSaturate": "1",
|
|
11026
|
+
"filterGrayscale": "0",
|
|
11027
|
+
"filterSepia": "0",
|
|
11028
|
+
"filterInvert": "0",
|
|
11029
|
+
"backdropFilter": "none",
|
|
11030
|
+
"backdropBlur": "0px",
|
|
11031
|
+
"backdropBrightness": "1",
|
|
11032
|
+
"backdropContrast": "1",
|
|
11033
|
+
"backdropSaturate": "1",
|
|
11034
|
+
"clipPath": "none",
|
|
11035
|
+
"transitionProperty": "",
|
|
11036
|
+
"transitionDuration": "0ms",
|
|
11037
|
+
"transitionDelay": "0ms",
|
|
11038
|
+
"transitionTimingFunction": "ease"
|
|
11039
|
+
},
|
|
11040
|
+
"traits": [
|
|
11041
|
+
"placement",
|
|
11042
|
+
"__accessibilityLabel",
|
|
11043
|
+
"ariaLabel",
|
|
11044
|
+
"colorScheme"
|
|
11045
|
+
],
|
|
11046
|
+
"styleTraits": [
|
|
11047
|
+
"position",
|
|
11048
|
+
"top",
|
|
11049
|
+
"right",
|
|
11050
|
+
"bottom",
|
|
11051
|
+
"left",
|
|
11052
|
+
"zIndex",
|
|
11053
|
+
"display",
|
|
11054
|
+
"flexDirection",
|
|
11055
|
+
"flexWrap",
|
|
11056
|
+
"justifyContent",
|
|
11057
|
+
"alignItems",
|
|
11058
|
+
"gap",
|
|
11059
|
+
"gridTemplateColumns",
|
|
11060
|
+
"gridTemplateRows",
|
|
11061
|
+
"justifyItems",
|
|
11062
|
+
"alignContent",
|
|
11063
|
+
"textDirection",
|
|
11064
|
+
"alignSelf",
|
|
11065
|
+
"order",
|
|
11066
|
+
"flexGrow",
|
|
11067
|
+
"flexShrink",
|
|
11068
|
+
"flexBasis",
|
|
11069
|
+
"justifySelf",
|
|
11070
|
+
"gridColumn",
|
|
11071
|
+
"gridRow",
|
|
11072
|
+
"width",
|
|
11073
|
+
"height",
|
|
11074
|
+
"minWidth",
|
|
11075
|
+
"minHeight",
|
|
11076
|
+
"maxWidth",
|
|
11077
|
+
"maxHeight",
|
|
11078
|
+
"aspectRatio",
|
|
11079
|
+
"objectFit",
|
|
11080
|
+
"overflow",
|
|
11081
|
+
"fontFamily",
|
|
11082
|
+
"fontSize",
|
|
11083
|
+
"fontWeight",
|
|
11084
|
+
"color",
|
|
11085
|
+
"lineHeight",
|
|
11086
|
+
"letterSpacing",
|
|
11087
|
+
"textTransform",
|
|
11088
|
+
"textAlign",
|
|
11089
|
+
"fontStyle",
|
|
11090
|
+
"textDecoration",
|
|
11091
|
+
"fontVariantNumeric",
|
|
11092
|
+
"_sep_stroke",
|
|
11093
|
+
"WebkitTextStrokeWidth",
|
|
11094
|
+
"WebkitTextStrokeColor",
|
|
11095
|
+
"margin",
|
|
11096
|
+
"padding",
|
|
11097
|
+
"borderWidth",
|
|
11098
|
+
"borderStyle",
|
|
11099
|
+
"borderColor",
|
|
11100
|
+
"borderRadius",
|
|
11101
|
+
"backgroundColor",
|
|
11102
|
+
"opacity",
|
|
11103
|
+
"mixBlendMode",
|
|
11104
|
+
"cursor",
|
|
11105
|
+
"_sep_shadow",
|
|
11106
|
+
"boxShadow",
|
|
11107
|
+
"textShadow",
|
|
11108
|
+
"_sep_transform",
|
|
11109
|
+
"translateX",
|
|
11110
|
+
"translateY",
|
|
11111
|
+
"scaleX",
|
|
11112
|
+
"scaleY",
|
|
11113
|
+
"rotate",
|
|
11114
|
+
"skewX",
|
|
11115
|
+
"skewY",
|
|
11116
|
+
"transformOrigin",
|
|
11117
|
+
"_sep_filter",
|
|
11118
|
+
"filterBlur",
|
|
11119
|
+
"filterHueRotate",
|
|
11120
|
+
"filterBrightness",
|
|
11121
|
+
"filterContrast",
|
|
11122
|
+
"filterSaturate",
|
|
11123
|
+
"filterGrayscale",
|
|
11124
|
+
"filterSepia",
|
|
11125
|
+
"filterInvert",
|
|
11126
|
+
"_sep_backdrop",
|
|
11127
|
+
"backdropFilter",
|
|
11128
|
+
"backdropBlur",
|
|
11129
|
+
"backdropBrightness",
|
|
11130
|
+
"backdropContrast",
|
|
11131
|
+
"backdropSaturate",
|
|
11132
|
+
"_sep_clip",
|
|
11133
|
+
"clipPath",
|
|
11134
|
+
"_sep_transition",
|
|
11135
|
+
"transitionProperty",
|
|
11136
|
+
"transitionDuration",
|
|
11137
|
+
"transitionDelay",
|
|
11138
|
+
"transitionTimingFunction"
|
|
11139
|
+
],
|
|
11140
|
+
"container": true
|
|
11141
|
+
},
|
|
10914
11142
|
"Video": {
|
|
10915
11143
|
"props": {
|
|
10916
11144
|
"videoSource": "youtube",
|
|
@@ -11205,6 +11433,7 @@ const BASELINE_ROLES = {
|
|
|
11205
11433
|
FormSuccess: { width: Behaviour, color: Look, padding: Look, borderRadius: Look, backgroundColor: Look },
|
|
11206
11434
|
FormError: { width: Behaviour, color: Look, padding: Look, borderRadius: Look, backgroundColor: Look },
|
|
11207
11435
|
Dialog: { width: Behaviour, padding: Look, borderRadius: Look, backgroundColor: Look, boxShadow: Look },
|
|
11436
|
+
Popover: { width: Behaviour, padding: Look, borderRadius: Look, backgroundColor: Look, boxShadow: Look },
|
|
11208
11437
|
// CC3: a Video fills its column at 16 / 9 — the shape the poster and the player take.
|
|
11209
11438
|
Video: { width: Behaviour, aspectRatio: Behaviour },
|
|
11210
11439
|
};
|
|
@@ -14411,6 +14640,13 @@ function composeSite(plan, context) {
|
|
|
14411
14640
|
if (shape)
|
|
14412
14641
|
globals = planNavShape(globals, shape, {}, slot).globals;
|
|
14413
14642
|
}
|
|
14643
|
+
// Premium M4 (T2): a header pattern's behaviour as the page scrolls — the same edit the Header section makes.
|
|
14644
|
+
for (const slot of Object.values(GlobalSlot)) {
|
|
14645
|
+
const header = patternById(plan.globals[slot])?.header;
|
|
14646
|
+
const root = header ? globals.find(g => g.id === slot) : null;
|
|
14647
|
+
if (header && root)
|
|
14648
|
+
setHeaderBehaviour(root, header.behaviour, header.edge ?? null);
|
|
14649
|
+
}
|
|
14414
14650
|
return {
|
|
14415
14651
|
source: clone$1(plan.source),
|
|
14416
14652
|
business: clone$1(plan.business),
|
|
@@ -14471,6 +14707,8 @@ function composeNavHeader(input, options) {
|
|
|
14471
14707
|
root.globalPosition = pattern.global;
|
|
14472
14708
|
const shape = pattern.phoneMenu;
|
|
14473
14709
|
const header = shape ? planNavShape([root], shape, { newId: options.newId }, root.id).globals[0] : root;
|
|
14710
|
+
if (pattern.header)
|
|
14711
|
+
setHeaderBehaviour(header, pattern.header.behaviour, pattern.header.edge ?? null);
|
|
14474
14712
|
return { header, issues };
|
|
14475
14713
|
}
|
|
14476
14714
|
// ── One pattern on its own (CC4b) ───────────────────────────────────────────────────────────────
|