@carbon/react 1.16.0-rc.0 → 1.17.0-rc.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/es/components/Checkbox/Checkbox.Skeleton.d.ts +18 -0
- package/es/components/Checkbox/Checkbox.Skeleton.js +1 -2
- package/es/components/Checkbox/Checkbox.d.ts +47 -0
- package/es/components/Checkbox/Checkbox.js +6 -7
- package/es/components/Checkbox/index.d.ts +10 -0
- package/es/components/Checkbox/index.js +10 -0
- package/es/components/CodeSnippet/CodeSnippet.js +0 -1
- package/es/components/DataTable/TableToolbarSearch.js +1 -1
- package/es/components/ExpandableSearch/ExpandableSearch.js +1 -1
- package/es/components/Grid/Grid.js +0 -5
- package/es/components/NumberInput/NumberInput.js +45 -1
- package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +10 -4
- package/es/components/Search/Search.js +160 -184
- package/es/components/Search/index.js +2 -8
- package/es/components/Tab/index.js +1 -1
- package/es/components/Tabs/Tabs.Skeleton.js +6 -6
- package/es/components/Tabs/Tabs.js +582 -508
- package/es/components/Tabs/index.js +2 -12
- package/es/components/Tabs/{next/usePressable.js → usePressable.js} +1 -1
- package/es/components/Text/Text.d.ts +33 -0
- package/es/components/Text/Text.js +8 -5
- package/es/components/Text/TextDirection.d.ts +35 -0
- package/es/components/Text/TextDirectionContext.js +2 -0
- package/es/components/Text/createTextComponent.d.ts +18 -0
- package/es/components/Text/index.d.ts +18 -0
- package/es/components/Text/index.js +2 -0
- package/es/components/TextInput/TextInput.js +1 -1
- package/es/components/Tile/Tile.js +339 -502
- package/es/index.js +6 -6
- package/es/internal/useNormalizedInputProps.js +13 -17
- package/es/internal/usePrefix.d.ts +9 -0
- package/lib/components/Checkbox/Checkbox.Skeleton.d.ts +18 -0
- package/lib/components/Checkbox/Checkbox.Skeleton.js +1 -2
- package/lib/components/Checkbox/Checkbox.d.ts +47 -0
- package/lib/components/Checkbox/Checkbox.js +6 -7
- package/lib/components/Checkbox/index.d.ts +10 -0
- package/lib/components/Checkbox/index.js +18 -0
- package/lib/components/CodeSnippet/CodeSnippet.js +0 -1
- package/lib/components/DataTable/TableToolbarSearch.js +2 -2
- package/lib/components/ExpandableSearch/ExpandableSearch.js +3 -3
- package/lib/components/Grid/Grid.js +0 -5
- package/lib/components/NumberInput/NumberInput.js +45 -1
- package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +9 -3
- package/lib/components/Search/Search.js +159 -183
- package/lib/components/Search/index.js +2 -25
- package/lib/components/Tab/index.js +1 -1
- package/lib/components/Tabs/Tabs.Skeleton.js +6 -6
- package/lib/components/Tabs/Tabs.js +586 -507
- package/lib/components/Tabs/index.js +7 -33
- package/lib/components/Tabs/{next/usePressable.js → usePressable.js} +1 -1
- package/lib/components/Text/Text.d.ts +33 -0
- package/lib/components/Text/Text.js +8 -5
- package/lib/components/Text/TextDirection.d.ts +35 -0
- package/lib/components/Text/TextDirectionContext.js +2 -0
- package/lib/components/Text/createTextComponent.d.ts +18 -0
- package/lib/components/Text/index.d.ts +18 -0
- package/lib/components/Text/index.js +4 -0
- package/lib/components/TextInput/TextInput.js +1 -1
- package/lib/components/Tile/Tile.js +336 -499
- package/lib/index.js +71 -71
- package/lib/internal/useNormalizedInputProps.js +12 -16
- package/lib/internal/usePrefix.d.ts +9 -0
- package/package.json +8 -4
- package/es/components/Search/next/Search.js +0 -265
- package/es/components/Tabs/next/Tabs.Skeleton.js +0 -53
- package/es/components/Tabs/next/Tabs.js +0 -692
- package/es/components/Tile/index.js +0 -19
- package/es/components/Tile/next/Tile.js +0 -604
- package/lib/components/Search/next/Search.js +0 -275
- package/lib/components/Tabs/next/Tabs.Skeleton.js +0 -63
- package/lib/components/Tabs/next/Tabs.js +0 -708
- package/lib/components/Tile/index.js +0 -48
- package/lib/components/Tile/next/Tile.js +0 -619
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2016, 2022
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
-
|
|
12
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
|
-
var iconsReact = require('@carbon/icons-react');
|
|
14
|
-
var cx = require('classnames');
|
|
15
|
-
var PropTypes = require('prop-types');
|
|
16
|
-
var React = require('react');
|
|
17
|
-
var index = require('../../../internal/focus/index.js');
|
|
18
|
-
var useId = require('../../../internal/useId.js');
|
|
19
|
-
var usePrefix = require('../../../internal/usePrefix.js');
|
|
20
|
-
var events = require('../../../tools/events.js');
|
|
21
|
-
var useMergedRefs = require('../../../internal/useMergedRefs.js');
|
|
22
|
-
var deprecate = require('../../../prop-types/deprecate.js');
|
|
23
|
-
var match = require('../../../internal/keyboard/match.js');
|
|
24
|
-
var keys = require('../../../internal/keyboard/keys.js');
|
|
25
|
-
|
|
26
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
27
|
-
|
|
28
|
-
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
29
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
30
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
31
|
-
|
|
32
|
-
var _Close;
|
|
33
|
-
|
|
34
|
-
var _excluded = ["autoComplete", "className", "closeButtonLabelText", "defaultValue", "disabled", "id", "labelText", "light", "onChange", "onClear", "onKeyDown", "onExpand", "placeholder", "renderIcon", "role", "size", "type", "value"];
|
|
35
|
-
var Search = /*#__PURE__*/React__default["default"].forwardRef(function Search(_ref, forwardRef) {
|
|
36
|
-
var _cx, _cx2;
|
|
37
|
-
|
|
38
|
-
var _ref$autoComplete = _ref.autoComplete,
|
|
39
|
-
autoComplete = _ref$autoComplete === void 0 ? 'off' : _ref$autoComplete,
|
|
40
|
-
className = _ref.className,
|
|
41
|
-
_ref$closeButtonLabel = _ref.closeButtonLabelText,
|
|
42
|
-
closeButtonLabelText = _ref$closeButtonLabel === void 0 ? 'Clear search input' : _ref$closeButtonLabel,
|
|
43
|
-
defaultValue = _ref.defaultValue,
|
|
44
|
-
disabled = _ref.disabled,
|
|
45
|
-
id = _ref.id,
|
|
46
|
-
labelText = _ref.labelText,
|
|
47
|
-
light = _ref.light,
|
|
48
|
-
_ref$onChange = _ref.onChange,
|
|
49
|
-
onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,
|
|
50
|
-
_ref$onClear = _ref.onClear,
|
|
51
|
-
onClear = _ref$onClear === void 0 ? function () {} : _ref$onClear,
|
|
52
|
-
onKeyDown = _ref.onKeyDown,
|
|
53
|
-
onExpand = _ref.onExpand,
|
|
54
|
-
_ref$placeholder = _ref.placeholder,
|
|
55
|
-
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
|
|
56
|
-
renderIcon = _ref.renderIcon,
|
|
57
|
-
_ref$role = _ref.role,
|
|
58
|
-
role = _ref$role === void 0 ? 'searchbox' : _ref$role,
|
|
59
|
-
_ref$size = _ref.size,
|
|
60
|
-
size = _ref$size === void 0 ? 'md' : _ref$size,
|
|
61
|
-
_ref$type = _ref.type,
|
|
62
|
-
type = _ref$type === void 0 ? 'text' : _ref$type,
|
|
63
|
-
value = _ref.value,
|
|
64
|
-
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
65
|
-
|
|
66
|
-
var prefix = usePrefix.usePrefix();
|
|
67
|
-
var inputRef = React.useRef(null);
|
|
68
|
-
var ref = useMergedRefs.useMergedRefs([forwardRef, inputRef]);
|
|
69
|
-
var inputId = useId.useId('search-input');
|
|
70
|
-
var uniqueId = id || inputId;
|
|
71
|
-
var searchId = "".concat(uniqueId, "-search");
|
|
72
|
-
|
|
73
|
-
var _useState = React.useState(value || defaultValue || false),
|
|
74
|
-
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
|
75
|
-
hasContent = _useState2[0],
|
|
76
|
-
setHasContent = _useState2[1];
|
|
77
|
-
|
|
78
|
-
var _useState3 = React.useState(value),
|
|
79
|
-
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
|
80
|
-
prevValue = _useState4[0],
|
|
81
|
-
setPrevValue = _useState4[1];
|
|
82
|
-
|
|
83
|
-
var searchClasses = cx__default["default"]((_cx = {}, _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search"), true), _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search--sm"), size === 'sm'), _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search--md"), size === 'md'), _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search--lg"), size === 'lg'), _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search--light"), light), _rollupPluginBabelHelpers.defineProperty(_cx, "".concat(prefix, "--search--disabled"), disabled), _rollupPluginBabelHelpers.defineProperty(_cx, className, className), _cx));
|
|
84
|
-
var clearClasses = cx__default["default"]((_cx2 = {}, _rollupPluginBabelHelpers.defineProperty(_cx2, "".concat(prefix, "--search-close"), true), _rollupPluginBabelHelpers.defineProperty(_cx2, "".concat(prefix, "--search-close--hidden"), !hasContent), _cx2));
|
|
85
|
-
|
|
86
|
-
if (value !== prevValue) {
|
|
87
|
-
setHasContent(!!value);
|
|
88
|
-
setPrevValue(value);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function clearInput() {
|
|
92
|
-
if (!value) {
|
|
93
|
-
inputRef.current.value = '';
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
var inputTarget = Object.assign({}, inputRef.current, {
|
|
97
|
-
value: ''
|
|
98
|
-
});
|
|
99
|
-
var clearedEvt = {
|
|
100
|
-
target: inputTarget,
|
|
101
|
-
type: 'change'
|
|
102
|
-
};
|
|
103
|
-
onChange(clearedEvt);
|
|
104
|
-
onClear();
|
|
105
|
-
setHasContent(false);
|
|
106
|
-
index.focus(inputRef);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function handleChange(event) {
|
|
110
|
-
setHasContent(event.target.value !== '');
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
function handleKeyDown(event) {
|
|
114
|
-
if (match.match(event, keys.Escape)) {
|
|
115
|
-
event.stopPropagation();
|
|
116
|
-
clearInput();
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
121
|
-
role: "search",
|
|
122
|
-
"aria-labelledby": searchId,
|
|
123
|
-
className: searchClasses
|
|
124
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
125
|
-
role: onExpand ? 'button' : null,
|
|
126
|
-
className: "".concat(prefix, "--search-magnifier"),
|
|
127
|
-
onClick: onExpand
|
|
128
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomSearchIcon, {
|
|
129
|
-
icon: renderIcon
|
|
130
|
-
})), /*#__PURE__*/React__default["default"].createElement("label", {
|
|
131
|
-
id: searchId,
|
|
132
|
-
htmlFor: uniqueId,
|
|
133
|
-
className: "".concat(prefix, "--label")
|
|
134
|
-
}, labelText), /*#__PURE__*/React__default["default"].createElement("input", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
135
|
-
autoComplete: autoComplete,
|
|
136
|
-
className: "".concat(prefix, "--search-input"),
|
|
137
|
-
defaultValue: defaultValue,
|
|
138
|
-
disabled: disabled,
|
|
139
|
-
role: role,
|
|
140
|
-
ref: ref,
|
|
141
|
-
id: uniqueId,
|
|
142
|
-
onChange: events.composeEventHandlers([onChange, handleChange]),
|
|
143
|
-
onKeyDown: events.composeEventHandlers([onKeyDown, handleKeyDown]),
|
|
144
|
-
placeholder: placeholder,
|
|
145
|
-
type: type,
|
|
146
|
-
value: value
|
|
147
|
-
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
148
|
-
"aria-label": closeButtonLabelText,
|
|
149
|
-
className: clearClasses,
|
|
150
|
-
disabled: disabled,
|
|
151
|
-
onClick: clearInput,
|
|
152
|
-
title: closeButtonLabelText,
|
|
153
|
-
type: "button"
|
|
154
|
-
}, _Close || (_Close = /*#__PURE__*/React__default["default"].createElement(iconsReact.Close, null))));
|
|
155
|
-
});
|
|
156
|
-
Search.propTypes = {
|
|
157
|
-
/**
|
|
158
|
-
* Specify an optional value for the `autocomplete` property on the underlying
|
|
159
|
-
* `<input>`, defaults to "off"
|
|
160
|
-
*/
|
|
161
|
-
autoComplete: PropTypes__default["default"].string,
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Specify an optional className to be applied to the container node
|
|
165
|
-
*/
|
|
166
|
-
className: PropTypes__default["default"].string,
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Specify a label to be read by screen readers on the "close" button
|
|
170
|
-
*/
|
|
171
|
-
closeButtonLabelText: PropTypes__default["default"].string,
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Optionally provide the default value of the `<input>`
|
|
175
|
-
*/
|
|
176
|
-
defaultValue: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Specify whether the `<input>` should be disabled
|
|
180
|
-
*/
|
|
181
|
-
disabled: PropTypes__default["default"].bool,
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Specify a custom `id` for the input
|
|
185
|
-
*/
|
|
186
|
-
id: PropTypes__default["default"].string,
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Provide the label text for the Search icon
|
|
190
|
-
*/
|
|
191
|
-
labelText: PropTypes__default["default"].node.isRequired,
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Specify light version or default version of this control
|
|
195
|
-
*/
|
|
196
|
-
light: deprecate["default"](PropTypes__default["default"].bool, 'The `light` prop for `Search` is no longer needed and has ' + 'been deprecated in v11 in favor of the new `Layer` component. It will be moved in the next major release.'),
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Optional callback called when the search value changes.
|
|
200
|
-
*/
|
|
201
|
-
onChange: PropTypes__default["default"].func,
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Optional callback called when the search value is cleared.
|
|
205
|
-
*/
|
|
206
|
-
onClear: PropTypes__default["default"].func,
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Optional callback called when the magnifier icon is clicked in ExpandableSearch.
|
|
210
|
-
*/
|
|
211
|
-
onExpand: PropTypes__default["default"].func,
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Provide a handler that is invoked on the key down event for the input
|
|
215
|
-
*/
|
|
216
|
-
onKeyDown: PropTypes__default["default"].func,
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Provide an optional placeholder text for the Search.
|
|
220
|
-
* Note: if the label and placeholder differ,
|
|
221
|
-
* VoiceOver on Mac will read both
|
|
222
|
-
*/
|
|
223
|
-
placeholder: PropTypes__default["default"].string,
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Rendered icon for the Search.
|
|
227
|
-
* Can be a React component class
|
|
228
|
-
*/
|
|
229
|
-
renderIcon: PropTypes__default["default"].oneOfType([PropTypes__default["default"].func, PropTypes__default["default"].object]),
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Specify the role for the underlying `<input>`, defaults to `searchbox`
|
|
233
|
-
*/
|
|
234
|
-
role: PropTypes__default["default"].string,
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Specify the size of the Search
|
|
238
|
-
*/
|
|
239
|
-
size: PropTypes__default["default"].oneOf(['sm', 'md', 'lg']),
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Optional prop to specify the type of the `<input>`
|
|
243
|
-
*/
|
|
244
|
-
type: PropTypes__default["default"].string,
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Specify the value of the `<input>`
|
|
248
|
-
*/
|
|
249
|
-
value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
function CustomSearchIcon(_ref2) {
|
|
253
|
-
var icon = _ref2.icon;
|
|
254
|
-
var prefix = usePrefix.usePrefix();
|
|
255
|
-
|
|
256
|
-
if (icon) {
|
|
257
|
-
return /*#__PURE__*/React__default["default"].cloneElement(icon, {
|
|
258
|
-
className: "".concat(prefix, "--search-magnifier-icon")
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
return /*#__PURE__*/React__default["default"].createElement(iconsReact.Search, {
|
|
263
|
-
className: "".concat(prefix, "--search-magnifier-icon")
|
|
264
|
-
});
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
CustomSearchIcon.propTypes = {
|
|
268
|
-
/**
|
|
269
|
-
* Rendered icon for the Search. Can be a React component class
|
|
270
|
-
*/
|
|
271
|
-
icon: PropTypes__default["default"].oneOfType([PropTypes__default["default"].func, PropTypes__default["default"].object])
|
|
272
|
-
};
|
|
273
|
-
var SearchNext = Search;
|
|
274
|
-
|
|
275
|
-
exports["default"] = SearchNext;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2016, 2022
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
-
|
|
12
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
|
-
var PropTypes = require('prop-types');
|
|
14
|
-
var React = require('react');
|
|
15
|
-
var cx = require('classnames');
|
|
16
|
-
var usePrefix = require('../../../internal/usePrefix.js');
|
|
17
|
-
|
|
18
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
|
-
|
|
20
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
21
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
22
|
-
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
23
|
-
|
|
24
|
-
var _excluded = ["className", "contained"];
|
|
25
|
-
|
|
26
|
-
var _span;
|
|
27
|
-
|
|
28
|
-
function Tab() {
|
|
29
|
-
var prefix = usePrefix.usePrefix();
|
|
30
|
-
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
31
|
-
className: "".concat(prefix, "--tabs__nav-item")
|
|
32
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33
|
-
className: "".concat(prefix, "--tabs__nav-link")
|
|
34
|
-
}, _span || (_span = /*#__PURE__*/React__default["default"].createElement("span", null))));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function TabsSkeleton(_ref) {
|
|
38
|
-
var className = _ref.className,
|
|
39
|
-
contained = _ref.contained,
|
|
40
|
-
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
41
|
-
|
|
42
|
-
var prefix = usePrefix.usePrefix();
|
|
43
|
-
var tabClasses = cx__default["default"](className, "".concat(prefix, "--tabs"), "".concat(prefix, "--skeleton"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(prefix, "--tabs--contained"), contained));
|
|
44
|
-
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({
|
|
45
|
-
className: tabClasses
|
|
46
|
-
}, rest), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
47
|
-
className: "".concat(prefix, "--tabs__nav")
|
|
48
|
-
}, Tab(), Tab(), Tab(), Tab(), Tab()));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
TabsSkeleton.propTypes = {
|
|
52
|
-
/**
|
|
53
|
-
* Specify an optional className to add.
|
|
54
|
-
*/
|
|
55
|
-
className: PropTypes__default["default"].string,
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Provide the type of Tab
|
|
59
|
-
*/
|
|
60
|
-
contained: PropTypes__default["default"].bool
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
exports["default"] = TabsSkeleton;
|