@luminati-io/uikit 6.3.9 → 6.3.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -39314,7 +39314,7 @@ CodeBlock.propTypes = {
39314
39314
  header: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
39315
39315
  code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
39316
39316
  lang: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
39317
- maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
39317
+ maxHeight: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)]),
39318
39318
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['black', 'white']),
39319
39319
  lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
39320
39320
  copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -39378,6 +39378,12 @@ __webpack_require__.r(__webpack_exports__);
39378
39378
 
39379
39379
 
39380
39380
  /*jslint react:true*/
39381
+ 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); }
39382
+ 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; }
39383
+ 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; }
39384
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
39385
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
39386
+ 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); }
39381
39387
 
39382
39388
 
39383
39389
 
@@ -39389,6 +39395,7 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
39389
39395
  var code = _ref.code,
39390
39396
  lang = _ref.lang,
39391
39397
  className = _ref.className,
39398
+ style = _ref.style,
39392
39399
  lineNumbers = _ref.lineNumbers,
39393
39400
  copyButton = _ref.copyButton,
39394
39401
  loading = _ref.loading,
@@ -39403,9 +39410,9 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
39403
39410
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeSnippetWrapper, {
39404
39411
  ref: ref,
39405
39412
  className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, {}, className, variant),
39406
- style: maxHeight ? {
39413
+ style: maxHeight ? _objectSpread({
39407
39414
  maxHeight: maxHeight
39408
- } : undefined
39415
+ }, style) : style
39409
39416
  }, !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_5__.CopyButton, {
39410
39417
  placement: copyButtonPlacement,
39411
39418
  className: copyButtonClassName,
@@ -39429,7 +39436,7 @@ CodeSnippet.propTypes = {
39429
39436
  className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
39430
39437
  code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
39431
39438
  lang: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
39432
- maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
39439
+ maxHeight: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)]),
39433
39440
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['black', 'white']),
39434
39441
  lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
39435
39442
  copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
@@ -42001,7 +42008,7 @@ var useStyles = function useStyles(_ref) {
42001
42008
  },
42002
42009
  placeholder: function placeholder(baseStyles) {
42003
42010
  return _objectSpread(_objectSpread({}, baseStyles), {}, {
42004
- color: color.text_quaternary
42011
+ color: color.text_disabled
42005
42012
  });
42006
42013
  },
42007
42014
  menu: function menu(baseStyles) {
@@ -42625,10 +42632,10 @@ Day.displayName = 'Day';
42625
42632
  var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
42626
42633
  displayName: "DayWrapper",
42627
42634
  componentId: "sc-1gurvxq-2"
42628
- })(["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 (_ref28) {
42635
+ })(["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){background-color:", ";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 (_ref28) {
42629
42636
  var $mod = _ref28.$mod,
42630
42637
  color = _ref28.theme.color;
42631
- return $mod.selected ? color.bg_fill_primary_hover : color.bg_elevated;
42638
+ return $mod.selected ? color.bg_fill_primary_secondary : color.bg;
42632
42639
  }, function (_ref29) {
42633
42640
  var $mod = _ref29.$mod;
42634
42641
  return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
@@ -42643,10 +42650,10 @@ var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.wi
42643
42650
  return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
42644
42651
  }, borderRadius, function (_ref33) {
42645
42652
  var color = _ref33.theme.color;
42646
- return color.bg_elevated;
42653
+ return color.bg;
42647
42654
  }, function (_ref34) {
42648
42655
  var color = _ref34.theme.color;
42649
- return color.bg_elevated;
42656
+ return color.bg;
42650
42657
  }, function (_ref35) {
42651
42658
  var font_family = _ref35.theme.font_family;
42652
42659
  return font_family.sans;
@@ -42664,36 +42671,39 @@ var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.wi
42664
42671
  return color.text_secondary;
42665
42672
  }, function (_ref40) {
42666
42673
  var color = _ref40.theme.color;
42667
- return color.border_primary_hover;
42674
+ return color.bg_elevated;
42668
42675
  }, function (_ref41) {
42669
42676
  var color = _ref41.theme.color;
42670
- return color.text_disabled;
42677
+ return color.border_primary_hover;
42671
42678
  }, function (_ref42) {
42672
42679
  var color = _ref42.theme.color;
42673
- return color.text_primary;
42680
+ return color.text_disabled;
42674
42681
  }, function (_ref43) {
42675
- var font_weight = _ref43.theme.font_weight;
42676
- return font_weight.semibold;
42682
+ var color = _ref43.theme.color;
42683
+ return color.text_primary;
42677
42684
  }, function (_ref44) {
42678
- var color = _ref44.theme.color;
42679
- return color.bg_fill_primary_hover;
42685
+ var font_weight = _ref44.theme.font_weight;
42686
+ return font_weight.semibold;
42680
42687
  }, function (_ref45) {
42681
42688
  var color = _ref45.theme.color;
42682
42689
  return color.bg_fill_primary_hover;
42683
42690
  }, function (_ref46) {
42684
42691
  var color = _ref46.theme.color;
42685
- return color.text_white;
42692
+ return color.bg_fill_primary_hover;
42686
42693
  }, function (_ref47) {
42687
42694
  var color = _ref47.theme.color;
42688
- return color.bg_fill_primary_hover;
42695
+ return color.text_white;
42689
42696
  }, function (_ref48) {
42690
42697
  var color = _ref48.theme.color;
42691
- return color.bg_fill_primary_hover;
42698
+ return color.bg_fill_primary_secondary;
42692
42699
  }, function (_ref49) {
42693
42700
  var color = _ref49.theme.color;
42694
- return color.text_secondary;
42701
+ return color.bg_fill_primary_secondary;
42695
42702
  }, function (_ref50) {
42696
42703
  var color = _ref50.theme.color;
42704
+ return color.text_secondary;
42705
+ }, function (_ref51) {
42706
+ var color = _ref51.theme.color;
42697
42707
  return color.text_primary;
42698
42708
  });
