@vnejs/uis.react.backdrop 0.1.7 → 0.1.9
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/Backdrop.types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
+
import type { CssInsertValueLength, CssInsertValueNumber, CssInsertValueString } from "@vnejs/uis.utils";
|
|
2
3
|
export declare const BackdropType: {
|
|
3
4
|
readonly TOP: "top";
|
|
4
5
|
readonly RIGHT: "right";
|
|
@@ -7,13 +8,13 @@ export declare const BackdropType: {
|
|
|
7
8
|
};
|
|
8
9
|
export type BackdropTypeValue = (typeof BackdropType)[keyof typeof BackdropType];
|
|
9
10
|
export type BackdropProps = {
|
|
10
|
-
zIndex?:
|
|
11
|
-
transition?:
|
|
11
|
+
zIndex?: CssInsertValueNumber;
|
|
12
|
+
transition?: CssInsertValueNumber;
|
|
12
13
|
type?: BackdropTypeValue | "";
|
|
13
|
-
size?:
|
|
14
|
-
opacity?:
|
|
15
|
-
color1?:
|
|
16
|
-
color2?:
|
|
14
|
+
size?: CssInsertValueLength;
|
|
15
|
+
opacity?: CssInsertValueNumber;
|
|
16
|
+
color1?: CssInsertValueString;
|
|
17
|
+
color2?: CssInsertValueString;
|
|
17
18
|
className?: string;
|
|
18
19
|
children?: ReactNode;
|
|
19
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Backdrop.types.d.ts","sourceRoot":"","sources":["../src/Backdrop.types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAEjF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Backdrop.types.d.ts","sourceRoot":"","sources":["../src/Backdrop.types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEzG,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAEjF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,IAAI,CAAC,EAAE,iBAAiB,GAAG,EAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Backdrop.types.js","sourceRoot":"","sources":["../src/Backdrop.types.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Backdrop.types.js","sourceRoot":"","sources":["../src/Backdrop.types.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/uis.react.backdrop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -15,9 +15,6 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@vnejs/uis.utils": "~0.1.0"
|
|
17
17
|
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@vnejs/uis.react": "~0.1.0"
|
|
20
|
-
},
|
|
21
18
|
"files": [
|
|
22
19
|
"dist",
|
|
23
20
|
"src",
|
package/src/Backdrop.stories.tsx
CHANGED
package/src/Backdrop.types.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
|
|
3
|
+
import type { CssInsertValueLength, CssInsertValueNumber, CssInsertValueString } from "@vnejs/uis.utils";
|
|
4
|
+
|
|
3
5
|
export const BackdropType = {
|
|
4
6
|
TOP: "top",
|
|
5
7
|
RIGHT: "right",
|
|
@@ -10,13 +12,13 @@ export const BackdropType = {
|
|
|
10
12
|
export type BackdropTypeValue = (typeof BackdropType)[keyof typeof BackdropType];
|
|
11
13
|
|
|
12
14
|
export type BackdropProps = {
|
|
13
|
-
zIndex?:
|
|
14
|
-
transition?:
|
|
15
|
+
zIndex?: CssInsertValueNumber;
|
|
16
|
+
transition?: CssInsertValueNumber;
|
|
15
17
|
type?: BackdropTypeValue | "";
|
|
16
|
-
size?:
|
|
17
|
-
opacity?:
|
|
18
|
-
color1?:
|
|
19
|
-
color2?:
|
|
18
|
+
size?: CssInsertValueLength;
|
|
19
|
+
opacity?: CssInsertValueNumber;
|
|
20
|
+
color1?: CssInsertValueString;
|
|
21
|
+
color2?: CssInsertValueString;
|
|
20
22
|
className?: string;
|
|
21
23
|
children?: ReactNode;
|
|
22
24
|
};
|