@xyo-network/react-theme 2.64.0-rc.2 → 2.64.0-rc.4
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/appThemeOptions.d.mts.map +1 -0
- package/dist/browser/appThemeOptions.d.ts.map +1 -0
- package/dist/browser/appThemeOptions.js +28 -0
- package/dist/browser/appThemeOptions.js.map +1 -0
- package/dist/browser/fontFamily.d.mts.map +1 -0
- package/dist/browser/fontFamily.d.ts.map +1 -0
- package/dist/browser/fontFamily.js +5 -0
- package/dist/browser/fontFamily.js.map +1 -0
- package/dist/browser/index.d.mts.map +1 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +7 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/partialDarkThemeOptions.d.mts.map +1 -0
- package/dist/browser/partialDarkThemeOptions.d.ts.map +1 -0
- package/dist/browser/partialDarkThemeOptions.js +30 -0
- package/dist/browser/partialDarkThemeOptions.js.map +1 -0
- package/dist/browser/partialLightThemeOptions.d.mts.map +1 -0
- package/dist/browser/partialLightThemeOptions.d.ts.map +1 -0
- package/dist/browser/partialLightThemeOptions.js +25 -0
- package/dist/browser/partialLightThemeOptions.js.map +1 -0
- package/dist/browser/themeOptions.d.mts.map +1 -0
- package/dist/browser/themeOptions.d.ts.map +1 -0
- package/dist/browser/themeOptions.js +103 -0
- package/dist/browser/themeOptions.js.map +1 -0
- package/dist/browser/webThemeOptions.d.mts.map +1 -0
- package/dist/browser/webThemeOptions.d.ts.map +1 -0
- package/dist/browser/webThemeOptions.js +8 -0
- package/dist/browser/webThemeOptions.js.map +1 -0
- package/dist/node/appThemeOptions.d.mts +3 -0
- package/dist/node/appThemeOptions.d.mts.map +1 -0
- package/dist/node/appThemeOptions.d.ts +3 -0
- package/dist/node/appThemeOptions.d.ts.map +1 -0
- package/dist/node/appThemeOptions.js +52 -0
- package/dist/node/appThemeOptions.js.map +1 -0
- package/dist/node/appThemeOptions.mjs +28 -0
- package/dist/node/appThemeOptions.mjs.map +1 -0
- package/dist/node/fontFamily.d.mts +2 -0
- package/dist/node/fontFamily.d.mts.map +1 -0
- package/dist/node/fontFamily.d.ts +2 -0
- package/dist/node/fontFamily.d.ts.map +1 -0
- package/dist/node/fontFamily.js +29 -0
- package/dist/node/fontFamily.js.map +1 -0
- package/dist/node/fontFamily.mjs +5 -0
- package/dist/node/fontFamily.mjs.map +1 -0
- package/dist/node/index.d.mts +7 -0
- package/dist/node/index.d.mts.map +1 -0
- package/dist/node/index.d.ts +7 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +33 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/index.mjs +7 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/partialDarkThemeOptions.d.mts +4 -0
- package/dist/node/partialDarkThemeOptions.d.mts.map +1 -0
- package/dist/node/partialDarkThemeOptions.d.ts +4 -0
- package/dist/node/partialDarkThemeOptions.d.ts.map +1 -0
- package/dist/node/partialDarkThemeOptions.js +55 -0
- package/dist/node/partialDarkThemeOptions.js.map +1 -0
- package/dist/node/partialDarkThemeOptions.mjs +30 -0
- package/dist/node/partialDarkThemeOptions.mjs.map +1 -0
- package/dist/node/partialLightThemeOptions.d.mts +4 -0
- package/dist/node/partialLightThemeOptions.d.mts.map +1 -0
- package/dist/node/partialLightThemeOptions.d.ts +4 -0
- package/dist/node/partialLightThemeOptions.d.ts.map +1 -0
- package/dist/node/partialLightThemeOptions.js +50 -0
- package/dist/node/partialLightThemeOptions.js.map +1 -0
- package/dist/node/partialLightThemeOptions.mjs +25 -0
- package/dist/node/partialLightThemeOptions.mjs.map +1 -0
- package/dist/node/themeOptions.d.mts +5 -0
- package/dist/node/themeOptions.d.mts.map +1 -0
- package/dist/node/themeOptions.d.ts +5 -0
- package/dist/node/themeOptions.d.ts.map +1 -0
- package/dist/node/themeOptions.js +129 -0
- package/dist/node/themeOptions.js.map +1 -0
- package/dist/node/themeOptions.mjs +103 -0
- package/dist/node/themeOptions.mjs.map +1 -0
- package/dist/node/webThemeOptions.d.mts +3 -0
- package/dist/node/webThemeOptions.d.mts.map +1 -0
- package/dist/node/webThemeOptions.d.ts +3 -0
- package/dist/node/webThemeOptions.d.ts.map +1 -0
- package/dist/node/webThemeOptions.js +32 -0
- package/dist/node/webThemeOptions.js.map +1 -0
- package/dist/node/webThemeOptions.mjs +8 -0
- package/dist/node/webThemeOptions.mjs.map +1 -0
- package/package.json +14 -14
- package/dist/appThemeOptions.d.mts.map +0 -1
- package/dist/appThemeOptions.d.ts.map +0 -1
- package/dist/fontFamily.d.mts.map +0 -1
- package/dist/fontFamily.d.ts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -230
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -194
- package/dist/index.mjs.map +0 -1
- package/dist/partialDarkThemeOptions.d.mts.map +0 -1
- package/dist/partialDarkThemeOptions.d.ts.map +0 -1
- package/dist/partialLightThemeOptions.d.mts.map +0 -1
- package/dist/partialLightThemeOptions.d.ts.map +0 -1
- package/dist/themeOptions.d.mts.map +0 -1
- package/dist/themeOptions.d.ts.map +0 -1
- package/dist/webThemeOptions.d.mts.map +0 -1
- package/dist/webThemeOptions.d.ts.map +0 -1
- /package/dist/{appThemeOptions.d.mts → browser/appThemeOptions.d.mts} +0 -0
- /package/dist/{appThemeOptions.d.ts → browser/appThemeOptions.d.ts} +0 -0
- /package/dist/{fontFamily.d.mts → browser/fontFamily.d.mts} +0 -0
- /package/dist/{fontFamily.d.ts → browser/fontFamily.d.ts} +0 -0
- /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
- /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
- /package/dist/{partialDarkThemeOptions.d.mts → browser/partialDarkThemeOptions.d.mts} +0 -0
- /package/dist/{partialDarkThemeOptions.d.ts → browser/partialDarkThemeOptions.d.ts} +0 -0
- /package/dist/{partialLightThemeOptions.d.mts → browser/partialLightThemeOptions.d.mts} +0 -0
- /package/dist/{partialLightThemeOptions.d.ts → browser/partialLightThemeOptions.d.ts} +0 -0
- /package/dist/{themeOptions.d.mts → browser/themeOptions.d.mts} +0 -0
- /package/dist/{themeOptions.d.ts → browser/themeOptions.d.ts} +0 -0
- /package/dist/{webThemeOptions.d.mts → browser/webThemeOptions.d.mts} +0 -0
- /package/dist/{webThemeOptions.d.ts → browser/webThemeOptions.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA6B5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA6B5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { merge } from "@xylabs/lodash";
|
|
2
|
+
import { themeOptions } from "./themeOptions";
|
|
3
|
+
const partialAppThemeOptions = {
|
|
4
|
+
components: {
|
|
5
|
+
MuiTypography: {
|
|
6
|
+
styleOverrides: {
|
|
7
|
+
root: ({ ownerState }) => {
|
|
8
|
+
const { clamped } = ownerState;
|
|
9
|
+
if (clamped) {
|
|
10
|
+
const maxWidth = parseInt(clamped, 10);
|
|
11
|
+
return {
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
textOverflow: "ellipsis",
|
|
14
|
+
whiteSpace: "nowrap",
|
|
15
|
+
width: `clamp(1%, 100%, ${maxWidth}px)`
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
spacing: 8
|
|
23
|
+
};
|
|
24
|
+
const appThemeOptions = merge({}, themeOptions, partialAppThemeOptions);
|
|
25
|
+
export {
|
|
26
|
+
appThemeOptions
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=appThemeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/appThemeOptions.tsx"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nimport { themeOptions } from './themeOptions'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions = merge({}, themeOptions, partialAppThemeOptions)\n"],"mappings":"AACA,SAAS,aAAa;AAEtB,SAAS,oBAAoB;AAE7B,MAAM,yBAAuC;AAAA,EAC3C,YAAY;AAAA,IACV,eAAe;AAAA,MACb,gBAAgB;AAAA,QACd,MAAM,CAAC,EAAE,WAAW,MAAM;AACxB,gBAAM,EAAE,QAAQ,IAAI;AAEpB,cAAI,SAAS;AACX,kBAAM,WAAW,SAAS,SAAmB,EAAE;AAE/C,mBAAO;AAAA,cACL,UAAU;AAAA,cACV,cAAc;AAAA,cACd,YAAY;AAAA,cACZ,OAAO,mBAAmB,QAAQ;AAAA,YACpC;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AACX;AAEO,MAAM,kBAAkB,MAAM,CAAC,GAAG,cAAc,sBAAsB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/fontFamily.ts"],"sourcesContent":["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\n"],"mappings":"AAAO,MAAM,oBAAoB,CAAC,eAAe,aAAa,YAAY,EAAE,KAAK,GAAG;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './appThemeOptions'\nexport * from './fontFamily'\nexport * from './partialDarkThemeOptions'\nexport * from './partialLightThemeOptions'\nexport * from './themeOptions'\nexport * from './webThemeOptions'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,eAAe,CAAA;AAWpD,eAAO,MAAM,uBAAuB,EAAE,YAcrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAgF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,eAAe,CAAA;AAWpD,eAAO,MAAM,uBAAuB,EAAE,YAcrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAgF,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { darken } from "@mui/material";
|
|
2
|
+
import { merge } from "@xylabs/lodash";
|
|
3
|
+
const appComponents = {
|
|
4
|
+
MuiPaper: {
|
|
5
|
+
defaultProps: {
|
|
6
|
+
variant: "elevation"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
const partialDarkThemeOptions = {
|
|
11
|
+
palette: {
|
|
12
|
+
background: {
|
|
13
|
+
default: darken("#171626", 0.1),
|
|
14
|
+
paper: "#171626"
|
|
15
|
+
},
|
|
16
|
+
mode: "dark",
|
|
17
|
+
primary: {
|
|
18
|
+
main: "#9993F5"
|
|
19
|
+
},
|
|
20
|
+
secondary: {
|
|
21
|
+
main: "#8EC8FF"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const partialAppDarkThemeOptions = merge({}, partialDarkThemeOptions, { components: appComponents });
|
|
26
|
+
export {
|
|
27
|
+
partialAppDarkThemeOptions,
|
|
28
|
+
partialDarkThemeOptions
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=partialDarkThemeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/partialDarkThemeOptions.tsx"],"sourcesContent":["import { darken, ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nconst appComponents: ThemeOptions['components'] = {\n MuiPaper: {\n defaultProps: {\n variant: 'elevation',\n },\n },\n}\n\nexport const partialDarkThemeOptions: ThemeOptions = {\n palette: {\n background: {\n default: darken('#171626', 0.1),\n paper: '#171626',\n },\n mode: 'dark',\n primary: {\n main: '#9993F5',\n },\n secondary: {\n main: '#8EC8FF',\n },\n },\n}\n\nexport const partialAppDarkThemeOptions: ThemeOptions = merge({}, partialDarkThemeOptions, { components: appComponents })\n"],"mappings":"AAAA,SAAS,cAA4B;AACrC,SAAS,aAAa;AAEtB,MAAM,gBAA4C;AAAA,EAChD,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,SAAS;AAAA,IACX;AAAA,EACF;AACF;AAEO,MAAM,0BAAwC;AAAA,EACnD,SAAS;AAAA,IACP,YAAY;AAAA,MACV,SAAS,OAAO,WAAW,GAAG;AAAA,MAC9B,OAAO;AAAA,IACT;AAAA,IACA,MAAM;AAAA,IACN,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,MAAM,6BAA2C,MAAM,CAAC,GAAG,yBAAyB,EAAE,YAAY,cAAc,CAAC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialLightThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAW5C,eAAO,MAAM,wBAAwB,EAAE,YAUtC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,YAAiF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialLightThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAW5C,eAAO,MAAM,wBAAwB,EAAE,YAUtC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,YAAiF,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { merge } from "@xylabs/lodash";
|
|
2
|
+
const appComponents = {
|
|
3
|
+
MuiPaper: {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
variant: "outlined"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
const partialLightThemeOptions = {
|
|
10
|
+
palette: {
|
|
11
|
+
mode: "light",
|
|
12
|
+
primary: {
|
|
13
|
+
main: "#1f1a66"
|
|
14
|
+
},
|
|
15
|
+
secondary: {
|
|
16
|
+
main: "#0f68c9"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const partialAppLightThemeOptions = merge({}, partialLightThemeOptions, { components: appComponents });
|
|
21
|
+
export {
|
|
22
|
+
partialAppLightThemeOptions,
|
|
23
|
+
partialLightThemeOptions
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=partialLightThemeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/partialLightThemeOptions.tsx"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nconst appComponents: ThemeOptions['components'] = {\n MuiPaper: {\n defaultProps: {\n variant: 'outlined',\n },\n },\n}\n\nexport const partialLightThemeOptions: ThemeOptions = {\n palette: {\n mode: 'light',\n primary: {\n main: '#1f1a66',\n },\n secondary: {\n main: '#0f68c9',\n },\n },\n}\n\nexport const partialAppLightThemeOptions: ThemeOptions = merge({}, partialLightThemeOptions, { components: appComponents })\n"],"mappings":"AACA,SAAS,aAAa;AAEtB,MAAM,gBAA4C;AAAA,EAChD,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,SAAS;AAAA,IACX;AAAA,EACF;AACF;AAEO,MAAM,2BAAyC;AAAA,EACpD,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,MAAM,8BAA4C,MAAM,CAAC,GAAG,0BAA0B,EAAE,YAAY,cAAc,CAAC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeOptions.d.ts","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA2CjD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA2CjD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,YAO1B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeOptions.d.ts","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA2CjD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA2CjD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,YAO1B,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { fontFamilyPrimary } from "./fontFamily";
|
|
2
|
+
const components = {
|
|
3
|
+
MuiCard: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: {
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
justifyContent: "space-between"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
MuiCardHeader: {
|
|
13
|
+
styleOverrides: {
|
|
14
|
+
content: {
|
|
15
|
+
display: "flex",
|
|
16
|
+
flexDirection: "column",
|
|
17
|
+
overflow: "hidden"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
MuiLink: {
|
|
22
|
+
defaultProps: {
|
|
23
|
+
underline: "none"
|
|
24
|
+
},
|
|
25
|
+
styleOverrides: {
|
|
26
|
+
root: {
|
|
27
|
+
"&:hover": {
|
|
28
|
+
filter: "brightness(75%)"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
MuiTableCell: {
|
|
34
|
+
styleOverrides: {
|
|
35
|
+
body: {
|
|
36
|
+
fontFamily: "monospace",
|
|
37
|
+
whiteSpace: "nowrap"
|
|
38
|
+
},
|
|
39
|
+
head: {
|
|
40
|
+
fontWeight: 700,
|
|
41
|
+
whiteSpace: "nowrap"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const typography = {
|
|
47
|
+
body1: {
|
|
48
|
+
lineHeight: 1.57
|
|
49
|
+
},
|
|
50
|
+
body2: {
|
|
51
|
+
lineHeight: 1.57
|
|
52
|
+
},
|
|
53
|
+
button: {
|
|
54
|
+
fontSize: "1rem",
|
|
55
|
+
textTransform: "inherit"
|
|
56
|
+
},
|
|
57
|
+
fontFamily: fontFamilyPrimary,
|
|
58
|
+
fontWeightBold: 700,
|
|
59
|
+
fontWeightLight: 200,
|
|
60
|
+
fontWeightMedium: 300,
|
|
61
|
+
fontWeightRegular: 400,
|
|
62
|
+
h1: {
|
|
63
|
+
fontFamily: fontFamilyPrimary,
|
|
64
|
+
fontSize: "4rem"
|
|
65
|
+
},
|
|
66
|
+
h2: {
|
|
67
|
+
fontFamily: fontFamilyPrimary,
|
|
68
|
+
fontSize: "2.4rem"
|
|
69
|
+
},
|
|
70
|
+
h3: {
|
|
71
|
+
fontFamily: fontFamilyPrimary,
|
|
72
|
+
fontSize: "2.24rem"
|
|
73
|
+
},
|
|
74
|
+
h4: {
|
|
75
|
+
fontSize: "2rem"
|
|
76
|
+
},
|
|
77
|
+
h5: {
|
|
78
|
+
fontSize: "1.5rem"
|
|
79
|
+
},
|
|
80
|
+
h6: {
|
|
81
|
+
fontSize: "1.1rem"
|
|
82
|
+
},
|
|
83
|
+
subtitle1: {
|
|
84
|
+
opacity: "70%"
|
|
85
|
+
},
|
|
86
|
+
subtitle2: {
|
|
87
|
+
opacity: "70%"
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const themeOptions = {
|
|
91
|
+
components,
|
|
92
|
+
shape: {
|
|
93
|
+
borderRadius: 8
|
|
94
|
+
},
|
|
95
|
+
spacing: 16,
|
|
96
|
+
typography
|
|
97
|
+
};
|
|
98
|
+
export {
|
|
99
|
+
components,
|
|
100
|
+
themeOptions,
|
|
101
|
+
typography
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=themeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/themeOptions.ts"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyPrimary } from './fontFamily'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: {\n underline: 'none',\n },\n styleOverrides: {\n root: {\n '&:hover': {\n filter: 'brightness(75%)',\n },\n },\n },\n },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n\nexport const typography: ThemeOptions['typography'] = {\n body1: {\n lineHeight: 1.57,\n },\n body2: {\n lineHeight: 1.57,\n },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyPrimary,\n fontWeightBold: 700,\n fontWeightLight: 200,\n fontWeightMedium: 300,\n fontWeightRegular: 400,\n h1: {\n fontFamily: fontFamilyPrimary,\n fontSize: '4rem',\n },\n h2: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.4rem',\n },\n h3: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.24rem',\n },\n h4: {\n fontSize: '2rem',\n },\n h5: {\n fontSize: '1.5rem',\n },\n h6: {\n fontSize: '1.1rem',\n },\n subtitle1: {\n opacity: '70%',\n },\n subtitle2: {\n opacity: '70%',\n },\n}\n\nexport const themeOptions: ThemeOptions = {\n components,\n shape: {\n borderRadius: 8,\n },\n spacing: 16,\n typography,\n}\n"],"mappings":"AAEA,SAAS,yBAAyB;AAE3B,MAAM,aAAyC;AAAA,EACpD,SAAS;AAAA,IACP,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,eAAe;AAAA,QACf,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,gBAAgB;AAAA,MACd,SAAS;AAAA,QACP,SAAS;AAAA,QACT,eAAe;AAAA,QACf,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP,cAAc;AAAA,MACZ,WAAW;AAAA,IACb;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,WAAW;AAAA,UACT,QAAQ;AAAA,QACV;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,cAAc;AAAA,IACZ,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,MACA,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF;AAEO,MAAM,aAAyC;AAAA,EACpD,OAAO;AAAA,IACL,YAAY;AAAA,EACd;AAAA,EACA,OAAO;AAAA,IACL,YAAY;AAAA,EACd;AAAA,EACA,QAAQ;AAAA,IACN,UAAU;AAAA,IACV,eAAe;AAAA,EACjB;AAAA,EACA,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,EACX;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,EACX;AACF;AAEO,MAAM,eAA6B;AAAA,EACxC;AAAA,EACA,OAAO;AAAA,IACL,cAAc;AAAA,EAChB;AAAA,EACA,SAAS;AAAA,EACT;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webThemeOptions.d.ts","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAO5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webThemeOptions.d.ts","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAO5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { merge } from "@xylabs/lodash";
|
|
2
|
+
import { themeOptions } from "./themeOptions";
|
|
3
|
+
const partialWebThemeOptions = {};
|
|
4
|
+
const webThemeOptions = merge({}, themeOptions, partialWebThemeOptions);
|
|
5
|
+
export {
|
|
6
|
+
webThemeOptions
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=webThemeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/webThemeOptions.tsx"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nimport { themeOptions } from './themeOptions'\n\nconst partialWebThemeOptions: ThemeOptions = {}\n\nexport const webThemeOptions = merge({}, themeOptions, partialWebThemeOptions)\n"],"mappings":"AACA,SAAS,aAAa;AAEtB,SAAS,oBAAoB;AAE7B,MAAM,yBAAuC,CAAC;AAEvC,MAAM,kBAAkB,MAAM,CAAC,GAAG,cAAc,sBAAsB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA6B5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA6B5C,eAAO,MAAM,eAAe,cAAkD,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var appThemeOptions_exports = {};
|
|
20
|
+
__export(appThemeOptions_exports, {
|
|
21
|
+
appThemeOptions: () => appThemeOptions
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(appThemeOptions_exports);
|
|
24
|
+
var import_lodash = require("@xylabs/lodash");
|
|
25
|
+
var import_themeOptions = require("./themeOptions");
|
|
26
|
+
const partialAppThemeOptions = {
|
|
27
|
+
components: {
|
|
28
|
+
MuiTypography: {
|
|
29
|
+
styleOverrides: {
|
|
30
|
+
root: ({ ownerState }) => {
|
|
31
|
+
const { clamped } = ownerState;
|
|
32
|
+
if (clamped) {
|
|
33
|
+
const maxWidth = parseInt(clamped, 10);
|
|
34
|
+
return {
|
|
35
|
+
overflow: "hidden",
|
|
36
|
+
textOverflow: "ellipsis",
|
|
37
|
+
whiteSpace: "nowrap",
|
|
38
|
+
width: `clamp(1%, 100%, ${maxWidth}px)`
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
spacing: 8
|
|
46
|
+
};
|
|
47
|
+
const appThemeOptions = (0, import_lodash.merge)({}, import_themeOptions.themeOptions, partialAppThemeOptions);
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
appThemeOptions
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=appThemeOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/appThemeOptions.tsx"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nimport { themeOptions } from './themeOptions'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions = merge({}, themeOptions, partialAppThemeOptions)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,oBAAsB;AAEtB,0BAA6B;AAE7B,MAAM,yBAAuC;AAAA,EAC3C,YAAY;AAAA,IACV,eAAe;AAAA,MACb,gBAAgB;AAAA,QACd,MAAM,CAAC,EAAE,WAAW,MAAM;AACxB,gBAAM,EAAE,QAAQ,IAAI;AAEpB,cAAI,SAAS;AACX,kBAAM,WAAW,SAAS,SAAmB,EAAE;AAE/C,mBAAO;AAAA,cACL,UAAU;AAAA,cACV,cAAc;AAAA,cACd,YAAY;AAAA,cACZ,OAAO,mBAAmB,QAAQ;AAAA,YACpC;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AACX;AAEO,MAAM,sBAAkB,qBAAM,CAAC,GAAG,kCAAc,sBAAsB;","names":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { merge } from "@xylabs/lodash";
|
|
2
|
+
import { themeOptions } from "./themeOptions";
|
|
3
|
+
const partialAppThemeOptions = {
|
|
4
|
+
components: {
|
|
5
|
+
MuiTypography: {
|
|
6
|
+
styleOverrides: {
|
|
7
|
+
root: ({ ownerState }) => {
|
|
8
|
+
const { clamped } = ownerState;
|
|
9
|
+
if (clamped) {
|
|
10
|
+
const maxWidth = parseInt(clamped, 10);
|
|
11
|
+
return {
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
textOverflow: "ellipsis",
|
|
14
|
+
whiteSpace: "nowrap",
|
|
15
|
+
width: `clamp(1%, 100%, ${maxWidth}px)`
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
spacing: 8
|
|
23
|
+
};
|
|
24
|
+
const appThemeOptions = merge({}, themeOptions, partialAppThemeOptions);
|
|
25
|
+
export {
|
|
26
|
+
appThemeOptions
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=appThemeOptions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/appThemeOptions.tsx"],"sourcesContent":["import { ThemeOptions } from '@mui/material'\nimport { merge } from '@xylabs/lodash'\n\nimport { themeOptions } from './themeOptions'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions = merge({}, themeOptions, partialAppThemeOptions)\n"],"mappings":"AACA,SAAS,aAAa;AAEtB,SAAS,oBAAoB;AAE7B,MAAM,yBAAuC;AAAA,EAC3C,YAAY;AAAA,IACV,eAAe;AAAA,MACb,gBAAgB;AAAA,QACd,MAAM,CAAC,EAAE,WAAW,MAAM;AACxB,gBAAM,EAAE,QAAQ,IAAI;AAEpB,cAAI,SAAS;AACX,kBAAM,WAAW,SAAS,SAAmB,EAAE;AAE/C,mBAAO;AAAA,cACL,UAAU;AAAA,cACV,cAAc;AAAA,cACd,YAAY;AAAA,cACZ,OAAO,mBAAmB,QAAQ;AAAA,YACpC;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AACX;AAEO,MAAM,kBAAkB,MAAM,CAAC,GAAG,cAAc,sBAAsB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var fontFamily_exports = {};
|
|
20
|
+
__export(fontFamily_exports, {
|
|
21
|
+
fontFamilyPrimary: () => fontFamilyPrimary
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(fontFamily_exports);
|
|
24
|
+
const fontFamilyPrimary = ["Lexend Deca", "Helvetica", "sans-serif"].join(",");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
fontFamilyPrimary
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=fontFamily.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/fontFamily.ts"],"sourcesContent":["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,oBAAoB,CAAC,eAAe,aAAa,YAAY,EAAE,KAAK,GAAG;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/fontFamily.ts"],"sourcesContent":["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\n"],"mappings":"AAAO,MAAM,oBAAoB,CAAC,eAAe,aAAa,YAAY,EAAE,KAAK,GAAG;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(src_exports);
|
|
18
|
+
__reExport(src_exports, require("./appThemeOptions"), module.exports);
|
|
19
|
+
__reExport(src_exports, require("./fontFamily"), module.exports);
|
|
20
|
+
__reExport(src_exports, require("./partialDarkThemeOptions"), module.exports);
|
|
21
|
+
__reExport(src_exports, require("./partialLightThemeOptions"), module.exports);
|
|
22
|
+
__reExport(src_exports, require("./themeOptions"), module.exports);
|
|
23
|
+
__reExport(src_exports, require("./webThemeOptions"), module.exports);
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
...require("./appThemeOptions"),
|
|
27
|
+
...require("./fontFamily"),
|
|
28
|
+
...require("./partialDarkThemeOptions"),
|
|
29
|
+
...require("./partialLightThemeOptions"),
|
|
30
|
+
...require("./themeOptions"),
|
|
31
|
+
...require("./webThemeOptions")
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './appThemeOptions'\nexport * from './fontFamily'\nexport * from './partialDarkThemeOptions'\nexport * from './partialLightThemeOptions'\nexport * from './themeOptions'\nexport * from './webThemeOptions'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,8BAAd;AACA,wBAAc,yBADd;AAEA,wBAAc,sCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,2BAJd;AAKA,wBAAc,8BALd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './appThemeOptions'\nexport * from './fontFamily'\nexport * from './partialDarkThemeOptions'\nexport * from './partialLightThemeOptions'\nexport * from './themeOptions'\nexport * from './webThemeOptions'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,eAAe,CAAA;AAWpD,eAAO,MAAM,uBAAuB,EAAE,YAcrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAgF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,eAAe,CAAA;AAWpD,eAAO,MAAM,uBAAuB,EAAE,YAcrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAgF,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var partialDarkThemeOptions_exports = {};
|
|
20
|
+
__export(partialDarkThemeOptions_exports, {
|
|
21
|
+
partialAppDarkThemeOptions: () => partialAppDarkThemeOptions,
|
|
22
|
+
partialDarkThemeOptions: () => partialDarkThemeOptions
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(partialDarkThemeOptions_exports);
|
|
25
|
+
var import_material = require("@mui/material");
|
|
26
|
+
var import_lodash = require("@xylabs/lodash");
|
|
27
|
+
const appComponents = {
|
|
28
|
+
MuiPaper: {
|
|
29
|
+
defaultProps: {
|
|
30
|
+
variant: "elevation"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const partialDarkThemeOptions = {
|
|
35
|
+
palette: {
|
|
36
|
+
background: {
|
|
37
|
+
default: (0, import_material.darken)("#171626", 0.1),
|
|
38
|
+
paper: "#171626"
|
|
39
|
+
},
|
|
40
|
+
mode: "dark",
|
|
41
|
+
primary: {
|
|
42
|
+
main: "#9993F5"
|
|
43
|
+
},
|
|
44
|
+
secondary: {
|
|
45
|
+
main: "#8EC8FF"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const partialAppDarkThemeOptions = (0, import_lodash.merge)({}, partialDarkThemeOptions, { components: appComponents });
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
partialAppDarkThemeOptions,
|
|
53
|
+
partialDarkThemeOptions
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=partialDarkThemeOptions.js.map
|