@vectoriox/iox-ui 5.203.0 → 5.205.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.
Files changed (52) hide show
  1. package/actions-core/index.d.ts +8 -1
  2. package/design-core/index.d.ts +70 -2
  3. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +8 -1
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  5. package/fesm2022/vectoriox-iox-ui-design-core.mjs +131 -11
  6. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +5294 -267
  8. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui.mjs +524 -112
  10. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  11. package/generation-core/index.d.ts +2308 -6
  12. package/index.d.ts +159 -13
  13. package/package.json +1 -1
  14. package/src/actions-core/element-actions.ts +9 -0
  15. package/src/design-core/contrast-audit.ts +93 -11
  16. package/src/design-core/flavor-spec.generated.ts +19 -0
  17. package/src/design-core/image-alt.ts +27 -0
  18. package/src/design-core/node-links.ts +12 -0
  19. package/src/design-core/public-api.ts +1 -0
  20. package/src/generation-core/ai-run.ts +31 -0
  21. package/src/generation-core/audit-site.ts +17 -3
  22. package/src/generation-core/baseline-roles.ts +10 -6
  23. package/src/generation-core/check-free.ts +12 -2
  24. package/src/generation-core/check-layout.ts +3 -2
  25. package/src/generation-core/critic-calibration.ts +178 -0
  26. package/src/generation-core/critic-prompt.ts +174 -0
  27. package/src/generation-core/critic-rubric.generated.ts +24 -0
  28. package/src/generation-core/critic-sheet.ts +270 -0
  29. package/src/generation-core/critic.ts +189 -0
  30. package/src/generation-core/design-doc-index.ts +58 -0
  31. package/src/generation-core/design-motion.ts +247 -0
  32. package/src/generation-core/design-ops-check.ts +370 -0
  33. package/src/generation-core/design-ops-of.ts +200 -0
  34. package/src/generation-core/design-ops.model.ts +239 -0
  35. package/src/generation-core/design-ops.schema.ts +122 -0
  36. package/src/generation-core/design-ops.ts +361 -0
  37. package/src/generation-core/design-recipes.ts +58 -0
  38. package/src/generation-core/designer-brief.ts +82 -0
  39. package/src/generation-core/designer-direction.ts +248 -0
  40. package/src/generation-core/designer-estimate.ts +171 -0
  41. package/src/generation-core/designer-lessons.generated.ts +653 -0
  42. package/src/generation-core/designer-lessons.ts +153 -0
  43. package/src/generation-core/designer-stop.ts +94 -0
  44. package/src/generation-core/footer-mix.ts +3 -1
  45. package/src/generation-core/node-baselines.generated.ts +953 -10
  46. package/src/generation-core/public-api.ts +20 -0
  47. package/src/generation-core/site-spec.generated.ts +73 -11
  48. package/src/generation-core/social-links.ts +195 -2
  49. package/src/generation-core/structure-fingerprint.ts +565 -0
  50. package/src/generation-core/templates.ts +39 -3
  51. package/styles/iox-design.css +26 -1
  52. package/styles/iox-forms.css +22 -0
@@ -6,15 +6,15 @@ import { Subject, fromEvent } from 'rxjs';
6
6
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7
7
  import * as i1 from '@angular/common';
8
8
  import { CommonModule, isPlatformBrowser } from '@angular/common';
9
- import { SPEC_AXES, resolveDesignMotion, FILTER_FUNCTIONS, BACKDROP_FUNCTIONS, decomposeCssFunctions, languageOf, FieldClass, HeaderAttribute, HeaderBehaviour, HEADER_HEIGHT_VAR, HeaderInk, OPENING_ATTRIBUTE, schemeOfClasses, schemeUnderBar, BRAND_NAME_ATTRIBUTE, BAR_ATTRIBUTE, BAR_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, NAV_ROLE, navBarAttributes, REDUCED_ENTRANCE_MAX_MS, roleClass, preloaderWords, PreloaderKind, preloaderGraphemes, PRELOADER_EXIT_EASE, PRELOADER_CAP_MS, isFirstVisit, PRELOADER_ENTER_EASE, PreloaderExit, PRELOADER_MIN_SHOW_MS, preloaderLeaveAt, preloaderExitMotion, preloaderPercent, inkOnGround, writeFieldError } from '@vectoriox/iox-ui/design-core';
9
+ import { SPEC_AXES, resolveDesignMotion, imageAlt, FILTER_FUNCTIONS, BACKDROP_FUNCTIONS, decomposeCssFunctions, languageOf, FieldClass, HeaderAttribute, HeaderBehaviour, HEADER_HEIGHT_VAR, HeaderInk, OPENING_ATTRIBUTE, schemeOfClasses, schemeUnderBar, BRAND_NAME_ATTRIBUTE, BAR_ATTRIBUTE, BAR_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, NAV_ROLE, navBarAttributes, REDUCED_ENTRANCE_MAX_MS, roleClass, preloaderWords, PreloaderKind, preloaderGraphemes, PRELOADER_EXIT_EASE, PRELOADER_CAP_MS, isFirstVisit, PRELOADER_ENTER_EASE, PreloaderExit, PRELOADER_MIN_SHOW_MS, preloaderLeaveAt, preloaderExitMotion, preloaderPercent, inkOnGround, writeFieldError } from '@vectoriox/iox-ui/design-core';
10
10
  export * from '@vectoriox/iox-ui/design-core';
11
11
  import { setPageScroller, pageScroller, SceneAttribute, SCENE_WAKE_EVENT, SCENE_REVEAL_DEFAULT, SceneRevealFrom, revealClipPath, playTextReveal, textRevealByOf, textRevealLookOf, textRevealStaggerOf, ScrollActionKind, lightMotionWanted, scrubTextReveal, ScrollPlay, gentleFrames, SCENE_PHONE_MAX_WIDTH, normalizeParallaxDepth, normalizeParallaxPhone, parallaxShift, parallaxRest, parallaxFrames, PROGRESS_BAR_FRAMES, ParallaxPhone, outermostNodeOf, normalizeScrollRange, scrollPlayFor, ScrollRange } from '@vectoriox/iox-ui/scene-core';
12
12
  import Lenis from 'lenis';
13
13
  import { SLIDER_WORDS, sliderPartElement, SliderRole, sliderWords, attachCarouselA11y, attachSliderBar, isSliderPart, SceneRole, MARQUEE_NODE_ATTRIBUTES, POPUP_ATTRIBUTES, popupDialogAttributes, SLIDE_TYPE, SLIDE_CAPTION_TRAIT, marqueeRootAttributes, MarqueeRole, PopupAttribute, PopupTrait, popupWords, PopupForm } from '@vectoriox/iox-ui/composite-core';
14
14
  import { getByPath } from '@vectoriox/iox-ui/data-core';
15
15
  export * from '@vectoriox/iox-ui/data-core';
