@aloudata/aloudata-design 3.1.1 → 3.1.2

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.
Files changed (36) hide show
  1. package/dist/Drawer/index.js +2 -1
  2. package/dist/Drawer/index.js.map +1 -1
  3. package/dist/MemberPicker/components/MemberSelection.d.ts +1 -0
  4. package/dist/MemberPicker/components/MemberSelection.js +95 -82
  5. package/dist/MemberPicker/components/MemberSelection.js.map +1 -1
  6. package/dist/MemberPicker/components/Panel.d.ts +1 -0
  7. package/dist/MemberPicker/components/Panel.js +8 -1
  8. package/dist/MemberPicker/components/Panel.js.map +1 -1
  9. package/dist/MemberPicker/components/PanelWrapper.js +2 -0
  10. package/dist/MemberPicker/components/PanelWrapper.js.map +1 -1
  11. package/dist/MemberPicker/components/UserGroupSelection.d.ts +2 -1
  12. package/dist/MemberPicker/components/UserGroupSelection.js +11 -1
  13. package/dist/MemberPicker/components/UserGroupSelection.js.map +1 -1
  14. package/dist/Select/index.js +1 -1
  15. package/dist/Select/index.js.map +1 -1
  16. package/dist/aloudata-design.css +1 -1
  17. package/dist/governance/semantic.d.ts +1 -0
  18. package/dist/governance/semantic.js +2 -0
  19. package/dist/governance/semantic.json +1737 -0
  20. package/dist/theme/contract/tokenOutputContract.js +1 -0
  21. package/dist/theme/contract/tokenOutputContract.js.map +1 -1
  22. package/dist/theme/generator/neutralSourceValues.d.ts +1 -0
  23. package/dist/theme/governance/semanticGovernanceContract.d.ts +91 -0
  24. package/dist/theme/governance/semanticGovernanceContract.js +342 -0
  25. package/dist/theme/governance/semanticGovernanceContract.js.map +1 -0
  26. package/dist/theme/runtime/colorValueMode/generated/darkBaselineDeclarations.d.ts +1 -1
  27. package/dist/theme/runtime/colorValueMode/generated/darkBaselineDeclarations.js +1 -0
  28. package/dist/theme/runtime/colorValueMode/generated/darkBaselineDeclarations.js.map +1 -1
  29. package/dist/theme/runtime/colorValueMode/generated/slateDarkDeclarations.d.ts +1 -1
  30. package/dist/theme/runtime/colorValueMode/generated/slateLightDeclarations.d.ts +1 -1
  31. package/dist/theme/runtime/colorValueMode/generated/stoneDarkDeclarations.d.ts +1 -1
  32. package/dist/theme/runtime/colorValueMode/generated/stoneLightDeclarations.d.ts +1 -1
  33. package/dist/theme/runtime/colorValueMode/generated/v3BaselineDeclarations.d.ts +1 -1
  34. package/dist/theme/runtime/colorValueMode/generated/v3BaselineDeclarations.js +1 -0
  35. package/dist/theme/runtime/colorValueMode/generated/v3BaselineDeclarations.js.map +1 -1
  36. package/package.json +12 -2
