@luminati-io/uikit 5.2.11-beta.0 → 6.0.1
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) {
|
@@ -33553,6 +33553,11 @@ var useStyles = function useStyles(_ref) {
|
|
33553
33553
|
boxShadow: boxShadow
|
33554
33554
|
});
|
33555
33555
|
},
|
33556
|
+
input: function input(baseStyles) {
|
33557
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33558
|
+
color: color.text_tertiary
|
33559
|
+
});
|
33560
|
+
},
|
33556
33561
|
valueContainer: function valueContainer(baseStyles) {
|
33557
33562
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33558
33563
|
padding: '0 8px 0 0'
|
@@ -33604,8 +33609,8 @@ var useStyles = function useStyles(_ref) {
|
|
33604
33609
|
alignItems: 'center',
|
33605
33610
|
gap: '8px',
|
33606
33611
|
height: '40px',
|
33607
|
-
backgroundColor: isFocused ? color.
|
33608
|
-
color: isDisabled ? color.text_disabled : color.
|
33612
|
+
backgroundColor: isFocused ? color.bg_fill_primary_secondary : baseStyles.backgroundColor,
|
33613
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
33609
33614
|
'&:hover': {
|
33610
33615
|
backgroundColor: color.bg_fill_secondary
|
33611
33616
|
}
|
@@ -34440,11 +34445,11 @@ var DraggableItem = function DraggableItem(props) {
|
|
34440
34445
|
}, /*#__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
34446
|
name: "DragAndDrop",
|
34442
34447
|
size: "xs",
|
34443
|
-
color: "
|
34448
|
+
color: "icon",
|
34444
34449
|
verticalAlign: "sub"
|
34445
34450
|
})), name && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Truncated_label, {
|
34446
34451
|
variant: "lg",
|
34447
|
-
color: "
|
34452
|
+
color: "text_tertiary"
|
34448
34453
|
}, name), children);
|
34449
34454
|
};
|
34450
34455
|
DraggableItem.displayName = 'DraggableItem';
|
@@ -34458,11 +34463,11 @@ var DraggedContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(
|
|
34458
34463
|
componentId: "sc-167vnen-0"
|
34459
34464
|
})(["border-radius:4px;&:hover{background-color:", ";}", ""], function (_ref2) {
|
34460
34465
|
var color = _ref2.theme.color;
|
34461
|
-
return color.
|
34466
|
+
return color.bg_fill;
|
34462
34467
|
}, function (_ref3) {
|
34463
34468
|
var $dragging = _ref3.$dragging,
|
34464
34469
|
color = _ref3.theme.color;
|
34465
|
-
return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";"], color.
|
34470
|
+
return $dragging && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", " !important;"], color.bg_fill_secondary);
|
34466
34471
|
});
|
34467
34472
|
var Truncated_label = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typography__WEBPACK_IMPORTED_MODULE_3__.Label).withConfig({
|
34468
34473
|
displayName: "Truncated_label",
|
@@ -35217,7 +35222,7 @@ var useStyles = function useStyles(_ref) {
|
|
35217
35222
|
};
|
35218
35223
|
var borderColor = color.border;
|
35219
35224
|
var boxShadow = 'none';
|
35220
|
-
var foreColor = color.
|
35225
|
+
var foreColor = color.text_tertiary;
|
35221
35226
|
var backgroundColor = color.bg;
|
35222
35227
|
var cursor = 'text';
|
35223
35228
|
if (isDisabled) {
|
@@ -35242,6 +35247,11 @@ var useStyles = function useStyles(_ref) {
|
|
35242
35247
|
boxShadow: boxShadow
|
35243
35248
|
});
|
35244
35249
|
},
|
35250
|
+
input: function input(baseStyles) {
|
35251
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35252
|
+
color: color.text_tertiary
|
35253
|
+
});
|
35254
|
+
},
|
35245
35255
|
valueContainer: function valueContainer(baseStyles) {
|
35246
35256
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35247
35257
|
padding: '0 8px 0 0'
|
@@ -36371,7 +36381,7 @@ var CountrySelect = function CountrySelect(_ref) {
|
|
36371
36381
|
no_wrap: true
|
36372
36382
|
}, _getCountryLabel(opt)), !!countryCallingCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
|
36373
36383
|
variant: "sm",
|
36374
|
-
color: "
|
36384
|
+
color: "text_tertiary"
|
36375
36385
|
}, "+", countryCallingCode));
|
36376
36386
|
}, [_getCountryLabel, _getCountryCallingCode, _getCountryFlag]);
|
36377
36387
|
var filterOption = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (_ref3, inputValue) {
|
@@ -36594,7 +36604,7 @@ var useStyles = function useStyles(size) {
|
|
36594
36604
|
fontWeight: font_weight.regular,
|
36595
36605
|
fontSize: font_size.sm,
|
36596
36606
|
lineHeight: line_height.none,
|
36597
|
-
color: isDisabled ? color.text_disabled : color.
|
36607
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
36598
36608
|
backgroundColor: isDisabled ? color.bg_fill_teritary : color.bg,
|
36599
36609
|
borderColor: isDisabled ? color.border_disabled : color.border,
|
36600
36610
|
cursor: isDisabled ? 'default' : 'text',
|
@@ -36650,7 +36660,7 @@ var useStyles = function useStyles(size) {
|
|
36650
36660
|
isDisabled = _ref11.isDisabled;
|
36651
36661
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
36652
36662
|
backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
|
36653
|
-
color: isDisabled ? color.text_disabled : color.
|
36663
|
+
color: isDisabled ? color.text_disabled : color.text_tertiary,
|
36654
36664
|
'&:hover': {
|
36655
36665
|
backgroundColor: color.bg_fill_secondary
|
36656
36666
|
}
|
@@ -36943,41 +36953,24 @@ var RadioWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.
|
|
36943
36953
|
var RadioControl = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.withConfig({
|
36944
36954
|
displayName: "RadioControl",
|
36945
36955
|
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,
|
36956
|
+
})(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1.5px solid;border-radius:50%;", " ", ""], function (_ref2) {
|
36957
|
+
var size = _ref2.size,
|
36952
36958
|
color = _ref2.theme.color;
|
36953
|
-
var
|
36954
|
-
|
36955
|
-
|
36956
|
-
var
|
36959
|
+
var p = size == 'sm' ? 16 : 20;
|
36960
|
+
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));
|
36961
|
+
}, function (_ref3) {
|
36962
|
+
var checked = _ref3.checked,
|
36963
|
+
disabled = _ref3.disabled,
|
36964
|
+
_ref3$theme = _ref3.theme,
|
36965
|
+
color = _ref3$theme.color,
|
36966
|
+
shadow = _ref3$theme.shadow;
|
36957
36967
|
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
|
-
}
|
36968
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["border-color:", ";&:after{background-color:", ";}"], color.border_info, checked ? color.border_info : color.bg);
|
36979
36969
|
}
|
36980
|
-
|
36970
|
+
if (checked) {
|
36971
|
+
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);
|
36972
|
+
}
|
36973
|
+
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
36974
|
});
|
36982
36975
|
var GroupWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default()(_layout__WEBPACK_IMPORTED_MODULE_1__.Flex).withConfig({
|
36983
36976
|
displayName: "GroupWrapper",
|
@@ -37232,7 +37225,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
37232
37225
|
|
37233
37226
|
/*jslint react:true*/
|
37234
37227
|
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"]
|
37228
|
+
var _excluded = ["options", "classNamePrefix", "rounded", "disabled", "size"],
|
37229
|
+
_excluded2 = ["label", "tag", "tagVariant", "description", "disabled", "img"];
|
37236
37230
|
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
37231
|
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
37232
|
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 +37265,13 @@ var Img = styled_components__WEBPACK_IMPORTED_MODULE_2___default().img.withConfi
|
|
37271
37265
|
displayName: "Img",
|
37272
37266
|
componentId: "sc-1cp95by-1"
|
37273
37267
|
})(["max-width:60px;"]);
|
37274
|
-
var RadioTabLabel = function RadioTabLabel(
|
37275
|
-
var label =
|
37276
|
-
tag =
|
37277
|
-
tagVariant =
|
37278
|
-
description =
|
37279
|
-
disabled =
|
37280
|
-
img =
|
37268
|
+
var RadioTabLabel = function RadioTabLabel(_ref5) {
|
37269
|
+
var label = _ref5.label,
|
37270
|
+
tag = _ref5.tag,
|
37271
|
+
tagVariant = _ref5.tagVariant,
|
37272
|
+
description = _ref5.description,
|
37273
|
+
disabled = _ref5.disabled,
|
37274
|
+
img = _ref5.img;
|
37281
37275
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex, {
|
37282
37276
|
gap: "04",
|
37283
37277
|
align_items: "center"
|
@@ -37303,25 +37297,38 @@ var RadioTabLabel = function RadioTabLabel(props) {
|
|
37303
37297
|
}, description)));
|
37304
37298
|
};
|
37305
37299
|
var radioTabPrefix = 'radioTab';
|
37306
|
-
var RadioTab = function RadioTab(
|
37307
|
-
var options =
|
37308
|
-
classNamePrefix =
|
37309
|
-
rounded =
|
37310
|
-
|
37311
|
-
|
37312
|
-
size =
|
37313
|
-
rest = _objectWithoutProperties(
|
37300
|
+
var RadioTab = function RadioTab(_ref6) {
|
37301
|
+
var options = _ref6.options,
|
37302
|
+
classNamePrefix = _ref6.classNamePrefix,
|
37303
|
+
rounded = _ref6.rounded,
|
37304
|
+
_disabled = _ref6.disabled,
|
37305
|
+
_ref6$size = _ref6.size,
|
37306
|
+
size = _ref6$size === void 0 ? 'sm' : _ref6$size,
|
37307
|
+
rest = _objectWithoutProperties(_ref6, _excluded);
|
37314
37308
|
var cnPrefix = classNamePrefix ? "".concat(classNamePrefix, "_").concat(radioTabPrefix) : radioTabPrefix;
|
37315
37309
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioTabStyled, _extends({}, rest, {
|
37316
37310
|
$rounded: rounded,
|
37317
37311
|
size: size,
|
37318
|
-
disabled:
|
37312
|
+
disabled: _disabled,
|
37319
37313
|
classNamePrefix: cnPrefix,
|
37320
|
-
options: options.map(function (
|
37321
|
-
|
37322
|
-
|
37323
|
-
|
37324
|
-
|
37314
|
+
options: options.map(function (_ref7) {
|
37315
|
+
var label = _ref7.label,
|
37316
|
+
tag = _ref7.tag,
|
37317
|
+
tagVariant = _ref7.tagVariant,
|
37318
|
+
description = _ref7.description,
|
37319
|
+
disabled = _ref7.disabled,
|
37320
|
+
img = _ref7.img,
|
37321
|
+
option = _objectWithoutProperties(_ref7, _excluded2);
|
37322
|
+
return _objectSpread(_objectSpread({}, option), {}, {
|
37323
|
+
disabled: disabled,
|
37324
|
+
label: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioTabLabel, {
|
37325
|
+
label: label,
|
37326
|
+
tag: tag,
|
37327
|
+
tagVariant: tagVariant,
|
37328
|
+
description: description,
|
37329
|
+
img: img,
|
37330
|
+
disabled: _disabled || disabled
|
37331
|
+
})
|
37325
37332
|
});
|
37326
37333
|
})
|
37327
37334
|
}));
|
@@ -37661,7 +37668,7 @@ var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
37661
37668
|
var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
37662
37669
|
displayName: "InputWrapper",
|
37663
37670
|
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) {
|
37671
|
+
})(["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
37672
|
var font_family = _ref12.theme.font_family;
|
37666
37673
|
return font_family.sans;
|
37667
37674
|
}, inputVerticalPadding, inputHorizontalPadding, function (_ref13) {
|
@@ -37682,24 +37689,15 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
37682
37689
|
var $disabled = _ref14.$disabled,
|
37683
37690
|
$invalid = _ref14.$invalid,
|
37684
37691
|
$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';
|
37692
|
+
color = _ref14.theme.color;
|
37693
37693
|
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;
|
37694
|
+
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
37695
|
}
|
37702
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:
|
37696
|
+
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);
|
37697
|
+
}, function (_ref15) {
|
37698
|
+
var $active = _ref15.$active,
|
37699
|
+
shadow = _ref15.theme.shadow;
|
37700
|
+
return $active ? shadow.primary : null;
|
37703
37701
|
});
|
37704
37702
|
var HelperText = function HelperText(props) {
|
37705
37703
|
var children = props.children,
|
@@ -39143,7 +39141,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
|
|
39143
39141
|
}, 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
39142
|
variant: "sm",
|
39145
39143
|
whiteSpace: "nowrap",
|
39146
|
-
color: "
|
39144
|
+
color: "text_tertiary"
|
39147
39145
|
}, 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
39146
|
subMenu: true
|
39149
39147
|
}), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
|
@@ -39275,7 +39273,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_ty
|
|
39275
39273
|
})(["margin-left:auto;"]);
|
39276
39274
|
var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
|
39277
39275
|
variant: 'xs',
|
39278
|
-
color: '
|
39276
|
+
color: 'text_tertiary',
|
39279
39277
|
whiteSpace: 'nowrap'
|
39280
39278
|
}).withConfig({
|
39281
39279
|
displayName: "Description",
|
@@ -39472,7 +39470,7 @@ var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_la
|
|
39472
39470
|
componentId: "sc-1nggvo0-0"
|
39473
39471
|
})(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], function (_ref) {
|
39474
39472
|
var color = _ref.theme.color;
|
39475
|
-
return color.
|
39473
|
+
return color.bg;
|
39476
39474
|
}, function (_ref2) {
|
39477
39475
|
var spacing = _ref2.theme.spacing;
|
39478
39476
|
return spacing['02'];
|
@@ -39724,10 +39722,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39724
39722
|
|
39725
39723
|
|
39726
39724
|
/*jslint react:true*/
|
39727
|
-
var _excluded = ["color"];
|
39728
39725
|
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
39726
|
|
39732
39727
|
|
39733
39728
|
|
@@ -39752,42 +39747,30 @@ var ModalSubtitle = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_ty
|
|
39752
39747
|
var color = _ref3.theme.color;
|
39753
39748
|
return color.text_secondary;
|
39754
39749
|
});
|
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({
|
39750
|
+
var CloseButton = function CloseButton(props) {
|
39751
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, _extends({
|
39760
39752
|
icon: "CloseSmall",
|
39761
|
-
size: "xs"
|
39762
|
-
$color: color
|
39753
|
+
size: "xs"
|
39763
39754
|
}, props));
|
39764
39755
|
};
|
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
39756
|
var ButtonsGroup = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).attrs({
|
39774
39757
|
gap: '04',
|
39775
39758
|
align_items: 'center'
|
39776
39759
|
}).withConfig({
|
39777
39760
|
displayName: "ButtonsGroup",
|
39778
|
-
componentId: "sc-1p9nv3u-
|
39761
|
+
componentId: "sc-1p9nv3u-1"
|
39779
39762
|
})([""]);
|
39780
39763
|
var ModalButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_button__WEBPACK_IMPORTED_MODULE_3__.Button).attrs({
|
39781
39764
|
size: 'sm'
|
39782
39765
|
}).withConfig({
|
39783
39766
|
displayName: "ModalButton",
|
39784
|
-
componentId: "sc-1p9nv3u-
|
39767
|
+
componentId: "sc-1p9nv3u-2"
|
39785
39768
|
})([""]);
|
39786
|
-
var ModalHeader = function ModalHeader(
|
39787
|
-
var title =
|
39788
|
-
subtitle =
|
39789
|
-
onCancel =
|
39790
|
-
cancelDisabled =
|
39769
|
+
var ModalHeader = function ModalHeader(_ref4) {
|
39770
|
+
var title = _ref4.title,
|
39771
|
+
subtitle = _ref4.subtitle,
|
39772
|
+
onCancel = _ref4.onCancel,
|
39773
|
+
cancelDisabled = _ref4.cancelDisabled;
|
39791
39774
|
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
39775
|
align_items: "center",
|
39793
39776
|
justify_content: "space-between",
|
@@ -39803,15 +39786,15 @@ ModalHeader.propTypes = {
|
|
39803
39786
|
onCancel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39804
39787
|
cancelDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
39805
39788
|
};
|
39806
|
-
var ModalFooter = function ModalFooter(
|
39807
|
-
var
|
39808
|
-
okLabel =
|
39809
|
-
|
39810
|
-
cancelLabel =
|
39811
|
-
onOk =
|
39812
|
-
onCancel =
|
39813
|
-
okDisabled =
|
39814
|
-
cancelDisabled =
|
39789
|
+
var ModalFooter = function ModalFooter(_ref5) {
|
39790
|
+
var _ref5$okLabel = _ref5.okLabel,
|
39791
|
+
okLabel = _ref5$okLabel === void 0 ? 'OK' : _ref5$okLabel,
|
39792
|
+
_ref5$cancelLabel = _ref5.cancelLabel,
|
39793
|
+
cancelLabel = _ref5$cancelLabel === void 0 ? 'Cancel' : _ref5$cancelLabel,
|
39794
|
+
onOk = _ref5.onOk,
|
39795
|
+
onCancel = _ref5.onCancel,
|
39796
|
+
okDisabled = _ref5.okDisabled,
|
39797
|
+
cancelDisabled = _ref5.cancelDisabled;
|
39815
39798
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, {
|
39816
39799
|
width: "100%",
|
39817
39800
|
justify_content: "flex-end"
|
@@ -40461,10 +40444,10 @@ var TabContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().butt
|
|
40461
40444
|
color = _ref2$theme.color,
|
40462
40445
|
shadow = _ref2$theme.shadow;
|
40463
40446
|
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.
|
40447
|
+
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
40448
|
}
|
40466
40449
|
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;
|
40450
|
+
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
40451
|
}
|
40469
40452
|
if ($variant == 'vertical') {
|
40470
40453
|
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 +40922,16 @@ CustomizeButton.propTypes = {
|
|
40939
40922
|
var PopoverContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
40940
40923
|
displayName: "PopoverContainer",
|
40941
40924
|
componentId: "sc-1uptv2h-0"
|
40942
|
-
})(["box-shadow:", ";background:
|
40943
|
-
var
|
40944
|
-
return
|
40925
|
+
})(["box-shadow:", ";background:", ";border-radius:4px;padding:4px 0;min-width:168px;max-width:540px;"], function (_ref) {
|
40926
|
+
var shadow = _ref.theme.shadow;
|
40927
|
+
return shadow.medium;
|
40928
|
+
}, function (_ref2) {
|
40929
|
+
var color = _ref2.theme.color;
|
40930
|
+
return color.bg_elevated;
|
40945
40931
|
});
|
40946
|
-
var Search = function Search(
|
40947
|
-
var search =
|
40948
|
-
setSearch =
|
40932
|
+
var Search = function Search(_ref3) {
|
40933
|
+
var search = _ref3.search,
|
40934
|
+
setSearch = _ref3.setSearch;
|
40949
40935
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)(),
|
40950
40936
|
spacing = _useTheme.spacing;
|
40951
40937
|
var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
@@ -40976,21 +40962,21 @@ var Search = function Search(_ref2) {
|
|
40976
40962
|
var ItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
40977
40963
|
displayName: "ItemsWrapper",
|
40978
40964
|
componentId: "sc-1uptv2h-1"
|
40979
|
-
})(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (
|
40980
|
-
var $maxMenuHeight =
|
40981
|
-
scrollbars =
|
40965
|
+
})(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (_ref4) {
|
40966
|
+
var $maxMenuHeight = _ref4.$maxMenuHeight,
|
40967
|
+
scrollbars = _ref4.theme.scrollbars;
|
40982
40968
|
if ($maxMenuHeight > 0) {
|
40983
40969
|
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
40970
|
}
|
40985
40971
|
});
|
40986
|
-
var CustomizeButtonPopover = function CustomizeButtonPopover(
|
40987
|
-
var searchable =
|
40988
|
-
search =
|
40989
|
-
setSearch =
|
40990
|
-
|
40991
|
-
maxMenuHeight =
|
40992
|
-
items =
|
40993
|
-
orderProps =
|
40972
|
+
var CustomizeButtonPopover = function CustomizeButtonPopover(_ref5) {
|
40973
|
+
var searchable = _ref5.searchable,
|
40974
|
+
search = _ref5.search,
|
40975
|
+
setSearch = _ref5.setSearch,
|
40976
|
+
_ref5$maxMenuHeight = _ref5.maxMenuHeight,
|
40977
|
+
maxMenuHeight = _ref5$maxMenuHeight === void 0 ? 300 : _ref5$maxMenuHeight,
|
40978
|
+
items = _ref5.items,
|
40979
|
+
orderProps = _ref5.orderProps;
|
40994
40980
|
var maxHeight = Number.parseInt(maxMenuHeight);
|
40995
40981
|
var _maxMenuHeight = orderProps && (!maxHeight || maxHeight < 600) ? 600 : maxMenuHeight;
|
40996
40982
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PopoverContainer, null, searchable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Search, {
|
@@ -41004,8 +40990,8 @@ var CustomizeButtonPopover = function CustomizeButtonPopover(_ref4) {
|
|
41004
40990
|
items: items
|
41005
40991
|
})));
|
41006
40992
|
};
|
41007
|
-
var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (
|
41008
|
-
var popover =
|
40993
|
+
var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (_ref6) {
|
40994
|
+
var popover = _ref6.popover;
|
41009
40995
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
41010
40996
|
onClick: popover.toggle,
|
41011
40997
|
tooltip: "Customize columns",
|
@@ -41014,18 +41000,18 @@ var CustomizeButtonWithPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopove
|
|
41014
41000
|
}, CustomizeButtonPopover, {
|
41015
41001
|
placement: 'bottom'
|
41016
41002
|
});
|
41017
|
-
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(
|
41018
|
-
var items =
|
41003
|
+
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref7) {
|
41004
|
+
var items = _ref7.items;
|
41019
41005
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, items.map(function (c) {
|
41020
41006
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, _extends({
|
41021
41007
|
key: c.id
|
41022
41008
|
}, c));
|
41023
41009
|
}));
|
41024
41010
|
};
|
41025
|
-
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(
|
41026
|
-
var items =
|
41027
|
-
orders =
|
41028
|
-
moveColumn =
|
41011
|
+
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref8) {
|
41012
|
+
var items = _ref8.items,
|
41013
|
+
orders = _ref8.orders,
|
41014
|
+
moveColumn = _ref8.moveColumn;
|
41029
41015
|
var sections = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
41030
41016
|
var _orders$pinned;
|
41031
41017
|
return [((_orders$pinned = orders.pinned) === null || _orders$pinned === void 0 ? void 0 : _orders$pinned.length) && {
|
@@ -41081,25 +41067,25 @@ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref7
|
|
41081
41067
|
CustomDrag: CustomizeButtonDraggableItem
|
41082
41068
|
});
|
41083
41069
|
};
|
41084
|
-
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(
|
41085
|
-
var Dragger =
|
41086
|
-
isDragging =
|
41087
|
-
itemProps = _objectWithoutProperties(
|
41070
|
+
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(_ref9) {
|
41071
|
+
var Dragger = _ref9.Dragger,
|
41072
|
+
isDragging = _ref9.isDragging,
|
41073
|
+
itemProps = _objectWithoutProperties(_ref9, _excluded);
|
41088
41074
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_6__.DragDrop.DraggableItem, {
|
41089
41075
|
Dragger: Dragger,
|
41090
41076
|
isDragging: isDragging
|
41091
41077
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, itemProps));
|
41092
41078
|
};
|
41093
|
-
var CustomizeButtonItem = function CustomizeButtonItem(
|
41094
|
-
var id =
|
41095
|
-
name =
|
41096
|
-
canPin =
|
41097
|
-
isPinned =
|
41098
|
-
togglePinned =
|
41099
|
-
canHide =
|
41100
|
-
isVisible =
|
41101
|
-
toggleHidden =
|
41102
|
-
className =
|
41079
|
+
var CustomizeButtonItem = function CustomizeButtonItem(_ref10) {
|
41080
|
+
var id = _ref10.id,
|
41081
|
+
name = _ref10.name,
|
41082
|
+
canPin = _ref10.canPin,
|
41083
|
+
isPinned = _ref10.isPinned,
|
41084
|
+
togglePinned = _ref10.togglePinned,
|
41085
|
+
canHide = _ref10.canHide,
|
41086
|
+
isVisible = _ref10.isVisible,
|
41087
|
+
toggleHidden = _ref10.toggleHidden,
|
41088
|
+
className = _ref10.className;
|
41103
41089
|
var handlePinned = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
|
41104
41090
|
togglePinned(!isPinned);
|
41105
41091
|
}, [isPinned, togglePinned]);
|
@@ -41124,14 +41110,14 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref9) {
|
|
41124
41110
|
var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41125
41111
|
displayName: "CustomizeButtonItemWrapper",
|
41126
41112
|
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.
|
41113
|
+
})(["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) {
|
41114
|
+
var color = _ref11.theme.color;
|
41115
|
+
return color.bg_fill_secondary;
|
41130
41116
|
});
|
41131
|
-
var CustomizeButtonItemAction = function CustomizeButtonItemAction(
|
41132
|
-
var onClick =
|
41133
|
-
tooltip =
|
41134
|
-
icon =
|
41117
|
+
var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref12) {
|
41118
|
+
var onClick = _ref12.onClick,
|
41119
|
+
tooltip = _ref12.tooltip,
|
41120
|
+
icon = _ref12.icon;
|
41135
41121
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemActionWrapper, {
|
41136
41122
|
onClick: onClick
|
41137
41123
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip, {
|
@@ -41737,7 +41723,7 @@ var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
|
|
41737
41723
|
componentId: "sc-8zg5t0-1"
|
41738
41724
|
})(["background-color:", ";&:hover{background-color:", ";}border-right:", ";"], function (_ref2) {
|
41739
41725
|
var color = _ref2.theme.color;
|
41740
|
-
return color.
|
41726
|
+
return color.bg;
|
41741
41727
|
}, function (_ref3) {
|
41742
41728
|
var color = _ref3.theme.color;
|
41743
41729
|
return color.table_cell_hover;
|
@@ -41927,9 +41913,12 @@ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_ico
|
|
41927
41913
|
var MenuWrapper = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
41928
41914
|
displayName: "MenuWrapper",
|
41929
41915
|
componentId: "sc-1oo76mu-1"
|
41930
|
-
})(["
|
41931
|
-
var
|
41932
|
-
return
|
41916
|
+
})(["border-radius:4px;box-shadow:", ";background:", ";"], function (_ref) {
|
41917
|
+
var shadow = _ref.theme.shadow;
|
41918
|
+
return shadow.medium;
|
41919
|
+
}, function (_ref2) {
|
41920
|
+
var color = _ref2.theme.color;
|
41921
|
+
return color.bg_elevated;
|
41933
41922
|
});
|
41934
41923
|
var MenuPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_2__.withPopover)(MenuButton, function (p) {
|
41935
41924
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MenuWrapper, {
|
@@ -41945,16 +41934,16 @@ var Menu = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.withConfi
|
|
41945
41934
|
var MenuItem = styled_components__WEBPACK_IMPORTED_MODULE_1___default().li.withConfig({
|
41946
41935
|
displayName: "MenuItem",
|
41947
41936
|
componentId: "sc-1oo76mu-3"
|
41948
|
-
})(["list-style:none;&:hover{background-color:", ";}", ""], function (
|
41949
|
-
var color =
|
41937
|
+
})(["list-style:none;&:hover{background-color:", ";}", ""], function (_ref3) {
|
41938
|
+
var color = _ref3.theme.color;
|
41950
41939
|
return color.bg_fill_secondary;
|
41951
41940
|
}, 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) {
|
41941
|
+
return props.$separator && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding:0;height:1px;background-color:", ";&:hover{background-color:", ";}"], function (_ref4) {
|
41956
41942
|
var color = _ref4.theme.color;
|
41957
41943
|
return color.border;
|
41944
|
+
}, function (_ref5) {
|
41945
|
+
var color = _ref5.theme.color;
|
41946
|
+
return color.border;
|
41958
41947
|
});
|
41959
41948
|
});
|
41960
41949
|
var OrderColumn = function OrderColumn(props) {
|
@@ -44036,18 +44025,14 @@ var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default
|
|
44036
44025
|
componentId: "sc-1gdt4qg-4"
|
44037
44026
|
})(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], function (_ref5) {
|
44038
44027
|
var color = _ref5.theme.color;
|
44039
|
-
return color.
|
44028
|
+
return color.table_cell_hover;
|
44040
44029
|
}, function (_ref6) {
|
44041
44030
|
var color = _ref6.theme.color;
|
44042
44031
|
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;
|
44032
|
+
}, function (_ref7) {
|
44033
|
+
var $isEditing = _ref7.$isEditing,
|
44034
|
+
color = _ref7.theme.color;
|
44035
|
+
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
44036
|
});
|
44052
44037
|
|
44053
44038
|
/***/ }),
|
@@ -44816,7 +44801,9 @@ var semanticLight = {
|
|
44816
44801
|
bg_fill: color.gray_2,
|
44817
44802
|
bg_fill_secondary: color.gray_3,
|
44818
44803
|
bg_fill_teritary: color.gray_4,
|
44804
|
+
bg_fill_warning: color.yellow_9,
|
44819
44805
|
bg_fill_warning_secondary: color.yellow_3,
|
44806
|
+
bg_fill_success: color.green_9,
|
44820
44807
|
bg_fill_success_secondary: color.green_3,
|
44821
44808
|
bg_component_hover: color.gray_3,
|
44822
44809
|
border: color.gray_6,
|
@@ -44827,9 +44814,10 @@ var semanticLight = {
|
|
44827
44814
|
border_primary: color.blue_11,
|
44828
44815
|
border_primary_hover: color.blue_10,
|
44829
44816
|
border_error: color.red_9,
|
44817
|
+
border_info: color.gray_8,
|
44830
44818
|
text: color.gray_11_75,
|
44831
44819
|
text_secondary: color.gray_11_50,
|
44832
|
-
|
44820
|
+
text_tertiary: color.gray_11_25,
|
44833
44821
|
text_quaternary: color.gray_11,
|
44834
44822
|
text_disabled: color.gray_9,
|
44835
44823
|
text_primary: color.blue_11,
|
@@ -44951,9 +44939,10 @@ var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
|
|
44951
44939
|
border_primary: color.blue_8,
|
44952
44940
|
border_primary_hover: color.blue_9,
|
44953
44941
|
border_error: color.red_8,
|
44942
|
+
border_info: color.gray_11,
|
44954
44943
|
text: color.gray_6,
|
44955
44944
|
text_secondary: color.gray_7,
|
44956
|
-
|
44945
|
+
text_tertiary: color.gray_8,
|
44957
44946
|
text_quaternary: color.gray_9,
|
44958
44947
|
text_disabled: color.gray_11,
|
44959
44948
|
text_primary: color.blue_8,
|