@simplybusiness/theme-core 7.14.7 → 7.14.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.14.8
4
+
5
+ ### Patch Changes
6
+
7
+ - e160de4: Add lint-css executable for CSS linting with stylelint
8
+ - Added stylelint and stylelint-config-recommended dependencies
9
+ - Created lint-css executable that runs stylelint on src/\*_/_.css
10
+ - Configured selector-nested-pattern rule to enforce native CSS nesting (require & in nested selectors)
11
+ - Added lint:css scripts to theme-core as initial rollout
12
+ - Fixed 3 stylelint violations in theme-core icons.css
13
+ - Updated Turbo with lint:css task configuration
14
+ - @simplybusiness/mobius@6.9.5
15
+
3
16
  ## 7.14.7
4
17
 
5
18
  ### Patch Changes
package/dist/index.css CHANGED
@@ -2601,6 +2601,7 @@ svg:not(:host).svg-inline--mobius-icon{
2601
2601
  position:absolute;
2602
2602
  right:0;
2603
2603
  top:0;
2604
+ transform-origin:center center;
2604
2605
  }
2605
2606
 
2606
2607
  .mobius-icon-layers-counter,
@@ -2619,10 +2620,6 @@ svg:not(:host).svg-inline--mobius-icon{
2619
2620
  width:1em;
2620
2621
  }
2621
2622
 
2622
- .mobius-icon-layers svg.svg-inline--mobius-icon{
2623
- transform-origin:center center;
2624
- }
2625
-
2626
2623
  .mobius-icon-layers-text{
2627
2624
  left:50%;
2628
2625
  top:50%;
@@ -2929,6 +2926,11 @@ svg:not(:host).svg-inline--mobius-icon{
2929
2926
  opacity:var(--mobius-icon-secondary-opacity, 0.4);
2930
2927
  }
2931
2928
 
2929
+ .svg-inline--mobius-icon mask .mobius-icon-primary,
2930
+ .svg-inline--mobius-icon mask .mobius-icon-secondary{
2931
+ fill:black;
2932
+ }
2933
+
2932
2934
  .svg-inline--mobius-icon.mobius-icon-swap-opacity .mobius-icon-primary{
2933
2935
  opacity:var(--mobius-icon-secondary-opacity, 0.4);
2934
2936
  }
@@ -2937,11 +2939,6 @@ svg:not(:host).svg-inline--mobius-icon{
2937
2939
  opacity:var(--mobius-icon-primary-opacity, 1);
2938
2940
  }
2939
2941
 
2940
- .svg-inline--mobius-icon mask .mobius-icon-primary,
2941
- .svg-inline--mobius-icon mask .mobius-icon-secondary{
2942
- fill:black;
2943
- }
2944
-
2945
2942
  .fad.mobius-icon-inverse,
2946
2943
  .mobius-icon-duotone.mobius-icon-inverse{
2947
2944
  color:var(--mobius-icon-inverse, #fff);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.14.7",
3
+ "version": "7.14.8",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -10,7 +10,9 @@
10
10
  "clean": "rm -rf dist",
11
11
  "build": "yarn run -T turbo run turbo:build",
12
12
  "prepack": "yarn run build",
13
- "turbo:build": "build-theme"
13
+ "turbo:build": "build-theme",
14
+ "lint:css": "lint-css",
15
+ "lint:css:fix": "lint-css --fix"
14
16
  },
15
17
  "files": [
16
18
  "dist/**/*",
@@ -29,6 +31,6 @@
29
31
  "@simplybusiness/mobius": "^6.9.5"
30
32
  },
31
33
  "devDependencies": {
32
- "build-scripts": "^1.0.3"
34
+ "build-scripts": "^1.1.0"
33
35
  }
34
36
  }
package/src/icons.css CHANGED
@@ -62,6 +62,7 @@ svg:not(:host).svg-inline--mobius-icon {
62
62
  position: absolute;
63
63
  right: 0;
64
64
  top: 0;
65
+ transform-origin: center center;
65
66
  }
66
67
 
67
68
  .mobius-icon-layers-counter,
@@ -80,10 +81,6 @@ svg:not(:host).svg-inline--mobius-icon {
80
81
  width: 1em;
81
82
  }
82
83
 
83
- .mobius-icon-layers svg.svg-inline--mobius-icon {
84
- transform-origin: center center;
85
- }
86
-
87
84
  .mobius-icon-layers-text {
88
85
  left: 50%;
89
86
  top: 50%;
@@ -389,6 +386,11 @@ svg:not(:host).svg-inline--mobius-icon {
389
386
  opacity: var(--mobius-icon-secondary-opacity, 0.4);
390
387
  }
391
388
 
389
+ .svg-inline--mobius-icon mask .mobius-icon-primary,
390
+ .svg-inline--mobius-icon mask .mobius-icon-secondary {
391
+ fill: black;
392
+ }
393
+
392
394
  .svg-inline--mobius-icon.mobius-icon-swap-opacity .mobius-icon-primary {
393
395
  opacity: var(--mobius-icon-secondary-opacity, 0.4);
394
396
  }
@@ -397,11 +399,6 @@ svg:not(:host).svg-inline--mobius-icon {
397
399
  opacity: var(--mobius-icon-primary-opacity, 1);
398
400
  }
399
401
 
400
- .svg-inline--mobius-icon mask .mobius-icon-primary,
401
- .svg-inline--mobius-icon mask .mobius-icon-secondary {
402
- fill: black;
403
- }
404
-
405
402
  .fad.mobius-icon-inverse,
406
403
  .mobius-icon-duotone.mobius-icon-inverse {
407
404
  color: var(--mobius-icon-inverse, #fff);