shineout 3.5.4-beta.2 → 3.5.4-beta.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,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import IForm from './form';
3
- import { useFormRef as useForm, useFromInstance } from '@sheinx/hooks';
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
- useFromInstance: typeof useFromInstance;
35
+ useFormInstance: typeof useFormInstance;
36
36
  }
37
37
  declare const FormComp: FormComponent;
38
38
  export default FormComp;
package/esm/form/index.js CHANGED
@@ -4,7 +4,7 @@ import IFormItem from "./form-item";
4
4
  import IFormField from "./form-field";
5
5
  import IFormFieldSet from "./form-fieldset";
6
6
  import IFormFlow from "./form-flow";
7
- import { useFormRef as useForm, useFromInstance } from '@sheinx/hooks';
7
+ import { useFormRef as useForm, useFormInstance } from '@sheinx/hooks';
8
8
  import { Button as IButton, Submit as ISubmit, Reset as IRest } from "./form-button";
9
9
  var Button = IButton;
10
10
  Button.displayName = 'ShineoutFromButton';
@@ -29,5 +29,5 @@ FormComp.Submit = Submit;
29
29
  FormComp.Reset = Reset;
30
30
  FormComp.Flow = FormFlow;
31
31
  FormComp.useForm = useForm;
32
- FormComp.useFromInstance = useFromInstance;
32
+ FormComp.useFormInstance = useFormInstance;
33
33
  export default FormComp;
package/esm/index.js CHANGED
@@ -61,5 +61,5 @@ export * from "./deprecated";
61
61
  import * as _TYPE from "./type";
62
62
  export { _TYPE as TYPE };
63
63
  export default {
64
- version: '3.5.4-beta.2'
64
+ version: '3.5.4-beta.4'
65
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shineout",
3
- "version": "3.5.4-beta.2",
3
+ "version": "3.5.4-beta.4",
4
4
  "description": "A components library for React",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,10 +16,10 @@
16
16
  "module": "./esm/index.js",
17
17
  "typings": "./cjs/index.d.ts",
18
18
  "dependencies": {
19
- "@sheinx/base": "3.5.4-beta.2",
20
- "@sheinx/hooks": "3.5.4-beta.2",
21
- "@sheinx/shineout-style": "3.5.4-beta.2",
22
- "@sheinx/theme": "3.5.4-beta.2",
19
+ "@sheinx/base": "3.5.4-beta.4",
20
+ "@sheinx/hooks": "3.5.4-beta.4",
21
+ "@sheinx/shineout-style": "3.5.4-beta.4",
22
+ "@sheinx/theme": "3.5.4-beta.4",
23
23
  "classnames": "^2.0.0",
24
24
  "immer": "^10.0.0",
25
25
  "deep-eql": "^4.0.0"