@luminati-io/uikit 6.1.0 → 6.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -31911,8 +31911,7 @@ __webpack_require__.r(__webpack_exports__);
31911
31911
 
31912
31912
  /*jslint react:true*/
31913
31913
  var _excluded = ["text", "variant", "size", "items", "disabled", "onClick", "icon", "iconPlacement"],
31914
- _excluded2 = ["isLeft"],
31915
- _excluded3 = ["popover"];
31914
+ _excluded2 = ["isLeft"];
31916
31915
  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); }
31917
31916
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
31918
31917
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
@@ -31980,24 +31979,24 @@ ComboButton.propTypes = {
31980
31979
  items: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)).isRequired,
31981
31980
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
31982
31981
  };
31983
- var ComboButtonMenu = function ComboButtonMenu(props) {
31984
- var size = props.size,
31985
- items = props.items,
31986
- popover = props.popover;
31982
+ var ComboButtonMenu = function ComboButtonMenu(_ref2) {
31983
+ var size = _ref2.size,
31984
+ items = _ref2.items,
31985
+ popover = _ref2.popover;
31987
31986
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__.Menu, {
31988
31987
  size: size,
31989
31988
  items: items,
31990
31989
  onClick: popover.hide
31991
31990
  });
31992
31991
  };
31993
- var ArrowIcon = function ArrowIcon(props) {
31994
- var popover = props.popover,
31995
- rest = _objectWithoutProperties(props, _excluded3);
31996
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonArrow, _extends({
31997
- onClick: popover.toggle
31998
- }, rest, {
31992
+ var ArrowIcon = function ArrowIcon(_ref3) {
31993
+ var popover = _ref3.popover,
31994
+ disabled = _ref3.disabled;
31995
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonArrow, {
31996
+ onClick: popover.toggle,
31997
+ disabled: disabled,
31999
31998
  "data-testid": "combo_button_menu_button"
32000
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
31999
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
32001
32000
  name: "ChevronDown",
32002
32001
  size: "xs"
32003
32002
  }));
@@ -33083,7 +33082,7 @@ __webpack_require__.r(__webpack_exports__);
33083
33082
 
33084
33083
  /*jslint react:true*/
33085
33084
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
33086
- var _excluded = ["id", "checked", "onChange", "onClick", "label", "disabled", "tooltip", "indeterminate", "verticalAlign", "className", "classNamePrefix"];
33085
+ var _excluded = ["id", "name", "checked", "onChange", "onClick", "label", "disabled", "tooltip", "indeterminate", "verticalAlign", "className", "classNamePrefix"];
33087
33086
  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); }
33088
33087
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33089
33088
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
@@ -33099,6 +33098,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
33099
33098
 
33100
33099
  var Checkbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
33101
33100
  var id = _ref.id,
33101
+ name = _ref.name,
33102
33102
  checked = _ref.checked,
33103
33103
  onChange = _ref.onChange,
33104
33104
  onClick = _ref.onClick,
@@ -33131,6 +33131,7 @@ var Checkbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
33131
33131
  }, 'checkbox--is-checked', checked), 'checkbox--is-disabled', disabled), 'checkbox--is-indeterminate', indeterminate), className)
33132
33132
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CheckboxControl, {
33133
33133
  id: id,
33134
+ name: name,
33134
33135
  role: "checkbox",
33135
33136
  "aria-checked": checked ? true : indeterminate ? 'mixed' : false,
33136
33137
  "aria-disabled": disabled,
@@ -36198,6 +36199,7 @@ Number.propTypes = {
36198
36199
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
36199
36200
  onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
36200
36201
  onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
36202
+ onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
36201
36203
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
36202
36204
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
36203
36205
  required: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
@@ -37434,7 +37436,7 @@ __webpack_require__.r(__webpack_exports__);
37434
37436
 
37435
37437
  /*jslint react:true*/
37436
37438
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
37437
- var _excluded = ["id", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "fieldRef", "onChange", "onFocus", "onBlur", "placeholder", "disabled", "invalid", "autofocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper"];
37439
+ var _excluded = ["id", "name", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "fieldRef", "onChange", "onFocus", "onBlur", "onKeyDown", "placeholder", "disabled", "invalid", "autofocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper"];
37438
37440
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
37439
37441
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
37440
37442
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
@@ -37462,6 +37464,7 @@ var inputVerticalPadding = 4;
37462
37464
  var inputHorizontalPadding = 12;
37463
37465
  var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
37464
37466
  var id = props.id,
37467
+ name = props.name,
37465
37468
  value = props.value,
37466
37469
  leftInnerContent = props.leftInnerContent,
37467
37470
  leftOuterContent = props.leftOuterContent,
@@ -37473,6 +37476,7 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
37473
37476
  onChange = props.onChange,
37474
37477
  onFocus = props.onFocus,
37475
37478
  onBlur = props.onBlur,
37479
+ onKeyDown = props.onKeyDown,
37476
37480
  placeholder = props.placeholder,
37477
37481
  disabled = props.disabled,
37478
37482
  invalid = props.invalid,
@@ -37538,9 +37542,12 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
37538
37542
  $heightCalculationCallback: heightCalculationCallback,
37539
37543
  $verticalAlign: verticalAlign,
37540
37544
  onClick: onWrapperClick
37541
- }, leftInnerContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Field, _extends({}, props.inputProps, {
37545
+ }, leftInnerContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Field, _extends({
37546
+ onKeyDown: onKeyDown
37547
+ }, props.inputProps, {
37542
37548
  ref: setFieldRefs,
37543
37549
  id: id,
37550
+ name: name,
37544
37551
  disabled: disabled,
37545
37552
  onChange: onChange,
37546
37553
  onFocus: onFieldFocus,
@@ -37790,8 +37797,14 @@ __webpack_require__.r(__webpack_exports__);
37790
37797
 
37791
37798
 
37792
37799
  /*jslint react:true*/
37793
- var _excluded = ["onChange", "rows", "maxRows", "placeholder"];
37800
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
37801
+ var _excluded = ["onChange", "rows", "maxRows", "placeholder", "inputProps", "minLength", "maxLength"];
37794
37802
  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); }
37803
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
37804
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37805
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
37806
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
37807
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37795
37808
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
37796
37809
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
37797
37810
 
@@ -37806,6 +37819,9 @@ var Textarea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37806
37819
  rows = _ref$rows === void 0 ? 1 : _ref$rows,
37807
37820
  maxRows = _ref.maxRows,
37808
37821
  placeholder = _ref.placeholder,
37822
+ inputProps = _ref.inputProps,
37823
+ minLength = _ref.minLength,
37824
+ maxLength = _ref.maxLength,
37809
37825
  rest = _objectWithoutProperties(_ref, _excluded);
37810
37826
  var handleChange = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) {
37811
37827
  onChange === null || onChange === void 0 || onChange(e.target.value, e);
@@ -37825,7 +37841,11 @@ var Textarea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37825
37841
  heightCalculationCallback: heightCalculationCallback,
37826
37842
  Field: Area,
37827
37843
  onChange: handleChange,
37828
- placeholder: t(placeholder)
37844
+ placeholder: t(placeholder),
37845
+ inputProps: _objectSpread({
37846
+ minLength: minLength,
37847
+ maxLength: maxLength
37848
+ }, inputProps)
37829
37849
  }));
