@xyo-network/react-drawer 4.4.3 → 4.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,12 @@
1
- export * from './components/index.ts';
2
- //# sourceMappingURL=index.d.ts.map
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-drawer",
3
- "version": "4.4.3",
3
+ "version": "4.4.5",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -48,12 +48,12 @@
48
48
  "devDependencies": {
49
49
  "@mui/material": "^6.4.4",
50
50
  "@mui/styles": "^6.4.4",
51
- "@storybook/react": "^8.5.4",
52
- "@xylabs/ts-scripts-yarn3": "^4.2.6",
53
- "@xylabs/tsconfig-react": "^4.2.6",
51
+ "@storybook/react": "^8.5.5",
52
+ "@xylabs/ts-scripts-yarn3": "^5.0.24",
53
+ "@xylabs/tsconfig-react": "^5.0.24",
54
54
  "react": "^18.3.1",
55
55
  "react-dom": "^18.3.1",
56
- "storybook": "^8.5.4",
56
+ "storybook": "^8.5.5",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "peerDependencies": {
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export * from './Drawer.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}