@luminati-io/uikit 3.2.11 → 3.2.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -35448,7 +35448,7 @@ var CopyButton = function CopyButton(props) {
|
|
35448
35448
|
}
|
35449
35449
|
});
|
35450
35450
|
}, [code]);
|
35451
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_4__
|
35451
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_4__.Tooltip, {
|
35452
35452
|
tooltip: tooltips[state],
|
35453
35453
|
placement: "right",
|
35454
35454
|
noWrap: true
|
@@ -35832,10 +35832,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
35832
35832
|
/* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
35833
35833
|
/* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
35834
35834
|
/* harmony export */ Chart: () => (/* reexport safe */ _chart__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
35835
|
-
/* harmony export */ ClickableTag: () => (/* reexport safe */
|
35836
|
-
/* harmony export */ Code: () => (/* reexport safe */
|
35837
|
-
/* harmony export */ CodeBlock: () => (/* reexport safe */
|
35838
|
-
/* harmony export */ CodeSnippet: () => (/* reexport safe */
|
35835
|
+
/* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.ClickableTag),
|
35836
|
+
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_17__.Code),
|
35837
|
+
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_17__.CodeBlock),
|
35838
|
+
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_17__.CodeSnippet),
|
35839
35839
|
/* harmony export */ ComboButton: () => (/* reexport safe */ _combo_button__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
35840
35840
|
/* harmony export */ Icon: () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
35841
35841
|
/* harmony export */ IconButton: () => (/* reexport safe */ _icon_button__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
@@ -35845,18 +35845,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
35845
35845
|
/* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
35846
35846
|
/* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
35847
35847
|
/* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_11__),
|
35848
|
-
/* harmony export */ Progress: () => (/* reexport safe */
|
35849
|
-
/* harmony export */ ProgressBar: () => (/* reexport safe */
|
35850
|
-
/* harmony export */ RemovableTag: () => (/* reexport safe */
|
35851
|
-
/* harmony export */ Tab: () => (/* reexport safe */
|
35848
|
+
/* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.Progress),
|
35849
|
+
/* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.ProgressBar),
|
35850
|
+
/* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.RemovableTag),
|
35851
|
+
/* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
35852
35852
|
/* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
35853
|
-
/* harmony export */ TagGroup: () => (/* reexport safe */
|
35854
|
-
/* harmony export */ Tooltip: () => (/* reexport safe */
|
35855
|
-
/* harmony export */ Typography: () => (/* reexport module object */
|
35853
|
+
/* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_20__.TagGroup),
|
35854
|
+
/* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_21__.Tooltip),
|
35855
|
+
/* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_16__),
|
35856
35856
|
/* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
35857
|
-
/* harmony export */ translation: () => (/* reexport safe */
|
35858
|
-
/* harmony export */ withPopover: () => (/* reexport safe */
|
35859
|
-
/* harmony export */ withTooltip: () => (/* reexport safe */
|
35857
|
+
/* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
35858
|
+
/* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_18__.withPopover),
|
35859
|
+
/* harmony export */ withTooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_21__.withTooltip)
|
35860
35860
|
/* harmony export */ });
|
35861
35861
|
/* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./badge */ "./src/badge.js");
|
35862
35862
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./button */ "./src/button/index.js");
|
@@ -35872,14 +35872,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
35872
35872
|
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./modal */ "./src/modal/index.js");
|
35873
35873
|
/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./table */ "./src/table/index.js");
|
35874
35874
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
|
35875
|
-
/* harmony import */ var
|
35876
|
-
/* harmony import */ var
|
35877
|
-
/* harmony import */ var
|
35878
|
-
/* harmony import */ var
|
35879
|
-
/* harmony import */ var
|
35880
|
-
/* harmony import */ var
|
35881
|
-
/* harmony import */ var
|
35882
|
-
/* harmony import */ var
|
35875
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
|
35876
|
+
/* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
|
35877
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
|
35878
|
+
/* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
|
35879
|
+
/* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./hoc */ "./src/hoc/index.js");
|
35880
|
+
/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
|
35881
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
|
35882
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./tooltip */ "./src/tooltip.js");
|
35883
35883
|
// LICENSE_CODE ZON
|
35884
35884
|
|
35885
35885
|
|
@@ -36537,7 +36537,7 @@ var IconButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwa
|
|
36537
36537
|
var ic = _icons__WEBPACK_IMPORTED_MODULE_3__["default"][icon];
|
36538
36538
|
if (!ic) return null;
|
36539
36539
|
var iconSize = size == 'lg' || size == 'md' ? 18 : 16;
|
36540
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__
|
36540
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__.Tooltip, {
|
36541
36541
|
tooltip: tooltip,
|
36542
36542
|
placement: tooltipPlacement
|
36543
36543
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledIconButton, _extends({
|
@@ -36765,7 +36765,7 @@ var Checkbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
36765
36765
|
var newValue = !checked;
|
36766
36766
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue, evt);
|
36767
36767
|
};
|
36768
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__
|
36768
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__.Tooltip, {
|
36769
36769
|
tooltip: tooltip
|
36770
36770
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CheckboxWrapper, _extends({
|
36771
36771
|
ref: ref
|
@@ -37070,8 +37070,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
37070
37070
|
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
|
37071
37071
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
37072
37072
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
37073
|
-
/* harmony import */ var
|
37074
|
-
/* harmony import */ var
|
37073
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
37074
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
37075
|
+
/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/index-a301f526.esm.js");
|
37076
|
+
/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../checkbox */ "./src/input/checkbox.js");
|
37075
37077
|
// LICENSE_CODE ZON
|
37076
37078
|
|
37077
37079
|
|
@@ -37090,20 +37092,25 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
37090
37092
|
|
37091
37093
|
|
37092
37094
|
|
37095
|
+
|
37093
37096
|
var Option = function Option(props) {
|
37094
37097
|
var children = props.children,
|
37095
37098
|
innerProps = props.innerProps,
|
37096
37099
|
rest = _objectWithoutProperties(props, _excluded);
|
37097
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37100
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_4__.c.Option, _extends({}, rest, {
|
37098
37101
|
innerProps: _objectSpread({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(innerProps, 'onMouseMove', 'onMouseOver'))
|
37099
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37102
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_3__.Checkbox, {
|
37100
37103
|
checked: props.isSelected,
|
37101
37104
|
disabled: props.isDisabled,
|
37102
37105
|
onChange: function onChange() {
|
37103
37106
|
return null;
|
37104
37107
|
}
|
37105
|
-
}), children);
|
37108
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TextOverflow, null, children));
|
37106
37109
|
};
|
37110
|
+
var TextOverflow = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
37111
|
+
displayName: "TextOverflow",
|
37112
|
+
componentId: "sc-1fnb51k-0"
|
37113
|
+
})(["flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]);
|
37107
37114
|
|
37108
37115
|
/***/ }),
|
37109
37116
|
|
@@ -37203,6 +37210,24 @@ var useStyles = function useStyles(_ref) {
|
|
37203
37210
|
boxShadow: undefined
|
37204
37211
|
});
|
37205
37212
|
},
|
37213
|
+
menuList: function menuList(baseStyles) {
|
37214
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37215
|
+
overflowX: 'hidden',
|
37216
|
+
scrollbarColor: '#FFFFFF #DFE3E6',
|
37217
|
+
scrollbarWidth: 'thin',
|
37218
|
+
'&::-webkit-scrollbar': {
|
37219
|
+
width: '4px',
|
37220
|
+
height: '4px'
|
37221
|
+
},
|
37222
|
+
'&::-webkit-scrollbar-track': {
|
37223
|
+
backgroundColor: '#FFFFFF'
|
37224
|
+
},
|
37225
|
+
'&::-webkit-scrollbar-thumb': {
|
37226
|
+
backgroundColor: '#DFE3E6',
|
37227
|
+
borderRadius: '2px'
|
37228
|
+
}
|
37229
|
+
});
|
37230
|
+
},
|
37206
37231
|
groupHeading: function groupHeading(baseStyles) {
|
37207
37232
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37208
37233
|
/* Label/base */
|
@@ -38628,16 +38653,24 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
38628
38653
|
|
38629
38654
|
var Number = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
|
38630
38655
|
var onChange = props.onChange,
|
38656
|
+
onBlur = props.onBlur,
|
38657
|
+
value = props.value,
|
38631
38658
|
step = props.step,
|
38632
38659
|
minValue = props.minValue,
|
38633
38660
|
maxValue = props.maxValue,
|
38634
38661
|
size = props.size,
|
38635
|
-
placeholder = props.placeholder
|
38662
|
+
placeholder = props.placeholder,
|
38663
|
+
changeOnBlur = props.changeOnBlur;
|
38636
38664
|
var handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
|
38637
38665
|
var v = +e.target.value;
|
38638
|
-
if (typeof maxValue == 'number' && v > maxValue) v = maxValue;else if (typeof minValue == 'number' && v < minValue) v = minValue;
|
38639
38666
|
onChange === null || onChange === void 0 ? void 0 : onChange(v, e);
|
38640
38667
|
}, [onChange, minValue, maxValue]);
|
38668
|
+
var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
|
38669
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
|
38670
|
+
if (!changeOnBlur) return;
|
38671
|
+
var v = +value;
|
38672
|
+
if (typeof maxValue == 'number' && v > maxValue) onChange === null || onChange === void 0 ? void 0 : onChange(maxValue, e);else if (typeof minValue == 'number' && v < minValue) onChange === null || onChange === void 0 ? void 0 : onChange(minValue, e);
|
38673
|
+
}, [onChange, onBlur, value, minValue, maxValue, changeOnBlur]);
|
38641
38674
|
var heightCalculationCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
|
38642
38675
|
var sizes = {
|
38643
38676
|
'xs': 28,
|
@@ -38659,13 +38692,16 @@ var Number = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRe
|
|
38659
38692
|
max: maxValue
|
38660
38693
|
},
|
38661
38694
|
Field: NumberField,
|
38695
|
+
value: value,
|
38662
38696
|
onChange: handleChange,
|
38697
|
+
onBlur: handleBlur,
|
38663
38698
|
placeholder: t(placeholder)
|
38664
38699
|
}));
|
38665
38700
|
});
|
38666
38701
|
Number.defaultProps = {
|
38667
38702
|
size: 'sm',
|
38668
|
-
step: 1
|
38703
|
+
step: 1,
|
38704
|
+
changeOnBlur: true
|
38669
38705
|
};
|
38670
38706
|
Number.displayName = 'Number';
|
38671
38707
|
Number.propTypes = {
|
@@ -38687,7 +38723,8 @@ Number.propTypes = {
|
|
38687
38723
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
38688
38724
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
38689
38725
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
38690
|
-
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg'])
|
38726
|
+
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
38727
|
+
changeOnBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
38691
38728
|
};
|
38692
38729
|
var NumberField = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.attrs({
|
38693
38730
|
type: 'number'
|
@@ -38845,7 +38882,7 @@ var Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
|
|
38845
38882
|
var handleClick = function handleClick(evt) {
|
38846
38883
|
if (!disabled) onClick === null || onClick === void 0 ? void 0 : onClick(value, evt);
|
38847
38884
|
};
|
38848
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__
|
38885
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__.Tooltip, {
|
38849
38886
|
tooltip: tooltip
|
38850
38887
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioWrapper, _extends({
|
38851
38888
|
ref: ref,
|
@@ -40050,7 +40087,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
|
|
40050
40087
|
ref: ref,
|
40051
40088
|
as: tag,
|
40052
40089
|
role: "menuitem"
|
40053
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__
|
40090
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip, {
|
40054
40091
|
tooltip: tooltip,
|
40055
40092
|
noWrap: true
|
40056
40093
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemComp, _extends({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement'), {
|
@@ -40345,7 +40382,7 @@ var MenuItemContainer = styled_components__WEBPACK_IMPORTED_MODULE_0___default()
|
|
40345
40382
|
"use strict";
|
40346
40383
|
__webpack_require__.r(__webpack_exports__);
|
40347
40384
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40348
|
-
/* harmony export */
|
40385
|
+
/* harmony export */ ModalBase: () => (/* binding */ ModalBase)
|
40349
40386
|
/* harmony export */ });
|
40350
40387
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
40351
40388
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40379,7 +40416,7 @@ var MODAL_WIDTHS = {
|
|
40379
40416
|
var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Box).withConfig({
|
40380
40417
|
displayName: "StyledWrapper",
|
40381
40418
|
componentId: "sc-1nggvo0-0"
|
40382
|
-
})(["background-color:", ";border-radius:", ";display:
|
40419
|
+
})(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_4__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].font_family.sans, MODAL_WIDTHS.full, function (props) {
|
40383
40420
|
return MODAL_WIDTHS[props.$size];
|
40384
40421
|
});
|
40385
40422
|
var StyledHeaderWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex).attrs({
|
@@ -40395,7 +40432,7 @@ var StyledContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___defaul
|
|
40395
40432
|
}).withConfig({
|
40396
40433
|
displayName: "StyledContentWrapper",
|
40397
40434
|
componentId: "sc-1nggvo0-2"
|
40398
|
-
})(["overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40435
|
+
})(["flex:1;overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40399
40436
|
return props.$borders && props.$borders.top ? "border-top: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
40400
40437
|
}, function (props) {
|
40401
40438
|
return props.$borders && props.$borders.bottom ? "border-bottom: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
@@ -40451,7 +40488,6 @@ ModalBase.defaultProps = {
|
|
40451
40488
|
size: 'md',
|
40452
40489
|
shadow: 'md'
|
40453
40490
|
};
|
40454
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ModalBase);
|
40455
40491
|
|
40456
40492
|
/***/ }),
|
40457
40493
|
|
@@ -40464,7 +40500,7 @@ ModalBase.defaultProps = {
|
|
40464
40500
|
"use strict";
|
40465
40501
|
__webpack_require__.r(__webpack_exports__);
|
40466
40502
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40467
|
-
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__
|
40503
|
+
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__.ModalBase),
|
40468
40504
|
/* harmony export */ Button: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalButton),
|
40469
40505
|
/* harmony export */ CloseButton: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.CloseButton),
|
40470
40506
|
/* harmony export */ Footer: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalFooter),
|
@@ -40472,7 +40508,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
40472
40508
|
/* harmony export */ Header: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalHeader),
|
40473
40509
|
/* harmony export */ Popup: () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.Popup),
|
40474
40510
|
/* harmony export */ Title: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalTitle),
|
40475
|
-
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__
|
40511
|
+
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__.withBackdrop)
|
40476
40512
|
/* harmony export */ });
|
40477
40513
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/modal/base.js");
|
40478
40514
|
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal */ "./src/modal/modal.js");
|
@@ -40487,7 +40523,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
40487
40523
|
|
40488
40524
|
|
40489
40525
|
|
40490
|
-
|
40491
40526
|
/***/ }),
|
40492
40527
|
|
40493
40528
|
/***/ "./src/modal/modal.js":
|
@@ -40547,7 +40582,7 @@ var General = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(fun
|
|
40547
40582
|
okDisabled: okDisabled,
|
40548
40583
|
cancelDisabled: cancelDisabled
|
40549
40584
|
}) : null;
|
40550
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__
|
40585
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__.ModalBase, {
|
40551
40586
|
id: id,
|
40552
40587
|
className: className,
|
40553
40588
|
"data-testid": "modal_general",
|
@@ -40573,7 +40608,7 @@ General.propTypes = {
|
|
40573
40608
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg', 'full']),
|
40574
40609
|
shadow: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['none', 'sm', 'md', 'lg'])
|
40575
40610
|
};
|
40576
|
-
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__
|
40611
|
+
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__.withBackdrop)(General);
|
40577
40612
|
|
40578
40613
|
|
40579
40614
|
/***/ }),
|
@@ -40716,7 +40751,7 @@ ModalFooter.defaultProps = {
|
|
40716
40751
|
"use strict";
|
40717
40752
|
__webpack_require__.r(__webpack_exports__);
|
40718
40753
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40719
|
-
/* harmony export */
|
40754
|
+
/* harmony export */ withBackdrop: () => (/* binding */ withBackdrop)
|
40720
40755
|
/* harmony export */ });
|
40721
40756
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
40722
40757
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40834,7 +40869,6 @@ var CompContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
40834
40869
|
}, function (props) {
|
40835
40870
|
return props.$show ? '0' : '-25%';
|
40836
40871
|
});
|
40837
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withBackdrop);
|
40838
40872
|
|
40839
40873
|
/***/ }),
|
40840
40874
|
|
@@ -41820,7 +41854,7 @@ var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___
|
|
41820
41854
|
var CustomizeButtonItemAction = function CustomizeButtonItemAction(props) {
|
41821
41855
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemActionWrapper, {
|
41822
41856
|
onClick: props.onClick
|
41823
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_8__
|
41857
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_8__.Tooltip, {
|
41824
41858
|
tooltip: props.tooltip,
|
41825
41859
|
tooltipPlacement: "top"
|
41826
41860
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], {
|
@@ -44183,7 +44217,7 @@ var theme = {
|
|
44183
44217
|
"use strict";
|
44184
44218
|
__webpack_require__.r(__webpack_exports__);
|
44185
44219
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
44186
|
-
/* harmony export */
|
44220
|
+
/* harmony export */ Tooltip: () => (/* binding */ Tooltip),
|
44187
44221
|
/* harmony export */ withTooltip: () => (/* binding */ withTooltip)
|
44188
44222
|
/* harmony export */ });
|
44189
44223
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
@@ -44271,7 +44305,11 @@ var Tooltip = function Tooltip(props) {
|
|
44271
44305
|
strategy: 'fixed'
|
44272
44306
|
}),
|
44273
44307
|
styles = _usePopper.styles,
|
44274
|
-
attributes = _usePopper.attributes
|
44308
|
+
attributes = _usePopper.attributes,
|
44309
|
+
update = _usePopper.update;
|
44310
|
+
var tooltipRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
|
44311
|
+
if (visible && tooltip != tooltipRef.current && typeof update == 'function') update();
|
44312
|
+
tooltipRef.current = tooltip;
|
44275
44313
|
if (!tooltip) return children;
|
44276
44314
|
var tooltipNode = visible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipBody, _extends({
|
44277
44315
|
ref: setPopperElement,
|
@@ -44327,7 +44365,6 @@ var StyledTooltipReference = styled_components__WEBPACK_IMPORTED_MODULE_2___defa
|
|
44327
44365
|
displayName: "StyledTooltipReference",
|
44328
44366
|
componentId: "sc-146jrck-2"
|
44329
44367
|
})(["width:fit-content;"]);
|
44330
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);
|
44331
44368
|
|
44332
44369
|
/***/ }),
|
44333
44370
|
|
@@ -45062,7 +45099,7 @@ var getDataProps = function getDataProps(props) {
|
|
45062
45099
|
});
|
45063
45100
|
};
|
45064
45101
|
var getCommonProps = function getCommonProps(props) {
|
45065
|
-
return Object.assign({}, lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(props, 'id', 'className', 'style', 'onClick', '
|
45102
|
+
return Object.assign({}, lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(props, 'id', 'className', 'style', 'role', 'tabIndex'), lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(props, 'onClick', 'onContextMenu', 'onDoubleClick', 'onDrag', 'onDragEnd', 'onDragEnter', 'onDragExit', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp'), lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(props, 'onPointerDown', 'onPointerMove', 'onPointerUp', 'onPointerCancel', 'onGotPointerCapture', 'onLostPointerCapture', 'onPointerEnter', 'onPointerLeave', 'onPointerOver', 'onPointerOut'), getAriaProps(props), getDataProps(props));
|
45066
45103
|
};
|
45067
45104
|
|
45068
45105
|
/***/ }),
|