@luminati-io/uikit 3.1.8 → 3.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -23917,7 +23917,7 @@ Checkbox.displayName = 'Checkbox';
23917
23917
  Checkbox.propTypes = {
23918
23918
  checked: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
23919
23919
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
23920
- label: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
23920
+ label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
23921
23921
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
23922
23922
  indeterminate: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
23923
23923
  verticalAlign: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['top', 'middle', 'bottom'])
@@ -23978,7 +23978,7 @@ __webpack_require__.r(__webpack_exports__);
23978
23978
  /* harmony export */ });
23979
23979
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isObject */ "./node_modules/lodash/isObject.js");
23980
23980
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_0__);
23981
- /* harmony import */ var date_fns_format__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! date-fns/format */ "./node_modules/date-fns/esm/format/index.js");
23981
+ /* harmony import */ var date_fns_format__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! date-fns/format */ "./node_modules/date-fns/esm/format/index.js");
23982
23982
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
23983
23983
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
23984
23984
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
@@ -23991,6 +23991,7 @@ __webpack_require__.r(__webpack_exports__);
23991
23991
  /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
23992
23992
  /* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./date_picker */ "./src/input/date_picker.js");
23993
23993
  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./dropdown */ "./src/input/dropdown/index.js");
23994
+ /* harmony import */ var _dropdown_menu_list__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./dropdown/menu_list */ "./src/input/dropdown/menu_list.js");
23994
23995
  // LICENSE_CODE ZON
23995
23996
 
23996
23997
 
@@ -24014,15 +24015,16 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
24014
24015
 
24015
24016
 
24016
24017
 
24018
+
24017
24019
  var CompareTo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
24018
24020
  var formatOptionLabel = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (opt) {
24019
24021
  if (opt && lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(opt)) {
24020
- var text = opt.value != 'custom' ? opt.label : (0,date_fns_format__WEBPACK_IMPORTED_MODULE_11__["default"])(opt.from, props.format);
24022
+ var text = opt.value != 'custom' ? opt.label : (0,date_fns_format__WEBPACK_IMPORTED_MODULE_12__["default"])(opt.from, props.format);
24021
24023
  return "".concat(props.placeholder, " ").concat(text);
24022
24024
  }
24023
24025
  return '';
24024
24026
  }, [props.format, props.placeholder]);
