@vectoriox/iox-ui 5.197.0 → 5.199.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions-core/index.d.ts +7 -1
- package/composite-core/index.d.ts +16 -2
- package/data-core/index.d.ts +11 -3
- package/design-core/index.d.ts +185 -28
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +34 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +323 -72
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +17351 -15175
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +243 -38
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +2 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1703 -264
- package/harness-core/index.d.ts +93 -6
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +6 -0
- package/src/composite-core/header.ts +34 -1
- package/src/data-core/placeholder-rows.ts +29 -4
- package/src/design-core/brand.ts +58 -5
- package/src/design-core/contrast-audit.ts +49 -22
- package/src/design-core/design-apply.ts +34 -3
- package/src/design-core/flavor-fixtures.generated.ts +123 -123
- package/src/design-core/flavor-spec.generated.ts +44 -4
- package/src/design-core/flavor-tokens.ts +1 -1
- package/src/design-core/header-behaviour.ts +72 -13
- package/src/design-core/menu-look.ts +23 -0
- package/src/design-core/motion-language.ts +5 -14
- package/src/design-core/node-classes.ts +39 -0
- package/src/design-core/preloader.ts +4 -5
- package/src/generation-core/body-mix.ts +40 -102
- package/src/generation-core/check-free.ts +22 -11
- package/src/generation-core/check-layout.ts +10 -4
- package/src/generation-core/check-list.ts +3 -25
- package/src/generation-core/colour-mix.ts +296 -0
- package/src/generation-core/compose-free.ts +47 -20
- package/src/generation-core/compose-site.ts +259 -59
- package/src/generation-core/footer-mix.ts +258 -64
- package/src/generation-core/free-fallback.ts +6 -4
- package/src/generation-core/free-opening.ts +13 -2
- package/src/generation-core/free-parts.ts +87 -0
- package/src/generation-core/free-slot-words.ts +30 -0
- package/src/generation-core/free-wire.ts +8 -0
- package/src/generation-core/generation-tier.ts +6 -17
- package/src/generation-core/header-mix.ts +73 -3
- package/src/generation-core/layout-drawers.ts +3 -2
- package/src/generation-core/layout-wire.ts +10 -16
- package/src/generation-core/legal.ts +24 -0
- package/src/generation-core/list-panel.ts +3 -3
- package/src/generation-core/list-table.ts +5 -14
- package/src/generation-core/list-words.ts +2 -1
- package/src/generation-core/menu-shelves.ts +138 -0
- package/src/generation-core/nav-shape.ts +138 -15
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/opening-mix.ts +7 -34
- package/src/generation-core/part-tier.ts +14 -0
- package/src/generation-core/patterns.ts +7 -0
- package/src/generation-core/plan-wire.ts +32 -43
- package/src/generation-core/public-api.ts +3 -0
- package/src/generation-core/site-build-run.ts +8 -0
- package/src/generation-core/site-plan.model.ts +3 -0
- package/src/generation-core/site-spec.generated.ts +1383 -189
- package/src/generation-core/validate-site-plan.ts +6 -5
- package/src/harness-core/business-types.ts +4 -0
- package/src/harness-core/harness-spec.generated.ts +189 -30
- package/src/harness-core/popup-stance.ts +56 -3
- package/src/harness-core/run-compose-context.ts +25 -5
- package/styles/iox-design.css +162 -3
package/actions-core/index.d.ts
CHANGED
|
@@ -135,6 +135,12 @@ declare const SERVER_ELEMENT_ACTION_TYPES: ReadonlySet<string>;
|
|
|
135
135
|
/** The Tier-A behaviour executors' dispatch set (A1c) — the engines branch on it beside
|
|
136
136
|
* DIALOG/SWIPER. Dialog actions have their own set; context/visibility stay in the legacy path. */
|
|
137
137
|
declare const BEHAVIOUR_ACTION_TYPES: ReadonlySet<string>;
|
|
138
|
+
/** FV1b (footer `holds.top`): a `scrollTo` with no target — or `self` — scrolls the PAGE to its top. The live engine's
|
|
139
|
+
* rule since A1c; ONE rule both renderers ask (the canvas joins once it builds against this version). */
|
|
140
|
+
declare function scrollsToPageTop(action: {
|
|
141
|
+
readonly type: string;
|
|
142
|
+
readonly target?: string | null;
|
|
143
|
+
}): boolean;
|
|
138
144
|
/** The toast action's dispatch set (premium M5) — the engines branch on it beside DIALOG / POPOVER. */
|
|
139
145
|
declare const TOAST_ACTION_TYPES: ReadonlySet<string>;
|
|
140
146
|
/** The item actions' dispatch set (T14) and what each does to its item — the engines branch on it beside
|
|
@@ -581,5 +587,5 @@ declare function popupMotionScale(level: string | null | undefined): number;
|
|
|
581
587
|
/** Still moves nothing: the popup fades (§6). */
|
|
582
588
|
declare function popupFadesOnly(level: string | null | undefined): boolean;
|
|
583
589
|
|
|
584
|
-
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, visitorDay };
|
|
590
|
+
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, scrollsToPageTop, visitorDay };
|
|
585
591
|
export type { ActionAvailability, ActionAvailabilityContext, ActionAvailabilityState, ActionDescriptor, ActionGroup, ActionKind, ActionParamSpec, ActionTargetSpec, AnimateLevel, ArrivalEnv, ArrivalPlan, ArrivalProgress, BuilderBehaviour, DialogElementLike, ExitAnimationLike, ExitMotionElement, ExitMotionOptions, FocusableSheet, OpenerActionLike, OpenerInteractionLike, OpenerNodeLike, OverlayState, OverlayTurn, PopupMemory, RevealClosingMarker, RevealDialogLike, RevealOpenerLike, RevealOriginOptions, RevealOriginPoint, RevealRect, RevealStyled, RouteInfo };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementStyleTarget, HeaderBehaviour, HeaderEdge, HeaderGround, HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
1
|
+
import { ElementStyleTarget, HeaderBehaviour, HeaderEdge, HeaderBrand, HeaderGround, HeaderInk, HeaderShape } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
export { ROW_INDEX_ATTRIBUTE } from '@vectoriox/iox-ui/design-core';
|
|
3
3
|
import { ProductOption, CartTransport, StorefrontProduct, ShopSlot, CartView, ProductVariantView } from '@vectoriox/iox-ui/commerce-core';
|
|
4
4
|
import { SignInProvider, SiteAuthTransport, SiteSignInReturnRefusal, SiteCustomer } from '@vectoriox/iox-ui/identity-core';
|
|
@@ -1895,6 +1895,20 @@ declare function headerInkOfNode(node: CompositeNode | null | undefined): Header
|
|
|
1895
1895
|
declare function setHeaderGround(node: CompositeNode, ground: HeaderGround | `${HeaderGround}`): boolean;
|
|
1896
1896
|
/** The header's ground as stored (Solid for a header that never chose). */
|
|
1897
1897
|
declare function headerGroundOfNode(node: CompositeNode | null | undefined): HeaderGround;
|
|
1898
|
+
/**
|
|
1899
|
+
* The header's outline (HI3 slice 2: bar · pill · islands) — ONE edit for the Header studio ▸ Bar and the composer. `bar`
|
|
1900
|
+
* clears a stored word and writes nothing on a header that never had one (R-H4). A floating header draws its ground on
|
|
1901
|
+
* the ground layer, so like a ground it is the containing block of it: a stored `static` becomes `relative`. False when
|
|
1902
|
+
* nothing changed.
|
|
1903
|
+
*/
|
|
1904
|
+
declare function setHeaderShape(node: CompositeNode, shape: HeaderShape | `${HeaderShape}`): boolean;
|
|
1905
|
+
/** The header's outline as stored (Bar for a header that never chose). */
|
|
1906
|
+
declare function headerShapeOfNode(node: CompositeNode | null | undefined): HeaderShape;
|
|
1907
|
+
/** How the header's name sits (HI3 slice 2: fits · hangs · later) — ONE edit for the studio and the composer; `fits`
|
|
1908
|
+
* clears a stored word (R-H4). False when nothing changed. */
|
|
1909
|
+
declare function setHeaderBrand(node: CompositeNode, brand: HeaderBrand | `${HeaderBrand}`): boolean;
|
|
1910
|
+
/** The header's brand as stored (Fits for a header that never chose). */
|
|
1911
|
+
declare function headerBrandOfNode(node: CompositeNode | null | undefined): HeaderBrand;
|
|
1898
1912
|
|
|
1899
1913
|
/**
|
|
1900
1914
|
* THE MARQUEE (premium components M6, N6 — complex-components CC5 §7e, D5, Emil 180). A linear band that moves on its
|
|
@@ -3016,5 +3030,5 @@ interface PopupFormOptions {
|
|
|
3016
3030
|
*/
|
|
3017
3031
|
declare function setPopupForm(root: CompositeNode, form: PopupForm, create?: CompositeNodeFactory, options?: PopupFormOptions): PopupFormChange;
|
|
3018
3032
|
|
|
3019
|
-
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_CONTENT_LIMIT, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CAROUSEL_QUOTE_LABELS, 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, LIGHTBOX_WORDS, 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, carouselQuoteLabel, 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, headerGroundOfNode, 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, pickCarouselAutoBinds, 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, setHeaderGround, setHeaderInk, setMarqueeSettings, setPopupForm, 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 };
|
|
3033
|
+
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_CONTENT_LIMIT, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CAROUSEL_QUOTE_LABELS, 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, LIGHTBOX_WORDS, 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, carouselQuoteLabel, 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, headerBrandOfNode, headerGroundOfNode, headerInkOfNode, headerShapeOfNode, 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, pickCarouselAutoBinds, 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, setHeaderBrand, setHeaderGround, setHeaderInk, setHeaderShape, setMarqueeSettings, setPopupForm, 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 };
|
|
3020
3034
|
export type { AccordionAutoBinds, AccordionBehaviour, AccordionDomIds, AccordionItemState, AccordionOptions, AccordionRuntimeOptions, AccordionScope, AccordionWords, AccountHost, AccountRecipeWords, BarSwiper, BaselineStyles, CardEditOptions, CardLayoutResult, CardLayoutState, CardOptions, CardPartChange, CardWords, CarouselA11yOptions, CarouselAutoBinds, CarouselFrom, CarouselOptions, CarouselQuote, CarouselRoleFields, CarouselSwiper, CompositeBinding, CompositeKindRoles, CompositeLayer, CompositeNode, CompositeNodeFactory, CompositeNodeSpec, CompositeRoleSpec, CompositeRuntime, CompositeTrait, ConsentRecipe, ConsentRecipeOptions, ConsentRecipeWords, ContentFieldLike, CounterWords, DisclosureOptions, DisclosureWords, DomAttributes, ExclusiveCompositeKind, ExclusiveKindRoles, ExclusiveRuntimeOptions, ExclusiveScope, LegacySliderLook, LightboxOptions, MarqueeRecipeOptions, MarqueeRuntimeOptions, MarqueeSettings, MarqueeWords, PillOptions, PopupFormChange, PopupFormOptions, PopupRecipeOptions, PopupWords, RepeatSource, SegmentedOptionWords, SegmentedOptions, ShopHost, ShopRecipeWords, SliderPartsChange, SliderWords, SlideshowOptions, TabPair, TabWords, TabsAutoBinds, TabsBehaviour, TabsItemState, TabsOptions, TabsScope, ToggleCompositeKind, WaitingOrder };
|
package/data-core/index.d.ts
CHANGED
|
@@ -399,7 +399,8 @@ declare function hasHomeConflict(pages: ReadonlyArray<HomePageCandidate | null |
|
|
|
399
399
|
*
|
|
400
400
|
* - `isNumberedPlaceholderTitle` — words and then a number (G-D1). The Publishable gate reads it as well.
|
|
401
401
|
* - `isPlaceholderRow(row, titleField)` — a row marked `isSample` whose title is such a placeholder.
|
|
402
|
-
* - `listTitleField(list)` — the field a list's card shows as its title
|
|
402
|
+
* - `listTitleField(list)` — the field a list's card shows as its title; `listPlaceholderFields(list)` — that, else
|
|
403
|
+
* the fields a list with no title shows (a quote slider's person line, engine#41).
|
|
403
404
|
* - `planPlaceholderHides(roots, resolved)` — what the live engine leaves out (G-D3): placeholder rows are dropped,
|
|
404
405
|
* a list with no live row is not drawn, and its top-level section hides when only its frame is left (heading,
|
|
405
406
|
* eyebrow, lead text, buttons). Pages and their nav links stay (G-D4).
|
|
@@ -420,7 +421,7 @@ declare function isNumberedPlaceholderTitle(title: string | null | undefined): b
|
|
|
420
421
|
* out. `titleField` is the list's title field (`listTitleField`); without one the row's `title` / `name` / `label` is
|
|
421
422
|
* read. A row with no title to read is never a placeholder: when in doubt, show it.
|
|
422
423
|
*/
|
|
423
|
-
declare function isPlaceholderRow(row: unknown, titleField?: string | null): boolean;
|
|
424
|
+
declare function isPlaceholderRow(row: unknown, titleField?: string | ReadonlyArray<string> | null): boolean;
|
|
424
425
|
/** The node fields the plan reads — a saved layout node (builder serializer shape) or a live ComponentNode. */
|
|
425
426
|
interface PlaceholderPlanNode {
|
|
426
427
|
id?: string;
|
|
@@ -447,6 +448,13 @@ declare function listSourceOf(node: PlaceholderPlanNode | null | undefined): str
|
|
|
447
448
|
* Nested lists are not looked into.
|
|
448
449
|
*/
|
|
449
450
|
declare function listTitleField(list: PlaceholderPlanNode | null | undefined): string | null;
|
|
451
|
+
/**
|
|
452
|
+
* The fields a list's rows are judged by (engine#41): its title field (`listTitleField`) when it names one, else every
|
|
453
|
+
* field its own parts SHOW as words (a quote slider's quote and person — the person line "Guest 1" is the sample's
|
|
454
|
+
* unnamed line), else `null` (then `isPlaceholderRow` falls back to title / name / label). Nested lists are not looked
|
|
455
|
+
* into. ONE reading for the live rule and the builder's ghost rows.
|
|
456
|
+
*/
|
|
457
|
+
declare function listPlaceholderFields(list: PlaceholderPlanNode | null | undefined): string | string[] | null;
|
|
450
458
|
/**
|
|
451
459
|
* The node types that are only a list section's FRAME (G-D3): its heading, eyebrow, lead text, buttons, links, icons
|
|
452
460
|
* and the boxes around them. A section left with only these hides with its list. Anything else (a picture, a video, a
|
|
@@ -488,5 +496,5 @@ interface PlaceholderHidden<N> {
|
|
|
488
496
|
*/
|
|
489
497
|
declare function applyPlaceholderHides<N extends PlaceholderPlanNode>(roots: ReadonlyArray<N> | null | undefined, resolved: Readonly<Record<string, unknown>> | null | undefined): PlaceholderHidden<N>;
|
|
490
498
|
|
|
491
|
-
export { DataSourceSortDir, HOME_PAGE_LIVE_STATUS, LIST_FRAME_MAX_TEXTS, LIST_FRAME_TYPES, LIST_NODE_TYPES, PLACEHOLDER_TITLE_FALLBACK_FIELDS, RESERVED_ALIAS_PREFIX, SAMPLE_ROW_FIELD, SORT_PARAM, applyPlaceholderHides, buildDataSourceFilter, buildRelatedFilter, collectReferencedAliases, computeRelative, dataSourcePlanToRequest, excludeSelf, getByPath, hasHomeConflict, homePageOf, isNumberedPlaceholderTitle, isPlaceholderRow, isReservedAlias, listSourceOf, listTitleField, matchRouteParams, normalizeCollectionResult, planDataSource, planPlaceholderHides, referencedDataSources, referencedDataSourcesDeep, resolveDerivedInto, resolveRelativeInto, resolveRepeaterItems, resolveSiblings, resolveSingleItemId, sortParamValue, variableAliases, variableItemsFrom };
|
|
499
|
+
export { DataSourceSortDir, HOME_PAGE_LIVE_STATUS, LIST_FRAME_MAX_TEXTS, LIST_FRAME_TYPES, LIST_NODE_TYPES, PLACEHOLDER_TITLE_FALLBACK_FIELDS, RESERVED_ALIAS_PREFIX, SAMPLE_ROW_FIELD, SORT_PARAM, applyPlaceholderHides, buildDataSourceFilter, buildRelatedFilter, collectReferencedAliases, computeRelative, dataSourcePlanToRequest, excludeSelf, getByPath, hasHomeConflict, homePageOf, isNumberedPlaceholderTitle, isPlaceholderRow, isReservedAlias, listPlaceholderFields, listSourceOf, listTitleField, matchRouteParams, normalizeCollectionResult, planDataSource, planPlaceholderHides, referencedDataSources, referencedDataSourcesDeep, resolveDerivedInto, resolveRelativeInto, resolveRepeaterItems, resolveSiblings, resolveSingleItemId, sortParamValue, variableAliases, variableItemsFrom };
|
|
492
500
|
export type { BuildRelatedFilterOptions, DataSourceDomain, DataSourceEndpoints, DataSourceMode, DataSourcePlan, DataSourceQueryFilter, DataSourceRequest, DataSourceRequestSpec, DataSourceRouteFilter, DataSourceSort, DataSourceSpec, HomePageAnswer, HomePageCandidate, PlaceholderHidden, PlaceholderHidePlan, PlaceholderPlanNode, RelativeInputs, RelativeSourceKind, RelativeSourceSpec, ResolveSiblingsOptions, RouteContext, SiblingsResult };
|
package/design-core/index.d.ts
CHANGED
|
@@ -3399,6 +3399,7 @@ declare const SPEC_SCHEMES: {
|
|
|
3399
3399
|
readonly "section-bg": "{{accent}}";
|
|
3400
3400
|
readonly bg: "{{accent}}";
|
|
3401
3401
|
readonly "nav-bg": "{{accent}}";
|
|
3402
|
+
readonly "nav-glass-bg": "{{accent}}";
|
|
3402
3403
|
readonly surface: "{{accent-hover}}";
|
|
3403
3404
|
readonly "surface-2": "{{accent-hover}}";
|
|
3404
3405
|
readonly "surface-glass": "{{accent-hover}}";
|
|
@@ -3426,6 +3427,7 @@ declare const SPEC_SCHEMES: {
|
|
|
3426
3427
|
readonly "section-bg": "{{text-muted}}";
|
|
3427
3428
|
readonly bg: "{{text-muted}}";
|
|
3428
3429
|
readonly "nav-bg": "{{text-muted}}";
|
|
3430
|
+
readonly "nav-glass-bg": "{{text-muted}}";
|
|
3429
3431
|
readonly surface: "{{text-muted}}";
|
|
3430
3432
|
readonly "surface-2": "{{text-muted}}";
|
|
3431
3433
|
readonly "surface-glass": "{{text-muted}}";
|
|
@@ -5219,9 +5221,27 @@ declare const SPEC_CONTRAST_AUDIT: {
|
|
|
5219
5221
|
readonly floatingGrounds: readonly [{
|
|
5220
5222
|
readonly ground: "nav-bg";
|
|
5221
5223
|
readonly ink: "text";
|
|
5224
|
+
readonly scope: "header";
|
|
5225
|
+
}, {
|
|
5226
|
+
readonly ground: "nav-bg";
|
|
5227
|
+
readonly ink: "link-color";
|
|
5228
|
+
readonly scope: "header";
|
|
5229
|
+
}, {
|
|
5230
|
+
readonly ground: "nav-bg";
|
|
5231
|
+
readonly ink: "link-current-color";
|
|
5232
|
+
readonly scope: "header";
|
|
5222
5233
|
}, {
|
|
5223
5234
|
readonly ground: "nav-glass-bg";
|
|
5224
5235
|
readonly ink: "text";
|
|
5236
|
+
readonly scope: "header";
|
|
5237
|
+
}, {
|
|
5238
|
+
readonly ground: "nav-glass-bg";
|
|
5239
|
+
readonly ink: "link-color";
|
|
5240
|
+
readonly scope: "header";
|
|
5241
|
+
}, {
|
|
5242
|
+
readonly ground: "nav-glass-bg";
|
|
5243
|
+
readonly ink: "link-current-color";
|
|
5244
|
+
readonly scope: "header";
|
|
5225
5245
|
}, {
|
|
5226
5246
|
readonly ground: "dialog-bg";
|
|
5227
5247
|
readonly ink: "text";
|
|
@@ -5231,7 +5251,19 @@ declare const SPEC_CONTRAST_AUDIT: {
|
|
|
5231
5251
|
}, {
|
|
5232
5252
|
readonly ground: "surface-glass-strong";
|
|
5233
5253
|
readonly ink: "text";
|
|
5254
|
+
}, {
|
|
5255
|
+
readonly ground: "tabbar-bg";
|
|
5256
|
+
readonly ink: "tabbar-item-ink";
|
|
5234
5257
|
}];
|
|
5258
|
+
readonly headerInkScope: {
|
|
5259
|
+
readonly selectors: readonly [".iox-es-nav > *", "[data-iox-header] > *"];
|
|
5260
|
+
readonly set: {
|
|
5261
|
+
readonly "link-color": "currentColor";
|
|
5262
|
+
readonly "link-current-color": "currentColor";
|
|
5263
|
+
readonly "link-hover-color": "var(--iox-accent-text)";
|
|
5264
|
+
readonly "button-ghost-ink": "currentColor";
|
|
5265
|
+
};
|
|
5266
|
+
};
|
|
5235
5267
|
};
|
|
5236
5268
|
declare const SPEC_LEGACY_ALIASES: {
|
|
5237
5269
|
readonly "radius-control": "var(--iox-button-radius)";
|
|
@@ -13218,7 +13250,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
13218
13250
|
readonly tier: "component";
|
|
13219
13251
|
readonly type: "color";
|
|
13220
13252
|
readonly group: "components";
|
|
13221
|
-
readonly value: "var(--iox-surface
|
|
13253
|
+
readonly value: "color-mix(in srgb, var(--iox-surface) 92%, transparent)";
|
|
13222
13254
|
readonly overridden: true;
|
|
13223
13255
|
}, {
|
|
13224
13256
|
readonly name: "tabbar-border";
|
|
@@ -18785,7 +18817,11 @@ declare enum HeaderTrait {
|
|
|
18785
18817
|
Ink = "headerInk",
|
|
18786
18818
|
/** HI3 slice 1 (HI3-D1): what the header stands on — `glass` | `over` | `over-glass`. Absent / `solid`: its own ground,
|
|
18787
18819
|
* as before. Written by the Header studio ▸ Around the bar and the composer (`ground:<word>`). */
|
|
18788
|
-
Ground = "headerGround"
|
|
18820
|
+
Ground = "headerGround",
|
|
18821
|
+
/** HI3 slice 2 (HI3-D16/D18): its outline — `pill` | `islands`. Absent / `bar`: a full-width bar, as before. */
|
|
18822
|
+
Shape = "headerShape",
|
|
18823
|
+
/** HI3 slice 2 (HI3-D21/D22): how its name sits — `hangs` | `later`. Absent / `fits`: the name fits the bar. */
|
|
18824
|
+
Brand = "headerBrand"
|
|
18789
18825
|
}
|
|
18790
18826
|
/** Whose colours the header wears (contract HEADER `ink`): the page's opening, or every section as it passes under it. */
|
|
18791
18827
|
declare enum HeaderInk {
|
|
@@ -18805,7 +18841,12 @@ declare enum HeaderAttribute {
|
|
|
18805
18841
|
/** `glass` | `over` | `over-glass` on a header that does not stand on its own solid ground (HI3 slice 1): the shared
|
|
18806
18842
|
* CSS draws the ground on ONE `::before` faded by opacity, gives the bar's height back over a pictured opening and
|
|
18807
18843
|
* lays the veil under its words at rest. Absent: the bar's own ground, as before. */
|
|
18808
|
-
Ground = "data-iox-header-ground"
|
|
18844
|
+
Ground = "data-iox-header-ground",
|
|
18845
|
+
/** `pill` | `islands` on a header that floats (HI3 slice 2): the shared CSS draws its ground as one inset bar, or one
|
|
18846
|
+
* pill per part, from the top. Absent: a full-width bar. */
|
|
18847
|
+
Shape = "data-iox-header-shape",
|
|
18848
|
+
/** `hangs` | `later` (HI3 slice 2): a logo taller than the bar, or a name that arrives once the page moves. */
|
|
18849
|
+
Brand = "data-iox-header-brand"
|
|
18809
18850
|
}
|
|
18810
18851
|
/** What a composed header gets (the `nav.*` patterns' `header`, the palette's Navigation bar). */
|
|
18811
18852
|
declare const COMPOSED_HEADER: Readonly<{
|
|
@@ -18821,8 +18862,33 @@ declare function headerStaysAtTop(behaviour: unknown): boolean;
|
|
|
18821
18862
|
/** A stored ink, or Opening for anything else. */
|
|
18822
18863
|
declare function headerInkOf(value: unknown): HeaderInk;
|
|
18823
18864
|
/** The attributes a header renders, from its trait values — `{}` for a header that keeps today's behaviour. A header on
|
|
18824
|
-
* glass draws no scroll edge (HI3-D9: its set carries its own hairline and shadow), whatever edge it stores
|
|
18825
|
-
|
|
18865
|
+
* glass draws no scroll edge (HI3-D9: its set carries its own hairline and shadow), whatever edge it stores; nor does a
|
|
18866
|
+
* floating one (HI3-D20: a pill has no edge under it). A floating header on `over` floats on the look's glass from the
|
|
18867
|
+
* top (HI3-D17: never a clear pill), so it writes `over-glass`. */
|
|
18868
|
+
declare function headerAttributes(behaviour: unknown, edge: unknown, ink?: unknown, ground?: unknown, shape?: unknown, brand?: unknown): Record<string, string>;
|
|
18869
|
+
/** The header's outline (contract HEADER `shape`). */
|
|
18870
|
+
declare enum HeaderShape {
|
|
18871
|
+
/** A full-width bar (every header before HI3 slice 2). */
|
|
18872
|
+
Bar = "bar",
|
|
18873
|
+
/** One floating bar inset from the window, as wide as the content column, its corner the look's button corner. */
|
|
18874
|
+
Pill = "pill",
|
|
18875
|
+
/** Each part of the bar (the name, the pages, the action) a floating pill of its own. */
|
|
18876
|
+
Islands = "islands"
|
|
18877
|
+
}
|
|
18878
|
+
/** How the header's name sits (contract HEADER `brand`). */
|
|
18879
|
+
declare enum HeaderBrand {
|
|
18880
|
+
Fits = "fits",
|
|
18881
|
+
/** A logo picture taller than the bar, breaking its lower edge (only with a logo picture). */
|
|
18882
|
+
Hangs = "hangs",
|
|
18883
|
+
/** No name at the top of the opening (which names the business); it arrives once the page moves or a menu opens. */
|
|
18884
|
+
Later = "later"
|
|
18885
|
+
}
|
|
18886
|
+
/** A stored shape, or Bar for anything else. */
|
|
18887
|
+
declare function headerShapeOf(value: unknown): HeaderShape;
|
|
18888
|
+
/** A stored brand, or Fits for anything else. */
|
|
18889
|
+
declare function headerBrandOf(value: unknown): HeaderBrand;
|
|
18890
|
+
/** True for a shape that floats (pill, islands): its ground shows from the top, and it has no scroll edge. */
|
|
18891
|
+
declare function headerShapeFloats(shape: unknown): boolean;
|
|
18826
18892
|
/**
|
|
18827
18893
|
* What a header stands on (contract HEADER `ground`, HI3-D1). `blend` waits for slice 2+ and is never a trait value
|
|
18828
18894
|
* (a stored `blend` reads as solid). ONE answer every renderer applies: `headerAttributes` writes the word, the shared
|
|
@@ -18888,10 +18954,10 @@ interface HeaderMoment {
|
|
|
18888
18954
|
* shared CSS draws it through `HEADER_AT_REST_SELECTOR` (held equal to this by header-behaviour.spec), the canvas's
|
|
18889
18955
|
* "At the top · Scrolled" pair asks it. Pure.
|
|
18890
18956
|
*/
|
|
18891
|
-
declare function headerFirm(ground: unknown, moment?: HeaderMoment): boolean;
|
|
18892
|
-
/** Whether the header gives its height back to the page (HI3-D7): it does not stand on its own solid ground
|
|
18893
|
-
* that opens on a picture — the picture starts at the top of the page, under the bar. */
|
|
18894
|
-
declare function headerGivesBack(ground: unknown, openingMedia: unknown): boolean;
|
|
18957
|
+
declare function headerFirm(ground: unknown, moment?: HeaderMoment, shape?: unknown): boolean;
|
|
18958
|
+
/** Whether the header gives its height back to the page (HI3-D7): it does not stand on its own solid ground (or it floats,
|
|
18959
|
+
* HI3-D17), over a page that opens on a picture — the picture starts at the top of the page, under the bar. */
|
|
18960
|
+
declare function headerGivesBack(ground: unknown, openingMedia: unknown, shape?: unknown): boolean;
|
|
18895
18961
|
/** The Page scrolled state's attribute (main entry `SCROLLED_ATTRIBUTE`; spelled here — design-core reads no Angular
|
|
18896
18962
|
* entry; held equal by the scrolled spec). */
|
|
18897
18963
|
declare const HEADER_SCROLLED_ATTRIBUTE = "data-iox-scrolled";
|
|
@@ -18909,7 +18975,8 @@ declare const HEADER_OPEN_MENU_SELECTOR = ":is(dialog[open], [data-iox-menu-open
|
|
|
18909
18975
|
declare const HEADER_HEIGHT_VAR = "--header-h";
|
|
18910
18976
|
/**
|
|
18911
18977
|
* The header AT REST (not firm), as a compound selector on the header's own element — `headerFirm`'s twin in CSS: an over
|
|
18912
|
-
* ground, inside a page that opens on a picture, not inside a scrolled page,
|
|
18978
|
+
* ground on a header that does not float (HI3-D17), inside a page that opens on a picture, not inside a scrolled page,
|
|
18979
|
+
* holding no open menu.
|
|
18913
18980
|
*/
|
|
18914
18981
|
declare const HEADER_AT_REST_SELECTOR: string;
|
|
18915
18982
|
/** The header that gives its height back (`headerGivesBack`'s twin): any ground word, inside a page that opens on a picture. */
|
|
@@ -19046,6 +19113,17 @@ declare enum MenuPhoneForm {
|
|
|
19046
19113
|
Drawer = "drawer",
|
|
19047
19114
|
Full = "full"
|
|
19048
19115
|
}
|
|
19116
|
+
/** What the menu shows besides its own head (HI2 shelves, header-builder board v2 "menu contents"): the page names (today's),
|
|
19117
|
+
* the page names LARGE in the look's display face (Flyward's and Hotel Aurelia's full-screen index), the first four large
|
|
19118
|
+
* with a MORE row of the rest and a picture card (Savvia's card: four names at 48px, "MÁS", small links and a reel tile),
|
|
19119
|
+
* or pictured cards for the site's main collections beside the page names (Vonder's top panel: two category photo tiles
|
|
19120
|
+
* and the page list). `two-levels` waits for HI6 and is drawn as the page names. */
|
|
19121
|
+
declare enum MenuShows {
|
|
19122
|
+
Links = "links",
|
|
19123
|
+
Big = "big",
|
|
19124
|
+
WordsCard = "words-card",
|
|
19125
|
+
Pictures = "pictures"
|
|
19126
|
+
}
|
|
19049
19127
|
/** The traits, stored in the node's props (no default: a node saved before HI2 saves none). */
|
|
19050
19128
|
declare enum MenuTrait {
|
|
19051
19129
|
/** On the menu (the Dialog). */
|
|
@@ -19053,6 +19131,8 @@ declare enum MenuTrait {
|
|
|
19053
19131
|
Reveal = "menuReveal",
|
|
19054
19132
|
Hover = "menuHover",
|
|
19055
19133
|
Phone = "menuPhone",
|
|
19134
|
+
/** HI2: what the menu shows (`MenuShows`) — the shelves' parts are its children; the trait sizes them. */
|
|
19135
|
+
Shows = "menuShows",
|
|
19056
19136
|
/** On the menu button AND the menu's Close (the same button, open). */
|
|
19057
19137
|
Button = "menuButton"
|
|
19058
19138
|
}
|
|
@@ -19061,6 +19141,7 @@ declare enum MenuAttribute {
|
|
|
19061
19141
|
Reveal = "data-iox-reveal",
|
|
19062
19142
|
Hover = "data-iox-menu-hover",
|
|
19063
19143
|
Phone = "data-iox-menu-phone",
|
|
19144
|
+
Shows = "data-iox-menu-shows",
|
|
19064
19145
|
Button = "data-iox-menu-button"
|
|
19065
19146
|
}
|
|
19066
19147
|
/** Every attribute a menu part may carry (what a renderer's attribute sync owns). */
|
|
@@ -19072,6 +19153,8 @@ interface MenuLook {
|
|
|
19072
19153
|
button: MenuButtonKind;
|
|
19073
19154
|
hover: MenuHover;
|
|
19074
19155
|
phone: MenuPhoneForm;
|
|
19156
|
+
/** HI2: what it shows. */
|
|
19157
|
+
shows: MenuShows;
|
|
19075
19158
|
}
|
|
19076
19159
|
/** Today's menu, every default (R-H4: it writes nothing). */
|
|
19077
19160
|
declare const DEFAULT_MENU_LOOK: Readonly<MenuLook>;
|
|
@@ -19080,6 +19163,8 @@ declare const menuRevealOf: (v: unknown) => MenuReveal;
|
|
|
19080
19163
|
declare const menuButtonOf: (v: unknown) => MenuButtonKind;
|
|
19081
19164
|
declare const menuHoverOf: (v: unknown) => MenuHover;
|
|
19082
19165
|
declare const menuPhoneOf: (v: unknown) => MenuPhoneForm;
|
|
19166
|
+
/** A word the product does not draw (`two-levels`, HI6) reads as the page names. */
|
|
19167
|
+
declare const menuShowsOf: (v: unknown) => MenuShows;
|
|
19083
19168
|
/** Reads a trait (`props` on a serialized node). */
|
|
19084
19169
|
type MenuTraitReader = (name: MenuTrait) => unknown;
|
|
19085
19170
|
/** The attributes a MENU (the Dialog) renders from its traits — `{}` for today's drawer. */
|
|
@@ -19441,6 +19526,13 @@ declare const COLOR_SCHEMES: ReadonlyArray<{
|
|
|
19441
19526
|
readonly id: ColorScheme;
|
|
19442
19527
|
readonly label: string;
|
|
19443
19528
|
}>;
|
|
19529
|
+
/**
|
|
19530
|
+
* The scheme a node's painted ground IS (iox-ui#186): a Section or Container whose `backgroundColor` is exactly a
|
|
19531
|
+
* scheme's own ground token (`var(--iox-inverse-bg)`) — the free stamp gives it that scheme so every token the look
|
|
19532
|
+
* reads inside (a button's ink and outline, a line, a link) is re-declared for the ground, not only the words someone
|
|
19533
|
+
* coloured by hand. Null for any other value (a page token, a colour-mix, a ground a scheme re-declares).
|
|
19534
|
+
*/
|
|
19535
|
+
declare function schemeOfGround(backgroundColor: unknown): ColorScheme | null;
|
|
19444
19536
|
/** `iox-scheme-<id>` for a known NON-default scheme, else null — an unknown id never reaches a class attribute. */
|
|
19445
19537
|
declare function colorSchemeClass(id: unknown): string | null;
|
|
19446
19538
|
/**
|
|
@@ -20067,12 +20159,43 @@ interface AccentBackgrounds {
|
|
|
20067
20159
|
inverseBg?: AccentGround;
|
|
20068
20160
|
inverseBgDark?: AccentGround;
|
|
20069
20161
|
}
|
|
20162
|
+
/** How `deriveAccentTokens` derives. */
|
|
20163
|
+
interface AccentDerivationOptions {
|
|
20164
|
+
/** CV-D1: the light accent is the seed itself (default). `false`: brand-500 with its ink and the next step as hover —
|
|
20165
|
+
* what the contract wrote before colour v2 CV1, kept ONLY to recognise rows a machine wrote then (`legacyFlavorTokens`,
|
|
20166
|
+
* `preKeptSeedDesignTokenRows`). */
|
|
20167
|
+
keepSeed?: boolean;
|
|
20168
|
+
}
|
|
20169
|
+
/** CV-D1 (colour-v2-plan.md): the accent's hover sits at least this much OKLab L away from the kept accent (away from its ink). */
|
|
20170
|
+
declare const KEPT_HOVER_DL = 0.06;
|
|
20171
|
+
/** CV-D1: how far the hover may walk on (0.02 a step) to keep the brand band's surfaces readable. */
|
|
20172
|
+
declare const KEPT_HOVER_DL_MAX = 0.3;
|
|
20173
|
+
/**
|
|
20174
|
+
* CV-D1: the strongest ink tint the contract lays on a Brand band's surface. Inside the accent scheme `surface` IS the
|
|
20175
|
+
* accent's hover and the ink is the band's words (the contract's SCHEMES.accent); Bloom's secondary button is
|
|
20176
|
+
* `color-mix(accent 22%, surface)` there — the ink mixed 22% into the hover. The hover keeps the ink at AA under it.
|
|
20177
|
+
*/
|
|
20178
|
+
declare const BAND_SURFACE_INK_TINT = 0.22;
|
|
20179
|
+
/**
|
|
20180
|
+
* CV-D1 (colour-v2-plan.md §2 cause 1, §5a): the light accent IS the brand colour — a navy stays navy, a berry stays
|
|
20181
|
+
* berry (it used to be brand-500 at L 0.62: a pastel with a black label). On every sRGB colour the better of a white and a
|
|
20182
|
+
* black label reads at least √21 ≈ 4.58:1, so the seed always carries one (R-H-CV1). `ink` is that label. `hover` walks
|
|
20183
|
+
* away from the ink (white ink: darker; black ink: lighter) at the seed's hue and chroma, from `KEPT_HOVER_DL` in 0.02
|
|
20184
|
+
* steps, until the ink reads on it even with `BAND_SURFACE_INK_TINT` of the ink mixed in (the hover is the Brand band's
|
|
20185
|
+
* surface); never past `KEPT_HOVER_DL_MAX`. Mirror of the contract's colour.mjs `keptAccent` (derivationFixtures hold
|
|
20186
|
+
* them equal).
|
|
20187
|
+
*/
|
|
20188
|
+
declare function keptAccent(seed: string): {
|
|
20189
|
+
accent: string;
|
|
20190
|
+
ink: string;
|
|
20191
|
+
hover: string;
|
|
20192
|
+
};
|
|
20070
20193
|
/**
|
|
20071
20194
|
* The quartet a seed different from the pack's own becomes, built ON `deriveBrandTokens` (its
|
|
20072
20195
|
* ramp and its WCAG-gated `brandInk`) — never a second colour model:
|
|
20073
20196
|
*
|
|
20074
|
-
* - `accent` =
|
|
20075
|
-
* - `accent-hover` =
|
|
20197
|
+
* - `accent` = the seed itself (CV-D1, `keptAccent`), `accent-ink` = the label that reads on it
|
|
20198
|
+
* - `accent-hover` = `KEPT_HOVER_DL` away from the ink, so ink-on-hover only gains contrast
|
|
20076
20199
|
* - `accent-text` = the first step from 500 toward the far end that clears 4.5:1 on `bg`
|
|
20077
20200
|
* - dark: the first of brand-300/200/400 an ink clears 4.5:1 on, the same hover rule, and
|
|
20078
20201
|
* `accent-text` = the first light step that clears 4.5:1 on `bgDark`
|
|
@@ -20085,7 +20208,7 @@ interface AccentBackgrounds {
|
|
|
20085
20208
|
* Every pair (ink/accent, ink/hover, text/bg, inverse ink/inverse accent, inverse accent/inverse
|
|
20086
20209
|
* bg) is asserted ≥ 4.5:1 across packs and seeds in `flavor-tokens.spec.ts`.
|
|
20087
20210
|
*/
|
|
20088
|
-
declare function deriveAccentTokens(seed: string, against: AccentBackgrounds, pack?: Pick<FlavorPack, 'accentHueDeg'
|
|
20211
|
+
declare function deriveAccentTokens(seed: string, against: AccentBackgrounds, pack?: Pick<FlavorPack, 'accentHueDeg'>, options?: AccentDerivationOptions): FlavorTokenDef[];
|
|
20089
20212
|
|
|
20090
20213
|
/**
|
|
20091
20214
|
* What a token VALUE paints, as colours (design-system DS9): the evaluator the contrast audit and the
|
|
@@ -20262,16 +20385,38 @@ interface ColourCheck {
|
|
|
20262
20385
|
}
|
|
20263
20386
|
/** The Colour tab's brand rows, from one audit of the rows the canvas wears. */
|
|
20264
20387
|
declare function colourTabChecks(rows: ReadonlyArray<DesignTokenLike>, mode: ResolvedMode): ColourCheck[];
|
|
20388
|
+
/** Where a floating ground's ink is read: `header` = inside the header's ink scope (vectoriox/iox-ui#173 a). */
|
|
20389
|
+
declare enum FloatingInkScope {
|
|
20390
|
+
Header = "header"
|
|
20391
|
+
}
|
|
20392
|
+
interface FloatingGround {
|
|
20393
|
+
readonly ground: string;
|
|
20394
|
+
readonly ink: string;
|
|
20395
|
+
readonly scope?: FloatingInkScope | string;
|
|
20396
|
+
}
|
|
20397
|
+
/** What the header re-declares for its words (the contract's `contrastAudit.headerInkScope`; iox-design.css, verbatim). */
|
|
20398
|
+
interface HeaderInkScope {
|
|
20399
|
+
readonly selectors: ReadonlyArray<string>;
|
|
20400
|
+
readonly set: Readonly<Record<string, string>>;
|
|
20401
|
+
}
|
|
20402
|
+
/** The contract's header ink scope — null on a contract generated before vectoriox/iox-ui#173 (a). */
|
|
20403
|
+
declare const HEADER_INK_SCOPE: HeaderInkScope | null;
|
|
20404
|
+
/**
|
|
20405
|
+
* An ink's value as the words on a floating ground wear it — the contract's `floatingInk`, 1:1. A header ground's ink is
|
|
20406
|
+
* read INSIDE the header's ink scope: `currentColor` is the bar's own ink (`text` — the bar is `color: inherit`), a token
|
|
20407
|
+
* reference reads that token, anything else is the value itself. Outside a scope the ink is the token's own value.
|
|
20408
|
+
*/
|
|
20409
|
+
declare function floatingInkValue(values: Readonly<Record<string, string>>, ink: string, scope?: string, header?: HeaderInkScope | null): string | undefined;
|
|
20265
20410
|
/** The two backdrops that bound every picture: each channel of a blend is monotone in its backdrop's. */
|
|
20266
20411
|
declare const FLOATING_BACKDROPS: Readonly<Record<string, Rgba>>;
|
|
20267
20412
|
/**
|
|
20268
|
-
* HI3 slice 1 (R-H16): each translucent ground's words over pure black AND pure white, in
|
|
20269
|
-
* header
|
|
20270
|
-
* lighter, so a ground that holds AA over both holds it over any picture (iox-ui#173: the Glass
|
|
20271
|
-
* 3.55:1 over a light picture in dark mode). An opaque ground is not judged here (the DS9 audit
|
|
20272
|
-
* The contract's gate, 1:1 (build-spec `floatingGroundFailures`).
|
|
20413
|
+
* HI3 slice 1 (R-H16): each translucent ground's words over pure black AND pure white, in EVERY section scheme (the page's
|
|
20414
|
+
* own, and any an author dresses the header or a dialog in — vectoriox/iox-ui#174), in one mode — nothing a blur can lay
|
|
20415
|
+
* under the bar is darker or lighter, so a ground that holds AA over both holds it over any picture (iox-ui#173: the Glass
|
|
20416
|
+
* look's bar dropped to 3.55:1 over a light picture in dark mode). An opaque ground is not judged here (the DS9 audit
|
|
20417
|
+
* judges it where it stands). The contract's gate, 1:1 (build-spec `floatingGroundFailures`).
|
|
20273
20418
|
*/
|
|
20274
|
-
declare function floatingGroundFindings(rows: ReadonlyArray<DesignTokenLike>, mode: ResolvedMode): ContrastFinding[];
|
|
20419
|
+
declare function floatingGroundFindings(rows: ReadonlyArray<DesignTokenLike>, mode: ResolvedMode, table?: ReadonlyArray<FloatingGround>, header?: HeaderInkScope | null): ContrastFinding[];
|
|
20275
20420
|
|
|
20276
20421
|
/** The pack's own defaults as a full set of choices — what Apply means with nothing changed. */
|
|
20277
20422
|
declare function defaultDesignChoices(pack: FlavorPackV2): DesignChoices;
|
|
@@ -20822,6 +20967,14 @@ declare function designTokenRows(choices: DesignChoices): DesignTokenRow[];
|
|
|
20822
20967
|
/** What a design wrote BEFORE DS9 (the look's own palette, the rows DS9 changed at their old values, the
|
|
20823
20968
|
* accent derived against `bg` alone) — empty for an unknown pack. */
|
|
20824
20969
|
declare function legacyDesignTokenRows(choices: DesignChoices): DesignTokenRow[];
|
|
20970
|
+
/**
|
|
20971
|
+
* What a design wrote BEFORE colour v2 CV1 (guidance 8f61581, CV-D1): today's rows, but a seed ≠ the pack's own wore
|
|
20972
|
+
* brand-500 (L 0.62, a pastel with a black label) as its light accent, ink and hover. Those three do not depend on the
|
|
20973
|
+
* grounds, so only their light values differ; the dark values and every other row are today's. A studio whose rows a
|
|
20974
|
+
* machine wrote then is healed to the kept seed on the builder's load (`designTokenRepairs`) and by its next Apply
|
|
20975
|
+
* (`designBaseline`); a row the author edited is kept. Empty for an unknown pack.
|
|
20976
|
+
*/
|
|
20977
|
+
declare function preKeptSeedDesignTokenRows(choices: DesignChoices): DesignTokenRow[];
|
|
20825
20978
|
/**
|
|
20826
20979
|
* Token values the contract SUPERSEDED for rows a v2 pack seeds — a machine row still holding one is untouched, so an
|
|
20827
20980
|
* Apply rewrites it and the builder load heals it (`designTokenRepairs`), the way DS9's contrast fixes reached studios:
|
|
@@ -20830,6 +20983,10 @@ declare function legacyDesignTokenRows(choices: DesignChoices): DesignTokenRow[]
|
|
|
20830
20983
|
* - guidance `39135c7` (no underlines, Doron 2026-11-22): a link and a ghost (text) button draw no line — Linen's ghost
|
|
20831
20984
|
* button and every look's link were seeded `underline`, the current page's link a 2px accent line (vectoriox/iox-ui#118:
|
|
20832
20985
|
* idos and the store kept underlined text buttons from the stored row).
|
|
20986
|
+
* - vectoriox/iox-ui#173 (b), decided 2026-11-28 — no migration: the Glass bar stood on `surface-glass` (3.55:1 over a
|
|
20987
|
+
* light picture in dark mode; HI3 slice 1 moved it to `surface-glass-strong`), and the Glass tab bar on
|
|
20988
|
+
* `surface-glass-strong` (3.74–4.19:1; #174 gave it its own 92% ground). A Glass studio applied before either kept the
|
|
20989
|
+
* old ground (iox-test-fresh's J10 sites, 2026-11-28); the next Apply or builder load heals it.
|
|
20833
20990
|
* A spec pins every entry as no flavor's current value. Add one with every contract change of a seeded token's value.
|
|
20834
20991
|
*/
|
|
20835
20992
|
declare const SUPERSEDED_TOKEN_VALUES: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
@@ -21056,15 +21213,15 @@ declare function motionLanguageOf(choices: Pick<DesignChoices, 'feel' | 'heading
|
|
|
21056
21213
|
/** The CSS timing function of an arrive / leave word; `spring` reads the look's own spring row. */
|
|
21057
21214
|
declare function motionCurve(word: ArriveId | LeaveId, tokenValue?: (name: string) => string | undefined): string;
|
|
21058
21215
|
/**
|
|
21059
|
-
* What a
|
|
21060
|
-
*
|
|
21061
|
-
*
|
|
21216
|
+
* What a plan wears of a language: since AW-D42 (Doron, 2026-11-28 — the award parts are every tier's) EVERY plan wears
|
|
21217
|
+
* the whole language — a Pro Feel, move, cover (AW4), preloader (AW5) and By the scroll (AW10) included. It once drew a
|
|
21218
|
+
* lower plan's Pro words as the contract's `planFallback` (AW-D23, MB-D6); `pro` is kept so its callers still read.
|
|
21062
21219
|
*/
|
|
21063
21220
|
declare function motionLanguageForPlan<T extends Pick<DesignChoices, 'feel' | 'headings'> & {
|
|
21064
21221
|
between?: DesignChoices['between'];
|
|
21065
21222
|
preloader?: DesignChoices['preloader'];
|
|
21066
21223
|
scrub?: DesignChoices['scrub'];
|
|
21067
|
-
}>(choices: T,
|
|
21224
|
+
}>(choices: T, _pro?: boolean): T;
|
|
21068
21225
|
/** The reduced-motion floor (AW-D6): an entrance is a fade this long at most — gentler, never zero. */
|
|
21069
21226
|
declare const REDUCED_ENTRANCE_MAX_MS: number;
|
|
21070
21227
|
/** MB-D7: a travelling move plays its quiet form on these levels (rise 8 px, mask lines together, clip from 85 %). */
|
|
@@ -21137,9 +21294,9 @@ interface PreloaderInput {
|
|
|
21137
21294
|
readonly animate: string | null | undefined;
|
|
21138
21295
|
/** The style preset the look came from — its exit (`MOTION.presets`); absent or exit-less → Fade. */
|
|
21139
21296
|
readonly presetId?: string | null;
|
|
21140
|
-
/** The studio's plan carries the Pro words
|
|
21141
|
-
*
|
|
21142
|
-
readonly pro
|
|
21297
|
+
/** The studio's plan carries the Pro words. Since AW-D42 every plan opens on its preloader; optional, kept so its
|
|
21298
|
+
* callers still read. */
|
|
21299
|
+
readonly pro?: boolean;
|
|
21143
21300
|
/** The visitor asked for reduced motion. */
|
|
21144
21301
|
readonly reducedMotion: boolean;
|
|
21145
21302
|
/** This is the session's first page in this tab, not reached from another page of the site (`isFirstVisit`). */
|
|
@@ -21220,5 +21377,5 @@ declare const CLOSE_WORDS: Readonly<Record<string, string>>;
|
|
|
21220
21377
|
/** "Close" in `lang` (its base language), else English. */
|
|
21221
21378
|
declare function closeWord(lang: string | null | undefined): string;
|
|
21222
21379
|
|
|
21223
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, CASELESS_LANGUAGES, CASELESS_SCRIPT_OVERRIDES, CLOSE_WORDS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FLOATING_BACKDROPS, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_MENU_OPEN_ATTRIBUTE, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderGround, HeaderInk, HeaderTrait, INHERITED_TEXT, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_GROUND_CLAUSES, OPENING_FOLLOWER_ROLE, OPENING_MEDIA_ATTRIBUTE, OPENING_SETTING, OVER_GROUNDS, OpeningMediaKind, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROUTE_PARAM_PREFIX, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, closeWord, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, fillRouteParams, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, openingMediaAttributes, openingMediaOf, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
21224
|
-
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BarNode, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ColumnId, ContrastFinding, CssFunctionControl, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, HeaderMoment, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OpeningMediaNode, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
21380
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAND_SURFACE_INK_TINT, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, CASELESS_LANGUAGES, CASELESS_SCRIPT_OVERRIDES, CLOSE_WORDS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FLOATING_BACKDROPS, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FloatingInkScope, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_INK_SCOPE, HEADER_MENU_OPEN_ATTRIBUTE, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderBrand, HeaderEdge, HeaderGround, HeaderInk, HeaderShape, HeaderTrait, INHERITED_TEXT, KEPT_HOVER_DL, KEPT_HOVER_DL_MAX, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuShows, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_GROUND_CLAUSES, OPENING_FOLLOWER_ROLE, OPENING_MEDIA_ATTRIBUTE, OPENING_SETTING, OVER_GROUNDS, OpeningMediaKind, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROUTE_PARAM_PREFIX, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, closeWord, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, fillRouteParams, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, floatingInkValue, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerBrandOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerShapeFloats, headerShapeOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, keptAccent, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, menuShowsOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, openingMediaAttributes, openingMediaOf, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preKeptSeedDesignTokenRows, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeOfGround, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
21381
|
+
export type { AccentBackgrounds, AccentDerivationOptions, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BarNode, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ColumnId, ContrastFinding, CssFunctionControl, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FloatingGround, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, HeaderInkScope, HeaderMoment, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OpeningMediaNode, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
@@ -366,6 +366,11 @@ const SERVER_ELEMENT_ACTION_TYPES = new Set(['sendEmail', 'callWebhook', 'create
|
|
|
366
366
|
/** The Tier-A behaviour executors' dispatch set (A1c) — the engines branch on it beside
|
|
367
367
|
* DIALOG/SWIPER. Dialog actions have their own set; context/visibility stay in the legacy path. */
|
|
368
368
|
const BEHAVIOUR_ACTION_TYPES = new Set(['navigate', 'scrollTo', 'submitForm', 'copyToClipboard']);
|
|
369
|
+
/** FV1b (footer `holds.top`): a `scrollTo` with no target — or `self` — scrolls the PAGE to its top. The live engine's
|
|
370
|
+
* rule since A1c; ONE rule both renderers ask (the canvas joins once it builds against this version). */
|
|
371
|
+
function scrollsToPageTop(action) {
|
|
372
|
+
return action.type === 'scrollTo' && (!action.target || action.target === 'self');
|
|
373
|
+
}
|
|
369
374
|
/** The toast action's dispatch set (premium M5) — the engines branch on it beside DIALOG / POPOVER. */
|
|
370
375
|
const TOAST_ACTION_TYPES = new Set(['showToast']);
|
|
371
376
|
/** The item actions' dispatch set (T14) and what each does to its item — the engines branch on it beside
|
|
@@ -848,5 +853,5 @@ function popupFadesOnly(level) {
|
|
|
848
853
|
* Generated bundle index. Do not edit.
|
|
849
854
|
*/
|
|
850
855
|
|
|
851
|
-
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, visitorDay };
|
|
856
|
+
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, scrollsToPageTop, visitorDay };
|
|
852
857
|
//# sourceMappingURL=vectoriox-iox-ui-actions-core.mjs.map
|