@animus-ui/extract 0.1.17 → 0.1.19

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 (35) hide show
  1. package/README.md +2 -2
  2. package/crates/extract-v2/animus-extract-v2.darwin-arm64.node +0 -0
  3. package/crates/extract-v2/animus-extract-v2.linux-arm64-gnu.node +0 -0
  4. package/crates/extract-v2/animus-extract-v2.linux-x64-gnu.node +0 -0
  5. package/crates/extract-v2/index.d.ts +5 -0
  6. package/dist/index.cjs +6 -2
  7. package/dist/index.mjs +2 -2
  8. package/dist/pipeline/asset-placeholders.d.ts +19 -0
  9. package/dist/pipeline/asset-placeholders.d.ts.map +1 -1
  10. package/dist/pipeline/engine-retirement.d.ts.map +1 -1
  11. package/dist/pipeline/index.d.ts +3 -3
  12. package/dist/pipeline/index.d.ts.map +1 -1
  13. package/dist/pipeline/manifest-diagnostics.d.ts +32 -1
  14. package/dist/pipeline/manifest-diagnostics.d.ts.map +1 -1
  15. package/dist/pipeline/manifest-schema.d.ts +5 -2
  16. package/dist/pipeline/manifest-schema.d.ts.map +1 -1
  17. package/dist/pipeline/property-diagnostics.d.ts +17 -0
  18. package/dist/pipeline/property-diagnostics.d.ts.map +1 -0
  19. package/dist/pipeline/property-registrations.d.ts +23 -0
  20. package/dist/pipeline/property-registrations.d.ts.map +1 -0
  21. package/dist/pipeline/run-analysis.d.ts +2 -0
  22. package/dist/pipeline/run-analysis.d.ts.map +1 -1
  23. package/dist/pipeline/system-config.d.ts +6 -0
  24. package/dist/pipeline/system-config.d.ts.map +1 -1
  25. package/dist/{pipeline-D7TdVERQ.mjs → pipeline-BuiItKT-.mjs} +393 -31
  26. package/dist/{pipeline-OMz1HGqU.cjs → pipeline-CD2qmEEn.cjs} +420 -34
  27. package/dist/session/extraction-session.d.ts +3 -5
  28. package/dist/session/extraction-session.d.ts.map +1 -1
  29. package/dist/session/timing.d.ts.map +1 -1
  30. package/dist/session.cjs +20 -20
  31. package/dist/session.mjs +20 -20
  32. package/index-v2.js +1 -1
  33. package/package.json +4 -4
  34. package/dist/pipeline/timing-waterfall.d.ts +0 -6
  35. package/dist/pipeline/timing-waterfall.d.ts.map +0 -1
package/README.md CHANGED
@@ -14,8 +14,8 @@ Pre-built binaries for:
14
14
 
15
15
  ## API
16
16
 
17
- v2 is the only engine (v1 was retired — openspec: `retire-extract-v1`); the
18
- package root entry is the engine.
17
+ v2 is the only engine, since the v1 engine was removed. The package root
18
+ entry is the engine.
19
19
 
