@luminati-io/uikit 5.2.10 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31150,7 +31150,7 @@ var DefaultTooltip = function DefaultTooltip(props) {
31150
31150
  };
31151
31151
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TooltipWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TooltipHeader, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Label, {
31152
31152
  variant: "base",
31153
- color: "text_teritary"
31153
+ color: "text_tertiary"
31154
31154
  }, "".concat(getX(nearestDatum.key, nearestDatum === null || nearestDatum === void 0 ? void 0 : nearestDatum.datum)))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TooltipContent, null, series.filter(function (name) {
31155
31155
  return name;
31156
31156
  }).map(function (name) {
@@ -31169,7 +31169,7 @@ var DefaultTooltip = function DefaultTooltip(props) {
31169
31169
  color: "text_quaternary"
31170
31170
  }, name)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Label, {
31171
31171
  variant: "sm",
31172
- color: "text_teritary"
31172
+ color: "text_tertiary"
31173
31173
  }, value));
31174
31174
  })));
31175
31175
  };
@@ -31253,7 +31253,7 @@ var useChartTheme = function useChartTheme(palette) {
31253
31253
  fontWeight: 400 // regular,
31254
31254
  };
31255
31255
  var smallLabelProps = {
31256
- fill: color.text_teritary,
31256
+ fill: color.text_tertiary,
31257
31257
  fontSize: 12,
31258
31258
  // xs
31259
31259
  fontFamily: font_family.sans,
@@ -33488,33 +33488,32 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33488
33488
  var useStyles = function useStyles(_ref) {
33489
33489
  var styles = _ref.styles,
33490
33490
  size = _ref.size;
33491
- var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)(),
33492
- color = _useTheme.color,
33493
- shadow = _useTheme.shadow,
33494
- font_family = _useTheme.font_family,
33495
- font_weight = _useTheme.font_weight,
33496
- font_size = _useTheme.font_size,
33497
- line_height = _useTheme.line_height;
33491
+ var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)();
33492
+ var color = theme.color,
33493
+ shadow = theme.shadow,
33494
+ font_family = theme.font_family,
33495
+ font_weight = theme.font_weight,
33496
+ font_size = theme.font_size;
33498
33497
  var headerXl = {
33499
33498
  fontFamily: font_family.sans,
33500
33499
  fontStyle: 'normal',
33501
33500
  fontWeight: font_weight.medium,
33502
33501
  fontSize: font_size.lg,
33503
- lineHeight: line_height.none
33502
+ lineHeight: 'normal' // line_height.none,
33504
33503
  };
33505
33504
  var labelSm = {
33506
33505
  fontFamily: font_family.sans,
33507
33506
  fontStyle: 'normal',
33508
33507
  fontWeight: font_weight.regular,
33509
33508
  fontSize: font_size.sm,
33510
- lineHeight: line_height.none
33509
+ lineHeight: 'normal' // line_height.none,
33511
33510
  };
33512
33511
  var labelBase = {
33513
33512
  fontFamily: font_family.sans,
33514
33513
  fontStyle: 'normal',
33515
33514
  fontWeight: font_weight.regular,
33516
33515
  fontSize: font_size.md,
33517
- lineHeight: line_height.none
33516
+ lineHeight: 'normal' // line_height.none,
33518
33517
  };
33519
33518
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
33520
33519
  return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_4__.withUserStyles)(styles, {
@@ -33529,7 +33528,7 @@ var useStyles = function useStyles(_ref) {
33529
33528
  };
33530
33529
  var borderColor = color.border;
33531
33530
  var boxShadow = 'none';
33532
- var foreColor = color.text_teritary;
33531
+ var foreColor = color.text_tertiary;
33533
33532
  var backgroundColor = color.bg;
33534
33533
  var cursor = 'text';
33535
33534
  if (isDisabled) {
@@ -33606,7 +33605,7 @@ var useStyles = function useStyles(_ref) {
33606
33605
  gap: '8px',
33607
33606
  height: '40px',
33608
33607
  backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
33609
- color: isDisabled ? color.text_disabled : color.text_teritary,
33608
+ color: isDisabled ? color.text_disabled : color.text_tertiary,
33610
33609
  '&:hover': {
33611
33610
  backgroundColor: color.bg_fill_secondary
33612
33611
  }
@@ -33648,7 +33647,7 @@ var useStyles = function useStyles(_ref) {
33648
33647
  });
33649
33648
  }
33650
33649
  });
33651
- }, [styles, size, color, shadow, font_family, font_weight, font_size, line_height]);
33650
+ }, [styles, size, theme]);
33652
33651
  };
33653
33652
 
33654
33653
  /***/ }),
@@ -34441,11 +34440,11 @@ var DraggableItem = function DraggableItem(props) {
34441
34440
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Dragger, null, !disableDrag && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
34442
34441
  name: "DragAndDrop",
34443
34442
  size: "xs",
34444
- color: "gray_9",
34443
+ color: "icon",
34445
34444
  verticalAlign: "sub"
34446
34445
  })), name && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Truncated_label, {
34447
34446
  variant: "lg",
34448
- color: "gray_11_50"
34447
+ color: "text_tertiary"
34449
34448
  }, name), children);
34450
34449
  };
34451
34450
  DraggableItem.displayName = 'DraggableItem';
@@ -34459,11 +34458,11 @@ var DraggedContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(
34459
34458
  componentId: "sc-167vnen-0"
34460
34459
  })(["border-radius:4px;&:hover{background-color:", ";}", ""], function (_ref2) {
34461
34460
  var color = _ref2.theme.color;
34462
- return color.gray_2;
34461
+ return color.bg_fill;
34463
34462
  }, function (_ref3) {
34464
34463
  var $dragging = _ref3.$dragging,
34465
34464
  color = _ref3.theme.color;
34466
- return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";"], color.gray_3);
34465
+ return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", " !important;"], color.bg_fill_secondary);
34467
34466
  });
34468
34467
  var Truncated_label = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typography__WEBPACK_IMPORTED_MODULE_3__.Label).withConfig({
34469
34468
  displayName: "Truncated_label",
@@ -35191,20 +35190,19 @@ var useStyles = function useStyles(_ref) {
35191
35190
  var styles = _ref.styles,
35192
35191
  size = _ref.size,
35193
35192
  menuPortalTarget = _ref.menuPortalTarget;
35194
- var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)(),
35195
- color = _useTheme.color,
35196
- spacing = _useTheme.spacing,
35197
- line_height = _useTheme.line_height,
35198
- font_size = _useTheme.font_size,
35199
- font_weight = _useTheme.font_weight,
35200
- font_family = _useTheme.font_family,
35201
- shadow = _useTheme.shadow;
35193
+ var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)();
35194
+ var color = theme.color,
35195
+ spacing = theme.spacing,
35196
+ font_size = theme.font_size,
35197
+ font_weight = theme.font_weight,
35198
+ font_family = theme.font_family,
35199
+ shadow = theme.shadow;
35202
35200
  var labelSm = {
35203
35201
  fontFamily: font_family.sans,
35204
35202
  fontStyle: 'normal',
35205
35203
  fontWeight: font_weight.regular,
35206
35204
  fontSize: font_size.sm,
35207
- lineHeight: line_height.none
35205
+ lineHeight: 'normal' // line_height.none,
35208
35206
  };
35209
35207
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
35210
35208
  return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_5__.withUserStyles)(styles, {
@@ -35219,7 +35217,7 @@ var useStyles = function useStyles(_ref) {
35219
35217
  };
35220
35218
  var borderColor = color.border;
35221
35219
  var boxShadow = 'none';
35222
- var foreColor = color.text_teritary;
35220
+ var foreColor = color.text_tertiary;
35223
35221
  var backgroundColor = color.bg;
35224
35222
  var cursor = 'text';
35225
35223
  if (isDisabled) {
@@ -35320,7 +35318,7 @@ var useStyles = function useStyles(_ref) {
35320
35318
  });
35321
35319
  }
35322
35320
  });
35323
- }, [styles, size, menuPortalTarget, color, spacing, line_height, font_size, font_weight, font_family, shadow]);
35321
+ }, [styles, size, menuPortalTarget, theme]);
35324
35322
  };
35325
35323
 
35326
35324
  /***/ }),
@@ -36373,7 +36371,7 @@ var CountrySelect = function CountrySelect(_ref) {
36373
36371
  no_wrap: true
36374
36372
  }, _getCountryLabel(opt)), !!countryCallingCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
36375
36373
  variant: "sm",
36376
- color: "text_teritary"
36374
+ color: "text_tertiary"
36377
36375
  }, "+", countryCallingCode));
36378
36376
  }, [_getCountryLabel, _getCountryCallingCode, _getCountryFlag]);
