@vectoriox/iox-ui 5.81.0 → 5.82.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.
@@ -1087,7 +1087,7 @@ declare const SPEC_AXES: {
1087
1087
  readonly "ease-spring": "cubic-bezier(0.2, 0, 0, 1)";
1088
1088
  readonly "dur-spring": "140ms";
1089
1089
  readonly "hover-lift": "-2px";
1090
- readonly "press-scale": "1";
1090
+ readonly "press-scale": "0.97";
1091
1091
  };
1092
1092
  readonly standard: {
1093
1093
  readonly label: "Standard";
@@ -1109,7 +1109,7 @@ declare const SPEC_AXES: {
1109
1109
  readonly "ease-spring": "cubic-bezier(0.33, 0, 0.1, 1)";
1110
1110
  readonly "dur-spring": "400ms";
1111
1111
  readonly "hover-lift": "0px";
1112
- readonly "press-scale": "1";
1112
+ readonly "press-scale": "0.98";
1113
1113
  };
1114
1114
  readonly lively: {
1115
1115
  readonly label: "Lively";
@@ -2061,6 +2061,12 @@ declare const SPEC_A11Y: {
2061
2061
  readonly "surface-glass": "var(--iox-surface)";
2062
2062
  readonly "surface-glass-strong": "var(--iox-surface)";
2063
2063
  readonly "blur-surface": "none";
2064
+ readonly "button-secondary-backdrop": "none";
2065
+ readonly "card-backdrop": "none";
2066
+ readonly "nav-backdrop": "none";
2067
+ readonly "dialog-backdrop": "none";
2068
+ readonly "tabbar-backdrop": "none";
2069
+ readonly "segmented-track-backdrop": "none";
2064
2070
  };
2065
2071
  };
2066
2072
  declare const SPEC_ELEMENT_STYLES: readonly [{
@@ -5384,7 +5390,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
5384
5390
  readonly tier: "semantic";
5385
5391
  readonly type: "number";
5386
5392
  readonly group: "motion";
5387
- readonly value: "1";
5393
+ readonly value: "0.98";
5388
5394
  }, {
5389
5395
  readonly name: "button-font";
5390
5396
  readonly tier: "component";
@@ -11590,7 +11596,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
11590
11596
  readonly tier: "semantic";
11591
11597
  readonly type: "number";
11592
11598
  readonly group: "motion";
11593
- readonly value: "1";
11599
+ readonly value: "0.97";
11594
11600
  }, {
11595
11601
  readonly name: "button-font";
11596
11602
  readonly tier: "component";
@@ -11711,7 +11717,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
11711
11717
  readonly tier: "component";
11712
11718
  readonly type: "number";
11713
11719
  readonly group: "components";
11714
- readonly value: "1";
11720
+ readonly value: "0.97";
11715
11721
  readonly overridden: true;
11716
11722
  }, {
11717
11723
  readonly name: "button-press-radius";
@@ -13036,6 +13042,20 @@ declare function compileTokenCssBlocks(tokens: ReadonlyArray<DesignTokenLike> |
13036
13042
  /** One stylesheet string: base → schemes → reduced motion → reduced transparency → dark LAST. */
13037
13043
  declare function compileTokenCss(tokens: ReadonlyArray<DesignTokenLike> | null | undefined, opts?: TokenCssOptions): string;
13038
13044
 
13045
+ /** The token the browser's own chrome takes its colour from: the page's ground. */
13046
+ declare const THEME_COLOR_TOKEN = "bg";
13047
+ interface ThemeColors {
13048
+ light?: string;
13049
+ dark?: string;
13050
+ }
13051
+ /**
13052
+ * The `theme-color` the browser's chrome takes per colour scheme (premium components G15 — mobile-native M10): the
13053
+ * page's ground in each mode the site shows, resolved through the org's rows. A light or dark site answers its one
13054
+ * mode; `auto` answers both (the engine writes them with `media="(prefers-color-scheme: …)"`). A value that is not a
13055
+ * solid colour answers nothing — the browser keeps its own.
13056
+ */
13057
+ declare function themeColors(rows: ReadonlyArray<DesignTokenLike> | null | undefined, mode?: DesignMode | string | null | undefined): ThemeColors;
13058
+
13039
13059
  /**
13040
13060
  * Flavors v1 (flavors-and-theming-plan.md, F1–F2): a pack is its TOKENS plus the accent hue
13041
13061
  * opinion the brand derivation reads. The per-type `defaults` map and its resolvers are gone
@@ -13092,7 +13112,13 @@ declare enum ElementStyleState {
13092
13112
  Current = "current",
13093
13113
  /** A composite part that is ON — the active tab (CC4a "Active"): compiles to `[data-iox-on]`, the attribute every
13094
13114
  * composite runtime writes. */
13095
- On = "on"
13115
+ On = "on",
13116
+ /** G4 — compile through the style compiler's COMPONENT_STATE_SELECTOR: `:disabled` / aria-disabled, aria-busy,
13117
+ * pressed / checked / selected, the page scrolled. */
13118
+ Disabled = "disabled",
13119
+ Busy = "busy",
13120
+ Selected = "selected",
13121
+ Scrolled = "scrolled"
13096
13122
  }
13097
13123
  declare const ELEMENT_STYLE_STATES: ReadonlyArray<ElementStyleState>;
13098
13124
  interface ElementStyle {
@@ -13106,6 +13132,10 @@ interface ElementStyle {
13106
13132
  readonly focus?: Readonly<Record<string, string>>;
13107
13133
  readonly current?: Readonly<Record<string, string>>;
13108
13134
  readonly on?: Readonly<Record<string, string>>;
13135
+ readonly disabled?: Readonly<Record<string, string>>;
13136
+ readonly busy?: Readonly<Record<string, string>>;
13137
+ readonly selected?: Readonly<Record<string, string>>;
13138
+ readonly scrolled?: Readonly<Record<string, string>>;
13109
13139
  }
13110
13140
  declare const ELEMENT_STYLES: ReadonlyArray<ElementStyle>;
13111
13141
  /** Legacy `Button.variant` → the element style it maps to (adopt, DS7). */
@@ -13912,7 +13942,16 @@ interface StaggerSpec {
13912
13942
  readonly stagger?: number;
13913
13943
  readonly cap?: number;
13914
13944
  }
13915
- /** The delay of the `index`-th item: `stagger` ms each, the last `cap` waiting no longer than the one before. */
13945
+ /** Each gap is this much of the one before (G8 — Emil 66: a uniform stagger is a metronome; the delays shrink). */
13946
+ declare const STAGGER_SHRINK = 0.75;
13947
+ /** Only the first items stagger; the rest arrive with the sixth (Emil 67). */
13948
+ declare const STAGGER_MAX_ITEMS = 6;
13949
+ /**
13950
+ * The delay of the `index`-th item (G8): the first gap is `stagger` ms and every next one is `STAGGER_SHRINK` of the
13951
+ * one before, so the group lands together instead of ticking; items from the `cap`-th on (never past the sixth) arrive
13952
+ * with it. 80 ms → 0, 80, 140, 185, 219, 244. Static groups (their delays written at stamp time) and a Repeater's rows
13953
+ * (`entranceDelay`) read the same curve.
13954
+ */
13916
13955
  declare function staggerDelay(spec: StaggerSpec, index?: number): number;
13917
13956
  /** What an action carries, as both runtimes read it. */
13918
13957
  interface TimedAction {
@@ -14436,5 +14475,5 @@ declare function presetChoices(id: string, mode?: DesignMode): DesignChoices | n
14436
14475
  */
14437
14476
  declare function stylePresetOfChoices(choices: DesignChoices | null | undefined): StylePreset | undefined;
14438
14477
 
14439
- export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, 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, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
14440
- export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, 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, KeptEdit, LinearSpring, MissingFontRole, MoodId, MotionId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PresetMode, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions };
14478
+ export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, 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, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, 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, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
14479
+ export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, 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, KeptEdit, LinearSpring, MissingFontRole, MoodId, MotionId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PresetMode, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions };
@@ -1336,7 +1336,7 @@ const SPEC_AXES = {
1336
1336
  "ease-spring": "cubic-bezier(0.2, 0, 0, 1)",
1337
1337
  "dur-spring": "140ms",
1338
1338
  "hover-lift": "-2px",
1339
- "press-scale": "1"
1339
+ "press-scale": "0.97"
1340
1340
  },
1341
1341
  "standard": {
1342
1342
  "label": "Standard",
@@ -1358,7 +1358,7 @@ const SPEC_AXES = {
1358
1358
  "ease-spring": "cubic-bezier(0.33, 0, 0.1, 1)",
1359
1359
  "dur-spring": "400ms",
1360
1360
  "hover-lift": "0px",
1361
- "press-scale": "1"
1361
+ "press-scale": "0.98"
1362
1362
  },
1363
1363
  "lively": {
1364
1364
  "label": "Lively",
@@ -2606,7 +2606,13 @@ const SPEC_A11Y = {
2606
2606
  "reducedTransparency": {
2607
2607
  "surface-glass": "var(--iox-surface)",
2608
2608
  "surface-glass-strong": "var(--iox-surface)",
2609
- "blur-surface": "none"
2609
+ "blur-surface": "none",
2610
+ "button-secondary-backdrop": "none",
2611
+ "card-backdrop": "none",
2612
+ "nav-backdrop": "none",
2613
+ "dialog-backdrop": "none",
2614
+ "tabbar-backdrop": "none",
2615
+ "segmented-track-backdrop": "none"
2610
2616
  }
2611
2617
  };
2612
2618
  const SPEC_ELEMENT_STYLES = [
@@ -6537,7 +6543,7 @@ const SPEC_FLAVOR_PACKS = [
6537
6543
  "tier": "semantic",
6538
6544
  "type": "number",
6539
6545
  "group": "motion",
6540
- "value": "1"
6546
+ "value": "0.98"
6541
6547
  },
6542
6548
  {
6543
6549
  "name": "button-font",
@@ -13796,7 +13802,7 @@ const SPEC_FLAVOR_PACKS = [
13796
13802
  "tier": "semantic",
13797
13803
  "type": "number",
13798
13804
  "group": "motion",
13799
- "value": "1"
13805
+ "value": "0.97"
13800
13806
  },
13801
13807
  {
13802
13808
  "name": "button-font",
@@ -13936,7 +13942,7 @@ const SPEC_FLAVOR_PACKS = [
13936
13942
  "tier": "component",
13937
13943
  "type": "number",
13938
13944
  "group": "components",
13939
- "value": "1",
13945
+ "value": "0.97",
13940
13946
  "overridden": true
13941
13947
  },
13942
13948
  {
@@ -15187,8 +15193,17 @@ var ElementStyleState;
15187
15193
  /** A composite part that is ON — the active tab (CC4a "Active"): compiles to `[data-iox-on]`, the attribute every
15188
15194
  * composite runtime writes. */
15189
15195
  ElementStyleState["On"] = "on";
15196
+ /** G4 — compile through the style compiler's COMPONENT_STATE_SELECTOR: `:disabled` / aria-disabled, aria-busy,
15197
+ * pressed / checked / selected, the page scrolled. */
15198
+ ElementStyleState["Disabled"] = "disabled";
15199
+ ElementStyleState["Busy"] = "busy";
15200
+ ElementStyleState["Selected"] = "selected";
15201
+ ElementStyleState["Scrolled"] = "scrolled";
15190
15202
  })(ElementStyleState || (ElementStyleState = {}));
15191
- const ELEMENT_STYLE_STATES = [ElementStyleState.Hover, ElementStyleState.Active, ElementStyleState.Focus, ElementStyleState.Current, ElementStyleState.On];
15203
+ const ELEMENT_STYLE_STATES = [
15204
+ ElementStyleState.Hover, ElementStyleState.Active, ElementStyleState.Focus, ElementStyleState.Current, ElementStyleState.On,
15205
+ ElementStyleState.Disabled, ElementStyleState.Busy, ElementStyleState.Selected, ElementStyleState.Scrolled,
15206
+ ];
15192
15207
  const ELEMENT_STYLES = SPEC_ELEMENT_STYLES;
15193
15208
  /** Legacy `Button.variant` → the element style it maps to (adopt, DS7). */
15194
15209
  const BUTTON_VARIANT_TO_STYLE = SPEC_BUTTON_VARIANT_TO_STYLE;
@@ -15914,6 +15929,46 @@ function compileTokenCss(tokens, opts = {}) {
15914
15929
  return [base, dark].filter(Boolean).join('\n');
15915
15930
  }
15916
15931
 
15932
+ /** The token the browser's own chrome takes its colour from: the page's ground. */
15933
+ const THEME_COLOR_TOKEN = 'bg';
15934
+ const VAR_REF = /^var\(\s*--iox-([\w-]+)\s*(?:,\s*([^()]+))?\)$/;
15935
+ /** A colour the browser's chrome can wear: opaque hex, rgb() or hsl() — never a gradient, a mix or a translucent one. */
15936
+ const SOLID_COLOUR = /^(#([0-9a-f]{3}|[0-9a-f]{6})|rgb\(\s*[\d.]+\s*,?\s*[\d.]+\s*,?\s*[\d.]+\s*\)|hsl\([^()/]+\))$/i;
15937
+ function resolveIn$1(map, value, depth = 0) {
15938
+ if (!value || depth > 12)
15939
+ return undefined;
15940
+ const ref = VAR_REF.exec(value.trim());
15941
+ if (!ref)
15942
+ return value.trim();
15943
+ return resolveIn$1(map, map.get(ref[1]) ?? ref[2]?.trim(), depth + 1);
15944
+ }
15945
+ function colourFor(rows, dark) {
15946
+ const map = new Map(rows.map(r => [r.name, dark ? (r.values?.dark ?? r.value) : r.value]));
15947
+ const colour = resolveIn$1(map, map.get(THEME_COLOR_TOKEN));
15948
+ return colour && SOLID_COLOUR.test(colour) ? colour : undefined;
15949
+ }
15950
+ /**
15951
+ * The `theme-color` the browser's chrome takes per colour scheme (premium components G15 — mobile-native M10): the
15952
+ * page's ground in each mode the site shows, resolved through the org's rows. A light or dark site answers its one
15953
+ * mode; `auto` answers both (the engine writes them with `media="(prefers-color-scheme: …)"`). A value that is not a
15954
+ * solid colour answers nothing — the browser keeps its own.
15955
+ */
15956
+ function themeColors(rows, mode = 'auto') {
15957
+ const list = rows ?? [];
15958
+ const out = {};
15959
+ if (mode !== 'dark') {
15960
+ const light = colourFor(list, false);
15961
+ if (light)
15962
+ out.light = light;
15963
+ }
15964
+ if (mode !== 'light') {
15965
+ const dark = colourFor(list, true);
15966
+ if (dark)
15967
+ out.dark = dark;
15968
+ }
15969
+ return out;
15970
+ }
15971
+
15917
15972
  /** A pack's own sanity: every token row names itself and carries a value. Returns errors. */
15918
15973
  function validateFlavorPack(pack) {
15919
15974
  const errors = [];
@@ -17995,14 +18050,24 @@ var EntranceParam;
17995
18050
  })(EntranceParam || (EntranceParam = {}));
17996
18051
  /** The row attribute both renderers write on a repeated row (its 0-based index in the source) — the ONE definition. */
17997
18052
  const ROW_INDEX_ATTRIBUTE = 'data-iox-row-idx';
17998
- /** The delay of the `index`-th item: `stagger` ms each, the last `cap` waiting no longer than the one before. */
18053
+ /** Each gap is this much of the one before (G8 — Emil 66: a uniform stagger is a metronome; the delays shrink). */
18054
+ const STAGGER_SHRINK = 0.75;
18055
+ /** Only the first items stagger; the rest arrive with the sixth (Emil 67). */
18056
+ const STAGGER_MAX_ITEMS = 6;
18057
+ /**
18058
+ * The delay of the `index`-th item (G8): the first gap is `stagger` ms and every next one is `STAGGER_SHRINK` of the
18059
+ * one before, so the group lands together instead of ticking; items from the `cap`-th on (never past the sixth) arrive
18060
+ * with it. 80 ms → 0, 80, 140, 185, 219, 244. Static groups (their delays written at stamp time) and a Repeater's rows
18061
+ * (`entranceDelay`) read the same curve.
18062
+ */
17999
18063
  function staggerDelay(spec, index = 0) {
18000
18064
  const stagger = Number(spec.stagger ?? 0);
18001
18065
  if (!(stagger > 0))
18002
18066
  return 0;
18003
- const cap = Math.max(1, Math.floor(Number(spec.cap ?? 1)) || 1);
18067
+ const cap = Math.min(STAGGER_MAX_ITEMS, Math.max(1, Math.floor(Number(spec.cap ?? 1)) || 1));
18004
18068
  const i = Number.isFinite(index) ? Math.max(0, Math.floor(index)) : 0;
18005
- return Math.min(i, cap - 1) * stagger;
18069
+ const steps = Math.min(i, cap - 1);
18070
+ return Math.round(stagger * (1 - STAGGER_SHRINK ** steps) / (1 - STAGGER_SHRINK));
18006
18071
  }
18007
18072
  /**
18008
18073
  * The delay an action plays with on the row at `rowIndex`: its own delay, plus — when it carries a stagger — that row's
@@ -18553,5 +18618,5 @@ function stylePresetOfChoices(choices) {
18553
18618
  * Generated bundle index. Do not edit.
18554
18619
  */
18555
18620
 
18556
- export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, 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, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
18621
+ export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, 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, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, 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, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
18557
18622
  //# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map