@peng_kai/kit 0.3.0-beta.2 → 0.3.0-beta.3

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.
@@ -1,5 +1,5 @@
1
- @import './classCover.scss';
2
- @import './globalCover.scss';
1
+ @import './classCover';
2
+ @import './globalCover';
3
3
 
4
4
  @media (pointer: fine) {
5
5
 
@@ -95,11 +95,11 @@ export function useAntdModal<Comp extends Component>(
95
95
  };
96
96
 
97
97
  const PresetComponent = defineComponent({
98
- setup() {
98
+ setup(props) {
99
99
  onMounted(() => _modalProps.opener?.(open as any));
100
100
 
101
101
  return () => {
102
- return createVNode(AntModal, _modalProps, {
102
+ return createVNode(AntModal, { ..._modalProps, ...props }, {
103
103
  [modalSlotName]: () => createVNode(_comp.is, compProps as any),
104
104
  });
105
105
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@peng_kai/kit",
3
3
  "type": "module",
4
- "version": "0.3.0-beta.2",
4
+ "version": "0.3.0-beta.3",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "ISC",