@luminati-io/uikit 6.2.8-beta.4 → 6.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42590,13 +42590,12 @@ __webpack_require__.r(__webpack_exports__);
42590
42590
  /* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../global_config */ "./src/global_config.js");
42591
42591
  /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
42592
42592
  /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42593
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
42594
- /* harmony import */ var _modal2__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modal2 */ "./src/modal/modal2.js");
42593
+ /* harmony import */ var _modal2__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modal2 */ "./src/modal/modal2.js");
42595
42594
  // LICENSE_CODE ZON
42596
42595
 
42597
42596
 
42598
42597
  /*jslint react:true*/
42599
- var _excluded = ["className", "classNamePrefix", "closeOnOutsideClick", "zIndex", "show", "afterClose", "closable", "onClose", "onConfirm", "okLabel", "cancelLabel", "okProps", "cancelProps", "size", "content", "type"];
42598
+ var _excluded = ["className", "classNamePrefix", "closeOnOutsideClick", "zIndex", "show", "afterClose", "closable", "onClose", "onConfirm", "okLabel", "cancelLabel", "okProps", "cancelProps", "size", "content", "title"];
42600
42599
  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); }
42601
42600
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42602
42601
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -42619,7 +42618,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
42619
42618
 
42620
42619
 
42621
42620
 
42622
-
42623
42621
  var destroyFns = [];
42624
42622
  var withWarn = function withWarn(props) {
42625
42623
  return _objectSpread(_objectSpread({}, props), {}, {
@@ -42727,14 +42725,10 @@ var ConfirmModal = function ConfirmModal(_ref) {
42727
42725
  _ref$size = _ref.size,
42728
42726
  size = _ref$size === void 0 ? 'sm' : _ref$size,
42729
42727
  content = _ref.content,
42730
- type = _ref.type,
42728
+ title = _ref.title,
42731
42729
  rest = _objectWithoutProperties(_ref, _excluded);
42732
- var icon = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(rest.icon, getIconByType(type));
42733
- var title = rest.title && icon ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_7__.Flex, {
42734
- gap: "03",
42735
- align_items: "center"
42736
- }, icon, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, rest.title)) : rest.title;
42737
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_8__.Modal2, {
42730
+ var icon = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(rest.icon, getIconByType(rest.type));
42731
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_7__.Modal2, {
42738
42732
  className: className,
42739
42733
  classNamePrefix: classNamePrefix,
42740
42734
  onClose: function onClose() {
@@ -42745,6 +42739,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
42745
42739
  },
42746
42740
  show: show,
42747
42741
  title: title,
42742
+ icon: icon,
42748
42743
  closeOnOutsideClick: closeOnOutsideClick,
42749
42744
  size: size,
42750
42745
  zIndex: zIndex,
@@ -42959,8 +42954,7 @@ var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__.withBackdrop)(General
42959
42954
  "use strict";
42960
42955
  __webpack_require__.r(__webpack_exports__);
42961
42956
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42962
- /* harmony export */ Modal2: () => (/* binding */ Modal2),
42963
- /* harmony export */ ModalFooter: () => (/* binding */ ModalFooter)
42957
+ /* harmony export */ Modal2: () => (/* binding */ Modal2)
42964
42958
  /* harmony export */ });
42965
42959
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
42966
42960
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
@@ -42981,7 +42975,7 @@ __webpack_require__.r(__webpack_exports__);
42981
42975
 
42982
42976
 
42983
42977
  /*jslint react:true*/
42984
- var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "zIndex", "children", "minHeight", "afterClose"];
42978
+ var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose"];
42985
42979
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
42986
42980
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42987
42981
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -43019,6 +43013,7 @@ var Modal2 = function Modal2(_ref) {
43019
43013
  cancelLabel = _ref.cancelLabel,
43020
43014
  onCancel = _ref.onCancel,
43021
43015
  cancelProps = _ref.cancelProps,
43016
+ icon = _ref.icon,
43022
43017
  _ref$zIndex = _ref.zIndex,
43023
43018
  zIndex = _ref$zIndex === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.popover : _ref$zIndex,
43024
43019
  children = _ref.children,
@@ -43031,13 +43026,7 @@ var Modal2 = function Modal2(_ref) {
43031
43026
  var _useWindowSize = (0,_hooks__WEBPACK_IMPORTED_MODULE_8__.useWindowSize)(),
43032
43027
  windowHeight = _useWindowSize.height;
43033
43028
  var maxHeight = "".concat(Math.max(windowHeight * 0.8, minHeight), "px");
43034
- var dialogTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Header, {
43035
- color: "text"
43036
- }, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
43037
- padding_right: "04",
43038
- color: "text_tertiary"
43039
- }, subtitle));
43040
- var dialogFooter = footer !== null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ModalFooter, {
43029
+ var dialogFooter = footer !== null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DialogFooter, {
43041
43030
  onOk: onOk,
43042
43031
  onCancel: onCancel,
43043
43032
  okLabel: okLabel,
@@ -43060,7 +43049,12 @@ var Modal2 = function Modal2(_ref) {
43060
43049
  closeIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CloseIcon, null),
43061
43050
  size: size,
43062
43051
  maskClosable: closeOnOutsideClick && onClose,
43063
- title: dialogTitle,
43052
+ title: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DialogHeader, {
43053
+ icon: icon,
43054
+ title: title,
43055
+ subtitle: subtitle,
43056
+ prefixCls: classNamePrefix
43057
+ }),
43064
43058
  footer: dialogFooter,
43065
43059
  zIndex: zIndex,
43066
43060
  width: width,
@@ -43072,7 +43066,8 @@ var Modal2 = function Modal2(_ref) {
43072
43066
  afterClose: afterClose,
43073
43067
  keyboard: false,
43074
43068
  animation: "zoom",
43075
- maskAnimation: "fade"
43069
+ maskAnimation: "fade",
43070
+ rootClassName: "test"
43076
43071
  }, (0,_util__WEBPACK_IMPORTED_MODULE_9__.getCommonProps)(rest)), children));
