@zidsa/zidmui 2.5.18 → 2.5.20

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.
Files changed (28) hide show
  1. package/dist/react/cjs/components/app-alert.js +11 -3
  2. package/dist/react/cjs/components/app-alert.js.map +1 -1
  3. package/dist/react/cjs/components/app-empty-state.js +6 -6
  4. package/dist/react/cjs/components/app-empty-state.js.map +1 -1
  5. package/dist/react/cjs/theme/components/alert.js +168 -40
  6. package/dist/react/cjs/theme/components/alert.js.map +1 -1
  7. package/dist/react/cjs/theme/components/chip.js +12 -12
  8. package/dist/react/cjs/theme/components/chip.js.map +1 -1
  9. package/dist/react/cjs/theme/palette.dark.js +60 -22
  10. package/dist/react/cjs/theme/palette.dark.js.map +1 -1
  11. package/dist/react/cjs/theme/palette.js +69 -23
  12. package/dist/react/cjs/theme/palette.js.map +1 -1
  13. package/dist/react/es/components/app-alert.js +11 -3
  14. package/dist/react/es/components/app-alert.js.map +1 -1
  15. package/dist/react/es/components/app-empty-state.js +6 -6
  16. package/dist/react/es/components/app-empty-state.js.map +1 -1
  17. package/dist/react/es/theme/components/alert.js +168 -40
  18. package/dist/react/es/theme/components/alert.js.map +1 -1
  19. package/dist/react/es/theme/components/chip.js +12 -12
  20. package/dist/react/es/theme/components/chip.js.map +1 -1
  21. package/dist/react/es/theme/palette.dark.js +60 -22
  22. package/dist/react/es/theme/palette.dark.js.map +1 -1
  23. package/dist/react/es/theme/palette.js +69 -23
  24. package/dist/react/es/theme/palette.js.map +1 -1
  25. package/dist/react/types/components/app-alert.d.ts +2 -2
  26. package/dist/react/types/theme/types.d.ts +75 -22
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +2 -3
@@ -15,15 +15,23 @@ const AppAlert = ({
15
15
  onClose,
16
16
  actions,
17
17
  isLoading,
18
+ variant = "standard",
18
19
  ...props
19
20
  }) => {
20
21
  if (isLoading) {
21
- return /* @__PURE__ */ jsxRuntime.jsx(material.Alert, { ...props, onClose, variant: "standard", children: /* @__PURE__ */ jsxRuntime.jsx(stackColumn.StackColumn, { gap: 1.5, justifyContent: "center", width: "100%", alignItems: "center", children: /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 22 }) }) });
22
+ return /* @__PURE__ */ jsxRuntime.jsx(material.Alert, { ...props, onClose, variant, children: /* @__PURE__ */ jsxRuntime.jsx(stackColumn.StackColumn, { gap: 1.5, justifyContent: "center", width: "100%", alignItems: "center", children: /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 22 }) }) });
22
23
  }