36379
36377
  var filterOption = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (_ref3, inputValue) {
@@ -36596,7 +36594,7 @@ var useStyles = function useStyles(size) {
36596
36594
  fontWeight: font_weight.regular,
36597
36595
  fontSize: font_size.sm,
36598
36596
  lineHeight: line_height.none,
36599
- color: isDisabled ? color.text_disabled : color.text_teritary,
36597
+ color: isDisabled ? color.text_disabled : color.text_tertiary,
36600
36598
  backgroundColor: isDisabled ? color.bg_fill_teritary : color.bg,
36601
36599
  borderColor: isDisabled ? color.border_disabled : color.border,
36602
36600
  cursor: isDisabled ? 'default' : 'text',
@@ -36652,7 +36650,7 @@ var useStyles = function useStyles(size) {
36652
36650
  isDisabled = _ref11.isDisabled;
36653
36651
  return _objectSpread(_objectSpread({}, baseStyles), {}, {
36654
36652
  backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
36655
- color: isDisabled ? color.text_disabled : color.text_teritary,
36653
+ color: isDisabled ? color.text_disabled : color.text_tertiary,
36656
36654
  '&:hover': {
36657
36655
  backgroundColor: color.bg_fill_secondary
36658
36656
  }
@@ -36945,39 +36943,24 @@ var RadioWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.
36945
36943
  var RadioControl = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.withConfig({
36946
36944
  displayName: "RadioControl",
36947
36945
  componentId: "sc-7im0vh-1"
36948
- })(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1.5px solid;border-radius:50%;", " &:after{content:'';border-radius:50%;}", ""], function (props) {
36949
- var s = props.size == 'sm' ? 16 : 20;
36950
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["min-width:", ";max-width:", ";height:", ";&:after{width:", ";height:", ";}"], (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(s), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(s), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(s), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(s / 2), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(s / 2));
36951
- }, function (_ref2) {
36952
- var checked = _ref2.checked,
36953
- disabled = _ref2.disabled,
36946
+ })(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1.5px solid;border-radius:50%;", " ", ""], function (_ref2) {
36947
+ var size = _ref2.size,
36954
36948
  color = _ref2.theme.color;
36955
- var borderColor, hoverBorderColor, activeBorderColor;
36956
- var activeOutlineColor;
36957
- var backgroundColor, hoverBackgroundColor, activeBackgroundColor;
36958
- var beforeColor, hoverBeforeColor, activeBeforeColor;
36949
+ var p = size == 'sm' ? 16 : 20;
36950
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["min-width:", ";max-width:", ";height:", ";background-color:", ";&:after{content:'';border-radius:50%;width:", ";height:", ";}"], (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(p), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(p), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(p), color.bg, (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(p / 2), (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(p / 2));
36951
+ }, function (_ref3) {
36952
+ var checked = _ref3.checked,
36953
+ disabled = _ref3.disabled,
36954
+ _ref3$theme = _ref3.theme,
36955
+ color = _ref3$theme.color,
36956
+ shadow = _ref3$theme.shadow;
36959
36957
  if (disabled) {
36960
- borderColor = hoverBorderColor = activeBorderColor = color.gray_8;
36961
- backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
36962
- if (checked) beforeColor = hoverBeforeColor = activeBeforeColor = color.gray_6;
36963
- } else {
36964
- if (checked) {
36965
- borderColor = activeBorderColor = color.blue_11;
36966
- backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
36967
- beforeColor = activeBeforeColor = color.blue_11;
36968
- hoverBorderColor = color.blue_10;
36969
- hoverBackgroundColor = color.white;
36970
- hoverBeforeColor = color.blue_10;
36971
- activeOutlineColor = color.blue_5;
36972
- } else {
36973
- borderColor = color.gray_9;
36974
- backgroundColor = activeBackgroundColor = color.white;
36975
- hoverBorderColor = color.gray_10;
36976
- hoverBackgroundColor = color.gray_3;
36977
- activeBorderColor = color.blue_11;
36978
- }
36958
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["border-color:", ";&:after{background-color:", ";}"], color.border_info, checked ? color.border_info : color.bg);
36979
36959
  }
36980
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.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);
36960
+ if (checked) {
36961
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["border-color:", ";&:after{background-color:", ";}&:hover{border-color:", ";&:after{background-color:", ";}}&:active{border-color:", ";box-shadow:", ";&:after{background-color:", ";}}"], color.bg_fill_primary, color.bg_fill_primary, color.bg_fill_primary_hover, color.bg_fill_primary_hover, color.bg_fill_primary, shadow.primary, color.bg);
36962
+ }
36963
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["border-color:", ";&:after{background-color:", ";}&:hover{border-color:", ";background-color:", ";&:after{background-color:", ";}}&:active{border-color:", ";&:active:after{background-color:", ";}}"], color.border_accent, color.bg, color.border_accent, color.bg_component_hover, color.bg_component_hover, color.icon_primary, color.bg);
36981
36964
  });
36982
36965
  var GroupWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default()(_layout__WEBPACK_IMPORTED_MODULE_1__.Flex).withConfig({
36983
36966
  displayName: "GroupWrapper",
@@ -37189,7 +37172,7 @@ var Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
37189
37172
  }),
37190
37173
  variant: "sm",
37191
37174
  id: labelId,
37192
- color: disabled ? 'gray_9' : 'gray_11_50'
37175
+ color: disabled ? 'text_disabled' : 'text'
37193
37176
  }, label)));
37194
37177
  });
37195
37178
  Radio.displayName = 'Radio';
@@ -37232,7 +37215,8 @@ __webpack_require__.r(__webpack_exports__);
37232
37215
 
37233
37216
  /*jslint react:true*/
37234
37217
  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); }
37235
- var _excluded = ["options", "classNamePrefix", "rounded", "disabled", "size"];
37218
+ var _excluded = ["options", "classNamePrefix", "rounded", "disabled", "size"],
37219
+ _excluded2 = ["label", "tag", "tagVariant", "description", "disabled", "img"];
37236
37220
  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); }
37237
37221
  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; }
37238
37222
  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; }
@@ -37256,28 +37240,28 @@ var RadioTabStyled = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_r
37256
37240
  componentId: "sc-1cp95by-0"
37257
37241
  })(["", "{gap:0;border:1px solid ", ";border-radius:", ";}", "{padding:12px;border-bottom:1px solid ", ";&:hover{background-color:", ";}&:last-child{border:none;}}"], _common__WEBPACK_IMPORTED_MODULE_7__.GroupWrapper, function (_ref) {
37258
37242
  var color = _ref.theme.color;
37259
- return color.gray_6;
37243
+ return color.border;
37260
37244
  }, function (_ref2) {
37261
37245
  var $rounded = _ref2.$rounded;
37262
37246
  return $rounded ? '4px' : '0';
37263
37247
  }, _common__WEBPACK_IMPORTED_MODULE_7__.RadioWrapper, function (_ref3) {
37264
37248
  var color = _ref3.theme.color;
37265
- return color.gray_6;
37249
+ return color.border;
37266
37250
  }, function (_ref4) {
37267
37251
  var color = _ref4.theme.color;
37268
- return color.gray_2;
37252
+ return color.bg_fill;
37269
37253
  });
37270
37254
  var Img = styled_components__WEBPACK_IMPORTED_MODULE_2___default().img.withConfig({
37271
37255
  displayName: "Img",
37272
37256
  componentId: "sc-1cp95by-1"
37273
37257
  })(["max-width:60px;"]);
37274
- var RadioTabLabel = function RadioTabLabel(props) {
37275
- var label = props.label,
37276
- tag = props.tag,
37277
- tagVariant = props.tagVariant,
37278
- description = props.description,
37279
- disabled = props.disabled,
37280
- img = props.img;
37258
+ var RadioTabLabel = function RadioTabLabel(_ref5) {
37259
+ var label = _ref5.label,
37260
+ tag = _ref5.tag,
37261
+ tagVariant = _ref5.tagVariant,
37262
+ description = _ref5.description,
37263
+ disabled = _ref5.disabled,
37264
+ img = _ref5.img;
37281
37265
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex, {
37282
37266
  gap: "04",
37283
37267
  align_items: "center"
@@ -37291,37 +37275,50 @@ var RadioTabLabel = function RadioTabLabel(props) {
37291
37275
  align_items: "center"
37292
37276
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
37293
37277
  variant: "lg",
37294
- color: disabled ? 'gray_10' : 'gray_11_50'
37278
+ color: disabled ? 'text_disabled' : 'text'
37295
37279
  }, label), tag && tagVariant == 'badge' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_badge__WEBPACK_IMPORTED_MODULE_5__.Badge, {
37296
37280
  variant: "positive"
37297
37281
  }, tag) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
37298
37282
  variant: "sm",
37299
- color: "green_11"
37283
+ color: "text_success"
37300
37284
  }, tag)), description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Paragraph, {
37301
37285
  variant: "lg_snug",
37302
- color: disabled ? 'gray_9' : 'gray_11'
37286
+ color: disabled ? 'text_disabled' : 'text_quaternary'
37303
37287
  }, description)));
37304
37288
  };
37305
37289
  var radioTabPrefix = 'radioTab';
37306
- var RadioTab = function RadioTab(_ref5) {
37307
- var options = _ref5.options,
37308
- classNamePrefix = _ref5.classNamePrefix,
37309
- rounded = _ref5.rounded,
37310
- disabled = _ref5.disabled,
37311
- _ref5$size = _ref5.size,
37312
- size = _ref5$size === void 0 ? 'sm' : _ref5$size,
37313
- rest = _objectWithoutProperties(_ref5, _excluded);
37290
+ var RadioTab = function RadioTab(_ref6) {
37291
+ var options = _ref6.options,
37292
+ classNamePrefix = _ref6.classNamePrefix,
37293
+ rounded = _ref6.rounded,
37294
+ _disabled = _ref6.disabled,
37295
+ _ref6$size = _ref6.size,
37296
+ size = _ref6$size === void 0 ? 'sm' : _ref6$size,
37297
+ rest = _objectWithoutProperties(_ref6, _excluded);
37314
37298
  var cnPrefix = classNamePrefix ? "".concat(classNamePrefix, "_").concat(radioTabPrefix) : radioTabPrefix;
37315
37299
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioTabStyled, _extends({}, rest, {
37316
37300
  $rounded: rounded,
37317
37301
  size: size,
37318
- disabled: disabled,
37302
+ disabled: _disabled,
37319
37303
  classNamePrefix: cnPrefix,
37320
- options: options.map(function (o) {
37321
- return _objectSpread(_objectSpread({}, o), {}, {
37322
- label: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioTabLabel, _extends({}, o, {
37323
- disabled: disabled || o.disabled
37324
- }))
37304
+ options: options.map(function (_ref7) {
37305
+ var label = _ref7.label,
37306
+ tag = _ref7.tag,
37307
+ tagVariant = _ref7.tagVariant,
37308
+ description = _ref7.description,
37309
+ disabled = _ref7.disabled,
37310
+ img = _ref7.img,
37311
+ option = _objectWithoutProperties(_ref7, _excluded2);
37312
+ return _objectSpread(_objectSpread({}, option), {}, {
37313
+ disabled: disabled,
37314
+ label: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioTabLabel, {
37315
+ label: label,
37316
+ tag: tag,
37317
+ tagVariant: tagVariant,
37318
+ description: description,
37319
+ img: img,
37320
+ disabled: _disabled || disabled
37321
+ })
37325
37322
  });
37326
37323
  })
37327
37324
  }));
@@ -37661,7 +37658,7 @@ var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
37661
37658
  var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
37662
37659
  displayName: "InputWrapper",
37663
37660
  componentId: "sc-r60v1b-7"
37664
- })(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " ", ""], function (_ref12) {
37661
+ })(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " ", " box-shadow:", ";"], function (_ref12) {
37665
37662
  var font_family = _ref12.theme.font_family;
37666
37663
  return font_family.sans;
37667
37664
  }, inputVerticalPadding, inputHorizontalPadding, function (_ref13) {
@@ -37682,24 +37679,15 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
37682
37679
  var $disabled = _ref14.$disabled,
37683
37680
  $invalid = _ref14.$invalid,
37684
37681
  $active = _ref14.$active,
37685
- _ref14$theme = _ref14.theme,
37686
- color = _ref14$theme.color,
37687
- shadow = _ref14$theme.shadow;
37688
- var borderColor = color.border;
37689
- var boxShadow = 'none';
37690
- var foreColor = color.text;
37691
- var backgroundColor = color.bg;
37692
- var cursor = 'text';
37682
+ color = _ref14.theme.color;
37693
37683
  if ($disabled) {
37694
- foreColor = color.text_disabled;
37695
- borderColor = color.border_disabled;
37696
- backgroundColor = color.bg_fill_teritary;
37697
- cursor = 'default';
37698
- } else if ($invalid) borderColor = color.border_error;else if ($active) {
37699
- borderColor = color.border_primary;
37700
- boxShadow = shadow.primary;
37684
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:default;background-color:", ";border-color:", ";color:", ";"], color.bg_fill_teritary, color.border_disabled, color.text_disabled);
37701
37685
  }
37702
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:", ";background-color:", ";border-color:", ";color:", ";box-shadow:", ";"], cursor, backgroundColor, borderColor, foreColor, boxShadow);
37686
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:text;background-color:", ";color:", ";border-color:", ";&:hover{border-color:", ";}"], color.bg, color.text_tertiary, $invalid ? color.border_error : $active ? color.border_primary : color.border, color.border_accent);
37687
+ }, function (_ref15) {
37688
+ var $active = _ref15.$active,
37689
+ shadow = _ref15.theme.shadow;
37690
+ return $active ? shadow.primary : null;
37703
37691
  });