42699
42709
  var getDateText = function getDateText(props) {
@@ -43728,7 +43738,7 @@ var useStyles = function useStyles(_ref) {
43728
43738
  },
43729
43739
  placeholder: function placeholder(baseStyles) {
43730
43740
  return _objectSpread(_objectSpread({}, baseStyles), {}, {
43731
- color: color.text_quaternary
43741
+ color: color.text_disabled
43732
43742
  });
43733
43743
  },
43734
43744
  indicatorsContainer: function indicatorsContainer(baseStyles) {
@@ -44766,24 +44776,27 @@ var NumberInput = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
44766
44776
  }).withConfig({
44767
44777
  displayName: "NumberInput",
44768
44778
  componentId: "sc-13mfzjc-1"
44769
- })(["padding:0;outline:none;border:0;width:100%;color:inherit;background:inherit;&:focus{margin-right:21px;}appearance:textfield;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;}"]);
44779
+ })(["padding:0;outline:none;border:0;width:100%;color:inherit;background:inherit;::placeholder{color:", ";}&:focus{margin-right:21px;}appearance:textfield;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;}"], function (_ref2) {
44780
+ var color = _ref2.theme.color;
44781
+ return color.text_disabled;
44782
+ });
44770
44783
  var Buttons = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
44771
44784
  displayName: "Buttons",
44772
44785
  componentId: "sc-13mfzjc-2"
44773
- })(["position:absolute;top:0;right:0;display:flex;flex-direction:column;border-top-right-radius:4px;border-bottom-right-radius:4px;height:100%;div[role=\"button\"]{box-sizing:border-box;min-height:0;height:50%;background:", ";border-left:1px solid ", ";padding:2px 4px;display:flex;align-items:center;cursor:pointer;&.up{border-top-right-radius:4px;}&.down{border-bottom-right-radius:4px;border-top:1px solid ", ";}&:hover{background:", ";svg{color:", ";}}}"], function (_ref2) {
44774
- var color = _ref2.theme.color;
44775
- return color.bg;
44776
- }, function (_ref3) {
44786
+ })(["position:absolute;top:0;right:0;display:flex;flex-direction:column;border-top-right-radius:4px;border-bottom-right-radius:4px;height:100%;div[role=\"button\"]{box-sizing:border-box;min-height:0;height:50%;background:", ";border-left:1px solid ", ";padding:2px 4px;display:flex;align-items:center;cursor:pointer;&.up{border-top-right-radius:4px;}&.down{border-bottom-right-radius:4px;border-top:1px solid ", ";}&:hover{background:", ";svg{color:", ";}}}"], function (_ref3) {
44777
44787
  var color = _ref3.theme.color;
44778
- return color.border;
44788
+ return color.bg;
44779
44789
  }, function (_ref4) {
44780
44790
  var color = _ref4.theme.color;
44781
44791
  return color.border;
44782
44792
  }, function (_ref5) {
44783
44793
  var color = _ref5.theme.color;
44784
- return color.bg_fill_secondary;
44794
+ return color.border;
44785
44795
  }, function (_ref6) {
44786
44796
  var color = _ref6.theme.color;
44797
+ return color.bg_fill_secondary;
44798
+ }, function (_ref7) {
44799
+ var color = _ref7.theme.color;
44787
44800
  return color.icon_accent;
44788
44801
  });
