@luminati-io/uikit 5.2.9 → 5.2.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -33490,24 +33490,32 @@ var useStyles = function useStyles(_ref) {
|
|
33490
33490
|
size = _ref.size;
|
33491
33491
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)(),
|
33492
33492
|
color = _useTheme.color,
|
33493
|
+
shadow = _useTheme.shadow,
|
33493
33494
|
font_family = _useTheme.font_family,
|
33494
33495
|
font_weight = _useTheme.font_weight,
|
33495
33496
|
font_size = _useTheme.font_size,
|
33496
33497
|
line_height = _useTheme.line_height;
|
33497
|
-
var
|
33498
|
+
var headerXl = {
|
33498
33499
|
fontFamily: font_family.sans,
|
33499
33500
|
fontStyle: 'normal',
|
33500
33501
|
fontWeight: font_weight.medium,
|
33501
33502
|
fontSize: font_size.lg,
|
33502
33503
|
lineHeight: line_height.none
|
33503
33504
|
};
|
33504
|
-
var
|
33505
|
+
var labelSm = {
|
33505
33506
|
fontFamily: font_family.sans,
|
33506
33507
|
fontStyle: 'normal',
|
33507
33508
|
fontWeight: font_weight.regular,
|
33508
33509
|
fontSize: font_size.sm,
|
33509
33510
|
lineHeight: line_height.none
|
33510
33511
|
};
|
33512
|
+
var labelBase = {
|
33513
|
+
fontFamily: font_family.sans,
|
33514
|
+
fontStyle: 'normal',
|
33515
|
+
fontWeight: font_weight.regular,
|
33516
|
+
fontSize: font_size.md,
|
33517
|
+
lineHeight: line_height.none
|
33518
|
+
};
|
33511
33519
|
return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
33512
33520
|
return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_4__.withUserStyles)(styles, {
|
33513
33521
|
control: function control(baseStyles, _ref2) {
|
@@ -33519,21 +33527,24 @@ var useStyles = function useStyles(_ref) {
|
|
33519
33527
|
md: 40,
|
33520
33528
|
lg: 48
|
33521
33529
|
};
|
33522
|
-
var borderColor = color.
|
33530
|
+
var borderColor = color.border;
|
33523
33531
|
var boxShadow = 'none';
|
33524
|
-
var foreColor = color.
|
33525
|
-
var backgroundColor = color.
|
33532
|
+
var foreColor = color.text_teritary;
|
33533
|
+
var backgroundColor = color.bg;
|
33526
33534
|
var cursor = 'text';
|
33527
33535
|
if (isDisabled) {
|
33528
|
-
foreColor = color.
|
33529
|
-
borderColor = color.
|
33530
|
-
backgroundColor = color.
|
33536
|
+
foreColor = color.text_disabled;
|
33537
|
+
borderColor = color.border_disabled;
|
33538
|
+
backgroundColor = color.bg_fill_teritary;
|
33531
33539
|
cursor = 'default';
|
33532
|
-
} else if (selectProps['aria-invalid']) borderColor = color.
|
33533
|
-
borderColor = color.
|
33534
|
-
boxShadow =
|
33540
|
+
} else if (selectProps['aria-invalid']) borderColor = color.border_error;else if (isFocused) {
|
33541
|
+
borderColor = color.border_primary;
|
33542
|
+
boxShadow = shadow.primary;
|
33535
33543
|
}
|
33536
|
-
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles),
|
33544
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
33545
|
+
'&:hover': _objectSpread(_objectSpread({}, baseStyles['&:hover']), {}, {
|
33546
|
+
borderColor: color.border_accent
|
33547
|
+
}),
|
33537
33548
|
minHeight: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(height[size] || height.sm),
|
33538
33549
|
padding: "".concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputVerticalPadding, "px ").concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputHorizontalPadding, "px"),
|
33539
33550
|
color: foreColor,
|
@@ -33550,7 +33561,7 @@ var useStyles = function useStyles(_ref) {
|
|
33550
33561
|
},
|
33551
33562
|
placeholder: function placeholder(baseStyles) {
|
33552
33563
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33553
|
-
color: color.
|
33564
|
+
color: color.text_quaternary
|
33554
33565
|
});
|
33555
33566
|
},
|
33556
33567
|
menu: function menu(baseStyles) {
|
@@ -33581,64 +33592,63 @@ var useStyles = function useStyles(_ref) {
|
|
33581
33592
|
});
|
33582
33593
|
},
|
33583
33594
|
groupHeading: function groupHeading(baseStyles) {
|
33584
|
-
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33585
|
-
|
33586
|
-
fontFamily: font_family.sans,
|
33587
|
-
fontStyle: 'normal',
|
33588
|
-
fontWeight: font_weight.regular,
|
33589
|
-
fontSize: font_size.md,
|
33590
|
-
lineHeight: line_height.none,
|
33591
|
-
color: color.gray_11,
|
33595
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelBase), {}, {
|
33596
|
+
color: color.text_quaternary,
|
33592
33597
|
textTransform: undefined
|
33593
33598
|
});
|
33594
33599
|
},
|
33595
33600
|
option: function option(baseStyles, _ref3) {
|
33596
33601
|
var isFocused = _ref3.isFocused,
|
33597
33602
|
isDisabled = _ref3.isDisabled;
|
33598
|
-
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles),
|
33603
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
33599
33604
|
display: 'flex',
|
33600
33605
|
alignItems: 'center',
|
33601
33606
|
gap: '8px',
|
33602
33607
|
height: '40px',
|
33603
|
-
backgroundColor: isFocused ? color.
|
33604
|
-
color: isDisabled ? color.
|
33608
|
+
backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
|
33609
|
+
color: isDisabled ? color.text_disabled : color.text_teritary,
|
33605
33610
|
'&:hover': {
|
33606
|
-
backgroundColor: color.
|
33611
|
+
backgroundColor: color.bg_fill_secondary
|
33607
33612
|
}
|
33608
33613
|
});
|
33609
33614
|
},
|
33610
33615
|
multiValue: function multiValue(baseStyles) {
|
33611
33616
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33612
|
-
backgroundColor:
|
33613
|
-
border: "1px solid ".concat(color.
|
33617
|
+
backgroundColor: color.bg,
|
33618
|
+
border: "1px solid ".concat(color.border),
|
33614
33619
|
borderRadius: '4px'
|
33615
33620
|
});
|
33616
33621
|
},
|
33617
33622
|
multiValueLabel: function multiValueLabel(baseStyles) {
|
33618
|
-
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles),
|
33623
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
33619
33624
|
borderRadius: '4px',
|
33620
33625
|
padding: '4px 4px 4px 8px',
|
33621
|
-
color: color.
|
33626
|
+
color: color.text
|
33622
33627
|
});
|
33623
33628
|
},
|
33624
33629
|
multiValueRemove: function multiValueRemove(baseStyles) {
|
33625
33630
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
33626
|
-
borderRadius: '
|
33627
|
-
color: color.gray_11,
|
33631
|
+
borderRadius: '16px',
|
33628
33632
|
cursor: 'pointer',
|
33633
|
+
backgroundColor: color.icon_button_bg,
|
33634
|
+
color: color.icon_button_icon_default,
|
33635
|
+
':active': {
|
33636
|
+
color: color.icon_button_icon_active,
|
33637
|
+
backgroundColor: color.icon_button_bg_active
|
33638
|
+
},
|
33629
33639
|
':hover': {
|
33630
|
-
|
33631
|
-
|
33640
|
+
color: color.icon_button_icon_hover,
|
33641
|
+
backgroundColor: color.icon_button_bg_hover
|
33632
33642
|
}
|
33633
33643
|
});
|
33634
33644
|
},
|
33635
33645
|
noOptionsMessage: function noOptionsMessage(baseStyles) {
|
33636
|
-
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles),
|
33637
|
-
color: color.
|
33646
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), headerXl), {}, {
|
33647
|
+
color: color.text_quaternary
|
33638
33648
|
});
|
33639
33649
|
}
|
33640
33650
|
});
|
33641
|
-
}, [styles, size, color, font_family, font_weight, font_size, line_height]);
|
33651
|
+
}, [styles, size, color, shadow, font_family, font_weight, font_size, line_height]);
|
33642
33652
|
};
|
33643
33653
|
|
33644
33654
|
/***/ }),
|
@@ -33804,9 +33814,11 @@ var CompareToCalendar = function CompareToCalendar(props) {
|
|
33804
33814
|
gap: "04"
|
33805
33815
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, {
|
33806
33816
|
icon: "ChevronLeft",
|
33807
|
-
|
33817
|
+
size: "xs",
|
33808
33818
|
onClick: onBack
|
33809
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.
|
33819
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
|
33820
|
+
variant: "lg",
|
33821
|
+
color: "text",
|
33810
33822
|
no_wrap: true
|
33811
33823
|
}, "Compare to date")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_date_picker__WEBPACK_IMPORTED_MODULE_8__.StyledDayPicker, {
|
33812
33824
|
fixedWeeks: true,
|
@@ -34037,12 +34049,15 @@ var borderRadius = '4px';
|
|
34037
34049
|
var DayPickerWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
34038
34050
|
displayName: "DayPickerWrapper",
|
34039
34051
|
componentId: "sc-1gurvxq-0"
|
34040
|
-
})(["margin:0;padding:", " 0;box-sizing:border-box;background:
|
34052
|
+
})(["margin:0;padding:", " 0;box-sizing:border-box;background:", ";border-radius:4px;box-shadow:", ";"], function (_ref3) {
|
34041
34053
|
var spacing = _ref3.theme.spacing;
|
34042
34054
|
return spacing['02'];
|
34043
34055
|
}, function (_ref4) {
|
34044
|
-
var
|
34045
|
-
return
|
34056
|
+
var color = _ref4.theme.color;
|
34057
|
+
return color.bg_elevated;
|
34058
|
+
}, function (_ref5) {
|
34059
|
+
var shadow = _ref5.theme.shadow;
|
34060
|
+
return shadow.medium;
|
34046
34061
|
});
|
34047
34062
|
var StyledDayPicker = function StyledDayPicker(props) {
|
34048
34063
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayPickerStyles, _extends({}, props, {
|
@@ -34055,69 +34070,72 @@ var StyledDayPicker = function StyledDayPicker(props) {
|
|
34055
34070
|
var DayPickerStyles = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(react_day_picker__WEBPACK_IMPORTED_MODULE_2__.DayPicker).withConfig({
|
34056
34071
|
displayName: "DayPickerStyles",
|
34057
34072
|
componentId: "sc-1gurvxq-1"
|
34058
|
-
})([".rdp-months{display:flex;}.rdp-month{padding:", " ", ";}.rdp-caption{display:flex;flex-direction:row;align-items:center;padding:", " ", ";gap:10px;}.rdp-caption_start:not(.rdp-caption_end){border-right:1px solid ", ";.rdp-caption{flex-direction:row-reverse;}}.rdp-caption_label{width:100%;text-align:center;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";}.rdp-nav{display:flex;flex-direction:row;gap:10px;}.rdp-nav_button{display:flex;align-items:center;justify-content:center;border:0 none;border-radius:4px;cursor:pointer;width:20px;height:20px;background-color:", ";.rdp-nav_icon{color:", ";}&:hover:not(:disabled){background-color:", ";}&:active:not(:disabled){background-color:", ";.rdp-nav_icon{color:", ";}}&:disabled{.rdp-nav_icon{color:", ";}cursor:not-allowed;}}.rdp-table{border-collapse:collapse;}.rdp-head_cell{box-sizing:border-box;min-width:32px;max-width:32px;height:32px;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";}.rdp-cell{padding:0;}"], function (
|
34059
|
-
var spacing = _ref5.theme.spacing;
|
34060
|
-
return spacing['03'];
|
34061
|
-
}, function (_ref6) {
|
34073
|
+
})([".rdp-months{display:flex;}.rdp-month{padding:", " ", ";}.rdp-caption{display:flex;flex-direction:row;align-items:center;padding:", " ", ";gap:10px;}.rdp-caption_start:not(.rdp-caption_end){border-right:1px solid ", ";.rdp-caption{flex-direction:row-reverse;}}.rdp-caption_label{width:100%;text-align:center;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";}.rdp-nav{display:flex;flex-direction:row;gap:10px;}.rdp-nav_button{display:flex;align-items:center;justify-content:center;border:0 none;border-radius:4px;cursor:pointer;width:20px;height:20px;background-color:", ";.rdp-nav_icon{color:", ";}&:hover:not(:disabled){background-color:", ";.rdp-nav_icon{color:", ";}}&:active:not(:disabled){background-color:", ";.rdp-nav_icon{color:", ";}}&:disabled{.rdp-nav_icon{color:", ";}cursor:not-allowed;}}.rdp-table{border-collapse:collapse;}.rdp-head_cell{box-sizing:border-box;min-width:32px;max-width:32px;height:32px;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";}.rdp-cell{padding:0;}"], function (_ref6) {
|
34062
34074
|
var spacing = _ref6.theme.spacing;
|
34063
|
-
return spacing['
|
34075
|
+
return spacing['03'];
|
34064
34076
|
}, function (_ref7) {
|
34065
34077
|
var spacing = _ref7.theme.spacing;
|
34066
|
-
return spacing['
|
34078
|
+
return spacing['04'];
|
34067
34079
|
}, function (_ref8) {
|
34068
34080
|
var spacing = _ref8.theme.spacing;
|
34069
|
-
return spacing['
|
34081
|
+
return spacing['03'];
|
34070
34082
|
}, function (_ref9) {
|
34071
|
-
var
|
34072
|
-
return
|
34083
|
+
var spacing = _ref9.theme.spacing;
|
34084
|
+
return spacing['04'];
|
34073
34085
|
}, function (_ref10) {
|
34074
|
-
var
|
34075
|
-
return
|
34086
|
+
var color = _ref10.theme.color;
|
34087
|
+
return color.border_secondary;
|
34076
34088
|
}, function (_ref11) {
|
34077
|
-
var
|
34078
|
-
return
|
34089
|
+
var font_family = _ref11.theme.font_family;
|
34090
|
+
return font_family.sans;
|
34079
34091
|
}, function (_ref12) {
|
34080
|
-
var
|
34081
|
-
return
|
34092
|
+
var font_weight = _ref12.theme.font_weight;
|
34093
|
+
return font_weight.regular;
|
34082
34094
|
}, function (_ref13) {
|
34083
|
-
var
|
34084
|
-
return
|
34095
|
+
var font_size = _ref13.theme.font_size;
|
34096
|
+
return font_size.sm;
|
34085
34097
|
}, function (_ref14) {
|
34086
|
-
var
|
34087
|
-
return
|
34098
|
+
var line_height = _ref14.theme.line_height;
|
34099
|
+
return line_height.none;
|
34088
34100
|
}, function (_ref15) {
|
34089
34101
|
var color = _ref15.theme.color;
|
34090
|
-
return color.
|
34102
|
+
return color.text_secondary;
|
34091
34103
|
}, function (_ref16) {
|
34092
34104
|
var color = _ref16.theme.color;
|
34093
|
-
return color.
|
34105
|
+
return color.icon_button_bg;
|
34094
34106
|
}, function (_ref17) {
|
34095
34107
|
var color = _ref17.theme.color;
|
34096
|
-
return color.
|
34108
|
+
return color.icon_button_icon_default;
|
34097
34109
|
}, function (_ref18) {
|
34098
34110
|
var color = _ref18.theme.color;
|
34099
|
-
return color.
|
34111
|
+
return color.icon_button_bg_hover;
|
34100
34112
|
}, function (_ref19) {
|
34101
34113
|
var color = _ref19.theme.color;
|
34102
|
-
return color.
|
34114
|
+
return color.icon_button_icon_hover;
|
34103
34115
|
}, function (_ref20) {
|
34104
34116
|
var color = _ref20.theme.color;
|
34105
|
-
return color.
|
34117
|
+
return color.icon_button_bg_active;
|
34106
34118
|
}, function (_ref21) {
|
34107
|
-
var
|
34108
|
-
return
|
34119
|
+
var color = _ref21.theme.color;
|
34120
|
+
return color.icon_button_icon_active;
|
34109
34121
|
}, function (_ref22) {
|
34110
|
-
var
|
34111
|
-
return
|
34122
|
+
var color = _ref22.theme.color;
|
34123
|
+
return color.icon_button_icon_disabled;
|
34112
34124
|
}, function (_ref23) {
|
34113
|
-
var
|
34114
|
-
return
|
34125
|
+
var font_family = _ref23.theme.font_family;
|
34126
|
+
return font_family.sans;
|
34115
34127
|
}, function (_ref24) {
|
34116
|
-
var
|
34117
|
-
return
|
34128
|
+
var font_weight = _ref24.theme.font_weight;
|
34129
|
+
return font_weight.regular;
|
34118
34130
|
}, function (_ref25) {
|
34119
|
-
var
|
34120
|
-
return
|
34131
|
+
var font_size = _ref25.theme.font_size;
|
34132
|
+
return font_size.xs;
|
34133
|
+
}, function (_ref26) {
|
34134
|
+
var line_height = _ref26.theme.line_height;
|
34135
|
+
return line_height.none;
|
34136
|
+
}, function (_ref27) {
|
34137
|
+
var color = _ref27.theme.color;
|
34138
|
+
return color.text_quaternary;
|
34121
34139
|
});
|
34122
34140
|
var Day = function Day(props) {
|
34123
34141
|
var buttonRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
|
@@ -34137,76 +34155,76 @@ Day.displayName = 'Day';
|
|
34137
34155
|
var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
34138
34156
|
displayName: "DayWrapper",
|
34139
34157
|
componentId: "sc-1gurvxq-2"
|
34140
|
-
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (
|
34141
|
-
var $mod =
|
34142
|
-
color =
|
34143
|
-
return $mod.selected ? color.
|
34144
|
-
}, function (_ref27) {
|
34145
|
-
var $mod = _ref27.$mod;
|
34146
|
-
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
34147
|
-
}, function (_ref28) {
|
34148
|
-
var $mod = _ref28.$mod;
|
34149
|
-
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
34158
|
+
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (_ref28) {
|
34159
|
+
var $mod = _ref28.$mod,
|
34160
|
+
color = _ref28.theme.color;
|
34161
|
+
return $mod.selected ? color.bg_fill_primary_hover : color.bg_elevated;
|
34150
34162
|
}, function (_ref29) {
|
34151
34163
|
var $mod = _ref29.$mod;
|
34152
|
-
return $mod.range_middle || $mod.
|
34164
|
+
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
34153
34165
|
}, function (_ref30) {
|
34154
34166
|
var $mod = _ref30.$mod;
|
34167
|
+
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
34168
|
+
}, function (_ref31) {
|
34169
|
+
var $mod = _ref31.$mod;
|
34155
34170
|
return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
|
34156
|
-
}, borderRadius, function (_ref31) {
|
34157
|
-
var color = _ref31.theme.color;
|
34158
|
-
return color.white;
|
34159
34171
|
}, function (_ref32) {
|
34160
|
-
var
|
34161
|
-
return
|
34162
|
-
}, function (_ref33) {
|
34163
|
-
var
|
34164
|
-
return
|
34172
|
+
var $mod = _ref32.$mod;
|
34173
|
+
return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
|
34174
|
+
}, borderRadius, function (_ref33) {
|
34175
|
+
var color = _ref33.theme.color;
|
34176
|
+
return color.bg_elevated;
|
34165
34177
|
}, function (_ref34) {
|
34166
|
-
var
|
34167
|
-
return
|
34178
|
+
var color = _ref34.theme.color;
|
34179
|
+
return color.bg_elevated;
|
34168
34180
|
}, function (_ref35) {
|
34169
|
-
var
|
34170
|
-
return
|
34181
|
+
var font_family = _ref35.theme.font_family;
|
34182
|
+
return font_family.sans;
|
34171
34183
|
}, function (_ref36) {
|
34172
|
-
var
|
34173
|
-
return
|
34184
|
+
var font_weight = _ref36.theme.font_weight;
|
34185
|
+
return font_weight.regular;
|
34174
34186
|
}, function (_ref37) {
|
34175
|
-
var
|
34176
|
-
return
|
34187
|
+
var font_size = _ref37.theme.font_size;
|
34188
|
+
return font_size.xs;
|
34177
34189
|
}, function (_ref38) {
|
34178
|
-
var
|
34179
|
-
return
|
34190
|
+
var line_height = _ref38.theme.line_height;
|
34191
|
+
return line_height.none;
|
34180
34192
|
}, function (_ref39) {
|
34181
34193
|
var color = _ref39.theme.color;
|
34182
|
-
return color.
|
34194
|
+
return color.text_secondary;
|
34183
34195
|
}, function (_ref40) {
|
34184
34196
|
var color = _ref40.theme.color;
|
34185
|
-
return color.
|
34197
|
+
return color.border_primary_hover;
|
34186
34198
|
}, function (_ref41) {
|
34187
|
-
var
|
34188
|
-
return
|
34199
|
+
var color = _ref41.theme.color;
|
34200
|
+
return color.text_disabled;
|
34189
34201
|
}, function (_ref42) {
|
34190
34202
|
var color = _ref42.theme.color;
|
34191
|
-
return color.
|
34203
|
+
return color.text_primary;
|
34192
34204
|
}, function (_ref43) {
|
34193
|
-
var
|
34194
|
-
return
|
34205
|
+
var font_weight = _ref43.theme.font_weight;
|
34206
|
+
return font_weight.semibold;
|
34195
34207
|
}, function (_ref44) {
|
34196
34208
|
var color = _ref44.theme.color;
|
34197
|
-
return color.
|
34209
|
+
return color.bg_fill_primary_hover;
|
34198
34210
|
}, function (_ref45) {
|
34199
34211
|
var color = _ref45.theme.color;
|
34200
|
-
return color.
|
34212
|
+
return color.bg_fill_primary_hover;
|
34201
34213
|
}, function (_ref46) {
|
34202
34214
|
var color = _ref46.theme.color;
|
34203
|
-
return color.
|
34215
|
+
return color.text_white;
|
34204
34216
|
}, function (_ref47) {
|
34205
34217
|
var color = _ref47.theme.color;
|
34206
|
-
return color.
|
34218
|
+
return color.bg_fill_primary_hover;
|
34207
34219
|
}, function (_ref48) {
|
34208
34220
|
var color = _ref48.theme.color;
|
34209
|
-
return color.
|
34221
|
+
return color.bg_fill_primary_hover;
|
34222
|
+
}, function (_ref49) {
|
34223
|
+
var color = _ref49.theme.color;
|
34224
|
+
return color.text_secondary;
|
34225
|
+
}, function (_ref50) {
|
34226
|
+
var color = _ref50.theme.color;
|
34227
|
+
return color.text_primary;
|
34210
34228
|
});
|
34211
34229
|
var getDateText = function getDateText(props) {
|
34212
34230
|
var value = props.value,
|
@@ -34695,7 +34713,7 @@ var ClearIndicator = function ClearIndicator(_ref) {
|
|
34695
34713
|
height: "18px",
|
34696
34714
|
viewBox: ic.viewBox,
|
34697
34715
|
style: {
|
34698
|
-
color: color.
|
34716
|
+
color: color.icon,
|
34699
34717
|
cursor: 'pointer'
|
34700
34718
|
}
|
34701
34719
|
}, innerProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("use", {
|
@@ -34945,7 +34963,7 @@ var DropdownIndicator = function DropdownIndicator(_ref) {
|
|
34945
34963
|
height: "18px",
|
34946
34964
|
viewBox: ic.viewBox,
|
34947
34965
|
style: {
|
34948
|
-
color: color.
|
34966
|
+
color: isDisabled ? color.icon_disabled : color.icon,
|
34949
34967
|
cursor: isDisabled ? 'default' : 'pointer'
|
34950
34968
|
}
|
34951
34969
|
}, innerProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("use", {
|
@@ -35128,8 +35146,8 @@ var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu_
|
|
35128
35146
|
var selected = _ref.selected,
|
35129
35147
|
$focused = _ref.$focused,
|
35130
35148
|
color = _ref.theme.color;
|
35131
|
-
if (selected) return color.
|
35132
|
-
if ($focused) return color.
|
35149
|
+
if (selected) return color.bg_fill_primary_secondary;
|
35150
|
+
if ($focused) return color.bg_fill_secondary;
|
35133
35151
|
});
|
35134
35152
|
|
35135
35153
|
/***/ }),
|
@@ -35180,7 +35198,14 @@ var useStyles = function useStyles(_ref) {
|
|
35180
35198
|
font_size = _useTheme.font_size,
|
35181
35199
|
font_weight = _useTheme.font_weight,
|
35182
35200
|
font_family = _useTheme.font_family,
|
35183
|
-
|
35201
|
+
shadow = _useTheme.shadow;
|
35202
|
+
var labelSm = {
|
35203
|
+
fontFamily: font_family.sans,
|
35204
|
+
fontStyle: 'normal',
|
35205
|
+
fontWeight: font_weight.regular,
|
35206
|
+
fontSize: font_size.sm,
|
35207
|
+
lineHeight: line_height.none
|
35208
|
+
};
|
35184
35209
|
return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
35185
35210
|
return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_5__.withUserStyles)(styles, {
|
35186
35211
|
control: function control(baseStyles, _ref2) {
|
@@ -35192,29 +35217,26 @@ var useStyles = function useStyles(_ref) {
|
|
35192
35217
|
md: 40,
|
35193
35218
|
lg: 48
|
35194
35219
|
};
|
35195
|
-
var borderColor = color.
|
35220
|
+
var borderColor = color.border;
|
35196
35221
|
var boxShadow = 'none';
|
35197
|
-
var foreColor = color.
|
35198
|
-
var backgroundColor = color.
|
35222
|
+
var foreColor = color.text_teritary;
|
35223
|
+
var backgroundColor = color.bg;
|
35199
35224
|
var cursor = 'text';
|
35200
35225
|
if (isDisabled) {
|
35201
|
-
foreColor = color.
|
35202
|
-
borderColor = color.
|
35203
|
-
backgroundColor = color.
|
35226
|
+
foreColor = color.text_disabled;
|
35227
|
+
borderColor = color.border_disabled;
|
35228
|
+
backgroundColor = color.bg_fill_teritary;
|
35204
35229
|
cursor = 'default';
|
35205
|
-
} else if (selectProps['aria-invalid']) borderColor = color.
|
35206
|
-
borderColor = color.
|
35207
|
-
boxShadow =
|
35230
|
+
} else if (selectProps['aria-invalid']) borderColor = color.border_error;else if (isFocused) {
|
35231
|
+
borderColor = color.border_primary;
|
35232
|
+
boxShadow = shadow.primary;
|
35208
35233
|
}
|
35209
|
-
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35234
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
35235
|
+
'&:hover': _objectSpread(_objectSpread({}, baseStyles['&:hover']), {}, {
|
35236
|
+
borderColor: color.border_accent
|
35237
|
+
}),
|
35210
35238
|
minHeight: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(height[size] || height.sm),
|
35211
35239
|
padding: "".concat(_shared__WEBPACK_IMPORTED_MODULE_4__.inputVerticalPadding, "px ").concat(_shared__WEBPACK_IMPORTED_MODULE_4__.inputHorizontalPadding, "px"),
|
35212
|
-
/* Label/sm */
|
35213
|
-
fontFamily: font_family.sans,
|
35214
|
-
fontStyle: 'normal',
|
35215
|
-
fontWeight: font_weight.regular,
|
35216
|
-
fontSize: font_size.sm,
|
35217
|
-
lineHeight: line_height.none,
|
35218
35240
|
color: foreColor,
|
35219
35241
|
backgroundColor: backgroundColor,
|
35220
35242
|
borderColor: borderColor,
|
@@ -35229,7 +35251,7 @@ var useStyles = function useStyles(_ref) {
|
|
35229
35251
|
},
|
35230
35252
|
placeholder: function placeholder(baseStyles) {
|
35231
35253
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35232
|
-
color: color.
|
35254
|
+
color: color.text_quaternary
|
35233
35255
|
});
|
35234
35256
|
},
|
35235
35257
|
indicatorsContainer: function indicatorsContainer(baseStyles) {
|
@@ -35245,9 +35267,9 @@ var useStyles = function useStyles(_ref) {
|
|
35245
35267
|
minWidth: 'fit-content',
|
35246
35268
|
maxWidth: '540px',
|
35247
35269
|
width: '100%',
|
35248
|
-
backgroundColor: color.
|
35270
|
+
backgroundColor: color.bg_elevated,
|
35249
35271
|
borderRadius: spacing['02'],
|
35250
|
-
boxShadow:
|
35272
|
+
boxShadow: shadow.medium,
|
35251
35273
|
zIndex: menuPortalTarget ? baseStyles.zIndex : _constants__WEBPACK_IMPORTED_MODULE_3__.Z_INDEX.dropdown
|
35252
35274
|
});
|
35253
35275
|
},
|
@@ -35256,45 +35278,49 @@ var useStyles = function useStyles(_ref) {
|
|
35256
35278
|
zIndex: _constants__WEBPACK_IMPORTED_MODULE_3__.Z_INDEX.dropdown
|
35257
35279
|
});
|
35258
35280
|
},
|
35281
|
+
singleValue: function singleValue(baseStyles) {
|
35282
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
35283
|
+
color: color.text
|
35284
|
+
});
|
35285
|
+
},
|
35259
35286
|
multiValue: function multiValue(baseStyles) {
|
35260
35287
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35261
|
-
backgroundColor: color.
|
35262
|
-
|
35288
|
+
backgroundColor: color.bg,
|
35289
|
+
border: "1px solid ".concat(color.border),
|
35290
|
+
borderRadius: '4px'
|
35263
35291
|
});
|
35264
35292
|
},
|
35265
35293
|
multiValueLabel: function multiValueLabel(baseStyles) {
|
35266
|
-
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35267
|
-
|
35268
|
-
fontFamily: font_family.sans,
|
35269
|
-
fontStyle: 'normal',
|
35270
|
-
fontWeight: font_weight.regular,
|
35271
|
-
fontSize: font_size.sm,
|
35272
|
-
lineHeight: line_height.none,
|
35273
|
-
color: color.gray_11_25,
|
35294
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), labelSm), {}, {
|
35295
|
+
color: color.text,
|
35274
35296
|
paddingLeft: spacing['02'],
|
35275
35297
|
paddingRight: spacing['00']
|
35276
35298
|
});
|
35277
35299
|
},
|
35278
35300
|
multiValueRemove: function multiValueRemove(baseStyles) {
|
35279
35301
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35280
|
-
borderRadius:
|
35281
|
-
color: color.gray_11,
|
35302
|
+
borderRadius: '16px',
|
35282
35303
|
cursor: 'pointer',
|
35304
|
+
backgroundColor: color.icon_button_bg,
|
35305
|
+
color: color.icon_button_icon_default,
|
35306
|
+
':active': {
|
35307
|
+
color: color.icon_button_icon_active,
|
35308
|
+
backgroundColor: color.icon_button_bg_active
|
35309
|
+
},
|
35283
35310
|
':hover': {
|
35284
|
-
|
35285
|
-
|
35311
|
+
color: color.icon_button_icon_hover,
|
35312
|
+
backgroundColor: color.icon_button_bg_hover
|
35286
35313
|
}
|
35287
35314
|
});
|
35288
35315
|
},
|
35289
|
-
option: function option(baseStyles,
|
35290
|
-
var
|
35291
|
-
if (state.selected) backgroundColor = color.blue_3;
|
35316
|
+
option: function option(baseStyles, _ref3) {
|
35317
|
+
var selected = _ref3.selected;
|
35292
35318
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
35293
|
-
backgroundColor: backgroundColor
|
35319
|
+
backgroundColor: selected ? color.bg_fill_primary_secondary : baseStyles.backgroundColor
|
35294
35320
|
});
|
35295
35321
|
}
|
35296
35322
|
});
|
35297
|
-
}, [styles, size, menuPortalTarget, color, spacing, line_height, font_size, font_weight, font_family,
|
35323
|
+
}, [styles, size, menuPortalTarget, color, spacing, line_height, font_size, font_weight, font_family, shadow]);
|
35298
35324
|
};
|
35299
35325
|
|
35300
35326
|
/***/ }),
|
@@ -35449,7 +35475,6 @@ var isValueChild = function isValueChild(child) {
|
|
35449
35475
|
"use strict";
|
35450
35476
|
__webpack_require__.r(__webpack_exports__);
|
35451
35477
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35452
|
-
/* harmony export */ ERROR_COLOR: () => (/* binding */ ERROR_COLOR),
|
35453
35478
|
/* harmony export */ FILE_STATUS: () => (/* binding */ FILE_STATUS)
|
35454
35479
|
/* harmony export */ });
|
35455
35480
|
// LICENSE_CODE ZON
|
@@ -35462,7 +35487,6 @@ var FILE_STATUS = {
|
|
35462
35487
|
SUCCESS: 'success',
|
35463
35488
|
ERROR: 'error'
|
35464
35489
|
};
|
35465
|
-
var ERROR_COLOR = 'red_10';
|
35466
35490
|
|
35467
35491
|
/***/ }),
|
35468
35492
|
|
@@ -35627,11 +35651,16 @@ var border = function border(color) {
|
|
35627
35651
|
var UploadBaseContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
35628
35652
|
displayName: "UploadBaseContainer",
|
35629
35653
|
componentId: "sc-1e3miai-0"
|
35630
|
-
})(["background-image:", ";&:hover{cursor:pointer;}border-radius:4px;"], function (_ref) {
|
35654
|
+
})(["background-image:", ";background-color:", ";&:hover{cursor:pointer;}border-radius:4px;"], function (_ref) {
|
35631
35655
|
var $isHovered = _ref.$isHovered,
|
35632
35656
|
$invalid = _ref.$invalid,
|
35633
35657
|
color = _ref.theme.color;
|
35634
|
-
return border($invalid ? color.
|
35658
|
+
return border($invalid ? color.border_error : $isHovered ? color.border_primary : color.border);
|
35659
|
+
}, function (_ref2) {
|
35660
|
+
var $isHovered = _ref2.$isHovered,
|
35661
|
+
$invalid = _ref2.$invalid,
|
35662
|
+
color = _ref2.theme.color;
|
35663
|
+
return $invalid ? color.bg : $isHovered ? color.bg_fill_primary_secondary : color.bg;
|
35635
35664
|
});
|
35636
35665
|
var UploadBase = function UploadBase(props) {
|
35637
35666
|
var label = props.label,
|
@@ -35704,14 +35733,14 @@ var UploadBase = function UploadBase(props) {
|
|
35704
35733
|
gap: "02"
|
35705
35734
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
|
35706
35735
|
name: "Upload",
|
35707
|
-
color: "
|
35736
|
+
color: "link_primary",
|
35708
35737
|
size: "xs"
|
35709
35738
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
35710
|
-
color: "
|
35739
|
+
color: "link_primary"
|
35711
35740
|
}, "Upload file")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
35712
|
-
color: "
|
35741
|
+
color: "text_quaternary"
|
35713
35742
|
}, "or drag and drop")), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
35714
|
-
color: "
|
35743
|
+
color: "text_disabled"
|
35715
35744
|
}, label)));
|
35716
35745
|
};
|
35717
35746
|
UploadBase.displayName = 'UploadBase';
|
@@ -35776,7 +35805,7 @@ var UploadItemContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default
|
|
35776
35805
|
})(["border:1px solid ", ";border-radius:4px;"], function (_ref) {
|
35777
35806
|
var $error = _ref.$error,
|
35778
35807
|
color = _ref.theme.color;
|
35779
|
-
return $error ? color
|
35808
|
+
return $error ? color.border_error : color.border_secondary;
|
35780
35809
|
});
|
35781
35810
|
var InfoContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex).attrs({
|
35782
35811
|
flex_direction: 'column',
|
@@ -35812,7 +35841,7 @@ var UploadItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().memo(
|
|
35812
35841
|
status: status
|
35813
35842
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(InfoContainer, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
35814
35843
|
variant: "sm_medium",
|
35815
|
-
color: "
|
35844
|
+
color: "text"
|
35816
35845
|
}, fileInfoFormatter(props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_upload_item_state__WEBPACK_IMPORTED_MODULE_7__.UploadItemState, {
|
35817
35846
|
status: status,
|
35818
35847
|
antiVirusScanText: antiVirusScanText,
|
@@ -35821,8 +35850,7 @@ var UploadItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().memo(
|
|
35821
35850
|
error: error
|
35822
35851
|
}))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
35823
35852
|
icon: "Trash",
|
35824
|
-
|
35825
|
-
size: "md",
|
35853
|
+
size: "xs",
|
35826
35854
|
onClick: onDelete
|
35827
35855
|
}));
|
35828
35856
|
});
|
@@ -35876,14 +35904,14 @@ var UploadItemIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().m
|
|
35876
35904
|
if (icon) return icon;
|
35877
35905
|
var iconProps = {
|
35878
35906
|
size: 'sm',
|
35879
|
-
color: '
|
35907
|
+
color: 'icon_primary'
|
35880
35908
|
};
|
35881
35909
|
if (status == _constants__WEBPACK_IMPORTED_MODULE_3__.FILE_STATUS.UPLOADING) iconProps.name = 'Spinner2';else if (status == _constants__WEBPACK_IMPORTED_MODULE_3__.FILE_STATUS.SCANNING) iconProps.name = 'Spinner';else if (status == _constants__WEBPACK_IMPORTED_MODULE_3__.FILE_STATUS.SUCCESS) {
|
35882
35910
|
iconProps.name = 'Document';
|
35883
|
-
iconProps.color = '
|
35911
|
+
iconProps.color = 'icon';
|
35884
35912
|
} else if (status == _constants__WEBPACK_IMPORTED_MODULE_3__.FILE_STATUS.ERROR) {
|
35885
35913
|
iconProps.name = 'Warning';
|
35886
|
-
iconProps.color =
|
35914
|
+
iconProps.color = 'icon_error';
|
35887
35915
|
}
|
35888
35916
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__.Icon, iconProps);
|
35889
35917
|
});
|
@@ -35938,18 +35966,22 @@ var UploadItemState = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().
|
|
35938
35966
|
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.UPLOADING) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_progress__WEBPACK_IMPORTED_MODULE_3__.ProgressBar, {
|
35939
35967
|
progress: progress
|
35940
35968
|
});
|
35941
|
-
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.SUCCESS)
|
35942
|
-
|
35943
|
-
|
35944
|
-
|
35969
|
+
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.SUCCESS) {
|
35970
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Label, {
|
35971
|
+
variant: "xs",
|
35972
|
+
color: "text_quaternary"
|
35973
|
+
}, formatBytes(size));
|
35974
|
+
}
|
35945
35975
|
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.ERROR) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Paragraph, {
|
35946
35976
|
variant: "xs",
|
35947
|
-
color:
|
35977
|
+
color: "text_error"
|
35948
35978
|
}, error);
|
35949
|
-
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.SCANNING)
|
35950
|
-
|
35951
|
-
|
35952
|
-
|
35979
|
+
if (status == _constants__WEBPACK_IMPORTED_MODULE_4__.FILE_STATUS.SCANNING) {
|
35980
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Label, {
|
35981
|
+
variant: "xs",
|
35982
|
+
color: "text_quaternary"
|
35983
|
+
}, antiVirusScanText);
|
35984
|
+
}
|
35953
35985
|
return null;
|
35954
35986
|
});
|
35955
35987
|
UploadItemState.displayName = 'UploadItemState';
|
@@ -36188,7 +36220,7 @@ var NumberField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forw
|
|
36188
36220
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
36189
36221
|
name: "ChevronUp",
|
36190
36222
|
size: "xxs",
|
36191
|
-
color: "
|
36223
|
+
color: "icon"
|
36192
36224
|
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
36193
36225
|
className: "down",
|
36194
36226
|
onClick: stepDown,
|
@@ -36198,7 +36230,7 @@ var NumberField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forw
|
|
36198
36230
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
36199
36231
|
name: "ChevronDown",
|
36200
36232
|
size: "xxs",
|
36201
|
-
color: "
|
36233
|
+
color: "icon"
|
36202
36234
|
}))));
|
36203
36235
|
});
|
36204
36236
|
NumberField.displayName = 'NumberField';
|
@@ -36218,19 +36250,19 @@ var Buttons = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withC
|
|
36218
36250
|
componentId: "sc-13mfzjc-2"
|
36219
36251
|
})(["position:absolute;top:0;right:0;display:flex;flex-direction:column;border-top-right-radius:4px;border-bottom-right-radius:4px;height:100%;div[role=\"button\"]{box-sizing:border-box;min-height:0;height:50%;background:", ";border-left:1px solid ", ";padding:2px 4px;display:flex;align-items:center;cursor:pointer;&.up{border-top-right-radius:4px;}&.down{border-bottom-right-radius:4px;border-top:1px solid ", ";}&:hover{background:", ";svg{color:", ";}}}"], function (_ref2) {
|
36220
36252
|
var color = _ref2.theme.color;
|
36221
|
-
return color.
|
36253
|
+
return color.bg;
|
36222
36254
|
}, function (_ref3) {
|
36223
36255
|
var color = _ref3.theme.color;
|
36224
|
-
return color.
|
36256
|
+
return color.border;
|
36225
36257
|
}, function (_ref4) {
|
36226
36258
|
var color = _ref4.theme.color;
|
36227
|
-
return color.
|
36259
|
+
return color.border;
|
36228
36260
|
}, function (_ref5) {
|
36229
36261
|
var color = _ref5.theme.color;
|
36230
|
-
return color.
|
36262
|
+
return color.bg_fill_secondary;
|
36231
36263
|
}, function (_ref6) {
|
36232
36264
|
var color = _ref6.theme.color;
|
36233
|
-
return color.
|
36265
|
+
return color.icon_accent;
|
36234
36266
|
});
|
36235
36267
|
|
36236
36268
|
/***/ }),
|
@@ -36337,11 +36369,11 @@ var CountrySelect = function CountrySelect(_ref) {
|
|
36337
36369
|
var countryCallingCode = _getCountryCallingCode(opt);
|
36338
36370
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option, null, _getCountryFlag(opt), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
|
36339
36371
|
variant: "sm",
|
36340
|
-
color: "
|
36372
|
+
color: "text",
|
36341
36373
|
no_wrap: true
|
36342
36374
|
}, _getCountryLabel(opt)), !!countryCallingCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
|
36343
36375
|
variant: "sm",
|
36344
|
-
color: "
|
36376
|
+
color: "text_teritary"
|
36345
36377
|
}, "+", countryCallingCode));
|
36346
36378
|
}, [_getCountryLabel, _getCountryCallingCode, _getCountryFlag]);
|
36347
36379
|
var filterOption = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (_ref3, inputValue) {
|
@@ -36442,7 +36474,7 @@ var DropdownIndicator = function DropdownIndicator(_ref6) {
|
|
36442
36474
|
height: "12px",
|
36443
36475
|
viewBox: ic.viewBox,
|
36444
36476
|
style: {
|
36445
|
-
color: color.
|
36477
|
+
color: color.icon,
|
36446
36478
|
cursor: isDisabled ? 'default' : 'pointer'
|
36447
36479
|
}
|
36448
36480
|
}, innerProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("use", {
|
@@ -36505,13 +36537,13 @@ var SearchInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
36505
36537
|
var SearchIcon = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
36506
36538
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
36507
36539
|
name: "Search",
|
36508
|
-
color: "
|
36540
|
+
color: "icon",
|
36509
36541
|
size: size == 'lg' ? 'sm' : 'xs'
|
36510
36542
|
});
|
36511
36543
|
}, [size]);
|
36512
36544
|
var ClearButton = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
36513
36545
|
return !!val && !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_7__.IconButton, {
|
36514
|
-
|
36546
|
+
size: "xs",
|
36515
36547
|
icon: "Close",
|
36516
36548
|
onClick: reset
|
36517
36549
|
});
|
@@ -36549,7 +36581,7 @@ var useStyles = function useStyles(size) {
|
|
36549
36581
|
font_size = _useTheme2.font_size,
|
36550
36582
|
line_height = _useTheme2.line_height,
|
36551
36583
|
color = _useTheme2.color,
|
36552
|
-
|
36584
|
+
shadow = _useTheme2.shadow;
|
36553
36585
|
return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
36554
36586
|
return {
|
36555
36587
|
control: function control(baseStyles, _ref10) {
|
@@ -36564,9 +36596,9 @@ var useStyles = function useStyles(size) {
|
|
36564
36596
|
fontWeight: font_weight.regular,
|
36565
36597
|
fontSize: font_size.sm,
|
36566
36598
|
lineHeight: line_height.none,
|
36567
|
-
color: isDisabled ? color.
|
36568
|
-
backgroundColor: color.
|
36569
|
-
borderColor: isDisabled ? color.
|
36599
|
+
color: isDisabled ? color.text_disabled : color.text_teritary,
|
36600
|
+
backgroundColor: isDisabled ? color.bg_fill_teritary : color.bg,
|
36601
|
+
borderColor: isDisabled ? color.border_disabled : color.border,
|
36570
36602
|
cursor: isDisabled ? 'default' : 'text',
|
36571
36603
|
borderRight: '0 none',
|
36572
36604
|
borderTopRightRadius: '0',
|
@@ -36587,9 +36619,27 @@ var useStyles = function useStyles(size) {
|
|
36587
36619
|
minWidth: '240px',
|
36588
36620
|
width: 'fit-content',
|
36589
36621
|
maxWidth: '540px',
|
36590
|
-
backgroundColor: color.
|
36622
|
+
backgroundColor: color.bg_elevated,
|
36591
36623
|
borderRadius: '4px',
|
36592
|
-
boxShadow:
|
36624
|
+
boxShadow: shadow.medium
|
36625
|
+
});
|
36626
|
+
},
|
36627
|
+
menuList: function menuList(baseStyles) {
|
36628
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
36629
|
+
overflowX: 'hidden',
|
36630
|
+
scrollbarColor: '#FFFFFF #DFE3E6',
|
36631
|
+
scrollbarWidth: 'thin',
|
36632
|
+
'&::-webkit-scrollbar': {
|
36633
|
+
width: '4px',
|
36634
|
+
height: '4px'
|
36635
|
+
},
|
36636
|
+
'&::-webkit-scrollbar-track': {
|
36637
|
+
backgroundColor: '#FFFFFF'
|
36638
|
+
},
|
36639
|
+
'&::-webkit-scrollbar-thumb': {
|
36640
|
+
backgroundColor: '#DFE3E6',
|
36641
|
+
borderRadius: '2px'
|
36642
|
+
}
|
36593
36643
|
});
|
36594
36644
|
},
|
36595
36645
|
menuPortal: function menuPortal(baseStyles) {
|
@@ -36598,13 +36648,18 @@ var useStyles = function useStyles(size) {
|
|
36598
36648
|
});
|
36599
36649
|
},
|
36600
36650
|
option: function option(baseStyles, _ref11) {
|
36601
|
-
var
|
36651
|
+
var isFocused = _ref11.isFocused,
|
36652
|
+
isDisabled = _ref11.isDisabled;
|
36602
36653
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
36603
|
-
backgroundColor:
|
36654
|
+
backgroundColor: isFocused ? color.bg_fill_secondary : undefined,
|
36655
|
+
color: isDisabled ? color.text_disabled : color.text_teritary,
|
36656
|
+
'&:hover': {
|
36657
|
+
backgroundColor: color.bg_fill_secondary
|
36658
|
+
}
|
36604
36659
|
});
|
36605
36660
|
}
|
36606
36661
|
};
|
36607
|
-
}, [size, font_family, font_weight, font_size, line_height, color,
|
36662
|
+
}, [size, font_family, font_weight, font_size, line_height, color, shadow]);
|
36608
36663
|
};
|
36609
36664
|
var getHeight = function getHeight(size) {
|
36610
36665
|
var height = {
|
@@ -37499,10 +37554,10 @@ var Field = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.withC
|
|
37499
37554
|
return line_height.none;
|
37500
37555
|
}, function (_ref5) {
|
37501
37556
|
var color = _ref5.theme.color;
|
37502
|
-
return color.
|
37557
|
+
return color.text;
|
37503
37558
|
}, function (_ref6) {
|
37504
37559
|
var color = _ref6.theme.color;
|
37505
|
-
return color.
|
37560
|
+
return color.text_quaternary;
|
37506
37561
|
});
|
37507
37562
|
var InputLabel = function InputLabel(_ref7) {
|
37508
37563
|
var className = _ref7.className,
|
@@ -37529,7 +37584,7 @@ var InputLabel = function InputLabel(_ref7) {
|
|
37529
37584
|
id: id,
|
37530
37585
|
"data-role": "label",
|
37531
37586
|
variant: variant,
|
37532
|
-
color: "
|
37587
|
+
color: "text_secondary"
|
37533
37588
|
}, t(label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(NecessityIndicator, {
|
37534
37589
|
required: required,
|
37535
37590
|
indicator: necessityIndicator
|
@@ -37542,7 +37597,7 @@ var InputLabel = function InputLabel(_ref7) {
|
|
37542
37597
|
}),
|
37543
37598
|
name: labelIcon,
|
37544
37599
|
size: "xs",
|
37545
|
-
color: "
|
37600
|
+
color: "icon"
|
37546
37601
|
})));
|
37547
37602
|
};
|
37548
37603
|
InputLabel.propTypes = {
|
@@ -37572,7 +37627,7 @@ var Indicator = styled_components__WEBPACK_IMPORTED_MODULE_2___default().span.wi
|
|
37572
37627
|
componentId: "sc-r60v1b-2"
|
37573
37628
|
})(["color:", ";margin-left:", ";"], function (_ref9) {
|
37574
37629
|
var color = _ref9.theme.color;
|
37575
|
-
return color.
|
37630
|
+
return color.text_disabled;
|
37576
37631
|
}, function (_ref10) {
|
37577
37632
|
var spacing = _ref10.theme.spacing;
|
37578
37633
|
return spacing['02'];
|
@@ -37580,7 +37635,7 @@ var Indicator = styled_components__WEBPACK_IMPORTED_MODULE_2___default().span.wi
|
|
37580
37635
|
var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_8__.Label).attrs({
|
37581
37636
|
tag: 'span',
|
37582
37637
|
variant: 'xs',
|
37583
|
-
color: '
|
37638
|
+
color: 'border_error',
|
37584
37639
|
children: '*'
|
37585
37640
|
}).withConfig({
|
37586
37641
|
displayName: "Asterisk",
|
@@ -37609,9 +37664,9 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
37609
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) {
|
37610
37665
|
var font_family = _ref12.theme.font_family;
|
37611
37666
|
return font_family.sans;
|
37612
|
-
}, inputVerticalPadding, inputHorizontalPadding, function (
|
37613
|
-
var
|
37614
|
-
return
|
37667
|
+
}, inputVerticalPadding, inputHorizontalPadding, function (_ref13) {
|
37668
|
+
var $verticalAlign = _ref13.$verticalAlign;
|
37669
|
+
return $verticalAlign !== null && $verticalAlign !== void 0 ? $verticalAlign : 'normal';
|
37615
37670
|
}, function (props) {
|
37616
37671
|
return props.$leftOuterContent ? '0' : '4px';
|
37617
37672
|
}, function (props) {
|
@@ -37623,28 +37678,34 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
37623
37678
|
}, function (props) {
|
37624
37679
|
var _props$$heightCalcula;
|
37625
37680
|
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
37626
|
-
}, function (
|
37627
|
-
var
|
37681
|
+
}, function (_ref14) {
|
37682
|
+
var $disabled = _ref14.$disabled,
|
37683
|
+
$invalid = _ref14.$invalid,
|
37684
|
+
$active = _ref14.$active,
|
37685
|
+
_ref14$theme = _ref14.theme,
|
37686
|
+
color = _ref14$theme.color,
|
37687
|
+
shadow = _ref14$theme.shadow;
|
37688
|
+
var borderColor = color.border;
|
37628
37689
|
var boxShadow = 'none';
|
37629
|
-
var
|
37630
|
-
var backgroundColor =
|
37690
|
+
var foreColor = color.text;
|
37691
|
+
var backgroundColor = color.bg;
|
37631
37692
|
var cursor = 'text';
|
37632
|
-
if (
|
37633
|
-
|
37634
|
-
borderColor =
|
37635
|
-
backgroundColor =
|
37693
|
+
if ($disabled) {
|
37694
|
+
foreColor = color.text_disabled;
|
37695
|
+
borderColor = color.border_disabled;
|
37696
|
+
backgroundColor = color.bg_fill_teritary;
|
37636
37697
|
cursor = 'default';
|
37637
|
-
} else if (
|
37638
|
-
borderColor =
|
37639
|
-
boxShadow =
|
37698
|
+
} else if ($invalid) borderColor = color.border_error;else if ($active) {
|
37699
|
+
borderColor = color.border_primary;
|
37700
|
+
boxShadow = shadow.primary;
|
37640
37701
|
}
|
37641
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:", ";background-color:", ";border-color:", ";color:", ";box-shadow:", ";"], cursor, backgroundColor, borderColor,
|
37702
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:", ";background-color:", ";border-color:", ";color:", ";box-shadow:", ";"], cursor, backgroundColor, borderColor, foreColor, boxShadow);
|
37642
37703
|
});
|
37643
37704
|
var HelperText = function HelperText(props) {
|
37644
37705
|
var children = props.children,
|
37645
37706
|
invalid = props.invalid;
|
37646
37707
|
if (!children) return null;
|
37647
|
-
var color = invalid ? '
|
37708
|
+
var color = invalid ? 'text_error' : 'text_quaternary';
|
37648
37709
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_8__.Label, {
|
37649
37710
|
"data-role": "description",
|
37650
37711
|
variant: "xs",
|
@@ -38096,7 +38157,7 @@ var DefaultItemRenderer = function DefaultItemRenderer(props) {
|
|
38096
38157
|
"data-action": "remove",
|
38097
38158
|
title: "Remove",
|
38098
38159
|
onClick: onRemove,
|
38099
|
-
|
38160
|
+
size: "xs",
|
38100
38161
|
icon: "CloseSmall"
|
38101
38162
|
}));
|
38102
38163
|
};
|
@@ -40906,7 +40967,7 @@ var Search = function Search(_ref2) {
|
|
40906
40967
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)(),
|
40907
40968
|
spacing = _useTheme.spacing;
|
40908
40969
|
var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
40909
|
-
|
40970
|
+
size: "xs",
|
40910
40971
|
icon: "Close",
|
40911
40972
|
style: {
|
40912
40973
|
visibility: search ? 'visible' : 'hidden'
|
@@ -41457,7 +41518,7 @@ var TableFooterRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().di
|
|
41457
41518
|
componentId: "sc-12b7s5j-0"
|
41458
41519
|
})(["border-top:1px solid ", ";"], function (_ref) {
|
41459
41520
|
var color = _ref.theme.color;
|
41460
|
-
return color.
|
41521
|
+
return color.border_teritary;
|
41461
41522
|
});
|
41462
41523
|
var FooterCell = function FooterCell(props) {
|
41463
41524
|
var className = props.className,
|
@@ -41499,7 +41560,7 @@ var FooterCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()
|
|
41499
41560
|
}, function (_ref3) {
|
41500
41561
|
var $isLastPinned = _ref3.$isLastPinned,
|
41501
41562
|
color = _ref3.theme.color;
|
41502
|
-
return $isLastPinned ? "2px solid ".concat(color.
|
41563
|
+
return $isLastPinned ? "2px solid ".concat(color.border_teritary) : 'none';
|
41503
41564
|
});
|
41504
41565
|
|
41505
41566
|
/***/ }),
|
@@ -41687,7 +41748,7 @@ var TableHeaderRow = styled_components__WEBPACK_IMPORTED_MODULE_2___default().di
|
|
41687
41748
|
})(["border-bottom:", ";"], function (_ref) {
|
41688
41749
|
var $isLast = _ref.$isLast,
|
41689
41750
|
color = _ref.theme.color;
|
41690
|
-
return $isLast ? 'none' : "1px solid ".concat(color.
|
41751
|
+
return $isLast ? 'none' : "1px solid ".concat(color.border_teritary);
|
41691
41752
|
});
|
41692
41753
|
var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41693
41754
|
displayName: "HeaderCellContent",
|
@@ -41701,7 +41762,7 @@ var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
|
|
41701
41762
|
}, function (_ref4) {
|
41702
41763
|
var $isLastPinned = _ref4.$isLastPinned,
|
41703
41764
|
color = _ref4.theme.color;
|
41704
|
-
return $isLastPinned ? "2px solid ".concat(color.
|
41765
|
+
return $isLastPinned ? "2px solid ".concat(color.border_teritary) : 'none';
|
41705
41766
|
});
|
41706
41767
|
var HeaderCellWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41707
41768
|
displayName: "HeaderCellWrapper",
|
@@ -41867,7 +41928,7 @@ var MenuButton = function MenuButton(props) {
|
|
41867
41928
|
var popover = props.popover,
|
41868
41929
|
visible = props.visible;
|
41869
41930
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledButton, {
|
41870
|
-
|
41931
|
+
size: "xs",
|
41871
41932
|
icon: "DotsHorizontal",
|
41872
41933
|
tooltip: "Functions",
|
41873
41934
|
tooltipPlacement: "top",
|
@@ -42266,7 +42327,7 @@ var Pagination = function Pagination(_ref) {
|
|
42266
42327
|
icon: "Download",
|
42267
42328
|
onClick: onDownload,
|
42268
42329
|
tooltip: downloadTooltip,
|
42269
|
-
|
42330
|
+
size: "xs"
|
42270
42331
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PaginationControls, childProps)));
|
42271
42332
|
};
|
42272
42333
|
Pagination.propTypes = {
|
@@ -42780,7 +42841,7 @@ var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.with
|
|
42780
42841
|
}, function (_ref2) {
|
42781
42842
|
var $isLast = _ref2.$isLast,
|
42782
42843
|
color = _ref2.theme.color;
|
42783
|
-
return $isLast ? 'none' : "1px solid ".concat(color.
|
42844
|
+
return $isLast ? 'none' : "1px solid ".concat(color.border_teritary);
|
42784
42845
|
}, _table_cell__WEBPACK_IMPORTED_MODULE_3__.CellContent, function (_ref3) {
|
42785
42846
|
var $rowDensity = _ref3.$rowDensity;
|
42786
42847
|
return {
|
@@ -42882,11 +42943,11 @@ var RowHoverActions = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forward
|
|
42882
42943
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
|
42883
42944
|
key: p.icon
|
42884
42945
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_2__.IconButton, _extends({}, p, {
|
42885
|
-
|
42946
|
+
size: "xs"
|
42886
42947
|
})));
|
42887
42948
|
}), draggableRows && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_2__.IconButton, _extends({
|
42888
42949
|
disabled: !(draggable !== null && draggable !== void 0 ? draggable : true),
|
42889
|
-
|
42950
|
+
size: "xs",
|
42890
42951
|
icon: "DragAndDrop"
|
42891
42952
|
}, dragHandleProps))));
|
42892
42953
|
});
|
@@ -43055,7 +43116,7 @@ var RowMenuCellPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_2__.withPopover)(funct
|
|
43055
43116
|
"data-testid": "row-actions-toggle",
|
43056
43117
|
onClick: p.popover.toggle,
|
43057
43118
|
icon: "DotsHorizontal",
|
43058
|
-
|
43119
|
+
size: "xs",
|
43059
43120
|
className: _render_row__WEBPACK_IMPORTED_MODULE_6__.preventOnClickClass
|
43060
43121
|
});
|
43061
43122
|
}, function (p) {
|
@@ -43120,9 +43181,9 @@ var rowMenuColumn = {
|
|
43120
43181
|
disableResizing: true,
|
43121
43182
|
disablePinning: true,
|
43122
43183
|
canEdit: false,
|
43123
|
-
width:
|
43124
|
-
minWidth:
|
43125
|
-
maxWidth:
|
43184
|
+
width: 48,
|
43185
|
+
minWidth: 48,
|
43186
|
+
maxWidth: 48,
|
43126
43187
|
internalActions: {}
|
43127
43188
|
};
|
43128
43189
|
var useRowMenu = function useRowMenu(hooks) {
|
@@ -43738,7 +43799,7 @@ var TableWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.
|
|
43738
43799
|
componentId: "sc-ebeoik-0"
|
43739
43800
|
})(["width:100%;border:1px solid ", ";border-radius:4px;overflow-x:", ";", ""], function (_ref) {
|
43740
43801
|
var color = _ref.theme.color;
|
43741
|
-
return color.
|
43802
|
+
return color.border_teritary;
|
43742
43803
|
}, function (_ref2) {
|
43743
43804
|
var $virtualized = _ref2.$virtualized;
|
43744
43805
|
return $virtualized ? 'unset' : 'auto';
|
@@ -43969,7 +44030,7 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
|
|
43969
44030
|
}, function (_ref2) {
|
43970
44031
|
var $isLastPinned = _ref2.$isLastPinned,
|
43971
44032
|
color = _ref2.theme.color;
|
43972
|
-
return $isLastPinned ? "2px solid ".concat(color.
|
44033
|
+
return $isLastPinned ? "2px solid ".concat(color.border_teritary) : 'none';
|
43973
44034
|
});
|
43974
44035
|
var ExpandedTableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(TableCellContent).withConfig({
|
43975
44036
|
displayName: "ExpandedTableCellContent",
|