carbon-react 8.1.3 → 8.1.6
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/change_log/v8_1_4/position_date_picker.yml +1 -0
- package/change_log/v8_1_5/fix_path.yml +1 -0
- package/lib/__experimental__/components/input/input-presentation.component.js +35 -29
- package/lib/__experimental__/components/input/input.component.js +36 -28
- package/lib/__experimental__/components/input-decorator-bridge/input-decorator-bridge.component.js +45 -35
- package/lib/__experimental__/components/select/index.js +4 -4
- package/lib/__experimental__/components/select/option.component.js +6 -4
- package/lib/__experimental__/components/select/select-list.component.js +39 -35
- package/lib/__experimental__/components/select/select.component.js +45 -39
- package/lib/__experimental__/components/select-async/index.js +4 -4
- package/lib/__experimental__/components/select-async/select-async.component.js +53 -37
- package/lib/__experimental__/components/textbox/textbox.component.js +6 -4
- package/lib/__spec_helper__/index.js +1 -1
- package/lib/components/action-toolbar/action-toolbar.js +43 -37
- package/lib/components/alert/alert.js +35 -29
- package/lib/components/alert/alert.stories.js +4 -4
- package/lib/components/animated-menu-button/animated-menu-button.js +36 -32
- package/lib/components/animated-menu-button/animated-menu-button.stories.js +16 -24
- package/lib/components/app-wrapper/app-wrapper.js +29 -25
- package/lib/components/app-wrapper/app-wrapper.stories.js +1 -1
- package/lib/components/button/button.js +30 -26
- package/lib/components/button/button.stories.js +1 -1
- package/lib/components/button-toggle/button-toggle.js +52 -46
- package/lib/components/button-toggle/button-toggle.stories.js +23 -15
- package/lib/components/button-toggle-group/button-toggle-group.js +54 -48
- package/lib/components/button-toggle-group/button-toggle-group.stories.js +4 -4
- package/lib/components/carousel/carousel.js +48 -42
- package/lib/components/carousel/slide/slide.js +4 -4
- package/lib/components/checkbox/checkbox.js +68 -72
- package/lib/components/configurable-items/configurable-item-row/configurable-item-row.js +37 -33
- package/lib/components/configurable-items/configurable-items.js +38 -34
- package/lib/components/confirm/confirm.js +60 -54
- package/lib/components/content/content.js +31 -25
- package/lib/components/create/create.js +32 -24
- package/lib/components/date/date.js +216 -194
- package/lib/components/date/navbar/navbar.js +5 -5
- package/lib/components/date-range/date-range.js +97 -93
- package/lib/components/decimal/decimal.js +62 -56
- package/lib/components/detail/detail.js +51 -47
- package/lib/components/dialog/dialog.js +80 -72
- package/lib/components/dialog-full-screen/dialog-full-screen.js +53 -47
- package/lib/components/dialog-full-screen/full-screen-heading/full-screen-heading.js +9 -7
- package/lib/components/drag-and-drop/custom-drag-layer/custom-drag-layer.js +28 -24
- package/lib/components/drag-and-drop/drag-and-drop.js +6 -6
- package/lib/components/drag-and-drop/draggable-context/draggable-context.js +40 -37
- package/lib/components/drag-and-drop/with-drag/with-drag.js +26 -22
- package/lib/components/drag-and-drop/with-drop/with-drop.js +26 -20
- package/lib/components/dropdown/dropdown.js +146 -143
- package/lib/components/dropdown-filter/dropdown-filter.js +94 -88
- package/lib/components/dropdown-filter-ajax/dropdown-filter-ajax.js +54 -50
- package/lib/components/fieldset/fieldset.js +50 -42
- package/lib/components/filter/filter.js +43 -46
- package/lib/components/flash/flash.js +72 -64
- package/lib/components/form/cancel-button/cancel-button.js +11 -11
- package/lib/components/form/form-summary/form-summary.js +7 -7
- package/lib/components/form/form.js +68 -69
- package/lib/components/form/save-button/save-button.js +11 -11
- package/lib/components/grouped-character/grouped-character.js +49 -43
- package/lib/components/heading/heading.js +65 -59
- package/lib/components/help/help.js +46 -40
- package/lib/components/i18n/i18n.js +30 -22
- package/lib/components/icon/icon.js +55 -51
- package/lib/components/inline-inputs/inline-inputs.js +6 -6
- package/lib/components/link/link.js +45 -37
- package/lib/components/menu/menu-item/menu-item.js +55 -49
- package/lib/components/menu/menu.js +47 -41
- package/lib/components/menu/submenu-block/submenu-block.js +43 -37
- package/lib/components/menu-list/menu-list-item/menu-list-item.js +29 -25
- package/lib/components/menu-list/menu-list.js +49 -43
- package/lib/components/message/message.js +47 -41
- package/lib/components/modal/modal.js +77 -71
- package/lib/components/mount-in-app/mount-in-app.js +32 -26
- package/lib/components/multi-action-button/multi-action-button.js +52 -46
- package/lib/components/multi-step-wizard/multi-step-wizard.js +60 -54
- package/lib/components/multi-step-wizard/step/step.js +68 -69
- package/lib/components/navigation-bar/navigation-bar.js +44 -38
- package/lib/components/number/number.js +58 -52
- package/lib/components/pager/pager.js +75 -71
- package/lib/components/pages/page/page.js +6 -6
- package/lib/components/pages/pages.js +4 -4
- package/lib/components/pill/pill.js +33 -27
- package/lib/components/pod/pod.js +84 -80
- package/lib/components/portal/portal.js +34 -26
- package/lib/components/portrait/portrait.js +52 -48
- package/lib/components/preview/preview.js +4 -4
- package/lib/components/profile/profile.js +51 -45
- package/lib/components/radio-button/radio-button.js +51 -45
- package/lib/components/rainbow/rainbow.js +44 -38
- package/lib/components/row/column/column.js +1 -1
- package/lib/components/row/row.js +47 -41
- package/lib/components/scrollable-list/as-scrollable-list-item.wrapper.js +8 -8
- package/lib/components/scrollable-list/scrollable-list-item.component.js +27 -35
- package/lib/components/scrollable-list/scrollable-list.component.js +53 -37
- package/lib/components/scrollable-list/scrollable-list.style.js +5 -13
- package/lib/components/scrollable-list/test-utils.js +38 -28
- package/lib/components/settings-row/settings-row.js +49 -43
- package/lib/components/show-edit-pod/show-edit-pod.js +67 -63
- package/lib/components/sidebar/sidebar-header/sidebar-header.js +43 -37
- package/lib/components/sidebar/sidebar.js +54 -48
- package/lib/components/simple-color-picker/color-option/color-option.js +47 -41
- package/lib/components/simple-color-picker/simple-color-picker.js +53 -47
- package/lib/components/spinner/spinner.js +43 -37
- package/lib/components/split-button/split-button.js +69 -69
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.js +15 -13
- package/lib/components/step-sequence/step-sequence.js +4 -4
- package/lib/components/switch/switch.js +23 -21
- package/lib/components/table/draggable-table-cell/draggable-table-cell.js +4 -4
- package/lib/components/table/table-cell/table-cell.js +45 -39
- package/lib/components/table/table-header/table-header.js +107 -110
- package/lib/components/table/table-row/table-row.js +62 -58
- package/lib/components/table/table-subheader/table-subheader.js +32 -26
- package/lib/components/table/table.js +166 -169
- package/lib/components/table-ajax/table-ajax.js +67 -70
- package/lib/components/tabs/tab/tab.js +48 -44
- package/lib/components/tabs/tabs.js +73 -67
- package/lib/components/textarea/textarea.js +52 -49
- package/lib/components/textbox/textbox.js +49 -43
- package/lib/components/toast/toast.js +56 -50
- package/lib/components/tooltip/tooltip.js +47 -41
- package/lib/patterns/configurable-items/configurable-items-content/configurable-items-content.js +35 -29
- package/lib/patterns/configurable-items/configurable-items.js +55 -51
- package/lib/patterns/configurable-items/store/store.js +35 -27
- package/lib/style/index.js +1 -1
- package/lib/style/palette/index.js +4 -2
- package/lib/style/themes/base/index.js +7 -7
- package/lib/style/themes/test-utils.js +19 -21
- package/lib/style/utils/add-hex-symbols.js +4 -2
- package/lib/style/utils/at-opacity.js +10 -8
- package/lib/style/utils/merge-deep.js +15 -15
- package/lib/style/utils/mix.js +32 -20
- package/lib/utils/decorators/input/input.js +46 -42
- package/lib/utils/decorators/input-icon/input-icon.js +37 -33
- package/lib/utils/decorators/input-label/input-label.js +37 -31
- package/lib/utils/decorators/input-validation/input-validation.js +40 -36
- package/lib/utils/decorators/should-component-update/should-component-update.js +29 -23
- package/lib/utils/decorators/tooltip-decorator/tooltip-decorator.js +38 -34
- package/lib/utils/ether/ether.js +16 -14
- package/lib/utils/filter-children/filter-children.util.js +10 -8
- package/lib/utils/handlers/base-registry/base-registry.js +12 -13
- package/lib/utils/helpers/browser/browser.js +15 -13
- package/lib/utils/helpers/date/date.js +4 -2
- package/lib/utils/helpers/element-resize/element-resize.js +6 -4
- package/lib/utils/helpers/events/events.js +2 -2
- package/lib/utils/helpers/guid/guid.js +6 -6
- package/lib/utils/helpers/i18n/i18n.js +11 -9
- package/lib/utils/helpers/immutable/immutable.js +13 -13
- package/lib/utils/helpers/options-helper/options-helper.js +2 -1
- package/lib/utils/helpers/prop-types/prop-types.js +2 -2
- package/lib/utils/helpers/scrollable-parent/scrollable-parent.js +2 -0
- package/lib/utils/helpers/serialize/serialize.js +12 -12
- package/lib/utils/helpers/tags/tags-specs/tags-specs.js +6 -4
- package/lib/utils/helpers/to-array/to-array.js +8 -6
- package/lib/utils/router/router.js +2 -2
- package/lib/utils/service/service.js +34 -34
- package/lib/utils/validations/blank/blank.js +6 -2
- package/lib/utils/validations/date/date.js +6 -2
- package/lib/utils/validations/date-range/date-range.js +6 -2
- package/lib/utils/validations/date-within-range/date-within-range.js +6 -2
- package/lib/utils/validations/email/email.js +6 -2
- package/lib/utils/validations/exclusion/exclusion.js +6 -2
- package/lib/utils/validations/inclusion/inclusion.js +6 -2
- package/lib/utils/validations/length/length.js +6 -2
- package/lib/utils/validations/numeral/numeral-type/numeral-type.js +8 -2
- package/lib/utils/validations/numeral/numeral.js +6 -2
- package/lib/utils/validations/presence/presence.js +12 -4
- package/lib/utils/validations/regex/regex.js +8 -2
- package/lib/utils/validations/validator/validator.js +14 -14
- package/package.json +13 -13
- package/release_notes/v8_1_4.html.md +5 -0
- package/release_notes/v8_1_5.html.md +5 -0
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
|
-
require("core-js/modules/es.
|
|
5
|
+
require("core-js/modules/es.object.get-prototype-of.js");
|
|
6
6
|
|
|
7
|
-
require("core-js/modules/es.
|
|
7
|
+
require("core-js/modules/es.object.to-string.js");
|
|
8
8
|
|
|
9
|
-
require("core-js/modules/es.
|
|
9
|
+
require("core-js/modules/es.reflect.construct.js");
|
|
10
10
|
|
|
11
|
-
require("core-js/modules/es.
|
|
11
|
+
require("core-js/modules/es.symbol.js");
|
|
12
12
|
|
|
13
|
-
require("core-js/modules/es.
|
|
13
|
+
require("core-js/modules/es.symbol.description.js");
|
|
14
14
|
|
|
15
|
-
require("core-js/modules/es.
|
|
15
|
+
require("core-js/modules/es.symbol.iterator.js");
|
|
16
16
|
|
|
17
|
-
require("core-js/modules/es.
|
|
17
|
+
require("core-js/modules/es.array.iterator.js");
|
|
18
18
|
|
|
19
|
-
require("core-js/modules/
|
|
19
|
+
require("core-js/modules/es.string.iterator.js");
|
|
20
|
+
|
|
21
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
20
22
|
|
|
21
23
|
Object.defineProperty(exports, "__esModule", {
|
|
22
24
|
value: true
|
|
23
25
|
});
|
|
24
26
|
exports.default = void 0;
|
|
25
27
|
|
|
28
|
+
require("core-js/modules/es.array.concat.js");
|
|
29
|
+
|
|
26
30
|
var _react = _interopRequireDefault(require("react"));
|
|
27
31
|
|
|
28
32
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -35,34 +39,34 @@ var _browser = _interopRequireDefault(require("../../../utils/helpers/browser"))
|
|
|
35
39
|
|
|
36
40
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
41
|
|
|
38
|
-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
39
|
-
|
|
40
42
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
41
43
|
|
|
42
44
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
43
45
|
|
|
44
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
46
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
47
|
+
|
|
48
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
49
|
|
|
46
|
-
function
|
|
50
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
51
|
|
|
48
|
-
function
|
|
52
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
53
|
+
|
|
54
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
49
55
|
|
|
50
56
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
51
57
|
|
|
52
|
-
function
|
|
58
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
53
59
|
|
|
54
|
-
function
|
|
60
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
55
61
|
|
|
56
62
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
57
63
|
|
|
58
|
-
var WithDrag =
|
|
59
|
-
/*#__PURE__*/
|
|
60
|
-
function (_React$Component) {
|
|
64
|
+
var WithDrag = /*#__PURE__*/function (_React$Component) {
|
|
61
65
|
_inherits(WithDrag, _React$Component);
|
|
62
66
|
|
|
63
|
-
|
|
64
|
-
var _getPrototypeOf2;
|
|
67
|
+
var _super = _createSuper(WithDrag);
|
|
65
68
|
|
|
69
|
+
function WithDrag() {
|
|
66
70
|
var _this;
|
|
67
71
|
|
|
68
72
|
_classCallCheck(this, WithDrag);
|
|
@@ -71,7 +75,7 @@ function (_React$Component) {
|
|
|
71
75
|
args[_key] = arguments[_key];
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
_this =
|
|
78
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
75
79
|
|
|
76
80
|
_defineProperty(_assertThisInitialized(_this), "allowTextSelection", function (event) {
|
|
77
81
|
var allowedElements = ['INPUT', 'TEXTAREA', 'SELECT'];
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
|
-
require("core-js/modules/es.
|
|
5
|
+
require("core-js/modules/es.object.get-prototype-of.js");
|
|
6
6
|
|
|
7
|
-
require("core-js/modules/es.
|
|
7
|
+
require("core-js/modules/es.object.to-string.js");
|
|
8
8
|
|
|
9
|
-
require("core-js/modules/es.
|
|
9
|
+
require("core-js/modules/es.reflect.construct.js");
|
|
10
10
|
|
|
11
|
-
require("core-js/modules/es.
|
|
11
|
+
require("core-js/modules/es.symbol.js");
|
|
12
12
|
|
|
13
|
-
require("core-js/modules/es.
|
|
13
|
+
require("core-js/modules/es.symbol.description.js");
|
|
14
14
|
|
|
15
|
-
require("core-js/modules/es.
|
|
15
|
+
require("core-js/modules/es.symbol.iterator.js");
|
|
16
16
|
|
|
17
|
-
require("core-js/modules/
|
|
17
|
+
require("core-js/modules/es.array.iterator.js");
|
|
18
|
+
|
|
19
|
+
require("core-js/modules/es.string.iterator.js");
|
|
20
|
+
|
|
21
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
18
22
|
|
|
19
23
|
Object.defineProperty(exports, "__esModule", {
|
|
20
24
|
value: true
|
|
@@ -33,35 +37,37 @@ var _text = _interopRequireDefault(require("../../../utils/helpers/text"));
|
|
|
33
37
|
|
|
34
38
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
39
|
|
|
36
|
-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
37
|
-
|
|
38
40
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
39
41
|
|
|
40
42
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
41
43
|
|
|
42
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
44
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
43
45
|
|
|
44
|
-
function
|
|
46
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
47
|
|
|
46
|
-
function
|
|
48
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
49
|
|
|
48
|
-
function
|
|
50
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
49
51
|
|
|
50
|
-
function
|
|
52
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
51
53
|
|
|
52
|
-
function
|
|
54
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
55
|
+
|
|
56
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
57
|
+
|
|
58
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
59
|
|
|
54
60
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
55
61
|
|
|
56
|
-
var WithDrop =
|
|
57
|
-
/*#__PURE__*/
|
|
58
|
-
function (_React$Component) {
|
|
62
|
+
var WithDrop = /*#__PURE__*/function (_React$Component) {
|
|
59
63
|
_inherits(WithDrop, _React$Component);
|
|
60
64
|
|
|
65
|
+
var _super = _createSuper(WithDrop);
|
|
66
|
+
|
|
61
67
|
function WithDrop() {
|
|
62
68
|
_classCallCheck(this, WithDrop);
|
|
63
69
|
|
|
64
|
-
return
|
|
70
|
+
return _super.apply(this, arguments);
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
_createClass(WithDrop, [{
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
|
-
require("core-js/modules/es.
|
|
5
|
+
require("core-js/modules/es.object.get-prototype-of.js");
|
|
6
6
|
|
|
7
|
-
require("core-js/modules/es.
|
|
7
|
+
require("core-js/modules/es.reflect.construct.js");
|
|
8
8
|
|
|
9
|
-
require("core-js/modules/es.
|
|
9
|
+
require("core-js/modules/es.symbol.js");
|
|
10
10
|
|
|
11
|
-
require("core-js/modules/es.
|
|
11
|
+
require("core-js/modules/es.symbol.description.js");
|
|
12
12
|
|
|
13
|
-
require("core-js/modules/es.
|
|
13
|
+
require("core-js/modules/es.symbol.iterator.js");
|
|
14
14
|
|
|
15
|
-
require("core-js/modules/es.array.
|
|
15
|
+
require("core-js/modules/es.array.iterator.js");
|
|
16
16
|
|
|
17
|
-
require("core-js/modules/es.
|
|
17
|
+
require("core-js/modules/es.string.iterator.js");
|
|
18
18
|
|
|
19
|
-
require("core-js/modules/
|
|
20
|
-
|
|
21
|
-
require("core-js/modules/es.object.get-prototype-of");
|
|
22
|
-
|
|
23
|
-
require("core-js/modules/es.object.to-string");
|
|
24
|
-
|
|
25
|
-
require("core-js/modules/es.string.iterator");
|
|
26
|
-
|
|
27
|
-
require("core-js/modules/web.dom-collections.iterator");
|
|
19
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
28
20
|
|
|
29
21
|
Object.defineProperty(exports, "__esModule", {
|
|
30
22
|
value: true
|
|
31
23
|
});
|
|
32
24
|
exports.default = void 0;
|
|
33
25
|
|
|
26
|
+
require("core-js/modules/es.array.concat.js");
|
|
27
|
+
|
|
28
|
+
require("core-js/modules/es.array.find.js");
|
|
29
|
+
|
|
30
|
+
require("core-js/modules/es.object.to-string.js");
|
|
31
|
+
|
|
32
|
+
require("core-js/modules/es.object.assign.js");
|
|
33
|
+
|
|
34
|
+
require("core-js/modules/es.function.name.js");
|
|
35
|
+
|
|
36
|
+
require("core-js/modules/es.array.map.js");
|
|
37
|
+
|
|
34
38
|
var _react = _interopRequireDefault(require("react"));
|
|
35
39
|
|
|
36
40
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -55,29 +59,31 @@ var _portal = _interopRequireDefault(require("../portal"));
|
|
|
55
59
|
|
|
56
60
|
require("./dropdown.scss");
|
|
57
61
|
|
|
58
|
-
var _class
|
|
62
|
+
var _class;
|
|
59
63
|
|
|
60
64
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
61
65
|
|
|
62
|
-
function
|
|
63
|
-
|
|
64
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
66
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
65
67
|
|
|
66
68
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
67
69
|
|
|
68
70
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
69
71
|
|
|
70
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
72
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
73
|
+
|
|
74
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
75
|
+
|
|
76
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
71
77
|
|
|
72
|
-
function
|
|
78
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
73
79
|
|
|
74
|
-
function
|
|
80
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
75
81
|
|
|
76
82
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
77
83
|
|
|
78
|
-
function
|
|
84
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
79
85
|
|
|
80
|
-
function
|
|
86
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
81
87
|
|
|
82
88
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
83
89
|
|
|
@@ -105,14 +111,15 @@ var window = _browser.default.getWindow();
|
|
|
105
111
|
*/
|
|
106
112
|
|
|
107
113
|
|
|
108
|
-
var Dropdown = (0, _input.default)((0, _inputIcon.default)((0, _inputLabel.default)((0, _inputValidation.default)((
|
|
109
|
-
/*#__PURE__*/
|
|
110
|
-
function (_React$Component) {
|
|
114
|
+
var Dropdown = (0, _input.default)((0, _inputIcon.default)((0, _inputLabel.default)((0, _inputValidation.default)((_class = /*#__PURE__*/function (_React$Component) {
|
|
111
115
|
_inherits(Dropdown, _React$Component);
|
|
112
116
|
|
|
113
|
-
|
|
114
|
-
var _getPrototypeOf2;
|
|
117
|
+
var _super = _createSuper(Dropdown);
|
|
115
118
|
|
|
119
|
+
/**
|
|
120
|
+
* @constructor
|
|
121
|
+
*/
|
|
122
|
+
function Dropdown() {
|
|
116
123
|
var _this;
|
|
117
124
|
|
|
118
125
|
_classCallCheck(this, Dropdown);
|
|
@@ -121,7 +128,7 @@ function (_React$Component) {
|
|
|
121
128
|
args[_key] = arguments[_key];
|
|
122
129
|
}
|
|
123
130
|
|
|
124
|
-
_this =
|
|
131
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
125
132
|
/**
|
|
126
133
|
* Determines if the blur event should be prevented.
|
|
127
134
|
*
|
|
@@ -381,14 +388,14 @@ function (_React$Component) {
|
|
|
381
388
|
|
|
382
389
|
_createClass(Dropdown, [{
|
|
383
390
|
key: "componentDidMount",
|
|
384
|
-
|
|
391
|
+
value:
|
|
385
392
|
/**
|
|
386
393
|
* Manually focus if autoFocus is applied - allows us to prevent the list from opening.
|
|
387
394
|
*
|
|
388
395
|
* @method componentDidMount
|
|
389
396
|
* @return {Void}
|
|
390
397
|
*/
|
|
391
|
-
|
|
398
|
+
function componentDidMount() {
|
|
392
399
|
if (this.props.autoFocus) {
|
|
393
400
|
this.blockFocus = true;
|
|
394
401
|
|
|
@@ -445,7 +452,7 @@ function (_React$Component) {
|
|
|
445
452
|
|
|
446
453
|
}, {
|
|
447
454
|
key: "updateScroll",
|
|
448
|
-
|
|
455
|
+
value:
|
|
449
456
|
/**
|
|
450
457
|
* Sets the scroll position for the list
|
|
451
458
|
*
|
|
@@ -454,7 +461,7 @@ function (_React$Component) {
|
|
|
454
461
|
* @param {HTML} element current li element
|
|
455
462
|
* @return {Void}
|
|
456
463
|
*/
|
|
457
|
-
|
|
464
|
+
function updateScroll(list, nextItem) {
|
|
458
465
|
var firstTop = list.firstChild.offsetTop,
|
|
459
466
|
itemHeight = nextItem.offsetHeight,
|
|
460
467
|
listHeight = list.offsetHeight;
|
|
@@ -472,109 +479,16 @@ function (_React$Component) {
|
|
|
472
479
|
* @return {String}
|
|
473
480
|
*/
|
|
474
481
|
|
|
475
|
-
}, {
|
|
476
|
-
key: "results",
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* Function that returns search results. Builds each list item with relevant handlers and classes.
|
|
480
|
-
*
|
|
481
|
-
* @method results
|
|
482
|
-
* @return {Array}
|
|
483
|
-
*/
|
|
484
|
-
value: function results(options) {
|
|
485
|
-
var _this2 = this;
|
|
486
|
-
|
|
487
|
-
var className = 'carbon-dropdown__list-item',
|
|
488
|
-
highlighted = this.highlighted(options);
|
|
489
|
-
var results = options.map(function (option) {
|
|
490
|
-
var klass = className;
|
|
491
|
-
var optionId = String(option.id); // add highlighted class
|
|
492
|
-
|
|
493
|
-
if (String(highlighted) === optionId) {
|
|
494
|
-
klass += " ".concat(className, "--highlighted");
|
|
495
|
-
} // add selected class
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
if (String(_this2.props.value) === optionId) {
|
|
499
|
-
klass += " ".concat(className, "--selected");
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
return _react.default.createElement("li", {
|
|
503
|
-
"data-element": "option",
|
|
504
|
-
key: option.name + option.id,
|
|
505
|
-
value: option.id,
|
|
506
|
-
onClick: _this2.handleSelect,
|
|
507
|
-
onMouseOver: _this2.handleMouseOverListItem,
|
|
508
|
-
className: klass
|
|
509
|
-
}, _this2.props.renderItem ? _this2.props.renderItem(option) : option.name);
|
|
510
|
-
});
|
|
511
|
-
return results;
|
|
512
|
-
}
|
|
513
|
-
/**
|
|
514
|
-
* positions the portal listBlock in relation to the input.
|
|
515
|
-
*
|
|
516
|
-
* @method calculatePosition
|
|
517
|
-
* @return {void}
|
|
518
|
-
*/
|
|
519
|
-
|
|
520
|
-
}, {
|
|
521
|
-
key: "showArrow",
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Determines whether dropdown arrow is displayed
|
|
525
|
-
*
|
|
526
|
-
* @method showArrow
|
|
527
|
-
* @return {Boolean}
|
|
528
|
-
*/
|
|
529
|
-
value: function showArrow() {
|
|
530
|
-
return true;
|
|
531
|
-
}
|
|
532
|
-
/**
|
|
533
|
-
* Getter to return HTML for alternate hidden input to render method.
|
|
534
|
-
*
|
|
535
|
-
* @method alternateHiddenHTML
|
|
536
|
-
* @return {Object} JSX
|
|
537
|
-
*/
|
|
538
|
-
|
|
539
|
-
}, {
|
|
540
|
-
key: "componentTags",
|
|
541
|
-
value: function componentTags(props) {
|
|
542
|
-
return {
|
|
543
|
-
'data-component': 'dropdown',
|
|
544
|
-
'data-element': props['data-element'],
|
|
545
|
-
'data-role': props['data-role']
|
|
546
|
-
};
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* Stubbed function allows this to be called on the parent without causign a console error
|
|
550
|
-
* This funciton is used by DropdownFilterAjax
|
|
551
|
-
*/
|
|
552
|
-
|
|
553
|
-
}, {
|
|
554
|
-
key: "render",
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* Renders the component.
|
|
558
|
-
*
|
|
559
|
-
* @method render
|
|
560
|
-
*/
|
|
561
|
-
value: function render() {
|
|
562
|
-
return _react.default.createElement("div", _extends({
|
|
563
|
-
className: this.mainClasses
|
|
564
|
-
}, this.componentTags(this.props), {
|
|
565
|
-
"data-state": this.requestingState()
|
|
566
|
-
}), this.labelHTML, this.inputHTML, _react.default.createElement("input", this.hiddenInputProps), this.alternateHiddenHTML, this.validationHTML, this.fieldHelpHTML);
|
|
567
|
-
}
|
|
568
482
|
}, {
|
|
569
483
|
key: "options",
|
|
570
|
-
|
|
484
|
+
get:
|
|
571
485
|
/**
|
|
572
486
|
* Returns the list options in the correct format
|
|
573
487
|
*
|
|
574
488
|
* @method options
|
|
575
489
|
* @return {Object}
|
|
576
490
|
*/
|
|
577
|
-
|
|
491
|
+
function get() {
|
|
578
492
|
return this.props.options.toJS();
|
|
579
493
|
}
|
|
580
494
|
/**
|
|
@@ -701,39 +615,132 @@ function (_React$Component) {
|
|
|
701
615
|
}, {
|
|
702
616
|
key: "listHTML",
|
|
703
617
|
get: function get() {
|
|
704
|
-
var
|
|
618
|
+
var _this2 = this;
|
|
705
619
|
|
|
706
|
-
return _react.default.createElement("ul", _extends({}, this.listProps, {
|
|
620
|
+
return /*#__PURE__*/_react.default.createElement("ul", _extends({}, this.listProps, {
|
|
707
621
|
ref: function ref(node) {
|
|
708
|
-
|
|
622
|
+
_this2.list = node;
|
|
709
623
|
}
|
|
710
624
|
}), this.results(this.options));
|
|
711
625
|
}
|
|
626
|
+
/**
|
|
627
|
+
* Function that returns search results. Builds each list item with relevant handlers and classes.
|
|
628
|
+
*
|
|
629
|
+
* @method results
|
|
630
|
+
* @return {Array}
|
|
631
|
+
*/
|
|
632
|
+
|
|
712
633
|
}, {
|
|
713
|
-
key: "
|
|
634
|
+
key: "results",
|
|
635
|
+
value: function results(options) {
|
|
636
|
+
var _this3 = this;
|
|
637
|
+
|
|
638
|
+
var className = 'carbon-dropdown__list-item',
|
|
639
|
+
highlighted = this.highlighted(options);
|
|
640
|
+
var results = options.map(function (option) {
|
|
641
|
+
var klass = className;
|
|
642
|
+
var optionId = String(option.id); // add highlighted class
|
|
714
643
|
|
|
644
|
+
if (String(highlighted) === optionId) {
|
|
645
|
+
klass += " ".concat(className, "--highlighted");
|
|
646
|
+
} // add selected class
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
if (String(_this3.props.value) === optionId) {
|
|
650
|
+
klass += " ".concat(className, "--selected");
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
654
|
+
"data-element": "option",
|
|
655
|
+
key: option.name + option.id,
|
|
656
|
+
value: option.id,
|
|
657
|
+
onClick: _this3.handleSelect,
|
|
658
|
+
onMouseOver: _this3.handleMouseOverListItem,
|
|
659
|
+
className: klass
|
|
660
|
+
}, _this3.props.renderItem ? _this3.props.renderItem(option) : option.name);
|
|
661
|
+
});
|
|
662
|
+
return results;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* positions the portal listBlock in relation to the input.
|
|
666
|
+
*
|
|
667
|
+
* @method calculatePosition
|
|
668
|
+
* @return {void}
|
|
669
|
+
*/
|
|
670
|
+
|
|
671
|
+
}, {
|
|
672
|
+
key: "additionalInputContent",
|
|
673
|
+
get:
|
|
715
674
|
/**
|
|
716
675
|
* Extends the input content to include the input icon.
|
|
717
676
|
*
|
|
718
677
|
* @method additionalInputContent
|
|
719
678
|
* @return {Object} JSX
|
|
720
679
|
*/
|
|
721
|
-
|
|
680
|
+
function get() {
|
|
722
681
|
var _this4 = this;
|
|
723
682
|
|
|
724
|
-
return _react.default.createElement(_react.default.Fragment, null, this.showArrow() && this.inputIconHTML('dropdown'), this.state.open && _react.default.createElement(_portal.default, {
|
|
683
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, this.showArrow() && this.inputIconHTML('dropdown'), this.state.open && /*#__PURE__*/_react.default.createElement(_portal.default, {
|
|
725
684
|
onReposition: this.calculatePosition
|
|
726
|
-
}, _react.default.createElement("div", _extends({}, this.listBlockProps, {
|
|
685
|
+
}, /*#__PURE__*/_react.default.createElement("div", _extends({}, this.listBlockProps, {
|
|
727
686
|
ref: function ref(node) {
|
|
728
687
|
_this4.listBlock = node;
|
|
729
688
|
}
|
|
730
689
|
}), this.listHTML)));
|
|
731
690
|
}
|
|
691
|
+
/**
|
|
692
|
+
* Determines whether dropdown arrow is displayed
|
|
693
|
+
*
|
|
694
|
+
* @method showArrow
|
|
695
|
+
* @return {Boolean}
|
|
696
|
+
*/
|
|
697
|
+
|
|
698
|
+
}, {
|
|
699
|
+
key: "showArrow",
|
|
700
|
+
value: function showArrow() {
|
|
701
|
+
return true;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* Getter to return HTML for alternate hidden input to render method.
|
|
705
|
+
*
|
|
706
|
+
* @method alternateHiddenHTML
|
|
707
|
+
* @return {Object} JSX
|
|
708
|
+
*/
|
|
709
|
+
|
|
732
710
|
}, {
|
|
733
711
|
key: "alternateHiddenHTML",
|
|
734
712
|
get: function get() {
|
|
735
713
|
return null;
|
|
736
714
|
}
|
|
715
|
+
}, {
|
|
716
|
+
key: "componentTags",
|
|
717
|
+
value: function componentTags(props) {
|
|
718
|
+
return {
|
|
719
|
+
'data-component': 'dropdown',
|
|
720
|
+
'data-element': props['data-element'],
|
|
721
|
+
'data-role': props['data-role']
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* Stubbed function allows this to be called on the parent without causign a console error
|
|
726
|
+
* This funciton is used by DropdownFilterAjax
|
|
727
|
+
*/
|
|
728
|
+
|
|
729
|
+
}, {
|
|
730
|
+
key: "render",
|
|
731
|
+
value:
|
|
732
|
+
/**
|
|
733
|
+
* Renders the component.
|
|
734
|
+
*
|
|
735
|
+
* @method render
|
|
736
|
+
*/
|
|
737
|
+
function render() {
|
|
738
|
+
return /*#__PURE__*/_react.default.createElement("div", _extends({
|
|
739
|
+
className: this.mainClasses
|
|
740
|
+
}, this.componentTags(this.props), {
|
|
741
|
+
"data-state": this.requestingState()
|
|
742
|
+
}), this.labelHTML, this.inputHTML, /*#__PURE__*/_react.default.createElement("input", this.hiddenInputProps), this.alternateHiddenHTML, this.validationHTML, this.fieldHelpHTML);
|
|
743
|
+
}
|
|
737
744
|
}]);
|
|
738
745
|
|
|
739
746
|
return Dropdown;
|
|
@@ -813,10 +820,6 @@ function (_React$Component) {
|
|
|
813
820
|
renderItem: _propTypes.default.func
|
|
814
821
|
}), _defineProperty(_class, "safeProps", ['disabled', 'readonly', 'autoFocus']), _defineProperty(_class, "defaultProps", {
|
|
815
822
|
cacheVisibleValue: false
|
|
816
|
-
|
|
817
|
-
* @constructor
|
|
818
|
-
*/
|
|
819
|
-
|
|
820
|
-
}), _temp)))));
|
|
823
|
+
}), _class)))));
|
|
821
824
|
var _default = Dropdown;
|
|
822
825
|
exports.default = _default;
|