@animus-ui/extract 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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-OKnmnyFu.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;
@@ -71,6 +72,7 @@ exports.staleDistIncludesMessage = require_pipeline.staleDistIncludesMessage;
71
72
  exports.stripLeadingLayerDeclaration = require_pipeline.stripLeadingLayerDeclaration;
72
73
  exports.substituteAssetPlaceholders = require_pipeline.substituteAssetPlaceholders;
73
74
  exports.surfaceManifestDiagnostics = require_pipeline.surfaceManifestDiagnostics;
75
+ exports.systemLoadDiagnostics = require_pipeline.systemLoadDiagnostics;
74
76
  exports.toWatchKeys = require_pipeline.toWatchKeys;
75
77
  exports.unreadableSourceDiagnostic = require_pipeline.unreadableSourceDiagnostic;
76
78
  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 AnimusConfigError, A as resolveLightningTargets, B as extractSystemFilePackages, C as isUnresolvedParentDrop, Ct as ANIMUS_LAYERS, D as unresolvedParentName, E as unreadableSourceDiagnostic, Et as validateLayerOrder, F as findAssetSpecifiers, G as staleDistIncludesMessage, H as firstOwners, I as substituteAssetPlaceholders, J as createSourceIdentity, K as unresolvableIncludesMessage, L as createSourceCorpus, M as enforceExternalTokenContracts, N as resolveAssetFile, O as vocabularyWitnessDiagnostics, P as resolveThroughPathAliases, Q as discoverFiles, R as collectExternalPackageSources, S as VOCABULARY_LEGACY_VERB, St as buildAnalyzeProjectArgs, T as systemLoadDiagnostics, Tt as stripLeadingLayerDeclaration, U as isExcludedPackageRelativePath, V as findPackageRoot, W as resolveAbsolutePathSpecifier, X as sharesVolumeRoot, Y as isPathWithinRoot, Z as compareDiscoveryOrder, _ as clearEngineCache, _t as DEFAULT_EXTENSIONS, a as assertNoErrorDiagnostics, at as assertKnownOptionKeys, b as INVALID_PROPERTY_REGISTRATION, bt as preprocessMdx, c as buildSystemPropsModule, ct as resolveVerbosity, d as loadSystemConfig, dt as createV2EngineApi, et as CORE_OPTION_KEYS, f as applyPrefix, ft as ingestSourceEntries, g as buildAnalysisInputs, gt as adaptSvelteSource, h as stableStringify, ht as projectExternalFileOwners, i as snapshotFilePlans, it as STRUCTURAL_EXCLUDE, j as buildPathAliasesJson, k as postProcessCss, l as buildDynamicPropConfig, lt as RETIRED_ENGINE_MESSAGE, m as camelToKebab, mt as parseFilesJson, n as diffFilePlans, nt as DRIVER_NAMESPACES, o as readTsconfigAliasPairs, ot as createExcludeMatcher, p as serializeStaticCss, pt as isAdvisorySourceDiagnostic, q as walkPackageSources, r as hashReplacementPlans, rt as REPLACEABLE_DEFAULT_EXCLUDE, s as formatRustTimingWaterfall, st as resolveMode, t as toWatchKeys, tt as DEFAULT_EXCLUDE, u as runStructuralSelfCheck, ut as assertNoRetiredEngineSelection, v as runProjectAnalysis, vt as ENGINE_TRANSFORM_EXTENSIONS, w as surfaceManifestDiagnostics, wt as assembleStylesheet, x as VOCABULARY_COLLISION, xt as contentHash, y as applyUnitFallback, yt as isEngineTransformExtension, z as excludeCollectedPackages } from "./pipeline-Dr-I4Xhl.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, 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, systemLoadDiagnostics, toWatchKeys, unreadableSourceDiagnostic, unresolvableIncludesMessage, unresolvedParentName, validateLayerOrder, vocabularyWitnessDiagnostics, walkPackageSources };
@@ -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,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E,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
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,gBAAgB,CAAC;AAC7C,YAAY,EACV,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,SAAS,GACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,WAAW,EACX,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EACV,yBAAyB,EACzB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,E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AAC3B,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACL,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,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;
@@ -40,6 +41,8 @@ export declare const UNREADABLE_SOURCE_FILE = "animus.ingestion.unreadable-sourc
40
41
  export declare function unreadableSourceDiagnostic<Thrown>(relPath: string, error: Thrown): ManifestDiagnostic;
41
42
  /** The collision entry code minted by the system package's merge. */
42
43
  export declare const VOCABULARY_COLLISION = "animus.vocabulary.collision";
44
+ /** A theme `@property` registration browsers would ignore; it is not emitted. */
45
+ export declare const INVALID_PROPERTY_REGISTRATION = "animus.theme.invalid-property-registration";
43
46
  /** Minted when a sealed kit with registered vocabulary is consumed through
44
47
  * the deprecated `from()`/`includes:` verbs. */
45
48
  export declare const VOCABULARY_LEGACY_VERB = "animus.vocabulary.legacy-verb";
@@ -48,6 +51,9 @@ export declare const VOCABULARY_LEGACY_VERB = "animus.vocabulary.legacy-verb";
48
51
  * loader's evaluation host shims `console`, so the record is the channel.
49
52
  */
50
53
  export declare function vocabularyWitnessDiagnostics(vocabularyWitnessesJson: string | null | undefined): ManifestDiagnostic[];
