@plasmicapp/react-web 0.2.398 → 0.2.399

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/all.d.ts CHANGED
@@ -12868,8 +12868,9 @@ declare function deriveRenderOpts(props: Record<string, any>, config: {
12868
12868
  overrides: Partial<Partial<Record<string, any>>>;
12869
12869
  };
12870
12870
 
12871
+ type ActiveGlobalVariants = string | string[] | undefined;
12871
12872
  type GlobalVariants = {
12872
- [gv: string]: string | undefined;
12873
+ [gv: string]: ActiveGlobalVariants;
12873
12874
  };
12874
12875
  type UseGlobalVariants = () => GlobalVariants;
12875
12876
  /**
@@ -12895,7 +12896,7 @@ type UseGlobalVariants = () => GlobalVariants;
12895
12896
  * ```
12896
12897
  */
12897
12898
  declare function createUseGlobalVariants<T extends {
12898
- [gv: string]: () => string | undefined;
12899
+ [gv: string]: () => ActiveGlobalVariants;
12899
12900
  }>(globalVariantHooks: T): UseGlobalVariants;
12900
12901
  /**
12901
12902
  * @deprecated - new generated code should use `useGlobalVariants` instead