@zendeskgarden/react-tabs 9.11.1 → 9.11.2
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.
|
@@ -19,7 +19,7 @@ import { TabPanel } from './TabPanel.js';
|
|
|
19
19
|
|
|
20
20
|
const TabsComponent = forwardRef((_ref, ref) => {
|
|
21
21
|
let {
|
|
22
|
-
isVertical,
|
|
22
|
+
isVertical = false,
|
|
23
23
|
children,
|
|
24
24
|
onChange,
|
|
25
25
|
selectedItem: controlledSelectedItem,
|
|
@@ -60,9 +60,6 @@ TabsComponent.propTypes = {
|
|
|
60
60
|
selectedItem: PropTypes.any,
|
|
61
61
|
onChange: PropTypes.func
|
|
62
62
|
};
|
|
63
|
-
TabsComponent.defaultProps = {
|
|
64
|
-
isVertical: false
|
|
65
|
-
};
|
|
66
63
|
TabsComponent.displayName = 'Tabs';
|
|
67
64
|
const Tabs = TabsComponent;
|
|
68
65
|
Tabs.Tab = Tab;
|
|
@@ -35,7 +35,7 @@ const sizeStyles = _ref2 => {
|
|
|
35
35
|
};
|
|
36
36
|
const StyledTabList = styled.div.attrs({
|
|
37
37
|
'data-garden-id': COMPONENT_ID,
|
|
38
|
-
'data-garden-version': '9.11.
|
|
38
|
+
'data-garden-version': '9.11.2'
|
|
39
39
|
}).withConfig({
|
|
40
40
|
displayName: "StyledTabList",
|
|
41
41
|
componentId: "sc-wa5aaj-0"
|
|
@@ -18,7 +18,7 @@ const sizeStyles = _ref => {
|
|
|
18
18
|
};
|
|
19
19
|
const StyledTabPanel = styled.div.attrs({
|
|
20
20
|
'data-garden-id': COMPONENT_ID,
|
|
21
|
-
'data-garden-version': '9.11.
|
|
21
|
+
'data-garden-version': '9.11.2'
|
|
22
22
|
}).withConfig({
|
|
23
23
|
displayName: "StyledTabPanel",
|
|
24
24
|
componentId: "sc-7lhrmp-0"
|
|
@@ -10,7 +10,7 @@ import { componentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'tabs.tabs';
|
|
11
11
|
const StyledTabs = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.11.
|
|
13
|
+
'data-garden-version': '9.11.2'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledTabs",
|
|
16
16
|
componentId: "sc-1qaor65-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -73,7 +73,7 @@ const sizeStyles$2 = _ref2 => {
|
|
|
73
73
|
};
|
|
74
74
|
const StyledTab = styled__default.default.div.attrs({
|
|
75
75
|
'data-garden-id': COMPONENT_ID$3,
|
|
76
|
-
'data-garden-version': '9.11.
|
|
76
|
+
'data-garden-version': '9.11.2'
|
|
77
77
|
}).withConfig({
|
|
78
78
|
displayName: "StyledTab",
|
|
79
79
|
componentId: "sc-x2pbow-0"
|
|
@@ -112,7 +112,7 @@ const sizeStyles$1 = _ref2 => {
|
|
|
112
112
|
};
|
|
113
113
|
const StyledTabList = styled__default.default.div.attrs({
|
|
114
114
|
'data-garden-id': COMPONENT_ID$2,
|
|
115
|
-
'data-garden-version': '9.11.
|
|
115
|
+
'data-garden-version': '9.11.2'
|
|
116
116
|
}).withConfig({
|
|
117
117
|
displayName: "StyledTabList",
|
|
118
118
|
componentId: "sc-wa5aaj-0"
|
|
@@ -129,7 +129,7 @@ const sizeStyles = _ref => {
|
|
|
129
129
|
};
|
|
130
130
|
const StyledTabPanel = styled__default.default.div.attrs({
|
|
131
131
|
'data-garden-id': COMPONENT_ID$1,
|
|
132
|
-
'data-garden-version': '9.11.
|
|
132
|
+
'data-garden-version': '9.11.2'
|
|
133
133
|
}).withConfig({
|
|
134
134
|
displayName: "StyledTabPanel",
|
|
135
135
|
componentId: "sc-7lhrmp-0"
|
|
@@ -138,7 +138,7 @@ const StyledTabPanel = styled__default.default.div.attrs({
|
|
|
138
138
|
const COMPONENT_ID = 'tabs.tabs';
|
|
139
139
|
const StyledTabs = styled__default.default.div.attrs({
|
|
140
140
|
'data-garden-id': COMPONENT_ID,
|
|
141
|
-
'data-garden-version': '9.11.
|
|
141
|
+
'data-garden-version': '9.11.2'
|
|
142
142
|
}).withConfig({
|
|
143
143
|
displayName: "StyledTabs",
|
|
144
144
|
componentId: "sc-1qaor65-0"
|
|
@@ -244,7 +244,7 @@ const toTabs = children => React.Children.toArray(children).reduce((_items, chil
|
|
|
244
244
|
|
|
245
245
|
const TabsComponent = React.forwardRef((_ref, ref) => {
|
|
246
246
|
let {
|
|
247
|
-
isVertical,
|
|
247
|
+
isVertical = false,
|
|
248
248
|
children,
|
|
249
249
|
onChange,
|
|
250
250
|
selectedItem: controlledSelectedItem,
|
|
@@ -285,9 +285,6 @@ TabsComponent.propTypes = {
|
|
|
285
285
|
selectedItem: PropTypes__default.default.any,
|
|
286
286
|
onChange: PropTypes__default.default.func
|
|
287
287
|
};
|
|
288
|
-
TabsComponent.defaultProps = {
|
|
289
|
-
isVertical: false
|
|
290
|
-
};
|
|
291
288
|
TabsComponent.displayName = 'Tabs';
|
|
292
289
|
const Tabs = TabsComponent;
|
|
293
290
|
Tabs.Tab = Tab;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-tabs",
|
|
3
|
-
"version": "9.11.
|
|
3
|
+
"version": "9.11.2",
|
|
4
4
|
"description": "Components and render prop containers relating to the Garden Design System.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"styled-components": "^5.3.1 || ^6.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@zendeskgarden/react-theming": "^9.11.
|
|
37
|
+
"@zendeskgarden/react-theming": "^9.11.2"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"components",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"zendeskgarden:src": "src/index.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3adb38d25d0a3fa38ff21c7707950623f22b5db7"
|
|
50
50
|
}
|