@m4l/graphics 0.0.21 → 0.0.24
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/{lib/components → components}/Page/index.d.ts +0 -0
- package/dist/{lib/components → components}/Page/types.d.ts +0 -0
- package/dist/{lib/components → components}/ProgressBarStyle/index.d.ts +0 -0
- package/dist/{lib/components → components}/index.d.ts +0 -0
- package/dist/{lib/contexts → contexts}/HostThemeContext/index.d.ts +0 -0
- package/dist/{lib/contexts → contexts}/HostThemeContext/types.d.ts +0 -0
- package/dist/{lib/contexts → contexts}/LocalesContext/index.d.ts +0 -0
- package/dist/contexts/LocalesContext/index.js +4 -0
- package/dist/{lib/contexts → contexts}/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useHostTheme/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useIsMountedRef.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useLocales/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useOffSetTop.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useResponsive/index.d.ts +0 -0
- package/dist/index.d.ts +10 -3
- package/dist/{lib/theme → theme}/defaultThemeOptions.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Accordion.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Autocomplete.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Avatar.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Backdrop.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Badge.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Breadcrumbs.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Button.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ButtonGroup.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Card.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Checkbox.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ControlLabel.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/CssBaseline.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/DataGrid.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Dialog.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Drawer.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Fab.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/IconButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Input.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/InputLabel.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Link.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/List.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/LoadingButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Menu.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Pagination.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Paper.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Popover.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Progress.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Radio.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Skeleton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Slider.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Stepper.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/SvgIcon.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Switch.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Table.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Tabs.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Timeline.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ToggleButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Tooltip.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Typography.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/index.d.ts +0 -0
- package/dist/{lib/theme → theme}/palette.d.ts +0 -0
- package/dist/{lib/theme → theme}/shadows.d.ts +0 -0
- package/dist/{lib/theme → theme}/typography.d.ts +0 -0
- package/dist/{lib/types → types}/index.d.ts +0 -0
- package/dist/{lib/utils → utils}/getColorPresets.d.ts +0 -0
- package/dist/{lib/utils → utils}/getFontValue.d.ts +0 -0
- package/package.json +3 -3
- package/dist/lib/index.d.ts +0 -10
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -35,6 +35,7 @@ function LocalesProvider({
|
|
|
35
35
|
const onChangeLang = (newlang) => {
|
|
36
36
|
setLangStorage(newlang);
|
|
37
37
|
setCurrentLang(LANGS.find((_lang) => _lang.value === newlang) || LANGS[0]);
|
|
38
|
+
console.log("new lagn", newlang, currentLang);
|
|
38
39
|
};
|
|
39
40
|
return /* @__PURE__ */ jsx(LocalesContext.Provider, {
|
|
40
41
|
value: {
|
|
@@ -45,6 +46,9 @@ function LocalesProvider({
|
|
|
45
46
|
children: /* @__PURE__ */ jsx(LocalizationProvider, {
|
|
46
47
|
dateAdapter: AdapterDateFns,
|
|
47
48
|
adapterLocale: currentLang.locale,
|
|
49
|
+
dateFormats: {
|
|
50
|
+
hours24h: "23"
|
|
51
|
+
},
|
|
48
52
|
children
|
|
49
53
|
})
|
|
50
54
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './contexts';
|
|
3
|
+
export * from './hooks';
|
|
4
|
+
export type { CustomShadowOptions } from './theme/shadows';
|
|
5
|
+
export type { GradientsPaletteOptions } from './theme/palette';
|
|
6
|
+
export type { ChartPaletteOptions } from './theme/palette';
|
|
7
|
+
export type { GridPaletteOptions } from './theme/palette';
|
|
8
|
+
export { defaultThemeOptions } from './theme/defaultThemeOptions';
|
|
9
|
+
export { default as fnComponentsOverrides } from './theme/overrides';
|
|
10
|
+
export type { HostThemeType } from './types';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/graphics",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.24",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
7
|
"scripts": {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"vite-tsconfig-paths": "^3.5.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@m4l/core": "^0.0.
|
|
31
|
+
"@m4l/core": "^0.0.32",
|
|
32
32
|
"react": ">=18",
|
|
33
33
|
"react-dom": "^18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@emotion/styled": "^11.9.3",
|
|
37
37
|
"@hookform/resolvers": "^2.9.3",
|
|
38
|
-
"@m4l/core": "^0.0.
|
|
38
|
+
"@m4l/core": "^0.0.32",
|
|
39
39
|
"@mui/icons-material": "^5.8.4",
|
|
40
40
|
"@mui/lab": "^5.0.0-alpha.87",
|
|
41
41
|
"@types/node": "^17.0.40",
|
package/dist/lib/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './contexts';
|
|
3
|
-
export * from './hooks';
|
|
4
|
-
export type { CustomShadowOptions } from './theme/shadows';
|
|
5
|
-
export type { GradientsPaletteOptions } from './theme/palette';
|
|
6
|
-
export type { ChartPaletteOptions } from './theme/palette';
|
|
7
|
-
export type { GridPaletteOptions } from './theme/palette';
|
|
8
|
-
export { defaultThemeOptions } from './theme/defaultThemeOptions';
|
|
9
|
-
export { default as fnComponentsOverrides } from './theme/overrides';
|
|
10
|
-
export type { HostThemeType } from './types';
|