@luminati-io/uikit 5.2.10 → 5.2.11-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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, {
@@ -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
  /***/ }),
@@ -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, {
@@ -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
  /***/ }),
@@ -36957,24 +36955,26 @@ var RadioControl = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.
36957
36955
  var backgroundColor, hoverBackgroundColor, activeBackgroundColor;
36958
36956
  var beforeColor, hoverBeforeColor, activeBeforeColor;
36959
36957
  if (disabled) {
36960
- borderColor = hoverBorderColor = activeBorderColor = color.gray_8;
36958
+ borderColor = hoverBorderColor = activeBorderColor = color.border_disabled;
36961
36959
  backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
36962
- if (checked) beforeColor = hoverBeforeColor = activeBeforeColor = color.gray_6;
36960
+ if (checked) {
36961
+ beforeColor = hoverBeforeColor = activeBeforeColor = color.border_accent;
36962
+ }
36963
36963
  } else {
36964
36964
  if (checked) {
36965
- borderColor = activeBorderColor = color.blue_11;
36965
+ borderColor = activeBorderColor = color.bg_fill_primary;
36966
36966
  backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
36967
- beforeColor = activeBeforeColor = color.blue_11;
36968
- hoverBorderColor = color.blue_10;
36967
+ beforeColor = activeBeforeColor = color.bg_fill_primary;
36968
+ hoverBorderColor = color.bg_fill_primary_hover;
36969
36969
  hoverBackgroundColor = color.white;
36970
- hoverBeforeColor = color.blue_10;
36971
- activeOutlineColor = color.blue_5;
36970
+ hoverBeforeColor = color.bg_fill_primary_hover;
36971
+ activeOutlineColor = color.bg_fill_primary;
36972
36972
  } else {
36973
- borderColor = color.gray_9;
36973
+ borderColor = color.border_accent;
36974
36974
  backgroundColor = activeBackgroundColor = color.white;
36975
- hoverBorderColor = color.gray_10;
36976
- hoverBackgroundColor = color.gray_3;
36977
- activeBorderColor = color.blue_11;
36975
+ hoverBorderColor = color.border_accent;
36976
+ hoverBackgroundColor = color.bg_fill_secondary;
36977
+ activeBorderColor = color.icon_primary;
36978
36978
  }
36979
36979
  }
36980
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);
@@ -37189,7 +37189,7 @@ var Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
37189
37189
  }),
37190
37190
  variant: "sm",
37191
37191
  id: labelId,
37192
- color: disabled ? 'gray_9' : 'gray_11_50'
37192
+ color: disabled ? 'text_disabled' : 'text'
37193
37193
  }, label)));
37194
37194
  });
37195
37195
  Radio.displayName = 'Radio';
@@ -37256,16 +37256,16 @@ var RadioTabStyled = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_r
37256
37256
  componentId: "sc-1cp95by-0"
37257
37257
  })(["", "{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
37258
  var color = _ref.theme.color;
37259
- return color.gray_6;
37259
+ return color.border;
37260
37260
  }, function (_ref2) {
37261
37261
  var $rounded = _ref2.$rounded;
37262
37262
  return $rounded ? '4px' : '0';
37263
37263
  }, _common__WEBPACK_IMPORTED_MODULE_7__.RadioWrapper, function (_ref3) {
37264
37264
  var color = _ref3.theme.color;
37265
- return color.gray_6;
37265
+ return color.border;
37266
37266
  }, function (_ref4) {
37267
37267
  var color = _ref4.theme.color;
37268
- return color.gray_2;
37268
+ return color.bg_fill;
37269
37269
  });
37270
37270
  var Img = styled_components__WEBPACK_IMPORTED_MODULE_2___default().img.withConfig({
37271
37271
  displayName: "Img",
@@ -37291,15 +37291,15 @@ var RadioTabLabel = function RadioTabLabel(props) {
37291
37291
  align_items: "center"
37292
37292
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
37293
37293
  variant: "lg",
37294
- color: disabled ? 'gray_10' : 'gray_11_50'
37294
+ color: disabled ? 'text_disabled' : 'text'
37295
37295
  }, label), tag && tagVariant == 'badge' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_badge__WEBPACK_IMPORTED_MODULE_5__.Badge, {
37296
37296
  variant: "positive"
37297
37297
  }, tag) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
37298
37298
  variant: "sm",
37299
- color: "green_11"
37299
+ color: "text_success"
37300
37300
  }, tag)), description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Paragraph, {
37301
37301
  variant: "lg_snug",
37302
- color: disabled ? 'gray_9' : 'gray_11'
37302
+ color: disabled ? 'text_disabled' : 'text_quaternary'
37303
37303
  }, description)));
37304
37304
  };
37305
37305
  var radioTabPrefix = 'radioTab';
