@luminati-io/uikit 5.2.11-beta.0 → 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: "
|
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: "
|
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.
|
31256
|
+
fill: color.text_tertiary,
|
31257
31257
|
fontSize: 12,
|
31258
31258
|
// xs
|
31259
31259
|
fontFamily: font_family.sans,
|
@@ -33528,7 +33528,7 @@ var useStyles = function useStyles(_ref) {
|
|
33528
33528
|
};
|
33529
33529
|
var borderColor = color.border;
|
33530
33530
|
var boxShadow = 'none';
|
33531
|
-
var foreColor = color.
|
33531
|
+
var foreColor = color.text_tertiary;
|
33532
33532
|
var backgroundColor = color.bg;
|
33533
33533
|
var cursor = 'text';
|
33534
33534
|
if (isDisabled) {
|
@@ -33605,7 +33605,7 @@ var useStyles = function useStyles(_ref) {
|
|
33605
33605
|
gap: '8px',
|
33606
33606
|
height: '40px',
|
33607
33607
|
backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
|
33608
|
-
color: isDisabled ? color.text_disabled : color.
|
33608
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
33609
33609
|
'&:hover': {
|
33610
33610
|
backgroundColor: color.bg_fill_secondary
|
33611
33611
|
}
|
@@ -34440,11 +34440,11 @@ var DraggableItem = function DraggableItem(props) {
|
|
34440
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, {
|
34441
34441
|
name: "DragAndDrop",
|
34442
34442
|
size: "xs",
|
34443
|
-
color: "
|
34443
|
+
color: "icon",
|
34444
34444
|
verticalAlign: "sub"
|
34445
34445
|
})), name && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Truncated_label, {
|
34446
34446
|
variant: "lg",
|
34447
|
-
color: "
|
34447
|
+
color: "text_tertiary"
|
34448
34448
|
}, name), children);
|
34449
34449
|
};
|
34450
34450
|
DraggableItem.displayName = 'DraggableItem';
|
@@ -34458,11 +34458,11 @@ var DraggedContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(
|
|
34458
34458
|
componentId: "sc-167vnen-0"
|
34459
34459
|
})(["border-radius:4px;&:hover{background-color:", ";}", ""], function (_ref2) {
|
34460
34460
|
var color = _ref2.theme.color;
|
34461
|
-
return color.
|
34461
|
+
return color.bg_fill;
|
34462
34462
|
}, function (_ref3) {
|
34463
34463
|
var $dragging = _ref3.$dragging,
|
34464
34464
|
color = _ref3.theme.color;
|
34465
|
-
return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";"], color.
|
34465
|
+
return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", " !important;"], color.bg_fill_secondary);
|
34466
34466
|
});
|
34467
34467
|
var Truncated_label = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typography__WEBPACK_IMPORTED_MODULE_3__.Label).withConfig({
|
34468
34468
|
displayName: "Truncated_label",
|
@@ -35217,7 +35217,7 @@ var useStyles = function useStyles(_ref) {
|
|
35217
35217
|
};
|
35218
35218
|
var borderColor = color.border;
|
35219
35219
|
var boxShadow = 'none';
|
35220
|
-
var foreColor = color.
|
35220
|
+
var foreColor = color.text_tertiary;
|
35221
35221
|
var backgroundColor = color.bg;
|
35222
35222
|
var cursor = 'text';
|
35223
35223
|
if (isDisabled) {
|
@@ -36371,7 +36371,7 @@ var CountrySelect = function CountrySelect(_ref) {
|
|
36371
36371
|
no_wrap: true
|
36372
36372
|
}, _getCountryLabel(opt)), !!countryCallingCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
|
36373
36373
|
variant: "sm",
|
36374
|
-
color: "
|
36374
|
+
color: "text_tertiary"
|
36375
36375
|
}, "+", countryCallingCode));
|
36376
36376
|
}, [_getCountryLabel, _getCountryCallingCode, _getCountryFlag]);
|
36377
36377
|
var filterOption = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (_ref3, inputValue) {
|
@@ -36594,7 +36594,7 @@ var useStyles = function useStyles(size) {
|
|
36594
36594
|
fontWeight: font_weight.regular,
|
36595
36595
|
fontSize: font_size.sm,
|
36596
36596
|
lineHeight: line_height.none,
|
36597
|
-
color: isDisabled ? color.text_disabled : color.
|
36597
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
36598
36598
|
backgroundColor: isDisabled ? color.bg_fill_teritary : color.bg,
|
36599
36599
|
borderColor: isDisabled ? color.border_disabled : color.border,
|
36600
36600
|
cursor: isDisabled ? 'default' : 'text',
|
@@ -36650,7 +36650,7 @@ var useStyles = function useStyles(size) {
|
|
36650
36650
|
isDisabled = _ref11.isDisabled;
|
36651
36651
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
36652
36652
|
backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
|
36653
|
-
color: isDisabled ? color.text_disabled : color.
|
36653
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
36654
36654
|
'&:hover': {
|
36655
36655
|
backgroundColor: color.bg_fill_secondary
|
36656
36656
|
}
|
@@ -36943,41 +36943,24 @@ var RadioWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.
|
|
36943
36943
|
var RadioControl = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.withConfig({
|
36944
36944
|
displayName: "RadioControl",
|
36945
36945
|
componentId: "sc-7im0vh-1"
|
36946
|
-
})(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1.5px solid;border-radius:50%;", "
|
36947
|
-
var
|
36948
|
-
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));
|
36949
|
-
}, function (_ref2) {
|
36950
|
-
var checked = _ref2.checked,
|
36951
|
-
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,
|
36952
36948
|
color = _ref2.theme.color;
|
36953
|
-
var
|
36954
|
-
|
36955
|
-
|
36956
|
-
var
|
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;
|
36957
36957
|
if (disabled) {
|
36958
|
-
|
36959
|
-
backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
|
36960
|
-
if (checked) {
|
36961
|
-
beforeColor = hoverBeforeColor = activeBeforeColor = color.border_accent;
|
36962
|
-
}
|
36963
|
-
} else {
|
36964
|
-
if (checked) {
|
36965
|
-
borderColor = activeBorderColor = color.bg_fill_primary;
|
36966
|
-
backgroundColor = hoverBackgroundColor = activeBackgroundColor = color.white;
|
36967
|
-
beforeColor = activeBeforeColor = color.bg_fill_primary;
|
36968
|
-
hoverBorderColor = color.bg_fill_primary_hover;
|
36969
|
-
hoverBackgroundColor = color.white;
|
36970
|
-
hoverBeforeColor = color.bg_fill_primary_hover;
|
36971
|
-
activeOutlineColor = color.bg_fill_primary;
|
36972
|
-
} else {
|
36973
|
-
borderColor = color.border_accent;
|
36974
|
-
backgroundColor = activeBackgroundColor = color.white;
|
36975
|
-
hoverBorderColor = color.border_accent;
|
36976
|
-
hoverBackgroundColor = color.bg_fill_secondary;
|
36977
|
-
activeBorderColor = color.icon_primary;
|
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
|
-
|
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",
|
@@ -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; }
|
@@ -37271,13 +37255,13 @@ var Img = styled_components__WEBPACK_IMPORTED_MODULE_2___default().img.withConfi
|
|
37271
37255
|
displayName: "Img",
|
37272
37256
|
componentId: "sc-1cp95by-1"
|
37273
37257
|
})(["max-width:60px;"]);
|
37274
|
-
var RadioTabLabel = function RadioTabLabel(
|
37275
|
-
var label =
|
37276
|
-
tag =
|
37277
|
-
tagVariant =
|
37278
|
-
description =
|
37279
|
-
disabled =
|
37280
|
-
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"
|
@@ -37303,25 +37287,38 @@ var RadioTabLabel = function RadioTabLabel(props) {
|
|
37303
37287
|
}, description)));
|
37304
37288
|
};
|
37305
37289
|
var radioTabPrefix = 'radioTab';
|
37306
|
-
var RadioTab = function RadioTab(
|
37307
|
-
var options =
|
37308
|
-
classNamePrefix =
|
37309
|
-
rounded =
|
37310
|
-
|
37311
|
-
|
37312
|
-
size =
|
37313
|
-
rest = _objectWithoutProperties(
|
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:
|
37302
|
+
disabled: _disabled,
|
37319
37303
|
classNamePrefix: cnPrefix,
|
37320
|
-
options: options.map(function (
|
37321
|
-
|
37322
|
-
|
37323
|
-
|
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
|
-
|
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
|
-
|
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:
|
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,
|
@@ -39143,7 +39131,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
|
|
39143
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, {
|
39144
39132
|
variant: "sm",
|
39145
39133
|
whiteSpace: "nowrap",
|
39146
|
-
color: "
|
39134
|
+
color: "text_tertiary"
|
39147
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, {
|
39148
39136
|
subMenu: true
|
39149
39137
|
}), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
|
@@ -39275,7 +39263,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_ty
|
|
39275
39263
|
})(["margin-left:auto;"]);
|
39276
39264
|
var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
|
39277
39265
|
variant: 'xs',
|
39278
|
-
color: '
|
39266
|
+
color: 'text_tertiary',
|
39279
39267
|
whiteSpace: 'nowrap'
|
39280
39268
|
}).withConfig({
|
39281
39269
|
displayName: "Description",
|
@@ -39472,7 +39460,7 @@ var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_la
|
|
39472
39460
|
componentId: "sc-1nggvo0-0"
|
39473
39461
|
})(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], function (_ref) {
|
39474
39462
|
var color = _ref.theme.color;
|
39475
|
-
return color.
|
39463
|
+
return color.bg;
|
39476
39464
|
}, function (_ref2) {
|
39477
39465
|
var spacing = _ref2.theme.spacing;
|
39478
39466
|
return spacing['02'];
|
@@ -39724,10 +39712,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39724
39712
|
|
39725
39713
|
|
39726
39714
|
/*jslint react:true*/
|
39727
|
-
var _excluded = ["color"];
|
39728
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); }
|
39729
|
-
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; }
|
39730
|
-
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; }
|
39731
39716
|
|
39732
39717
|
|
39733
39718
|
|
@@ -39752,42 +39737,30 @@ var ModalSubtitle = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_ty
|
|
39752
39737
|
var color = _ref3.theme.color;
|
39753
39738
|
return color.text_secondary;
|
39754
39739
|
});
|
39755
|
-
var CloseButton = function CloseButton(
|
39756
|
-
|
39757
|
-
color = _ref4$color === void 0 ? 'bg_elevated' : _ref4$color,
|
39758
|
-
props = _objectWithoutProperties(_ref4, _excluded);
|
39759
|
-
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({
|
39760
39742
|
icon: "CloseSmall",
|
39761
|
-
size: "xs"
|
39762
|
-
$color: color
|
39743
|
+
size: "xs"
|
39763
39744
|
}, props));
|
39764
39745
|
};
|
39765
|
-
var StyledIconButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton).withConfig({
|
39766
|
-
displayName: "StyledIconButton",
|
39767
|
-
componentId: "sc-1p9nv3u-1"
|
39768
|
-
})(["background-color:", ";"], function (_ref5) {
|
39769
|
-
var $color = _ref5.$color,
|
39770
|
-
color = _ref5.theme.color;
|
39771
|
-
return $color && color[$color];
|
39772
|
-
});
|
39773
39746
|
var ButtonsGroup = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).attrs({
|
39774
39747
|
gap: '04',
|
39775
39748
|
align_items: 'center'
|
39776
39749
|
}).withConfig({
|
39777
39750
|
displayName: "ButtonsGroup",
|
39778
|
-
componentId: "sc-1p9nv3u-
|
39751
|
+
componentId: "sc-1p9nv3u-1"
|
39779
39752
|
})([""]);
|
39780
39753
|
var ModalButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_button__WEBPACK_IMPORTED_MODULE_3__.Button).attrs({
|
39781
39754
|
size: 'sm'
|
39782
39755
|
}).withConfig({
|
39783
39756
|
displayName: "ModalButton",
|
39784
|
-
componentId: "sc-1p9nv3u-
|
39757
|
+
componentId: "sc-1p9nv3u-2"
|
39785
39758
|
})([""]);
|
39786
|
-
var ModalHeader = function ModalHeader(
|
39787
|
-
var title =
|
39788
|
-
subtitle =
|
39789
|
-
onCancel =
|
39790
|
-
cancelDisabled =
|
39759
|
+
var ModalHeader = function ModalHeader(_ref4) {
|
39760
|
+
var title = _ref4.title,
|
39761
|
+
subtitle = _ref4.subtitle,
|
39762
|
+
onCancel = _ref4.onCancel,
|
39763
|
+
cancelDisabled = _ref4.cancelDisabled;
|
39791
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, {
|
39792
39765
|
align_items: "center",
|
39793
39766
|
justify_content: "space-between",
|
@@ -39803,15 +39776,15 @@ ModalHeader.propTypes = {
|
|
39803
39776
|
onCancel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39804
39777
|
cancelDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
39805
39778
|
};
|
39806
|
-
var ModalFooter = function ModalFooter(
|
39807
|
-
var
|
39808
|
-
okLabel =
|
39809
|
-
|
39810
|
-
cancelLabel =
|
39811
|
-
onOk =
|
39812
|
-
onCancel =
|
39813
|
-
okDisabled =
|
39814
|
-
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;
|
39815
39788
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, {
|
39816
39789
|
width: "100%",
|
39817
39790
|
justify_content: "flex-end"
|
@@ -40461,10 +40434,10 @@ var TabContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().butt
|
|
40461
40434
|
color = _ref2$theme.color,
|
40462
40435
|
shadow = _ref2$theme.shadow;
|
40463
40436
|
if ($variant == 'underline') {
|
40464
|
-
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.
|
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);
|
40465
40438
|
}
|
40466
40439
|
if ($variant == 'contain') {
|
40467
|
-
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;
|
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);
|
40468
40441
|
}
|
40469
40442
|
if ($variant == 'vertical') {
|
40470
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);
|
@@ -40939,13 +40912,16 @@ CustomizeButton.propTypes = {
|
|
40939
40912
|
var PopoverContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
40940
40913
|
displayName: "PopoverContainer",
|
40941
40914
|
componentId: "sc-1uptv2h-0"
|
40942
|
-
})(["box-shadow:", ";background:
|
40943
|
-
var
|
40944
|
-
return
|
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;
|
40945
40921
|
});
|
40946
|
-
var Search = function Search(
|
40947
|
-
var search =
|
40948
|
-
setSearch =
|
40922
|
+
var Search = function Search(_ref3) {
|
40923
|
+
var search = _ref3.search,
|
40924
|
+
setSearch = _ref3.setSearch;
|
40949
40925
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)(),
|
40950
40926
|
spacing = _useTheme.spacing;
|
40951
40927
|
var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
@@ -40976,21 +40952,21 @@ var Search = function Search(_ref2) {
|
|
40976
40952
|
var ItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
40977
40953
|
displayName: "ItemsWrapper",
|
40978
40954
|
componentId: "sc-1uptv2h-1"
|
40979
|
-
})(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (
|
40980
|
-
var $maxMenuHeight =
|
40981
|
-
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;
|
40982
40958
|
if ($maxMenuHeight > 0) {
|
40983
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);
|
40984
40960
|
}
|
40985
40961
|
});
|
40986
|
-
var CustomizeButtonPopover = function CustomizeButtonPopover(
|
40987
|
-
var searchable =
|
40988
|
-
search =
|
40989
|
-
setSearch =
|
40990
|
-
|
40991
|
-
maxMenuHeight =
|
40992
|
-
items =
|
40993
|
-
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;
|
40994
40970
|
var maxHeight = Number.parseInt(maxMenuHeight);
|
40995
40971
|
var _maxMenuHeight = orderProps && (!maxHeight || maxHeight < 600) ? 600 : maxMenuHeight;
|
40996
40972
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PopoverContainer, null, searchable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Search, {
|
@@ -41004,8 +40980,8 @@ var CustomizeButtonPopover = function CustomizeButtonPopover(_ref4) {
|
|
41004
40980
|
items: items
|
41005
40981
|
})));
|
41006
40982
|
};
|
41007
|
-
var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (
|
41008
|
-
var popover =
|
40983
|
+
var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (_ref6) {
|
40984
|
+
var popover = _ref6.popover;
|
41009
40985
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
41010
40986
|
onClick: popover.toggle,
|
41011
40987
|
tooltip: "Customize columns",
|
@@ -41014,18 +40990,18 @@ var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopove
|
|
41014
40990
|
}, CustomizeButtonPopover, {
|
41015
40991
|
placement: 'bottom'
|
41016
40992
|
});
|
41017
|
-
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(
|
41018
|
-
var items =
|
40993
|
+
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref7) {
|
40994
|
+
var items = _ref7.items;
|
41019
40995
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, items.map(function (c) {
|
41020
40996
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, _extends({
|
41021
40997
|
key: c.id
|
41022
40998
|
}, c));
|
41023
40999
|
}));
|
41024
41000
|
};
|
41025
|
-
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(
|
41026
|
-
var items =
|
41027
|
-
orders =
|
41028
|
-
moveColumn =
|
41001
|
+
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref8) {
|
41002
|
+
var items = _ref8.items,
|
41003
|
+
orders = _ref8.orders,
|
41004
|
+
moveColumn = _ref8.moveColumn;
|
41029
41005
|
var sections = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
41030
41006
|
var _orders$pinned;
|
41031
41007
|
return [((_orders$pinned = orders.pinned) === null || _orders$pinned === void 0 ? void 0 : _orders$pinned.length) && {
|
@@ -41081,25 +41057,25 @@ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref7
|
|
41081
41057
|
CustomDrag: CustomizeButtonDraggableItem
|
41082
41058
|
});
|
41083
41059
|
};
|
41084
|
-
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(
|
41085
|
-
var Dragger =
|
41086
|
-
isDragging =
|
41087
|
-
itemProps = _objectWithoutProperties(
|
41060
|
+
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(_ref9) {
|
41061
|
+
var Dragger = _ref9.Dragger,
|
41062
|
+
isDragging = _ref9.isDragging,
|
41063
|
+
itemProps = _objectWithoutProperties(_ref9, _excluded);
|
41088
41064
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_6__.DragDrop.DraggableItem, {
|
41089
41065
|
Dragger: Dragger,
|
41090
41066
|
isDragging: isDragging
|
41091
41067
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, itemProps));
|
41092
41068
|
};
|
41093
|
-
var CustomizeButtonItem = function CustomizeButtonItem(
|
41094
|
-
var id =
|
41095
|
-
name =
|
41096
|
-
canPin =
|
41097
|
-
isPinned =
|
41098
|
-
togglePinned =
|
41099
|
-
canHide =
|
41100
|
-
isVisible =
|
41101
|
-
toggleHidden =
|
41102
|
-
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;
|
41103
41079
|
var handlePinned = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
|
41104
41080
|
togglePinned(!isPinned);
|
41105
41081
|
}, [isPinned, togglePinned]);
|
@@ -41124,14 +41100,14 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
|
|
41124
41100
|
var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41125
41101
|
displayName: "CustomizeButtonItemWrapper",
|
41126
41102
|
componentId: "sc-1uptv2h-2"
|
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 (
|
41128
|
-
var color =
|
41129
|
-
return color.
|
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;
|
41130
41106
|
});
|
41131
|
-
var CustomizeButtonItemAction = function CustomizeButtonItemAction(
|
41132
|
-
var onClick =
|
41133
|
-
tooltip =
|
41134
|
-
icon =
|
41107
|
+
var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref12) {
|
41108
|
+
var onClick = _ref12.onClick,
|
41109
|
+
tooltip = _ref12.tooltip,
|
41110
|
+
icon = _ref12.icon;
|
41135
41111
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemActionWrapper, {
|
41136
41112
|
onClick: onClick
|
41137
41113
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip, {
|
@@ -41927,9 +41903,12 @@ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_ico
|
|
41927
41903
|
var MenuWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
41928
41904
|
displayName: "MenuWrapper",
|
41929
41905
|
componentId: "sc-1oo76mu-1"
|
41930
|
-
})(["
|
41931
|
-
var
|
41932
|
-
return
|
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;
|
41933
41912
|
});
|
41934
41913
|
var MenuPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_2__.withPopover)(MenuButton, function (p) {
|
41935
41914
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MenuWrapper, {
|
@@ -41945,16 +41924,16 @@ var Menu = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.withConfi
|
|
41945
41924
|
var MenuItem = styled_components__WEBPACK_IMPORTED_MODULE_1___default().li.withConfig({
|
41946
41925
|
displayName: "MenuItem",
|
41947
41926
|
componentId: "sc-1oo76mu-3"
|
41948
|
-
})(["list-style:none;&:hover{background-color:", ";}", ""], function (
|
41949
|
-
var color =
|
41927
|
+
})(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref3) {
|
41928
|
+
var color = _ref3.theme.color;
|
41950
41929
|
return color.bg_fill_secondary;
|
41951
41930
|
}, function (props) {
|
41952
|
-
return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (
|
41953
|
-
var color = _ref3.theme.color;
|
41954
|
-
return color.border;
|
41955
|
-
}, function (_ref4) {
|
41931
|
+
return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (_ref4) {
|
41956
41932
|
var color = _ref4.theme.color;
|
41957
41933
|
return color.border;
|
41934
|
+
}, function (_ref5) {
|
41935
|
+
var color = _ref5.theme.color;
|
41936
|
+
return color.border;
|
41958
41937
|
});
|
41959
41938
|
});
|
41960
41939
|
var OrderColumn = function OrderColumn(props) {
|
@@ -44036,18 +44015,14 @@ var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default
|
|
44036
44015
|
componentId: "sc-1gdt4qg-4"
|
44037
44016
|
})(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], function (_ref5) {
|
44038
44017
|
var color = _ref5.theme.color;
|
44039
|
-
return color.
|
44018
|
+
return color.table_cell_hover;
|
44040
44019
|
}, function (_ref6) {
|
44041
44020
|
var color = _ref6.theme.color;
|
44042
44021
|
return color.border_accent;
|
44043
|
-
}, function (
|
44044
|
-
|
44045
|
-
|
44046
|
-
|
44047
|
-
}, function (_ref8) {
|
44048
|
-
var color = _ref8.theme.color;
|
44049
|
-
return color.table_nesting;
|
44050
|
-
}) : undefined;
|
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;
|
44051
44026
|
});
|
44052
44027
|
|
44053
44028
|
/***/ }),
|
@@ -44827,9 +44802,10 @@ var semanticLight = {
|
|
44827
44802
|
border_primary: color.blue_11,
|
44828
44803
|
border_primary_hover: color.blue_10,
|
44829
44804
|
border_error: color.red_9,
|
44805
|
+
border_info: color.gray_8,
|
44830
44806
|
text: color.gray_11_75,
|
44831
44807
|
text_secondary: color.gray_11_50,
|
44832
|
-
|
44808
|
+
text_tertiary: color.gray_11_25,
|
44833
44809
|
text_quaternary: color.gray_11,
|
44834
44810
|
text_disabled: color.gray_9,
|
44835
44811
|
text_primary: color.blue_11,
|
@@ -44951,9 +44927,10 @@ var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
|
|
44951
44927
|
border_primary: color.blue_8,
|
44952
44928
|
border_primary_hover: color.blue_9,
|
44953
44929
|
border_error: color.red_8,
|
44930
|
+
border_info: color.gray_11,
|
44954
44931
|
text: color.gray_6,
|
44955
44932
|
text_secondary: color.gray_7,
|
44956
|
-
|
44933
|
+
text_tertiary: color.gray_8,
|
44957
44934
|
text_quaternary: color.gray_9,
|
44958
44935
|
text_disabled: color.gray_11,
|
44959
44936
|
text_primary: color.blue_8,
|