54
+ /** The diagnostics a loaded system's own records carry: vocabulary
55
+ * witnesses and invalid `@property` registrations. */
56
+ export declare function systemLoadDiagnostics(system: Pick<SystemConfig, 'vocabularyWitnessesJson' | 'invalidPropertyRegistrations'>): ManifestDiagnostic[];
51
57
  /**
52
58
  * The single strict-escalation policy point for both extraction plugins:
53
59
  * 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;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,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,CA+BN"}
@@ -0,0 +1,16 @@
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
+ //# 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"}
@@ -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,W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AAO,EAAE,OAAO,CAAC;IACjB;8CAC0C;IAC1C,gBAAgB,CAAC,EAAE,OAAO,wBAAwB,EAAE,kBAAkB,EAAE,CAAC;CAC1E;AAYD;kDACkD;AAClD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,eAAe,GACpB,oBAAoB,CAuCtB;AAQD;;;GAGG;AACH,wBAAgB,kBAAkB,CAEhC,SAAS,EAAE,MAAM,GAAG,EACpB,IAAI,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAC5E,qBAAqB,CAmCvB;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.
@@ -34,6 +35,8 @@ export interface SystemConfig {
34
35
  /** `{ modulePath: { exportName: [token paths] } }` — the source-token
35
36
  * witness for correlation. Null when no module exports a built theme. */
36
37
  sourceThemeManifestsJson?: string | null;
38
+ /** Registrations removed from `variableCss`; absent when all are valid. */
39
+ invalidPropertyRegistrations?: InvalidPropertyRegistration[];
37
40
  }
38
41
  /**
39
42
  * 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,MAAM,GAAG,IAA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IAAI,CAAC;IACtC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;2EACuE;IACvE,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;4EAEwE;IACxE,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;8EAE0E;IAC1E,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;+EAC2E;IAC3E,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;sEACkE;IAClE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;8EAC0E;IAC1E,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,2EAA2E;IAC3E,4BAA4B,CAAC,EAAE,2BAA2B,EAAE,CAAC;CAC9D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAE9B,SAAS,EAAE,MAAM,GAAG,EACpB,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,YAAY,CA0Dd"}
@@ -2315,6 +2315,8 @@ function unreadableSourceDiagnostic(relPath, error) {
2315
2315
  }
2316
2316
  /** The collision entry code minted by the system package's merge. */
2317
2317
  const VOCABULARY_COLLISION = "animus.vocabulary.collision";
2318
+ /** A theme `@property` registration browsers would ignore; it is not emitted. */
2319
+ const INVALID_PROPERTY_REGISTRATION = "animus.theme.invalid-property-registration";
2318
2320
  /** Minted when a sealed kit with registered vocabulary is consumed through
2319
2321
  * the deprecated `from()`/`includes:` verbs. */
2320
2322
  const VOCABULARY_LEGACY_VERB = "animus.vocabulary.legacy-verb";
@@ -2322,7 +2324,8 @@ const DIAGNOSTIC_SEVERITY = /* @__PURE__ */ new Map([
2322
2324
  [SELECTOR_UNSUPPORTED_SUBJECT, "error"],
2323
2325
  [UNREADABLE_SOURCE_FILE, "error"],
2324
2326
  [VOCABULARY_COLLISION, "warn"],
2325
- [VOCABULARY_LEGACY_VERB, "warn"]
2327
+ [VOCABULARY_LEGACY_VERB, "warn"],
2328
+ [INVALID_PROPERTY_REGISTRATION, "error"]
2326
2329
  ]);
2327
2330
  /** An unlisted code is `warn`: a witness kind from a newer system package
2328
2331
  * must not fail the strict build of a host that predates its writer. */
@@ -2363,6 +2366,19 @@ function vocabularyWitnessDiagnostics(vocabularyWitnessesJson) {
2363
2366
  });
2364
2367
  return diagnostics;
2365
2368
  }
