@zendeskgarden/react-tooltips 8.67.0 → 8.68.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/dist/index.cjs.js
CHANGED
|
@@ -79,7 +79,7 @@ function getArrowPosition(popperPlacement) {
|
|
|
79
79
|
const COMPONENT_ID$2 = 'tooltip.paragraph';
|
|
80
80
|
const StyledParagraph = styled__default.default.p.attrs({
|
|
81
81
|
'data-garden-id': COMPONENT_ID$2,
|
|
82
|
-
'data-garden-version': '8.
|
|
82
|
+
'data-garden-version': '8.68.0'
|
|
83
83
|
}).withConfig({
|
|
84
84
|
displayName: "StyledParagraph",
|
|
85
85
|
componentId: "sc-wuqkfc-0"
|
|
@@ -91,7 +91,7 @@ StyledParagraph.defaultProps = {
|
|
|
91
91
|
const COMPONENT_ID$1 = 'tooltip.title';
|
|
92
92
|
const StyledTitle = styled__default.default.strong.attrs({
|
|
93
93
|
'data-garden-id': COMPONENT_ID$1,
|
|
94
|
-
'data-garden-version': '8.
|
|
94
|
+
'data-garden-version': '8.68.0'
|
|
95
95
|
}).withConfig({
|
|
96
96
|
displayName: "StyledTitle",
|
|
97
97
|
componentId: "sc-vnjcvz-0"
|
|
@@ -188,7 +188,7 @@ const colorStyles = _ref2 => {
|
|
|
188
188
|
};
|
|
189
189
|
const StyledTooltip = styled__default.default.div.attrs({
|
|
190
190
|
'data-garden-id': COMPONENT_ID,
|
|
191
|
-
'data-garden-version': '8.
|
|
191
|
+
'data-garden-version': '8.68.0'
|
|
192
192
|
}).withConfig({
|
|
193
193
|
displayName: "StyledTooltip",
|
|
194
194
|
componentId: "sc-gzzjq4-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -70,7 +70,7 @@ function getArrowPosition(popperPlacement) {
|
|
|
70
70
|
const COMPONENT_ID$2 = 'tooltip.paragraph';
|
|
71
71
|
const StyledParagraph = styled.p.attrs({
|
|
72
72
|
'data-garden-id': COMPONENT_ID$2,
|
|
73
|
-
'data-garden-version': '8.
|
|
73
|
+
'data-garden-version': '8.68.0'
|
|
74
74
|
}).withConfig({
|
|
75
75
|
displayName: "StyledParagraph",
|
|
76
76
|
componentId: "sc-wuqkfc-0"
|
|
@@ -82,7 +82,7 @@ StyledParagraph.defaultProps = {
|
|
|
82
82
|
const COMPONENT_ID$1 = 'tooltip.title';
|
|
83
83
|
const StyledTitle = styled.strong.attrs({
|
|
84
84
|
'data-garden-id': COMPONENT_ID$1,
|
|
85
|
-
'data-garden-version': '8.
|
|
85
|
+
'data-garden-version': '8.68.0'
|
|
86
86
|
}).withConfig({
|
|
87
87
|
displayName: "StyledTitle",
|
|
88
88
|
componentId: "sc-vnjcvz-0"
|
|
@@ -179,7 +179,7 @@ const colorStyles = _ref2 => {
|
|
|
179
179
|
};
|
|
180
180
|
const StyledTooltip = styled.div.attrs({
|
|
181
181
|
'data-garden-id': COMPONENT_ID,
|
|
182
|
-
'data-garden-version': '8.
|
|
182
|
+
'data-garden-version': '8.68.0'
|
|
183
183
|
}).withConfig({
|
|
184
184
|
displayName: "StyledTooltip",
|
|
185
185
|
componentId: "sc-gzzjq4-0"
|
|
@@ -4,13 +4,14 @@
|
|
|
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
8
|
import PropTypes from 'prop-types';
|
|
8
9
|
import { ITooltipProps } from '../types';
|
|
9
10
|
/**
|
|
10
11
|
* @extends HTMLAttributes<HTMLDivElement>
|
|
11
12
|
*/
|
|
12
13
|
export declare const Tooltip: {
|
|
13
|
-
({ id, delayMS, isInitialVisible, content, refKey, placement, eventsEnabled, popperModifiers, children, hasArrow, size, type, appendToNode, zIndex, isVisible: externalIsVisible, ...otherProps }: ITooltipProps): JSX.Element;
|
|
14
|
+
({ id, delayMS, isInitialVisible, content, refKey, placement, eventsEnabled, popperModifiers, children, hasArrow, size, type, appendToNode, zIndex, isVisible: externalIsVisible, ...otherProps }: ITooltipProps): React.JSX.Element;
|
|
14
15
|
displayName: string;
|
|
15
16
|
propTypes: {
|
|
16
17
|
appendToNode: PropTypes.Requireable<any>;
|
|
@@ -12,7 +12,7 @@ export declare const SIZE: readonly ["small", "medium", "large", "extra-large"];
|
|
|
12
12
|
export declare const TYPE: readonly ["light", "dark"];
|
|
13
13
|
export type GardenPlacement = (typeof PLACEMENT)[number];
|
|
14
14
|
export type PopperPlacement = (typeof POPPER_PLACEMENT)[number];
|
|
15
|
-
export interface ITooltipProps extends HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
export interface ITooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'content'> {
|
|
16
16
|
/** Appends the tooltip to the element provided */
|
|
17
17
|
appendToNode?: Element;
|
|
18
18
|
/** Adds an arrow to the tooltip */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-tooltips",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.68.0",
|
|
4
4
|
"description": "Collection of components and render prop containers relating to Tooltips in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"styled-components": "^4.2.0 || ^5.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@zendeskgarden/react-theming": "^8.
|
|
38
|
+
"@zendeskgarden/react-theming": "^8.68.0"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|
|
41
41
|
"components",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"zendeskgarden:src": "src/index.ts",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e05a28d586f47d95e0570fe2d529915aa4285845"
|
|
51
51
|
}
|