@event-chat/antd-item 0.3.3 → 0.3.4

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 +1 @@
1
- {"version":3,"file":"FormProvider.d.ts","sourceRoot":"","sources":["../src/FormProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAM,iBAAiB,EAAQ,MAAM,OAAO,CAAA;AACnD,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EAElB,MAAM,SAAS,CAAA;AAwBhB,UAAU,qBAAsB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACrE,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB;AAED,QAAA,MAAM,YAAY,mFAA0B,CAAA;AAC5C,QAAA,MAAM,gBAAgB,gFAA8B,CAAA;AAEpD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"FormProvider.d.ts","sourceRoot":"","sources":["../src/FormProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAM,iBAAiB,EAAQ,MAAM,OAAO,CAAA;AACnD,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EAElB,MAAM,SAAS,CAAA;AAuBhB,UAAU,qBAAsB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACrE,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB;AAED,QAAA,MAAM,YAAY,mFAA0B,CAAA;AAC5C,QAAA,MAAM,gBAAgB,gFAA8B,CAAA;AAEpD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAA"}
@@ -9,13 +9,12 @@ const FormProviderInner = ({ children, group, name, emit })=>/*#__PURE__*/ jsx(F
9
9
  },
10
10
  children: children
11
11
  });
12
- const FormItemProviderInner = ({ children, parent, emit })=>{
12
+ const FormItemProviderInner = ({ children, ...props })=>{
13
13
  const record = useFormEvent();
14
14
  return /*#__PURE__*/ jsx(FormEventContext.Provider, {
15
15
  value: {
16
16
  ...record,
17
- parent,
18
- emit
17
+ ...props
19
18
  },
20
19
  children: children
21
20
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@event-chat/antd-item",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {