@zendeskgarden/react-tooltips 9.2.0 → 9.3.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/esm/styled/StyledParagraph.js +1 -1
- package/dist/esm/styled/StyledTitle.js +1 -1
- package/dist/esm/styled/StyledTooltip.js +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/typings/styled/StyledParagraph.d.ts +3 -4
- package/dist/typings/styled/StyledTitle.d.ts +3 -4
- package/dist/typings/styled/StyledTooltip.d.ts +3 -2
- package/dist/typings/styled/StyledTooltipWrapper.d.ts +2 -2
- package/package.json +4 -4
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'tooltip.paragraph';
|
|
11
11
|
const StyledParagraph = styled.p.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledParagraph",
|
|
16
16
|
componentId: "sc-wuqkfc-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'tooltip.title';
|
|
11
11
|
const StyledTitle = styled.strong.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledTitle",
|
|
16
16
|
componentId: "sc-vnjcvz-0"
|
|
@@ -134,7 +134,7 @@ const colorStyles = _ref2 => {
|
|
|
134
134
|
};
|
|
135
135
|
const StyledTooltip = styled.div.attrs({
|
|
136
136
|
'data-garden-id': COMPONENT_ID,
|
|
137
|
-
'data-garden-version': '9.
|
|
137
|
+
'data-garden-version': '9.3.0'
|
|
138
138
|
}).withConfig({
|
|
139
139
|
displayName: "StyledTooltip",
|
|
140
140
|
componentId: "sc-gzzjq4-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -25,7 +25,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
25
25
|
const COMPONENT_ID$2 = 'tooltip.paragraph';
|
|
26
26
|
const StyledParagraph = styled__default.default.p.attrs({
|
|
27
27
|
'data-garden-id': COMPONENT_ID$2,
|
|
28
|
-
'data-garden-version': '9.
|
|
28
|
+
'data-garden-version': '9.3.0'
|
|
29
29
|
}).withConfig({
|
|
30
30
|
displayName: "StyledParagraph",
|
|
31
31
|
componentId: "sc-wuqkfc-0"
|
|
@@ -34,7 +34,7 @@ const StyledParagraph = styled__default.default.p.attrs({
|
|
|
34
34
|
const COMPONENT_ID$1 = 'tooltip.title';
|
|
35
35
|
const StyledTitle = styled__default.default.strong.attrs({
|
|
36
36
|
'data-garden-id': COMPONENT_ID$1,
|
|
37
|
-
'data-garden-version': '9.
|
|
37
|
+
'data-garden-version': '9.3.0'
|
|
38
38
|
}).withConfig({
|
|
39
39
|
displayName: "StyledTitle",
|
|
40
40
|
componentId: "sc-vnjcvz-0"
|
|
@@ -165,7 +165,7 @@ const colorStyles = _ref2 => {
|
|
|
165
165
|
};
|
|
166
166
|
const StyledTooltip = styled__default.default.div.attrs({
|
|
167
167
|
'data-garden-id': COMPONENT_ID,
|
|
168
|
-
'data-garden-version': '9.
|
|
168
|
+
'data-garden-version': '9.3.0'
|
|
169
169
|
}).withConfig({
|
|
170
170
|
displayName: "StyledTooltip",
|
|
171
171
|
componentId: "sc-gzzjq4-0"
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts all `<p>` props
|
|
9
9
|
*/
|
|
10
|
-
export declare const StyledParagraph: import("styled-components").
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
10
|
+
export declare const StyledParagraph: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLParagraphElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
12
|
+
}>, never>, never>> & string;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* Accepts all `<div>` props
|
|
9
9
|
*/
|
|
10
|
-
export declare const StyledTitle: import("styled-components").
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
10
|
+
export declare const StyledTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
12
|
+
}>, never>, never>> & string;
|
|
@@ -4,7 +4,6 @@
|
|
|
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 { DefaultTheme } from 'styled-components';
|
|
8
7
|
import { Placement } from '@floating-ui/react-dom';
|
|
9
8
|
import { ITooltipProps } from '../types';
|
|
10
9
|
interface IStyledTooltipProps {
|
|
@@ -16,5 +15,7 @@ interface IStyledTooltipProps {
|
|
|
16
15
|
/**
|
|
17
16
|
* Accepts all `<div>` props
|
|
18
17
|
*/
|
|
19
|
-
export declare const StyledTooltip: import("styled-components").
|
|
18
|
+
export declare const StyledTooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
+
}>, IStyledTooltipProps>, IStyledTooltipProps>> & string;
|
|
20
21
|
export {};
|
|
@@ -4,6 +4,6 @@
|
|
|
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 declare const StyledTooltipWrapper: import("styled-components").
|
|
7
|
+
export declare const StyledTooltipWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
8
|
$zIndex?: number | string;
|
|
9
|
-
}
|
|
9
|
+
}>> & string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-tooltips",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.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>",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@zendeskgarden/react-theming": ">=9.0.0",
|
|
33
33
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
34
34
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
35
|
-
"styled-components": "^5.3.1"
|
|
35
|
+
"styled-components": "^5.3.1 || ^6.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@zendeskgarden/react-theming": "^9.
|
|
38
|
+
"@zendeskgarden/react-theming": "^9.3.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": "fa6461e0d9fae27956980056006e8013daedc6b9"
|
|
51
51
|
}
|