@madgex/design-system 1.4.0 → 1.4.1

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,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 14 Jun 2019 15:41:44 GMT
3
+ * Generated on Tue, 18 Jun 2019 15:49:57 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 14 Jun 2019 15:41:44 GMT
3
+ * Generated on Tue, 18 Jun 2019 15:49:57 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Fri, 14 Jun 2019 15:41:44 GMT
4
+ Generated on Tue, 18 Jun 2019 15:49:57 GMT
5
5
  */
6
6
 
7
7
  $mds-color-base: #71767a !default; // Base colour
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Do not edit directly
3
- Generated on Fri, 14 Jun 2019 15:41:44 GMT
3
+ Generated on Tue, 18 Jun 2019 15:49:57 GMT
4
4
  */
5
5
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
6
6
  /* Document
@@ -16,6 +16,8 @@ function fractalStart() {
16
16
  }
17
17
 
18
18
  function fractalBuild() {
19
+ delete require.cache[require.resolve('../fractal.js')]; // eslint-disable-line
20
+ delete require.cache[require.resolve('../dist/assets/icons.json')]; // eslint-disable-line
19
21
  const fractal = require('../fractal.js');
20
22
  // import the Fractal instance configured in the fractal.js file
21
23
  const logger = fractal.cli.console; // make use of Fractal's console object for logging
@@ -20,6 +20,16 @@ function svgsprite() {
20
20
  minify: true,
21
21
  },
22
22
  },
23
+ { removeDoctype: true },
24
+ { removeComments: true },
25
+ { removeTitle: true },
26
+ { removeDesc: true },
27
+ { removeUselessDefs: true },
28
+ { removeEditorsNSData: true },
29
+ { cleanupAttrs: true },
30
+ { cleanupNumericValues: true },
31
+ { removeViewBox: false },
32
+ { removeDimensions: true },
23
33
  ],
24
34
  };
25
35
  })
package/gulpfile.js CHANGED
@@ -16,6 +16,7 @@ async function clean(cb) {
16
16
  function watchFiles() {
17
17
  gulp.watch(['src/scss/core/**/*.scss', 'src/components/**/*.scss'], { awaitWriteFinish: true }, gulp.series(css));
18
18
  gulp.watch('src/tokens/**/*.json', gulp.series(tokens));
19
+ gulp.watch('src/icons/**/*.svg', gulp.series(svgsprite, fractalBuild));
19
20
  // gulp.watch('./assets/js/**/*', gulp.series(scriptsLint, scripts));
20
21
  }
21
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/design-system",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "scripts": {
5
5
  "clean": "rimraf dist public tokens/build",
6
6
  "commit": "commit",