akeneo-design-system 1.0.3 → 1.0.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.
Files changed (43) hide show
  1. package/.storybook/preview.tsx +1 -1
  2. package/lib/index.d.ts +1 -4
  3. package/lib/index.js +1 -4
  4. package/lib/index.js.map +1 -1
  5. package/lib/storybook/test-util.js +2 -2
  6. package/lib/storybook/test-util.js.map +1 -1
  7. package/lib/theme/index.d.ts +0 -1
  8. package/lib/theme/index.js +0 -1
  9. package/lib/theme/index.js.map +1 -1
  10. package/lib/{theme → themes}/connector/index.d.ts +1 -1
  11. package/lib/{theme → themes}/connector/index.js +6 -6
  12. package/lib/themes/connector/index.js.map +1 -0
  13. package/lib/themes/index.d.ts +6 -0
  14. package/lib/themes/index.js +14 -0
  15. package/lib/themes/index.js.map +1 -0
  16. package/lib/{theme → themes}/onboarder/index.d.ts +1 -1
  17. package/lib/{theme → themes}/onboarder/index.js +6 -6
  18. package/lib/themes/onboarder/index.js.map +1 -0
  19. package/lib/{theme → themes}/pim/index.d.ts +1 -1
  20. package/lib/{theme → themes}/pim/index.js +6 -6
  21. package/lib/themes/pim/index.js.map +1 -0
  22. package/lib/{theme → themes}/shared-catalogs/index.d.ts +1 -1
  23. package/lib/{theme → themes}/shared-catalogs/index.js +6 -6
  24. package/lib/themes/shared-catalogs/index.js.map +1 -0
  25. package/package.json +1 -1
  26. package/src/guidelines/Colors.stories.mdx +1 -1
  27. package/src/guidelines/Iconography.stories.mdx +1 -1
  28. package/src/hooks/useTheme.unit.tsx +1 -1
  29. package/src/index.ts +1 -4
  30. package/src/storybook/test-util.tsx +1 -1
  31. package/src/theme/index.ts +0 -1
  32. package/src/{theme → themes}/connector/index.ts +1 -2
  33. package/src/{theme/themes.ts → themes/index.ts} +1 -1
  34. package/src/{theme → themes}/onboarder/index.ts +1 -2
  35. package/src/{theme → themes}/pim/index.ts +1 -2
  36. package/src/{theme → themes}/shared-catalogs/index.ts +1 -2
  37. package/lib/theme/connector/index.js.map +0 -1
  38. package/lib/theme/onboarder/index.js.map +0 -1
  39. package/lib/theme/pim/index.js.map +0 -1
  40. package/lib/theme/shared-catalogs/index.js.map +0 -1
  41. package/lib/theme/themes.d.ts +0 -2
  42. package/lib/theme/themes.js +0 -10
  43. package/lib/theme/themes.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import {addDecorator, addParameters} from '@storybook/react';
3
3
  import {withThemesProvider} from 'themeprovider-storybook';
4
- import {themes} from '../src/theme';
4
+ import {themes} from '../src/themes';
5
5
  import {StoryStyle} from '../src/storybook/PreviewGallery';
6
6
 
7
7
  addDecorator(story => <StoryStyle>{story()}</StoryStyle>);
package/lib/index.d.ts CHANGED
@@ -4,7 +4,4 @@ export * from './icons';
4
4
  export * from './illustrations';
5
5
  export * from './shared';
6
6
  export * from './theme';
7
- export * from './theme/onboarder';
8
- export * from './theme/pim';
9
- export * from './theme/shared-catalogs';
10
- export * from './theme/connector';
7
+ export * from './themes';
package/lib/index.js CHANGED
@@ -20,8 +20,5 @@ __exportStar(require("./icons"), exports);
20
20
  __exportStar(require("./illustrations"), exports);
21
21
  __exportStar(require("./shared"), exports);
22
22
  __exportStar(require("./theme"), exports);
