@zendeskgarden/react-theming 8.47.2 → 8.48.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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import React from 'react';
|
|
7
|
+
import React, { PropsWithChildren } from 'react';
|
|
8
8
|
import { ThemeProps } from 'styled-components';
|
|
9
9
|
import { IGardenTheme } from './theme';
|
|
10
10
|
export interface IThemeProviderProps extends Partial<ThemeProps<IGardenTheme>> {
|
|
@@ -22,5 +22,9 @@ export interface IThemeProviderProps extends Partial<ThemeProps<IGardenTheme>> {
|
|
|
22
22
|
*/
|
|
23
23
|
focusVisibleRef?: React.RefObject<HTMLElement> | null;
|
|
24
24
|
}
|
|
25
|
-
declare const ThemeProvider:
|
|
26
|
-
|
|
25
|
+
export declare const ThemeProvider: {
|
|
26
|
+
({ theme, focusVisibleRef, children, ...other }: PropsWithChildren<IThemeProviderProps>): JSX.Element;
|
|
27
|
+
defaultProps: {
|
|
28
|
+
theme: IGardenTheme;
|
|
29
|
+
};
|
|
30
|
+
};
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
export {
|
|
7
|
+
export { ThemeProvider } from './elements/ThemeProvider';
|
|
8
8
|
export type { IThemeProviderProps } from './elements/ThemeProvider';
|
|
9
9
|
export { default as DEFAULT_THEME } from './elements/theme';
|
|
10
10
|
export type { IGardenTheme } from './elements/theme';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-theming",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.48.0",
|
|
4
4
|
"description": "Theming utilities and components within the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"zendeskgarden:src": "src/index.ts",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "75f36aee62043004650c3eb2e1583b98a87d71f8"
|
|
45
45
|
}
|