@xyo-network/react-drawer 7.4.2 → 7.5.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.
@@ -2,9 +2,9 @@ import type { Meta } from '@storybook/react-vite';
2
2
  import type { DrawerExProps } from './Drawer.tsx';
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- declare const Default: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
6
- declare const WithOpen: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
7
- declare const WithFullScreen: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
8
- declare const WithTitles: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, DrawerExProps>;
5
+ declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, DrawerExProps>;
6
+ declare const WithOpen: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, DrawerExProps>;
7
+ declare const WithFullScreen: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, DrawerExProps>;
8
+ declare const WithTitles: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, DrawerExProps>;
9
9
  export { Default, WithFullScreen, WithOpen, WithTitles, };
10
10
  //# sourceMappingURL=Drawer.stories.d.ts.map
@@ -1 +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,mJAAoB,CAAA;AAGjC,QAAA,MAAM,QAAQ,mJAAoB,CAAA;AAGlC,QAAA,MAAM,cAAc,mJAAoB,CAAA;AAOxC,QAAA,MAAM,UAAU,mJAAoB,CAAA;AAOpC,OAAO,EACL,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,GAC9C,CAAA"}
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,4GAAoB,CAAA;AAGjC,QAAA,MAAM,QAAQ,4GAAoB,CAAA;AAGlC,QAAA,MAAM,cAAc,4GAAoB,CAAA;AAOxC,QAAA,MAAM,UAAU,4GAAoB,CAAA;AAOpC,OAAO,EACL,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,GAC9C,CAAA"}
@@ -1,22 +1,11 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
1
4
  // src/components/Drawer.tsx
2
- import {
3
- Drawer,
4
- Paper,
5
- styled,
6
- Typography
7
- } from "@mui/material";
5
+ import { Drawer, Paper, styled, Typography } from "@mui/material";
8
6
  import { FlexCol } from "@xylabs/react-flexbox";
