@zydon/common 2.3.21 → 2.3.22

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.
@@ -1,9 +1,9 @@
1
- import { a } from '../../chunk-COWMZKQG.js';
1
+ import { a } from '../../chunk-YZ6ZATKM.js';
2
+ import '../../chunk-GUFT6XPG.js';
2
3
  import '../../chunk-GOC7PC2S.js';
3
4
  import '../../chunk-MCT77MRN.js';
4
5
  import '../../chunk-CFVUZ4S5.js';
5
6
  import '../../chunk-CFYNJQGN.js';
6
- import '../../chunk-GUFT6XPG.js';
7
7
  import { i } from '../../chunk-D27ND54J.js';
8
8
  import { a as a$1 } from '../../chunk-ZCG6MY64.js';
9
9
  import '../../chunk-WAKLVBQT.js';
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface DisplayModeProps {
4
+ children: React.ReactNode;
5
+ desktop?: boolean;
6
+ mobile?: boolean;
7
+ tablet?: boolean;
8
+ }
9
+
10
+ declare const DisplayMode: ({ children, desktop, mobile, tablet, }: DisplayModeProps) => react_jsx_runtime.JSX.Element;
11
+
12
+ export { DisplayMode as default };
@@ -0,0 +1,6 @@
1
+ import { styled } from '@mui/material/styles';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ var s=styled("div")(({theme:o})=>({[o.breakpoints.up("md")]:{"&.mobile, &.tablet":{display:"none"}},[o.breakpoints.between("sm","md")]:{"&.mobile, &.desktop":{display:"none"}},[o.breakpoints.down("sm")]:{"&.desktop, &.tablet":{display:"none"}}}));var i=({children:o,desktop:e,mobile:p,tablet:l})=>{let t=[e&&"desktop",p&&"mobile",l&&"tablet"].filter(Boolean).join(" ");return jsx(s,{className:t,children:o})},b=i;
5
+
6
+ export { b as default };
@@ -2,7 +2,7 @@ export { a as default } from '../../chunk-ZDRHHX7F.js';
2
2
  import '../../chunk-TWGGHTU5.js';
3
3
  import '../../chunk-G4DY6GIB.js';
4
4
  import '../../chunk-CMQCMCWI.js';
5
- import '../../chunk-U26IUEAG.js';
6
5
  import '../../chunk-E5MGOPPQ.js';
6
+ import '../../chunk-U26IUEAG.js';
7
7
  import '../../chunk-ZCG6MY64.js';
8
8
  import '../../chunk-WAKLVBQT.js';
@@ -1,7 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { SxProps, Theme } from '@mui/material/styles';
2
3
 
3
- declare const SimpleCard: ({ children }: {
4
+ interface SimpleCardProps {
4
5
  children: React.ReactNode;
5
- }) => react_jsx_runtime.JSX.Element;
6
+ sx?: SxProps<Theme>;
7
+ }
8
+
9
+ declare const SimpleCard: ({ children, sx }: SimpleCardProps) => react_jsx_runtime.JSX.Element;
6
10
 
7
11
  export { SimpleCard as default };
@@ -2,6 +2,6 @@ import d from '@mui/material/Stack';
2
2
  import { styled } from '@mui/material/styles';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
- var o=styled(d)(({theme:r})=>({border:`1px solid ${r.palette.grey[300]}`,borderRadius:16,gap:10,padding:24,backgroundColor:r.palette.background.paper}));var e=({children:r})=>jsx(o,{children:r}),n=e;
5
+ var o=styled(d)(({theme:r})=>({border:`1px solid ${r.palette.grey[300]}`,borderRadius:16,gap:10,padding:24,backgroundColor:r.palette.background.paper}));var t=({children:r,sx:p})=>jsx(o,{sx:p,children:r}),C=t;
6
6
 
7
- export { n as default };
7
+ export { C as default };
@@ -1,8 +1,8 @@
1
1
  import { a as a$1 } from '../../chunk-TWGGHTU5.js';
2
2
  import { a } from '../../chunk-G4DY6GIB.js';
3
3
  import { a as a$2 } from '../../chunk-CMQCMCWI.js';
4
- import '../../chunk-U26IUEAG.js';
5
4
  import { a as a$3 } from '../../chunk-E5MGOPPQ.js';
5
+ import '../../chunk-U26IUEAG.js';
6
6
  import { a as a$4 } from '../../chunk-ZCG6MY64.js';
7
7
  import '../../chunk-WAKLVBQT.js';
8
8
  import { useState } from 'react';
@@ -1,5 +1,5 @@
1
- import { a as a$1 } from '../../../chunk-2NMLQNWC.js';
2
1
  import { a as a$2 } from '../../../chunk-VTHBHXM2.js';
2
+ import { a as a$1 } from '../../../chunk-2NMLQNWC.js';
3
3
  import { a as a$3 } from '../../../chunk-7D2TUNNK.js';
4
4
  import '../../../chunk-ORLVNXTG.js';
5
5
  import '../../../chunk-7FYDQ7JS.js';
@@ -2,8 +2,8 @@ import { a } from '../../../chunk-ZDRHHX7F.js';
2
2
  import '../../../chunk-TWGGHTU5.js';
3
3
  import '../../../chunk-G4DY6GIB.js';
4
4
  import '../../../chunk-CMQCMCWI.js';
5
- import '../../../chunk-U26IUEAG.js';
6
5
  import '../../../chunk-E5MGOPPQ.js';
6
+ import '../../../chunk-U26IUEAG.js';
7
7
  import '../../../chunk-ZCG6MY64.js';
8
8
  import '../../../chunk-WAKLVBQT.js';
9
9
  import { useFormContext, Controller } from 'react-hook-form';
@@ -1,7 +1,7 @@
1
- export { a as default } from '../chunk-COWMZKQG.js';
1
+ export { a as default } from '../chunk-YZ6ZATKM.js';
2
+ import '../chunk-GUFT6XPG.js';
2
3
  import '../chunk-GOC7PC2S.js';
3
4
  import '../chunk-MCT77MRN.js';
4
5
  import '../chunk-CFVUZ4S5.js';
5
6
  import '../chunk-CFYNJQGN.js';
6
- import '../chunk-GUFT6XPG.js';
7
7
  import '../chunk-D27ND54J.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zydon/common",
3
- "version": "2.3.21",
3
+ "version": "2.3.22",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -1,7 +1,7 @@
1
+ import { a } from './chunk-GUFT6XPG.js';
1
2
  import { a as a$1, e } from './chunk-GOC7PC2S.js';
2
3
  import { a as a$3, b as b$1 } from './chunk-MCT77MRN.js';
3
4
  import { q, s, a as a$2 } from './chunk-CFYNJQGN.js';
4
- import { a } from './chunk-GUFT6XPG.js';
5
5
  import { c } from './chunk-D27ND54J.js';
6
6
  import A from '@mui/material/CssBaseline';
7
7
  import { Experimental_CssVarsProvider, experimental_extendTheme, lighten, darken } from '@mui/material/styles';