@luminati-io/uikit 6.3.3 → 6.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -36408,8 +36408,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
36408
36408
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
36409
36409
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
36410
36410
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
36411
|
-
/* harmony import */ var
|
36412
|
-
/* harmony import */ var
|
36411
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
36412
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.js");
|
36413
36413
|
/* harmony import */ var _breadcrumbs_item__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./breadcrumbs_item */ "./src/breadcrumbs/breadcrumbs_item.js");
|
36414
36414
|
/* harmony import */ var _collapsed_items__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./collapsed_items */ "./src/breadcrumbs/collapsed_items.js");
|
36415
36415
|
// LICENSE_CODE ZON
|
@@ -36503,7 +36503,7 @@ var Breadcrumbs = function Breadcrumbs(props) {
|
|
36503
36503
|
setHiddenItems([]);
|
36504
36504
|
setRecalculationRender(true);
|
36505
36505
|
}, [items]);
|
36506
|
-
(0,
|
36506
|
+
(0,_hooks__WEBPACK_IMPORTED_MODULE_4__.useResize)(runRecalculate);
|
36507
36507
|
(0,react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function () {
|
36508
36508
|
var _document$fonts;
|
36509
36509
|
runRecalculate();
|
@@ -36551,11 +36551,11 @@ var Breadcrumbs = function Breadcrumbs(props) {
|
|
36551
36551
|
});
|
36552
36552
|
});
|
36553
36553
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(BreadcrumbsContainer, _extends({
|
36554
|
+
ref: containerRef
|
36555
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
|
36554
36556
|
"data-testid": "breadcrumbs",
|
36555
36557
|
"aria-label": "breadcrumbs",
|
36556
|
-
"data-role": "breadcrumbs"
|
36557
|
-
}, (0,_util__WEBPACK_IMPORTED_MODULE_4__.getCommonProps)(rest), {
|
36558
|
-
ref: containerRef,
|
36558
|
+
"data-role": "breadcrumbs",
|
36559
36559
|
tabIndex: 1,
|
36560
36560
|
onBlur: handleBlur,
|
36561
36561
|
onKeyDown: handleKeyDown
|
@@ -45875,7 +45875,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
45875
45875
|
|
45876
45876
|
/*jslint react:true*/
|
45877
45877
|
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); }
|
45878
|
-
var _excluded = ["id", "name", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "fieldRef", "onChange", "onFocus", "onBlur", "onKeyDown", "placeholder", "disabled", "invalid", "autoFocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper"];
|
45878
|
+
var _excluded = ["id", "name", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "fieldRef", "onChange", "onFocus", "onBlur", "onKeyDown", "placeholder", "disabled", "invalid", "autoFocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper", "classNamePrefix", "className"];
|
45879
45879
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
45880
45880
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
45881
45881
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -45928,6 +45928,8 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45928
45928
|
autoresize = props.autoresize,
|
45929
45929
|
verticalAlign = props.verticalAlign,
|
45930
45930
|
innerWrapper = props.innerWrapper,
|
45931
|
+
classNamePrefix = props.classNamePrefix,
|
45932
|
+
className = props.className,
|
45931
45933
|
rest = _objectWithoutProperties(props, _excluded);
|
45932
45934
|
var field = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
|
45933
45935
|
var setFieldRefs = (0,_util__WEBPACK_IMPORTED_MODULE_9__.useSetRefsCallback)([fieldRef, field]);
|
@@ -45969,6 +45971,9 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45969
45971
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, _extends({
|
45970
45972
|
ref: ref
|
45971
45973
|
}, (0,_util__WEBPACK_IMPORTED_MODULE_9__.getCommonProps)(rest), {
|
45974
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
45975
|
+
container: true
|
45976
|
+
}, className),
|
45972
45977
|
flex_direction: "column",
|
45973
45978
|
gap: "4px"
|
45974
45979
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputLabel, {
|
@@ -45977,10 +45982,15 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45977
45982
|
labelIcon: labelIcon,
|
45978
45983
|
labelTooltip: labelTooltip,
|
45979
45984
|
required: required,
|
45980
|
-
necessityIndicator: necessityIndicator
|
45985
|
+
necessityIndicator: necessityIndicator,
|
45986
|
+
classNamePrefix: classNamePrefix
|
45981
45987
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputContentWrapper, {
|
45982
45988
|
$heightCalculationCallback: heightCalculationCallback
|
45983
|
-
}, leftOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(LeftOuterContentWrapper,
|
45989
|
+
}, leftOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(LeftOuterContentWrapper, {
|
45990
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
45991
|
+
leftOuterContent: true
|
45992
|
+
})
|
45993
|
+
}, leftOuterContent), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputWrapper, {
|
45984
45994
|
ref: innerWrapper,
|
45985
45995
|
$active: active,
|
45986
45996
|
$disabled: disabled,
|
@@ -46004,7 +46014,12 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
46004
46014
|
value: value,
|
46005
46015
|
placeholder: placeholder,
|
46006
46016
|
"aria-labelledby": label ? labelId : undefined
|
46007
|
-
})), rightInnerContent), rightOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightOuterContentWrapper,
|
46017
|
+
})), rightInnerContent), rightOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightOuterContentWrapper, {
|
46018
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
46019
|
+
rightOuterContent: true
|
46020
|
+
})
|
46021
|
+
}, rightOuterContent)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(HelperText, {
|
46022
|
+
classNamePrefix: classNamePrefix,
|
46008
46023
|
invalid: invalid
|
46009
46024
|
}, helperText));
|
46010
46025
|
});
|
@@ -46147,11 +46162,65 @@ var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typogra
|
|
46147
46162
|
var LeftOuterContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46148
46163
|
displayName: "LeftOuterContentWrapper",
|
46149
46164
|
componentId: "sc-r60v1b-4"
|
46150
|
-
})(["border-top-left-radius:4px;border-bottom-left-radius:4px;height:
|
46165
|
+
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;border-top:1px solid ", ";border-bottom:1px solid ", ";border-left:1px solid ", ";padding:0 ", ";border-top-left-radius:4px;border-bottom-left-radius:4px;font-family:", ";font-size:", ";font-weight:", ";line-height:normal;color:", ";"], function (_ref12) {
|
46166
|
+
var color = _ref12.theme.color;
|
46167
|
+
return color.bg_fill;
|
46168
|
+
}, function (_ref13) {
|
46169
|
+
var color = _ref13.theme.color;
|
46170
|
+
return color.border;
|
46171
|
+
}, function (_ref14) {
|
46172
|
+
var color = _ref14.theme.color;
|
46173
|
+
return color.border;
|
46174
|
+
}, function (_ref15) {
|
46175
|
+
var color = _ref15.theme.color;
|
46176
|
+
return color.border;
|
46177
|
+
}, function (_ref16) {
|
46178
|
+
var spacing = _ref16.theme.spacing;
|
46179
|
+
return spacing['04'];
|
46180
|
+
}, function (_ref17) {
|
46181
|
+
var font_family = _ref17.theme.font_family;
|
46182
|
+
return font_family.sans;
|
46183
|
+
}, function (_ref18) {
|
46184
|
+
var font_size = _ref18.theme.font_size;
|
46185
|
+
return font_size.sm;
|
46186
|
+
}, function (_ref19) {
|
46187
|
+
var font_weight = _ref19.theme.font_weight;
|
46188
|
+
return font_weight.regular;
|
46189
|
+
}, function (_ref20) {
|
46190
|
+
var color = _ref20.theme.color;
|
46191
|
+
return color.text_quaternary;
|
46192
|
+
});
|
46151
46193
|
var RightOuterContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46152
46194
|
displayName: "RightOuterContentWrapper",
|
46153
46195
|
componentId: "sc-r60v1b-5"
|
46154
|
-
})(["border-top-right-radius:4px;border-bottom-right-radius:4px;height:
|
46196
|
+
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;border-top:1px solid ", ";border-right:1px solid ", ";border-bottom:1px solid ", ";padding:0 ", ";border-top-right-radius:4px;border-bottom-right-radius:4px;font-family:", ";font-size:", ";font-weight:", ";line-height:normal;color:", ";"], function (_ref21) {
|
46197
|
+
var color = _ref21.theme.color;
|
46198
|
+
return color.bg_fill;
|
46199
|
+
}, function (_ref22) {
|
46200
|
+
var color = _ref22.theme.color;
|
46201
|
+
return color.border;
|
46202
|
+
}, function (_ref23) {
|
46203
|
+
var color = _ref23.theme.color;
|
46204
|
+
return color.border;
|
46205
|
+
}, function (_ref24) {
|
46206
|
+
var color = _ref24.theme.color;
|
46207
|
+
return color.border;
|
46208
|
+
}, function (_ref25) {
|
46209
|
+
var spacing = _ref25.theme.spacing;
|
46210
|
+
return spacing['04'];
|
46211
|
+
}, function (_ref26) {
|
46212
|
+
var font_family = _ref26.theme.font_family;
|
46213
|
+
return font_family.sans;
|
46214
|
+
}, function (_ref27) {
|
46215
|
+
var font_size = _ref27.theme.font_size;
|
46216
|
+
return font_size.sm;
|
46217
|
+
}, function (_ref28) {
|
46218
|
+
var font_weight = _ref28.theme.font_weight;
|
46219
|
+
return font_weight.regular;
|
46220
|
+
}, function (_ref29) {
|
46221
|
+
var color = _ref29.theme.color;
|
46222
|
+
return color.text_quaternary;
|
46223
|
+
});
|
46155
46224
|
var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).withConfig({
|
46156
46225
|
displayName: "InputContentWrapper",
|
46157
46226
|
componentId: "sc-r60v1b-6"
|
@@ -46161,11 +46230,11 @@ var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
46161
46230
|
var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46162
46231
|
displayName: "InputWrapper",
|
46163
46232
|
componentId: "sc-r60v1b-7"
|
46164
|
-
})(["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 (
|
46165
|
-
var font_family =
|
46233
|
+
})(["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 (_ref30) {
|
46234
|
+
var font_family = _ref30.theme.font_family;
|
46166
46235
|
return font_family.sans;
|
46167
|
-
}, _constants__WEBPACK_IMPORTED_MODULE_11__.INPUT_VERTICAL_PADDING, _constants__WEBPACK_IMPORTED_MODULE_11__.INPUT_HORIZONTAL_PADDING, function (
|
46168
|
-
var $verticalAlign =
|
46236
|
+
}, _constants__WEBPACK_IMPORTED_MODULE_11__.INPUT_VERTICAL_PADDING, _constants__WEBPACK_IMPORTED_MODULE_11__.INPUT_HORIZONTAL_PADDING, function (_ref31) {
|
46237
|
+
var $verticalAlign = _ref31.$verticalAlign;
|
46169
46238
|
return $verticalAlign !== null && $verticalAlign !== void 0 ? $verticalAlign : 'normal';
|
46170
46239
|
}, function (props) {
|
46171
46240
|
return props.$leftOuterContent ? '0' : '4px';
|
@@ -46178,26 +46247,31 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
46178
46247
|
}, function (props) {
|
46179
46248
|
var _props$$heightCalcula;
|
46180
46249
|
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
46181
|
-
}, function (
|
46182
|
-
var $disabled =
|
46183
|
-
$invalid =
|
46184
|
-
$active =
|
46185
|
-
color =
|
46250
|
+
}, function (_ref32) {
|
46251
|
+
var $disabled = _ref32.$disabled,
|
46252
|
+
$invalid = _ref32.$invalid,
|
46253
|
+
$active = _ref32.$active,
|
46254
|
+
color = _ref32.theme.color;
|
46186
46255
|
if ($disabled) {
|
46187
46256
|
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);
|
46188
46257
|
}
|
46189
46258
|
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);
|
46190
|
-
}, function (
|
46191
|
-
var $active =
|
46192
|
-
shadow =
|
46259
|
+
}, function (_ref33) {
|
46260
|
+
var $active = _ref33.$active,
|
46261
|
+
shadow = _ref33.theme.shadow;
|
46193
46262
|
return $active ? shadow.primary : null;
|
46194
46263
|
});
|
46195
|
-
var HelperText = function HelperText(
|
46196
|
-
var
|
46197
|
-
|
46264
|
+
var HelperText = function HelperText(_ref34) {
|
46265
|
+
var classNamePrefix = _ref34.classNamePrefix,
|
46266
|
+
children = _ref34.children,
|
46267
|
+
invalid = _ref34.invalid;
|
46198
46268
|
if (!children) return null;
|
46199
46269
|
var color = invalid ? 'text_error' : 'text_quaternary';
|
46200
46270
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_8__.Label, {
|
46271
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
46272
|
+
helperText: true,
|
46273
|
+
'helperText--invalid': invalid
|
46274
|
+
}),
|
46201
46275
|
"data-role": "description",
|
46202
46276
|
variant: "xs",
|
46203
46277
|
color: color
|
@@ -46434,6 +46508,8 @@ var Textbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardR
|
|
46434
46508
|
}));
|
46435
46509
|
});
|
46436
46510
|
Textbox.propTypes = {
|
46511
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46512
|
+
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46437
46513
|
value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46438
46514
|
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
46439
46515
|
onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
@@ -46990,8 +47066,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
46990
47066
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
46991
47067
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
46992
47068
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
46993
|
-
/* harmony import */ var
|
46994
|
-
/* harmony import */ var
|
47069
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
47070
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
46995
47071
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
46996
47072
|
// LICENSE_CODE ZON
|
46997
47073
|
|
@@ -47021,7 +47097,7 @@ var Toggle = function Toggle(_ref) {
|
|
47021
47097
|
var checked = evt.target.checked;
|
47022
47098
|
onChange === null || onChange === void 0 || onChange(checked, evt);
|
47023
47099
|
}, [onChange]);
|
47024
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleLabel, _extends({}, (0,
|
47100
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleLabel, _extends({}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
|
47025
47101
|
$size: size
|
47026
47102
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToggleInput, {
|
47027
47103
|
id: id,
|
@@ -47030,7 +47106,7 @@ var Toggle = function Toggle(_ref) {
|
|
47030
47106
|
checked: value,
|
47031
47107
|
onChange: handleChange,
|
47032
47108
|
disabled: disabled
|
47033
|
-
}), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47109
|
+
}), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
47034
47110
|
variant: "sm",
|
47035
47111
|
tag: "span",
|
47036
47112
|
color: disabled ? 'text_disabled' : 'text',
|
@@ -47053,7 +47129,7 @@ var ToggleInput = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
|
|
47053
47129
|
}).withConfig({
|
47054
47130
|
displayName: "ToggleInput",
|
47055
47131
|
componentId: "sc-14lfe6n-1"
|
47056
|
-
})(["&&{box-sizing:border-box;width:", ";height:", ";display:flex;align-items:center;margin:0;padding:0 2px;vertical-align:top;background-color:", ";border-radius:25px;outline:none;cursor:pointer;appearance:none;transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);&:hover:not(:disabled){background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}&:checked{background-color:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}}}&::after{content
|
47132
|
+
})(["&&{box-sizing:border-box;width:", ";height:", ";display:flex;align-items:center;margin:0;padding:0 2px;vertical-align:top;background-color:", ";border-radius:25px;outline:none;cursor:pointer;appearance:none;transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);&:hover:not(:disabled){background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}&:checked{background-color:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:3px solid ", ";}}}&::after{content:'';display:block;width:", ";height:", ";border-radius:50%;background-color:", ";box-shadow:0 2px 2px rgba(0,0,0,0.1);transition:all 0.3s cubic-bezier(0.2,0.85,0.32,1.2);}&:checked::after{transform:translateX( ", " );}"], function (_ref2) {
|
47057
47133
|
var $size = _ref2.$size;
|
47058
47134
|
return (0,_utils__WEBPACK_IMPORTED_MODULE_5__.toPixel)($size == 'xs' ? 32 : 44);
|
47059
47135
|
}, function (_ref3) {
|
@@ -47622,17 +47698,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
47622
47698
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
47623
47699
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
47624
47700
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
47625
|
-
/* harmony import */ var
|
47626
|
-
/* harmony import */ var
|
47627
|
-
/* harmony import */ var
|
47628
|
-
/* harmony import */ var
|
47629
|
-
/* harmony import */ var
|
47630
|
-
/* harmony import */ var
|
47631
|
-
/* harmony import */ var
|
47632
|
-
/* harmony import */ var
|
47633
|
-
/* harmony import */ var
|
47634
|
-
/* harmony import */ var
|
47635
|
-
/* harmony import */ var _menu_item_popup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./menu_item_popup */ "./src/menu/menu_item_popup.js");
|
47701
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
47702
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
47703
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip/index.js");
|
47704
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
47705
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
47706
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
|
47707
|
+
/* harmony import */ var _menu_item_divider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu_item_divider */ "./src/menu/menu_item_divider.js");
|
47708
|
+
/* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
|
47709
|
+
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
|
47710
|
+
/* harmony import */ var _menu_item_popup__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./menu_item_popup */ "./src/menu/menu_item_popup.js");
|
47636
47711
|
// LICENSE_CODE ZON
|
47637
47712
|
|
47638
47713
|
|
@@ -47656,7 +47731,6 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
47656
47731
|
|
47657
47732
|
|
47658
47733
|
|
47659
|
-
|
47660
47734
|
var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref, ref) {
|
47661
47735
|
var _ref$type = _ref.type,
|
47662
47736
|
type = _ref$type === void 0 ? 'item' : _ref$type,
|
@@ -47678,7 +47752,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fu
|
|
47678
47752
|
icon = _ref.icon,
|
47679
47753
|
iconPlacement = _ref.iconPlacement,
|
47680
47754
|
rest = _objectWithoutProperties(_ref, _excluded);
|
47681
|
-
if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47755
|
+
if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_9__["default"], {
|
47682
47756
|
ref: ref
|
47683
47757
|
});
|
47684
47758
|
var subItems = buildSubItems(children, {
|
@@ -47686,13 +47760,13 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fu
|
|
47686
47760
|
});
|
47687
47761
|
var isSubMenu = subMenu || subItems;
|
47688
47762
|
if (type == 'group') {
|
47689
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47763
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_10__.MenuItemGroup, _extends({
|
47690
47764
|
ref: ref,
|
47691
47765
|
text: text,
|
47692
47766
|
isFirstItem: isFirstItem
|
47693
47767
|
}, rest), subItems);
|
47694
47768
|
}
|
47695
|
-
var _getIconProps = (0,
|
47769
|
+
var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getIconProps)('MenuItem', {
|
47696
47770
|
size: size,
|
47697
47771
|
icon: icon,
|
47698
47772
|
iconPlacement: iconPlacement
|
@@ -47701,23 +47775,23 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fu
|
|
47701
47775
|
iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
|
47702
47776
|
var iconColor = disabled ? 'icon_disabled' : variant == 'negative' ? 'icon_error' : 'icon';
|
47703
47777
|
var labelColor = disabled ? 'text_disabled' : variant == 'negative' ? 'text_error' : 'text';
|
47704
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47778
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_11__.MenuItemContainer, {
|
47705
47779
|
ref: ref,
|
47706
47780
|
as: tag,
|
47707
47781
|
role: "menuitem"
|
47708
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47782
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__.Tooltip2, {
|
47709
47783
|
tooltip: tooltip
|
47710
47784
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemComp, _extends({}, rest, {
|
47711
47785
|
"aria-disabled": disabled ? true : undefined,
|
47712
47786
|
size: size,
|
47713
47787
|
role: "button",
|
47714
47788
|
subItems: subItems
|
47715
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47789
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, _extends({}, iconProps, {
|
47716
47790
|
color: iconColor
|
47717
47791
|
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemRight, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemText, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PrimaryText, {
|
47718
47792
|
$size: size,
|
47719
47793
|
color: labelColor
|
47720
|
-
}, text), !isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, !!tertiaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47794
|
+
}, text), !isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, !!tertiaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Label, {
|
47721
47795
|
variant: "sm",
|
47722
47796
|
whiteSpace: "nowrap",
|
47723
47797
|
color: "text_tertiary"
|
@@ -47735,7 +47809,7 @@ MenuItem.propTypes = {
|
|
47735
47809
|
description: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
47736
47810
|
type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['item', 'divider', 'group']),
|
47737
47811
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
|
47738
|
-
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(
|
47812
|
+
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_7__.iconNames),
|
47739
47813
|
// XXX alexanderse: PT.arrayOf(PT.shape(MenuItem.propTypes)) cause parse err
|
47740
47814
|
children: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)),
|
47741
47815
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['default', 'negative']),
|
@@ -47745,7 +47819,7 @@ MenuItem.propTypes = {
|
|
47745
47819
|
tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
47746
47820
|
popupPlacement: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
47747
47821
|
popupClassName: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
47748
|
-
popupTrigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([
|
47822
|
+
popupTrigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_constants__WEBPACK_IMPORTED_MODULE_3__.PT_TRIGGER, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(_constants__WEBPACK_IMPORTED_MODULE_3__.PT_TRIGGER)]),
|
47749
47823
|
popupStyle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
47750
47824
|
};
|
47751
47825
|
var MenuItemComp = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref2, ref) {
|
@@ -47757,9 +47831,9 @@ var MenuItemComp = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef
|
|
47757
47831
|
rest = _objectWithoutProperties(_ref2, _excluded3);
|
47758
47832
|
var button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemButton, _extends({
|
47759
47833
|
ref: ref
|
47760
|
-
},
|
47834
|
+
}, rest));
|
47761
47835
|
if (subItems) {
|
47762
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47836
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_popup__WEBPACK_IMPORTED_MODULE_12__.MenuItemPopup, {
|
47763
47837
|
subItems: subItems,
|
47764
47838
|
popupPlacement: popupPlacement,
|
47765
47839
|
popupTrigger: popupTrigger,
|
@@ -47779,7 +47853,7 @@ var MenuItemButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().di
|
|
47779
47853
|
displayName: "MenuItemButton",
|
47780
47854
|
componentId: "sc-vtiffr-0"
|
47781
47855
|
})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-decoration:none;background:0 none;border:0 none;padding:0 12px;box-sizing:border-box;width:100%;min-width:168px;max-width:540px;height:", ";gap:4px;cursor:", ";&:hover{background-color:", ";}&:hover,:visited,:focus{text-decoration:none;}&:active{background-color:", ";}"], function (props) {
|
47782
|
-
return (0,
|
47856
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.toPixel)(sizes[props.size] || sizes.md);
|
47783
47857
|
}, function (props) {
|
47784
47858
|
return props['aria-disabled'] ? 'not-allowed' : 'pointer';
|
47785
47859
|
}, function (_ref3) {
|
@@ -47814,13 +47888,13 @@ var SecondaryIcon = function SecondaryIcon(_ref5) {
|
|
47814
47888
|
});
|
47815
47889
|
return null;
|
47816
47890
|
};
|
47817
|
-
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
47891
|
+
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon).attrs({
|
47818
47892
|
size: 'xs'
|
47819
47893
|
}).withConfig({
|
47820
47894
|
displayName: "RightIcon",
|
47821
47895
|
componentId: "sc-vtiffr-4"
|
47822
47896
|
})(["margin-left:auto;"]);
|
47823
|
-
var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
47897
|
+
var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs(function (props) {
|
47824
47898
|
return {
|
47825
47899
|
variant: props.$size == 'lg' ? 'lg' : 'sm',
|
47826
47900
|
whiteSpace: 'nowrap'
|
@@ -47829,7 +47903,7 @@ var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typo
|
|
47829
47903
|
displayName: "PrimaryText",
|
47830
47904
|
componentId: "sc-vtiffr-5"
|
47831
47905
|
})(["overflow-x:clip;text-overflow:ellipsis;"]);
|
47832
|
-
var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
47906
|
+
var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs({
|
47833
47907
|
variant: 'sm',
|
47834
47908
|
color: 'text_secondary',
|
47835
47909
|
whiteSpace: 'nowrap'
|
@@ -47837,7 +47911,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_ty
|
|
47837
47911
|
displayName: "SecondaryText",
|
47838
47912
|
componentId: "sc-vtiffr-6"
|
47839
47913
|
})(["margin-left:auto;"]);
|
47840
|
-
var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
47914
|
+
var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs({
|
47841
47915
|
variant: 'xs',
|
47842
47916
|
color: 'text_tertiary',
|
47843
47917
|
whiteSpace: 'nowrap'
|
@@ -47847,7 +47921,7 @@ var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typo
|
|
47847
47921
|
})(["width:100%;overflow-x:clip;text-overflow:ellipsis;"]);
|
47848
47922
|
var buildSubItems = function buildSubItems(children, itemProps) {
|
47849
47923
|
return Array.isArray(children) && children.length > 0 ? children.map(function (item, ind) {
|
47850
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
47924
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_8__.Menu.Item, _extends({
|
47851
47925
|
key: item.key
|
47852
47926
|
}, item, itemProps, {
|
47853
47927
|
isFirstItem: ind == 0
|
@@ -49663,9 +49737,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
49663
49737
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
49664
49738
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
49665
49739
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
49666
|
-
/* harmony import */ var
|
49667
|
-
/* harmony import */ var
|
49668
|
-
/* harmony import */ var
|
49740
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
49741
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
49742
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
49669
49743
|
/* harmony import */ var _progress_bar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./progress_bar */ "./src/progress/progress_bar.js");
|
49670
49744
|
// LICENSE_CODE ZON
|
49671
49745
|
|
@@ -49690,15 +49764,15 @@ var Progress = function Progress(_ref) {
|
|
49690
49764
|
if (!hasText) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_progress_bar__WEBPACK_IMPORTED_MODULE_5__.ProgressBar, _extends({}, rest, {
|
49691
49765
|
progress: progress
|
49692
49766
|
}));
|
49693
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49767
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, _extends({}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_2__["default"])(rest), {
|
49694
49768
|
flex_direction: "column",
|
49695
49769
|
gap: "03"
|
49696
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49770
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
|
49697
49771
|
align_items: "flex-end",
|
49698
49772
|
justify_content: "space-between"
|
49699
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49773
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
49700
49774
|
color: "text"
|
49701
|
-
}, leftText), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49775
|
+
}, leftText), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
49702
49776
|
color: "text"
|
49703
49777
|
}, rightText)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_progress_bar__WEBPACK_IMPORTED_MODULE_5__.ProgressBar, {
|
49704
49778
|
progress: progress
|
@@ -49731,7 +49805,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
49731
49805
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
49732
49806
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "prop-types");
|
49733
49807
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
49734
|
-
/* harmony import */ var
|
49808
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
49735
49809
|
// LICENSE_CODE ZON
|
49736
49810
|
|
49737
49811
|
|
@@ -49749,7 +49823,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
49749
49823
|
rest = _objectWithoutProperties(_ref, _excluded);
|
49750
49824
|
var percentage = lodash_clamp__WEBPACK_IMPORTED_MODULE_0___default()(progress, 0, 100);
|
49751
49825
|
var percentageFmt = percentage.toFixed(2);
|
49752
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ProgressBarWrapper, (0,
|
49826
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ProgressBarWrapper, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_4__["default"])(rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ProgressBarFill, {
|
49753
49827
|
$width: percentageFmt
|
49754
49828
|
}));
|
49755
49829
|
};
|
@@ -49812,8 +49886,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
49812
49886
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
49813
49887
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
49814
49888
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
49815
|
-
/* harmony import */ var
|
49816
|
-
/* harmony import */ var
|
49889
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
49890
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
49817
49891
|
/* harmony import */ var _snackbar_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./snackbar_icon */ "./src/snackbar/snackbar_icon.js");
|
49818
49892
|
// LICENSE_CODE ZON
|
49819
49893
|
|
@@ -49837,18 +49911,18 @@ var Snackbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
49837
49911
|
children = _ref.children,
|
49838
49912
|
container_style = _ref.container_style,
|
49839
49913
|
rest = _objectWithoutProperties(_ref, _excluded);
|
49840
|
-
var content = typeof children == 'string' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49914
|
+
var content = typeof children == 'string' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Paragraph, {
|
49841
49915
|
variant: "lg_snug",
|
49842
49916
|
color: "text"
|
49843
49917
|
}, children) : children;
|
49844
49918
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrapper, _extends({
|
49845
49919
|
ref: ref,
|
49846
49920
|
$type: type
|
49847
|
-
}, (0,
|
49921
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest)), !!showIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_icon__WEBPACK_IMPORTED_MODULE_5__.SnackbarIcon, {
|
49848
49922
|
type: type
|
49849
49923
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Container, {
|
49850
49924
|
style: container_style
|
49851
|
-
}, !!header && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
49925
|
+
}, !!header && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
49852
49926
|
variant: "lg",
|
49853
49927
|
color: "text"
|
49854
49928
|
}, header), content));
|
@@ -50055,7 +50129,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
50055
50129
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
50056
50130
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
50057
50131
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
50058
|
-
/* harmony import */ var
|
50132
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
50059
50133
|
// LICENSE_CODE ZON
|
50060
50134
|
|
50061
50135
|
|
@@ -50107,7 +50181,7 @@ var Group = function Group(_ref) {
|
|
50107
50181
|
$variant: variant,
|
50108
50182
|
"aria-orientation": variant == 'vertical' ? 'vertical' : 'horizontal',
|
50109
50183
|
onKeyDown: handleKeyDown
|
50110
|
-
}, (0,
|
50184
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest)), react__WEBPACK_IMPORTED_MODULE_1__.Children.map(children, function (child) {
|
50111
50185
|
return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(child, {
|
50112
50186
|
variant: variant
|
50113
50187
|
});
|
@@ -50185,8 +50259,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
50185
50259
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
50186
50260
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
50187
50261
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
50188
|
-
/* harmony import */ var
|
50189
|
-
/* harmony import */ var
|
50262
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
50263
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
50190
50264
|
// LICENSE_CODE ZON
|
50191
50265
|
|
50192
50266
|
|
@@ -50211,17 +50285,17 @@ var Tab = function Tab(_ref) {
|
|
50211
50285
|
rightContent = _ref.rightContent,
|
50212
50286
|
rest = _objectWithoutProperties(_ref, _excluded);
|
50213
50287
|
var Wrap = variant == 'vertical' ? Left : react__WEBPACK_IMPORTED_MODULE_1__.Fragment;
|
50214
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TabContainer, _extends({
|
50288
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TabContainer, _extends({}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
|
50289
|
+
$variant: variant,
|
50215
50290
|
role: "tab",
|
50216
50291
|
className: className,
|
50217
|
-
$variant: variant,
|
50218
50292
|
"aria-selected": !!selected,
|
50219
50293
|
tabIndex: selected ? 0 : -1,
|
50220
50294
|
"aria-disabled": disabled ? 'true' : undefined,
|
50221
50295
|
disabled: !!disabled
|
50222
|
-
}
|
50296
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrap, null, leftContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Text, {
|
50223
50297
|
$variant: variant,
|
50224
|
-
$
|
50298
|
+
$disabled: disabled
|
50225
50299
|
}, text)), rightContent);
|
50226
50300
|
};
|
50227
50301
|
Tab.propTypes = {
|
@@ -50235,32 +50309,32 @@ Tab.propTypes = {
|
|
50235
50309
|
var TabContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
|
50236
50310
|
displayName: "TabContainer",
|
50237
50311
|
componentId: "sc-dgfrlb-0"
|
50238
|
-
})(["display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;cursor:pointer;&[aria-disabled=true]{cursor:not-allowed;}", ""], function (_ref2) {
|
50312
|
+
})(["display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;cursor:pointer;&[aria-disabled='true']{cursor:not-allowed;}", ""], function (_ref2) {
|
50239
50313
|
var $variant = _ref2.$variant,
|
50240
50314
|
_ref2$theme = _ref2.theme,
|
50241
50315
|
color = _ref2$theme.color,
|
50242
50316
|
shadow = _ref2$theme.shadow;
|
50243
50317
|
if ($variant == 'underline') {
|
50244
|
-
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);
|
50318
|
+
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);
|
50245
50319
|
}
|
50246
50320
|
if ($variant == 'contain') {
|
50247
|
-
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);
|
50321
|
+
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);
|
50248
50322
|
}
|
50249
50323
|
if ($variant == 'vertical') {
|
50250
|
-
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);
|
50324
|
+
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);
|
50251
50325
|
}
|
50252
50326
|
// main
|
50253
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:36px;padding:0;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, color.border_teritary, color.text_primary, color.border_primary, color.text, color.border, color.text_disabled, color.border_disabled);
|
50327
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["width:fit-content;height:36px;padding:0;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, color.border_teritary, color.text_primary, color.border_primary, color.text, color.border, color.text_disabled, color.border_disabled);
|
50254
50328
|
});
|
50255
50329
|
var Left = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
50256
50330
|
displayName: "Left",
|
50257
50331
|
componentId: "sc-dgfrlb-1"
|
50258
50332
|
})(["display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0;"]);
|
50259
|
-
var Text = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
50333
|
+
var Text = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_4__.Label).attrs(function (props) {
|
50260
50334
|
var v = {
|
50261
50335
|
main: 'lg',
|
50262
50336
|
underline: 'xs',
|
50263
|
-
contain: '
|
50337
|
+
contain: 'lg',
|
50264
50338
|
vertical: 'sm'
|
50265
50339
|
};
|
50266
50340
|
return {
|
@@ -50272,9 +50346,9 @@ var Text = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography_
|
|
50272
50346
|
componentId: "sc-dgfrlb-2"
|
50273
50347
|
})(["min-width:0;overflow-x:clip;text-overflow:ellipsis;", ""], function (_ref3) {
|
50274
50348
|
var $variant = _ref3.$variant,
|
50275
|
-
$
|
50349
|
+
$disabled = _ref3.$disabled,
|
50276
50350
|
font_weight = _ref3.theme.font_weight;
|
50277
|
-
if ($variant == 'contain' && $
|
50351
|
+
if ($variant == 'contain' && $disabled) return "font-weight: ".concat(font_weight.regular, ";");
|
50278
50352
|
});
|
50279
50353
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tab);
|
50280
50354
|
|
@@ -50394,7 +50468,7 @@ var theme = function theme(cb) {
|
|
50394
50468
|
return cb(p.$theme);
|
50395
50469
|
};
|
50396
50470
|
};
|
50397
|
-
var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalStyle)([".", "{box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;&-top,&-bottom{flex-direction:column;.", "-nav-list{flex-direction:row;}}&-left,&-right{flex-direction:row;.", "-nav-list{flex-direction:column;}}&-nav{position:relative;display:flex;flex:none;align-items:center;&-wrap{position:relative;display:flex;flex:auto;align-self:stretch;white-space:nowrap;transform:translate(0);}&-list{position:relative;display:flex;transition:opacity 0.3s;justify-content:flex-start;align-items:center;box-sizing:border-box;width:fit-content;}&-operations{display:flex;align-self:stretch;&-hidden{position:absolute;visibility:hidden;pointer-events:none;}}}&-content-holder{flex:auto;min-width:0;min-height:0;box-sizing:border-box;}&-content{position:relative;width:100%;}&-tabpane{outline:none;&-hidden{display:none;}}&-tab{&-btn{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;min-width:0;width:fit-content;cursor:pointer;white-space:nowrap;font-family:", ";line-height:", ";letter-spacing:", ";}&-disabled{.", "-tab-btn{cursor:not-allowed;}}}&-main{.", "-nav-list{gap:24px;}.", "-tab{.", "-tab-btn{height:36px;padding:0;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-underline{.", "-tab{.", "-tab-btn{height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-contain{.", "-nav-list{padding:2px;gap:2px;border-radius:4px;background:", ";}.", "-tab{.", "-tab-btn{height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;color:", ";font-size:", ";font-weight:", ";&:hover{color:", ";background:", ";}}&-active{.", "-tab-btn,.", "-tab-btn:hover{background:", ";border:1px solid ", ";box-shadow:", ";
|
50471
|
+
var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalStyle)([".", "{box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;&-top,&-bottom{flex-direction:column;.", "-nav-list{flex-direction:row;}}&-left,&-right{flex-direction:row;.", "-nav-list{flex-direction:column;}}&-nav{position:relative;display:flex;flex:none;align-items:center;&-wrap{position:relative;display:flex;flex:auto;align-self:stretch;white-space:nowrap;transform:translate(0);}&-list{position:relative;display:flex;transition:opacity 0.3s;justify-content:flex-start;align-items:center;box-sizing:border-box;width:fit-content;}&-operations{display:flex;align-self:stretch;&-hidden{position:absolute;visibility:hidden;pointer-events:none;}}}&-content-holder{flex:auto;min-width:0;min-height:0;box-sizing:border-box;}&-content{position:relative;width:100%;}&-tabpane{outline:none;&-hidden{display:none;}}&-tab{&-btn{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:0 none;background:transparent;min-width:0;width:fit-content;cursor:pointer;white-space:nowrap;font-family:", ";line-height:", ";letter-spacing:", ";}&-disabled{.", "-tab-btn{cursor:not-allowed;}}}&-main{.", "-nav-list{gap:24px;}.", "-tab{.", "-tab-btn{height:36px;padding:0;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-underline{.", "-tab{.", "-tab-btn{height:24px;padding:0 16px;justify-content:center;gap:4px;color:", ";box-shadow:0px -1px 0px 0px ", " inset;font-size:", ";font-weight:", ";&:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-active{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -2px 0px 0px ", " inset;}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";box-shadow:0px -1px 0px 0px ", " inset;}}}}&-contain{.", "-nav-list{padding:2px;gap:2px;border-radius:4px;background:", ";}.", "-tab{.", "-tab-btn{height:32px;padding:0px 8px;justify-content:center;gap:6px;border-radius:4px;color:", ";font-size:", ";font-weight:", ";&:hover{color:", ";background:", ";}}&-active{.", "-tab-btn,.", "-tab-btn:hover{background:", ";border:1px solid ", ";box-shadow:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";background:", ";font-weight:", ";}}}}&-vertical{.", "-tab{.", "-tab-btn{width:200px;height:40px;padding:0 12px;justify-content:flex-start;gap:4px;border-radius:0 4px 4px 0;border-left:1px solid transparent;color:", ";overflow-x:clip;text-overflow:ellipsis;&:hover{border-left-color:", ";}}&-active{.", "-tab-btn{background:", ";border-left-color:", ";}}&-disabled{.", "-tab-btn,.", "-tab-btn:hover{color:", ";border-left-color:transparent;}}}}&-ink-bar{display:none;position:absolute;pointer-events:none;}}"], prefixCls, prefixCls, prefixCls, theme(function (t) {
|
50398
50472
|
return t.font_family.sans;
|
50399
50473
|
}), theme(function (t) {
|
50400
50474
|
return t.line_height.none;
|
@@ -50445,9 +50519,9 @@ var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalSt
|
|
50445
50519
|
}), prefixCls, prefixCls, theme(function (t) {
|
50446
50520
|
return t.color.text_tertiary;
|
50447
50521
|
}), theme(function (t) {
|
50448
|
-
return t.font_size.
|
50522
|
+
return t.font_size.md;
|
50449
50523
|
}), theme(function (t) {
|
50450
|
-
return t.font_weight.
|
50524
|
+
return t.font_weight.semibold;
|
50451
50525
|
}), theme(function (t) {
|
50452
50526
|
return t.color.text_tertiary;
|
50453
50527
|
}), theme(function (t) {
|
@@ -50458,12 +50532,12 @@ var TabsStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_4__.createGlobalSt
|
|
50458
50532
|
return t.color.border;
|
50459
50533
|
}), theme(function (t) {
|
50460
50534
|
return t.shadow.meduim;
|
50461
|
-
}), theme(function (t) {
|
50462
|
-
return t.font_weight.semibold;
|
50463
50535
|
}), prefixCls, prefixCls, theme(function (t) {
|
50464
50536
|
return t.color.text_disabled;
|
50465
50537
|
}), theme(function (t) {
|
50466
50538
|
return t.color.bg_fill_teritary;
|
50539
|
+
}), theme(function (t) {
|
50540
|
+
return t.font_weight.regular;
|
50467
50541
|
}), prefixCls, prefixCls, theme(function (t) {
|
50468
50542
|
return t.color.text;
|
50469
50543
|
}), theme(function (t) {
|
@@ -54688,27 +54762,32 @@ var StyledGroup = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.wi
|
|
54688
54762
|
|
54689
54763
|
/***/ }),
|
54690
54764
|
|
54691
|
-
/***/ "./src/themes/
|
54692
|
-
|
54693
|
-
!*** ./src/themes/
|
54694
|
-
|
54765
|
+
/***/ "./src/themes/constant.js":
|
54766
|
+
/*!********************************!*\
|
54767
|
+
!*** ./src/themes/constant.js ***!
|
54768
|
+
\********************************/
|
54695
54769
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
54696
54770
|
|
54697
54771
|
"use strict";
|
54698
54772
|
__webpack_require__.r(__webpack_exports__);
|
54699
54773
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
54700
|
-
/* harmony export */
|
54774
|
+
/* harmony export */ chartPalette: () => (/* binding */ chartPalette),
|
54701
54775
|
/* harmony export */ color: () => (/* binding */ color),
|
54702
|
-
/* harmony export */
|
54703
|
-
/* harmony export */
|
54704
|
-
/* harmony export */
|
54776
|
+
/* harmony export */ componentDark: () => (/* binding */ componentDark),
|
54777
|
+
/* harmony export */ componentLight: () => (/* binding */ componentLight),
|
54778
|
+
/* harmony export */ fontFamily: () => (/* binding */ fontFamily),
|
54779
|
+
/* harmony export */ fontSize: () => (/* binding */ fontSize),
|
54780
|
+
/* harmony export */ fontWeight: () => (/* binding */ fontWeight),
|
54781
|
+
/* harmony export */ letterSpacing: () => (/* binding */ letterSpacing),
|
54782
|
+
/* harmony export */ lineHeight: () => (/* binding */ lineHeight),
|
54783
|
+
/* harmony export */ scrollbars: () => (/* binding */ scrollbars),
|
54784
|
+
/* harmony export */ semanticDark: () => (/* binding */ semanticDark),
|
54785
|
+
/* harmony export */ semanticLight: () => (/* binding */ semanticLight),
|
54786
|
+
/* harmony export */ shadow: () => (/* binding */ shadow),
|
54787
|
+
/* harmony export */ spacing: () => (/* binding */ spacing)
|
54705
54788
|
/* harmony export */ });
|
54706
|
-
/* harmony import */ var
|
54707
|
-
/* harmony import */ var
|
54708
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
54709
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
54710
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
54711
|
-
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
54789
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-components */ "styled-components");
|
54790
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_0__);
|
54712
54791
|
// LICENSE_CODE ZON
|
54713
54792
|
|
54714
54793
|
|
@@ -54720,70 +54799,59 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
54720
54799
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
54721
54800
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
54722
54801
|
|
54723
|
-
|
54724
|
-
|
54725
54802
|
var shadow = {
|
54726
54803
|
small: '0px 0px 2px rgba(0, 0, 0, 0.04), 0px 4px 24px rgba(0, 0, 0, 0.04)',
|
54727
|
-
medium: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 8px 24px rgba(0, 0, 0, 0.08)',
|
54804
|
+
medium: '0px 0px 2px rgba(0, 0, 0, 0.08), ' + '0px 8px 24px rgba(0, 0, 0, 0.08)',
|
54728
54805
|
large: '0px 0px 2px rgba(0, 0, 0, 0.12), 0px 0px 96px rgba(0, 0, 0, 0.16)',
|
54729
54806
|
primary: '0px 0px 0px 2px rgba(0, 106, 220, 0.40)',
|
54730
54807
|
success: '0px 0px 0px 2px rgba(6, 122, 111, 0.40)',
|
54731
54808
|
error: '0px 0px 0px 2px rgba(205, 43, 49, 0.40)'
|
54732
54809
|
};
|
54733
|
-
var
|
54734
|
-
|
54735
|
-
|
54736
|
-
|
54737
|
-
|
54738
|
-
|
54739
|
-
|
54740
|
-
|
54741
|
-
|
54742
|
-
|
54743
|
-
|
54744
|
-
|
54745
|
-
|
54746
|
-
|
54747
|
-
|
54748
|
-
|
54749
|
-
|
54750
|
-
|
54751
|
-
|
54752
|
-
|
54753
|
-
|
54754
|
-
|
54755
|
-
|
54756
|
-
|
54757
|
-
|
54758
|
-
|
54759
|
-
|
54760
|
-
|
54761
|
-
|
54762
|
-
|
54763
|
-
|
54764
|
-
|
54765
|
-
|
54766
|
-
|
54767
|
-
|
54768
|
-
|
54769
|
-
|
54770
|
-
|
54771
|
-
|
54772
|
-
|
54773
|
-
|
54774
|
-
|
54775
|
-
|
54776
|
-
|
54777
|
-
|
54778
|
-
lg: '0px 0px 2px rgba(0, 0, 0, 0.12),' + '0px 0px 96px rgba(0, 0, 0, 0.16)'
|
54779
|
-
},
|
54780
|
-
shadow: shadow,
|
54781
|
-
scrollbars: {
|
54782
|
-
thin: (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["scrollbar-color:#FFFFFF #DFE3E6;scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:#FFFFFF;}&::-webkit-scrollbar-thumb{background-color:#DFE3E6;border-radius:2px;}"]),
|
54783
|
-
auto: (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["scrollbar-color:#FFFFFF #DFE3E6;scrollbar-width:auto;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:#FFFFFF;}&::-webkit-scrollbar-thumb{background-color:#DFE3E6;border-radius:4px;}"])
|
54784
|
-
},
|
54785
|
-
chart_palette: ['#AA99EC', '#3DB9CF', '#E58FB1', '#EBBC00', '#94BA2C', '#D09E72', '#0091FF', '#E5484D', '#12A594', '#FFB224']
|
54786
|
-
};
|
54810
|
+
var spacing = {
|
54811
|
+
'00': '0px',
|
54812
|
+
'01': '2px',
|
54813
|
+
'02': '4px',
|
54814
|
+
'03': '8px',
|
54815
|
+
'04': '12px',
|
54816
|
+
'05': '16px',
|
54817
|
+
'06': '24px',
|
54818
|
+
'07': '32px',
|
54819
|
+
'08': '40px',
|
54820
|
+
'09': '48px',
|
54821
|
+
10: '64px',
|
54822
|
+
11: '72px'
|
54823
|
+
};
|
54824
|
+
var fontFamily = {
|
54825
|
+
sans: "'Inter', sans-serif",
|
54826
|
+
mono: "'Monaco', sans-serif"
|
54827
|
+
};
|
54828
|
+
var fontSize = {
|
54829
|
+
xxs: '11px',
|
54830
|
+
xs: '12px',
|
54831
|
+
sm: '13px',
|
54832
|
+
md: '14px',
|
54833
|
+
lg: '18px',
|
54834
|
+
xl: '28px'
|
54835
|
+
};
|
54836
|
+
var fontWeight = {
|
54837
|
+
regular: '400',
|
54838
|
+
medium: '500',
|
54839
|
+
semibold: '600'
|
54840
|
+
};
|
54841
|
+
var letterSpacing = {
|
54842
|
+
normal: '0em',
|
54843
|
+
wide: '0.02em'
|
54844
|
+
};
|
54845
|
+
var lineHeight = {
|
54846
|
+
none: 'normal',
|
54847
|
+
snug: '125%',
|
54848
|
+
loose: '150%'
|
54849
|
+
};
|
54850
|
+
var scrollbars = {
|
54851
|
+
thin: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:#ffffff #dfe3e6;scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:#ffffff;}&::-webkit-scrollbar-thumb{background-color:#dfe3e6;border-radius:2px;}"]),
|
54852
|
+
auto: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:#ffffff #dfe3e6;scrollbar-width:auto;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:#ffffff;}&::-webkit-scrollbar-thumb{background-color:#dfe3e6;border-radius:4px;}"])
|
54853
|
+
};
|
54854
|
+
var chartPalette = ['#AA99EC', '#3DB9CF', '#E58FB1', '#EBBC00', '#94BA2C', '#D09E72', '#0091FF', '#E5484D', '#12A594', '#FFB224'];
|
54787
54855
|
var color = {
|
54788
54856
|
blue_1: '#FBFDFF',
|
54789
54857
|
blue_2: '#F5FAFF',
|
@@ -55000,9 +55068,6 @@ var componentLight = {
|
|
55000
55068
|
popover_border: semanticLight.border_secondary,
|
55001
55069
|
popover_shadow: shadow.medium
|
55002
55070
|
};
|
55003
|
-
var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55004
|
-
color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticLight), componentLight)
|
55005
|
-
});
|
55006
55071
|
var semanticDark = _objectSpread(_objectSpread({}, semanticLight), {}, {
|
55007
55072
|
bg: color.gray_12,
|
55008
55073
|
bg_elevated: color.gray_11_75,
|
@@ -55120,7 +55185,7 @@ var componentDark = _objectSpread(_objectSpread({}, componentLight), {}, {
|
|
55120
55185
|
code_text_shadow_black: 'rgba(43, 47, 49, 0.3)',
|
55121
55186
|
code_header_bg_black: color.gray_11_25,
|
55122
55187
|
code_bg_white: color.black,
|
55123
|
-
code_text_white:
|
55188
|
+
code_text_white: semanticDark.text,
|
55124
55189
|
code_text_shadow_white: 'rgba(0, 0, 0, 0.3)',
|
55125
55190
|
code_header_bg_white: color.gray_11_75,
|
55126
55191
|
code_bg_icon_black: color.gray_11_25,
|
@@ -55140,9 +55205,78 @@ var componentDark = _objectSpread(_objectSpread({}, componentLight), {}, {
|
|
55140
55205
|
popover_border: semanticDark.border,
|
55141
55206
|
popover_shadow: '0px 6px 12px -3px rgba(1, 4, 9, 0.40), ' + '0px 6px 16px 0px rgba(1, 4, 9, 0.40);'
|
55142
55207
|
});
|
55208
|
+
|
55209
|
+
/***/ }),
|
55210
|
+
|
55211
|
+
/***/ "./src/themes/index.js":
|
55212
|
+
/*!*****************************!*\
|
55213
|
+
!*** ./src/themes/index.js ***!
|
55214
|
+
\*****************************/
|
55215
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
55216
|
+
|
55217
|
+
"use strict";
|
55218
|
+
__webpack_require__.r(__webpack_exports__);
|
55219
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
55220
|
+
/* harmony export */ ThemeProvider: () => (/* binding */ ThemeProvider),
|
55221
|
+
/* harmony export */ color: () => (/* reexport safe */ _constant__WEBPACK_IMPORTED_MODULE_3__.color),
|
55222
|
+
/* harmony export */ darkTheme: () => (/* binding */ darkTheme),
|
55223
|
+
/* harmony export */ lightTheme: () => (/* binding */ lightTheme),
|
55224
|
+
/* harmony export */ useTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)
|
55225
|
+
/* harmony export */ });
|
55226
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
55227
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
55228
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
55229
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
55230
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
55231
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
55232
|
+
/* harmony import */ var _constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constant */ "./src/themes/constant.js");
|
55233
|
+
// LICENSE_CODE ZON
|
55234
|
+
|
55235
|
+
|
55236
|
+
/*jslint react:true*/
|
55237
|
+
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); }
|
55238
|
+
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; }
|
55239
|
+
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; }
|
55240
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
55241
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
55242
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
55243
|
+
|
55244
|
+
|
55245
|
+
|
55246
|
+
|
55247
|
+
var baseTheme = {
|
55248
|
+
font_family: _constant__WEBPACK_IMPORTED_MODULE_3__.fontFamily,
|
55249
|
+
font_size: _constant__WEBPACK_IMPORTED_MODULE_3__.fontSize,
|
55250
|
+
font_weight: _constant__WEBPACK_IMPORTED_MODULE_3__.fontWeight,
|
55251
|
+
letter_spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.letterSpacing,
|
55252
|
+
spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.spacing,
|
55253
|
+
shadow: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow,
|
55254
|
+
scrollbars: _constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars,
|
55255
|
+
chart_palette: _constant__WEBPACK_IMPORTED_MODULE_3__.chartPalette,
|
55256
|
+
// new line-height has none: normal
|
55257
|
+
line_height: {
|
55258
|
+
none: '100%',
|
55259
|
+
snug: _constant__WEBPACK_IMPORTED_MODULE_3__.lineHeight.snug,
|
55260
|
+
loose: _constant__WEBPACK_IMPORTED_MODULE_3__.lineHeight.loose
|
55261
|
+
},
|
55262
|
+
// obsolete. use shadow
|
55263
|
+
box_shadow: {
|
55264
|
+
sm: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow.small,
|
55265
|
+
md: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow.medium,
|
55266
|
+
lg: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow.large
|
55267
|
+
}
|
55268
|
+
};
|
55269
|
+
var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55270
|
+
color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticLight), _constant__WEBPACK_IMPORTED_MODULE_3__.componentLight)
|
55271
|
+
});
|
55272
|
+
// addVar('--uikit-', lightTheme.color);
|
55273
|
+
|
55143
55274
|
var darkTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55144
|
-
color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticDark), componentDark)
|
55275
|
+
color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticDark), _constant__WEBPACK_IMPORTED_MODULE_3__.componentDark)
|
55145
55276
|
});
|
55277
|
+
// addVar('--uikit-', darkTheme.color);
|
55278
|
+
|
55279
|
+
var PT_THEME = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['light', 'dark']);
|
55146
55280
|
var ThemeProvider = function ThemeProvider(_ref) {
|
55147
55281
|
var theme = _ref.theme,
|
55148
55282
|
children = _ref.children;
|
@@ -55152,9 +55286,40 @@ var ThemeProvider = function ThemeProvider(_ref) {
|
|
55152
55286
|
}, children);
|
55153
55287
|
};
|
55154
55288
|
ThemeProvider.propTypes = {
|
55155
|
-
theme:
|
55289
|
+
theme: PT_THEME
|
55156
55290
|
};
|
55157
55291
|
|
55292
|
+
// export const CSSVariables = ({theme})=>{
|
55293
|
+
// const vars = theme == 'dark' ? darkVariables : lightVariables;
|
55294
|
+
// return <CSSVariablesGlobalStyle $variables={vars} />;
|
55295
|
+
// };
|
55296
|
+
// CSSVariables.propTypes = {theme: PT_THEME};
|
55297
|
+
|
55298
|
+
// const variables =
|
55299
|
+
// buildVars('--uikit-font-family-', fontFamily) +
|
55300
|
+
// buildVars('--uikit-font-size-', fontSize) +
|
55301
|
+
// buildVars('--uikit-font-weight-', fontWeight) +
|
55302
|
+
// buildVars('--uikit-letter-spacing-', letterSpacing) +
|
55303
|
+
// buildVars('--uikit-line-height-', lineHeight) +
|
55304
|
+
// buildVars('--uikit-spacing-', spacing) +
|
55305
|
+
// buildVars('--uikit-shadow-', shadow) +
|
55306
|
+
// buildVars('--uikit-', color);
|
55307
|
+
|
55308
|
+
// const lightVariables =
|
55309
|
+
// variables +
|
55310
|
+
// buildVars('--uikit-', semanticLight) +
|
55311
|
+
// buildVars('--uikit-', componentLight);
|
55312
|
+
|
55313
|
+
// const darkVariables =
|
55314
|
+
// variables +
|
55315
|
+
// buildVars('--uikit-', semanticDark) +
|
55316
|
+
// buildVars('--uikit-', componentDark);
|
55317
|
+
|
55318
|
+
// const CSSVariablesGlobalStyle = createGlobalStyle`:root {
|
55319
|
+
// ${({$variables})=>$variables}
|
55320
|
+
// }`;
|
55321
|
+
|
55322
|
+
|
55158
55323
|
|
55159
55324
|
/***/ }),
|
55160
55325
|
|
@@ -56355,7 +56520,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
56355
56520
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
56356
56521
|
/* harmony export */ getTypographyProps: () => (/* binding */ getTypographyProps)
|
56357
56522
|
/* harmony export */ });
|
56358
|
-
/* harmony import */ var
|
56523
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
56359
56524
|
// LICENSE_CODE ZON
|
56360
56525
|
|
56361
56526
|
|
@@ -56395,7 +56560,7 @@ var getTypographyProps = function getTypographyProps(props) {
|
|
56395
56560
|
no_wrap: no_wrap,
|
56396
56561
|
underline: underline,
|
56397
56562
|
whiteSpace: whiteSpace
|
56398
|
-
}, (0,
|
56563
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_0__["default"])(props));
|
56399
56564
|
};
|
56400
56565
|
|
56401
56566
|
/***/ }),
|