37704
37692
  var HelperText = function HelperText(props) {
37705
37693
  var children = props.children,
@@ -37822,7 +37810,7 @@ Textarea.displayName = 'Textarea';
37822
37810
  var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.withConfig({
37823
37811
  displayName: "Area",
37824
37812
  componentId: "sc-1qhmytd-0"
37825
- })(["padding:0;outline:none;border:0;flex-grow:1;width:100%;color:inherit;resize:none;background:inherit;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";::placeholder{color:", ";}"], function (_ref2) {
37813
+ })(["padding:0;outline:none;border:0;flex-grow:1;width:100%;color:inherit;resize:none;background:inherit;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";::placeholder{color:", ";}"], function (_ref2) {
37826
37814
  var font_family = _ref2.theme.font_family;
37827
37815
  return font_family.sans;
37828
37816
  }, function (_ref3) {
@@ -37836,10 +37824,7 @@ var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.wit
37836
37824
  return line_height.none;
37837
37825
  }, function (_ref6) {
37838
37826
  var color = _ref6.theme.color;
37839
- return color.gray_11_50;
37840
- }, function (_ref7) {
37841
- var color = _ref7.theme.color;
37842
- return color.gray_8;
37827
+ return color.text_quaternary;
37843
37828
  });
37844
37829
 
37845
37830
  /***/ }),
@@ -38139,7 +38124,7 @@ var ItemList = function ItemList(props) {
38139
38124
  })
38140
38125
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
38141
38126
  variant: "sm",
38142
- color: "gray_11_50"
38127
+ color: "text"
38143
38128
  }, "".concat(extra, " more item").concat(extra > 1 ? 's' : '', " hidden"))));
38144
38129
  };
38145
38130
  var DefaultItemRenderer = function DefaultItemRenderer(props) {
@@ -38152,7 +38137,7 @@ var DefaultItemRenderer = function DefaultItemRenderer(props) {
38152
38137
  role: "listitem"
38153
38138
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
38154
38139
  variant: "sm",
38155
- color: "gray_11_50"
38140
+ color: "text"
38156
38141
  }, value), showRemove && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_6__.IconButton, {
38157
38142
  "data-action": "remove",
38158
38143
  title: "Remove",
@@ -38170,7 +38155,7 @@ var ItemWithHover = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(Ite
38170
38155
  componentId: "sc-1cige3y-1"
38171
38156
  })(["&:hover{background:", ";}"], function (_ref) {
38172
38157
  var color = _ref.theme.color;
38173
- return color.gray_2;
38158
+ return color.bg_fill;
38174
38159
  });
38175
38160
 
38176
38161
  /***/ }),
@@ -38471,10 +38456,6 @@ var Toggle = function Toggle(_ref) {
38471
38456
  var checked = evt.target.checked;
38472
38457
  onChange === null || onChange === void 0 || onChange(checked, evt);
38473
38458
  }, [onChange]);
38474
- var color = getLabelColor({
38475
- disabled: disabled,
38476
- value: value
38477
- });
38478
38459
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleLabel, _extends({}, (0,_util__WEBPACK_IMPORTED_MODULE_4__.getCommonProps)(rest), {
38479
38460
  $size: size
38480
38461
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleInput, {
@@ -38486,7 +38467,7 @@ var Toggle = function Toggle(_ref) {
38486
38467
  }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
38487
38468
  variant: "sm",
38488
38469
  tag: "span",
38489
- color: color,
38470
+ color: disabled ? 'text_disabled' : 'text',
38490
38471
  no_wrap: true
38491
38472
  }, label));
38492
38473
  };
@@ -38506,65 +38487,49 @@ var ToggleInput = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
38506
38487
  }).withConfig({
38507
38488
  displayName: "ToggleInput",
38508
38489
  componentId: "sc-14lfe6n-1"
38509
- })(["&&{box-sizing:border-box;width:", ";height:", ";display:flex;align-items:center;margin:0;padding:0 1px;vertical-align:top;background-color:", ";border:1px solid ", ";border-radius:25px;outline:none;outline-offset:0;cursor:pointer;appearance:none;transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);&:hover:not(:disabled){background-color:", ";border-color:", ";}&:focus{outline:none;outline-offset:0;background-color:", ";border-color:", ";}&:checked{background-color:", ";border-color:", ";&:hover{background-color:", ";border-color:", ";}&:focus{background-color:", ";border-color:", ";outline:3px solid ", ";}}}&::after{content:\"\";display:block;width:", ";height:", ";border-radius:50%;background-color:", ";box-shadow:0 2px 2px rgba(0,0,0,0.1);transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);}&:checked::after{transform:translateX(", ");}"], function (props) {
38510
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'xs' ? 32 : 44);
38511
- }, function (props) {
38512
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'xs' ? 16 : 20);
38513
- }, function (_ref2) {
38514
- var color = _ref2.theme.color;
38515
- return color.gray_5;
38490
+ })(["&&{box-sizing:border-box;width:", ";height:", ";display:flex;align-items:center;margin:0;padding:0 2px;vertical-align:top;background-color:", ";border-radius:25px;outline:none;cursor:pointer;appearance:none;transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);&:hover:not(:disabled){background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}&:checked{background-color:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}}}&::after{content:\"\";display:block;width:", ";height:", ";border-radius:50%;background-color:", ";box-shadow:0 2px 2px rgba(0,0,0,0.1);transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);}&:checked::after{transform:translateX(", ");}"], function (_ref2) {
38491
+ var $size = _ref2.$size;
38492
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 32 : 44);
38516
38493
  }, function (_ref3) {
38517
- var color = _ref3.theme.color;
38518
- return color.gray_7;
38494
+ var $size = _ref3.$size;
38495
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 16 : 20);
38519
38496
  }, function (_ref4) {
38520
38497
  var color = _ref4.theme.color;
38521
- return color.gray_7;
38498
+ return color.toggle_off_bg_default;
38522
38499
  }, function (_ref5) {
38523
38500
  var color = _ref5.theme.color;
38524
- return color.gray_8;
38501
+ return color.toggle_off_bg_hover;
38525
38502
  }, function (_ref6) {
38526
38503
  var color = _ref6.theme.color;
38527
- return color.gray_9;
38504
+ return color.toggle_off_bg_active;
38528
38505
  }, function (_ref7) {
38529
38506
  var color = _ref7.theme.color;
38530
- return color.gray_9;
38507
+ return color.toggle_off_border_active;
38531
38508
  }, function (_ref8) {
38532
38509
  var color = _ref8.theme.color;
38533
- return color.blue_11;
38510
+ return color.toggle_on_bg_default;
38534
38511
  }, function (_ref9) {
38535
38512
  var color = _ref9.theme.color;
38536
- return color.blue_11;
38513
+ return color.toggle_on_bg_hover;
38537
38514
  }, function (_ref10) {
38538
38515
  var color = _ref10.theme.color;
38539
- return color.blue_10;
38516
+ return color.toggle_on_bg_default;
38540
38517
  }, function (_ref11) {
38541
38518
  var color = _ref11.theme.color;
38542
- return color.blue_10;
38519
+ return color.toggle_on_border_active;
38543
38520
  }, function (_ref12) {
38544
- var color = _ref12.theme.color;
38545
- return color.blue_11;
38521
+ var $size = _ref12.$size;
38522
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 12 : 16);
38546
38523
  }, function (_ref13) {
38547
- var color = _ref13.theme.color;
38548
- return color.blue_11;
38524
+ var $size = _ref13.$size;
38525
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 12 : 16);
38549
38526
  }, function (_ref14) {
38550
38527
  var color = _ref14.theme.color;
38551
- return color.blue_5;
38552
- }, function (props) {
38553
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'xs' ? 12 : 16);
38554
- }, function (props) {
38555
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'xs' ? 12 : 16);
38528
+ return color.toggle_switch;
38556
38529
  }, function (_ref15) {
38557
- var color = _ref15.theme.color;
38558
- return color.white;
38559
- }, function (props) {
38560
- return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)(props.$size == 'xs' ? 15 : 23);
38530
+ var $size = _ref15.$size;
38531
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 16 : 24);
38561
38532
  });
38562
- var getLabelColor = function getLabelColor(props) {
38563
- var disabled = props.disabled,
38564
- value = props.value;
38565
- if (disabled) return value ? 'gray-11' : 'gray-9';
38566
- return value ? 'gray-11-50' : 'gray-11';
38567
- };
38568
38533
 
38569
38534
  /***/ }),
38570
38535
 
@@ -39166,7 +39131,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
39166
39131
  }, text), !isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !!tertiaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
39167
39132
  variant: "sm",
39168
39133
  whiteSpace: "nowrap",