23
- return /* @__PURE__ */ jsxRuntime.jsx(material.Alert, { ...props, onClose, variant: "standard", children: /* @__PURE__ */ jsxRuntime.jsxs(stackColumn.StackColumn, { gap: 1.5, children: [
24
+ return /* @__PURE__ */ jsxRuntime.jsx(material.Alert, { ...props, onClose, variant, children: /* @__PURE__ */ jsxRuntime.jsxs(stackColumn.StackColumn, { gap: 1.5, children: [
24
25
  /* @__PURE__ */ jsxRuntime.jsxs(stackColumn.StackColumn, { gap: 0.5, children: [
25
26
  title && /* @__PURE__ */ jsxRuntime.jsx(material.AlertTitle, { mb: 0, variant: "subtitle2", ...titleProps, children: title }),
26
- content && /* @__PURE__ */ jsxRuntime.jsx(appTypography.AppTypography, { variant: "body2", color: title ? "text.tertiary" : "text.primary", children: content }),
27
+ content && /* @__PURE__ */ jsxRuntime.jsx(
28
+ appTypography.AppTypography,
29
+ {
30
+ variant: "body2",
31
+ color: variant === "filled" ? void 0 : title ? "text.tertiary" : "text.primary",
32
+ children: content
33
+ }
34
+ ),
27
35
  link && link,
28
36
  children
29
37
  ] }),
@@ -1 +1 @@
1
- {"version":3,"file":"app-alert.js","sources":["../../../../src/components/app-alert.tsx"],"sourcesContent":["import { Alert, AlertProps, AlertTitle, AlertTitleProps, CircularProgress } from '@mui/material';\n\nimport { AppButton, AppButtonProps } from './app-button';\nimport { AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppAlertProps = {\n title?: string | React.ReactNode;\n titleProps?: AlertTitleProps;\n link?: React.ReactNode;\n content?: React.ReactNode;\n actions?: React.ReactNode;\n isLoading?: boolean;\n} & Omit<AlertProps, 'title' | 'variant' | 'content'>;\n\nexport const AppAlert: React.FC<AppAlertProps> = ({\n title,\n titleProps,\n link,\n content,\n children,\n onClose,\n actions,\n isLoading,\n ...props\n}) => {\n if (isLoading) {\n return (\n <Alert {...props} onClose={onClose} variant=\"standard\">\n <StackColumn gap={1.5} justifyContent=\"center\" width=\"100%\" alignItems=\"center\">\n <CircularProgress size={22} />\n </StackColumn>\n </Alert>\n );\n }\n\n return (\n <Alert {...props} onClose={onClose} variant=\"standard\">\n <StackColumn gap={1.5}>\n <StackColumn gap={0.5}>\n {title && (\n <AlertTitle mb={0} variant=\"subtitle2\" {...titleProps}>\n {title}\n </AlertTitle>\n )}\n {content && (\n <AppTypography variant=\"body2\" color={title ? 'text.tertiary' : 'text.primary'}>\n {content}\n </AppTypography>\n )}\n {link && link}\n {children}\n </StackColumn>\n\n {actions && <StackRow gap={1}>{actions}</StackRow>}\n </StackColumn>\n </Alert>\n );\n};\n\n//\n\nexport const AppAlertButton: React.FC<AppButtonProps> = ({ children, ...props }) => {\n return (\n <AppButton variant=\"outlined\" size=\"small\" {...props}>\n {children}\n </AppButton>\n );\n};\n"],"names":["jsx","Alert","StackColumn","CircularProgress","jsxs","AlertTitle","AppTypography","StackRow","AppButton"],"mappings":";;;;;;;;AAmBO,MAAM,WAAoC,CAAC;AAAA,EAChD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,MAAI,WAAW;AACb,WACEA,2BAAAA,IAACC,SAAAA,SAAO,GAAG,OAAO,SAAkB,SAAQ,YAC1C,UAAAD,2BAAAA,IAACE,yBAAA,EAAY,KAAK,KAAK,gBAAe,UAAS,OAAM,QAAO,YAAW,UACrE,yCAACC,SAAAA,kBAAA,EAAiB,MAAM,GAAA,CAAI,EAAA,CAC9B,EAAA,CACF;AAAA,EAEJ;AAEA,SACEH,2BAAAA,IAACC,SAAAA,OAAA,EAAO,GAAG,OAAO,SAAkB,SAAQ,YAC1C,UAAAG,2BAAAA,KAACF,YAAAA,aAAA,EAAY,KAAK,KAChB,UAAA;AAAA,IAAAE,2BAAAA,KAACF,YAAAA,aAAA,EAAY,KAAK,KACf,UAAA;AAAA,MAAA,SACCF,2BAAAA,IAACK,uBAAW,IAAI,GAAG,SAAQ,aAAa,GAAG,YACxC,UAAA,MAAA,CACH;AAAA,MAED,0CACEC,6BAAA,EAAc,SAAQ,SAAQ,OAAO,QAAQ,kBAAkB,gBAC7D,UAAA,QAAA,CACH;AAAA,MAED,QAAQ;AAAA,MACR;AAAA,IAAA,GACH;AAAA,IAEC,WAAWN,2BAAAA,IAACO,mBAAA,EAAS,KAAK,GAAI,UAAA,QAAA,CAAQ;AAAA,EAAA,EAAA,CACzC,EAAA,CACF;AAEJ;AAIO,MAAM,iBAA2C,CAAC,EAAE,UAAU,GAAG,YAAY;AAClF,SACEP,2BAAAA,IAACQ,uBAAU,SAAQ,YAAW,MAAK,SAAS,GAAG,OAC5C,UACH;AAEJ;;;"}
1
+ {"version":3,"file":"app-alert.js","sources":["../../../../src/components/app-alert.tsx"],"sourcesContent":["import { Alert, AlertProps, AlertTitle, AlertTitleProps, CircularProgress } from '@mui/material';\n\nimport { AppButton, AppButtonProps } from './app-button';\nimport { AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppAlertProps = Omit<AlertProps, 'title' | 'content'> & {\n title?: string | React.ReactNode;\n titleProps?: AlertTitleProps;\n link?: React.ReactNode;\n content?: React.ReactNode;\n actions?: React.ReactNode;\n isLoading?: boolean;\n};\n\nexport const AppAlert: React.FC<AppAlertProps> = ({\n title,\n titleProps,\n link,\n content,\n children,\n onClose,\n actions,\n isLoading,\n variant = 'standard',\n ...props\n}) => {\n if (isLoading) {\n return (\n <Alert {...props} onClose={onClose} variant={variant}>\n <StackColumn gap={1.5} justifyContent=\"center\" width=\"100%\" alignItems=\"center\">\n <CircularProgress size={22} />\n </StackColumn>\n </Alert>\n );\n }\n\n return (\n <Alert {...props} onClose={onClose} variant={variant}>\n <StackColumn gap={1.5}>\n <StackColumn gap={0.5}>\n {title && (\n <AlertTitle mb={0} variant=\"subtitle2\" {...titleProps}>\n {title}\n </AlertTitle>\n )}\n {content && (\n <AppTypography\n variant=\"body2\"\n color={variant === 'filled' ? undefined : title ? 'text.tertiary' : 'text.primary'}\n >\n {content}\n </AppTypography>\n )}\n {link && link}\n {children}\n </StackColumn>\n\n {actions && <StackRow gap={1}>{actions}</StackRow>}\n </StackColumn>\n </Alert>\n );\n};\n\n//\n\nexport const AppAlertButton: React.FC<AppButtonProps> = ({ children, ...props }) => {\n return (\n <AppButton variant=\"outlined\" size=\"small\" {...props}>\n {children}\n </AppButton>\n );\n};\n"],"names":["jsx","Alert","StackColumn","CircularProgress","jsxs","AlertTitle","AppTypography","StackRow","AppButton"],"mappings":";;;;;;;;AAmBO,MAAM,WAAoC,CAAC;AAAA,EAChD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV,GAAG;AACL,MAAM;AACJ,MAAI,WAAW;AACb,WACEA,+BAACC,SAAAA,SAAO,GAAG,OAAO,SAAkB,SAClC,UAAAD,2BAAAA,IAACE,YAAAA,eAAY,KAAK,KAAK,gBAAe,UAAS,OAAM,QAAO,YAAW,UACrE,yCAACC,SAAAA,kBAAA,EAAiB,MAAM,IAAI,EAAA,CAC9B,EAAA,CACF;AAAA,EAEJ;AAEA,SACEH,2BAAAA,IAACC,SAAAA,SAAO,GAAG,OAAO,SAAkB,SAClC,UAAAG,2BAAAA,KAACF,YAAAA,aAAA,EAAY,KAAK,KAChB,UAAA;AAAA,IAAAE,2BAAAA,KAACF,YAAAA,aAAA,EAAY,KAAK,KACf,UAAA;AAAA,MAAA,SACCF,2BAAAA,IAACK,uBAAW,IAAI,GAAG,SAAQ,aAAa,GAAG,YACxC,UAAA,MAAA,CACH;AAAA,MAED,WACCL,2BAAAA;AAAAA,QAACM,cAAAA;AAAAA,QAAA;AAAA,UACC,SAAQ;AAAA,UACR,OAAO,YAAY,WAAW,SAAY,QAAQ,kBAAkB;AAAA,UAEnE,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAGJ,QAAQ;AAAA,MACR;AAAA,IAAA,GACH;AAAA,IAEC,WAAWN,2BAAAA,IAACO,mBAAA,EAAS,KAAK,GAAI,UAAA,QAAA,CAAQ;AAAA,EAAA,EAAA,CACzC,EAAA,CACF;AAEJ;AAIO,MAAM,iBAA2C,CAAC,EAAE,UAAU,GAAG,YAAY;AAClF,SACEP,2BAAAA,IAACQ,uBAAU,SAAQ,YAAW,MAAK,SAAS,GAAG,OAC5C,UACH;AAEJ;;;"}
@@ -40,17 +40,17 @@ const AppEmptyState = ({
40
40
  iconBoxSize = 100;
41
41
  }
42
42
  if (variant === "error") {
43
- iconBoxVariantProps.bgcolor = theme.palette._components.alert.error.background;
44
- iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.error.border}`;
43
+ iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.error.background;
44
+ iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.error.border}`;
45
45
  iconColor = "error";
46
46
  }
47
47
  if (variant === "warning") {
48
- iconBoxVariantProps.bgcolor = theme.palette._components.alert.warning.background;
49
- iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.warning.border}`;
48
+ iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.warning.background;
49
+ iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.warning.border}`;
50
50
  }
51
51
  if (variant === "success") {
52
- iconBoxVariantProps.bgcolor = theme.palette._components.alert.success.background;
53
- iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.success.border}`;
52
+ iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.success.background;
53
+ iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.success.border}`;
54
54
  }
55
55
  return /* @__PURE__ */ jsxRuntime.jsxs(
56
56
  material.Box,
@@ -1 +1 @@
1
- {"version":3,"file":"app-empty-state.js","sources":["../../../../src/components/app-empty-state.tsx"],"sourcesContent":["import React, { FC } from 'react';\n\nimport { Box, type BoxProps, type SvgIconProps, useTheme } from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport interface AppEmptyStateProps {\n size?: 'standard' | 'small';\n variant?: 'default' | 'error' | 'warning' | 'success';\n\n title?: React.ReactNode;\n titleProps?: AppTypographyProps;\n\n icon?: React.ReactElement<SvgIconProps>;\n iconProps?: SvgIconProps;\n iconBoxProps?: BoxProps;\n customIconComponent?: React.ReactElement<SvgIconProps>;\n\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n\n subDescription?: React.ReactNode;\n subDescriptionProps?: AppTypographyProps;\n\n imageUrl?: string;\n imageProps?: BoxProps;\n\n children?: React.ReactNode;\n containerProps?: BoxProps;\n}\n\nexport const AppEmptyState: FC<AppEmptyStateProps> = ({\n size = 'small',\n variant = 'default',\n\n title,\n titleProps,\n description,\n descriptionProps,\n\n subDescription,\n subDescriptionProps,\n\n icon,\n iconProps,\n iconBoxProps,\n customIconComponent,\n\n imageUrl,\n imageProps,\n\n children,\n containerProps,\n}) => {\n const isBoxImage = icon?.props?.component === 'img';\n\n const theme = useTheme();\n\n let iconSize: SvgIconProps['fontSize'] = 'large';\n let titleSize: AppTypographyProps['variant'] = 'h4';\n let iconBoxSize = 120;\n let iconColor: SvgIconProps['color'] = 'action';\n\n const iconBoxVariantProps = {\n bgcolor: '_components.iconButton.primary.hover',\n border: `none`,\n };\n\n if (size === 'small') {\n iconSize = 'medium';\n titleSize = 'h6';\n iconBoxSize = 100;\n }\n\n if (variant === 'error') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.error.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.error.border}`;\n iconColor = 'error';\n }\n\n if (variant === 'warning') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.warning.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.warning.border}`;\n }\n\n if (variant === 'success') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.success.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.success.border}`;\n }\n\n return (\n <Box\n width=\"100%\"\n height=\"100%\"\n rowGap={size === 'small' ? 2 : 3}\n px={2}\n py={6}\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...containerProps}\n >\n {imageUrl ? (\n <Box\n component=\"img\"\n src={imageUrl}\n width={240}\n height={160}\n bgcolor=\"_components.emptyState.imageBackground\"\n {...imageProps}\n />\n ) : icon && !isBoxImage ? (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n alignItems=\"center\"\n borderRadius={99}\n width={iconBoxSize}\n height={iconBoxSize}\n maxWidth={iconBoxSize}\n maxHeight={iconBoxSize}\n {...iconBoxVariantProps}\n {...iconBoxProps}\n >\n {React.cloneElement(icon, { fontSize: iconSize, color: iconColor, ...iconProps })}\n </Box>\n ) : icon && isBoxImage ? (\n icon\n ) : (\n customIconComponent\n )}\n {(title || description || subDescription) && (\n <StackColumn gap={size === 'small' ? 0 : 0.5} maxWidth={600} textAlign=\"center\">\n {title && (\n <AppTypography variant={titleSize} {...titleProps}>\n {title}\n </AppTypography>\n )}\n {description && (\n <AppTypography variant=\"body2\" color=\"textTertiary\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n {subDescription && (\n <AppTypography mt={3} variant=\"body2\" color=\"textTertiary\" {...subDescriptionProps}>\n {subDescription}\n </AppTypography>\n )}\n </StackColumn>\n )}\n {children && <StackRow>{children}</StackRow>}\n </Box>\n );\n};\n"],"names":["useTheme","jsxs","Box","jsx","StackColumn","AppTypography","StackRow"],"mappings":";;;;;;;;AAmCO,MAAM,gBAAwC,CAAC;AAAA,EACpD,OAAO;AAAA,EACP,UAAU;AAAA,EAEV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,aAAa,MAAM,OAAO,cAAc;AAE9C,QAAM,QAAQA,SAAAA,SAAA;AAEd,MAAI,WAAqC;AACzC,MAAI,YAA2C;AAC/C,MAAI,cAAc;AAClB,MAAI,YAAmC;AAEvC,QAAM,sBAAsB;AAAA,IAC1B,SAAS;AAAA,IACT,QAAQ;AAAA,EAAA;AAGV,MAAI,SAAS,SAAS;AACpB,eAAW;AACX,gBAAY;AACZ,kBAAc;AAAA,EAChB;AAEA,MAAI,YAAY,SAAS;AACvB,wBAAoB,UAAU,MAAM,QAAQ,YAAY,MAAM,MAAM;AACpE,wBAAoB,SAAS,aAAa,MAAM,QAAQ,YAAY,MAAM,MAAM,MAAM;AACtF,gBAAY;AAAA,EACd;AAEA,MAAI,YAAY,WAAW;AACzB,wBAAoB,UAAU,MAAM,QAAQ,YAAY,MAAM,QAAQ;AACtE,wBAAoB,SAAS,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ,MAAM;AAAA,EAC1F;AAEA,MAAI,YAAY,WAAW;AACzB,wBAAoB,UAAU,MAAM,QAAQ,YAAY,MAAM,QAAQ;AACtE,wBAAoB,SAAS,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ,MAAM;AAAA,EAC1F;AAEA,SACEC,2BAAAA;AAAAA,IAACC,SAAAA;AAAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,M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AAA;AAAA,IAAA;AAAA,EAAA;AAGvC;;"}
1
+ {"version":3,"file":"app-empty-state.js","sources":["../../../../src/components/app-empty-state.tsx"],"sourcesContent":["import React, { FC } from 'react';\n\nimport { Box, type BoxProps, type SvgIconProps, useTheme } from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport interface AppEmptyStateProps {\n size?: 'standard' | 'small';\n variant?: 'default' | 'error' | 'warning' | 'success';\n\n title?: React.ReactNode;\n titleProps?: AppTypographyProps;\n\n icon?: React.ReactElement<SvgIconProps>;\n iconProps?: SvgIconProps;\n iconBoxProps?: BoxProps;\n customIconComponent?: React.ReactElement<SvgIconProps>;\n\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n\n subDescription?: React.ReactNode;\n subDescriptionProps?: AppTypographyProps;\n\n imageUrl?: string;\n imageProps?: BoxProps;\n\n children?: React.ReactNode;\n containerProps?: BoxProps;\n}\n\nexport const AppEmptyState: FC<AppEmptyStateProps> = ({\n size = 'small',\n variant = 'default',\n\n title,\n titleProps,\n description,\n descriptionProps,\n\n subDescription,\n subDescriptionProps,\n\n icon,\n iconProps,\n iconBoxProps,\n customIconComponent,\n\n imageUrl,\n imageProps,\n\n children,\n containerProps,\n}) => {\n const isBoxImage = icon?.props?.component === 'img';\n\n const theme = useTheme();\n\n let iconSize: SvgIconProps['fontSize'] = 'large';\n let titleSize: AppTypographyProps['variant'] = 'h4';\n let iconBoxSize = 120;\n let iconColor: SvgIconProps['color'] = 'action';\n\n const iconBoxVariantProps = {\n bgcolor: '_components.iconButton.primary.hover',\n border: `none`,\n };\n\n if (size === 'small') {\n iconSize = 'medium';\n titleSize = 'h6';\n iconBoxSize = 100;\n }\n\n if (variant === 'error') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.error.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.error.border}`;\n iconColor = 'error';\n }\n\n if (variant === 'warning') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.warning.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.warning.border}`;\n }\n\n if (variant === 'success') {\n iconBoxVariantProps.bgcolor = theme.palette._components.alert.standard.success.background;\n iconBoxVariantProps.border = `1px solid ${theme.palette._components.alert.standard.success.border}`;\n }\n\n return (\n <Box\n width=\"100%\"\n height=\"100%\"\n rowGap={size === 'small' ? 2 : 3}\n px={2}\n py={6}\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...containerProps}\n >\n {imageUrl ? (\n <Box\n component=\"img\"\n src={imageUrl}\n width={240}\n height={160}\n bgcolor=\"_components.emptyState.imageBackground\"\n {...imageProps}\n />\n ) : icon && !isBoxImage ? (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n alignItems=\"center\"\n borderRadius={99}\n width={iconBoxSize}\n height={iconBoxSize}\n maxWidth={iconBoxSize}\n maxHeight={iconBoxSize}\n {...iconBoxVariantProps}\n {...iconBoxProps}\n >\n {React.cloneElement(icon, { fontSize: iconSize, color: iconColor, ...iconProps })}\n </Box>\n ) : icon && isBoxImage ? (\n icon\n ) : (\n customIconComponent\n )}\n {(title || description || subDescription) && (\n <StackColumn gap={size === 'small' ? 0 : 0.5} maxWidth={600} textAlign=\"center\">\n {title && (\n <AppTypography variant={titleSize} {...titleProps}>\n {title}\n </AppTypography>\n )}\n {description && (\n <AppTypography variant=\"body2\" color=\"textTertiary\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n {subDescription && (\n <AppTypography mt={3} variant=\"body2\" color=\"textTertiary\" {...subDescriptionProps}>\n {subDescription}\n </AppTypography>\n )}\n </StackColumn>\n )}\n {children && <StackRow>{children}</StackRow>}\n </Box>\n );\n};\n"],"names":["useTheme","jsxs","Box","jsx","StackColumn","AppTypography","StackRow"],"mappings":";;;;;;;;AAmCO,MAAM,gBAAwC,CAAC;AAAA,EACpD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MuiAlert-colorError": {
14
- color: "inherit",
15
- borderColor: theme.palette._components.alert.error.border,
16
- background: theme.palette._components.alert.error.background,
17
- ".MuiAlert-icon": {
18
- color: theme.palette._components.alert.error.icon
19
- },
20
- ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
21
- fill: theme.palette._components.alert.error.color
22
- }
23
- },
24
13
  ".MuiTypography-root.MuiAlertTitle-root": {
25
14
  margin: 0
26
15
  },
@@ -43,39 +32,178 @@ const MuiAlert = {
43
32
  paddingLeft: theme.spacing(0.5)
44
33
  }
45
34
  },
46
- "&.MuiAlert-colorWarning": {
47
- color: "inherit",
48
- borderColor: theme.palette._components.alert.warning.border,
49
- background: theme.palette._components.alert.warning.background,
50
- ".MuiAlert-icon": {
51
- color: theme.palette._components.alert.warning.icon
35
+ variants: [
36
+ // Standard variants
37
+ {
38
+ props: { variant: "standard", severity: "error" },
39
+ style: {
40
+ color: "inherit",
41
+ borderColor: theme.palette._components.alert.standard.error.border,
42
+ background: theme.palette._components.alert.standard.error.background,
43
+ ".MuiAlert-icon": {
44
+ color: theme.palette._components.alert.standard.error.icon
45
+ },
46
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
47
+ fill: theme.palette._components.alert.standard.error.color
48
+ }
49
+ }
52
50
  },
53
- ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
54
- fill: theme.palette._components.alert.warning.color
55
- }
56
- },
57
- "&.MuiAlert-colorInfo": {
58
- color: "inherit",
59
- borderColor: theme.palette._components.alert.info.border,
60
- background: theme.palette._components.alert.info.background,
61
- ".MuiAlert-icon": {
62
- color: theme.palette._components.alert.info.icon
51
+ {
52
+ props: { variant: "standard", severity: "warning" },
53
+ style: {
54
+ color: "inherit",
55
+ borderColor: theme.palette._components.alert.standard.warning.border,
56
+ background: theme.palette._components.alert.standard.warning.background,
57
+ ".MuiAlert-icon": {
58
+ color: theme.palette._components.alert.standard.warning.icon
59
+ },
60
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
61
+ fill: theme.palette._components.alert.standard.warning.color
62
+ }
63
+ }
63
64
  },
64
- ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
65
- fill: theme.palette._components.alert.info.color
66
- }
67
- },
68
- "&.MuiAlert-colorSuccess": {
69
- color: "inherit",
70
- borderColor: theme.palette._components.alert.success.border,
71
- background: theme.palette._components.alert.success.background,
72
- ".MuiAlert-icon": {
73
- color: theme.palette._components.alert.success.icon
65
+ {
66
+ props: { variant: "standard", severity: "info" },
67
+ style: {
68
+ color: "inherit",
69
+ borderColor: theme.palette._components.alert.standard.info.border,
70
+ background: theme.palette._components.alert.standard.info.background,
71
+ ".MuiAlert-icon": {
72
+ color: theme.palette._components.alert.standard.info.icon
73
+ },
74
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
75
+ fill: theme.palette._components.alert.standard.info.color
76
+ }
77
+ }
78
+ },
79
+ {
80
+ props: { variant: "standard", severity: "success" },
81
+ style: {
82
+ color: "inherit",
83
+ borderColor: theme.palette._components.alert.standard.success.border,
84
+ background: theme.palette._components.alert.standard.success.background,
85
+ ".MuiAlert-icon": {
86
+ color: theme.palette._components.alert.standard.success.icon
87
+ },
88
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
89
+ fill: theme.palette._components.alert.standard.success.color
90
+ }
91
+ }
92
+ },
93
+ {
94
+ props: { variant: "standard", color: "primary" },
95
+ style: {
96
+ color: "inherit",
97
+ borderColor: theme.palette._components.alert.standard.primary.border,
98
+ background: theme.palette._components.alert.standard.primary.background,
99
+ ".MuiAlert-icon": {
100
+ color: theme.palette._components.alert.standard.primary.icon
101
+ },
102
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
103
+ fill: theme.palette._components.alert.standard.primary.color
104
+ }
105
+ }
106
+ },
107
+ {
108
+ props: { variant: "standard", color: "gray" },
109
+ style: {
110
+ color: "inherit",
111
+ borderColor: theme.palette._components.alert.standard.gray.border,
112
+ background: theme.palette._components.alert.standard.gray.background,
113
+ ".MuiAlert-icon": {
114
+ color: theme.palette._components.alert.standard.gray.icon
115
+ },
116
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
117
+ fill: theme.palette._components.alert.standard.gray.color
118
+ }
119
+ }
120
+ },
121
+ // Filled variants
122
+ {
123
+ props: { variant: "filled", severity: "error" },
124
+ style: {
125
+ borderColor: "transparent",
126
+ background: theme.palette._components.alert.filled.error.background,
127
+ color: theme.palette._components.alert.filled.error.color,
128
+ ".MuiAlert-icon": {
129
+ color: theme.palette._components.alert.filled.error.icon
130
+ },
131
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
132
+ fill: theme.palette._components.alert.filled.error.color
133
+ }
134
+ }
135
+ },
136
+ {
137
+ props: { variant: "filled", severity: "warning" },
138
+ style: {
139
+ borderColor: "transparent",
140
+ background: theme.palette._components.alert.filled.warning.background,
141
+ color: theme.palette._components.alert.filled.warning.color,
142
+ ".MuiAlert-icon": {
143
+ color: theme.palette._components.alert.filled.warning.icon
144
+ },
145
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
146
+ fill: theme.palette._components.alert.filled.warning.color
147
+ }
148
+ }
149
+ },
150
+ {
151
+ props: { variant: "filled", severity: "info" },
152
+ style: {
153
+ borderColor: "transparent",
154
+ background: theme.palette._components.alert.filled.info.background,
155
+ color: theme.palette._components.alert.filled.info.color,
156
+ ".MuiAlert-icon": {
157
+ color: theme.palette._components.alert.filled.info.icon
158
+ },
159
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
160
+ fill: theme.palette._components.alert.filled.info.color
161
+ }
162
+ }
163
+ },
164
+ {
165
+ props: { variant: "filled", severity: "success" },
166
+ style: {
167
+ borderColor: "transparent",
168
+ background: theme.palette._components.alert.filled.success.background,
169
+ color: theme.palette._components.alert.filled.success.color,
170
+ ".MuiAlert-icon": {
171
+ color: theme.palette._components.alert.filled.success.icon
172
+ },
173
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
174
+ fill: theme.palette._components.alert.filled.success.color
175
+ }
176
+ }
177
+ },
178
+ {
179
+ props: { variant: "filled", color: "primary" },
180
+ style: {
181
+ borderColor: "transparent",
182
+ background: theme.palette._components.alert.filled.primary.background,
183
+ color: theme.palette._components.alert.filled.primary.color,
184
+ ".MuiAlert-icon": {
185
+ color: theme.palette._components.alert.filled.primary.icon
186
+ },
187
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
188
+ fill: theme.palette._components.alert.filled.primary.color
189
+ }
190
+ }
74
191
  },
