@xyo-network/react-theme 2.25.34 → 2.25.37

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.
@@ -2,7 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.partialDarkThemeOptions = void 0;
4
4
  const material_1 = require("@mui/material");
5
+ const components = {
6
+ MuiPaper: {
7
+ defaultProps: {
8
+ variant: 'elevation',
9
+ },
10
+ },
11
+ };
5
12
  exports.partialDarkThemeOptions = {
13
+ components,
6
14
  palette: {
7
15
  background: {
8
16
  default: (0, material_1.darken)('#171626', 0.1),
@@ -1 +1 @@
1
- {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEvC,QAAA,uBAAuB,GAAiB;IACnD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,OAAO,EAAE,IAAA,iBAAM,EAAC,SAAS,EAAE,GAAG,CAAC;YAC/B,KAAK,EAAE,SAAS;SACjB;QACD,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEpD,MAAM,UAAU,GAA+B;IAC7C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAEY,QAAA,uBAAuB,GAAiB;IACnD,UAAU;IACV,OAAO,EAAE;QACP,UAAU,EAAE;YACV,OAAO,EAAE,IAAA,iBAAM,EAAC,SAAS,EAAE,GAAG,CAAC;YAC/B,KAAK,EAAE,SAAS;SACjB;QACD,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
@@ -1,7 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.partialLightThemeOptions = void 0;
4
+ const components = {
5
+ MuiPaper: {
6
+ defaultProps: {
7
+ variant: 'outlined',
8
+ },
9
+ },
10
+ };
4
11
  exports.partialLightThemeOptions = {
12
+ components,
5
13
  palette: {
6
14
  mode: 'light',
7
15
  primary: {
@@ -1 +1 @@
1
- {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAiB;IACpD,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":";;;AAEA,MAAM,UAAU,GAA+B;IAC7C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAEY,QAAA,wBAAwB,GAAiB;IACpD,UAAU;IACV,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
package/dist/docs.json CHANGED
@@ -114,7 +114,7 @@
114
114
  "sources": [
115
115
  {
116
116
  "fileName": "partialDarkThemeOptions.tsx",
117
- "line": 3,
117
+ "line": 11,
118
118
  "character": 13
119
119
  }
120
120
  ],
@@ -137,7 +137,7 @@
137
137
  "sources": [
138
138
  {
139
139
  "fileName": "partialLightThemeOptions.tsx",
140
- "line": 3,
140
+ "line": 11,
141
141
  "character": 13
142
142
  }
143
143
  ],
@@ -1,5 +1,13 @@
1
1
  import { darken } from '@mui/material';
2
+ const components = {
3
+ MuiPaper: {
4
+ defaultProps: {
5
+ variant: 'elevation',
6
+ },
7
+ },
8
+ };
2
9
  export const partialDarkThemeOptions = {
10
+ components,
3
11
  palette: {
4
12
  background: {
5
13
  default: darken('#171626', 0.1),
@@ -1 +1 @@
1
- {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,eAAe,CAAA;AAEpD,MAAM,CAAC,MAAM,uBAAuB,GAAiB;IACnD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC;YAC/B,KAAK,EAAE,SAAS;SACjB;QACD,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,eAAe,CAAA;AAEpD,MAAM,UAAU,GAA+B;IAC7C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAiB;IACnD,UAAU;IACV,OAAO,EAAE;QACP,UAAU,EAAE;YACV,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC;YAC/B,KAAK,EAAE,SAAS;SACjB;QACD,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
@@ -1,4 +1,12 @@
1
+ const components = {
2
+ MuiPaper: {
3
+ defaultProps: {
4
+ variant: 'outlined',
5
+ },
6
+ },
7
+ };
1
8
  export const partialLightThemeOptions = {
9
+ components,
2
10
  palette: {
3
11
  mode: 'light',
4
12
  primary: {
@@ -1 +1 @@
1
- {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAiB;IACpD,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAA+B;IAC7C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAiB;IACpD,UAAU;IACV,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;SAChB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAA"}
package/package.json CHANGED
@@ -97,6 +97,6 @@
97
97
  },
98
98
  "sideEffects": false,
99
99
  "types": "dist/esm/index.d.ts",
100
- "version": "2.25.34",
100
+ "version": "2.25.37",
101
101
  "packageManager": "yarn@3.1.1"
102
102
  }
@@ -1,6 +1,15 @@
1
1
  import { darken, ThemeOptions } from '@mui/material'
2
2
 
3
+ const components: ThemeOptions['components'] = {
4
+ MuiPaper: {
5
+ defaultProps: {
6
+ variant: 'elevation',
7
+ },
8
+ },
9
+ }
10
+
3
11
  export const partialDarkThemeOptions: ThemeOptions = {
12
+ components,
4
13
  palette: {
5
14
  background: {
6
15
  default: darken('#171626', 0.1),
@@ -1,6 +1,15 @@
1
1
  import { ThemeOptions } from '@mui/material'
2
2
 
3
+ const components: ThemeOptions['components'] = {
4
+ MuiPaper: {
5
+ defaultProps: {
6
+ variant: 'outlined',
7
+ },
8
+ },
9
+ }
10
+
3
11
  export const partialLightThemeOptions: ThemeOptions = {
12
+ components,
4
13
  palette: {
5
14
  mode: 'light',
6
15
  primary: {