@simplybusiness/mobius 5.0.0 → 5.0.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
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0c9b97d: Fix `SegmentGroup` styles
8
+
3
9
  ## 5.0.0
4
10
 
5
11
  ### Major Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/mobius",
3
3
  "license": "UNLICENSED",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "description": "Core library of Mobius react components",
6
6
  "repository": {
7
7
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  margin-bottom: var(--size-sm);
16
16
 
17
17
  /* Horizontal stack */
18
- &.horizontal {
18
+ &.--is-horizontal {
19
19
  flex-direction: row;
20
20
  }
21
21
 
@@ -56,7 +56,7 @@
56
56
  border-top: var(--segment-border);
57
57
  }
58
58
 
59
- &:not(.horizontal) {
59
+ &:not(.--is-horizontal) {
60
60
  & > .mobius-segment {
61
61
  &:first-child {
62
62
  border-top: none;
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  /* Groups of horizontally attached elements */
79
- &.horizontal {
79
+ &.--is-horizontal {
80
80
  & > .mobius-segment,
81
81
  & > .mobius-segment-group {
82
82
  border: none;
@@ -116,7 +116,7 @@
116
116
  margin: 0;
117
117
  }
118
118
 
119
- &:not(.horizontal)
119
+ &:not(.--is-horizontal)
120
120
  > .mobius-segment-group:not(.--is-horizontal)
121
121
  .mobius-segment:first-child {
122
122
  border-top: var(--segment-border);