@@ -37822,7 +37822,7 @@ Textarea.displayName = 'Textarea';
37822
37822
  var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.withConfig({
37823
37823
  displayName: "Area",
37824
37824
  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) {
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:", ";::placeholder{color:", ";}"], function (_ref2) {
37826
37826
  var font_family = _ref2.theme.font_family;
37827
37827
  return font_family.sans;
37828
37828
  }, function (_ref3) {
@@ -37836,10 +37836,7 @@ var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.wit
37836
37836
  return line_height.none;
37837
37837
  }, function (_ref6) {
37838
37838
  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;
37839
+ return color.text_quaternary;
37843
37840
  });
37844
37841
 
37845
37842
  /***/ }),
@@ -38139,7 +38136,7 @@ var ItemList = function ItemList(props) {
38139
38136
  })
38140
38137
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
38141
38138
  variant: "sm",
38142
- color: "gray_11_50"
38139
+ color: "text"
38143
38140
  }, "".concat(extra, " more item").concat(extra > 1 ? 's' : '', " hidden"))));
38144
38141
  };
38145
38142
  var DefaultItemRenderer = function DefaultItemRenderer(props) {
@@ -38152,7 +38149,7 @@ var DefaultItemRenderer = function DefaultItemRenderer(props) {
38152
38149
  role: "listitem"
38153
38150
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
38154
38151
  variant: "sm",
38155
- color: "gray_11_50"
38152
+ color: "text"
38156
38153
  }, value), showRemove && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_6__.IconButton, {
38157
38154
  "data-action": "remove",
38158
38155
  title: "Remove",
@@ -38170,7 +38167,7 @@ var ItemWithHover = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(Ite
38170
38167
  componentId: "sc-1cige3y-1"
38171
38168
  })(["&:hover{background:", ";}"], function (_ref) {
38172
38169
  var color = _ref.theme.color;
38173
- return color.gray_2;
38170
+ return color.bg_fill;
38174
38171
  });
38175
38172
 
38176
38173
  /***/ }),
@@ -38471,10 +38468,6 @@ var Toggle = function Toggle(_ref) {
38471
38468
  var checked = evt.target.checked;
38472
38469
  onChange === null || onChange === void 0 || onChange(checked, evt);
38473
38470
  }, [onChange]);
38474
- var color = getLabelColor({
38475
- disabled: disabled,
38476
- value: value
38477
- });
38478
38471
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleLabel, _extends({}, (0,_util__WEBPACK_IMPORTED_MODULE_4__.getCommonProps)(rest), {
38479
38472
  $size: size
38480
38473
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleInput, {
@@ -38486,7 +38479,7 @@ var Toggle = function Toggle(_ref) {
38486
38479
  }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
38487
38480
  variant: "sm",
38488
38481
  tag: "span",
38489
- color: color,
38482
+ color: disabled ? 'text_disabled' : 'text',
38490
38483
  no_wrap: true
38491
38484
  }, label));
38492
38485
  };
@@ -38506,65 +38499,49 @@ var ToggleInput = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
38506
38499
  }).withConfig({
38507
38500
  displayName: "ToggleInput",
38508
38501
  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;
38502
+ })(["&&{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) {
38503
+ var $size = _ref2.$size;
38504
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 32 : 44);
38516
38505
  }, function (_ref3) {
38517
- var color = _ref3.theme.color;
38518
- return color.gray_7;
38506
+ var $size = _ref3.$size;
38507
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 16 : 20);
38519
38508
  }, function (_ref4) {
38520
38509
  var color = _ref4.theme.color;
38521
- return color.gray_7;
38510
+ return color.toggle_off_bg_default;
38522
38511
  }, function (_ref5) {
38523
38512
  var color = _ref5.theme.color;
38524
- return color.gray_8;
38513
+ return color.toggle_off_bg_hover;
38525
38514
  }, function (_ref6) {
38526
38515
  var color = _ref6.theme.color;
38527
- return color.gray_9;
38516
+ return color.toggle_off_bg_active;
38528
38517
  }, function (_ref7) {
38529
38518
  var color = _ref7.theme.color;
38530
- return color.gray_9;
38519
+ return color.toggle_off_border_active;
38531
38520
  }, function (_ref8) {
38532
38521
  var color = _ref8.theme.color;
38533
- return color.blue_11;
38522
+ return color.toggle_on_bg_default;
38534
38523
  }, function (_ref9) {
38535
38524
  var color = _ref9.theme.color;
38536
- return color.blue_11;
38525
+ return color.toggle_on_bg_hover;
38537
38526
  }, function (_ref10) {
38538
38527
  var color = _ref10.theme.color;
38539
- return color.blue_10;
38528
+ return color.toggle_on_bg_default;
38540
38529
  }, function (_ref11) {
38541
38530
  var color = _ref11.theme.color;
38542
- return color.blue_10;
38531
+ return color.toggle_on_border_active;
38543
38532
  }, function (_ref12) {
38544
- var color = _ref12.theme.color;
38545
- return color.blue_11;
38533
+ var $size = _ref12.$size;
38534
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 12 : 16);
38546
38535
  }, function (_ref13) {
38547
- var color = _ref13.theme.color;
38548
- return color.blue_11;
38536
+ var $size = _ref13.$size;
38537
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 12 : 16);
38549
38538
  }, function (_ref14) {
38550
38539
  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);
