@ccs-ui/rc-pro 1.1.1-rc15 → 1.1.1-rc16

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.
@@ -81,6 +81,9 @@ var HookDrawer = function HookDrawer(_ref, ref) {
81
81
  padding: 0
82
82
  };
83
83
  }
84
+ styles.mask = _objectSpread({
85
+ background: 'rgba(0, 0, 0, 0.1)'
86
+ }, styles.mask);
84
87
  return /*#__PURE__*/_jsx(Drawer, _objectSpread(_objectSpread({
85
88
  afterOpenChange: function afterOpenChange(open) {
86
89
  if (!open) afterClose();
@@ -88,9 +91,6 @@ var HookDrawer = function HookDrawer(_ref, ref) {
88
91
  }, innerConfig), {}, {
89
92
  onClose: close,
90
93
  className: classNames('ccs-dialog-drawer', innerConfig.className),
91
- maskStyle: _objectSpread({
92
- background: 'rgba(0, 0, 0, 0.1)'
93
- }, innerConfig.maskStyle),
94
94
  styles: styles,
95
95
  rootStyle: _objectSpread(_objectSpread({}, !isCrInProp ? {
96
96
  position: 'absolute'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.1-rc15",
3
+ "version": "1.1.1-rc16",
4
4
  "description": "A react pro components",
5
5
  "license": "MIT",
6
6
  "module": "es/index.js",
package/es/drawer.zip DELETED
Binary file
package/es/modal.zip DELETED
Binary file