@descope/flow-components 2.0.413 → 2.0.415

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.
@@ -2,9 +2,9 @@ type ComponentClass = {
2
2
  cssVarList: Record<string, string>;
3
3
  };
4
4
  interface IComponentThemeManager {
5
- currentThemeName: (themeName?: string) => string;
5
+ currentThemeName: string[];
6
6
  currentTheme: () => string;
7
- themes: Theme[];
7
+ themes: Record<string, string>;
8
8
  hasThemes: () => boolean;
9
9
  }
10
10
  declare const globalsThemeToStyle: (theme: string, themeName: string) => string;
package/dist/index.d.ts CHANGED
@@ -923,9 +923,9 @@ type ComponentClass = {
923
923
  cssVarList: Record<string, string>;
924
924
  };
925
925
  interface IComponentThemeManager {
926
- currentThemeName: (themeName?: string) => string;
926
+ currentThemeName: string[];
927
927
  currentTheme: () => string;
928
- themes: Theme[];
928
+ themes: Record<string, string>;
929
929
  hasThemes: () => boolean;
930
930
  }
931
931
  declare const globalsThemeToStyle: (theme: string, themeName: string) => string;
@@ -2,9 +2,9 @@ type ComponentClass = {
2
2
  cssVarList: Record<string, string>;
3
3
  };
4
4
  interface IComponentThemeManager {
5
- currentThemeName: (themeName?: string) => string;
5
+ currentThemeName: string[];
6
6
  currentTheme: () => string;
7
- themes: Theme[];
7
+ themes: Record<string, string>;
8
8
  hasThemes: () => boolean;
9
9
  }
10
10
  declare const globalsThemeToStyle: (theme: string, themeName: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.0.413",
3
+ "version": "2.0.415",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -87,8 +87,8 @@
87
87
  "postcss": "^8.4.14",
88
88
  "prettier": "2.8.8",
89
89
  "pretty-quick": "^4.0.0",
90
- "react": "18.2.0",
91
- "react-dom": "18.2.0",
90
+ "react": "18.3.1",
91
+ "react-dom": "18.3.1",
92
92
  "rollup": "^4.0.0",
93
93
  "rollup-plugin-auto-external": "^2.0.0",
94
94
  "rollup-plugin-copy": "^3.4.0",