@gooddata/sdk-ui-theme-provider 11.17.0-alpha.4 → 11.17.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/esm/index.d.ts +3 -6
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +12 -1
- package/esm/index.js.map +1 -1
- package/package.json +8 -8
package/esm/index.d.ts
CHANGED
|
@@ -8,12 +8,9 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
export {
|
|
13
|
-
export { ScopedThemeProvider } from "./ThemeProvider/ScopedThemeProvider.js";
|
|
11
|
+
export { ThemeProvider, type IThemeProviderProps, type ThemeModifier, } from "./ThemeProvider/ThemeProvider.js";
|
|
12
|
+
export { ScopedThemeProvider, type IScopedThemeProviderProps } from "./ThemeProvider/ScopedThemeProvider.js";
|
|
14
13
|
export { ConditionalScopedThemeProvider } from "./ThemeProvider/ConditionalScopedThemeProvider.js";
|
|
15
14
|
export { isDarkTheme } from "./ThemeProvider/isDarkTheme.js";
|
|
16
|
-
export type
|
|
17
|
-
export type { IThemeContextProviderProps, ThemeStatus } from "./ThemeProvider/Context.js";
|
|
18
|
-
export { withTheme, useTheme, useThemeIsLoading, useIsScopeThemed, useThemeStatus, useIsDarkTheme, ThemeContextProvider, } from "./ThemeProvider/Context.js";
|
|
15
|
+
export { withTheme, useTheme, useThemeIsLoading, useIsScopeThemed, useThemeStatus, useIsDarkTheme, ThemeContextProvider, type IThemeContextProviderProps, type ThemeStatus, } from "./ThemeProvider/Context.js";
|
|
19
16
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,OAAO,EACH,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,aAAa,GACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAC7G,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACH,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,WAAW,GACnB,MAAM,4BAA4B,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
// (C) 2020-2026 GoodData Corporation
|
|
2
|
+
/**
|
|
3
|
+
* This package provides tools to make your application support themes.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* A theme allows you to change the colors, fonts and other visual aspects of GoodData.UI components.
|
|
7
|
+
* You can use functions in this package to set a theme for a subtree of your React component tree
|
|
8
|
+
* and to make your own components able to consume the theme provided.
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
export { ThemeProvider, } from "./ThemeProvider/ThemeProvider.js";
|
|
2
13
|
export { ScopedThemeProvider } from "./ThemeProvider/ScopedThemeProvider.js";
|
|
3
14
|
export { ConditionalScopedThemeProvider } from "./ThemeProvider/ConditionalScopedThemeProvider.js";
|
|
4
15
|
export { isDarkTheme } from "./ThemeProvider/isDarkTheme.js";
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC;;;;;;;;;GASG;AACH,OAAO,EACH,aAAa,GAGhB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAkC,MAAM,wCAAwC,CAAC;AAC7G,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACH,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,oBAAoB,GAGvB,MAAM,4BAA4B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-theme-provider",
|
|
3
|
-
"version": "11.17.0
|
|
3
|
+
"version": "11.17.0",
|
|
4
4
|
"description": "GoodData SDK - Theme provider",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"postcss-value-parser": "^4.2.0",
|
|
33
33
|
"ts-invariant": "^0.7.5",
|
|
34
34
|
"tslib": "2.8.1",
|
|
35
|
-
"@gooddata/sdk-backend-spi": "11.17.0
|
|
36
|
-
"@gooddata/sdk-
|
|
37
|
-
"@gooddata/
|
|
38
|
-
"@gooddata/
|
|
35
|
+
"@gooddata/sdk-backend-spi": "11.17.0",
|
|
36
|
+
"@gooddata/sdk-ui": "11.17.0",
|
|
37
|
+
"@gooddata/util": "11.17.0",
|
|
38
|
+
"@gooddata/sdk-model": "11.17.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"react-dom": "19.1.1",
|
|
72
72
|
"typescript": "5.9.3",
|
|
73
73
|
"vitest": "4.0.8",
|
|
74
|
-
"@gooddata/eslint-config": "11.17.0
|
|
75
|
-
"@gooddata/
|
|
76
|
-
"@gooddata/
|
|
74
|
+
"@gooddata/eslint-config": "11.17.0",
|
|
75
|
+
"@gooddata/sdk-backend-mockingbird": "11.17.0",
|
|
76
|
+
"@gooddata/reference-workspace": "11.17.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0 || ^19.0.0",
|