@verifiedinc-public/shared-ui-elements 1.1.1-beta.1 → 1.1.1-beta.2

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.
@@ -4,5 +4,5 @@ interface BackdropProps {
4
4
  sx?: SxProps;
5
5
  children?: React.ReactNode;
6
6
  }
7
- export declare const Backdrop: ({ open, sx, children, }: BackdropProps) => React.JSX.Element;
7
+ export declare function Backdrop({ open, sx, children, }: BackdropProps): React.JSX.Element;
8
8
  export {};
@@ -19799,28 +19799,25 @@ function oM({
19799
19799
  }
19800
19800
  ) });
19801
19801
  }
19802
- const iM = ({
19802
+ function iM({
19803
19803
  open: e,
19804
19804
  sx: n,
19805
19805
  children: o
19806
- }) => {
19806
+ }) {
19807
19807
  const i = Po();
19808
19808
  return /* @__PURE__ */ m.jsx(
19809
19809
  Xv,
19810
19810
  {
19811
19811
  sx: {
19812
19812
  color: i.palette.primary.main,
19813
- zIndex: i.zIndex.drawer + 1,
19814
- ...n
19813
+ zIndex: i.zIndex.drawer + 1
19815
19814
  },
19816
19815
  open: e,
19817
- children: /* @__PURE__ */ m.jsxs(Lt, { alignItems: "center", spacing: 3, children: [
19818
- /* @__PURE__ */ m.jsx(Jv, { color: "inherit" }),
19819
- o
19820
- ] })
19816
+ children: /* @__PURE__ */ m.jsx(Lt, { alignItems: "center", spacing: 3, children: /* @__PURE__ */ m.jsx(Jv, { color: "inherit" }) })
19821
19817
  }
19822
19818
  );
19823
- }, sA = "rgba(0,0,0,0.26)", xi = "#ffffff", aM = "#000000", Iu = "#0dbc3d", lA = "#5ef06d", J1 = "#008a01", Q1 = "#164fd6", e0 = "#657bff", t0 = "#0028a3", uA = "#eb0d28", cA = "#ff5952", fA = "#b00000", n0 = "#F5D328", sM = "#5ef06d", dA = "#bea008", lM = "#625410", pA = "#09225E", hA = "#F9F9FB", r0 = "#bdbdbd", gA = "#797979", mA = tc.grey[400], vA = tc.grey[500], bA = tc.grey[600], uM = ({ primaryFontFace: e }) => Qv({
19819
+ }
19820
+ const sA = "rgba(0,0,0,0.26)", xi = "#ffffff", aM = "#000000", Iu = "#0dbc3d", lA = "#5ef06d", J1 = "#008a01", Q1 = "#164fd6", e0 = "#657bff", t0 = "#0028a3", uA = "#eb0d28", cA = "#ff5952", fA = "#b00000", n0 = "#F5D328", sM = "#5ef06d", dA = "#bea008", lM = "#625410", pA = "#09225E", hA = "#F9F9FB", r0 = "#bdbdbd", gA = "#797979", mA = tc.grey[400], vA = tc.grey[500], bA = tc.grey[600], uM = ({ primaryFontFace: e }) => Qv({
19824
19821
  typography: {
19825
19822
  fontFamily: e.style.fontFamily
19826
19823
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verifiedinc-public/shared-ui-elements",
3
- "version": "1.1.1-beta.1",
3
+ "version": "1.1.1-beta.2",
4
4
  "description": "A set of UI components, utilities that is shareable with the core apps.",
5
5
  "private": false,
6
6
  "keywords": [],
@@ -12,11 +12,11 @@ interface BackdropProps {
12
12
  children?: React.ReactNode;
13
13
  }
14
14
 
15
- export const Backdrop = ({
15
+ export function Backdrop({
16
16
  open,
17
17
  sx,
18
18
  children,
19
- }: BackdropProps): React.JSX.Element => {
19
+ }: BackdropProps): React.JSX.Element {
20
20
  const theme = useTheme();
21
21
 
22
22
  return (
@@ -24,14 +24,12 @@ export const Backdrop = ({
24
24
  sx={{
25
25
  color: theme.palette.primary.main,
26
26
  zIndex: theme.zIndex.drawer + 1,
27
- ...sx,
28
27
  }}
29
28
  open={open}
30
29
  >
31
30
  <Stack alignItems='center' spacing={3}>
32
31
  <CircularProgress color='inherit' />
33
- {children}
34
32
  </Stack>
35
33
  </MUIBackdrop>
36
34
  );
37
- };
35
+ }