@ccs-ui/rc-pro 1.0.7-rc.21 → 1.0.7-rc.23

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.
@@ -79,7 +79,7 @@ var HookDrawer = function HookDrawer(_ref, ref) {
79
79
  rootStyle: _objectSpread(_objectSpread({}, !isCrInProp ? {
80
80
  position: 'absolute'
81
81
  } : {}), innerConfig.rootStyle),
82
- contentWrapperStyle: _objectSpread(_objectSpread({}, isCrInProp ? {
82
+ contentWrapperStyle: _objectSpread(_objectSpread({}, !isCrInProp ? {
83
83
  boxShadow: 'none'
84
84
  } : {}), innerConfig.contentWrapperStyle),
85
85
  getContainer: isCrInProp ? innerConfig.getContainer : onGetContainer
@@ -1,11 +1,9 @@
1
1
  import ModalButtons from './buttons';
2
2
  import './index.less';
3
3
  import ModalOpen from './open';
4
- import UseModal from './use-modal';
5
4
  interface ModalInterface {
6
5
  Buttons: typeof ModalButtons;
7
6
  open: typeof ModalOpen;
8
- useModal: typeof UseModal;
9
7
  }
10
8
  /**
11
9
  * @deprecated
package/es/modal/index.js CHANGED
@@ -2,12 +2,10 @@
2
2
  import ModalButtons from "./buttons";
3
3
  import "./index.less";
4
4
  import ModalOpen from "./open";
5
- import UseModal from "./use-modal";
6
5
  /**
7
6
  * @deprecated
8
7
  */
9
8
  var modal = {};
10
9
  modal.open = ModalOpen;
11
10
  modal.Buttons = ModalButtons;
12
- modal.useModal = UseModal;
13
11
  export default modal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.0.7-rc.21",
3
+ "version": "1.0.7-rc.23",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "es/index.js",