@xyo-network/react-theme 6.0.0 → 6.1.0

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.
Files changed (28) hide show
  1. package/dist/browser/index.d.ts +69 -0
  2. package/package.json +5 -5
  3. package/dist/types/index.d.ts +0 -8
  4. /package/dist/{types → browser}/OsTheme/Components.d.ts +0 -0
  5. /package/dist/{types → browser}/OsTheme/Components.d.ts.map +0 -0
  6. /package/dist/{types → browser}/OsTheme/DarkMode.d.ts +0 -0
  7. /package/dist/{types → browser}/OsTheme/DarkMode.d.ts.map +0 -0
  8. /package/dist/{types → browser}/OsTheme/LightMode.d.ts +0 -0
  9. /package/dist/{types → browser}/OsTheme/LightMode.d.ts.map +0 -0
  10. /package/dist/{types → browser}/OsTheme/Typography.d.ts +0 -0
  11. /package/dist/{types → browser}/OsTheme/Typography.d.ts.map +0 -0
  12. /package/dist/{types → browser}/OsTheme/index.d.ts +0 -0
  13. /package/dist/{types → browser}/OsTheme/index.d.ts.map +0 -0
  14. /package/dist/{types → browser}/OsTheme/osThemeOptions.d.ts +0 -0
  15. /package/dist/{types → browser}/OsTheme/osThemeOptions.d.ts.map +0 -0
  16. /package/dist/{types → browser}/appThemeOptions.d.ts +0 -0
  17. /package/dist/{types → browser}/appThemeOptions.d.ts.map +0 -0
  18. /package/dist/{types → browser}/fontFamily.d.ts +0 -0
  19. /package/dist/{types → browser}/fontFamily.d.ts.map +0 -0
  20. /package/dist/{types → browser}/index.d.ts.map +0 -0
  21. /package/dist/{types → browser}/partialDarkThemeOptions.d.ts +0 -0
  22. /package/dist/{types → browser}/partialDarkThemeOptions.d.ts.map +0 -0
  23. /package/dist/{types → browser}/partialLightThemeOptions.d.ts +0 -0
  24. /package/dist/{types → browser}/partialLightThemeOptions.d.ts.map +0 -0
  25. /package/dist/{types → browser}/themeOptions.d.ts +0 -0
  26. /package/dist/{types → browser}/themeOptions.d.ts.map +0 -0
  27. /package/dist/{types → browser}/webThemeOptions.d.ts +0 -0
  28. /package/dist/{types → browser}/webThemeOptions.d.ts.map +0 -0
