@m4l/styles 0.0.5 → 0.0.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/index.js +15 -10
- package/package.json +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -1
- package/types/augmentations.d.ts +8 -1
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as t, useTheme as m } from "@mui/material/styles";
|
|
2
|
-
import {
|
|
2
|
+
import { StyledEngineProvider as yr, Theme as fr, ThemeOptions as hr, ThemeProvider as Mr, createTheme as vr, styled as Br } from "@mui/material/styles";
|
|
3
3
|
import { alpha as n } from "@mui/system";
|
|
4
4
|
import { alpha as F } from "@mui/material";
|
|
5
5
|
import { useResponsive as w } from "@m4l/graphics";
|
|
@@ -388,13 +388,13 @@ const r = {
|
|
|
388
388
|
darker: r.blazeOrange[20],
|
|
389
389
|
contrastText: r.marbleLight[10]
|
|
390
390
|
}
|
|
391
|
-
], P = g[0], W = g[1],
|
|
391
|
+
], P = g[0], W = g[1], _ = g[2], q = g[3], N = g[4];
|
|
392
392
|
function ir(o) {
|
|
393
393
|
return {
|
|
394
394
|
patronus: P,
|
|
395
395
|
turqui: W,
|
|
396
|
-
grass:
|
|
397
|
-
candy:
|
|
396
|
+
grass: _,
|
|
397
|
+
candy: q,
|
|
398
398
|
blaze: N
|
|
399
399
|
}[o];
|
|
400
400
|
}
|
|
@@ -2054,7 +2054,7 @@ const Go = (o) => ({
|
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
2056
|
}
|
|
2057
|
-
}),
|
|
2057
|
+
}), _o = (o) => ({
|
|
2058
2058
|
M4LIconButton: {
|
|
2059
2059
|
styleOverrides: {
|
|
2060
2060
|
["&.M4LIconButton-root"]: {
|
|
@@ -2062,7 +2062,7 @@ const Go = (o) => ({
|
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
}
|
|
2065
|
-
}),
|
|
2065
|
+
}), qo = (o) => ({
|
|
2066
2066
|
M4LanguagePopover: {
|
|
2067
2067
|
styleOverrides: {
|
|
2068
2068
|
["&.M4LanguagePopover-root"]: {
|
|
@@ -2297,8 +2297,8 @@ function ur(o) {
|
|
|
2297
2297
|
Qo(),
|
|
2298
2298
|
Xo(),
|
|
2299
2299
|
Wo(),
|
|
2300
|
-
qo(),
|
|
2301
2300
|
_o(),
|
|
2301
|
+
qo(),
|
|
2302
2302
|
No(o),
|
|
2303
2303
|
or(),
|
|
2304
2304
|
Yo(),
|
|
@@ -2323,10 +2323,15 @@ const cr = {
|
|
|
2323
2323
|
};
|
|
2324
2324
|
export {
|
|
2325
2325
|
r as PATRONUSCOLORS,
|
|
2326
|
+
yr as StyledEngineProvider,
|
|
2327
|
+
fr as Theme,
|
|
2328
|
+
hr as ThemeOptions,
|
|
2329
|
+
Mr as ThemeProvider,
|
|
2326
2330
|
N as blaze,
|
|
2327
|
-
|
|
2331
|
+
q as candy,
|
|
2328
2332
|
g as colorPresets,
|
|
2329
2333
|
sr as createCustomShadows,
|
|
2334
|
+
vr as createTheme,
|
|
2330
2335
|
P as defaultPreset,
|
|
2331
2336
|
lr as defaultThemeOptions,
|
|
2332
2337
|
ur as fnComponentsOverrides,
|
|
@@ -2334,14 +2339,14 @@ export {
|
|
|
2334
2339
|
nr as getColorState,
|
|
2335
2340
|
pr as getFontValue,
|
|
2336
2341
|
gr as globalRemSize,
|
|
2337
|
-
|
|
2342
|
+
_ as grass,
|
|
2338
2343
|
cr as muiBreakpointsValues,
|
|
2339
2344
|
d as palette,
|
|
2340
2345
|
s as pxToRem,
|
|
2341
2346
|
Y as remToPx,
|
|
2342
2347
|
p as responsiveFontSizes,
|
|
2343
2348
|
dr as shadows,
|
|
2344
|
-
|
|
2349
|
+
Br as styled,
|
|
2345
2350
|
W as turqui,
|
|
2346
2351
|
U as typography
|
|
2347
2352
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/styles",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@m4l/graphics": "*",
|
|
7
|
-
"@mui/material": "
|
|
8
|
-
"@mui/system": "
|
|
7
|
+
"@mui/material": "5.10.4",
|
|
8
|
+
"@mui/system": "5.10.4",
|
|
9
9
|
"react": "^17.0.0 || 18.x",
|
|
10
10
|
"react-dom": "^18.0.0"
|
|
11
11
|
},
|
|
@@ -11,7 +11,7 @@ export declare const M4LImageButton: (theme: Theme) => {
|
|
|
11
11
|
alignItems: string;
|
|
12
12
|
justifyContent: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
'.M4LImage-root': {
|
|
15
15
|
display: string;
|
|
16
16
|
alignItems: string;
|
|
17
17
|
justifyContent: string;
|
|
@@ -19,7 +19,7 @@ export declare const M4LImageButton: (theme: Theme) => {
|
|
|
19
19
|
width: string;
|
|
20
20
|
height: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
'.M4LImage-lazyLoad': {
|
|
23
23
|
borderRadius: string;
|
|
24
24
|
width: string;
|
|
25
25
|
height: string;
|
|
@@ -27,7 +27,7 @@ export declare const M4LImageButton: (theme: Theme) => {
|
|
|
27
27
|
alignItems: string;
|
|
28
28
|
justifyContent: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
'.M4LImage-img': {
|
|
31
31
|
borderRadius: string;
|
|
32
32
|
};
|
|
33
33
|
'.MuiButtonBase-root:hover': {
|
package/types/augmentations.d.ts
CHANGED
|
@@ -2,7 +2,14 @@ import { PatronusConstantColors } from '../theme/palette';
|
|
|
2
2
|
import { CustomShadowOptions } from '../theme';
|
|
3
3
|
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
4
|
import { ColorStateOptions } from '../utils/getColorState';
|
|
5
|
-
export {
|
|
5
|
+
export {
|
|
6
|
+
styled,
|
|
7
|
+
Theme,
|
|
8
|
+
ThemeOptions,
|
|
9
|
+
createTheme,
|
|
10
|
+
ThemeProvider,
|
|
11
|
+
StyledEngineProvider,
|
|
12
|
+
} from '@mui/material/styles';
|
|
6
13
|
|
|
7
14
|
declare module '@mui/material' {
|
|
8
15
|
interface Color {
|