24025
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, props, {
24027
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_10__.Dropdown, _extends({}, props, {
24026
24028
  options: props.options || [],
24027
24029
  formatOptionLabel: props.formatOptionLabel || formatOptionLabel,
24028
24030
  components: {
@@ -24060,7 +24062,7 @@ var CompareToMenuList = function CompareToMenuList(props) {
24060
24062
  setValue(value, opt);
24061
24063
  setIsCustom(false);
24062
24064
  };
24063
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !isCustom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_10__.MenuList, props, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"].Item, {
24065
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !isCustom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown_menu_list__WEBPACK_IMPORTED_MODULE_11__.MenuList, props, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"].Item, {
24064
24066
  type: "item",
24065
24067
  className: cx({
24066
24068
  option: true
@@ -24339,7 +24341,9 @@ var Day = function Day(props) {
24339
24341
  role: "gridcell"
24340
24342
  });
24341
24343
  if (!dayRender.isButton) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", dayRender.divProps);
24342
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayWrapper, dayRender.activeModifiers, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_day_picker__WEBPACK_IMPORTED_MODULE_2__.Button, _extends({
24344
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayWrapper, {
24345
+ $mod: dayRender.activeModifiers
24346
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_day_picker__WEBPACK_IMPORTED_MODULE_2__.Button, _extends({
24343
24347
  name: "day",
24344
24348
  ref: buttonRef
24345
24349
  }, dayRender.buttonProps)));
@@ -24348,16 +24352,21 @@ Day.displayName = 'Day';
24348
24352
  var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
24349
24353
  displayName: "DayWrapper",
24350
24354
  componentId: "sc-1gurvxq-2"
24351
- })(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (props) {
24352
- return props.selected ? _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3 : _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white;
24353
- }, function (props) {
24354
- return props.range_middle || props.range_end && !props.range_start ? '0' : borderRadius;
24355
- }, function (props) {
24356
- return props.range_middle || props.range_end && !props.range_start ? '0' : borderRadius;
24357
- }, function (props) {
24358
- return props.range_middle || props.range_start && !props.range_end ? '0' : borderRadius;
24359
- }, function (props) {
24360
- return props.range_middle || props.range_start && !props.range_end ? '0' : borderRadius;
24355
+ })(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (_ref2) {
24356
+ var $mod = _ref2.$mod;
24357
+ return $mod.selected ? _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3 : _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white;
24358
+ }, function (_ref3) {
24359
+ var $mod = _ref3.$mod;
24360
+ return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
24361
+ }, function (_ref4) {
24362
+ var $mod = _ref4.$mod;
24363
+ return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
24364
+ }, function (_ref5) {
24365
+ var $mod = _ref5.$mod;
24366
+ return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
24367
+ }, function (_ref6) {
24368
+ var $mod = _ref6.$mod;
24369
+ return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
24361
24370
  }, borderRadius, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_family.sans, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_weight.regular, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_size.xs, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].line_height.none, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_7, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_weight.semibold, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_11);
24362
24371
  var getDateText = function getDateText(props) {
24363
24372
  var value = props.value,
@@ -24552,7 +24561,7 @@ __webpack_require__.r(__webpack_exports__);
24552
24561
 
24553
24562
 
24554
24563
  /*jslint react:true*/
24555
- var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "onCreateOption", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions"];
24564
+ var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "defaultOptions", "cacheOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData"];
24556
24565
  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); }
24557
24566
  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; }
24558
24567
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -24582,7 +24591,6 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
24582
24591
  onBlur = props.onBlur,
24583
24592
  multiselect = props.multiselect,
24584
24593
  creatable = props.creatable,
24585
- onCreateOption = props.onCreateOption,
24586
24594
  clearable = props.clearable,
24587
24595
  disabled = props.disabled,
24588
24596
  invalid = props.invalid,
@@ -24602,6 +24610,12 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
24602
24610
  async = props.async,
24603
24611
  isLoading = props.isLoading,
24604
24612
  loadOptions = props.loadOptions,
24613
+ defaultOptions = props.defaultOptions,
24614
+ cacheOptions = props.cacheOptions,
24615
+ onCreateOption = props.onCreateOption,
24616
+ formatCreateLabel = props.formatCreateLabel,
24617
+ isValidNewOption = props.isValidNewOption,
24618
+ getNewOptionData = props.getNewOptionData,
24605
24619
  rest = _objectWithoutProperties(props, _excluded);
24606
24620
  var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useLabelId)(props.id);
24607
24621
  var t = (0,_translation__WEBPACK_IMPORTED_MODULE_7__.useTranslate)();
@@ -24643,7 +24657,6 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
24643
24657
  onBlur: onBlur,
24644
24658
  isMulti: multiselect,
24645
24659
  isClearable: clearable,
24646
- onCreateOption: onCreateOption,
24647
24660
  isDisabled: disabled,
24648
24661
  required: required,
24649
24662
  styles: styles,
@@ -24660,7 +24673,13 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
24660
24673
  isOptionDisabled: _isOptionDisabled,
24661
24674
  isOptionSelected: isOptionSelected,
24662
24675
  isLoading: isLoading,
24663
- loadOptions: loadOptions
24676
+ loadOptions: loadOptions,
24677
+ defaultOptions: defaultOptions,
24678
+ cacheOptions: cacheOptions,
24679
+ onCreateOption: onCreateOption,
24680
+ formatCreateLabel: formatCreateLabel,
24681
+ isValidNewOption: isValidNewOption,
24682
+ getNewOptionData: getNewOptionData
24664
24683
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.HelperText, {
24665
24684
  invalid: invalid
24666
24685
  }, helperText));