2369
+ /** The diagnostics a loaded system's own records carry: vocabulary
2370
+ * witnesses and invalid `@property` registrations. */
2371
+ function systemLoadDiagnostics(system) {
2372
+ const registrations = (system.invalidPropertyRegistrations ?? []).map(({ name, reason }) => ({
2373
+ file: "system",
2374
+ component: name,
2375
+ kind: "warn",
2376
+ message: `@property ${name} was not emitted: ${reason}. Browsers ignore an invalid registration and minifying it fails; fix it where the theme declares ${name} (${INVALID_PROPERTY_REGISTRATION})`,
2377
+ code: INVALID_PROPERTY_REGISTRATION,
2378
+ severity: severityFor(INVALID_PROPERTY_REGISTRATION)
2379
+ }));
2380
+ return [...vocabularyWitnessDiagnostics(system.vocabularyWitnessesJson), ...registrations];
2381
+ }
2366
2382
  /**
2367
2383
  * The single strict-escalation policy point for both extraction plugins:
2368
2384
  * error-severity diagnostics throw together under `strict`, else warn.
@@ -2484,7 +2500,11 @@ function runProjectAnalysis(engineApi, opts) {
2484
2500
  const manifest = JSON.parse(manifestJson);
2485
2501
  surfaceManifestDiagnostics(manifest, opts.warn, {
2486
2502
  strict: opts.strict,
2487
- prepend: [...collectSelectorAliasDiagnostics(opts.system.selectorAliasesJson), ...opts.extraDiagnostics ?? []]
2503
+ prepend: [
2504
+ ...collectSelectorAliasDiagnostics(opts.system.selectorAliasesJson),
2505
+ ...systemLoadDiagnostics(opts.system),
2506
+ ...opts.extraDiagnostics ?? []
2507
+ ]
2488
2508
  });
2489
2509
  const parseMs = Math.round(performance.now() - t);
2490
2510
  return {
@@ -2577,6 +2597,88 @@ function applyPrefix(prefix, variableMapJson, variableCss, themeJson, contextual
2577
2597
  return result;
2578
2598
  }
2579
2599
  //#endregion
2600
+ //#region pipeline/property-registrations.ts
2601
+ const PROPERTY_RULE = /@property\s+(--[\w-]+)\s*\{[^}]*\}\n?/g;
2602
+ /** The data types a registration's `syntax` may name. */
2603
+ const SYNTAX_TYPES = /* @__PURE__ */ new Set([
2604
+ "angle",
2605
+ "color",
2606
+ "custom-ident",
2607
+ "image",
2608
+ "integer",
2609
+ "length",
2610
+ "length-percentage",
2611
+ "number",
2612
+ "percentage",
2613
+ "resolution",
2614
+ "string",
2615
+ "time",
2616
+ "transform-function",
2617
+ "transform-list",
2618
+ "url"
2619
+ ]);
2620
+ const SYNTAX_COMPONENT = /^(?:<([a-z-]+)>[+#]?|-?[a-zA-Z_][\w-]*)$/;
2621
+ /** The syntax types whose values can carry a font- or container-relative
2622
+ * unit, which makes a typed initial value depend on context. */
2623
+ const DIMENSION_TYPES = /* @__PURE__ */ new Set([
2624
+ "image",
2625
+ "length",
2626
+ "length-percentage",
2627
+ "transform-function",
2628
+ "transform-list"
2629
+ ]);
2630
+ const RELATIVE_UNIT = /(?:\d|\.)(?:r?em|r?ex|r?cap|r?ch|r?ic|r?lh|cq(?:w|h|i|b|min|max))\b/i;
2631
+ const SUBSTITUTION = /\b(?:var|env|attr)\(/i;
2632
+ /** Quoted strings and `url()` hold text, never units or substitutions. */
2633
+ const LITERAL_TEXT = /"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|url\([^)]*\)/gi;
2634
+ /**
2635
+ * Removes the `@property` rules browsers would ignore — an unknown syntax
2636
+ * component, a syntax other than `*` without an initial value, an initial
2637
+ * value that depends on context, or one the syntax does not accept.
2638
+ * Minifying a stylesheet that contains such a rule can also fail.
2639
+ */
2640
+ function splitInvalidPropertyRegistrations(css) {
2641
+ const invalid = [];
2642
+ return {
2643
+ css: css.replace(PROPERTY_RULE, (rule, name) => {
2644
+ const reason = registrationFailure(rule);
2645
+ if (reason === null) return rule;
2646
+ invalid.push({
2647
+ name,
2648
+ reason
2649
+ });
2650
+ return "";
2651
+ }),
2652
+ invalid
2653
+ };
2654
+ }
2655
+ function registrationFailure(rule) {
2656
+ const syntax = /syntax:\s*"([^"]*)"/.exec(rule)?.[1]?.trim() ?? "";
2657
+ const initialValue = /initial-value\s*:\s*([^;}]*)/.exec(rule)?.[1]?.trim();
2658
+ if (syntax !== "*") {
2659
+ const components = syntax.split("|").map((component) => ({
2660
+ text: component.trim(),
2661
+ match: SYNTAX_COMPONENT.exec(component.trim())
2662
+ }));
2663
+ const unknown = components.find(({ match }) => match === null || match[1] !== void 0 && !SYNTAX_TYPES.has(match[1]));
2664
+ if (unknown !== void 0) return `syntax "${syntax}" has the unknown component "${unknown.text}"`;
2665
+ if (initialValue === void 0) return `syntax "${syntax}" needs an initialValue`;
2666
+ const dimensional = components.some(({ match }) => match?.[1] !== void 0 && DIMENSION_TYPES.has(match[1]));
2667
+ const value = initialValue.replace(LITERAL_TEXT, "");
2668
+ if (SUBSTITUTION.test(value) || dimensional && RELATIVE_UNIT.test(value)) return `initialValue "${initialValue}" depends on context; font- and container-relative units and var(), env() and attr() are not allowed`;
2669
+ }
2670
+ try {
2671
+ transform({
2672
+ filename: "animus-registrations.css",
2673
+ code: Buffer.from(rule)
2674
+ });
2675
+ return null;
2676
+ } catch (error) {
2677
+ const detail = error instanceof Error ? error.message : String(error);
2678
+ return `the CSS parser rejects \`${rule.trim()}\` (${detail})`;
2679
+ }
2680
+ }
2681
+ //#endregion
2580
2682
  //#region pipeline/system-config.ts
