@xyo-network/react-theme 4.4.3 → 4.4.5
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/browser/index.d.ts +68 -8
- package/package.json +2 -2
- package/dist/browser/OsTheme/Components.d.ts +0 -3
- package/dist/browser/OsTheme/Components.d.ts.map +0 -1
- package/dist/browser/OsTheme/DarkMode.d.ts +0 -3
- package/dist/browser/OsTheme/DarkMode.d.ts.map +0 -1
- package/dist/browser/OsTheme/LightMode.d.ts +0 -3
- package/dist/browser/OsTheme/LightMode.d.ts.map +0 -1
- package/dist/browser/OsTheme/Typography.d.ts +0 -3
- package/dist/browser/OsTheme/Typography.d.ts.map +0 -1
- package/dist/browser/OsTheme/index.d.ts +0 -2
- package/dist/browser/OsTheme/index.d.ts.map +0 -1
- package/dist/browser/OsTheme/osThemeOptions.d.ts +0 -16
- package/dist/browser/OsTheme/osThemeOptions.d.ts.map +0 -1
- package/dist/browser/appThemeOptions.d.ts +0 -16
- package/dist/browser/appThemeOptions.d.ts.map +0 -1
- package/dist/browser/fontFamily.d.ts +0 -3
- package/dist/browser/fontFamily.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/partialDarkThemeOptions.d.ts +0 -4
- package/dist/browser/partialDarkThemeOptions.d.ts.map +0 -1
- package/dist/browser/partialLightThemeOptions.d.ts +0 -4
- package/dist/browser/partialLightThemeOptions.d.ts.map +0 -1
- package/dist/browser/themeOptions.d.ts +0 -5
- package/dist/browser/themeOptions.d.ts.map +0 -1
- package/dist/browser/webThemeOptions.d.ts +0 -16
- package/dist/browser/webThemeOptions.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,8 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import * as _mui_system from '@mui/system';
|
|
2
|
+
import * as _mui_material_styles_zIndex_js from '@mui/material/styles/zIndex.js';
|
|
3
|
+
import * as _mui_material from '@mui/material';
|
|
4
|
+
import { ThemeOptions } from '@mui/material';
|
|
5
|
+
import * as _mui_material_styles_createMixins_js from '@mui/material/styles/createMixins.js';
|
|
6
|
+
|
|
7
|
+
declare const appThemeOptions: {
|
|
8
|
+
mixins?: _mui_material_styles_createMixins_js.MixinsOptions;
|
|
9
|
+
components?: _mui_material.Components<Omit<_mui_material.Theme, "components">>;
|
|
10
|
+
palette?: _mui_material.PaletteOptions;
|
|
11
|
+
shadows?: _mui_material.Shadows;
|
|
12
|
+
transitions?: _mui_material.TransitionsOptions;
|
|
13
|
+
typography?: _mui_material.TypographyVariantsOptions | ((palette: _mui_material.Palette) => _mui_material.TypographyVariantsOptions);
|
|
14
|
+
zIndex?: _mui_material_styles_zIndex_js.ZIndexOptions;
|
|
15
|
+
unstable_strictMode?: boolean;
|
|
16
|
+
unstable_sxConfig?: _mui_system.SxConfig;
|
|
17
|
+
shape?: _mui_system.ShapeOptions;
|
|
18
|
+
breakpoints?: _mui_material.BreakpointsOptions;
|
|
19
|
+
direction?: _mui_material.Direction;
|
|
20
|
+
spacing?: _mui_system.SpacingOptions;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
declare const fontFamilyPrimary: string;
|
|
24
|
+
declare const fontFamilyOs: string;
|
|
25
|
+
|
|
26
|
+
declare const osThemeOptions: {
|
|
27
|
+
mixins?: _mui_material_styles_createMixins_js.MixinsOptions;
|
|
28
|
+
components?: _mui_material.Components<Omit<_mui_material.Theme, "components">>;
|
|
29
|
+
palette?: _mui_material.PaletteOptions;
|
|
30
|
+
shadows?: _mui_material.Shadows;
|
|
31
|
+
transitions?: _mui_material.TransitionsOptions;
|
|
32
|
+
typography?: _mui_material.TypographyVariantsOptions | ((palette: _mui_material.Palette) => _mui_material.TypographyVariantsOptions);
|
|
33
|
+
zIndex?: _mui_material_styles_zIndex_js.ZIndexOptions;
|
|
34
|
+
unstable_strictMode?: boolean;
|
|
35
|
+
unstable_sxConfig?: _mui_system.SxConfig;
|
|
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_styles_createMixins_js.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?: _mui_material_styles_zIndex_js.ZIndexOptions;
|
|
60
|
+
unstable_strictMode?: boolean;
|
|
61
|
+
unstable_sxConfig?: _mui_system.SxConfig;
|
|
62
|
+
shape?: _mui_system.ShapeOptions;
|
|
63
|
+
breakpoints?: _mui_material.BreakpointsOptions;
|
|
64
|
+
direction?: _mui_material.Direction;
|
|
65
|
+
spacing?: _mui_system.SpacingOptions;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
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": "4.4.
|
|
3
|
+
"version": "4.4.5",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
46
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
47
47
|
"typescript": "^5.7.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Components.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/Components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAqCjD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DarkMode.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/DarkMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoBjD,eAAO,MAAM,sBAAsB,EAAE,YAMpC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightMode.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/LightMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoBjD,eAAO,MAAM,uBAAuB,EAAE,YAMrC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAIjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAoBjD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const osThemeOptions: {
|
|
2
|
-
mixins?: import("@mui/material/styles/createMixins.js").MixinsOptions;
|
|
3
|
-
components?: import("@mui/material").Components<Omit<import("@mui/material").Theme, "components">>;
|
|
4
|
-
palette?: import("@mui/material").PaletteOptions;
|
|
5
|
-
shadows?: import("@mui/material").Shadows;
|
|
6
|
-
transitions?: import("@mui/material").TransitionsOptions;
|
|
7
|
-
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
|
-
zIndex?: import("@mui/material/styles/zIndex.js").ZIndexOptions;
|
|
9
|
-
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("@mui/system").SxConfig;
|
|
11
|
-
shape?: import("@mui/system").ShapeOptions;
|
|
12
|
-
breakpoints?: import("@mui/system").BreakpointsOptions;
|
|
13
|
-
direction?: import("@mui/system").Direction;
|
|
14
|
-
spacing?: import("@mui/system").SpacingOptions;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=osThemeOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"osThemeOptions.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/osThemeOptions.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAA4D,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const appThemeOptions: {
|
|
2
|
-
mixins?: import("@mui/material/styles/createMixins.js").MixinsOptions;
|
|
3
|
-
components?: import("@mui/material").Components<Omit<import("@mui/material").Theme, "components">>;
|
|
4
|
-
palette?: import("@mui/material").PaletteOptions;
|
|
5
|
-
shadows?: import("@mui/material").Shadows;
|
|
6
|
-
transitions?: import("@mui/material").TransitionsOptions;
|
|
7
|
-
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
|
-
zIndex?: import("@mui/material/styles/zIndex.js").ZIndexOptions;
|
|
9
|
-
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("@mui/system").SxConfig;
|
|
11
|
-
shape?: import("@mui/system").ShapeOptions;
|
|
12
|
-
breakpoints?: import("@mui/material").BreakpointsOptions;
|
|
13
|
-
direction?: import("@mui/material").Direction;
|
|
14
|
-
spacing?: import("@mui/system").SpacingOptions;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=appThemeOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AA4BA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAAiD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA;AACrF,eAAO,MAAM,YAAY,QAAgD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAKjD,eAAO,MAAM,uBAAuB,EAAE,YAUrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAwE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partialLightThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,wBAAwB,EAAE,YAKtC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,YAA8C,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeOptions } from '@mui/material';
|
|
2
|
-
export declare const components: ThemeOptions['components'];
|
|
3
|
-
export declare const typography: ThemeOptions['typography'];
|
|
4
|
-
export declare const themeOptions: ThemeOptions;
|
|
5
|
-
//# sourceMappingURL=themeOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"themeOptions.d.ts","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAIjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAmCjD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA6BjD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,YAK1B,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const webThemeOptions: {
|
|
2
|
-
mixins?: import("@mui/material/styles/createMixins.js").MixinsOptions;
|
|
3
|
-
components?: import("@mui/material").Components<Omit<import("@mui/material").Theme, "components">>;
|
|
4
|
-
palette?: import("@mui/material").PaletteOptions;
|
|
5
|
-
shadows?: import("@mui/material").Shadows;
|
|
6
|
-
transitions?: import("@mui/material").TransitionsOptions;
|
|
7
|
-
typography?: import("@mui/material").TypographyVariantsOptions | ((palette: import("@mui/material").Palette) => import("@mui/material").TypographyVariantsOptions);
|
|
8
|
-
zIndex?: import("@mui/material/styles/zIndex.js").ZIndexOptions;
|
|
9
|
-
unstable_strictMode?: boolean;
|
|
10
|
-
unstable_sxConfig?: import("@mui/system").SxConfig;
|
|
11
|
-
shape?: import("@mui/system").ShapeOptions;
|
|
12
|
-
breakpoints?: import("@mui/material").BreakpointsOptions;
|
|
13
|
-
direction?: import("@mui/material").Direction;
|
|
14
|
-
spacing?: import("@mui/system").SpacingOptions;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=webThemeOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webThemeOptions.d.ts","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAAiD,CAAA"}
|