39169
- color: "text_teritary"
39134
+ color: "text_tertiary"
39170
39135
  }, tertiaryText), !!secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryText, null, secondaryText))), !!description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Description, null, description))), isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
39171
39136
  subMenu: true
39172
39137
  }), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
@@ -39298,7 +39263,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_ty
39298
39263
  })(["margin-left:auto;"]);
39299
39264
  var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
39300
39265
  variant: 'xs',
39301
- color: 'text_teritary',
39266
+ color: 'text_tertiary',
39302
39267
  whiteSpace: 'nowrap'
39303
39268
  }).withConfig({
39304
39269
  displayName: "Description",
@@ -39495,7 +39460,7 @@ var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_la
39495
39460
  componentId: "sc-1nggvo0-0"
39496
39461
  })(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], function (_ref) {
39497
39462
  var color = _ref.theme.color;
39498
- return color.bg_elevated;
39463
+ return color.bg;
39499
39464
  }, function (_ref2) {
39500
39465
  var spacing = _ref2.theme.spacing;
39501
39466
  return spacing['02'];
@@ -39747,10 +39712,7 @@ __webpack_require__.r(__webpack_exports__);
39747
39712
 
39748
39713
 
39749
39714
  /*jslint react:true*/
39750
- var _excluded = ["color"];
39751
39715
  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); }
39752
- 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; }
39753
- 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; }
39754
39716
 
39755
39717
 
39756
39718
 
@@ -39775,42 +39737,30 @@ var ModalSubtitle = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_ty
39775
39737
  var color = _ref3.theme.color;
39776
39738
  return color.text_secondary;
39777
39739
  });
39778
- var CloseButton = function CloseButton(_ref4) {
39779
- var _ref4$color = _ref4.color,
39780
- color = _ref4$color === void 0 ? 'bg_elevated' : _ref4$color,
39781
- props = _objectWithoutProperties(_ref4, _excluded);
39782
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledIconButton, _extends({
39740
+ var CloseButton = function CloseButton(props) {
39741
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, _extends({
39783
39742
  icon: "CloseSmall",
39784
- size: "xs",
39785
- $color: color
39743
+ size: "xs"
39786
39744
  }, props));
39787
39745
  };
39788
- var StyledIconButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton).withConfig({
39789
- displayName: "StyledIconButton",
39790
- componentId: "sc-1p9nv3u-1"
39791
- })(["background-color:", ";"], function (_ref5) {
39792
- var $color = _ref5.$color,
39793
- color = _ref5.theme.color;
39794
- return $color && color[$color];
39795
- });
39796
39746
  var ButtonsGroup = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).attrs({
39797
39747
  gap: '04',
39798
39748
  align_items: 'center'
39799
39749
  }).withConfig({
39800
39750
  displayName: "ButtonsGroup",
39801
- componentId: "sc-1p9nv3u-2"
39751
+ componentId: "sc-1p9nv3u-1"
39802
39752
  })([""]);
39803
39753
  var ModalButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_button__WEBPACK_IMPORTED_MODULE_3__.Button).attrs({
39804
39754
  size: 'sm'
39805
39755
  }).withConfig({
39806
39756
  displayName: "ModalButton",
39807
- componentId: "sc-1p9nv3u-3"
39757
+ componentId: "sc-1p9nv3u-2"
39808
39758
  })([""]);
39809
- var ModalHeader = function ModalHeader(_ref6) {
39810
- var title = _ref6.title,
39811
- subtitle = _ref6.subtitle,
39812
- onCancel = _ref6.onCancel,
39813
- cancelDisabled = _ref6.cancelDisabled;
39759
+ var ModalHeader = function ModalHeader(_ref4) {
39760
+ var title = _ref4.title,
39761
+ subtitle = _ref4.subtitle,
39762
+ onCancel = _ref4.onCancel,
39763
+ cancelDisabled = _ref4.cancelDisabled;
39814
39764
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, {
39815
39765
  align_items: "center",
39816
39766
  justify_content: "space-between",
@@ -39826,15 +39776,15 @@ ModalHeader.propTypes = {
39826
39776
  onCancel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
39827
39777
  cancelDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
39828
39778
  };
39829
- var ModalFooter = function ModalFooter(_ref7) {
39830
- var _ref7$okLabel = _ref7.okLabel,
39831
- okLabel = _ref7$okLabel === void 0 ? 'OK' : _ref7$okLabel,
39832
- _ref7$cancelLabel = _ref7.cancelLabel,
39833
- cancelLabel = _ref7$cancelLabel === void 0 ? 'Cancel' : _ref7$cancelLabel,
39834
- onOk = _ref7.onOk,
39835
- onCancel = _ref7.onCancel,
39836
- okDisabled = _ref7.okDisabled,
39837
- cancelDisabled = _ref7.cancelDisabled;
39779
+ var ModalFooter = function ModalFooter(_ref5) {
39780
+ var _ref5$okLabel = _ref5.okLabel,
39781
+ okLabel = _ref5$okLabel === void 0 ? 'OK' : _ref5$okLabel,
39782
+ _ref5$cancelLabel = _ref5.cancelLabel,
39783
+ cancelLabel = _ref5$cancelLabel === void 0 ? 'Cancel' : _ref5$cancelLabel,
39784
+ onOk = _ref5.onOk,
39785
+ onCancel = _ref5.onCancel,
39786
+ okDisabled = _ref5.okDisabled,
39787
+ cancelDisabled = _ref5.cancelDisabled;
39838
39788
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, {
39839
39789
  width: "100%",
39840
39790
  justify_content: "flex-end"
@@ -40484,10 +40434,10 @@ var TabContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().butt
40484
40434
  color = _ref2$theme.color,
40485
40435
  shadow = _ref2$theme.shadow;
40486
40436
  if ($variant == 'underline') {
40487
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;&[aria-selected=true]{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&[aria-disabled=true]{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}"], color.text_teritary, color.border_secondary, color.text_primary, color.border_primary, color.text_teritary, color.border, color.text_disabled, color.border_disabled);
40437
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;&[aria-selected=true]{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}&[aria-disabled=true]{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}"], color.text_tertiary, color.border_secondary, color.text_primary, color.border_primary, color.text_tertiary, color.border, color.text_disabled, color.border_disabled);
40488
40438
  }
40489
40439
  if ($variant == 'contain') {
40490
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;background:", ";color:", ";&[aria-selected=true]{color:", ";background:", ";border:1px solid ", ";box-shadow:", ";}&:hover{color:", ";background:", ";}&[aria-disabled=true]{color:", ";background:", ";border:0 none;box-shadow:none;}"], color.bg, color.text_teritary, color.text_primary, color.bg, color.border, shadow.meduim, color.text_teritary, color.bg_fill_primary_secondary, color.text_disabled, color.bg_fill_teritary);
40440
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;color:", ";&[aria-selected=true]{color:", ";background:", ";border:1px solid ", ";box-shadow:", ";}&:hover{color:", ";background:", ";}&[aria-disabled=true]{color:", ";background:", ";border:0 none;box-shadow:none;}"], color.text_tertiary, color.text_primary, color.bg, color.border, shadow.meduim, color.text_tertiary, color.bg_fill_primary_secondary, color.text_disabled, color.bg_fill_teritary);
40491
40441
  }
40492
40442
  if ($variant == 'vertical') {
40493
40443
  return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:200px;height:40px;padding:0 12px;justify-content:space-between;gap:4px;border-radius:0 4px 4px 0;border-left:1px solid transparent;color:", ";&[aria-selected=true]{color:", ";background:", ";border-left-color:", ";}&:hover{color:", ";border-left-color:", ";}&[aria-disabled=true]{color:", ";background:0 none;border-left-color:transparent;}"], color.text, color.text, color.bg_fill_primary_secondary, color.bg_fill_primary_secondary, color.text, color.border, color.text_disabled);
@@ -40537,15 +40487,17 @@ __webpack_require__.r(__webpack_exports__);
40537
40487
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
40538
40488
  /* harmony import */ var react_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-table */ "react-table");
40539
40489
  /* harmony import */ var react_table__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_table__WEBPACK_IMPORTED_MODULE_2__);
40540
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
40541
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
40542
- /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
40543
- /* harmony import */ var _editable_columns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./editable_columns */ "./src/table/editable_columns.js");
40544
- /* harmony import */ var _pinned_columns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pinned_columns */ "./src/table/pinned_columns.js");
40545
- /* harmony import */ var _expandable_rows__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./expandable_rows */ "./src/table/expandable_rows.js");
40546
- /* harmony import */ var _select_rows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./select_rows */ "./src/table/select_rows.js");
40547
- /* harmony import */ var _row_menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./row_menu */ "./src/table/row_menu.js");
40548
- /* harmony import */ var _order_logic__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./order_logic */ "./src/table/order_logic.js");
40490
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
40491
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
40492
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
40493
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
40494
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
40495
+ /* harmony import */ var _editable_columns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./editable_columns */ "./src/table/editable_columns.js");
40496
+ /* harmony import */ var _pinned_columns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./pinned_columns */ "./src/table/pinned_columns.js");
40497
+ /* harmony import */ var _expandable_rows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./expandable_rows */ "./src/table/expandable_rows.js");
40498
+ /* harmony import */ var _select_rows__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./select_rows */ "./src/table/select_rows.js");
40499
+ /* harmony import */ var _row_menu__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./row_menu */ "./src/table/row_menu.js");
40500
+ /* harmony import */ var _order_logic__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./order_logic */ "./src/table/order_logic.js");
40549
40501
  // LICENSE_CODE ZON
40550
40502
 
40551
40503
 
@@ -40581,6 +40533,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
40581
40533
 
40582
40534
 
40583
40535
 
40536
+
40584
40537
  var assign = Object.assign;
40585
40538
  var defaultContextValue = {};
40586
40539
  var TableContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createContext(defaultContextValue);
