@zendeskgarden/react-buttons 8.76.2 → 8.76.4
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/node_modules/@zendeskgarden/svg-icons/src/12/new-window-stroke.svg.js +1 -1
- package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/chevron-down-stroke.svg.js +1 -1
- package/dist/esm/styled/StyledAnchor.js +1 -1
- package/dist/esm/styled/StyledButton.js +1 -1
- package/dist/esm/styled/StyledButtonGroup.js +1 -1
- package/dist/esm/styled/StyledExternalIcon.js +1 -1
- package/dist/esm/styled/StyledIcon.js +1 -1
- package/dist/esm/styled/StyledIconButton.js +1 -1
- package/dist/index.cjs.js +8 -8
- package/package.json +6 -6
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
|
|
9
9
|
var _path;
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
11
|
var SvgNewWindowStroke = function SvgNewWindowStroke(props) {
|
|
12
12
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
|
|
9
9
|
var _path;
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
11
|
var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
12
12
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11,7 +11,7 @@ import { StyledButton } from './StyledButton.js';
|
|
|
11
11
|
const COMPONENT_ID = 'buttons.anchor';
|
|
12
12
|
const StyledAnchor = styled(StyledButton).attrs(props => ({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '8.76.
|
|
14
|
+
'data-garden-version': '8.76.4',
|
|
15
15
|
as: 'a',
|
|
16
16
|
dir: props.theme.rtl ? 'rtl' : undefined,
|
|
17
17
|
isLink: true,
|
|
@@ -139,7 +139,7 @@ const sizeStyles = props => {
|
|
|
139
139
|
};
|
|
140
140
|
const StyledButton = styled.button.attrs(props => ({
|
|
141
141
|
'data-garden-id': COMPONENT_ID,
|
|
142
|
-
'data-garden-version': '8.76.
|
|
142
|
+
'data-garden-version': '8.76.4',
|
|
143
143
|
type: props.type || 'button'
|
|
144
144
|
})).withConfig({
|
|
145
145
|
displayName: "StyledButton",
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'buttons.button_group_view';
|
|
11
11
|
const StyledButtonGroup = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '8.76.
|
|
13
|
+
'data-garden-version': '8.76.4'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledButtonGroup",
|
|
16
16
|
componentId: "sc-1fbpzef-0"
|
|
@@ -11,7 +11,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
11
11
|
const COMPONENT_ID = 'buttons.external_icon';
|
|
12
12
|
const StyledExternalIcon = styled(SvgNewWindowStroke).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '8.76.
|
|
14
|
+
'data-garden-version': '8.76.4'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledExternalIcon",
|
|
17
17
|
componentId: "sc-16oz07e-0"
|
|
@@ -28,7 +28,7 @@ const StyledIcon = styled(_ref => {
|
|
|
28
28
|
return React__default.cloneElement(Children.only(children), props);
|
|
29
29
|
}).attrs({
|
|
30
30
|
'data-garden-id': COMPONENT_ID,
|
|
31
|
-
'data-garden-version': '8.76.
|
|
31
|
+
'data-garden-version': '8.76.4'
|
|
32
32
|
}).withConfig({
|
|
33
33
|
displayName: "StyledIcon",
|
|
34
34
|
componentId: "sc-19meqgg-0"
|
|
@@ -27,7 +27,7 @@ const iconStyles = props => {
|
|
|
27
27
|
};
|
|
28
28
|
const StyledIconButton = styled(StyledButton).attrs({
|
|
29
29
|
'data-garden-id': COMPONENT_ID,
|
|
30
|
-
'data-garden-version': '8.76.
|
|
30
|
+
'data-garden-version': '8.76.4'
|
|
31
31
|
}).withConfig({
|
|
32
32
|
displayName: "StyledIconButton",
|
|
33
33
|
componentId: "sc-1t0ughp-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -45,7 +45,7 @@ const SIZE = ['small', 'medium', 'large'];
|
|
|
45
45
|
const COMPONENT_ID$5 = 'buttons.button_group_view';
|
|
46
46
|
const StyledButtonGroup = styled__default.default.div.attrs({
|
|
47
47
|
'data-garden-id': COMPONENT_ID$5,
|
|
48
|
-
'data-garden-version': '8.76.
|
|
48
|
+
'data-garden-version': '8.76.4'
|
|
49
49
|
}).withConfig({
|
|
50
50
|
displayName: "StyledButtonGroup",
|
|
51
51
|
componentId: "sc-1fbpzef-0"
|
|
@@ -74,7 +74,7 @@ const StyledIcon = styled__default.default(_ref => {
|
|
|
74
74
|
return React__namespace.default.cloneElement(React.Children.only(children), props);
|
|
75
75
|
}).attrs({
|
|
76
76
|
'data-garden-id': COMPONENT_ID$4,
|
|
77
|
-
'data-garden-version': '8.76.
|
|
77
|
+
'data-garden-version': '8.76.4'
|
|
78
78
|
}).withConfig({
|
|
79
79
|
displayName: "StyledIcon",
|
|
80
80
|
componentId: "sc-19meqgg-0"
|
|
@@ -212,7 +212,7 @@ const sizeStyles = props => {
|
|
|
212
212
|
};
|
|
213
213
|
const StyledButton = styled__default.default.button.attrs(props => ({
|
|
214
214
|
'data-garden-id': COMPONENT_ID$3,
|
|
215
|
-
'data-garden-version': '8.76.
|
|
215
|
+
'data-garden-version': '8.76.4',
|
|
216
216
|
type: props.type || 'button'
|
|
217
217
|
})).withConfig({
|
|
218
218
|
displayName: "StyledButton",
|
|
@@ -225,7 +225,7 @@ StyledButton.defaultProps = {
|
|
|
225
225
|
const COMPONENT_ID$2 = 'buttons.anchor';
|
|
226
226
|
const StyledAnchor = styled__default.default(StyledButton).attrs(props => ({
|
|
227
227
|
'data-garden-id': COMPONENT_ID$2,
|
|
228
|
-
'data-garden-version': '8.76.
|
|
228
|
+
'data-garden-version': '8.76.4',
|
|
229
229
|
as: 'a',
|
|
230
230
|
dir: props.theme.rtl ? 'rtl' : undefined,
|
|
231
231
|
isLink: true,
|
|
@@ -239,7 +239,7 @@ StyledAnchor.defaultProps = {
|
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
var _path$1;
|
|
242
|
-
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (
|
|
242
|
+
function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
|
|
243
243
|
var SvgNewWindowStroke = function SvgNewWindowStroke(props) {
|
|
244
244
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
245
245
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -259,7 +259,7 @@ var SvgNewWindowStroke = function SvgNewWindowStroke(props) {
|
|
|
259
259
|
const COMPONENT_ID$1 = 'buttons.external_icon';
|
|
260
260
|
const StyledExternalIcon = styled__default.default(SvgNewWindowStroke).attrs({
|
|
261
261
|
'data-garden-id': COMPONENT_ID$1,
|
|
262
|
-
'data-garden-version': '8.76.
|
|
262
|
+
'data-garden-version': '8.76.4'
|
|
263
263
|
}).withConfig({
|
|
264
264
|
displayName: "StyledExternalIcon",
|
|
265
265
|
componentId: "sc-16oz07e-0"
|
|
@@ -286,7 +286,7 @@ const iconStyles = props => {
|
|
|
286
286
|
};
|
|
287
287
|
const StyledIconButton = styled__default.default(StyledButton).attrs({
|
|
288
288
|
'data-garden-id': COMPONENT_ID,
|
|
289
|
-
'data-garden-version': '8.76.
|
|
289
|
+
'data-garden-version': '8.76.4'
|
|
290
290
|
}).withConfig({
|
|
291
291
|
displayName: "StyledIconButton",
|
|
292
292
|
componentId: "sc-1t0ughp-0"
|
|
@@ -482,7 +482,7 @@ IconButton.defaultProps = {
|
|
|
482
482
|
};
|
|
483
483
|
|
|
484
484
|
var _path;
|
|
485
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
485
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
486
486
|
var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
487
487
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
488
488
|
xmlns: "http://www.w3.org/2000/svg",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-buttons",
|
|
3
|
-
"version": "8.76.
|
|
3
|
+
"version": "8.76.4",
|
|
4
4
|
"description": "Components relating to buttons in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"types": "dist/typings/index.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@zendeskgarden/container-selection": "^3.0.
|
|
24
|
+
"@zendeskgarden/container-selection": "^3.0.9",
|
|
25
25
|
"@zendeskgarden/container-utilities": "^2.0.0",
|
|
26
|
-
"polished": "^4.
|
|
26
|
+
"polished": "^4.3.1",
|
|
27
27
|
"prop-types": "^15.5.7",
|
|
28
28
|
"react-merge-refs": "^1.1.0"
|
|
29
29
|
},
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"styled-components": "^4.2.0 || ^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@zendeskgarden/react-theming": "^8.76.
|
|
38
|
-
"@zendeskgarden/svg-icons": "7.
|
|
37
|
+
"@zendeskgarden/react-theming": "^8.76.4",
|
|
38
|
+
"@zendeskgarden/svg-icons": "7.1.1"
|
|
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": "1dec0fe1fee07e17754f7f4f12a338ff9c7b3396"
|
|
51
51
|
}
|