@ntbjs/react-components 1.2.0-rc.94 → 1.2.0-rc.95
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/{ActionButton-1a0e7adc.js → ActionButton-adaadbae.js} +8 -7
- package/{Alert-67936720.js → Alert-b41a748e.js} +14 -13
- package/{AssetGallery-6dd55b64.js → AssetGallery-d94cad32.js} +126 -124
- package/{AssetPreviewTopBar-8d2cceaf.js → AssetPreviewTopBar-ac66b804.js} +9 -8
- package/{Badge-0edffd2a.js → Badge-4a2a9f6b.js} +20 -19
- package/{Button-b057997e.js → Button-4c60d2f4.js} +16 -15
- package/{Checkbox-53f14dc1.js → Checkbox-84dd9aa1.js} +17 -16
- package/CompactAutocompleteSelect-bf5e8820.js +418 -0
- package/CompactAutocompleteSelectAsync-e76bf873.js +28 -0
- package/{CompactStarRating-ad593265.js → CompactStarRating-017d64cb.js} +27 -26
- package/{CompactTextInput-f63edb86.js → CompactTextInput-8132e42d.js} +34 -33
- package/{ContextMenu-ea917be1.js → ContextMenu-4427ad11.js} +3 -2
- package/{ContextMenuItem-4a376e8f.js → ContextMenuItem-b5f97001.js} +8 -7
- package/{InputGroup-e8dd2f87.js → InputGroup-9d1cd295.js} +3 -2
- package/{Instructions-6658da76.js → Instructions-235aa0fc.js} +34 -33
- package/{MultiLevelCheckboxSelect-552a40db.js → MultiLevelCheckboxSelect-4f51a1a2.js} +53 -52
- package/{MultiSelect-0dfdb663.js → MultiSelect-53089d1e.js} +22 -21
- package/{Popover-d6cfcb7f.js → Popover-938e6bfc.js} +15 -14
- package/{Radio-5b9c83b1.js → Radio-1d09e729.js} +13 -12
- package/{SectionSeparator-3c32b45b.js → SectionSeparator-d9ae38b7.js} +3 -2
- package/{Switch-aa706662.js → Switch-15d9a890.js} +15 -14
- package/{Tab-d978a3c4.js → Tab-88f77a44.js} +4 -3
- package/{Tabs-adff38d2.js → Tabs-e64ecfaa.js} +8 -7
- package/{TextArea-092dde3a.js → TextArea-cbe713eb.js} +42 -41
- package/{TextInput-af1a2a84.js → TextInput-b9414cc6.js} +24 -23
- package/{Tooltip-b4907b91.js → Tooltip-22238771.js} +10 -9
- package/{VerificationStatusIcon-f831c83f.js → VerificationStatusIcon-99a54d5d.js} +5 -4
- package/data/Alert/index.js +3 -2
- package/data/Badge/index.js +3 -2
- package/data/Popover/index.js +4 -3
- package/data/Tab/index.js +3 -2
- package/data/Tabs/index.js +4 -3
- package/data/Tooltip/index.js +4 -3
- package/data/index.js +10 -9
- package/defaultTheme-8bd3e0b9.js +271 -0
- package/{defaultTheme-104fcbf4.js → index-1e234d23.js} +0 -269
- package/inputs/ActionButton/index.js +3 -2
- package/inputs/Button/index.js +6 -5
- package/inputs/Checkbox/index.js +3 -2
- package/inputs/CompactAutocompleteSelect/index.js +17 -3
- package/inputs/CompactAutocompleteSelectAsync/index.js +11 -0
- package/inputs/CompactStarRating/index.js +11 -10
- package/inputs/CompactTextInput/index.js +11 -10
- package/inputs/MultiSelect/index.js +4 -3
- package/inputs/Radio/index.js +3 -2
- package/inputs/Switch/index.js +3 -2
- package/inputs/TextArea/index.js +11 -10
- package/inputs/TextInput/index.js +3 -2
- package/inputs/index.js +28 -25
- package/layout/InputGroup/index.js +3 -2
- package/layout/SectionSeparator/index.js +3 -2
- package/layout/index.js +4 -3
- package/package.json +1 -1
- package/{react-select-creatable.esm-2d52a2fd.js → react-select-creatable.esm-31bd2caf.js} +2 -2
- package/{shift-away-subtle-6d929fae.js → shift-away-subtle-c3c2f2b2.js} +1 -1
- package/widgets/AssetGallery/index.js +29 -27
- package/widgets/AssetPreview/AssetPreviewTopBar/index.js +3 -2
- package/widgets/ContextMenu/ContextMenuItem/index.js +3 -2
- package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +3 -2
- package/widgets/ContextMenu/index.js +3 -2
- package/widgets/Instructions/index.js +18 -17
- package/widgets/index.js +31 -29
- package/CompactAutocompleteSelect-28353593.js +0 -190
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var styled = require('styled-components');
|
|
6
7
|
|
|
7
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -89,12 +90,12 @@ var ContextMenuItem = React__default["default"].forwardRef(function ContextMenuI
|
|
|
89
90
|
}), icon && React__default["default"].createElement(IconContainer, null, icon), React__default["default"].createElement("span", null, title), opensSublevel && React__default["default"].createElement(SublevelIconContainer, null, React__default["default"].createElement(SvgTriangleRight, null)));
|
|
90
91
|
});
|
|
91
92
|
ContextMenuItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
92
|
-
title:
|
|
93
|
-
icon:
|
|
94
|
-
onClickEffect:
|
|
95
|
-
opensSublevel:
|
|
96
|
-
hoverColors:
|
|
97
|
-
hoverBackgroundColors:
|
|
93
|
+
title: index.PropTypes.string.isRequired,
|
|
94
|
+
icon: index.PropTypes.element,
|
|
95
|
+
onClickEffect: index.PropTypes.func,
|
|
96
|
+
opensSublevel: index.PropTypes.bool,
|
|
97
|
+
hoverColors: index.PropTypes.arrayOf(index.PropTypes.string),
|
|
98
|
+
hoverBackgroundColors: index.PropTypes.arrayOf(index.PropTypes.string)
|
|
98
99
|
} : {};
|
|
99
100
|
ContextMenuItem.defaultProps = {
|
|
100
101
|
icon: undefined,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var styled = require('styled-components');
|
|
6
7
|
|
|
7
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -21,7 +22,7 @@ var InputGroup = React__default["default"].forwardRef(function InputGroup(_ref,
|
|
|
21
22
|
}, props), children);
|
|
22
23
|
});
|
|
23
24
|
InputGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
24
|
-
children:
|
|
25
|
+
children: index.PropTypes.node
|
|
25
26
|
} : {};
|
|
26
27
|
InputGroup.defaultProps = {};
|
|
27
28
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var lodash = require('lodash');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var warningCircle = require('./warning-circle-478e65cc.js');
|
|
7
|
-
var CompactAutocompleteSelect = require('./CompactAutocompleteSelect-
|
|
8
|
-
var TextArea = require('./TextArea-
|
|
8
|
+
var CompactAutocompleteSelect = require('./CompactAutocompleteSelect-bf5e8820.js');
|
|
9
|
+
var TextArea = require('./TextArea-cbe713eb.js');
|
|
9
10
|
var styled = require('styled-components');
|
|
10
11
|
|
|
11
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -213,36 +214,36 @@ Instructions.defaultProps = {
|
|
|
213
214
|
onUpdateCallback: function onUpdateCallback() {}
|
|
214
215
|
};
|
|
215
216
|
Instructions.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
216
|
-
name:
|
|
217
|
-
placeholder:
|
|
218
|
-
rows:
|
|
219
|
-
selectedOption:
|
|
220
|
-
loadOptions:
|
|
221
|
-
loadingMessageFunc:
|
|
222
|
-
clickToAdd:
|
|
223
|
-
customAddMessage:
|
|
224
|
-
autoSelect:
|
|
225
|
-
readOnly:
|
|
226
|
-
disabled:
|
|
227
|
-
hidden:
|
|
228
|
-
showMore:
|
|
229
|
-
showMoreText:
|
|
230
|
-
showLessText:
|
|
231
|
-
availableOptions:
|
|
232
|
-
lightBackground:
|
|
233
|
-
edit:
|
|
234
|
-
options:
|
|
235
|
-
subscribeCurrentValue:
|
|
236
|
-
onChange:
|
|
237
|
-
onFocus:
|
|
238
|
-
onBlur:
|
|
239
|
-
onUpdateCallback:
|
|
240
|
-
type:
|
|
241
|
-
selectType:
|
|
242
|
-
isExpanded:
|
|
243
|
-
loadingIcon:
|
|
244
|
-
successIcon:
|
|
245
|
-
padding:
|
|
217
|
+
name: index.PropTypes.string,
|
|
218
|
+
placeholder: index.PropTypes.string,
|
|
219
|
+
rows: index.PropTypes.oneOfType([index.PropTypes.number, index.PropTypes.string]),
|
|
220
|
+
selectedOption: index.PropTypes.any,
|
|
221
|
+
loadOptions: index.PropTypes.func,
|
|
222
|
+
loadingMessageFunc: index.PropTypes.func,
|
|
223
|
+
clickToAdd: index.PropTypes.bool,
|
|
224
|
+
customAddMessage: index.PropTypes.string,
|
|
225
|
+
autoSelect: index.PropTypes.bool,
|
|
226
|
+
readOnly: index.PropTypes.bool,
|
|
227
|
+
disabled: index.PropTypes.bool,
|
|
228
|
+
hidden: index.PropTypes.bool,
|
|
229
|
+
showMore: index.PropTypes.bool,
|
|
230
|
+
showMoreText: index.PropTypes.string,
|
|
231
|
+
showLessText: index.PropTypes.string,
|
|
232
|
+
availableOptions: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
233
|
+
lightBackground: index.PropTypes.bool,
|
|
234
|
+
edit: index.PropTypes.bool,
|
|
235
|
+
options: index.PropTypes.array,
|
|
236
|
+
subscribeCurrentValue: index.PropTypes.func,
|
|
237
|
+
onChange: index.PropTypes.func,
|
|
238
|
+
onFocus: index.PropTypes.func,
|
|
239
|
+
onBlur: index.PropTypes.func,
|
|
240
|
+
onUpdateCallback: index.PropTypes.func,
|
|
241
|
+
type: index.PropTypes.oneOf(['', 'error', 'error-border', 'warning', 'instructions-warning', 'loading', 'success']),
|
|
242
|
+
selectType: index.PropTypes.oneOf(['', 'error', 'warning', 'instructions-warning', 'loading', 'success']),
|
|
243
|
+
isExpanded: index.PropTypes.func,
|
|
244
|
+
loadingIcon: index.PropTypes.element,
|
|
245
|
+
successIcon: index.PropTypes.element,
|
|
246
|
+
padding: index.PropTypes.oneOf(['', 'small', 'medium', 'large'])
|
|
246
247
|
} : {};
|
|
247
248
|
|
|
248
249
|
exports.Instructions = Instructions;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var styled = require('styled-components');
|
|
6
|
-
require('./Alert-
|
|
7
|
-
require('./Badge-
|
|
8
|
-
var Popover = require('./Popover-
|
|
9
|
-
require('./Tab-
|
|
10
|
-
require('./Tabs-
|
|
11
|
-
require('./Tooltip-
|
|
12
|
-
require('./VerificationStatusIcon-
|
|
13
|
-
var Checkbox = require('./Checkbox-
|
|
7
|
+
require('./Alert-b41a748e.js');
|
|
8
|
+
require('./Badge-4a2a9f6b.js');
|
|
9
|
+
var Popover = require('./Popover-938e6bfc.js');
|
|
10
|
+
require('./Tab-88f77a44.js');
|
|
11
|
+
require('./Tabs-e64ecfaa.js');
|
|
12
|
+
require('./Tooltip-22238771.js');
|
|
13
|
+
require('./VerificationStatusIcon-99a54d5d.js');
|
|
14
|
+
var Checkbox = require('./Checkbox-84dd9aa1.js');
|
|
14
15
|
var lodash = require('lodash');
|
|
15
|
-
var TextInput = require('./TextInput-
|
|
16
|
-
require('./InputGroup-
|
|
17
|
-
var SectionSeparator = require('./SectionSeparator-
|
|
16
|
+
var TextInput = require('./TextInput-b9414cc6.js');
|
|
17
|
+
require('./InputGroup-9d1cd295.js');
|
|
18
|
+
var SectionSeparator = require('./SectionSeparator-d9ae38b7.js');
|
|
18
19
|
var close = require('./close-1751121a.js');
|
|
19
20
|
|
|
20
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -212,22 +213,22 @@ var MultiLevelCheckbox = React__default["default"].forwardRef(function MultiLeve
|
|
|
212
213
|
});
|
|
213
214
|
}), !anySearchResults && React__default["default"].createElement(MultiLevelCheckboxNoResults, null, noResultsText));
|
|
214
215
|
});
|
|
215
|
-
var NodeType =
|
|
216
|
-
label:
|
|
217
|
-
value:
|
|
216
|
+
var NodeType = index.PropTypes.shape({
|
|
217
|
+
label: index.PropTypes.string.isRequired,
|
|
218
|
+
value: index.PropTypes.any.isRequired,
|
|
218
219
|
children: NodeType
|
|
219
220
|
});
|
|
220
221
|
MultiLevelCheckbox.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
221
|
-
options:
|
|
222
|
-
label:
|
|
223
|
-
value:
|
|
224
|
-
children:
|
|
222
|
+
options: index.PropTypes.arrayOf(index.PropTypes.shape({
|
|
223
|
+
label: index.PropTypes.string.isRequired,
|
|
224
|
+
value: index.PropTypes.any.isRequired,
|
|
225
|
+
children: index.PropTypes.array
|
|
225
226
|
})),
|
|
226
|
-
checked:
|
|
227
|
-
label:
|
|
228
|
-
search:
|
|
229
|
-
noResultsText:
|
|
230
|
-
onChange:
|
|
227
|
+
checked: index.PropTypes.array.isRequired,
|
|
228
|
+
label: index.PropTypes.string,
|
|
229
|
+
search: index.PropTypes.string,
|
|
230
|
+
noResultsText: index.PropTypes.string,
|
|
231
|
+
onChange: index.PropTypes.func.isRequired
|
|
231
232
|
} : {};
|
|
232
233
|
MultiLevelCheckbox.defaultProps = {
|
|
233
234
|
options: [],
|
|
@@ -334,28 +335,28 @@ var CheckboxTree = React__default["default"].memo(function CheckboxTree(_ref2) {
|
|
|
334
335
|
}))));
|
|
335
336
|
}, lodash.isEqual);
|
|
336
337
|
CheckboxTree.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
337
|
-
node:
|
|
338
|
-
label:
|
|
339
|
-
value:
|
|
340
|
-
children:
|
|
341
|
-
label:
|
|
342
|
-
value:
|
|
343
|
-
children:
|
|
338
|
+
node: index.PropTypes.shape({
|
|
339
|
+
label: index.PropTypes.string.isRequired,
|
|
340
|
+
value: index.PropTypes.any.isRequired,
|
|
341
|
+
children: index.PropTypes.arrayOf(index.PropTypes.shape({
|
|
342
|
+
label: index.PropTypes.string.isRequired,
|
|
343
|
+
value: index.PropTypes.any.isRequired,
|
|
344
|
+
children: index.PropTypes.arrayOf(index.PropTypes.any)
|
|
344
345
|
}))
|
|
345
346
|
}),
|
|
346
|
-
nodes:
|
|
347
|
-
label:
|
|
348
|
-
value:
|
|
349
|
-
children:
|
|
350
|
-
label:
|
|
351
|
-
value:
|
|
352
|
-
children:
|
|
347
|
+
nodes: index.PropTypes.arrayOf(index.PropTypes.shape({
|
|
348
|
+
label: index.PropTypes.string.isRequired,
|
|
349
|
+
value: index.PropTypes.any.isRequired,
|
|
350
|
+
children: index.PropTypes.arrayOf(index.PropTypes.shape({
|
|
351
|
+
label: index.PropTypes.string.isRequired,
|
|
352
|
+
value: index.PropTypes.any.isRequired,
|
|
353
|
+
children: index.PropTypes.arrayOf(index.PropTypes.any)
|
|
353
354
|
}))
|
|
354
355
|
})),
|
|
355
|
-
checked:
|
|
356
|
-
search:
|
|
357
|
-
onAdd:
|
|
358
|
-
onRemove:
|
|
356
|
+
checked: index.PropTypes.array.isRequired,
|
|
357
|
+
search: index.PropTypes.string,
|
|
358
|
+
onAdd: index.PropTypes.func.isRequired,
|
|
359
|
+
onRemove: index.PropTypes.func.isRequired
|
|
359
360
|
} : {};
|
|
360
361
|
|
|
361
362
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
@@ -615,17 +616,17 @@ var MultiLevelCheckboxSelect = React__default["default"].forwardRef(function Mul
|
|
|
615
616
|
}))));
|
|
616
617
|
});
|
|
617
618
|
MultiLevelCheckboxSelect.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
618
|
-
label:
|
|
619
|
-
placeholder:
|
|
620
|
-
options:
|
|
621
|
-
label:
|
|
622
|
-
value:
|
|
623
|
-
children:
|
|
619
|
+
label: index.PropTypes.string,
|
|
620
|
+
placeholder: index.PropTypes.string,
|
|
621
|
+
options: index.PropTypes.arrayOf(index.PropTypes.shape({
|
|
622
|
+
label: index.PropTypes.string.isRequired,
|
|
623
|
+
value: index.PropTypes.any.isRequired,
|
|
624
|
+
children: index.PropTypes.arrayOf(NodeType)
|
|
624
625
|
})).isRequired,
|
|
625
|
-
checked:
|
|
626
|
-
noResultsText:
|
|
627
|
-
onChange:
|
|
628
|
-
onParentChange:
|
|
626
|
+
checked: index.PropTypes.array.isRequired,
|
|
627
|
+
noResultsText: index.PropTypes.string,
|
|
628
|
+
onChange: index.PropTypes.func.isRequired,
|
|
629
|
+
onParentChange: index.PropTypes.func
|
|
629
630
|
} : {};
|
|
630
631
|
MultiLevelCheckboxSelect.defaultProps = {
|
|
631
632
|
checked: []
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var nanoid = require('nanoid');
|
|
6
7
|
var styled = require('styled-components');
|
|
7
8
|
var close = require('./close-1751121a.js');
|
|
8
9
|
var Select = require('react-select');
|
|
9
|
-
var reactSelectCreatable_esm = require('./react-select-creatable.esm-
|
|
10
|
+
var reactSelectCreatable_esm = require('./react-select-creatable.esm-31bd2caf.js');
|
|
10
11
|
var reactSelectAsyncPaginate = require('react-select-async-paginate');
|
|
11
12
|
|
|
12
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -289,25 +290,25 @@ var MultiSelect = React__default["default"].forwardRef(function MultiSelect(_ref
|
|
|
289
290
|
}, error ? error : warning));
|
|
290
291
|
});
|
|
291
292
|
MultiSelect.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
292
|
-
label:
|
|
293
|
-
availableOptions:
|
|
294
|
-
selectedOptions:
|
|
295
|
-
loadOptions:
|
|
296
|
-
loadingMessageFunc:
|
|
297
|
-
onUpdateCallback:
|
|
298
|
-
editText:
|
|
299
|
-
creatable:
|
|
300
|
-
createNewOptionMessageFunc:
|
|
301
|
-
noOptionsMessageFunc:
|
|
302
|
-
onMultiValueClick:
|
|
303
|
-
showMore:
|
|
304
|
-
showMoreText:
|
|
305
|
-
displayTotalOnShowMore:
|
|
306
|
-
readOnly:
|
|
307
|
-
hidden:
|
|
308
|
-
disabled:
|
|
309
|
-
error:
|
|
310
|
-
warning:
|
|
293
|
+
label: index.PropTypes.string,
|
|
294
|
+
availableOptions: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
295
|
+
selectedOptions: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
296
|
+
loadOptions: index.PropTypes.func,
|
|
297
|
+
loadingMessageFunc: index.PropTypes.func,
|
|
298
|
+
onUpdateCallback: index.PropTypes.func,
|
|
299
|
+
editText: index.PropTypes.string.isRequired,
|
|
300
|
+
creatable: index.PropTypes.bool,
|
|
301
|
+
createNewOptionMessageFunc: index.PropTypes.func,
|
|
302
|
+
noOptionsMessageFunc: index.PropTypes.func,
|
|
303
|
+
onMultiValueClick: index.PropTypes.func,
|
|
304
|
+
showMore: index.PropTypes.bool,
|
|
305
|
+
showMoreText: index.PropTypes.string,
|
|
306
|
+
displayTotalOnShowMore: index.PropTypes.bool,
|
|
307
|
+
readOnly: index.PropTypes.bool,
|
|
308
|
+
hidden: index.PropTypes.bool,
|
|
309
|
+
disabled: index.PropTypes.bool,
|
|
310
|
+
error: index.PropTypes.oneOfType([index.PropTypes.bool, index.PropTypes.string]),
|
|
311
|
+
warning: index.PropTypes.oneOfType([index.PropTypes.bool, index.PropTypes.string])
|
|
311
312
|
} : {};
|
|
312
313
|
MultiSelect.defaultProps = {
|
|
313
314
|
noOptionsMessageFunc: function noOptionsMessageFunc(inputValue) {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var lodash = require('lodash');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var styled = require('styled-components');
|
|
7
8
|
var polished = require('polished');
|
|
8
9
|
var TippyTooltip = require('@tippyjs/react');
|
|
9
|
-
require('./shift-away-subtle-
|
|
10
|
+
require('./shift-away-subtle-c3c2f2b2.js');
|
|
10
11
|
var maxSize = require('popper-max-size-modifier');
|
|
11
12
|
|
|
12
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -113,18 +114,18 @@ var Popover = React__default["default"].forwardRef(function Popover(_ref, ref) {
|
|
|
113
114
|
}, props), children));
|
|
114
115
|
});
|
|
115
116
|
Popover.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
116
|
-
content:
|
|
117
|
-
interactive:
|
|
118
|
-
placement:
|
|
119
|
-
duration:
|
|
120
|
-
trigger:
|
|
121
|
-
offset:
|
|
122
|
-
arrow:
|
|
123
|
-
visible:
|
|
124
|
-
modifiers:
|
|
125
|
-
contextMenu:
|
|
126
|
-
contextMenuSublevel:
|
|
127
|
-
children:
|
|
117
|
+
content: index.PropTypes.oneOfType([index.PropTypes.string, index.PropTypes.element]).isRequired,
|
|
118
|
+
interactive: index.PropTypes.bool,
|
|
119
|
+
placement: index.PropTypes.oneOf(['top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'auto', 'auto-start', 'auto-end']),
|
|
120
|
+
duration: index.PropTypes.number,
|
|
121
|
+
trigger: index.PropTypes.string,
|
|
122
|
+
offset: index.PropTypes.arrayOf(index.PropTypes.number),
|
|
123
|
+
arrow: index.PropTypes.bool,
|
|
124
|
+
visible: index.PropTypes.bool,
|
|
125
|
+
modifiers: index.PropTypes.array,
|
|
126
|
+
contextMenu: index.PropTypes.bool,
|
|
127
|
+
contextMenuSublevel: index.PropTypes.bool,
|
|
128
|
+
children: index.PropTypes.node.isRequired
|
|
128
129
|
} : {};
|
|
129
130
|
Popover.defaultProps = {
|
|
130
131
|
content: 'Tooltip',
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var nanoid = require('nanoid');
|
|
6
|
+
var index = require('./index-1e234d23.js');
|
|
6
7
|
var polished = require('polished');
|
|
7
8
|
var styled = require('styled-components');
|
|
8
9
|
|
|
@@ -66,17 +67,17 @@ var Radio = React__default["default"].forwardRef(function Radio(_ref, forwardedR
|
|
|
66
67
|
}, rest)), React__default["default"].createElement(RadioLabel, null, label));
|
|
67
68
|
});
|
|
68
69
|
Radio.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
69
|
-
label:
|
|
70
|
-
name:
|
|
71
|
-
value:
|
|
72
|
-
checked:
|
|
73
|
-
defaultChecked:
|
|
74
|
-
disabled:
|
|
75
|
-
readOnly:
|
|
76
|
-
className:
|
|
77
|
-
style:
|
|
78
|
-
onChange:
|
|
79
|
-
onBlur:
|
|
70
|
+
label: index.PropTypes.any,
|
|
71
|
+
name: index.PropTypes.string.isRequired,
|
|
72
|
+
value: index.PropTypes.any.isRequired,
|
|
73
|
+
checked: index.PropTypes.bool,
|
|
74
|
+
defaultChecked: index.PropTypes.bool,
|
|
75
|
+
disabled: index.PropTypes.bool,
|
|
76
|
+
readOnly: index.PropTypes.bool,
|
|
77
|
+
className: index.PropTypes.string,
|
|
78
|
+
style: index.PropTypes.object,
|
|
79
|
+
onChange: index.PropTypes.func,
|
|
80
|
+
onBlur: index.PropTypes.func
|
|
80
81
|
} : {};
|
|
81
82
|
Radio.defaultProps = {
|
|
82
83
|
disabled: false
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var styled = require('styled-components');
|
|
6
7
|
|
|
7
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -28,7 +29,7 @@ var SectionSeparator = React__default["default"].forwardRef(function SectionSepa
|
|
|
28
29
|
}, props));
|
|
29
30
|
});
|
|
30
31
|
SectionSeparator.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
31
|
-
vertical:
|
|
32
|
+
vertical: index.PropTypes.bool
|
|
32
33
|
} : {};
|
|
33
34
|
SectionSeparator.defaultProps = {
|
|
34
35
|
vertical: false
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var nanoid = require('nanoid');
|
|
6
|
+
var index = require('./index-1e234d23.js');
|
|
6
7
|
var polished = require('polished');
|
|
7
8
|
var styled = require('styled-components');
|
|
8
9
|
|
|
@@ -83,19 +84,19 @@ var Switch = React__default["default"].forwardRef(function Switch(_ref, forwarde
|
|
|
83
84
|
}, description));
|
|
84
85
|
});
|
|
85
86
|
Switch.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
86
|
-
children:
|
|
87
|
-
name:
|
|
88
|
-
checked:
|
|
89
|
-
defaultChecked:
|
|
90
|
-
label:
|
|
91
|
-
disabled:
|
|
92
|
-
readOnly:
|
|
93
|
-
description:
|
|
94
|
-
spaciousDescription:
|
|
95
|
-
className:
|
|
96
|
-
style:
|
|
97
|
-
onChange:
|
|
98
|
-
onBlur:
|
|
87
|
+
children: index.PropTypes.any,
|
|
88
|
+
name: index.PropTypes.string.isRequired,
|
|
89
|
+
checked: index.PropTypes.bool,
|
|
90
|
+
defaultChecked: index.PropTypes.bool,
|
|
91
|
+
label: index.PropTypes.string,
|
|
92
|
+
disabled: index.PropTypes.bool,
|
|
93
|
+
readOnly: index.PropTypes.bool,
|
|
94
|
+
description: index.PropTypes.string,
|
|
95
|
+
spaciousDescription: index.PropTypes.bool,
|
|
96
|
+
className: index.PropTypes.string,
|
|
97
|
+
style: index.PropTypes.object,
|
|
98
|
+
onChange: index.PropTypes.func,
|
|
99
|
+
onBlur: index.PropTypes.func
|
|
99
100
|
} : {};
|
|
100
101
|
Switch.defaultProps = {
|
|
101
102
|
disabled: false,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
|
+
var index = require('./index-1e234d23.js');
|
|
4
5
|
var React = require('react');
|
|
5
6
|
var styled = require('styled-components');
|
|
6
7
|
|
|
@@ -25,8 +26,8 @@ var Tab = React__default["default"].forwardRef(function Tab(_ref, forwardedRef)
|
|
|
25
26
|
}, props), children);
|
|
26
27
|
});
|
|
27
28
|
Tab.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
28
|
-
children:
|
|
29
|
-
hidden:
|
|
29
|
+
children: index.PropTypes.any,
|
|
30
|
+
hidden: index.PropTypes.bool
|
|
30
31
|
} : {};
|
|
31
32
|
Tab.defaultProps = {
|
|
32
33
|
hidden: false
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-8bd3e0b9.js');
|
|
4
4
|
var lodash = require('lodash');
|
|
5
|
+
var index = require('./index-1e234d23.js');
|
|
5
6
|
var React = require('react');
|
|
6
|
-
var Tab = require('./Tab-
|
|
7
|
+
var Tab = require('./Tab-88f77a44.js');
|
|
7
8
|
var styled = require('styled-components');
|
|
8
9
|
|
|
9
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -142,11 +143,11 @@ Tabs.defaultProps = {
|
|
|
142
143
|
defaultActive: 0
|
|
143
144
|
};
|
|
144
145
|
Tabs.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
145
|
-
children:
|
|
146
|
-
backgroundColor:
|
|
147
|
-
defaultMinHeight:
|
|
148
|
-
onChangeTabCallback:
|
|
149
|
-
defaultActive:
|
|
146
|
+
children: index.PropTypes.oneOfType([index.PropTypes.array, index.PropTypes.object]),
|
|
147
|
+
backgroundColor: index.PropTypes.string,
|
|
148
|
+
defaultMinHeight: index.PropTypes.string,
|
|
149
|
+
onChangeTabCallback: index.PropTypes.func,
|
|
150
|
+
defaultActive: index.PropTypes.number
|
|
150
151
|
} : {};
|
|
151
152
|
|
|
152
153
|
exports.Tabs = Tabs;
|