@vectoriox/iox-ui 5.161.0 → 5.163.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 (43) hide show
  1. package/actions-core/index.d.ts +171 -3
  2. package/assist-core/index.d.ts +3 -2
  3. package/composite-core/index.d.ts +185 -2
  4. package/design-core/index.d.ts +130 -0
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +243 -2
  6. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +6 -5
  8. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +404 -163
  10. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs +152 -1
  12. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +302 -10
  14. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +140 -1
  16. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  17. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +306 -48
  18. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  19. package/fesm2022/vectoriox-iox-ui.mjs +383 -10
  20. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  21. package/generation-core/index.d.ts +243 -6
  22. package/harness-core/index.d.ts +132 -2
  23. package/index.d.ts +105 -3
  24. package/package.json +1 -1
  25. package/scene-core/index.d.ts +130 -10
  26. package/src/actions-core/popup-arrival.ts +328 -0
  27. package/src/actions-core/public-api.ts +1 -0
  28. package/src/assist-core/media-generate.ts +6 -5
  29. package/src/composite-core/popup.ts +285 -0
  30. package/src/composite-core/public-api.ts +1 -0
  31. package/src/design-core/flavor-spec.generated.ts +152 -1
  32. package/src/generation-core/ai-run.ts +65 -2
  33. package/src/generation-core/compose-layout.ts +11 -5
  34. package/src/generation-core/pictures.ts +4 -3
  35. package/src/generation-core/site-spec.generated.ts +235 -0
  36. package/src/harness-core/business-types.ts +2 -0
  37. package/src/harness-core/harness-spec.generated.ts +83 -0
  38. package/src/harness-core/popup-stance.ts +111 -0
  39. package/src/harness-core/public-api.ts +1 -0
  40. package/src/scene-core/scene-edit.ts +12 -8
  41. package/src/scene-core/scene.ts +131 -21
  42. package/src/scene-core/scroll-driver.ts +209 -23
  43. package/styles/iox-design.css +121 -2
@@ -471,7 +471,7 @@ var Type$8;
471
471
  Type["Icon"] = "Icon";
472
472
  Type["Repeater"] = "Repeater";
473
473
  })(Type$8 || (Type$8 = {}));
474
- var Style$9;
474
+ var Style$a;
475
475
  (function (Style) {
476
476
  Style["Root"] = "box";
477
477
  Style["Item"] = "accordion-item";
@@ -480,7 +480,7 @@ var Style$9;
480
480
  Style["Icon"] = "icon";
481
481
  Style["Panel"] = "accordion-panel";
482
482
  Style["Answer"] = "body";
483
- })(Style$9 || (Style$9 = {}));
483
+ })(Style$a || (Style$a = {}));
484
484
  const ZERO_BOX$4 = '0px 0px 0px 0px';
485
485
  const HEADING_LEVELS = ['h2', 'h3', 'h4', 'h5', 'h6'];
486
486
  const DEFAULT_LEVEL = 'h3';
@@ -507,7 +507,7 @@ function make$4(create, key, type, role, style, props = {}, label) {
507
507
  * ITS item (`stateTriggers`). ONE builder for both kinds. */
508
508
  function buildCompositeIcon(create, key, icon, itemId, role = AccordionRole.Icon) {
509
509
  const glyph = ACCORDION_ICON_GLYPH[icon];
510
- const node = makeCompositePart(create, { key, type: Type$8.Icon, props: { iconClass: glyph.iconClass }, elementStyle: Style$9.Icon }, role, 'Icon', PART_BASE$3[AccordionRole.Icon]);
510
+ const node = makeCompositePart(create, { key, type: Type$8.Icon, props: { iconClass: glyph.iconClass }, elementStyle: Style$a.Icon }, role, 'Icon', PART_BASE$3[AccordionRole.Icon]);
511
511
  node.stateStyles = { ...(node.stateStyles ?? {}), [ITEM_OPEN_STATE]: { rotate: glyph.turn } };
512
512
  if (itemId)
513
513
  node.stateTriggers = { ...(node.stateTriggers ?? {}), [ITEM_OPEN_STATE]: itemId };
@@ -515,14 +515,14 @@ function buildCompositeIcon(create, key, icon, itemId, role = AccordionRole.Icon
515
515
  }
516
516
  /** One item: header (question + icon) and panel (answer). `key` makes every part's recipe key unique. */
517
517
  function buildAccordionItem(create, words, itemKey, icon = AccordionIcon.Chevron) {
518
- const item = make$4(create, `${itemKey}`, Type$8.Container, AccordionRole.Item, Style$9.Item, {}, 'Item');
518
+ const item = make$4(create, `${itemKey}`, Type$8.Container, AccordionRole.Item, Style$a.Item, {}, 'Item');
519
519
  item.itemKey = itemKey;
520
- const trigger = make$4(create, `${itemKey}-trigger`, Type$8.LinkedContainer, AccordionRole.Trigger, Style$9.Trigger, {}, 'Header');
521
- const question = make$4(create, `${itemKey}-question`, Type$8.Heading, null, Style$9.Question, { content: words.question, level: DEFAULT_LEVEL }, 'Heading');
520
+ const trigger = make$4(create, `${itemKey}-trigger`, Type$8.LinkedContainer, AccordionRole.Trigger, Style$a.Trigger, {}, 'Header');
521
+ const question = make$4(create, `${itemKey}-question`, Type$8.Heading, null, Style$a.Question, { content: words.question, level: DEFAULT_LEVEL }, 'Heading');
522
522
  writeStyles(question, QUESTION_BASE);
523
523
  trigger.children = [question, ...(icon === AccordionIcon.None ? [] : [buildCompositeIcon(create, `${itemKey}-icon`, icon, item.id)])];
524
- const panel = make$4(create, `${itemKey}-panel`, Type$8.Container, AccordionRole.Panel, Style$9.Panel, {}, 'Panel');
525
- const answer = make$4(create, `${itemKey}-answer`, Type$8.Text, null, Style$9.Answer, { content: words.answer, tag: 'p' }, 'Text');
524
+ const panel = make$4(create, `${itemKey}-panel`, Type$8.Container, AccordionRole.Panel, Style$a.Panel, {}, 'Panel');
525
+ const answer = make$4(create, `${itemKey}-answer`, Type$8.Text, null, Style$a.Answer, { content: words.answer, tag: 'p' }, 'Text');
526
526
  writeStyles(answer, ANSWER_BASE);
527
527
  panel.children = [answer];
528
528
  item.children = [trigger, panel];
@@ -530,7 +530,7 @@ function buildAccordionItem(create, words, itemKey, icon = AccordionIcon.Chevron
530
530
  }
531
531
  /** A fresh Accordion: three items, one open at a time, the first open by default (board 4). */
532
532
  function buildAccordionRecipe(create, options = {}) {
533
- const root = make$4(create, 'accordion', Type$8.Container, AccordionRole.Accordion, Style$9.Root, {}, 'Accordion');
533
+ const root = make$4(create, 'accordion', Type$8.Container, AccordionRole.Accordion, Style$a.Root, {}, 'Accordion');
534
534
  writeProp(root, CompositeBehaviourTrait.Multiple, options.multiple ?? false);
535
535
  writeProp(root, CompositeBehaviourTrait.DefaultOn, options.defaultOn ?? AccordionDefaultOn.First);
536
536
  const words = options.items ?? accordionWords(options.lang);
@@ -1406,14 +1406,14 @@ var Type$7;
1406
1406
  Type["LinkedContainer"] = "LinkedContainer";
1407
1407
  Type["Text"] = "Text";
1408
1408
  })(Type$7 || (Type$7 = {}));
1409
- var Style$8;
1409
+ var Style$9;
1410
1410
  (function (Style) {
1411
1411
  Style["Root"] = "box";
1412
1412
  Style["Trigger"] = "accordion-trigger";
1413
1413
  Style["Word"] = "body";
1414
1414
  Style["Panel"] = "accordion-panel";
1415
1415
  Style["Body"] = "body";
1416
- })(Style$8 || (Style$8 = {}));
1416
+ })(Style$9 || (Style$9 = {}));
1417
1417
  const ZERO_BOX$3 = '0px 0px 0px 0px';
1418
1418
  const HIDDEN = 'none';
1419
1419
  const INHERIT = 'inherit';
@@ -1443,7 +1443,7 @@ function make$3(create, key, type, role, style, props, label) {
1443
1443
  }
1444
1444
  /** One of the trigger's two words: shown while the disclosure is closed (`more`) or open (`less`). */
1445
1445
  function buildWord(create, role, words, rootId) {
1446
- const node = make$3(create, role === DisclosureRole.More ? 'more' : 'less', Type$7.Text, role, Style$8.Word, { content: words, tag: 'span' }, 'Text');
1446
+ const node = make$3(create, role === DisclosureRole.More ? 'more' : 'less', Type$7.Text, role, Style$9.Word, { content: words, tag: 'span' }, 'Text');
1447
1447
  node.stateStyles = { ...(node.stateStyles ?? {}), [ITEM_OPEN_STATE]: { display: role === DisclosureRole.More ? HIDDEN : SHOWN } };
1448
1448
  if (rootId)
1449
1449
  node.stateTriggers = { ...(node.stateTriggers ?? {}), [ITEM_OPEN_STATE]: rootId };
@@ -1452,18 +1452,18 @@ function buildWord(create, role, words, rootId) {
1452
1452
  /** A fresh Disclosure: "Read more" opens the text below and reads "Read less" while it is open; closed by default. */
1453
1453
  function buildDisclosureRecipe(create, options = {}) {
1454
1454
  const words = { ...DISCLOSURE_WORDS, ...(options.words ?? {}) };
1455
- const root = make$3(create, 'disclosure', Type$7.Container, DisclosureRole.Disclosure, Style$8.Root, {}, 'Disclosure');
1455
+ const root = make$3(create, 'disclosure', Type$7.Container, DisclosureRole.Disclosure, Style$9.Root, {}, 'Disclosure');
1456
1456
  root.itemKey = DISCLOSURE_ITEM_KEY;
1457
1457
  writeProp(root, CompositeBehaviourTrait.DefaultOn, options.open ? AccordionDefaultOn.First : AccordionDefaultOn.None);
1458
1458
  const icon = options.icon ?? AccordionIcon.Chevron;
1459
- const trigger = make$3(create, 'trigger', Type$7.LinkedContainer, DisclosureRole.Trigger, Style$8.Trigger, {}, 'Toggle');
1459
+ const trigger = make$3(create, 'trigger', Type$7.LinkedContainer, DisclosureRole.Trigger, Style$9.Trigger, {}, 'Toggle');
1460
1460
  trigger.children = [
1461
1461
  buildWord(create, DisclosureRole.More, words.more, root.id),
1462
1462
  buildWord(create, DisclosureRole.Less, words.less, root.id),
1463
1463
  ...(icon === AccordionIcon.None ? [] : [buildCompositeIcon(create, 'icon', icon, root.id, DisclosureRole.Icon)]),
1464
1464
  ];
1465
- const panel = make$3(create, 'panel', Type$7.Container, DisclosureRole.Panel, Style$8.Panel, {}, 'Panel');
1466
- const body = make$3(create, 'body', Type$7.Text, null, Style$8.Body, { content: words.body, tag: 'p' }, 'Text');
1465
+ const panel = make$3(create, 'panel', Type$7.Container, DisclosureRole.Panel, Style$9.Panel, {}, 'Panel');
1466
+ const body = make$3(create, 'body', Type$7.Text, null, Style$9.Body, { content: words.body, tag: 'p' }, 'Text');
1467
1467
  writeStyles(body, BODY_BASE$1);
1468
1468
  panel.children = [body];
1469
1469
  root.children = [trigger, panel];
@@ -1673,7 +1673,7 @@ var Type$6;
1673
1673
  Type["Icon"] = "Icon";
1674
1674
  Type["ButtonBlock"] = "ButtonBlock";
1675
1675
  })(Type$6 || (Type$6 = {}));
1676
- var Style$7;
1676
+ var Style$8;
1677
1677
  (function (Style) {
1678
1678
  Style["Card"] = "card";
1679
1679
  Style["Box"] = "box";
@@ -1689,7 +1689,7 @@ var Style$7;
1689
1689
  Style["Logo"] = "card-logo";
1690
1690
  Style["Quote"] = "lead";
1691
1691
  Style["Person"] = "small";
1692
- })(Style$7 || (Style$7 = {}));
1692
+ })(Style$8 || (Style$8 = {}));
1693
1693
  var Scheme;
