@zendeskgarden/react-tags 9.2.0 → 9.4.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/StyledAvatar.js +1 -1
- package/dist/esm/styled/StyledClose.js +1 -1
- package/dist/esm/styled/StyledTag.js +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/typings/elements/Avatar.d.ts +3 -3
- package/dist/typings/styled/StyledAvatar.d.ts +2 -4
- package/dist/typings/styled/StyledClose.d.ts +3 -1
- package/dist/typings/styled/StyledTag.d.ts +3 -1
- package/package.json +4 -4
|
@@ -10,7 +10,7 @@ import { StyledBaseIcon, retrieveComponentStyles } from '@zendeskgarden/react-th
|
|
|
10
10
|
const COMPONENT_ID = 'tags.avatar';
|
|
11
11
|
const StyledAvatar = styled(StyledBaseIcon).attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.4.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledAvatar",
|
|
16
16
|
componentId: "sc-3kdmgt-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'tags.close';
|
|
11
11
|
const StyledClose = styled.button.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.4.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledClose",
|
|
16
16
|
componentId: "sc-d6lrpn-0"
|
|
@@ -191,7 +191,7 @@ const sizeStyles = _ref2 => {
|
|
|
191
191
|
};
|
|
192
192
|
const StyledTag = styled.div.attrs({
|
|
193
193
|
'data-garden-id': COMPONENT_ID,
|
|
194
|
-
'data-garden-version': '9.
|
|
194
|
+
'data-garden-version': '9.4.0'
|
|
195
195
|
}).withConfig({
|
|
196
196
|
displayName: "StyledTag",
|
|
197
197
|
componentId: "sc-1jvbe03-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -41,7 +41,7 @@ const SIZE = ['small', 'medium', 'large'];
|
|
|
41
41
|
const COMPONENT_ID$2 = 'tags.avatar';
|
|
42
42
|
const StyledAvatar = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
43
43
|
'data-garden-id': COMPONENT_ID$2,
|
|
44
|
-
'data-garden-version': '9.
|
|
44
|
+
'data-garden-version': '9.4.0'
|
|
45
45
|
}).withConfig({
|
|
46
46
|
displayName: "StyledAvatar",
|
|
47
47
|
componentId: "sc-3kdmgt-0"
|
|
@@ -50,7 +50,7 @@ const StyledAvatar = styled__default.default(reactTheming.StyledBaseIcon).attrs(
|
|
|
50
50
|
const COMPONENT_ID$1 = 'tags.close';
|
|
51
51
|
const StyledClose = styled__default.default.button.attrs({
|
|
52
52
|
'data-garden-id': COMPONENT_ID$1,
|
|
53
|
-
'data-garden-version': '9.
|
|
53
|
+
'data-garden-version': '9.4.0'
|
|
54
54
|
}).withConfig({
|
|
55
55
|
displayName: "StyledClose",
|
|
56
56
|
componentId: "sc-d6lrpn-0"
|
|
@@ -237,7 +237,7 @@ const sizeStyles = _ref2 => {
|
|
|
237
237
|
};
|
|
238
238
|
const StyledTag = styled__default.default.div.attrs({
|
|
239
239
|
'data-garden-id': COMPONENT_ID,
|
|
240
|
-
'data-garden-version': '9.
|
|
240
|
+
'data-garden-version': '9.4.0'
|
|
241
241
|
}).withConfig({
|
|
242
242
|
displayName: "StyledTag",
|
|
243
243
|
componentId: "sc-1jvbe03-0"
|
|
@@ -4,11 +4,11 @@
|
|
|
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, {
|
|
7
|
+
import React, { SVGAttributes } from 'react';
|
|
8
8
|
/**
|
|
9
|
-
* @extends
|
|
9
|
+
* @extends SVGAttributes<SVGElement>
|
|
10
10
|
*/
|
|
11
11
|
export declare const Avatar: {
|
|
12
|
-
(props:
|
|
12
|
+
(props: SVGAttributes<SVGElement>): React.JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
@@ -4,7 +4,5 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
import { DataAttributes } from 'styled-components';
|
|
8
|
+
export declare const StyledAvatar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>, import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>>, DataAttributes>, never>> & string;
|
|
@@ -8,4 +8,6 @@
|
|
|
8
8
|
* 1. <button> element reset
|
|
9
9
|
* 2. text content reset
|
|
10
10
|
*/
|
|
11
|
-
export declare const StyledClose: import("styled-components").
|
|
11
|
+
export declare const StyledClose: 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").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
|
|
13
|
+
}>, never>, never>> & string;
|
|
@@ -13,5 +13,7 @@ interface IStyledTagProps extends ThemeProps<DefaultTheme> {
|
|
|
13
13
|
$isRound?: ITagProps['isRound'];
|
|
14
14
|
$size?: ITagProps['size'];
|
|
15
15
|
}
|
|
16
|
-
export declare const StyledTag: import("styled-components").
|
|
16
|
+
export declare const StyledTag: 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"> & {
|
|
17
|
+
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;
|
|
18
|
+
}>, IStyledTagProps>, IStyledTagProps>> & string;
|
|
17
19
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-tags",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"description": "Components relating to tags in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@zendeskgarden/react-theming": ">=9.0.0",
|
|
30
30
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
31
31
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
32
|
-
"styled-components": "^5.3.1"
|
|
32
|
+
"styled-components": "^5.3.1 || ^6.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@zendeskgarden/react-theming": "^9.
|
|
35
|
+
"@zendeskgarden/react-theming": "^9.4.0",
|
|
36
36
|
"@zendeskgarden/svg-icons": "7.3.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"zendeskgarden:src": "src/index.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "02e3f240b6f0c776fdae785254d6fe90cbfc37e4"
|
|
49
49
|
}
|