44789
44802
 
@@ -46109,7 +46122,7 @@ var Field = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.withC
46109
46122
  return color.text;
46110
46123
  }, function (_ref6) {
46111
46124
  var color = _ref6.theme.color;
46112
- return color.text_quaternary;
46125
+ return color.text_disabled;
46113
46126
  });
46114
46127
  var InputLabel = function InputLabel(_ref7) {
46115
46128
  var className = _ref7.className,
@@ -46496,7 +46509,7 @@ var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.wit
46496
46509
  return line_height.none;
46497
46510
  }, function (_ref6) {
46498
46511
  var color = _ref6.theme.color;
46499
- return color.text_quaternary;
46512
+ return color.text_disabled;
46500
46513
  });
46501
46514
 
46502
46515
  /***/ }),
@@ -48887,7 +48900,7 @@ __webpack_require__.r(__webpack_exports__);
48887
48900
 
48888
48901
 
48889
48902
  /*jslint react:true*/
48890
- var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose"];
48903
+ var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose", "destroyOnClose"];
48891
48904
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
48892
48905
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
48893
48906
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -48932,6 +48945,8 @@ var Modal2 = function Modal2(_ref) {
48932
48945
  _ref$minHeight = _ref.minHeight,
48933
48946
  minHeight = _ref$minHeight === void 0 ? 300 : _ref$minHeight,
48934
48947
  afterClose = _ref.afterClose,
48948
+ _ref$destroyOnClose = _ref.destroyOnClose,
48949
+ destroyOnClose = _ref$destroyOnClose === void 0 ? true : _ref$destroyOnClose,
48935
48950
  rest = _objectWithoutProperties(_ref, _excluded);
48936
48951
  var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)();
48937
48952
  var width = _base_js__WEBPACK_IMPORTED_MODULE_10__.MODAL_WIDTHS[size] || _base_js__WEBPACK_IMPORTED_MODULE_10__.MODAL_WIDTHS.md;
@@ -48976,6 +48991,7 @@ var Modal2 = function Modal2(_ref) {
48976
48991
  }
48977
48992
  },
48978
48993
  afterClose: afterClose,
48994
+ destroyOnClose: destroyOnClose,
48979
48995
  keyboard: false,
48980
48996
  animation: "zoom",
48981
48997
  maskAnimation: "fade"
@@ -49002,7 +49018,8 @@ Modal2.propTypes = {
49002
49018
  zIndex: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
49003
49019
  minHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
49004
49020
  afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
49005
- icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
49021
+ icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
49022
+ destroyOnClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
49006
49023
  };
49007
49024
  var prefixCls = function prefixCls(p) {
49008
49025
  return p.$prefixCls;
@@ -52911,7 +52928,7 @@ __webpack_require__.r(__webpack_exports__);
52911
52928
 
52912
52929
  /*jslint react:true*/
52913
52930
  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); }
52914
- var _excluded = ["provided", "style", "measureContentSize"];
52931
+ var _excluded = ["provided", "style", "measureContentSize", "registerChild"];
52915
52932
  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; }
52916
52933
  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; }
52917
52934
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
@@ -53010,6 +53027,7 @@ var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(
53010
53027
  _wrapperProps$style = wrapperProps.style,
53011
53028
  style = _wrapperProps$style === void 0 ? {} : _wrapperProps$style,
53012
53029
  measureContentSize = wrapperProps.measureContentSize,
53030
+ registerChild = wrapperProps.registerChild,
53013
53031
  rest = _objectWithoutProperties(wrapperProps, _excluded);
53014
53032
  var _wrapperProps = _objectSpread(_objectSpread(_objectSpread({}, rest), provided.draggableProps), {}, {
53015
53033
  style: _objectSpread(_objectSpread({}, style), (_provided$draggablePr = provided.draggableProps) === null || _provided$draggablePr === void 0 ? void 0 : _provided$draggablePr.style)
@@ -53017,7 +53035,9 @@ var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(
53017
53035
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {
53018
53036
  return measureContentSize === null || measureContentSize === void 0 ? void 0 : measureContentSize();
53019
53037
  }, []);
53020
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _wrapperProps, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
53038
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
53039
+ ref: registerChild
53040
+ }, _wrapperProps), children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
53021
53041
  style: {
53022
53042
  visibility: 'hidden'
53023
53043
  }
@@ -54076,9 +54096,12 @@ var Body = function Body(props) {
54076
54096
  type: 'ROWS'
54077
54097
  };
54078
54098
  }, []);