1694
1694
  (function (Scheme) {
1695
1695
  Scheme["Default"] = "default";
@@ -1701,9 +1701,9 @@ const SAVE_ICON = 'ph ph-bookmark-simple';
1701
1701
  const CARD_ICON = 'ph ph-sparkle';
1702
1702
  /** A value an element style writes — read from the contract, never retyped. */
1703
1703
  const styleValue = (style, trait) => String(elementStyleById(style)?.base[trait] ?? '');
1704
- const CARD_PAD = styleValue(Style$7.Card, 'padding');
1705
- const IMAGE_RADIUS = styleValue(Style$7.Media, 'borderRadius');
1706
- const TITLE_SIZE = styleValue(Style$7.Title, 'fontSize');
1704
+ const CARD_PAD = styleValue(Style$8.Card, 'padding');
1705
+ const IMAGE_RADIUS = styleValue(Style$8.Media, 'borderRadius');
1706
+ const TITLE_SIZE = styleValue(Style$8.Title, 'fontSize');
1707
1707
  const LEAD_SIZE = 'var(--iox-size-lead)';
1708
1708
  const ZERO_BOX$2 = '0px 0px 0px 0px';
1709
1709
  /** What every card part holds in every layout — the recipe's box. */
@@ -1736,7 +1736,7 @@ const LAYOUTS = {
1736
1736
  card: { flexDirection: 'column', alignItems: 'stretch', justifyContent: 'flex-start', minHeight: 'auto', padding: CARD_PAD },
1737
1737
  media: { ...IN_FLOW, flexBasis: 'auto' },
1738
1738
  image: { aspectRatio: '4 / 3', height: 'auto', minHeight: 'auto', borderRadius: IMAGE_RADIUS },
1739
- content: GROWING_CONTENT, contentStyle: Style$7.Box, contentScheme: Scheme.Default,
1739
+ content: GROWING_CONTENT, contentStyle: Style$8.Box, contentScheme: Scheme.Default,
1740
1740
  title: { fontSize: TITLE_SIZE },
1741
1741
  badgeOnMedia: true,
1742
1742
  },
@@ -1744,7 +1744,7 @@ const LAYOUTS = {
1744
1744
  card: { flexDirection: 'row', alignItems: 'stretch', justifyContent: 'flex-start', minHeight: 'auto', padding: CARD_PAD },
1745
1745
  media: { ...IN_FLOW, flexBasis: '42%' },
1746
1746
  image: { aspectRatio: 'auto', height: '100%', minHeight: '180px', borderRadius: IMAGE_RADIUS },
1747
- content: GROWING_CONTENT, contentStyle: Style$7.Box, contentScheme: Scheme.Default,
1747
+ content: GROWING_CONTENT, contentStyle: Style$8.Box, contentScheme: Scheme.Default,
1748
1748
  title: { fontSize: TITLE_SIZE },
1749
1749
  badgeOnMedia: true,
1750
1750
  stack: {
@@ -1758,7 +1758,7 @@ const LAYOUTS = {
1758
1758
  media: { position: 'absolute', top: '0px', right: '0px', bottom: '0px', left: '0px', flexBasis: 'auto' },
1759
1759
  image: { aspectRatio: 'auto', height: '100%', minHeight: 'auto', borderRadius: '0px' },
1760
1760
  content: { position: 'relative', flexGrow: '0', flexShrink: '0', flexBasis: 'auto', padding: `72px ${CARD_PAD} ${CARD_PAD} ${CARD_PAD}` },
1761
- contentStyle: Style$7.Scrim, contentScheme: Scheme.Inverse,
1761
+ contentStyle: Style$8.Scrim, contentScheme: Scheme.Inverse,
1762
1762
  title: { fontSize: TITLE_SIZE },
1763
1763
  badgeOnMedia: false,
1764
1764
  },
@@ -1766,7 +1766,7 @@ const LAYOUTS = {
1766
1766
  card: { flexDirection: 'row', alignItems: 'center', justifyContent: 'flex-start', minHeight: 'auto', padding: CARD_PAD },
1767
1767
  media: { ...IN_FLOW, flexBasis: '72px' },
1768
1768
  image: { aspectRatio: '1 / 1', height: 'auto', minHeight: 'auto', borderRadius: IMAGE_RADIUS },
1769
- content: GROWING_CONTENT, contentStyle: Style$7.Box, contentScheme: Scheme.Default,
1769
+ content: GROWING_CONTENT, contentStyle: Style$8.Box, contentScheme: Scheme.Default,
1770
1770
  title: { fontSize: LEAD_SIZE },
1771
1771
  badgeOnMedia: false,
1772
1772
  partsOff: [CardPart.Text, CardPart.Actions],
@@ -1787,15 +1787,15 @@ function make$2(create, key, type, role, elementStyle, props = {}, label) {
1787
1787
  return node;
1788
1788
  }
1789
1789
  function buttonLabel(create, key, words) {
1790
- const label = make$2(create, key, Type$6.Text, null, Style$7.Label, { content: words, tag: 'span' });
1790
+ const label = make$2(create, key, Type$6.Text, null, Style$8.Label, { content: words, tag: 'span' });
1791
1791
  writeStyles(label, LABEL_BASE$2);
1792
1792
  return label;
1793
1793
  }
1794
1794
  /** Each optional part (and the locked title) as the recipe builds it. */
1795
1795
  const PART_BUILDERS = {
1796
1796
  [CardPart.Media]: (create) => {
1797
- const media = make$2(create, 'media', Type$6.Container, CardRole.Media, Style$7.Box, {}, 'Media');
1798
- const image = make$2(create, 'image', Type$6.Image, null, Style$7.Media, { src: '', alt: '' });
1797
+ const media = make$2(create, 'media', Type$6.Container, CardRole.Media, Style$8.Box, {}, 'Media');
1798
+ const image = make$2(create, 'image', Type$6.Image, null, Style$8.Media, { src: '', alt: '' });
1799
1799
  writeStyles(image, IMAGE_BASE$2);
1800
1800
  media.children = [image];
1801
1801
  return media;
@@ -1806,19 +1806,19 @@ const PART_BUILDERS = {
1806
1806
  badge.label = 'Badge';
1807
1807
  return badge;
1808
1808
  },
1809
- [CardPart.Eyebrow]: (create, words) => make$2(create, 'eyebrow', Type$6.Text, CardRole.Eyebrow, Style$7.Eyebrow, { content: words.eyebrow, tag: 'p' }, 'Eyebrow'),
1810
- [CardPart.Text]: (create, words) => make$2(create, 'text', Type$6.Text, CardRole.Text, Style$7.Body, { content: words.text, tag: 'p' }, 'Text'),
1811
- [CardPart.Logo]: (create) => make$2(create, 'logo', Type$6.Image, CardRole.Logo, Style$7.Logo, { src: '', alt: '' }, 'Logo'),
1812
- [CardPart.Icon]: (create) => make$2(create, 'icon', Type$6.Icon, CardRole.Icon, Style$7.Icon, { iconClass: CARD_ICON }, 'Icon'),
1809
+ [CardPart.Eyebrow]: (create, words) => make$2(create, 'eyebrow', Type$6.Text, CardRole.Eyebrow, Style$8.Eyebrow, { content: words.eyebrow, tag: 'p' }, 'Eyebrow'),
1810
+ [CardPart.Text]: (create, words) => make$2(create, 'text', Type$6.Text, CardRole.Text, Style$8.Body, { content: words.text, tag: 'p' }, 'Text'),
1811
+ [CardPart.Logo]: (create) => make$2(create, 'logo', Type$6.Image, CardRole.Logo, Style$8.Logo, { src: '', alt: '' }, 'Logo'),
1812
+ [CardPart.Icon]: (create) => make$2(create, 'icon', Type$6.Icon, CardRole.Icon, Style$8.Icon, { iconClass: CARD_ICON }, 'Icon'),
1813
1813
  // The marks are the page language's own (`quotes`, iox-design.css), never typed into the words.
1814
- [CardPart.Quote]: (create, words) => make$2(create, 'quote', Type$6.Text, CardRole.Quote, Style$7.Quote, { content: words.quote, tag: 'p' }, 'Quote'),
1815
- [CardPart.Person]: (create, words) => make$2(create, 'person', Type$6.Text, CardRole.Person, Style$7.Person, { content: words.person, tag: 'p' }, 'Person'),
1814
+ [CardPart.Quote]: (create, words) => make$2(create, 'quote', Type$6.Text, CardRole.Quote, Style$8.Quote, { content: words.quote, tag: 'p' }, 'Quote'),
1815
+ [CardPart.Person]: (create, words) => make$2(create, 'person', Type$6.Text, CardRole.Person, Style$8.Person, { content: words.person, tag: 'p' }, 'Person'),
1816
1816
  [CardPart.Actions]: (create, words) => {
1817
- const actions = make$2(create, 'actions', Type$6.Container, CardRole.Actions, Style$7.Box, {}, 'Buttons');
1818
- const primary = make$2(create, 'primary', Type$6.ButtonBlock, null, Style$7.Primary);
1817
+ const actions = make$2(create, 'actions', Type$6.Container, CardRole.Actions, Style$8.Box, {}, 'Buttons');
1818
+ const primary = make$2(create, 'primary', Type$6.ButtonBlock, null, Style$8.Primary);
1819
1819
  primary.children = [buttonLabel(create, 'primary-label', words.primary)];
1820
- const ghost = make$2(create, 'secondary', Type$6.ButtonBlock, null, Style$7.Ghost);
1821
- const icon = make$2(create, 'secondary-icon', Type$6.Icon, null, Style$7.Icon, { iconClass: SAVE_ICON });
1820
+ const ghost = make$2(create, 'secondary', Type$6.ButtonBlock, null, Style$8.Ghost);
1821
+ const icon = make$2(create, 'secondary-icon', Type$6.Icon, null, Style$8.Icon, { iconClass: SAVE_ICON });
1822
1822
  writeStyles(icon, INLINE_ICON);
1823
1823
  ghost.children = [icon, buttonLabel(create, 'secondary-label', words.secondary)];
1824
1824
  actions.children = [primary, ghost];
@@ -1826,15 +1826,15 @@ const PART_BUILDERS = {
1826
1826
  },
1827
1827
  };
1828
1828
  function buildTitle(create, words) {
1829
- return make$2(create, 'title', Type$6.Heading, CardRole.Title, Style$7.Title, { content: words.title, level: 'h3', [LINK_TYPE]: LinkType.None }, 'Title');
1829
+ return make$2(create, 'title', Type$6.Heading, CardRole.Title, Style$8.Title, { content: words.title, level: 'h3', [LINK_TYPE]: LinkType.None }, 'Title');
1830
1830
  }
1831
1831
  /** A fresh Card v2: every part a node with its role and element style, laid out by `options.layout`. */
1832
1832
  function buildCardRecipe(create, options = {}) {
1833
1833
  const words = { ...cardWords(options.lang), ...(options.words ?? {}) };
1834
1834
  const tone = options.badgeTone ?? BadgeTone.Accent;
1835
1835
  const on = (part) => options.parts?.[part] ?? !CARD_PARTS_OFF_AT_START.has(part);
1836
- const card = make$2(create, 'card', Type$6.Container, CardRole.Card, Style$7.Card, {}, 'Card');
1837
- const content = make$2(create, 'content', Type$6.Container, CardRole.Content, Style$7.Box, {}, 'Content');
1836
+ const card = make$2(create, 'card', Type$6.Container, CardRole.Card, Style$8.Card, {}, 'Card');
1837
+ const content = make$2(create, 'content', Type$6.Container, CardRole.Content, Style$8.Box, {}, 'Content');
1838
1838
  const parts = (list) => list.filter(on).map(part => PART_BUILDERS[part](create, words, tone));
1839
1839
  content.children = [
1840
1840
  ...parts([CardPart.Logo, CardPart.Icon, CardPart.Eyebrow]),
@@ -2442,13 +2442,13 @@ var Type$4;
2442
2442
  Type["Text"] = "Text";
2443
2443
  Type["Image"] = "Image";
2444
2444
  })(Type$4 || (Type$4 = {}));
2445
- var Style$6;
2445
+ var Style$7;
2446
2446
  (function (Style) {
2447
2447
  Style["Control"] = "button-secondary";
2448
2448
  Style["Icon"] = "icon";
2449
2449
  /** The caption and the count read as small print. */
2450
2450
  Style["Words"] = "small";
2451
- })(Style$6 || (Style$6 = {}));
2451
+ })(Style$7 || (Style$7 = {}));
2452
2452
  /** Each part's glyph (Phosphor) and its default accessible name. */
2453
2453
  const SLIDER_PART_GLYPH = {
2454
2454
  [SliderRole.Pause]: 'ph ph-pause',
@@ -2551,7 +2551,7 @@ function buildSliderPart(create, role, legacy) {
2551
2551
  if (role === SliderRole.Caption || role === SliderRole.Count) {
2552
2552
  // Their words are the runtime's (the slide in view), drawn as the part's generated content: the node's own
2553
2553
  // content stays empty, so no renderer ever fights the runtime over the element's text.
2554
- return makeCompositePart(create, { key: role.split('.')[1], type: Type$4.Text, props: { content: '', tag: 'p' }, elementStyle: Style$6.Words }, role, PART_LABEL[role], role === SliderRole.Caption ? CAPTION_BASE$1 : COUNT_BASE);
2554
+ return makeCompositePart(create, { key: role.split('.')[1], type: Type$4.Text, props: { content: '', tag: 'p' }, elementStyle: Style$7.Words }, role, PART_LABEL[role], role === SliderRole.Caption ? CAPTION_BASE$1 : COUNT_BASE);
2555
2555
  }
2556
2556
  if (role === SliderRole.Pagination) {
2557
2557
  const dots = makeCompositePart(create, { key: 'pagination', type: Type$4.Container, props: {}, elementStyle: NO_ELEMENT_STYLE }, role, PART_LABEL[role], legacy?.paginationColor ? { ...PAGINATION_BASE, color: legacy.paginationColor } : PAGINATION_BASE);
@@ -2570,9 +2570,9 @@ function buildSliderPart(create, role, legacy) {
2570
2570
  const props = { tag: 'button', type: 'button' };
2571
2571
  if (role !== SliderRole.Pause)
2572
2572
  props[SLIDER_NAME_TRAIT] = role === SliderRole.Prev ? SLIDER_WORDS.en.prev : SLIDER_WORDS.en.next;
2573
- const button = makeCompositePart(create, { key, type: Type$4.ButtonBlock, props, elementStyle: legacy ? NO_ELEMENT_STYLE : Style$6.Control }, role, PART_LABEL[role], base);
2573
+ const button = makeCompositePart(create, { key, type: Type$4.ButtonBlock, props, elementStyle: legacy ? NO_ELEMENT_STYLE : Style$7.Control }, role, PART_LABEL[role], base);
2574
2574
  const iconBase = legacy ? { ...ICON_BASE, fontSize: `${Math.round((legacy.navigationSize ?? 44) * 0.6)}px` } : ICON_BASE;
2575
- const icon = makeCompositePart(create, { key: `${key}-icon`, type: Type$4.Icon, props: { iconClass: SLIDER_PART_GLYPH[role] }, elementStyle: legacy ? NO_ELEMENT_STYLE : Style$6.Icon }, null, 'Icon', iconBase);
2575
+ const icon = makeCompositePart(create, { key: `${key}-icon`, type: Type$4.Icon, props: { iconClass: SLIDER_PART_GLYPH[role] }, elementStyle: legacy ? NO_ELEMENT_STYLE : Style$7.Icon }, null, 'Icon', iconBase);
2576
2576
  button.children = [icon];
2577
2577
  return button;
2578
2578
  }
@@ -3408,7 +3408,7 @@ var Type$3;
3408
3408
  Type["Image"] = "Image";
3409
3409
  Type["Repeater"] = "Repeater";
3410
3410
  })(Type$3 || (Type$3 = {}));
3411
- var Style$5;
3411
+ var Style$6;
3412
3412
  (function (Style) {
3413
3413
  Style["Root"] = "box";
3414
3414
  Style["List"] = "tab-list";
@@ -3418,10 +3418,10 @@ var Style$5;
3418
3418
  Style["Panel"] = "box";
3419
3419
  Style["Media"] = "media";
3420
3420
  Style["Body"] = "body";
3421
- })(Style$5 || (Style$5 = {}));
3421
+ })(Style$6 || (Style$6 = {}));
3422
3422
  const ZERO_BOX$1 = '0px 0px 0px 0px';
3423
3423
  /** The list's hairline, as its element style writes it — read from the contract, never retyped. */
3424
- const LIST_EDGE = String(elementStyleById(Style$5.List)?.base['borderWidth'] ?? ZERO_BOX$1);
3424
+ const LIST_EDGE = String(elementStyleById(Style$6.List)?.base['borderWidth'] ?? ZERO_BOX$1);
3425
3425
  /** What each part holds — layout only; its LOOK is its element style. The list WRAPS at narrow widths (board 3). */
3426
3426
  const PART_BASE$1 = {
3427
3427
  [TabsRole.Tabs]: { display: 'flex', width: '100%', minHeight: 'auto', height: 'auto' },
@@ -3455,30 +3455,30 @@ function make$1(create, key, type, role, style, props = {}, label) {
3455
3455
  }
3456
3456
  /** One tab and its panel, sharing `itemKey`. */
3457
3457
  function buildTabPair(create, words, itemKey) {
3458
- const tab = make$1(create, `${itemKey}-tab`, Type$3.ButtonBlock, TabsRole.Trigger, Style$5.Tab, {}, 'Tab');
3458
+ const tab = make$1(create, `${itemKey}-tab`, Type$3.ButtonBlock, TabsRole.Trigger, Style$6.Tab, {}, 'Tab');
3459
3459
  tab.itemKey = itemKey;
3460
- const label = make$1(create, `${itemKey}-label`, Type$3.Text, null, Style$5.Label, { content: words.label, tag: 'span' }, 'Text');
3460
+ const label = make$1(create, `${itemKey}-label`, Type$3.Text, null, Style$6.Label, { content: words.label, tag: 'span' }, 'Text');
3461
3461
  writeStyles(label, LABEL_BASE$1);
3462
3462
  tab.children = [label];
3463
- const panel = make$1(create, `${itemKey}-panel`, Type$3.Container, TabsRole.Panel, Style$5.Panel, {}, 'Panel');
3463
+ const panel = make$1(create, `${itemKey}-panel`, Type$3.Container, TabsRole.Panel, Style$6.Panel, {}, 'Panel');
3464
3464
  panel.itemKey = itemKey;
3465
3465
  writeLayerStyles(panel, TABS_STACK_BREAKPOINT, PANEL_STACK);
3466
- const image = make$1(create, `${itemKey}-image`, Type$3.Image, null, Style$5.Media, { src: '', alt: '' }, 'Image');
3466
+ const image = make$1(create, `${itemKey}-image`, Type$3.Image, null, Style$6.Media, { src: '', alt: '' }, 'Image');
3467
3467
  writeStyles(image, IMAGE_BASE);
3468
- const text = make$1(create, `${itemKey}-text`, Type$3.Text, null, Style$5.Body, { content: words.text, tag: 'p' }, 'Text');
3468
+ const text = make$1(create, `${itemKey}-text`, Type$3.Text, null, Style$6.Body, { content: words.text, tag: 'p' }, 'Text');
3469
3469
  writeStyles(text, BODY_BASE);
3470
3470
  panel.children = [image, text];
3471
3471
  return { tab, panel };
3472
3472
  }
3473
3473
  /** A fresh Tabs: three tabs, the first on, activated by a click, the list across the top (board 3). */
3474
3474
  function buildTabsRecipe(create, options = {}) {
3475
- const root = make$1(create, 'tabs', Type$3.Container, TabsRole.Tabs, Style$5.Root, {}, 'Tabs');
3475
+ const root = make$1(create, 'tabs', Type$3.Container, TabsRole.Tabs, Style$6.Root, {}, 'Tabs');
3476
3476
  writeProp(root, TabsBehaviourTrait.ActivateOn, options.activateOn ?? TabsActivateOn.Click);
3477
3477
  writeProp(root, TabsBehaviourTrait.Orientation, options.orientation ?? TabsOrientation.Horizontal);
3478
3478
  if (options.label)
3479
3479
  writeProp(root, TabsBehaviourTrait.Label, options.label);
3480
- const list = make$1(create, 'list', Type$3.Container, TabsRole.List, Style$5.List, {}, 'Tab list');
3481
- const panels = make$1(create, 'panels', Type$3.Container, TabsRole.Panels, Style$5.Panels, {}, 'Panels');
3480
+ const list = make$1(create, 'list', Type$3.Container, TabsRole.List, Style$6.List, {}, 'Tab list');
3481
+ const panels = make$1(create, 'panels', Type$3.Container, TabsRole.Panels, Style$6.Panels, {}, 'Panels');
3482
3482
  const pairs = (options.tabs ?? tabsWords(options.lang)).map((w, i) => buildTabPair(create, w, `k${i + 1}`));
3483
3483
  list.children = pairs.map(p => p.tab);
3484
3484
  panels.children = pairs.map(p => p.panel);
@@ -3928,12 +3928,12 @@ var Type$2;
3928
3928
  Type["ButtonBlock"] = "ButtonBlock";
3929
3929
  Type["Text"] = "Text";
3930
3930
  })(Type$2 || (Type$2 = {}));
3931
- var Style$4;
3931
+ var Style$5;
3932
3932
  (function (Style) {
3933
3933
  Style["Root"] = "segmented";
3934
3934
  Style["Option"] = "segmented-option";
3935
3935
  Style["Label"] = "button-label";
3936
- })(Style$4 || (Style$4 = {}));
3936
+ })(Style$5 || (Style$5 = {}));
3937
3937
  const ZERO_BOX = '0px 0px 0px 0px';
3938
3938
  /** What each part holds — layout only; its LOOK is its element style (the track's fill, border, radius and pad; the
3939
3939
  * option's ink, pad, radius and 44px target). The options sit in a flex row a gap token apart (board 10); each GROWS,
@@ -3951,9 +3951,9 @@ function make(create, key, type, role, style, props = {}, label) {
3951
3951
  }
3952
3952
  /** One option: a ButtonBlock carrying its key, holding its words. */
3953
3953
  function buildSegmentedOption(create, words) {
3954
- const option = make(create, `${words.key}-option`, Type$2.ButtonBlock, SegmentedRole.Option, Style$4.Option, {}, 'Option');
3954
+ const option = make(create, `${words.key}-option`, Type$2.ButtonBlock, SegmentedRole.Option, Style$5.Option, {}, 'Option');
3955
3955
  option.itemKey = words.key;
3956
- const label = make(create, `${words.key}-label`, Type$2.Text, null, Style$4.Label, { content: words.label, tag: 'span' }, 'Text');
3956
+ const label = make(create, `${words.key}-label`, Type$2.Text, null, Style$5.Label, { content: words.label, tag: 'span' }, 'Text');
3957
3957
  writeStyles(label, LABEL_BASE);
3958
3958
  option.children = [label];
3959
3959
  return option;
@@ -3962,7 +3962,7 @@ function buildSegmentedOption(create, words) {
3962
3962
  function buildSegmentedRecipe(create, options = {}) {
3963
3963
  const fresh = segmentedWords(options.lang);
3964
3964
  const words = options.options ?? fresh.options;
3965
- const root = make(create, 'segmented', Type$2.Container, SegmentedRole.Segmented, Style$4.Root, {}, 'Segmented');
3965
+ const root = make(create, 'segmented', Type$2.Container, SegmentedRole.Segmented, Style$5.Root, {}, 'Segmented');
3966
3966
  root.children = words.map(w => buildSegmentedOption(create, w));
3967
3967
  writeProp(root, SegmentedTrait.DefaultOn, options.defaultOn && words.some(w => w.key === options.defaultOn) ? options.defaultOn : words[0]?.key ?? '');
3968
3968
  writeProp(root, SegmentedTrait.Label, options.label ?? fresh.name);
@@ -4923,13 +4923,13 @@ var Type$1;
4923
4923
  Type["Container"] = "Container";
4924
4924
  Type["Text"] = "Text";
4925
4925
  })(Type$1 || (Type$1 = {}));
4926
- var Style$3;
4926
+ var Style$4;
4927
4927
  (function (Style) {
4928
4928
  Style["Box"] = "box";
4929
4929
  Style["Number"] = "price";
4930
4930
  Style["Words"] = "small";
4931
4931
  Style["Bar"] = "progress-bar";
4932
- })(Style$3 || (Style$3 = {}));
4932
+ })(Style$4 || (Style$4 = {}));
4933
4933
  const ZERO = '0px 0px 0px 0px';
4934
4934
  const COUNTER_BASE = { display: 'flex', flexDirection: 'column', gap: '6px', minHeight: 'auto', width: 'auto', padding: ZERO };
4935
4935
  const NUMBER_BASE = { margin: ZERO, width: 'auto' };
@@ -4946,9 +4946,9 @@ const COUNTER_SAMPLE_WORDS = Object.freeze({ number: '1,250+', label: 'projects
4946
4946
  /** A number that counts up once, and its words (Components ▸ Interactive ▸ Counter). */
4947
4947
  function buildCounterRecipe(create, words = {}) {
4948
4948
  const text = { ...COUNTER_SAMPLE_WORDS, ...words };
4949
- const root = makeCompositePart(create, { key: 'counter', type: Type$1.Container, props: {}, elementStyle: Style$3.Box }, null, 'Counter', COUNTER_BASE);
4950
- const number = makeCompositePart(create, { key: 'counter-number', type: Type$1.Text, props: { content: text.number }, elementStyle: Style$3.Number }, null, 'Number', NUMBER_BASE);
4951
- const label = makeCompositePart(create, { key: 'counter-label', type: Type$1.Text, props: { content: text.label }, elementStyle: Style$3.Words }, null, 'Words', WORDS_BASE);
4949
+ const root = makeCompositePart(create, { key: 'counter', type: Type$1.Container, props: {}, elementStyle: Style$4.Box }, null, 'Counter', COUNTER_BASE);
4950
+ const number = makeCompositePart(create, { key: 'counter-number', type: Type$1.Text, props: { content: text.number }, elementStyle: Style$4.Number }, null, 'Number', NUMBER_BASE);
4951
+ const label = makeCompositePart(create, { key: 'counter-label', type: Type$1.Text, props: { content: text.label }, elementStyle: Style$4.Words }, null, 'Words', WORDS_BASE);
4952
4952
  const { distance, ...entrance } = COUNTER_ENTRANCE;
4953
4953
  number.interactions = [{
4954
4954
  id: `${number.id ?? 'counter'}-count`, trigger: 'viewportEnter',
@@ -4963,7 +4963,7 @@ function buildCounterRecipe(create, words = {}) {
4963
4963
  /** A bar that fills as the page is read (Components ▸ Interactive ▸ Reading bar). Its range may be changed to "This
4964
4964
  * section" in the Interactions panel. */
4965
4965
  function buildReadingBarRecipe(create) {
4966
- const bar = makeCompositePart(create, { key: 'reading-bar', type: Type$1.Container, props: {}, elementStyle: Style$3.Bar }, null, 'Reading bar', BAR_BASE);
4966
+ const bar = makeCompositePart(create, { key: 'reading-bar', type: Type$1.Container, props: {}, elementStyle: Style$4.Bar }, null, 'Reading bar', BAR_BASE);
4967
4967
  bar.interactions = [{
4968
4968
  id: `${bar.id ?? 'bar'}-read`, trigger: 'scrollProgress', range: 'page',
4969
4969
  actions: [{ type: 'progressBar', target: 'self', duration: 1000, delay: 0, easing: 'linear' }],
@@ -5139,7 +5139,7 @@ var Type;
5139
5139
  Type["Image"] = "Image";
5140
5140
  Type["Dialog"] = "Dialog";
5141
5141
  })(Type || (Type = {}));
5142
- var Style$2;
5142
+ var Style$3;
5143
5143
  (function (Style) {
5144
5144
  Style["Price"] = "price";
5145
5145
  Style["PriceCompare"] = "price-compare";
@@ -5161,7 +5161,7 @@ var Style$2;
5161
5161
  Style["Media"] = "media";
5162
5162
  Style["Icon"] = "icon";
5163
5163
  Style["Title"] = "h3";
5164
- })(Style$2 || (Style$2 = {}));
5164
+ })(Style$3 || (Style$3 = {}));
5165
5165
  /** The words a fresh recipe shows, in the site's language (vectoriox/iox-ui#100 — a Hebrew store's bag, buttons and drawer
5166
5166
  * speak Hebrew, as its header does). The sample product's own words (board 10's vase) are the runtime's to replace. */
5167
5167
  function shopRecipeWords(lang = 'en') {
@@ -5203,7 +5203,7 @@ const STACKED$1 = { gridColumn: '1', gridRow: '1', ...WORDS };
5203
5203
  function part(create, key, type, role, style, props, label, base) {
5204
5204
  return recipePart(create, key, type, role, style, props, label, base);
5205
5205
  }
5206
- function text(create, key, role, style, words, label, base = WORDS, tag = 'p') {
5206
+ function text$1(create, key, role, style, words, label, base = WORDS, tag = 'p') {
5207
5207
  return recipeText(create, key, role, style, words, label, base, tag);
5208
5208
  }
5209
5209
  function icon(create, key, iconClass, size = '18px') {
@@ -5215,9 +5215,9 @@ function button$1(create, key, role, style, label, ariaLabel = '', base = {}) {
5215
5215
  /** Price: the variant's price and, when it is higher, its earlier price struck through (board 10). */
5216
5216
  function buildPriceRecipe(create) {
5217
5217
  const root = part(create, 'price', Type.Container, ShopRole.Price, null, {}, SHOP_LABELS.price, { ...ROW, alignItems: 'baseline', flexWrap: 'wrap', gap: '8px' });
5218
- const amount = text(create, 'price-amount', ShopRole.PriceAmount, Style$2.Price, SHOP_RECIPE_WORDS.price, 'Price');
5218
+ const amount = text$1(create, 'price-amount', ShopRole.PriceAmount, Style$3.Price, SHOP_RECIPE_WORDS.price, 'Price');
5219
5219
  bindSlot(amount, 'content', '$variant', 'price', true);
5220
- const compare = text(create, 'price-compare', ShopRole.PriceCompare, Style$2.PriceCompare, SHOP_RECIPE_WORDS.compareAt, 'Price before');
5220
+ const compare = text$1(create, 'price-compare', ShopRole.PriceCompare, Style$3.PriceCompare, SHOP_RECIPE_WORDS.compareAt, 'Price before');
5221
5221
  bindSlot(compare, 'content', '$variant', 'compareAt', true);
5222
5222
  root.children = [amount, compare];
5223
5223
  return root;
@@ -5226,13 +5226,13 @@ function buildPriceRecipe(create) {
5226
5226
  function buildVariantPickerRecipe(create) {
5227
5227
  const root = part(create, 'variants', Type.Container, ShopRole.Variants, null, {}, SHOP_LABELS.variants, { ...COLUMN, gap: '16px' });
5228
5228
  const group = part(create, 'variant-group', Type.Container, ShopRole.VariantGroup, null, {}, 'Option', { ...COLUMN, gap: '6px' });
5229
- const label = text(create, 'variant-label', ShopRole.VariantLabel, Style$2.Small, SHOP_RECIPE_WORDS.option, 'Option name');
5229
+ const label = text$1(create, 'variant-label', ShopRole.VariantLabel, Style$3.Small, SHOP_RECIPE_WORDS.option, 'Option name');
5230
5230
  const values = part(create, 'variant-values', Type.Container, ShopRole.VariantValues, null, {}, 'Values', { ...ROW, flexWrap: 'wrap', gap: '8px' });
5231
- const chip = button$1(create, 'variant-value', ShopRole.VariantValue, Style$2.Chip, 'Value', '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
5232
- chip.children = [text(create, 'variant-value-text', null, Style$2.Label, SHOP_RECIPE_WORDS.value, 'Text', WORDS, 'span')];
5233
- const swatch = button$1(create, 'variant-swatch', ShopRole.VariantSwatch, Style$2.Swatch, 'Swatch', 'Sand', {}); // the swatch style owns its size and padding (iox-cms-client#89)
5231
+ const chip = button$1(create, 'variant-value', ShopRole.VariantValue, Style$3.Chip, 'Value', '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
5232
+ chip.children = [text$1(create, 'variant-value-text', null, Style$3.Label, SHOP_RECIPE_WORDS.value, 'Text', WORDS, 'span')];
5233
+ const swatch = button$1(create, 'variant-swatch', ShopRole.VariantSwatch, Style$3.Swatch, 'Swatch', 'Sand', {}); // the swatch style owns its size and padding (iox-cms-client#89)
5234
5234
  values.children = [chip, swatch];
5235
- const note = text(create, 'variant-note', ShopRole.VariantNote, Style$2.Small, SHOP_RECIPE_WORDS.note, 'Sold-out note');
5235
+ const note = text$1(create, 'variant-note', ShopRole.VariantNote, Style$3.Small, SHOP_RECIPE_WORDS.note, 'Sold-out note');
5236
5236
  group.children = [label, values, note];
5237
5237
  root.children = [group];
5238
5238
  return root;
@@ -5240,11 +5240,11 @@ function buildVariantPickerRecipe(create) {
5240
5240
  /** Quantity: − · the count · + (min 1, max from the variant's stock). `compact` = a cart line's. */
5241
5241
  function buildQuantityRecipe(create, compact = false, key = 'quantity') {
5242
5242
  const size = compact ? '30px' : 'var(--iox-stepper-size)';
5243
- const root = part(create, key, Type.Container, ShopRole.Quantity, Style$2.Quantity, {}, SHOP_LABELS.quantity, { ...ROW, alignItems: 'stretch', gap: '0px', minHeight: size });
5244
- const down = button$1(create, `${key}-down`, ShopRole.QuantityDown, Style$2.QuantityButton, 'Decrease', 'Decrease quantity', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: size, padding: ZERO$4 });
5243
+ const root = part(create, key, Type.Container, ShopRole.Quantity, Style$3.Quantity, {}, SHOP_LABELS.quantity, { ...ROW, alignItems: 'stretch', gap: '0px', minHeight: size });
5244
+ const down = button$1(create, `${key}-down`, ShopRole.QuantityDown, Style$3.QuantityButton, 'Decrease', 'Decrease quantity', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: size, padding: ZERO$4 });
5245
5245
  down.children = [icon(create, `${key}-down-icon`, 'ph ph-minus', compact ? '14px' : '16px')];
5246
- const value = text(create, `${key}-value`, ShopRole.QuantityValue, Style$2.Body, SHOP_RECIPE_WORDS.quantity, 'Count', { ...WORDS, display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: compact ? '32px' : '40px', fontVariantNumeric: 'tabular-nums' }, 'span');
5247
- const up = button$1(create, `${key}-up`, ShopRole.QuantityUp, Style$2.QuantityButton, 'Increase', 'Increase quantity', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: size, padding: ZERO$4 });
5246
+ const value = text$1(create, `${key}-value`, ShopRole.QuantityValue, Style$3.Body, SHOP_RECIPE_WORDS.quantity, 'Count', { ...WORDS, display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: compact ? '32px' : '40px', fontVariantNumeric: 'tabular-nums' }, 'span');
5247
+ const up = button$1(create, `${key}-up`, ShopRole.QuantityUp, Style$3.QuantityButton, 'Increase', 'Increase quantity', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: size, padding: ZERO$4 });
5248
5248
  up.children = [icon(create, `${key}-up-icon`, 'ph ph-plus', compact ? '14px' : '16px')];
5249
5249
  root.children = [down, value, up];
5250
5250
  return root;
@@ -5252,10 +5252,10 @@ function buildQuantityRecipe(create, compact = false, key = 'quantity') {
5252
5252
  /** Add to cart: presses on pointer-down (its element style), then reads "Added ✓" in place for ADDED_HOLD_MS. */
5253
5253
  function buildAddToCartRecipe(create, lang = 'en') {
5254
5254
  const t = shopRecipeWords(lang);
5255
- const root = button$1(create, 'add', ShopRole.Add, Style$2.Primary, SHOP_LABELS.add, '', { display: 'inline-grid', alignItems: 'center', justifyItems: 'center', flexGrow: '1', width: 'auto', height: 'auto' });
5255
+ const root = button$1(create, 'add', ShopRole.Add, Style$3.Primary, SHOP_LABELS.add, '', { display: 'inline-grid', alignItems: 'center', justifyItems: 'center', flexGrow: '1', width: 'auto', height: 'auto' });
5256
5256
  root.children = [
5257
- text(create, 'add-label', ShopRole.AddLabel, Style$2.Label, t.add, 'Add', STACKED$1, 'span'),
5258
- text(create, 'added-label', ShopRole.AddedLabel, Style$2.Label, t.added, 'Added', STACKED$1, 'span'),
5257
+ text$1(create, 'add-label', ShopRole.AddLabel, Style$3.Label, t.add, 'Add', STACKED$1, 'span'),
5258
+ text$1(create, 'added-label', ShopRole.AddedLabel, Style$3.Label, t.added, 'Added', STACKED$1, 'span'),
5259
5259
  ];
5260
5260
  onClick$1(root, 'addToCart');
5261
5261
  return root;
@@ -5263,17 +5263,17 @@ function buildAddToCartRecipe(create, lang = 'en') {
5263
5263
  /** Buy now: straight to checkout with this variant (inert on the canvas). */
5264
5264
  function buildBuyNowRecipe(create, lang = 'en') {
5265
5265
  const t = shopRecipeWords(lang);
5266
- const root = button$1(create, 'buy-now', ShopRole.BuyNow, Style$2.Secondary, SHOP_LABELS.buyNow, '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
5267
- root.children = [text(create, 'buy-now-label', null, Style$2.Label, t.buyNow, 'Text', WORDS, 'span')];
5266
+ const root = button$1(create, 'buy-now', ShopRole.BuyNow, Style$3.Secondary, SHOP_LABELS.buyNow, '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
5267
+ root.children = [text$1(create, 'buy-now-label', null, Style$3.Label, t.buyNow, 'Text', WORDS, 'span')];
5268
5268
  onClick$1(root, 'startCheckout');
5269
5269
  return root;
5270
5270
  }
5271
5271
  /** The bag button with its live count ($cart.count); it opens the page's cart drawer. */
5272
5272
  function buildCartButtonRecipe(create, lang = 'en') {
5273
5273
  const t = shopRecipeWords(lang);
5274
- const root = button$1(create, 'cart-button', ShopRole.CartButton, Style$2.CartButton, SHOP_LABELS.cartButton, t.cart, { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', padding: '6px 6px 6px 6px', position: 'relative' });
5275
- const count = part(create, 'cart-count', Type.Container, ShopRole.CartCount, Style$2.CartCount, {}, 'Count', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', minHeight: 'var(--iox-cart-count-size)', padding: '0px 4px 0px 4px', position: 'absolute', top: '-5px', right: '-5px' });
5276
- const words = text(create, 'cart-count-text', null, Style$2.Label, t.count, 'Text', { ...WORDS, lineHeight: '1' }, 'span');
5274
+ const root = button$1(create, 'cart-button', ShopRole.CartButton, Style$3.CartButton, SHOP_LABELS.cartButton, t.cart, { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', padding: '6px 6px 6px 6px', position: 'relative' });
5275
+ const count = part(create, 'cart-count', Type.Container, ShopRole.CartCount, Style$3.CartCount, {}, 'Count', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', minHeight: 'var(--iox-cart-count-size)', padding: '0px 4px 0px 4px', position: 'absolute', top: '-5px', right: '-5px' });
5276
+ const words = text$1(create, 'cart-count-text', null, Style$3.Label, t.count, 'Text', { ...WORDS, lineHeight: '1' }, 'span');
5277
5277
  bindSlot(words, 'content', '$cart', 'count');
5278
5278
  count.children = [words];
5279
5279
  root.children = [icon(create, 'cart-icon', 'ph ph-handbag'), count];
@@ -5281,48 +5281,48 @@ function buildCartButtonRecipe(create, lang = 'en') {
5281
5281
  }
5282
5282
  /** One cart line: thumbnail · title, variant, quantity and Remove · line total (board 10). */
5283
5283
  function buildCartLine(create, t) {
5284
- const line = part(create, 'cart-line', Type.Container, ShopRole.CartLine, Style$2.CartLine, {}, 'Line', { display: 'grid', gridTemplateColumns: 'var(--iox-cart-thumb-size) minmax(0, 1fr) auto', alignItems: 'start', gap: '12px', width: '100%', height: 'auto', minHeight: 'auto', padding: ZERO$4 });
5285
- const image = part(create, 'cart-line-image', Type.Image, ShopRole.CartLineImage, Style$2.Media, { src: '', alt: '' }, 'Image', { width: 'var(--iox-cart-thumb-size)', height: 'var(--iox-cart-thumb-size)', minHeight: '0px', objectFit: 'cover', aspectRatio: '1 / 1' });
5284
+ const line = part(create, 'cart-line', Type.Container, ShopRole.CartLine, Style$3.CartLine, {}, 'Line', { display: 'grid', gridTemplateColumns: 'var(--iox-cart-thumb-size) minmax(0, 1fr) auto', alignItems: 'start', gap: '12px', width: '100%', height: 'auto', minHeight: 'auto', padding: ZERO$4 });
5285
+ const image = part(create, 'cart-line-image', Type.Image, ShopRole.CartLineImage, Style$3.Media, { src: '', alt: '' }, 'Image', { width: 'var(--iox-cart-thumb-size)', height: 'var(--iox-cart-thumb-size)', minHeight: '0px', objectFit: 'cover', aspectRatio: '1 / 1' });
5286
5286
  const info = part(create, 'cart-line-info', Type.Container, null, null, {}, 'Details', { ...COLUMN, gap: '2px', minWidth: '0px' });
5287
- const title = text(create, 'cart-line-title', ShopRole.CartLineTitle, Style$2.Body, t.lineTitle, 'Title', { ...WORDS, fontWeight: '500' });
5288
- const variant = text(create, 'cart-line-variant', ShopRole.CartLineVariant, Style$2.Small, t.lineVariant, 'Variant', { ...WORDS, margin: '0px 0px 6px 0px' });
5287
+ const title = text$1(create, 'cart-line-title', ShopRole.CartLineTitle, Style$3.Body, t.lineTitle, 'Title', { ...WORDS, fontWeight: '500' });
5288
+ const variant = text$1(create, 'cart-line-variant', ShopRole.CartLineVariant, Style$3.Small, t.lineVariant, 'Variant', { ...WORDS, margin: '0px 0px 6px 0px' });
5289
5289
  const actions = part(create, 'cart-line-actions', Type.Container, null, null, {}, 'Actions', { ...ROW, gap: '12px' });
5290
- const remove = button$1(create, 'cart-line-remove', ShopRole.CartLineRemove, Style$2.Ghost, 'Remove', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
5291
- remove.children = [text(create, 'cart-line-remove-text', null, Style$2.Small, t.remove, 'Text', WORDS, 'span')];
5290
+ const remove = button$1(create, 'cart-line-remove', ShopRole.CartLineRemove, Style$3.Ghost, 'Remove', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
5291
+ remove.children = [text$1(create, 'cart-line-remove-text', null, Style$3.Small, t.remove, 'Text', WORDS, 'span')];
5292
5292
  actions.children = [buildQuantityRecipe(create, true, 'cart-line-quantity'), remove];
5293
5293
  info.children = [title, variant, actions];
5294
- const total = text(create, 'cart-line-total', ShopRole.CartLineTotal, Style$2.Price, t.lineTotal, 'Line total', { ...WORDS, fontSize: 'var(--iox-size-body)', textAlign: 'end' });
5294
+ const total = text$1(create, 'cart-line-total', ShopRole.CartLineTotal, Style$3.Price, t.lineTotal, 'Line total', { ...WORDS, fontSize: 'var(--iox-size-body)', textAlign: 'end' });
5295
5295
  line.children = [image, info, total];
5296
5296
  return line;
5297
5297
  }
5298
5298
  /** The cart drawer: a Dialog at the end edge (a bottom sheet on a phone — shared CSS), filled from the PRICED cart. */
5299
5299
  function buildCartDrawerRecipe(create, lang = 'en') {
5300
5300
  const t = shopRecipeWords(lang);
5301
- const drawer = part(create, 'cart-drawer', Type.Dialog, ShopRole.CartDrawer, Style$2.Dialog, {}, SHOP_LABELS.cartDrawer, { width: '380px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '14px' });
5301
+ const drawer = part(create, 'cart-drawer', Type.Dialog, ShopRole.CartDrawer, Style$3.Dialog, {}, SHOP_LABELS.cartDrawer, { width: '380px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '14px' });
5302
5302
  writeProp(drawer, 'placement', 'end');
5303
5303
  writeProp(drawer, 'closeOnBackdrop', true);
5304
5304
  writeProp(drawer, 'showCloseButton', false);
5305
5305
  writeProp(drawer, 'ariaLabel', t.drawer);
5306
5306
  const head = part(create, 'cart-head', Type.Container, null, null, {}, 'Head', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
5307
- const title = part(create, 'cart-title', Type.Heading, ShopRole.CartTitle, Style$2.Title, { content: t.drawer, level: 'h2' }, 'Title', WORDS);
5308
- const close = button$1(create, 'cart-close', ShopRole.CartClose, Style$2.Ghost, 'Close', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
5309
- close.children = [text(create, 'cart-close-text', null, Style$2.Small, t.close, 'Text', WORDS, 'span')];
5307
+ const title = part(create, 'cart-title', Type.Heading, ShopRole.CartTitle, Style$3.Title, { content: t.drawer, level: 'h2' }, 'Title', WORDS);
5308
+ const close = button$1(create, 'cart-close', ShopRole.CartClose, Style$3.Ghost, 'Close', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
5309
+ close.children = [text$1(create, 'cart-close-text', null, Style$3.Small, t.close, 'Text', WORDS, 'span')];
5310
5310
  onClick$1(close, 'closeDialog', drawer.id ?? '');
5311
5311
  head.children = [title, close];
5312
5312
  const lines = part(create, 'cart-lines', Type.Container, ShopRole.CartLines, null, {}, 'Lines', { ...COLUMN, gap: '16px' });
5313
5313
  lines.children = [buildCartLine(create, t)];
5314
- const issues = text(create, 'cart-issues', ShopRole.CartIssues, Style$2.Small, '', 'Issues', { ...WORDS, color: 'var(--iox-danger)' });
5315
- const empty = text(create, 'cart-empty', ShopRole.CartEmpty, Style$2.Body, t.empty, 'Empty');
5316
- const note = text(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$2.CartNote, t.shippingNote, 'Free delivery note', { width: 'auto', minHeight: 'auto', margin: ZERO$4 });
5314
+ const issues = text$1(create, 'cart-issues', ShopRole.CartIssues, Style$3.Small, '', 'Issues', { ...WORDS, color: 'var(--iox-danger)' });
5315
+ const empty = text$1(create, 'cart-empty', ShopRole.CartEmpty, Style$3.Body, t.empty, 'Empty');
5316
+ const note = text$1(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$3.CartNote, t.shippingNote, 'Free delivery note', { width: 'auto', minHeight: 'auto', margin: ZERO$4 });
5317
5317
  const summary = part(create, 'cart-summary', Type.Container, ShopRole.CartSummary, null, {}, 'Subtotal', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
5318
- const subtotal = text(create, 'cart-subtotal', ShopRole.CartSubtotal, Style$2.Body, t.subtotal, 'Amount', { ...WORDS, fontVariantNumeric: 'tabular-nums', fontWeight: '600' }, 'span');
5318
+ const subtotal = text$1(create, 'cart-subtotal', ShopRole.CartSubtotal, Style$3.Body, t.subtotal, 'Amount', { ...WORDS, fontVariantNumeric: 'tabular-nums', fontWeight: '600' }, 'span');
5319
5319
  bindSlot(subtotal, 'content', '$cart', 'subtotal', true);
5320
- summary.children = [text(create, 'cart-subtotal-label', null, Style$2.Body, t.subtotalLabel, 'Label', WORDS, 'span'), subtotal];
5321
- const vat = text(create, 'cart-vat-note', ShopRole.CartVatNote, Style$2.Small, t.vatNote, 'VAT note');
5322
- const checkout = button$1(create, 'checkout', ShopRole.Checkout, Style$2.Primary, 'Check out', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
5323
- checkout.children = [text(create, 'checkout-label', null, Style$2.Label, t.checkout, 'Text', WORDS, 'span')];
5324
- const keep = button$1(create, 'keep-shopping', ShopRole.KeepShopping, Style$2.Secondary, 'Keep shopping', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
5325
- keep.children = [text(create, 'keep-shopping-label', null, Style$2.Label, t.keepShopping, 'Text', WORDS, 'span')];
5320
+ summary.children = [text$1(create, 'cart-subtotal-label', null, Style$3.Body, t.subtotalLabel, 'Label', WORDS, 'span'), subtotal];
5321
+ const vat = text$1(create, 'cart-vat-note', ShopRole.CartVatNote, Style$3.Small, t.vatNote, 'VAT note');
5322
+ const checkout = button$1(create, 'checkout', ShopRole.Checkout, Style$3.Primary, 'Check out', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
5323
+ checkout.children = [text$1(create, 'checkout-label', null, Style$3.Label, t.checkout, 'Text', WORDS, 'span')];
5324
+ const keep = button$1(create, 'keep-shopping', ShopRole.KeepShopping, Style$3.Secondary, 'Keep shopping', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
5325
+ keep.children = [text$1(create, 'keep-shopping-label', null, Style$3.Label, t.keepShopping, 'Text', WORDS, 'span')];
5326
5326
  onClick$1(keep, 'closeDialog', drawer.id ?? '');
5327
5327
  drawer.children = [head, lines, issues, empty, note, summary, vat, checkout, keep];
5328
5328
  return drawer;
@@ -6131,7 +6131,7 @@ function accountRecipeWords(lang = 'en') {
6131
6131
  /** The English sample (the palette's — the canvas has no page language yet). */
6132
6132
  const ACCOUNT_RECIPE_WORDS = accountRecipeWords('en');
6133
6133
  const ACCOUNT_LABELS = Object.freeze({ account: 'Account entry', menu: 'Account menu', signIn: 'Sign-in dialog' });
6134
- var Style$1;
6134
+ var Style$2;
6135
6135
  (function (Style) {
6136
6136
  Style["AccountButton"] = "account-button";
6137
6137
  Style["Avatar"] = "account-avatar";
@@ -6146,7 +6146,7 @@ var Style$1;
6146
6146
  Style["Popover"] = "popover";
6147
6147
  Style["Title"] = "h3";
6148
6148
  Style["Field"] = "field";
6149
- })(Style$1 || (Style$1 = {}));
6149
+ })(Style$2 || (Style$2 = {}));
6150
6150
  const PILL = { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' };
6151
6151
  const FULL = { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: '100%', height: 'auto' };
6152
6152
  const TEXT_BUTTON = { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' };
@@ -6155,24 +6155,24 @@ const STACKED = { gridColumn: '1', gridRow: '1' };
6155
6155
  function words(create, key, role, style, text, label, base = WORDS, tag = 'p') {
6156
6156
  return recipeText(create, key, role, style, text, label, base, tag);
6157
6157
  }
6158
- function labelled(create, key, role, style, text, label, base, labelStyle = Style$1.Label) {
6158
+ function labelled(create, key, role, style, text, label, base, labelStyle = Style$2.Label) {
6159
6159
  const root = recipeButton(create, key, role, style, label, '', base);
6160
6160
  root.children = [words(create, `${key}-label`, null, labelStyle, text, 'Text', WORDS, 'span')];
6161
6161
  return root;
6162
6162
  }
6163
6163
  function field(create, key, role, name, control, label, placeholder) {
6164
- return recipePart(create, key, 'Field', role, Style$1.Field, { control, label, name, placeholder, required: true }, label, { width: '100%', minHeight: 'auto', margin: ZERO$4 });
6164
+ return recipePart(create, key, 'Field', role, Style$2.Field, { control, label, name, placeholder, required: true }, label, { width: '100%', minHeight: 'auto', margin: ZERO$4 });
6165
6165
  }
6166
6166
  /** The menu a signed-in buyer opens from the account button: hello, their orders, sign out. */
6167
6167
  function buildAccountMenuRecipe(create, lang = 'en') {
6168
6168
  const t = accountRecipeWords(lang);
6169
- const menu = recipePart(create, 'account-menu', 'Popover', AccountRole.Menu, Style$1.Popover, {}, ACCOUNT_LABELS.menu, { display: 'flex', flexDirection: 'column', alignItems: 'stretch', width: '220px', height: 'auto', minHeight: 'auto', gap: '4px' });
6169
+ const menu = recipePart(create, 'account-menu', 'Popover', AccountRole.Menu, Style$2.Popover, {}, ACCOUNT_LABELS.menu, { display: 'flex', flexDirection: 'column', alignItems: 'stretch', width: '220px', height: 'auto', minHeight: 'auto', gap: '4px' });
6170
6170
  writeProp(menu, 'placement', 'below');
6171
6171
  writeProp(menu, 'ariaLabel', t.title);
6172
- const greeting = words(create, 'account-menu-greeting', AccountRole.MenuGreeting, Style$1.Body, t.greeting, 'Greeting', { ...WORDS, margin: '0px 0px 6px 0px', fontWeight: '600' });
6173
- const orders = recipePart(create, 'account-orders', 'ButtonBlock', AccountRole.Orders, Style$1.Ghost, { tag: 'a', linkType: 'external', href: ACCOUNT_PATH, target: '_self' }, 'Your orders', { ...TEXT_BUTTON, justifyContent: 'flex-start', width: '100%' });
6174
- orders.children = [words(create, 'account-orders-label', null, Style$1.Label, t.orders, 'Text', WORDS, 'span')];
6175
- const signOut = labelled(create, 'account-sign-out', AccountRole.SignOut, Style$1.Ghost, t.signOut, 'Sign out', { ...TEXT_BUTTON, justifyContent: 'flex-start', width: '100%' });
6172
+ const greeting = words(create, 'account-menu-greeting', AccountRole.MenuGreeting, Style$2.Body, t.greeting, 'Greeting', { ...WORDS, margin: '0px 0px 6px 0px', fontWeight: '600' });
6173
+ const orders = recipePart(create, 'account-orders', 'ButtonBlock', AccountRole.Orders, Style$2.Ghost, { tag: 'a', linkType: 'external', href: ACCOUNT_PATH, target: '_self' }, 'Your orders', { ...TEXT_BUTTON, justifyContent: 'flex-start', width: '100%' });
6174
+ orders.children = [words(create, 'account-orders-label', null, Style$2.Label, t.orders, 'Text', WORDS, 'span')];
6175
+ const signOut = labelled(create, 'account-sign-out', AccountRole.SignOut, Style$2.Ghost, t.signOut, 'Sign out', { ...TEXT_BUTTON, justifyContent: 'flex-start', width: '100%' });
6176
6176
  onClick$1(signOut, 'signOut');
6177
6177
  menu.children = [greeting, orders, signOut];
6178
6178
  return menu;
@@ -6184,18 +6184,18 @@ function buildAccountMenuRecipe(create, lang = 'en') {
6184
6184
  function buildAccountEntryRecipe(create, lang = 'en') {
6185
6185
  const t = accountRecipeWords(lang);
6186
6186
  const root = recipePart(create, 'account', 'Container', AccountRole.Account, null, {}, ACCOUNT_LABELS.account, { ...ROW, gap: '0px' });
6187
- const entry = recipeButton(create, 'account-entry', AccountRole.Entry, Style$1.AccountButton, 'Account button', t.signIn, { ...PILL, display: 'inline-grid', gridTemplateColumns: 'auto', alignItems: 'center', justifyItems: 'center' });
6187
+ const entry = recipeButton(create, 'account-entry', AccountRole.Entry, Style$2.AccountButton, 'Account button', t.signIn, { ...PILL, display: 'inline-grid', gridTemplateColumns: 'auto', alignItems: 'center', justifyItems: 'center' });
6188
6188
  const signedOut = recipePart(create, 'account-signed-out', 'Container', null, null, {}, 'Signed out', { ...ROW, ...STACKED, gap: '6px' });
6189
6189
  signedOut.children = [
6190
6190
  recipeIcon(create, 'account-icon', 'ph ph-user-circle', '18px'),
6191
- words(create, 'account-sign-in-label', AccountRole.SignInLabel, Style$1.Label, t.signIn, 'Sign in', WORDS, 'span'),
6191
+ words(create, 'account-sign-in-label', AccountRole.SignInLabel, Style$2.Label, t.signIn, 'Sign in', WORDS, 'span'),
6192
6192
  ];
6193
6193
  const signedIn = recipePart(create, 'account-signed-in', 'Container', null, null, {}, 'Signed in', { ...ROW, ...STACKED, gap: '8px' });
6194
- const avatar = recipePart(create, 'account-avatar', 'Container', AccountRole.Avatar, Style$1.Avatar, {}, 'Initial', { ...PILL, minHeight: 'var(--iox-account-avatar-size)', padding: ZERO$4 });
6195
- const initial = words(create, 'account-initial', AccountRole.Initial, Style$1.Label, t.initial, 'Initial', { ...WORDS, lineHeight: '1' }, 'span');
6194
+ const avatar = recipePart(create, 'account-avatar', 'Container', AccountRole.Avatar, Style$2.Avatar, {}, 'Initial', { ...PILL, minHeight: 'var(--iox-account-avatar-size)', padding: ZERO$4 });
6195
+ const initial = words(create, 'account-initial', AccountRole.Initial, Style$2.Label, t.initial, 'Initial', { ...WORDS, lineHeight: '1' }, 'span');
6196
6196
  bindSlot(initial, 'content', CUSTOMER_SLOT, 'initial');
6197
6197
  avatar.children = [initial];
6198
- const name = words(create, 'account-name', AccountRole.Name, Style$1.Label, t.name, 'Name', WORDS, 'span');
6198
+ const name = words(create, 'account-name', AccountRole.Name, Style$2.Label, t.name, 'Name', WORDS, 'span');
6199
6199
  bindSlot(name, 'content', CUSTOMER_SLOT, 'name');
6200
6200
  signedIn.children = [avatar, name];
6201
6201
  entry.children = [signedOut, signedIn];
@@ -6205,35 +6205,35 @@ function buildAccountEntryRecipe(create, lang = 'en') {
6205
6205
  /** The sign-in dialog (board 12): Google, or an email and the six-digit code sent to it. Never a password. */
6206
6206
  function buildSignInDialogRecipe(create, lang = 'en') {
6207
6207
  const t = accountRecipeWords(lang);
6208
- const dialog = recipePart(create, 'sign-in', 'Dialog', AccountRole.SignIn, Style$1.Dialog, {}, ACCOUNT_LABELS.signIn, { width: '400px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '14px' });
6208
+ const dialog = recipePart(create, 'sign-in', 'Dialog', AccountRole.SignIn, Style$2.Dialog, {}, ACCOUNT_LABELS.signIn, { width: '400px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '14px' });
6209
6209
  writeProp(dialog, 'placement', 'center');
6210
6210
  writeProp(dialog, 'closeOnBackdrop', true);
6211
6211
  writeProp(dialog, 'showCloseButton', false);
6212
6212
  writeProp(dialog, 'ariaLabel', t.title);
6213
6213
  const head = recipePart(create, 'sign-in-head', 'Container', null, null, {}, 'Head', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
6214
- const title = recipePart(create, 'sign-in-title', 'Heading', AccountRole.Title, Style$1.Title, { content: t.title, level: 'h2' }, 'Title', WORDS);
6215
- const close = labelled(create, 'sign-in-close', AccountRole.Close, Style$1.Ghost, t.close, 'Close', TEXT_BUTTON, Style$1.Small);
6214
+ const title = recipePart(create, 'sign-in-title', 'Heading', AccountRole.Title, Style$2.Title, { content: t.title, level: 'h2' }, 'Title', WORDS);
6215
+ const close = labelled(create, 'sign-in-close', AccountRole.Close, Style$2.Ghost, t.close, 'Close', TEXT_BUTTON, Style$2.Small);
6216
6216
  onClick$1(close, 'closeDialog', dialog.id ?? '');
6217
6217
  head.children = [title, close];
6218
- const why = words(create, 'sign-in-why', AccountRole.Why, Style$1.Small, t.why, 'Why sign in');
6218
+ const why = words(create, 'sign-in-why', AccountRole.Why, Style$2.Small, t.why, 'Why sign in');
6219
6219
  const providers = recipePart(create, 'sign-in-providers', 'Container', AccountRole.Providers, null, {}, 'Sign-in providers', { ...COLUMN, gap: '8px' });
6220
6220
  providers.children = SIGN_IN_PROVIDERS.map(p => providerButton(create, p, t.providers[p]));
6221
- const providerError = words(create, 'sign-in-provider-error', AccountRole.ProviderError, Style$1.Error, '', 'Provider error');
6222
- const or = words(create, 'sign-in-or', AccountRole.Or, Style$1.Small, t.or, 'Or', { ...WORDS, width: '100%', textAlign: 'center' });
6221
+ const providerError = words(create, 'sign-in-provider-error', AccountRole.ProviderError, Style$2.Error, '', 'Provider error');
6222
+ const or = words(create, 'sign-in-or', AccountRole.Or, Style$2.Small, t.or, 'Or', { ...WORDS, width: '100%', textAlign: 'center' });
6223
6223
  const emailStep = recipePart(create, 'sign-in-email-step', 'Container', AccountRole.EmailStep, null, {}, 'Email step', { ...COLUMN, gap: '10px' });
6224
- const sendCode = labelled(create, 'sign-in-send-code', AccountRole.SendCode, Style$1.Primary, t.sendCode, 'Send me a code', FULL);
6224
+ const sendCode = labelled(create, 'sign-in-send-code', AccountRole.SendCode, Style$2.Primary, t.sendCode, 'Send me a code', FULL);
6225
6225
  emailStep.children = [
6226
6226
  field(create, 'sign-in-email', AccountRole.Email, SignInFieldName.Email, 'email', t.email, t.emailPlaceholder),
6227
6227
  sendCode,
6228
6228
  ];
6229
6229
  const codeStep = recipePart(create, 'sign-in-code-step', 'Container', AccountRole.CodeStep, null, {}, 'Code step', { ...COLUMN, gap: '10px' });
6230
- const sent = words(create, 'sign-in-code-sent', AccountRole.CodeSent, Style$1.Small, t.codeSent, 'Code sent to');
6231
- const verify = labelled(create, 'sign-in-verify', AccountRole.Verify, Style$1.Primary, t.verify, 'Sign in', FULL);
6230
+ const sent = words(create, 'sign-in-code-sent', AccountRole.CodeSent, Style$2.Small, t.codeSent, 'Code sent to');
6231
+ const verify = labelled(create, 'sign-in-verify', AccountRole.Verify, Style$2.Primary, t.verify, 'Sign in', FULL);
6232
6232
  const again = recipePart(create, 'sign-in-again', 'Container', null, null, {}, 'Send again', { ...ROW, flexWrap: 'wrap', gap: '4px 12px' });
6233
6233
  again.children = [
6234
- words(create, 'sign-in-code-valid', AccountRole.CodeValid, Style$1.Small, t.codeValid, 'Valid for', WORDS, 'span'),
6235
- labelled(create, 'sign-in-send-again', AccountRole.SendAgain, Style$1.Ghost, t.sendAgain, 'Send again', TEXT_BUTTON, Style$1.Small),
6236
- labelled(create, 'sign-in-other-email', AccountRole.OtherEmail, Style$1.Ghost, t.otherEmail, 'Use another email', TEXT_BUTTON, Style$1.Small),
6234
+ words(create, 'sign-in-code-valid', AccountRole.CodeValid, Style$2.Small, t.codeValid, 'Valid for', WORDS, 'span'),
6235
+ labelled(create, 'sign-in-send-again', AccountRole.SendAgain, Style$2.Ghost, t.sendAgain, 'Send again', TEXT_BUTTON, Style$2.Small),
6236
+ labelled(create, 'sign-in-other-email', AccountRole.OtherEmail, Style$2.Ghost, t.otherEmail, 'Use another email', TEXT_BUTTON, Style$2.Small),
6237
6237
  ];
6238
6238
  codeStep.children = [
6239
6239
  sent,
@@ -6241,17 +6241,17 @@ function buildSignInDialogRecipe(create, lang = 'en') {
6241
6241
  verify,
6242
6242
  again,
6243
6243
  ];
6244
- const dialogError = words(create, 'sign-in-dialog-error', AccountRole.DialogError, Style$1.Error, '', 'Error');
6244
+ const dialogError = words(create, 'sign-in-dialog-error', AccountRole.DialogError, Style$2.Error, '', 'Error');
6245
6245
  dialog.children = [head, why, providers, providerError, or, emailStep, codeStep, dialogError];
6246
6246
  return dialog;
6247
6247
  }
6248
6248
  /** "Continue with <brand>" with the brand's own mark (its button guidelines), wearing the look's secondary button. */
6249
6249
  function providerButton(create, provider, label) {
6250
6250
  const name = signInProviderName(provider);
6251
- const button = recipeButton(create, `sign-in-${provider}`, PROVIDER_ROLES[provider], Style$1.Secondary, `Continue with ${name}`, '', { ...FULL, gap: '8px' });
6251
+ const button = recipeButton(create, `sign-in-${provider}`, PROVIDER_ROLES[provider], Style$2.Secondary, `Continue with ${name}`, '', { ...FULL, gap: '8px' });
6252
6252
  button.children = [
6253
6253
  recipePart(create, `sign-in-${provider}-mark`, 'Image', null, null, { src: signInProviderMarkUri(provider), alt: '' }, `${name} mark`, { width: '18px', height: '18px', minHeight: 'auto', flexShrink: '0' }),
6254
- words(create, `sign-in-${provider}-label`, null, Style$1.Label, label, 'Text', WORDS, 'span'),
6254
+ words(create, `sign-in-${provider}-label`, null, Style$2.Label, label, 'Text', WORDS, 'span'),
6255
6255
  ];
6256
6256
  return button;
6257
6257
  }
@@ -6785,7 +6785,7 @@ var ConsentActionType;
6785
6785
  ConsentActionType["OpenPreferences"] = "openConsentPreferences";
6786
6786
  ConsentActionType["CloseDialog"] = "closeDialog";
6787
6787
  })(ConsentActionType || (ConsentActionType = {}));
6788
- var Style;
6788
+ var Style$1;
6789
6789
  (function (Style) {
6790
6790
  Style["Dialog"] = "dialog";
6791
6791
  Style["Title"] = "h3";
@@ -6797,7 +6797,7 @@ var Style;
6797
6797
  Style["Label"] = "button-label";
6798
6798
  Style["Card"] = "card";
6799
6799
  Style["Field"] = "field";
6800
- })(Style || (Style = {}));
6800
+ })(Style$1 || (Style$1 = {}));
6801
6801
  /** The banner's words — mechanism microcopy (never policy), in the site's language. */
6802
6802
  const CONSENT_WORDS = {
6803
6803
  en: {
@@ -6844,7 +6844,7 @@ function onClickRun(node, actions) {
6844
6844
  /** A button whose words are its own Text (the shop and account recipes' shape). */
6845
6845
  function button(create, key, role, style, words, label, base = {}) {
6846
6846
  const node = recipeButton(create, key, role ?? '', style, label, '', { width: 'auto', height: 'auto', flexShrink: '0', ...base });
6847
- node.children = [recipeText(create, `${key}-label`, null, Style.Label, words, 'Text', WORDS, 'span')];
6847
+ node.children = [recipeText(create, `${key}-label`, null, Style$1.Label, words, 'Text', WORDS, 'span')];
6848
6848
  return node;
6849
6849
  }
6850
6850
  /** The three roots. Pure over the factory: the builder and the composer get the same tree. */
@@ -6854,43 +6854,43 @@ function buildConsentRecipe(create, options = {}) {
6854
6854
  .filter((c, i, all) => c !== ConsentCategory.Necessary && all.indexOf(c) === i);
6855
6855
  const withPreferences = categories.length >= PREFERENCES_FROM_CATEGORIES;
6856
6856
  // ── Preferences first: the banner's buttons name it ─────────────────────────────────────────────────────────────
6857
- const preferences = recipePart(create, 'consent-preferences', 'Dialog', ConsentRole.PreferencesDialog, Style.Dialog, {}, CONSENT_LABELS.preferences, { width: '480px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '12px' });
6857
+ const preferences = recipePart(create, 'consent-preferences', 'Dialog', ConsentRole.PreferencesDialog, Style$1.Dialog, {}, CONSENT_LABELS.preferences, { width: '480px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '12px' });
6858
6858
  writeProp(preferences, 'placement', 'center');
6859
6859
  writeProp(preferences, 'closeOnBackdrop', true);
6860
6860
  writeProp(preferences, 'showCloseButton', true);
6861
6861
  writeProp(preferences, 'ariaLabel', t.prefsTitle);
6862
6862
  const card = (key, category, control) => {
6863
- const node = recipePart(create, key, 'Container', ConsentRole.Category, Style.Card, {}, t.categories[category].name, { ...ROW, width: '100%', alignItems: 'flex-start', gap: '12px', padding: '12px 14px 12px 14px' });
6863
+ const node = recipePart(create, key, 'Container', ConsentRole.Category, Style$1.Card, {}, t.categories[category].name, { ...ROW, width: '100%', alignItems: 'flex-start', gap: '12px', padding: '12px 14px 12px 14px' });
6864
6864
  const text = recipePart(create, `${key}-text`, 'Container', null, null, {}, 'Words', { ...COLUMN, flexGrow: '1', width: 'auto', gap: '2px' });
6865
6865
  text.children = [
6866
- recipeText(create, `${key}-name`, null, Style.Body, t.categories[category].name, 'Name', { ...WORDS, fontWeight: '600' }),
6867
- recipeText(create, `${key}-desc`, null, Style.Body, t.categories[category].desc, 'Description'),
6866
+ recipeText(create, `${key}-name`, null, Style$1.Body, t.categories[category].name, 'Name', { ...WORDS, fontWeight: '600' }),
6867
+ recipeText(create, `${key}-desc`, null, Style$1.Body, t.categories[category].desc, 'Description'),
6868
6868
  ];
6869
6869
  node.children = [text, control];
6870
6870
  return node;
6871
6871
  };
6872
- const switchOf = (category) => recipePart(create, `consent-${category}-switch`, 'Field', null, Style.Field,
6872
+ const switchOf = (category) => recipePart(create, `consent-${category}-switch`, 'Field', null, Style$1.Field,
6873
6873
  // The engine's consent runtime binds the switch to the decision by its name and records on change.
6874
6874
  { label: t.categories[category].name, labelHidden: true, control: 'switch', name: `consent-${category}` }, t.categories[category].name, { width: 'auto', flexShrink: '0', minHeight: 'auto', margin: ZERO$4 });
6875
- const prefsReject = button(create, 'consent-preferences-reject', null, Style.Secondary, t.reject, 'Reject all');
6875
+ const prefsReject = button(create, 'consent-preferences-reject', null, Style$1.Secondary, t.reject, 'Reject all');
6876
6876
  onClickRun(prefsReject, [{ type: ConsentActionType.Deny }, { type: ConsentActionType.CloseDialog, target: preferences.id }]);
6877
- const prefsDone = button(create, 'consent-preferences-done', null, Style.Ghost, t.done, 'Done');
6877
+ const prefsDone = button(create, 'consent-preferences-done', null, Style$1.Ghost, t.done, 'Done');
6878
6878
  onClickRun(prefsDone, [{ type: ConsentActionType.CloseDialog, target: preferences.id }]);
6879
- const prefsAccept = button(create, 'consent-preferences-accept', null, Style.Primary, t.accept, 'Accept all');
6879
+ const prefsAccept = button(create, 'consent-preferences-accept', null, Style$1.Primary, t.accept, 'Accept all');
6880
6880
  onClickRun(prefsAccept, [{ type: ConsentActionType.Grant }, { type: ConsentActionType.CloseDialog, target: preferences.id }]);
6881
6881
  const end = recipePart(create, 'consent-preferences-end', 'Container', null, null, {}, 'Done and accept', { ...ROW, gap: '8px' });
6882
6882
  end.children = [prefsDone, prefsAccept];
6883
6883
  const foot = recipePart(create, 'consent-preferences-foot', 'Container', null, null, {}, 'Buttons', { ...ROW, width: '100%', flexWrap: 'wrap', justifyContent: 'space-between', gap: '8px' });
6884
6884
  foot.children = [prefsReject, end];
6885
6885
  preferences.children = [
6886
- recipePart(create, 'consent-preferences-title', 'Heading', null, Style.Title, { content: t.prefsTitle, level: 'h2' }, 'Title', WORDS),
6887
- recipeText(create, 'consent-preferences-sub', null, Style.Body, t.prefsSub, 'Where to change it'),
6888
- card('consent-necessary', ConsentCategory.Necessary, recipeText(create, 'consent-necessary-on', null, Style.Body, t.alwaysOn, 'Always on', { ...WORDS, flexShrink: '0', fontWeight: '600' }, 'span')),
6886
+ recipePart(create, 'consent-preferences-title', 'Heading', null, Style$1.Title, { content: t.prefsTitle, level: 'h2' }, 'Title', WORDS),
6887
+ recipeText(create, 'consent-preferences-sub', null, Style$1.Body, t.prefsSub, 'Where to change it'),
6888
+ card('consent-necessary', ConsentCategory.Necessary, recipeText(create, 'consent-necessary-on', null, Style$1.Body, t.alwaysOn, 'Always on', { ...WORDS, flexShrink: '0', fontWeight: '600' }, 'span')),
6889
6889
  ...categories.map(c => card(`consent-${c}`, c, switchOf(c))),
6890
6890
  foot,
6891
6891
  ];
6892
6892
  // ── The banner ─────────────────────────────────────────────────────────────────────────────────────────────────
6893
- const banner = recipePart(create, 'consent-banner', 'Dialog', ConsentRole.Banner, Style.Dialog, {}, CONSENT_LABELS.banner, { width: '100%', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '0px' });
6893
+ const banner = recipePart(create, 'consent-banner', 'Dialog', ConsentRole.Banner, Style$1.Dialog, {}, CONSENT_LABELS.banner, { width: '100%', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '0px' });
6894
6894
  writeProp(banner, 'consentRole', true);
6895
6895
  writeProp(banner, 'placement', 'bottom');
6896
6896
  writeProp(banner, 'closeOnBackdrop', false); // clicking away is not consent
@@ -6898,18 +6898,18 @@ function buildConsentRecipe(create, options = {}) {
6898
6898
  writeProp(banner, 'ariaLabel', t.title);
6899
6899
  const words = recipePart(create, 'consent-words', 'Container', null, null, {}, 'Words', { ...COLUMN, flexGrow: '1', width: 'auto', gap: '4px' });
6900
6900
  words.children = [
6901
- recipePart(create, 'consent-title', 'Heading', ConsentRole.Title, Style.Title, { content: t.title, level: 'h2' }, 'Title', WORDS),
6902
- recipeText(create, 'consent-body', ConsentRole.Body, Style.Body, t.body, 'Words', { ...WORDS, maxWidth: '560px' }),
6901
+ recipePart(create, 'consent-title', 'Heading', ConsentRole.Title, Style$1.Title, { content: t.title, level: 'h2' }, 'Title', WORDS),
6902
+ recipeText(create, 'consent-body', ConsentRole.Body, Style$1.Body, t.body, 'Words', { ...WORDS, maxWidth: '560px' }),
6903
6903
  ...(options.privacyRoute
6904
- ? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style.Link,
6904
+ ? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style$1.Link,
6905
6905
  // Hugs its words: the words column stretches its children, and a stretched link's box (its focus ring, its
6906
6906
  // hover) ran the column's whole width (AW1 Rule 0, 2026-11-21). `flex-start` is logical — the start side in Hebrew too.
6907
6907
  { label: options.privacyLabel || t.privacy, linkType: 'page', pageRoute: options.privacyRoute }, 'Privacy policy', { ...WORDS, alignSelf: 'flex-start' })]
6908
6908
  : []),
6909
6909
  ];
6910
- const accept = button(create, 'consent-accept', ConsentRole.Accept, Style.Primary, t.accept, 'Accept all');
6910
+ const accept = button(create, 'consent-accept', ConsentRole.Accept, Style$1.Primary, t.accept, 'Accept all');
6911
6911
  onClickRun(accept, [{ type: ConsentActionType.Grant }, { type: ConsentActionType.CloseDialog, target: banner.id }]);
6912
- const reject = button(create, 'consent-reject', ConsentRole.Reject, Style.Secondary, t.reject, 'Reject all');
6912
+ const reject = button(create, 'consent-reject', ConsentRole.Reject, Style$1.Secondary, t.reject, 'Reject all');
6913
6913
  onClickRun(reject, [{ type: ConsentActionType.Deny }, { type: ConsentActionType.CloseDialog, target: banner.id }]);
6914
6914
  // iox-ui#95: on a phone the buttons take their own line, and Accept beside Reject was wider than the words' column
6915
6915
  // (Hebrew and a large type pushed Reject past the dialog's edge). The pair wraps inside the column instead, and
@@ -6919,7 +6919,7 @@ function buildConsentRecipe(create, options = {}) {
6919
6919
  const buttons = recipePart(create, 'consent-buttons', 'Container', null, null, {}, 'Buttons', { ...COLUMN, width: 'auto', maxWidth: '100%', flexShrink: '0', alignItems: 'center', gap: '6px' });
6920
6920
  buttons.children = [choices];
6921
6921
  if (withPreferences) {
6922
- const prefs = button(create, 'consent-open-preferences', ConsentRole.Preferences, Style.Ghost, t.preferences, 'Preferences');
6922
+ const prefs = button(create, 'consent-open-preferences', ConsentRole.Preferences, Style$1.Ghost, t.preferences, 'Preferences');
6923
6923
  onClickRun(prefs, [{ type: ConsentActionType.OpenPreferences, target: preferences.id }]);
6924
6924
  buttons.children.push(prefs);
6925
6925
  }
@@ -6927,11 +6927,252 @@ function buildConsentRecipe(create, options = {}) {
6927
6927
  row.children = [words, buttons];
6928
6928
  banner.children = [row];
6929
6929
  // ── The way back ───────────────────────────────────────────────────────────────────────────────────────────────
6930
- const settings = button(create, 'consent-settings', ConsentRole.Settings, Style.Ghost, t.settings, CONSENT_LABELS.settings);
6930
+ const settings = button(create, 'consent-settings', ConsentRole.Settings, Style$1.Ghost, t.settings, CONSENT_LABELS.settings);
6931
6931
  onClickRun(settings, [{ type: ConsentActionType.OpenPreferences, target: preferences.id }]);
6932
6932
  return { banner, preferences, settings };
6933
6933
  }
6934
6934
 
6935
+ /**
6936
+ * THE POPUP (popups-plan.md, PU1; PU-D1…PU-D18) — the owner's own news, arriving once, as ordinary builder nodes. A popup
6937
+ * is a Dialog stamped from this ONE recipe (PU-D1): the builder's palette (PU2) and generation-core's composer (PU3) stamp
6938
+ * it with their own node factories, so a generated popup and a hand-placed one are the same tree.
6939
+ *
6940
+ * Popup Dialog popup (kind · form · arrive · again · dates — the popup traits below)
6941
+ * › Container popup.media? Image (the owner's picture) — `art: picture`
6942
+ * › Container popup.content
6943
+ * Text popup.eyebrow? (only from a date the owner gave)
6944
+ * Heading popup.title (h2, worn as the look's h3 — its smallest heading style)
6945
+ * Text popup.body (≤ 160 characters)
6946
+ * <form> popup.form? (newsletter: the caller's forms-core newsletter preset)
6947
+ * Link popup.action? (ONE quiet action — a page link; a form's Send is its own)
6948
+ * › the Dialog's own ✕ (44 × 44, named in the site's language by the runtime)
6949
+ *
6950
+ * Its LOOK is the site's element styles (dialog, h4, small, link) — never a colour. Its words are the OWNER's (title, body,
6951
+ * eyebrow, the action's label), passed in; the recipe's own words are mechanism microcopy only ("Close", "Send").
6952
+ * Framework-free: no actions-core import (actions-core reads this module, never the other way).
6953
+ */
6954
+ var PopupRole;
6955
+ (function (PopupRole) {
6956
+ PopupRole["Popup"] = "popup";
6957
+ PopupRole["Media"] = "popup.media";
6958
+ PopupRole["Content"] = "popup.content";
6959
+ PopupRole["Eyebrow"] = "popup.eyebrow";
6960
+ PopupRole["Title"] = "popup.title";
6961
+ PopupRole["Body"] = "popup.body";
6962
+ PopupRole["Form"] = "popup.form";
6963
+ PopupRole["Action"] = "popup.action";
6964
+ })(PopupRole || (PopupRole = {}));
6965
+ const POPUP_ROLES = new Set(Object.values(PopupRole));
6966
+ /** PU-D3: what the popup says (contract POPUP `kind`). Seasonal is not a kind — it is dates on any kind. */
6967
+ var PopupKind;
6968
+ (function (PopupKind) {
6969
+ PopupKind["Announcement"] = "announcement";
6970
+ PopupKind["Offer"] = "offer";
6971
+ PopupKind["Newsletter"] = "newsletter";
6972
+ })(PopupKind || (PopupKind = {}));
6973
+ /** §3b: where it sits (contract POPUP `form`). Only `centred` is modal, and only a newsletter's on a laptop. */
6974
+ var PopupForm;
6975
+ (function (PopupForm) {
6976
+ PopupForm["Corner"] = "corner";
6977
+ PopupForm["Bar"] = "bar";
6978
+ PopupForm["Centred"] = "centred";
6979
+ })(PopupForm || (PopupForm = {}));
6980
+ /** PU-D5: what makes it arrive (contract POPUP `arrive`). `leaving` waits for PU2b (drawn as `time`). */
6981
+ var PopupArrive;
6982
+ (function (PopupArrive) {
6983
+ PopupArrive["Scroll"] = "scroll";
6984
+ PopupArrive["Time"] = "time";
6985
+ PopupArrive["ScrollOrTime"] = "scrollOrTime";
6986
+ PopupArrive["Leaving"] = "leaving";
6987
+ PopupArrive["Button"] = "button";
6988
+ })(PopupArrive || (PopupArrive = {}));
6989
+ /** PU-D6: when it may show again after a close (contract POPUP `again`). "Every page view" is refused. */
6990
+ var PopupAgain;
6991
+ (function (PopupAgain) {
6992
+ PopupAgain["Days"] = "days";
6993
+ PopupAgain["Visit"] = "visit";
6994
+ PopupAgain["Once"] = "once";
6995
+ })(PopupAgain || (PopupAgain = {}));
6996
+ /** The contract's `art`. */
6997
+ var PopupArt;
6998
+ (function (PopupArt) {
6999
+ PopupArt["None"] = "none";
7000
+ PopupArt["Picture"] = "picture";
7001
+ })(PopupArt || (PopupArt = {}));
7002
+ /**
7003
+ * The Dialog traits a popup carries (Bindings ▸ Popup, PU2). Like the menu traits (HI2a) they have NO default: a Dialog
7004
+ * without `popupKind` is not a popup and renders exactly as before (R-H4). `modal` is the one Dialog trait the popup
7005
+ * adds for every Dialog: absent = modal, so every existing Dialog keeps `showModal()`.
7006
+ */
7007
+ var PopupTrait;
7008
+ (function (PopupTrait) {
7009
+ PopupTrait["Kind"] = "popupKind";
7010
+ PopupTrait["Form"] = "popupForm";
7011
+ PopupTrait["Arrive"] = "popupArrive";
7012
+ /** `scroll`: the share of the FIRST screen scrolled (default 0.5). */
7013
+ PopupTrait["Screens"] = "popupScreens";
7014
+ /** `scroll`: the share of the whole PAGE scrolled instead (a newsletter's 40%). */
7015
+ PopupTrait["PageShare"] = "popupPageShare";
7016
+ /** `time`: seconds on the page (visible tab), never under 3. */
7017
+ PopupTrait["Seconds"] = "popupSeconds";
7018
+ PopupTrait["Again"] = "popupAgain";
7019
+ /** `again: days`: how many (default 30). */
7020
+ PopupTrait["Days"] = "popupDays";
7021
+ /** PU-D18: whole days, `YYYY-MM-DD`, on the visitor's clock. */
7022
+ PopupTrait["ShowFrom"] = "popupFrom";
7023
+ PopupTrait["ShowUntil"] = "popupUntil";
7024
+ /** "Show it again to everyone" raises it; a remembered close of an older version is forgotten. */
7025
+ PopupTrait["Version"] = "popupVersion";
7026
+ })(PopupTrait || (PopupTrait = {}));
7027
+ /** A Dialog's own trait: false = non-modal (`showPopover()`, the page stays usable). Absent = modal (as ever). */
7028
+ const DIALOG_MODAL_TRAIT = 'modal';
7029
+ /** The attributes a popup renders on its `<dialog>` — read by the shared CSS (placement, motion) and the popup runtime. */
7030
+ var PopupAttribute;
7031
+ (function (PopupAttribute) {
7032
+ PopupAttribute["Kind"] = "data-iox-popup";
7033
+ PopupAttribute["Form"] = "data-iox-popup-form";
7034
+ PopupAttribute["Arrive"] = "data-iox-popup-arrive";
7035
+ PopupAttribute["Screens"] = "data-iox-popup-screens";
7036
+ PopupAttribute["PageShare"] = "data-iox-popup-page";
7037
+ PopupAttribute["Seconds"] = "data-iox-popup-seconds";
7038
+ PopupAttribute["Again"] = "data-iox-popup-again";
7039
+ PopupAttribute["Days"] = "data-iox-popup-days";
7040
+ PopupAttribute["ShowFrom"] = "data-iox-popup-from";
7041
+ PopupAttribute["ShowUntil"] = "data-iox-popup-until";
7042
+ PopupAttribute["Version"] = "data-iox-popup-version";
7043
+ /** A non-modal Dialog (a popup's corner / bar, or `modal: false`): opened with `showPopover()`. */
7044
+ PopupAttribute["NonModal"] = "data-iox-dialog-nonmodal";
7045
+ /** §8 / R-H8: its words never become the page's search snippet. */
7046
+ PopupAttribute["NoSnippet"] = "data-nosnippet";
7047
+ })(PopupAttribute || (PopupAttribute = {}));
7048
+ const POPUP_ATTRIBUTES = Object.values(PopupAttribute);
7049
+ const TRAIT_ATTRIBUTE = [
7050
+ [PopupTrait.Arrive, PopupAttribute.Arrive], [PopupTrait.Screens, PopupAttribute.Screens], [PopupTrait.PageShare, PopupAttribute.PageShare],
7051
+ [PopupTrait.Seconds, PopupAttribute.Seconds], [PopupTrait.Again, PopupAttribute.Again], [PopupTrait.Days, PopupAttribute.Days],
7052
+ [PopupTrait.ShowFrom, PopupAttribute.ShowFrom], [PopupTrait.ShowUntil, PopupAttribute.ShowUntil], [PopupTrait.Version, PopupAttribute.Version],
7053
+ ];
7054
+ const inEnum = (e, v) => typeof v === 'string' && Object.values(e).includes(v);
7055
+ const isOff = (v) => v === false || v === 'false';
7056
+ const text = (v) => (typeof v === 'number' && Number.isFinite(v) ? String(v) : typeof v === 'string' ? v.trim() : '');
7057
+ /** A popup's form, judged: `centred` only for a newsletter (PU-D2) — any other kind asking for it sits in the corner. */
7058
+ function popupFormOf(kind, form) {
7059
+ const f = inEnum(PopupForm, form) ? form : POPUP_KIND_MIX[inEnum(PopupKind, kind) ? kind : PopupKind.Offer].form;
7060
+ return f === PopupForm.Centred && kind !== PopupKind.Newsletter ? PopupForm.Corner : f;
7061
+ }
7062
+ /** True when a Dialog opens as a modal: a popup only when its form is `centred`; any other Dialog unless `modal: false`. */
7063
+ function dialogIsModal(get) {
7064
+ const kind = get(PopupTrait.Kind);
7065
+ if (inEnum(PopupKind, kind))
7066
+ return popupFormOf(kind, get(PopupTrait.Form)) === PopupForm.Centred;
7067
+ return !isOff(get(DIALOG_MODAL_TRAIT));
7068
+ }
7069
+ /**
7070
+ * The attributes a Dialog renders for the popup and the non-modal opening — ONE function, applied by every renderer
7071
+ * through `nodeA11yAttributes` (the engine's string path, its component path, the builder canvas). A plain modal Dialog
7072
+ * gets `{}` and renders exactly as before.
7073
+ */
7074
+ function popupDialogAttributes(get) {
7075
+ const out = {};
7076
+ if (!dialogIsModal(get))
7077
+ out[PopupAttribute.NonModal] = '';
7078
+ const kind = get(PopupTrait.Kind);
7079
+ if (!inEnum(PopupKind, kind))
7080
+ return out;
7081
+ out[PopupAttribute.Kind] = kind;
7082
+ out[PopupAttribute.Form] = popupFormOf(kind, get(PopupTrait.Form));
7083
+ out[PopupAttribute.NoSnippet] = '';
7084
+ for (const [trait, attr] of TRAIT_ATTRIBUTE) {
7085
+ const v = text(get(trait));
7086
+ if (v)
7087
+ out[attr] = v;
7088
+ }
7089
+ return out;
7090
+ }
7091
+ /** §3a + PU-D6: each kind's defaults (contract POPUP `named` — generation-core's spec holds them equal). */
7092
+ const POPUP_KIND_MIX = {
7093
+ [PopupKind.Announcement]: { form: PopupForm.Bar, arrive: PopupArrive.Scroll, again: PopupAgain.Visit, art: PopupArt.None },
7094
+ [PopupKind.Offer]: { form: PopupForm.Corner, arrive: PopupArrive.ScrollOrTime, again: PopupAgain.Days, art: PopupArt.Picture },
7095
+ [PopupKind.Newsletter]: { form: PopupForm.Corner, arrive: PopupArrive.ScrollOrTime, again: PopupAgain.Days, art: PopupArt.None },
7096
+ };
7097
+ /** §3a: when each kind arrives by default (contract POPUP `arrival`). */
7098
+ const POPUP_KIND_ARRIVAL = {
7099
+ [PopupKind.Announcement]: { screens: 0.5 },
7100
+ [PopupKind.Offer]: { screens: 0.5, seconds: 8 },
7101
+ [PopupKind.Newsletter]: { pageShare: 0.4, seconds: 25 },
7102
+ };
7103
+ /** The recipe's OWN words — mechanism microcopy, in the site's language. The rest is the owner's. */
7104
+ const POPUP_WORDS = {
7105
+ en: { close: 'Close', send: 'Send', label: { [PopupKind.Announcement]: 'Announcement', [PopupKind.Offer]: 'Offer', [PopupKind.Newsletter]: 'Newsletter' } },
7106
+ he: { close: 'סגירה', send: 'שליחה', label: { [PopupKind.Announcement]: 'הודעה', [PopupKind.Offer]: 'הצעה', [PopupKind.Newsletter]: 'ניוזלטר' } },
7107
+ };
7108
+ /** The popup's mechanism words in `lang` (English for any language it does not speak yet). */
7109
+ function popupWords(lang = 'en') {
7110
+ return POPUP_WORDS[recipeLang(lang)];
7111
+ }
7112
+ var Style;
7113
+ (function (Style) {
7114
+ Style["Dialog"] = "dialog";
7115
+ /** The look's smallest heading style (there is no h4 element style): the plan's "h4-sized" title. */
7116
+ Style["Title"] = "h3";
7117
+ Style["Body"] = "small";
7118
+ Style["Eyebrow"] = "eyebrow";
7119
+ Style["Link"] = "link";
7120
+ })(Style || (Style = {}));
7121
+ /** §6: a heading of at most this many words; a body of at most this many characters (the gate judges stored ones). */
7122
+ const POPUP_TITLE_MAX_WORDS = 6;
7123
+ const POPUP_BODY_MAX_CHARS = 160;
7124
+ /** The popup — ONE root. Pure over the factory: the builder and the composer get the same tree. */
7125
+ function buildPopupRecipe(create, options = {}) {
7126
+ const kind = options.kind ?? PopupKind.Offer;
7127
+ const mix = POPUP_KIND_MIX[kind];
7128
+ const form = popupFormOf(kind, options.form ?? mix.form);
7129
+ const art = form === PopupForm.Bar ? PopupArt.None : options.art ?? mix.art;
7130
+ const words = popupWords(options.lang);
7131
+ const title = options.title?.trim() ?? '';
7132
+ const bar = form === PopupForm.Bar;
7133
+ const picture = art === PopupArt.Picture;
7134
+ // The dialog style's padding holds, except around a picture: the picture runs to the card's edge, the words keep the pad.
7135
+ const { padding: _rowPad, ...row } = ROW;
7136
+ const root = recipePart(create, 'popup', 'Dialog', PopupRole.Popup, Style.Dialog, {}, `Popup — ${words.label[kind]}`, bar ? { ...row, width: '100%', maxWidth: '100%', gap: '16px' }
7137
+ : { ...row, width: picture ? '560px' : '420px', maxWidth: '100%', alignItems: 'stretch', gap: '0px', ...(picture ? { padding: ZERO$4 } : {}) });
7138
+ writeProp(root, 'placement', 'center'); // the popup's own form places it (iox-design.css), never the placement
7139
+ writeProp(root, 'closeOnBackdrop', true); // centred only: a click on the scrim is a close (remembered)
7140
+ writeProp(root, 'showCloseButton', true);
7141
+ writeProp(root, 'ariaLabel', title || words.label[kind]);
7142
+ writeProp(root, PopupTrait.Kind, kind);
7143
+ writeProp(root, PopupTrait.Form, form);
7144
+ writeProp(root, PopupTrait.Arrive, options.arrive ?? mix.arrive);
7145
+ writeProp(root, PopupTrait.Again, options.again ?? mix.again);
7146
+ const children = [];
7147
+ if (picture) {
7148
+ const media = recipePart(create, 'popup-media', 'Container', PopupRole.Media, null, {}, 'Picture', { ...COLUMN, width: '40%', flexShrink: '0', overflow: 'hidden' });
7149
+ media.children = [recipePart(create, 'popup-image', 'Image', null, null, { src: options.imageSrc ?? '', alt: options.imageAlt ?? '' }, 'Picture', { width: '100%', height: '100%', minHeight: '160px', objectFit: 'cover', margin: ZERO$4 })];
7150
+ children.push(media);
7151
+ }
7152
+ const content = recipePart(create, 'popup-content', 'Container', PopupRole.Content, null, {}, 'Words', bar ? { ...ROW, flexGrow: '1', flexWrap: 'wrap', gap: '4px 16px' }
7153
+ : { ...COLUMN, flexGrow: '1', width: 'auto', gap: '8px', ...(picture ? { padding: 'var(--iox-dialog-pad)' } : {}) });
7154
+ const parts = [];
7155
+ if (options.eyebrow?.trim())
7156
+ parts.push(recipeText(create, 'popup-eyebrow', PopupRole.Eyebrow, Style.Eyebrow, options.eyebrow.trim(), 'Dates'));
7157
+ parts.push(recipePart(create, 'popup-title', 'Heading', PopupRole.Title, Style.Title, { content: title, level: 'h2' }, 'Title', WORDS));
7158
+ if (options.body?.trim() || !bar)
7159
+ parts.push(recipeText(create, 'popup-body', PopupRole.Body, Style.Body, options.body?.trim() ?? '', 'Words'));
7160
+ if (kind === PopupKind.Newsletter && options.newsletterForm) {
7161
+ const f = options.newsletterForm;
7162
+ f.role = PopupRole.Form;
7163
+ parts.push(f);
7164
+ }
7165
+ else if (options.actionRoute) {
7166
+ // A popup's action is QUIET — never the page's primary button (§6): the look's link (a Link, the consent banner's
7167
+ // privacy link's shape), hugging its words — the column would stretch its box (focus ring, hover) to full width.
7168
+ parts.push(recipePart(create, 'popup-action', 'Link', PopupRole.Action, Style.Link, { label: options.actionLabel?.trim() ?? '', linkType: 'page', pageRoute: options.actionRoute }, 'Action', { ...WORDS, alignSelf: 'flex-start' }));
7169
+ }
7170
+ content.children = parts;
7171
+ children.push(content);
7172
+ root.children = children;
7173
+ return root;
7174
+ }
7175
+
6935
7176
  /**
6936
7177
  * @vectoriox/iox-ui/composite-core — composites built from the builder's own parts (composite-components
6937
7178
  * plan §3a). FRAMEWORK-FREE: the builder, the SSR engine and iox-cms (generation-core's composer, the site
@@ -6947,5 +7188,5 @@ function buildConsentRecipe(create, options = {}) {
6947
7188
  * Generated bundle index. Do not edit.
6948
7189
  */
6949
7190
 
6950
- export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickTabsAutoBinds, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
7191
+ export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DIALOG_MODAL_TRAIT, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, POPUP_ATTRIBUTES, POPUP_BODY_MAX_CHARS, POPUP_KIND_ARRIVAL, POPUP_KIND_MIX, POPUP_ROLES, POPUP_TITLE_MAX_WORDS, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, PopupAgain, PopupArrive, PopupArt, PopupAttribute, PopupForm, PopupKind, PopupRole, PopupTrait, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPopupRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, dialogIsModal, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickTabsAutoBinds, popupDialogAttributes, popupFormOf, popupWords, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
6951
7192
  //# sourceMappingURL=vectoriox-iox-ui-composite-core.mjs.map