75
- ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
76
- fill: theme.palette._components.alert.success.color
192
+ {
193
+ props: { variant: "filled", color: "gray" },
194
+ style: {
195
+ borderColor: "transparent",
196
+ background: theme.palette._components.alert.filled.gray.background,
197
+ color: theme.palette._components.alert.filled.gray.color,
198
+ ".MuiAlert-icon": {
199
+ color: theme.palette._components.alert.filled.gray.icon
200
+ },
201
+ ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
202
+ fill: theme.palette._components.alert.filled.gray.color
203
+ }
204
+ }
77
205
  }
78
- }
206
+ ]
79
207
  })
80
208
  }
81
209
  };
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '&.MuiAlert-colorError': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.error.border,\n background: theme.palette._components.alert.error.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.error.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.error.color,\n },\n },\n '.MuiTypography-root.MuiAlertTitle-root': {\n margin: 0,\n },\n '.MuiAlert-icon': {\n flex: 0,\n paddingBlock: theme.spacing(0.75),\n alignItems: 'flex-start',\n },\n '.MuiAlert-message': {\n flex: 1,\n paddingBlock: theme.spacing(0.75),\n display: 'flex',\n alignItems: 'center',\n },\n '.MuiAlert-action': {\n paddingTop: theme.spacing(0.25),\n marginRight: 0,\n alignItems: 'flex-start',\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(0.5),\n },\n },\n '&.MuiAlert-colorWarning': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.warning.border,\n background: theme.palette._components.alert.warning.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.warning.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.warning.color,\n },\n },\n '&.MuiAlert-colorInfo': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.info.border,\n background: theme.palette._components.alert.info.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.info.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.info.color,\n },\n },\n '&.MuiAlert-colorSuccess': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.success.border,\n background: theme.palette._components.alert.success.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.success.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.success.color,\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAOO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,aAAa;AAAA,MACb,aAAa;AAAA,MACb,cAAc;AAAA,MACd,UAAU;AAAA,MACV,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,QAC9B,eAAe,MAAM,QAAQ,CAAC;AAAA,MAAA;AAAA,MAEhC,y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,MAAM,KAAK;AAAA,QACjD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QAAA;AAAA,QAE9C,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QAAA;AAAA,MAC7C;AAAA,MAEF,2BAA2B;AAAA,QACzB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACrD,YAAY,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACpD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,QAEjD,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChD;AAAA,IACF;AAAA,EACF;AAEJ;;"}
1
+ {"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '.MuiTypography-root.MuiAlertTitle-root': {\n margin: 0,\n },\n '.MuiAlert-icon': {\n flex: 0,\n paddingBlock: theme.spacing(0.75),\n alignItems: 'flex-start',\n },\n '.MuiAlert-message': {\n flex: 1,\n paddingBlock: theme.spacing(0.75),\n display: 'flex',\n alignItems: 'center',\n },\n '.MuiAlert-action': {\n paddingTop: theme.spacing(0.25),\n marginRight: 0,\n alignItems: 'flex-start',\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(0.5),\n },\n },\n variants: [\n // Standard variants\n {\n props: { variant: 'standard', severity: 'error' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.error.border,\n background: theme.palette._components.alert.standard.error.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.error.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.error.color,\n },\n },\n },\n {\n props: { variant: 'standard', severity: 'warning' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.warning.border,\n background: theme.palette._components.alert.standard.warning.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.warning.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.warning.color,\n },\n },\n },\n {\n props: { variant: 'standard', severity: 'info' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.info.border,\n background: theme.palette._components.alert.standard.info.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.info.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.info.color,\n },\n },\n },\n {\n props: { variant: 'standard', severity: 'success' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.success.border,\n background: theme.palette._components.alert.standard.success.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.success.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.success.color,\n },\n },\n },\n {\n props: { variant: 'standard', color: 'primary' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.primary.border,\n background: theme.palette._components.alert.standard.primary.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.primary.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.primary.color,\n },\n },\n },\n {\n props: { variant: 'standard', color: 'gray' },\n style: {\n color: 'inherit',\n borderColor: theme.palette._components.alert.standard.gray.border,\n background: theme.palette._components.alert.standard.gray.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.standard.gray.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.standard.gray.color,\n },\n },\n },\n // Filled variants\n {\n props: { variant: 'filled', severity: 'error' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.error.background,\n color: theme.palette._components.alert.filled.error.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.error.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.error.color,\n },\n },\n },\n {\n props: { variant: 'filled', severity: 'warning' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.warning.background,\n color: theme.palette._components.alert.filled.warning.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.warning.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.warning.color,\n },\n },\n },\n {\n props: { variant: 'filled', severity: 'info' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.info.background,\n color: theme.palette._components.alert.filled.info.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.info.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.info.color,\n },\n },\n },\n {\n props: { variant: 'filled', severity: 'success' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.success.background,\n color: theme.palette._components.alert.filled.success.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.success.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.success.color,\n },\n },\n },\n {\n props: { variant: 'filled', color: 'primary' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.primary.background,\n color: theme.palette._components.alert.filled.primary.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.primary.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.primary.color,\n },\n },\n },\n {\n props: { variant: 'filled', color: 'gray' },\n style: {\n borderColor: 'transparent',\n background: theme.palette._components.alert.filled.gray.background,\n color: theme.palette._components.alert.filled.gray.color,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.filled.gray.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.filled.gray.color,\n },\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAOO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,aAAa;AAAA,MACb,aAAa;AAAA,MACb,cAAc;AAAA,MACd,UAAU;AAAA,MACV,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,QAC9B,eAAe,MAAM,QAAQ,CAAC;AAAA,MAAA;AAAA,MAEhC,0CAA0C;AAAA,QACxC,QAAQ;AAAA,MAAA;AAAA,MAEV,kBAAkB;AAAA,QAChB,MAAM;AAAA,QACN,cAAc,MAAM,QAAQ,IAAI;AAAA,QAChC,YAAY;AAAA,MAAA;AAAA,MAEd,qBAAqB;AAAA,QACnB,MAAM;AAAA,QACN,cAAc,MAAM,QAAQ,IAAI;AAAA,QAChC,SAAS;AAAA,QACT,YAAY;AAAA,MAAA;AAAA,MAEd,oBAAoB;AAAA,QAClB,YAAY,MAAM,QAAQ,IAAI;AAAA,QAC9B,aAAa;AAAA,QACb,YAAY;AAAA,QACZ,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,UAC9B,aAAa,MAAM,QAAQ,GAAG;AAAA,QAAA;AAAA,MAChC;AAAA,MAEF,UAAU;AAAA;AAAA,QAER;AAAA,UACE,OAAO,EAAE,SAAS,YAAY,UAAU,QAAA;AAAA,UACxC,OAAO;AAAA,YACL,OAAO;AAAA,YACP,aAAa,MAAM,QAAQ,YA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;AAAA,YAC3D,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YACtD,kBAAkB;AAAA,cAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YAAA;AAAA,YAExD,8CAA8C;AAAA,cAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YAAA;AAAA,UACvD;AAAA,QACF;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,SAAS,UAAU,OAAO,UAAA;AAAA,UACnC,OAAO;AAAA,YACL,aAAa;AAAA,YACb,YAAY,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YAC3D,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YACtD,kBAAkB;AAAA,cAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YAAA;AAAA,YAExD,8CAA8C;AAAA,cAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,OAAO,QAAQ;AAAA,YAAA;AAAA,UACvD;AAAA,QACF;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,SAAS,UAAU,OAAO,OAAA;AAAA,UACnC,OAAO;AAAA,YACL,aAAa;AAAA,YACb,YAAY,MAAM,QAAQ,YAAY,MAAM,OAAO,KAAK;AAAA,YACxD,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,KAAK;AAAA,YACnD,kBAAkB;AAAA,cAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,OAAO,KAAK;AAAA,YAAA;AAAA,YAErD,8CAA8C;AAAA,cAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,OAAO,KAAK;AAAA,YAAA;AAAA,UACpD;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
@@ -76,8 +76,8 @@ const MuiChip = {
76
76
  props: { color: "info", variant: "outlined" },
77
77
  style: {
78
78
  backgroundColor: "transparent",
79
- color: theme.palette._components.status.info.color,
80
- borderColor: theme.palette._components.status.info.color
79
+ color: theme.palette._components.status.info.outlined,
80
+ borderColor: theme.palette._components.status.info.outlined
81
81
  }
82
82
  },
83
83
  {
@@ -106,8 +106,8 @@ const MuiChip = {
106
106
  props: { color: "disabled", variant: "outlined" },
107
107
  style: {
108
108
  backgroundColor: "transparent",
109
- color: theme.palette._components.status.disabled.color,
110
- borderColor: theme.palette._components.status.disabled.color
109
+ color: theme.palette._components.status.disabled.outlined,
110
+ borderColor: theme.palette._components.status.disabled.outlined
111
111
  }
112
112
  },
113
113
  {
@@ -121,8 +121,8 @@ const MuiChip = {
121
121
  props: { color: "default", variant: "outlined" },
122
122
  style: {
123
123
  backgroundColor: "transparent",
124
- color: theme.palette._components.status.neutral.color,
125
- borderColor: theme.palette._components.status.neutral.color
124
+ color: theme.palette._components.status.neutral.outlined,
125
+ borderColor: theme.palette._components.status.neutral.outlined
126
126
  }
127
127
  },
128
128
  {
@@ -136,8 +136,8 @@ const MuiChip = {
136
136
  props: { color: "neutral", variant: "outlined" },
137
137
  style: {
138
138
  backgroundColor: "transparent",
139
- color: theme.palette._components.status.neutral.color,
140
- borderColor: theme.palette._components.status.neutral.color
139
+ color: theme.palette._components.status.neutral.outlined,
140
+ borderColor: theme.palette._components.status.neutral.outlined
141
141
  }
142
142
  },
143
143
  {
@@ -151,8 +151,8 @@ const MuiChip = {
151
151
  props: { color: "orange", variant: "outlined" },
152
152
  style: {
153
153
  backgroundColor: "transparent",
154
- color: theme.palette._components.status.orange.color,
155
- borderColor: theme.palette._components.status.orange.color
154
+ color: theme.palette._components.status.orange.outlined,
155
+ borderColor: theme.palette._components.status.orange.outlined
156
156
  }
157
157
  },
158
158
  {
@@ -166,8 +166,8 @@ const MuiChip = {
166
166
  props: { color: "blue", variant: "outlined" },
167
167
  style: {
168
168
  backgroundColor: "transparent",
169
- color: theme.palette._components.status.blue.color,
170
- borderColor: theme.palette._components.status.blue.color
169
+ color: theme.palette._components.status.blue.outlined,
170
+ borderColor: theme.palette._components.status.blue.outlined
171
171
  }
172
172
  }
173
173
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"chip.js","sources":["../../../../../src/theme/components/chip.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiChip: Components<Theme & CssVarsTheme>['MuiChip'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n minWidth: theme.spacing(7.5),\n variants: [\n {\n props: { size: 'small' },\n style: {\n fontSize: '0.75rem',\n lineHeight: '1.125rem',\n },\n },\n {\n props: { size: 'medium' },\n style: {\n fontSize: '0.75rem',\n lineHeight: '1.125rem',\n },\n },\n // Status colors\n {\n props: { color: 'success' },\n style: {\n backgroundColor: theme.palette._components.status.success.background,\n color: theme.palette._components.status.success.color,\n },\n },\n {\n props: { color: 'success', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.success.outlined,\n borderColor: theme.palette._components.status.success.outlined,\n },\n },\n {\n props: { color: 'error' },\n style: {\n backgroundColor: theme.palette._components.status.error.background,\n color: theme.palette._components.status.error.color,\n },\n },\n {\n props: { color: 'error', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.error.outlined,\n borderColor: theme.palette._components.status.error.outlined,\n },\n },\n {\n props: { color: 'warning' },\n style: {\n backgroundColor: theme.palette._components.status.warning.background,\n color: theme.palette._components.status.warning.color,\n },\n },\n {\n props: { color: 'warning', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.warning.outlined,\n borderColor: theme.palette._components.status.warning.outlined,\n },\n },\n {\n props: { color: 'info' },\n style: {\n backgroundColor: theme.palette._components.status.info.background,\n color: theme.palette._components.status.info.color,\n },\n },\n {\n props: { color: 'info', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.info.color,\n borderColor: theme.palette._components.status.info.color,\n },\n },\n {\n props: { color: 'primary' },\n style: {\n backgroundColor: theme.palette._components.status.primary.background,\n color: theme.palette._components.status.primary.color,\n },\n },\n {\n props: { color: 'primary', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.primary.outlined,\n borderColor: theme.palette._components.status.primary.outlined,\n },\n },\n {\n props: { color: 'disabled' },\n style: {\n backgroundColor: theme.palette._components.status.disabled.background,\n color: theme.palette._components.status.disabled.color,\n },\n },\n {\n props: { color: 'disabled', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.disabled.color,\n borderColor: theme.palette._components.status.disabled.color,\n },\n },\n {\n props: { color: 'default' },\n style: {\n backgroundColor: theme.palette._components.status.neutral.background,\n color: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'default', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.neutral.color,\n borderColor: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'neutral' },\n style: {\n backgroundColor: theme.palette._components.status.neutral.background,\n color: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'neutral', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.neutral.color,\n borderColor: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'orange' },\n style: {\n backgroundColor: theme.palette._components.status.orange.background,\n color: theme.palette._components.status.orange.color,\n },\n },\n {\n props: { color: 'orange', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.orange.color,\n borderColor: theme.palette._components.status.orange.color,\n },\n },\n {\n props: { color: 'blue' },\n style: {\n backgroundColor: theme.palette._components.status.blue.background,\n color: theme.palette._components.status.blue.color,\n },\n },\n {\n props: { color: 'blue', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.blue.color,\n borderColor: theme.palette._components.status.blue.color,\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,UAAuD;AAAA,EAClE,gBAAgB;AAAA,IACd,MAAM,C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AAiB,MAAM,QAAQ,YAAY,OAAO,OAAO;AAAA,YACzD,OAAO,MAAM,QAAQ,YAAY,OAAO,OAAO;AAAA,UAAA;AAAA,QACjD;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,UAAU,SAAS,WAAA;AAAA,UACnC,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,OAAO,OAAO;AAAA,YAC/C,aAAa,MAAM,QAAQ,YAAY,OAAO,OAAO;AAAA,UAAA;AAAA,QACvD;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,OAAA;AAAA,UAChB,OAAO;AAAA,YACL,iBAAiB,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,YACvD,OAAO,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,UAAA;AAAA,QAC/C;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,QAAQ,SAAS,WAAA;AAAA,UACjC,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,YAC7C,aAAa,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,UAAA;AAAA,QACrD;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
1
+ {"version":3,"file":"chip.js","sources":["../../../../../src/theme/components/chip.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiChip: Components<Theme & CssVarsTheme>['MuiChip'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n minWidth: theme.spacing(7.5),\n variants: [\n {\n props: { size: 'small' },\n style: {\n fontSize: '0.75rem',\n lineHeight: '1.125rem',\n },\n },\n {\n props: { size: 'medium' },\n style: {\n fontSize: '0.75rem',\n lineHeight: '1.125rem',\n },\n },\n // Status colors\n {\n props: { color: 'success' },\n style: {\n backgroundColor: theme.palette._components.status.success.background,\n color: theme.palette._components.status.success.color,\n },\n },\n {\n props: { color: 'success', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.success.outlined,\n borderColor: theme.palette._components.status.success.outlined,\n },\n },\n {\n props: { color: 'error' },\n style: {\n backgroundColor: theme.palette._components.status.error.background,\n color: theme.palette._components.status.error.color,\n },\n },\n {\n props: { color: 'error', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.error.outlined,\n borderColor: theme.palette._components.status.error.outlined,\n },\n },\n {\n props: { color: 'warning' },\n style: {\n backgroundColor: theme.palette._components.status.warning.background,\n color: theme.palette._components.status.warning.color,\n },\n },\n {\n props: { color: 'warning', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.warning.outlined,\n borderColor: theme.palette._components.status.warning.outlined,\n },\n },\n {\n props: { color: 'info' },\n style: {\n backgroundColor: theme.palette._components.status.info.background,\n color: theme.palette._components.status.info.color,\n },\n },\n {\n props: { color: 'info', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.info.outlined,\n borderColor: theme.palette._components.status.info.outlined,\n },\n },\n {\n props: { color: 'primary' },\n style: {\n backgroundColor: theme.palette._components.status.primary.background,\n color: theme.palette._components.status.primary.color,\n },\n },\n {\n props: { color: 'primary', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.primary.outlined,\n borderColor: theme.palette._components.status.primary.outlined,\n },\n },\n {\n props: { color: 'disabled' },\n style: {\n backgroundColor: theme.palette._components.status.disabled.background,\n color: theme.palette._components.status.disabled.color,\n },\n },\n {\n props: { color: 'disabled', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.disabled.outlined,\n borderColor: theme.palette._components.status.disabled.outlined,\n },\n },\n {\n props: { color: 'default' },\n style: {\n backgroundColor: theme.palette._components.status.neutral.background,\n color: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'default', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.neutral.outlined,\n borderColor: theme.palette._components.status.neutral.outlined,\n },\n },\n {\n props: { color: 'neutral' },\n style: {\n backgroundColor: theme.palette._components.status.neutral.background,\n color: theme.palette._components.status.neutral.color,\n },\n },\n {\n props: { color: 'neutral', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.neutral.outlined,\n borderColor: theme.palette._components.status.neutral.outlined,\n },\n },\n {\n props: { color: 'orange' },\n style: {\n backgroundColor: theme.palette._components.status.orange.background,\n color: theme.palette._components.status.orange.color,\n },\n },\n {\n props: { color: 'orange', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.orange.outlined,\n borderColor: theme.palette._components.status.orange.outlined,\n },\n },\n {\n props: { color: 'blue' },\n style: {\n backgroundColor: theme.palette._components.status.blue.background,\n color: theme.palette._components.status.blue.color,\n },\n },\n {\n props: { color: 'blue', variant: 'outlined' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.status.blue.outlined,\n borderColor: theme.palette._components.status.blue.outlined,\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,UAAuD;AAAA,EAClE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,UAAU,MAAM,QAAQ,GAAG;AAAA,MAC3B,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,MAAM,QAAA;AAAA,UACf,OAAO;AAAA,YACL,UAAU;AAAA,YACV,YAAY;AAAA,UAAA;AAAA,QACd;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,MAAM,SAAA;AAAA,UACf,OAAO;AAAA,YACL,UAAU;AAAA,YACV,YAAY;AAAA,UAAA;AAAA,QACd;AAAA;AAAA,QAGF;AAAA,UACE,OAAO,EAAE,OAAO,UAAA;AAAA,UAChB,OAAO;AAAA,YACL,iBAAiB,MAAM,QAAQ,YAAY,OAAO,QAAQ;AAAA,YAC1D,OAAO,MAAM,QAAQ,YAAY,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Q,YAAY,OAAO,KAAK;AAAA,UAAA;AAAA,QAC/C;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,QAAQ,SAAS,WAAA;AAAA,UACjC,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,YAC7C,aAAa,MAAM,QAAQ,YAAY,OAAO,KAAK;AAAA,UAAA;AAAA,QACrD;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
@@ -270,29 +270,67 @@ const paletteDark = {
270
270
  borderBottom: "#1C1C37"
271
271
  },
272
272
  alert: {
273
- error: {
274
- color: colors.colors.red[400],
275
- border: "rgba(250, 55, 104, 0.3)",
276
- background: "rgba(250, 55, 104, 0.1)",
277
- icon: colors.colors.red[400]
278
- },
279
- warning: {
280
- color: colors.colors.yellow[600],
281
- border: "rgba(249, 230, 131, 0.3)",
282
- background: "rgba(249, 230, 131, 0.1)",
283
- icon: colors.colors.yellow[600]
273
+ standard: {
274
+ error: {
275
+ color: colors.colors.red[400],
276
+ border: "rgba(250, 55, 104, 0.3)",
277
+ background: "rgba(250, 55, 104, 0.1)",
278
+ icon: colors.colors.red[400]
279
+ },
280
+ warning: {
281
+ color: colors.colors.yellow[600],
282
+ border: "rgba(249, 230, 131, 0.3)",
283
+ background: "rgba(249, 230, 131, 0.1)",
284
+ icon: colors.colors.yellow[600]
285
+ },
286
+ info: {
287
+ color: colors.colors.blue[500],
288
+ border: "rgba(96, 203, 203, 0.3)",
289
+ background: "rgba(96, 203, 203, 0.1)",
290
+ icon: colors.colors.blue[500]
291
+ },
292
+ success: {
293
+ color: colors.colors.green[500],
294
+ border: "rgba(158, 236, 152, 0.3)",
295
+ background: "rgba(158, 236, 152, 0.1)",
296
+ icon: colors.colors.green[500]
297
+ },
298
+ primary: {
299
+ color: colors.colors.primary[400],
300
+ border: "rgba(135, 88, 198, 0.3)",
301
+ background: "rgba(135, 88, 198, 0.1)",
302
+ icon: colors.colors.primary[400]
303
+ },
304
+ gray: {
305
+ color: colors.colors.neutral[400],
306
+ border: "rgba(255, 255, 255, 0.2)",
307
+ background: "rgba(255, 255, 255, 0.05)",
308
+ icon: colors.colors.neutral[500]
309
+ }
284
310
  },
285
- info: {
286
- color: colors.colors.blue[500],
287
- border: "rgba(96, 203, 203, 0.3)",
288
- background: "rgba(96, 203, 203, 0.1)",
289
- icon: colors.colors.blue[500]
290
- },
291
- success: {
292
- color: colors.colors.green[500],
293
- border: "rgba(158, 236, 152, 0.3)",
294
- background: "rgba(158, 236, 152, 0.1)",
295
- icon: colors.colors.green[500]
311
+ filled: {
312
+ error: { background: colors.colors.red[1e3], color: colors.colors.base.white, icon: colors.colors.base.white },
313
+ warning: {
314
+ background: colors.colors.yellow[1e3],
315
+ color: colors.colors.yellow[200],
316
+ icon: colors.colors.yellow[200]
317
+ },
318
+ info: { background: colors.colors.blue[1e3], color: colors.colors.base.white, icon: colors.colors.base.white },
319
+ success: {
320
+ background: colors.colors.green[1e3],
321
+ color: colors.colors.green[200],
322
+ icon: colors.colors.green[200]
323
+ },
324
+ primary: {
325
+ background: colors.colors.primary[1e3],
326
+ color: colors.colors.base.white,
327
+ icon: colors.colors.base.white
328
+ },
329
+ gray: {
330
+ background: colors.colors.neutral[500],
331
+ color: colors.colors.base.white,
332
+ icon: colors.colors.base.white
333
+ }
296
334
  }
297
335
  },
298
336
  status: {