@@ -24674,7 +24693,7 @@ Dropdown.propTypes = {
24674
24693
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24675
24694
  onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24676
24695
  onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24677
- placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24696
+ placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
24678
24697
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24679
24698
  required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24680
24699
  invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -24682,11 +24701,10 @@ Dropdown.propTypes = {
24682
24701
  labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24683
24702
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
24684
24703
  size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
24685
- options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)).isRequired,
24704
+ options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)),
24686
24705
  multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24687
24706
  clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24688
24707
  creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24689
- onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24690
24708
  classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24691
24709
  menuPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['bottom', 'auto', 'top']),
24692
24710
  virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -24700,8 +24718,14 @@ Dropdown.propTypes = {
24700
24718
  async: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24701
24719
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24702
24720
  loadOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24721
+ defaultOptions: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any))]),
24722
+ cacheOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
24703
24723
  components: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
24704
- styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
24724
+ styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
24725
+ onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24726
+ formatCreateLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24727
+ isValidNewOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24728
+ getNewOptionData: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
24705
24729
  };
24706
24730
  Dropdown.defaultProps = {
24707
24731
  size: 'sm',
@@ -24868,7 +24892,7 @@ __webpack_require__.r(__webpack_exports__);
24868
24892
  /* harmony export */ });
24869
24893
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
24870
24894
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
24871
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu */ "./src/menu/index.js");
24895
+ /* harmony import */ var _menu_menu_item_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu/menu_item_group */ "./src/menu/menu_item_group.js");
24872
24896
  // LICENSE_CODE ZON
24873
24897
 
24874
24898
 
@@ -24884,7 +24908,7 @@ var Group = function Group(props) {
24884
24908
  innerProps = props.innerProps,
24885
24909
  children = props.children,
24886
24910
  isFirstItem = props.isFirstItem;
24887
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_1__.MenuItemGroup, _extends({
24911
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu_menu_item_group__WEBPACK_IMPORTED_MODULE_1__.MenuItemGroup, _extends({
24888
24912
  ref: innerRef,
24889
24913
  isFirstItem: isFirstItem,
24890
24914
  className: cx({
@@ -24906,19 +24930,15 @@ var Group = function Group(props) {
24906
24930
  "use strict";
24907
24931
  __webpack_require__.r(__webpack_exports__);
24908
24932
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24909
- /* harmony export */ MenuList: () => (/* reexport safe */ _menu_list__WEBPACK_IMPORTED_MODULE_1__.MenuList),
24910
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24933
+ /* harmony export */ Dropdown: () => (/* reexport safe */ _dropdown__WEBPACK_IMPORTED_MODULE_0__.Dropdown)
24911
24934
  /* harmony export */ });
24912
24935
  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ "./src/input/dropdown/dropdown.js");
24913
- /* harmony import */ var _menu_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./menu_list */ "./src/input/dropdown/menu_list.js");
24914
24936
  // LICENSE_CODE ZON
24915
24937
 
24916
24938
 
24917
24939
  /*jslint react:true*/
24918
24940
 
24919
24941
 
24920
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_dropdown__WEBPACK_IMPORTED_MODULE_0__.Dropdown);
24921
-
24922
24942
  /***/ }),
24923
24943
 
24924
24944
  /***/ "./src/input/dropdown/menu_list.js":
@@ -24934,7 +24954,7 @@ __webpack_require__.r(__webpack_exports__);
24934
24954
  /* harmony export */ });
24935
24955
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
24936
24956
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
24937
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu */ "./src/menu/index.js");
24957
+ /* harmony import */ var _menu_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu/shared */ "./src/menu/shared.js");
24938
24958
  // LICENSE_CODE ZON
24939
24959
 
24940
24960
 
