@vectoriox/iox-ui 5.165.0 → 5.166.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/design-core/index.d.ts +112 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +133 -5
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +482 -88
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +261 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +3 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +406 -225
- package/harness-core/index.d.ts +192 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
- package/src/design-core/flavor-spec.generated.ts +98 -0
- package/src/design-core/footer-classes.ts +38 -0
- package/src/design-core/node-classes.ts +3 -2
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/compose-site.ts +34 -6
- package/src/generation-core/footer-mix.ts +292 -34
- package/src/generation-core/node-baselines.generated.ts +14 -1
- package/src/generation-core/patterns.ts +4 -1
- package/src/generation-core/site-spec.generated.ts +173 -45
- package/src/harness-core/business-types.ts +12 -0
- package/src/harness-core/harness-spec.generated.ts +261 -0
- package/styles/iox-design.css +99 -0
package/design-core/index.d.ts
CHANGED
|
@@ -684,6 +684,10 @@ declare const SPEC_TIERS: {
|
|
|
684
684
|
readonly name: "list-rise";
|
|
685
685
|
readonly type: "size";
|
|
686
686
|
readonly default: "-10px";
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "footer-name-cut";
|
|
689
|
+
readonly type: "size";
|
|
690
|
+
readonly default: "0.12em";
|
|
687
691
|
}, {
|
|
688
692
|
readonly name: "list-fan-step";
|
|
689
693
|
readonly type: "number";
|
|
@@ -3678,6 +3682,51 @@ declare const SPEC_ELEMENT_STYLES: readonly [{
|
|
|
3678
3682
|
readonly textDecoration: "var(--iox-link-current-decoration)";
|
|
3679
3683
|
readonly fontWeight: "var(--iox-weight-strong)";
|
|
3680
3684
|
};
|
|
3685
|
+
}, {
|
|
3686
|
+
readonly id: "link-large";
|
|
3687
|
+
readonly label: "Large link";
|
|
3688
|
+
readonly group: "Text";
|
|
3689
|
+
readonly appliesTo: readonly ["Link"];
|
|
3690
|
+
readonly base: {
|
|
3691
|
+
readonly fontFamily: "var(--iox-font-display)";
|
|
3692
|
+
readonly fontSize: "var(--iox-size-h3)";
|
|
3693
|
+
readonly fontWeight: "var(--iox-weight-heading)";
|
|
3694
|
+
readonly lineHeight: "var(--iox-leading-heading)";
|
|
3695
|
+
readonly letterSpacing: "var(--iox-tracking-display)";
|
|
3696
|
+
readonly color: "var(--iox-link-color)";
|
|
3697
|
+
readonly textDecoration: "none";
|
|
3698
|
+
readonly transitionDuration: "var(--iox-dur-fast)";
|
|
3699
|
+
readonly transitionTimingFunction: "var(--iox-ease-standard)";
|
|
3700
|
+
};
|
|
3701
|
+
readonly hover: {
|
|
3702
|
+
readonly color: "var(--iox-link-hover-color)";
|
|
3703
|
+
};
|
|
3704
|
+
readonly current: {
|
|
3705
|
+
readonly color: "var(--iox-link-current-color)";
|
|
3706
|
+
readonly textDecoration: "none";
|
|
3707
|
+
};
|
|
3708
|
+
}, {
|
|
3709
|
+
readonly id: "link-display";
|
|
3710
|
+
readonly label: "Display link";
|
|
3711
|
+
readonly group: "Text";
|
|
3712
|
+
readonly appliesTo: readonly ["Link"];
|
|
3713
|
+
readonly base: {
|
|
3714
|
+
readonly fontFamily: "var(--iox-font-display)";
|
|
3715
|
+
readonly fontWeight: "var(--iox-weight-display)";
|
|
3716
|
+
readonly lineHeight: "var(--iox-leading-display)";
|
|
3717
|
+
readonly letterSpacing: "var(--iox-tracking-display)";
|
|
3718
|
+
readonly color: "var(--iox-link-color)";
|
|
3719
|
+
readonly textDecoration: "none";
|
|
3720
|
+
readonly transitionDuration: "var(--iox-dur-fast)";
|
|
3721
|
+
readonly transitionTimingFunction: "var(--iox-ease-standard)";
|
|
3722
|
+
};
|
|
3723
|
+
readonly hover: {
|
|
3724
|
+
readonly color: "var(--iox-link-hover-color)";
|
|
3725
|
+
};
|
|
3726
|
+
readonly current: {
|
|
3727
|
+
readonly color: "var(--iox-accent-text)";
|
|
3728
|
+
readonly textDecoration: "none";
|
|
3729
|
+
};
|
|
3681
3730
|
}, {
|
|
3682
3731
|
readonly id: "button-label";
|
|
3683
3732
|
readonly label: "Button label";
|
|
@@ -6167,6 +6216,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6167
6216
|
readonly type: "size";
|
|
6168
6217
|
readonly group: "components";
|
|
6169
6218
|
readonly value: "-10px";
|
|
6219
|
+
}, {
|
|
6220
|
+
readonly name: "footer-name-cut";
|
|
6221
|
+
readonly tier: "component";
|
|
6222
|
+
readonly type: "size";
|
|
6223
|
+
readonly group: "components";
|
|
6224
|
+
readonly value: "0.12em";
|
|
6170
6225
|
}, {
|
|
6171
6226
|
readonly name: "list-fan-step";
|
|
6172
6227
|
readonly tier: "component";
|
|
@@ -8262,6 +8317,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
8262
8317
|
readonly type: "size";
|
|
8263
8318
|
readonly group: "components";
|
|
8264
8319
|
readonly value: "-10px";
|
|
8320
|
+
}, {
|
|
8321
|
+
readonly name: "footer-name-cut";
|
|
8322
|
+
readonly tier: "component";
|
|
8323
|
+
readonly type: "size";
|
|
8324
|
+
readonly group: "components";
|
|
8325
|
+
readonly value: "0.12em";
|
|
8265
8326
|
}, {
|
|
8266
8327
|
readonly name: "list-fan-step";
|
|
8267
8328
|
readonly tier: "component";
|
|
@@ -10365,6 +10426,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
10365
10426
|
readonly type: "size";
|
|
10366
10427
|
readonly group: "components";
|
|
10367
10428
|
readonly value: "-10px";
|
|
10429
|
+
}, {
|
|
10430
|
+
readonly name: "footer-name-cut";
|
|
10431
|
+
readonly tier: "component";
|
|
10432
|
+
readonly type: "size";
|
|
10433
|
+
readonly group: "components";
|
|
10434
|
+
readonly value: "0.12em";
|
|
10368
10435
|
}, {
|
|
10369
10436
|
readonly name: "list-fan-step";
|
|
10370
10437
|
readonly tier: "component";
|
|
@@ -12481,6 +12548,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
12481
12548
|
readonly type: "size";
|
|
12482
12549
|
readonly group: "components";
|
|
12483
12550
|
readonly value: "-10px";
|
|
12551
|
+
}, {
|
|
12552
|
+
readonly name: "footer-name-cut";
|
|
12553
|
+
readonly tier: "component";
|
|
12554
|
+
readonly type: "size";
|
|
12555
|
+
readonly group: "components";
|
|
12556
|
+
readonly value: "0.12em";
|
|
12484
12557
|
}, {
|
|
12485
12558
|
readonly name: "list-fan-step";
|
|
12486
12559
|
readonly tier: "component";
|
|
@@ -14602,6 +14675,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
14602
14675
|
readonly type: "size";
|
|
14603
14676
|
readonly group: "components";
|
|
14604
14677
|
readonly value: "-10px";
|
|
14678
|
+
}, {
|
|
14679
|
+
readonly name: "footer-name-cut";
|
|
14680
|
+
readonly tier: "component";
|
|
14681
|
+
readonly type: "size";
|
|
14682
|
+
readonly group: "components";
|
|
14683
|
+
readonly value: "0.12em";
|
|
14605
14684
|
}, {
|
|
14606
14685
|
readonly name: "list-fan-step";
|
|
14607
14686
|
readonly tier: "component";
|
|
@@ -16708,6 +16787,12 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
16708
16787
|
readonly type: "size";
|
|
16709
16788
|
readonly group: "components";
|
|
16710
16789
|
readonly value: "-10px";
|
|
16790
|
+
}, {
|
|
16791
|
+
readonly name: "footer-name-cut";
|
|
16792
|
+
readonly tier: "component";
|
|
16793
|
+
readonly type: "size";
|
|
16794
|
+
readonly group: "components";
|
|
16795
|
+
readonly value: "0.12em";
|
|
16711
16796
|
}, {
|
|
16712
16797
|
readonly name: "list-fan-step";
|
|
16713
16798
|
readonly tier: "component";
|
|
@@ -19287,6 +19372,32 @@ declare function listMixClasses(node: ListMixSource | null | undefined): string;
|
|
|
19287
19372
|
/** True for a class this module writes. */
|
|
19288
19373
|
declare function isListMixClass(c: string): boolean;
|
|
19289
19374
|
|
|
19375
|
+
/**
|
|
19376
|
+
* A COMPOSED FOOTER'S MIX ON ITS ROOT (award-ingredients-plan §7.1g AW12, board award-footer): the words a footer was
|
|
19377
|
+
* composed as ride on its Section as ONE prop, `footerMix` (`arrange:ruled closing:name-and-action ground:inset
|
|
19378
|
+
* nameStyle:gradient`, the wire's words — generation-core `stampFooterMix`), and become marker classes —
|
|
19379
|
+
* `iox-footer-arrange-ruled`, `iox-footer-namestyle-gradient` — that the shared iox-design.css draws (the ruled cells'
|
|
19380
|
+
* hairlines, the name's cut and style, the large links' arrow). The same decision in all three render paths
|
|
19381
|
+
* (`nodeDesignClasses`), so the canvas, both engine paths and the raw SSR agree. Pure.
|
|
19382
|
+
*/
|
|
19383
|
+
/** The prop (a Section's trait) the mix is stored under — generation-core `FOOTER_MIX_PROP`. */
|
|
19384
|
+
declare const FOOTER_MIX_PROP = "footerMix";
|
|
19385
|
+
/** Every class a mix writes starts with this — what a live re-sync removes. */
|
|
19386
|
+
declare const FOOTER_CLASS_PREFIX = "iox-footer-";
|
|
19387
|
+
interface FooterMixSource {
|
|
19388
|
+
props?: Readonly<Record<string, unknown>> | null;
|
|
19389
|
+
traits?: ReadonlyArray<{
|
|
19390
|
+
name?: string;
|
|
19391
|
+
default?: unknown;
|
|
19392
|
+
}> | null;
|
|
19393
|
+
}
|
|
19394
|
+
/** The stored mix's words (`arrange:ruled`), from `props` (saved) or the trait (builder); [] for none. */
|
|
19395
|
+
declare function footerMixWordsOf(node: FooterMixSource | null | undefined): string[];
|
|
19396
|
+
/** The marker classes a footer root renders (`iox-footer-arrange-ruled iox-footer-namestyle-gradient`), or ''. */
|
|
19397
|
+
declare function footerMixClasses(node: FooterMixSource | null | undefined): string;
|
|
19398
|
+
/** True for a class this module writes. */
|
|
19399
|
+
declare function isFooterMixClass(c: string): boolean;
|
|
19400
|
+
|
|
19290
19401
|
/**
|
|
19291
19402
|
* THE INK ON AN ITEM'S OWN GROUND (award-ingredients-plan §7.1f, AW11-D10, R-H-AW11-6): a colour block's ground is the
|
|
19292
19403
|
* item's own colour (its `colour` field) — chosen by its owner, not the look — so the words on it are chosen when the
|
|
@@ -20615,5 +20726,5 @@ declare const isScrubId: (v: unknown) => v is `${ScrubId}`;
|
|
|
20615
20726
|
/** The look's scrub as stored: a known word, else never (a row stored before AW10 reads never). */
|
|
20616
20727
|
declare function scrubOfChoices(choices: Pick<DesignChoices, 'scrub'> | null | undefined): ScrubId;
|
|
20617
20728
|
|
|
20618
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, 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, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, 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, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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, 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, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, 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, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, sameDesignChoices, schemeOfClasses, 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 };
|
|
20729
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, 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, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, 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, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIX_PROP, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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, 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, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, 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, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, sameDesignChoices, schemeOfClasses, 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 };
|
|
20619
20730
|
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, 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, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, 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 };
|
|
@@ -838,6 +838,11 @@ const SPEC_TIERS = {
|
|
|
838
838
|
"type": "size",
|
|
839
839
|
"default": "-10px"
|
|
840
840
|
},
|
|
841
|
+
{
|
|
842
|
+
"name": "footer-name-cut",
|
|
843
|
+
"type": "size",
|
|
844
|
+
"default": "0.12em"
|
|
845
|
+
},
|
|
841
846
|
{
|
|
842
847
|
"name": "list-fan-step",
|
|
843
848
|
"type": "number",
|
|
@@ -4404,6 +4409,57 @@ const SPEC_ELEMENT_STYLES = [
|
|
|
4404
4409
|
"fontWeight": "var(--iox-weight-strong)"
|
|
4405
4410
|
}
|
|
4406
4411
|
},
|
|
4412
|
+
{
|
|
4413
|
+
"id": "link-large",
|
|
4414
|
+
"label": "Large link",
|
|
4415
|
+
"group": "Text",
|
|
4416
|
+
"appliesTo": [
|
|
4417
|
+
"Link"
|
|
4418
|
+
],
|
|
4419
|
+
"base": {
|
|
4420
|
+
"fontFamily": "var(--iox-font-display)",
|
|
4421
|
+
"fontSize": "var(--iox-size-h3)",
|
|
4422
|
+
"fontWeight": "var(--iox-weight-heading)",
|
|
4423
|
+
"lineHeight": "var(--iox-leading-heading)",
|
|
4424
|
+
"letterSpacing": "var(--iox-tracking-display)",
|
|
4425
|
+
"color": "var(--iox-link-color)",
|
|
4426
|
+
"textDecoration": "none",
|
|
4427
|
+
"transitionDuration": "var(--iox-dur-fast)",
|
|
4428
|
+
"transitionTimingFunction": "var(--iox-ease-standard)"
|
|
4429
|
+
},
|
|
4430
|
+
"hover": {
|
|
4431
|
+
"color": "var(--iox-link-hover-color)"
|
|
4432
|
+
},
|
|
4433
|
+
"current": {
|
|
4434
|
+
"color": "var(--iox-link-current-color)",
|
|
4435
|
+
"textDecoration": "none"
|
|
4436
|
+
}
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
"id": "link-display",
|
|
4440
|
+
"label": "Display link",
|
|
4441
|
+
"group": "Text",
|
|
4442
|
+
"appliesTo": [
|
|
4443
|
+
"Link"
|
|
4444
|
+
],
|
|
4445
|
+
"base": {
|
|
4446
|
+
"fontFamily": "var(--iox-font-display)",
|
|
4447
|
+
"fontWeight": "var(--iox-weight-display)",
|
|
4448
|
+
"lineHeight": "var(--iox-leading-display)",
|
|
4449
|
+
"letterSpacing": "var(--iox-tracking-display)",
|
|
4450
|
+
"color": "var(--iox-link-color)",
|
|
4451
|
+
"textDecoration": "none",
|
|
4452
|
+
"transitionDuration": "var(--iox-dur-fast)",
|
|
4453
|
+
"transitionTimingFunction": "var(--iox-ease-standard)"
|
|
4454
|
+
},
|
|
4455
|
+
"hover": {
|
|
4456
|
+
"color": "var(--iox-link-hover-color)"
|
|
4457
|
+
},
|
|
4458
|
+
"current": {
|
|
4459
|
+
"color": "var(--iox-accent-text)",
|
|
4460
|
+
"textDecoration": "none"
|
|
4461
|
+
}
|
|
4462
|
+
},
|
|
4407
4463
|
{
|
|
4408
4464
|
"id": "button-label",
|
|
4409
4465
|
"label": "Button label",
|
|
@@ -7315,6 +7371,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
7315
7371
|
"group": "components",
|
|
7316
7372
|
"value": "-10px"
|
|
7317
7373
|
},
|
|
7374
|
+
{
|
|
7375
|
+
"name": "footer-name-cut",
|
|
7376
|
+
"tier": "component",
|
|
7377
|
+
"type": "size",
|
|
7378
|
+
"group": "components",
|
|
7379
|
+
"value": "0.12em"
|
|
7380
|
+
},
|
|
7318
7381
|
{
|
|
7319
7382
|
"name": "list-fan-step",
|
|
7320
7383
|
"tier": "component",
|
|
@@ -9767,6 +9830,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
9767
9830
|
"group": "components",
|
|
9768
9831
|
"value": "-10px"
|
|
9769
9832
|
},
|
|
9833
|
+
{
|
|
9834
|
+
"name": "footer-name-cut",
|
|
9835
|
+
"tier": "component",
|
|
9836
|
+
"type": "size",
|
|
9837
|
+
"group": "components",
|
|
9838
|
+
"value": "0.12em"
|
|
9839
|
+
},
|
|
9770
9840
|
{
|
|
9771
9841
|
"name": "list-fan-step",
|
|
9772
9842
|
"tier": "component",
|
|
@@ -12229,6 +12299,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
12229
12299
|
"group": "components",
|
|
12230
12300
|
"value": "-10px"
|
|
12231
12301
|
},
|
|
12302
|
+
{
|
|
12303
|
+
"name": "footer-name-cut",
|
|
12304
|
+
"tier": "component",
|
|
12305
|
+
"type": "size",
|
|
12306
|
+
"group": "components",
|
|
12307
|
+
"value": "0.12em"
|
|
12308
|
+
},
|
|
12232
12309
|
{
|
|
12233
12310
|
"name": "list-fan-step",
|
|
12234
12311
|
"tier": "component",
|
|
@@ -14703,6 +14780,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
14703
14780
|
"group": "components",
|
|
14704
14781
|
"value": "-10px"
|
|
14705
14782
|
},
|
|
14783
|
+
{
|
|
14784
|
+
"name": "footer-name-cut",
|
|
14785
|
+
"tier": "component",
|
|
14786
|
+
"type": "size",
|
|
14787
|
+
"group": "components",
|
|
14788
|
+
"value": "0.12em"
|
|
14789
|
+
},
|
|
14706
14790
|
{
|
|
14707
14791
|
"name": "list-fan-step",
|
|
14708
14792
|
"tier": "component",
|
|
@@ -17180,6 +17264,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
17180
17264
|
"group": "components",
|
|
17181
17265
|
"value": "-10px"
|
|
17182
17266
|
},
|
|
17267
|
+
{
|
|
17268
|
+
"name": "footer-name-cut",
|
|
17269
|
+
"tier": "component",
|
|
17270
|
+
"type": "size",
|
|
17271
|
+
"group": "components",
|
|
17272
|
+
"value": "0.12em"
|
|
17273
|
+
},
|
|
17183
17274
|
{
|
|
17184
17275
|
"name": "list-fan-step",
|
|
17185
17276
|
"tier": "component",
|
|
@@ -19638,6 +19729,13 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
19638
19729
|
"group": "components",
|
|
19639
19730
|
"value": "-10px"
|
|
19640
19731
|
},
|
|
19732
|
+
{
|
|
19733
|
+
"name": "footer-name-cut",
|
|
19734
|
+
"tier": "component",
|
|
19735
|
+
"type": "size",
|
|
19736
|
+
"group": "components",
|
|
19737
|
+
"value": "0.12em"
|
|
19738
|
+
},
|
|
19641
19739
|
{
|
|
19642
19740
|
"name": "list-fan-step",
|
|
19643
19741
|
"tier": "component",
|
|
@@ -21595,14 +21693,14 @@ const LIST_MIX_PROP = 'listMix';
|
|
|
21595
21693
|
const LIST_CLASS_PREFIX = 'iox-list-';
|
|
21596
21694
|
/** Beside a mix's classes on a right-to-left frame: the leaning and fanning turn the other way. */
|
|
21597
21695
|
const LIST_MIRRORED_CLASS = 'iox-list-mirrored';
|
|
21598
|
-
const WORD = /^[a-z]+:[a-z0-9-]+$/;
|
|
21696
|
+
const WORD$1 = /^[a-z]+:[a-z0-9-]+$/;
|
|
21599
21697
|
/** The stored mix's words (`item:packshot`), from `props` (saved) or the trait (builder); [] for none. */
|
|
21600
21698
|
function listMixWordsOf(node) {
|
|
21601
21699
|
if (!node)
|
|
21602
21700
|
return [];
|
|
21603
21701
|
const raw = node.props?.[LIST_MIX_PROP] ?? node.traits?.find(t => t?.name === LIST_MIX_PROP)?.default;
|
|
21604
21702
|
const words = Array.isArray(raw) ? raw : typeof raw === 'string' ? raw.split(/\s+/) : [];
|
|
21605
|
-
return words.filter((w) => typeof w === 'string' && WORD.test(w));
|
|
21703
|
+
return words.filter((w) => typeof w === 'string' && WORD$1.test(w));
|
|
21606
21704
|
}
|
|
21607
21705
|
/** The marker classes a list frame renders (`iox-list-arrange-hang iox-list-hover-swap`, + `iox-list-mirrored` on a
|
|
21608
21706
|
* right-to-left frame), or '' for a frame with no mix. */
|
|
@@ -21617,6 +21715,36 @@ function isListMixClass(c) {
|
|
|
21617
21715
|
return c.startsWith(LIST_CLASS_PREFIX);
|
|
21618
21716
|
}
|
|
21619
21717
|
|
|
21718
|
+
/**
|
|
21719
|
+
* A COMPOSED FOOTER'S MIX ON ITS ROOT (award-ingredients-plan §7.1g AW12, board award-footer): the words a footer was
|
|
21720
|
+
* composed as ride on its Section as ONE prop, `footerMix` (`arrange:ruled closing:name-and-action ground:inset
|
|
21721
|
+
* nameStyle:gradient`, the wire's words — generation-core `stampFooterMix`), and become marker classes —
|
|
21722
|
+
* `iox-footer-arrange-ruled`, `iox-footer-namestyle-gradient` — that the shared iox-design.css draws (the ruled cells'
|
|
21723
|
+
* hairlines, the name's cut and style, the large links' arrow). The same decision in all three render paths
|
|
21724
|
+
* (`nodeDesignClasses`), so the canvas, both engine paths and the raw SSR agree. Pure.
|
|
21725
|
+
*/
|
|
21726
|
+
/** The prop (a Section's trait) the mix is stored under — generation-core `FOOTER_MIX_PROP`. */
|
|
21727
|
+
const FOOTER_MIX_PROP = 'footerMix';
|
|
21728
|
+
/** Every class a mix writes starts with this — what a live re-sync removes. */
|
|
21729
|
+
const FOOTER_CLASS_PREFIX = 'iox-footer-';
|
|
21730
|
+
const WORD = /^[a-zA-Z]+:[a-z0-9-]+$/;
|
|
21731
|
+
/** The stored mix's words (`arrange:ruled`), from `props` (saved) or the trait (builder); [] for none. */
|
|
21732
|
+
function footerMixWordsOf(node) {
|
|
21733
|
+
if (!node)
|
|
21734
|
+
return [];
|
|
21735
|
+
const raw = node.props?.[FOOTER_MIX_PROP] ?? node.traits?.find(t => t?.name === FOOTER_MIX_PROP)?.default;
|
|
21736
|
+
const words = Array.isArray(raw) ? raw : typeof raw === 'string' ? raw.split(/\s+/) : [];
|
|
21737
|
+
return words.filter((w) => typeof w === 'string' && WORD.test(w));
|
|
21738
|
+
}
|
|
21739
|
+
/** The marker classes a footer root renders (`iox-footer-arrange-ruled iox-footer-namestyle-gradient`), or ''. */
|
|
21740
|
+
function footerMixClasses(node) {
|
|
21741
|
+
return [...new Set(footerMixWordsOf(node))].map(w => `${FOOTER_CLASS_PREFIX}${w.replace(':', '-').toLowerCase()}`).join(' ');
|
|
21742
|
+
}
|
|
21743
|
+
/** True for a class this module writes. */
|
|
21744
|
+
function isFooterMixClass(c) {
|
|
21745
|
+
return c.startsWith(FOOTER_CLASS_PREFIX);
|
|
21746
|
+
}
|
|
21747
|
+
|
|
21620
21748
|
/**
|
|
21621
21749
|
* A section's EDGE into the section above it, and its SHAPE (award-ingredients plan §7.1d, AW6 — board award-body,
|
|
21622
21750
|
* AW6-D1…D11). Two content traits on a Section, edited in Bindings ▸ Section edge and stamped by the composer, and ONE
|
|
@@ -22054,11 +22182,11 @@ function hasElementStyleMarker(node) {
|
|
|
22054
22182
|
function nodeDesignClasses(node) {
|
|
22055
22183
|
const marker = elementStyleClass(node?.elementStyle);
|
|
22056
22184
|
return [marker ? `${ELEMENT_STYLE_MARKER_CLASS} ${marker}` : '', colorSchemeClass(colorSchemeOf(node)) ?? '', roleClass(node?.role) ?? '', barReserveClass(node) ?? '',
|
|
22057
|
-
sectionDesignClasses(node), listMixClasses(node)]
|
|
22185
|
+
sectionDesignClasses(node), listMixClasses(node), footerMixClasses(node)]
|
|
22058
22186
|
.filter(Boolean).join(' ');
|
|
22059
22187
|
}
|
|
22060
22188
|
const isDesignClass = (c) => c === ELEMENT_STYLE_MARKER_CLASS || c.startsWith(MARKER_PREFIX) || c.startsWith(SCHEME_PREFIX) || c.startsWith(ROLE_PREFIX) || c.startsWith(BAR_RESERVE_CLASS)
|
|
22061
|
-
|| isSectionDesignClass(c) || isListMixClass(c);
|
|
22189
|
+
|| isSectionDesignClass(c) || isListMixClass(c) || isFooterMixClass(c);
|
|
22062
22190
|
/** Make an element's design classes match the node — the live switch on the canvas and the
|
|
22063
22191
|
* component path's one-time stamp. Removes stale ones; touches no other class. */
|
|
22064
22192
|
function syncNodeDesignClasses(el, node) {
|
|
@@ -26037,5 +26165,5 @@ function designPreloaderOf(config) {
|
|
|
26037
26165
|
* Generated bundle index. Do not edit.
|
|
26038
26166
|
*/
|
|
26039
26167
|
|
|
26040
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, 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, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, 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, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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, 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, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, 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, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, sameDesignChoices, schemeOfClasses, 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 };
|
|
26168
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, 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, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, 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, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIX_PROP, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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, 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, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, 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, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, sameDesignChoices, schemeOfClasses, 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 };
|
|
26041
26169
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|