@zidsa/zidmui 2.1.5 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/cjs/theme/components/app-bar.js +153 -0
- package/dist/react/cjs/theme/components/app-bar.js.map +1 -0
- package/dist/react/cjs/theme/components/autocomplete.js +14 -0
- package/dist/react/cjs/theme/components/autocomplete.js.map +1 -0
- package/dist/react/cjs/theme/components/backdrop.js +11 -0
- package/dist/react/cjs/theme/components/backdrop.js.map +1 -0
- package/dist/react/cjs/theme/components/card.js +31 -0
- package/dist/react/cjs/theme/components/card.js.map +1 -0
- package/dist/react/cjs/theme/components/drawer.js +37 -0
- package/dist/react/cjs/theme/components/drawer.js.map +1 -0
- package/dist/react/cjs/theme/components/form-control-label.js +14 -0
- package/dist/react/cjs/theme/components/form-control-label.js.map +1 -0
- package/dist/react/cjs/theme/components/form-helper-text.js +46 -0
- package/dist/react/cjs/theme/components/form-helper-text.js.map +1 -0
- package/dist/react/cjs/theme/components/form-label.js +31 -0
- package/dist/react/cjs/theme/components/form-label.js.map +1 -0
- package/dist/react/cjs/theme/components/icon.js +77 -0
- package/dist/react/cjs/theme/components/icon.js.map +1 -0
- package/dist/react/cjs/theme/components/menu.js +26 -0
- package/dist/react/cjs/theme/components/menu.js.map +1 -0
- package/dist/react/cjs/theme/components/paper.js +11 -0
- package/dist/react/cjs/theme/components/paper.js.map +1 -0
- package/dist/react/cjs/theme/components/select.js +32 -0
- package/dist/react/cjs/theme/components/select.js.map +1 -0
- package/dist/react/cjs/theme/components/svg-icon.js +14 -0
- package/dist/react/cjs/theme/components/svg-icon.js.map +1 -0
- package/dist/react/cjs/theme/components/switch.js +2 -2
- package/dist/react/cjs/theme/components/switch.js.map +1 -1
- package/dist/react/cjs/theme/components/table.js +45 -0
- package/dist/react/cjs/theme/components/table.js.map +1 -0
- package/dist/react/cjs/theme/components/timeline.js +43 -0
- package/dist/react/cjs/theme/components/timeline.js.map +1 -0
- package/dist/react/cjs/theme/components.js +33 -1
- package/dist/react/cjs/theme/components.js.map +1 -1
- package/dist/react/es/theme/components/app-bar.js +153 -0
- package/dist/react/es/theme/components/app-bar.js.map +1 -0
- package/dist/react/es/theme/components/autocomplete.js +14 -0
- package/dist/react/es/theme/components/autocomplete.js.map +1 -0
- package/dist/react/es/theme/components/backdrop.js +11 -0
- package/dist/react/es/theme/components/backdrop.js.map +1 -0
- package/dist/react/es/theme/components/card.js +31 -0
- package/dist/react/es/theme/components/card.js.map +1 -0
- package/dist/react/es/theme/components/drawer.js +37 -0
- package/dist/react/es/theme/components/drawer.js.map +1 -0
- package/dist/react/es/theme/components/form-control-label.js +14 -0
- package/dist/react/es/theme/components/form-control-label.js.map +1 -0
- package/dist/react/es/theme/components/form-helper-text.js +46 -0
- package/dist/react/es/theme/components/form-helper-text.js.map +1 -0
- package/dist/react/es/theme/components/form-label.js +31 -0
- package/dist/react/es/theme/components/form-label.js.map +1 -0
- package/dist/react/es/theme/components/icon.js +77 -0
- package/dist/react/es/theme/components/icon.js.map +1 -0
- package/dist/react/es/theme/components/menu.js +26 -0
- package/dist/react/es/theme/components/menu.js.map +1 -0
- package/dist/react/es/theme/components/paper.js +11 -0
- package/dist/react/es/theme/components/paper.js.map +1 -0
- package/dist/react/es/theme/components/select.js +32 -0
- package/dist/react/es/theme/components/select.js.map +1 -0
- package/dist/react/es/theme/components/svg-icon.js +14 -0
- package/dist/react/es/theme/components/svg-icon.js.map +1 -0
- package/dist/react/es/theme/components/switch.js +2 -2
- package/dist/react/es/theme/components/switch.js.map +1 -1
- package/dist/react/es/theme/components/table.js +45 -0
- package/dist/react/es/theme/components/table.js.map +1 -0
- package/dist/react/es/theme/components/timeline.js +43 -0
- package/dist/react/es/theme/components/timeline.js.map +1 -0
- package/dist/react/es/theme/components.js +33 -1
- package/dist/react/es/theme/components.js.map +1 -1
- package/dist/react/types/theme/components/app-bar.d.ts +2 -0
- package/dist/react/types/theme/components/autocomplete.d.ts +2 -0
- package/dist/react/types/theme/components/backdrop.d.ts +2 -0
- package/dist/react/types/theme/components/card.d.ts +2 -0
- package/dist/react/types/theme/components/drawer.d.ts +2 -0
- package/dist/react/types/theme/components/form-control-label.d.ts +2 -0
- package/dist/react/types/theme/components/form-helper-text.d.ts +2 -0
- package/dist/react/types/theme/components/form-label.d.ts +2 -0
- package/dist/react/types/theme/components/icon.d.ts +2 -0
- package/dist/react/types/theme/components/menu.d.ts +3 -0
- package/dist/react/types/theme/components/paper.d.ts +2 -0
- package/dist/react/types/theme/components/select.d.ts +2 -0
- package/dist/react/types/theme/components/svg-icon.d.ts +2 -0
- package/dist/react/types/theme/components/table.d.ts +3 -0
- package/dist/react/types/theme/components/timeline.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sources":["../../../../../src/theme/components/switch.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\nconst createSwitchActiveStyles = (theme: CssVarsTheme, colorKey: 'primary' | 'error') => {\n const toggleCircleSize = theme.spacing(1.83);\n const pressedToggleCircleSize = theme.spacing(2.25);\n const transformValue = theme.spacing(0.5);\n\n return {\n '&:active': {\n '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.[colorKey]?.pressedBackground,\n boxShadow: 'none',\n },\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: 'translateX(0)',\n borderRadius: toggleCircleSize,\n },\n },\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: `translateX(-${transformValue})`,\n borderRadius: toggleCircleSize,\n },\n },\n },\n };\n};\n\nexport const MuiSwitch: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiSwitch'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'primary'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.primary?.activeBackground,\n },\n },\n }),\n },\n {\n props: { color: 'error' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'error'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.error?.activeBackground,\n },\n },\n }),\n },\n ],\n styleOverrides: {\n root: ({ theme }) => {\n const toggleSwitchWidth = theme.spacing(4);\n const toggleSwitchHeight = theme.spacing(2.5);\n const toggleCircleSize = theme.spacing(1.83);\n const innerMargin = theme.spacing(0.33);\n const shadowValue = theme.spacing(0, 0, 0, 0.25);\n const transformValue = theme.spacing(1.51); // 4 - 1.83 - 0.33 * 2 = 1.51\n\n return {\n width: toggleSwitchWidth,\n height: toggleSwitchHeight,\n padding: 0,\n overflow: 'visible',\n
|
|
1
|
+
{"version":3,"file":"switch.js","sources":["../../../../../src/theme/components/switch.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\nconst createSwitchActiveStyles = (theme: CssVarsTheme, colorKey: 'primary' | 'error') => {\n const toggleCircleSize = theme.spacing(1.83);\n const pressedToggleCircleSize = theme.spacing(2.25);\n const transformValue = theme.spacing(0.5);\n\n return {\n '&:active': {\n '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.[colorKey]?.pressedBackground,\n boxShadow: 'none',\n },\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: 'translateX(0)',\n borderRadius: toggleCircleSize,\n },\n },\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: `translateX(-${transformValue})`,\n borderRadius: toggleCircleSize,\n },\n },\n },\n };\n};\n\nexport const MuiSwitch: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiSwitch'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'primary'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.primary?.activeBackground,\n },\n },\n }),\n },\n {\n props: { color: 'error' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'error'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.error?.activeBackground,\n },\n },\n }),\n },\n ],\n styleOverrides: {\n root: ({ theme }) => {\n const toggleSwitchWidth = theme.spacing(4);\n const toggleSwitchHeight = theme.spacing(2.5);\n const toggleCircleSize = theme.spacing(1.83);\n const innerMargin = theme.spacing(0.33);\n const shadowValue = theme.spacing(0, 0, 0, 0.25);\n const transformValue = theme.spacing(1.51); // 4 - 1.83 - 0.33 * 2 = 1.51\n\n return {\n width: toggleSwitchWidth,\n height: toggleSwitchHeight,\n padding: 0,\n overflow: 'visible',\n marginInlineStart: theme.spacing(0),\n marginInlineEnd: theme.spacing(1),\n '&:hover': {\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: `${shadowValue} ${theme.palette._components.switch?.shadow}`,\n },\n },\n '& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-switchBase': {\n padding: 0,\n margin: innerMargin,\n width: toggleCircleSize,\n transitionDuration: '300ms',\n '&.Mui-checked': {\n transform: `translateX(${transformValue})`,\n color: theme.palette._components?.switch?.knobFillEnabled,\n '& + .MuiSwitch-track': {\n opacity: 1,\n boxShadow: 'none',\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.5,\n },\n },\n '&.Mui-focusVisible .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.color,\n boxShadow: `${shadowValue} ${theme.palette._components?.switch?.background}`,\n },\n '&.Mui-disabled .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.knobFillEnabled,\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.7,\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-thumb': {\n boxSizing: 'border-box',\n width: toggleCircleSize,\n height: toggleCircleSize,\n borderRadius: toggleCircleSize,\n borderWidth: theme.spacing(0.08375),\n borderStyle: 'solid',\n borderColor: theme.palette._components.switch.knowFillDisabled,\n boxShadow: theme.shadows[2],\n transition: theme.transitions.create(['transform'], {\n duration: 300,\n }),\n },\n '& .MuiSwitch-track': {\n borderRadius: theme.spacing(8.25),\n backgroundColor: theme.palette._components.switch?.slideFill,\n opacity: 1,\n transition: theme.transitions.create(['background-color'], {\n duration: 500,\n }),\n boxShadow: `${shadowValue} transparent`,\n },\n };\n },\n },\n};\n"],"names":[],"mappings":";;AAGA,MAAM,2BAA2B,CAAC,OAAqB,aAAkC;AACvF,QAAM,mBAAmB,MAAM,QAAQ,IAAI;AAC3C,QAAM,0BAA0B,MAAM,QAAQ,IAAI;AAClD,QAAM,iBAAiB,MAAM,QAAQ,GAAG;AAExC,SAAO;AAAA,IACL,YAAY;AAAA,MACV,0DAA0D;AAAA,QACxD,iBAAiB,MAAM,QAAQ,YAAY,SAAS,QAAQ,GAAG;AAAA,QAC/D,WAAW;AAAA,MAAA;A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,QAAQ,OAAO;AAAA,UAClC,aAAa;AAAA,UACb,aAAa,MAAM,QAAQ,YAAY,OAAO;AAAA,UAC9C,WAAW,MAAM,QAAQ,CAAC;AAAA,UAC1B,YAAY,MAAM,YAAY,OAAO,CAAC,WAAW,GAAG;AAAA,YAClD,UAAU;AAAA,UAAA,CACX;AAAA,QAAA;AAAA,QAEH,sBAAsB;AAAA,UACpB,cAAc,MAAM,QAAQ,IAAI;AAAA,UAChC,iBAAiB,MAAM,QAAQ,YAAY,QAAQ;AAAA,UACnD,SAAS;AAAA,UACT,YAAY,MAAM,YAAY,OAAO,CAAC,kBAAkB,GAAG;AAAA,YACzD,UAAU;AAAA,UAAA,CACX;AAAA,UACD,WAAW,GAAG,WAAW;AAAA,QAAA;AAAA,MAC3B;AAAA,IAEJ;AAAA,EAAA;AAEJ;;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiTable = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
border: "none",
|
|
7
|
+
".MuiTableHead-root": {
|
|
8
|
+
".MuiTableCell-root": {
|
|
9
|
+
borderBottom: `1px solid ${theme.palette.background.gray200}`,
|
|
10
|
+
borderTop: `1px solid ${theme.palette.background.gray200}`,
|
|
11
|
+
background: theme.palette.background.gray,
|
|
12
|
+
verticalAlign: "baseline"
|
|
13
|
+
},
|
|
14
|
+
whiteSpace: "nowrap"
|
|
15
|
+
},
|
|
16
|
+
".MuiTableBody-root": {
|
|
17
|
+
".MuiTableRow-root": {
|
|
18
|
+
".MuiTableCell-root": {
|
|
19
|
+
borderBottom: `1px solid ${theme.palette.background.gray200}`,
|
|
20
|
+
borderTop: `1px solid ${theme.palette.background.gray200}`
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
".MuiTableRow-root:last-child": {
|
|
24
|
+
".MuiTableCell-root": {
|
|
25
|
+
borderBottom: "none"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const MuiTableRow = {
|
|
33
|
+
styleOverrides: {
|
|
34
|
+
root: ({ ownerState }) => ({
|
|
35
|
+
...ownerState["disable-row-hover"] ? {} : {
|
|
36
|
+
"&:hover": {
|
|
37
|
+
backgroundColor: "#FBFBFB"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.MuiTable = MuiTable;
|
|
44
|
+
exports.MuiTableRow = MuiTableRow;
|
|
45
|
+
//# sourceMappingURL=table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../../../../../src/theme/components/table.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTable: Components<Theme & CssVarsTheme>['MuiTable'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n\n '.MuiTableHead-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n background: theme.palette.background.gray,\n verticalAlign: 'baseline',\n },\n whiteSpace: 'nowrap',\n },\n\n '.MuiTableBody-root': {\n '.MuiTableRow-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n },\n },\n\n '.MuiTableRow-root:last-child': {\n '.MuiTableCell-root': {\n borderBottom: 'none',\n },\n },\n },\n }),\n },\n};\n\nexport const MuiTableRow: Components<Theme & CssVarsTheme>['MuiTableRow'] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState['disable-row-hover']\n ? {}\n : {\n '&:hover': {\n backgroundColor: '#FBFBFB',\n },\n }),\n }),\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,WAAyD;AAAA,EACpE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,MAER,sBAAsB;AAAA,QACpB,sBAAsB;AAAA,UACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UACxD,YAAY,MAAM,QAAQ,WAAW;AAAA,UACrC,eAAe;AAAA,QAAA;AAAA,QAEjB,YAAY;AAAA,MAAA;AAAA,MAGd,sBAAsB;AAAA,QACpB,qBAAqB;AAAA,UACnB,sBAAsB;AAAA,YACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,YAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAAA;AAAA,QAC1D;AAAA,QAGF,gCAAgC;AAAA,UAC9B,sBAAsB;AAAA,YACpB,cAAc;AAAA,UAAA;AAAA,QAChB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;AAEO,MAAM,cAA+D;AAAA,EAC1E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,kBAAkB;AAAA,MACzB,GAAI,WAAW,mBAAmB,IAC9B,KACA;AAAA,QACE,WAAW;AAAA,UACT,iBAAiB;AAAA,QAAA;AAAA,MACnB;AAAA,IACF;AAAA,EACN;AAEJ;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiTimeline = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
variants: [
|
|
7
|
+
{
|
|
8
|
+
// noOppositeContent is used to remove the opposite content,
|
|
9
|
+
// which is the content that is on the other side of the timeline item depending on the language
|
|
10
|
+
props: { noOppositeContent: true },
|
|
11
|
+
style: {
|
|
12
|
+
[`.MuiTimelineItem-root:before`]: {
|
|
13
|
+
flex: 0,
|
|
14
|
+
padding: 0
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
props: { color: "error", variant: "text" },
|
|
20
|
+
style: {
|
|
21
|
+
backgroundColor: "transparent",
|
|
22
|
+
color: theme.palette._components.button.error.outlinedText,
|
|
23
|
+
borderColor: "transparent",
|
|
24
|
+
"&:hover": { backgroundColor: theme.palette._components.button.error.outlinedHover },
|
|
25
|
+
"&.Mui-focusVisible": {
|
|
26
|
+
backgroundColor: "transparent"
|
|
27
|
+
},
|
|
28
|
+
"&:active": {
|
|
29
|
+
backgroundColor: theme.palette._components.button.error.pressed
|
|
30
|
+
},
|
|
31
|
+
"&.Mui-disabled": {
|
|
32
|
+
backgroundColor: "transparent",
|
|
33
|
+
borderColor: "transparent",
|
|
34
|
+
color: theme.palette._components.button.disabledText
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.MuiTimeline = MuiTimeline;
|
|
43
|
+
//# sourceMappingURL=timeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline.js","sources":["../../../../../src/theme/components/timeline.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiTimeline: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiTimeline'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n variants: [\n {\n // noOppositeContent is used to remove the opposite content,\n // which is the content that is on the other side of the timeline item depending on the language\n props: { noOppositeContent: true },\n style: {\n [`.MuiTimelineItem-root:before`]: {\n flex: 0,\n padding: 0,\n },\n },\n },\n {\n props: { color: 'error', variant: 'text' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.button.error.outlinedText,\n borderColor: 'transparent',\n '&:hover': { backgroundColor: theme.palette._components.button.error.outlinedHover },\n '&.Mui-focusVisible': {\n backgroundColor: 'transparent',\n },\n '&:active': {\n backgroundColor: theme.palette._components.button.error.pressed,\n },\n '&.Mui-disabled': {\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n color: theme.palette._components.button.disabledText,\n },\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,cAEM;AAAA,EACjB,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,UAAU;AAAA,QACR;AAAA;AAAA;AAAA,UAGE,OAAO,EAAE,mBAAmB,KAAA;AAAA,UAC5B,OAAO;AAAA,YACL,CAAC,8BAA8B,GAAG;AAAA,cAChC,MAAM;AAAA,cACN,SAAS;AAAA,YAAA;AAAA,UACX;AAAA,QACF;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,SAAS,SAAS,OAAA;AAAA,UAClC,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,OAAO,MAAM;AAAA,YAC9C,aAAa;AAAA,YACb,WAAW,EAAE,iBAAiB,MAAM,QAAQ,YAAY,OAAO,MAAM,cAAA;AAAA,YACrE,sBAAsB;AAAA,cACpB,iBAAiB;AAAA,YAAA;AAAA,YAEnB,YAAY;AAAA,cACV,iBAAiB,MAAM,QAAQ,YAAY,OAAO,MAAM;AAAA,YAAA;AAAA,YAE1D,kBAAkB;AAAA,cAChB,iBAAiB;AAAA,cACjB,aAAa;AAAA,cACb,OAAO,MAAM,QAAQ,YAAY,OAAO;AAAA,YAAA;AAAA,UAC1C;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -22,6 +22,21 @@ const pagination = require("./components/pagination.js");
|
|
|
22
22
|
const _switch = require("./components/switch.js");
|
|
23
23
|
const radio = require("./components/radio.js");
|
|
24
24
|
const formGroup = require("./components/form-group.js");
|
|
25
|
+
const backdrop = require("./components/backdrop.js");
|
|
26
|
+
const svgIcon = require("./components/svg-icon.js");
|
|
27
|
+
const timeline = require("./components/timeline.js");
|
|
28
|
+
const formControlLabel = require("./components/form-control-label.js");
|
|
29
|
+
const formLabel = require("./components/form-label.js");
|
|
30
|
+
const formHelperText = require("./components/form-helper-text.js");
|
|
31
|
+
const appBar = require("./components/app-bar.js");
|
|
32
|
+
const autocomplete = require("./components/autocomplete.js");
|
|
33
|
+
const drawer = require("./components/drawer.js");
|
|
34
|
+
const menu = require("./components/menu.js");
|
|
35
|
+
const icon = require("./components/icon.js");
|
|
36
|
+
const paper = require("./components/paper.js");
|
|
37
|
+
const table = require("./components/table.js");
|
|
38
|
+
const select = require("./components/select.js");
|
|
39
|
+
const card = require("./components/card.js");
|
|
25
40
|
const components = {
|
|
26
41
|
MuiTypography: typography.MuiTypography,
|
|
27
42
|
MuiChip: chip.MuiChip,
|
|
@@ -49,7 +64,24 @@ const components = {
|
|
|
49
64
|
MuiPagination: pagination.MuiPagination,
|
|
50
65
|
MuiSwitch: _switch.MuiSwitch,
|
|
51
66
|
MuiRadio: radio.MuiRadio,
|
|
52
|
-
MuiFormGroup: formGroup.MuiFormGroup
|
|
67
|
+
MuiFormGroup: formGroup.MuiFormGroup,
|
|
68
|
+
MuiBackdrop: backdrop.MuiBackdrop,
|
|
69
|
+
MuiSvgIcon: svgIcon.MuiSvgIcon,
|
|
70
|
+
MuiTimeline: timeline.MuiTimeline,
|
|
71
|
+
MuiFormControlLabel: formControlLabel.MuiFormControlLabel,
|
|
72
|
+
MuiFormLabel: formLabel.MuiFormLabel,
|
|
73
|
+
MuiFormHelperText: formHelperText.MuiFormHelperText,
|
|
74
|
+
MuiAppBar: appBar.MuiAppBar,
|
|
75
|
+
MuiAutocomplete: autocomplete.MuiAutocomplete,
|
|
76
|
+
MuiDrawer: drawer.MuiDrawer,
|
|
77
|
+
MuiMenu: menu.MuiMenu,
|
|
78
|
+
MuiMenuItem: menu.MuiMenuItem,
|
|
79
|
+
MuiIcon: icon.MuiIcon,
|
|
80
|
+
MuiPaper: paper.MuiPaper,
|
|
81
|
+
MuiTable: table.MuiTable,
|
|
82
|
+
MuiTableRow: table.MuiTableRow,
|
|
83
|
+
MuiSelect: select.MuiSelect,
|
|
84
|
+
MuiCard: card.MuiCard
|
|
53
85
|
};
|
|
54
86
|
exports.components = components;
|
|
55
87
|
//# 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';\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};\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"],"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';\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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;AAAAA,EAAA,WACAC,OAAAA;AAAAA,EAAA,SACAC,KAAAA;AACF;;"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { palette } from "../palette.js";
|
|
2
|
+
import { shadows } from "../shadows.js";
|
|
3
|
+
const MuiAppBar = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
boxShadow: shadows?.[4],
|
|
7
|
+
input: {
|
|
8
|
+
fontSize: 14,
|
|
9
|
+
"&:-webkit-autofill": {
|
|
10
|
+
transitionDelay: "9999s !important"
|
|
11
|
+
},
|
|
12
|
+
"&::-webkit-input-placeholder": {
|
|
13
|
+
opacity: 1,
|
|
14
|
+
color: theme.palette.text.secondary
|
|
15
|
+
},
|
|
16
|
+
"&::-moz-placeholder": {
|
|
17
|
+
opacity: 1,
|
|
18
|
+
color: theme.palette.text.secondary
|
|
19
|
+
},
|
|
20
|
+
"&:-ms-input-placeholder": {
|
|
21
|
+
opacity: 1,
|
|
22
|
+
color: theme.palette.text.secondary
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"& form": {
|
|
26
|
+
margin: 0,
|
|
27
|
+
maxWidth: 564,
|
|
28
|
+
width: "100%",
|
|
29
|
+
"& .MuiFormControl-root": {
|
|
30
|
+
marginTop: 0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
//
|
|
34
|
+
variants: [
|
|
35
|
+
{
|
|
36
|
+
props: { color: "primary" },
|
|
37
|
+
style: ({ theme: theme2 }) => ({
|
|
38
|
+
"& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root": {
|
|
39
|
+
color: theme2.palette.common.white_states.main
|
|
40
|
+
},
|
|
41
|
+
input: {
|
|
42
|
+
color: theme2.palette.primary.contrastText,
|
|
43
|
+
"&::-webkit-input-placeholder": {
|
|
44
|
+
opacity: 1,
|
|
45
|
+
color: theme2.palette.primary.contrastText
|
|
46
|
+
},
|
|
47
|
+
"&::-moz-placeholder": {
|
|
48
|
+
opacity: 1,
|
|
49
|
+
color: theme2.palette.primary.contrastText
|
|
50
|
+
},
|
|
51
|
+
"&:-ms-input-placeholder": {
|
|
52
|
+
opacity: 1,
|
|
53
|
+
color: theme2.palette.primary.contrastText
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"& .MuiTextField-root": {
|
|
57
|
+
"& .MuiOutlinedInput-root": {
|
|
58
|
+
"& fieldset": {
|
|
59
|
+
border: "none",
|
|
60
|
+
background: theme2.palette.common.white_states.focusVisible
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
})
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
props: { color: "default" },
|
|
68
|
+
style: ({ theme: theme2 }) => ({
|
|
69
|
+
"& .MuiTextField-root": {
|
|
70
|
+
"& .MuiOutlinedInput-root": {
|
|
71
|
+
"& fieldset": {
|
|
72
|
+
border: "none",
|
|
73
|
+
background: theme2.palette.common.black_states.selected
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
})
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
props: { color: "secondary" },
|
|
81
|
+
style: ({ theme: theme2 }) => ({
|
|
82
|
+
"& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root": {
|
|
83
|
+
color: theme2.palette.common.white_states.main
|
|
84
|
+
},
|
|
85
|
+
input: {
|
|
86
|
+
opacity: 1,
|
|
87
|
+
color: theme2.palette.primary.contrastText,
|
|
88
|
+
"&::-webkit-input-placeholder": {
|
|
89
|
+
opacity: 1,
|
|
90
|
+
color: theme2.palette.primary.contrastText
|
|
91
|
+
},
|
|
92
|
+
"&::-moz-placeholder, &:-ms-input-placeholder": {
|
|
93
|
+
opacity: 1,
|
|
94
|
+
color: theme2.palette.primary.contrastText
|
|
95
|
+
},
|
|
96
|
+
"&:-ms-input-placeholder": {
|
|
97
|
+
opacity: 1,
|
|
98
|
+
color: theme2.palette.primary.contrastText
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"& .MuiTextField-root": {
|
|
102
|
+
"& .MuiOutlinedInput-root": {
|
|
103
|
+
"& fieldset": {
|
|
104
|
+
border: "none",
|
|
105
|
+
background: theme2.palette.common.white_states.focus
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
props: { color: "inherit" },
|
|
113
|
+
style: ({ theme: theme2 }) => ({
|
|
114
|
+
"& .MuiTextField-root": {
|
|
115
|
+
"& .MuiOutlinedInput-root": {
|
|
116
|
+
"& fieldset": {
|
|
117
|
+
border: "none",
|
|
118
|
+
background: theme2.palette.common.black_states.hover
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
props: { color: "transparent" },
|
|
126
|
+
style: ({ theme: theme2 }) => ({
|
|
127
|
+
backgroundColor: palette?.background?.default,
|
|
128
|
+
boxShadow: shadows?.[0],
|
|
129
|
+
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
|
|
130
|
+
"& .MuiTextField-root": {
|
|
131
|
+
"& .MuiOutlinedInput-root": {
|
|
132
|
+
"& fieldset": {
|
|
133
|
+
borderColor: theme2.palette?.outlined?.outlined,
|
|
134
|
+
background: theme2.palette?.common?.black_states?.hover
|
|
135
|
+
},
|
|
136
|
+
"&.Mui-focused fieldset": {
|
|
137
|
+
borderColor: theme2.palette.primary.main
|
|
138
|
+
},
|
|
139
|
+
"&:active fieldset": {
|
|
140
|
+
borderColor: theme2.palette.primary.main
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
})
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
})
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
MuiAppBar
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=app-bar.js.map
|
|
@@ -0,0 +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\nimport { palette } from '../palette';\nimport { shadows } from '../shadows';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: 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: palette?.background?.default,\n boxShadow: shadows?.[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2}`,\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":";;AAQO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,UAAU,CAAC;AAAA,MACtB,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC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AAA,YACrB,iBAAiB,SAAS,YAAY;AAAA,YACtC,WAAW,UAAU,CAAC;AAAA,YACtB,cAAc,aAAaA,OAAM,SAAS,UAAU,UAAU;AAAA,YAC9D,wBAAwB;AAAA,cACtB,4BAA4B;AAAA,gBAC1B,cAAc;AAAA,kBACZ,aAAaA,OAAM,SAAS,UAAU;AAAA,kBACtC,YAAYA,OAAM,SAAS,QAAQ,cAAc;AAAA,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;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":["../../../../../src/theme/components/autocomplete.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAutocomplete: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAutocomplete'] = {\n styleOverrides: {\n root: () => ({\n '& .MuiOutlinedInput-root': {\n paddingTop: 0,\n paddingBottom: 0,\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAKO,MAAM,kBAEU;AAAA,EACrB,gBAAgB;AAAA,IACd,MAAM,OAAO;AAAA,MACX,4BAA4B;AAAA,QAC1B,YAAY;AAAA,QACZ,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;"}
|
|
@@ -0,0 +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: 'rgba(0, 0, 0, 0.1)',\n },\n },\n};\n"],"names":[],"mappings":"AAKO,MAAM,cAEM;AAAA,EACjB,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,iBAAiB;AAAA,IAAA;AAAA,EACnB;AAEJ;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const MuiCard = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: () => ({
|
|
4
|
+
borderRadius: 16,
|
|
5
|
+
"& > .MuiCardContent-root:last-child": {
|
|
6
|
+
paddingBottom: 16
|
|
7
|
+
},
|
|
8
|
+
"& .MuiCardContent-root .MuiCardContent-root": {
|
|
9
|
+
borderRadius: 8,
|
|
10
|
+
border: "1px solid #F2F2F2",
|
|
11
|
+
padding: 16
|
|
12
|
+
},
|
|
13
|
+
"& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root": {
|
|
14
|
+
borderRadius: 4,
|
|
15
|
+
backgroundColor: "#F8F8F8",
|
|
16
|
+
border: "none"
|
|
17
|
+
},
|
|
18
|
+
form: {
|
|
19
|
+
marginBottom: 0
|
|
20
|
+
},
|
|
21
|
+
"& .MuiList-root:last-child .MuiListItem-root:last-of-type": {
|
|
22
|
+
borderBottom: "none",
|
|
23
|
+
paddingBottom: 0
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
MuiCard
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: () => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border: '1px solid #F2F2F2',\n padding: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 4,\n backgroundColor: '#F8F8F8',\n border: 'none',\n },\n\n form: {\n marginBottom: 0,\n },\n\n '& .MuiList-root:last-child .MuiListItem-root:last-of-type': {\n borderBottom: 'none',\n paddingBottom: 0,\n },\n }),\n },\n };\n"],"names":[],"mappings":"AAMO,MAAM,UACX;AAAA,EACE,gBAAgB;AAAA,IACd,MAAM,OAAO;AAAA,MACX,cAAc;AAAA,MAEd,uCAAuC;AAAA,QACrC,eAAe;AAAA,MAAA;AAAA,MAGjB,+CAA+C;AAAA,QAC7C,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,SAAS;AAAA,MAAA;AAAA,MAGX,oEAAoE;AAAA,QAClE,cAAc;AAAA,QACd,iBAAiB;AAAA,QACjB,QAAQ;AAAA,MAAA;AAAA,MAGV,MAAM;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA,MAGhB,8DAA8D;AAAA,QAC5D,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const MuiDrawer = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: {
|
|
4
|
+
overflow: "hidden"
|
|
5
|
+
},
|
|
6
|
+
paper: {
|
|
7
|
+
padding: "16px 0 0 0"
|
|
8
|
+
},
|
|
9
|
+
modal: {
|
|
10
|
+
maxHeight: "100vh"
|
|
11
|
+
},
|
|
12
|
+
paperAnchorLeft: {
|
|
13
|
+
width: 390,
|
|
14
|
+
maxWidth: "calc(100vw - 24px)",
|
|
15
|
+
borderRadius: "0 16px 16px 0"
|
|
16
|
+
},
|
|
17
|
+
paperAnchorRight: {
|
|
18
|
+
width: 390,
|
|
19
|
+
maxWidth: "calc(100vw - 24px)",
|
|
20
|
+
borderRadius: "16px 0 0 16px"
|
|
21
|
+
},
|
|
22
|
+
paperAnchorTop: {
|
|
23
|
+
height: 390,
|
|
24
|
+
maxHeight: "calc(100vh - 24px)",
|
|
25
|
+
borderRadius: "0 0 16px 16px"
|
|
26
|
+
},
|
|
27
|
+
paperAnchorBottom: {
|
|
28
|
+
height: 390,
|
|
29
|
+
maxHeight: "calc(100vh - 24px)",
|
|
30
|
+
borderRadius: "16px 16px 0 0"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
MuiDrawer
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.js","sources":["../../../../../src/theme/components/drawer.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiDrawer: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiDrawer'] = {\n styleOverrides: {\n root: {\n overflow: 'hidden',\n },\n paper: {\n padding: '16px 0 0 0',\n },\n modal: {\n maxHeight: '100vh',\n },\n\n paperAnchorLeft: {\n width: 390,\n maxWidth: 'calc(100vw - 24px)',\n borderRadius: '0 16px 16px 0',\n },\n\n paperAnchorRight: {\n width: 390,\n maxWidth: 'calc(100vw - 24px)',\n borderRadius: '16px 0 0 16px',\n },\n\n paperAnchorTop: {\n height: 390,\n maxHeight: 'calc(100vh - 24px)',\n borderRadius: '0 0 16px 16px',\n },\n\n paperAnchorBottom: {\n height: 390,\n maxHeight: 'calc(100vh - 24px)',\n borderRadius: '16px 16px 0 0',\n },\n },\n};\n"],"names":[],"mappings":"AAEO,MAAM,YAEI;AAAA,EACf,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,UAAU;AAAA,IAAA;AAAA,IAEZ,OAAO;AAAA,MACL,SAAS;AAAA,IAAA;AAAA,IAEX,OAAO;AAAA,MACL,WAAW;AAAA,IAAA;AAAA,IAGb,iBAAiB;AAAA,MACf,OAAO;AAAA,MACP,UAAU;AAAA,MACV,cAAc;AAAA,IAAA;AAAA,IAGhB,kBAAkB;AAAA,MAChB,OAAO;AAAA,MACP,UAAU;AAAA,MACV,cAAc;AAAA,IAAA;AAAA,IAGhB,gBAAgB;AAAA,MACd,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,cAAc;AAAA,IAAA;AAAA,IAGhB,mBAAmB;AAAA,MACjB,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,cAAc;AAAA,IAAA;AAAA,EAChB;AAEJ;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const MuiFormControlLabel = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
marginInline: 0,
|
|
5
|
+
".MuiFormControlLabel-label": {
|
|
6
|
+
...theme.typography.body2
|
|
7
|
+
}
|
|
8
|
+
})
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
MuiFormControlLabel
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=form-control-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-control-label.js","sources":["../../../../../src/theme/components/form-control-label.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiFormControlLabel: Components<Theme & CssVarsTheme>['MuiFormControlLabel'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n marginInline: 0,\n '.MuiFormControlLabel-label': {\n ...theme.typography.body2,\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAKO,MAAM,sBAA+E;AAAA,EAC1F,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,cAAc;AAAA,MACd,8BAA8B;AAAA,QAC5B,GAAG,MAAM,WAAW;AAAA,MAAA;AAAA,IACtB;AAAA,EACF;AAEJ;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const MuiFormHelperText = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
...theme.typography.caption,
|
|
5
|
+
marginInline: 0,
|
|
6
|
+
marginTop: theme.spacing(1),
|
|
7
|
+
color: "inherit",
|
|
8
|
+
[`&.MuiFormHelperText-root`]: {
|
|
9
|
+
color: theme.palette.text.tertiary
|
|
10
|
+
},
|
|
11
|
+
[`&.MuiFormHelperText-filled`]: {
|
|
12
|
+
color: theme.palette.text.tertiary,
|
|
13
|
+
"&.Mui-error": {
|
|
14
|
+
color: theme.palette.error.main
|
|
15
|
+
},
|
|
16
|
+
"&.Mui-disabled": {
|
|
17
|
+
color: theme.palette.text.disabled
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"&.Mui-focused": {
|
|
21
|
+
// color: 'inherit',
|
|
22
|
+
"&.Mui-error": {
|
|
23
|
+
color: theme.palette.error.main
|
|
24
|
+
},
|
|
25
|
+
"&.Mui-disabled": {
|
|
26
|
+
color: theme.palette.text.disabled
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
[`&.Mui-error`]: {
|
|
30
|
+
color: theme.palette.error.main
|
|
31
|
+
},
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
props: { error: true },
|
|
35
|
+
style: {
|
|
36
|
+
color: theme.palette.error.main
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
MuiFormHelperText
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=form-helper-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-helper-text.js","sources":["../../../../../src/theme/components/form-helper-text.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiFormHelperText: Components<Theme & CssVarsTheme>['MuiFormHelperText'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.typography.caption,\n\n marginInline: 0,\n marginTop: theme.spacing(1),\n color: 'inherit',\n [`&.MuiFormHelperText-root`]: {\n color: theme.palette.text.tertiary,\n },\n [`&.MuiFormHelperText-filled`]: {\n color: theme.palette.text.tertiary,\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n '&.Mui-focused': {\n // color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n [`&.Mui-error`]: {\n color: theme.palette.error.main,\n },\n variants: [\n {\n props: { error: true },\n style: {\n color: theme.palette.error.main,\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,oBAA2E;AAAA,EACtF,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,GAAG,MAAM,WAAW;AAAA,MAEpB,cAAc;AAAA,MACd,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,OAAO;AAAA,MACP,CAAC,0BAA0B,GAAG;AAAA,QAC5B,OAAO,MAAM,QAAQ,KAAK;AAAA,MAAA;AAAA,MAE5B,CAAC,4BAA4B,GAAG;AAAA,QAC9B,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,iBAAiB;AAAA;AAAA,QAEf,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,CAAC,aAAa,GAAG;AAAA,QACf,OAAO,MAAM,QAAQ,MAAM;AAAA,MAAA;AAAA,MAE7B,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,OAAO,KAAA;AAAA,UAChB,OAAO;AAAA,YACL,OAAO,MAAM,QAAQ,MAAM;AAAA,UAAA;AAAA,QAC7B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const MuiFormLabel = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
...theme.typography.body1,
|
|
5
|
+
marginBottom: theme.spacing(1),
|
|
6
|
+
color: "inherit",
|
|
7
|
+
[`&.MuiFormLabel-filled`]: {
|
|
8
|
+
color: "inherit",
|
|
9
|
+
"&.Mui-error": {
|
|
10
|
+
color: theme.palette.error.main
|
|
11
|
+
},
|
|
12
|
+
"&.Mui-disabled": {
|
|
13
|
+
color: theme.palette.text.disabled
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"&.Mui-focused": {
|
|
17
|
+
color: "inherit",
|
|
18
|
+
"&.Mui-error": {
|
|
19
|
+
color: theme.palette.error.main
|
|
20
|
+
},
|
|
21
|
+
"&.Mui-disabled": {
|
|
22
|
+
color: theme.palette.text.disabled
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
MuiFormLabel
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=form-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-label.js","sources":["../../../../../src/theme/components/form-label.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiFormLabel: Components<Theme & CssVarsTheme>['MuiFormLabel'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.typography.body1,\n\n marginBottom: theme.spacing(1),\n color: 'inherit',\n [`&.MuiFormLabel-filled`]: {\n color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n '&.Mui-focused': {\n color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,GAAG,MAAM,WAAW;AAAA,MAEpB,cAAc,MAAM,QAAQ,CAAC;AAAA,MAC7B,OAAO;AAAA,MACP,CAAC,uBAAuB,GAAG;AAAA,QACzB,OAAO;AAAA,QACP,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,iBAAiB;AAAA,QACf,OAAO;AAAA,QACP,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,IACF;AAAA,EACF;AAEJ;"}
|