@@ -24949,7 +24969,7 @@ var MenuList = function MenuList(props) {
24949
24969
  innerRef = props.innerRef,
24950
24970
  innerProps = props.innerProps,
24951
24971
  children = props.children;
24952
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_1__.MenuContainer, _extends({
24972
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu_shared__WEBPACK_IMPORTED_MODULE_1__.MenuContainer, _extends({
24953
24973
  ref: innerRef,
24954
24974
  $noShadow: true,
24955
24975
  role: "menu",
@@ -24995,12 +25015,6 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
24995
25015
 
24996
25016
 
24997
25017
 
24998
- var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
24999
- displayName: "StyledItem",
25000
- componentId: "sc-10s9fdi-0"
25001
- })(["", ""], function (props) {
25002
- return props.selected ? "background-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3, ";") : undefined;
25003
- });
25004
25018
  var Option = function Option(props) {
25005
25019
  var data = props.data,
25006
25020
  className = props.className,
@@ -25026,9 +25040,17 @@ var Option = function Option(props) {
25026
25040
  tooltip: data.tooltip,
25027
25041
  disabled: isDisabled,
25028
25042
  selected: isSelected,
25043
+ $focused: isFocused,
25029
25044
  tag: tag
25030
25045
  }));
25031
25046
  };
25047
+ var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
25048
+ displayName: "StyledItem",
25049
+ componentId: "sc-10s9fdi-0"
25050
+ })(["background-color:", ";"], function (props) {
25051
+ if (props.selected) return _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3;
25052
+ if (props.$focused) return _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_2;
25053
+ });
25032
25054
 
25033
25055
  /***/ }),
25034
25056
 
@@ -25585,9 +25607,9 @@ __webpack_require__.r(__webpack_exports__);
25585
25607
  /* harmony export */ Checkbox: () => (/* reexport safe */ _checkbox__WEBPACK_IMPORTED_MODULE_0__["default"]),
25586
25608
  /* harmony export */ CompareTo: () => (/* reexport safe */ _compare_to__WEBPACK_IMPORTED_MODULE_1__["default"]),
25587
25609
  /* harmony export */ DatePicker: () => (/* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_2__["default"]),
25588
- /* harmony export */ Dropdown: () => (/* reexport safe */ _dropdown__WEBPACK_IMPORTED_MODULE_3__["default"]),
25610
+ /* harmony export */ Dropdown: () => (/* reexport safe */ _dropdown__WEBPACK_IMPORTED_MODULE_3__.Dropdown),
25589
25611
  /* harmony export */ Number: () => (/* reexport safe */ _number__WEBPACK_IMPORTED_MODULE_4__["default"]),
25590
- /* harmony export */ RadioGroup: () => (/* reexport safe */ _radio_group__WEBPACK_IMPORTED_MODULE_5__["default"]),
25612
+ /* harmony export */ RadioGroup: () => (/* reexport safe */ _radio_group__WEBPACK_IMPORTED_MODULE_5__.RadioGroup),
25591
25613
  /* harmony export */ Textarea: () => (/* reexport safe */ _textarea__WEBPACK_IMPORTED_MODULE_6__["default"]),
25592
25614
  /* harmony export */ Textbox: () => (/* reexport safe */ _textbox__WEBPACK_IMPORTED_MODULE_7__["default"]),
25593
25615
  /* harmony export */ Toggle: () => (/* reexport safe */ _toggle__WEBPACK_IMPORTED_MODULE_8__["default"])
@@ -25731,7 +25753,7 @@ var NumberField = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
25731
25753
  "use strict";
25732
25754
  __webpack_require__.r(__webpack_exports__);
25733
25755
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25734
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
25756
+ /* harmony export */ RadioGroup: () => (/* binding */ RadioGroup)
25735
25757
  /* harmony export */ });
25736
25758
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
25737
25759
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
@@ -25903,7 +25925,7 @@ Radio.propTypes = {
25903
25925
  value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
25904
25926
  checked: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
25905
25927
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
25906
- label: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
25928
+ label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
25907
25929
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
25908
25930
  verticalAlign: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['top', 'middle', 'bottom']),