2581
2683
  /**
2582
2684
  * Load and normalize a SystemInstance; `prefix` namespaces every CSS
@@ -2587,7 +2689,8 @@ function loadSystemConfig(engineApi, opts) {
2587
2689
  const config = loadSystemModule(opts.systemPath, opts.rootDir);
2588
2690
  let scalesJson = config.scalesJson;
2589
2691
  let variableMapJson = config.variableMapJson;
2590
- let variableCss = config.variableCss;
2692
+ const registrations = splitInvalidPropertyRegistrations(config.variableCss);
2693
+ let variableCss = registrations.css;
2591
2694
  let contextualVarsJson = config.contextualVarsJson || null;
2592
2695
  let declarationScalesJson = config.declarationScalesJson || null;
2593
2696
  if (opts.prefix) {
@@ -2616,6 +2719,7 @@ function loadSystemConfig(engineApi, opts) {
2616
2719
  sourceThemeManifestsJson: config.sourceThemeManifests || null
2617
2720
  };
2618
2721
  if (declarationScalesJson) system.declarationScalesJson = declarationScalesJson;
2722
+ if (registrations.invalid.length > 0) system.invalidPropertyRegistrations = registrations.invalid;
2619
2723
  return system;
2620
2724
  }
2621
2725
  //#endregion
@@ -2990,4 +3094,4 @@ function realpathThroughNearestExistingAncestor(path) {
2990
3094
  }
2991
3095
  }
2992
3096
  //#endregion
2993
- export { DEFAULT_EXCLUDE as $, enforceExternalTokenContracts as A, firstOwners as B, surfaceManifestDiagnostics as C, stripLeadingLayerDeclaration as Ct, postProcessCss as D, vocabularyWitnessDiagnostics as E, createSourceCorpus as F, walkPackageSources as G, resolveAbsolutePathSpecifier as H, collectExternalPackageSources as I, sharesVolumeRoot as J, createSourceIdentity as K, excludeCollectedPackages as L, resolveThroughPathAliases as M, findAssetSpecifiers as N, resolveLightningTargets as O, substituteAssetPlaceholders as P, CORE_OPTION_KEYS as Q, extractSystemFilePackages as R, isUnresolvedParentDrop as S, assembleStylesheet as St, unresolvedParentName as T, __require as Tt, staleDistIncludesMessage as U, isExcludedPackageRelativePath as V, unresolvableIncludesMessage as W, discoverFiles as X, compareDiscoveryOrder as Y, AnimusConfigError as Z, clearEngineCache as _, isEngineTransformExtension as _t, assertNoErrorDiagnostics as a, resolveMode as at, VOCABULARY_COLLISION as b, buildAnalyzeProjectArgs as bt, buildSystemPropsModule as c, assertNoRetiredEngineSelection as ct, loadSystemConfig as d, isAdvisorySourceDiagnostic as dt, DRIVER_NAMESPACES as et, applyPrefix as f, parseFilesJson as ft, buildAnalysisInputs as g, ENGINE_TRANSFORM_EXTENSIONS as gt, stableStringify as h, DEFAULT_EXTENSIONS as ht, snapshotFilePlans as i, createExcludeMatcher as it, resolveAssetFile as j, buildPathAliasesJson as k, buildDynamicPropConfig as l, createV2EngineApi as lt, camelToKebab as m, adaptSvelteSource as mt, diffFilePlans as n, STRUCTURAL_EXCLUDE as nt, readTsconfigAliasPairs as o, resolveVerbosity as ot, serializeStaticCss as p, projectExternalFileOwners as pt, isPathWithinRoot as q, hashReplacementPlans as r, assertKnownOptionKeys as rt, formatRustTimingWaterfall as s, RETIRED_ENGINE_MESSAGE as st, toWatchKeys as t, REPLACEABLE_DEFAULT_EXCLUDE as tt, runStructuralSelfCheck as u, ingestSourceEntries as ut, runProjectAnalysis as v, preprocessMdx as vt, unreadableSourceDiagnostic as w, validateLayerOrder as wt, VOCABULARY_LEGACY_VERB as x, ANIMUS_LAYERS as xt, applyUnitFallback as y, contentHash as yt, findPackageRoot as z };
3097
+ export { AnimusConfigError as $, resolveLightningTargets as A, extractSystemFilePackages as B, isUnresolvedParentDrop as C, ANIMUS_LAYERS as Ct, unresolvedParentName as D, __require as Dt, unreadableSourceDiagnostic as E, validateLayerOrder as Et, findAssetSpecifiers as F, staleDistIncludesMessage as G, firstOwners as H, substituteAssetPlaceholders as I, createSourceIdentity as J, unresolvableIncludesMessage as K, createSourceCorpus as L, enforceExternalTokenContracts as M, resolveAssetFile as N, vocabularyWitnessDiagnostics as O, resolveThroughPathAliases as P, discoverFiles as Q, collectExternalPackageSources as R, VOCABULARY_LEGACY_VERB as S, buildAnalyzeProjectArgs as St, systemLoadDiagnostics as T, stripLeadingLayerDeclaration as Tt, isExcludedPackageRelativePath as U, findPackageRoot as V, resolveAbsolutePathSpecifier as W, sharesVolumeRoot as X, isPathWithinRoot as Y, compareDiscoveryOrder as Z, clearEngineCache as _, DEFAULT_EXTENSIONS as _t, assertNoErrorDiagnostics as a, assertKnownOptionKeys as at, INVALID_PROPERTY_REGISTRATION as b, preprocessMdx as bt, buildSystemPropsModule as c, resolveVerbosity as ct, loadSystemConfig as d, createV2EngineApi as dt, CORE_OPTION_KEYS as et, applyPrefix as f, ingestSourceEntries as ft, buildAnalysisInputs as g, adaptSvelteSource as gt, stableStringify as h, projectExternalFileOwners as ht, snapshotFilePlans as i, STRUCTURAL_EXCLUDE as it, buildPathAliasesJson as j, postProcessCss as k, buildDynamicPropConfig as l, RETIRED_ENGINE_MESSAGE as lt, camelToKebab as m, parseFilesJson as mt, diffFilePlans as n, DRIVER_NAMESPACES as nt, readTsconfigAliasPairs as o, createExcludeMatcher as ot, serializeStaticCss as p, isAdvisorySourceDiagnostic as pt, walkPackageSources as q, hashReplacementPlans as r, REPLACEABLE_DEFAULT_EXCLUDE as rt, formatRustTimingWaterfall as s, resolveMode as st, toWatchKeys as t, DEFAULT_EXCLUDE as tt, runStructuralSelfCheck as u, assertNoRetiredEngineSelection as ut, runProjectAnalysis as v, ENGINE_TRANSFORM_EXTENSIONS as vt, surfaceManifestDiagnostics as w, assembleStylesheet as wt, VOCABULARY_COLLISION as x, contentHash as xt, applyUnitFallback as y, isEngineTransformExtension as yt, excludeCollectedPackages as z };
@@ -2335,6 +2335,8 @@ function unreadableSourceDiagnostic(relPath, error) {
2335
2335
  }
2336
2336
  /** The collision entry code minted by the system package's merge. */
