@gooddata/sdk-ui-theme-provider 11.35.0-alpha.3 → 11.35.0-alpha.5
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/esm/ThemeProvider/ConditionalScopedThemeProvider.d.ts +0 -1
- package/esm/ThemeProvider/ConditionalScopedThemeProvider.js +0 -1
- package/esm/ThemeProvider/Context.d.ts +0 -1
- package/esm/ThemeProvider/Context.js +0 -1
- package/esm/ThemeProvider/ScopedThemeProvider.d.ts +0 -1
- package/esm/ThemeProvider/ScopedThemeProvider.js +0 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts +0 -1
- package/esm/ThemeProvider/ThemeProvider.js +0 -1
- package/esm/ThemeProvider/isDarkTheme.d.ts +0 -1
- package/esm/ThemeProvider/isDarkTheme.js +0 -1
- package/esm/ThemeProvider/prepareTheme.d.ts +0 -1
- package/esm/ThemeProvider/prepareTheme.js +0 -1
- package/esm/complementaryPalette.d.ts +0 -1
- package/esm/complementaryPalette.js +0 -1
- package/esm/cssProperties.d.ts +0 -1
- package/esm/cssProperties.js +0 -1
- package/esm/cssProperty.d.ts +0 -1
- package/esm/cssProperty.js +0 -1
- package/esm/defaultThemes/blueLight.d.ts +0 -1
- package/esm/defaultThemes/blueLight.js +0 -1
- package/esm/defaultThemes/defaultHeaderTheme.d.ts +0 -1
- package/esm/defaultThemes/defaultHeaderTheme.js +0 -1
- package/esm/defaultThemes/greenDark.d.ts +0 -1
- package/esm/defaultThemes/greenDark.js +0 -1
- package/esm/defaultThemes/indigo.d.ts +0 -1
- package/esm/defaultThemes/indigo.js +0 -1
- package/esm/defaultThemes/indigoDark.d.ts +0 -1
- package/esm/defaultThemes/indigoDark.js +0 -1
- package/esm/defaultThemes/pinkLight.d.ts +0 -1
- package/esm/defaultThemes/pinkLight.js +0 -1
- package/esm/defaultThemes/pompelmoLight.d.ts +0 -1
- package/esm/defaultThemes/pompelmoLight.js +0 -1
- package/esm/defaultThemes/redLightTheme.d.ts +0 -1
- package/esm/defaultThemes/redLightTheme.js +0 -1
- package/esm/derivedColors.d.ts +0 -1
- package/esm/derivedColors.js +0 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/internal.d.ts +0 -1
- package/esm/internal.js +0 -1
- package/esm/node.d.ts +0 -1
- package/esm/node.js +0 -1
- package/esm/variablesSpec/DefaultThemePreview.d.ts +0 -1
- package/esm/variablesSpec/DefaultThemePreview.js +0 -1
- package/esm/variablesSpec/allThemeCssVariables.d.ts +0 -1
- package/esm/variablesSpec/allThemeCssVariables.js +0 -1
- package/esm/variablesSpec/deprecated/chart.d.ts +0 -1
- package/esm/variablesSpec/deprecated/chart.js +0 -1
- package/esm/variablesSpec/deprecated/palette-base.d.ts +0 -1
- package/esm/variablesSpec/deprecated/palette-base.js +0 -1
- package/esm/variablesSpec/generate/generateDefaultScssThemeContent.d.ts +0 -1
- package/esm/variablesSpec/generate/generateDefaultScssThemeContent.js +0 -1
- package/esm/variablesSpec/generate/generateDefaultTypeScriptThemeContent.d.ts +0 -1
- package/esm/variablesSpec/generate/generateDefaultTypeScriptThemeContent.js +0 -1
- package/esm/variablesSpec/inconsistent/inconsistent.d.ts +0 -1
- package/esm/variablesSpec/inconsistent/inconsistent.js +0 -1
- package/esm/variablesSpec/internal/button.d.ts +0 -1
- package/esm/variablesSpec/internal/button.js +0 -1
- package/esm/variablesSpec/internal/font.d.ts +0 -1
- package/esm/variablesSpec/internal/font.js +0 -1
- package/esm/variablesSpec/internal/geo.d.ts +0 -1
- package/esm/variablesSpec/internal/geo.js +0 -1
- package/esm/variablesSpec/internal/icon.d.ts +0 -1
- package/esm/variablesSpec/internal/icon.js +0 -1
- package/esm/variablesSpec/internal/modeler.d.ts +0 -1
- package/esm/variablesSpec/internal/modeler.js +0 -1
- package/esm/variablesSpec/internal/spacing.d.ts +0 -1
- package/esm/variablesSpec/internal/spacing.js +0 -1
- package/esm/variablesSpec/internal/table.d.ts +0 -1
- package/esm/variablesSpec/internal/table.js +0 -1
- package/esm/variablesSpec/internal/tabs.d.ts +0 -1
- package/esm/variablesSpec/internal/tabs.js +0 -1
- package/esm/variablesSpec/internal/transition.d.ts +0 -1
- package/esm/variablesSpec/internal/transition.js +0 -1
- package/esm/variablesSpec/theme/analytical-designer.d.ts +0 -1
- package/esm/variablesSpec/theme/analytical-designer.js +0 -1
- package/esm/variablesSpec/theme/button.d.ts +0 -1
- package/esm/variablesSpec/theme/button.js +0 -1
- package/esm/variablesSpec/theme/chart.d.ts +0 -1
- package/esm/variablesSpec/theme/chart.js +0 -1
- package/esm/variablesSpec/theme/dashboard.d.ts +0 -1
- package/esm/variablesSpec/theme/dashboard.js +0 -1
- package/esm/variablesSpec/theme/kpi.d.ts +0 -1
- package/esm/variablesSpec/theme/kpi.js +0 -1
- package/esm/variablesSpec/theme/message.d.ts +0 -1
- package/esm/variablesSpec/theme/message.js +0 -1
- package/esm/variablesSpec/theme/modal.d.ts +0 -1
- package/esm/variablesSpec/theme/modal.js +0 -1
- package/esm/variablesSpec/theme/palette-base.d.ts +0 -1
- package/esm/variablesSpec/theme/palette-base.js +0 -1
- package/esm/variablesSpec/theme/palette-complementary.d.ts +0 -1
- package/esm/variablesSpec/theme/palette-complementary.js +0 -1
- package/esm/variablesSpec/theme/table.d.ts +0 -1
- package/esm/variablesSpec/theme/table.js +0 -1
- package/esm/variablesSpec/theme/toast-message.d.ts +0 -1
- package/esm/variablesSpec/theme/toast-message.js +0 -1
- package/esm/variablesSpec/theme/tooltip.d.ts +0 -1
- package/esm/variablesSpec/theme/tooltip.js +0 -1
- package/esm/variablesSpec/theme/typography.d.ts +0 -1
- package/esm/variablesSpec/theme/typography.js +0 -1
- package/esm/variablesSpec/theme-derived/palette-base-derived.d.ts +0 -1
- package/esm/variablesSpec/theme-derived/palette-base-derived.js +0 -1
- package/esm/variablesSpec/theme-derived/palette-complementary-derived.d.ts +0 -1
- package/esm/variablesSpec/theme-derived/palette-complementary-derived.js +0 -1
- package/esm/variablesSpec/theme-derived/shadow-derived.d.ts +0 -1
- package/esm/variablesSpec/theme-derived/shadow-derived.js +0 -1
- package/esm/variablesSpec/types.d.ts +0 -1
- package/esm/variablesSpec/types.js +0 -1
- package/esm/variablesSpec/validate/log.d.ts +0 -1
- package/esm/variablesSpec/validate/log.js +0 -1
- package/esm/variablesSpec/validate/main.d.ts +0 -1
- package/esm/variablesSpec/validate/main.js +0 -1
- package/esm/variablesSpec/validate/parse.d.ts +0 -1
- package/esm/variablesSpec/validate/parse.js +0 -1
- package/esm/variablesSpec/validate/types.d.ts +0 -1
- package/esm/variablesSpec/validate/types.js +0 -1
- package/esm/variablesSpec/validate/utils.d.ts +0 -1
- package/esm/variablesSpec/validate/utils.js +0 -1
- package/esm/variablesSpec/validate/validate.d.ts +0 -1
- package/esm/variablesSpec/validate/validate.js +0 -1
- package/package.json +9 -9
- package/esm/ThemeProvider/ConditionalScopedThemeProvider.d.ts.map +0 -1
- package/esm/ThemeProvider/ConditionalScopedThemeProvider.js.map +0 -1
- package/esm/ThemeProvider/Context.d.ts.map +0 -1
- package/esm/ThemeProvider/Context.js.map +0 -1
- package/esm/ThemeProvider/ScopedThemeProvider.d.ts.map +0 -1
- package/esm/ThemeProvider/ScopedThemeProvider.js.map +0 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts.map +0 -1
- package/esm/ThemeProvider/ThemeProvider.js.map +0 -1
- package/esm/ThemeProvider/isDarkTheme.d.ts.map +0 -1
- package/esm/ThemeProvider/isDarkTheme.js.map +0 -1
- package/esm/ThemeProvider/prepareTheme.d.ts.map +0 -1
- package/esm/ThemeProvider/prepareTheme.js.map +0 -1
- package/esm/complementaryPalette.d.ts.map +0 -1
- package/esm/complementaryPalette.js.map +0 -1
- package/esm/cssProperties.d.ts.map +0 -1
- package/esm/cssProperties.js.map +0 -1
- package/esm/cssProperty.d.ts.map +0 -1
- package/esm/cssProperty.js.map +0 -1
- package/esm/defaultThemes/blueLight.d.ts.map +0 -1
- package/esm/defaultThemes/blueLight.js.map +0 -1
- package/esm/defaultThemes/defaultHeaderTheme.d.ts.map +0 -1
- package/esm/defaultThemes/defaultHeaderTheme.js.map +0 -1
- package/esm/defaultThemes/greenDark.d.ts.map +0 -1
- package/esm/defaultThemes/greenDark.js.map +0 -1
- package/esm/defaultThemes/indigo.d.ts.map +0 -1
- package/esm/defaultThemes/indigo.js.map +0 -1
- package/esm/defaultThemes/indigoDark.d.ts.map +0 -1
- package/esm/defaultThemes/indigoDark.js.map +0 -1
- package/esm/defaultThemes/pinkLight.d.ts.map +0 -1
- package/esm/defaultThemes/pinkLight.js.map +0 -1
- package/esm/defaultThemes/pompelmoLight.d.ts.map +0 -1
- package/esm/defaultThemes/pompelmoLight.js.map +0 -1
- package/esm/defaultThemes/redLightTheme.d.ts.map +0 -1
- package/esm/defaultThemes/redLightTheme.js.map +0 -1
- package/esm/derivedColors.d.ts.map +0 -1
- package/esm/derivedColors.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/internal.d.ts.map +0 -1
- package/esm/internal.js.map +0 -1
- package/esm/node.d.ts.map +0 -1
- package/esm/node.js.map +0 -1
- package/esm/variablesSpec/DefaultThemePreview.d.ts.map +0 -1
- package/esm/variablesSpec/DefaultThemePreview.js.map +0 -1
- package/esm/variablesSpec/allThemeCssVariables.d.ts.map +0 -1
- package/esm/variablesSpec/allThemeCssVariables.js.map +0 -1
- package/esm/variablesSpec/deprecated/chart.d.ts.map +0 -1
- package/esm/variablesSpec/deprecated/chart.js.map +0 -1
- package/esm/variablesSpec/deprecated/palette-base.d.ts.map +0 -1
- package/esm/variablesSpec/deprecated/palette-base.js.map +0 -1
- package/esm/variablesSpec/generate/generateDefaultScssThemeContent.d.ts.map +0 -1
- package/esm/variablesSpec/generate/generateDefaultScssThemeContent.js.map +0 -1
- package/esm/variablesSpec/generate/generateDefaultTypeScriptThemeContent.d.ts.map +0 -1
- package/esm/variablesSpec/generate/generateDefaultTypeScriptThemeContent.js.map +0 -1
- package/esm/variablesSpec/inconsistent/inconsistent.d.ts.map +0 -1
- package/esm/variablesSpec/inconsistent/inconsistent.js.map +0 -1
- package/esm/variablesSpec/internal/button.d.ts.map +0 -1
- package/esm/variablesSpec/internal/button.js.map +0 -1
- package/esm/variablesSpec/internal/font.d.ts.map +0 -1
- package/esm/variablesSpec/internal/font.js.map +0 -1
- package/esm/variablesSpec/internal/geo.d.ts.map +0 -1
- package/esm/variablesSpec/internal/geo.js.map +0 -1
- package/esm/variablesSpec/internal/icon.d.ts.map +0 -1
- package/esm/variablesSpec/internal/icon.js.map +0 -1
- package/esm/variablesSpec/internal/modeler.d.ts.map +0 -1
- package/esm/variablesSpec/internal/modeler.js.map +0 -1
- package/esm/variablesSpec/internal/spacing.d.ts.map +0 -1
- package/esm/variablesSpec/internal/spacing.js.map +0 -1
- package/esm/variablesSpec/internal/table.d.ts.map +0 -1
- package/esm/variablesSpec/internal/table.js.map +0 -1
- package/esm/variablesSpec/internal/tabs.d.ts.map +0 -1
- package/esm/variablesSpec/internal/tabs.js.map +0 -1
- package/esm/variablesSpec/internal/transition.d.ts.map +0 -1
- package/esm/variablesSpec/internal/transition.js.map +0 -1
- package/esm/variablesSpec/theme/analytical-designer.d.ts.map +0 -1
- package/esm/variablesSpec/theme/analytical-designer.js.map +0 -1
- package/esm/variablesSpec/theme/button.d.ts.map +0 -1
- package/esm/variablesSpec/theme/button.js.map +0 -1
- package/esm/variablesSpec/theme/chart.d.ts.map +0 -1
- package/esm/variablesSpec/theme/chart.js.map +0 -1
- package/esm/variablesSpec/theme/dashboard.d.ts.map +0 -1
- package/esm/variablesSpec/theme/dashboard.js.map +0 -1
- package/esm/variablesSpec/theme/kpi.d.ts.map +0 -1
- package/esm/variablesSpec/theme/kpi.js.map +0 -1
- package/esm/variablesSpec/theme/message.d.ts.map +0 -1
- package/esm/variablesSpec/theme/message.js.map +0 -1
- package/esm/variablesSpec/theme/modal.d.ts.map +0 -1
- package/esm/variablesSpec/theme/modal.js.map +0 -1
- package/esm/variablesSpec/theme/palette-base.d.ts.map +0 -1
- package/esm/variablesSpec/theme/palette-base.js.map +0 -1
- package/esm/variablesSpec/theme/palette-complementary.d.ts.map +0 -1
- package/esm/variablesSpec/theme/palette-complementary.js.map +0 -1
- package/esm/variablesSpec/theme/table.d.ts.map +0 -1
- package/esm/variablesSpec/theme/table.js.map +0 -1
- package/esm/variablesSpec/theme/toast-message.d.ts.map +0 -1
- package/esm/variablesSpec/theme/toast-message.js.map +0 -1
- package/esm/variablesSpec/theme/tooltip.d.ts.map +0 -1
- package/esm/variablesSpec/theme/tooltip.js.map +0 -1
- package/esm/variablesSpec/theme/typography.d.ts.map +0 -1
- package/esm/variablesSpec/theme/typography.js.map +0 -1
- package/esm/variablesSpec/theme-derived/palette-base-derived.d.ts.map +0 -1
- package/esm/variablesSpec/theme-derived/palette-base-derived.js.map +0 -1
- package/esm/variablesSpec/theme-derived/palette-complementary-derived.d.ts.map +0 -1
- package/esm/variablesSpec/theme-derived/palette-complementary-derived.js.map +0 -1
- package/esm/variablesSpec/theme-derived/shadow-derived.d.ts.map +0 -1
- package/esm/variablesSpec/theme-derived/shadow-derived.js.map +0 -1
- package/esm/variablesSpec/types.d.ts.map +0 -1
- package/esm/variablesSpec/types.js.map +0 -1
- package/esm/variablesSpec/validate/log.d.ts.map +0 -1
- package/esm/variablesSpec/validate/log.js.map +0 -1
- package/esm/variablesSpec/validate/main.d.ts.map +0 -1
- package/esm/variablesSpec/validate/main.js.map +0 -1
- package/esm/variablesSpec/validate/parse.d.ts.map +0 -1
- package/esm/variablesSpec/validate/parse.js.map +0 -1
- package/esm/variablesSpec/validate/types.d.ts.map +0 -1
- package/esm/variablesSpec/validate/types.js.map +0 -1
- package/esm/variablesSpec/validate/utils.d.ts.map +0 -1
- package/esm/variablesSpec/validate/utils.js.map +0 -1
- package/esm/variablesSpec/validate/validate.d.ts.map +0 -1
- package/esm/variablesSpec/validate/validate.js.map +0 -1
|
@@ -12,4 +12,3 @@ export function ConditionalScopedThemeProvider({ children }) {
|
|
|
12
12
|
const isScopeThemed = useIsScopeThemed();
|
|
13
13
|
return theme && isScopeThemed ? (_jsx(ScopedThemeProvider, { theme: theme, children: children })) : (children);
|
|
14
14
|
}
|
|
15
|
-
//# sourceMappingURL=ConditionalScopedThemeProvider.js.map
|
|
@@ -64,4 +64,3 @@ export interface IScopedThemeProviderProps {
|
|
|
64
64
|
* @internal
|
|
65
65
|
*/
|
|
66
66
|
export declare function ScopedThemeProvider({ children, theme: themeParam, backend: backendParam, workspace: workspaceParam, modifier, enableComplementaryPalette, removeGlobalStylesOnUnmout }: IScopedThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
-
//# sourceMappingURL=ScopedThemeProvider.d.ts.map
|
|
@@ -69,4 +69,3 @@ export interface IThemeProviderProps {
|
|
|
69
69
|
* @public
|
|
70
70
|
*/
|
|
71
71
|
export declare function ThemeProvider({ children, theme: themeParam, backend: backendParam, workspace: workspaceParam, modifier, enableComplementaryPalette, removeGlobalStylesOnUnmout }: IThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
72
|
-
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -65,4 +65,3 @@ export function ThemeProvider({ children, theme: themeParam, backend: backendPar
|
|
|
65
65
|
}, [removeGlobalStylesOnUnmout]);
|
|
66
66
|
return (_jsx(ThemeContextProvider, { theme: theme, themeIsLoading: isLoading, themeStatus: status, children: children }));
|
|
67
67
|
}
|
|
68
|
-
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -4,4 +4,3 @@ export declare const prepareBaseColors: (theme: ITheme) => ITheme;
|
|
|
4
4
|
export declare const stripComplementaryPalette: (theme: ITheme) => ITheme;
|
|
5
5
|
export declare const preparePrimaryColor: (theme: ITheme) => ITheme;
|
|
6
6
|
export declare const prepareTheme: (theme: ITheme, enableComplementaryPalette?: boolean) => ITheme;
|
|
7
|
-
//# sourceMappingURL=prepareTheme.d.ts.map
|
package/esm/cssProperties.d.ts
CHANGED
|
@@ -32,4 +32,3 @@ export declare const clearCssProperties: (isScoped?: boolean | undefined, scopeT
|
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
34
|
export declare function setCssProperties(theme: ITheme, isDarkTheme: boolean, isScoped?: boolean, scopeTo?: HTMLElement, scopeId?: string): void;
|
|
35
|
-
//# sourceMappingURL=cssProperties.d.ts.map
|
package/esm/cssProperties.js
CHANGED
|
@@ -251,4 +251,3 @@ export function setCssProperties(theme, isDarkTheme, isScoped = false, scopeTo,
|
|
|
251
251
|
scopeTo.setAttribute("style", `${hasFont && scopeId ? "--gd-font-family: " + scopeId + ";" : ""} ${cssPropertiesRules}\ncolor-scheme: ${isDarkTheme ? "dark" : "light"};`);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
//# sourceMappingURL=cssProperties.js.map
|
package/esm/cssProperty.d.ts
CHANGED
package/esm/cssProperty.js
CHANGED
package/esm/derivedColors.d.ts
CHANGED
package/esm/derivedColors.js
CHANGED
package/esm/index.d.ts
CHANGED
|
@@ -14,4 +14,3 @@ export { ScopedThemeProvider, type IScopedThemeProviderProps } from "./ThemeProv
|
|
|
14
14
|
export { ConditionalScopedThemeProvider } from "./ThemeProvider/ConditionalScopedThemeProvider.js";
|
|
15
15
|
export { isDarkTheme } from "./ThemeProvider/isDarkTheme.js";
|
|
16
16
|
export { withTheme, useTheme, useThemeIsLoading, useIsScopeThemed, useThemeStatus, useIsDarkTheme, ThemeContextProvider, type IThemeContextProviderProps, type ThemeStatus, } from "./ThemeProvider/Context.js";
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.js
CHANGED
|
@@ -16,4 +16,3 @@ export { ScopedThemeProvider } from "./ThemeProvider/ScopedThemeProvider.js";
|
|
|
16
16
|
export { ConditionalScopedThemeProvider } from "./ThemeProvider/ConditionalScopedThemeProvider.js";
|
|
17
17
|
export { isDarkTheme } from "./ThemeProvider/isDarkTheme.js";
|
|
18
18
|
export { withTheme, useTheme, useThemeIsLoading, useIsScopeThemed, useThemeStatus, useIsDarkTheme, ThemeContextProvider, } from "./ThemeProvider/Context.js";
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
package/esm/internal.d.ts
CHANGED
|
@@ -6,4 +6,3 @@ export { pinkLightTheme } from "./defaultThemes/pinkLight.js";
|
|
|
6
6
|
export { pompelmoLightTheme } from "./defaultThemes/pompelmoLight.js";
|
|
7
7
|
export { redLightTheme } from "./defaultThemes/redLightTheme.js";
|
|
8
8
|
export { DefaultThemePreview } from "./variablesSpec/DefaultThemePreview.js";
|
|
9
|
-
//# sourceMappingURL=internal.d.ts.map
|
package/esm/internal.js
CHANGED
|
@@ -8,4 +8,3 @@ export { pinkLightTheme } from "./defaultThemes/pinkLight.js";
|
|
|
8
8
|
export { pompelmoLightTheme } from "./defaultThemes/pompelmoLight.js";
|
|
9
9
|
export { redLightTheme } from "./defaultThemes/redLightTheme.js";
|
|
10
10
|
export { DefaultThemePreview } from "./variablesSpec/DefaultThemePreview.js";
|
|
11
|
-
//# sourceMappingURL=internal.js.map
|
package/esm/node.d.ts
CHANGED
package/esm/node.js
CHANGED
|
@@ -3,4 +3,3 @@ export declare const themeDefinedCssVariables: ThemeDefinedCssVariable[];
|
|
|
3
3
|
export declare const themeDerivedCssVariables: ThemeDerivedCssVariable[];
|
|
4
4
|
export declare const themeInternalCssVariables: ThemeInternalCssVariable[];
|
|
5
5
|
export declare const allThemeCssVariables: ThemeCssVariable[];
|
|
6
|
-
//# sourceMappingURL=allThemeCssVariables.d.ts.map
|