@zesty-io/material 0.12.4 → 0.13.1
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/es/icons/Bynder.d.ts +3 -0
- package/es/icons/Bynder.js +3 -0
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +1 -0
- package/es/theme/index.js +29 -2
- package/es/theme/palette.js +1 -1
- package/es/theme/typography.d.ts +3 -3
- package/es/theme/typography.js +11 -10
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { SvgIcon } from "@mui/material";
|
|
3
|
+
export const Bynder = (props) => (_jsx(SvgIcon, { ...props, children: _jsx("path", { d: "M17.2334 4C15.7963 4 14.5268 4.6229 13.6406 5.62912L7.26941 12.0258L5.44907 10.205C5.13769 9.84565 4.97003 9.41442 4.97003 8.91131C4.97003 7.83321 5.8323 6.9947 6.91013 6.9947C7.38917 6.9947 7.8203 7.1624 8.17958 7.47385C8.29934 7.56968 8.61071 7.90509 8.61071 7.90509L10.6227 5.86869L10.0478 5.29371C9.18556 4.47915 8.03587 4 6.76642 4C4.13172 4 2 6.13223 2 8.76756C2 9.96544 2.45509 11.0914 3.17364 11.93L7.26941 16.0507L15.8442 7.47385C16.2035 7.1624 16.6346 6.9947 17.1136 6.9947C18.1915 6.9947 19.0298 7.85717 19.0298 8.93526C19.0298 9.41442 18.8621 9.84565 18.5507 10.205L12.8741 15.883C12.6586 16.1225 12.3472 16.2423 12.0119 16.2423C11.6766 16.2423 11.3652 16.0986 11.1496 15.859L10.7185 15.4278L8.70652 17.4642L9.1137 17.8714C9.85621 18.6141 10.8861 19.0933 12.0119 19.0933C13.1376 19.0933 14.1436 18.6381 14.8861 17.8714L20.8262 11.906C21.5447 11.0914 21.9998 9.96544 21.9998 8.7436C22.0238 6.13223 19.8681 4 17.2334 4Z", fill: "currentColor" }) }));
|
package/es/icons/index.d.ts
CHANGED
package/es/icons/index.js
CHANGED
package/es/theme/index.js
CHANGED
|
@@ -85,6 +85,9 @@ const components = {
|
|
|
85
85
|
textInherit: ({ theme }) => ({
|
|
86
86
|
color: theme.palette.text.secondary,
|
|
87
87
|
}),
|
|
88
|
+
containedWarning: ({ theme }) => ({
|
|
89
|
+
color: theme.palette.common.white,
|
|
90
|
+
}),
|
|
88
91
|
},
|
|
89
92
|
defaultProps: {
|
|
90
93
|
disableElevation: true,
|
|
@@ -177,6 +180,9 @@ const components = {
|
|
|
177
180
|
"& > .MuiSvgIcon-root": {
|
|
178
181
|
margin: "4px",
|
|
179
182
|
},
|
|
183
|
+
"&.MuiInputAdornment-positionStart": {
|
|
184
|
+
marginRight: "4px",
|
|
185
|
+
},
|
|
180
186
|
},
|
|
181
187
|
},
|
|
182
188
|
},
|
|
@@ -319,16 +325,19 @@ const components = {
|
|
|
319
325
|
styleOverrides: {
|
|
320
326
|
icon: {
|
|
321
327
|
alignSelf: "center",
|
|
328
|
+
marginRight: "8px",
|
|
322
329
|
},
|
|
323
330
|
standardWarning: ({ theme }) => ({
|
|
331
|
+
backgroundColor: theme.palette.yellow[100],
|
|
332
|
+
color: theme.palette.warning.dark,
|
|
324
333
|
" .MuiAlert-icon": {
|
|
325
|
-
color: theme.palette.
|
|
334
|
+
color: theme.palette.warning.dark,
|
|
326
335
|
},
|
|
327
336
|
}),
|
|
328
337
|
standardInfo: ({ theme }) => ({
|
|
329
338
|
backgroundColor: theme.palette.blue[100],
|
|
330
339
|
" .MuiAlert-icon": {
|
|
331
|
-
color: theme.palette.info.
|
|
340
|
+
color: theme.palette.info.dark,
|
|
332
341
|
},
|
|
333
342
|
"& .MuiAlert-message": {
|
|
334
343
|
color: theme.palette.info.dark,
|
|
@@ -570,6 +579,24 @@ const components = {
|
|
|
570
579
|
},
|
|
571
580
|
},
|
|
572
581
|
},
|
|
582
|
+
MuiPickersDay: {
|
|
583
|
+
styleOverrides: {
|
|
584
|
+
root: ({ theme }) => ({
|
|
585
|
+
"&.MuiPickersDay-today": {
|
|
586
|
+
backgroundColor: theme.palette.primary.main,
|
|
587
|
+
color: theme.palette.common.white,
|
|
588
|
+
border: "none",
|
|
589
|
+
},
|
|
590
|
+
}),
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
MuiCheckbox: {
|
|
594
|
+
styleOverrides: {
|
|
595
|
+
root: {
|
|
596
|
+
color: "text.disabled",
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
}
|
|
573
600
|
};
|
|
574
601
|
export let theme = createTheme({
|
|
575
602
|
typography,
|
package/es/theme/palette.js
CHANGED
package/es/theme/typography.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TypographyVariantsOptions } from
|
|
2
|
-
import { TypographyStyleOptions } from
|
|
3
|
-
declare module
|
|
1
|
+
import { TypographyVariantsOptions } from "@mui/material/styles";
|
|
2
|
+
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
3
|
+
declare module "@mui/material/styles" {
|
|
4
4
|
interface TypographyVariantsOptions {
|
|
5
5
|
body3?: TypographyStyleOptions;
|
|
6
6
|
}
|
package/es/theme/typography.js
CHANGED
|
@@ -30,28 +30,29 @@ const typography = {
|
|
|
30
30
|
lineHeight: "22px",
|
|
31
31
|
},
|
|
32
32
|
body1: {
|
|
33
|
-
fontSize:
|
|
34
|
-
lineHeight:
|
|
33
|
+
fontSize: "16px",
|
|
34
|
+
lineHeight: "24px",
|
|
35
35
|
},
|
|
36
36
|
body2: {
|
|
37
|
-
fontSize:
|
|
38
|
-
lineHeight:
|
|
37
|
+
fontSize: "14px",
|
|
38
|
+
lineHeight: "20px",
|
|
39
39
|
},
|
|
40
40
|
body3: {
|
|
41
|
-
fontSize:
|
|
42
|
-
lineHeight:
|
|
43
|
-
letterSpacing:
|
|
41
|
+
fontSize: "12px",
|
|
42
|
+
lineHeight: "18px",
|
|
43
|
+
letterSpacing: "0.15px",
|
|
44
|
+
display: "inline-block",
|
|
44
45
|
},
|
|
45
46
|
subtitle1: {
|
|
46
|
-
fontSize:
|
|
47
|
+
fontSize: "16px",
|
|
47
48
|
lineHeight: "28px",
|
|
48
49
|
},
|
|
49
50
|
subtitle2: {
|
|
50
|
-
fontSize:
|
|
51
|
+
fontSize: "14px",
|
|
51
52
|
lineHeight: "22px",
|
|
52
53
|
},
|
|
53
54
|
caption: {
|
|
54
|
-
fontSize:
|
|
55
|
+
fontSize: "12px",
|
|
55
56
|
lineHeight: "20px",
|
|
56
57
|
},
|
|
57
58
|
overline: {
|