@zendeskgarden/react-modals 8.57.1 → 8.59.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.
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
+
import { IDrawerModalHeaderProps } from '../../types';
|
|
8
9
|
/**
|
|
9
10
|
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
11
|
*/
|
|
11
|
-
export declare const Header: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const Header: React.ForwardRefExoticComponent<IDrawerModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
+
import { ITooltipModalTitleProps } from '../../types';
|
|
8
9
|
/**
|
|
9
10
|
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
11
|
*/
|
|
11
|
-
export declare const Title: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const Title: React.ForwardRefExoticComponent<ITooltipModalTitleProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -49,6 +49,10 @@ export interface IHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
49
49
|
* Applies danger styling
|
|
50
50
|
*/
|
|
51
51
|
isDanger?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Updates the element's HTML tag
|
|
54
|
+
*/
|
|
55
|
+
tag?: any;
|
|
52
56
|
}
|
|
53
57
|
export interface IDrawerModalProps extends Omit<IModalProps, 'isAnimated' | 'isCentered' | 'isLarge'> {
|
|
54
58
|
/**
|
|
@@ -56,6 +60,12 @@ export interface IDrawerModalProps extends Omit<IModalProps, 'isAnimated' | 'isC
|
|
|
56
60
|
*/
|
|
57
61
|
isOpen?: boolean;
|
|
58
62
|
}
|
|
63
|
+
export interface IDrawerModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
64
|
+
/**
|
|
65
|
+
* Updates the element's HTML tag
|
|
66
|
+
*/
|
|
67
|
+
tag?: any;
|
|
68
|
+
}
|
|
59
69
|
export interface ITooltipModalProps extends Omit<IModalProps, 'appendToNode' | 'isCentered' | 'isLarge'> {
|
|
60
70
|
/**
|
|
61
71
|
* Positions the modal relative to the provided `HTMLElement`
|
|
@@ -78,3 +88,9 @@ export interface ITooltipModalProps extends Omit<IModalProps, 'appendToNode' | '
|
|
|
78
88
|
*/
|
|
79
89
|
zIndex?: number;
|
|
80
90
|
}
|
|
91
|
+
export interface ITooltipModalTitleProps extends HTMLAttributes<HTMLDivElement> {
|
|
92
|
+
/**
|
|
93
|
+
* Updates the element's HTML tag
|
|
94
|
+
*/
|
|
95
|
+
tag?: any;
|
|
96
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-modals",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.59.0",
|
|
4
4
|
"description": "Components relating to modals in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/react-transition-group": "4.4.5",
|
|
42
|
-
"@zendeskgarden/react-theming": "^8.
|
|
42
|
+
"@zendeskgarden/react-theming": "^8.59.0",
|
|
43
43
|
"@zendeskgarden/svg-icons": "6.33.0"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"zendeskgarden:src": "src/index.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "14c3ad1b3abb0f76ffc8512c89d167ecb6f024fa"
|
|
56
56
|
}
|