54079
- if (virtualized) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_virtualized_body__WEBPACK_IMPORTED_MODULE_11__.VirtualizedBody, _extends({}, props, {
54080
- droppableProps: droppableProps
54081
- }));
54099
+ if (virtualized) {
54100
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_virtualized_body__WEBPACK_IMPORTED_MODULE_11__.VirtualizedBody, _extends({}, props, {
54101
+ draggableRows: draggableRows,
54102
+ droppableProps: droppableProps
54103
+ }));
54104
+ }
54082
54105
  if (draggableRows) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_12__.DroppableBody, _extends({}, props, {
54083
54106
  droppableProps: droppableProps
54084
54107
  }));
@@ -54299,8 +54322,7 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
54299
54322
  parent = props.parent,
54300
54323
  rowHoverEvents = props.rowHoverEvents,
54301
54324
  draggableRows = props.draggableRows;
54302
- // padding is needed to see the divider between rows
54303
- // when new rows are added
54325
+ // padding is needed to see the divider between rows when new rows are added
54304
54326
  var _style = _objectSpread(_objectSpread({}, style), {}, {
54305
54327
  padding: '0.3px 0'
54306
54328
  });
@@ -54310,7 +54332,8 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
54310
54332
  columnIndex: 0,
54311
54333
  rowIndex: index
54312
54334
  }, function (_ref) {
54313
- var measure = _ref.measure;
54335
+ var measure = _ref.measure,
54336
+ registerChild = _ref.registerChild;
54314
54337
  if (draggableRows) {
54315
54338
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_4__.DraggableWrapper, {
54316
54339
  key: row.id,
@@ -54333,7 +54356,12 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
54333
54356
  }
54334
54357
  return renderRow({
54335
54358
  row: row,
54336
- index: index
54359
+ index: index,
54360
+ wrapperProps: _objectSpread(_objectSpread({}, rowHoverEvents), {}, {
54361
+ style: _style,
54362
+ measureContentSize: measure,
54363
+ registerChild: registerChild
54364
+ })
54337
54365
  });
54338
54366
  });
54339
54367
  });
@@ -54409,72 +54437,46 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
54409
54437
  return acc += measurerCache.current.getHeight(index, 0);
54410
54438
  }, 0));
54411
54439
  }, [listDOMRef, rows]);
54440
+ var getBody = function getBody(provided) {
54441
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
54442
+ style: {
54443
+ height: _height,
54444
+ maxHeight: maxHeight,
54445
+ width: '100%'
54446
+ }
54447
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.AutoSizer, null, function (_ref3) {
54448
+ var width = _ref3.width,
54449
+ height = _ref3.height;
54450
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
54451
+ width: width,
54452
+ height: height,
54453
+ overscanRowCount: 5,
54454
+ estimatedRowSize: 30,
54455
+ rowHeight: measurerCache.current.rowHeight,
54456
+ rowCount: rows.length,
54457
+ deferredMeasurementCache: measurerCache.current,
54458
+ ref: listRefHandler(setListDOMRef, provided),
54459
+ rowRenderer: rowRenderer(rows, measurerCache, renderRow, rowHoverEvents, draggableRows)
54460
+ });
54461
+ })), renderHoverActions());
54462
+ };
54412
54463
  if (draggableRows) {
54413
54464
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_6__.Droppable, _extends({}, droppableProps, {
54414
54465
  mode: "virtual",
54415
54466
  renderClone: renderClone(rows, renderRow)
54416
54467
  }), function (provided) {
54417
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(VirtualizedBodyList, {
54418
- rows: rows,
54419
- measurerCache: measurerCache,
54420
- renderRow: renderRow,
54421
- rowHoverEvents: rowHoverEvents,
54422
- style: {
54423
- height: _height,
54424
- maxHeight: maxHeight,
54425
- width: '100%'
54426
- },
54427
- listRef: listRefHandler(setListDOMRef, provided),
54428
- draggableRows: true
54429
- }), renderHoverActions());
54468
+ return getBody(provided);
54430
54469
  });
54431
54470
  }
