shineout 3.5.4-beta.1 → 3.5.4-beta.11
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.d.ts +1 -1
- package/cjs/index.js +8 -1
- package/dist/shineout.js +240 -64
- 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.d.ts +1 -1
- package/esm/index.js +2 -2
- 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.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export { default as Upload } from './upload';
|
|
|
51
51
|
export { setConfig, config, setLocale, setIcons } from '@sheinx/base';
|
|
52
52
|
export type { ConfigOption } from '@sheinx/base';
|
|
53
53
|
export { setToken, useToken } from '@sheinx/theme';
|
|
54
|
-
export { JssProvider, SheetsRegistry, setJssConfig } from '@sheinx/shineout-style';
|
|
54
|
+
export { JssProvider, SheetsRegistry, setJssConfig, scopeNormalizeStyle, } from '@sheinx/shineout-style';
|
|
55
55
|
export * as utls from './utils';
|
|
56
56
|
export * from './deprecated';
|
|
57
57
|
export * as TYPE from './type';
|
package/cjs/index.js
CHANGED
|
@@ -65,6 +65,7 @@ var _exportNames = {
|
|
|
65
65
|
JssProvider: true,
|
|
66
66
|
SheetsRegistry: true,
|
|
67
67
|
setJssConfig: true,
|
|
68
|
+
scopeNormalizeStyle: true,
|
|
68
69
|
utls: true,
|
|
69
70
|
TYPE: true
|
|
70
71
|
};
|
|
@@ -388,6 +389,12 @@ Object.defineProperty(exports, "config", {
|
|
|
388
389
|
}
|
|
389
390
|
});
|
|
390
391
|
exports.default = void 0;
|
|
392
|
+
Object.defineProperty(exports, "scopeNormalizeStyle", {
|
|
393
|
+
enumerable: true,
|
|
394
|
+
get: function get() {
|
|
395
|
+
return _shineoutStyle.scopeNormalizeStyle;
|
|
396
|
+
}
|
|
397
|
+
});
|
|
391
398
|
Object.defineProperty(exports, "setConfig", {
|
|
392
399
|
enumerable: true,
|
|
393
400
|
get: function get() {
|
|
@@ -500,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
500
507
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
501
508
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
502
509
|
var _default = exports.default = {
|
|
503
|
-
version: '3.5.4-beta.
|
|
510
|
+
version: '3.5.4-beta.11'
|
|
504
511
|
};
|