@vectoriox/iox-ui 5.22.0 → 5.23.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.
@@ -8758,7 +8758,12 @@ interface FlavorRevertSnapshot {
8758
8758
  brandSeed: string | null;
8759
8759
  };
8760
8760
  tokens: Array<Pick<DesignTokenRow, 'name' | 'type' | 'value' | 'values' | 'source' | 'group' | 'tier'>>;
8761
+ /** What the apply left in every row it wrote (`flavorSeedWrites`). A row holding something else
8762
+ * since, as the author's (`source: user`), was edited AFTER the apply — the revert keeps it. */
8763
+ wrote?: FlavorRevertWrite[];
8761
8764
  }
8765
+ /** One row as an apply left it — the value and dark half the revert compares a live row against. */
8766
+ type FlavorRevertWrite = Pick<DesignTokenRow, 'name' | 'value' | 'values'>;
8762
8767
  interface FlavorRevertPlan {
8763
8768
  create: DesignTokenRow[];
8764
8769
  update: Array<{
@@ -8767,17 +8772,25 @@ interface FlavorRevertPlan {
8767
8772
  }>;
8768
8773
  /** Rows the apply created (flavor-stamped, absent from the snapshot) — removed on revert. */
8769
8774
  remove: string[];
8775
+ /** The author's edits made after the apply, left as they are (names) — what the Revert hint counts. */
8776
+ kept: string[];
8770
8777
  }
8771
8778
  declare const REVERT_WINDOW_MS: number;
8772
8779
  /** Board F7's footer promise, as a boundary: available through the 7th day, not beyond. */
8773
8780
  declare function revertAvailable(appliedAt: number | null | undefined, now: number): boolean;
8774
8781
  /**
8775
- * Restore the snapshot EXACTLY: snapshot rows come back to their stored value/dark/source
8776
- * (update when present, recreate when deleted); rows the apply CREATED (flavor-stamped and
8777
- * absent from the snapshot) are removed. Hand-made rows born after the apply are not ours
8778
- * to touch — a revert undoes the FLAVOR, not the author's week.
8782
+ * Restore the snapshot: snapshot rows come back to their stored value/dark/source (update when
8783
+ * present, recreate when deleted); rows the apply CREATED (flavor-stamped and absent from the
8784
+ * snapshot) are removed. A revert undoes the FLAVOR, not the author's week: hand-made rows born after
8785
+ * the apply are not touched, and a row the author EDITED after the apply is kept (DS8: an edit makes
8786
+ * the row the author's, and a pack switch keeps it — so does going back). Edited-after = `source: user`,
8787
+ * differing from the snapshot, and holding something other than what the apply wrote (`wrote` — the
8788
+ * apply's own author rows, a chosen font or an Element-styles edit, still go back with it). With no
8789
+ * `wrote` at all, every author row that differs from the snapshot is judged edited after.
8779
8790
  */
8780
- declare function planFlavorRevert(current: ReadonlyArray<StoredDesignTokenRow>, snapshot: FlavorRevertSnapshot['tokens']): FlavorRevertPlan;
8791
+ declare function planFlavorRevert(current: ReadonlyArray<StoredDesignTokenRow>, snapshot: FlavorRevertSnapshot['tokens'], wrote?: ReadonlyArray<FlavorRevertWrite> | null): FlavorRevertPlan;
8792
+ /** What a seed plan leaves in each row it writes, by name — the snapshot's `wrote`. */
8793
+ declare function flavorSeedWrites(plan: FlavorSeedPlan, existing: ReadonlyArray<StoredDesignTokenRow>): FlavorRevertWrite[];
8781
8794
  /** What a previous seed wrote for one row — the "untouched" comparison base. */
8782
8795
  interface SeedExpectation {
8783
8796
  value: string;
@@ -9117,6 +9130,14 @@ declare function designTokenRows(choices: DesignChoices): DesignTokenRow[];
9117
9130
  declare function designBaseline(previous: StoredDesign): SeedBaseline;
9118
9131
  /** Apply `next` over the org's rows, judged against `previous` — the plan FlavorApplyService runs. */
9119
9132
  declare function planDesignApply(existing: ReadonlyArray<StoredDesignTokenRow>, previous: StoredDesign, next: DesignChoices): FlavorSeedPlan;
9133
+ /**
9134
+ * "Revert to previous look" over the org's rows — the ONE plan the Revert executes and its hint counts
9135
+ * (`kept`: the author's edits since the apply, left as they are). The apply's record of what it wrote
9136
+ * decides what an edit since is; a snapshot stored before that record existed (DS8.1) is judged against
9137
+ * the rows the applied design writes — the look's own author rows (a chosen font) still go back.
9138
+ * `null` when the design holds no snapshot.
9139
+ */
9140
+ declare function planDesignRevert(current: ReadonlyArray<StoredDesignTokenRow>, design: StoredDesign): FlavorRevertPlan | null;
9120
9141
  /** The rows a design is missing by name — the builder-load top-up (never touches an existing row). */
9121
9142
  declare function missingDesignRows(existing: ReadonlyArray<{
9122
9143
  name: string;
@@ -9172,5 +9193,5 @@ interface FontFamilyRemoval {
9172
9193
  */
9173
9194
  declare function planFontFamilyRemoval(existing: ReadonlyArray<StoredDesignTokenRow>, previous: StoredDesign, family: string): FontFamilyRemoval;
9174
9195
 
9175
- export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, 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, 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, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, USER_TOKEN_SOURCE, WCAG_AA_TEXT, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, buildFlavorTokens, buildFontFaceCss, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, flavorPackById, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, previewElementStyleAdoption, previewFontWeight, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, sameDesignChoices, specTokenNames, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
9176
- export type { AccentBackgrounds, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, ApplyElementStyleResult, DensityId, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorPack, FlavorPackV2, FlavorRevertPlan, FlavorRevertSnapshot, FlavorSeedPlan, FlavorSpecToken, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, KeptEdit, LinearSpring, MissingFontRole, MotionId, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, ResolvedMode, Rgb, SchemeId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StoredDesign, StoredDesignTokenRow, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, TokenCssBlocks, TokenCssOptions };
9196
+ export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, 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, 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, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, USER_TOKEN_SOURCE, WCAG_AA_TEXT, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, buildFlavorTokens, buildFontFaceCss, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, previewElementStyleAdoption, previewFontWeight, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, sameDesignChoices, specTokenNames, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
9197
+ export type { AccentBackgrounds, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, ApplyElementStyleResult, DensityId, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorPack, FlavorPackV2, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedPlan, FlavorSpecToken, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, KeptEdit, LinearSpring, MissingFontRole, MotionId, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, ResolvedMode, Rgb, SchemeId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StoredDesign, StoredDesignTokenRow, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, TokenCssBlocks, TokenCssOptions };
@@ -11269,17 +11269,28 @@ function revertAvailable(appliedAt, now) {
11269
11269
  return typeof appliedAt === 'number' && appliedAt > 0 && now - appliedAt <= REVERT_WINDOW_MS;
11270
11270
  }
11271
11271
  /**
11272
- * Restore the snapshot EXACTLY: snapshot rows come back to their stored value/dark/source
11273
- * (update when present, recreate when deleted); rows the apply CREATED (flavor-stamped and
11274
- * absent from the snapshot) are removed. Hand-made rows born after the apply are not ours
11275
- * to touch — a revert undoes the FLAVOR, not the author's week.
11272
+ * Restore the snapshot: snapshot rows come back to their stored value/dark/source (update when
11273
+ * present, recreate when deleted); rows the apply CREATED (flavor-stamped and absent from the
11274
+ * snapshot) are removed. A revert undoes the FLAVOR, not the author's week: hand-made rows born after
11275
+ * the apply are not touched, and a row the author EDITED after the apply is kept (DS8: an edit makes
11276
+ * the row the author's, and a pack switch keeps it — so does going back). Edited-after = `source: user`,
11277
+ * differing from the snapshot, and holding something other than what the apply wrote (`wrote` — the
11278
+ * apply's own author rows, a chosen font or an Element-styles edit, still go back with it). With no
11279
+ * `wrote` at all, every author row that differs from the snapshot is judged edited after.
11276
11280
  */
11277
- function planFlavorRevert(current, snapshot) {
11281
+ function planFlavorRevert(current, snapshot, wrote) {
11278
11282
  const byName = new Map();
11279
11283
  for (const row of current ?? [])
11280
11284
  byName.set(row.name, row);
11285
+ const written = new Map((wrote ?? []).map(w => [w.name, w]));
11286
+ const editedAfter = (live) => {
11287
+ if (live.source !== USER_TOKEN_SOURCE)
11288
+ return false;
11289
+ const w = written.get(live.name);
11290
+ return !w || !sameValue(live, { value: w.value, dark: w.values?.dark });
11291
+ };
11281
11292
  const snapNames = new Set();
11282
- const plan = { create: [], update: [], remove: [] };
11293
+ const plan = { create: [], update: [], remove: [], kept: [] };
11283
11294
  for (const snap of snapshot ?? []) {
11284
11295
  snapNames.add(snap.name);
11285
11296
  const live = byName.get(snap.name);
@@ -11290,18 +11301,39 @@ function planFlavorRevert(current, snapshot) {
11290
11301
  const differs = live.value !== snap.value
11291
11302
  || (live.values?.dark ?? null) !== (snap.values?.dark ?? null)
11292
11303
  || (live.source ?? null) !== (snap.source ?? null);
11304
+ if (!differs || !live._id)
11305
+ continue;
11306
+ if (editedAfter(live)) {
11307
+ plan.kept.push(live.name);
11308
+ continue;
11309
+ }
11293
11310
  // `values` is ALWAYS sent: an absent key is dropped by JSON and a `$set` then keeps the
11294
11311
  // apply's dark override — a snapshot row with no dark must clear it, so it sends `{}`.
11295
- if (differs && live._id) {
11296
- plan.update.push({ id: live._id, data: { value: snap.value, values: snap.values ?? {}, source: snap.source } });
11297
- }
11312
+ plan.update.push({ id: live._id, data: { value: snap.value, values: snap.values ?? {}, source: snap.source } });
11298
11313
  }
11299
11314
  for (const row of current ?? []) {
11300
- if (!snapNames.has(row.name) && row._id && isSeeded(row))
11315
+ if (snapNames.has(row.name) || !row._id)
11316
+ continue;
11317
+ if (isSeeded(row))
11301
11318
  plan.remove.push(row._id);
11319
+ else if (written.has(row.name) && editedAfter(row))
11320
+ plan.kept.push(row.name);
11302
11321
  }
11303
11322
  return plan;
11304
11323
  }
11324
+ /** What a seed plan leaves in each row it writes, by name — the snapshot's `wrote`. */
11325
+ function flavorSeedWrites(plan, existing) {
11326
+ const byId = new Map((existing ?? []).filter(r => r._id).map(r => [r._id, r]));
11327
+ const out = (plan?.create ?? []).map(r => ({ name: r.name, value: r.value, ...(r.values ? { values: r.values } : {}) }));
11328
+ for (const u of plan?.update ?? []) {
11329
+ const row = byId.get(u.id);
11330
+ if (!row)
11331
+ continue;
11332
+ const values = u.data.values ?? row.values;
11333
+ out.push({ name: row.name, value: u.data.value ?? row.value, ...(values ? { values } : {}) });
11334
+ }
11335
+ return out;
11336
+ }
11305
11337
  const expectationFor = (baseline, row) => !baseline ? undefined : typeof baseline === 'function' ? baseline(row) : baseline.get(row.name);
11306
11338
  const sameValue = (row, e) => row.value === e.value && (row.values?.dark ?? '') === (e.dark ?? '');
11307
11339
  /**
@@ -11620,6 +11652,19 @@ function planDesignApply(existing, previous, next) {
11620
11652
  return { create: [], update: [], kept: [] };
11621
11653
  return planFlavorSeed(designTokenRows(next), existing, flavorSourceStamp(pack.id), designBaseline(previous));
11622
11654
  }
11655
+ /**
11656
+ * "Revert to previous look" over the org's rows — the ONE plan the Revert executes and its hint counts
11657
+ * (`kept`: the author's edits since the apply, left as they are). The apply's record of what it wrote
11658
+ * decides what an edit since is; a snapshot stored before that record existed (DS8.1) is judged against
11659
+ * the rows the applied design writes — the look's own author rows (a chosen font) still go back.
11660
+ * `null` when the design holds no snapshot.
11661
+ */
11662
+ function planDesignRevert(current, design) {
11663
+ const snapshot = design?.revert;
11664
+ if (!snapshot)
11665
+ return null;
11666
+ return planFlavorRevert(current, snapshot.tokens, snapshot.wrote ?? designTokenRows(design.choices));
11667
+ }
11623
11668
  /** The rows a design is missing by name — the builder-load top-up (never touches an existing row). */
11624
11669
  function missingDesignRows(existing, choices) {
11625
11670
  const have = new Set((existing ?? []).map(r => r.name));
@@ -11734,5 +11779,5 @@ function planFontFamilyRemoval(existing, previous, family) {
11734
11779
  * Generated bundle index. Do not edit.
11735
11780
  */
11736
11781
 
11737
- export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, 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, 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, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, USER_TOKEN_SOURCE, WCAG_AA_TEXT, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, buildFlavorTokens, buildFontFaceCss, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, flavorPackById, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, previewElementStyleAdoption, previewFontWeight, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, sameDesignChoices, specTokenNames, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
11782
+ export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BUTTON_VARIANT_TO_STYLE, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, 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, 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, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, USER_TOKEN_SOURCE, WCAG_AA_TEXT, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, buildFlavorTokens, buildFontFaceCss, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, previewElementStyleAdoption, previewFontWeight, readDesignConfig, readOwnedTrait, relativeLuminance, resolveDesignChoices, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, sameDesignChoices, specTokenNames, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, userFontStack, validateFlavorPack, wcagContrastRatio, writeOwnedTrait };
11738
11783
  //# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map