2337
2337
  const VOCABULARY_COLLISION = "animus.vocabulary.collision";
2338
+ /** A theme `@property` registration browsers would ignore; it is not emitted. */
2339
+ const INVALID_PROPERTY_REGISTRATION = "animus.theme.invalid-property-registration";
2338
2340
  /** Minted when a sealed kit with registered vocabulary is consumed through
2339
2341
  * the deprecated `from()`/`includes:` verbs. */
2340
2342
  const VOCABULARY_LEGACY_VERB = "animus.vocabulary.legacy-verb";
@@ -2342,7 +2344,8 @@ const DIAGNOSTIC_SEVERITY = /* @__PURE__ */ new Map([
2342
2344
  [SELECTOR_UNSUPPORTED_SUBJECT, "error"],
2343
2345
  [UNREADABLE_SOURCE_FILE, "error"],
2344
2346
  [VOCABULARY_COLLISION, "warn"],
2345
- [VOCABULARY_LEGACY_VERB, "warn"]
2347
+ [VOCABULARY_LEGACY_VERB, "warn"],
2348
+ [INVALID_PROPERTY_REGISTRATION, "error"]
2346
2349
  ]);
2347
2350
  /** An unlisted code is `warn`: a witness kind from a newer system package
2348
2351
  * must not fail the strict build of a host that predates its writer. */
@@ -2383,6 +2386,19 @@ function vocabularyWitnessDiagnostics(vocabularyWitnessesJson) {
2383
2386
  });
2384
2387
  return diagnostics;
2385
2388
  }
2389
+ /** The diagnostics a loaded system's own records carry: vocabulary
2390
+ * witnesses and invalid `@property` registrations. */
2391
+ function systemLoadDiagnostics(system) {
2392
+ const registrations = (system.invalidPropertyRegistrations ?? []).map(({ name, reason }) => ({
2393
+ file: "system",
2394
+ component: name,
2395
+ kind: "warn",
2396
+ message: `@property ${name} was not emitted: ${reason}. Browsers ignore an invalid registration and minifying it fails; fix it where the theme declares ${name} (${INVALID_PROPERTY_REGISTRATION})`,
2397
+ code: INVALID_PROPERTY_REGISTRATION,
2398
+ severity: severityFor(INVALID_PROPERTY_REGISTRATION)
2399
+ }));
2400
+ return [...vocabularyWitnessDiagnostics(system.vocabularyWitnessesJson), ...registrations];
2401
+ }
2386
2402
  /**
2387
2403
  * The single strict-escalation policy point for both extraction plugins:
2388
2404
  * error-severity diagnostics throw together under `strict`, else warn.
@@ -2504,7 +2520,11 @@ function runProjectAnalysis(engineApi, opts) {
2504
2520
  const manifest = JSON.parse(manifestJson);
2505
2521
  surfaceManifestDiagnostics(manifest, opts.warn, {
2506
2522
  strict: opts.strict,
2507
- prepend: [...collectSelectorAliasDiagnostics(opts.system.selectorAliasesJson), ...opts.extraDiagnostics ?? []]
2523
+ prepend: [
2524
+ ...collectSelectorAliasDiagnostics(opts.system.selectorAliasesJson),
2525
+ ...systemLoadDiagnostics(opts.system),
2526
+ ...opts.extraDiagnostics ?? []
2527
+ ]
2508
2528
  });
2509
2529
  const parseMs = Math.round(performance.now() - t);
2510
2530
  return {
@@ -2597,6 +2617,88 @@ function applyPrefix(prefix, variableMapJson, variableCss, themeJson, contextual
2597
2617
  return result;
2598
2618
  }
2599
2619
  //#endregion
2620
+ //#region pipeline/property-registrations.ts
2621
+ const PROPERTY_RULE = /@property\s+(--[\w-]+)\s*\{[^}]*\}\n?/g;
2622
+ /** The data types a registration's `syntax` may name. */
2623
+ const SYNTAX_TYPES = /* @__PURE__ */ new Set([
2624
+ "angle",
2625
+ "color",
2626
+ "custom-ident",
2627
+ "image",
2628
+ "integer",
2629
+ "length",
2630
+ "length-percentage",
2631
+ "number",
2632
+ "percentage",
2633
+ "resolution",
2634
+ "string",
2635
+ "time",
2636
+ "transform-function",
2637
+ "transform-list",
2638
+ "url"
2639
+ ]);
2640
+ const SYNTAX_COMPONENT = /^(?:<([a-z-]+)>[+#]?|-?[a-zA-Z_][\w-]*)$/;
2641
+ /** The syntax types whose values can carry a font- or container-relative
2642
+ * unit, which makes a typed initial value depend on context. */
2643
+ const DIMENSION_TYPES = /* @__PURE__ */ new Set([
2644
+ "image",
2645
+ "length",
2646
+ "length-percentage",
2647
+ "transform-function",
2648
+ "transform-list"
2649
+ ]);
2650
+ const RELATIVE_UNIT = /(?:\d|\.)(?:r?em|r?ex|r?cap|r?ch|r?ic|r?lh|cq(?:w|h|i|b|min|max))\b/i;
2651
+ const SUBSTITUTION = /\b(?:var|env|attr)\(/i;
2652
+ /** Quoted strings and `url()` hold text, never units or substitutions. */
2653
+ const LITERAL_TEXT = /"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|url\([^)]*\)/gi;
2654
+ /**
2655
+ * Removes the `@property` rules browsers would ignore — an unknown syntax
2656
+ * component, a syntax other than `*` without an initial value, an initial
2657
+ * value that depends on context, or one the syntax does not accept.
2658
+ * Minifying a stylesheet that contains such a rule can also fail.
2659
+ */
2660
+ function splitInvalidPropertyRegistrations(css) {
2661
+ const invalid = [];
2662
+ return {
2663
+ css: css.replace(PROPERTY_RULE, (rule, name) => {
2664
+ const reason = registrationFailure(rule);
2665
+ if (reason === null) return rule;
2666
+ invalid.push({
2667
+ name,
2668
+ reason
2669
+ });
2670
+ return "";
2671
+ }),
2672
+ invalid
2673
+ };
2674
+ }
2675
+ function registrationFailure(rule) {
2676
+ const syntax = /syntax:\s*"([^"]*)"/.exec(rule)?.[1]?.trim() ?? "";
2677
+ const initialValue = /initial-value\s*:\s*([^;}]*)/.exec(rule)?.[1]?.trim();
2678
+ if (syntax !== "*") {
2679
+ const components = syntax.split("|").map((component) => ({
2680
+ text: component.trim(),
2681
+ match: SYNTAX_COMPONENT.exec(component.trim())
2682
+ }));
2683
+ const unknown = components.find(({ match }) => match === null || match[1] !== void 0 && !SYNTAX_TYPES.has(match[1]));
2684
+ if (unknown !== void 0) return `syntax "${syntax}" has the unknown component "${unknown.text}"`;
2685
+ if (initialValue === void 0) return `syntax "${syntax}" needs an initialValue`;
2686
+ const dimensional = components.some(({ match }) => match?.[1] !== void 0 && DIMENSION_TYPES.has(match[1]));
2687
+ const value = initialValue.replace(LITERAL_TEXT, "");
2688
+ if (SUBSTITUTION.test(value) || dimensional && RELATIVE_UNIT.test(value)) return `initialValue "${initialValue}" depends on context; font- and container-relative units and var(), env() and attr() are not allowed`;
2689
+ }
2690
+ try {
2691
+ (0, lightningcss.transform)({
2692
+ filename: "animus-registrations.css",
2693
+ code: Buffer.from(rule)
2694
+ });
2695
+ return null;
2696
+ } catch (error) {
2697
+ const detail = error instanceof Error ? error.message : String(error);
2698
+ return `the CSS parser rejects \`${rule.trim()}\` (${detail})`;
2699
+ }
2700
+ }
2701
+ //#endregion
2600
2702
  //#region pipeline/system-config.ts