@@ -40595,7 +40548,7 @@ var defaultIsCellEditable = function defaultIsCellEditable(_ref) {
40595
40548
  var defaultPageSizes = [5, 10, 20, 30];
40596
40549
  var Cell = function Cell(_ref2) {
40597
40550
  var value = _ref2.value;
40598
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Paragraph, {
40551
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Paragraph, {
40599
40552
  variant: "sm",
40600
40553
  color: "gray-11-50"
40601
40554
  }, String(value));
@@ -40621,7 +40574,7 @@ var Provider = function Provider(_ref3) {
40621
40574
  NoDataComp = _ref3.NoDataComp,
40622
40575
  LoadingComp = _ref3.LoadingComp,
40623
40576
  _ref3$ExpandHandleCom = _ref3.ExpandHandleComp,
40624
- ExpandHandleComp = _ref3$ExpandHandleCom === void 0 ? _expandable_rows__WEBPACK_IMPORTED_MODULE_8__.ExpandHandle : _ref3$ExpandHandleCom,
40577
+ ExpandHandleComp = _ref3$ExpandHandleCom === void 0 ? _expandable_rows__WEBPACK_IMPORTED_MODULE_9__.ExpandHandle : _ref3$ExpandHandleCom,
40625
40578
  _ref3$noDataText = _ref3.noDataText,
40626
40579
  noDataText = _ref3$noDataText === void 0 ? 'No data' : _ref3$noDataText,
40627
40580
  _ref3$loadingText = _ref3.loadingText,
@@ -40672,6 +40625,7 @@ var Provider = function Provider(_ref3) {
40672
40625
  _ref3$rowDensity = _ref3.rowDensity,
40673
40626
  rowDensity = _ref3$rowDensity === void 0 ? 'busy_bee' : _ref3$rowDensity,
40674
40627
  rest = _objectWithoutProperties(_ref3, _excluded);
40628
+ var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.useTheme)();
40675
40629
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0),
40676
40630
  _useState2 = _slicedToArray(_useState, 2),
40677
40631
  pageCount = _useState2[0],
@@ -40680,9 +40634,9 @@ var Provider = function Provider(_ref3) {
40680
40634
  _useState4 = _slicedToArray(_useState3, 2),
40681
40635
  isDraggingRow = _useState4[0],
40682
40636
  setIsDraggingRow = _useState4[1];
40683
- var hiddenColumns = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('hiddenColumns'), _hiddenColumns);
40684
- var pinnedColumns = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('pinnedColumns'), _pinnedColumns);
40685
- var columnOrder = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('columnOrder'), _columnOrder);
40637
+ var hiddenColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('hiddenColumns'), _hiddenColumns);
40638
+ var pinnedColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('pinnedColumns'), _pinnedColumns);
40639
+ var columnOrder = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('columnOrder'), _columnOrder);
40686
40640
  var initialState = assign({}, _initialState, pageSize && {
40687
40641
  pageSize: pageSize
40688
40642
  }, hiddenColumns && {
@@ -40711,10 +40665,11 @@ var Provider = function Provider(_ref3) {
40711
40665
  getFooterProps: getFooterProps,
40712
40666
  ExpandHandleComp: ExpandHandleComp,
40713
40667
  fullWidth: fullWidth,
40714
- rowDensity: rowDensity
40668
+ rowDensity: rowDensity,
40669
+ theme: theme
40715
40670
  }, rest), manualPagination && {
40716
40671
  pageCount: pageCount
40717
- }), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_8__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_2__.usePagination, fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_2__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_2__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_2__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_7__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_6__.useEditableColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useRowSelect, _select_rows__WEBPACK_IMPORTED_MODULE_9__.useSelectRows].concat(_toConsumableArray(rowActions !== null && rowActions !== void 0 && rowActions.length ? [_row_menu__WEBPACK_IMPORTED_MODULE_10__.useRowMenu] : []), _toConsumableArray(hooks)));
40672
+ }), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_9__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_2__.usePagination, fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_2__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_2__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_2__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_8__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_7__.useEditableColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useRowSelect, _select_rows__WEBPACK_IMPORTED_MODULE_10__.useSelectRows].concat(_toConsumableArray(rowActions !== null && rowActions !== void 0 && rowActions.length ? [_row_menu__WEBPACK_IMPORTED_MODULE_11__.useRowMenu] : []), _toConsumableArray(hooks)));
40718
40673
  var _table$state = table.state,
40719
40674
  pageIndex = _table$state.pageIndex,
40720
40675
  _pageSize = _table$state.pageSize;
@@ -40731,8 +40686,8 @@ var Provider = function Provider(_ref3) {
40731
40686
  }, [manualPagination, totalCount, pageIndex, _pageSize]);
40732
40687
  var _LoadingComp = useComp(loadingText, LoadingComp);
40733
40688
  var _NoDataComp = useComp(noDataText, NoDataComp);
40734
- var orderLogic = (0,_order_logic__WEBPACK_IMPORTED_MODULE_11__.useOrderLogic)(table);
40735
- var expandColumnId = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(_expandColumnId, (_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.id);
40689
+ var orderLogic = (0,_order_logic__WEBPACK_IMPORTED_MODULE_12__.useOrderLogic)(table);
40690
+ var expandColumnId = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(_expandColumnId, (_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.id);
40736
40691
  var value = _objectSpread(_objectSpread({
40737
40692
  columnSort: columnSort,
40738
40693
  onColumnSortChanged: onColumnSortChanged,
@@ -40838,7 +40793,7 @@ var useCanHideColumns = function useCanHideColumns(hooks) {
40838
40793
  var disableHiding = instance.disableHiding,
40839
40794
  flatHeaders = instance.flatHeaders;
40840
40795
  flatHeaders.forEach(function (header) {
40841
- header.canHide = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(header.disableHiding === true ? false : undefined, disableHiding === true ? false : undefined, true);
40796
+ header.canHide = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(header.disableHiding === true ? false : undefined, disableHiding === true ? false : undefined, true);
40842
40797
  });
40843
40798
  });
40844
40799
  };
@@ -40852,15 +40807,15 @@ var useComp = function useComp(text, Comp) {
40852
40807
  };
40853
40808
  var EmptyBody = function EmptyBody(_ref4) {
40854
40809
  var children = _ref4.children;
40855
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
40810
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex, {
40856
40811
  align_items: "center",
40857
40812
  width: "100%",
40858
40813
  padding_top: "04",
40859
40814
  padding_right: "05",
40860
40815
  padding_bottom: "04",
40861
40816
  padding_left: "05"
40862
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
40863
- color: "gray_11_50"
40817
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
40818
+ color: "text_secondary"
40864
40819
  }, children));
40865
40820
  };
40866
40821
 
@@ -40957,13 +40912,16 @@ CustomizeButton.propTypes = {
40957
40912
  var PopoverContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
40958
40913
  displayName: "PopoverContainer",
40959
40914
  componentId: "sc-1uptv2h-0"
40960
- })(["box-shadow:", ";background:white;border-radius:4px;padding:4px 0;min-width:168px;max-width:540px;"], function (_ref) {
40961
- var box_shadow = _ref.theme.box_shadow;
40962
- return box_shadow.md;
40915
+ })(["box-shadow:", ";background:", ";border-radius:4px;padding:4px 0;min-width:168px;max-width:540px;"], function (_ref) {
40916
+ var shadow = _ref.theme.shadow;
40917
+ return shadow.medium;
40918
+ }, function (_ref2) {
40919
+ var color = _ref2.theme.color;
40920
+ return color.bg_elevated;
40963
40921
  });
40964
- var Search = function Search(_ref2) {
40965
- var search = _ref2.search,
40966
- setSearch = _ref2.setSearch;
40922
+ var Search = function Search(_ref3) {
40923
+ var search = _ref3.search,
40924
+ setSearch = _ref3.setSearch;
40967
40925
  var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)(),
40968
40926
  spacing = _useTheme.spacing;
40969
40927
  var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
@@ -40984,7 +40942,7 @@ var Search = function Search(_ref2) {
40984
40942
  leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
40985
40943
  size: "xs",
40986
40944
  name: "Search",
40987
- color: "gray_9"
40945
+ color: "icon"
40988
40946
  }),
40989
40947
  rightInnerContent: clearButton,
40990
40948
  value: search,
@@ -40994,21 +40952,21 @@ var Search = function Search(_ref2) {
40994
40952
  var ItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
40995
40953
  displayName: "ItemsWrapper",
40996
40954
  componentId: "sc-1uptv2h-1"
40997
- })(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (_ref3) {
40998
- var $maxMenuHeight = _ref3.$maxMenuHeight,
40999
- scrollbars = _ref3.theme.scrollbars;
40955
+ })(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (_ref4) {
40956
+ var $maxMenuHeight = _ref4.$maxMenuHeight,
40957
+ scrollbars = _ref4.theme.scrollbars;
41000
40958
  if ($maxMenuHeight > 0) {
41001
40959
  return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["max-height:", ";overflow-y:auto;", ""], (0,_utils__WEBPACK_IMPORTED_MODULE_9__.toPixel)($maxMenuHeight), scrollbars.thin);
41002
40960
  }
41003
40961
  });
41004
- var CustomizeButtonPopover = function CustomizeButtonPopover(_ref4) {
41005
- var searchable = _ref4.searchable,
41006
- search = _ref4.search,
41007
- setSearch = _ref4.setSearch,
41008
- _ref4$maxMenuHeight = _ref4.maxMenuHeight,
41009
- maxMenuHeight = _ref4$maxMenuHeight === void 0 ? 300 : _ref4$maxMenuHeight,
41010
- items = _ref4.items,
41011
- orderProps = _ref4.orderProps;
40962
+ var CustomizeButtonPopover = function CustomizeButtonPopover(_ref5) {
40963
+ var searchable = _ref5.searchable,
40964
+ search = _ref5.search,
40965
+ setSearch = _ref5.setSearch,
40966
+ _ref5$maxMenuHeight = _ref5.maxMenuHeight,
40967
+ maxMenuHeight = _ref5$maxMenuHeight === void 0 ? 300 : _ref5$maxMenuHeight,
40968
+ items = _ref5.items,
40969
+ orderProps = _ref5.orderProps;
41012
40970
  var maxHeight = Number.parseInt(maxMenuHeight);
41013
40971
  var _maxMenuHeight = orderProps && (!maxHeight || maxHeight < 600) ? 600 : maxMenuHeight;
41014
40972
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PopoverContainer, null, searchable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Search, {
@@ -41022,8 +40980,8 @@ var CustomizeButtonPopover = function CustomizeButtonPopover(_ref4) {
41022
40980
  items: items
41023
40981
  })));
41024
40982
  };
41025
- var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (_ref5) {
41026
- var popover = _ref5.popover;
40983
+ var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (_ref6) {
40984
+ var popover = _ref6.popover;
41027
40985
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
41028
40986
  onClick: popover.toggle,
41029
40987
  tooltip: "Customize columns",
@@ -41032,18 +40990,18 @@ var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopove
41032
40990
  }, CustomizeButtonPopover, {
41033
40991
  placement: 'bottom'
41034
40992
  });