43077
43072
  };
43078
43073
  Modal2.propTypes = {
@@ -43095,9 +43090,10 @@ Modal2.propTypes = {
43095
43090
  cancelProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
43096
43091
  zIndex: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
43097
43092
  minHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
43098
- afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
43093
+ afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
43094
+ icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
43099
43095
  };
43100
- var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;top:", ";inset-inline-end:", ";z-index:1;padding:0;text-decoration:none;background:transparent;border-radius:4px;width:32px;height:32px;border:0;outline:0;cursor:pointer;}&-header{display:flex;flex-direction:column;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";gap:", ";}&-title{display:flex;flex-direction:column;gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";color:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
43096
+ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;margin-top:8px;inset-inline-end:16px;z-index:1;padding:4px;text-decoration:none;background:transparent;border-radius:4px;width:24px;height:24px;border:0;outline:0;cursor:pointer;background-color:", ";svg{color:", ";}&:hover{background-color:", ";svg{color:", ";}}}&-header{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";}&-title{display:flex;flex-direction:column;gap:", ";}&-title-wrap{display:flex;flex-direction:row;align-items:center;gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";color:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
43101
43097
  var $prefixCls = _ref2.$prefixCls;
43102
43098
  return $prefixCls;
43103
43099
  }, function (_ref3) {
@@ -43122,17 +43118,17 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
43122
43118
  var $theme = _ref9.$theme;
43123
43119
  return $theme.shadow.large;
43124
43120
  }, function (_ref10) {
43125
- var $theme = _ref10.$theme;
43126
- return $theme.spacing['05'];
43121
+ var color = _ref10.theme.color;
43122
+ return color.icon_button_bg;
43127
43123
  }, function (_ref11) {
43128
- var $theme = _ref11.$theme;
43129
- return $theme.spacing['02'];
43124
+ var color = _ref11.theme.color;
43125
+ return color.icon_button_icon_default;
43130
43126
  }, function (_ref12) {
43131
- var $theme = _ref12.$theme;
43132
- return $theme.spacing['03'];
43127
+ var color = _ref12.theme.color;
43128
+ return color.icon_button_bg_hover;
43133
43129
  }, function (_ref13) {
43134
- var $theme = _ref13.$theme;
43135
- return $theme.spacing['07'];
43130
+ var color = _ref13.theme.color;
43131
+ return color.icon_button_icon_hover;
43136
43132
  }, function (_ref14) {
43137
43133
  var $theme = _ref14.$theme;
43138
43134
  return $theme.spacing['03'];
@@ -43144,31 +43140,31 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
43144
43140
  return $theme.spacing['03'];
43145
43141
  }, function (_ref17) {
43146
43142
  var $theme = _ref17.$theme;
43147
- return $theme.spacing['03'];
43143
+ return $theme.spacing['07'];
43148
43144
  }, function (_ref18) {
43149
43145
  var $theme = _ref18.$theme;
43150
- return $theme.spacing['06'];
43146
+ return $theme.spacing['03'];
43151
43147
  }, function (_ref19) {
43152
43148
  var $theme = _ref19.$theme;
43153
- return $theme.spacing['07'];
43149
+ return $theme.spacing['03'];
43154
43150
  }, function (_ref20) {
43155
43151
  var $theme = _ref20.$theme;
43156
- return $theme.spacing['08'];
43152
+ return $theme.spacing['06'];
43157
43153
  }, function (_ref21) {
43158
43154
  var $theme = _ref21.$theme;
43159
43155
  return $theme.spacing['07'];
43160
43156
  }, function (_ref22) {
43161
43157
  var $theme = _ref22.$theme;
43162
- return $theme.color.text_secondary;
43158
+ return $theme.spacing['08'];
43163
43159
  }, function (_ref23) {
43164
43160
  var $theme = _ref23.$theme;
43165
- return $theme.scrollbars.thin;
43161
+ return $theme.spacing['07'];
43166
43162
  }, function (_ref24) {
43167
43163
  var $theme = _ref24.$theme;
43168
- return $theme.spacing['04'];
43164
+ return $theme.color.text_secondary;
43169
43165
  }, function (_ref25) {
43170
43166
  var $theme = _ref25.$theme;
43171
- return $theme.spacing['07'];
43167
+ return $theme.scrollbars.thin;
43172
43168
  }, function (_ref26) {
43173
43169
  var $theme = _ref26.$theme;
43174
43170
  return $theme.spacing['04'];
@@ -43177,17 +43173,37 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
43177
43173
  return $theme.spacing['07'];
43178
43174
  }, function (_ref28) {
43179
43175
  var $theme = _ref28.$theme;
43176
+ return $theme.spacing['04'];
43177
+ }, function (_ref29) {
43178
+ var $theme = _ref29.$theme;
43179
+ return $theme.spacing['07'];
43180
+ }, function (_ref30) {
43181
+ var $theme = _ref30.$theme;
43180
43182
  return $theme.color.border_secondary;
43181
43183
  });
