@simplybusiness/theme-core 7.14.6 → 7.14.7

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.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 56c673f: Migrate CSS from SASS-style nesting to native CSS nesting syntax
8
+ - Update 62 CSS source files to use native CSS nesting with `&` prefix
9
+ - Switch PostCSS plugin from `postcss-nested` to `postcss-nesting`
10
+ - No functional changes to compiled CSS output (still Safari 14 compatible)
11
+
12
+ - Updated dependencies [56c673f]
13
+ - Updated dependencies [c54e331]
14
+ - @simplybusiness/mobius@6.9.5
15
+
3
16
  ## 7.14.6
4
17
 
5
18
  ### Patch Changes
package/dist/index.css CHANGED
@@ -317,7 +317,7 @@ h6.mobius-accordion__link-text,
317
317
  color:transparent;
318
318
  }
319
319
 
320
- .mobius-button:where(.--is-success) > :not(.mobius-button__icon-wrapper){
320
+ .mobius-button:where(.--is-success) > :not(.mobius-button__icon-wrapper){
321
321
  opacity:0;
322
322
  visibility:hidden;
323
323
  }
@@ -350,7 +350,7 @@ h6.mobius-accordion__link-text,
350
350
  color:transparent;
351
351
  }
352
352
 
353
- .mobius-button:where(.--is-loading) > :not(.mobius-button__icon-wrapper){
353
+ .mobius-button:where(.--is-loading) > :not(.mobius-button__icon-wrapper){
354
354
  opacity:0;
355
355
  visibility:hidden;
356
356
  }
@@ -722,7 +722,7 @@ h6.mobius-accordion__link-text,
722
722
  transition:opacity var(--drawer-transition-duration) ease-in-out;
723
723
  }
724
724
 
725
- .mobius-drawer + .backdrop{
725
+ .mobius-drawer + .backdrop{
726
726
  position:fixed;
727
727
  top:0;
728
728
  right:0;
@@ -732,7 +732,7 @@ h6.mobius-accordion__link-text,
732
732
  opacity:0.3;
733
733
  }
734
734
 
735
- :is(.mobius-drawer + .backdrop) + ._dialog_overlay{
735
+ :is(.mobius-drawer + .backdrop) + ._dialog_overlay{
736
736
  position:fixed;
737
737
  top:0;
738
738
  right:0;
@@ -1190,7 +1190,7 @@ h6.mobius-accordion__link-text,
1190
1190
  transition:opacity var(--modal-transition-duration) ease-in-out;
1191
1191
  }
1192
1192
 
1193
- .mobius-modal + .backdrop{
1193
+ .mobius-modal + .backdrop{
1194
1194
  position:fixed;
1195
1195
  top:0;
1196
1196
  right:0;
@@ -1200,7 +1200,7 @@ h6.mobius-accordion__link-text,
1200
1200
  opacity:0.3;
1201
1201
  }
1202
1202
 
1203
- :is(.mobius-modal + .backdrop) + ._dialog_overlay{
1203
+ :is(.mobius-modal + .backdrop) + ._dialog_overlay{
1204
1204
  position:fixed;
1205
1205
  top:0;
1206
1206
  right:0;
@@ -1840,7 +1840,7 @@ h6.mobius-accordion__link-text,
1840
1840
  width:100%;
1841
1841
  }
1842
1842
 
1843
- .mobius-select__outer > :where(.mobius-label.--is-optional)::after{
1843
+ .mobius-select__outer > :where(.mobius-label.--is-optional)::after{
1844
1844
  content:" (optional)";
1845
1845
  }
1846
1846
 
@@ -2085,7 +2085,7 @@ h6.mobius-accordion__link-text,
2085
2085
  height:0;
2086
2086
  }
2087
2087
 
2088
- :is(.mobius-switch input):focus-visible + .mobius-switch__slider{
2088
+ :is(.mobius-switch input):focus-visible + .mobius-switch__slider{
2089
2089
  box-shadow:var(--box-shadow-default);
2090
2090
  }
2091
2091
 
@@ -2368,7 +2368,7 @@ h6.mobius-accordion__link-text,
2368
2368
  border-bottom-right-radius:0;
2369
2369
  }
2370
2370
 
2371
- .mobius-text-field__prefix-outside.mobius-button + .mobius-text-field__input-wrapper{
2371
+ .mobius-text-field__prefix-outside.mobius-button + .mobius-text-field__input-wrapper{
2372
2372
  border-top-left-radius:0;
2373
2373
  border-bottom-left-radius:0;
2374
2374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.14.6",
3
+ "version": "7.14.7",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,9 +26,9 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^6.9.4"
29
+ "@simplybusiness/mobius": "^6.9.5"
30
30
  },
31
31
  "devDependencies": {
32
- "build-scripts": "^1.0.2"
32
+ "build-scripts": "^1.0.3"
33
33
  }
34
34
  }
package/src/index.css CHANGED
@@ -45,9 +45,9 @@
45
45
  .mobius {
46
46
  font-family: var(--font-family);
47
47
 
48
- *,
49
- *::before,
50
- *::after {
48
+ & *,
49
+ & *::before,
50
+ & *::after {
51
51
  box-sizing: border-box;
52
52
  }
53
53
  }