shineout 3.3.0-beta.8 → 3.3.0
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/drawer/drawer.type.d.ts +4 -1
- package/cjs/index.js +1 -1
- package/cjs/tabs/interface.d.ts +1 -0
- package/cjs/utils/index.d.ts +2 -1
- package/cjs/utils/index.js +3 -1
- package/cjs/utils/type.d.ts +3 -0
- package/cjs/utils/type.js +5 -0
- package/dist/shineout.js +551 -394
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/drawer/drawer.type.d.ts +4 -1
- package/esm/index.js +1 -1
- package/esm/tabs/interface.d.ts +1 -0
- package/esm/utils/index.d.ts +2 -1
- package/esm/utils/index.js +2 -1
- package/esm/utils/type.d.ts +3 -0
- package/esm/utils/type.js +1 -0
- package/package.json +5 -5
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ModalProps } from '../modal/modal.type';
|
|
2
|
+
import { type } from '../utils';
|
|
2
3
|
/**
|
|
3
4
|
* @title Drawer
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
+
interface DrawerPropsOrgin extends Omit<ModalProps, 'moveable'> {
|
|
6
7
|
/** *
|
|
7
8
|
* @en 弹出位置
|
|
8
9
|
* @cn Pop-up position
|
|
@@ -22,3 +23,5 @@ export interface DrawerProps extends Omit<ModalProps, 'moveable'> {
|
|
|
22
23
|
*/
|
|
23
24
|
height?: number | string;
|
|
24
25
|
}
|
|
26
|
+
export type DrawerProps = type.RequireAWithB<DrawerPropsOrgin, 'type', 'title'>;
|
|
27
|
+
export {};
|
package/esm/index.js
CHANGED
package/esm/tabs/interface.d.ts
CHANGED
package/esm/utils/index.d.ts
CHANGED
|
@@ -17,8 +17,9 @@ import normalizeWheel from './dom/normalizeWheel';
|
|
|
17
17
|
import * as position from './dom/popover';
|
|
18
18
|
import ready from './dom/ready';
|
|
19
19
|
import isJson from './validate/isJson';
|
|
20
|
+
import * as type from './type';
|
|
20
21
|
import accept from './accept';
|
|
21
22
|
declare const validate: () => void;
|
|
22
23
|
declare const cssAccessors: {};
|
|
23
24
|
declare const cssInject: {};
|
|
24
|
-
export { classname, clone, color, flat, func, hash, is, number, objects, shallowEqual, string, tree, detect, doc, element, normalizeWheel, position, ready, isJson, validate, cssAccessors, cssInject, accept, };
|
|
25
|
+
export { classname, clone, color, flat, func, hash, is, number, objects, shallowEqual, string, tree, detect, doc, element, normalizeWheel, position, ready, isJson, validate, cssAccessors, cssInject, type, accept, };
|
package/esm/utils/index.js
CHANGED
|
@@ -17,10 +17,11 @@ import normalizeWheel from "./dom/normalizeWheel";
|
|
|
17
17
|
import * as position from "./dom/popover";
|
|
18
18
|
import ready from "./dom/ready";
|
|
19
19
|
import isJson from "./validate/isJson";
|
|
20
|
+
import * as type from "./type";
|
|
20
21
|
// import validate from './validate';
|
|
21
22
|
|
|
22
23
|
import accept from "./accept";
|
|
23
24
|
var validate = function validate() {};
|
|
24
25
|
var cssAccessors = {};
|
|
25
26
|
var cssInject = {};
|
|
26
|
-
export { classname, clone, color, flat, func, hash, is, number, objects, shallowEqual, string, tree, detect, doc, element, normalizeWheel, position, ready, isJson, validate, cssAccessors, cssInject, accept };
|
|
27
|
+
export { classname, clone, color, flat, func, hash, is, number, objects, shallowEqual, string, tree, detect, doc, element, normalizeWheel, position, ready, isJson, validate, cssAccessors, cssInject, type, accept };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.3.0
|
|
3
|
+
"version": "3.3.0",
|
|
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.3.0
|
|
20
|
-
"@sheinx/hooks": "3.3.0
|
|
21
|
-
"@sheinx/shineout-style": "3.3.0
|
|
22
|
-
"@sheinx/theme": "3.3.0
|
|
19
|
+
"@sheinx/base": "3.3.0",
|
|
20
|
+
"@sheinx/hooks": "3.3.0",
|
|
21
|
+
"@sheinx/shineout-style": "3.3.0",
|
|
22
|
+
"@sheinx/theme": "3.3.0",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"immer": "^10.0.0",
|
|
25
25
|
"deep-eql": "^4.0.0"
|