38540
+ return color.toggle_switch;
38556
38541
  }, 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);
38542
+ var $size = _ref15.$size;
38543
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 16 : 24);
38561
38544
  });
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
38545
 
38569
38546
  /***/ }),
38570
38547
 
@@ -40537,15 +40514,17 @@ __webpack_require__.r(__webpack_exports__);
40537
40514
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
40538
40515
  /* harmony import */ var react_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-table */ "react-table");
40539
40516
  /* 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");
40517
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
40518
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
40519
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
40520
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
40521
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
40522
+ /* harmony import */ var _editable_columns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./editable_columns */ "./src/table/editable_columns.js");
40523
+ /* harmony import */ var _pinned_columns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./pinned_columns */ "./src/table/pinned_columns.js");
40524
+ /* harmony import */ var _expandable_rows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./expandable_rows */ "./src/table/expandable_rows.js");
40525
+ /* harmony import */ var _select_rows__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./select_rows */ "./src/table/select_rows.js");
40526
+ /* harmony import */ var _row_menu__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./row_menu */ "./src/table/row_menu.js");
40527
+ /* harmony import */ var _order_logic__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./order_logic */ "./src/table/order_logic.js");
40549
40528
  // LICENSE_CODE ZON
40550
40529
 
40551
40530
 
@@ -40581,6 +40560,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
40581
40560
 
40582
40561
 
40583
40562
 
40563
+
40584
40564
  var assign = Object.assign;
40585
40565
  var defaultContextValue = {};
40586
40566
  var TableContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createContext(defaultContextValue);
@@ -40595,7 +40575,7 @@ var defaultIsCellEditable = function defaultIsCellEditable(_ref) {
40595
40575
  var defaultPageSizes = [5, 10, 20, 30];
40596
40576
  var Cell = function Cell(_ref2) {
40597
40577
  var value = _ref2.value;
40598
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Paragraph, {
40578
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Paragraph, {
40599
40579
  variant: "sm",
40600
40580
  color: "gray-11-50"
40601
40581
  }, String(value));
@@ -40621,7 +40601,7 @@ var Provider = function Provider(_ref3) {
40621
40601
  NoDataComp = _ref3.NoDataComp,
40622
40602
  LoadingComp = _ref3.LoadingComp,
40623
40603
  _ref3$ExpandHandleCom = _ref3.ExpandHandleComp,
40624
- ExpandHandleComp = _ref3$ExpandHandleCom === void 0 ? _expandable_rows__WEBPACK_IMPORTED_MODULE_8__.ExpandHandle : _ref3$ExpandHandleCom,
40604
+ ExpandHandleComp = _ref3$ExpandHandleCom === void 0 ? _expandable_rows__WEBPACK_IMPORTED_MODULE_9__.ExpandHandle : _ref3$ExpandHandleCom,
40625
40605
  _ref3$noDataText = _ref3.noDataText,
40626
40606
  noDataText = _ref3$noDataText === void 0 ? 'No data' : _ref3$noDataText,
40627
40607
  _ref3$loadingText = _ref3.loadingText,
@@ -40672,6 +40652,7 @@ var Provider = function Provider(_ref3) {
40672
40652
  _ref3$rowDensity = _ref3.rowDensity,
40673
40653
  rowDensity = _ref3$rowDensity === void 0 ? 'busy_bee' : _ref3$rowDensity,
40674
40654
  rest = _objectWithoutProperties(_ref3, _excluded);
40655
+ var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.useTheme)();
40675
40656
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0),
40676
40657
  _useState2 = _slicedToArray(_useState, 2),
40677
40658
  pageCount = _useState2[0],
@@ -40680,9 +40661,9 @@ var Provider = function Provider(_ref3) {
40680
40661
  _useState4 = _slicedToArray(_useState3, 2),
40681
40662
  isDraggingRow = _useState4[0],
40682
40663
  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);
40664
+ var hiddenColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('hiddenColumns'), _hiddenColumns);
40665
+ var pinnedColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('pinnedColumns'), _pinnedColumns);
40666
+ var columnOrder = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('columnOrder'), _columnOrder);
40686
40667
  var initialState = assign({}, _initialState, pageSize && {
40687
40668
  pageSize: pageSize
40688
40669
  }, hiddenColumns && {
@@ -40711,10 +40692,11 @@ var Provider = function Provider(_ref3) {
40711
40692
  getFooterProps: getFooterProps,
40712
40693
  ExpandHandleComp: ExpandHandleComp,
40713
40694
  fullWidth: fullWidth,
40714
- rowDensity: rowDensity
40695
+ rowDensity: rowDensity,
40696
+ theme: theme
40715
40697
  }, rest), manualPagination && {
40716
40698
  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)));
