cc-core-cli 1.0.82 → 1.0.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -25,4 +25,4 @@
25
25
  "ora": "5.4.1",
26
26
  "yargs": "17.7.2"
27
27
  }
28
- }
28
+ }
@@ -8,6 +8,9 @@ import "slick-carousel/slick/slick-theme.css";
8
8
  import { CustomApp } from '@shopstack/cc-admin-lib'
9
9
  import { importCustomModules } from '@shopstack/cc-admin-lib';
10
10
 
11
- importCustomModules()
11
+ try {
12
+ const modules = require.context('../modules', true)
13
+ importCustomModules(modules)
14
+ } catch (e) { }
12
15
 
13
16
  export default CustomApp
@@ -318,6 +318,7 @@
318
318
  .field,
319
319
  .standard-component,
320
320
  .advanced-component,
321
+ .module-component,
321
322
  .panel-component,
322
323
  .compute-field,
323
324
  .widget-component {
@@ -1904,3 +1904,11 @@ h4.ant-typography {
1904
1904
  z-index: 100;
1905
1905
  position: absolute;
1906
1906
  }
1907
+
1908
+ .chartwidget-download-button {
1909
+ display: none;
1910
+ }
1911
+
1912
+ .chartwidget-canvas:hover .chartwidget-download-button {
1913
+ display: block;
1914
+ }