2601
2703
  /**
2602
2704
  * Load and normalize a SystemInstance; `prefix` namespaces every CSS
@@ -2607,7 +2709,8 @@ function loadSystemConfig(engineApi, opts) {
2607
2709
  const config = loadSystemModule(opts.systemPath, opts.rootDir);
2608
2710
  let scalesJson = config.scalesJson;
2609
2711
  let variableMapJson = config.variableMapJson;
2610
- let variableCss = config.variableCss;
2712
+ const registrations = splitInvalidPropertyRegistrations(config.variableCss);
2713
+ let variableCss = registrations.css;
2611
2714
  let contextualVarsJson = config.contextualVarsJson || null;
2612
2715
  let declarationScalesJson = config.declarationScalesJson || null;
2613
2716
  if (opts.prefix) {
@@ -2636,6 +2739,7 @@ function loadSystemConfig(engineApi, opts) {
2636
2739
  sourceThemeManifestsJson: config.sourceThemeManifests || null
2637
2740
  };
2638
2741
  if (declarationScalesJson) system.declarationScalesJson = declarationScalesJson;
2742
+ if (registrations.invalid.length > 0) system.invalidPropertyRegistrations = registrations.invalid;
2639
2743
  return system;
2640
2744
  }
2641
2745
  //#endregion
@@ -3052,6 +3156,12 @@ Object.defineProperty(exports, "ENGINE_TRANSFORM_EXTENSIONS", {
3052
3156
  return ENGINE_TRANSFORM_EXTENSIONS;
3053
3157
  }
3054
3158
  });
3159
+ Object.defineProperty(exports, "INVALID_PROPERTY_REGISTRATION", {
3160
+ enumerable: true,
3161
+ get: function() {
3162
+ return INVALID_PROPERTY_REGISTRATION;
3163
+ }
3164
+ });
3055
3165
  Object.defineProperty(exports, "REPLACEABLE_DEFAULT_EXCLUDE", {
3056
3166
  enumerable: true,
3057
3167
  get: function() {
@@ -3436,6 +3546,12 @@ Object.defineProperty(exports, "surfaceManifestDiagnostics", {
3436
3546
  return surfaceManifestDiagnostics;
3437
3547
  }
3438
3548
  });
3549
+ Object.defineProperty(exports, "systemLoadDiagnostics", {
3550
+ enumerable: true,
3551
+ get: function() {
3552
+ return systemLoadDiagnostics;
3553
+ }
3554
+ });
3439
3555
  Object.defineProperty(exports, "toWatchKeys", {
3440
3556
  enumerable: true,
3441
3557
  get: function() {
@@ -64,9 +64,6 @@ export declare class ExtractionSession {
64
64
  private readonly options;
65
65
  private readonly staticCssJson;
66
66
  private system;
67
- /** Vocabulary witness diagnostics from the sealed system's registration
68
- * record, awaiting the shared surfacing pass. */
69
- private systemVocabularyDiagnostics;
70
67
  /** Configured external files that could not be read. Incremental passes
71
68
  * re-collect nothing, so they replay these instead of passing strict. */