40699
+ }), 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
40700
  var _table$state = table.state,
40719
40701
  pageIndex = _table$state.pageIndex,
40720
40702
  _pageSize = _table$state.pageSize;
@@ -40731,8 +40713,8 @@ var Provider = function Provider(_ref3) {
40731
40713
  }, [manualPagination, totalCount, pageIndex, _pageSize]);
40732
40714
  var _LoadingComp = useComp(loadingText, LoadingComp);
40733
40715
  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);
40716
+ var orderLogic = (0,_order_logic__WEBPACK_IMPORTED_MODULE_12__.useOrderLogic)(table);
40717
+ var expandColumnId = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(_expandColumnId, (_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.id);
40736
40718
  var value = _objectSpread(_objectSpread({
40737
40719
  columnSort: columnSort,
40738
40720
  onColumnSortChanged: onColumnSortChanged,
@@ -40838,7 +40820,7 @@ var useCanHideColumns = function useCanHideColumns(hooks) {
40838
40820
  var disableHiding = instance.disableHiding,
40839
40821
  flatHeaders = instance.flatHeaders;
40840
40822
  flatHeaders.forEach(function (header) {
40841
- header.canHide = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(header.disableHiding === true ? false : undefined, disableHiding === true ? false : undefined, true);
40823
+ header.canHide = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(header.disableHiding === true ? false : undefined, disableHiding === true ? false : undefined, true);
40842
40824
  });
40843
40825
  });
40844
40826
  };
@@ -40852,15 +40834,15 @@ var useComp = function useComp(text, Comp) {
40852
40834
  };
40853
40835
  var EmptyBody = function EmptyBody(_ref4) {
40854
40836
  var children = _ref4.children;
40855
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
40837
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex, {
40856
40838
  align_items: "center",
40857
40839
  width: "100%",
40858
40840
  padding_top: "04",
40859
40841
  padding_right: "05",
40860
40842
  padding_bottom: "04",
40861
40843
  padding_left: "05"
40862
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
40863
- color: "gray_11_50"
40844
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
40845
+ color: "text_secondary"
40864
40846
  }, children));
40865
40847
  };
40866
40848
 
@@ -40984,7 +40966,7 @@ var Search = function Search(_ref2) {
40984
40966
  leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
40985
40967
  size: "xs",
40986
40968
  name: "Search",
40987
- color: "gray_9"
40969
+ color: "icon"
40988
40970
  }),
40989
40971
  rightInnerContent: clearButton,
40990
40972
  value: search,
@@ -41126,7 +41108,7 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
41126
41108
  }, [isVisible, toggleHidden]);
41127
41109
  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
41110
  variant: "sm",
41129
- color: isVisible ? 'gray_11_50' : 'gray_9',
41111
+ color: isVisible ? 'text_secondary' : 'text_disabled',
41130
41112
  "data-label": true,
41131
41113
  className: className
41132
41114
  }, name || id), canPin && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemAction, {
@@ -41144,7 +41126,7 @@ var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___
41144
41126
  componentId: "sc-1uptv2h-2"
41145
41127
  })(["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
41128
  var color = _ref10.theme.color;
41147
- return color.gray_2;
41129
+ return color.bg_fill;
41148
41130
  });
41149
41131
  var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref11) {
41150
41132
  var onClick = _ref11.onClick,
@@ -41158,7 +41140,7 @@ var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref11) {
41158
41140
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
41159
41141
  name: icon,
41160
41142
  size: "xs",
41161
- color: "gray_9"
41143
+ color: "icon"
41162
41144
  })));
41163
41145
  };
41164
41146
  var CustomizeButtonItemActionWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
@@ -41724,7 +41706,7 @@ var HeaderCell = function HeaderCell(props) {
41724
41706
  compact: compact
41725
41707
  }), compact && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
41726
41708
  variant: "sm",
41727
- color: "gray_11",
41709
+ color: "text",
41728
41710
  no_wrap: true
41729
41711
  }, name || id), canSort && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_sort_icon__WEBPACK_IMPORTED_MODULE_9__.SortIcon, {
41730
41712
  visible: !!iconVisible,
@@ -41758,7 +41740,7 @@ var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
41758
41740
  return color.bg_primary;
41759
41741
  }, function (_ref3) {
41760
41742
  var color = _ref3.theme.color;
41761
- return color.gray_2;
41743
+ return color.table_cell_hover;
41762
41744
  }, function (_ref4) {
41763
41745
  var $isLastPinned = _ref4.$isLastPinned,
41764
41746
  color = _ref4.theme.color;
@@ -41779,7 +41761,7 @@ var HeaderCellResizer = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
41779
41761
  if (props.$isResizing) {
41780
41762
  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
41763
  var color = _ref5.theme.color;
41782
- return color.blue_10;
41764
+ return color.border_primary;
41783
41765
  });