9
- import { useMemo } from "react";
10
- import { jsx, jsxs } from "react/jsx-runtime";
11
- var DrawerEx = ({
12
- children,
13
- heightVariant = "full",
14
- subTitle,
15
- title,
16
- onClose,
17
- widthVariant = "partial",
18
- ...props
19
- }) => {
7
+ import React, { useMemo } from "react";
8
+ var DrawerEx = /* @__PURE__ */ __name(({ children, heightVariant = "full", subTitle, title, onClose, widthVariant = "partial", ...props }) => {
20
9
  const variantBasedProps = useMemo(() => {
21
10
  return {
22
11
  PaperProps: {
@@ -28,27 +17,38 @@ var DrawerEx = ({
28
17
  width: widthVariant === "partial" ? "auto" : "100%"
29
18
  }
30
19
  },
31
- onClick: (event) => onClose?.(event, "backdropClick")
20
+ onClick: /* @__PURE__ */ __name((event) => onClose?.(event, "backdropClick"), "onClick")
32
21
  };
33
- }, [heightVariant, onClose, widthVariant]);
34
- return /* @__PURE__ */ jsx(Drawer, { anchor: "top", onClose, ...variantBasedProps, ...props, children: /* @__PURE__ */ jsxs(
35
- StyledDrawerContentPaper,
36
- {
37
- widthVariant,
38
- elevation: 16,
39
- onClick: (event) => event.stopPropagation(),
40
- sx: { width: widthVariant === "full" ? "100%" : void 0 },
41
- children: [
42
- title || subTitle ? /* @__PURE__ */ jsxs(FlexCol, { alignItems: "start", gap: 1, children: [
43
- title ? /* @__PURE__ */ jsx(StyledEllipsisTypography, { variant: "h3", children: title }) : null,
44
- subTitle ? /* @__PURE__ */ jsx(Typography, { variant: "subtitle1", textTransform: "none", children: subTitle }) : null
45
- ] }) : null,
46
- children
47
- ]
22
+ }, [
23
+ heightVariant,
24
+ onClose,
25
+ widthVariant
26
+ ]);
27
+ return /* @__PURE__ */ React.createElement(Drawer, {
28
+ anchor: "top",
29
+ onClose,
30
+ ...variantBasedProps,
31
+ ...props
32
+ }, /* @__PURE__ */ React.createElement(StyledDrawerContentPaper, {
33
+ widthVariant,
34
+ elevation: 16,
35
+ onClick: /* @__PURE__ */ __name((event) => event.stopPropagation(), "onClick"),
36
+ sx: {
37
+ width: widthVariant === "full" ? "100%" : void 0
48
38
  }
49
- ) });
50
- };
51
- var StyledEllipsisTypography = styled(Typography, { name: "StyledEllipsisTypography" })(() => ({
39
+ }, title || subTitle ? /* @__PURE__ */ React.createElement(FlexCol, {
40
+ alignItems: "start",
41
+ gap: 1
42
+ }, title ? /* @__PURE__ */ React.createElement(StyledEllipsisTypography, {
43
+ variant: "h3"
44
+ }, title) : null, subTitle ? /* @__PURE__ */ React.createElement(Typography, {
45
+ variant: "subtitle1",
46
+ textTransform: "none"
47
+ }, subTitle) : null) : null, children));
48
+ }, "DrawerEx");
49
+ var StyledEllipsisTypography = styled(Typography, {
50
+ name: "StyledEllipsisTypography"
51
+ })(() => ({
52
52
  maxWidth: "100%",
53
53
  overflowX: "hidden",
54
54
  textOverflow: "ellipsis",
@@ -56,7 +56,9 @@ var StyledEllipsisTypography = styled(Typography, { name: "StyledEllipsisTypogra
56
56
  }));
57
57
  var StyledDrawerContentPaper = styled(Paper, {
58
58
  name: "StyledDrawerContentPaper",
59
- shouldForwardProp: (prop) => !["widthVariant"].includes(prop)
59
+ shouldForwardProp: /* @__PURE__ */ __name((prop) => ![
60
+ "widthVariant"
61
+ ].includes(prop), "shouldForwardProp")
60
62
  })(({ theme, widthVariant }) => ({
61
63
  alignItems: "stretch",
62
64
  borderRadius: `0 0 ${theme.shape.borderRadius}px ${theme.shape.borderRadius}px`,
@@ -67,8 +69,12 @@ var StyledDrawerContentPaper = styled(Paper, {
67
69
  maxWidth: "100%",
68
70
  overflowX: "hidden",
69
71
  padding: theme.spacing(3),
70
- [theme.breakpoints.up("lg")]: { width: widthVariant === "full" ? "100%" : "50%" },
71
- [theme.breakpoints.up("md")]: { width: widthVariant === "full" ? "100%" : "75%" }
72
+ [theme.breakpoints.up("lg")]: {
73
+ width: widthVariant === "full" ? "100%" : "50%"
74
+ },
75
+ [theme.breakpoints.up("md")]: {
76
+ width: widthVariant === "full" ? "100%" : "75%"
77
+ }
72
78
  }));
73
79
  export {
74
80
  DrawerEx
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/Drawer.tsx"],"sourcesContent":["import type { DrawerProps } from '@mui/material'\nimport {\n Drawer, Paper, styled, Typography,\n} from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport type { MouseEvent, PropsWithChildren } from 'react'\nimport React, { useMemo } from 'react'\n\nexport interface DrawerExProps extends PropsWithChildren<DrawerProps> {\n heightVariant?: 'full' | 'auto'\n subTitle?: string\n title?: string\n widthVariant?: 'full' | 'partial'\n}\n\nexport const DrawerEx: React.FC<DrawerExProps> = ({\n children,\n heightVariant = 'full',\n subTitle,\n title,\n onClose,\n widthVariant = 'partial',\n ...props\n}) => {\n const variantBasedProps = useMemo(() => {\n return {\n PaperProps: {\n sx: {\n alignItems: 'center',\n background: 'transparent',\n boxShadow: 'none',\n height: heightVariant === 'full' ? '100%' : 'auto',\n width: widthVariant === 'partial' ? 'auto' : '100%',\n },\n },\n onClick: (event: MouseEvent) => onClose?.(event, 'backdropClick'),\n }\n }, [heightVariant, onClose, widthVariant])\n\n return (\n <Drawer anchor=\"top\" onClose={onClose} {...variantBasedProps} {...props}>\n {/* Trap the event to prevent triggering the backdrop onClick */}\n <StyledDrawerContentPaper\n widthVariant={widthVariant}\n elevation={16}\n onClick={(event: MouseEvent) => event.stopPropagation()}\n sx={{ width: widthVariant === 'full' ? '100%' : undefined }}\n >\n {title || subTitle\n ? (\n <FlexCol alignItems=\"start\" gap={1}>\n {title\n ? <StyledEllipsisTypography variant=\"h3\">{title}</StyledEllipsisTypography>\n : null}\n {subTitle\n ? (\n <Typography variant=\"subtitle1\" textTransform=\"none\">\n {subTitle}\n </Typography>\n )\n : null}\n </FlexCol>\n )\n : null}\n {children}\n </StyledDrawerContentPaper>\n </Drawer>\n )\n}\n\nconst StyledEllipsisTypography = styled(Typography, { name: 'StyledEllipsisTypography' })(() => ({\n maxWidth: '100%',\n overflowX: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n}))\n\nconst StyledDrawerContentPaper = styled(Paper, {\n name: 'StyledDrawerContentPaper',\n shouldForwardProp: prop => !['widthVariant'].includes(prop as string),\n})<DrawerExProps>(({ theme, widthVariant }) => ({\n alignItems: 'stretch',\n borderRadius: `0 0 ${theme.shape.borderRadius}px ${theme.shape.borderRadius}px`,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(2),\n height: '100%',\n maxWidth: '100%',\n overflowX: 'hidden',\n padding: theme.spacing(3),\n [theme.breakpoints.up('lg')]: { width: widthVariant === 'full' ? '100%' : '50%' },\n [theme.breakpoints.up('md')]: { width: widthVariant === 'full' ? '100%' : '75%' },\n}))\n"],"mappings":";AACA;AAAA,EACE;AAAA,EAAQ;AAAA,EAAO;AAAA,EAAQ;AAAA,OAClB;AACP,SAAS,eAAe;AAExB,SAAgB,eAAe;AA4CjB,SAEM,KAFN;AAnCP,IAAM,WAAoC,CAAC;AAAA,EAChD;AAAA,EACA,gBAAgB;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,GAAG;AACL,MAAM;AACJ,QAAM,oBAAoB,QAAQ,MAAM;AACtC,WAAO;AAAA,MACL,YAAY;AAAA,QACV,IAAI;AAAA,UACF,YAAY;AAAA,UACZ,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,QAAQ,kBAAkB,SAAS,SAAS;AAAA,UAC5C,OAAO,iBAAiB,YAAY,SAAS;AAAA,QAC/C;AAAA,MACF;AAAA,MACA,SAAS,CAAC,UAAsB,UAAU,OAAO,eAAe;AAAA,IAClE;AAAA,EACF,GAAG,CAAC,eAAe,SAAS,YAAY,CAAC;AAEzC,SACE,oBAAC,UAAO,QAAO,OAAM,SAAmB,GAAG,mBAAoB,GAAG,OAEhE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,MACX,SAAS,CAAC,UAAsB,MAAM,gBAAgB;AAAA,MACtD,IAAI,EAAE,OAAO,iBAAiB,SAAS,SAAS,OAAU;AAAA,MAEzD;AAAA,iBAAS,WAEJ,qBAAC,WAAQ,YAAW,SAAQ,KAAK,GAC9B;AAAA,kBACG,oBAAC,4BAAyB,SAAQ,MAAM,iBAAM,IAC9C;AAAA,UACH,WAEK,oBAAC,cAAW,SAAQ,aAAY,eAAc,QAC3C,oBACH,IAEF;AAAA,WACN,IAEF;AAAA,QACH;AAAA;AAAA;AAAA,EACH,GACF;AAEJ;AAEA,IAAM,2BAA2B,OAAO,YAAY,EAAE,MAAM,2BAA2B,CAAC,EAAE,OAAO;AAAA,EAC/F,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAAA,EACd,YAAY;AACd,EAAE;AAEF,IAAM,2BAA2B,OAAO,OAAO;AAAA,EAC7C,MAAM;AAAA,EACN,mBAAmB,UAAQ,CAAC,CAAC,cAAc,EAAE,SAAS,IAAc;AACtE,CAAC,EAAiB,CAAC,EAAE,OAAO,aAAa,OAAO;AAAA,EAC9C,YAAY;AAAA,EACZ,cAAc,OAAO,MAAM,MAAM,YAAY,MAAM,MAAM,MAAM,YAAY;AAAA,EAC3E,SAAS;AAAA,EACT,eAAe;AAAA,EACf,KAAK,MAAM,QAAQ,CAAC;AAAA,EACpB,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS,MAAM,QAAQ,CAAC;AAAA,EACxB,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,OAAO,iBAAiB,SAAS,SAAS,MAAM;AAAA,EAChF,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,OAAO,iBAAiB,SAAS,SAAS,MAAM;AAClF,EAAE;","names":[]}
1
+ {"version":3,"sources":["../../src/components/Drawer.tsx"],"sourcesContent":["import type { DrawerProps } from '@mui/material'\nimport {\n Drawer, Paper, styled, Typography,\n} from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport type { MouseEvent, PropsWithChildren } from 'react'\nimport React, { useMemo } from 'react'\n\nexport interface DrawerExProps extends PropsWithChildren<DrawerProps> {\n heightVariant?: 'full' | 'auto'\n subTitle?: string\n title?: string\n widthVariant?: 'full' | 'partial'\n}\n\nexport const DrawerEx: React.FC<DrawerExProps> = ({\n children,\n heightVariant = 'full',\n subTitle,\n title,\n onClose,\n widthVariant = 'partial',\n ...props\n}) => {\n const variantBasedProps = useMemo(() => {\n return {\n PaperProps: {\n sx: {\n alignItems: 'center',\n background: 'transparent',\n boxShadow: 'none',\n height: heightVariant === 'full' ? '100%' : 'auto',\n width: widthVariant === 'partial' ? 'auto' : '100%',\n },\n },\n onClick: (event: MouseEvent) => onClose?.(event, 'backdropClick'),\n }\n }, [heightVariant, onClose, widthVariant])\n\n return (\n <Drawer anchor=\"top\" onClose={onClose} {...variantBasedProps} {...props}>\n {/* Trap the event to prevent triggering the backdrop onClick */}\n <StyledDrawerContentPaper\n widthVariant={widthVariant}\n elevation={16}\n onClick={(event: MouseEvent) => event.stopPropagation()}\n sx={{ width: widthVariant === 'full' ? '100%' : undefined }}\n >\n {title || subTitle\n ? (\n <FlexCol alignItems=\"start\" gap={1}>\n {title\n ? <StyledEllipsisTypography variant=\"h3\">{title}</StyledEllipsisTypography>\n : null}\n {subTitle\n ? (\n <Typography variant=\"subtitle1\" textTransform=\"none\">\n {subTitle}\n </Typography>\n )\n : null}\n </FlexCol>\n )\n : null}\n {children}\n </StyledDrawerContentPaper>\n </Drawer>\n )\n}\n\nconst StyledEllipsisTypography = styled(Typography, { name: 'StyledEllipsisTypography' })(() => ({\n maxWidth: '100%',\n overflowX: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n}))\n\nconst StyledDrawerContentPaper = styled(Paper, {\n name: 'StyledDrawerContentPaper',\n shouldForwardProp: prop => !['widthVariant'].includes(prop as string),\n})<DrawerExProps>(({ theme, widthVariant }) => ({\n alignItems: 'stretch',\n borderRadius: `0 0 ${theme.shape.borderRadius}px ${theme.shape.borderRadius}px`,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(2),\n height: '100%',\n maxWidth: '100%',\n overflowX: 'hidden',\n padding: theme.spacing(3),\n [theme.breakpoints.up('lg')]: { width: widthVariant === 'full' ? '100%' : '50%' },\n [theme.breakpoints.up('md')]: { width: widthVariant === 'full' ? '100%' : '75%' },\n}))\n"],"mappings":";;;;AACA,SACEA,QAAQC,OAAOC,QAAQC,kBAClB;AACP,SAASC,eAAe;AAExB,OAAOC,SAASC,eAAe;AASxB,IAAMC,WAAoC,wBAAC,EAChDC,UACAC,gBAAgB,QAChBC,UACAC,OACAC,SACAC,eAAe,WACf,GAAGC,MAAAA,MACJ;AACC,QAAMC,oBAAoBC,QAAQ,MAAA;AAChC,WAAO;MACLC,YAAY;QACVC,IAAI;UACFC,YAAY;UACZC,YAAY;UACZC,WAAW;UACXC,QAAQb,kBAAkB,SAAS,SAAS;UAC5Cc,OAAOV,iBAAiB,YAAY,SAAS;QAC/C;MACF;MACAW,SAAS,wBAACC,UAAsBb,UAAUa,OAAO,eAAA,GAAxC;IACX;EACF,GAAG;IAAChB;IAAeG;IAASC;GAAa;AAEzC,SACE,sBAAA,cAACa,QAAAA;IAAOC,QAAO;IAAMf;IAAmB,GAAGG;IAAoB,GAAGD;KAEhE,sBAAA,cAACc,0BAAAA;IACCf;IACAgB,WAAW;IACXL,SAAS,wBAACC,UAAsBA,MAAMK,gBAAe,GAA5C;IACTZ,IAAI;MAAEK,OAAOV,iBAAiB,SAAS,SAASkB;IAAU;KAEzDpB,SAASD,WAEJ,sBAAA,cAACsB,SAAAA;IAAQb,YAAW;IAAQc,KAAK;KAC9BtB,QACG,sBAAA,cAACuB,0BAAAA;IAAyBC,SAAQ;KAAMxB,KAAAA,IACxC,MACHD,WAEK,sBAAA,cAAC0B,YAAAA;IAAWD,SAAQ;IAAYE,eAAc;KAC3C3B,QAAAA,IAGL,IAAA,IAGR,MACHF,QAAAA,CAAAA;AAIT,GArDiD;AAuDjD,IAAM0B,2BAA2BI,OAAOF,YAAY;EAAEG,MAAM;AAA2B,CAAA,EAAG,OAAO;EAC/FC,UAAU;EACVC,WAAW;EACXC,cAAc;EACdC,YAAY;AACd,EAAA;AAEA,IAAMf,2BAA2BU,OAAOM,OAAO;EAC7CL,MAAM;EACNM,mBAAmBC,wBAAAA,SAAQ,CAAC;IAAC;IAAgBC,SAASD,IAAAA,GAAnCA;AACrB,CAAA,EAAkB,CAAC,EAAEE,OAAOnC,aAAY,OAAQ;EAC9CM,YAAY;EACZ8B,cAAc,OAAOD,MAAME,MAAMD,YAAY,MAAMD,MAAME,MAAMD,YAAY;EAC3EE,SAAS;EACTC,eAAe;EACfnB,KAAKe,MAAMK,QAAQ,CAAA;EACnB/B,QAAQ;EACRkB,UAAU;EACVC,WAAW;EACXa,SAASN,MAAMK,QAAQ,CAAA;EACvB,CAACL,MAAMO,YAAYC,GAAG,IAAA,CAAA,GAAQ;IAAEjC,OAAOV,iBAAiB,SAAS,SAAS;EAAM;EAChF,CAACmC,MAAMO,YAAYC,GAAG,IAAA,CAAA,GAAQ;IAAEjC,OAAOV,iBAAiB,SAAS,SAAS;EAAM;AAClF,EAAA;","names":["Drawer","Paper","styled","Typography","FlexCol","React","useMemo","DrawerEx","children","heightVariant","subTitle","title","onClose","widthVariant","props","variantBasedProps","useMemo","PaperProps","sx","alignItems","background","boxShadow","height","width","onClick","event","Drawer","anchor","StyledDrawerContentPaper","elevation","stopPropagation","undefined","FlexCol","gap","StyledEllipsisTypography","variant","Typography","textTransform","styled","name","maxWidth","overflowX","textOverflow","whiteSpace","Paper","shouldForwardProp","prop","includes","theme","borderRadius","shape","display","flexDirection","spacing","padding","breakpoints","up"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-drawer",
3
- "version": "7.4.2",
3
+ "version": "7.5.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -43,21 +43,21 @@
43
43
  "src"
44
44
  ],
45
45
  "dependencies": {
46
- "@xylabs/react-flexbox": "~7.1.8"
46
+ "@xylabs/react-flexbox": "~7.1.9"
47
47
  },
48
48
  "devDependencies": {
49
- "@mui/material": "~7.3.6",
50
- "@storybook/react-vite": "~10.1.4",
51
- "@types/react": "^19.2.7",
52
- "@xylabs/ts-scripts-yarn3": "~7.2.8",
53
- "@xylabs/tsconfig": "~7.2.8",
54
- "@xylabs/tsconfig-dom": "~7.2.8",
55
- "@xylabs/tsconfig-react": "~7.2.8",
56
- "react": "^19.2.1",
57
- "react-dom": "^19.2.1",
58
- "storybook": "~10.1.4",
49
+ "@mui/material": "~7.3.7",
50
+ "@storybook/react-vite": "~10.2.1",
51
+ "@types/react": "^19.2.10",
52
+ "@xylabs/ts-scripts-yarn3": "~7.3.2",
53
+ "@xylabs/tsconfig": "~7.3.2",
54
+ "@xylabs/tsconfig-dom": "~7.3.2",
55
+ "@xylabs/tsconfig-react": "~7.3.2",
56
+ "react": "^19.2.4",
57
+ "react-dom": "^19.2.4",
58
+ "storybook": "~10.2.1",
59
59
  "typescript": "^5.9.3",
60
- "vite": "~7.2.6"
60
+ "vite": "~7.3.1"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@mui/material": ">=6 <8",
@@ -68,4 +68,4 @@
68
68
  "access": "public"
69
69
  },
70
70
  "docs": "dist/docs.json"
71
- }
71
+ }