20
20
  ```tsx
21
21
  import { ExtractEngine, loadSystemModule } from '@animus-ui/extract';
@@ -66,6 +66,11 @@ export interface NapiSystemConfig {
66
66
  * pass it as `declarationScalesJson`. Absent when the theme has none.
67
67
  */
68
68
  declarationScalesJson?: string
69
+ /**
70
+ * Declared custom-property records JSON, sorted by name. Absent when
71
+ * the theme declares none.
72
+ */
73
+ propertyRecordsJson?: string
69
74
  selectorAliases?: string
70
75
  selectorOrder?: string
71
76
  /**
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_pipeline = require("./pipeline-OMz1HGqU.cjs");
2
+ const require_pipeline = require("./pipeline-CD2qmEEn.cjs");
3
3
  exports.ANIMUS_LAYERS = require_pipeline.ANIMUS_LAYERS;
4
4
  exports.AnimusConfigError = require_pipeline.AnimusConfigError;
5
5
  exports.CORE_OPTION_KEYS = require_pipeline.CORE_OPTION_KEYS;
@@ -7,6 +7,7 @@ exports.DEFAULT_EXCLUDE = require_pipeline.DEFAULT_EXCLUDE;
7
7
  exports.DEFAULT_EXTENSIONS = require_pipeline.DEFAULT_EXTENSIONS;
8
8
  exports.DRIVER_NAMESPACES = require_pipeline.DRIVER_NAMESPACES;
9
9
  exports.ENGINE_TRANSFORM_EXTENSIONS = require_pipeline.ENGINE_TRANSFORM_EXTENSIONS;
10
+ exports.INVALID_PROPERTY_REGISTRATION = require_pipeline.INVALID_PROPERTY_REGISTRATION;
10
11
  exports.REPLACEABLE_DEFAULT_EXCLUDE = require_pipeline.REPLACEABLE_DEFAULT_EXCLUDE;
11
12
  exports.RETIRED_ENGINE_MESSAGE = require_pipeline.RETIRED_ENGINE_MESSAGE;
12
13
  exports.STRUCTURAL_EXCLUDE = require_pipeline.STRUCTURAL_EXCLUDE;
@@ -40,8 +41,8 @@ exports.excludeCollectedPackages = require_pipeline.excludeCollectedPackages;
40
41
  exports.extractSystemFilePackages = require_pipeline.extractSystemFilePackages;
41
42
  exports.findAssetSpecifiers = require_pipeline.findAssetSpecifiers;
42
43
  exports.findPackageRoot = require_pipeline.findPackageRoot;
44
+ exports.findSheetAssetSpecifiers = require_pipeline.findSheetAssetSpecifiers;
43
45
  exports.firstOwners = require_pipeline.firstOwners;
44
- exports.formatRustTimingWaterfall = require_pipeline.formatRustTimingWaterfall;
45
46
  exports.hashReplacementPlans = require_pipeline.hashReplacementPlans;
46
47
  exports.ingestSourceEntries = require_pipeline.ingestSourceEntries;
47
48
  exports.isAdvisorySourceDiagnostic = require_pipeline.isAdvisorySourceDiagnostic;
@@ -55,6 +56,7 @@ exports.postProcessCss = require_pipeline.postProcessCss;
55
56
  exports.preprocessMdx = require_pipeline.preprocessMdx;
56
57
  exports.projectExternalFileOwners = require_pipeline.projectExternalFileOwners;
57
58
  exports.readTsconfigAliasPairs = require_pipeline.readTsconfigAliasPairs;
59
+ exports.reportSurvivingAssetPlaceholders = require_pipeline.reportSurvivingAssetPlaceholders;
58
60
  exports.resolveAbsolutePathSpecifier = require_pipeline.resolveAbsolutePathSpecifier;
59
61
  exports.resolveAssetFile = require_pipeline.resolveAssetFile;
60
62
  exports.resolveLightningTargets = require_pipeline.resolveLightningTargets;
@@ -70,7 +72,9 @@ exports.stableStringify = require_pipeline.stableStringify;
70
72
  exports.staleDistIncludesMessage = require_pipeline.staleDistIncludesMessage;
71
73
  exports.stripLeadingLayerDeclaration = require_pipeline.stripLeadingLayerDeclaration;
72
74
  exports.substituteAssetPlaceholders = require_pipeline.substituteAssetPlaceholders;
75
+ exports.substituteSheetAssets = require_pipeline.substituteSheetAssets;
73
76
  exports.surfaceManifestDiagnostics = require_pipeline.surfaceManifestDiagnostics;
77
+ exports.systemLoadDiagnostics = require_pipeline.systemLoadDiagnostics;
74
78
  exports.toWatchKeys = require_pipeline.toWatchKeys;
75
79
  exports.unreadableSourceDiagnostic = require_pipeline.unreadableSourceDiagnostic;
76
80
  exports.unresolvableIncludesMessage = require_pipeline.unresolvableIncludesMessage;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as DEFAULT_EXCLUDE, A as enforceExternalTokenContracts, B as firstOwners, C as surfaceManifestDiagnostics, Ct as stripLeadingLayerDeclaration, D as postProcessCss, E as vocabularyWitnessDiagnostics, F as createSourceCorpus, G as walkPackageSources, H as resolveAbsolutePathSpecifier, I as collectExternalPackageSources, J as sharesVolumeRoot, K as createSourceIdentity, L as excludeCollectedPackages, M as resolveThroughPathAliases, N as findAssetSpecifiers, O as resolveLightningTargets, P as substituteAssetPlaceholders, Q as CORE_OPTION_KEYS, R as extractSystemFilePackages, S as isUnresolvedParentDrop, St as assembleStylesheet, T as unresolvedParentName, U as staleDistIncludesMessage, V as isExcludedPackageRelativePath, W as unresolvableIncludesMessage, X as discoverFiles, Y as compareDiscoveryOrder, Z as AnimusConfigError, _ as clearEngineCache, _t as isEngineTransformExtension, a as assertNoErrorDiagnostics, at as resolveMode, b as VOCABULARY_COLLISION, bt as buildAnalyzeProjectArgs, c as buildSystemPropsModule, ct as assertNoRetiredEngineSelection, d as loadSystemConfig, dt as isAdvisorySourceDiagnostic, et as DRIVER_NAMESPACES, f as applyPrefix, ft as parseFilesJson, g as buildAnalysisInputs, gt as ENGINE_TRANSFORM_EXTENSIONS, h as stableStringify, ht as DEFAULT_EXTENSIONS, i as snapshotFilePlans, it as createExcludeMatcher, j as resolveAssetFile, k as buildPathAliasesJson, l as buildDynamicPropConfig, lt as createV2EngineApi, m as camelToKebab, mt as adaptSvelteSource, n as diffFilePlans, nt as STRUCTURAL_EXCLUDE, o as readTsconfigAliasPairs, ot as resolveVerbosity, p as serializeStaticCss, pt as projectExternalFileOwners, q as isPathWithinRoot, r as hashReplacementPlans, rt as assertKnownOptionKeys, s as formatRustTimingWaterfall, st as RETIRED_ENGINE_MESSAGE, t as toWatchKeys, tt as REPLACEABLE_DEFAULT_EXCLUDE, u as runStructuralSelfCheck, ut as ingestSourceEntries, v as runProjectAnalysis, vt as preprocessMdx, w as unreadableSourceDiagnostic, wt as validateLayerOrder, x as VOCABULARY_LEGACY_VERB, xt as ANIMUS_LAYERS, y as applyUnitFallback, yt as contentHash, z as findPackageRoot } from "./pipeline-D7TdVERQ.mjs";
2
- export { ANIMUS_LAYERS, AnimusConfigError, CORE_OPTION_KEYS, DEFAULT_EXCLUDE, DEFAULT_EXTENSIONS, DRIVER_NAMESPACES, ENGINE_TRANSFORM_EXTENSIONS, REPLACEABLE_DEFAULT_EXCLUDE, RETIRED_ENGINE_MESSAGE, STRUCTURAL_EXCLUDE, VOCABULARY_COLLISION, VOCABULARY_LEGACY_VERB, adaptSvelteSource, applyPrefix, applyUnitFallback, assembleStylesheet, assertKnownOptionKeys, assertNoErrorDiagnostics, assertNoRetiredEngineSelection, buildAnalysisInputs, buildAnalyzeProjectArgs, buildDynamicPropConfig, buildPathAliasesJson, buildSystemPropsModule, camelToKebab, clearEngineCache, collectExternalPackageSources, compareDiscoveryOrder, contentHash, createExcludeMatcher, createSourceCorpus, createSourceIdentity, createV2EngineApi, diffFilePlans, discoverFiles, enforceExternalTokenContracts, excludeCollectedPackages, extractSystemFilePackages, findAssetSpecifiers, findPackageRoot, firstOwners, formatRustTimingWaterfall, hashReplacementPlans, ingestSourceEntries, isAdvisorySourceDiagnostic, isEngineTransformExtension, isExcludedPackageRelativePath, isPathWithinRoot, isUnresolvedParentDrop, loadSystemConfig, parseFilesJson, postProcessCss, preprocessMdx, projectExternalFileOwners, readTsconfigAliasPairs, resolveAbsolutePathSpecifier, resolveAssetFile, resolveLightningTargets, resolveMode, resolveThroughPathAliases, resolveVerbosity, runProjectAnalysis, runStructuralSelfCheck, serializeStaticCss, sharesVolumeRoot, snapshotFilePlans, stableStringify, staleDistIncludesMessage, stripLeadingLayerDeclaration, substituteAssetPlaceholders, surfaceManifestDiagnostics, toWatchKeys, unreadableSourceDiagnostic, unresolvableIncludesMessage, unresolvedParentName, validateLayerOrder, vocabularyWitnessDiagnostics, walkPackageSources };
1
+ import { $ as compareDiscoveryOrder, A as buildPathAliasesJson, B as collectExternalPackageSources, C as surfaceManifestDiagnostics, Ct as contentHash, D as vocabularyWitnessDiagnostics, Dt as stripLeadingLayerDeclaration, E as unresolvedParentName, Et as assembleStylesheet, F as findSheetAssetSpecifiers, G as isExcludedPackageRelativePath, H as extractSystemFilePackages, I as reportSurvivingAssetPlaceholders, J as unresolvableIncludesMessage, K as resolveAbsolutePathSpecifier, L as substituteAssetPlaceholders, M as resolveAssetFile, N as resolveThroughPathAliases, O as postProcessCss, Ot as validateLayerOrder, P as findAssetSpecifiers, Q as sharesVolumeRoot, R as substituteSheetAssets, S as isUnresolvedParentDrop, St as preprocessMdx, T as unreadableSourceDiagnostic, Tt as ANIMUS_LAYERS, U as findPackageRoot, V as excludeCollectedPackages, W as firstOwners, X as createSourceIdentity, Y as walkPackageSources, Z as isPathWithinRoot, _ as runProjectAnalysis, _t as projectExternalFileOwners, a as assertNoErrorDiagnostics, at as REPLACEABLE_DEFAULT_EXCLUDE, b as VOCABULARY_COLLISION, bt as ENGINE_TRANSFORM_EXTENSIONS, c as buildDynamicPropConfig, ct as createExcludeMatcher, d as applyPrefix, dt as RETIRED_ENGINE_MESSAGE, et as discoverFiles, f as serializeStaticCss, ft as assertNoRetiredEngineSelection, g as clearEngineCache, gt as parseFilesJson, h as buildAnalysisInputs, ht as isAdvisorySourceDiagnostic, i as snapshotFilePlans, it as DRIVER_NAMESPACES, j as enforceExternalTokenContracts, k as resolveLightningTargets, l as runStructuralSelfCheck, lt as resolveMode, m as stableStringify, mt as ingestSourceEntries, n as diffFilePlans, nt as CORE_OPTION_KEYS, o as readTsconfigAliasPairs, ot as STRUCTURAL_EXCLUDE, p as camelToKebab, pt as createV2EngineApi, q as staleDistIncludesMessage, r as hashReplacementPlans, rt as DEFAULT_EXCLUDE, s as buildSystemPropsModule, st as assertKnownOptionKeys, t as toWatchKeys, tt as AnimusConfigError, u as loadSystemConfig, ut as resolveVerbosity, v as applyUnitFallback, vt as adaptSvelteSource, w as systemLoadDiagnostics, wt as buildAnalyzeProjectArgs, x as VOCABULARY_LEGACY_VERB, xt as isEngineTransformExtension, y as INVALID_PROPERTY_REGISTRATION, yt as DEFAULT_EXTENSIONS, z as createSourceCorpus } from "./pipeline-BuiItKT-.mjs";
2
+ export { ANIMUS_LAYERS, AnimusConfigError, CORE_OPTION_KEYS, DEFAULT_EXCLUDE, DEFAULT_EXTENSIONS, DRIVER_NAMESPACES, ENGINE_TRANSFORM_EXTENSIONS, INVALID_PROPERTY_REGISTRATION, REPLACEABLE_DEFAULT_EXCLUDE, RETIRED_ENGINE_MESSAGE, STRUCTURAL_EXCLUDE, VOCABULARY_COLLISION, VOCABULARY_LEGACY_VERB, adaptSvelteSource, applyPrefix, applyUnitFallback, assembleStylesheet, assertKnownOptionKeys, assertNoErrorDiagnostics, assertNoRetiredEngineSelection, buildAnalysisInputs, buildAnalyzeProjectArgs, buildDynamicPropConfig, buildPathAliasesJson, buildSystemPropsModule, camelToKebab, clearEngineCache, collectExternalPackageSources, compareDiscoveryOrder, contentHash, createExcludeMatcher, createSourceCorpus, createSourceIdentity, createV2EngineApi, diffFilePlans, discoverFiles, enforceExternalTokenContracts, excludeCollectedPackages, extractSystemFilePackages, findAssetSpecifiers, findPackageRoot, findSheetAssetSpecifiers, firstOwners, hashReplacementPlans, ingestSourceEntries, isAdvisorySourceDiagnostic, isEngineTransformExtension, isExcludedPackageRelativePath, isPathWithinRoot, isUnresolvedParentDrop, loadSystemConfig, parseFilesJson, postProcessCss, preprocessMdx, projectExternalFileOwners, readTsconfigAliasPairs, reportSurvivingAssetPlaceholders, resolveAbsolutePathSpecifier, resolveAssetFile, resolveLightningTargets, resolveMode, resolveThroughPathAliases, resolveVerbosity, runProjectAnalysis, runStructuralSelfCheck, serializeStaticCss, sharesVolumeRoot, snapshotFilePlans, stableStringify, staleDistIncludesMessage, stripLeadingLayerDeclaration, substituteAssetPlaceholders, substituteSheetAssets, surfaceManifestDiagnostics, systemLoadDiagnostics, toWatchKeys, unreadableSourceDiagnostic, unresolvableIncludesMessage, unresolvedParentName, validateLayerOrder, vocabularyWitnessDiagnostics, walkPackageSources };
@@ -1,4 +1,23 @@
1
1
  export declare const ASSET_PLACEHOLDER_PREFIX = "animus-asset:";
2
2
  export declare function findAssetSpecifiers(css: string): string[];
3
3
  export declare function substituteAssetPlaceholders(css: string, urlBySpecifier: ReadonlyMap<string, string>): string;
4
+ /** The stylesheets one analysis emits. A theme scale value lands in
5
+ * `variableCss`, a global style in `globalCss` and a component's styles in
6
+ * `componentCss`; an asset() placeholder can sit in any of them. */
7
+ export interface AssetSheets {
8
+ variableCss: string;
9
+ globalCss: string;
10
+ componentCss: string;
11
+ }
12
+ export declare function findSheetAssetSpecifiers(sheets: AssetSheets): string[];
13
+ /** The one substitution step every emitted sheet passes through. */
14
+ export declare function substituteSheetAssets(sheets: AssetSheets, urlBySpecifier: ReadonlyMap<string, string>): AssetSheets;
15
+ export declare const UNSUBSTITUTED_ASSET_CODE = "animus.asset.unsubstituted-placeholder";
16
+ /** A placeholder in emitted CSS is a broken URL in the browser: it fails a
17
+ * strict build and warns otherwise. */
18
+ export declare function reportSurvivingAssetPlaceholders(css: string, report: {
19
+ strict?: boolean;
20
+ warn: (message: string) => void;
21
+ prefix: string;
22
+ }): void;
4
23
  //# sourceMappingURL=asset-placeholders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asset-placeholders.d.ts","sourceRoot":"","sources":["../../pipeline/asset-placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AAWxD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAczD;AAED,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAC1C,MAAM,CAgBR"}
1
+ {"version":3,"file":"asset-placeholders.d.ts","sourceRoot":"","sources":["../../pipeline/asset-placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AAWxD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAczD;AAED,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAC1C,MAAM,CAgBR;AAED;;qEAEqE;AACrE,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,EAAE,CAQtE;AAED,oEAAoE;AACpE,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,WAAW,EACnB,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAC1C,WAAW,CAYb;AAED,eAAO,MAAM,wBAAwB,2CACK,CAAC;AAE3C;wCACwC;AACxC,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,MAAM,EACX,MAAM,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC5E,IAAI,CAMN"}
@@ -1 +1 @@
1
- {"version":3,"file":"engine-retirement.d.ts","sourceRoot":"","sources":["../../pipeline/engine-retirement.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,QAEyC,CAAC;AAE7E,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,IAAI,CAIN"}
1
+ {"version":3,"file":"engine-retirement.d.ts","sourceRoot":"","sources":["../../pipeline/engine-retirement.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,QAGQ,CAAC;AAE5C,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,IAAI,CAIN"}
@@ -20,7 +20,8 @@ export { ingestSourceEntries, isAdvisorySourceDiagnostic, parseFilesJson, projec
20
20
  export type { SourceIngestor, SourceIngestorHost } from './source-ingestion';
21
21
  export { createSourceCorpus } from './source-corpus';
22
22
  export type { PublishedSourceCorpus, SourceCorpus, SourceCorpusCache, } from './source-corpus';
23
- export { findAssetSpecifiers, substituteAssetPlaceholders, } from './asset-placeholders';
23
+ export { findAssetSpecifiers, findSheetAssetSpecifiers, reportSurvivingAssetPlaceholders, substituteAssetPlaceholders, substituteSheetAssets, } from './asset-placeholders';
24
+ export type { AssetSheets } from './asset-placeholders';
24
25
  export { resolveAssetFile, resolveThroughPathAliases } from './resolve-asset';
25
26
  export { enforceExternalTokenContracts } from './correlate-external-tokens';
26
27
  export { buildPathAliasesJson } from './path-aliases';
@@ -35,7 +36,6 @@ export { loadSystemConfig } from './system-config';
35
36
  export type { StructuralCheckInput } from './structural-self-check';
36
37
  export { runStructuralSelfCheck } from './structural-self-check';
37
38
  export { buildSystemPropsModule } from './system-props-module';
38
- export { formatRustTimingWaterfall } from './timing-waterfall';
39
39
  export { readTsconfigAliasPairs } from './tsconfig-paths';
40
40
  export type { DynamicPropConfigEntry, DynamicPropMeta, } from './dynamic-prop-config';
41
41
  export { buildDynamicPropConfig } from './dynamic-prop-config';
@@ -43,7 +43,7 @@ export type { CssDiagnosticLike } from './error-diagnostics';
43
43
  export { assertNoErrorDiagnostics } from './error-diagnostics';
44
44
  export type { ManifestComponentDescriptor, ManifestComponentSheets, ManifestSheets, ProjectManifest, } from './manifest-schema';
45
45
  export type { ManifestDiagnostic } from './manifest-diagnostics';
46
- export { isUnresolvedParentDrop, surfaceManifestDiagnostics, unreadableSourceDiagnostic, unresolvedParentName, VOCABULARY_COLLISION, VOCABULARY_LEGACY_VERB, vocabularyWitnessDiagnostics, } from './manifest-diagnostics';
46
+ export { INVALID_PROPERTY_REGISTRATION, isUnresolvedParentDrop, surfaceManifestDiagnostics, unreadableSourceDiagnostic, unresolvedParentName, VOCABULARY_COLLISION, VOCABULARY_LEGACY_VERB, systemLoadDiagnostics, vocabularyWitnessDiagnostics, } from './manifest-diagnostics';
47
47
  export type { DefaultExtension, PreprocessMdxResult } from './mdx-preprocessor';
48
48
  export { DEFAULT_EXTENSIONS, ENGINE_TRANSFORM_EXTENSIONS, isEngineTransformExtension, preprocessMdx, } from './mdx-preprocessor';
49
49
  export { applyPrefix } from './prefix';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../pipeline/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EACV,SAAS,EACT,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,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sB,EACtB,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,EAC1B,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { SystemConfig } from './system-config';
1
2
  export type ManifestDiagnostic = {
2
3
  file: string;
3
4
  component: string;
@@ -7,7 +8,8 @@ export type ManifestDiagnostic = {
7
8
  * `external-token-candidate` diagnostics. */
8
9
  token?: string;
9
10
  code?: string;
10
- /** `"error"` fails strict builds; `"warn"`/absent never does. A property
11
+ /** `"error"` fails strict builds; `"warn"`/absent never does; `"info"`
12
+ * prints only at the verbose tier. A property
11
13
  * of the code, never chosen per emission site: `DIAGNOSTIC_SEVERITY` for
12
14
  * codes minted here, the engine's `diagnostic_severity_for_code` for its
13
15
  * own. */
@@ -23,6 +25,8 @@ export interface DiagnosticPolicy {
23
25
  /** When true, error-severity diagnostics throw instead of warning. */
24
26
  strict?: boolean;
25
27
  prepend?: ManifestDiagnostic[];
28
+ /** Receives info-severity lines; without it they are not printed. */
29
+ info?: (message: string) => void;
26
30
  }
27
31
  /** True when the selector carries at least one substitutable `&` subject
28
32
  * outside quoted text. */
@@ -40,14 +44,41 @@ export declare const UNREADABLE_SOURCE_FILE = "animus.ingestion.unreadable-sourc
40
44
  export declare function unreadableSourceDiagnostic<Thrown>(relPath: string, error: Thrown): ManifestDiagnostic;
41
45
  /** The collision entry code minted by the system package's merge. */
42
46
  export declare const VOCABULARY_COLLISION = "animus.vocabulary.collision";
47
+ /** A theme `@property` registration browsers would ignore; it is not emitted. */
48
+ export declare const INVALID_PROPERTY_REGISTRATION = "animus.theme.invalid-property-registration";
43
49
  /** Minted when a sealed kit with registered vocabulary is consumed through
44
50
  * the deprecated `from()`/`includes:` verbs. */
45
51
  export declare const VOCABULARY_LEGACY_VERB = "animus.vocabulary.legacy-verb";
52
+ /** A `var()` fallback that never applies: the property is registered with an
53
+ * initial value. */
54
+ export declare const PROPERTY_FALLBACK_SUPPRESSED = "animus.property.fallback-suppressed";
55
+ /** The same, where the fallback heads a chain of further `var()` reads. */
56
+ export declare const PROPERTY_FALLBACK_CHAIN_SUPPRESSED = "animus.property.fallback-chain-suppressed";
57
+ /** A declared property set in keyframes or transitioned without a typed
58
+ * registration, so it does not interpolate. */
59
+ export declare const PROPERTY_UNREGISTERED_ANIMATION = "animus.property.unregistered-animation";
60
+ /** The same, where `allow-discrete` shows interpolation was intended. */
61
+ export declare const PROPERTY_DISCRETE_ANIMATION = "animus.property.discrete-animation";
62
+ /** A custom property whose resolved value is `var()` of itself, which makes
63
+ * it invalid at computed-value time. */
64
+ export declare const PROPERTY_SELF_REFERENCE = "animus.property.self-reference";
65
+ /**
66
+ * A lost or unreadable configured input, or a classified unsupported Animus
67
+ * declaration, is `error` — what `--strict` refuses; degradation that still
68
+ * emits complete output is `warn`; output that may be intended is `info`.
69
+ */
70
+ type DiagnosticSeverity = 'error' | 'warn' | 'info';
71
+ /** An unlisted code is `warn`: a witness kind from a newer system package
72
+ * must not fail the strict build of a host that predates its writer. */
73
+ export declare function severityFor(code: string | undefined): DiagnosticSeverity;
46
74
  /**
47
75
  * The one mapper of a sealed system's witness entries for every host: the
48
76
  * loader's evaluation host shims `console`, so the record is the channel.
49
77
  */
50
78
  export declare function vocabularyWitnessDiagnostics(vocabularyWitnessesJson: string | null | undefined): ManifestDiagnostic[];
79
+ /** The diagnostics a loaded system's own records carry: vocabulary
80
+ * witnesses and invalid `@property` registrations. */
81
+ export declare function systemLoadDiagnostics(system: Pick<SystemConfig, 'vocabularyWitnessesJson' | 'invalidPropertyRegistrations'>): ManifestDiagnostic[];
51
82
  /**
52
83
  * The single strict-escalation policy point for both extraction plugins:
53
84
  * error-severity diagnostics throw together under `strict`, else warn.
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-diagnostics.d.ts","sourceRoot":"","sources":["../../pipeline/manifest-diagnostics.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB;kDAC8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;eAGW;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;+CAC+C;AAC/C,eAAO,MAAM,4BAA4B,wCACF,CAAC;AAOxC,KAAK,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,iBAAiB,GAAG,OAAO,CAE7E;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,iBAAiB,GAC5B,MAAM,GAAG,IAAI,CAEf;AAED,MAAM,WAAW,gBAAgB;IAC/B,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;2BAC2B;AAC3B,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAqBzD;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC7C,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AAC;AAepD;yEACyE;AACzE,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAIxE;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,uBAAuB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACjD,kBAAkB,EAAE,CAgDtB;AAED;uDACuD;AACvD,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,IAAI,CACV,YAAY,EACZ,yBAAyB,GAAG,8BAA8B,CAC3D,GACA,kBAAkB,EAAE,CAetB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE;IAAE,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAAE,EAChD,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,EAC/B,MAAM,GAAE,gBAAqB,GAC5B,IAAI,CAoCN"}
@@ -50,8 +50,11 @@ export interface ManifestUsageResidueRecord {
50
50
  export interface ManifestCrossFileFacts {
51
51
  componentNames: string[];
52
52
  classResolvers: string[];
53
- /** `Family.Slot` dotted key → slot binding name. */
54
- memberBindings: Record<string, string>;
53
+ /**
54
+ * Consuming file → family member tag as written there (`Panel.Body`,
55
+ * `ui.Card.Body`) → the component id its slot renders.
56
+ */
57
+ memberBindings: Record<string, Record<string, string>>;
55
58
  renderedComponents: string[];
56
59
  /** binding → variant prop → option names. */
57
60
  variantOptions: Record<string, Record<string, string[]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-schema.d.ts","sourceRoot":"","sources":["../../pipeline/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MA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AAC;IACxD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC/C;;4CAEwC;IACxC,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C;iEAC6D;IAC7D,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IAC7D,iDAAiD;IACjD,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7C,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;IACxD,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAChC,MAAM,EAAE,cAAc,CAAC;CACxB"}
@@ -0,0 +1,17 @@
1
+ import type { ManifestDiagnostic } from './manifest-diagnostics';
2
+ import type { ProjectManifest } from './manifest-schema';
3
+ import type { SystemConfig } from './system-config';
4
+ export interface CustomPropertyCheckInput {
5
+ system: Pick<SystemConfig, 'variableCss' | 'contextualVarsJson'>;
6
+ manifest: Pick<ProjectManifest, 'components'>;
7
+ componentCss: string;
8
+ globalCss: string;
9
+ }
10
+ /**
11
+ * Reports custom properties that will not behave as their CSS suggests: a
12
+ * property that refers to itself and, once the system emits an `@property`
13
+ * rule, a fallback an initial value suppresses and an animated property that
14
+ * cannot interpolate. The CSS itself is never changed.
15
+ */
16
+ export declare function checkCustomProperties(input: CustomPropertyCheckInput): ManifestDiagnostic[];
17
+ //# sourceMappingURL=property-diagnostics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-diagnostics.d.ts","sourceRoot":"","sources":["../../pipeline/property-diagnostics.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,aAAa,GAAG,oBAAoB,CAAC,CAAC;IACjE,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAqBD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,wBAAwB,GAC9B,kBAAkB,EAAE,CAyEtB"}
@@ -0,0 +1,23 @@
1
+ /** A theme `@property` registration that browsers would ignore. */
2
+ export interface InvalidPropertyRegistration {
3
+ name: string;
4
+ reason: string;
5
+ }
6
+ /**
7
+ * Removes the `@property` rules browsers would ignore — an unknown syntax
8
+ * component, a syntax other than `*` without an initial value, an initial
9
+ * value that depends on context, or one the syntax does not accept.
10
+ * Minifying a stylesheet that contains such a rule can also fail.
11
+ */
12
+ export declare function splitInvalidPropertyRegistrations(css: string): {
13
+ css: string;
14
+ invalid: InvalidPropertyRegistration[];
15
+ };
16
+ /** What a kept `@property` rule registers. */
17
+ export interface PropertyRegistration {
18
+ syntax: string;
19
+ initialValue: string | undefined;
20
+ }
21
+ /** The registrations in `css`, by custom-property name. */
22
+ export declare function propertyRegistrations(css: string): Map<string, PropertyRegistration>;
23
+ //# sourceMappingURL=property-registrations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-registrations.d.ts","sourceRoot":"","sources":["../../pipeline/property-registrations.ts"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AA2CD;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM;;;EAS5D;AAED,8CAA8C;AAC9C,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,2DAA2D;AAC3D,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,GACV,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAMnC"}
@@ -52,6 +52,8 @@ export declare function buildAnalysisInputs(opts: AnalysisOptions): AnalyzeProje
52
52
  */
53
53
  export declare function runProjectAnalysis(engineApi: () => any, opts: AnalysisOptions & {
54
54
  warn: (message: string) => void;
55
+ /** Receives info-severity diagnostics; pass a verbose-tier logger. */
56
+ info?: (message: string) => void;
55
57
  strict?: boolean;
56
58
  }): ProjectAnalysisResult;
57
59
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"run-analysis.d.ts","sourceRoot":"","sources":["../../pipeline/run-analysis.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,eAAe,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB;gEAC4D;IAC5D,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CACtE;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EA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C;IAChC,sEAAsE;IACtE,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GACA,qBAAqB,CA2CvB;AAED;;;GAGG;AAEH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,IAAI,CAO3D"}
@@ -1,3 +1,4 @@
1
+ import type { InvalidPropertyRegistration } from './property-registrations';
1
2
  /**
2
3
  * The deserialized `loadSystemModule()` result, prefix transformation
3
4
  * already applied. Field names are `AnalyzeProjectInputs`' own.
@@ -11,6 +12,9 @@ export interface SystemConfig {
11
12
  contextualVarsJson: string | null;
12
13
  /** The theme's declaration scales; absent when it declares none. */
13
14
  declarationScalesJson?: string | null;
15
+ /** One record per declared custom property, sorted by name, with authored
16
+ * names: the prefix is not applied. Absent when the theme declares none. */
17
+ propertyRecordsJson?: string;
14
18
  selectorAliasesJson: string | null;
15
19
  /** Condition alias map JSON; `null` when the system registers none.
16
20
  * Optional only so the pre-load empty default need not restate it. */
@@ -34,6 +38,8 @@ export interface SystemConfig {
34
38
  /** `{ modulePath: { exportName: [token paths] } }` — the source-token
35
39
  * witness for correlation. Null when no module exports a built theme. */
36
40
  sourceThemeManifestsJson?: string | null;
41
+ /** Registrations removed from `variableCss`; absent when all are valid. */
42
+ invalidPropertyRegistrations?: InvalidPropertyRegistration[];
37
43
  }
38
44
  /**
39
45
  * Load and normalize a SystemInstance; `prefix` namespaces every CSS
@@ -1 +1 @@
1
- {"version":3,"file":"system-config.d.ts","sourceRoot":"","sources":["../../pipeline/system-config.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,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