72
69
  private ingestionFailureDiagnostics;
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-session.d.ts","sourceRoot":"","sources":["../../session/extraction-session.ts"],"names":[],"mappings":"AAwGA,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAG/C,OAAO,KAAK,EAGV,YAAY,EAIb,MAAM,mBAAmB,CAAC;AAW3B;gFACgF;AAChF,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAc5C,MAAM,WAAW,YAAY;IAC3B,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACpC;AAkCD;6EAC6E;AAC7E,qBAAa,iBAAiB;IAC5B,kDAAkD;IAClD,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,6EAA6E;IAC7E,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAItC,OAAO,CAAC,cAAc,CASlB;IACJ,6DAA6D;IAC7D,oBAAoB,cAAqB;IACzC,OAAO,CAAC,mBAAmB,CAAqB;IAChD;+EAC2E;IAC3E,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1C;gFAC4E;IAC5E,qBAAqB,UAAS;IAE9B,4EAA4E;IAC5E,mBAAmB,EAAE,MAAM,EAAE,CAAM;IACnC,0EAA0E;IAC1E,OAAO,CAAC,iBAAiB,CAA8B;IACvD,4EAA4E;IAC5E,OAAO,CAAC,kBAAkB,CAA8B;IACxD,+DAA+D;IAC/D,qBAAqB,sBAA6B;IAClD;6EACyE;IACzE,OAAO,CAAC,cAAc,CAA+B;IACrD;qEACiE;IACjE,kBAAkB,2BAAkC;IACpD;8EAC0E;IAC1E,OAAO,CAAC,sBAAsB,CAA0C;IACxE;sEACkE;IAClE,kB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GAAG,IAAI,CA2BzD;IAED,sEAAsE;IACtE,OAAO,CAAC,4BAA4B,CAAS;IAE7C;0EACsE;IACtE,OAAO,CAAC,sBAAsB;IAyB9B;6EACyE;IACzE,OAAO,CAAC,iBAAiB;IAqBzB,2EAA2E;IAC3E,OAAO,CAAC,kBAAkB;IAiB1B;0EACsE;IACtE,OAAO,CAAC,qBAAqB;IA+B7B;yDACqD;IACrD,OAAO,CAAC,uBAAuB;IAoB/B;4EACwE;IACxE,OAAO,CAAC,cAAc,CAAuD;IAE7E;;;6EAGyE;IACzE,OAAO,CAAC,sBAAsB;IAqD9B;;;uEAGmE;IACnE,OAAO,CAAC,mBAAmB;IAa3B;0DACsD;IACtD,OAAO,CAAC,cAAc;IAetB;gFAC4E;IAC5E,OAAO,CAAC,kBAAkB;IAQ1B;+DAC2D;IAC3D,OAAO,CAAC,sBAAsB;IAqD9B;gFAC4E;IAC5E,OAAO,CAAC,oBAAoB;IAU5B;2EACuE;IACvE,OAAO,CAAC,yBAAyB;IAwEjC,OAAO,CAAC,oBAAoB;IAK5B;iEAC6D;IAC7D,OAAO,CAAC,qBAAqB;CA0B9B;AAED;uEACuE;AACvE,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,GAC5B,IAAI,CAgBN"}
package/dist/session.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-OKnmnyFu.cjs");
3
3
  let crypto = require("crypto");
4
4
  let fs = require("fs");
5
5
  let path = require("path");
@@ -611,9 +611,6 @@ var ExtractionSession = class {
611
611
  options;
612
612
  staticCssJson;
613
613
  system = null;
614
- /** Vocabulary witness diagnostics from the sealed system's registration
615
- * record, awaiting the shared surfacing pass. */
616
- systemVocabularyDiagnostics = [];
617
614
  /** Configured external files that could not be read. Incremental passes
618
615
  * re-collect nothing, so they replay these instead of passing strict. */
619
616
  ingestionFailureDiagnostics = [];
@@ -1013,7 +1010,6 @@ var ExtractionSession = class {
1013
1010
  rootDir,
1014
1011
  prefix: this.options.prefix
1015
1012
  });
1016
- this.systemVocabularyDiagnostics = require_pipeline.vocabularyWitnessDiagnostics(this.system.vocabularyWitnessesJson);
1017
1013
  this.assetCopyCache.clear();
1018
1014
  this.assetDependencyPaths.clear();
1019
1015
  this.assetDependencyKeys.clear();
@@ -1184,7 +1180,6 @@ var ExtractionSession = class {
1184
1180
  externalFileOwners: this.externalFileOwners,
1185
1181
  externalSourceEntries: this.externalSourceEntries,
1186
1182
  externalPackageDirs: this.externalPackageDirs,
1187
- systemVocabularyDiagnostics: this.systemVocabularyDiagnostics,
1188
1183
  ingestionFailureDiagnostics: this.ingestionFailureDiagnostics
1189
1184
  };
1190
1185
  }
@@ -1357,7 +1352,7 @@ var ExtractionSession = class {
1357
1352
  ...analysisOptions,
1358
1353
  warn: (message) => this.warn(message),
1359
1354
  strict: this.options.strict,
1360
- extraDiagnostics: [...this.systemVocabularyDiagnostics, ...this.ingestionFailureDiagnostics]
1355
+ extraDiagnostics: this.ingestionFailureDiagnostics
1361
1356
  });
1362
1357
  require_pipeline.assertNoErrorDiagnostics(result.manifest?.diagnostics);