16
- import { closeWord, runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
17
- export { SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
16
+ import { closeWord, runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
17
+ export { ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
18
18
  import { VideoKind, planVideo, videoRootAttributes, videoInnerHtml, videoWords, VideoAttribute, attachVideoAt, VideoClass } from '@vectoriox/iox-ui/media-core';
19
19
  import * as i1$1 from '@angular/platform-browser';
20
20
  import { listPriceField, formatMoneyValue, CURRENCY_CODES, SHOP_SLOTS } from '@vectoriox/iox-ui/commerce-core';
@@ -762,6 +762,8 @@ class BuilderImageComponent {
762
762
  constructor() {
763
763
  this.src = 'https://placehold.co/600x400?text=Image';
764
764
  this.alt = 'Image';
765
+ /** AD0b C9: the author's "decorative" switch — the picture is announced as nothing (`alt=""`), whatever Alt holds. */
766
+ this.decorative = false;
765
767
  this.nodeId = '';
766
768
  /**
767
769
  * What a MARKED image shows WHENEVER it has no source (design-system DS3) — set by each renderer
@@ -798,13 +800,13 @@ class BuilderImageComponent {
798
800
  * the canvas alike (the canvas label is painted inside the placeholder, not announced as content).
799
801
  */
800
802
  get altAttr() {
801
- return this.showsPlaceholder ? '' : this.alt;
803
+ return this.showsPlaceholder ? '' : imageAlt({ alt: this.alt, decorative: this.decorative });
802
804
  }
803
805
  get ariaHiddenAttr() {
804
806
  return this.showsPlaceholder ? 'true' : null;
805
807
  }
806
808
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
807
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderImageComponent, isStandalone: false, selector: "img[iox-img]", inputs: { src: "src", alt: "alt", nodeId: "nodeId", emptySrc: "emptySrc" }, host: { properties: { "attr.src": "srcAttr", "attr.alt": "altAttr", "attr.aria-hidden": "ariaHiddenAttr", "attr.data-iox-empty": "emptyAttr", "class": "'iox-node-' + nodeId" } }, ngImport: i0, template: '', isInline: true, styles: ["img:where([iox-img]){display:block}\n", "[iox-img]{max-width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
809
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderImageComponent, isStandalone: false, selector: "img[iox-img]", inputs: { src: "src", alt: "alt", decorative: "decorative", nodeId: "nodeId", emptySrc: "emptySrc" }, host: { properties: { "attr.src": "srcAttr", "attr.alt": "altAttr", "attr.aria-hidden": "ariaHiddenAttr", "attr.data-iox-empty": "emptyAttr", "class": "'iox-node-' + nodeId" } }, ngImport: i0, template: '', isInline: true, styles: ["img:where([iox-img]){display:block}\n", "[iox-img]{max-width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
808
810
  }
809
811
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderImageComponent, decorators: [{
810
812
  type: Component,
@@ -819,6 +821,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
819
821
  type: Input
820
822
  }], alt: [{
821
823
  type: Input
824
+ }], decorative: [{
825
+ type: Input
822
826
  }], nodeId: [{
823
827
  type: Input
824
828
  }], emptySrc: [{
@@ -956,6 +960,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
956
960
  type: Input
957
961
  }] } });
958
962
 
963
+ /**
964
+ * Where a node links (W1.1). Link and LinkedContainer always had two link types — an external URL or a
965
+ * website PAGE by its route — and ButtonBlock now has the same pair, so a composed "Get in touch" button
966
+ * is a page link the builder shows as `/contact`, not a hand-built URL. Framework-free: the composer
967
+ * (generation-core) writes it, the builder canvas and both engine render paths read it.
968
+ */
969
+ var LinkType;
970
+ (function (LinkType) {
971
+ /** Links nowhere — a Heading's default; "Link the whole card" (Card v2) turns its title's link on. */
972
+ LinkType["None"] = "none";
973
+ LinkType["External"] = "external";
974
+ LinkType["Page"] = "page";
975
+ })(LinkType || (LinkType = {}));
976
+ const ANCHOR_TAG = 'a';
977
+ /**
978
+ * The href a ButtonBlock renders, or `null` for none (it is a `<button>`, or a link with no target).
979
+ * Only an `<a>` links. A page link's route goes through `pageHref` — the engine's `resolvePageHref`
980
+ * (`:params` substituted, base-relative); the builder canvas passes none and shows the route as authored,
981
+ * as its Link does.
982
+ */
983
+ function buttonBlockHref(props, pageHref = route => route) {
984
+ if (props.tag !== ANCHOR_TAG)
985
+ return null;
986
+ const href = props.linkType === LinkType.Page ? pageHref(String(props.pageRoute ?? '')) : String(props.href ?? '');
987
+ return href || null;
988
+ }
989
+ /** The class of the `<a>` a linked Heading renders — the Card v2 stretched link keys on it (iox-design.css:
990
+ * the card is the click target, its buttons sit above, the focus ring is drawn on the card). */
991
+ const CARD_LINK_CLASS = 'iox-card-link';
992
+ /** On the editing canvas the anchor carries this, so the stretched `::after` is off and every part of the
993
+ * card stays clickable (board 8). */
994
+ const CANVAS_LINK_ATTRIBUTE = 'data-iox-canvas';
995
+ /** The ONE target that opens a new tab. */
996
+ const NEW_TAB_TARGET = '_blank';
997
+ /**
998
+ * The `rel` a link opening `target` carries, or `null` for none: a new tab never reaches back to the page that
999
+ * opened it (`noopener`). ONE answer for every link a renderer draws — Link, a linked Heading, an `<a>`
1000
+ * ButtonBlock — on the builder canvas and both engine paths.
1001
+ */
1002
+ function linkRel(target) {
1003
+ return target === NEW_TAB_TARGET ? 'noopener' : null;
1004
+ }
1005
+ /**
1006
+ * The href a linked Heading renders (Card v2: the card's title IS its link), or `null` when it links
1007
+ * nowhere — `none`, or a link with no target yet (the title then renders as plain words). A page link goes
1008
+ * through `pageHref` exactly as a ButtonBlock's does.
1009
+ */
1010
+ function headingHref(props, pageHref = route => route) {
1011
+ if (props.linkType === LinkType.Page) {
1012
+ const route = String(props.pageRoute ?? '');
1013
+ return route ? pageHref(route) || null : null;
1014
+ }
1015
+ if (props.linkType === LinkType.External)
1016
+ return String(props.url ?? '').trim() || null;
1017
+ return null;
1018
+ }
1019
+ /** The prop a node's route params are stored under — `routeParam:<name>`, a static value or a binding (both land there). */
1020
+ const ROUTE_PARAM_PREFIX = 'routeParam:';
1021
+ /** A node's route params by name, from its `routeParam:<name>` props (`{ 'routeParam:slug': 'soap' }` → `{ slug: 'soap' }`). */
1022
+ function routeParamValues(props) {
1023
+ const out = {};
1024
+ for (const [key, value] of Object.entries(props ?? {})) {
1025
+ if (key.startsWith(ROUTE_PARAM_PREFIX))
1026
+ out[key.slice(ROUTE_PARAM_PREFIX.length)] = value;
1027
+ }
1028
+ return out;
1029
+ }
1030
+ const ROUTE_PARAM = /:([a-zA-Z_][a-zA-Z0-9_]*)/g;
1031
+ /**
1032
+ * A page route with its `:params` filled: each from `values` (URL-encoded), an unfilled one leaving no gap
1033
+ * (`/shop/:slug/reviews` with no slug → `/shop/reviews`). The engine's `resolvePageHref` substitution, shared so the builder's
1034
+ * Preview links where the live site does — a product card read `/shop/:slug` there (vectoriox/iox-ui#176). The route's
1035
+ * leading slash is kept; the engine makes it base-relative itself.
1036
+ */
1037
+ function fillRouteParams(route, values) {
1038
+ return String(route ?? '')
1039
+ .replace(ROUTE_PARAM, (_m, name) => {
1040
+ const value = values[name];
1041
+ return value === undefined || value === null || value === '' ? '' : encodeURIComponent(String(value));
1042
+ })
1043
+ .replace(/\/{2,}/g, '/');
1044
+ }
1045
+ /** Does the route still name a `:param` (one nothing filled)? */
1046
+ function routeHasParams(route) {
1047
+ return new RegExp(ROUTE_PARAM.source).test(String(route ?? ''));
1048
+ }
1049
+
959
1050
  /**
960
1051
  * Directive-host link: the `<a>` IS the host — no wrapper. Content is the label; styles come from
961
1052
  * `.iox-node` (the legacy `style` input is kept for builder compat but no longer inline-applied).
@@ -976,6 +1067,10 @@ class BuilderLinkComponent {
976
1067
  this.target = '_self';
977
1068
  this.style = {};
978
1069
  }
1070
+ /** `noopener` for a new tab (the string renderer writes the same), else no attribute. A getter so it is unit-tested. */
1071
+ get relAttr() {
1072
+ return linkRel(this.target);
1073
+ }
979
1074
  get resolvedHref() {
980
1075
  if (this.linkType !== 'page')
981
1076
  return this.url || '#';
@@ -988,13 +1083,15 @@ class BuilderLinkComponent {
988
1083
  }
989
1084
  }
990
1085
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkComponent, deps: [{ token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
991
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderLinkComponent, isStandalone: false, selector: "a[iox-link]", inputs: { nodeId: "nodeId", label: "label", linkType: "linkType", url: "url", pageRoute: "pageRoute", target: "target", style: "style" }, host: { listeners: { "click": "onLinkClick($event)", "auxclick": "onLinkClick($event)" }, properties: { "attr.href": "resolvedHref", "attr.target": "target", "class": "'builder-link iox-node-' + nodeId" } }, ngImport: i0, template: `{{ label }}`, isInline: true, styles: [":host{display:inline;cursor:pointer}:host:where(:not(.iox-es)){color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1086
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderLinkComponent, isStandalone: false, selector: "a[iox-link]", inputs: { nodeId: "nodeId", label: "label", linkType: "linkType", url: "url", pageRoute: "pageRoute", target: "target", style: "style" }, host: { listeners: { "click": "onLinkClick($event)", "auxclick": "onLinkClick($event)" }, properties: { "attr.href": "resolvedHref", "attr.target": "target", "attr.rel": "relAttr", "class": "'builder-link iox-node-' + nodeId" } }, ngImport: i0, template: `{{ label }}`, isInline: true, styles: [":host{display:inline;cursor:pointer}:host:where(:not(.iox-es)){color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
992
1087
  }
993
1088
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderLinkComponent, decorators: [{
994
1089
  type: Component,
995
1090
  args: [{ selector: 'a[iox-link]', template: `{{ label }}`, host: {
996
1091
  '[attr.href]': 'resolvedHref',
997
1092
  '[attr.target]': 'target',
1093
+ // A page opened in a new tab never reaches back to the site (the string renderer writes the same; iox-ui#201).
1094
+ '[attr.rel]': 'relAttr',
998
1095
  '[class]': "'builder-link iox-node-' + nodeId",
999
1096
  '(click)': 'onLinkClick($event)',
1000
1097
  '(auxclick)': 'onLinkClick($event)',
@@ -1056,8 +1153,10 @@ class BuilderButtonComponent {
1056
1153
  event.preventDefault();
1057
1154
  event.target.blur();
1058
1155
  }
1156
+ // Escape finishes the edit and KEEPS the words, as Enter and clicking away do (iox-ui#200: it used to drop
1157
+ // them while the canvas still showed them, so Save wrote the old words).
1059
1158
  if (event.key === 'Escape') {
1060
- this.editing = false;
1159
+ this.commitEdit(event);
1061
1160
  event.target.blur();
1062
1161
  }
1063
1162
  event.stopPropagation();
@@ -1092,83 +1191,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1092
1191
  type: Input
1093
1192
  }] } });
1094
1193
 
1095
- /**
1096
- * Where a node links (W1.1). Link and LinkedContainer always had two link types — an external URL or a
1097
- * website PAGE by its route — and ButtonBlock now has the same pair, so a composed "Get in touch" button
1098
- * is a page link the builder shows as `/contact`, not a hand-built URL. Framework-free: the composer
1099
- * (generation-core) writes it, the builder canvas and both engine render paths read it.
1100
- */
1101
- var LinkType;
1102
- (function (LinkType) {
1103
- /** Links nowhere — a Heading's default; "Link the whole card" (Card v2) turns its title's link on. */
1104
- LinkType["None"] = "none";
1105
- LinkType["External"] = "external";
1106
- LinkType["Page"] = "page";
1107
- })(LinkType || (LinkType = {}));
1108
- const ANCHOR_TAG = 'a';
1109
- /**
1110
- * The href a ButtonBlock renders, or `null` for none (it is a `<button>`, or a link with no target).
1111
- * Only an `<a>` links. A page link's route goes through `pageHref` — the engine's `resolvePageHref`
1112
- * (`:params` substituted, base-relative); the builder canvas passes none and shows the route as authored,
1113
- * as its Link does.
1114
- */
1115
- function buttonBlockHref(props, pageHref = route => route) {
1116
- if (props.tag !== ANCHOR_TAG)
1117
- return null;
1118
- const href = props.linkType === LinkType.Page ? pageHref(String(props.pageRoute ?? '')) : String(props.href ?? '');
1119
- return href || null;
1120
- }
1121
- /** The class of the `<a>` a linked Heading renders — the Card v2 stretched link keys on it (iox-design.css:
1122
- * the card is the click target, its buttons sit above, the focus ring is drawn on the card). */
1123
- const CARD_LINK_CLASS = 'iox-card-link';
1124
- /** On the editing canvas the anchor carries this, so the stretched `::after` is off and every part of the
1125
- * card stays clickable (board 8). */
1126
- const CANVAS_LINK_ATTRIBUTE = 'data-iox-canvas';
1127
- /**
1128
- * The href a linked Heading renders (Card v2: the card's title IS its link), or `null` when it links
1129
- * nowhere — `none`, or a link with no target yet (the title then renders as plain words). A page link goes
1130
- * through `pageHref` exactly as a ButtonBlock's does.
1131
- */
1132
- function headingHref(props, pageHref = route => route) {
1133
- if (props.linkType === LinkType.Page) {
1134
- const route = String(props.pageRoute ?? '');
1135
- return route ? pageHref(route) || null : null;
1136
- }
1137
- if (props.linkType === LinkType.External)
1138
- return String(props.url ?? '').trim() || null;
1139
- return null;
1140
- }
1141
- /** The prop a node's route params are stored under — `routeParam:<name>`, a static value or a binding (both land there). */
1142
- const ROUTE_PARAM_PREFIX = 'routeParam:';
1143
- /** A node's route params by name, from its `routeParam:<name>` props (`{ 'routeParam:slug': 'soap' }` → `{ slug: 'soap' }`). */
1144
- function routeParamValues(props) {
1145
- const out = {};
1146
- for (const [key, value] of Object.entries(props ?? {})) {
1147
- if (key.startsWith(ROUTE_PARAM_PREFIX))
1148
- out[key.slice(ROUTE_PARAM_PREFIX.length)] = value;
1149
- }
1150
- return out;
1151
- }
1152
- const ROUTE_PARAM = /:([a-zA-Z_][a-zA-Z0-9_]*)/g;
1153
- /**
1154
- * A page route with its `:params` filled: each from `values` (URL-encoded), an unfilled one leaving no gap
1155
- * (`/shop/:slug/reviews` with no slug → `/shop/reviews`). The engine's `resolvePageHref` substitution, shared so the builder's
1156
- * Preview links where the live site does — a product card read `/shop/:slug` there (vectoriox/iox-ui#176). The route's
1157
- * leading slash is kept; the engine makes it base-relative itself.
1158
- */
1159
- function fillRouteParams(route, values) {
1160
- return String(route ?? '')
1161
- .replace(ROUTE_PARAM, (_m, name) => {
1162
- const value = values[name];
1163
- return value === undefined || value === null || value === '' ? '' : encodeURIComponent(String(value));
1164
- })
1165
- .replace(/\/{2,}/g, '/');
1166
- }
1167
- /** Does the route still name a `:param` (one nothing filled)? */
1168
- function routeHasParams(route) {
1169
- return new RegExp(ROUTE_PARAM.source).test(String(route ?? ''));
1170
- }
1171
-
1172
1194
  /**
1173
1195
  * Directive-host Heading: the real `<h1>`…`<h6>` IS the host — no `app-builder-heading`
1174
1196
  * wrapper, no inner/outer split. The tag is chosen by whoever CREATES the component
@@ -1206,7 +1228,7 @@ class BuilderHeadingComponent {
1206
1228
  return this.target && this.target !== '_self' ? this.target : null;
1207
1229
  }
1208
1230
  get linkRel() {
1209
- return this.target === '_blank' ? 'noopener' : null;
1231
+ return linkRel(this.target);
1210
1232
  }
1211
1233
  /** On the editing canvas a link never navigates (plain, modified and middle clicks); the click still
1212
1234
  * bubbles to the heading, which is what selects it. */
@@ -1245,9 +1267,10 @@ class BuilderHeadingComponent {
1245
1267
  event.preventDefault();
1246
1268
  event.target.blur();
1247
1269
  }
1270
+ // Escape finishes the edit and KEEPS the words, as Enter and clicking away do (iox-ui#200: it used to drop
1271
+ // them while the canvas still showed them, so Save wrote the old words).
1248
1272
  if (ke.key === 'Escape') {
1249
- this.editing = false;
1250
- this.cdr.reattach();
1273
+ this.commitEdit(event);
1251
1274
  event.target.blur();
1252
1275
  }
1253
1276
  event.stopPropagation();
@@ -1295,6 +1318,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1295
1318
  type: Input
1296
1319
  }] } });
1297
1320
 
1321
+ /**
1322
+ * The Text's own defaults, as global CSS (no emulated `[_nghost-…]` attribute), the Image's way (iox-ui#104):
1323
+ *
1324
+ * - `white-space: pre-wrap` (typed spaces and line breaks show) at specificity 0,0,0 (`:where(…)`), so the node's
1325
+ * `.iox-node-<id>` wins: Typography ▸ Line Breaks and ▸ Wrap (AD0b C1). As `:host` (0,1,0) it tied with the node rule
1326
+ * and, appended after it, won — every Text ignored Line Breaks, and the shorthand reset the wrap mode, so Wrap ▸
1327
+ * No Wrap never held on a Text either (measured by the engine's `e2e:batchc`).
1328
+ * - the editing outline stays at 0,2,0, what `:host[contenteditable]` compiled to.
1329
+ */
1330
+ const TEXT_DEFAULT_CSS = [
1331
+ ':where(p[iox-text], span[iox-text]) { white-space: pre-wrap; }',
1332
+ '[iox-text][contenteditable] { outline: none; cursor: text; }',
1333
+ ];
1298
1334
  /**
1299
1335
  * Directive-host Text: the real `<p>`/`<span>` IS the host — no `app-text-block` wrapper,
1300
1336
  * no inner/outer split. The tag is chosen by whoever CREATES the component (engine/builder
@@ -1355,15 +1391,16 @@ class TextBlockComponent {
1355
1391
  commitInlineEdit(this.node, this.events, 'content', newValue);
1356
1392
  }
1357
1393
  onKeyDown(event) {
1394
+ // Escape finishes the edit and KEEPS the words, as clicking away does (iox-ui#200: it used to drop them while
1395
+ // the canvas still showed them, so Save wrote the old words).
1358
1396
  if (event.key === 'Escape') {
1359
- this.editing = false;
1360
- this.cdr.reattach();
1397
+ this.commitEdit(event);
1361
1398
  event.target.blur();
1362
1399
  }
1363
1400
  event.stopPropagation();
1364
1401
  }
1365
1402
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TextBlockComponent, deps: [{ token: IOX_BUILDER_EVENTS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1366
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: TextBlockComponent, isStandalone: false, selector: "p[iox-text],span[iox-text]", inputs: { content: "content", tag: "tag", style: "style", nodeId: "nodeId", node: "node" }, host: { listeners: { "pointerdown": "onPointerDown($event)", "mousedown": "onMouseDown($event)", "dblclick": "startEdit($event)", "blur": "commitEdit($event)", "keydown": "onKeyDown($event)", "paste": "onPaste($event)" }, properties: { "class": "'iox-node-' + nodeId", "innerHTML": "content", "attr.contenteditable": "editing ? 'true' : null" } }, ngImport: i0, template: ``, isInline: true, styles: [":host{white-space:pre-wrap}:host[contenteditable]{outline:none;cursor:text}\n"] }); }
1403
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: TextBlockComponent, isStandalone: false, selector: "p[iox-text],span[iox-text]", inputs: { content: "content", tag: "tag", style: "style", nodeId: "nodeId", node: "node" }, host: { listeners: { "pointerdown": "onPointerDown($event)", "mousedown": "onMouseDown($event)", "dblclick": "startEdit($event)", "blur": "commitEdit($event)", "keydown": "onKeyDown($event)", "paste": "onPaste($event)" }, properties: { "class": "'iox-node-' + nodeId", "innerHTML": "content", "attr.contenteditable": "editing ? 'true' : null" } }, ngImport: i0, template: ``, isInline: true, styles: [":where(p[iox-text],span[iox-text]){white-space:pre-wrap}\n", "[iox-text][contenteditable]{outline:none;cursor:text}\n"], encapsulation: i0.ViewEncapsulation.None }); }
1367
1404
  }
1368
1405
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TextBlockComponent, decorators: [{
1369
1406
  type: Component,
@@ -1377,7 +1414,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1377
1414
  '(blur)': 'commitEdit($event)',
1378
1415
  '(keydown)': 'onKeyDown($event)',
1379
1416
  '(paste)': 'onPaste($event)',
1380
- }, standalone: false, styles: [":host{white-space:pre-wrap}:host[contenteditable]{outline:none;cursor:text}\n"] }]
1417
+ }, encapsulation: ViewEncapsulation.None, standalone: false, styles: [":where(p[iox-text],span[iox-text]){white-space:pre-wrap}\n", "[iox-text][contenteditable]{outline:none;cursor:text}\n"] }]
1381
1418
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1382
1419
  type: Optional
1383
1420
  }, {
@@ -1566,8 +1603,12 @@ class ButtonBlockComponent {
1566
1603
  get resolvedHref() {
1567
1604
  return buttonBlockHref(this);
1568
1605
  }
1606
+ /** `noopener` when an `<a>` opens a new tab (the string renderer writes the same), else no attribute. */
1607
+ get rel() {
1608
+ return this.tag === 'a' ? linkRel(this.target) : null;
1609
+ }
1569
1610
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ButtonBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1570
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ButtonBlockComponent, isStandalone: false, selector: "a[iox-button-block],button[iox-button-block]", inputs: { tag: "tag", linkType: "linkType", href: "href", pageRoute: "pageRoute", target: "target", type: "type", nodeId: "nodeId" }, host: { properties: { "class": "'iox-btn-block iox-node-' + nodeId", "attr.href": "resolvedHref", "attr.target": "tag === 'a' ? (target || null) : null", "attr.type": "tag === 'a' ? null : type" } }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `<ng-container #childrenHost></ng-container>`, isInline: true, styles: [":host{box-sizing:border-box}\n"] }); }
1611
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ButtonBlockComponent, isStandalone: false, selector: "a[iox-button-block],button[iox-button-block]", inputs: { tag: "tag", linkType: "linkType", href: "href", pageRoute: "pageRoute", target: "target", type: "type", nodeId: "nodeId" }, host: { properties: { "class": "'iox-btn-block iox-node-' + nodeId", "attr.href": "resolvedHref", "attr.target": "tag === 'a' ? (target || null) : null", "attr.rel": "rel", "attr.type": "tag === 'a' ? null : type" } }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `<ng-container #childrenHost></ng-container>`, isInline: true, styles: [":host{box-sizing:border-box}\n"] }); }
1571
1612
  }