43182
- var ModalFooter = function ModalFooter(_ref29) {
43183
- var onOk = _ref29.onOk,
43184
- onCancel = _ref29.onCancel,
43185
- okLabel = _ref29.okLabel,
43186
- cancelLabel = _ref29.cancelLabel,
43187
- okProps = _ref29.okProps,
43188
- cancelProps = _ref29.cancelProps,
43189
- variant = _ref29.variant,
43190
- footer = _ref29.footer;
43184
+ var DialogHeader = function DialogHeader(_ref31) {
43185
+ var icon = _ref31.icon,
43186
+ title = _ref31.title,
43187
+ subtitle = _ref31.subtitle,
43188
+ prefixCls = _ref31.prefixCls;
43189
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
43190
+ className: "".concat(prefixCls, "-title-wrap")
43191
+ }, icon, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Header, {
43192
+ color: "text"
43193
+ }, title)), !!subtitle && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
43194
+ padding_right: "04",
43195
+ color: "text_tertiary"
43196
+ }, subtitle));
43197
+ };
43198
+ var DialogFooter = function DialogFooter(_ref32) {
43199
+ var onOk = _ref32.onOk,
43200
+ onCancel = _ref32.onCancel,
43201
+ okLabel = _ref32.okLabel,
43202
+ cancelLabel = _ref32.cancelLabel,
43203
+ okProps = _ref32.okProps,
43204
+ cancelProps = _ref32.cancelProps,
43205
+ variant = _ref32.variant,
43206
+ footer = _ref32.footer;
43191
43207
  var renderCancel = !footer && !!(onCancel && cancelLabel);
43192
43208
  var renderOk = !footer && !!(onOk && okLabel);
43193
43209
  var renderFooter = !!footer || renderOk || renderCancel;
@@ -43242,26 +43258,13 @@ var footerLayout = {
43242
43258
  horizontal_full: FooterFullHorizontal,
43243
43259
  vertical: FooterVertical
43244
43260
  };
43245
- var CloseIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon).attrs({
43246
- name: 'CloseSmall',
43247
- size: 'xs',
43248
- 'data-testid': 'modal_header_close_button'
43249
- }).withConfig({
43250
- displayName: "CloseIcon",
43251
- componentId: "sc-1p3wums-3"
43252
- })(["background-color:", ";color:", ";&:hover{background-color:", ";color:", ";}"], function (_ref30) {
43253
- var color = _ref30.theme.color;
43254
- return color.icon_button_bg;
43255
- }, function (_ref31) {
43256
- var color = _ref31.theme.color;
43257
- return color.icon_button_icon_default;
43258
- }, function (_ref32) {
43259
- var color = _ref32.theme.color;
43260
- return color.icon_button_bg_hover;
43261
- }, function (_ref33) {
43262
- var color = _ref33.theme.color;
43263
- return color.icon_button_icon_hover;
43264
- });
43261
+ var CloseIcon = function CloseIcon() {
43262
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon, {
43263
+ name: "Close",
43264
+ size: "xs",
43265
+ "data-testid": "modal_header_close_button"
43266
+ });
43267
+ };
43265
43268
 
43266
43269
  /***/ }),
43267
43270
 
@@ -49729,7 +49732,7 @@ _Tooltip.propTypes = {
49729
49732
  };
49730
49733
  _Tooltip.showDelay = 0.1;
49731
49734
  _Tooltip.hideDelay = 0.1;
49732
- var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}}&_white{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}&_black{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}}"], function (_ref2) {
49735
+ var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow::before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}}&_white{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{content:'';border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{content:'';border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{content:'';border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{content:'';border-bottom-color:", ";}}&_black{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{border-bottom-color:", ";}}}"], function (_ref2) {
49733
49736
  var $prefixCls = _ref2.$prefixCls;
49734
49737
  return $prefixCls;
49735
49738
  }, function (_ref3) {
@@ -49743,7 +49746,7 @@ var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlob
49743
49746
  return $theme.font_weight.regular;
49744
49747
  }, function (_ref6) {
49745
49748
  var $theme = _ref6.$theme;
49746
- return $theme.line_height.none;
49749
+ return $theme.line_height.snug;
49747
49750
  }, function (_ref7) {
49748
49751
  var $theme = _ref7.$theme;
49749
49752
  return $theme.spacing['02'];