@internetstiftelsen/styleguide 2.23.2 → 2.23.5

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": "@internetstiftelsen/styleguide",
3
- "version": "2.23.2",
3
+ "version": "2.23.5",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -11,14 +11,13 @@
11
11
  "build:fractal": "fractal build",
12
12
  "scss": "sass src/app.scss public/assets/css/app.css",
13
13
  "stylelint": "stylelint 'src/**/*.scss' '!**/vendor/**' '!**/colors/_colors-functions.scss' --fix --cache --cache-location '.stylelintcache'",
14
- "autoprefixer": "postcss --use autoprefixer -b 'last 2 versions' public/assets/css/app.css -d public/assets/css/",
15
14
  "cssmin": "postcss --use cssnano -b '' public/assets/css/app.css > public/assets/css/app.min.css",
16
15
  "browserify": "browserify public/assets/js/cjs/app.js -o public/assets/js/scripts.js",
17
16
  "babel": "npx babel src --out-dir public/assets/js/cjs --ignore src/**/*.config.js",
18
17
  "eslint": "eslint --fix src",
19
18
  "uglify": "uglifyjs -o public/assets/js/scripts.js public/assets/js/scripts.js",
20
19
  "imagemin": "imagemin --out-dir=public/assets/img src/**/*.{png,jpg,gif}",
21
- "build:css": "npm run stylelint && npm run scss && npm run autoprefixer && npm run cssmin",
20
+ "build:css": "npm run stylelint && npm run scss && npm run cssmin",
22
21
  "build:js": "npm run eslint && npm run babel && npm run browserify",
23
22
  "build:img": "npm run imagemin",
24
23
  "watch:css": "onchange 'src/**/*.scss' -- npm run build:css",
@@ -45,7 +44,6 @@
45
44
  "@frctl/mandelbrot": "^1.9.2",
46
45
  "@internetstiftelsen/eslint-config": "^0.0.5",
47
46
  "@internetstiftelsen/stylelint-config": "^1.0.0",
48
- "autoprefixer": "^10.2.6",
49
47
  "babel-cli": "^6.26.0",
50
48
  "babel-eslint": "^10.0.3",
51
49
  "babel-plugin-syntax-dynamic-import": "^6.18.0",
package/src/.DS_Store ADDED
Binary file
Binary file
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ status: 'ready',
3
+ label: 'Bildmanér',
4
+ title: 'Bildmanér'
5
+ }
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ status: 'ready',
3
+ label: 'Tonalitet och språkbruk',
4
+ title: 'Tonalitet och språkbruk'
5
+ }
@@ -339,3 +339,12 @@ div.aligncenter {
339
339
  border-radius: $border-radius;
340
340
  overflow: hidden;
341
341
  }
342
+
343
+ .wp-block-graph {
344
+ padding-top: rhythm(4);
345
+ margin-top: rhythm(4);
346
+
347
+ & + & {
348
+ margin-top: -#{rhythm(3)};
349
+ }
350
+ }
@@ -37,9 +37,8 @@
37
37
  > h6,
38
38
  > ul,
39
39
  > ol,
40
- > div:not(.wp-block-iis-info):not(.wp-block-image):not(.wp-block-iis-hero):not(.wp-block-iis-grid):not([class*='accordion']),
40
+ > :not(.wp-block-iis-info):not(.wp-block-image):not(.wp-block-iis-hero):not(.wp-block-iis-grid):not([class*='accordion']),
41
41
  > .wp-block-iis-card,
42
- > figure,
43
42
  > blockquote {
44
43
  &:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide) {
45
44
  max-width: calc(#{rem(612px)} + #{($indent * 2)});
@@ -136,4 +135,4 @@
136
135
  @include molecule(card) {
137
136
  margin-bottom: rhythm(4);
138
137
  }
139
- }
138
+ }