41784
41766
  }
41785
41767
  });
@@ -41787,7 +41769,7 @@ var renderCellContent = function renderCellContent(column, type, props) {
41787
41769
  var content = column[type];
41788
41770
  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
41771
  variant: "sm",
41790
- color: "gray_11",
41772
+ color: "text",
41791
41773
  no_wrap: true
41792
41774
  }, content);
41793
41775
  return column.render(type, props);
@@ -41941,18 +41923,12 @@ var MenuButton = function MenuButton(props) {
41941
41923
  var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton).withConfig({
41942
41924
  displayName: "StyledButton",
41943
41925
  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
- });
41926
+ })(["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
41927
  var MenuWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
41952
41928
  displayName: "MenuWrapper",
41953
41929
  componentId: "sc-1oo76mu-1"
41954
- })(["background:white;border-radius:4px;box-shadow:", ";"], function (_ref3) {
41955
- var box_shadow = _ref3.theme.box_shadow;
41930
+ })(["background:white;border-radius:4px;box-shadow:", ";"], function (_ref) {
41931
+ var box_shadow = _ref.theme.box_shadow;
41956
41932
  return box_shadow.md;
41957
41933
  });
41958
41934
  var MenuPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_2__.withPopover)(MenuButton, function (p) {
@@ -41969,16 +41945,16 @@ var Menu = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.withConfi
41969
41945
  var MenuItem = styled_components__WEBPACK_IMPORTED_MODULE_1___default().li.withConfig({
41970
41946
  displayName: "MenuItem",
41971
41947
  componentId: "sc-1oo76mu-3"
41972
- })(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref4) {
41973
- var color = _ref4.theme.color;
41974
- return color.gray_2;
41948
+ })(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref2) {
41949
+ var color = _ref2.theme.color;
41950
+ return color.bg_fill_secondary;
41975
41951
  }, 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) {
41977
- var color = _ref5.theme.color;
41978
- return color.gray_4;
41979
- }, function (_ref6) {
41980
- var color = _ref6.theme.color;
41981
- return color.gray_4;
41952
+ return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (_ref3) {
41953
+ var color = _ref3.theme.color;
41954
+ return color.border;
41955
+ }, function (_ref4) {
41956
+ var color = _ref4.theme.color;
41957
+ return color.border;
41982
41958
  });
41983
41959
  });
41984
41960
  var OrderColumn = function OrderColumn(props) {
@@ -41993,11 +41969,11 @@ var OrderColumn = function OrderColumn(props) {
41993
41969
  onClick: handleClick
41994
41970
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
41995
41971
  name: dir == 'back' ? 'ArrowLeft' : 'ArrowRight',
41996
- color: "gray_9",
41972
+ color: "icon",
41997
41973
  size: "xs"
41998
41974
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
41999
41975
  variant: "sm",
42000
- color: "gray_11_50"
41976
+ color: "text"
42001
41977
  }, text));
42002
41978
  };
42003
41979
  var SortColumn = function SortColumn(props) {
@@ -42011,11 +41987,11 @@ var SortColumn = function SortColumn(props) {
42011
41987
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(FunctionWrapper, {
42012
41988
  onClick: handleClick
42013
41989
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_sort_icon__WEBPACK_IMPORTED_MODULE_7__.SortIcon, {
42014
- color: "gray_9",
41990
+ color: "icon",
42015
41991
  reverse: sort != 'asc'
42016
41992
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42017
41993
  variant: "sm",
42018
- color: "gray_11_50"
41994
+ color: "text"
42019
41995
  }, text));
42020
41996
  };
42021
41997
  var PinColumn = function PinColumn(props) {
@@ -42031,11 +42007,11 @@ var PinColumn = function PinColumn(props) {
42031
42007
  onClick: handleClick
42032
42008
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42033
42009
  name: isPinned ? 'Unpin' : 'Pin',
42034
- color: "gray_9",
42010
+ color: "icon",
42035
42011
  size: "xs"
42036
42012
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42037
42013
  variant: "sm",
42038
- color: "gray_11_50"
42014
+ color: "text"
42039
42015
  }, text));
42040
42016
  };
42041
42017
  var HideColumn = function HideColumn(props) {
@@ -42048,11 +42024,11 @@ var HideColumn = function HideColumn(props) {
42048
42024
  type: "checkbox"
42049
42025
  }, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42050
42026
  name: "EyeOff",
42051
- color: "gray_9",
42027
+ color: "icon",
42052
42028
  size: "xs"
42053
42029
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
42054
42030
  variant: "sm",
42055
- color: "gray_11_50"
42031
+ color: "text"
42056
42032
  }, "Hide column"));
42057
42033
  };
42058
42034
  var FunctionWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
