@luminati-io/uikit 6.2.10-beta.0 → 6.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -34878,7 +34878,9 @@ var Drawer = function Drawer(_ref) {
34878
34878
  cancelProps = _ref.cancelProps,
34879
34879
  _ref$footerVariant = _ref.footerVariant,
34880
34880
  footerVariant = _ref$footerVariant === void 0 ? 'horizontal' : _ref$footerVariant,
34881
- afterOpenChange = _ref.afterOpenChange;
34881
+ afterOpenChange = _ref.afterOpenChange,
34882
+ _ref$mask = _ref.mask,
34883
+ mask = _ref$mask === void 0 ? false : _ref$mask;
34882
34884
  var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)();
34883
34885
  var renderCancel = !footer && !!(onCancel && cancelLabel);
34884
34886
  var renderOk = !footer && !!(onOk && okLabel);
@@ -34915,6 +34917,7 @@ var Drawer = function Drawer(_ref) {
34915
34917
  zIndex: _constants__WEBPACK_IMPORTED_MODULE_4__.Z_INDEX.drawer,
34916
34918
  maskClosable: closable,
34917
34919
  afterOpenChange: afterOpenChange,
34920
+ mask: mask,
34918
34921
  maskMotion: maskMotion,
34919
34922
  motion: motion
34920
34923
  }, closable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_6__.IconButton, {
@@ -34961,7 +34964,8 @@ Drawer.propTypes = {
34961
34964
  onCancel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
34962
34965
  cancelProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
34963
34966
  footerVariant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['vertical', 'horizontal', 'horizontal_full']),
34964
- afterOpenChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
34967
+ afterOpenChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
34968
+ mask: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
34965
34969
  };
34966
34970
  var DrawerStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{inset:0;position:fixed;pointer-events:none;&-inline{position:absolute;}&-mask{inset:0;position:absolute;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:auto;}&-content-wrapper{position:absolute;overflow:hidden;&-hidden{display:none;}}&-left &-content-wrapper{top:0;bottom:0;left:0;}&-right &-content-wrapper{top:0;right:0;bottom:0;}&-content{position:relative;display:flex;flex-direction:column;width:100%;height:100%;background:", ";pointer-events:auto;}&-left &-content{border-right:1px solid ", ";}&-right &-content{border-left:1px solid ", ";}&-close{position:absolute;margin-top:16px;inset-inline-end:16px;z-index:1;background:transparent;}&-header{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";}&-body{flex:1;overflow:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";color:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-mask-motion{&-enter,&-appear,&-leave{&-start{transition:none;}&-active{transition:all 0.3s;}}&-enter,&-appear{opacity:0;&-active{opacity:1;}}&-leave{opacity:1;&-active{opacity:0;}}}&-panel-motion{&-left,&-right{&-enter,&-appear,&-leave{&-start{transition:none;}&-active{transition:all 0.3s;}}&-enter,&-appear{opacity:0.7;&-active{opacity:1;}}&-leave{opacity:1;&-active{opacity:0.7;}}}&-left{&-enter,&-appear{transform:translateX(-100%);&-active{transform:none;}}&-leave{transform:none;&-active{transform:translateX(-100%);}}}&-right{&-enter,&-appear{transform:translateX(100%);&-active{transform:none;}}&-leave{transform:none;&-active{transform:translateX(100%);}}}}}"], function (_ref2) {
34967
34971
  var $prefixCls = _ref2.$prefixCls;