@xyo-network/react-theme 2.25.52 → 2.25.55
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/cjs/themeOptions.js +13 -10
- package/dist/cjs/themeOptions.js.map +1 -1
- package/dist/docs.json +3 -3
- package/dist/esm/themeOptions.js +13 -10
- package/dist/esm/themeOptions.js.map +1 -1
- package/package.json +1 -1
- package/src/themeOptions.ts +13 -11
package/dist/cjs/themeOptions.js
CHANGED
|
@@ -36,11 +36,21 @@ exports.components = {
|
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
+
MuiTableCell: {
|
|
40
|
+
styleOverrides: {
|
|
41
|
+
body: {
|
|
42
|
+
fontFamily: 'monospace',
|
|
43
|
+
whiteSpace: 'nowrap',
|
|
44
|
+
},
|
|
45
|
+
head: {
|
|
46
|
+
fontWeight: 700,
|
|
47
|
+
whiteSpace: 'nowrap',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
39
51
|
};
|
|
40
|
-
const lowerFontWeight = 400;
|
|
41
52
|
exports.typography = {
|
|
42
53
|
body1: {
|
|
43
|
-
fontWeight: 400,
|
|
44
54
|
lineHeight: 1.57,
|
|
45
55
|
},
|
|
46
56
|
body2: {
|
|
@@ -48,7 +58,6 @@ exports.typography = {
|
|
|
48
58
|
},
|
|
49
59
|
button: {
|
|
50
60
|
fontSize: '1rem',
|
|
51
|
-
fontWeight: 500,
|
|
52
61
|
textTransform: 'inherit',
|
|
53
62
|
},
|
|
54
63
|
fontFamily: fontFamily_1.fontFamilyPrimary,
|
|
@@ -59,29 +68,23 @@ exports.typography = {
|
|
|
59
68
|
h1: {
|
|
60
69
|
fontFamily: fontFamily_1.fontFamilyPrimary,
|
|
61
70
|
fontSize: '4rem',
|
|
62
|
-
fontWeight: 200,
|
|
63
71
|
},
|
|
64
72
|
h2: {
|
|
65
73
|
fontFamily: fontFamily_1.fontFamilyPrimary,
|
|
66
74
|
fontSize: '2.4rem',
|
|
67
|
-
fontWeight: lowerFontWeight,
|
|
68
75
|
},
|
|
69
76
|
h3: {
|
|
70
77
|
fontFamily: fontFamily_1.fontFamilyPrimary,
|
|
71
78
|
fontSize: '2.24rem',
|
|
72
|
-
fontWeight: lowerFontWeight,
|
|
73
79
|
},
|
|
74
80
|
h4: {
|
|
75
81
|
fontSize: '2rem',
|
|
76
|
-
fontWeight: lowerFontWeight,
|
|
77
82
|
},
|
|
78
83
|
h5: {
|
|
79
84
|
fontSize: '1.5rem',
|
|
80
|
-
fontWeight: lowerFontWeight,
|
|
81
85
|
},
|
|
82
86
|
h6: {
|
|
83
87
|
fontSize: '1.25rem',
|
|
84
|
-
fontWeight: lowerFontWeight,
|
|
85
88
|
},
|
|
86
89
|
subtitle1: {
|
|
87
90
|
opacity: '50%',
|
|
@@ -96,7 +99,7 @@ exports.baseThemeOptions = {
|
|
|
96
99
|
shape: {
|
|
97
100
|
borderRadius: 8,
|
|
98
101
|
},
|
|
99
|
-
spacing:
|
|
102
|
+
spacing: 16,
|
|
100
103
|
typography: exports.typography,
|
|
101
104
|
};
|
|
102
105
|
exports.themeOptions = (0, merge_1.default)({}, exports.baseThemeOptions, partialLightThemeOptions_1.partialLightThemeOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeOptions.js","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":";;;;AACA,iEAAgC;AAEhC,6CAAgD;AAChD,yEAAqE;AAExD,QAAA,UAAU,GAA+B;IACpD,OAAO,EAAE;QACP,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,cAAc,EAAE,eAAe;aAChC;SACF;KACF;IACD,aAAa,EAAE;QACb,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;SACF;KACF;IACD,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,SAAS,EAAE,MAAM;SAClB;QACD,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,SAAS,EAAE;oBACT,MAAM,EAAE,iBAAiB;iBAC1B;aACF;SACF;KACF;
|
|
1
|
+
{"version":3,"file":"themeOptions.js","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":";;;;AACA,iEAAgC;AAEhC,6CAAgD;AAChD,yEAAqE;AAExD,QAAA,UAAU,GAA+B;IACpD,OAAO,EAAE;QACP,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,cAAc,EAAE,eAAe;aAChC;SACF;KACF;IACD,aAAa,EAAE;QACb,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;SACF;KACF;IACD,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,SAAS,EAAE,MAAM;SAClB;QACD,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,SAAS,EAAE;oBACT,MAAM,EAAE,iBAAiB;iBAC1B;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,QAAQ;aACrB;YACD,IAAI,EAAE;gBACJ,UAAU,EAAE,GAAG;gBACf,UAAU,EAAE,QAAQ;aACrB;SACF;KACF;CACF,CAAA;AAEY,QAAA,UAAU,GAA+B;IACpD,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;KACjB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,SAAS;KACzB;IACD,UAAU,EAAE,8BAAiB;IAC7B,cAAc,EAAE,GAAG;IACnB,eAAe,EAAE,GAAG;IACpB,gBAAgB,EAAE,GAAG;IACrB,iBAAiB,EAAE,GAAG;IACtB,EAAE,EAAE;QACF,UAAU,EAAE,8BAAiB;QAC7B,QAAQ,EAAE,MAAM;KACjB;IACD,EAAE,EAAE;QACF,UAAU,EAAE,8BAAiB;QAC7B,QAAQ,EAAE,QAAQ;KACnB;IACD,EAAE,EAAE;QACF,UAAU,EAAE,8BAAiB;QAC7B,QAAQ,EAAE,SAAS;KACpB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,MAAM;KACjB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,QAAQ;KACnB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,SAAS;KACpB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,KAAK;QACd,aAAa,EAAE,WAAW;KAC3B;IACD,SAAS,EAAE;QACT,OAAO,EAAE,KAAK;KACf;CACF,CAAA;AAEY,QAAA,gBAAgB,GAAiB;IAC5C,UAAU,EAAV,kBAAU;IACV,KAAK,EAAE;QACL,YAAY,EAAE,CAAC;KAChB;IACD,OAAO,EAAE,EAAE;IACX,UAAU,EAAV,kBAAU;CACX,CAAA;AAEY,QAAA,YAAY,GAAG,IAAA,eAAK,EAAC,EAAE,EAAE,wBAAgB,EAAE,mDAAwB,CAAC,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"sources": [
|
|
41
41
|
{
|
|
42
42
|
"fileName": "themeOptions.ts",
|
|
43
|
-
"line":
|
|
43
|
+
"line": 98,
|
|
44
44
|
"character": 13
|
|
45
45
|
}
|
|
46
46
|
],
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"sources": [
|
|
161
161
|
{
|
|
162
162
|
"fileName": "themeOptions.ts",
|
|
163
|
-
"line":
|
|
163
|
+
"line": 107,
|
|
164
164
|
"character": 13
|
|
165
165
|
}
|
|
166
166
|
],
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"sources": [
|
|
184
184
|
{
|
|
185
185
|
"fileName": "themeOptions.ts",
|
|
186
|
-
"line":
|
|
186
|
+
"line": 52,
|
|
187
187
|
"character": 13
|
|
188
188
|
}
|
|
189
189
|
],
|
package/dist/esm/themeOptions.js
CHANGED
|
@@ -32,11 +32,21 @@ export const components = {
|
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
MuiTableCell: {
|
|
36
|
+
styleOverrides: {
|
|
37
|
+
body: {
|
|
38
|
+
fontFamily: 'monospace',
|
|
39
|
+
whiteSpace: 'nowrap',
|
|
40
|
+
},
|
|
41
|
+
head: {
|
|
42
|
+
fontWeight: 700,
|
|
43
|
+
whiteSpace: 'nowrap',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
35
47
|
};
|
|
36
|
-
const lowerFontWeight = 400;
|
|
37
48
|
export const typography = {
|
|
38
49
|
body1: {
|
|
39
|
-
fontWeight: 400,
|
|
40
50
|
lineHeight: 1.57,
|
|
41
51
|
},
|
|
42
52
|
body2: {
|
|
@@ -44,7 +54,6 @@ export const typography = {
|
|
|
44
54
|
},
|
|
45
55
|
button: {
|
|
46
56
|
fontSize: '1rem',
|
|
47
|
-
fontWeight: 500,
|
|
48
57
|
textTransform: 'inherit',
|
|
49
58
|
},
|
|
50
59
|
fontFamily: fontFamilyPrimary,
|
|
@@ -55,29 +64,23 @@ export const typography = {
|
|
|
55
64
|
h1: {
|
|
56
65
|
fontFamily: fontFamilyPrimary,
|
|
57
66
|
fontSize: '4rem',
|
|
58
|
-
fontWeight: 200,
|
|
59
67
|
},
|
|
60
68
|
h2: {
|
|
61
69
|
fontFamily: fontFamilyPrimary,
|
|
62
70
|
fontSize: '2.4rem',
|
|
63
|
-
fontWeight: lowerFontWeight,
|
|
64
71
|
},
|
|
65
72
|
h3: {
|
|
66
73
|
fontFamily: fontFamilyPrimary,
|
|
67
74
|
fontSize: '2.24rem',
|
|
68
|
-
fontWeight: lowerFontWeight,
|
|
69
75
|
},
|
|
70
76
|
h4: {
|
|
71
77
|
fontSize: '2rem',
|
|
72
|
-
fontWeight: lowerFontWeight,
|
|
73
78
|
},
|
|
74
79
|
h5: {
|
|
75
80
|
fontSize: '1.5rem',
|
|
76
|
-
fontWeight: lowerFontWeight,
|
|
77
81
|
},
|
|
78
82
|
h6: {
|
|
79
83
|
fontSize: '1.25rem',
|
|
80
|
-
fontWeight: lowerFontWeight,
|
|
81
84
|
},
|
|
82
85
|
subtitle1: {
|
|
83
86
|
opacity: '50%',
|
|
@@ -92,7 +95,7 @@ export const baseThemeOptions = {
|
|
|
92
95
|
shape: {
|
|
93
96
|
borderRadius: 8,
|
|
94
97
|
},
|
|
95
|
-
spacing:
|
|
98
|
+
spacing: 16,
|
|
96
99
|
typography,
|
|
97
100
|
};
|
|
98
101
|
export const themeOptions = merge({}, baseThemeOptions, partialLightThemeOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeOptions.js","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,OAAO,EAAE;QACP,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,cAAc,EAAE,eAAe;aAChC;SACF;KACF;IACD,aAAa,EAAE;QACb,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;SACF;KACF;IACD,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,SAAS,EAAE,MAAM;SAClB;QACD,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,SAAS,EAAE;oBACT,MAAM,EAAE,iBAAiB;iBAC1B;aACF;SACF;KACF;
|
|
1
|
+
{"version":3,"file":"themeOptions.js","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,OAAO,EAAE;QACP,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,cAAc,EAAE,eAAe;aAChC;SACF;KACF;IACD,aAAa,EAAE;QACb,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;SACF;KACF;IACD,OAAO,EAAE;QACP,YAAY,EAAE;YACZ,SAAS,EAAE,MAAM;SAClB;QACD,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,SAAS,EAAE;oBACT,MAAM,EAAE,iBAAiB;iBAC1B;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,QAAQ;aACrB;YACD,IAAI,EAAE;gBACJ,UAAU,EAAE,GAAG;gBACf,UAAU,EAAE,QAAQ;aACrB;SACF;KACF;CACF,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;KACjB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,SAAS;KACzB;IACD,UAAU,EAAE,iBAAiB;IAC7B,cAAc,EAAE,GAAG;IACnB,eAAe,EAAE,GAAG;IACpB,gBAAgB,EAAE,GAAG;IACrB,iBAAiB,EAAE,GAAG;IACtB,EAAE,EAAE;QACF,UAAU,EAAE,iBAAiB;QAC7B,QAAQ,EAAE,MAAM;KACjB;IACD,EAAE,EAAE;QACF,UAAU,EAAE,iBAAiB;QAC7B,QAAQ,EAAE,QAAQ;KACnB;IACD,EAAE,EAAE;QACF,UAAU,EAAE,iBAAiB;QAC7B,QAAQ,EAAE,SAAS;KACpB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,MAAM;KACjB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,QAAQ;KACnB;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,SAAS;KACpB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,KAAK;QACd,aAAa,EAAE,WAAW;KAC3B;IACD,SAAS,EAAE;QACT,OAAO,EAAE,KAAK;KACf;CACF,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,UAAU;IACV,KAAK,EAAE;QACL,YAAY,EAAE,CAAC;KAChB;IACD,OAAO,EAAE,EAAE;IACX,UAAU;CACX,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,CAAC,EAAE,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,CAAA"}
|
package/package.json
CHANGED
package/src/themeOptions.ts
CHANGED
|
@@ -35,13 +35,22 @@ export const components: ThemeOptions['components'] = {
|
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
MuiTableCell: {
|
|
39
|
+
styleOverrides: {
|
|
40
|
+
body: {
|
|
41
|
+
fontFamily: 'monospace',
|
|
42
|
+
whiteSpace: 'nowrap',
|
|
43
|
+
},
|
|
44
|
+
head: {
|
|
45
|
+
fontWeight: 700,
|
|
46
|
+
whiteSpace: 'nowrap',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
38
50
|
}
|
|
39
51
|
|
|
40
|
-
const lowerFontWeight = 400
|
|
41
|
-
|
|
42
52
|
export const typography: ThemeOptions['typography'] = {
|
|
43
53
|
body1: {
|
|
44
|
-
fontWeight: 400,
|
|
45
54
|
lineHeight: 1.57,
|
|
46
55
|
},
|
|
47
56
|
body2: {
|
|
@@ -49,7 +58,6 @@ export const typography: ThemeOptions['typography'] = {
|
|
|
49
58
|
},
|
|
50
59
|
button: {
|
|
51
60
|
fontSize: '1rem',
|
|
52
|
-
fontWeight: 500,
|
|
53
61
|
textTransform: 'inherit',
|
|
54
62
|
},
|
|
55
63
|
fontFamily: fontFamilyPrimary,
|
|
@@ -60,29 +68,23 @@ export const typography: ThemeOptions['typography'] = {
|
|
|
60
68
|
h1: {
|
|
61
69
|
fontFamily: fontFamilyPrimary,
|
|
62
70
|
fontSize: '4rem',
|
|
63
|
-
fontWeight: 200,
|
|
64
71
|
},
|
|
65
72
|
h2: {
|
|
66
73
|
fontFamily: fontFamilyPrimary,
|
|
67
74
|
fontSize: '2.4rem',
|
|
68
|
-
fontWeight: lowerFontWeight,
|
|
69
75
|
},
|
|
70
76
|
h3: {
|
|
71
77
|
fontFamily: fontFamilyPrimary,
|
|
72
78
|
fontSize: '2.24rem',
|
|
73
|
-
fontWeight: lowerFontWeight,
|
|
74
79
|
},
|
|
75
80
|
h4: {
|
|
76
81
|
fontSize: '2rem',
|
|
77
|
-
fontWeight: lowerFontWeight,
|
|
78
82
|
},
|
|
79
83
|
h5: {
|
|
80
84
|
fontSize: '1.5rem',
|
|
81
|
-
fontWeight: lowerFontWeight,
|
|
82
85
|
},
|
|
83
86
|
h6: {
|
|
84
87
|
fontSize: '1.25rem',
|
|
85
|
-
fontWeight: lowerFontWeight,
|
|
86
88
|
},
|
|
87
89
|
subtitle1: {
|
|
88
90
|
opacity: '50%',
|
|
@@ -98,7 +100,7 @@ export const baseThemeOptions: ThemeOptions = {
|
|
|
98
100
|
shape: {
|
|
99
101
|
borderRadius: 8,
|
|
100
102
|
},
|
|
101
|
-
spacing:
|
|
103
|
+
spacing: 16,
|
|
102
104
|
typography,
|
|
103
105
|
}
|
|
104
106
|
|