23
- __exportStar(require("./theme/onboarder"), exports);
24
- __exportStar(require("./theme/pim"), exports);
25
- __exportStar(require("./theme/shared-catalogs"), exports);
26
- __exportStar(require("./theme/connector"), exports);
23
+ __exportStar(require("./themes"), exports);
27
24
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,2CAAyB;AACzB,0CAAwB;AACxB,oDAAkC;AAClC,8CAA4B;AAC5B,0DAAwC;AACxC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB"}
@@ -32,10 +32,10 @@ exports.render = void 0;
32
32
  var react_1 = __importDefault(require("react"));
33
33
  var react_2 = require("@testing-library/react");
34
34
  var styled_components_1 = require("styled-components");
35
- var pim_1 = require("../theme/pim");
35
+ var themes_1 = require("../themes");
36
36
  var wrapper = function (_a) {
37
37
  var children = _a.children;
38
- return (react_1.default.createElement(styled_components_1.ThemeProvider, { theme: pim_1.pimTheme }, children));
38
+ return (react_1.default.createElement(styled_components_1.ThemeProvider, { theme: themes_1.pimTheme }, children));
39
39
  };
40
40
  var customRender = function (ui, options) { return (0, react_2.render)(ui, __assign({ wrapper: wrapper }, options)); };
41
41
  exports.render = customRender;
