@zidsa/zidmui 2.4.4 → 2.4.6
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/react/cjs/components/app-icon-button.js +6 -8
- package/dist/react/cjs/components/app-icon-button.js.map +1 -1
- package/dist/react/cjs/components/app-input-radio-card.js +2 -2
- package/dist/react/cjs/components/app-input-radio-card.js.map +1 -1
- package/dist/react/cjs/theme/components/app-bar.js +2 -2
- package/dist/react/cjs/theme/components/app-bar.js.map +1 -1
- package/dist/react/cjs/theme/components/backdrop.js +3 -3
- package/dist/react/cjs/theme/components/backdrop.js.map +1 -1
- package/dist/react/cjs/theme/components/filled-input.js +20 -0
- package/dist/react/cjs/theme/components/filled-input.js.map +1 -0
- package/dist/react/cjs/theme/components/icon-button.js +1 -1
- package/dist/react/cjs/theme/components/icon-button.js.map +1 -1
- package/dist/react/cjs/theme/components/input-base.js +5 -0
- package/dist/react/cjs/theme/components/input-base.js.map +1 -1
- package/dist/react/cjs/theme/components/outlined-input.js +11 -0
- package/dist/react/cjs/theme/components/outlined-input.js.map +1 -0
- package/dist/react/cjs/theme/components/text-field.js +27 -8
- package/dist/react/cjs/theme/components/text-field.js.map +1 -1
- package/dist/react/cjs/theme/components.js +5 -1
- package/dist/react/cjs/theme/components.js.map +1 -1
- package/dist/react/es/components/app-icon-button.js +6 -8
- package/dist/react/es/components/app-icon-button.js.map +1 -1
- package/dist/react/es/components/app-input-radio-card.js +3 -3
- package/dist/react/es/components/app-input-radio-card.js.map +1 -1
- package/dist/react/es/theme/components/app-bar.js +2 -2
- package/dist/react/es/theme/components/app-bar.js.map +1 -1
- package/dist/react/es/theme/components/backdrop.js +3 -3
- package/dist/react/es/theme/components/backdrop.js.map +1 -1
- package/dist/react/es/theme/components/filled-input.js +20 -0
- package/dist/react/es/theme/components/filled-input.js.map +1 -0
- package/dist/react/es/theme/components/icon-button.js +1 -1
- package/dist/react/es/theme/components/icon-button.js.map +1 -1
- package/dist/react/es/theme/components/input-base.js +5 -0
- package/dist/react/es/theme/components/input-base.js.map +1 -1
- package/dist/react/es/theme/components/outlined-input.js +11 -0
- package/dist/react/es/theme/components/outlined-input.js.map +1 -0
- package/dist/react/es/theme/components/text-field.js +27 -8
- package/dist/react/es/theme/components/text-field.js.map +1 -1
- package/dist/react/es/theme/components.js +5 -1
- package/dist/react/es/theme/components.js.map +1 -1
- package/dist/react/types/components/app-icon-button.d.ts +1 -1
- package/dist/react/types/theme/components/filled-input.d.ts +2 -0
- package/dist/react/types/theme/components/input-base.d.ts +1 -1
- package/dist/react/types/theme/components/outlined-input.d.ts +2 -0
- package/dist/react/types/theme/components/text-field.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -12,18 +12,16 @@ const AppIconButton = ({
|
|
|
12
12
|
tooltip,
|
|
13
13
|
tooltipProps,
|
|
14
14
|
sx,
|
|
15
|
+
hideBorder,
|
|
15
16
|
...props
|
|
16
17
|
}) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
children,
|
|
20
|
-
content
|
|
21
|
-
] });
|
|
22
|
-
}
|
|
23
|
-
return /* @__PURE__ */ jsxRuntime.jsx(appTooltip.AppTooltip, { description: tooltip, disableInteractive: true, ...tooltipProps, children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs(material.IconButton, { component: "button", color, size, ref, sx, ...props, children: [
|
|
18
|
+
const mergedSx = { ...sx, ...hideBorder && { border: "none" } };
|
|
19
|
+
const button = /* @__PURE__ */ jsxRuntime.jsxs(material.IconButton, { component: "button", color, size, ref, sx: mergedSx, ...props, children: [
|
|
24
20
|
children,
|
|
25
21
|
content
|
|
26
|
-
] })
|
|
22
|
+
] });
|
|
23
|
+
if (!tooltip) return button;
|
|
24
|
+
return /* @__PURE__ */ jsxRuntime.jsx(appTooltip.AppTooltip, { description: tooltip, disableInteractive: true, ...tooltipProps, children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: button }) });
|
|
27
25
|
};
|
|
28
26
|
AppIconButton.displayName = "AppIconButton";
|
|
29
27
|
exports.AppIconButton = AppIconButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-icon-button.js","sources":["../../../../src/components/app-icon-button.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box, IconButton, type IconButtonProps } from '@mui/material';\nimport { AppTooltip, AppTooltipProps } from './app-tooltip';\n\n//\n//\n\nexport type AppIconButtonProps = Omit<IconButtonProps, 'component'> & {\n content?: React.ReactNode;\n href?: string;\n tooltip?: string | null;\n tooltipProps?: Omit<AppTooltipProps, 'children' | 'title'>;\n hideBorder?: boolean;\n};\n\nexport const AppIconButton = ({\n ref,\n color = 'secondary',\n size = 'small',\n children,\n content,\n tooltip,\n tooltipProps,\n sx,\n ...props\n}: AppIconButtonProps) => {\n
|
|
1
|
+
{"version":3,"file":"app-icon-button.js","sources":["../../../../src/components/app-icon-button.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box, IconButton, type IconButtonProps } from '@mui/material';\nimport { AppTooltip, AppTooltipProps } from './app-tooltip';\n\n//\n//\n\nexport type AppIconButtonProps = Omit<IconButtonProps, 'component'> & {\n content?: React.ReactNode;\n href?: string;\n tooltip?: string | null;\n tooltipProps?: Omit<AppTooltipProps, 'children' | 'title'>;\n hideBorder?: boolean;\n};\n\nexport const AppIconButton = ({\n ref,\n color = 'secondary',\n size = 'small',\n children,\n content,\n tooltip,\n tooltipProps,\n sx,\n hideBorder,\n ...props\n}: AppIconButtonProps) => {\n const mergedSx = { ...sx, ...(hideBorder && { border: 'none' }) };\n\n const button = (\n <IconButton component=\"button\" color={color} size={size} ref={ref} sx={mergedSx} {...props}>\n {children}\n {content}\n </IconButton>\n );\n\n if (!tooltip) return button;\n\n return (\n <AppTooltip description={tooltip} disableInteractive {...tooltipProps}>\n <Box>{button}</Box>\n </AppTooltip>\n );\n};\n\nAppIconButton.displayName = 'AppIconButton';\n"],"names":["jsxs","IconButton","jsx","AppTooltip","Box"],"mappings":";;;;;AAgBO,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA,QAAQ;AAAA,EACR,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAA0B;AACxB,QAAM,WAAW,EAAE,GAAG,IAAI,GAAI,cAAc,EAAE,QAAQ,SAAO;AAE7D,QAAM,SACJA,2BAAAA,KAACC,SAAAA,YAAA,EAAW,WAAU,UAAS,OAAc,MAAY,KAAU,IAAI,UAAW,GAAG,OAClF,UAAA;AAAA,IAAA;AAAA,IACA;AAAA,EAAA,GACH;AAGF,MAAI,CAAC,QAAS,QAAO;AAErB,SACEC,2BAAAA,IAACC,WAAAA,YAAA,EAAW,aAAa,SAAS,oBAAkB,MAAE,GAAG,cACvD,UAAAD,2BAAAA,IAACE,SAAAA,KAAA,EAAK,UAAA,OAAA,CAAO,GACf;AAEJ;AAEA,cAAc,cAAc;;"}
|
|
@@ -44,10 +44,10 @@ const FormControlLabelStyled = material.styled(material.FormControlLabel)(({ the
|
|
|
44
44
|
gap: theme.spacing(0.5),
|
|
45
45
|
margin: 0,
|
|
46
46
|
padding: theme.spacing(1.5),
|
|
47
|
-
border: `solid 1px ${theme.palette.
|
|
47
|
+
border: `solid 1px ${theme.palette.divider}`,
|
|
48
48
|
borderRadius: theme.shape.standardBorderRadius,
|
|
49
49
|
":has(:checked)": {
|
|
50
|
-
backgroundColor: theme.palette.
|
|
50
|
+
backgroundColor: material.alpha(theme.palette.primary.main, 0.08),
|
|
51
51
|
borderColor: "#AE72FF80"
|
|
52
52
|
},
|
|
53
53
|
overflow: "hidden",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-input-radio-card.js","sources":["../../../../src/components/app-input-radio-card.tsx"],"sourcesContent":["import React from 'react';\nimport {\n FormControlLabelProps,\n StackProps,\n RadioProps,\n FormControlLabel,\n Radio,\n CircularProgress,\n styled,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppInputRadioCardProps = Omit<FormControlLabelProps, 'control' | 'label'> & {\n label: string | React.ReactNode;\n labelProps?: AppTypographyProps;\n labelContainerProps?: StackProps;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n radioProps?: RadioProps;\n isLoading?: boolean;\n labelSuffix?: React.ReactNode;\n icon?: React.ReactNode;\n};\n\nexport const AppInputRadioCard: React.FC<AppInputRadioCardProps> = ({\n label,\n labelProps,\n labelContainerProps,\n description,\n descriptionProps,\n radioProps,\n isLoading,\n labelSuffix,\n icon,\n ...props\n}) => {\n return (\n <FormControlLabelStyled\n {...props}\n control={<RadioStyled {...radioProps} />}\n label={\n <StackRow justifyContent=\"space-between\" alignItems=\"center\">\n <StackColumn gap={0} overflow=\"hidden\" {...labelContainerProps}>\n {isLoading && <CircularProgressStyled />}\n\n {typeof label === 'string' ? (\n <StackRow width=\"100%\" justifyContent=\"space-between\">\n <AppTypography variant=\"body2\" {...labelProps}>\n {label}\n </AppTypography>\n {labelSuffix ? labelSuffix : null}\n </StackRow>\n ) : (\n label\n )}\n {description && (\n <RadioDescriptionStyled variant=\"caption\" color=\"text.tertiary\" {...descriptionProps}>\n {description}\n </RadioDescriptionStyled>\n )}\n </StackColumn>\n\n {icon}\n </StackRow>\n }\n />\n );\n};\n\n//\n\nconst FormControlLabelStyled = styled(FormControlLabel)(({ theme }) => {\n return {\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: theme.spacing(0.5),\n margin: 0,\n padding: theme.spacing(1.5),\n border: `solid 1px ${theme.palette.
|
|
1
|
+
{"version":3,"file":"app-input-radio-card.js","sources":["../../../../src/components/app-input-radio-card.tsx"],"sourcesContent":["import React from 'react';\nimport {\n FormControlLabelProps,\n StackProps,\n RadioProps,\n FormControlLabel,\n Radio,\n CircularProgress,\n styled,\n alpha,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppInputRadioCardProps = Omit<FormControlLabelProps, 'control' | 'label'> & {\n label: string | React.ReactNode;\n labelProps?: AppTypographyProps;\n labelContainerProps?: StackProps;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n radioProps?: RadioProps;\n isLoading?: boolean;\n labelSuffix?: React.ReactNode;\n icon?: React.ReactNode;\n};\n\nexport const AppInputRadioCard: React.FC<AppInputRadioCardProps> = ({\n label,\n labelProps,\n labelContainerProps,\n description,\n descriptionProps,\n radioProps,\n isLoading,\n labelSuffix,\n icon,\n ...props\n}) => {\n return (\n <FormControlLabelStyled\n {...props}\n control={<RadioStyled {...radioProps} />}\n label={\n <StackRow justifyContent=\"space-between\" alignItems=\"center\">\n <StackColumn gap={0} overflow=\"hidden\" {...labelContainerProps}>\n {isLoading && <CircularProgressStyled />}\n\n {typeof label === 'string' ? (\n <StackRow width=\"100%\" justifyContent=\"space-between\">\n <AppTypography variant=\"body2\" {...labelProps}>\n {label}\n </AppTypography>\n {labelSuffix ? labelSuffix : null}\n </StackRow>\n ) : (\n label\n )}\n {description && (\n <RadioDescriptionStyled variant=\"caption\" color=\"text.tertiary\" {...descriptionProps}>\n {description}\n </RadioDescriptionStyled>\n )}\n </StackColumn>\n\n {icon}\n </StackRow>\n }\n />\n );\n};\n\n//\n\nconst FormControlLabelStyled = styled(FormControlLabel)(({ theme }) => {\n return {\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: theme.spacing(0.5),\n margin: 0,\n padding: theme.spacing(1.5),\n border: `solid 1px ${theme.palette.divider}`,\n borderRadius: theme.shape.standardBorderRadius,\n ':has(:checked)': {\n backgroundColor: alpha(theme.palette.primary.main, 0.08),\n borderColor: '#AE72FF80',\n },\n overflow: 'hidden',\n '> .MuiFormControlLabel-label': {\n overflow: 'hidden',\n },\n '& .MuiFormControlLabel-label': {\n width: '100%',\n },\n };\n});\n\nconst RadioStyled = styled(Radio)(({ theme }) => {\n return {\n width: theme.spacing(2.5),\n minWidth: theme.spacing(2.5),\n height: theme.spacing(2.5),\n padding: 0,\n };\n});\n\nconst RadioDescriptionStyled = styled(AppTypography)(() => {\n return {\n display: '-webkit-box',\n WebkitLineClamp: 3,\n WebkitBoxOrient: 'vertical',\n overflow: 'hidden',\n };\n});\n\nconst CircularProgressStyled = styled(CircularProgress)(() => {\n return {\n position: 'absolute',\n left: 'calc(50% - 20px)',\n top: 'calc(50% - 20px)',\n };\n});\n"],"names":["jsx","jsxs","StackRow","StackColumn","AppTypography","styled","FormControlLabel","alpha","Radio","CircularProgress"],"mappings":";;;;;;;AA8BO,MAAM,oBAAsD,CAAC;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,SACEA,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,SAASA,2BAAAA,IAAC,aAAA,EAAa,GAAG,WAAA,CAAY;AAAA,MACtC,OACEC,2BAAAA,KAACC,SAAAA,UAAA,EAAS,gBAAe,iBAAgB,YAAW,UAClD,UAAA;AAAA,QAAAD,gCAACE,YAAAA,eAAY,KAAK,GAAG,UAAS,UAAU,GAAG,qBACxC,UAAA;AAAA,UAAA,4CAAc,wBAAA,EAAuB;AAAA,UAErC,OAAO,UAAU,WAChBF,2BAAAA,KAACC,SAAAA,YAAS,OAAM,QAAO,gBAAe,iBACpC,UAAA;AAAA,YAAAF,+BAACI,cAAAA,eAAA,EAAc,SAAQ,SAAS,GAAG,YAChC,UAAA,OACH;AAAA,YACC,cAAc,cAAc;AAAA,UAAA,EAAA,CAC/B,IAEA;AAAA,UAED,8CACE,wBAAA,EAAuB,SAAQ,WAAU,OAAM,iBAAi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AAA;AAET,CAAC;;"}
|
|
@@ -124,9 +124,9 @@ const MuiAppBar = {
|
|
|
124
124
|
{
|
|
125
125
|
props: { color: "transparent" },
|
|
126
126
|
style: ({ theme: theme2 }) => ({
|
|
127
|
-
backgroundColor: theme2.palette.background.
|
|
127
|
+
backgroundColor: theme2.palette.background.sidebar,
|
|
128
128
|
boxShadow: theme2.shadows[0],
|
|
129
|
-
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
|
|
129
|
+
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2 ?? theme2.palette.divider}`,
|
|
130
130
|
"& .MuiTextField-root": {
|
|
131
131
|
"& .MuiOutlinedInput-root": {
|
|
132
132
|
"& fieldset": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.
|
|
1
|
+
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.sidebar,\n boxShadow: theme.shadows[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2 ?? theme.palette.divider}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["theme"],"mappings":";;AAKO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC;AAAA,UAC9B,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,uBAAuB;AAAA,UACrB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,2BAA2B;AAAA,UACzB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,UAAU;AAAA,QACR,QAAQ;AAAA,Q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,gBAAA;AAAA,gBAEnD,0BAA0B;AAAA,kBACxB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,gBAErC,qBAAqB;AAAA,kBACnB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,cACrC;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const MuiBackdrop = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: {
|
|
6
|
-
backgroundColor:
|
|
7
|
-
}
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
backgroundColor: theme.palette._components.backdrop.fill
|
|
7
|
+
})
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
10
|
exports.MuiBackdrop = MuiBackdrop;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.js","sources":["../../../../../src/theme/components/backdrop.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiBackdrop: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiBackdrop'] = {\n styleOverrides: {\n root: {\n backgroundColor:
|
|
1
|
+
{"version":3,"file":"backdrop.js","sources":["../../../../../src/theme/components/backdrop.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiBackdrop: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiBackdrop'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n backgroundColor: theme.palette._components.backdrop.fill,\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,cAEM;AAAA,EACjB,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,iBAAiB,MAAM,QAAQ,YAAY,SAAS;AAAA,IAAA;AAAA,EACtD;AAEJ;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiFilledInput = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: {
|
|
6
|
+
borderRadius: 8,
|
|
7
|
+
"&::before, &::after": {
|
|
8
|
+
borderBottom: 0
|
|
9
|
+
},
|
|
10
|
+
"&:hover:not(.Mui-disabled, .Mui-error):before": {
|
|
11
|
+
borderBottom: 0
|
|
12
|
+
},
|
|
13
|
+
"&.Mui-focused:after": {
|
|
14
|
+
borderBottom: 0
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
exports.MuiFilledInput = MuiFilledInput;
|
|
20
|
+
//# sourceMappingURL=filled-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filled-input.js","sources":["../../../../../src/theme/components/filled-input.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiFilledInput: Components<Theme & CssVarsTheme>['MuiFilledInput'] = {\n styleOverrides: {\n root: {\n borderRadius: 8,\n '&::before, &::after': {\n borderBottom: 0,\n },\n '&:hover:not(.Mui-disabled, .Mui-error):before': {\n borderBottom: 0,\n },\n '&.Mui-focused:after': {\n borderBottom: 0,\n },\n },\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,iBAAqE;AAAA,EAChF,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,cAAc;AAAA,MACd,uBAAuB;AAAA,QACrB,cAAc;AAAA,MAAA;AAAA,MAEhB,iDAAiD;AAAA,QAC/C,cAAc;AAAA,MAAA;AAAA,MAEhB,uBAAuB;AAAA,QACrB,cAAc;AAAA,MAAA;AAAA,IAChB;AAAA,EACF;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sources":["../../../../../src/theme/components/icon-button.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiIconButton: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiIconButton'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n styleOverrides: {\n root: ({ theme }) => ({\n '&.Mui-focusVisible': {\n backgroundColor: theme.palette._components.iconButton.default.hover,\n outline: `2px solid ${theme.palette.primary.dark}`,\n outlineOffset: '2px',\n },\n '&.Mui-disabled': {\n color: theme.palette._components.button.disabledText,\n },\n '&.MuiIconButton-loading .MuiSvgIcon-root': {\n fill: '
|
|
1
|
+
{"version":3,"file":"icon-button.js","sources":["../../../../../src/theme/components/icon-button.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiIconButton: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiIconButton'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n styleOverrides: {\n root: ({ theme }) => ({\n '&.Mui-focusVisible': {\n backgroundColor: theme.palette._components.iconButton.default.hover,\n outline: `2px solid ${theme.palette.primary.dark}`,\n outlineOffset: '2px',\n },\n '&.Mui-disabled': {\n color: theme.palette._components.button.disabledText,\n },\n '&.MuiIconButton-loading .MuiSvgIcon-root': {\n fill: 'transparent !important',\n },\n\n variants: [\n {\n props: { size: 'large' },\n style: {\n minWidth: theme.spacing(6),\n minHeight: theme.spacing(6),\n padding: theme.spacing(1),\n '> .MuiSvgIcon-root': {\n width: theme.spacing(3),\n minWidth: theme.spacing(3),\n height: theme.spacing(3),\n minHeight: theme.spacing(3),\n },\n },\n },\n {\n props: { size: 'medium' },\n style: {\n minWidth: theme.spacing(5),\n minHeight: theme.spacing(5),\n padding: theme.spacing(0.65),\n '> .MuiSvgIcon-root': {\n width: theme.spacing(2.5),\n minWidth: theme.spacing(2.5),\n height: theme.spacing(2.5),\n minHeight: theme.spacing(2.5),\n },\n },\n },\n {\n props: { size: 'small' },\n style: {\n minWidth: theme.spacing(4),\n minHeight: theme.spacing(4),\n padding: theme.spacing(0.75),\n '> .MuiSvgIcon-root': {\n width: theme.spacing(2.5),\n minWidth: theme.spacing(2.5),\n height: theme.spacing(2.5),\n minHeight: theme.spacing(2.5),\n },\n },\n },\n {\n props: { size: 'extraSmall' },\n style: {\n minWidth: theme.spacing(3),\n minHeight: theme.spacing(3),\n padding: theme.spacing(0),\n fontSize: theme.spacing(2),\n '> .MuiSvgIcon-root': {\n width: theme.spacing(1.75),\n minWidth: theme.spacing(1.75),\n height: theme.spacing(1.75),\n minHeight: theme.spacing(1.75),\n },\n },\n },\n {\n props: { color: 'primary' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.iconButton.primary.text,\n border: `1px solid ${theme.palette._components.button.primary.contained}`,\n '&:hover': { backgroundColor: theme.palette._components.iconButton.primary.hover },\n '&.Mui-focusVisible': {\n borderColor: 'transparent',\n backgroundColor: theme.palette._components.iconButton.primary.focused,\n color: theme.palette._components.iconButton.primary.focusedIcon,\n },\n '&:active': {\n backgroundColor: theme.palette._components.iconButton.primary.focused,\n borderColor: theme.palette._components.button.primary.contained,\n },\n },\n },\n {\n props: { color: 'secondary' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.iconButton.secondary.text,\n border: `1px solid ${theme.palette._components.button.secondary.border}`,\n '&:hover': {\n backgroundColor: theme.palette._components.iconButton.secondary.hover,\n },\n '&.Mui-focusVisible': {\n borderColor: 'transparent',\n backgroundColor: theme.palette._components.iconButton.secondary.focused,\n },\n '&:active': {\n backgroundColor: theme.palette._components.button.secondary.pressed,\n },\n },\n },\n {\n props: { color: 'error' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.button.error.focused,\n border: `1px solid ${theme.palette._components.button.error.border}`,\n '&:hover': {\n backgroundColor: theme.palette._components.button.error.outlinedHover,\n },\n '&.Mui-focusVisible': {\n backgroundColor: theme.palette._components.iconButton.error.focused,\n },\n '&:active': {\n backgroundColor: theme.palette._components.iconButton.error.focused,\n },\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,gBAEQ;AAAA,EACnB,cAAc;AAAA,IACZ,eAAe;AAAA,IACf,oBAAoB;AAAA,EAAA;AAAA,EAEtB,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,sBAAsB;AAAA,QACpB,iBAAiB,MAAM,QAAQ,YAAY,WAAW,QAAQ;AAAA,QAC9D,SAAS,aAAa,MAAM,QAAQ,QAAQ,IAAI;AAAA,QAChD,eAAe;AAAA,MAAA;AAAA,MAEjB,kBAAkB;AAAA,QAChB,OAAO,MAAM,QAAQ,YAAY,OAAO;AAAA,MAAA;AAAA,MAE1C,4CAA4C;AAAA,QAC1C,MAAM;AAAA,MAAA;AAAA,MAGR,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,MAAM,QAAA;AAAA,UACf,OAAO;AAAA,YACL,UAAU,MAAM,QAAQ,CAAC;AAAA,YACzB,WAAW,MAAM,QAAQ,CAAC;AAAA,YAC1B,SAAS,MAAM,QAAQ,CAAC;AAAA,YACxB,sBAAsB;AAAA,cACpB,OAAO,MAAM,QAAQ,CAAC;AAAA,cACtB,UAAU,MAAM,QAAQ,CAAC;AAAA,cACzB,QAAQ,MAAM,QAAQ,CAAC;AAAA,cACvB,WAAW,MAAM,QAAQ,CAAC;AAAA,YAAA;AAAA,UAC5B;AAAA,QACF;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,MAAM,SAAA;AAAA,UACf,OAAO;AAAA,YACL,UAAU,MAAM,QAAQ,CAAC;AAAA,YACzB,WAAW,MAAM,QAAQ,CAAC;AAAA,YAC1B,SAAS,MAAM,QAAQ,IAAI;AAAA,YAC3B,sBAAsB;AAAA,cACpB,OAAO,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AAW,MAAM;AAAA,YAAA;AAAA,UAC9D;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const MuiInputBase = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
"&.MuiInputBase-root": {
|
|
7
|
+
background: theme.palette.background.white
|
|
8
|
+
}
|
|
9
|
+
}),
|
|
5
10
|
input: ({ theme }) => ({
|
|
6
11
|
...theme.typography.body2,
|
|
7
12
|
"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-base.js","sources":["../../../../../src/theme/components/input-base.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\nexport const MuiInputBase: Components<Theme & CssVarsTheme>['MuiInputBase'] = {\n styleOverrides: {\n input: ({ theme }) => ({\n ...theme.typography.body2,\n\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\n WebkitAppearance: 'none',\n },\n\n /* Firefox */\n '&[type=number]': {\n MozAppearance: 'textfield',\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,OAAO,CAAC,EAAE,aAAa;AAAA,MACrB,GAAG,MAAM,WAAW;AAAA,MAEpB,8DAA8D;AAAA,QAC5D,kBAAkB;AAAA,MAAA;AAAA;AAAA,MAIpB,kBAAkB;AAAA,QAChB,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;;"}
|
|
1
|
+
{"version":3,"file":"input-base.js","sources":["../../../../../src/theme/components/input-base.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiInputBase: Components<Theme & CssVarsTheme>['MuiInputBase'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n '&.MuiInputBase-root': {\n background: theme.palette.background.white,\n },\n }),\n input: ({ theme }) => ({\n ...theme.typography.body2,\n\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\n WebkitAppearance: 'none',\n },\n\n /* Firefox */\n '&[type=number]': {\n MozAppearance: 'textfield',\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,uBAAuB;AAAA,QACrB,YAAY,MAAM,QAAQ,WAAW;AAAA,MAAA;AAAA,IACvC;AAAA,IAEF,OAAO,CAAC,EAAE,aAAa;AAAA,MACrB,GAAG,MAAM,WAAW;AAAA,MAEpB,8DAA8D;AAAA,QAC5D,kBAAkB;AAAA,MAAA;AAAA;AAAA,MAIpB,kBAAkB;AAAA,QAChB,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiOutlinedInput = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
notchedOutline: ({ theme }) => ({
|
|
6
|
+
borderColor: theme.palette._components.input.outlined.enabledBorder
|
|
7
|
+
})
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
exports.MuiOutlinedInput = MuiOutlinedInput;
|
|
11
|
+
//# sourceMappingURL=outlined-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outlined-input.js","sources":["../../../../../src/theme/components/outlined-input.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiOutlinedInput: Components<Theme & CssVarsTheme>['MuiOutlinedInput'] = {\n styleOverrides: {\n notchedOutline: ({ theme }) => ({\n borderColor: theme.palette._components.input.outlined.enabledBorder,\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,mBAAyE;AAAA,EACpF,gBAAgB;AAAA,IACd,gBAAgB,CAAC,EAAE,aAAa;AAAA,MAC9B,aAAa,MAAM,QAAQ,YAAY,MAAM,SAAS;AAAA,IAAA;AAAA,EACxD;AAEJ;;"}
|
|
@@ -3,14 +3,17 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const MuiTextField = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
marginTop: theme.spacing(2.5),
|
|
6
7
|
legend: {
|
|
7
8
|
display: "none"
|
|
8
9
|
},
|
|
9
10
|
"& .MuiInputLabel-root": {
|
|
10
11
|
marginBottom: theme.spacing(1),
|
|
11
12
|
transform: "scale(1)",
|
|
12
|
-
position: "relative"
|
|
13
|
-
|
|
13
|
+
position: "relative"
|
|
14
|
+
},
|
|
15
|
+
"& .MuiFormHelperText-root": {
|
|
16
|
+
marginTop: theme.spacing(1)
|
|
14
17
|
},
|
|
15
18
|
"& .MuiOutlinedInput-root": {
|
|
16
19
|
fieldset: {
|
|
@@ -59,10 +62,18 @@ const MuiTextField = {
|
|
|
59
62
|
style: ({ theme }) => ({
|
|
60
63
|
"& .MuiOutlinedInput-root": {
|
|
61
64
|
minHeight: theme.spacing(5),
|
|
62
|
-
paddingBlock: theme.spacing(1),
|
|
63
|
-
paddingInline: theme.spacing(2),
|
|
64
65
|
input: {
|
|
65
|
-
padding:
|
|
66
|
+
padding: theme.spacing(1.25, 2)
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart": {
|
|
70
|
+
input: {
|
|
71
|
+
padding: theme.spacing(1.25, 2, 1.25, 0.5)
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd": {
|
|
75
|
+
input: {
|
|
76
|
+
padding: theme.spacing(1.25, 0.5, 1.25, 2)
|
|
66
77
|
}
|
|
67
78
|
}
|
|
68
79
|
})
|
|
@@ -72,10 +83,18 @@ const MuiTextField = {
|
|
|
72
83
|
style: ({ theme }) => ({
|
|
73
84
|
"& .MuiOutlinedInput-root": {
|
|
74
85
|
minHeight: theme.spacing(6),
|
|
75
|
-
paddingBlock: theme.spacing(1),
|
|
76
|
-
paddingInline: theme.spacing(2),
|
|
77
86
|
input: {
|
|
78
|
-
padding:
|
|
87
|
+
padding: theme.spacing(1.75, 2)
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart": {
|
|
91
|
+
input: {
|
|
92
|
+
padding: theme.spacing(1.75, 2, 1.75, 0.5)
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd": {
|
|
96
|
+
input: {
|
|
97
|
+
padding: theme.spacing(1.75, 0.5, 1.75, 2)
|
|
79
98
|
}
|
|
80
99
|
}
|
|
81
100
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.js","sources":["../../../../../src/theme/components/text-field.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\
|
|
1
|
+
{"version":3,"file":"text-field.js","sources":["../../../../../src/theme/components/text-field.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTextField: Components<Theme & CssVarsTheme>['MuiTextField'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n marginTop: theme.spacing(2.5),\n legend: {\n display: 'none',\n },\n '& .MuiInputLabel-root': {\n marginBottom: theme.spacing(1),\n transform: 'scale(1)',\n position: 'relative',\n },\n '& .MuiFormHelperText-root': {\n marginTop: theme.spacing(1),\n },\n\n '& .MuiOutlinedInput-root': {\n fieldset: {\n top: 0,\n },\n },\n\n '& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline': {\n borderColor: theme.palette._components.input.outlined.enabledBorder,\n },\n '& .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline': {\n borderColor: theme.palette._components.input.outlined.hoverBorder,\n },\n '& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline': {\n borderColor: theme.palette.primary.main,\n },\n '& .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline': {\n borderColor: theme.palette.error.main,\n },\n '& .MuiOutlinedInput-root.Mui-disabled .MuiOutlinedInput-notchedOutline': {\n backgroundColor: theme.palette.action.hover,\n borderColor: theme.palette._components.input.outlined.enabledBorder,\n },\n '& .MuiOutlinedInput-root.Mui-disabled:hover .MuiOutlinedInput-notchedOutline': {\n borderColor: theme.palette._components.input.outlined.enabledBorder,\n },\n '& .MuiInputBase-input': {\n position: 'relative',\n color: theme.palette.text.primary,\n transition: theme.transitions.create(['border-color', 'background-color', 'box-shadow']),\n lineHeight: theme.spacing(3),\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n WebkitTextFillColor: theme.palette.text.disabled,\n },\n // TODO: investigate why this is causing the HTML to crash for Arabic\n // '&::placeholder': {\n // opacity: 1,\n // color: theme.palette.text.disabled,\n // },\n },\n }),\n },\n variants: [\n {\n props: { size: 'small' },\n style: ({ theme }) => ({\n '& .MuiOutlinedInput-root': {\n minHeight: theme.spacing(5),\n input: {\n padding: theme.spacing(1.25, 2),\n },\n },\n '& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart': {\n input: {\n padding: theme.spacing(1.25, 2, 1.25, 0.5),\n },\n },\n '& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd': {\n input: {\n padding: theme.spacing(1.25, 0.5, 1.25, 2),\n },\n },\n }),\n },\n {\n props: { size: 'medium' },\n style: ({ theme }) => ({\n '& .MuiOutlinedInput-root': {\n minHeight: theme.spacing(6),\n\n input: {\n padding: theme.spacing(1.75, 2),\n },\n },\n '& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart': {\n input: {\n padding: theme.spacing(1.75, 2, 1.75, 0.5),\n },\n },\n '& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd': {\n input: {\n padding: theme.spacing(1.75, 0.5, 1.75, 2),\n },\n },\n }),\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,MAAM,QAAQ,GAAG;AAAA,MAC5B,QAAQ;AAAA,QACN,SAAS;AAAA,MAAA;AAAA,MAEX,yBAAyB;AAAA,QACvB,cAAc,MAAM,QAAQ,CAAC;AAAA,QAC7B,WAAW;AAAA,QACX,UAAU;AAAA,MAAA;AAAA,MAEZ,6BAA6B;AAAA,QAC3B,WAAW,MAAM,QAAQ,CAAC;AAAA,MAAA;AAAA,MAG5B,4BAA4B;AAAA,QAC1B,UAAU;AAAA,UACR,KAAK;AAAA,QAAA;AAAA,MACP;AAAA,MAGF,6DAA6D;AAAA,QAC3D,aAAa,MAAM,QAAQ,YAAY,MAAM,SAAS;AAAA,MAAA;AAAA,MAExD,mEAAmE;AAAA,QACjE,aAAa,MAAM,QAAQ,YAAY,MAAM,SAAS;AAAA,MAAA;AAAA,MAExD,yEAAyE;AAAA,QACvE,aAAa,MAAM,QAAQ,QAAQ;AAAA,MAAA;AAAA,MAErC,uEAAuE;AAAA,QACrE,aAAa,MAAM,QAAQ,MAAM;AAAA,MAAA;AAAA,MAEnC,0EAA0E;AAAA,QACxE,iBAAiB,MAAM,QAAQ,OAAO;AAAA,QACtC,aAAa,MAAM,QAAQ,YAAY,MAAM,SAAS;AAAA,MAAA;AAAA,MAExD,gFAAgF;AAAA,QAC9E,aAAa,MAAM,QAAQ,YAAY,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AAAA,QAEF,+DAA+D;AAAA,UAC7D,OAAO;AAAA,YACL,SAAS,MAAM,QAAQ,MAAM,KAAK,MAAM,CAAC;AAAA,UAAA;AAAA,QAC3C;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -37,6 +37,8 @@ const paper = require("./components/paper.js");
|
|
|
37
37
|
const table = require("./components/table.js");
|
|
38
38
|
const select = require("./components/select.js");
|
|
39
39
|
const card = require("./components/card.js");
|
|
40
|
+
const outlinedInput = require("./components/outlined-input.js");
|
|
41
|
+
const filledInput = require("./components/filled-input.js");
|
|
40
42
|
const components = {
|
|
41
43
|
MuiTypography: typography.MuiTypography,
|
|
42
44
|
MuiChip: chip.MuiChip,
|
|
@@ -81,7 +83,9 @@ const components = {
|
|
|
81
83
|
MuiTable: table.MuiTable,
|
|
82
84
|
MuiTableRow: table.MuiTableRow,
|
|
83
85
|
MuiSelect: select.MuiSelect,
|
|
84
|
-
MuiCard: card.MuiCard
|
|
86
|
+
MuiCard: card.MuiCard,
|
|
87
|
+
MuiOutlinedInput: outlinedInput.MuiOutlinedInput,
|
|
88
|
+
MuiFilledInput: filledInput.MuiFilledInput
|
|
85
89
|
};
|
|
86
90
|
exports.components = components;
|
|
87
91
|
//# sourceMappingURL=components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":["../../../../src/theme/components.ts"],"sourcesContent":["import { MuiAlert } from './components/alert';\nimport { MuiButton } from './components/button';\nimport { MuiChip } from './components/chip';\nimport { MuiList, MuiListItemText, MuiListItemIcon } from './components/list';\nimport { MuiStack } from './components/stack';\nimport { MuiTooltip } from './components/tooltip';\nimport { MuiTypography } from './components/typography';\nimport { MuiDivider } from './components/divider';\nimport { MuiIconButton } from './components/icon-button';\nimport { MuiTab } from './components/tab';\nimport { MuiTabs } from './components/tabs';\nimport { MuiSkeleton } from './components/skeleton';\nimport { MuiCheckbox } from './components/checkbox';\nimport { MuiDialog, MuiDialogTitle, MuiDialogContent, MuiDialogActions } from './components/dialog';\nimport { MuiInputAdornment } from './components/input-adornment';\nimport { MuiInputBase } from './components/input-base';\nimport { MuiInputLabel } from './components/input-label';\nimport { MuiTextField } from './components/text-field';\nimport { MuiPagination } from './components/pagination';\nimport { MuiSwitch } from './components/switch';\nimport { MuiRadio } from './components/radio';\nimport { MuiFormGroup } from './components/form-group';\nimport { MuiBackdrop } from './components/backdrop';\nimport { MuiSvgIcon } from './components/svg-icon';\nimport { MuiTimeline } from './components/timeline';\nimport { MuiFormControlLabel } from './components/form-control-label';\nimport { MuiFormLabel } from './components/form-label';\nimport { MuiFormHelperText } from './components/form-helper-text';\nimport { MuiAppBar } from './components/app-bar';\nimport { MuiAutocomplete } from './components/autocomplete';\nimport { MuiDrawer } from './components/drawer';\nimport { MuiMenu, MuiMenuItem } from './components/menu';\nimport { MuiIcon } from './components/icon';\nimport { MuiPaper } from './components/paper';\nimport { MuiTable, MuiTableRow } from './components/table';\nimport { MuiSelect } from './components/select';\nimport { MuiCard } from './components/card';\n\n//\n//\n\n// NOTE: We use any here to avoid type inference issues\n// oxlint-disable-next-line @typescript-eslint/no-explicit-any\nexport const components: Record<string, any> = {\n MuiTypography,\n MuiChip,\n MuiButton,\n MuiAlert,\n MuiStack,\n MuiList,\n MuiListItemText,\n MuiListItemIcon,\n MuiTooltip,\n MuiDivider,\n MuiIconButton,\n MuiTabs,\n MuiTab,\n MuiSkeleton,\n MuiCheckbox,\n MuiDialog,\n MuiDialogTitle,\n MuiDialogContent,\n MuiDialogActions,\n MuiTextField,\n MuiInputBase,\n MuiInputLabel,\n MuiInputAdornment,\n MuiPagination,\n MuiSwitch,\n MuiRadio,\n MuiFormGroup,\n MuiBackdrop,\n MuiSvgIcon,\n MuiTimeline,\n MuiFormControlLabel,\n MuiFormLabel,\n MuiFormHelperText,\n MuiAppBar,\n MuiAutocomplete,\n MuiDrawer,\n MuiMenu,\n MuiMenuItem,\n MuiIcon,\n MuiPaper,\n MuiTable,\n MuiTableRow,\n MuiSelect,\n MuiCard,\n};\n"],"names":["MuiTypography","MuiChip","MuiButton","MuiAlert","MuiStack","MuiList","MuiListItemText","MuiListItemIcon","MuiTooltip","MuiDivider","MuiIconButton","MuiTabs","MuiTab","MuiSkeleton","MuiCheckbox","MuiDialog","MuiDialogTitle","MuiDialogContent","MuiDialogActions","MuiTextField","MuiInputBase","MuiInputLabel","MuiInputAdornment","MuiPagination","MuiSwitch","MuiRadio","MuiFormGroup","MuiBackdrop","MuiSvgIcon","MuiTimeline","MuiFormControlLabel","MuiFormLabel","MuiFormHelperText","MuiAppBar","MuiAutocomplete","MuiDrawer","MuiMenu","MuiMenuItem","MuiIcon","MuiPaper","MuiTable","MuiTableRow","MuiSelect","MuiCard"],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.js","sources":["../../../../src/theme/components.ts"],"sourcesContent":["import { MuiAlert } from './components/alert';\nimport { MuiButton } from './components/button';\nimport { MuiChip } from './components/chip';\nimport { MuiList, MuiListItemText, MuiListItemIcon } from './components/list';\nimport { MuiStack } from './components/stack';\nimport { MuiTooltip } from './components/tooltip';\nimport { MuiTypography } from './components/typography';\nimport { MuiDivider } from './components/divider';\nimport { MuiIconButton } from './components/icon-button';\nimport { MuiTab } from './components/tab';\nimport { MuiTabs } from './components/tabs';\nimport { MuiSkeleton } from './components/skeleton';\nimport { MuiCheckbox } from './components/checkbox';\nimport { MuiDialog, MuiDialogTitle, MuiDialogContent, MuiDialogActions } from './components/dialog';\nimport { MuiInputAdornment } from './components/input-adornment';\nimport { MuiInputBase } from './components/input-base';\nimport { MuiInputLabel } from './components/input-label';\nimport { MuiTextField } from './components/text-field';\nimport { MuiPagination } from './components/pagination';\nimport { MuiSwitch } from './components/switch';\nimport { MuiRadio } from './components/radio';\nimport { MuiFormGroup } from './components/form-group';\nimport { MuiBackdrop } from './components/backdrop';\nimport { MuiSvgIcon } from './components/svg-icon';\nimport { MuiTimeline } from './components/timeline';\nimport { MuiFormControlLabel } from './components/form-control-label';\nimport { MuiFormLabel } from './components/form-label';\nimport { MuiFormHelperText } from './components/form-helper-text';\nimport { MuiAppBar } from './components/app-bar';\nimport { MuiAutocomplete } from './components/autocomplete';\nimport { MuiDrawer } from './components/drawer';\nimport { MuiMenu, MuiMenuItem } from './components/menu';\nimport { MuiIcon } from './components/icon';\nimport { MuiPaper } from './components/paper';\nimport { MuiTable, MuiTableRow } from './components/table';\nimport { MuiSelect } from './components/select';\nimport { MuiCard } from './components/card';\nimport { MuiOutlinedInput } from './components/outlined-input';\nimport { MuiFilledInput } from './components/filled-input';\n\n//\n//\n\n// NOTE: We use any here to avoid type inference issues\n// oxlint-disable-next-line @typescript-eslint/no-explicit-any\nexport const components: Record<string, any> = {\n MuiTypography,\n MuiChip,\n MuiButton,\n MuiAlert,\n MuiStack,\n MuiList,\n MuiListItemText,\n MuiListItemIcon,\n MuiTooltip,\n MuiDivider,\n MuiIconButton,\n MuiTabs,\n MuiTab,\n MuiSkeleton,\n MuiCheckbox,\n MuiDialog,\n MuiDialogTitle,\n MuiDialogContent,\n MuiDialogActions,\n MuiTextField,\n MuiInputBase,\n MuiInputLabel,\n MuiInputAdornment,\n MuiPagination,\n MuiSwitch,\n MuiRadio,\n MuiFormGroup,\n MuiBackdrop,\n MuiSvgIcon,\n MuiTimeline,\n MuiFormControlLabel,\n MuiFormLabel,\n MuiFormHelperText,\n MuiAppBar,\n MuiAutocomplete,\n MuiDrawer,\n MuiMenu,\n MuiMenuItem,\n MuiIcon,\n MuiPaper,\n MuiTable,\n MuiTableRow,\n MuiSelect,\n MuiCard,\n MuiOutlinedInput,\n MuiFilledInput,\n};\n"],"names":["MuiTypography","MuiChip","MuiButton","MuiAlert","MuiStack","MuiList","MuiListItemText","MuiListItemIcon","MuiTooltip","MuiDivider","MuiIconButton","MuiTabs","MuiTab","MuiSkeleton","MuiCheckbox","MuiDialog","MuiDialogTitle","MuiDialogContent","MuiDialogActions","MuiTextField","MuiInputBase","MuiInputLabel","MuiInputAdornment","MuiPagination","MuiSwitch","MuiRadio","MuiFormGroup","MuiBackdrop","MuiSvgIcon","MuiTimeline","MuiFormControlLabel","MuiFormLabel","MuiFormHelperText","MuiAppBar","MuiAutocomplete","MuiDrawer","MuiMenu","MuiMenuItem","MuiIcon","MuiPaper","MuiTable","MuiTableRow","MuiSelect","MuiCard","MuiOutlinedInput","MuiFilledInput"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CO,MAAM,aAAkC;AAAA,EAAA,eAC7CA,WAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,UACAC,MAAAA;AAAAA,EAAA,UACAC,MAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,iBACAC,KAAAA;AAAAA,EAAA,iBACAC,KAAAA;AAAAA,EAAA,YACAC,QAAAA;AAAAA,EAAA,YACAC,QAAAA;AAAAA,EAAA,eACAC,WAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,QACAC,IAAAA;AAAAA,EAAA,aACAC,SAAAA;AAAAA,EAAA,aACAC,SAAAA;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,gBACAC,OAAAA;AAAAA,EAAA,kBACAC,OAAAA;AAAAA,EAAA,kBACAC,OAAAA;AAAAA,EAAA,cACAC,UAAAA;AAAAA,EAAA,cACAC,UAAAA;AAAAA,EAAA,eACAC,WAAAA;AAAAA,EAAA,mBACAC,eAAAA;AAAAA,EAAA,eACAC,WAAAA;AAAAA,EAAA,WACAC,QAAAA;AAAAA,EAAA,UACAC,MAAAA;AAAAA,EAAA,cACAC,UAAAA;AAAAA,EAAA,aACAC,SAAAA;AAAAA,EAAA,YACAC,QAAAA;AAAAA,EAAA,aACAC,SAAAA;AAAAA,EAAA,qBACAC,iBAAAA;AAAAA,EAAA,cACAC,UAAAA;AAAAA,EAAA,mBACAC,eAAAA;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,iBACAC,aAAAA;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,aACAC,KAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,UACAC,MAAAA;AAAAA,EAAA,UACAC,MAAAA;AAAAA,EAAA,aACAC,MAAAA;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,SACAC,KAAAA;AAAAA,EAAA,kBACAC,cAAAA;AAAAA,EAAA,gBACAC,YAAAA;AACF;;"}
|
|
@@ -10,18 +10,16 @@ const AppIconButton = ({
|
|
|
10
10
|
tooltip,
|
|
11
11
|
tooltipProps,
|
|
12
12
|
sx,
|
|
13
|
+
hideBorder,
|
|
13
14
|
...props
|
|
14
15
|
}) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
children,
|
|
18
|
-
content
|
|
19
|
-
] });
|
|
20
|
-
}
|
|
21
|
-
return /* @__PURE__ */ jsx(AppTooltip, { description: tooltip, disableInteractive: true, ...tooltipProps, children: /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsxs(IconButton, { component: "button", color, size, ref, sx, ...props, children: [
|
|
16
|
+
const mergedSx = { ...sx, ...hideBorder && { border: "none" } };
|
|
17
|
+
const button = /* @__PURE__ */ jsxs(IconButton, { component: "button", color, size, ref, sx: mergedSx, ...props, children: [
|
|
22
18
|
children,
|
|
23
19
|
content
|
|
24
|
-
] })
|
|
20
|
+
] });
|
|
21
|
+
if (!tooltip) return button;
|
|
22
|
+
return /* @__PURE__ */ jsx(AppTooltip, { description: tooltip, disableInteractive: true, ...tooltipProps, children: /* @__PURE__ */ jsx(Box, { children: button }) });
|
|
25
23
|
};
|
|
26
24
|
AppIconButton.displayName = "AppIconButton";
|
|
27
25
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-icon-button.js","sources":["../../../../src/components/app-icon-button.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box, IconButton, type IconButtonProps } from '@mui/material';\nimport { AppTooltip, AppTooltipProps } from './app-tooltip';\n\n//\n//\n\nexport type AppIconButtonProps = Omit<IconButtonProps, 'component'> & {\n content?: React.ReactNode;\n href?: string;\n tooltip?: string | null;\n tooltipProps?: Omit<AppTooltipProps, 'children' | 'title'>;\n hideBorder?: boolean;\n};\n\nexport const AppIconButton = ({\n ref,\n color = 'secondary',\n size = 'small',\n children,\n content,\n tooltip,\n tooltipProps,\n sx,\n ...props\n}: AppIconButtonProps) => {\n
|
|
1
|
+
{"version":3,"file":"app-icon-button.js","sources":["../../../../src/components/app-icon-button.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box, IconButton, type IconButtonProps } from '@mui/material';\nimport { AppTooltip, AppTooltipProps } from './app-tooltip';\n\n//\n//\n\nexport type AppIconButtonProps = Omit<IconButtonProps, 'component'> & {\n content?: React.ReactNode;\n href?: string;\n tooltip?: string | null;\n tooltipProps?: Omit<AppTooltipProps, 'children' | 'title'>;\n hideBorder?: boolean;\n};\n\nexport const AppIconButton = ({\n ref,\n color = 'secondary',\n size = 'small',\n children,\n content,\n tooltip,\n tooltipProps,\n sx,\n hideBorder,\n ...props\n}: AppIconButtonProps) => {\n const mergedSx = { ...sx, ...(hideBorder && { border: 'none' }) };\n\n const button = (\n <IconButton component=\"button\" color={color} size={size} ref={ref} sx={mergedSx} {...props}>\n {children}\n {content}\n </IconButton>\n );\n\n if (!tooltip) return button;\n\n return (\n <AppTooltip description={tooltip} disableInteractive {...tooltipProps}>\n <Box>{button}</Box>\n </AppTooltip>\n );\n};\n\nAppIconButton.displayName = 'AppIconButton';\n"],"names":[],"mappings":";;;AAgBO,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA,QAAQ;AAAA,EACR,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAA0B;AACxB,QAAM,WAAW,EAAE,GAAG,IAAI,GAAI,cAAc,EAAE,QAAQ,SAAO;AAE7D,QAAM,SACJ,qBAAC,YAAA,EAAW,WAAU,UAAS,OAAc,MAAY,KAAU,IAAI,UAAW,GAAG,OAClF,UAAA;AAAA,IAAA;AAAA,IACA;AAAA,EAAA,GACH;AAGF,MAAI,CAAC,QAAS,QAAO;AAErB,SACE,oBAAC,YAAA,EAAW,aAAa,SAAS,oBAAkB,MAAE,GAAG,cACvD,UAAA,oBAAC,KAAA,EAAK,UAAA,OAAA,CAAO,GACf;AAEJ;AAEA,cAAc,cAAc;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { styled, FormControlLabel, Radio, CircularProgress } from "@mui/material";
|
|
2
|
+
import { styled, FormControlLabel, alpha, Radio, CircularProgress } from "@mui/material";
|
|
3
3
|
import { AppTypography } from "./app-typography.js";
|
|
4
4
|
import { StackColumn } from "./stack-column.js";
|
|
5
5
|
import { StackRow } from "./stack-row.js";
|
|
@@ -42,10 +42,10 @@ const FormControlLabelStyled = styled(FormControlLabel)(({ theme }) => {
|
|
|
42
42
|
gap: theme.spacing(0.5),
|
|
43
43
|
margin: 0,
|
|
44
44
|
padding: theme.spacing(1.5),
|
|
45
|
-
border: `solid 1px ${theme.palette.
|
|
45
|
+
border: `solid 1px ${theme.palette.divider}`,
|
|
46
46
|
borderRadius: theme.shape.standardBorderRadius,
|
|
47
47
|
":has(:checked)": {
|
|
48
|
-
backgroundColor: theme.palette.
|
|
48
|
+
backgroundColor: alpha(theme.palette.primary.main, 0.08),
|
|
49
49
|
borderColor: "#AE72FF80"
|
|
50
50
|
},
|
|
51
51
|
overflow: "hidden",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-input-radio-card.js","sources":["../../../../src/components/app-input-radio-card.tsx"],"sourcesContent":["import React from 'react';\nimport {\n FormControlLabelProps,\n StackProps,\n RadioProps,\n FormControlLabel,\n Radio,\n CircularProgress,\n styled,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppInputRadioCardProps = Omit<FormControlLabelProps, 'control' | 'label'> & {\n label: string | React.ReactNode;\n labelProps?: AppTypographyProps;\n labelContainerProps?: StackProps;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n radioProps?: RadioProps;\n isLoading?: boolean;\n labelSuffix?: React.ReactNode;\n icon?: React.ReactNode;\n};\n\nexport const AppInputRadioCard: React.FC<AppInputRadioCardProps> = ({\n label,\n labelProps,\n labelContainerProps,\n description,\n descriptionProps,\n radioProps,\n isLoading,\n labelSuffix,\n icon,\n ...props\n}) => {\n return (\n <FormControlLabelStyled\n {...props}\n control={<RadioStyled {...radioProps} />}\n label={\n <StackRow justifyContent=\"space-between\" alignItems=\"center\">\n <StackColumn gap={0} overflow=\"hidden\" {...labelContainerProps}>\n {isLoading && <CircularProgressStyled />}\n\n {typeof label === 'string' ? (\n <StackRow width=\"100%\" justifyContent=\"space-between\">\n <AppTypography variant=\"body2\" {...labelProps}>\n {label}\n </AppTypography>\n {labelSuffix ? labelSuffix : null}\n </StackRow>\n ) : (\n label\n )}\n {description && (\n <RadioDescriptionStyled variant=\"caption\" color=\"text.tertiary\" {...descriptionProps}>\n {description}\n </RadioDescriptionStyled>\n )}\n </StackColumn>\n\n {icon}\n </StackRow>\n }\n />\n );\n};\n\n//\n\nconst FormControlLabelStyled = styled(FormControlLabel)(({ theme }) => {\n return {\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: theme.spacing(0.5),\n margin: 0,\n padding: theme.spacing(1.5),\n border: `solid 1px ${theme.palette.
|
|
1
|
+
{"version":3,"file":"app-input-radio-card.js","sources":["../../../../src/components/app-input-radio-card.tsx"],"sourcesContent":["import React from 'react';\nimport {\n FormControlLabelProps,\n StackProps,\n RadioProps,\n FormControlLabel,\n Radio,\n CircularProgress,\n styled,\n alpha,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppInputRadioCardProps = Omit<FormControlLabelProps, 'control' | 'label'> & {\n label: string | React.ReactNode;\n labelProps?: AppTypographyProps;\n labelContainerProps?: StackProps;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n radioProps?: RadioProps;\n isLoading?: boolean;\n labelSuffix?: React.ReactNode;\n icon?: React.ReactNode;\n};\n\nexport const AppInputRadioCard: React.FC<AppInputRadioCardProps> = ({\n label,\n labelProps,\n labelContainerProps,\n description,\n descriptionProps,\n radioProps,\n isLoading,\n labelSuffix,\n icon,\n ...props\n}) => {\n return (\n <FormControlLabelStyled\n {...props}\n control={<RadioStyled {...radioProps} />}\n label={\n <StackRow justifyContent=\"space-between\" alignItems=\"center\">\n <StackColumn gap={0} overflow=\"hidden\" {...labelContainerProps}>\n {isLoading && <CircularProgressStyled />}\n\n {typeof label === 'string' ? (\n <StackRow width=\"100%\" justifyContent=\"space-between\">\n <AppTypography variant=\"body2\" {...labelProps}>\n {label}\n </AppTypography>\n {labelSuffix ? labelSuffix : null}\n </StackRow>\n ) : (\n label\n )}\n {description && (\n <RadioDescriptionStyled variant=\"caption\" color=\"text.tertiary\" {...descriptionProps}>\n {description}\n </RadioDescriptionStyled>\n )}\n </StackColumn>\n\n {icon}\n </StackRow>\n }\n />\n );\n};\n\n//\n\nconst FormControlLabelStyled = styled(FormControlLabel)(({ theme }) => {\n return {\n position: 'relative',\n display: 'flex',\n alignItems: 'flex-start',\n gap: theme.spacing(0.5),\n margin: 0,\n padding: theme.spacing(1.5),\n border: `solid 1px ${theme.palette.divider}`,\n borderRadius: theme.shape.standardBorderRadius,\n ':has(:checked)': {\n backgroundColor: alpha(theme.palette.primary.main, 0.08),\n borderColor: '#AE72FF80',\n },\n overflow: 'hidden',\n '> .MuiFormControlLabel-label': {\n overflow: 'hidden',\n },\n '& .MuiFormControlLabel-label': {\n width: '100%',\n },\n };\n});\n\nconst RadioStyled = styled(Radio)(({ theme }) => {\n return {\n width: theme.spacing(2.5),\n minWidth: theme.spacing(2.5),\n height: theme.spacing(2.5),\n padding: 0,\n };\n});\n\nconst RadioDescriptionStyled = styled(AppTypography)(() => {\n return {\n display: '-webkit-box',\n WebkitLineClamp: 3,\n WebkitBoxOrient: 'vertical',\n overflow: 'hidden',\n };\n});\n\nconst CircularProgressStyled = styled(CircularProgress)(() => {\n return {\n position: 'absolute',\n left: 'calc(50% - 20px)',\n top: 'calc(50% - 20px)',\n };\n});\n"],"names":[],"mappings":";;;;;AA8BO,MAAM,oBAAsD,CAAC;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,SAAS,oBAAC,aAAA,EAAa,GAAG,WAAA,CAAY;AAAA,MACtC,OACE,qBAAC,UAAA,EAAS,gBAAe,iBAAgB,YAAW,UAClD,UAAA;AAAA,QAAA,qBAAC,eAAY,KAAK,GAAG,UAAS,UAAU,GAAG,qBACxC,UAAA;AAAA,UAAA,iCAAc,wBAAA,EAAuB;AAAA,UAErC,OAAO,UAAU,WAChB,qBAAC,YAAS,OAAM,QAAO,gBAAe,iBACpC,UAAA;AAAA,YAAA,oBAAC,eAAA,EAAc,SAAQ,SAAS,GAAG,YAChC,UAAA,OACH;AAAA,YACC,cAAc,cAAc;AAAA,UAAA,EAAA,CAC/B,IAEA;AAAA,UAED,mCACE,wBAAA,EAAuB,SAAQ,WAAU,OAAM,iBAAiB,GAAG,kBACjE,UAAA,YAAA,CACH;AAAA,QAAA,GAEJ;AAAA,QAEC;AAAA,MAAA,EAAA,CACH;AAAA,IAAA;AAAA,EAAA;AAIR;AAIA,MAAM,yBAAyB,OAAO,gBAAgB,EAAE,CAAC,EAAE,YAAY;AACrE,SAAO;AAAA,IACL,UAAU;AAAA,IACV,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,KAAK,MAAM,QAAQ,GAAG;AAAA,IACtB,QAAQ;AAAA,IACR,SAAS,MAAM,QAAQ,GAAG;AAAA,IAC1B,QAAQ,aAAa,MAAM,QAAQ,OAAO;AAAA,IAC1C,cAAc,MAAM,MAAM;AAAA,IAC1B,kBAAkB;AAAA,MAChB,iBAAiB,MAAM,MAAM,QAAQ,QAAQ,MAAM,IAAI;AAAA,MACvD,aAAa;AAAA,IAAA;AAAA,IAEf,UAAU;AAAA,IACV,gCAAgC;AAAA,MAC9B,UAAU;AAAA,IAAA;AAAA,IAEZ,gCAAgC;AAAA,MAC9B,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ,CAAC;AAED,MAAM,cAAc,OAAO,KAAK,EAAE,CAAC,EAAE,YAAY;AAC/C,SAAO;AAAA,IACL,OAAO,MAAM,QAAQ,GAAG;AAAA,IACxB,UAAU,MAAM,QAAQ,GAAG;AAAA,IAC3B,QAAQ,MAAM,QAAQ,GAAG;AAAA,IACzB,SAAS;AAAA,EAAA;AAEb,CAAC;AAED,MAAM,yBAAyB,OAAO,aAAa,EAAE,MAAM;AACzD,SAAO;AAAA,IACL,SAAS;AAAA,IACT,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,UAAU;AAAA,EAAA;AAEd,CAAC;AAED,MAAM,yBAAyB,OAAO,gBAAgB,EAAE,MAAM;AAC5D,SAAO;AAAA,IACL,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAK;AAAA,EAAA;AAET,CAAC;"}
|
|
@@ -122,9 +122,9 @@ const MuiAppBar = {
|
|
|
122
122
|
{
|
|
123
123
|
props: { color: "transparent" },
|
|
124
124
|
style: ({ theme: theme2 }) => ({
|
|
125
|
-
backgroundColor: theme2.palette.background.
|
|
125
|
+
backgroundColor: theme2.palette.background.sidebar,
|
|
126
126
|
boxShadow: theme2.shadows[0],
|
|
127
|
-
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
|
|
127
|
+
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2 ?? theme2.palette.divider}`,
|
|
128
128
|
"& .MuiTextField-root": {
|
|
129
129
|
"& .MuiOutlinedInput-root": {
|
|
130
130
|
"& fieldset": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.
|
|
1
|
+
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.sidebar,\n boxShadow: theme.shadows[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2 ?? theme.palette.divider}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["theme"],"mappings":"AAKO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC;AAAA,UAC9B,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,uBAAuB;AAAA,UACrB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,2BAA2B;AAAA,UACzB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,UAAU;AAAA,QACR,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,OAAO;AAAA,QACP,0BAA0B;AAAA,UACxB,WAAW;AAAA,QAAA;AAAA,MACb;AAAA;AAAA,MAGF,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,OAAO,UAAA;AAAA,UAChB,OAAO,CAAC,EAAE,OAAAA,cAAa;AAAA,YACrB,wGACE;AAAA,cACE,OAAOA,OAAM,QAAQ,OAAO,aAAa;AAAA,YAAA;A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
1
|
-
{"version":3,"file":"backdrop.js","sources":["../../../../../src/theme/components/backdrop.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiBackdrop: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiBackdrop'] = {\n styleOverrides: {\n root: {\n backgroundColor:
|
|
1
|
+
{"version":3,"file":"backdrop.js","sources":["../../../../../src/theme/components/backdrop.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiBackdrop: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiBackdrop'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n backgroundColor: theme.palette._components.backdrop.fill,\n }),\n },\n};\n"],"names":[],"mappings":"AAKO,MAAM,cAEM;AAAA,EACjB,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,iBAAiB,MAAM,QAAQ,YAAY,SAAS;AAAA,IAAA;AAAA,EACtD;AAEJ;"}
|