@zidsa/zidmui 2.4.5 → 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.
@@ -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
- color: theme.palette.text.secondary
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: 0
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: 0
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\n//\n//\n\nexport const MuiTextField: Components<Theme & CssVarsTheme>['MuiTextField'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n legend: {\n display: 'none',\n },\n\n '& .MuiInputLabel-root': {\n marginBottom: theme.spacing(1),\n transform: 'scale(1)',\n position: 'relative',\n color: theme.palette.text.secondary,\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 paddingBlock: theme.spacing(1),\n paddingInline: theme.spacing(2),\n input: {\n padding: 0,\n },\n },\n }),\n },\n {\n props: { size: 'medium' },\n style: ({ theme }) => ({\n '& .MuiOutlinedInput-root': {\n minHeight: theme.spacing(6),\n paddingBlock: theme.spacing(1),\n paddingInline: theme.spacing(2),\n input: {\n padding: 0,\n },\n },\n }),\n },\n ],\n};\n"],"names":[],"mappings":";;AAMO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,QACN,SAAS;AAAA,MAAA;AAAA,MAGX,yBAAyB;AAAA,QACvB,cAAc,MAAM,QAAQ,CAAC;AAAA,QAC7B,WAAW;AAAA,QACX,UAAU;AAAA,QACV,OAAO,MAAM,QAAQ,KAAK;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,MAAM,SAAS;AAAA,MAAA;AAAA,MAExD,yBAAyB;AAAA,QACvB,UAAU;AAAA,QACV,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,YAAY,MAAM,YAAY,OAAO,CAAC,gBAAgB,oBAAoB,YAAY,CAAC;AAAA,QACvF,YAAY,MAAM,QAAQ,CAAC;AAAA,QAC3B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,UAC1B,qBAAqB,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAC1C;AAAA,IAMF;AAAA,EACF;AAAA,EAEF,UAAU;AAAA,IACR;AAAA,MACE,OAAO,EAAE,MAAM,QAAA;AAAA,MACf,OAAO,CAAC,EAAE,aAAa;AAAA,QACrB,4BAA4B;AAAA,UAC1B,WAAW,MAAM,QAAQ,CAAC;AAAA,UAC1B,cAAc,MAAM,QAAQ,CAAC;AAAA,UAC7B,eAAe,MAAM,QAAQ,CAAC;AAAA,UAC9B,OAAO;AAAA,YACL,SAAS;AAAA,UAAA;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,IAEF;AAAA,MACE,OAAO,EAAE,MAAM,SAAA;AAAA,MACf,OAAO,CAAC,EAAE,aAAa;AAAA,QACrB,4BAA4B;AAAA,UAC1B,WAAW,MAAM,QAAQ,CAAC;AAAA,UAC1B,cAAc,MAAM,QAAQ,CAAC;AAAA,UAC7B,eAAe,MAAM,QAAQ,CAAC;AAAA,UAC9B,OAAO;AAAA,YACL,SAAS;AAAA,UAAA;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
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,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Q,CAAC;AAAA,UAE1B,OAAO;AAAA,YACL,SAAS,MAAM,QAAQ,MAAM,CAAC;AAAA,UAAA;AAAA,QAChC;AAAA,QAEF,mEAAmE;AAAA,UACjE,OAAO;AAAA,YACL,SAAS,MAAM,QAAQ,MAAM,GAAG,MAAM,GAAG;AAAA,UAAA;AAAA,QAC3C;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;;"}
@@ -1,14 +1,17 @@
1
1
  const MuiTextField = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
+ marginTop: theme.spacing(2.5),
4
5
  legend: {
5
6
  display: "none"
6
7
  },
7
8
  "& .MuiInputLabel-root": {
8
9
  marginBottom: theme.spacing(1),
9
10
  transform: "scale(1)",
10
- position: "relative",
11
- color: theme.palette.text.secondary
11
+ position: "relative"
12
+ },
13
+ "& .MuiFormHelperText-root": {
14
+ marginTop: theme.spacing(1)
12
15
  },
