@wix/zero-config-implementation 1.89.0 → 1.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -437,13 +437,13 @@ export declare interface CSSParserAPI {
437
437
  * Determines the CSS property type for a custom property.
438
438
  * A `@property` registration is the top-priority source (declared type). Otherwise
439
439
  * falls back to usage: if all usages of varName are within the same CSS property,
440
- * returns that property name; if usages differ, returns the CSS data type inferred
441
- * from the initial value ('color', 'length', 'number', or 'string').
442
- * Returns undefined if the variable is neither registered nor used via var().
440
+ * returns that property name; if usages differ, or if the variable is not used via
441
+ * var() at all, returns the CSS data type inferred from the initial value
442
+ * ('color', 'length', 'number', or 'string').
443
443
  * @param varName - The CSS variable name (with or without --)
444
444
  * @param defaultValue - The initial value string of the custom property
445
445
  */
446
- getVarPropertyType: (varName: string, defaultValue: string) => string | undefined;
446
+ getVarPropertyType: (varName: string, defaultValue: string) => string;
447
447
  /**
448
448
  * Returns every custom property registered via a `@property` at-rule, keyed by the
449
449
  * variable name including its leading `--`. Each entry carries the type derived from
@@ -866,7 +866,7 @@ export declare interface ExtractComponentManifestOptions extends RunExtractorsOp
866
866
  onError?: (error: ExtractionError) => void;
867
867
  }
868
868
 
869
- export declare function extractComponentManifestResult(componentPath: string, compiledEntryPath: string, options?: ExtractComponentManifestOptions): ResultAsync<ManifestResult, InstanceType<typeof NotFoundError> | InstanceType<typeof ParseError> | InstanceType<typeof IoError>>;
869
+ export declare function extractComponentManifestResult(componentPath: string, compiledEntryPath: string, options?: ExtractComponentManifestOptions): ResultAsync<ManifestResult, InstanceType<typeof NotFoundError> | InstanceType<typeof ParseError> | InstanceType<typeof IoError> | InstanceType<typeof ValidationError>>;
870
870
 
871
871
  export declare function extractCssImports(program: Program): string[];
872
872