41035
- var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref6) {
41036
- var items = _ref6.items;
40993
+ var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref7) {
40994
+ var items = _ref7.items;
41037
40995
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, items.map(function (c) {
41038
40996
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, _extends({
41039
40997
  key: c.id
41040
40998
  }, c));
41041
40999
  }));
41042
41000
  };
41043
- var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref7) {
41044
- var items = _ref7.items,
41045
- orders = _ref7.orders,
41046
- moveColumn = _ref7.moveColumn;
41001
+ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref8) {
41002
+ var items = _ref8.items,
41003
+ orders = _ref8.orders,
41004
+ moveColumn = _ref8.moveColumn;
41047
41005
  var sections = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
41048
41006
  var _orders$pinned;
41049
41007
  return [((_orders$pinned = orders.pinned) === null || _orders$pinned === void 0 ? void 0 : _orders$pinned.length) && {
@@ -41099,25 +41057,25 @@ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref7
41099
41057
  CustomDrag: CustomizeButtonDraggableItem
41100
41058
  });
41101
41059
  };
41102
- var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(_ref8) {
41103
- var Dragger = _ref8.Dragger,
41104
- isDragging = _ref8.isDragging,
41105
- itemProps = _objectWithoutProperties(_ref8, _excluded);
41060
+ var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(_ref9) {
41061
+ var Dragger = _ref9.Dragger,
41062
+ isDragging = _ref9.isDragging,
41063
+ itemProps = _objectWithoutProperties(_ref9, _excluded);
41106
41064
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_6__.DragDrop.DraggableItem, {
41107
41065
  Dragger: Dragger,
41108
41066
  isDragging: isDragging
41109
41067
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, itemProps));
41110
41068
  };
41111
- var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
41112
- var id = _ref9.id,
41113
- name = _ref9.name,
41114
- canPin = _ref9.canPin,
41115
- isPinned = _ref9.isPinned,
41116
- togglePinned = _ref9.togglePinned,
41117
- canHide = _ref9.canHide,
41118
- isVisible = _ref9.isVisible,
41119
- toggleHidden = _ref9.toggleHidden,
41120
- className = _ref9.className;
41069
+ var CustomizeButtonItem = function CustomizeButtonItem(_ref10) {
41070
+ var id = _ref10.id,
41071
+ name = _ref10.name,
41072
+ canPin = _ref10.canPin,
41073
+ isPinned = _ref10.isPinned,
41074
+ togglePinned = _ref10.togglePinned,
41075
+ canHide = _ref10.canHide,
41076
+ isVisible = _ref10.isVisible,
41077
+ toggleHidden = _ref10.toggleHidden,
41078
+ className = _ref10.className;
41121
41079
  var handlePinned = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
41122
41080
  togglePinned(!isPinned);
41123
41081
  }, [isPinned, togglePinned]);
@@ -41126,7 +41084,7 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
41126
41084
  }, [isVisible, toggleHidden]);
41127
41085
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_8__.Label, {
41128
41086
  variant: "sm",
41129
- color: isVisible ? 'gray_11_50' : 'gray_9',
41087
+ color: isVisible ? 'text_secondary' : 'text_disabled',
41130
41088
  "data-label": true,
41131
41089
  className: className
41132
41090
  }, name || id), canPin && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemAction, {
@@ -41142,14 +41100,14 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
41142
41100
  var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
41143
41101
  displayName: "CustomizeButtonItemWrapper",
41144
41102
  componentId: "sc-1uptv2h-2"
41145
- })(["margin:0;padding:8px 16px;display:flex;align-items:center;gap:4px;min-width:230px;div[data-label]{margin-right:auto;}&:hover{background-color:", ";}"], function (_ref10) {
41146
- var color = _ref10.theme.color;
41147
- return color.gray_2;
41103
+ })(["margin:0;padding:8px 16px;display:flex;align-items:center;gap:4px;min-width:230px;div[data-label]{margin-right:auto;}&:hover{background-color:", ";}"], function (_ref11) {
41104
+ var color = _ref11.theme.color;
41105
+ return color.bg_fill_secondary;
41148
41106
  });
41149
- var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref11) {
41150
- var onClick = _ref11.onClick,
41151
- tooltip = _ref11.tooltip,
41152
- icon = _ref11.icon;
41107
+ var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref12) {
41108
+ var onClick = _ref12.onClick,
41109
+ tooltip = _ref12.tooltip,
41110
+ icon = _ref12.icon;
41153
41111
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemActionWrapper, {
41154
41112
  onClick: onClick
41155
41113
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip, {
@@ -41158,7 +41116,7 @@ var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref11) {
41158
41116
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
41159
41117
  name: icon,
41160
41118
  size: "xs",
41161
- color: "gray_9"
41119
+ color: "icon"
41162
41120
  })));
41163
41121
  };
41164
41122
  var CustomizeButtonItemActionWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
@@ -41724,7 +41682,7 @@ var HeaderCell = function HeaderCell(props) {
41724
41682
  compact: compact
41725
41683
  }), compact && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
41726
41684
  variant: "sm",
41727
- color: "gray_11",
41685
+ color: "text",
41728
41686
  no_wrap: true
41729
41687
  }, name || id), canSort && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_sort_icon__WEBPACK_IMPORTED_MODULE_9__.SortIcon, {
41730
41688
  visible: !!iconVisible,
@@ -41758,7 +41716,7 @@ var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
41758
41716
  return color.bg_primary;
41759
41717
  }, function (_ref3) {
41760
41718
  var color = _ref3.theme.color;
41761
- return color.gray_2;
41719
+ return color.table_cell_hover;
41762
41720
  }, function (_ref4) {
41763
41721
  var $isLastPinned = _ref4.$isLastPinned,
41764
41722
  color = _ref4.theme.color;
@@ -41779,7 +41737,7 @@ var HeaderCellResizer = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
41779
41737
  if (props.$isResizing) {
41780
41738
  return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["&:after{content:\" \";display:block;width:2px;height:100%;background:", ";position:absolute;bottom:0;left:4px;}"], function (_ref5) {
41781
41739
  var color = _ref5.theme.color;
41782
- return color.blue_10;
41740
+ return color.border_primary;
41783
41741
  });
41784
41742
  }
41785
41743
  });
@@ -41787,7 +41745,7 @@ var renderCellContent = function renderCellContent(column, type, props) {
41787
41745
  var content = column[type];
41788
41746
  if (lodash_isString__WEBPACK_IMPORTED_MODULE_0___default()(content)) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
41789
41747
  variant: "sm",
41790
- color: "gray_11",
41748
+ color: "text",
41791
41749
  no_wrap: true
41792
41750
  }, content);
41793
41751
  return column.render(type, props);
@@ -41941,19 +41899,16 @@ var MenuButton = function MenuButton(props) {
41941
41899
  var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton).withConfig({
41942
41900
  displayName: "StyledButton",
41943
41901
  componentId: "sc-1oo76mu-0"
41944
- })(["cursor:pointer;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%);z-index:", ";width:16px;height:16px;background-color:", ";border-radius:4px;width:16px;height:16px;&:hover:not(:disabled){background-color:", ";}"], _constants__WEBPACK_IMPORTED_MODULE_6__.Z_INDEX.headerButton, function (_ref) {
41945
- var color = _ref.theme.color;
41946
- return color.gray_6;
41947
- }, function (_ref2) {
41948
- var color = _ref2.theme.color;
41949
- return color.gray_6;
41950
- });
41902
+ })(["cursor:pointer;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%);z-index:", ";width:16px;height:16px;border-radius:4px;width:16px;height:16px;"], _constants__WEBPACK_IMPORTED_MODULE_6__.Z_INDEX.headerButton);
41951
41903
  var MenuWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
41952
41904
  displayName: "MenuWrapper",
41953
41905
  componentId: "sc-1oo76mu-1"
41954
- })(["background:white;border-radius:4px;box-shadow:", ";"], function (_ref3) {
41955
- var box_shadow = _ref3.theme.box_shadow;
41956
- return box_shadow.md;
41906
+ })(["border-radius:4px;box-shadow:", ";background:", ";"], function (_ref) {
41907
+ var shadow = _ref.theme.shadow;
41908
+ return shadow.medium;
41909
+ }, function (_ref2) {
41910
+ var color = _ref2.theme.color;
41911
+ return color.bg_elevated;
41957
41912
  });
41958
41913
  var MenuPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_2__.withPopover)(MenuButton, function (p) {
41959
41914
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MenuWrapper, {
@@ -41969,16 +41924,16 @@ var Menu = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.withConfi
41969
41924
  var MenuItem = styled_components__WEBPACK_IMPORTED_MODULE_1___default().li.withConfig({
41970
41925
  displayName: "MenuItem",
41971
41926
  componentId: "sc-1oo76mu-3"
41972
- })(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref4) {
41973
- var color = _ref4.theme.color;
41974
- return color.gray_2;
41927
+ })(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref3) {
41928
+ var color = _ref3.theme.color;
41929
+ return color.bg_fill_secondary;
41975
41930
  }, function (props) {
41976
- return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (_ref5) {
41931
+ return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (_ref4) {
41932
+ var color = _ref4.theme.color;
41933
+ return color.border;
41934
+ }, function (_ref5) {
41977
41935
  var color = _ref5.theme.color;
41978
- return color.gray_4;
41979
- }, function (_ref6) {
41980
- var color = _ref6.theme.color;
41981
- return color.gray_4;
41936
+ return color.border;
41982
41937
  });
41983
41938
  });
41984
41939
  var OrderColumn = function OrderColumn(props) {
@@ -41993,11 +41948,11 @@ var OrderColumn = function OrderColumn(props) {
41993
41948
  onClick: handleClick
41994
41949
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
41995
41950
  name: dir == 'back' ? 'ArrowLeft' : 'ArrowRight',
41996
- color: "gray_9",
41951
+ color: "icon",
41997
41952
  size: "xs"
41998
41953
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
41999
41954
  variant: "sm",
42000
- color: "gray_11_50"
41955
+ color: "text"
42001
41956
  }, text));
42002
41957
  };