13
16
  "& .MuiOutlinedInput-root": {
14
17
  fieldset: {
@@ -57,10 +60,18 @@ const MuiTextField = {
57
60
  style: ({ theme }) => ({
58
61
  "& .MuiOutlinedInput-root": {
59
62
  minHeight: theme.spacing(5),
60
- paddingBlock: theme.spacing(1),
61
- paddingInline: theme.spacing(2),
62
63
  input: {
63
- padding: 0
64
+ padding: theme.spacing(1.25, 2)
65
+ }
66
+ },
67
+ "& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart": {
68
+ input: {
69
+ padding: theme.spacing(1.25, 2, 1.25, 0.5)
70
+ }
71
+ },
72
+ "& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd": {
73
+ input: {
74
+ padding: theme.spacing(1.25, 0.5, 1.25, 2)
64
75
  }
65
76
  }
66
77
  })
@@ -70,10 +81,18 @@ const MuiTextField = {
70
81
  style: ({ theme }) => ({
71
82
  "& .MuiOutlinedInput-root": {
72
83
  minHeight: theme.spacing(6),
73
- paddingBlock: theme.spacing(1),
74
- paddingInline: theme.spacing(2),
75
84
  input: {
76
- padding: 0
85
+ padding: theme.spacing(1.75, 2)
86
+ }
87
+ },
88
+ "& .MuiInputBase-adornedStart, & .MuiInputBase-inputAdornedStart": {
89
+ input: {
90
+ padding: theme.spacing(1.75, 2, 1.75, 0.5)
91
+ }
92
+ },
93
+ "& .MuiInputBase-adornedEnd, & .MuiInputBase-inputAdornedEnd": {
94
+ input: {
95
+ padding: theme.spacing(1.75, 0.5, 1.75, 2)
77
96
  }
78
97
  }
79
98
  })
@@ -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\n//\n//\n\nexport const MuiTextField: Components<Theme & CssVarsTheme>['MuiTextField'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n legend: {\n display: 'none',\n },\n\n '& .MuiInputLabel-root': {\n marginBottom: theme.spacing(1),\n transform: 'scale(1)',\n position: 'relative',\n color: theme.palette.text.secondary,\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 paddingBlock: theme.spacing(1),\n paddingInline: theme.spacing(2),\n input: {\n padding: 0,\n },\n },\n }),\n },\n {\n props: { size: 'medium' },\n style: ({ theme }) => ({\n '& .MuiOutlinedInput-root': {\n minHeight: theme.spacing(6),\n paddingBlock: theme.spacing(1),\n paddingInline: theme.spacing(2),\n input: {\n padding: 0,\n },\n },\n }),\n },\n ],\n};\n"],"names":[],"mappings":"AAMO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,QACN,SAAS;AAAA,MAAA;AAAA,MAGX,yBAAyB;AAAA,QACvB,cAAc,MAAM,QAAQ,CAAC;AAAA,QAC7B,WAAW;AAAA,QACX,UAAU;AAAA,QACV,OAAO,MAAM,QAAQ,KAAK;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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AAA,UAC9B,OAAO;AAAA,YACL,SAAS;AAAA,UAAA;AAAA,QACX;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;"}
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,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SAAS,MAAM,QAAQ,MAAM,KAAK,MAAM,CAAC;AAAA,UAAA;AAAA,QAC3C;AAAA,MACF;AAAA,IACF;AAAA,IAEF;AAAA,MACE,OAAO,EAAE,MAAM,SAAA;AAAA,MACf,OAAO,CAAC,EAAE,aAAa;AAAA,QACrB,4BAA4B;AAAA,UAC1B,WAAW,MAAM,QAAQ,CAAC;AAAA,UAE1B,OAAO;AAAA,YACL,SAAS,MAAM,QAAQ,MAAM,CAAC;AAAA,UAAA;AAAA,QAChC;AAAA,QAEF,mEAAmE;AAAA,UACjE,OAAO;AAAA,YACL,SAAS,MAAM,QAAQ,MAAM,GAAG,MAAM,GAAG;AAAA,UAAA;AAAA,QAC3C;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;"}
@@ -1,2 +1,2 @@
1
- import { Components, CssVarsTheme, Theme } from '@mui/material';
1
+ import { Components, CssVarsTheme, Theme } from '@mui/material/styles';
2
2
  export declare const MuiTextField: Components<Theme & CssVarsTheme>['MuiTextField'];