@xyo-network/react-theme 2.60.11 → 2.61.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.
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.appThemeOptions = void 0;
4
- const tslib_1 = require("tslib");
5
- const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
4
+ const lodash_1 = require("@xylabs/lodash");
6
5
  const themeOptions_1 = require("./themeOptions");
7
6
  const partialAppThemeOptions = {
8
7
  components: {
@@ -25,5 +24,5 @@ const partialAppThemeOptions = {
25
24
  },
26
25
  spacing: 8,
27
26
  };
28
- exports.appThemeOptions = (0, merge_1.default)({}, themeOptions_1.themeOptions, partialAppThemeOptions);
27
+ exports.appThemeOptions = (0, lodash_1.merge)({}, themeOptions_1.themeOptions, partialAppThemeOptions);
29
28
  //# sourceMappingURL=appThemeOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"appThemeOptions.js","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":";;;;AACA,iEAAgC;AAEhC,iDAA6C;AAE7C,MAAM,sBAAsB,GAAiB;IAC3C,UAAU,EAAE;QACV,aAAa,EAAE;YACb,cAAc,EAAE;gBACd,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;oBACvB,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;oBAE9B,IAAI,OAAO,EAAE;wBACX,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAiB,EAAE,EAAE,CAAC,CAAA;wBAEhD,OAAO;4BACL,QAAQ,EAAE,QAAQ;4BAClB,YAAY,EAAE,UAAU;4BACxB,UAAU,EAAE,QAAQ;4BACpB,KAAK,EAAE,mBAAmB,QAAQ,KAAK;yBACxC,CAAA;qBACF;gBACH,CAAC;aACF;SACF;KACF;IACD,OAAO,EAAE,CAAC;CACX,CAAA;AAEY,QAAA,eAAe,GAAG,IAAA,eAAK,EAAC,EAAE,EAAE,2BAAY,EAAE,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"appThemeOptions.js","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":";;;AACA,2CAAsC;AAEtC,iDAA6C;AAE7C,MAAM,sBAAsB,GAAiB;IAC3C,UAAU,EAAE;QACV,aAAa,EAAE;YACb,cAAc,EAAE;gBACd,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;oBACvB,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;oBAE9B,IAAI,OAAO,EAAE;wBACX,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAiB,EAAE,EAAE,CAAC,CAAA;wBAEhD,OAAO;4BACL,QAAQ,EAAE,QAAQ;4BAClB,YAAY,EAAE,UAAU;4BACxB,UAAU,EAAE,QAAQ;4BACpB,KAAK,EAAE,mBAAmB,QAAQ,KAAK;yBACxC,CAAA;qBACF;gBACH,CAAC;aACF;SACF;KACF;IACD,OAAO,EAAE,CAAC;CACX,CAAA;AAEY,QAAA,eAAe,GAAG,IAAA,cAAK,EAAC,EAAE,EAAE,2BAAY,EAAE,sBAAsB,CAAC,CAAA"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.partialAppDarkThemeOptions = exports.partialDarkThemeOptions = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const material_1 = require("@mui/material");
6
- const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
5
+ const lodash_1 = require("@xylabs/lodash");
7
6
  const appComponents = {
8
7
  MuiPaper: {
9
8
  defaultProps: {
@@ -26,5 +25,5 @@ exports.partialDarkThemeOptions = {
26
25
  },
27
26
  },
28
27
  };
29
- exports.partialAppDarkThemeOptions = (0, merge_1.default)({}, exports.partialDarkThemeOptions, { components: appComponents });
28
+ exports.partialAppDarkThemeOptions = (0, lodash_1.merge)({}, exports.partialDarkThemeOptions, { components: appComponents });
30
29
  //# sourceMappingURL=partialDarkThemeOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":";;;;AAAA,4CAAoD;AACpD,iEAAgC;AAEhC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAEY,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;AAEY,QAAA,0BAA0B,GAAiB,IAAA,eAAK,EAAC,EAAE,EAAE,+BAAuB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":";;;AAAA,4CAAoD;AACpD,2CAAsC;AAEtC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAEY,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;AAEY,QAAA,0BAA0B,GAAiB,IAAA,cAAK,EAAC,EAAE,EAAE,+BAAuB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.partialAppLightThemeOptions = exports.partialLightThemeOptions = void 0;
4
- const tslib_1 = require("tslib");
5
- const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
4
+ const lodash_1 = require("@xylabs/lodash");
6
5
  const appComponents = {
7
6
  MuiPaper: {
8
7
  defaultProps: {
@@ -21,5 +20,5 @@ exports.partialLightThemeOptions = {
21
20
  },
22
21
  },
23
22
  };
24
- exports.partialAppLightThemeOptions = (0, merge_1.default)({}, exports.partialLightThemeOptions, { components: appComponents });
23
+ exports.partialAppLightThemeOptions = (0, lodash_1.merge)({}, exports.partialLightThemeOptions, { components: appComponents });
25
24
  //# sourceMappingURL=partialLightThemeOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":";;;;AACA,iEAAgC;AAEhC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAEY,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;AAEY,QAAA,2BAA2B,GAAiB,IAAA,eAAK,EAAC,EAAE,EAAE,gCAAwB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":";;;AACA,2CAAsC;AAEtC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAEY,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;AAEY,QAAA,2BAA2B,GAAiB,IAAA,cAAK,EAAC,EAAE,EAAE,gCAAwB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.webThemeOptions = void 0;
4
- const tslib_1 = require("tslib");
5
- const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
4
+ const lodash_1 = require("@xylabs/lodash");
6
5
  const themeOptions_1 = require("./themeOptions");
7
6
  const partialWebThemeOptions = {};
8
- exports.webThemeOptions = (0, merge_1.default)({}, themeOptions_1.themeOptions, partialWebThemeOptions);
7
+ exports.webThemeOptions = (0, lodash_1.merge)({}, themeOptions_1.themeOptions, partialWebThemeOptions);
9
8
  //# sourceMappingURL=webThemeOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"webThemeOptions.js","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":";;;;AACA,iEAAgC;AAEhC,iDAA6C;AAE7C,MAAM,sBAAsB,GAAiB,EAAE,CAAA;AAElC,QAAA,eAAe,GAAG,IAAA,eAAK,EAAC,EAAE,EAAE,2BAAY,EAAE,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"webThemeOptions.js","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":";;;AACA,2CAAsC;AAEtC,iDAA6C;AAE7C,MAAM,sBAAsB,GAAiB,EAAE,CAAA;AAElC,QAAA,eAAe,GAAG,IAAA,cAAK,EAAC,EAAE,EAAE,2BAAY,EAAE,sBAAsB,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import merge from 'lodash/merge';
1
+ import { merge } from '@xylabs/lodash';
2
2
  import { themeOptions } from './themeOptions';
3
3
  const partialAppThemeOptions = {
4
4
  components: {
@@ -1 +1 @@
1
- {"version":3,"file":"appThemeOptions.js","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,sBAAsB,GAAiB;IAC3C,UAAU,EAAE;QACV,aAAa,EAAE;YACb,cAAc,EAAE;gBACd,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;oBACvB,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;oBAE9B,IAAI,OAAO,EAAE;wBACX,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAiB,EAAE,EAAE,CAAC,CAAA;wBAEhD,OAAO;4BACL,QAAQ,EAAE,QAAQ;4BAClB,YAAY,EAAE,UAAU;4BACxB,UAAU,EAAE,QAAQ;4BACpB,KAAK,EAAE,mBAAmB,QAAQ,KAAK;yBACxC,CAAA;qBACF;gBACH,CAAC;aACF;SACF;KACF;IACD,OAAO,EAAE,CAAC;CACX,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,EAAE,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"appThemeOptions.js","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,sBAAsB,GAAiB;IAC3C,UAAU,EAAE;QACV,aAAa,EAAE;YACb,cAAc,EAAE;gBACd,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;oBACvB,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;oBAE9B,IAAI,OAAO,EAAE;wBACX,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAiB,EAAE,EAAE,CAAC,CAAA;wBAEhD,OAAO;4BACL,QAAQ,EAAE,QAAQ;4BAClB,YAAY,EAAE,UAAU;4BACxB,UAAU,EAAE,QAAQ;4BACpB,KAAK,EAAE,mBAAmB,QAAQ,KAAK;yBACxC,CAAA;qBACF;gBACH,CAAC;aACF;SACF;KACF;IACD,OAAO,EAAE,CAAC;CACX,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,EAAE,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { darken } from '@mui/material';
2
- import merge from 'lodash/merge';
2
+ import { merge } from '@xylabs/lodash';
3
3
  const appComponents = {
4
4
  MuiPaper: {
5
5
  defaultProps: {
@@ -1 +1 @@
1
- {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAED,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;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAiB,KAAK,CAAC,EAAE,EAAE,uBAAuB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"partialDarkThemeOptions.js","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAA;AAED,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;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAiB,KAAK,CAAC,EAAE,EAAE,uBAAuB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import merge from 'lodash/merge';
1
+ import { merge } from '@xylabs/lodash';
2
2
  const appComponents = {
3
3
  MuiPaper: {
4
4
  defaultProps: {
@@ -1 +1 @@
1
- {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAED,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;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAiB,KAAK,CAAC,EAAE,EAAE,wBAAwB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"partialLightThemeOptions.js","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,MAAM,aAAa,GAA+B;IAChD,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAA;AAED,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;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAiB,KAAK,CAAC,EAAE,EAAE,wBAAwB,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import merge from 'lodash/merge';
1
+ import { merge } from '@xylabs/lodash';
2
2
  import { themeOptions } from './themeOptions';
3
3
  const partialWebThemeOptions = {};
4
4
  export const webThemeOptions = merge({}, themeOptions, partialWebThemeOptions);
@@ -1 +1 @@
1
- {"version":3,"file":"webThemeOptions.js","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,sBAAsB,GAAiB,EAAE,CAAA;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,EAAE,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"webThemeOptions.js","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,sBAAsB,GAAiB,EAAE,CAAA;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,EAAE,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA"}
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "lodash": "^4.17.21"
13
+ "@xylabs/lodash": "^2.10.11"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@mui/material": "^5",
@@ -19,8 +19,7 @@
19
19
  },
20
20
  "description": "Common React library for all XYO projects that use React",
21
21
  "devDependencies": {
22
- "@types/lodash": "^4.14.198",
23
- "@xylabs/ts-scripts-yarn3": "^2.19.3",
22
+ "@xylabs/ts-scripts-yarn3": "^2.19.5",
24
23
  "typescript": "^5.2.2"
25
24
  },
26
25
  "browser": "dist/esm/index.js",
@@ -65,5 +64,5 @@
65
64
  },
66
65
  "sideEffects": false,
67
66
  "types": "dist/types/index.d.ts",
68
- "version": "2.60.11"
67
+ "version": "2.61.0"
69
68
  }
@@ -1,5 +1,5 @@
1
1
  import { ThemeOptions } from '@mui/material'
2
- import merge from 'lodash/merge'
2
+ import { merge } from '@xylabs/lodash'
3
3
 
4
4
  import { themeOptions } from './themeOptions'
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { darken, ThemeOptions } from '@mui/material'
2
- import merge from 'lodash/merge'
2
+ import { merge } from '@xylabs/lodash'
3
3
 
4
4
  const appComponents: ThemeOptions['components'] = {
5
5
  MuiPaper: {
@@ -1,5 +1,5 @@
1
1
  import { ThemeOptions } from '@mui/material'
2
- import merge from 'lodash/merge'
2
+ import { merge } from '@xylabs/lodash'
3
3
 
4
4
  const appComponents: ThemeOptions['components'] = {
5
5
  MuiPaper: {
@@ -1,5 +1,5 @@
1
1
  import { ThemeOptions } from '@mui/material'
2
- import merge from 'lodash/merge'
2
+ import { merge } from '@xylabs/lodash'
3
3
 
4
4
  import { themeOptions } from './themeOptions'
5
5
 
package/dist/docs.json DELETED
@@ -1,358 +0,0 @@
1
- {
2
- "id": 0,
3
- "name": "@xyo-network/react-theme",
4
- "variant": "project",
5
- "kind": 1,
6
- "flags": {},
7
- "children": [
8
- {
9
- "id": 1,
10
- "name": "appThemeOptions",
11
- "variant": "declaration",
12
- "kind": 32,
13
- "flags": {
14
- "isConst": true
15
- },
16
- "sources": [
17
- {
18
- "fileName": "appThemeOptions.tsx",
19
- "line": 30,
20
- "character": 13,
21
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/appThemeOptions.tsx#L30"
22
- }
23
- ],
24
- "type": {
25
- "type": "reference",
26
- "target": {
27
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
28
- "qualifiedName": "ThemeOptions"
29
- },
30
- "name": "ThemeOptions",
31
- "package": "@mui/material"
32
- },
33
- "defaultValue": "..."
34
- },
35
- {
36
- "id": 7,
37
- "name": "components",
38
- "variant": "declaration",
39
- "kind": 32,
40
- "flags": {
41
- "isConst": true
42
- },
43
- "sources": [
44
- {
45
- "fileName": "themeOptions.ts",
46
- "line": 5,
47
- "character": 13,
48
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/themeOptions.ts#L5"
49
- }
50
- ],
51
- "type": {
52
- "type": "indexedAccess",
53
- "indexType": {
54
- "type": "literal",
55
- "value": "components"
56
- },
57
- "objectType": {
58
- "type": "reference",
59
- "target": {
60
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
61
- "qualifiedName": "ThemeOptions"
62
- },
63
- "name": "ThemeOptions",
64
- "package": "@mui/material"
65
- }
66
- },
67
- "defaultValue": "..."
68
- },
69
- {
70
- "id": 2,
71
- "name": "fontFamilyPrimary",
72
- "variant": "declaration",
73
- "kind": 32,
74
- "flags": {
75
- "isConst": true
76
- },
77
- "sources": [
78
- {
79
- "fileName": "fontFamily.ts",
80
- "line": 1,
81
- "character": 13,
82
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/fontFamily.ts#L1"
83
- }
84
- ],
85
- "type": {
86
- "type": "intrinsic",
87
- "name": "string"
88
- },
89
- "defaultValue": "..."
90
- },
91
- {
92
- "id": 4,
93
- "name": "partialAppDarkThemeOptions",
94
- "variant": "declaration",
95
- "kind": 32,
96
- "flags": {
97
- "isConst": true
98
- },
99
- "sources": [
100
- {
101
- "fileName": "partialDarkThemeOptions.tsx",
102
- "line": 28,
103
- "character": 13,
104
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/partialDarkThemeOptions.tsx#L28"
105
- }
106
- ],
107
- "type": {
108
- "type": "reference",
109
- "target": {
110
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
111
- "qualifiedName": "ThemeOptions"
112
- },
113
- "name": "ThemeOptions",
114
- "package": "@mui/material"
115
- },
116
- "defaultValue": "..."
117
- },
118
- {
119
- "id": 6,
120
- "name": "partialAppLightThemeOptions",
121
- "variant": "declaration",
122
- "kind": 32,
123
- "flags": {
124
- "isConst": true
125
- },
126
- "sources": [
127
- {
128
- "fileName": "partialLightThemeOptions.tsx",
129
- "line": 24,
130
- "character": 13,
131
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/partialLightThemeOptions.tsx#L24"
132
- }
133
- ],
134
- "type": {
135
- "type": "reference",
136
- "target": {
137
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
138
- "qualifiedName": "ThemeOptions"
139
- },
140
- "name": "ThemeOptions",
141
- "package": "@mui/material"
142
- },
143
- "defaultValue": "..."
144
- },
145
- {
146
- "id": 3,
147
- "name": "partialDarkThemeOptions",
148
- "variant": "declaration",
149
- "kind": 32,
150
- "flags": {
151
- "isConst": true
152
- },
153
- "sources": [
154
- {
155
- "fileName": "partialDarkThemeOptions.tsx",
156
- "line": 12,
157
- "character": 13,
158
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/partialDarkThemeOptions.tsx#L12"
159
- }
160
- ],
161
- "type": {
162
- "type": "reference",
163
- "target": {
164
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
165
- "qualifiedName": "ThemeOptions"
166
- },
167
- "name": "ThemeOptions",
168
- "package": "@mui/material"
169
- },
170
- "defaultValue": "..."
171
- },
172
- {
173
- "id": 5,
174
- "name": "partialLightThemeOptions",
175
- "variant": "declaration",
176
- "kind": 32,
177
- "flags": {
178
- "isConst": true
179
- },
180
- "sources": [
181
- {
182
- "fileName": "partialLightThemeOptions.tsx",
183
- "line": 12,
184
- "character": 13,
185
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/partialLightThemeOptions.tsx#L12"
186
- }
187
- ],
188
- "type": {
189
- "type": "reference",
190
- "target": {
191
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
192
- "qualifiedName": "ThemeOptions"
193
- },
194
- "name": "ThemeOptions",
195
- "package": "@mui/material"
196
- },
197
- "defaultValue": "..."
198
- },
199
- {
200
- "id": 9,
201
- "name": "themeOptions",
202
- "variant": "declaration",
203
- "kind": 32,
204
- "flags": {
205
- "isConst": true
206
- },
207
- "sources": [
208
- {
209
- "fileName": "themeOptions.ts",
210
- "line": 95,
211
- "character": 13,
212
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/themeOptions.ts#L95"
213
- }
214
- ],
215
- "type": {
216
- "type": "reference",
217
- "target": {
218
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
219
- "qualifiedName": "ThemeOptions"
220
- },
221
- "name": "ThemeOptions",
222
- "package": "@mui/material"
223
- },
224
- "defaultValue": "..."
225
- },
226
- {
227
- "id": 8,
228
- "name": "typography",
229
- "variant": "declaration",
230
- "kind": 32,
231
- "flags": {
232
- "isConst": true
233
- },
234
- "sources": [
235
- {
236
- "fileName": "themeOptions.ts",
237
- "line": 50,
238
- "character": 13,
239
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/themeOptions.ts#L50"
240
- }
241
- ],
242
- "type": {
243
- "type": "indexedAccess",
244
- "indexType": {
245
- "type": "literal",
246
- "value": "typography"
247
- },
248
- "objectType": {
249
- "type": "reference",
250
- "target": {
251
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
252
- "qualifiedName": "ThemeOptions"
253
- },
254
- "name": "ThemeOptions",
255
- "package": "@mui/material"
256
- }
257
- },
258
- "defaultValue": "..."
259
- },
260
- {
261
- "id": 10,
262
- "name": "webThemeOptions",
263
- "variant": "declaration",
264
- "kind": 32,
265
- "flags": {
266
- "isConst": true
267
- },
268
- "sources": [
269
- {
270
- "fileName": "webThemeOptions.tsx",
271
- "line": 8,
272
- "character": 13,
273
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/theme/src/webThemeOptions.tsx#L8"
274
- }
275
- ],
276
- "type": {
277
- "type": "reference",
278
- "target": {
279
- "sourceFileName": "../../../../node_modules/@mui/material/styles/createTheme.d.ts",
280
- "qualifiedName": "ThemeOptions"
281
- },
282
- "name": "ThemeOptions",
283
- "package": "@mui/material"
284
- },
285
- "defaultValue": "..."
286
- }
287
- ],
288
- "groups": [
289
- {
290
- "title": "Variables",
291
- "children": [
292
- 1,
293
- 7,
294
- 2,
295
- 4,
296
- 6,
297
- 3,
298
- 5,
299
- 9,
300
- 8,
301
- 10
302
- ]
303
- }
304
- ],
305
- "packageName": "@xyo-network/react-theme",
306
- "readme": [
307
- {
308
- "kind": "text",
309
- "text": "[![logo][]](https://xyo.network)\n\nPart of [@xyo-network/sdk-xyo-react](https://www.npmjs.com/package/@xyo-network/sdk-xyo-react)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
310
- }
311
- ],
312
- "symbolIdMap": {
313
- "0": {
314
- "sourceFileName": "src/index.ts",
315
- "qualifiedName": ""
316
- },
317
- "1": {
318
- "sourceFileName": "src/appThemeOptions.tsx",
319
- "qualifiedName": "appThemeOptions"
320
- },
321
- "2": {
322
- "sourceFileName": "src/fontFamily.ts",
323
- "qualifiedName": "fontFamilyPrimary"
324
- },
325
- "3": {
326
- "sourceFileName": "src/partialDarkThemeOptions.tsx",
327
- "qualifiedName": "partialDarkThemeOptions"
328
- },
329
- "4": {
330
- "sourceFileName": "src/partialDarkThemeOptions.tsx",
331
- "qualifiedName": "partialAppDarkThemeOptions"
332
- },
333
- "5": {
334
- "sourceFileName": "src/partialLightThemeOptions.tsx",
335
- "qualifiedName": "partialLightThemeOptions"
336
- },
337
- "6": {
338
- "sourceFileName": "src/partialLightThemeOptions.tsx",
339
- "qualifiedName": "partialAppLightThemeOptions"
340
- },
341
- "7": {
342
- "sourceFileName": "src/themeOptions.ts",
343
- "qualifiedName": "components"
344
- },
345
- "8": {
346
- "sourceFileName": "src/themeOptions.ts",
347
- "qualifiedName": "typography"
348
- },
349
- "9": {
350
- "sourceFileName": "src/themeOptions.ts",
351
- "qualifiedName": "themeOptions"
352
- },
353
- "10": {
354
- "sourceFileName": "src/webThemeOptions.tsx",
355
- "qualifiedName": "webThemeOptions"
356
- }
357
- }
358
- }