@@ -0,0 +1,69 @@
1
+ import * as _mui_system from '@mui/system';
2
+ import * as _mui_material from '@mui/material';
3
+ import { ThemeOptions } from '@mui/material';
4
+
5
+ declare const appThemeOptions: {
6
+ mixins?: _mui_material.MixinsOptions;
7
+ components?: _mui_material.Components<Omit<_mui_material.Theme, "components">>;
8
+ palette?: _mui_material.PaletteOptions;
9
+ shadows?: _mui_material.Shadows;
10
+ transitions?: _mui_material.TransitionsOptions;
11
+ typography?: _mui_material.TypographyVariantsOptions | ((palette: _mui_material.Palette) => _mui_material.TypographyVariantsOptions);
12
+ zIndex?: Partial<_mui_material.ZIndex>;
13
+ unstable_strictMode?: boolean;
14
+ unstable_sxConfig?: _mui_system.SxConfig;
15
+ modularCssLayers?: boolean | string;
16
+ shape?: _mui_system.ShapeOptions;
17
+ breakpoints?: _mui_material.BreakpointsOptions;
18
+ direction?: _mui_material.Direction;
19
+ spacing?: _mui_system.SpacingOptions;
20
+ };
21
+
22
+ declare const fontFamilyPrimary: string;
23
+ declare const fontFamilyOs: string;
24
+
25
+ declare const osThemeOptions: {
26
+ mixins?: _mui_material.MixinsOptions;
27
+ components?: _mui_material.Components<Omit<_mui_material.Theme, "components">>;
28
+ palette?: _mui_material.PaletteOptions;
29
+ shadows?: _mui_material.Shadows;
30
+ transitions?: _mui_material.TransitionsOptions;
31
+ typography?: _mui_material.TypographyVariantsOptions | ((palette: _mui_material.Palette) => _mui_material.TypographyVariantsOptions);
32
+ zIndex?: Partial<_mui_material.ZIndex>;
33
+ unstable_strictMode?: boolean;
34
+ unstable_sxConfig?: _mui_system.SxConfig;
35
+ modularCssLayers?: boolean | string;
36
+ shape?: _mui_system.ShapeOptions;
37
+ breakpoints?: _mui_system.BreakpointsOptions;
38
+ direction?: _mui_system.Direction;
39
+ spacing?: _mui_system.SpacingOptions;
40
+ };
41
+
42
+ declare const partialDarkThemeOptions: ThemeOptions;
43
+ declare const partialAppDarkThemeOptions: ThemeOptions;
44
+
45
+ declare const partialLightThemeOptions: ThemeOptions;
46
+ declare const partialAppLightThemeOptions: ThemeOptions;
47
+
48
+ declare const components: ThemeOptions['components'];
49
+ declare const typography: ThemeOptions['typography'];
50
+ declare const themeOptions: ThemeOptions;
51
+
52
+ declare const webThemeOptions: {
53
+ mixins?: _mui_material.MixinsOptions;
54
+ components?: _mui_material.Components<Omit<_mui_material.Theme, "components">>;
55
+ palette?: _mui_material.PaletteOptions;
56
+ shadows?: _mui_material.Shadows;
57
+ transitions?: _mui_material.TransitionsOptions;
58
+ typography?: _mui_material.TypographyVariantsOptions | ((palette: _mui_material.Palette) => _mui_material.TypographyVariantsOptions);
59
+ zIndex?: Partial<_mui_material.ZIndex>;
60
+ unstable_strictMode?: boolean;
61
+ unstable_sxConfig?: _mui_system.SxConfig;
62
+ modularCssLayers?: boolean | string;
63
+ shape?: _mui_system.ShapeOptions;
64
+ breakpoints?: _mui_material.BreakpointsOptions;
65
+ direction?: _mui_material.Direction;
66
+ spacing?: _mui_system.SpacingOptions;
67
+ };
68
+
69
+ export { appThemeOptions, components, fontFamilyOs, fontFamilyPrimary, osThemeOptions, partialAppDarkThemeOptions, partialAppLightThemeOptions, partialDarkThemeOptions, partialLightThemeOptions, themeOptions, typography, webThemeOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-theme",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -28,18 +28,18 @@
28
28
  "exports": {
29
29
  ".": {
30
30
  "browser": {
31
- "types": "./dist/types/index.d.ts",
31
+ "types": "./dist/browser/index.d.ts",
32
32
  "default": "./dist/browser/index.mjs"
33
33
  },
34
- "types": "./dist/types/index.d.ts",
34
+ "types": "./dist/browser/index.d.ts",
35
35
  "default": "./dist/browser/index.mjs"
36
36
  },
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "module": "dist/browser/index.mjs",
40
- "types": "dist/types/index.d.ts",
40
+ "types": "dist/browser/index.d.ts",
41
41
  "devDependencies": {
42
- "@xylabs/ts-scripts-yarn3": "^6.5.12",
42
+ "@xylabs/ts-scripts-yarn3": "next",
43
43
  "typescript": "^5.8.3"
44
44
  },
45
45
  "peerDependencies": {
@@ -1,8 +0,0 @@
1
- export * from './appThemeOptions.tsx';
2
- export * from './fontFamily.ts';
3
- export * from './OsTheme/index.ts';
4
- export * from './partialDarkThemeOptions.tsx';
5
- export * from './partialLightThemeOptions.tsx';
6
- export * from './themeOptions.ts';
7
- export * from './webThemeOptions.tsx';
8
- //# sourceMappingURL=index.d.ts.map
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