@xyo-network/react-drawer 4.4.10 → 5.0.0-rc.1
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/types/components/Drawer.d.ts +11 -0
- package/dist/types/components/Drawer.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +18 -16
- package/dist/browser/index.d.ts +0 -12
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { DrawerProps } from '@mui/material';
|
2
|
+
import type { PropsWithChildren } from 'react';
|
3
|
+
import React from 'react';
|
4
|
+
export interface DrawerExProps extends PropsWithChildren<DrawerProps> {
|
5
|
+
heightVariant?: 'full' | 'auto';
|
6
|
+
subTitle?: string;
|
7
|
+
title?: string;
|
8
|
+
widthVariant?: 'full' | 'partial';
|
9
|
+
}
|
10
|
+
export declare const DrawerEx: React.FC<DrawerExProps>;
|
11
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,aAAc,SAAQ,iBAAiB,CAAC,WAAW,CAAC;IACnE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqD5C,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xyo-network/react-drawer",
|
3
|
-
"version": "
|
3
|
+
"version": "5.0.0-rc.1",
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
5
5
|
"keywords": [
|
6
6
|
"xyo",
|
@@ -28,10 +28,10 @@
|
|
28
28
|
"exports": {
|
29
29
|
".": {
|
30
30
|
"browser": {
|
31
|
-
"types": "./dist/
|
31
|
+
"types": "./dist/types/index.d.ts",
|
32
32
|
"default": "./dist/browser/index.mjs"
|
33
33
|
},
|
34
|
-
"types": "./dist/
|
34
|
+
"types": "./dist/types/index.d.ts",
|
35
35
|
"default": "./dist/browser/index.mjs"
|
36
36
|
},
|
37
37
|
"./package.json": "./package.json"
|
@@ -43,27 +43,29 @@
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@xylabs/react-flexbox": "^
|
46
|
+
"@xylabs/react-flexbox": "^6.0.0-rc.2"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@mui/material": "^6.4.
|
50
|
-
"@mui/styles": "^6.4.
|
51
|
-
"@storybook/react": "^8.6.
|
52
|
-
"@
|
53
|
-
"@xylabs/
|
54
|
-
"react": "^
|
55
|
-
"react
|
56
|
-
"
|
57
|
-
"
|
49
|
+
"@mui/material": "^6.4.7",
|
50
|
+
"@mui/styles": "^6.4.7",
|
51
|
+
"@storybook/react": "^8.6.4",
|
52
|
+
"@types/react": "^19.0.10",
|
53
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.3",
|
54
|
+
"@xylabs/tsconfig-react": "^6.0.3",
|
55
|
+
"react": "^19.0.0",
|
56
|
+
"react-dom": "^19.0.0",
|
57
|
+
"storybook": "^8.6.4",
|
58
|
+
"typescript": "^5.8.2"
|
58
59
|
},
|
59
60
|
"peerDependencies": {
|
60
61
|
"@mui/material": "^6",
|
61
62
|
"@mui/styles": "^6",
|
62
|
-
"react": "^
|
63
|
-
"react-dom": "^
|
63
|
+
"react": "^19",
|
64
|
+
"react-dom": "^19"
|
64
65
|
},
|
65
66
|
"publishConfig": {
|
66
67
|
"access": "public"
|
67
68
|
},
|
68
|
-
"docs": "dist/docs.json"
|
69
|
+
"docs": "dist/docs.json",
|
70
|
+
"stableVersion": "4.4.11"
|
69
71
|
}
|
package/dist/browser/index.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { DrawerProps } from '@mui/material';
|
2
|
-
import React, { PropsWithChildren } from 'react';
|
3
|
-
|
4
|
-
interface DrawerExProps extends PropsWithChildren<DrawerProps> {
|
5
|
-
heightVariant?: 'full' | 'auto';
|
6
|
-
subTitle?: string;
|
7
|
-
title?: string;
|
8
|
-
widthVariant?: 'full' | 'partial';
|
9
|
-
}
|
10
|
-
declare const DrawerEx: React.FC<DrawerExProps>;
|
11
|
-
|
12
|
-
export { DrawerEx, type DrawerExProps };
|