42003
41958
  var SortColumn = function SortColumn(props) {
@@ -42011,11 +41966,11 @@ var SortColumn = function SortColumn(props) {
42011
41966
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(FunctionWrapper, {
42012
41967
  onClick: handleClick
42013
41968
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_sort_icon__WEBPACK_IMPORTED_MODULE_7__.SortIcon, {
42014
- color: "gray_9",
41969
+ color: "icon",
42015
41970
  reverse: sort != 'asc'
42016
41971
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42017
41972
  variant: "sm",
42018
- color: "gray_11_50"
41973
+ color: "text"
42019
41974
  }, text));
42020
41975
  };
42021
41976
  var PinColumn = function PinColumn(props) {
@@ -42031,11 +41986,11 @@ var PinColumn = function PinColumn(props) {
42031
41986
  onClick: handleClick
42032
41987
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42033
41988
  name: isPinned ? 'Unpin' : 'Pin',
42034
- color: "gray_9",
41989
+ color: "icon",
42035
41990
  size: "xs"
42036
41991
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42037
41992
  variant: "sm",
42038
- color: "gray_11_50"
41993
+ color: "text"
42039
41994
  }, text));
42040
41995
  };
42041
41996
  var HideColumn = function HideColumn(props) {
@@ -42048,11 +42003,11 @@ var HideColumn = function HideColumn(props) {
42048
42003
  type: "checkbox"
42049
42004
  }, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42050
42005
  name: "EyeOff",
42051
- color: "gray_9",
42006
+ color: "icon",
42052
42007
  size: "xs"
42053
42008
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42054
42009
  variant: "sm",
42055
- color: "gray_11_50"
42010
+ color: "text"
42056
42011
  }, "Hide column"));
42057
42012
  };
42058
42013
  var FunctionWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
@@ -42267,10 +42222,10 @@ __webpack_require__.r(__webpack_exports__);
42267
42222
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
42268
42223
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
42269
42224
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
42270
- /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
42271
- /* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../input */ "./src/input/index.js");
42272
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
42273
- /* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../link */ "./src/link/index.js");
42225
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42226
+ /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
42227
+ /* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../input */ "./src/input/index.js");
42228
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
42274
42229
  /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42275
42230
  /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./context */ "./src/table/context.js");
42276
42231
  // LICENSE_CODE ZON
@@ -42323,7 +42278,7 @@ var Pagination = function Pagination(_ref) {
42323
42278
  });
42324
42279
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationWrapper, {
42325
42280
  className: className
42326
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationItems, childProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationControlsWrapper, null, !!onDownload && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_3__.IconButton, {
42281
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationItems, childProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationControlsWrapper, null, !!onDownload && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, {
42327
42282
  icon: "Download",
42328
42283
  onClick: onDownload,
42329
42284
  tooltip: downloadTooltip,
@@ -42337,7 +42292,7 @@ Pagination.propTypes = {
42337
42292
  var PaginationWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42338
42293
  displayName: "PaginationWrapper",
42339
42294
  componentId: "sc-1rdn0jh-0"
42340
- })(["display:flex;flex-direction:row;align-items:center;padding:12px 16px;gap:8px;"]);
42295
+ })(["display:flex;flex-direction:row;align-items:center;padding:14px 0;justify-content:space-between;"]);
42341
42296
  var PaginationControlsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42342
42297
  displayName: "PaginationControlsWrapper",
42343
42298
  componentId: "sc-1rdn0jh-1"
@@ -42364,25 +42319,20 @@ var PaginationControls = function PaginationControls(_ref2) {
42364
42319
  });
42365
42320
  var from = pageIndex * pageSize + 1;
42366
42321
  var to = Math.min((pageIndex + 1) * pageSize, total);
42367
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, opts.length > 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_4__.Dropdown, {
42322
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, {
42323
+ align_items: "center",
42324
+ gap: "03"
42325
+ }, opts.length > 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_5__.Dropdown, {
42368
42326
  classNamePrefix: "uikit-table-pagination",
42369
42327
  value: sel,
42370
42328
  options: opts,
42371
42329
  onChange: handleChange,
42372
- menuPortalTarget: document.body
42373
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, {
42374
- align_items: "center",
42375
- column_gap: "0.2em"
42376
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42377
- variant: "sm",
42378
- color: "gray_11_50"
42379
- }, from, "-", to), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42380
- variant: "sm",
42381
- color: "gray_11_50"
42382
- }, "of"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42330
+ menuPortalTarget: document.body,
42331
+ size: "sm"
42332
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42383
42333
  variant: "sm",
42384
- color: "gray_11_50"
42385
- }, total)));
42334
+ color: "text"
42335
+ }, from, "-", to, " of ", total));
42386
42336
  };
42387
42337
  var PaginationItems = function PaginationItems(_ref3) {
42388
42338
  var pageIndex = _ref3.pageIndex,
@@ -42401,40 +42351,50 @@ var PaginationItems = function PaginationItems(_ref3) {
42401
42351
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationItemsWrapper, null, canPreviousPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42402
42352
  onClick: function onClick() {
42403
42353
  return previousPage();
42404
- },
42405
- text: "Prev"
42406
- }), pages, canNextPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42354
+ }
42355
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42356
+ name: "ChevronLeft",
42357
+ size: "xs",
42358
+ color: "icon"
42359
+ })), pages, canNextPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42407
42360
  onClick: function onClick() {
42408
42361
  return nextPage();
42409
- },
42410
- text: "Next"
42411
- }));
42362
+ }
42363
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42364
+ name: "ChevronRight",
42365
+ size: "xs",
42366
+ color: "icon"
42367
+ })));
42412
42368
  };
42413
42369
  var PaginationItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42414
42370
  displayName: "PaginationItemsWrapper",
42415
42371
  componentId: "sc-1rdn0jh-2"
42416
- })(["display:flex;flex-direction:row;align-items:center;gap:8px;"]);
42417
- var PageLink = function PageLink(_ref4) {
42418
- var onClick = _ref4.onClick,
42419
- text = _ref4.text;
42420
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_link__WEBPACK_IMPORTED_MODULE_6__.Link, {
42421
- as: "div",
42422
- variant: "secondary",
42423
- size: "sm",
42424
- onClick: onClick,
42425
- text: String(text),
42426
- style: {
42427
- cursor: 'pointer'
42428
- }
42429
- });
42430
- };
42431
- var PageLabel = function PageLabel(_ref5) {
42432
- var text = _ref5.text;
42433
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42434
- variant: "sm",
42435
- color: "gray_11_50"
42436
- }, text);
42437
- };
42372
+ })(["display:flex;flex-direction:row;align-items:center;gap:2px;"]);
42373
+ var PageLink = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42374
+ displayName: "PageLink",
42375
+ componentId: "sc-1rdn0jh-3"
42376
+ })(["box-sizing:border-box;display:flex;width:28px;height:28px;padding:8px;flex-direction:column;justify-content:center;align-items:center;border-radius:4px;font-family:", ";font-size:", ";font-style:normal;font-weight:", ";line-height:", ";", ""], function (_ref4) {
42377
+ var font_family = _ref4.theme.font_family;
42378
+ return font_family.sans;
42379
+ }, function (_ref5) {
42380
+ var font_size = _ref5.theme.font_size;
42381
+ return font_size.sm;
42382
+ }, function (_ref6) {
42383
+ var font_weight = _ref6.theme.font_weight;
42384
+ return font_weight.regular;
42385
+ }, function (_ref7) {
42386
+ var line_height = _ref7.theme.line_height;
42387
+ return line_height.none;
42388
+ }, function (_ref8) {
42389
+ var $ellipsis = _ref8.$ellipsis,
42390
+ onClick = _ref8.onClick,
42391
+ color = _ref8.theme.color;
42392
+ if ($ellipsis) return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["color:", ";"], color.text);
42393
+ if (onClick) {
42394
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:pointer;color:", ";&:hover{background:", ";}"], color.text, color.bg_fill_secondary);
42395
+ }
42396
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:pointer;color:", ";background:", ";"], color.text_primary, color.bg_fill_primary_secondary);
42397
+ });
42438
42398
  var usePages = function usePages(opt) {
42439
42399
  return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
42440
42400
  var pageIndex = opt.pageIndex,
@@ -42444,23 +42404,19 @@ var usePages = function usePages(opt) {
42444
42404
  pageCount = opt.pageCount;
42445
42405
  var currentPage = pageIndex + 1;
42446
42406
  var ellipsis = function ellipsis(key) {
42447
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLabel, {
42407
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42448
42408
  key: key,
42449
- text: "..."
42450
- });
42409
+ $ellipsis: true
42410
+ }, "...");
42451
42411
  };
42452
42412
  var pageItem = function pageItem(page) {
42453
- if (page == currentPage) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLabel, {
42454
- key: page,
42455
- text: page
42456
- });
42413
+ var onClick = page == currentPage ? undefined : function () {
42414
+ return gotoPage(page - 1);
42415
+ };
42457
42416
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42458
42417
  key: page,
42459
- onClick: function onClick() {
42460
- return gotoPage(page - 1);
42461
- },
42462
- text: page
42463
- });
42418
+ onClick: onClick
42419
+ }, page);
42464
42420
  };
42465
42421
  if (pageCount <= 1) return null;
42466
42422
  var pages;
@@ -42850,7 +42806,7 @@ var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.with
42850
42806
  }[$rowDensity] || '32';
42851
42807
  }, _table_cell__WEBPACK_IMPORTED_MODULE_3__.TableCellContent, function (_ref4) {
42852
42808
  var color = _ref4.theme.color;
42853
- return color.gray_2;
42809
+ return color.table_cell_hover;
42854
42810
  });
42855
42811
  var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(function (props) {
42856
42812
  var _provided$draggablePr;
@@ -43158,19 +43114,22 @@ var RowMenuButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().but
43158
43114
  componentId: "sc-q7kjip-0"
43159
43115
  })(["box-sizing:border-box;min-width:180px;display:flex;align-items:center;padding:7px 12px;gap:10px;border:0 none;background-color:unset;white-space:nowrap;"]);
43160
43116
  RowMenuButton.displayName = 'RowMenuButton';
