@simplybusiness/mobius 9.3.0 → 9.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 48558ae: Fix CSS cascade-order bugs in ErrorMessage, Popover, and Modal by bumping overriding selectors to specificity (0,2,0) using compound selectors, ensuring styles win regardless of CSS chunk load order
8
+
3
9
  ## 9.3.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/mobius",
3
3
  "license": "UNLICENSED",
4
- "version": "9.3.0",
4
+ "version": "9.3.1",
5
5
  "description": "Core library of Mobius react components",
6
6
  "repository": {
7
7
  "type": "git",
@@ -4,7 +4,7 @@
4
4
  gap: var(--error-message-grid-gap, var(--size-xs));
5
5
  grid-template-columns: min-content 1fr;
6
6
  color: var(--color-error);
7
-
7
+
8
8
  & a {
9
9
  color: var(--color-link);
10
10
  outline: none;
@@ -24,9 +24,9 @@
24
24
  }
25
25
  }
26
26
 
27
- .mobius-error-message__icon {
28
- width: var(--error-message-icon-width, auto);
29
- height: var(--error-message-icon-height, auto);
27
+ .mobius-error-message__icon.mobius-icon {
28
+ width: var(--error-message-icon-width, 1em);
29
+ height: var(--error-message-icon-height, 1em);
30
30
  overflow: hidden;
31
31
  }
32
32
 
@@ -138,7 +138,7 @@
138
138
  }
139
139
  }
140
140
 
141
- .mobius-modal__close {
141
+ .mobius-modal__close.mobius-button {
142
142
  /* negative padding to match the padding of the header, so it aligns
143
143
  horizontally */
144
144
  padding: calc(var(--size-sm) * -1);
@@ -19,7 +19,7 @@
19
19
  padding-bottom: var(--size-sm);
20
20
  }
21
21
 
22
- .mobius-popover__close-button {
22
+ .mobius-popover__close-button.mobius-button {
23
23
  padding: 0;
24
24
  border: none;
25
25
  margin-left: auto;
@@ -27,7 +27,7 @@
27
27
  color: var(--color-text-popover);
28
28
  }
29
29
 
30
- .mobius-popover__close-icon {
30
+ .mobius-popover__close-icon.mobius-icon {
31
31
  height: 1.1em;
32
32
  }
33
33