@@ -1 +1 @@
1
- {"version":3,"file":"test-util.js","sourceRoot":"","sources":["../../src/storybook/test-util.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAoE;AACpE,gDAA6D;AAC7D,uDAAgD;AAChD,oCAAsC;AAEtC,IAAM,OAAO,GAAkB,UAAC,EAAkC;QAAjC,QAAQ,cAAA;IAA8B,OAAA,CACrE,8BAAC,iCAAa,IAAC,KAAK,EAAE,cAAQ,IAAG,QAAQ,CAAiB,CAC3D;AAFsE,CAEtE,CAAC;AACF,IAAM,YAAY,GAAwE,UACxF,EAAgB,EAChB,OAAwC,IACrC,OAAA,IAAA,cAAM,EAAC,EAAE,aAAG,OAAO,SAAA,IAAK,OAAO,EAAE,EAAjC,CAAiC,CAAC;AAGf,8BAAM;AAD9B,yDAAuC"}
1
+ {"version":3,"file":"test-util.js","sourceRoot":"","sources":["../../src/storybook/test-util.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAoE;AACpE,gDAA6D;AAC7D,uDAAgD;AAChD,oCAAmC;AAEnC,IAAM,OAAO,GAAkB,UAAC,EAAkC;QAAjC,QAAQ,cAAA;IAA8B,OAAA,CACrE,8BAAC,iCAAa,IAAC,KAAK,EAAE,iBAAQ,IAAG,QAAQ,CAAiB,CAC3D;AAFsE,CAEtE,CAAC;AACF,IAAM,YAAY,GAAwE,UACxF,EAAgB,EAChB,OAAwC,IACrC,OAAA,IAAA,cAAM,EAAC,EAAE,aAAG,OAAO,SAAA,IAAK,OAAO,EAAE,EAAjC,CAAiC,CAAC;AAGf,8BAAM;AAD9B,yDAAuC"}
@@ -1,3 +1,2 @@
1
1
  export * from './common';
2
2
  export * from './theme';
3
- export * from './themes';
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./common"), exports);
18
18
  __exportStar(require("./theme"), exports);
19
- __exportStar(require("./themes"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
@@ -1,3 +1,3 @@
1
- import { Theme } from '../theme';
1
+ import { Theme } from '../../theme';
2
2
  declare const connectorTheme: Theme;
3
3
  export { connectorTheme };
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.connectorTheme = void 0;
15
- var common_1 = require("../common");
15
+ var theme_1 = require("../../theme");
16
16
  var connectorTheme = {
17
17
  name: 'Connector',
18
- color: __assign(__assign({}, common_1.color), { brand20: '#dbdef3', brand40: '#b8bde8', brand60: '#959cdc', brand80: '#727bd1', brand100: '#4f5bc6', brand120: '#3b4494', brand140: '#272d62' }),
19
- colorAlternative: common_1.colorAlternative,
20
- fontSize: common_1.fontSize,
21
- palette: common_1.palette,
22
- fontFamily: common_1.fontFamily,
18
+ color: __assign(__assign({}, theme_1.color), { brand20: '#dbdef3', brand40: '#b8bde8', brand60: '#959cdc', brand80: '#727bd1', brand100: '#4f5bc6', brand120: '#3b4494', brand140: '#272d62' }),
19
+ colorAlternative: theme_1.colorAlternative,
20
+ fontSize: theme_1.fontSize,
21
+ palette: theme_1.palette,
22
+ fontFamily: theme_1.fontFamily,
23
23
  };
24
24
  exports.connectorTheme = connectorTheme;
25
25
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/themes/connector/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA0F;AAE1F,IAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,WAAW;IACjB,KAAK,wBACA,aAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,0BAAA;IAChB,QAAQ,kBAAA;IACR,OAAO,iBAAA;IACP,UAAU,oBAAA;CACX,CAAC;AAEM,wCAAc"}
@@ -0,0 +1,6 @@
1
+ import { pimTheme } from './pim';
2
+ import { onboarderTheme } from './onboarder';
3
+ import { sharedCatalogsTheme } from './shared-catalogs';
4
+ import { connectorTheme } from './connector';
5
+ declare const themes: import("../theme/theme").Theme[];
6
+ export { themes, pimTheme, onboarderTheme, sharedCatalogsTheme, connectorTheme };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.connectorTheme = exports.sharedCatalogsTheme = exports.onboarderTheme = exports.pimTheme = exports.themes = void 0;
4
+ var pim_1 = require("./pim");
5
+ Object.defineProperty(exports, "pimTheme", { enumerable: true, get: function () { return pim_1.pimTheme; } });
6
+ var onboarder_1 = require("./onboarder");
7
+ Object.defineProperty(exports, "onboarderTheme", { enumerable: true, get: function () { return onboarder_1.onboarderTheme; } });
8
+ var shared_catalogs_1 = require("./shared-catalogs");
9
+ Object.defineProperty(exports, "sharedCatalogsTheme", { enumerable: true, get: function () { return shared_catalogs_1.sharedCatalogsTheme; } });
10
+ var connector_1 = require("./connector");
11
+ Object.defineProperty(exports, "connectorTheme", { enumerable: true, get: function () { return connector_1.connectorTheme; } });
12
+ var themes = [pim_1.pimTheme, onboarder_1.onboarderTheme, shared_catalogs_1.sharedCatalogsTheme, connector_1.connectorTheme];
13
+ exports.themes = themes;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":";;;AAAA,6BAA+B;AAOf,yFAPR,cAAQ,OAOQ;AANxB,yCAA2C;AAMjB,+FANlB,0BAAc,OAMkB;AALxC,qDAAsD;AAKZ,oGALlC,qCAAmB,OAKkC;AAJ7D,yCAA2C;AAIoB,+FAJvD,0BAAc,OAIuD;AAF7E,IAAM,MAAM,GAAG,CAAC,cAAQ,EAAE,0BAAc,EAAE,qCAAmB,EAAE,0BAAc,CAAC,CAAC;AAEvE,wBAAM"}
@@ -1,3 +1,3 @@
1
- import { Theme } from '../theme';
1
+ import { Theme } from '../../theme';
2
2
  declare const onboarderTheme: Theme;
3
3
  export { onboarderTheme };
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.onboarderTheme = void 0;
15
- var common_1 = require("../common");
15
+ var theme_1 = require("../../theme");
16
16
  var onboarderTheme = {
17
17
  name: 'Onboarder',
18
- color: __assign(__assign({}, common_1.color), { brand20: '#dbedf8', brand40: '#b7dcf2', brand60: '#93caec', brand80: '#6fb9e6', brand100: '#4ca8e0', brand120: '#3c86b3', brand140: '#2d6486' }),
19
- colorAlternative: common_1.colorAlternative,
20
- fontSize: common_1.fontSize,
21
- palette: common_1.palette,
22
- fontFamily: common_1.fontFamily,
18
+ color: __assign(__assign({}, theme_1.color), { brand20: '#dbedf8', brand40: '#b7dcf2', brand60: '#93caec', brand80: '#6fb9e6', brand100: '#4ca8e0', brand120: '#3c86b3', brand140: '#2d6486' }),
19
+ colorAlternative: theme_1.colorAlternative,
20
+ fontSize: theme_1.fontSize,
21
+ palette: theme_1.palette,
22
+ fontFamily: theme_1.fontFamily,
23
23
  };
24
24
  exports.onboarderTheme = onboarderTheme;
25
25
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/themes/onboarder/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA0F;AAE1F,IAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,WAAW;IACjB,KAAK,wBACA,aAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,0BAAA;IAChB,QAAQ,kBAAA;IACR,OAAO,iBAAA;IACP,UAAU,oBAAA;CACX,CAAC;AAEM,wCAAc"}
@@ -1,3 +1,3 @@
1
- import { Theme } from '../theme';
1
+ import { Theme } from '../../theme';
2
2
  declare const pimTheme: Theme;
3
3
  export { pimTheme };
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.pimTheme = void 0;
15
- var common_1 = require("../common");
15
+ var theme_1 = require("../../theme");
16
16
  var pimTheme = {
17
17
  name: 'PIM',
18
- color: __assign(__assign({}, common_1.color), { brand20: '#eadcf1', brand40: '#d4bae3', brand60: '#be97d5', brand80: '#a974c7', brand100: '#9452ba', brand120: '#764194', brand140: '#58316f' }),
19
- colorAlternative: common_1.colorAlternative,
20
- fontSize: common_1.fontSize,
21
- palette: common_1.palette,
22
- fontFamily: common_1.fontFamily,
18
+ color: __assign(__assign({}, theme_1.color), { brand20: '#eadcf1', brand40: '#d4bae3', brand60: '#be97d5', brand80: '#a974c7', brand100: '#9452ba', brand120: '#764194', brand140: '#58316f' }),
19
+ colorAlternative: theme_1.colorAlternative,
20
+ fontSize: theme_1.fontSize,
21
+ palette: theme_1.palette,
22
+ fontFamily: theme_1.fontFamily,
23
23
  };
24
24
  exports.pimTheme = pimTheme;
25
25
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/themes/pim/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA0F;AAE1F,IAAM,QAAQ,GAAU;IACtB,IAAI,EAAE,KAAK;IACX,KAAK,wBACA,aAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,0BAAA;IAChB,QAAQ,kBAAA;IACR,OAAO,iBAAA;IACP,UAAU,oBAAA;CACX,CAAC;AAEM,4BAAQ"}
@@ -1,3 +1,3 @@
1
- import { Theme } from '../theme';
1
+ import { Theme } from '../../theme';
2
2
  declare const sharedCatalogsTheme: Theme;
3
3
  export { sharedCatalogsTheme };
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.sharedCatalogsTheme = void 0;
15
- var common_1 = require("../common");
15
+ var theme_1 = require("../../theme");
16
16
  var sharedCatalogsTheme = {
17
17
  name: 'Shared Catalogs',
18
- color: __assign(__assign({}, common_1.color), { brand20: '#fdf0d8', brand40: '#fce1b2', brand60: '#fbd28b', brand80: '#fac365', brand100: '#f9b53f', brand120: '#c79032', brand140: '#956c25' }),
19
- colorAlternative: common_1.colorAlternative,
20
- fontSize: common_1.fontSize,
21
- palette: common_1.palette,
22
- fontFamily: common_1.fontFamily,
18
+ color: __assign(__assign({}, theme_1.color), { brand20: '#fdf0d8', brand40: '#fce1b2', brand60: '#fbd28b', brand80: '#fac365', brand100: '#f9b53f', brand120: '#c79032', brand140: '#956c25' }),
19
+ colorAlternative: theme_1.colorAlternative,
20
+ fontSize: theme_1.fontSize,
21
+ palette: theme_1.palette,
22
+ fontFamily: theme_1.fontFamily,
23
23
  };
24
24
  exports.sharedCatalogsTheme = sharedCatalogsTheme;
25
25
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/themes/shared-catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA0F;AAE1F,IAAM,mBAAmB,GAAU;IACjC,IAAI,EAAE,iBAAiB;IACvB,KAAK,wBACA,aAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,0BAAA;IAChB,QAAQ,kBAAA;IACR,OAAO,iBAAA;IACP,UAAU,oBAAA;CACX,CAAC;AAEM,kDAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeneo-design-system",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Akeneo design system",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  import styled from 'styled-components';
2
2
  import {Canvas, Meta, Story} from '@storybook/addon-docs';
3
3
  import {PreviewGrid, PreviewCard, PreviewContainer, LabelContainer, Subtitle} from '../storybook/PreviewGallery';
4
- import {themes} from '../theme';
4
+ import {themes} from '../themes';
5
5
 
6
6
  <Meta title="Guidelines/Colors" />
7
7
 
@@ -1,6 +1,6 @@
1
1
  import {Canvas, Meta, Story, ArgsTable} from '@storybook/addon-docs';
2
2
  import {PreviewGrid, PreviewCard, PreviewContainer, LabelContainer} from '../storybook/PreviewGallery';
3
- import {pimTheme} from '../theme/pim/index';
3
+ import {pimTheme} from '../themes';
4
4
  import {colors} from './Colors.stories.mdx';
5
5
  import * as Icons from '../icons';
6
6
 
@@ -2,7 +2,7 @@ import React, {ReactNode} from 'react';
2
2
  import {ThemeProvider} from 'styled-components';
3
3
  import {renderHook} from '@testing-library/react-hooks';
4
4
  import {useTheme} from './useTheme';
5
- import {pimTheme} from '../theme/pim';
5
+ import {pimTheme} from '../themes/pim';
6
6
 
7
7
  const wrapper = ({children}: {children: ReactNode}) => <ThemeProvider theme={pimTheme}>{children}</ThemeProvider>;
8
8
 
package/src/index.ts CHANGED
@@ -4,7 +4,4 @@ export * from './icons';
4
4
  export * from './illustrations';
5
5
  export * from './shared';
6
6
  export * from './theme';
7
- export * from './theme/onboarder';
8
- export * from './theme/pim';
9
- export * from './theme/shared-catalogs';
10
- export * from './theme/connector';
7
+ export * from './themes';
@@ -1,7 +1,7 @@
1
1
  import React, {ComponentType, ReactElement, ReactNode} from 'react';
2
2
  import {render, RenderOptions} from '@testing-library/react';
3
3
  import {ThemeProvider} from 'styled-components';
4
- import {pimTheme} from '../theme/pim';
4
+ import {pimTheme} from '../themes';
5
5
 
6
6
  const wrapper: ComponentType = ({children}: {children?: ReactNode}) => (
7
7
  <ThemeProvider theme={pimTheme}>{children}</ThemeProvider>
@@ -1,3 +1,2 @@
1
1
  export * from './common';
2
2
  export * from './theme';
3
- export * from './themes';
@@ -1,5 +1,4 @@
1
- import {Theme} from '../theme';
2
- import {color, fontSize, palette, fontFamily, colorAlternative} from '../common';
1
+ import {Theme, color, fontSize, palette, fontFamily, colorAlternative} from '../../theme';
3
2
 
4
3
  const connectorTheme: Theme = {
5
4
  name: 'Connector',
@@ -5,4 +5,4 @@ import {connectorTheme} from './connector';
5
5
 
6
6
  const themes = [pimTheme, onboarderTheme, sharedCatalogsTheme, connectorTheme];
7
7
 
8
- export {themes};
8
+ export {themes, pimTheme, onboarderTheme, sharedCatalogsTheme, connectorTheme};
@@ -1,5 +1,4 @@
1
- import {Theme} from '../theme';
2
- import {color, fontSize, palette, fontFamily, colorAlternative} from '../common';
1
+ import {Theme, color, fontSize, palette, fontFamily, colorAlternative} from '../../theme';
3
2
 
4
3
  const onboarderTheme: Theme = {
5
4
  name: 'Onboarder',
@@ -1,5 +1,4 @@
1
- import {Theme} from '../theme';
2
- import {color, colorAlternative, fontSize, palette, fontFamily} from '../common';
1
+ import {Theme, color, fontSize, palette, fontFamily, colorAlternative} from '../../theme';
3
2
 
4
3
  const pimTheme: Theme = {
5
4
  name: 'PIM',
@@ -1,5 +1,4 @@
1
- import {Theme} from '../theme';
2
- import {color, fontSize, palette, fontFamily, colorAlternative} from '../common';
1
+ import {Theme, color, fontSize, palette, fontFamily, colorAlternative} from '../../theme';
3
2
 
4
3
  const sharedCatalogsTheme: Theme = {
5
4
  name: 'Shared Catalogs',
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/connector/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,oCAAiF;AAEjF,IAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,WAAW;IACjB,KAAK,wBACA,cAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,2BAAA;IAChB,QAAQ,mBAAA;IACR,OAAO,kBAAA;IACP,UAAU,qBAAA;CACX,CAAC;AAEM,wCAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/onboarder/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,oCAAiF;AAEjF,IAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,WAAW;IACjB,KAAK,wBACA,cAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,2BAAA;IAChB,QAAQ,mBAAA;IACR,OAAO,kBAAA;IACP,UAAU,qBAAA;CACX,CAAC;AAEM,wCAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/pim/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,oCAAiF;AAEjF,IAAM,QAAQ,GAAU;IACtB,IAAI,EAAE,KAAK;IACX,KAAK,wBACA,cAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,2BAAA;IAChB,QAAQ,mBAAA;IACR,OAAO,kBAAA;IACP,UAAU,qBAAA;CACX,CAAC;AAEM,4BAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/shared-catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,oCAAiF;AAEjF,IAAM,mBAAmB,GAAU;IACjC,IAAI,EAAE,iBAAiB;IACvB,KAAK,wBACA,cAAK,KACR,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GACpB;IACD,gBAAgB,2BAAA;IAChB,QAAQ,mBAAA;IACR,OAAO,kBAAA;IACP,UAAU,qBAAA;CACX,CAAC;AAEM,kDAAmB"}
@@ -1,2 +0,0 @@
1
- declare const themes: import("./theme").Theme[];
2
- export { themes };
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.themes = void 0;
4
- var pim_1 = require("./pim");
5
- var onboarder_1 = require("./onboarder");
6
- var shared_catalogs_1 = require("./shared-catalogs");
7
- var connector_1 = require("./connector");
8
- var themes = [pim_1.pimTheme, onboarder_1.onboarderTheme, shared_catalogs_1.sharedCatalogsTheme, connector_1.connectorTheme];
9
- exports.themes = themes;
10
- //# sourceMappingURL=themes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"themes.js","sourceRoot":"","sources":["../../src/theme/themes.ts"],"names":[],"mappings":";;;AAAA,6BAA+B;AAC/B,yCAA2C;AAC3C,qDAAsD;AACtD,yCAA2C;AAE3C,IAAM,MAAM,GAAG,CAAC,cAAQ,EAAE,0BAAc,EAAE,qCAAmB,EAAE,0BAAc,CAAC,CAAC;AAEvE,wBAAM"}