54432
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(VirtualizedBodyList, {
54433
- rows: rows,
54434
- measurerCache: measurerCache,
54435
- renderRow: renderRow,
54436
- rowHoverEvents: rowHoverEvents,
54437
- style: {
54438
- height: _height,
54439
- maxHeight: maxHeight,
54440
- width: '100%'
54441
- },
54442
- listRef: listRefHandler(setListDOMRef, undefined)
54443
- });
54471
+ return getBody(null);
54444
54472
  };
54445
54473
  var VirtualizedBody = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(VirtualizedBodyComp);
54446
54474
  VirtualizedBody.displayName = 'VirtualizedBody';
54447
- var VirtualizedBodyList = function VirtualizedBodyList(_ref3) {
54448
- var rows = _ref3.rows,
54449
- measurerCache = _ref3.measurerCache,
54450
- renderRow = _ref3.renderRow,
54451
- rowHoverEvents = _ref3.rowHoverEvents,
54452
- style = _ref3.style,
54453
- listRef = _ref3.listRef,
54454
- draggableRows = _ref3.draggableRows;
54455
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
54456
- style: style
54457
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.AutoSizer, null, function (_ref4) {
54458
- var width = _ref4.width,
54459
- height = _ref4.height;
54460
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
54461
- width: width,
54462
- height: height,
54463
- overscanRowCount: 5,
54464
- estimatedRowSize: 30,
54465
- rowHeight: measurerCache.current.rowHeight,
54466
- rowCount: rows.length,
54467
- deferredMeasurementCache: measurerCache.current,
54468
- ref: listRef,
54469
- rowRenderer: rowRenderer(rows, measurerCache, renderRow, rowHoverEvents, draggableRows)
54470
- });
54471
- }));
54472
- };
54473
54475
  var StyledList = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.List).withConfig({
54474
54476
  displayName: "StyledList",
54475
54477
  componentId: "sc-1mdy9tq-0"
54476
- })(["", ""], function (_ref5) {
54477
- var scrollbars = _ref5.theme.scrollbars;
54478
+ })(["", ""], function (_ref4) {
54479
+ var scrollbars = _ref4.theme.scrollbars;
54478
54480
  return scrollbars.thin;
54479
54481
  });
54480
54482
 
@@ -54957,9 +54959,11 @@ var lineHeight = {
54957
54959
  snug: '125%',
54958
54960
  loose: '150%'
54959
54961
  };
54960
- var scrollbars = {
54961
- thin: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:#ffffff #dfe3e6;scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:#ffffff;}&::-webkit-scrollbar-thumb{background-color:#dfe3e6;border-radius:2px;}"]),
54962
- auto: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:#ffffff #dfe3e6;scrollbar-width:auto;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:#ffffff;}&::-webkit-scrollbar-thumb{background-color:#dfe3e6;border-radius:4px;}"])
54962
+ var scrollbars = function scrollbars(theme) {
54963
+ return {
54964
+ thin: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:", " ", ";scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:2px;}&::-webkit-scrollbar-corner{background-color:", ";}"], theme.color.bg, theme.color.scroll, theme.color.bg, theme.color.scroll, theme.color.bg),
54965
+ auto: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:", " ", ";scrollbar-width:auto;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:4px;}&::-webkit-scrollbar-corner{background-color:", ";}"], theme.color.bg, theme.color.scroll, theme.color.bg, theme.color.scroll, theme.color.bg)
54966
+ };
54963
54967
  };
54964
54968
  var chartPalette = ['#AA99EC', '#3DB9CF', '#E58FB1', '#EBBC00', '#94BA2C', '#D09E72', '#0091FF', '#E5484D', '#12A594', '#FFB224'];
54965
54969
  var color = {
@@ -55328,7 +55332,6 @@ var componentDark = _objectSpread(_objectSpread({}, componentLight), {}, {
55328
55332
  __webpack_require__.r(__webpack_exports__);
55329
55333
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
55330
55334
  /* harmony export */ ThemeProvider: () => (/* binding */ ThemeProvider),
55331
- /* harmony export */ color: () => (/* reexport safe */ _constant__WEBPACK_IMPORTED_MODULE_3__.color),
55332
55335
  /* harmony export */ darkTheme: () => (/* binding */ darkTheme),
55333
55336
  /* harmony export */ lightTheme: () => (/* binding */ lightTheme),
55334
55337
  /* harmony export */ useTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)
@@ -55361,7 +55364,6 @@ var baseTheme = {
55361
55364
  letter_spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.letterSpacing,
55362
55365
  spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.spacing,
55363
55366
  shadow: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow,
55364
- scrollbars: _constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars,
55365
55367
  chart_palette: _constant__WEBPACK_IMPORTED_MODULE_3__.chartPalette,
55366
55368
  // new line-height has none: normal
55367
55369
  line_height: {
@@ -55379,11 +55381,13 @@ var baseTheme = {
55379
55381
  var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
55380
55382
  color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticLight), _constant__WEBPACK_IMPORTED_MODULE_3__.componentLight)
55381
55383
  });
55384
+ lightTheme.scrollbars = (0,_constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars)(lightTheme);
55382
55385
  // addVar('--uikit-', lightTheme.color);
55383
55386
 
55384
55387
  var darkTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
55385
55388
  color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticDark), _constant__WEBPACK_IMPORTED_MODULE_3__.componentDark)