1572
1613
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ButtonBlockComponent, decorators: [{
1573
1614
  type: Component,
@@ -1575,6 +1616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1575
1616
  '[class]': "'iox-btn-block iox-node-' + nodeId",
1576
1617
  '[attr.href]': 'resolvedHref',
1577
1618
  '[attr.target]': "tag === 'a' ? (target || null) : null",
1619
+ '[attr.rel]': 'rel',
1578
1620
  '[attr.type]': "tag === 'a' ? null : type",
1579
1621
  }, standalone: false, styles: [":host{box-sizing:border-box}\n"] }]
1580
1622
  }], propDecorators: { tag: [{
@@ -1723,6 +1765,31 @@ function isGradientPaint(value) {
1723
1765
  const BACKDROP_WHOLE_KEY = 'backdropFilter';
1724
1766
  /** The prefixed twin emitted beside every composed `backdropFilter` (Safari). */
1725
1767
  const BACKDROP_TWIN_KEY = 'WebkitBackdropFilter';
1768
+ // ─── Fade edges (AD0b C5) ───────────────────────────────────────────────────
1769
+ /** The Effects ▸ Fade Edges trait: a WORD the compiler turns into `mask-image`, so a stored value never holds a colour. */
1770
+ const MASK_FADE_KEY = 'maskFade';
1771
+ var MaskFade;
1772
+ (function (MaskFade) {
1773
+ MaskFade["None"] = "none";
1774
+ /** Both inline ends — a marquee's soft edges. Symmetric, so a right-to-left page needs no mirror. */
1775
+ MaskFade["Sides"] = "sides";
1776
+ MaskFade["TopBottom"] = "top-bottom";
1777
+ MaskFade["Top"] = "top";
1778
+ MaskFade["Bottom"] = "bottom";
1779
+ })(MaskFade || (MaskFade = {}));
1780
+ /** How far each fade reaches into the box. A mask reads only alpha: `black` is "shown", not a colour on the page. */
1781
+ const FADE_IN$1 = '12%';
1782
+ const MASK_FADE_IMAGES = {
1783
+ [MaskFade.None]: 'none',
1784
+ [MaskFade.Sides]: `linear-gradient(to right, transparent, black ${FADE_IN$1}, black calc(100% - ${FADE_IN$1}), transparent)`,
1785
+ [MaskFade.TopBottom]: `linear-gradient(to bottom, transparent, black ${FADE_IN$1}, black calc(100% - ${FADE_IN$1}), transparent)`,
1786
+ [MaskFade.Top]: `linear-gradient(to bottom, transparent, black ${FADE_IN$1})`,
1787
+ [MaskFade.Bottom]: `linear-gradient(to bottom, black calc(100% - ${FADE_IN$1}), transparent)`,
1788
+ };
1789
+ /** The `mask-image` a Fade Edges word stands for; undefined for a word the list does not hold. */
1790
+ function maskFadeImage(word) {
1791
+ return typeof word === 'string' ? MASK_FADE_IMAGES[word] : undefined;
1792
+ }
1726
1793
  const VIRTUAL_TRAIT_GROUPS = Object.freeze([
1727
1794
  { output: 'filter', keys: FILTER_FUNS.map(([t]) => t), reset: 'none' },
1728
1795
  { output: 'backdropFilter', keys: BACKDROP_FUNS.map(([t]) => t), reset: 'none' },
@@ -1732,6 +1799,7 @@ const VIRTUAL_TRAIT_GROUPS = Object.freeze([
1732
1799
  { output: LINE_CLAMP_OUTPUT, keys: [MAX_LINES_KEY], reset: 'none' },
1733
1800
  // A breakpoint that clears the direction follows the parent again.
1734
1801
  { output: DIRECTION_OUTPUT, keys: [TEXT_DIRECTION_KEY, LEGACY_DIRECTION_KEY], reset: 'inherit' },
1802
+ { output: 'maskImage', keys: [MASK_FADE_KEY], reset: 'none' },
1735
1803
  ]);
1736
1804
  // ─── All virtual trait names ──────────────────────────────────────────────────
1737
1805
  /** Every virtual trait key — derived from the groups so there is one list to maintain. */
@@ -1828,6 +1896,10 @@ function composeVirtualTraits(raw, base = raw) {
1828
1896
  result[DIRECTION_OUTPUT] = direction;
1829
1897
  if (raw === base && isLegacyDefaultAlign(result[TEXT_ALIGN_KEY]))
1830
1898
  result[TEXT_ALIGN_KEY] = TextAlign.Start;
1899
+ // AD0b C5: Fade Edges is a word; the mask is the shared table's (unprefixed: every current engine reads it).
1900
+ const fade = maskFadeImage(raw[MASK_FADE_KEY] ?? base[MASK_FADE_KEY]);
1901
+ if (fade !== undefined)
1902
+ result['maskImage'] = fade;
1831
1903
  // A gradient Background is an IMAGE. A solid one over a wider/base gradient (a hover, a breakpoint)
1832
1904
  // must cancel that image, or the gradient keeps showing through.
1833
1905
  const background = result['backgroundColor'];
@@ -1961,7 +2033,38 @@ const NOOP_INITIAL_VALUES = {
1961
2033
  // I-beam over the words. Same trade-off as text-transform — a base rule cannot reset an ancestor's cursor with
1962
2034
  // `auto`; an author who wants the arrow picks `default`.
1963
2035
  'cursor': ['auto'],
2036
+ // AD0b C1: the Line Breaks and Wrap traits' defaults. Both inherited — the text-transform trade-off: a base rule
2037
+ // cannot reset an ancestor's balance with `wrap`; never emitted on every node.
2038
+ 'white-space': ['normal'], 'text-wrap': ['wrap'],
2039
+ // AD0b C2: the Object Position trait's default is the CSS initial (the centre).
2040
+ 'object-position': ['center', 'center center', '50% 50%'],
2041
+ // AD0b C6: Scroll Snap / Snap To. `none` emitted on every node would undo a component baseline that snaps.
2042
+ 'scroll-snap-type': ['none'], 'scroll-snap-align': ['none'],
2043
+ // AD0b C3 / C5: the logical insets' default (as top / left) and Fade Edges' none.
2044
+ 'inset-inline-start': ['auto'], 'inset-inline-end': ['auto'],
2045
+ 'mask-image': ['none'],
1964
2046
  };
2047
+ /**
2048
+ * AD0b C4: a box shorthand goes BEFORE its own sides. Every node holds `margin` / `padding` (the four-value control),
2049
+ * so a side set on its own (`marginBottom`) must come later in the rule to win — whatever order the map was built in.
2050
+ * Returns the map unchanged (same reference) when no shorthand meets a SET side of its own (every node stamps its sides
2051
+ * EMPTY — those never reorder a rule).
2052
+ */
2053
+ const SHORTHAND_FIRST = ['margin', 'padding', 'inset'];
2054
+ function orderShorthandsFirst(props) {
2055
+ const keys = Object.keys(props);
2056
+ const set = (k) => props[k] !== undefined && props[k] !== null && props[k] !== '';
2057
+ const lead = SHORTHAND_FIRST.filter(s => set(s) && keys.some(k => k !== s && set(k) && k.startsWith(s) && /[A-Z]/.test(k.charAt(s.length))));
2058
+ if (!lead.length)
2059
+ return props;
2060
+ const out = {};
2061
+ for (const k of lead)
2062
+ out[k] = props[k];
2063
+ for (const k of keys)
2064
+ if (!(k in out))
2065
+ out[k] = props[k];
2066
+ return out;
2067
+ }
1965
2068
  /**
1966
2069
  * Style props a type's render-default fully REPLACES. Emitting them would produce a dead
1967
2070
  * declaration that is immediately overridden in the same rule (e.g. an Icon's serialised
@@ -2027,7 +2130,7 @@ var DeclarationContext;
2027
2130
  */
2028
2131
  function compileDeclarations(props, importantProps, context = DeclarationContext.Base) {
2029
2132
  const out = [];
2030
- for (const [k, v] of Object.entries(props)) {
2133
+ for (const [k, v] of Object.entries(orderShorthandsFirst(props))) {
2031
2134
  if (v === undefined || v === null || v === '')
2032
2135
  continue;
2033
2136
  const prop = styleKeyToKebab(k);
@@ -2140,9 +2243,24 @@ function componentStatesFor(type, role, insideItem = false, itemsToPick = false)
2140
2243
  * on shadow (board 10). Every renderer emits a node's state rules in `orderStatesForEmit` order.
2141
2244
  */
2142
2245
  const LAST_EMITTED_STATES = ['focus'];
2143
- /** `states` in the order their rules are emitted: as given, with the LAST_EMITTED_STATES moved to the end. */
2246
+ /**
2247
+ * The states that say what a node IS — the chosen tab, the open item, the current page, a pressed option, a busy or
2248
+ * disabled control — emitted AFTER every pointer state (AD0 A4, hotel MISSING 11): `:hover` ties with each of them on
2249
+ * specificity, so a hover stored after `on` used to repaint the ON tab's ground on hover. What a node is holds; the hover
2250
+ * styles the others. Focus stays after them all.
2251
+ */
2252
+ const CHOSEN_STATES = [
2253
+ ComponentState.Current, ComponentState.On, ComponentState.Selected, ComponentState.Busy, ComponentState.Disabled,
2254
+ ];
2255
+ /** Where a state's rules go in a node's emit order: 0 the rest (pointer states, scrolled…), 1 the chosen states, 2 focus. */
2256
+ function stateEmitRank(state) {
2257
+ if (LAST_EMITTED_STATES.includes(state))
2258
+ return 2;
2259
+ return CHOSEN_STATES.includes(state) ? 1 : 0;
2260
+ }
2261
+ /** `states` in the order their rules are emitted: as given within a rank — the rest, the chosen states, then focus. */
2144
2262
  function orderStatesForEmit(states) {
2145
- return [...states.filter(s => !LAST_EMITTED_STATES.includes(s)), ...states.filter(s => LAST_EMITTED_STATES.includes(s))];
2263
+ return states.map((s, i) => ({ s, i, r: stateEmitRank(s) })).sort((a, b) => a.r - b.r || a.i - b.i).map(x => x.s);
2146
2264
  }
2147
2265
  /** True when a rule key (`<nodeId>:<state>`) holds a state emitted last. */
2148
2266
  function isLastEmittedStateKey(key) {
@@ -2297,8 +2415,8 @@ function renderDefaultDeclarations(type, styleProps) {
2297
2415
  // on `sp['height'] === undefined` (matching the builder, which respects a configured height). An
2298
2416
  // unset height + aspect-ratio lets the ratio drive the box.
2299
2417
  if (type === 'Image') {
2300
- if (sp['aspectRatio'] === undefined)
2301
- out.push('aspect-ratio: 1/1');
2418
+ // AD0 B-D1: no square fallback any more — the builder's Image takes its picture's own shape (its config sets no
2419
+ // ratio), and so does a saved Image that stores none.
2302
2420
  // object-fit is a Size style trait with config default 'cover'; that default isn't persisted,
2303
2421
  // so reapply it here (matching the builder) when the node has none.
2304
2422
  if (sp['objectFit'] === undefined)
@@ -2926,6 +3044,17 @@ const LEGACY_SWIPER_CONTROLS = {
2926
3044
  * The easing of the slides is the look's (`slider-ease`, iox-design.css).
2927
3045
  */
2928
3046
  const SLIDER_FEEL = { resistanceRatio: 0.65, threshold: 6 };
3047
+ /** AD0b C8: the coverflow angle's range (degrees). 0 is a flat centred row; past 90 a slide shows its back. */
3048
+ const COVERFLOW_ROTATE = { min: 0, max: 90 };
3049
+ /** The coverflow's turn the author set, clamped to {@link COVERFLOW_ROTATE}; null when unset (Swiper keeps its 50). */
3050
+ function coverflowRotate(value) {
3051
+ if (value === null || value === undefined || value === '')
3052
+ return null;
3053
+ const n = typeof value === 'number' ? value : parseFloat(String(value));
3054
+ if (!Number.isFinite(n))
3055
+ return null;
3056
+ return Math.min(COVERFLOW_ROTATE.max, Math.max(COVERFLOW_ROTATE.min, n));
3057
+ }
2929
3058
  /**
2930
3059
  * A "cards" stack (a list's deck, LI7): each card behind turns a little and peeks out a little; Swiper's shading on it is
2931
3060
  * rounded and coloured by the shared CSS (iox-design.css). Under reduced motion the stack keeps its depth and drops the
@@ -3071,6 +3200,9 @@ function planSwiperOptions(inputs, ctx) {
3071
3200
  if (!ctx.motion)
3072
3201
  options['speed'] = Math.min(options['speed'], SLIDER_CARDS.stillSpeed);
3073
3202
  }
3203
+ const turn = effect === 'coverflow' ? coverflowRotate(inputs.coverflowRotate) : null;
3204
+ if (turn !== null)
3205
+ options['coverflowEffect'] = { rotate: turn };
3074
3206
  if (effect === 'creative' && inputs.creativePreset === SliderCreativePreset.Fan) {
3075
3207
  options['creativeEffect'] = options['dir'] === 'rtl' ? fanSide(ctx.motion ? FAN_STEP : 0, true) : structuredClone(ctx.motion ? SLIDER_FAN.motion : SLIDER_FAN.still);
3076
3208
  options['slidesPerView'] = 1;
@@ -3259,7 +3391,7 @@ const SLIDER_INPUT_NAMES = [
3259
3391
  'autoHeight', 'slideToClickedSlide', 'freeMode', 'loop', 'enableNavigation', 'enablePagination', 'enableScrollbar', 'enableAutoplay',
3260
3392
  'enableKeyboard', 'enableMousewheel', 'enableZoom', 'enableGrid', 'enableParallax', 'autoplayDelay', 'autoplayPauseOnMouseEnter',
3261
3393
  'autoplayDisableOnInteraction', 'paginationType', 'paginationClickable', 'paginationDynamicBullets', 'gridRows', 'breakpoints',
3262
- 'scrollPlays', 'creativePreset',
3394
+ 'scrollPlays', 'creativePreset', 'coverflowRotate',
3263
3395
  ];
3264
3396
  function sliderInputsFromProps(props, responsive) {
3265
3397
  const out = {};
@@ -3338,6 +3470,8 @@ class ClientSliderContainerComponent {
3338
3470
  this.scrollPlays = false;
3339
3471
  /** AW11-D1: the creative effect's named setting (`fan` — a list's fan you drag). */
3340
3472
  this.creativePreset = '';
3473
+ /** AD0b C8: the coverflow's angle (degrees; unset = Swiper's 50). */
3474
+ this.coverflowRotate = null;
3341
3475
  this.swiper = null;
3342
3476
  this.slidesSeen = false;
3343
3477
  /** The slides the renderer placed (it asks `childHostFor` for each, before the first change detection), so a played
@@ -3392,11 +3526,11 @@ class ClientSliderContainerComponent {
3392
3526
  autoplayPauseOnMouseEnter: this.autoplayPauseOnMouseEnter, autoplayDisableOnInteraction: this.autoplayDisableOnInteraction,
3393
3527
  paginationType: this.paginationType, paginationClickable: this.paginationClickable, paginationDynamicBullets: this.paginationDynamicBullets,
3394
3528
  gridRows: this.gridRows, breakpoints: this.breakpoints, responsive: this.responsive, scrollPlays: this.scrollPlays,
3395
- creativePreset: this.creativePreset,
3529
+ creativePreset: this.creativePreset, coverflowRotate: this.coverflowRotate,
3396
3530
  };
3397
3531
  }
3398
3532
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ClientSliderContainerComponent, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
3399
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ClientSliderContainerComponent, isStandalone: false, selector: "iox-slider-container", inputs: { nodeId: "nodeId", dir: "dir", direction: "direction", loop: "loop", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", spaceBetween: "spaceBetween", speed: "speed", effect: "effect", grabCursor: "grabCursor", centeredSlides: "centeredSlides", initialSlide: "initialSlide", autoHeight: "autoHeight", slideToClickedSlide: "slideToClickedSlide", freeMode: "freeMode", enableNavigation: "enableNavigation", enablePagination: "enablePagination", enableScrollbar: "enableScrollbar", enableAutoplay: "enableAutoplay", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableGrid: "enableGrid", enableParallax: "enableParallax", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", navigationColor: "navigationColor", paginationColor: "paginationColor", gridRows: "gridRows", breakpoints: "breakpoints", responsive: "responsive", controlParts: "controlParts", scrollPlays: "scrollPlays", creativePreset: "creativePreset" }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "leadHost", first: true, predicate: ["leadHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "trailHost", first: true, predicate: ["trailHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true, static: true }, { propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }], ngImport: i0, template: `
3533
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: ClientSliderContainerComponent, isStandalone: false, selector: "iox-slider-container", inputs: { nodeId: "nodeId", dir: "dir", direction: "direction", loop: "loop", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", spaceBetween: "spaceBetween", speed: "speed", effect: "effect", grabCursor: "grabCursor", centeredSlides: "centeredSlides", initialSlide: "initialSlide", autoHeight: "autoHeight", slideToClickedSlide: "slideToClickedSlide", freeMode: "freeMode", enableNavigation: "enableNavigation", enablePagination: "enablePagination", enableScrollbar: "enableScrollbar", enableAutoplay: "enableAutoplay", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableGrid: "enableGrid", enableParallax: "enableParallax", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", navigationColor: "navigationColor", paginationColor: "paginationColor", gridRows: "gridRows", breakpoints: "breakpoints", responsive: "responsive", controlParts: "controlParts", scrollPlays: "scrollPlays", creativePreset: "creativePreset", coverflowRotate: "coverflowRotate" }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "leadHost", first: true, predicate: ["leadHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "trailHost", first: true, predicate: ["trailHost"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true, static: true }, { propertyName: "runwayEl", first: true, predicate: ["runwayEl"], descendants: true, static: true }], ngImport: i0, template: `
3400
3534
  <div #runwayEl [class.iox-slider-runway]="scrollPlays" [attr.data-iox-scene]="scrollPlays ? '' : null" [style.display]="scrollPlays ? null : 'contents'">
3401
3535
  <div class="swiper" [class]="'swiper iox-node-' + nodeId" [attr.dir]="dir" [style.direction]="dir"
3402
3536
  [style.--swiper-navigation-color]="legacyControls ? (navigationColor || null) : null"
@@ -3512,6 +3646,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
3512
3646
  type: Input
3513
3647
  }], creativePreset: [{
3514
3648
  type: Input
3649
+ }], coverflowRotate: [{
3650
+ type: Input
3515
3651
  }], childrenHost: [{
3516
3652
  type: ViewChild,
3517
3653
  args: ['childrenHost', { read: ViewContainerRef, static: true }]
@@ -8979,8 +9115,12 @@ function partClassName(type, partKey) {
8979
9115
  */
8980
9116
  const OUTER_STYLE_PROPS = new Set([
8981
9117
  'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft',
9118
+ // AD0b C4: the logical sides are margins too — the gap OUTSIDE the box, on the element that sits in the parent's flow.
9119
+ 'marginInlineStart', 'marginInlineEnd', 'marginInline', 'marginBlock', 'marginBlockStart', 'marginBlockEnd',
8982
9120
  'alignSelf', 'flexGrow', 'flexShrink', 'flexBasis', 'order',
8983
9121
  'gridColumn', 'gridRow', 'justifySelf',
9122
+ // AD0b C6: a snap stop belongs to the box that IS the scroll container's child.
9123
+ 'scrollSnapAlign',
8984
9124
  'width',
8985
9125
  ]);
8986
9126
  /** Structural pseudo-classes — matched on the element that IS the sibling among siblings (the outer). */
@@ -9055,6 +9195,199 @@ function gateHoverRule(state, css) {
9055
9195
  return css && isHoverState(state) ? `@media ${HOVER_MEDIA_QUERY} {\n${css}\n}` : css;
9056
9196
  }
9057
9197
 
9198
+ // B-D4 (ai-designer-plan, board ad0b, AD0b-Q5/Q6 as recommended): a row that turns into a column at a breakpoint
9199
+ // stacks its children at their OWN height there.
9200
+ //
9201
+ // SHARED (iox-ui): the builder canvas and the SSR engine both call `compileStackedChildren` with a node's base styles
9202
+ // and its sparse `responsive` layers; each only places the blocks it returns. Never fork a second copy.
9203
+ //
9204
+ // Why: a row's children usually share its width (`flex: 1 1 0`). When the row becomes a column on the phone, that share
9205
+ // becomes a share of the row's HEIGHT — a 100svh split hero is cut in two halves, three features in three thirds, and
9206
+ // each child's words float at the top of an empty slice (designer-loop proof, law 23). The default here gives every
9207
+ // direct child `flex-grow: 0; flex-basis: auto` from the breakpoint where the row stacks — the child hugs its content
9208
+ // (a picture keeps its proportion) and the leftover height stays the parent's, placed by its own alignment.
9209
+ //
9210
+ // The author always wins, by the cascade alone: the rule's selector weighs exactly one class — as much as the child's
9211
+ // own rules — and every renderer emits it AFTER every base rule (it beats the child's laptop share) and BEFORE the
9212
+ // breakpoint rules of that width (a child the author sized there, or anywhere narrower, keeps its size). The order of
9213
+ // the children (`order`) is never touched; the laptop is never touched.
9214
+ //
9215
+ // A GRID that becomes one column (AD-D24, iox-ui#202 b) stacks too: its items sit in row TRACKS, which a one-column grid
9216
+ // with a set height stretches (`align-content: normal` stretches auto tracks; `fr` rows share the height) — the same
9217
+ // third of the screen. There the default is the grid's own `align-content: start` (+ `grid-template-rows: none` where the
9218
+ // author's rows are `fr` tracks): every item its own height, the leftover below them, as a stacked flex row. Same
9219
+ // weight (one class: `.iox-node-<id>`), same place in the cascade — the author's own phone `align-content` / rows win;
9220
+ // a grid whose author chose its `align-content` keeps it. A grid whose columns depend on the width (`auto-fit`,
9221
+ // `auto-fill`) is never judged — nothing is known about it statically.
9222
+ /** What a stacked row's direct child defaults to — its own height, never a share of the column. */
9223
+ const STACKED_CHILD_DEFAULTS = Object.freeze({ flexGrow: '0', flexBasis: 'auto' });
9224
+ /** What kind of box stacks: a flex row (its children get the defaults) or a grid (the grid gets them — AD-D24). */
9225
+ var StackKind;
9226
+ (function (StackKind) {
9227
+ StackKind["Flex"] = "flex";
9228
+ StackKind["Grid"] = "grid";
9229
+ })(StackKind || (StackKind = {}));
9230
+ /** What a grid that becomes one column defaults to — its tracks hug their items (AD-D24). */
9231
+ const STACKED_GRID_DEFAULTS = Object.freeze({ alignContent: 'start' });
9232
+ /** …and, where the author's rows are `fr` tracks (a share of the height), no explicit rows: each row its item's height. */
9233
+ const STACKED_GRID_FR_ROWS = Object.freeze({ gridTemplateRows: 'none' });
9234
+ var FlexAxis;
9235
+ (function (FlexAxis) {
9236
+ FlexAxis["Row"] = "row";
9237
+ FlexAxis["Column"] = "column";
9238
+ })(FlexAxis || (FlexAxis = {}));
9239
+ const isFlexDisplay = (display) => {
9240
+ const d = String(display ?? '').trim();
9241
+ return d === 'flex' || d === 'inline-flex';
9242
+ };
9243
+ const isGridDisplay = (display) => {
9244
+ const d = String(display ?? '').trim();
9245
+ return d === 'grid' || d === 'inline-grid';
9246
+ };
9247
+ /** The top-level tokens of a track list (`repeat(2, minmax(0, 1fr)) 1fr` → two), line names (`[a]`) left out. */
9248
+ function trackTokens(list) {
9249
+ const out = [];
9250
+ let depth = 0;
9251
+ let token = '';
9252
+ for (const ch of list) {
9253
+ if (ch === '(' || ch === '[')
9254
+ depth++;
9255
+ if (ch === ')' || ch === ']')
9256
+ depth--;
9257
+ if (/\s/.test(ch) && depth === 0) {
9258
+ if (token)
9259
+ out.push(token);
9260
+ token = '';
9261
+ continue;
9262
+ }
9263
+ token += ch;
9264
+ }
9265
+ if (token)
9266
+ out.push(token);
9267
+ return out.filter(t => !t.startsWith('['));
9268
+ }
9269
+ /**
9270
+ * How many columns a `grid-template-columns` value draws: none / unset = one (the implicit column), `repeat(n, …)` counts
9271
+ * its tracks n times. null when the count depends on the width (`auto-fit` / `auto-fill`) or cannot be read.
9272
+ */
9273
+ function gridColumnCount(value) {
9274
+ const v = String(value ?? '').trim();
9275
+ if (!v || v === 'none' || v === 'auto')
9276
+ return 1;
9277
+ let count = 0;
9278
+ for (const token of trackTokens(v)) {
9279
+ const rep = /^repeat\(\s*([^,]+),(.*)\)$/.exec(token);
9280
+ if (!rep) {
9281
+ count++;
9282
+ continue;
9283
+ }
9284
+ const times = Number(rep[1].trim());
9285
+ if (!Number.isInteger(times) || times < 1)
9286
+ return null;
9287
+ count += times * trackTokens(rep[2].trim()).length;
9288
+ }
9289
+ return count;
9290
+ }
9291
+ const FR_TRACK = /\dfr\b/;
9292
+ const AUTHOR_ALIGN_UNSET = new Set(['', 'normal']);
9293
+ /** A one-column grid's defaults at a width: `align-content: start` unless the author chose one, rows `none` when they share the height. */
9294
+ function gridColumnDefaults(props) {
9295
+ return {
9296
+ ...(AUTHOR_ALIGN_UNSET.has(String(props['alignContent'] ?? '').trim()) ? STACKED_GRID_DEFAULTS : {}),
9297
+ ...(FR_TRACK.test(String(props['gridTemplateRows'] ?? '')) ? STACKED_GRID_FR_ROWS : {}),
9298
+ };
9299
+ }
9300
+ /** The axis a box lays its children on, and its kind, or null when it is neither a flex box nor a grid of known columns. */
9301
+ function stackBoxOf(props) {
9302
+ if (isFlexDisplay(props['display'])) {
9303
+ return { kind: StackKind.Flex, axis: String(props['flexDirection'] ?? '').trim().startsWith('column') ? FlexAxis.Column : FlexAxis.Row };
9304
+ }
9305
+ if (!isGridDisplay(props['display']))
9306
+ return null;
9307
+ const columns = gridColumnCount(props['gridTemplateColumns']);
9308
+ if (columns === null)
9309
+ return null;
9310
+ return columns > 1 ? { kind: StackKind.Grid, axis: FlexAxis.Row } : { kind: StackKind.Grid, axis: FlexAxis.Column, grid: gridColumnDefaults(props) };
9311
+ }
9312
+ const sameStack = (a, b) => a.kind === b.kind && JSON.stringify(a.grid ?? null) === JSON.stringify(b.kind === StackKind.Grid ? b.grid ?? {} : null);
9313
+ /**
9314
+ * Where a node's children stack: every breakpoint at which its effective layout turns from a row (just wider — a flex row,
9315
+ * or a grid of two or more columns) into a column (a flex column, or a one-column grid), each up to the narrower
9316
+ * breakpoint where it stops being one. Only a row of the column's own kind stacks (a grid that turns into a flex box
9317
+ * changes its layout altogether). A node with no breakpoint layer never changes — nothing. A one-column grid whose author already placed it (its own
9318
+ * `align-content`, no `fr` rows) needs nothing either.
9319
+ */
9320
+ function planStackedChildren(styleProps, responsive) {
9321
+ if (!responsive || !Object.keys(responsive).length)
9322
+ return [];
9323
+ const rules = [];
9324
+ let open = null;
9325
+ const start = (bp, box) => {
9326
+ const rule = { breakpoint: bp, until: null, kind: box.kind, ...(box.kind === StackKind.Grid ? { grid: box.grid ?? {} } : {}) };
9327
+ rules.push(rule);
9328
+ return rule;
9329
+ };
9330
+ let wider = stackBoxOf(resolveStyleProps(styleProps, responsive, Breakpoint.Base));
9331
+ for (const def of BREAKPOINTS) {
9332
+ if (def.id === Breakpoint.Base)
9333
+ continue;
9334
+ const bp = def.id;
9335
+ const here = stackBoxOf(resolveStyleProps(styleProps, responsive, bp));
9336
+ const column = here?.axis === FlexAxis.Column ? here : null;
9337
+ if (open && (!column || !sameStack(open, column))) {
9338
+ const ending = open;
9339
+ ending.until = bp;
9340
+ // the same kind of column, placed otherwise from here (an author's own phone `align-content`): a rule of its own
9341
+ open = column && column.kind === ending.kind ? start(bp, column) : null;
9342
+ }
9343
+ // A row turns into a column OF ITS OWN KIND: a flex row → a flex column, a grid of columns → one column. A grid
9344
+ // that becomes a flex box (or the other way) changes its layout altogether — not a stack, nothing.
9345
+ if (!open && column && wider?.axis === FlexAxis.Row && wider.kind === column.kind)
9346
+ open = start(bp, column);
9347
+ wider = here;
9348
+ }
9349
+ return rules.filter(r => r.kind === StackKind.Flex || Object.keys(r.grid ?? {}).length > 0);
9350
+ }
9351
+ /**
9352
+ * The node's direct children, whatever element each renders as: a component's host (`iox-outer-*`) or a one-element node
9353
+ * (`iox-node-*`, an Image). `:where()` keeps the parent weightless, `:is()` weighs one class — the child's own rules' weight.
9354
+ */
9355
+ function stackedChildSelector(cssId) {
9356
+ return `:where(.iox-node-${cssId}) > :is([class*="iox-outer-"], [class*="iox-node-"])`;
9357
+ }
9358
+ /** A one-column grid's own rule: the node itself, at one class — the weight of its own rules. */
9359
+ function stackedGridSelector(cssId) {
9360
+ return `.iox-node-${cssId}`;
9361
+ }
9362
+ /** The query a rule holds under: its breakpoint's `max-width`, and the next one's `min-width` when it stops before the narrowest. */
9363
+ function stackedChildQuery(rule, kind = BreakpointQueryKind.Media, containerName) {
9364
+ const max = breakpointDef(rule.breakpoint)?.maxWidth;
9365
+ const untilMax = rule.until ? breakpointDef(rule.until)?.maxWidth : null;
9366
+ const range = untilMax != null ? `(min-width: ${untilMax + 1}px) and (max-width: ${max}px)` : `(max-width: ${max}px)`;
9367
+ if (kind === BreakpointQueryKind.Media)
9368
+ return `@media ${range}`;
9369
+ if (!containerName)
9370
+ throw new Error('A container breakpoint query needs a container name');
9371
+ return `@container ${containerName} ${range}`;
9372
+ }
9373
+ /**
9374
+ * THE B-D4 rule, compiled: one block per stretch where `cssId`'s row stacks, each to be placed after every base rule and
9375
+ * before the breakpoint rules of `breakpoint` (the engine wraps in `@media`, the canvas in its `@container`). A flex row's
9376
+ * block sizes its children; a grid's (AD-D24) places its own tracks. Declarations are compiled in the Override context —
9377
+ * `0`, `auto` and `none` undo the wider value, they are not no-ops here.
9378
+ */
9379
+ function compileStackedChildren(cssId, styleProps, responsive, kind = BreakpointQueryKind.Media, containerName) {
9380
+ if (!cssId)
9381
+ return [];
9382
+ const childDecls = compileDeclarations({ ...STACKED_CHILD_DEFAULTS }, undefined, DeclarationContext.Override);
9383
+ return planStackedChildren(styleProps, responsive).map(rule => {
9384
+ const [selector, decls] = rule.kind === StackKind.Grid
9385
+ ? [stackedGridSelector(cssId), compileDeclarations({ ...rule.grid }, undefined, DeclarationContext.Override)]
9386
+ : [stackedChildSelector(cssId), childDecls];
9387
+ return { ...rule, css: `${stackedChildQuery(rule, kind, containerName)} {\n${selector} { ${decls.join('; ')} }\n}` };
9388
+ });
9389
+ }
9390
+
9058
9391
  /**
9059
9392
  * "This link is the page you're on" (CC1, N2). ONE decision for the builder canvas and both engine
9060
9393
  * paths: a link whose target is the current page renders `aria-current="page"` — in the raw SSR too —
@@ -9466,10 +9799,11 @@ var A11yAttribute;
9466
9799
  A11yAttribute["Hidden"] = "aria-hidden";
9467
9800
  A11yAttribute["Current"] = "aria-current";
9468
9801
  A11yAttribute["Id"] = "id";
9802
+ A11yAttribute["Role"] = "role";
9469
9803
  })(A11yAttribute || (A11yAttribute = {}));
9470
9804
  /** Every attribute this module may set — what `syncNodeA11yAttributes` owns on an element. */
9471
9805
  const MANAGED_A11Y_ATTRIBUTES = [
9472
- A11yAttribute.Label, A11yAttribute.Hidden, A11yAttribute.Current, A11yAttribute.Id,
9806
+ A11yAttribute.Label, A11yAttribute.Hidden, A11yAttribute.Current, A11yAttribute.Id, A11yAttribute.Role,
9473
9807
  'aria-haspopup', 'aria-expanded', 'aria-controls', DIALOG_CLOSE_ABOVE_ATTRIBUTE,
9474
9808
  HeaderAttribute.Behaviour, HeaderAttribute.Edge, HeaderAttribute.Ink, HeaderAttribute.Ground, BRAND_NAME_ATTRIBUTE, BAR_ATTRIBUTE, BAR_NAME_ATTRIBUTE, SLIDE_CAPTION_ATTRIBUTE,
9475
9809
  TOOLTIP_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, ...MARQUEE_NODE_ATTRIBUTES, ...MENU_ATTRIBUTES, ...POPUP_ATTRIBUTES,
@@ -9497,11 +9831,29 @@ function closeAboveMediaQuery(minWidth) {
9497
9831
  function trimmed$1(v) {
9498
9832
  return typeof v === 'string' ? v.trim() : '';
9499
9833
  }
9834
+ /** The ARIA landmark of the site's footer. */
9835
+ const FOOTER_LANDMARK_ROLE = 'contentinfo';
9836
+ /** The type a site's footer is laid in: the composer's footer (free or mixed), the palette's, a designer's. */
9837
+ const FOOTER_LANDMARK_TYPE = 'Section';
9838
+ const GLOBAL_AFTER = 'after';
9839
+ /**
9840
+ * The landmark a node is to assistive technology, or null (vectoriox/iox-ui#204). A Section placed after every page as a
9841
+ * global IS the site's footer: it is the `contentinfo` landmark a screen reader jumps to for the contact details and the
9842
+ * legal row. Its tag stays a `<section>` (the canvas and the component path) or a `<div>` (the string path) — the role is
9843
+ * what assistive technology reads, and no CSS that names the tag moves. A drawer, a dialog or a bar placed after the page
9844
+ * is not a Section and stays what it is. One footer per site: the composer and the palette make one.
9845
+ */
9846
+ function landmarkRoleOf(node) {
9847
+ return node?.type === FOOTER_LANDMARK_TYPE && !!node.isGlobal && node.globalPosition === GLOBAL_AFTER ? FOOTER_LANDMARK_ROLE : null;
9848
+ }
9500
9849
  /** The attributes a node renders. */
9501
9850
  function nodeA11yAttributes(node, ctx = {}) {
9502
9851
  if (!node?.type)
9503
9852
  return {};
9504
9853
  const out = {};
9854
+ const landmark = landmarkRoleOf(node);
9855
+ if (landmark)
9856
+ out[A11yAttribute.Role] = landmark;
9505
9857
  const name = ACCESSIBLE_NAME_TYPES.includes(node.type) ? trimmed$1(nodeTraitValue(node, A11yTrait.AccessibleName)) : '';
9506
9858
  if (name)
9507
9859
  out[A11yAttribute.Label] = name;
@@ -9998,10 +10350,6 @@ var ScrollActionType;
9998
10350
  ScrollActionType["Parallax"] = "parallax";
9999
10351
  ScrollActionType["ProgressBar"] = "progressBar";
10000
10352
  })(ScrollActionType || (ScrollActionType = {}));
10001
- /** Actions that reveal an element (hidden → visible). Their FIRST frame is the pre-state. */
10002
- const ENTRANCE_ACTION_TYPES = new Set(['fadeIn', 'moveUp', 'moveDown', 'moveLeft', 'moveRight', 'scaleIn', VisibilityActionType.Show, RevealActionType.Clip, RevealActionType.Zoom, RevealActionType.Text, RevealActionType.Blur]);
10003
- /** Actions that hide an element (visible → hidden). */
10004
- const EXIT_ACTION_TYPES = new Set(['fadeOut', 'scaleOut', VisibilityActionType.Hide, DISSOLVE_ACTION]);
10005
10353
  /** How far a dissolve grows when its stamp names no `grow` (the opening's picture — the contract's `rules.dissolve`). */
10006
10354
  const DISSOLVE_GROW_DEFAULT = 1.5;
10007
10355
  /** A dissolve grows at least a little and never more than twice its size. */
@@ -10120,15 +10468,50 @@ function settleInteraction(el, frames, mode, options = {}, anim) {
10120
10468
  }
10121
10469
  anim?.cancel();
10122
10470
  }
10471
+ /** The members of a computed keyframe that are not an animated property. */
10472
+ const KEYFRAME_TIMING_KEYS = new Set(['offset', 'computedOffset', 'easing', 'composite']);
10123
10473
  /** The keyframe properties an Animation animates (camelCase, as `getKeyframes` names them). */
10124
10474
  function animatedKeys(anim) {
10125
10475
  const keyframes = anim.effect?.getKeyframes?.() ?? [];
10126
- const skip = new Set(['offset', 'computedOffset', 'easing', 'composite']);
10127
- return keyframes.flatMap(k => Object.keys(k).filter(key => !skip.has(key)));
10476
+ return keyframes.flatMap(k => Object.keys(k).filter(key => !KEYFRAME_TIMING_KEYS.has(key)));
10477
+ }
10478
+ /** The properties each run in flight has handed to a later run (`handOver`). */
10479
+ const HANDED_OVER = new WeakMap();
10480
+ /**
10481
+ * A run in flight gives `keys` to the run that interrupts it and KEEPS PLAYING what it animates besides (AD0 A1,
10482
+ * iox-ui#199): two entrances on one element (Blur in + Move up) share only their opacity — before, the second
10483
+ * cancelled the first outright, which never settled, and its start frame (`filter: blur(4px)`) stayed inline. A run
10484
+ * left with nothing of its own is cancelled, as before (a hover-out turning a hover-in around). True when it was
10485
+ * cancelled. An Animation that cannot change its keyframes (a stub) is cancelled.
10486
+ */
10487
+ function handOver(anim, keys) {
10488
+ const effect = anim.effect;
10489
+ const kept = animatedKeys(anim).filter(k => !keys.has(k));
10490
+ if (!kept.length || typeof effect?.setKeyframes !== 'function') {
10491
+ anim.cancel();
10492
+ return true;
10493
+ }
10494
+ effect.setKeyframes(effect.getKeyframes().map(frame => Object.fromEntries(Object.entries(frame)
10495
+ .filter(([key]) => key !== 'computedOffset' && !keys.has(key)))));
10496
+ const given = HANDED_OVER.get(anim) ?? new Set();
10497
+ for (const k of keys)
10498
+ given.add(k);
10499
+ HANDED_OVER.set(anim, given);
10500
+ return false;
10501
+ }
10502
+ /** The frames of a run without the properties it handed to a later run — what its settle may touch: a property handed
10503
+ * over is the later run's to settle (an exit's held `opacity: 0` is never released by the entrance it interrupted). */
10504
+ function framesStillAnimated(anim, frames) {
10505
+ const given = anim ? HANDED_OVER.get(anim) : undefined;
10506
+ const all = [...(frames ?? [])];
10507
+ if (!given?.size)
10508
+ return all;
10509
+ return all.map(frame => Object.fromEntries(Object.entries(frame).filter(([key]) => !given.has(key))));
10128
10510
  }
10129
10511
  /**
10130
- * Interrupt (Emil 52/59/62): the interaction runs in flight on `el` over the same properties are stopped — never
10131
- * stacked — and the new run starts from what the element shows NOW (its presentation value), not from frame 0: a
10512
+ * Interrupt (Emil 52/59/62): the interaction runs in flight on `el` over the same properties hand them over — never
10513
+ * stacked; a run keeps playing only what the new one does not animate (`handOver`) — and the new run starts from what
10514
+ * the element shows NOW (its presentation value), not from frame 0: a
10132
10515
  * hover-out halfway through the hover-in turns back from where it is, a re-trigger continues. Untouched when
10133
10516
  * nothing is running (the run starts from its own first frame, as before).
10134
10517
  */
@@ -10149,7 +10532,7 @@ function framesFromLiveValue(el, frames) {
10149
10532
  live[key] = value;
10150
10533
  }
10151
10534
  for (const anim of running)
10152
- anim.cancel();
10535
+ handOver(anim, keys);
10153
10536
  return [live, ...frames.slice(1)];
10154
10537
  }
10155
10538
  /**
@@ -10160,7 +10543,7 @@ function framesFromLiveValue(el, frames) {
10160
10543
  function playInteraction(el, action, frames, timing, options = {}) {
10161
10544
  const anim = animateAction(el, action, frames, { fill: 'both', ...timing }, { reverse: options.reverse });
10162
10545
  const mode = settleModeFor(action.type, options.reverse);
10163
- anim.finished?.then(() => settleInteraction(el, frames, mode, options, anim)).catch(() => { });
10546
+ anim.finished?.then(() => settleInteraction(el, framesStillAnimated(anim, frames), mode, options, anim)).catch(() => { });
10164
10547
  return anim;
10165
10548
  }
10166
10549
  /**
@@ -11523,6 +11906,35 @@ function safeSetInput(ref, name, value) {
11523
11906
  return false;
11524
11907
  }
11525
11908
 
11909
+ const SELECTOR_ATTRIBUTE = /\[([\w-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\]\s]*)))?\s*\]/g;
11910
+ const cache = new WeakMap();
11911
+ /**
11912
+ * The attributes `type`'s selector names, each once, across every alternative
11913
+ * (`a[iox-button-block],button[iox-button-block]` → `iox-button-block`). Cached per class; empty for an
11914
+ * element selector or a class Angular can't reflect.
11915
+ */
11916
+ function hostSelectorAttributes(type) {
11917
+ let attrs = cache.get(type);
11918
+ if (!attrs) {
11919
+ const byName = new Map();
11920
+ for (const m of (reflectComponentType(type)?.selector ?? '').matchAll(SELECTOR_ATTRIBUTE)) {
11921
+ if (!byName.has(m[1]))
11922
+ byName.set(m[1], { name: m[1], value: m[2] ?? m[3] ?? m[4] ?? '' });
11923
+ }
11924
+ attrs = [...byName.values()];
11925
+ cache.set(type, attrs);
11926
+ }
11927
+ return attrs;
11928
+ }
11929
+ /** Write `type`'s selector attributes on `host` — call before `createComponent(type, { hostElement: host })`. */
11930
+ function stampSelectorAttributes(host, type) {
11931
+ for (const { name, value } of hostSelectorAttributes(type)) {
11932
+ if (!host.hasAttribute(name))
11933
+ host.setAttribute(name, value);
11934
+ }
11935
+ return host;
11936
+ }
11937
+
11526
11938
  /**
11527
11939
  * THE binding path resolver — one implementation, shared by every renderer.
11528
11940
  *
@@ -14492,5 +14904,5 @@ class PopupRuntime {
14492
14904
  * Generated bundle index. Do not edit.
14493
14905
  */
14494
14906
 
14495
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COLOUR_FLOW_CLASS, COLOUR_FLOW_MAX_STOPS, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FLOW_STOPS_PROPERTY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachColourFlow, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover$1 as canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, colourFlowOpacities, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, flowStopProperty, flowStopsIn, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
14907
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, CHOSEN_STATES, COLOUR_FLOW_CLASS, COLOUR_FLOW_MAX_STOPS, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, COVERFLOW_ROTATE, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FLOW_STOPS_PROPERTY, FOOTER_LANDMARK_ROLE, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MASK_FADE_IMAGES, MASK_FADE_KEY, MAX_LINES_KEY, MaskFade, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STACKED_CHILD_DEFAULTS, STACKED_GRID_DEFAULTS, STACKED_GRID_FR_ROWS, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StackKind, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DEFAULT_CSS, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachColourFlow, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover$1 as canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, colourFlowOpacities, commitInlineEdit, compileDeclarations, compilePageStyle, compileStackedChildren, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, coverflowRotate, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, flowStopProperty, flowStopsIn, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, framesStillAnimated, gateHoverRule, getSeoValue, gridColumnCount, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, hostSelectorAttributes, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, landmarkRoleOf, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, maskFadeImage, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderShorthandsFirst, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStackedChildren, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stackedChildQuery, stackedChildSelector, stackedGridSelector, stampSelectorAttributes, stateEmitRank, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
14496
14908
  //# sourceMappingURL=vectoriox-iox-ui.mjs.map