37830
37850
  });
37831
37851
  Textarea.propTypes = {
@@ -37833,6 +37853,7 @@ Textarea.propTypes = {
37833
37853
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37834
37854
  onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37835
37855
  onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37856
+ onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37836
37857
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
37837
37858
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37838
37859
  required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -37852,7 +37873,9 @@ Textarea.propTypes = {
37852
37873
  })]),
37853
37874
  autofocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37854
37875
  rows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
37855
- maxRows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
37876
+ maxRows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
37877
+ minLength: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
37878
+ maxLength: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
37856
37879
  };
37857
37880
  Textarea.displayName = 'Textarea';
37858
37881
  var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.withConfig({
@@ -37898,8 +37921,14 @@ __webpack_require__.r(__webpack_exports__);
37898
37921
 
37899
37922
 
37900
37923
  /*jslint react:true*/
37901
- var _excluded = ["size", "onChange", "placeholder"];
37924
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
37925
+ var _excluded = ["size", "onChange", "placeholder", "inputProps", "minLength", "maxLength"];
37902
37926
  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); }
37927
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
37928
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37929
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
37930
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
37931
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37903
37932
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
37904
37933
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
37905
37934
 
@@ -37910,6 +37939,9 @@ var Textbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardR
37910
37939
  var size = _ref.size,
37911
37940
  onChange = _ref.onChange,
37912
37941
  placeholder = _ref.placeholder,
37942
+ inputProps = _ref.inputProps,
37943
+ minLength = _ref.minLength,
37944
+ maxLength = _ref.maxLength,
37913
37945
  rest = _objectWithoutProperties(_ref, _excluded);
37914
37946
  var handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
37915
37947
  return onChange === null || onChange === void 0 ? void 0 : onChange(e.target.value, e);
@@ -37923,7 +37955,11 @@ var Textbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardR
37923
37955
  verticalAlign: "center",
37924
37956
  Field: _shared__WEBPACK_IMPORTED_MODULE_3__.Field,
37925
37957
  onChange: handleChange,
37926
- placeholder: t(placeholder)
37958
+ placeholder: t(placeholder),
37959
+ inputProps: _objectSpread({
37960
+ minLength: minLength,
37961
+ maxLength: maxLength
37962
+ }, inputProps)
37927
37963
  }));
37928
37964
  });
37929
37965
  Textbox.propTypes = {
@@ -37931,6 +37967,7 @@ Textbox.propTypes = {
37931
37967
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37932
37968
  onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37933
37969
  onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37970
+ onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37934
37971
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
37935
37972
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37936
37973
  required: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
@@ -37949,7 +37986,9 @@ Textbox.propTypes = {
37949
37986
  autofocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37950
37987
  fieldRef: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().func), prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
37951
37988
  current: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(Element)
37952
- })])
37989
+ })]),
37990
+ minLength: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
37991
+ maxLength: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)
37953
37992
  };
37954
37993
  Textbox.displayName = 'Textbox';
37955
37994
 
@@ -38481,7 +38520,7 @@ __webpack_require__.r(__webpack_exports__);
38481
38520
 
38482
38521
 
38483
38522
  /*jslint react:true*/
38484
- var _excluded = ["id", "value", "label", "disabled", "size", "onChange"];
38523
+ var _excluded = ["id", "name", "value", "label", "disabled", "size", "onChange"];
38485
38524
  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); }
38486
38525
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
38487
38526
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
@@ -38493,6 +38532,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
38493
38532
 
38494
38533
  var Toggle = function Toggle(_ref) {
38495
38534
  var id = _ref.id,
38535
+ name = _ref.name,
38496
38536
  value = _ref.value,
38497
38537
  label = _ref.label,
38498
38538
  disabled = _ref.disabled,
@@ -38508,6 +38548,7 @@ var Toggle = function Toggle(_ref) {
38508
38548
  $size: size
38509
38549
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleInput, {
38510
38550
  id: id,
38551
+ name: name,
38511
38552
  $size: size,
38512
38553
  checked: value,
38513
38554
  onChange: handleChange,