@@ -42267,10 +42243,10 @@ __webpack_require__.r(__webpack_exports__);
42267
42243
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
42268
42244
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
42269
42245
  /* 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");
42246
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42247
+ /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
42248
+ /* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../input */ "./src/input/index.js");
42249
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
42274
42250
  /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42275
42251
  /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./context */ "./src/table/context.js");
42276
42252
  // LICENSE_CODE ZON
@@ -42323,7 +42299,7 @@ var Pagination = function Pagination(_ref) {
42323
42299
  });
42324
42300
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationWrapper, {
42325
42301
  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, {
42302
+ }, /*#__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
42303
  icon: "Download",
42328
42304
  onClick: onDownload,
42329
42305
  tooltip: downloadTooltip,
@@ -42337,7 +42313,7 @@ Pagination.propTypes = {
42337
42313
  var PaginationWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42338
42314
  displayName: "PaginationWrapper",
42339
42315
  componentId: "sc-1rdn0jh-0"
42340
- })(["display:flex;flex-direction:row;align-items:center;padding:12px 16px;gap:8px;"]);
42316
+ })(["display:flex;flex-direction:row;align-items:center;padding:14px 0;justify-content:space-between;"]);
42341
42317
  var PaginationControlsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42342
42318
  displayName: "PaginationControlsWrapper",
42343
42319
  componentId: "sc-1rdn0jh-1"
@@ -42364,25 +42340,20 @@ var PaginationControls = function PaginationControls(_ref2) {
42364
42340
  });
42365
42341
  var from = pageIndex * pageSize + 1;
42366
42342
  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, {
42343
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, {
42344
+ align_items: "center",
42345
+ gap: "03"
42346
+ }, opts.length > 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_5__.Dropdown, {
42368
42347
  classNamePrefix: "uikit-table-pagination",
42369
42348
  value: sel,
42370
42349
  options: opts,
42371
42350
  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, {
42351
+ menuPortalTarget: document.body,
42352
+ size: "sm"
42353
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42383
42354
  variant: "sm",
42384
- color: "gray_11_50"
42385
- }, total)));
42355
+ color: "text"
42356
+ }, from, "-", to, " of ", total));
42386
42357
  };
42387
42358
  var PaginationItems = function PaginationItems(_ref3) {
42388
42359
  var pageIndex = _ref3.pageIndex,
@@ -42401,40 +42372,50 @@ var PaginationItems = function PaginationItems(_ref3) {
42401
42372
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationItemsWrapper, null, canPreviousPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42402
42373
  onClick: function onClick() {
42403
42374
  return previousPage();
42404
- },
42405
- text: "Prev"
42406
- }), pages, canNextPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42375
+ }
42376
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42377
+ name: "ChevronLeft",
42378
+ size: "xs",
42379
+ color: "icon"
42380
+ })), pages, canNextPage && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42407
42381
  onClick: function onClick() {
42408
42382
  return nextPage();
42409
- },
42410
- text: "Next"
42411
- }));
42383
+ }
42384
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
42385
+ name: "ChevronRight",
42386
+ size: "xs",
42387
+ color: "icon"
42388
+ })));
42412
42389
  };
42413
42390
  var PaginationItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42414
42391
  displayName: "PaginationItemsWrapper",
42415
42392
  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
- };
42393
+ })(["display:flex;flex-direction:row;align-items:center;gap:2px;"]);
42394
+ var PageLink = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42395
+ displayName: "PageLink",
42396
+ componentId: "sc-1rdn0jh-3"
42397
+ })(["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) {
42398
+ var font_family = _ref4.theme.font_family;
42399
+ return font_family.sans;
42400
+ }, function (_ref5) {
42401
+ var font_size = _ref5.theme.font_size;
42402
+ return font_size.sm;
42403
+ }, function (_ref6) {
42404
+ var font_weight = _ref6.theme.font_weight;
42405
+ return font_weight.regular;
42406
+ }, function (_ref7) {
42407
+ var line_height = _ref7.theme.line_height;
42408
+ return line_height.none;
42409
+ }, function (_ref8) {
42410
+ var $ellipsis = _ref8.$ellipsis,
42411
+ onClick = _ref8.onClick,
42412
+ color = _ref8.theme.color;
42413
+ if ($ellipsis) return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["color:", ";"], color.text);
42414
+ if (onClick) {
42415
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:pointer;color:", ";&:hover{background:", ";}"], color.text, color.bg_fill_secondary);
42416
+ }
42417
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:pointer;color:", ";background:", ";"], color.text_primary, color.bg_fill_primary_secondary);
42418
+ });
42438
42419
  var usePages = function usePages(opt) {
42439
42420
  return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
42440
42421
  var pageIndex = opt.pageIndex,
@@ -42444,23 +42425,19 @@ var usePages = function usePages(opt) {
42444
42425
  pageCount = opt.pageCount;
42445
42426
  var currentPage = pageIndex + 1;
42446
42427
  var ellipsis = function ellipsis(key) {
42447
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLabel, {
42428
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42448
42429
  key: key,
42449
- text: "..."
42450
- });
42430
+ $ellipsis: true
42431
+ }, "...");
42451
42432
  };
42452
42433
  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
- });
42434
+ var onClick = page == currentPage ? undefined : function () {
42435
+ return gotoPage(page - 1);
42436
+ };
42457
42437
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PageLink, {
42458
42438
  key: page,
42459
- onClick: function onClick() {
42460
- return gotoPage(page - 1);
42461
- },
42462
- text: page
42463
- });
42439
+ onClick: onClick
42440
+ }, page);
42464
42441
  };
42465
42442
  if (pageCount <= 1) return null;
42466
42443
  var pages;
@@ -42850,7 +42827,7 @@ var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.with
42850
42827
  }[$rowDensity] || '32';
42851
42828
  }, _table_cell__WEBPACK_IMPORTED_MODULE_3__.TableCellContent, function (_ref4) {
42852
42829
  var color = _ref4.theme.color;
42853
- return color.gray_2;
42830
+ return color.table_cell_hover;
42854
42831
  });
42855
42832
  var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(function (props) {
42856
42833
  var _provided$draggablePr;
@@ -43158,19 +43135,22 @@ var RowMenuButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().but
43158
43135
  componentId: "sc-q7kjip-0"
43159
43136
  })(["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
43137
  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
43138
  var getRowMenuCellProps = function getRowMenuCellProps(props, _ref3) {
43170
- var cell = _ref3.cell;
43171
- if (cell.column.id == 'row_menu') return [props, {
43172
- style: rowMenuStyle
43173
- }];
43139
+ var cell = _ref3.cell,
43140
+ instance = _ref3.instance;
43141
+ if (cell.column.id == 'row_menu') {
43142
+ var _instance$theme;
43143
+ return [props, {
43144
+ style: {
43145
+ backgroundColor: (_instance$theme = instance.theme) === null || _instance$theme === void 0 ? void 0 : _instance$theme.color.bg,
43146
+ display: 'flex',
43147
+ alignItems: 'center',
43148
+ position: 'sticky',
43149
+ right: 0,
43150
+ overflow: 'visible'
43151
+ }
43152
+ }];
43153
+ }
43174
43154
  return props;
43175
43155
  };
43176
43156
  var rowMenuColumn = {
@@ -43181,10 +43161,11 @@ var rowMenuColumn = {
43181
43161
  disableResizing: true,
43182
43162
  disablePinning: true,
43183
43163
  canEdit: false,
43184
- width: 48,
43185
- minWidth: 48,
43186
- maxWidth: 48,
43187
- internalActions: {}
43164
+ width: 32,
43165
+ minWidth: 32,
43166
+ maxWidth: 32,
43167
+ internalActions: {},
43168
+ type: 'row_action'
43188
43169
  };
43189
43170
  var useRowMenu = function useRowMenu(hooks) {
43190
43171
  hooks.visibleColumns.push(function (columns) {
@@ -43369,7 +43350,7 @@ var SortIcon = function SortIcon(_ref) {
43369
43350
  var _ref$visible = _ref.visible,
43370
43351
  visible = _ref$visible === void 0 ? true : _ref$visible,
43371
43352
  _ref$color = _ref.color,
43372
- color = _ref$color === void 0 ? 'blue_10' : _ref$color,
43353
+ color = _ref$color === void 0 ? 'icon_primary' : _ref$color,
43373
43354
  reverse = _ref.reverse;
43374
43355
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
43375
43356
  size: "xs",
@@ -44007,7 +43988,7 @@ var TableCell = function TableCell(props) {
44007
43988
  'tableCell--is-expanded': canExpand && isExpanded
44008
43989
  }), cellProps.className);
44009
43990
  var Wrapper = expandColumnId == columnId && (canExpand && isExpanded || depth > 0) ? ExpandedTableCellContent : TableCellContent;
44010
- var Content = isEditable ? EditableCellContent : CellContent;
43991
+ var Content = type == 'row_action' ? RowActionCellContent : isEditable ? EditableCellContent : CellContent;
44011
43992
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Wrapper, _extends({}, cellProps, {
44012
43993
  $isLastPinned: isLastPinned
44013
43994
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Content, {
@@ -44026,7 +44007,7 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
44026
44007
  componentId: "sc-1gdt4qg-0"
44027
44008
  })(["background-color:", ";border-right:", ";"], function (_ref) {
44028
44009
  var color = _ref.theme.color;
44029
- return color.bg_primary;
44010
+ return color.bg;
44030
44011
  }, function (_ref2) {
44031
44012
  var $isLastPinned = _ref2.$isLastPinned,
44032
44013
  color = _ref2.theme.color;
@@ -44037,30 +44018,35 @@ var ExpandedTableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___de
44037
44018
  componentId: "sc-1gdt4qg-1"
44038
44019
  })(["position:relative;&::before{content:'';position:absolute;left:0;top:0;height:calc(100% + 1px);border-left:4px solid ", ";}"], function (_ref3) {
44039
44020
  var color = _ref3.theme.color;
44040
- return color.blue_6;
44021
+ return color.table_nesting;
44041
44022
  });
44023
+ var RowActionCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
44024
+ displayName: "RowActionCellContent",
44025
+ componentId: "sc-1gdt4qg-2"
44026
+ })(["box-sizing:border-box;display:flex;align-items:center;padding:4px;"]);
44042
44027
  var CellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
44043
44028
  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;
44029
+ componentId: "sc-1gdt4qg-3"
44030
+ })(["box-sizing:border-box;display:flex;align-items:center;padding:4px 16px;overflow:clip;", ""], function (_ref4) {
44031
+ var $type = _ref4.$type;
44032
+ return $type == 'number' ? 'text-align: right;' : null;
44047
44033
  });
44048
44034
  var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(CellContent).withConfig({
44049
44035
  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) {
44036
+ componentId: "sc-1gdt4qg-4"
44037
+ })(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], function (_ref5) {
44055
44038
  var color = _ref5.theme.color;
44056
- return color.gray_9;
44039
+ return color.white;
44040
+ }, function (_ref6) {
44041
+ var color = _ref6.theme.color;
44042
+ return color.border_accent;
44057
44043
  }, 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) {
44044
+ 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 (_ref7) {
44062
44045
  var color = _ref7.theme.color;
44063
- return color.blue_11;
44046
+ return color.white;
44047
+ }, function (_ref8) {
44048
+ var color = _ref8.theme.color;
44049
+ return color.table_nesting;
44064
44050
  }) : undefined;
44065
44051
  });
44066
44052
 
@@ -44811,8 +44797,6 @@ var color = {
44811
44797
  gray_11_75: '#202425',
44812
44798
  gray_12: '#151718',
44813
44799
  black: '#000000',
44814
- black_1: '#303B45',
44815
- // XXX alexanderse: not exists
44816
44800
  aqua_9: '#3A3F42',
44817
44801
  aqua_10: '#15C1E6',
44818
44802
  purple_9: '#D4D0FF',
@@ -44821,8 +44805,6 @@ var color = {
44821
44805
  mint_10: '#4DD1B5'
44822
44806
  };
44823
44807
  var semanticLight = {
44824
- bg_primary: color.white,
44825
- // XXX alexanderse: remove
44826
44808
  bg: color.white,
44827
44809
  bg_elevated: color.white,
44828
44810
  bg_fill_primary: color.blue_11,
@@ -44947,8 +44929,6 @@ var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
44947
44929
  color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticLight), componentLight)
44948
44930
  });
44949
44931
  var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
44950
- bg_primary: '#151718',
44951
- // XXX alexanderse: remove
44952
44932
  bg: color.gray_12,
44953
44933
  bg_elevated: color.gray_11_75,
44954
44934
  bg_fill_primary: color.blue_9,
@@ -47465,7 +47445,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
47465
47445
 
47466
47446
 
47467
47447
 
47468
- var colorNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_2__.color);
47448
+ var colorNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_2__.lightTheme.color);
47469
47449
  var iconNames = Object.keys(_icons__WEBPACK_IMPORTED_MODULE_0__["default"]);
47470
47450
  var toPixel = function toPixel(value) {
47471
47451
  return "".concat(value, "px");
@@ -47480,13 +47460,15 @@ function fromTheme(propName, defaultValue) {
47480
47460
  props = _objectWithoutProperties(_ref, _excluded);
47481
47461
  var value = (_ref2 = (_props$propName = props[propName]) !== null && _props$propName !== void 0 ? _props$propName : props["$".concat(propName)]) !== null && _ref2 !== void 0 ? _ref2 : defaultValue;
47482
47462
  if (value != null) {
47463
+ var _theme$shadow$value;
47483
47464
  if (propName.indexOf('padding') == 0 || propName.indexOf('margin') == 0 || ['gap', 'rowGap', 'columnGap'].includes(propName)) {
47484
47465
  var _theme$spacing$value;
47485
47466
  return (_theme$spacing$value = theme.spacing[value]) !== null && _theme$spacing$value !== void 0 ? _theme$spacing$value : value;
47486
47467
  }
47487
- if (['font_family', 'font_weight', 'font_size', 'line_height', 'letter_spacing', 'color', 'box_shadow'].includes(propName)) {
47468
+ if (['font_family', 'font_weight', 'font_size', 'line_height', 'letter_spacing', 'color'].includes(propName)) {
47488
47469
  return theme[propName][value];
47489
47470
  }
47471
+ 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
47472
  }
47491
47473
  return value;
47492
47474
  };