43161
- var rowMenuStyle = {
43162
- backgroundColor: '#fff',
43163
- display: 'flex',
43164
- alignItems: 'center',
43165
- position: 'sticky',
43166
- right: 0,
43167
- overflow: 'visible'
43168
- };
43169
43117
  var getRowMenuCellProps = function getRowMenuCellProps(props, _ref3) {
43170
- var cell = _ref3.cell;
43171
- if (cell.column.id == 'row_menu') return [props, {
43172
- style: rowMenuStyle
43173
- }];
43118
+ var cell = _ref3.cell,
43119
+ instance = _ref3.instance;
43120
+ if (cell.column.id == 'row_menu') {
43121
+ var _instance$theme;
43122
+ return [props, {
43123
+ style: {
43124
+ backgroundColor: (_instance$theme = instance.theme) === null || _instance$theme === void 0 ? void 0 : _instance$theme.color.bg,
43125
+ display: 'flex',
43126
+ alignItems: 'center',
43127
+ position: 'sticky',
43128
+ right: 0,
43129
+ overflow: 'visible'
43130
+ }
43131
+ }];
43132
+ }
43174
43133
  return props;
43175
43134
  };
43176
43135
  var rowMenuColumn = {
@@ -43181,10 +43140,11 @@ var rowMenuColumn = {
43181
43140
  disableResizing: true,
43182
43141
  disablePinning: true,
43183
43142
  canEdit: false,
43184
- width: 48,
43185
- minWidth: 48,
43186
- maxWidth: 48,
43187
- internalActions: {}
43143
+ width: 32,
43144
+ minWidth: 32,
43145
+ maxWidth: 32,
43146
+ internalActions: {},
43147
+ type: 'row_action'
43188
43148
  };
43189
43149
  var useRowMenu = function useRowMenu(hooks) {
43190
43150
  hooks.visibleColumns.push(function (columns) {
@@ -43369,7 +43329,7 @@ var SortIcon = function SortIcon(_ref) {
43369
43329
  var _ref$visible = _ref.visible,
43370
43330
  visible = _ref$visible === void 0 ? true : _ref$visible,
43371
43331
  _ref$color = _ref.color,
43372
- color = _ref$color === void 0 ? 'blue_10' : _ref$color,
43332
+ color = _ref$color === void 0 ? 'icon_primary' : _ref$color,
43373
43333
  reverse = _ref.reverse;
43374
43334
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
43375
43335
  size: "xs",
@@ -44007,7 +43967,7 @@ var TableCell = function TableCell(props) {
44007
43967
  'tableCell--is-expanded': canExpand && isExpanded
44008
43968
  }), cellProps.className);
44009
43969
  var Wrapper = expandColumnId == columnId && (canExpand && isExpanded || depth > 0) ? ExpandedTableCellContent : TableCellContent;
44010
- var Content = isEditable ? EditableCellContent : CellContent;
43970
+ var Content = type == 'row_action' ? RowActionCellContent : isEditable ? EditableCellContent : CellContent;
44011
43971
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Wrapper, _extends({}, cellProps, {
44012
43972
  $isLastPinned: isLastPinned
44013
43973
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Content, {
@@ -44026,7 +43986,7 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
44026
43986
  componentId: "sc-1gdt4qg-0"
44027
43987
  })(["background-color:", ";border-right:", ";"], function (_ref) {
44028
43988
  var color = _ref.theme.color;
44029
- return color.bg_primary;
43989
+ return color.bg;
44030
43990
  }, function (_ref2) {
44031
43991
  var $isLastPinned = _ref2.$isLastPinned,
44032
43992
  color = _ref2.theme.color;
@@ -44037,31 +43997,32 @@ var ExpandedTableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___de
44037
43997
  componentId: "sc-1gdt4qg-1"
44038
43998
  })(["position:relative;&::before{content:'';position:absolute;left:0;top:0;height:calc(100% + 1px);border-left:4px solid ", ";}"], function (_ref3) {
44039
43999
  var color = _ref3.theme.color;
44040
- return color.blue_6;
44000
+ return color.table_nesting;
44041
44001
  });
44002
+ var RowActionCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
44003
+ displayName: "RowActionCellContent",
44004
+ componentId: "sc-1gdt4qg-2"
44005
+ })(["box-sizing:border-box;display:flex;align-items:center;padding:4px;"]);
44042
44006
  var CellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
44043
44007
  displayName: "CellContent",
44044
- componentId: "sc-1gdt4qg-2"
44045
- })(["box-sizing:border-box;display:flex;align-items:center;padding:4px 16px;overflow:clip;", ""], function (props) {
44046
- return props.$type == 'number' ? 'text-align: right;' : null;
44008
+ componentId: "sc-1gdt4qg-3"
44009
+ })(["box-sizing:border-box;display:flex;align-items:center;padding:4px 16px;overflow:clip;", ""], function (_ref4) {
44010
+ var $type = _ref4.$type;
44011
+ return $type == 'number' ? 'text-align: right;' : null;
44047
44012
  });
44048
44013
  var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(CellContent).withConfig({
44049
44014
  displayName: "EditableCellContent",
44050
- componentId: "sc-1gdt4qg-3"
44051
- })(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], function (_ref4) {
44052
- var color = _ref4.theme.color;
44053
- return color.white;
44054
- }, function (_ref5) {
44015
+ componentId: "sc-1gdt4qg-4"
44016
+ })(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], function (_ref5) {
44055
44017
  var color = _ref5.theme.color;
44056
- return color.gray_9;
44057
- }, function (props) {
44058
- return props.$isEditing ? (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";border:1px solid ", " !important;box-shadow:inset 0px 0px 0px 3px rgba(0,106,220,0.4);"], function (_ref6) {
44059
- var color = _ref6.theme.color;
44060
- return color.white;
44061
- }, function (_ref7) {
44062
- var color = _ref7.theme.color;
44063
- return color.blue_11;
44064
- }) : undefined;
44018
+ return color.table_cell_hover;
44019
+ }, function (_ref6) {
44020
+ var color = _ref6.theme.color;
44021
+ return color.border_accent;
44022
+ }, function (_ref7) {
44023
+ var $isEditing = _ref7.$isEditing,
44024
+ color = _ref7.theme.color;
44025
+ return $isEditing ? (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", " !important;;border:1px solid ", " !important;outline:1.5px solid ", ";"], color.bg, color.border_primary, color.border_primary) : undefined;
44065
44026
  });
44066
44027
 
44067
44028
  /***/ }),
@@ -44811,8 +44772,6 @@ var color = {
44811
44772
  gray_11_75: '#202425',
44812
44773
  gray_12: '#151718',
44813
44774
  black: '#000000',
44814
- black_1: '#303B45',
44815
- // XXX alexanderse: not exists
44816
44775
  aqua_9: '#3A3F42',
44817
44776
  aqua_10: '#15C1E6',
44818
44777
  purple_9: '#D4D0FF',
@@ -44821,8 +44780,6 @@ var color = {
44821
44780
  mint_10: '#4DD1B5'
44822
44781
  };
44823
44782
  var semanticLight = {
44824
- bg_primary: color.white,
44825
- // XXX alexanderse: remove
44826
44783
  bg: color.white,
44827
44784
  bg_elevated: color.white,
44828
44785
  bg_fill_primary: color.blue_11,
@@ -44845,9 +44802,10 @@ var semanticLight = {
44845
44802
  border_primary: color.blue_11,
44846
44803
  border_primary_hover: color.blue_10,
44847
44804
  border_error: color.red_9,
44805
+ border_info: color.gray_8,
44848
44806
  text: color.gray_11_75,
44849
44807
  text_secondary: color.gray_11_50,
44850
- text_teritary: color.gray_11_25,
44808
+ text_tertiary: color.gray_11_25,
44851
44809
  text_quaternary: color.gray_11,
44852
44810
  text_disabled: color.gray_9,
44853
44811
  text_primary: color.blue_11,
@@ -44947,8 +44905,6 @@ var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
44947
44905
  color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticLight), componentLight)
44948
44906
  });
44949
44907
  var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
44950
- bg_primary: '#151718',
44951
- // XXX alexanderse: remove
44952
44908
  bg: color.gray_12,
44953
44909
  bg_elevated: color.gray_11_75,
44954
44910
  bg_fill_primary: color.blue_9,
@@ -44971,9 +44927,10 @@ var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
44971
44927
  border_primary: color.blue_8,
44972
44928
  border_primary_hover: color.blue_9,
44973
44929
  border_error: color.red_8,
44930
+ border_info: color.gray_11,
44974
44931
  text: color.gray_6,
44975
44932
  text_secondary: color.gray_7,
44976
- text_teritary: color.gray_8,
44933
+ text_tertiary: color.gray_8,
44977
44934
  text_quaternary: color.gray_9,
44978
44935
  text_disabled: color.gray_11,
44979
44936
  text_primary: color.blue_8,
@@ -47465,7 +47422,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
47465
47422
 
47466
47423
 
47467
47424
 
47468
- var colorNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_2__.color);
47425
+ var colorNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_2__.lightTheme.color);
47469
47426
  var iconNames = Object.keys(_icons__WEBPACK_IMPORTED_MODULE_0__["default"]);
47470
47427
  var toPixel = function toPixel(value) {
47471
47428
  return "".concat(value, "px");
@@ -47480,13 +47437,15 @@ function fromTheme(propName, defaultValue) {
47480
47437
  props = _objectWithoutProperties(_ref, _excluded);
47481
47438
  var value = (_ref2 = (_props$propName = props[propName]) !== null && _props$propName !== void 0 ? _props$propName : props["$".concat(propName)]) !== null && _ref2 !== void 0 ? _ref2 : defaultValue;
47482
47439
  if (value != null) {
47440
+ var _theme$shadow$value;
47483
47441
  if (propName.indexOf('padding') == 0 || propName.indexOf('margin') == 0 || ['gap', 'rowGap', 'columnGap'].includes(propName)) {
47484
47442
  var _theme$spacing$value;
47485
47443
  return (_theme$spacing$value = theme.spacing[value]) !== null && _theme$spacing$value !== void 0 ? _theme$spacing$value : value;
47486
47444
  }
47487
- if (['font_family', 'font_weight', 'font_size', 'line_height', 'letter_spacing', 'color', 'box_shadow'].includes(propName)) {
47445
+ if (['font_family', 'font_weight', 'font_size', 'line_height', 'letter_spacing', 'color'].includes(propName)) {
47488
47446
  return theme[propName][value];
47489
47447
  }
47448
+ if (propName == 'box_shadow') return (_theme$shadow$value = theme.shadow[value]) !== null && _theme$shadow$value !== void 0 ? _theme$shadow$value : theme.box_shadow[value];
47490
47449
  }
47491
47450
  return value;
47492
47451
  };