shineout 3.5.3 → 3.5.4-beta.10
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/cjs/form/index.d.ts +2 -2
- package/cjs/form/index.js +1 -1
- package/cjs/index.js +1 -1
- package/dist/shineout.js +240 -65
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/form/index.d.ts +2 -2
- package/esm/form/index.js +2 -2
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/form/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import IForm from './form';
|
|
3
|
-
import { useFormRef as useForm,
|
|
3
|
+
import { useFormRef as useForm, useFormInstance } from '@sheinx/hooks';
|
|
4
4
|
type RefForm = typeof IForm;
|
|
5
5
|
declare const Button: ((props: import("./interface").SubmitProps) => JSX.Element) & {
|
|
6
6
|
displayName: string;
|
|
@@ -32,7 +32,7 @@ export interface FormComponent extends RefForm {
|
|
|
32
32
|
Reset: typeof Reset;
|
|
33
33
|
Flow: typeof FormFlow;
|
|
34
34
|
useForm: typeof useForm;
|
|
35
|
-
|
|
35
|
+
useFormInstance: typeof useFormInstance;
|
|
36
36
|
}
|
|
37
37
|
declare const FormComp: FormComponent;
|
|
38
38
|
export default FormComp;
|
package/cjs/form/index.js
CHANGED
|
@@ -36,5 +36,5 @@ FormComp.Submit = Submit;
|
|
|
36
36
|
FormComp.Reset = Reset;
|
|
37
37
|
FormComp.Flow = FormFlow;
|
|
38
38
|
FormComp.useForm = _hooks.useFormRef;
|
|
39
|
-
FormComp.
|
|
39
|
+
FormComp.useFormInstance = _hooks.useFormInstance;
|
|
40
40
|
var _default = exports.default = FormComp;
|
package/cjs/index.js
CHANGED
|
@@ -500,5 +500,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
500
500
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
501
501
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
502
502
|
var _default = exports.default = {
|
|
503
|
-
version: '3.5.
|
|
503
|
+
version: '3.5.4-beta.10'
|
|
504
504
|
};
|