25909
25931
  size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md'])
@@ -25958,7 +25980,6 @@ var RadioControl = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
25958
25980
  }
25959
25981
  return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["border-color:", ";background-color:", ";&:after{background-color:", ";}&:hover{border-color:", ";background-color:", ";}&:hover:after{background-color:", ";}&:active{border-color:", ";background-color:", ";", "}&:active:after{background-color:", ";}"], borderColor, backgroundColor, beforeColor, hoverBorderColor, hoverBackgroundColor, hoverBeforeColor, activeBorderColor, activeBackgroundColor, activeOutlineColor && "box-shadow: 0 0 0 3px ".concat(activeOutlineColor, ";"), activeBeforeColor);
25960
25982
  });
25961
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioGroup);
25962
25983
 
25963
25984
  /***/ }),
25964
25985
 
@@ -26160,7 +26181,7 @@ var InputLabel = function InputLabel(props) {
26160
26181
  };
26161
26182
  InputLabel.displayName = 'InputLabel';
26162
26183
  InputLabel.propTypes = {
26163
- label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
26184
+ label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
26164
26185
  labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
26165
26186
  required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
26166
26187
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'lg'])
@@ -26904,25 +26925,17 @@ StyledLink.displayName = 'StyledLink';
26904
26925
  "use strict";
26905
26926
  __webpack_require__.r(__webpack_exports__);
26906
26927
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
26907
- /* harmony export */ MenuContainer: () => (/* reexport safe */ _shared__WEBPACK_IMPORTED_MODULE_3__.MenuContainer),
26908
- /* harmony export */ MenuItemContainer: () => (/* reexport safe */ _shared__WEBPACK_IMPORTED_MODULE_3__.MenuItemContainer),
26909
- /* harmony export */ MenuItemGroup: () => (/* reexport safe */ _menu_item_group__WEBPACK_IMPORTED_MODULE_2__["default"]),
26910
26928
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
26911
26929
  /* harmony export */ });
26912
26930
  /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
26913
26931
  /* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./menu_item */ "./src/menu/menu_item.js");
26914
- /* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
26915
- /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
26916
26932
  // LICENSE_CODE ZON
26917
26933
 
26918
26934
 
26919
26935
  /*jslint react:true*/
26920
26936
 
26921
26937
 
26922
-
26923
-
26924
26938
  _menu__WEBPACK_IMPORTED_MODULE_0__["default"].Item = _menu_item__WEBPACK_IMPORTED_MODULE_1__["default"];
26925
-
26926
26939
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_menu__WEBPACK_IMPORTED_MODULE_0__["default"]);
26927
26940
 
26928
26941
  /***/ }),
@@ -27065,7 +27078,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
27065
27078
  });
27066
27079
  var isSubMenu = subMenu || subItems;
27067
27080
  if (type == 'group') {
27068
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__["default"], _extends({
27081
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__.MenuItemGroup, _extends({
27069
27082
  ref: ref,
27070
27083
  text: text,
27071
27084
  isFirstItem: isFirstItem
@@ -27285,7 +27298,7 @@ var StyledHr = styled_components__WEBPACK_IMPORTED_MODULE_1___default().hr.withC
27285
27298
  "use strict";
27286
27299
  __webpack_require__.r(__webpack_exports__);
27287
27300
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27288
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
27301
+ /* harmony export */ MenuItemGroup: () => (/* binding */ MenuItemGroup)
27289
27302
  /* harmony export */ });
27290
27303
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
27291
27304
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
@@ -27329,7 +27342,6 @@ var GroupTitle = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typog
27329
27342
  displayName: "GroupTitle",
27330
27343
  componentId: "sc-q9wnng-0"
27331
27344
  })(["display:flex;align-items:center;justify-content:flex-start;padding:8px 12px 0;width:100%;height:28px;box-sizing:border-box;"]);
27332
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MenuItemGroup);
27333
27345
 
27334
27346
  /***/ }),
27335
27347