@event-chat/antd-item 0.3.20 → 0.3.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.
package/dist/FormProvider.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NamepathType } from '@event-chat/core';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { FormEventContextInstance, FormInputInstance } from './utils';
|
|
4
|
-
interface FormItemProviderProps extends Pick<FormInputInstance, 'emit'> {
|
|
5
|
-
parent?: NamepathType;
|
|
6
|
-
}
|
|
7
4
|
declare const FormProvider: import("react").NamedExoticComponent<PropsWithChildren<FormEventContextInstance>>;
|
|
8
5
|
declare const FormItemProvider: import("react").NamedExoticComponent<PropsWithChildren<FormItemProviderProps>>;
|
|
9
6
|
export { FormItemProvider, FormProvider };
|
|
7
|
+
interface FormItemProviderProps extends Pick<FormInputInstance, 'emit'> {
|
|
8
|
+
parent?: NamepathType;
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=FormProvider.d.ts.map
|
|
@@ -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;AAuBhB,
|
|
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,QAAA,MAAM,YAAY,mFAA0B,CAAA;AAC5C,QAAA,MAAM,gBAAgB,gFAA8B,CAAA;AAOpD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAA;AAEzC,UAAU,qBAAsB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACrE,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB"}
|
package/dist/FormProvider.js
CHANGED
|
@@ -21,4 +21,8 @@ const FormItemProviderInner = ({ children, ...props })=>{
|
|
|
21
21
|
};
|
|
22
22
|
const FormProvider = /*#__PURE__*/ memo(FormProviderInner);
|
|
23
23
|
const FormItemProvider = /*#__PURE__*/ memo(FormItemProviderInner);
|
|
24
|
+
if ('production' !== process.env.NODE_ENV) {
|
|
25
|
+
FormProvider.displayName = 'FormProvider';
|
|
26
|
+
FormItemProvider.displayName = 'FormItemProvider';
|
|
27
|
+
}
|
|
24
28
|
export { FormItemProvider, FormProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@event-chat/antd-item",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"storybook-react-rsbuild": "^3.1.0",
|
|
32
32
|
"tsd": "^0.33.0",
|
|
33
33
|
"typescript-eslint": "^8.48.0",
|
|
34
|
-
"@event-chat/core": "0.2.
|
|
34
|
+
"@event-chat/core": "0.2.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@event-chat/core": "*",
|