1363
1358
  require_pipeline.enforceExternalTokenContracts({
package/dist/session.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as enforceExternalTokenContracts, B as firstOwners, D as postProcessCss, E as vocabularyWitnessDiagnostics, F as createSourceCorpus, G as walkPackageSources, I as collectExternalPackageSources, J as sharesVolumeRoot, K as createSourceIdentity, L as excludeCollectedPackages, N as findAssetSpecifiers, O as resolveLightningTargets, P as substituteAssetPlaceholders, R as extractSystemFilePackages, St as assembleStylesheet, Tt as __require, U as staleDistIncludesMessage, V as isExcludedPackageRelativePath, W as unresolvableIncludesMessage, X as discoverFiles, _ as clearEngineCache, a as assertNoErrorDiagnostics, at as resolveMode, c as buildSystemPropsModule, d as loadSystemConfig, ht as DEFAULT_EXTENSIONS, i as snapshotFilePlans, it as createExcludeMatcher, j as resolveAssetFile, lt as createV2EngineApi, ot as resolveVerbosity, p as serializeStaticCss, pt as projectExternalFileOwners, q as isPathWithinRoot, r as hashReplacementPlans, s as formatRustTimingWaterfall, t as toWatchKeys, v as runProjectAnalysis, w as unreadableSourceDiagnostic, yt as contentHash, z as findPackageRoot } from "./pipeline-D7TdVERQ.mjs";
1
+ import { A as resolveLightningTargets, B as extractSystemFilePackages, Dt as __require, E as unreadableSourceDiagnostic, F as findAssetSpecifiers, G as staleDistIncludesMessage, H as firstOwners, I as substituteAssetPlaceholders, J as createSourceIdentity, K as unresolvableIncludesMessage, L as createSourceCorpus, M as enforceExternalTokenContracts, N as resolveAssetFile, Q as discoverFiles, R as collectExternalPackageSources, U as isExcludedPackageRelativePath, V as findPackageRoot, X as sharesVolumeRoot, Y as isPathWithinRoot, _ as clearEngineCache, _t as DEFAULT_EXTENSIONS, a as assertNoErrorDiagnostics, c as buildSystemPropsModule, ct as resolveVerbosity, d as loadSystemConfig, dt as createV2EngineApi, ht as projectExternalFileOwners, i as snapshotFilePlans, k as postProcessCss, ot as createExcludeMatcher, p as serializeStaticCss, q as walkPackageSources, r as hashReplacementPlans, s as formatRustTimingWaterfall, st as resolveMode, t as toWatchKeys, v as runProjectAnalysis, wt as assembleStylesheet, xt as contentHash, z as excludeCollectedPackages } from "./pipeline-Dr-I4Xhl.mjs";
2
2
  import { randomUUID } from "crypto";
3
3
  import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, watch, writeFileSync } from "fs";
4
4
  import { basename, extname, join, relative, resolve } from "path";
@@ -610,9 +610,6 @@ var ExtractionSession = class {
610
610
  options;
611
611
  staticCssJson;
612
612
  system = null;
613
- /** Vocabulary witness diagnostics from the sealed system's registration
614
- * record, awaiting the shared surfacing pass. */
615
- systemVocabularyDiagnostics = [];
616
613
  /** Configured external files that could not be read. Incremental passes
617
614
  * re-collect nothing, so they replay these instead of passing strict. */
618
615
  ingestionFailureDiagnostics = [];
@@ -1012,7 +1009,6 @@ var ExtractionSession = class {
1012
1009
  rootDir,
1013
1010
  prefix: this.options.prefix
1014
1011
  });
1015
- this.systemVocabularyDiagnostics = vocabularyWitnessDiagnostics(this.system.vocabularyWitnessesJson);
1016
1012
  this.assetCopyCache.clear();
1017
1013
  this.assetDependencyPaths.clear();
1018
1014
  this.assetDependencyKeys.clear();
@@ -1183,7 +1179,6 @@ var ExtractionSession = class {
1183
1179
  externalFileOwners: this.externalFileOwners,
1184
1180
  externalSourceEntries: this.externalSourceEntries,
1185
1181
  externalPackageDirs: this.externalPackageDirs,
1186
- systemVocabularyDiagnostics: this.systemVocabularyDiagnostics,
1187
1182
  ingestionFailureDiagnostics: this.ingestionFailureDiagnostics
1188
1183
  };
1189
1184
  }
@@ -1356,7 +1351,7 @@ var ExtractionSession = class {
1356
1351
  ...analysisOptions,
1357
1352
  warn: (message) => this.warn(message),
1358
1353
  strict: this.options.strict,
1359
- extraDiagnostics: [...this.systemVocabularyDiagnostics, ...this.ingestionFailureDiagnostics]
1354
+ extraDiagnostics: this.ingestionFailureDiagnostics
1360
1355
  });
1361
1356
  assertNoErrorDiagnostics(result.manifest?.diagnostics);
1362
1357
  enforceExternalTokenContracts({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animus-ui/extract",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Animus static CSS extraction pipeline (Rust/NAPI)",
5
5
  "keywords": [
6
6
  "animus",
@@ -55,13 +55,13 @@
55
55
  "build:v2:debug": "cd crates/extract-v2 && bunx napi build --platform --no-js"
56
56
  },
57
57
  "dependencies": {
58
- "@animus-ui/properties": "0.1.17",
58
+ "@animus-ui/properties": "0.1.18",
59
59
  "browserslist": "^4.28.8",
60
60
  "lightningcss": "^1.33.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@animus-ui/assertions": "0.1.17",
64
- "@animus-ui/system": "0.1.17",
63
+ "@animus-ui/assertions": "0.1.18",
64
+ "@animus-ui/system": "0.1.18",
65
65
  "@mdx-js/mdx": "3.1.1",
66
66
  "@napi-rs/cli": "^3.10.5",
67
67
  "svelte": "5.57.0"