55386
55389
  });
55390
+ darkTheme.scrollbars = (0,_constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars)(darkTheme);
55387
55391
  // addVar('--uikit-', darkTheme.color);
55388
55392
 
55389
55393
  var PT_THEME = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['light', 'dark']);
@@ -55502,10 +55506,11 @@ __webpack_require__.r(__webpack_exports__);
55502
55506
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
55503
55507
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
55504
55508
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
55505
- /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
55506
- /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
55507
- /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
55508
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
55509
+ /* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
55510
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
55511
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
55512
+ /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
55513
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
55509
55514
  // LICENSE_CODE ZON
55510
55515
 
55511
55516
 
@@ -55521,6 +55526,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
55521
55526
 
55522
55527
 
55523
55528
 
55529
+
55524
55530
  var Toast = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
55525
55531
  var type = _ref.type,
55526
55532
  children = _ref.children,
@@ -55529,21 +55535,21 @@ var Toast = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
55529
55535
  className = _ref.className,
55530
55536
  classNamePrefix = _ref.classNamePrefix,
55531
55537
  rest = _objectWithoutProperties(_ref, _excluded);
55532
- var _dismissible = (0,_util__WEBPACK_IMPORTED_MODULE_3__.firstDefined)(dismissible, type == 'error' || type == 'warning');
55538
+ var _dismissible = (0,_util__WEBPACK_IMPORTED_MODULE_4__.firstDefined)(dismissible, type == 'error' || type == 'warning');
55533
55539
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrapper, _extends({
55534
55540
  ref: ref,
55535
55541
  $type: type
55536
- }, (0,_util__WEBPACK_IMPORTED_MODULE_3__.getCommonProps)(rest), {
55537
- className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(classNamePrefix, {
55542
+ }, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
55543
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
55538
55544
  wrapper: true
55539
55545
  }, className)
55540
55546
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Content, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToastIcon, {
55541
55547
  type: type,
55542
55548
  classNamePrefix: classNamePrefix
55543
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Paragraph, {
55549
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Paragraph, {
55544
55550
  variant: "sm",
55545
55551
  color: "text",
55546
- className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(classNamePrefix, {
55552
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
55547
55553
  body: true
55548
55554
  })
55549
55555
  }, children)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RemoveButton, {
@@ -55589,10 +55595,10 @@ var ToastIcon = function ToastIcon(_ref3) {
55589
55595
  warning: 'icon_warning',
55590
55596
  info: 'icon_primary'
55591
55597
  }[type] || 'icon';
55592
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
55598
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
55593
55599
  name: name,
55594
55600
  color: _color,
55595
- className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(classNamePrefix, {
55601
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
55596
55602
  icon: true
55597
55603
  }),
55598
55604
  size: "xs"
@@ -55609,7 +55615,7 @@ var RemoveButton = function RemoveButton(_ref4) {
55609
55615
  icon: "CloseSmall",
55610
55616
  $type: type,
55611
55617
  onClick: onClick,
55612
- className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(classNamePrefix, {
55618
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
55613
55619
  dismissButton: true
55614
55620
  })
55615
55621
  });
@@ -55619,7 +55625,7 @@ RemoveButton.propTypes = {
55619
55625
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
55620
55626
  dismissible: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
55621
55627
  };
55622
- var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton).withConfig({
55628
+ var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_button__WEBPACK_IMPORTED_MODULE_6__.IconButton).withConfig({
55623
55629
  displayName: "StyledRemoveButton",
55624
55630
  componentId: "sc-tn2lqb-2"
55625
55631
  })(["border-radius:", ";min-width:16px;width:16px;min-height:16px;height:16px;background-color:", ";"], function (_ref5) {