@@ -39,6 +39,7 @@ var actionOutputNames = [
39
39
  var backgroundOutputNames = [
40
40
  "--background-default",
41
41
  "--background-inverted",
42
+ "--background-mask",
42
43
  "--background-brand-muted",
43
44
  "--background-brand-on-subtle",
44
45
  "--background-brand-strong",
@@ -1 +1 @@
1
- {"version":3,"file":"tokenOutputContract.js","names":[],"sources":["../../../src/theme/contract/tokenOutputContract.ts"],"sourcesContent":["import {\n migrationMappingRegistry,\n type LegacyCssVariableName,\n type TokenOutputVariableName,\n} from '../governance/migrationMappingRegistry';\n\nexport type TokenOutputContractGroup =\n | 'action'\n | 'background'\n | 'border'\n | 'control-state'\n | 'focus'\n | 'content'\n | 'dimension'\n | 'compatibility';\n\nexport type TokenOutputContractDeliveryKind = 'css-variable';\n\nexport type TokenOutputContractLifecycle =\n | 'active'\n | 'deprecated'\n | 'compatibility';\n\nexport interface TokenOutputContractCompatibility {\n source?: LegacyCssVariableName;\n reason: string;\n}\n\nexport interface TokenOutputContractEntry {\n name: TokenOutputVariableName;\n group: TokenOutputContractGroup;\n delivery: TokenOutputContractDeliveryKind;\n lifecycle: TokenOutputContractLifecycle;\n compatibility?: TokenOutputContractCompatibility;\n description?: string;\n}\n\nexport type TokenOutputContractValidationIssueCode =\n | 'duplicate-name'\n | 'invalid-name'\n | 'invalid-legacy-canonical-name'\n | 'invalid-compatibility-name'\n | 'missing-published-migration-target'\n | 'legacy-source-promoted-to-canonical-output';\n\nexport interface TokenOutputContractValidationIssue {\n code: TokenOutputContractValidationIssueCode;\n name: string;\n message: string;\n}\n\nexport interface TokenOutputContractValidationReport {\n valid: boolean;\n entriesChecked: number;\n errors: TokenOutputContractValidationIssue[];\n}\n\nconst legacySourcePrefixes = [\n '--alias-',\n '--interaction-',\n '--non-semantic-',\n] as const;\n\nfunction createEntries(\n group: TokenOutputContractGroup,\n names: readonly TokenOutputVariableName[],\n): TokenOutputContractEntry[] {\n return names.map((name) => ({\n name,\n group,\n delivery: 'css-variable',\n lifecycle: 'active',\n compatibility: undefined,\n }));\n}\n\nfunction actionStates(\n family: string,\n states: readonly string[] = ['normal', 'hover', 'active', 'selected'],\n): TokenOutputVariableName[] {\n return states.map((state) => `--action-${family}-${state}` as const);\n}\n\nconst actionOutputNames: TokenOutputVariableName[] = [\n ...actionStates('primary'),\n ...actionStates('primary-subtle'),\n ...actionStates('neutral'),\n ...actionStates('neutral-subtle'),\n ...actionStates('destructive'),\n ...actionStates('destructive-subtle'),\n ...actionStates('ghost'),\n ...actionStates('ghost-inverted', ['hover', 'active', 'selected']),\n ...actionStates('ghost-destructive', ['hover', 'active', 'selected']),\n ...actionStates('inverted'),\n];\n\nconst backgroundOutputNames: TokenOutputVariableName[] = [\n '--background-default',\n '--background-inverted',\n '--background-brand-muted',\n '--background-brand-on-subtle',\n '--background-brand-strong',\n '--background-neutral-hard',\n '--background-neutral-muted',\n '--background-neutral-on-subtle',\n '--background-neutral-strong',\n '--background-neutral-subtle',\n '--background-neutral-surface',\n '--background-informative-muted',\n '--background-informative-on-subtle',\n '--background-informative-strong',\n '--background-informative-subtle',\n '--background-informative-surface',\n '--background-positive-muted',\n '--background-positive-on-subtle',\n '--background-positive-strong',\n '--background-positive-subtle',\n '--background-positive-surface',\n '--background-warning-muted',\n '--background-warning-on-subtle',\n '--background-warning-strong',\n '--background-warning-subtle',\n '--background-warning-surface',\n '--background-negative-muted',\n '--background-negative-on-subtle',\n '--background-negative-strong',\n '--background-negative-subtle',\n '--background-negative-surface',\n];\n\nconst borderOutputNames: TokenOutputVariableName[] = [\n '--border-default',\n '--border-default-alpha',\n '--border-inverted',\n '--border-brand-strong',\n '--border-brand-subtle',\n '--border-neutral-strong',\n '--border-neutral-subtle',\n '--border-informative-strong',\n '--border-informative-subtle',\n '--border-positive-strong',\n '--border-positive-subtle',\n '--border-warning-strong',\n '--border-warning-subtle',\n '--border-negative-strong',\n '--border-negative-subtle',\n];\n\nconst contentOutputNames: TokenOutputVariableName[] = [\n '--content-primary',\n '--content-secondary',\n '--content-tertiary',\n '--content-disabled',\n '--content-brand-primary',\n '--content-brand-secondary',\n '--content-inverted-primary',\n '--content-inverted-secondary',\n '--content-inverted-tertiary',\n '--content-inverted-disabled',\n '--content-informative-primary',\n '--content-informative-secondary',\n '--content-positive-primary',\n '--content-positive-secondary',\n '--content-warning-primary',\n '--content-warning-secondary',\n '--content-negative-primary',\n '--content-negative-secondary',\n];\n\nconst controlStateOutputNames: TokenOutputVariableName[] = [\n '--control-state-selected',\n '--control-state-unselected',\n];\n\nconst focusOutputNames: TokenOutputVariableName[] = ['--focus-ring'];\n\nconst dimensionOutputNames: TokenOutputVariableName[] = [\n '--dimension-0',\n '--dimension-0-5',\n '--dimension-1',\n '--dimension-1-5',\n '--dimension-2',\n '--dimension-3',\n '--dimension-4',\n '--dimension-5',\n '--dimension-6',\n '--dimension-8',\n '--dimension-10',\n '--dimension-12',\n '--dimension-14',\n '--dimension-16',\n '--dimension-18',\n '--dimension-20',\n];\n\nexport const tokenOutputContractEntries = [\n ...createEntries('action', actionOutputNames),\n ...createEntries('background', backgroundOutputNames),\n ...createEntries('border', borderOutputNames),\n ...createEntries('control-state', controlStateOutputNames),\n ...createEntries('focus', focusOutputNames),\n ...createEntries('content', contentOutputNames),\n ...createEntries('dimension', dimensionOutputNames),\n] as const satisfies readonly TokenOutputContractEntry[];\n\nfunction isLegacySourceName(name: string) {\n return legacySourcePrefixes.some((prefix) => name.startsWith(prefix));\n}\n\nfunction createEntryMap(entries = tokenOutputContractEntries) {\n return new Map(entries.map((entry) => [entry.name, entry]));\n}\n\nexport function getTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return [...tokenOutputContractEntries];\n}\n\nexport function getTokenOutputContractEntry(\n name: string,\n): TokenOutputContractEntry | undefined {\n return createEntryMap().get(name as TokenOutputVariableName);\n}\n\nexport function isTokenOutputContractName(\n name: string,\n): name is TokenOutputVariableName {\n return createEntryMap().has(name as TokenOutputVariableName);\n}\n\nexport function getTokenOutputContractEntriesByGroup(\n group: TokenOutputContractGroup,\n): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter((entry) => entry.group === group);\n}\n\nexport function getCanonicalTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter(\n (entry) => entry.lifecycle === 'active' && !entry.compatibility,\n );\n}\n\nexport function getCompatibilityTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter(\n (entry) =>\n entry.lifecycle === 'compatibility' || Boolean(entry.compatibility),\n );\n}\n\nfunction createError(\n code: TokenOutputContractValidationIssueCode,\n name: string,\n message: string,\n): TokenOutputContractValidationIssue {\n return { code, name, message };\n}\n\nexport function validateTokenOutputContract(\n entries: readonly TokenOutputContractEntry[] = tokenOutputContractEntries,\n): TokenOutputContractValidationReport {\n const errors: TokenOutputContractValidationIssue[] = [];\n const seen = new Set<string>();\n const entryMap = createEntryMap(entries);\n\n for (const entry of entries) {\n if (seen.has(entry.name)) {\n errors.push(\n createError(\n 'duplicate-name',\n entry.name,\n `${entry.name} is duplicated in Token Output Contract.`,\n ),\n );\n }\n seen.add(entry.name);\n\n if (!entry.name.startsWith('--')) {\n errors.push(\n createError(\n 'invalid-name',\n entry.name,\n `${entry.name} must be a CSS custom property name.`,\n ),\n );\n }\n\n if (\n entry.lifecycle === 'active' &&\n !entry.compatibility &&\n isLegacySourceName(entry.name)\n ) {\n errors.push(\n createError(\n 'invalid-legacy-canonical-name',\n entry.name,\n `${entry.name} must not be promoted to active canonical output.`,\n ),\n );\n }\n\n if (\n isLegacySourceName(entry.name) &&\n (entry.lifecycle !== 'compatibility' || !entry.compatibility)\n ) {\n errors.push(\n createError(\n 'invalid-compatibility-name',\n entry.name,\n `${entry.name} uses legacy naming and must be explicit compatibility output.`,\n ),\n );\n }\n }\n\n for (const mapping of migrationMappingRegistry) {\n if (mapping.lifecycle === 'published' && mapping.target) {\n if (!entryMap.has(mapping.target)) {\n errors.push(\n createError(\n 'missing-published-migration-target',\n mapping.target,\n `${mapping.target} is targeted by ${mapping.source} but is not in Token Output Contract.`,\n ),\n );\n }\n }\n\n const sourceEntry = entryMap.get(mapping.source);\n if (\n sourceEntry &&\n sourceEntry.lifecycle === 'active' &&\n !sourceEntry.compatibility\n ) {\n errors.push(\n createError(\n 'legacy-source-promoted-to-canonical-output',\n mapping.source,\n `${mapping.source} is a legacy source and must not be active canonical output.`,\n ),\n );\n }\n }\n\n return {\n valid: errors.length === 0,\n entriesChecked: entries.length,\n errors,\n };\n}\n"],"mappings":";AA+DA,SAAS,cACP,OACA,OAC4B;AAC5B,QAAO,MAAM,KAAK,UAAU;EAC1B;EACA;EACA,UAAU;EACV,WAAW;EACX,eAAe;EAChB,EAAE;;AAGL,SAAS,aACP,QACA,SAA4B;CAAC;CAAU;CAAS;CAAU;CAAW,EAC1C;AAC3B,QAAO,OAAO,KAAK,UAAU,YAAY,OAAO,GAAG,QAAiB;;AAGtE,IAAM,oBAA+C;CACnD,GAAG,aAAa,UAAU;CAC1B,GAAG,aAAa,iBAAiB;CACjC,GAAG,aAAa,UAAU;CAC1B,GAAG,aAAa,iBAAiB;CACjC,GAAG,aAAa,cAAc;CAC9B,GAAG,aAAa,qBAAqB;CACrC,GAAG,aAAa,QAAQ;CACxB,GAAG,aAAa,kBAAkB;EAAC;EAAS;EAAU;EAAW,CAAC;CAClE,GAAG,aAAa,qBAAqB;EAAC;EAAS;EAAU;EAAW,CAAC;CACrE,GAAG,aAAa,WAAW;CAC5B;AAED,I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,SAAgB,6CAAyE;AACvF,QAAO,2BAA2B,QAC/B,UACC,MAAM,cAAc,mBAAmB,QAAQ,MAAM,cAAc,CACtE"}
1
+ {"version":3,"file":"tokenOutputContract.js","names":[],"sources":["../../../src/theme/contract/tokenOutputContract.ts"],"sourcesContent":["import {\n migrationMappingRegistry,\n type LegacyCssVariableName,\n type TokenOutputVariableName,\n} from '../governance/migrationMappingRegistry';\n\nexport type TokenOutputContractGroup =\n | 'action'\n | 'background'\n | 'border'\n | 'control-state'\n | 'focus'\n | 'content'\n | 'dimension'\n | 'compatibility';\n\nexport type TokenOutputContractDeliveryKind = 'css-variable';\n\nexport type TokenOutputContractLifecycle =\n | 'active'\n | 'deprecated'\n | 'compatibility';\n\nexport interface TokenOutputContractCompatibility {\n source?: LegacyCssVariableName;\n reason: string;\n}\n\nexport interface TokenOutputContractEntry {\n name: TokenOutputVariableName;\n group: TokenOutputContractGroup;\n delivery: TokenOutputContractDeliveryKind;\n lifecycle: TokenOutputContractLifecycle;\n compatibility?: TokenOutputContractCompatibility;\n description?: string;\n}\n\nexport type TokenOutputContractValidationIssueCode =\n | 'duplicate-name'\n | 'invalid-name'\n | 'invalid-legacy-canonical-name'\n | 'invalid-compatibility-name'\n | 'missing-published-migration-target'\n | 'legacy-source-promoted-to-canonical-output';\n\nexport interface TokenOutputContractValidationIssue {\n code: TokenOutputContractValidationIssueCode;\n name: string;\n message: string;\n}\n\nexport interface TokenOutputContractValidationReport {\n valid: boolean;\n entriesChecked: number;\n errors: TokenOutputContractValidationIssue[];\n}\n\nconst legacySourcePrefixes = [\n '--alias-',\n '--interaction-',\n '--non-semantic-',\n] as const;\n\nfunction createEntries(\n group: TokenOutputContractGroup,\n names: readonly TokenOutputVariableName[],\n): TokenOutputContractEntry[] {\n return names.map((name) => ({\n name,\n group,\n delivery: 'css-variable',\n lifecycle: 'active',\n compatibility: undefined,\n }));\n}\n\nfunction actionStates(\n family: string,\n states: readonly string[] = ['normal', 'hover', 'active', 'selected'],\n): TokenOutputVariableName[] {\n return states.map((state) => `--action-${family}-${state}` as const);\n}\n\nconst actionOutputNames: TokenOutputVariableName[] = [\n ...actionStates('primary'),\n ...actionStates('primary-subtle'),\n ...actionStates('neutral'),\n ...actionStates('neutral-subtle'),\n ...actionStates('destructive'),\n ...actionStates('destructive-subtle'),\n ...actionStates('ghost'),\n ...actionStates('ghost-inverted', ['hover', 'active', 'selected']),\n ...actionStates('ghost-destructive', ['hover', 'active', 'selected']),\n ...actionStates('inverted'),\n];\n\nconst backgroundOutputNames: TokenOutputVariableName[] = [\n '--background-default',\n '--background-inverted',\n '--background-mask',\n '--background-brand-muted',\n '--background-brand-on-subtle',\n '--background-brand-strong',\n '--background-neutral-hard',\n '--background-neutral-muted',\n '--background-neutral-on-subtle',\n '--background-neutral-strong',\n '--background-neutral-subtle',\n '--background-neutral-surface',\n '--background-informative-muted',\n '--background-informative-on-subtle',\n '--background-informative-strong',\n '--background-informative-subtle',\n '--background-informative-surface',\n '--background-positive-muted',\n '--background-positive-on-subtle',\n '--background-positive-strong',\n '--background-positive-subtle',\n '--background-positive-surface',\n '--background-warning-muted',\n '--background-warning-on-subtle',\n '--background-warning-strong',\n '--background-warning-subtle',\n '--background-warning-surface',\n '--background-negative-muted',\n '--background-negative-on-subtle',\n '--background-negative-strong',\n '--background-negative-subtle',\n '--background-negative-surface',\n];\n\nconst borderOutputNames: TokenOutputVariableName[] = [\n '--border-default',\n '--border-default-alpha',\n '--border-inverted',\n '--border-brand-strong',\n '--border-brand-subtle',\n '--border-neutral-strong',\n '--border-neutral-subtle',\n '--border-informative-strong',\n '--border-informative-subtle',\n '--border-positive-strong',\n '--border-positive-subtle',\n '--border-warning-strong',\n '--border-warning-subtle',\n '--border-negative-strong',\n '--border-negative-subtle',\n];\n\nconst contentOutputNames: TokenOutputVariableName[] = [\n '--content-primary',\n '--content-secondary',\n '--content-tertiary',\n '--content-disabled',\n '--content-brand-primary',\n '--content-brand-secondary',\n '--content-inverted-primary',\n '--content-inverted-secondary',\n '--content-inverted-tertiary',\n '--content-inverted-disabled',\n '--content-informative-primary',\n '--content-informative-secondary',\n '--content-positive-primary',\n '--content-positive-secondary',\n '--content-warning-primary',\n '--content-warning-secondary',\n '--content-negative-primary',\n '--content-negative-secondary',\n];\n\nconst controlStateOutputNames: TokenOutputVariableName[] = [\n '--control-state-selected',\n '--control-state-unselected',\n];\n\nconst focusOutputNames: TokenOutputVariableName[] = ['--focus-ring'];\n\nconst dimensionOutputNames: TokenOutputVariableName[] = [\n '--dimension-0',\n '--dimension-0-5',\n '--dimension-1',\n '--dimension-1-5',\n '--dimension-2',\n '--dimension-3',\n '--dimension-4',\n '--dimension-5',\n '--dimension-6',\n '--dimension-8',\n '--dimension-10',\n '--dimension-12',\n '--dimension-14',\n '--dimension-16',\n '--dimension-18',\n '--dimension-20',\n];\n\nexport const tokenOutputContractEntries = [\n ...createEntries('action', actionOutputNames),\n ...createEntries('background', backgroundOutputNames),\n ...createEntries('border', borderOutputNames),\n ...createEntries('control-state', controlStateOutputNames),\n ...createEntries('focus', focusOutputNames),\n ...createEntries('content', contentOutputNames),\n ...createEntries('dimension', dimensionOutputNames),\n] as const satisfies readonly TokenOutputContractEntry[];\n\nfunction isLegacySourceName(name: string) {\n return legacySourcePrefixes.some((prefix) => name.startsWith(prefix));\n}\n\nfunction createEntryMap(entries = tokenOutputContractEntries) {\n return new Map(entries.map((entry) => [entry.name, entry]));\n}\n\nexport function getTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return [...tokenOutputContractEntries];\n}\n\nexport function getTokenOutputContractEntry(\n name: string,\n): TokenOutputContractEntry | undefined {\n return createEntryMap().get(name as TokenOutputVariableName);\n}\n\nexport function isTokenOutputContractName(\n name: string,\n): name is TokenOutputVariableName {\n return createEntryMap().has(name as TokenOutputVariableName);\n}\n\nexport function getTokenOutputContractEntriesByGroup(\n group: TokenOutputContractGroup,\n): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter((entry) => entry.group === group);\n}\n\nexport function getCanonicalTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter(\n (entry) => entry.lifecycle === 'active' && !entry.compatibility,\n );\n}\n\nexport function getCompatibilityTokenOutputContractEntries(): TokenOutputContractEntry[] {\n return tokenOutputContractEntries.filter(\n (entry) =>\n entry.lifecycle === 'compatibility' || Boolean(entry.compatibility),\n );\n}\n\nfunction createError(\n code: TokenOutputContractValidationIssueCode,\n name: string,\n message: string,\n): TokenOutputContractValidationIssue {\n return { code, name, message };\n}\n\nexport function validateTokenOutputContract(\n entries: readonly TokenOutputContractEntry[] = tokenOutputContractEntries,\n): TokenOutputContractValidationReport {\n const errors: TokenOutputContractValidationIssue[] = [];\n const seen = new Set<string>();\n const entryMap = createEntryMap(entries);\n\n for (const entry of entries) {\n if (seen.has(entry.name)) {\n errors.push(\n createError(\n 'duplicate-name',\n entry.name,\n `${entry.name} is duplicated in Token Output Contract.`,\n ),\n );\n }\n seen.add(entry.name);\n\n if (!entry.name.startsWith('--')) {\n errors.push(\n createError(\n 'invalid-name',\n entry.name,\n `${entry.name} must be a CSS custom property name.`,\n ),\n );\n }\n\n if (\n entry.lifecycle === 'active' &&\n !entry.compatibility &&\n isLegacySourceName(entry.name)\n ) {\n errors.push(\n createError(\n 'invalid-legacy-canonical-name',\n entry.name,\n `${entry.name} must not be promoted to active canonical output.`,\n ),\n );\n }\n\n if (\n isLegacySourceName(entry.name) &&\n (entry.lifecycle !== 'compatibility' || !entry.compatibility)\n ) {\n errors.push(\n createError(\n 'invalid-compatibility-name',\n entry.name,\n `${entry.name} uses legacy naming and must be explicit compatibility output.`,\n ),\n );\n }\n }\n\n for (const mapping of migrationMappingRegistry) {\n if (mapping.lifecycle === 'published' && mapping.target) {\n if (!entryMap.has(mapping.target)) {\n errors.push(\n createError(\n 'missing-published-migration-target',\n mapping.target,\n `${mapping.target} is targeted by ${mapping.source} but is not in Token Output Contract.`,\n ),\n );\n }\n }\n\n const sourceEntry = entryMap.get(mapping.source);\n if (\n sourceEntry &&\n sourceEntry.lifecycle === 'active' &&\n !sourceEntry.compatibility\n ) {\n errors.push(\n createError(\n 'legacy-source-promoted-to-canonical-output',\n mapping.source,\n `${mapping.source} is a legacy source and must not be active canonical output.`,\n ),\n );\n }\n }\n\n return {\n valid: errors.length === 0,\n entriesChecked: entries.length,\n errors,\n };\n}\n"],"mappings":";AA+DA,SAAS,cACP,OACA,OAC4B;AAC5B,QAAO,MAAM,KAAK,UAAU;EAC1B;EACA;EACA,UAAU;EACV,WAAW;EACX,eAAe;EAChB,EAAE;;AAGL,SAAS,aACP,QACA,SAA4B;CAAC;CAAU;CAAS;CAAU;CAAW,EAC1C;AAC3B,QAAO,OAAO,KAAK,UAAU,YAAY,OAAO,GAAG,QAAiB;;AAGtE,IAAM,oBAA+C;CACnD,GAAG,aAAa,UAAU;CAC1B,GAAG,aAAa,iBAAiB;CACjC,GAAG,aAAa,UAAU;CAC1B,GAAG,aAAa,iBAAiB;CACjC,GAAG,aAAa,cAAc;CAC9B,GAAG,aAAa,qBAAqB;CACrC,GAAG,aAAa,QAAQ;CACxB,GAAG,aAAa,kBAAkB;EAAC;EAAS;EAAU;EAAW,CAAC;CAClE,GAAG,aAAa,qBAAqB;EAAC;EAAS;EAAU;EAAW,CAAC;CACrE,GAAG,aAAa,WAAW;CAC5B;AAED,IAAM,wBAAmD;CACvD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,IAAM,oBAA+C;CACnD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,IAAM,qBAAgD;CACpD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,IAAM,0BAAqD,CACzD,4BACA,6BACD;AAED,IAAM,mBAA8C,CAAC,eAAe;AAEpE,IAAM,uBAAkD;CACtD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,IAAa,6BAA6B;CACxC,GAAG,cAAc,UAAU,kBAAkB;CAC7C,GAAG,cAAc,cAAc,sBAAsB;CACrD,GAAG,cAAc,UAAU,kBAAkB;CAC7C,GAAG,cAAc,iBAAiB,wBAAwB;CAC1D,GAAG,cAAc,SAAS,iBAAiB;CAC3C,GAAG,cAAc,WAAW,mBAAmB;CAC/C,GAAG,cAAc,aAAa,qBAAqB;CACpD;AAMD,SAAS,eAAe,UAAU,4BAA4B;AAC5D,QAAO,IAAI,IAAI,QAAQ,KAAK,UAAU,CAAC,MAAM,MAAM,MAAM,CAAC,CAAC;;AAG7D,SAAgB,gCAA4D;AAC1E,QAAO,CAAC,GAAG,2BAA2B;;AAGxC,SAAgB,4BACd,MACsC;AACtC,QAAO,gBAAgB,CAAC,IAAI,KAAgC;;AAS9D,SAAgB,qCACd,OAC4B;AAC5B,QAAO,2BAA2B,QAAQ,UAAU,MAAM,UAAU,MAAM;;AAG5E,SAAgB,yCAAqE;AACnF,QAAO,2BAA2B,QAC/B,UAAU,MAAM,cAAc,YAAY,CAAC,MAAM,cACnD;;AAGH,SAAgB,6CAAyE;AACvF,QAAO,2BAA2B,QAC/B,UACC,MAAM,cAAc,mBAAmB,QAAQ,MAAM,cAAc,CACtE"}
@@ -9,6 +9,7 @@ export declare const blackAlphaValues: {
9
9
  readonly '10': "rgba(0 0 0 / 0.10)";
10
10
  readonly '15': "rgba(0 0 0 / 0.15)";
11
11
  readonly '20': "rgba(0 0 0 / 0.20)";
12
+ readonly '45': "rgba(0 0 0 / 0.45)";
12
13
  };
13
14
  export declare const whiteAlphaValues: {
14
15
  readonly '5': "rgba(255 255 255 / 0.05)";
@@ -0,0 +1,91 @@
1
+ import { TokenOutputContractLifecycle } from '../contract/tokenOutputContract';
2
+ import { TokenOutputVariableName } from './migrationMappingRegistry.js';
3
+ export type SemanticGovernanceRole = 'background' | 'content' | 'action' | 'border' | 'control-state' | 'focus';
4
+ export type SemanticGovernanceFamily = 'neutral-structural' | 'inverted' | 'brand' | 'informative' | 'positive' | 'warning' | 'negative' | `action-${string}`;
5
+ export type ActionState = 'normal' | 'hover' | 'active' | 'selected';
6
+ export interface SemanticGovernanceProvenance {
7
+ id: string;
8
+ authorityDocument: string;
9
+ authorityLocator: string;
10
+ authorityStatus: 'Accepted';
11
+ governanceVersion: string;
12
+ }
13
+ export interface SemanticGovernanceTokenFact {
14
+ token: TokenOutputVariableName;
15
+ role: SemanticGovernanceRole;
16
+ family?: SemanticGovernanceFamily;
17
+ state?: ActionState;
18
+ lifecycle: TokenOutputContractLifecycle;
19
+ provenance: readonly string[];
20
+ }
21
+ interface SemanticHierarchy {
22
+ id: string;
23
+ kind: 'semantic-emphasis' | 'semantic-structural';
24
+ tokens: readonly TokenOutputVariableName[];
25
+ provenance: readonly string[];
26
+ }
27
+ interface SemanticPair {
28
+ id: string;
29
+ kind: 'feedback-family' | 'inverted-content' | 'action-state-family';
30
+ families?: readonly SemanticGovernanceFamily[];
31
+ roles: readonly SemanticGovernanceRole[];
32
+ tokenReferences: readonly TokenOutputVariableName[];
33
+ provenance: readonly string[];
34
+ }
35
+ interface SemanticRoleRequirement {
36
+ role: SemanticGovernanceRole;
37
+ tokenReferences: readonly TokenOutputVariableName[];
38
+ }
39
+ interface UiConcept {
40
+ id: string;
41
+ purpose: string;
42
+ requiredRoles: readonly SemanticRoleRequirement[];
43
+ optionalRoles: readonly SemanticRoleRequirement[];
44
+ scope: string;
45
+ nonGoals: readonly string[];
46
+ provenance: readonly string[];
47
+ }
48
+ interface CompositionPattern {
49
+ id: string;
50
+ scope: string;
51
+ requiredRoles: readonly SemanticRoleRequirement[];
52
+ optionalRoles: readonly SemanticRoleRequirement[];
53
+ allowedStates: readonly ActionState[];
54
+ relatedUiConcepts: readonly string[];
55
+ owningGovernanceSource: readonly string[];
56
+ nonGoals: readonly string[];
57
+ provenance: readonly string[];
58
+ }
59
+ interface DeterministicAntiPattern {
60
+ id: string;
61
+ meaning: string;
62
+ scope: string;
63
+ provenance: readonly string[];
64
+ }
65
+ export interface SemanticGovernanceContract {
66
+ schemaVersion: '1.0.0';
67
+ semanticGovernanceArtifactVersion: '1.0.0';
68
+ packageCompatibility: {
69
+ minimumPackageVersion: '3.1.0';
70
+ maximumExclusivePackageVersion: '4.0.0';
71
+ };
72
+ tokenOutputContract: {
73
+ entryCount: number;
74
+ identitySetFingerprint: string;
75
+ referencedTokenCount: number;
76
+ };
77
+ provenance: readonly SemanticGovernanceProvenance[];
78
+ tokenFacts: readonly SemanticGovernanceTokenFact[];
79
+ hierarchies: readonly SemanticHierarchy[];
80
+ pairs: readonly SemanticPair[];
81
+ uiConcepts: readonly UiConcept[];
82
+ compositionPatterns: readonly CompositionPattern[];
83
+ antiPatterns: readonly DeterministicAntiPattern[];
84
+ }
85
+ export interface SemanticGovernanceContractValidationReport {
86
+ valid: boolean;
87
+ errors: readonly string[];
88
+ }
89
+ export declare const semanticGovernanceContract: SemanticGovernanceContract;
90
+ export declare function validateSemanticGovernanceContract(contract?: SemanticGovernanceContract): SemanticGovernanceContractValidationReport;
91
+ export {};
@@ -0,0 +1,342 @@
1
+ import { getTokenOutputContractEntries } from "../contract/tokenOutputContract.js";
2
+ //#region src/theme/governance/semanticGovernanceContract.ts
3
+ var provenance = [
4
+ {
5
+ id: "token-output-contract",
6
+ authorityDocument: "src/theme/contract/tokenOutputContract.ts",
7
+ authorityLocator: "tokenOutputContractEntries",
8
+ authorityStatus: "Accepted",
9
+ governanceVersion: "current-token-output-contract"
10
+ },
11
+ {
12
+ id: "neutral-architecture-23a",
13
+ authorityDocument: "docs/color-system/23A-neutral-color-architecture-decision.md",
14
+ authorityLocator: "Sections 8-9",
15
+ authorityStatus: "Accepted",
16
+ governanceVersion: "23A"
17
+ },
18
+ {
19
+ id: "semantic-knowledge-decision-26",
20
+ authorityDocument: "docs/color-system/26-semantic-governance-knowledge-delivery-decision.md",
21
+ authorityLocator: "Sections 5-14",
22
+ authorityStatus: "Accepted",
23
+ governanceVersion: "26"
24
+ },
25
+ {
26
+ id: "semantic-knowledge-specification-27",
27
+ authorityDocument: "docs/color-system/27-semantic-governance-knowledge-delivery-specification.md",
28
+ authorityLocator: "Sections 6-14",
29
+ authorityStatus: "Accepted",
30
+ governanceVersion: "27"
31
+ }
32
+ ];
33
+ var feedbackFamilies = [
34
+ "informative",
35
+ "positive",
36
+ "warning",
37
+ "negative"
38
+ ];
39
+ var actionStates = [
40
+ "normal",
41
+ "hover",
42
+ "active",
43
+ "selected"
44
+ ];
45
+ function asToken(value) {
46
+ return value;
47
+ }
48
+ function roleFor(entry) {
49
+ return entry.group === "dimension" || entry.group === "compatibility" ? null : entry.group;
50
+ }
51
+ function familyFor(name, role) {
52
+ if (role === "action") return `action-${name.replace(/^--action-/, "").replace(/-(normal|hover|active|selected)$/, "")}`;
53
+ if (name.includes("-neutral-")) return "neutral-structural";
54
+ if (name.includes("-inverted")) return "inverted";
55
+ if (name.includes("-brand-")) return "brand";
56
+ for (const family of feedbackFamilies) if (name.includes(`-${family}-`)) return family;
57
+ }
58
+ function stateFor(name, role) {
59
+ if (role !== "action") return void 0;
60
+ return actionStates.find((state) => name.endsWith(`-${state}`));
61
+ }
62
+ function fnv1a32(value) {
63
+ let hash = 2166136261;
64
+ for (const character of value) {
65
+ hash ^= character.charCodeAt(0);
66
+ hash = Math.imul(hash, 16777619) >>> 0;
67
+ }
68
+ return `fnv1a32:${hash.toString(16).padStart(8, "0")}`;
69
+ }
70
+ function requirement(role, tokenReferences) {
71
+ return {
72
+ role,
73
+ tokenReferences: tokenReferences.map(asToken)
74
+ };
75
+ }
76
+ var allOutputEntries = getTokenOutputContractEntries();
77
+ var referencedEntries = allOutputEntries.filter((entry) => roleFor(entry) !== null);
78
+ var tokenFacts = referencedEntries.map((entry) => {
79
+ const role = roleFor(entry);
80
+ return {
81
+ token: entry.name,
82
+ role,
83
+ family: familyFor(entry.name, role),
84
+ state: stateFor(entry.name, role),
85
+ lifecycle: entry.lifecycle,
86
+ provenance: ["token-output-contract", "semantic-knowledge-decision-26"]
87
+ };
88
+ });
89
+ var hierarchies = [{
90
+ id: "content-emphasis",
91
+ kind: "semantic-emphasis",
92
+ tokens: [
93
+ "--content-primary",
94
+ "--content-secondary",
95
+ "--content-tertiary",
96
+ "--content-disabled"
97
+ ].map(asToken),
98
+ provenance: ["token-output-contract", "semantic-knowledge-decision-26"]
99
+ }, {
100
+ id: "neutral-structural-relation",
101
+ kind: "semantic-structural",
102
+ tokens: [
103
+ "--background-default",
104
+ "--background-neutral-surface",
105
+ "--background-neutral-subtle",
106
+ "--background-neutral-on-subtle",
107
+ "--background-neutral-muted",
108
+ "--background-neutral-strong",
109
+ "--background-neutral-hard"
110
+ ].map(asToken),
111
+ provenance: ["token-output-contract", "neutral-architecture-23a"]
112
+ }];
113
+ var pairs = [
114
+ {
115
+ id: "feedback-family-alignment",
116
+ kind: "feedback-family",
117
+ families: feedbackFamilies,
118
+ roles: [
119
+ "background",
120
+ "border",
121
+ "content"
122
+ ],
123
+ tokenReferences: feedbackFamilies.flatMap((family) => [
124
+ `--background-${family}-subtle`,
125
+ `--border-${family}-subtle`,
126
+ `--content-${family}-primary`
127
+ ]).map(asToken),
128
+ provenance: ["semantic-knowledge-decision-26"]
129
+ },
130
+ {
131
+ id: "inverted-surface-content",
132
+ kind: "inverted-content",
133
+ roles: [
134
+ "background",
135
+ "action",
136
+ "content"
137
+ ],
138
+ tokenReferences: [
139
+ "--background-inverted",
140
+ "--action-inverted-normal",
141
+ "--content-inverted-primary"
142
+ ].map(asToken),
143
+ provenance: ["semantic-knowledge-decision-26"]
144
+ },
145
+ {
146
+ id: "action-state-family-membership",
147
+ kind: "action-state-family",
148
+ families: ["action-primary"],
149
+ roles: ["action"],
150
+ tokenReferences: actionStates.map((state) => asToken(`--action-primary-${state}`)),
151
+ provenance: ["semantic-knowledge-decision-26"]
152
+ }
153
+ ];
154
+ var uiConcepts = [
155
+ {
156
+ id: "structural-surface",
157
+ purpose: "A readable structural surface.",
158
+ requiredRoles: [requirement("background", ["--background-default"]), requirement("content", ["--content-primary"])],
159
+ optionalRoles: [requirement("border", ["--border-default"])],
160
+ scope: "Structural UI surfaces.",
161
+ nonGoals: ["Does not define page hierarchy."],
162
+ provenance: ["semantic-knowledge-decision-26"]
163
+ },
164
+ {
165
+ id: "neutral-structural-tier",
166
+ purpose: "A neutral secondary structural grouping.",
167
+ requiredRoles: [requirement("background", ["--background-neutral-surface", "--background-neutral-subtle"]), requirement("content", ["--content-primary"])],
168
+ optionalRoles: [requirement("border", ["--border-neutral-subtle"])],
169
+ scope: "Neutral structural grouping.",
170
+ nonGoals: ["Does not prescribe page-to-card hierarchy."],
171
+ provenance: ["neutral-architecture-23a", "semantic-knowledge-decision-26"]
172
+ },
173
+ {
174
+ id: "interactive-action-surface",
175
+ purpose: "An interactive action control surface.",
176
+ requiredRoles: [
177
+ requirement("action", ["--action-primary-normal"]),
178
+ requirement("content", ["--content-inverted-primary"]),
179
+ requirement("focus", ["--focus-ring"])
180
+ ],
181
+ optionalRoles: [requirement("border", ["--border-default"])],
182
+ scope: "Interactive actions.",
183
+ nonGoals: ["Does not define Menu or Dialog behavior."],
184
+ provenance: ["semantic-knowledge-decision-26"]
185
+ },
186
+ {
187
+ id: "field-control-surface",
188
+ purpose: "An editable field control surface.",
189
+ requiredRoles: [
190
+ requirement("background", ["--background-default"]),
191
+ requirement("border", ["--border-neutral-subtle"]),
192
+ requirement("content", ["--content-primary"]),
193
+ requirement("focus", ["--focus-ring"])
194
+ ],
195
+ optionalRoles: [requirement("action", ["--action-ghost-hover"])],
196
+ scope: "Field controls.",
197
+ nonGoals: ["Does not define Select interaction."],
198
+ provenance: ["semantic-knowledge-decision-26"]
199
+ },
200
+ {
201
+ id: "floating-command-surface",
202
+ purpose: "A temporary floating command surface.",
203
+ requiredRoles: [
204
+ requirement("background", ["--background-default"]),
205
+ requirement("border", ["--border-default-alpha"]),
206
+ requirement("content", ["--content-primary"]),
207
+ requirement("action", ["--action-ghost-hover"]),
208
+ requirement("focus", ["--focus-ring"])
209
+ ],
210
+ optionalRoles: [],
211
+ scope: "Floating command surfaces.",
212
+ nonGoals: ["Does not define Menu keyboard behavior."],
213
+ provenance: ["semantic-knowledge-decision-26"]
214
+ },
215
+ {
216
+ id: "feedback-surface",
217
+ purpose: "A same-family feedback surface.",
218
+ requiredRoles: [
219
+ requirement("background", ["--background-informative-subtle"]),
220
+ requirement("border", ["--border-informative-subtle"]),
221
+ requirement("content", ["--content-informative-primary"])
222
+ ],
223
+ optionalRoles: [],
224
+ scope: "Feedback callouts.",
225
+ nonGoals: ["Does not select feedback purpose from context."],
226
+ provenance: ["semantic-knowledge-decision-26"]
227
+ },
228
+ {
229
+ id: "inverted-surface",
230
+ purpose: "A local inverted semantic context.",
231
+ requiredRoles: [requirement("background", ["--background-inverted"]), requirement("content", ["--content-inverted-primary"])],
232
+ optionalRoles: [requirement("action", ["--action-inverted-normal"])],
233
+ scope: "Inverted local surfaces.",
234
+ nonGoals: ["Does not imply dark theme."],
235
+ provenance: ["semantic-knowledge-decision-26"]
236
+ }
237
+ ];
238
+ var compositionPatterns = [
239
+ {
240
+ id: "action-control",
241
+ scope: "A stable action control composition.",
242
+ requiredRoles: uiConcepts[2].requiredRoles,
243
+ optionalRoles: uiConcepts[2].optionalRoles,
244
+ allowedStates: actionStates,
245
+ relatedUiConcepts: ["interactive-action-surface"],
246
+ owningGovernanceSource: ["semantic-knowledge-decision-26"],
247
+ nonGoals: ["Does not define component interaction."],
248
+ provenance: ["semantic-knowledge-decision-26"]
249
+ },
250
+ {
251
+ id: "field-control",
252
+ scope: "A stable field control composition.",
253
+ requiredRoles: uiConcepts[3].requiredRoles,
254
+ optionalRoles: uiConcepts[3].optionalRoles,
255
+ allowedStates: [],
256
+ relatedUiConcepts: ["field-control-surface"],
257
+ owningGovernanceSource: ["semantic-knowledge-decision-26"],
258
+ nonGoals: ["Does not define complex Select behavior."],
259
+ provenance: ["semantic-knowledge-decision-26"]
260
+ },
261
+ {
262
+ id: "floating-command-collection",
263
+ scope: "A floating command collection composition.",
264
+ requiredRoles: uiConcepts[4].requiredRoles,
265
+ optionalRoles: uiConcepts[4].optionalRoles,
266
+ allowedStates: [
267
+ "hover",
268
+ "active",
269
+ "selected"
270
+ ],
271
+ relatedUiConcepts: ["floating-command-surface"],
272
+ owningGovernanceSource: ["semantic-knowledge-decision-26"],
273
+ nonGoals: ["Does not define Menu behavior."],
274
+ provenance: ["semantic-knowledge-decision-26"]
275
+ },
276
+ {
277
+ id: "feedback-callout",
278
+ scope: "A same-family feedback callout composition.",
279
+ requiredRoles: uiConcepts[5].requiredRoles,
280
+ optionalRoles: uiConcepts[5].optionalRoles,
281
+ allowedStates: [],
282
+ relatedUiConcepts: ["feedback-surface"],
283
+ owningGovernanceSource: ["semantic-knowledge-decision-26"],
284
+ nonGoals: ["Does not select feedback intent."],
285
+ provenance: ["semantic-knowledge-decision-26"]
286
+ }
287
+ ];
288
+ var semanticGovernanceContract = {
289
+ schemaVersion: "1.0.0",
290
+ semanticGovernanceArtifactVersion: "1.0.0",
291
+ packageCompatibility: {
292
+ minimumPackageVersion: "3.1.0",
293
+ maximumExclusivePackageVersion: "4.0.0"
294
+ },
295
+ tokenOutputContract: {
296
+ entryCount: allOutputEntries.length,
297
+ identitySetFingerprint: fnv1a32(referencedEntries.map((entry) => `${entry.name}:${entry.lifecycle}`).sort().join("\n")),
298
+ referencedTokenCount: referencedEntries.length
299
+ },
300
+ provenance,
301
+ tokenFacts,
302
+ hierarchies,
303
+ pairs,
304
+ uiConcepts,
305
+ compositionPatterns,
306
+ antiPatterns: [
307
+ {
308
+ id: "primitive-bypass",
309
+ meaning: "Consumer UI bypasses semantic ownership.",
310
+ scope: "Consumer color use.",
311
+ provenance: ["semantic-knowledge-decision-26"]
312
+ },
313
+ {
314
+ id: "wrong-domain",
315
+ meaning: "A semantic role is used outside its domain.",
316
+ scope: "Consumer color use.",
317
+ provenance: ["semantic-knowledge-decision-26"]
318
+ },
319
+ {
320
+ id: "wrong-feedback-family",
321
+ meaning: "Feedback roles mix published families.",
322
+ scope: "Feedback composition.",
323
+ provenance: ["semantic-knowledge-decision-26"]
324
+ },
325
+ {
326
+ id: "source-aware-consumer",
327
+ meaning: "Consumer branches on source identity.",
328
+ scope: "Consumer runtime boundary.",
329
+ provenance: ["neutral-architecture-23a", "semantic-knowledge-decision-26"]
330
+ },
331
+ {
332
+ id: "invalid-lifecycle",
333
+ meaning: "Consumer uses an unavailable output lifecycle.",
334
+ scope: "Consumer token use.",
335
+ provenance: ["token-output-contract", "semantic-knowledge-decision-26"]
336
+ }
337
+ ]
338
+ };
339
+ //#endregion
340
+ export { semanticGovernanceContract };
341
+
342
+ //# sourceMappingURL=semanticGovernanceContract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semanticGovernanceContract.js","names":[],"sources":["../../../src/theme/governance/semanticGovernanceContract.ts"],"sourcesContent":["import {\n getTokenOutputContractEntries,\n type TokenOutputContractEntry,\n type TokenOutputContractLifecycle,\n} from '../contract/tokenOutputContract';\nimport type { TokenOutputVariableName } from './migrationMappingRegistry';\n\nexport type SemanticGovernanceRole =\n | 'background'\n | 'content'\n | 'action'\n | 'border'\n | 'control-state'\n | 'focus';\n\nexport type SemanticGovernanceFamily =\n | 'neutral-structural'\n | 'inverted'\n | 'brand'\n | 'informative'\n | 'positive'\n | 'warning'\n | 'negative'\n | `action-${string}`;\n\nexport type ActionState = 'normal' | 'hover' | 'active' | 'selected';\n\nexport interface SemanticGovernanceProvenance {\n id: string;\n authorityDocument: string;\n authorityLocator: string;\n authorityStatus: 'Accepted';\n governanceVersion: string;\n}\n\nexport interface SemanticGovernanceTokenFact {\n token: TokenOutputVariableName;\n role: SemanticGovernanceRole;\n family?: SemanticGovernanceFamily;\n state?: ActionState;\n lifecycle: TokenOutputContractLifecycle;\n provenance: readonly string[];\n}\n\ninterface SemanticHierarchy {\n id: string;\n kind: 'semantic-emphasis' | 'semantic-structural';\n tokens: readonly TokenOutputVariableName[];\n provenance: readonly string[];\n}\n\ninterface SemanticPair {\n id: string;\n kind: 'feedback-family' | 'inverted-content' | 'action-state-family';\n families?: readonly SemanticGovernanceFamily[];\n roles: readonly SemanticGovernanceRole[];\n tokenReferences: readonly TokenOutputVariableName[];\n provenance: readonly string[];\n}\n\ninterface SemanticRoleRequirement {\n role: SemanticGovernanceRole;\n tokenReferences: readonly TokenOutputVariableName[];\n}\n\ninterface UiConcept {\n id: string;\n purpose: string;\n requiredRoles: readonly SemanticRoleRequirement[];\n optionalRoles: readonly SemanticRoleRequirement[];\n scope: string;\n nonGoals: readonly string[];\n provenance: readonly string[];\n}\n\ninterface CompositionPattern {\n id: string;\n scope: string;\n requiredRoles: readonly SemanticRoleRequirement[];\n optionalRoles: readonly SemanticRoleRequirement[];\n allowedStates: readonly ActionState[];\n relatedUiConcepts: readonly string[];\n owningGovernanceSource: readonly string[];\n nonGoals: readonly string[];\n provenance: readonly string[];\n}\n\ninterface DeterministicAntiPattern {\n id: string;\n meaning: string;\n scope: string;\n provenance: readonly string[];\n}\n\nexport interface SemanticGovernanceContract {\n schemaVersion: '1.0.0';\n semanticGovernanceArtifactVersion: '1.0.0';\n packageCompatibility: {\n minimumPackageVersion: '3.1.0';\n maximumExclusivePackageVersion: '4.0.0';\n };\n tokenOutputContract: {\n entryCount: number;\n identitySetFingerprint: string;\n referencedTokenCount: number;\n };\n provenance: readonly SemanticGovernanceProvenance[];\n tokenFacts: readonly SemanticGovernanceTokenFact[];\n hierarchies: readonly SemanticHierarchy[];\n pairs: readonly SemanticPair[];\n uiConcepts: readonly UiConcept[];\n compositionPatterns: readonly CompositionPattern[];\n antiPatterns: readonly DeterministicAntiPattern[];\n}\n\nexport interface SemanticGovernanceContractValidationReport {\n valid: boolean;\n errors: readonly string[];\n}\n\nconst provenance = [\n {\n id: 'token-output-contract',\n authorityDocument: 'src/theme/contract/tokenOutputContract.ts',\n authorityLocator: 'tokenOutputContractEntries',\n authorityStatus: 'Accepted',\n governanceVersion: 'current-token-output-contract',\n },\n {\n id: 'neutral-architecture-23a',\n authorityDocument:\n 'docs/color-system/23A-neutral-color-architecture-decision.md',\n authorityLocator: 'Sections 8-9',\n authorityStatus: 'Accepted',\n governanceVersion: '23A',\n },\n {\n id: 'semantic-knowledge-decision-26',\n authorityDocument:\n 'docs/color-system/26-semantic-governance-knowledge-delivery-decision.md',\n authorityLocator: 'Sections 5-14',\n authorityStatus: 'Accepted',\n governanceVersion: '26',\n },\n {\n id: 'semantic-knowledge-specification-27',\n authorityDocument:\n 'docs/color-system/27-semantic-governance-knowledge-delivery-specification.md',\n authorityLocator: 'Sections 6-14',\n authorityStatus: 'Accepted',\n governanceVersion: '27',\n },\n] as const satisfies readonly SemanticGovernanceProvenance[];\n\nconst feedbackFamilies = [\n 'informative',\n 'positive',\n 'warning',\n 'negative',\n] as const;\nconst actionStates = ['normal', 'hover', 'active', 'selected'] as const;\n\nfunction asToken(value: string): TokenOutputVariableName {\n return value as TokenOutputVariableName;\n}\n\nfunction roleFor(\n entry: TokenOutputContractEntry,\n): SemanticGovernanceRole | null {\n return entry.group === 'dimension' || entry.group === 'compatibility'\n ? null\n : entry.group;\n}\n\nfunction familyFor(\n name: string,\n role: SemanticGovernanceRole,\n): SemanticGovernanceFamily | undefined {\n if (role === 'action') {\n const family = name\n .replace(/^--action-/, '')\n .replace(/-(normal|hover|active|selected)$/, '');\n return `action-${family}`;\n }\n if (name.includes('-neutral-')) return 'neutral-structural';\n if (name.includes('-inverted')) return 'inverted';\n if (name.includes('-brand-')) return 'brand';\n for (const family of feedbackFamilies) {\n if (name.includes(`-${family}-`)) return family;\n }\n return undefined;\n}\n\nfunction stateFor(\n name: string,\n role: SemanticGovernanceRole,\n): ActionState | undefined {\n if (role !== 'action') return undefined;\n return actionStates.find((state) => name.endsWith(`-${state}`));\n}\n\nfunction fnv1a32(value: string) {\n let hash = 0x811c9dc5;\n for (const character of value) {\n hash ^= character.charCodeAt(0);\n hash = Math.imul(hash, 0x01000193) >>> 0;\n }\n return `fnv1a32:${hash.toString(16).padStart(8, '0')}`;\n}\n\nfunction requirement(\n role: SemanticGovernanceRole,\n tokenReferences: readonly string[],\n): SemanticRoleRequirement {\n return { role, tokenReferences: tokenReferences.map(asToken) };\n}\n\nconst allOutputEntries = getTokenOutputContractEntries();\nconst referencedEntries = allOutputEntries.filter(\n (entry) => roleFor(entry) !== null,\n);\nconst tokenFacts = referencedEntries.map(\n (entry): SemanticGovernanceTokenFact => {\n const role = roleFor(entry)!;\n return {\n token: entry.name,\n role,\n family: familyFor(entry.name, role),\n state: stateFor(entry.name, role),\n lifecycle: entry.lifecycle,\n provenance: ['token-output-contract', 'semantic-knowledge-decision-26'],\n };\n },\n);\n\nconst hierarchies: readonly SemanticHierarchy[] = [\n {\n id: 'content-emphasis',\n kind: 'semantic-emphasis',\n tokens: [\n '--content-primary',\n '--content-secondary',\n '--content-tertiary',\n '--content-disabled',\n ].map(asToken),\n provenance: ['token-output-contract', 'semantic-knowledge-decision-26'],\n },\n {\n id: 'neutral-structural-relation',\n kind: 'semantic-structural',\n tokens: [\n '--background-default',\n '--background-neutral-surface',\n '--background-neutral-subtle',\n '--background-neutral-on-subtle',\n '--background-neutral-muted',\n '--background-neutral-strong',\n '--background-neutral-hard',\n ].map(asToken),\n provenance: ['token-output-contract', 'neutral-architecture-23a'],\n },\n];\n\nconst pairs: readonly SemanticPair[] = [\n {\n id: 'feedback-family-alignment',\n kind: 'feedback-family',\n families: feedbackFamilies,\n roles: ['background', 'border', 'content'],\n tokenReferences: feedbackFamilies\n .flatMap((family) => [\n `--background-${family}-subtle`,\n `--border-${family}-subtle`,\n `--content-${family}-primary`,\n ])\n .map(asToken),\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'inverted-surface-content',\n kind: 'inverted-content',\n roles: ['background', 'action', 'content'],\n tokenReferences: [\n '--background-inverted',\n '--action-inverted-normal',\n '--content-inverted-primary',\n ].map(asToken),\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'action-state-family-membership',\n kind: 'action-state-family',\n families: ['action-primary'],\n roles: ['action'],\n tokenReferences: actionStates.map((state) =>\n asToken(`--action-primary-${state}`),\n ),\n provenance: ['semantic-knowledge-decision-26'],\n },\n];\n\nconst uiConcepts: readonly UiConcept[] = [\n {\n id: 'structural-surface',\n purpose: 'A readable structural surface.',\n requiredRoles: [\n requirement('background', ['--background-default']),\n requirement('content', ['--content-primary']),\n ],\n optionalRoles: [requirement('border', ['--border-default'])],\n scope: 'Structural UI surfaces.',\n nonGoals: ['Does not define page hierarchy.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'neutral-structural-tier',\n purpose: 'A neutral secondary structural grouping.',\n requiredRoles: [\n requirement('background', [\n '--background-neutral-surface',\n '--background-neutral-subtle',\n ]),\n requirement('content', ['--content-primary']),\n ],\n optionalRoles: [requirement('border', ['--border-neutral-subtle'])],\n scope: 'Neutral structural grouping.',\n nonGoals: ['Does not prescribe page-to-card hierarchy.'],\n provenance: ['neutral-architecture-23a', 'semantic-knowledge-decision-26'],\n },\n {\n id: 'interactive-action-surface',\n purpose: 'An interactive action control surface.',\n requiredRoles: [\n requirement('action', ['--action-primary-normal']),\n requirement('content', ['--content-inverted-primary']),\n requirement('focus', ['--focus-ring']),\n ],\n optionalRoles: [requirement('border', ['--border-default'])],\n scope: 'Interactive actions.',\n nonGoals: ['Does not define Menu or Dialog behavior.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'field-control-surface',\n purpose: 'An editable field control surface.',\n requiredRoles: [\n requirement('background', ['--background-default']),\n requirement('border', ['--border-neutral-subtle']),\n requirement('content', ['--content-primary']),\n requirement('focus', ['--focus-ring']),\n ],\n optionalRoles: [requirement('action', ['--action-ghost-hover'])],\n scope: 'Field controls.',\n nonGoals: ['Does not define Select interaction.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'floating-command-surface',\n purpose: 'A temporary floating command surface.',\n requiredRoles: [\n requirement('background', ['--background-default']),\n requirement('border', ['--border-default-alpha']),\n requirement('content', ['--content-primary']),\n requirement('action', ['--action-ghost-hover']),\n requirement('focus', ['--focus-ring']),\n ],\n optionalRoles: [],\n scope: 'Floating command surfaces.',\n nonGoals: ['Does not define Menu keyboard behavior.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'feedback-surface',\n purpose: 'A same-family feedback surface.',\n requiredRoles: [\n requirement('background', ['--background-informative-subtle']),\n requirement('border', ['--border-informative-subtle']),\n requirement('content', ['--content-informative-primary']),\n ],\n optionalRoles: [],\n scope: 'Feedback callouts.',\n nonGoals: ['Does not select feedback purpose from context.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'inverted-surface',\n purpose: 'A local inverted semantic context.',\n requiredRoles: [\n requirement('background', ['--background-inverted']),\n requirement('content', ['--content-inverted-primary']),\n ],\n optionalRoles: [requirement('action', ['--action-inverted-normal'])],\n scope: 'Inverted local surfaces.',\n nonGoals: ['Does not imply dark theme.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n];\n\nconst compositionPatterns: readonly CompositionPattern[] = [\n {\n id: 'action-control',\n scope: 'A stable action control composition.',\n requiredRoles: uiConcepts[2].requiredRoles,\n optionalRoles: uiConcepts[2].optionalRoles,\n allowedStates: actionStates,\n relatedUiConcepts: ['interactive-action-surface'],\n owningGovernanceSource: ['semantic-knowledge-decision-26'],\n nonGoals: ['Does not define component interaction.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'field-control',\n scope: 'A stable field control composition.',\n requiredRoles: uiConcepts[3].requiredRoles,\n optionalRoles: uiConcepts[3].optionalRoles,\n allowedStates: [],\n relatedUiConcepts: ['field-control-surface'],\n owningGovernanceSource: ['semantic-knowledge-decision-26'],\n nonGoals: ['Does not define complex Select behavior.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'floating-command-collection',\n scope: 'A floating command collection composition.',\n requiredRoles: uiConcepts[4].requiredRoles,\n optionalRoles: uiConcepts[4].optionalRoles,\n allowedStates: ['hover', 'active', 'selected'],\n relatedUiConcepts: ['floating-command-surface'],\n owningGovernanceSource: ['semantic-knowledge-decision-26'],\n nonGoals: ['Does not define Menu behavior.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'feedback-callout',\n scope: 'A same-family feedback callout composition.',\n requiredRoles: uiConcepts[5].requiredRoles,\n optionalRoles: uiConcepts[5].optionalRoles,\n allowedStates: [],\n relatedUiConcepts: ['feedback-surface'],\n owningGovernanceSource: ['semantic-knowledge-decision-26'],\n nonGoals: ['Does not select feedback intent.'],\n provenance: ['semantic-knowledge-decision-26'],\n },\n];\n\nconst antiPatterns: readonly DeterministicAntiPattern[] = [\n {\n id: 'primitive-bypass',\n meaning: 'Consumer UI bypasses semantic ownership.',\n scope: 'Consumer color use.',\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'wrong-domain',\n meaning: 'A semantic role is used outside its domain.',\n scope: 'Consumer color use.',\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'wrong-feedback-family',\n meaning: 'Feedback roles mix published families.',\n scope: 'Feedback composition.',\n provenance: ['semantic-knowledge-decision-26'],\n },\n {\n id: 'source-aware-consumer',\n meaning: 'Consumer branches on source identity.',\n scope: 'Consumer runtime boundary.',\n provenance: ['neutral-architecture-23a', 'semantic-knowledge-decision-26'],\n },\n {\n id: 'invalid-lifecycle',\n meaning: 'Consumer uses an unavailable output lifecycle.',\n scope: 'Consumer token use.',\n provenance: ['token-output-contract', 'semantic-knowledge-decision-26'],\n },\n];\n\nexport const semanticGovernanceContract: SemanticGovernanceContract = {\n schemaVersion: '1.0.0',\n semanticGovernanceArtifactVersion: '1.0.0',\n packageCompatibility: {\n minimumPackageVersion: '3.1.0',\n maximumExclusivePackageVersion: '4.0.0',\n },\n tokenOutputContract: {\n entryCount: allOutputEntries.length,\n identitySetFingerprint: fnv1a32(\n referencedEntries\n .map((entry) => `${entry.name}:${entry.lifecycle}`)\n .sort()\n .join('\\n'),\n ),\n referencedTokenCount: referencedEntries.length,\n },\n provenance,\n tokenFacts,\n hierarchies,\n pairs,\n uiConcepts,\n compositionPatterns,\n antiPatterns,\n};\n\nfunction referencesAreKnown(\n references: readonly TokenOutputVariableName[],\n facts: Set<string>,\n) {\n return references.every((reference) => facts.has(reference));\n}\n\nexport function validateSemanticGovernanceContract(\n contract: SemanticGovernanceContract = semanticGovernanceContract,\n): SemanticGovernanceContractValidationReport {\n const errors: string[] = [];\n const sourceEntries = getTokenOutputContractEntries().filter(\n (entry) => roleFor(entry) !== null,\n );\n const sourceByName = new Map(\n sourceEntries.map((entry) => [entry.name, entry]),\n );\n const factNames = new Set(contract.tokenFacts.map((fact) => fact.token));\n if (\n contract.schemaVersion !== '1.0.0' ||\n contract.semanticGovernanceArtifactVersion !== '1.0.0'\n )\n errors.push('Unsupported contract version.');\n if (\n contract.tokenOutputContract.entryCount !==\n getTokenOutputContractEntries().length\n )\n errors.push('Token Output Contract entry count is stale.');\n if (\n contract.tokenOutputContract.referencedTokenCount !== sourceEntries.length\n )\n errors.push('Referenced token count is stale.');\n if (\n factNames.size !== contract.tokenFacts.length ||\n factNames.size !== sourceEntries.length\n )\n errors.push('Token facts must uniquely cover every non-dimension output.');\n for (const fact of contract.tokenFacts) {\n const source = sourceByName.get(fact.token);\n if (\n !source ||\n source.lifecycle !== fact.lifecycle ||\n roleFor(source) !== fact.role\n )\n errors.push(`Invalid token fact: ${fact.token}`);\n }\n const knownProvenance = new Set(\n contract.provenance.map((record) => record.id),\n );\n const hasValidProvenance = (ids: readonly string[]) =>\n ids.length > 0 && ids.every((id) => knownProvenance.has(id));\n if (\n !contract.provenance.every(\n (record) => record.authorityStatus === 'Accepted',\n )\n )\n errors.push('Provenance must be Accepted.');\n for (const hierarchy of contract.hierarchies)\n if (\n !referencesAreKnown(hierarchy.tokens, factNames) ||\n !hasValidProvenance(hierarchy.provenance)\n )\n errors.push(`Invalid hierarchy: ${hierarchy.id}`);\n for (const pair of contract.pairs)\n if (\n !referencesAreKnown(pair.tokenReferences, factNames) ||\n !hasValidProvenance(pair.provenance)\n )\n errors.push(`Invalid pair: ${pair.id}`);\n for (const concept of contract.uiConcepts) {\n if (\n !concept.requiredRoles.every((item) =>\n referencesAreKnown(item.tokenReferences, factNames),\n ) ||\n !hasValidProvenance(concept.provenance)\n )\n errors.push(`Invalid UI concept: ${concept.id}`);\n }\n const conceptIds = new Set(contract.uiConcepts.map((concept) => concept.id));\n for (const pattern of contract.compositionPatterns) {\n if (\n !pattern.requiredRoles.every((item) =>\n referencesAreKnown(item.tokenReferences, factNames),\n ) ||\n !pattern.relatedUiConcepts.every((id) => conceptIds.has(id)) ||\n !hasValidProvenance(pattern.provenance)\n )\n errors.push(`Invalid composition pattern: ${pattern.id}`);\n }\n if (\n contract.uiConcepts.length !== 7 ||\n contract.compositionPatterns.length !== 4 ||\n contract.antiPatterns.length !== 5\n )\n errors.push('Published governance collection cardinality is invalid.');\n return { valid: errors.length === 0, errors };\n}\n"],"mappings":";;AAwHA,IAAM,aAAa;CACjB;EACE,IAAI;EACJ,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;EACpB;CACD;EACE,IAAI;EACJ,mBACE;EACF,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;EACpB;CACD;EACE,IAAI;EACJ,mBACE;EACF,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;EACpB;CACD;EACE,IAAI;EACJ,mBACE;EACF,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;EACpB;CACF;AAED,IAAM,mBAAmB;CACvB;CACA;CACA;CACA;CACD;AACD,IAAM,eAAe;CAAC;CAAU;CAAS;CAAU;CAAW;AAE9D,SAAS,QAAQ,OAAwC;AACvD,QAAO;;AAGT,SAAS,QACP,OAC+B;AAC/B,Q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pB,uBAAuB;EACvB,gCAAgC;EACjC;CACD,qBAAqB;EACnB,YAAY,iBAAiB;EAC7B,wBAAwB,QACtB,kBACG,KAAK,UAAU,GAAG,MAAM,KAAK,GAAG,MAAM,YAAY,CAClD,MAAM,CACN,KAAK,KAAK,CACd;EACD,sBAAsB,kBAAkB;EACzC;CACD;CACA;CACA;CACA;CACA;CACA;CACA,cAxDwD;EACxD;GACE,IAAI;GACJ,SAAS;GACT,OAAO;GACP,YAAY,CAAC,iCAAiC;GAC/C;EACD;GACE,IAAI;GACJ,SAAS;GACT,OAAO;GACP,YAAY,CAAC,iCAAiC;GAC/C;EACD;GACE,IAAI;GACJ,SAAS;GACT,OAAO;GACP,YAAY,CAAC,iCAAiC;GAC/C;EACD;GACE,IAAI;GACJ,SAAS;GACT,OAAO;GACP,YAAY,CAAC,4BAA4B,iCAAiC;GAC3E;EACD;GACE,IAAI;GACJ,SAAS;GACT,OAAO;GACP,YAAY,CAAC,yBAAyB,iCAAiC;GACxE;EACF;CA0BA"}
@@ -1,3 +1,3 @@
1
1
  import { AldThemeCssVars } from '../../types';
2
2
  export declare const aldDarkBaselineDeclarations: AldThemeCssVars;
3
- export declare const aldDarkBaselineDeclarationsFingerprint = "fnv1a-2ba03d53";
3
+ export declare const aldDarkBaselineDeclarationsFingerprint = "fnv1a-757ec517";
@@ -40,6 +40,7 @@ var aldDarkBaselineDeclarations = Object.freeze({
40
40
  "--action-inverted-selected": "#F5F5F5",
41
41
  "--background-default": "#0A0A0A",
42
42
  "--background-inverted": "#FAFAFA",
43
+ "--background-mask": "rgba(0 0 0 / 0.45)",
43
44
  "--background-brand-muted": "var(--semantic-brand-900)",
44
45
  "--background-brand-on-subtle": "var(--semantic-brand-800)",
45
46
  "--background-brand-strong": "var(--semantic-brand-500)",
@@ -1 +1 @@
1
- {"version":3,"file":"darkBaselineDeclarations.js","names":[],"sources":["../../../../../src/theme/runtime/colorValueMode/generated/darkBaselineDeclarations.ts"],"sourcesContent":["/* Generated from darkResolvedTokenValueManifest. Do not edit manually. Fingerprint: fnv1a-2ba03d53. */\n\nimport type { AldThemeCssVars } from '../../types';\n\nexport const aldDarkBaselineDeclarations = Object.freeze({\n '--action-primary-normal': 'var(--semantic-brand-500)',\n '--action-primary-hover': 'var(--semantic-brand-400)',\n '--action-primary-active': 'var(--semantic-brand-600)',\n '--action-primary-selected': 'var(--semantic-brand-900)',\n '--action-primary-subtle-normal': 'var(--semantic-brand-900)',\n '--action-primary-subtle-hover': 'var(--semantic-brand-800)',\n '--action-primary-subtle-active': 'var(--semantic-brand-700)',\n '--action-primary-subtle-selected': 'var(--semantic-brand-900)',\n '--action-neutral-normal': '#262626',\n '--action-neutral-hover': '#404040',\n '--action-neutral-active': '#525252',\n '--action-neutral-selected': '#262626',\n '--action-neutral-subtle-normal': '#171717',\n '--action-neutral-subtle-hover': '#262626',\n '--action-neutral-subtle-active': '#404040',\n '--action-neutral-subtle-selected': '#262626',\n '--action-destructive-normal': 'var(--semantic-negative-500)',\n '--action-destructive-hover': 'var(--semantic-negative-400)',\n '--action-destructive-active': 'var(--semantic-negative-600)',\n '--action-destructive-selected': 'var(--semantic-negative-900)',\n '--action-destructive-subtle-normal': 'var(--semantic-negative-900)',\n '--action-destructive-subtle-hover': 'var(--semantic-negative-800)',\n '--action-destructive-subtle-active': 'var(--semantic-negative-700)',\n '--action-destructive-subtle-selected': 'var(--semantic-negative-900)',\n '--action-ghost-normal': 'transparent',\n '--action-ghost-hover': 'rgba(255 255 255 / 0.05)',\n '--action-ghost-active': 'rgba(255 255 255 / 0.10)',\n '--action-ghost-selected': 'rgba(255 255 255 / 0.05)',\n '--action-ghost-inverted-hover': 'rgba(0 0 0 / 0.10)',\n '--action-ghost-inverted-active': 'rgba(0 0 0 / 0.15)',\n '--action-ghost-inverted-selected': 'rgba(0 0 0 / 0.10)',\n '--action-ghost-destructive-hover': 'var(--semantic-negative-900)',\n '--action-ghost-destructive-active': 'var(--semantic-negative-800)',\n '--action-ghost-destructive-selected': 'var(--semantic-negative-900)',\n '--action-inverted-normal': '#FAFAFA',\n '--action-inverted-hover': '#F5F5F5',\n '--action-inverted-active': '#E5E5E5',\n '--action-inverted-selected': '#F5F5F5',\n '--background-default': '#0A0A0A',\n '--background-inverted': '#FAFAFA',\n '--background-brand-muted': 'var(--semantic-brand-900)',\n '--background-brand-on-subtle': 'var(--semantic-brand-800)',\n '--background-brand-strong': 'var(--semantic-brand-500)',\n '--background-neutral-hard': '#404040',\n '--background-neutral-muted': '#262626',\n '--background-neutral-on-subtle': '#262626',\n '--background-neutral-strong': '#404040',\n '--background-neutral-subtle': '#171717',\n '--background-neutral-surface': '#171717',\n '--background-informative-muted': 'var(--semantic-informative-900)',\n '--background-informative-on-subtle': 'var(--semantic-informative-800)',\n '--background-informative-strong': 'var(--semantic-informative-500)',\n '--background-informative-subtle': 'var(--semantic-informative-900)',\n '--background-informative-surface': '#0A0A0A',\n '--background-positive-muted': 'var(--semantic-positive-900)',\n '--background-positive-on-subtle': 'var(--semantic-positive-800)',\n '--background-positive-strong': 'var(--semantic-positive-500)',\n '--background-positive-subtle': 'var(--semantic-positive-900)',\n '--background-positive-surface': '#0A0A0A',\n '--background-warning-muted': 'var(--semantic-warning-900)',\n '--background-warning-on-subtle': 'var(--semantic-warning-800)',\n '--background-warning-strong': 'var(--semantic-warning-500)',\n '--background-warning-subtle': 'var(--semantic-warning-900)',\n '--background-warning-surface': '#0A0A0A',\n '--background-negative-muted': 'var(--semantic-negative-900)',\n '--background-negative-on-subtle': 'var(--semantic-negative-800)',\n '--background-negative-strong': 'var(--semantic-negative-500)',\n '--background-negative-subtle': 'var(--semantic-negative-900)',\n '--background-negative-surface': '#0A0A0A',\n '--border-default': '#404040',\n '--border-default-alpha': 'rgba(255 255 255 / 0.10)',\n '--border-inverted': '#171717',\n '--border-brand-strong': 'var(--semantic-brand-500)',\n '--border-brand-subtle': 'var(--semantic-brand-700)',\n '--border-neutral-strong': '#525252',\n '--border-neutral-subtle': '#262626',\n '--border-informative-strong': 'var(--semantic-informative-500)',\n '--border-informative-subtle': 'var(--semantic-informative-700)',\n '--border-positive-strong': 'var(--semantic-positive-500)',\n '--border-positive-subtle': 'var(--semantic-positive-700)',\n '--border-warning-strong': 'var(--semantic-warning-500)',\n '--border-warning-subtle': 'var(--semantic-warning-700)',\n '--border-negative-strong': 'var(--semantic-negative-500)',\n '--border-negative-subtle': 'var(--semantic-negative-700)',\n '--control-state-selected': 'var(--semantic-brand-500)',\n '--control-state-unselected': '#737373',\n '--focus-ring': 'var(--semantic-brand-500)',\n '--content-primary': '#FAFAFA',\n '--content-secondary': '#E5E5E5',\n '--content-tertiary': '#A3A3A3',\n '--content-disabled': '#525252',\n '--content-brand-primary': 'var(--semantic-brand-400)',\n '--content-brand-secondary': 'var(--semantic-brand-500)',\n '--content-inverted-primary': '#171717',\n '--content-inverted-secondary': '#525252',\n '--content-inverted-tertiary': '#737373',\n '--content-inverted-disabled': '#A3A3A3',\n '--content-informative-primary': 'var(--semantic-informative-300)',\n '--content-informative-secondary': 'var(--semantic-informative-400)',\n '--content-positive-primary': 'var(--semantic-positive-300)',\n '--content-positive-secondary': 'var(--semantic-positive-400)',\n '--content-warning-primary': 'var(--semantic-warning-300)',\n '--content-warning-secondary': 'var(--semantic-warning-400)',\n '--content-negative-primary': 'var(--semantic-negative-300)',\n '--content-negative-secondary': 'var(--semantic-negative-400)',\n '--dimension-0': '0px',\n '--dimension-0-5': '2px',\n '--dimension-1': '4px',\n '--dimension-1-5': '6px',\n '--dimension-2': '8px',\n '--dimension-3': '12px',\n '--dimension-4': '16px',\n '--dimension-5': '20px',\n '--dimension-6': '24px',\n '--dimension-8': '32px',\n '--dimension-10': '40px',\n '--dimension-12': '48px',\n '--dimension-14': '56px',\n '--dimension-16': '64px',\n '--dimension-18': '72px',\n '--dimension-20': '80px',\n}) as AldThemeCssVars;\n\nexport const aldDarkBaselineDeclarationsFingerprint = 'fnv1a-2ba03d53';\n"],"mappings":";AAIA,IAAa,8BAA8B,OAAO,O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AC3B,4BAA4B;CAC5B,4BAA4B;CAC5B,4BAA4B;CAC5B,8BAA8B;CAC9B,gBAAgB;CAChB,qBAAqB;CACrB,uBAAuB;CACvB,sBAAsB;CACtB,sBAAsB;CACtB,2BAA2B;CAC3B,6BAA6B;CAC7B,8BAA8B;CAC9B,gCAAgC;CAChC,+BAA+B;CAC/B,+BAA+B;CAC/B,iCAAiC;CACjC,mCAAmC;CACnC,8BAA8B;CAC9B,gCAAgC;CAChC,6BAA6B;CAC7B,+BAA+B;CAC/B,8BAA8B;CAC9B,gCAAgC;CAChC,iBAAiB;CACjB,mBAAmB;CACnB,iBAAiB;CACjB,mBAAmB;CACnB,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CACjB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CACnB,CAAC"}
1
+ {"version":3,"file":"darkBaselineDeclarations.js","names":[],"sources":["../../../../../src/theme/runtime/colorValueMode/generated/darkBaselineDeclarations.ts"],"sourcesContent":["/* Generated from darkResolvedTokenValueManifest. Do not edit manually. Fingerprint: fnv1a-757ec517. */\n\nimport type { AldThemeCssVars } from '../../types';\n\nexport const aldDarkBaselineDeclarations = Object.freeze({\n '--action-primary-normal': 'var(--semantic-brand-500)',\n '--action-primary-hover': 'var(--semantic-brand-400)',\n '--action-primary-active': 'var(--semantic-brand-600)',\n '--action-primary-selected': 'var(--semantic-brand-900)',\n '--action-primary-subtle-normal': 'var(--semantic-brand-900)',\n '--action-primary-subtle-hover': 'var(--semantic-brand-800)',\n '--action-primary-subtle-active': 'var(--semantic-brand-700)',\n '--action-primary-subtle-selected': 'var(--semantic-brand-900)',\n '--action-neutral-normal': '#262626',\n '--action-neutral-hover': '#404040',\n '--action-neutral-active': '#525252',\n '--action-neutral-selected': '#262626',\n '--action-neutral-subtle-normal': '#171717',\n '--action-neutral-subtle-hover': '#262626',\n '--action-neutral-subtle-active': '#404040',\n '--action-neutral-subtle-selected': '#262626',\n '--action-destructive-normal': 'var(--semantic-negative-500)',\n '--action-destructive-hover': 'var(--semantic-negative-400)',\n '--action-destructive-active': 'var(--semantic-negative-600)',\n '--action-destructive-selected': 'var(--semantic-negative-900)',\n '--action-destructive-subtle-normal': 'var(--semantic-negative-900)',\n '--action-destructive-subtle-hover': 'var(--semantic-negative-800)',\n '--action-destructive-subtle-active': 'var(--semantic-negative-700)',\n '--action-destructive-subtle-selected': 'var(--semantic-negative-900)',\n '--action-ghost-normal': 'transparent',\n '--action-ghost-hover': 'rgba(255 255 255 / 0.05)',\n '--action-ghost-active': 'rgba(255 255 255 / 0.10)',\n '--action-ghost-selected': 'rgba(255 255 255 / 0.05)',\n '--action-ghost-inverted-hover': 'rgba(0 0 0 / 0.10)',\n '--action-ghost-inverted-active': 'rgba(0 0 0 / 0.15)',\n '--action-ghost-inverted-selected': 'rgba(0 0 0 / 0.10)',\n '--action-ghost-destructive-hover': 'var(--semantic-negative-900)',\n '--action-ghost-destructive-active': 'var(--semantic-negative-800)',\n '--action-ghost-destructive-selected': 'var(--semantic-negative-900)',\n '--action-inverted-normal': '#FAFAFA',\n '--action-inverted-hover': '#F5F5F5',\n '--action-inverted-active': '#E5E5E5',\n '--action-inverted-selected': '#F5F5F5',\n '--background-default': '#0A0A0A',\n '--background-inverted': '#FAFAFA',\n '--background-mask': 'rgba(0 0 0 / 0.45)',\n '--background-brand-muted': 'var(--semantic-brand-900)',\n '--background-brand-on-subtle': 'var(--semantic-brand-800)',\n '--background-brand-strong': 'var(--semantic-brand-500)',\n '--background-neutral-hard': '#404040',\n '--background-neutral-muted': '#262626',\n '--background-neutral-on-subtle': '#262626',\n '--background-neutral-strong': '#404040',\n '--background-neutral-subtle': '#171717',\n '--background-neutral-surface': '#171717',\n '--background-informative-muted': 'var(--semantic-informative-900)',\n '--background-informative-on-subtle': 'var(--semantic-informative-800)',\n '--background-informative-strong': 'var(--semantic-informative-500)',\n '--background-informative-subtle': 'var(--semantic-informative-900)',\n '--background-informative-surface': '#0A0A0A',\n '--background-positive-muted': 'var(--semantic-positive-900)',\n '--background-positive-on-subtle': 'var(--semantic-positive-800)',\n '--background-positive-strong': 'var(--semantic-positive-500)',\n '--background-positive-subtle': 'var(--semantic-positive-900)',\n '--background-positive-surface': '#0A0A0A',\n '--background-warning-muted': 'var(--semantic-warning-900)',\n '--background-warning-on-subtle': 'var(--semantic-warning-800)',\n '--background-warning-strong': 'var(--semantic-warning-500)',\n '--background-warning-subtle': 'var(--semantic-warning-900)',\n '--background-warning-surface': '#0A0A0A',\n '--background-negative-muted': 'var(--semantic-negative-900)',\n '--background-negative-on-subtle': 'var(--semantic-negative-800)',\n '--background-negative-strong': 'var(--semantic-negative-500)',\n '--background-negative-subtle': 'var(--semantic-negative-900)',\n '--background-negative-surface': '#0A0A0A',\n '--border-default': '#404040',\n '--border-default-alpha': 'rgba(255 255 255 / 0.10)',\n '--border-inverted': '#171717',\n '--border-brand-strong': 'var(--semantic-brand-500)',\n '--border-brand-subtle': 'var(--semantic-brand-700)',\n '--border-neutral-strong': '#525252',\n '--border-neutral-subtle': '#262626',\n '--border-informative-strong': 'var(--semantic-informative-500)',\n '--border-informative-subtle': 'var(--semantic-informative-700)',\n '--border-positive-strong': 'var(--semantic-positive-500)',\n '--border-positive-subtle': 'var(--semantic-positive-700)',\n '--border-warning-strong': 'var(--semantic-warning-500)',\n '--border-warning-subtle': 'var(--semantic-warning-700)',\n '--border-negative-strong': 'var(--semantic-negative-500)',\n '--border-negative-subtle': 'var(--semantic-negative-700)',\n '--control-state-selected': 'var(--semantic-brand-500)',\n '--control-state-unselected': '#737373',\n '--focus-ring': 'var(--semantic-brand-500)',\n '--content-primary': '#FAFAFA',\n '--content-secondary': '#E5E5E5',\n '--content-tertiary': '#A3A3A3',\n '--content-disabled': '#525252',\n '--content-brand-primary': 'var(--semantic-brand-400)',\n '--content-brand-secondary': 'var(--semantic-brand-500)',\n '--content-inverted-primary': '#171717',\n '--content-inverted-secondary': '#525252',\n '--content-inverted-tertiary': '#737373',\n '--content-inverted-disabled': '#A3A3A3',\n '--content-informative-primary': 'var(--semantic-informative-300)',\n '--content-informative-secondary': 'var(--semantic-informative-400)',\n '--content-positive-primary': 'var(--semantic-positive-300)',\n '--content-positive-secondary': 'var(--semantic-positive-400)',\n '--content-warning-primary': 'var(--semantic-warning-300)',\n '--content-warning-secondary': 'var(--semantic-warning-400)',\n '--content-negative-primary': 'var(--semantic-negative-300)',\n '--content-negative-secondary': 'var(--semantic-negative-400)',\n '--dimension-0': '0px',\n '--dimension-0-5': '2px',\n '--dimension-1': '4px',\n '--dimension-1-5': '6px',\n '--dimension-2': '8px',\n '--dimension-3': '12px',\n '--dimension-4': '16px',\n '--dimension-5': '20px',\n '--dimension-6': '24px',\n '--dimension-8': '32px',\n '--dimension-10': '40px',\n '--dimension-12': '48px',\n '--dimension-14': '56px',\n '--dimension-16': '64px',\n '--dimension-18': '72px',\n '--dimension-20': '80px',\n}) as AldThemeCssVars;\n\nexport const aldDarkBaselineDeclarationsFingerprint = 'fnv1a-757ec517';\n"],"mappings":";AAIA,IAAa,8BAA8B,OAAO,OAAO;CACvD,2BAA2B;CAC3B,0BAA0B;CAC1B,2BAA2B;CAC3B,6BAA6B;CAC7B,kCAAkC;CAClC,iCAAiC;CACjC,kCAAkC;CAClC,oCAAoC;CACpC,2BAA2B;CAC3B,0BAA0B;CAC1B,2BAA2B;CAC3B,6BAA6B;CAC7B,kCAAkC;CAClC,iCAAiC;CACjC,kCAAkC;CAClC,oCAAoC;CACpC,+BAA+B;CAC/B,8BAA8B;CAC9B,+BAA+B;CAC/B,iCAAiC;CACjC,sCAAsC;CACtC,qCAAqC;CACrC,sCAAsC;CACtC,wCAAwC;CACxC,yBAAyB;CACzB,wBAAwB;CACxB,yBAAyB;CACzB,2BAA2B;CAC3B,iCAAiC;CACjC,kCAAkC;CAClC,oCAAoC;CACpC,oCAAoC;CACpC,qCAAqC;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B,iBAAiB;CACjB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CACnB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { AldThemeCssVars } from '../../types';
2
2
  export declare const aldSlateDarkDeclarations: AldThemeCssVars;
3
- export declare const aldSlateDarkDeclarationsFingerprint = "fnv1a-31dae99f";
3
+ export declare const aldSlateDarkDeclarationsFingerprint = "fnv1a-854d98eb";