@vectoriox/iox-ui 5.142.0 → 5.144.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composite-core/index.d.ts +40 -1
- package/design-core/index.d.ts +92 -27
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +155 -90
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +112 -27
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +61 -4
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +473 -193
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +461 -2
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +102 -19
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +17 -3
- package/generation-core/index.d.ts +270 -6
- package/harness-core/index.d.ts +341 -2
- package/index.d.ts +24 -9
- package/package.json +1 -1
- package/src/composite-core/accordion.ts +16 -1
- package/src/composite-core/card.ts +22 -2
- package/src/composite-core/consent.ts +2 -2
- package/src/composite-core/recipe-parts.ts +7 -0
- package/src/composite-core/segmented.ts +17 -2
- package/src/composite-core/slider.ts +19 -3
- package/src/composite-core/tabs.ts +16 -1
- package/src/design-core/contrast-audit.ts +18 -0
- package/src/design-core/flavor-spec.generated.ts +71 -25
- package/src/design-core/locale-direction.ts +24 -0
- package/src/design-core/menu-look.ts +2 -1
- package/src/design-core/public-api.ts +1 -0
- package/src/forms-core/form-presets.ts +72 -3
- package/src/generation-core/compose-layout.ts +1 -1
- package/src/generation-core/compose-site.ts +50 -19
- package/src/generation-core/footer-mix.ts +8 -0
- package/src/generation-core/nav-shape.ts +3 -2
- package/src/generation-core/patterns.ts +4 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-plan.model.ts +10 -2
- package/src/generation-core/site-spec.generated.ts +281 -131
- package/src/generation-core/start-quote.ts +158 -0
- package/src/harness-core/business-types.ts +11 -0
- package/src/harness-core/film-idea.ts +178 -0
- package/src/harness-core/harness-spec.generated.ts +331 -0
- package/src/harness-core/intake.ts +8 -1
- package/src/harness-core/public-api.ts +1 -0
- package/styles/iox-design.css +60 -47
|
@@ -353,6 +353,45 @@ function exclusiveItemPartOf(node, path) {
|
|
|
353
353
|
return null;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
/**
|
|
357
|
+
* The small builders the commerce recipes share (shop.ts — E1c, account.ts — E3a): a part, its words, an icon, a button,
|
|
358
|
+
* a click that runs one action, a binding to a context slot. Internal to composite-core — not part of its public API.
|
|
359
|
+
*/
|
|
360
|
+
const ZERO$4 = '0px 0px 0px 0px';
|
|
361
|
+
/** The recipe language of a site/page locale ('he', 'he-IL' → Hebrew; anything else English). */
|
|
362
|
+
function recipeLang(lang) {
|
|
363
|
+
return (lang ?? '').toLowerCase().startsWith('he') ? 'he' : 'en';
|
|
364
|
+
}
|
|
365
|
+
/** Words that take their own size (a recipe never stamps a Text's 10px or a box's 200px — W1.1 `BASELINE_ROLES`). */
|
|
366
|
+
const WORDS = { width: 'auto', minHeight: 'auto', padding: ZERO$4, margin: ZERO$4 };
|
|
367
|
+
const ROW = { display: 'flex', flexDirection: 'row', alignItems: 'center', width: 'auto', height: 'auto', minHeight: 'auto', padding: ZERO$4 };
|
|
368
|
+
const COLUMN = { display: 'flex', flexDirection: 'column', alignItems: 'stretch', width: '100%', height: 'auto', minHeight: 'auto', padding: ZERO$4 };
|
|
369
|
+
/** A click on `node` runs one action (`target` '' = the runtime finds its own). */
|
|
370
|
+
function onClick$1(node, type, target = '') {
|
|
371
|
+
node.interactions = [{
|
|
372
|
+
id: `${node.id ?? 'node'}-click`, trigger: 'click',
|
|
373
|
+
actions: [{ type, target, duration: 0, delay: 0, easing: 'ease' }],
|
|
374
|
+
}];
|
|
375
|
+
}
|
|
376
|
+
/** Bind `prop` to a context slot path, through the money pipe when asked. */
|
|
377
|
+
function bindSlot(node, prop, source, path, money = false) {
|
|
378
|
+
const bindings = (node.bindings ?? []).filter(b => b.prop !== prop);
|
|
379
|
+
bindings.push({ prop, source, path, ...(money ? { pipes: [{ name: 'money', args: [] }] } : {}) });
|
|
380
|
+
node.bindings = bindings;
|
|
381
|
+
}
|
|
382
|
+
function recipePart(create, key, type, role, style, props, label, base) {
|
|
383
|
+
return makeCompositePart(create, { key, type, props, elementStyle: style ?? undefined }, role, label, base);
|
|
384
|
+
}
|
|
385
|
+
function recipeText(create, key, role, style, words, label, base = WORDS, tag = 'p') {
|
|
386
|
+
return recipePart(create, key, 'Text', role, style, { content: words, tag }, label, base);
|
|
387
|
+
}
|
|
388
|
+
function recipeIcon(create, key, iconClass, size = '18px') {
|
|
389
|
+
return recipePart(create, key, 'Icon', null, 'icon', { iconClass }, 'Icon', { fontSize: size, color: 'inherit' });
|
|
390
|
+
}
|
|
391
|
+
function recipeButton(create, key, role, style, label, ariaLabel = '', base = {}) {
|
|
392
|
+
return recipePart(create, key, 'ButtonBlock', role, style, { tag: 'button', type: 'button', ...(ariaLabel ? { ariaLabel } : {}) }, label, base);
|
|
393
|
+
}
|
|
394
|
+
|
|
356
395
|
/**
|
|
357
396
|
* ACCORDION (CC2 — composite K1; complex-components boards 3, 4 and 9, APPROVED 2026-10-20). Not a
|
|
358
397
|
* component: a recipe of ordinary nodes, each part carrying a role, so every part is selectable on the
|
|
@@ -412,6 +451,17 @@ const ACCORDION_WORDS = [
|
|
|
412
451
|
{ question: 'Write the third question', answer: 'Answer it plainly, in two or three short sentences.' },
|
|
413
452
|
];
|
|
414
453
|
const ACCORDION_NEW_ITEM_WORDS = { question: 'Write a new question', answer: 'Answer it plainly, in two or three short sentences.' };
|
|
454
|
+
/** The same on a Hebrew site (iox-ui#112). */
|
|
455
|
+
const ACCORDION_WORDS_HE = [
|
|
456
|
+
{ question: 'כתבו את השאלה הראשונה שאנשים שואלים', answer: 'ענו בפשטות, בשניים או שלושה משפטים קצרים.' },
|
|
457
|
+
{ question: 'כתבו את השאלה השנייה', answer: 'ענו בפשטות, בשניים או שלושה משפטים קצרים.' },
|
|
458
|
+
{ question: 'כתבו את השאלה השלישית', answer: 'ענו בפשטות, בשניים או שלושה משפטים קצרים.' },
|
|
459
|
+
];
|
|
460
|
+
const ACCORDION_NEW_ITEM_WORDS_HE = { question: 'כתבו שאלה חדשה', answer: 'ענו בפשטות, בשניים או שלושה משפטים קצרים.' };
|
|
461
|
+
/** A fresh accordion's items in a language. */
|
|
462
|
+
function accordionWords(lang) {
|
|
463
|
+
return recipeLang(lang) === 'he' ? ACCORDION_WORDS_HE : ACCORDION_WORDS;
|
|
464
|
+
}
|
|
415
465
|
var Type$8;
|
|
416
466
|
(function (Type) {
|
|
417
467
|
Type["Container"] = "Container";
|
|
@@ -483,7 +533,7 @@ function buildAccordionRecipe(create, options = {}) {
|
|
|
483
533
|
const root = make$4(create, 'accordion', Type$8.Container, AccordionRole.Accordion, Style$9.Root, {}, 'Accordion');
|
|
484
534
|
writeProp(root, CompositeBehaviourTrait.Multiple, options.multiple ?? false);
|
|
485
535
|
writeProp(root, CompositeBehaviourTrait.DefaultOn, options.defaultOn ?? AccordionDefaultOn.First);
|
|
486
|
-
const words = options.items ??
|
|
536
|
+
const words = options.items ?? accordionWords(options.lang);
|
|
487
537
|
root.children = words.map((w, i) => buildAccordionItem(create, w, `k${i + 1}`, options.icon ?? AccordionIcon.Chevron));
|
|
488
538
|
return root;
|
|
489
539
|
}
|
|
@@ -1597,6 +1647,21 @@ const CARD_WORDS = {
|
|
|
1597
1647
|
quote: 'Their words, as they said them.',
|
|
1598
1648
|
person: 'Their name',
|
|
1599
1649
|
};
|
|
1650
|
+
/** A fresh card's words on a Hebrew site (iox-ui#112). */
|
|
1651
|
+
const CARD_WORDS_HE = {
|
|
1652
|
+
eyebrow: 'קטגוריה',
|
|
1653
|
+
title: 'כותרת הכרטיס',
|
|
1654
|
+
text: 'משפט או שניים על הפריט הזה.',
|
|
1655
|
+
primary: 'למידע נוסף',
|
|
1656
|
+
secondary: 'שמירה',
|
|
1657
|
+
badge: 'חדש',
|
|
1658
|
+
quote: 'המילים שלהם, כפי שאמרו אותן.',
|
|
1659
|
+
person: 'השם שלהם',
|
|
1660
|
+
};
|
|
1661
|
+
/** A fresh card's words in a language. */
|
|
1662
|
+
function cardWords(lang) {
|
|
1663
|
+
return recipeLang(lang) === 'he' ? CARD_WORDS_HE : CARD_WORDS;
|
|
1664
|
+
}
|
|
1600
1665
|
/** The breakpoint whose layer stacks an "Image side" card (Breakpoint.Mobile, ≤767px). */
|
|
1601
1666
|
const CARD_STACK_BREAKPOINT = 'mobile';
|
|
1602
1667
|
var Type$6;
|
|
@@ -1765,7 +1830,7 @@ function buildTitle(create, words) {
|
|
|
1765
1830
|
}
|
|
1766
1831
|
/** A fresh Card v2: every part a node with its role and element style, laid out by `options.layout`. */
|
|
1767
1832
|
function buildCardRecipe(create, options = {}) {
|
|
1768
|
-
const words = { ...
|
|
1833
|
+
const words = { ...cardWords(options.lang), ...(options.words ?? {}) };
|
|
1769
1834
|
const tone = options.badgeTone ?? BadgeTone.Accent;
|
|
1770
1835
|
const on = (part) => options.parts?.[part] ?? !CARD_PARTS_OFF_AT_START.has(part);
|
|
1771
1836
|
const card = make$2(create, 'card', Type$6.Container, CardRole.Card, Style$7.Card, {}, 'Card');
|
|
@@ -1945,7 +2010,7 @@ function setCardPart(card, part, on, create, options = {}) {
|
|
|
1945
2010
|
return null;
|
|
1946
2011
|
const layout = detectCardLayout(card);
|
|
1947
2012
|
const spec = LAYOUTS[layout === CARD_LAYOUT_CUSTOM ? CardLayout.Top : layout];
|
|
1948
|
-
const words = { ...
|
|
2013
|
+
const words = { ...cardWords(options.lang), ...(options.words ?? {}) };
|
|
1949
2014
|
const node = PART_BUILDERS[part](create, words, options.badgeTone ?? BadgeTone.Accent);
|
|
1950
2015
|
const content = findByRole(card, CardRole.Content);
|
|
1951
2016
|
switch (part) {
|
|
@@ -2199,30 +2264,30 @@ var MarqueeStyle;
|
|
|
2199
2264
|
MarqueeStyle["Item"] = "lead";
|
|
2200
2265
|
MarqueeStyle["Icon"] = "icon";
|
|
2201
2266
|
})(MarqueeStyle || (MarqueeStyle = {}));
|
|
2202
|
-
const ZERO$
|
|
2267
|
+
const ZERO$3 = '0px 0px 0px 0px';
|
|
2203
2268
|
const GAP = 'var(--iox-marquee-gap, 24px)';
|
|
2204
2269
|
/** The band: the control at its reading start, the rail taking the rest. */
|
|
2205
2270
|
const BAND_BASE = {
|
|
2206
|
-
display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', width: '100%', minHeight: 'auto', padding: ZERO$
|
|
2271
|
+
display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', width: '100%', minHeight: 'auto', padding: ZERO$3,
|
|
2207
2272
|
};
|
|
2208
2273
|
/** What the band is seen through: it clips the moving row and holds the track and its copy side by side. */
|
|
2209
2274
|
const RAIL_BASE = {
|
|
2210
2275
|
display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', flexGrow: '1', flexShrink: '1', flexBasis: '0%',
|
|
2211
|
-
minWidth: '0px', width: 'auto', minHeight: 'auto', overflow: 'hidden', padding: ZERO$
|
|
2276
|
+
minWidth: '0px', width: 'auto', minHeight: 'auto', overflow: 'hidden', padding: ZERO$3, margin: ZERO$3,
|
|
2212
2277
|
};
|
|
2213
2278
|
/** One row of items, as wide as they are; its trailing gap (inline-end padding) is part of its width, so the copy picks
|
|
2214
2279
|
* up exactly one gap after the last item and a loop of −100% is seamless. */
|
|
2215
2280
|
const TRACK_BASE = {
|
|
2216
2281
|
display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', gap: GAP, flexGrow: '0', flexShrink: '0',
|
|
2217
|
-
width: 'max-content', minHeight: 'auto', margin: ZERO$
|
|
2282
|
+
width: 'max-content', minHeight: 'auto', margin: ZERO$3, padding: `0px ${GAP} 0px 0px`,
|
|
2218
2283
|
};
|
|
2219
2284
|
/** A 44px round control (the slider's), in the flow at the band's start. */
|
|
2220
2285
|
const CONTROL_BASE$1 = {
|
|
2221
2286
|
display: 'flex', alignItems: 'center', justifyContent: 'center', flexShrink: '0', width: '44px', height: '44px', minWidth: '44px',
|
|
2222
|
-
padding: ZERO$
|
|
2287
|
+
padding: ZERO$3, margin: ZERO$3, borderRadius: '999px',
|
|
2223
2288
|
};
|
|
2224
2289
|
const ICON_BASE$1 = { fontSize: '18px', color: 'inherit' };
|
|
2225
|
-
const ITEM_BASE = { flexShrink: '0', margin: ZERO$
|
|
2290
|
+
const ITEM_BASE = { flexShrink: '0', margin: ZERO$3, width: 'auto' };
|
|
2226
2291
|
const MARQUEE_SAMPLE_WORDS = ['Design', 'Branding', 'Photography', 'Websites', 'Motion'];
|
|
2227
2292
|
/** A band of words (Components ▸ Interactive ▸ Marquee). The words are ordinary Text nodes: bind, restyle, replace. */
|
|
2228
2293
|
function buildMarqueeRecipe(create, options = {}) {
|
|
@@ -2400,9 +2465,9 @@ const PART_LABEL = {
|
|
|
2400
2465
|
[SliderRole.Caption]: 'Caption',
|
|
2401
2466
|
[SliderRole.Count]: 'Count',
|
|
2402
2467
|
};
|
|
2403
|
-
const ZERO$
|
|
2468
|
+
const ZERO$2 = '0px 0px 0px 0px';
|
|
2404
2469
|
/** A control in the bar: in flow, its own size, no offsets (the bar spaces its parts). */
|
|
2405
|
-
const BAR_PART_LAYOUT = { position: 'static', top: 'auto', margin: ZERO$
|
|
2470
|
+
const BAR_PART_LAYOUT = { position: 'static', top: 'auto', margin: ZERO$2 };
|
|
2406
2471
|
/**
|
|
2407
2472
|
* The bar (M1.3): a row under the picture. Its inline padding keeps the PAGE's margin when the slider bleeds to the
|
|
2408
2473
|
* screen's edge — the gutter less however far the slider is already inset from the screen (`100%` is the slider's
|
|
@@ -2411,27 +2476,27 @@ const BAR_PART_LAYOUT = { position: 'static', top: 'auto', margin: ZERO$3 };
|
|
|
2411
2476
|
const BAR_INLINE_PAD = 'max(0px, calc(var(--iox-space-gutter, 24px) - (100vw - 100%) / 2))';
|
|
2412
2477
|
const BAR_BASE$1 = {
|
|
2413
2478
|
position: 'relative', display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', justifyContent: 'flex-start',
|
|
2414
|
-
gap: '12px', width: '100%', height: 'auto', minHeight: '44px', margin: ZERO$
|
|
2479
|
+
gap: '12px', width: '100%', height: 'auto', minHeight: '44px', margin: ZERO$2, padding: `12px ${BAR_INLINE_PAD} 0px ${BAR_INLINE_PAD}`, zIndex: '10',
|
|
2415
2480
|
};
|
|
2416
2481
|
/** The caption takes the room the controls leave; its words end in an ellipsis rather than push them off (the shared
|
|
2417
2482
|
* CSS's, because Text holds no `textOverflow`/`whiteSpace` trait and the builder drops them on save). */
|
|
2418
2483
|
const CAPTION_BASE$1 = {
|
|
2419
|
-
flexGrow: '1', flexShrink: '1', flexBasis: '0%', minWidth: '0px', width: 'auto', minHeight: 'auto', margin: ZERO$
|
|
2484
|
+
flexGrow: '1', flexShrink: '1', flexBasis: '0%', minWidth: '0px', width: 'auto', minHeight: 'auto', margin: ZERO$2, padding: ZERO$2,
|
|
2420
2485
|
overflow: 'hidden',
|
|
2421
2486
|
};
|
|
2422
|
-
const COUNT_BASE = { flexGrow: '0', flexShrink: '0', width: 'auto', minHeight: 'auto', margin: ZERO$
|
|
2487
|
+
const COUNT_BASE = { flexGrow: '0', flexShrink: '0', width: 'auto', minHeight: 'auto', margin: ZERO$2, padding: ZERO$2 };
|
|
2423
2488
|
/** A round 44px control (board 6 `.st-ctl`), over the slides (z above `.swiper-wrapper`). The PLACE (which edge) is the
|
|
2424
2489
|
* shared CSS's, in logical insets, so a carousel reads the same way in RTL. */
|
|
2425
2490
|
const CONTROL_BASE = {
|
|
2426
2491
|
position: 'absolute', zIndex: '10', display: 'flex', alignItems: 'center', justifyContent: 'center',
|
|
2427
|
-
width: '44px', height: '44px', minWidth: '44px', padding: ZERO$
|
|
2492
|
+
width: '44px', height: '44px', minWidth: '44px', padding: ZERO$2, margin: ZERO$2, borderRadius: '999px',
|
|
2428
2493
|
};
|
|
2429
2494
|
const ICON_BASE = { fontSize: '20px', color: 'inherit' };
|
|
2430
2495
|
/** The arrows' vertical middle over the slides: half the 44px control above the centre line. */
|
|
2431
2496
|
const ARROW_TOP = 'calc(50% - 22px)';
|
|
2432
2497
|
const PAGINATION_BASE = {
|
|
2433
2498
|
position: 'absolute', zIndex: '10', display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '8px',
|
|
2434
|
-
width: 'auto', minHeight: 'auto', height: 'auto', padding: ZERO$
|
|
2499
|
+
width: 'auto', minHeight: 'auto', height: 'auto', padding: ZERO$2, margin: ZERO$2, color: 'var(--iox-accent)',
|
|
2435
2500
|
};
|
|
2436
2501
|
const SWIPER_THEME_COLOR = '#007aff';
|
|
2437
2502
|
function legacyLookOf(slider) {
|
|
@@ -2466,7 +2531,7 @@ function buildSliderPart(create, role, legacy) {
|
|
|
2466
2531
|
// is the shared CSS's, logical, so the arrows swap sides in RTL.
|
|
2467
2532
|
const placed = role === SliderRole.Pause ? CONTROL_BASE : { ...CONTROL_BASE, top: ARROW_TOP };
|
|
2468
2533
|
const base = legacy
|
|
2469
|
-
? { ...placed, backgroundColor: 'transparent', borderWidth: ZERO$
|
|
2534
|
+
? { ...placed, backgroundColor: 'transparent', borderWidth: ZERO$2, color: legacy.navigationColor ?? SWIPER_THEME_COLOR, boxShadow: 'none' }
|
|
2470
2535
|
: placed;
|
|
2471
2536
|
// Previous / Next carry their accessible name (Swiper's A11y module reads it); the pause control's name is its
|
|
2472
2537
|
// runtime's — it says what pressing it will do.
|
|
@@ -2568,8 +2633,8 @@ function placeBeforeSlides(kept, part, role) {
|
|
|
2568
2633
|
/** The layout a control has over the picture (its recipe's place: absolute, the arrows at the vertical middle). */
|
|
2569
2634
|
function overLayoutFor(role) {
|
|
2570
2635
|
if (role === SliderRole.Pagination)
|
|
2571
|
-
return { position: 'absolute', margin: ZERO$
|
|
2572
|
-
return role === SliderRole.Pause ? { position: 'absolute', top: 'auto', margin: ZERO$
|
|
2636
|
+
return { position: 'absolute', margin: ZERO$2 };
|
|
2637
|
+
return role === SliderRole.Pause ? { position: 'absolute', top: 'auto', margin: ZERO$2 } : { position: 'absolute', top: ARROW_TOP, margin: ZERO$2 };
|
|
2573
2638
|
}
|
|
2574
2639
|
/**
|
|
2575
2640
|
* Move the controls over the picture or into the bar under it (premium M4, M1.3 — Slider ▸ Controls) — ONE edit and
|
|
@@ -2648,7 +2713,7 @@ const SLIDER_WORDS = {
|
|
|
2648
2713
|
},
|
|
2649
2714
|
};
|
|
2650
2715
|
function sliderWords(lang) {
|
|
2651
|
-
return (lang
|
|
2716
|
+
return SLIDER_WORDS[recipeLang(lang)];
|
|
2652
2717
|
}
|
|
2653
2718
|
/** The wrapper's live region (APG): silent while the slides move on their own, polite otherwise. */
|
|
2654
2719
|
function sliderLiveRegion(rotating) {
|
|
@@ -2675,6 +2740,14 @@ const CAROUSEL_QUOTES = [
|
|
|
2675
2740
|
{ quote: 'Testimonials are facts: replace these with words a client actually said.', who: '[Client name] · [Project, city]' },
|
|
2676
2741
|
{ quote: 'A third sample quote so the rotation has somewhere to go.', who: '[Client name] · [Project, city]' },
|
|
2677
2742
|
];
|
|
2743
|
+
/** The same on a Hebrew site (iox-ui#112) — still placeholders. */
|
|
2744
|
+
const CAROUSEL_QUOTES_HE = [
|
|
2745
|
+
{ quote: 'ציטוט לדוגמה, שתי שורות, במילים של הלקוח.', who: '[שם הלקוח] · [פרויקט, עיר]' },
|
|
2746
|
+
{ quote: 'המלצות הן עובדות: החליפו אותן במילים שלקוח באמת אמר.', who: '[שם הלקוח] · [פרויקט, עיר]' },
|
|
2747
|
+
{ quote: 'ציטוט שלישי לדוגמה, כדי שלמצגת יהיה לאן להמשיך.', who: '[שם הלקוח] · [פרויקט, עיר]' },
|
|
2748
|
+
];
|
|
2749
|
+
/** The carousel's name when the author gives none, per language. */
|
|
2750
|
+
const CAROUSEL_NAME = { en: 'What clients say', he: 'מה הלקוחות אומרים' };
|
|
2678
2751
|
/** A quote card. The carousel's controls sit in a ROW above the slides and the dots below them (board 6), so the
|
|
2679
2752
|
* card needs no room kept for an overlay. */
|
|
2680
2753
|
const QUOTE_SLIDE_BASE = {
|
|
@@ -2684,7 +2757,7 @@ const QUOTE_SLIDE_BASE = {
|
|
|
2684
2757
|
* page's direction), the dots under them. */
|
|
2685
2758
|
const ROW_CONTROL_BASE = { position: 'static', display: 'inline-flex', margin: '0px 4px 12px 4px' };
|
|
2686
2759
|
const ROW_DOTS_BASE = { position: 'static', margin: '12px 0px 0px 0px' };
|
|
2687
|
-
const QUOTE_TEXT_BASE = { margin: ZERO$
|
|
2760
|
+
const QUOTE_TEXT_BASE = { margin: ZERO$2, padding: ZERO$2, minHeight: 'auto', width: 'auto' };
|
|
2688
2761
|
/**
|
|
2689
2762
|
* The testimonial carousel (board 6): a named Slider, one quote per slide (each a `card`), rotating every 5s with its
|
|
2690
2763
|
* control parts — the pause control first, Previous · Next, the dots. ONE recipe for the composer and the builder.
|
|
@@ -2694,12 +2767,13 @@ function buildCarouselRecipe(create, options = {}) {
|
|
|
2694
2767
|
for (const [name, value] of Object.entries({
|
|
2695
2768
|
// Rewind: Previous and Next are always there to press (board 6) — neither greys out at an end.
|
|
2696
2769
|
slidesPerView: 1, spaceBetween: 0, loop: 'rewind', enableNavigation: true, enablePagination: true, enableAutoplay: true, autoplayDelay: 5000,
|
|
2697
|
-
autoplayPauseOnMouseEnter: true, autoHeight: true, [SLIDER_NAME_TRAIT]: options.name ??
|
|
2770
|
+
autoplayPauseOnMouseEnter: true, autoHeight: true, [SLIDER_NAME_TRAIT]: options.name ?? CAROUSEL_NAME[recipeLang(options.lang)],
|
|
2698
2771
|
// Board 6 draws its controls in a row above the quotes — its own place, not the M4 bar under a picture.
|
|
2699
2772
|
[SLIDER_PLACEMENT_TRAIT]: SliderPlacement.Over,
|
|
2700
2773
|
}))
|
|
2701
2774
|
writeProp(slider, name, value);
|
|
2702
|
-
|
|
2775
|
+
const lang = recipeLang(options.lang);
|
|
2776
|
+
slider.children = (options.quotes ?? (lang === 'he' ? CAROUSEL_QUOTES_HE : CAROUSEL_QUOTES)).map((q, i) => {
|
|
2703
2777
|
const slide = makeCompositePart(create, { key: `slide-${i + 1}`, type: SLIDE_TYPE, props: {}, elementStyle: 'card' }, null, 'Slide', QUOTE_SLIDE_BASE);
|
|
2704
2778
|
slide.children = [
|
|
2705
2779
|
makeCompositePart(create, { key: `quote-${i + 1}`, type: 'Text', props: { content: q.quote, tag: 'p' }, elementStyle: 'lead' }, null, 'Quote', QUOTE_TEXT_BASE),
|
|
@@ -2708,17 +2782,21 @@ function buildCarouselRecipe(create, options = {}) {
|
|
|
2708
2782
|
return slide;
|
|
2709
2783
|
});
|
|
2710
2784
|
syncSliderParts(slider, create);
|
|
2785
|
+
const words = SLIDER_WORDS[lang];
|
|
2711
2786
|
for (const part of slider.children ?? []) {
|
|
2712
2787
|
if (part.role === SliderRole.Pagination)
|
|
2713
2788
|
writeStyles(part, ROW_DOTS_BASE);
|
|
2714
2789
|
else if (isSliderPart(part))
|
|
2715
2790
|
writeStyles(part, ROW_CONTROL_BASE);
|
|
2791
|
+
// The arrows' names in the site's language (the pause control's are the runtime's, `sliderPauseAttributes`).
|
|
2792
|
+
if (part.role === SliderRole.Prev || part.role === SliderRole.Next)
|
|
2793
|
+
writeProp(part, SLIDER_NAME_TRAIT, part.role === SliderRole.Prev ? words.prev : words.next);
|
|
2716
2794
|
}
|
|
2717
2795
|
return slider;
|
|
2718
2796
|
}
|
|
2719
2797
|
/** A slide that is one picture, filling it. */
|
|
2720
|
-
const PICTURE_SLIDE_BASE = { width: '100%', height: '100%', aspectRatio: 'auto', minHeight: '100%', padding: ZERO$
|
|
2721
|
-
const SLIDE_PICTURE_BASE = { width: '100%', height: '100%', aspectRatio: 'auto', objectFit: 'cover', borderRadius: ZERO$
|
|
2798
|
+
const PICTURE_SLIDE_BASE = { width: '100%', height: '100%', aspectRatio: 'auto', minHeight: '100%', padding: ZERO$2 };
|
|
2799
|
+
const SLIDE_PICTURE_BASE = { width: '100%', height: '100%', aspectRatio: 'auto', objectFit: 'cover', borderRadius: ZERO$2, margin: ZERO$2 };
|
|
2722
2800
|
/**
|
|
2723
2801
|
* The slideshow (award-ingredients AW8, `media.slideshow`): pictures cross-fading on their own — a named Slider with a
|
|
2724
2802
|
* fade, autoplay and its control parts over the pictures: the pause control (WCAG 2.2.2 — always there while it
|
|
@@ -3090,7 +3168,7 @@ const DIALOG = 'Dialog';
|
|
|
3090
3168
|
const REPEATER$1 = 'Repeater';
|
|
3091
3169
|
const SOURCE = 'source';
|
|
3092
3170
|
const SOURCE_PATH = 'sourcePath';
|
|
3093
|
-
const ZERO$
|
|
3171
|
+
const ZERO$1 = '0px 0px 0px 0px';
|
|
3094
3172
|
const DIALOG_BASE = {
|
|
3095
3173
|
width: '100vw', maxWidth: '100vw', height: '100dvh', maxHeight: '100dvh', borderRadius: '0px', padding: '18px 18px 18px 18px',
|
|
3096
3174
|
display: 'flex', flexDirection: 'column', gap: '0px',
|
|
@@ -3099,7 +3177,7 @@ const DIALOG_BASE = {
|
|
|
3099
3177
|
* the row so its counter shares it. */
|
|
3100
3178
|
const CLOSE_BASE = {
|
|
3101
3179
|
display: 'flex', alignItems: 'center', justifyContent: 'center', width: '44px', height: '44px', minWidth: '44px',
|
|
3102
|
-
padding: ZERO$
|
|
3180
|
+
padding: ZERO$1, margin: ZERO$1, borderRadius: '999px', alignSelf: 'flex-end', flexShrink: '0', position: 'relative', zIndex: '20',
|
|
3103
3181
|
};
|
|
3104
3182
|
const SLIDER_BASE = { width: '100%', height: '100%', minHeight: '0px', flexGrow: '1', margin: '-44px 0px 0px 0px' };
|
|
3105
3183
|
const SLIDE_BASE = {
|
|
@@ -3107,13 +3185,13 @@ const SLIDE_BASE = {
|
|
|
3107
3185
|
justifyContent: 'center', gap: '12px', padding: '56px 64px 16px 64px',
|
|
3108
3186
|
};
|
|
3109
3187
|
const IMAGE_BASE$1 = { width: '100%', height: 'auto', maxHeight: '72dvh', minHeight: '0px', objectFit: 'contain', aspectRatio: '4 / 3', flexShrink: '1' };
|
|
3110
|
-
const CAPTION_BASE = { textAlign: 'center', margin: ZERO$
|
|
3188
|
+
const CAPTION_BASE = { textAlign: 'center', margin: ZERO$1, padding: ZERO$1, minHeight: 'auto', width: 'auto' };
|
|
3111
3189
|
/** The counter "3 / 6" sits at the START of the top row, Close at its end (board 6). */
|
|
3112
3190
|
const COUNTER_BASE$1 = { color: 'var(--iox-text-muted)', top: '12px', alignItems: 'flex-start', justifyContent: 'flex-start' };
|
|
3113
3191
|
/** On a phone the arrows give way to a swipe (board 6, "the arrows hide on touch-only widths"). */
|
|
3114
3192
|
const LIGHTBOX_ARROWS_HIDE_AT = 'mobile';
|
|
3115
3193
|
/** A click on `node` runs one instant action on `target`. */
|
|
3116
|
-
function onClick
|
|
3194
|
+
function onClick(node, type, target, params) {
|
|
3117
3195
|
node.interactions = [{
|
|
3118
3196
|
id: `${node.id ?? 'node'}-click`, trigger: 'click',
|
|
3119
3197
|
actions: [{ type, target, duration: 0, delay: 0, easing: 'ease', ...(params ? { params } : {}) }],
|
|
@@ -3149,7 +3227,7 @@ function buildLightboxRecipe(create, options = {}) {
|
|
|
3149
3227
|
setColorScheme(dialog, 'inverse');
|
|
3150
3228
|
const close = makeCompositePart(create, { key: 'close', type: 'ButtonBlock', props: { tag: 'button', type: 'button', ariaLabel: 'Close' }, elementStyle: 'button-ghost' }, null, 'Close', CLOSE_BASE);
|
|
3151
3229
|
close.children = [makeCompositePart(create, { key: 'close-icon', type: 'Icon', props: { iconClass: 'ph ph-x' }, elementStyle: 'icon' }, null, 'Icon', { fontSize: '22px', color: 'inherit' })];
|
|
3152
|
-
onClick
|
|
3230
|
+
onClick(close, 'closeDialog', dialog.id ?? '');
|
|
3153
3231
|
const slider = makeCompositePart(create, { key: 'slider', type: SLIDER_TYPE, props: {}, elementStyle: NO_ELEMENT_STYLE }, null, 'Slider', SLIDER_BASE);
|
|
3154
3232
|
for (const [name, value] of Object.entries({
|
|
3155
3233
|
slidesPerView: 1, spaceBetween: 0, loop: 'off', enableNavigation: true, enablePagination: true, paginationType: 'fraction',
|
|
@@ -3279,6 +3357,17 @@ const TABS_WORDS = [
|
|
|
3279
3357
|
{ label: 'Third tab', text: 'Say what this tab is about in a sentence or two. Its picture sits beside it.' },
|
|
3280
3358
|
];
|
|
3281
3359
|
const TABS_NEW_TAB_WORDS = { label: 'New tab', text: 'Say what this tab is about in a sentence or two. Its picture sits beside it.' };
|
|
3360
|
+
/** The same on a Hebrew site (iox-ui#112). */
|
|
3361
|
+
const TABS_WORDS_HE = [
|
|
3362
|
+
{ label: 'לשונית ראשונה', text: 'כתבו במשפט או שניים על מה הלשונית הזו. התמונה שלה לצידה.' },
|
|
3363
|
+
{ label: 'לשונית שנייה', text: 'כתבו במשפט או שניים על מה הלשונית הזו. התמונה שלה לצידה.' },
|
|
3364
|
+
{ label: 'לשונית שלישית', text: 'כתבו במשפט או שניים על מה הלשונית הזו. התמונה שלה לצידה.' },
|
|
3365
|
+
];
|
|
3366
|
+
const TABS_NEW_TAB_WORDS_HE = { label: 'לשונית חדשה', text: 'כתבו במשפט או שניים על מה הלשונית הזו. התמונה שלה לצידה.' };
|
|
3367
|
+
/** A fresh Tabs' words in a language. */
|
|
3368
|
+
function tabsWords(lang) {
|
|
3369
|
+
return recipeLang(lang) === 'he' ? TABS_WORDS_HE : TABS_WORDS;
|
|
3370
|
+
}
|
|
3282
3371
|
var Type$3;
|
|
3283
3372
|
(function (Type) {
|
|
3284
3373
|
Type["Container"] = "Container";
|
|
@@ -3358,7 +3447,7 @@ function buildTabsRecipe(create, options = {}) {
|
|
|
3358
3447
|
writeProp(root, TabsBehaviourTrait.Label, options.label);
|
|
3359
3448
|
const list = make$1(create, 'list', Type$3.Container, TabsRole.List, Style$5.List, {}, 'Tab list');
|
|
3360
3449
|
const panels = make$1(create, 'panels', Type$3.Container, TabsRole.Panels, Style$5.Panels, {}, 'Panels');
|
|
3361
|
-
const pairs = (options.tabs ??
|
|
3450
|
+
const pairs = (options.tabs ?? tabsWords(options.lang)).map((w, i) => buildTabPair(create, w, `k${i + 1}`));
|
|
3362
3451
|
list.children = pairs.map(p => p.tab);
|
|
3363
3452
|
panels.children = pairs.map(p => p.panel);
|
|
3364
3453
|
root.children = [list, panels];
|
|
@@ -3791,6 +3880,16 @@ const SEGMENTED_NAME = 'Billing period';
|
|
|
3791
3880
|
/** Q33: the saving badge's words start as a PLACEHOLDER — a saving is a price claim, never invented. */
|
|
3792
3881
|
const SEGMENTED_BADGE_WORDS = 'Yearly saving';
|
|
3793
3882
|
const SEGMENTED_BADGE_TONE = BadgeTone.Success;
|
|
3883
|
+
/** The same on a Hebrew site (iox-ui#112) — the keys stay, the words are Hebrew. */
|
|
3884
|
+
const SEGMENTED_WORDS_HE = [
|
|
3885
|
+
{ key: 'monthly', label: 'חודשי' },
|
|
3886
|
+
{ key: 'yearly', label: 'שנתי' },
|
|
3887
|
+
];
|
|
3888
|
+
const SEGMENTED_NAME_HE = 'תקופת חיוב';
|
|
3889
|
+
/** A fresh Segmented control's options and name in a language. */
|
|
3890
|
+
function segmentedWords(lang) {
|
|
3891
|
+
return recipeLang(lang) === 'he' ? { options: SEGMENTED_WORDS_HE, name: SEGMENTED_NAME_HE } : { options: SEGMENTED_WORDS, name: SEGMENTED_NAME };
|
|
3892
|
+
}
|
|
3794
3893
|
var Type$2;
|
|
3795
3894
|
(function (Type) {
|
|
3796
3895
|
Type["Container"] = "Container";
|
|
@@ -3829,11 +3928,12 @@ function buildSegmentedOption(create, words) {
|
|
|
3829
3928
|
}
|
|
3830
3929
|
/** A fresh Segmented control: Monthly · Yearly, Monthly on, named "Billing period" (board 10 ▸ Palette). */
|
|
3831
3930
|
function buildSegmentedRecipe(create, options = {}) {
|
|
3832
|
-
const
|
|
3931
|
+
const fresh = segmentedWords(options.lang);
|
|
3932
|
+
const words = options.options ?? fresh.options;
|
|
3833
3933
|
const root = make(create, 'segmented', Type$2.Container, SegmentedRole.Segmented, Style$4.Root, {}, 'Segmented');
|
|
3834
3934
|
root.children = words.map(w => buildSegmentedOption(create, w));
|
|
3835
3935
|
writeProp(root, SegmentedTrait.DefaultOn, options.defaultOn && words.some(w => w.key === options.defaultOn) ? options.defaultOn : words[0]?.key ?? '');
|
|
3836
|
-
writeProp(root, SegmentedTrait.Label, options.label ??
|
|
3936
|
+
writeProp(root, SegmentedTrait.Label, options.label ?? fresh.name);
|
|
3837
3937
|
return root;
|
|
3838
3938
|
}
|
|
3839
3939
|
// ── reading a tree ──────────────────────────────────────────────────────────────────────────────
|
|
@@ -4798,13 +4898,13 @@ var Style$3;
|
|
|
4798
4898
|
Style["Words"] = "small";
|
|
4799
4899
|
Style["Bar"] = "progress-bar";
|
|
4800
4900
|
})(Style$3 || (Style$3 = {}));
|
|
4801
|
-
const ZERO
|
|
4802
|
-
const COUNTER_BASE = { display: 'flex', flexDirection: 'column', gap: '6px', minHeight: 'auto', width: 'auto', padding: ZERO
|
|
4803
|
-
const NUMBER_BASE = { margin: ZERO
|
|
4804
|
-
const WORDS_BASE = { margin: ZERO
|
|
4901
|
+
const ZERO = '0px 0px 0px 0px';
|
|
4902
|
+
const COUNTER_BASE = { display: 'flex', flexDirection: 'column', gap: '6px', minHeight: 'auto', width: 'auto', padding: ZERO };
|
|
4903
|
+
const NUMBER_BASE = { margin: ZERO, width: 'auto' };
|
|
4904
|
+
const WORDS_BASE = { margin: ZERO, width: 'auto' };
|
|
4805
4905
|
/** Sticky at the top of what holds it, over its neighbours (a low layer — never past the app's scale), full width. */
|
|
4806
4906
|
const BAR_BASE = {
|
|
4807
|
-
display: 'block', position: 'sticky', top: '0px', zIndex: '2', width: '100%', minHeight: '0px', margin: ZERO
|
|
4907
|
+
display: 'block', position: 'sticky', top: '0px', zIndex: '2', width: '100%', minHeight: '0px', margin: ZERO, padding: ZERO,
|
|
4808
4908
|
};
|
|
4809
4909
|
/** The entrance that hides a counter's number until it plays: lead content rises a little as it fades (Emil 46). */
|
|
4810
4910
|
const COUNTER_ENTRANCE = Object.freeze({ type: 'moveUp', duration: 500, distance: 12, easing: 'ease-enter' });
|
|
@@ -4840,41 +4940,6 @@ function buildReadingBarRecipe(create) {
|
|
|
4840
4940
|
return bar;
|
|
4841
4941
|
}
|
|
4842
4942
|
|
|
4843
|
-
/**
|
|
4844
|
-
* The small builders the commerce recipes share (shop.ts — E1c, account.ts — E3a): a part, its words, an icon, a button,
|
|
4845
|
-
* a click that runs one action, a binding to a context slot. Internal to composite-core — not part of its public API.
|
|
4846
|
-
*/
|
|
4847
|
-
const ZERO = '0px 0px 0px 0px';
|
|
4848
|
-
/** Words that take their own size (a recipe never stamps a Text's 10px or a box's 200px — W1.1 `BASELINE_ROLES`). */
|
|
4849
|
-
const WORDS = { width: 'auto', minHeight: 'auto', padding: ZERO, margin: ZERO };
|
|
4850
|
-
const ROW = { display: 'flex', flexDirection: 'row', alignItems: 'center', width: 'auto', height: 'auto', minHeight: 'auto', padding: ZERO };
|
|
4851
|
-
const COLUMN = { display: 'flex', flexDirection: 'column', alignItems: 'stretch', width: '100%', height: 'auto', minHeight: 'auto', padding: ZERO };
|
|
4852
|
-
/** A click on `node` runs one action (`target` '' = the runtime finds its own). */
|
|
4853
|
-
function onClick(node, type, target = '') {
|
|
4854
|
-
node.interactions = [{
|
|
4855
|
-
id: `${node.id ?? 'node'}-click`, trigger: 'click',
|
|
4856
|
-
actions: [{ type, target, duration: 0, delay: 0, easing: 'ease' }],
|
|
4857
|
-
}];
|
|
4858
|
-
}
|
|
4859
|
-
/** Bind `prop` to a context slot path, through the money pipe when asked. */
|
|
4860
|
-
function bindSlot(node, prop, source, path, money = false) {
|
|
4861
|
-
const bindings = (node.bindings ?? []).filter(b => b.prop !== prop);
|
|
4862
|
-
bindings.push({ prop, source, path, ...(money ? { pipes: [{ name: 'money', args: [] }] } : {}) });
|
|
4863
|
-
node.bindings = bindings;
|
|
4864
|
-
}
|
|
4865
|
-
function recipePart(create, key, type, role, style, props, label, base) {
|
|
4866
|
-
return makeCompositePart(create, { key, type, props, elementStyle: style ?? undefined }, role, label, base);
|
|
4867
|
-
}
|
|
4868
|
-
function recipeText(create, key, role, style, words, label, base = WORDS, tag = 'p') {
|
|
4869
|
-
return recipePart(create, key, 'Text', role, style, { content: words, tag }, label, base);
|
|
4870
|
-
}
|
|
4871
|
-
function recipeIcon(create, key, iconClass, size = '18px') {
|
|
4872
|
-
return recipePart(create, key, 'Icon', null, 'icon', { iconClass }, 'Icon', { fontSize: size, color: 'inherit' });
|
|
4873
|
-
}
|
|
4874
|
-
function recipeButton(create, key, role, style, label, ariaLabel = '', base = {}) {
|
|
4875
|
-
return recipePart(create, key, 'ButtonBlock', role, style, { tag: 'button', type: 'button', ...(ariaLabel ? { ariaLabel } : {}) }, label, base);
|
|
4876
|
-
}
|
|
4877
|
-
|
|
4878
4943
|
/**
|
|
4879
4944
|
* THE SHOP PARTS (commerce E1c, C-D16 — commerce board 10). Not components: recipes of ordinary builder nodes, each part
|
|
4880
4945
|
* carrying a role, so every part is selectable on the canvas, in the layer tree and the breadcrumb, and wears its own
|
|
@@ -5133,7 +5198,7 @@ function buildVariantPickerRecipe(create) {
|
|
|
5133
5198
|
const values = part(create, 'variant-values', Type.Container, ShopRole.VariantValues, null, {}, 'Values', { ...ROW, flexWrap: 'wrap', gap: '8px' });
|
|
5134
5199
|
const chip = button$1(create, 'variant-value', ShopRole.VariantValue, Style$2.Chip, 'Value', '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
|
|
5135
5200
|
chip.children = [text(create, 'variant-value-text', null, Style$2.Label, SHOP_RECIPE_WORDS.value, 'Text', WORDS, 'span')];
|
|
5136
|
-
const swatch = button$1(create, 'variant-swatch', ShopRole.VariantSwatch, Style$2.Swatch, 'Swatch', 'Sand', { padding: ZERO, minWidth: '0px', minHeight: '0px' });
|
|
5201
|
+
const swatch = button$1(create, 'variant-swatch', ShopRole.VariantSwatch, Style$2.Swatch, 'Swatch', 'Sand', { padding: ZERO$4, minWidth: '0px', minHeight: '0px' });
|
|
5137
5202
|
values.children = [chip, swatch];
|
|
5138
5203
|
const note = text(create, 'variant-note', ShopRole.VariantNote, Style$2.Small, SHOP_RECIPE_WORDS.note, 'Sold-out note');
|
|
5139
5204
|
group.children = [label, values, note];
|
|
@@ -5144,10 +5209,10 @@ function buildVariantPickerRecipe(create) {
|
|
|
5144
5209
|
function buildQuantityRecipe(create, compact = false, key = 'quantity') {
|
|
5145
5210
|
const size = compact ? '30px' : 'var(--iox-stepper-size)';
|
|
5146
5211
|
const root = part(create, key, Type.Container, ShopRole.Quantity, Style$2.Quantity, {}, SHOP_LABELS.quantity, { ...ROW, alignItems: 'stretch', gap: '0px', minHeight: size });
|
|
5147
|
-
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 });
|
|
5212
|
+
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 });
|
|
5148
5213
|
down.children = [icon(create, `${key}-down-icon`, 'ph ph-minus', compact ? '14px' : '16px')];
|
|
5149
5214
|
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');
|
|
5150
|
-
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 });
|
|
5215
|
+
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 });
|
|
5151
5216
|
up.children = [icon(create, `${key}-up-icon`, 'ph ph-plus', compact ? '14px' : '16px')];
|
|
5152
5217
|
root.children = [down, value, up];
|
|
5153
5218
|
return root;
|
|
@@ -5160,7 +5225,7 @@ function buildAddToCartRecipe(create, lang = 'en') {
|
|
|
5160
5225
|
text(create, 'add-label', ShopRole.AddLabel, Style$2.Label, t.add, 'Add', STACKED$1, 'span'),
|
|
5161
5226
|
text(create, 'added-label', ShopRole.AddedLabel, Style$2.Label, t.added, 'Added', STACKED$1, 'span'),
|
|
5162
5227
|
];
|
|
5163
|
-
onClick(root, 'addToCart');
|
|
5228
|
+
onClick$1(root, 'addToCart');
|
|
5164
5229
|
return root;
|
|
5165
5230
|
}
|
|
5166
5231
|
/** Buy now: straight to checkout with this variant (inert on the canvas). */
|
|
@@ -5168,7 +5233,7 @@ function buildBuyNowRecipe(create, lang = 'en') {
|
|
|
5168
5233
|
const t = shopRecipeWords(lang);
|
|
5169
5234
|
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' });
|
|
5170
5235
|
root.children = [text(create, 'buy-now-label', null, Style$2.Label, t.buyNow, 'Text', WORDS, 'span')];
|
|
5171
|
-
onClick(root, 'startCheckout');
|
|
5236
|
+
onClick$1(root, 'startCheckout');
|
|
5172
5237
|
return root;
|
|
5173
5238
|
}
|
|
5174
5239
|
/** The bag button with its live count ($cart.count); it opens the page's cart drawer. */
|
|
@@ -5184,7 +5249,7 @@ function buildCartButtonRecipe(create, lang = 'en') {
|
|
|
5184
5249
|
}
|
|
5185
5250
|
/** One cart line: thumbnail · title, variant, quantity and Remove · line total (board 10). */
|
|
5186
5251
|
function buildCartLine(create, t) {
|
|
5187
|
-
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 });
|
|
5252
|
+
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 });
|
|
5188
5253
|
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' });
|
|
5189
5254
|
const info = part(create, 'cart-line-info', Type.Container, null, null, {}, 'Details', { ...COLUMN, gap: '2px', minWidth: '0px' });
|
|
5190
5255
|
const title = text(create, 'cart-line-title', ShopRole.CartLineTitle, Style$2.Body, t.lineTitle, 'Title', { ...WORDS, fontWeight: '500' });
|
|
@@ -5210,13 +5275,13 @@ function buildCartDrawerRecipe(create, lang = 'en') {
|
|
|
5210
5275
|
const title = part(create, 'cart-title', Type.Heading, ShopRole.CartTitle, Style$2.Title, { content: t.drawer, level: 'h2' }, 'Title', WORDS);
|
|
5211
5276
|
const close = button$1(create, 'cart-close', ShopRole.CartClose, Style$2.Ghost, 'Close', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
|
|
5212
5277
|
close.children = [text(create, 'cart-close-text', null, Style$2.Small, t.close, 'Text', WORDS, 'span')];
|
|
5213
|
-
onClick(close, 'closeDialog', drawer.id ?? '');
|
|
5278
|
+
onClick$1(close, 'closeDialog', drawer.id ?? '');
|
|
5214
5279
|
head.children = [title, close];
|
|
5215
5280
|
const lines = part(create, 'cart-lines', Type.Container, ShopRole.CartLines, null, {}, 'Lines', { ...COLUMN, gap: '16px' });
|
|
5216
5281
|
lines.children = [buildCartLine(create, t)];
|
|
5217
5282
|
const issues = text(create, 'cart-issues', ShopRole.CartIssues, Style$2.Small, '', 'Issues', { ...WORDS, color: 'var(--iox-danger)' });
|
|
5218
5283
|
const empty = text(create, 'cart-empty', ShopRole.CartEmpty, Style$2.Body, t.empty, 'Empty');
|
|
5219
|
-
const note = text(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$2.CartNote, t.shippingNote, 'Free delivery note', { width: 'auto', minHeight: 'auto', margin: ZERO });
|
|
5284
|
+
const note = text(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$2.CartNote, t.shippingNote, 'Free delivery note', { width: 'auto', minHeight: 'auto', margin: ZERO$4 });
|
|
5220
5285
|
const summary = part(create, 'cart-summary', Type.Container, ShopRole.CartSummary, null, {}, 'Subtotal', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
|
|
5221
5286
|
const subtotal = text(create, 'cart-subtotal', ShopRole.CartSubtotal, Style$2.Body, t.subtotal, 'Amount', { ...WORDS, fontVariantNumeric: 'tabular-nums', fontWeight: '600' }, 'span');
|
|
5222
5287
|
bindSlot(subtotal, 'content', '$cart', 'subtotal', true);
|
|
@@ -5226,7 +5291,7 @@ function buildCartDrawerRecipe(create, lang = 'en') {
|
|
|
5226
5291
|
checkout.children = [text(create, 'checkout-label', null, Style$2.Label, t.checkout, 'Text', WORDS, 'span')];
|
|
5227
5292
|
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' });
|
|
5228
5293
|
keep.children = [text(create, 'keep-shopping-label', null, Style$2.Label, t.keepShopping, 'Text', WORDS, 'span')];
|
|
5229
|
-
onClick(keep, 'closeDialog', drawer.id ?? '');
|
|
5294
|
+
onClick$1(keep, 'closeDialog', drawer.id ?? '');
|
|
5230
5295
|
drawer.children = [head, lines, issues, empty, note, summary, vat, checkout, keep];
|
|
5231
5296
|
return drawer;
|
|
5232
5297
|
}
|
|
@@ -6064,7 +6129,7 @@ function labelled(create, key, role, style, text, label, base, labelStyle = Styl
|
|
|
6064
6129
|
return root;
|
|
6065
6130
|
}
|
|
6066
6131
|
function field(create, key, role, name, control, label, placeholder) {
|
|
6067
|
-
return recipePart(create, key, 'Field', role, Style$1.Field, { control, label, name, placeholder, required: true }, label, { width: '100%', minHeight: 'auto', margin: ZERO });
|
|
6132
|
+
return recipePart(create, key, 'Field', role, Style$1.Field, { control, label, name, placeholder, required: true }, label, { width: '100%', minHeight: 'auto', margin: ZERO$4 });
|
|
6068
6133
|
}
|
|
6069
6134
|
/** The menu a signed-in buyer opens from the account button: hello, their orders, sign out. */
|
|
6070
6135
|
function buildAccountMenuRecipe(create, lang = 'en') {
|
|
@@ -6076,7 +6141,7 @@ function buildAccountMenuRecipe(create, lang = 'en') {
|
|
|
6076
6141
|
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%' });
|
|
6077
6142
|
orders.children = [words(create, 'account-orders-label', null, Style$1.Label, t.orders, 'Text', WORDS, 'span')];
|
|
6078
6143
|
const signOut = labelled(create, 'account-sign-out', AccountRole.SignOut, Style$1.Ghost, t.signOut, 'Sign out', { ...TEXT_BUTTON, justifyContent: 'flex-start', width: '100%' });
|
|
6079
|
-
onClick(signOut, 'signOut');
|
|
6144
|
+
onClick$1(signOut, 'signOut');
|
|
6080
6145
|
menu.children = [greeting, orders, signOut];
|
|
6081
6146
|
return menu;
|
|
6082
6147
|
}
|
|
@@ -6094,7 +6159,7 @@ function buildAccountEntryRecipe(create, lang = 'en') {
|
|
|
6094
6159
|
words(create, 'account-sign-in-label', AccountRole.SignInLabel, Style$1.Label, t.signIn, 'Sign in', WORDS, 'span'),
|
|
6095
6160
|
];
|
|
6096
6161
|
const signedIn = recipePart(create, 'account-signed-in', 'Container', null, null, {}, 'Signed in', { ...ROW, ...STACKED, gap: '8px' });
|
|
6097
|
-
const avatar = recipePart(create, 'account-avatar', 'Container', AccountRole.Avatar, Style$1.Avatar, {}, 'Initial', { ...PILL, minHeight: 'var(--iox-account-avatar-size)', padding: ZERO });
|
|
6162
|
+
const avatar = recipePart(create, 'account-avatar', 'Container', AccountRole.Avatar, Style$1.Avatar, {}, 'Initial', { ...PILL, minHeight: 'var(--iox-account-avatar-size)', padding: ZERO$4 });
|
|
6098
6163
|
const initial = words(create, 'account-initial', AccountRole.Initial, Style$1.Label, t.initial, 'Initial', { ...WORDS, lineHeight: '1' }, 'span');
|
|
6099
6164
|
bindSlot(initial, 'content', CUSTOMER_SLOT, 'initial');
|
|
6100
6165
|
avatar.children = [initial];
|
|
@@ -6116,7 +6181,7 @@ function buildSignInDialogRecipe(create, lang = 'en') {
|
|
|
6116
6181
|
const head = recipePart(create, 'sign-in-head', 'Container', null, null, {}, 'Head', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
|
|
6117
6182
|
const title = recipePart(create, 'sign-in-title', 'Heading', AccountRole.Title, Style$1.Title, { content: t.title, level: 'h2' }, 'Title', WORDS);
|
|
6118
6183
|
const close = labelled(create, 'sign-in-close', AccountRole.Close, Style$1.Ghost, t.close, 'Close', TEXT_BUTTON, Style$1.Small);
|
|
6119
|
-
onClick(close, 'closeDialog', dialog.id ?? '');
|
|
6184
|
+
onClick$1(close, 'closeDialog', dialog.id ?? '');
|
|
6120
6185
|
head.children = [title, close];
|
|
6121
6186
|
const why = words(create, 'sign-in-why', AccountRole.Why, Style$1.Small, t.why, 'Why sign in');
|
|
6122
6187
|
const providers = recipePart(create, 'sign-in-providers', 'Container', AccountRole.Providers, null, {}, 'Sign-in providers', { ...COLUMN, gap: '8px' });
|
|
@@ -6774,7 +6839,7 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6774
6839
|
};
|
|
6775
6840
|
const switchOf = (category) => recipePart(create, `consent-${category}-switch`, 'Field', null, Style.Field,
|
|
6776
6841
|
// The engine's consent runtime binds the switch to the decision by its name and records on change.
|
|
6777
|
-
{ label: t.categories[category].name, labelHidden: true, control: 'switch', name: `consent-${category}` }, t.categories[category].name, { width: 'auto', flexShrink: '0', minHeight: 'auto', margin: ZERO });
|
|
6842
|
+
{ 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 });
|
|
6778
6843
|
const prefsReject = button(create, 'consent-preferences-reject', null, Style.Secondary, t.reject, 'Reject all');
|
|
6779
6844
|
onClickRun(prefsReject, [{ type: ConsentActionType.Deny }, { type: ConsentActionType.CloseDialog, target: preferences.id }]);
|
|
6780
6845
|
const prefsDone = button(create, 'consent-preferences-done', null, Style.Ghost, t.done, 'Done');
|
|
@@ -6805,8 +6870,8 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6805
6870
|
recipeText(create, 'consent-body', ConsentRole.Body, Style.Body, t.body, 'Words', { ...WORDS, maxWidth: '560px' }),
|
|
6806
6871
|
...(options.privacyRoute
|
|
6807
6872
|
? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style.Link,
|
|
6808
|
-
// Hugs its words: the words column stretches its children, and a stretched link
|
|
6809
|
-
// column's whole width (AW1 Rule 0, 2026-11-21). `flex-start` is logical — the start side in Hebrew too.
|
|
6873
|
+
// Hugs its words: the words column stretches its children, and a stretched link's box (its focus ring, its
|
|
6874
|
+
// hover) ran the column's whole width (AW1 Rule 0, 2026-11-21). `flex-start` is logical — the start side in Hebrew too.
|
|
6810
6875
|
{ label: options.privacyLabel || t.privacy, linkType: 'page', pageRoute: options.privacyRoute }, 'Privacy policy', { ...WORDS, alignSelf: 'flex-start' })]
|
|
6811
6876
|
: []),
|
|
6812
6877
|
];
|
|
@@ -6850,5 +6915,5 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6850
6915
|
* Generated bundle index. Do not edit.
|
|
6851
6916
|
*/
|
|
6852
6917
|
|
|
6853
|
-
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_WORDS, 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, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CAROUSEL_QUOTES, 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_NEW_OPTION_WORDS, SEGMENTED_WORDS, 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, 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_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, 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, 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, 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, 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, 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, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
6918
|
+
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, 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, 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, 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 };
|
|
6854
6919
|
//# sourceMappingURL=vectoriox-iox-ui-composite-core.mjs.map
|