@verifiedinc-public/shared-ui-elements 6.2.5 → 6.2.7
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/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/ContentWithLoader-C3OLA-pA.mjs +185 -0
- package/dist/shared/{shadows-BRWl1BoB.mjs → shadows-DeJXK9-L.mjs} +1 -1
- package/dist/styles/index.mjs +1 -1
- package/package.json +15 -21
- package/dist/shared/ContentWithLoader-DvKy0tfT.mjs +0 -185
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{createTheme as o}from"@mui/material";import{x as t}from"./colors-CSvtCJK4.mjs";const e={htmlFontSize:16,fontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700,h1:{fontWeight:300,fontSize:"6rem",lineHeight:1.167},h2:{fontWeight:300,fontSize:"3.75rem",lineHeight:1.2},h3:{fontWeight:400,fontSize:"3rem",lineHeight:1.167},h4:{fontWeight:400,fontSize:"2.125rem",lineHeight:1.235},h5:{fontWeight:400,fontSize:"1.5rem",lineHeight:1.334},h6:{fontWeight:500,fontSize:"1.25rem",lineHeight:1.6},subtitle1:{fontWeight:400,fontSize:"1rem",lineHeight:1.75},subtitle2:{fontWeight:500,fontSize:"0.875rem",lineHeight:1.57},body1:{fontWeight:400,fontSize:"1rem",lineHeight:1.5},body2:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.43},button:{fontWeight:500,fontSize:"0.875rem",lineHeight:1.75,textTransform:"uppercase"},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},overline:{fontWeight:400,fontSize:"0.75rem",lineHeight:2.66,textTransform:"uppercase"},inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},r=({primaryFontFace:i,...n})=>o({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},typography:{fontFamily:i.style.fontFamily,...e},palette:{text:{disabled:t.textDisabled},primary:{main:t.green,light:t.lightGreen,dark:t.darkGreen,contrastText:t.white},secondary:{main:t.blue,light:t.lightBlue,dark:t.darkBlue,contrastText:t.white},error:{main:t.red,light:t.lightRed,dark:t.darkRed,contrastText:t.white},warning:{main:t.yellow,light:t.yellow,dark:t.darkYellow,contrastText:t.white},success:{main:t.green,light:t.green,dark:t.darkGreen,contrastText:t.white},info:{main:t.blue,light:t.lightBlue,dark:t.darkBlue,contrastText:t.infoContrast},neutral:{main:t.grey,light:t.lightGrey,dark:t.darkGrey},neutralContrast:{main:t.greyContrast,light:t.lightGreyContrast,dark:t.darkGreyContrast},warningContrast:{main:t.warningContrast},infoContrast:{main:t.infoContrast},dangerContrast:{main:t.dangerContrast}},components:{MuiAlert:{styleOverrides:{action:{overflowWrap:"normal",display:"flex",alignItems:"center",padding:"8px 0",marginRight:0,"& button, & a":{lineHeight:"0"}}}},MuiAlertTitle:{styleOverrides:{root:{...e.body2,fontSize:"1.1rem",fontWeight:700}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:34}}},MuiListItemText:{styleOverrides:{primary:{fontSize:"1rem",fontWeight:800}}},MuiFab:{styleOverrides:{circular:{width:42,height:42},sizeSmall:{width:40,height:40}}},MuiIconButton:{styleOverrides:{root:{"&.Mui-disabled":{svg:{opacity:.4}}}}},MuiButton:{styleOverrides:{root:{fontWeight:800,"&.Mui-focused,
|
1
|
+
"use strict";import{createTheme as o}from"@mui/material";import{x as t}from"./colors-CSvtCJK4.mjs";const e={htmlFontSize:16,fontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700,h1:{fontWeight:300,fontSize:"6rem",lineHeight:1.167},h2:{fontWeight:300,fontSize:"3.75rem",lineHeight:1.2},h3:{fontWeight:400,fontSize:"3rem",lineHeight:1.167},h4:{fontWeight:400,fontSize:"2.125rem",lineHeight:1.235},h5:{fontWeight:400,fontSize:"1.5rem",lineHeight:1.334},h6:{fontWeight:500,fontSize:"1.25rem",lineHeight:1.6},subtitle1:{fontWeight:400,fontSize:"1rem",lineHeight:1.75},subtitle2:{fontWeight:500,fontSize:"0.875rem",lineHeight:1.57},body1:{fontWeight:400,fontSize:"1rem",lineHeight:1.5},body2:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.43},button:{fontWeight:500,fontSize:"0.875rem",lineHeight:1.75,textTransform:"uppercase"},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},overline:{fontWeight:400,fontSize:"0.75rem",lineHeight:2.66,textTransform:"uppercase"},inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},r=({primaryFontFace:i,...n})=>o({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},typography:{fontFamily:i.style.fontFamily,...e},palette:{text:{disabled:t.textDisabled},primary:{main:t.green,light:t.lightGreen,dark:t.darkGreen,contrastText:t.white},secondary:{main:t.blue,light:t.lightBlue,dark:t.darkBlue,contrastText:t.white},error:{main:t.red,light:t.lightRed,dark:t.darkRed,contrastText:t.white},warning:{main:t.yellow,light:t.yellow,dark:t.darkYellow,contrastText:t.white},success:{main:t.green,light:t.green,dark:t.darkGreen,contrastText:t.white},info:{main:t.blue,light:t.lightBlue,dark:t.darkBlue,contrastText:t.infoContrast},neutral:{main:t.grey,light:t.lightGrey,dark:t.darkGrey},neutralContrast:{main:t.greyContrast,light:t.lightGreyContrast,dark:t.darkGreyContrast},warningContrast:{main:t.warningContrast},infoContrast:{main:t.infoContrast},dangerContrast:{main:t.dangerContrast}},components:{MuiAlert:{styleOverrides:{action:{overflowWrap:"normal",display:"flex",alignItems:"center",padding:"8px 0",marginRight:0,"& button, & a":{lineHeight:"0"}}}},MuiAlertTitle:{styleOverrides:{root:{...e.body2,fontSize:"1.1rem",fontWeight:700}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:34}}},MuiListItemText:{styleOverrides:{primary:{fontSize:"1rem",fontWeight:800}}},MuiFab:{styleOverrides:{circular:{width:42,height:42},sizeSmall:{width:40,height:40}}},MuiIconButton:{styleOverrides:{root:{"&.Mui-disabled":{svg:{opacity:.4}}}}},MuiButton:{styleOverrides:{root:{fontWeight:800,"&.MuiButton-contained.Mui-focused, &.MuiButton-contained:focus":{boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.25),0px 6px 7px 0px rgba(0,0,0,0.18),0px 1px 12px 0px rgba(0,0,0,0.16)"}}}},MuiDialog:{defaultProps:{maxWidth:"xs"}},MuiDialogTitle:{styleOverrides:{root:{fontSize:20,fontWeight:800,textAlign:"center"}}},MuiDialogContent:{styleOverrides:{root:{paddingTop:"8px!important",paddingBottom:8}}},MuiDialogActions:{styleOverrides:{root:{paddingLeft:24,paddingRight:24,paddingBottom:24,justifyContent:"space-between","& .MuiButton-root":{marginTop:0}}}},MuiRadio:{styleOverrides:{root:{"&.Mui-disabled":{color:`${t.grey} !important`}}}},MuiTableRow:{styleOverrides:{root:{"& th.MuiTableCell-root":{fontSize:12,fontWeight:700,letterSpacing:1},"& td.MuiTableCell-root":{fontSize:20,fontWeight:300}}}},MuiInputBase:{styleOverrides:{root:{"& .MuiInputBase-input":{fontSize:20,fontWeight:300},"& .MuiInputBase-input:not(.MuiInputBase-inputSizeSmall):not(.MuiAutocomplete-input):not(.MuiInputBase-inputMultiline)":{paddingTop:13.625,paddingBottom:13.625},"& .MuiInputBase-input.MuiAutocomplete-input:not(.MuiInputBase-inputSizeSmall)":{paddingTop:4.625,paddingBottom:4.625},"&.MuiInputBase-multiline.MuiInputBase-sizeSmall":{paddingRight:"14px!important"}}}},MuiInputLabel:{styleOverrides:{root:{'&[data-shrink="false"]':{fontSize:20,fontWeight:300,transform:"translate(14px, 14px) scale(1)","& span[data-asterisk]":{display:"none"},"&.MuiInputLabel-sizeSmall":{transform:"translate(14px, 9px) scale(1)"}}}}},MuiTextField:{defaultProps:{variant:"outlined",size:"medium",InputLabelProps:{shrink:!0}},styleOverrides:{root:{"& .MuiInputBase-multiline textarea":{minHeight:28.75}}}},MuiSelect:{defaultProps:{variant:"outlined",size:"medium",MenuProps:{disableScrollLock:!0}}},MuiAutocomplete:{defaultProps:{size:"medium"}}},...n}),a="0px -2px 4px -1px rgba(0,0,0,0.2), 0px -4px 5px 0px rgba(0,0,0,0.14), 0px -1px 10px 0px rgba(0,0,0,0.12)",l={bottomSheet:a};export{l as s,r as t};
|
package/dist/styles/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{b as a,a as s,x as r,m as e,e as t,d as l,q as o,v as n,h as d,j as i,g,p as h,u as k,n as y,c as w,l as m,o as C,s as G,f as b,i as f,r as p,t as u,k as c,w as x,y as B}from"../shared/colors-CSvtCJK4.mjs";import{s as R,t as Y}from"../shared/shadows-
|
1
|
+
"use strict";import{b as a,a as s,x as r,m as e,e as t,d as l,q as o,v as n,h as d,j as i,g,p as h,u as k,n as y,c as w,l as m,o as C,s as G,f as b,i as f,r as p,t as u,k as c,w as x,y as B}from"../shared/colors-CSvtCJK4.mjs";import{s as R,t as Y}from"../shared/shadows-DeJXK9-L.mjs";export{a as black,s as blue,r as colors,e as dangerContrast,t as darkBlue,l as darkGreen,o as darkGrey,n as darkGreyContrast,d as darkRed,i as darkYellow,g as green,h as grey,k as greyContrast,y as infoContrast,w as lightBlue,m as lightGreen,C as lightGrey,G as lightGreyContrast,b as lightRed,f as lightYellow,p as red,R as shadows,u as textDisabled,Y as theme,c as warningContrast,x as white,B as yellow};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@verifiedinc-public/shared-ui-elements",
|
3
|
-
"version": "6.2.
|
3
|
+
"version": "6.2.7",
|
4
4
|
"description": "A set of UI components, utilities that is shareable with the core apps.",
|
5
5
|
"private": false,
|
6
6
|
"keywords": [],
|
@@ -96,13 +96,6 @@
|
|
96
96
|
"eslint-plugin-vitest": "^0.0.53",
|
97
97
|
"jsdom": "^24.1.0",
|
98
98
|
"prettier": "^3.3.3",
|
99
|
-
"react": "^18",
|
100
|
-
"react-datepicker": "^7.6.0",
|
101
|
-
"react-dnd": "^16.0.1",
|
102
|
-
"react-dnd-html5-backend": "^16.0.1",
|
103
|
-
"react-dom": "^18",
|
104
|
-
"react-hook-form": "^7.52.1",
|
105
|
-
"react-imask": "^7.6.1",
|
106
99
|
"storybook": "^8.3.1",
|
107
100
|
"tsconfig-paths": "^4.2.0",
|
108
101
|
"tsx": "^3.12.4",
|
@@ -121,23 +114,24 @@
|
|
121
114
|
"@mona-health/react-input-mask": "^3.0.3",
|
122
115
|
"@mui/icons-material": "^5 || ^6",
|
123
116
|
"@mui/material": "^5 || ^6",
|
124
|
-
"@tanstack/react-query": "
|
117
|
+
"@tanstack/react-query": ">=5",
|
125
118
|
"decimal.js": ">=10.4.3",
|
126
119
|
"framer-motion": ">=11.15.0",
|
127
|
-
"immer": "
|
128
|
-
"libphonenumber-js": "
|
129
|
-
"notistack": "
|
130
|
-
"qrcode": "
|
131
|
-
"react": "
|
132
|
-
"react-
|
133
|
-
"react-dnd
|
134
|
-
"react-
|
135
|
-
"react-
|
136
|
-
"react-
|
137
|
-
"react-
|
120
|
+
"immer": ">=10",
|
121
|
+
"libphonenumber-js": ">=1.11.11",
|
122
|
+
"notistack": ">=3.0.1",
|
123
|
+
"qrcode": ">=1.5.4",
|
124
|
+
"react": ">=18",
|
125
|
+
"react-datepicker": ">=7.6.0",
|
126
|
+
"react-dnd": ">=16.0.1",
|
127
|
+
"react-dnd-html5-backend": ">=16.0.1",
|
128
|
+
"react-dom": ">=18",
|
129
|
+
"react-hook-form": ">=7.52.1",
|
130
|
+
"react-imask": ">=7.6.1",
|
131
|
+
"react-to-pdf": ">=2.0.0",
|
138
132
|
"recharts": ">=2.15.0",
|
139
133
|
"tinycolor2": ">=1.6.0",
|
140
|
-
"zod": "
|
134
|
+
"zod": ">=3.23.8"
|
141
135
|
},
|
142
136
|
"optionalDependencies": {
|
143
137
|
"@rollup/rollup-linux-x64-gnu": "4.9.5"
|