@xyo-network/react-drawer 5.3.15 → 6.1.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.
@@ -0,0 +1,10 @@
1
+ import type { Meta } from '@storybook/react-vite';
2
+ import type { DrawerExProps } from './Drawer.tsx';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
6
+ declare const WithOpen: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
7
+ declare const WithFullScreen: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
8
+ declare const WithTitles: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
9
+ export { Default, WithFullScreen, WithOpen, WithTitles, };
10
+ //# sourceMappingURL=Drawer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drawer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAG1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;wBAGA,IAAI;AAArD,wBAAqD;AAUrD,QAAA,MAAM,OAAO,iHAAoB,CAAA;AAGjC,QAAA,MAAM,QAAQ,iHAAoB,CAAA;AAGlC,QAAA,MAAM,cAAc,iHAAoB,CAAA;AAOxC,QAAA,MAAM,UAAU,iHAAoB,CAAA;AAOpC,OAAO,EACL,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,GAC9C,CAAA"}
@@ -0,0 +1,13 @@
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 };
13
+ export type { DrawerExProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-drawer",
3
- "version": "5.3.15",
3
+ "version": "6.1.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -28,27 +28,28 @@
28
28
  "exports": {
29
29
  ".": {
30
30
  "browser": {
31
- "types": "./dist/types/index.d.ts",
31
+ "types": "./dist/browser/index.d.ts",
32
32
  "default": "./dist/browser/index.mjs"
33
33
  },
34
- "types": "./dist/types/index.d.ts",
34
+ "types": "./dist/browser/index.d.ts",
35
35
  "default": "./dist/browser/index.mjs"
36
36
  },
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "module": "dist/browser/index.mjs",
40
- "types": "dist/types/index.d.ts",
40
+ "types": "dist/browser/index.d.ts",
41
41
  "dependencies": {
42
- "@xylabs/react-flexbox": "^6.3.7"
42
+ "@xylabs/react-flexbox": "^6.3.10"
43
43
  },
44
44
  "devDependencies": {
45
- "@mui/material": "^7.1.1",
45
+ "@mui/material": "^7.2.0",
46
+ "@storybook/react-vite": "^9.0.16",
46
47
  "@types/react": "^19.1.8",
47
- "@xylabs/ts-scripts-yarn3": "^6.5.8",
48
- "@xylabs/tsconfig-react": "^6.5.8",
48
+ "@xylabs/ts-scripts-yarn3": "next",
49
+ "@xylabs/tsconfig-react": "next",
49
50
  "react": "^19.1.0",
50
51
  "react-dom": "^19.1.0",
51
- "storybook": "^9.0.12",
52
+ "storybook": "^9.0.16",
52
53
  "typescript": "^5.8.3"
53
54
  },
54
55
  "peerDependencies": {
@@ -1,2 +0,0 @@
1
- export * from './components/index.ts';
2
- //# sourceMappingURL=index.d.ts.map
File without changes
File without changes
File without changes