barbican-reset 1.8.9 → 1.9.0

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.
@@ -22,6 +22,7 @@ export default {
22
22
  <style lang="scss" module>
23
23
 
24
24
  .label {
25
+ @include sr-only;
25
26
  text-transform: uppercase;
26
27
  height: 0;
27
28
  width: 0;
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- @mixin button-display($display:'ib',$gap:1em) {
24
+ @mixin button-display($display:'ib',$gap:1) {
25
25
  @if $display == 'ib' {
26
26
  vertical-align: middle;
27
27
  display: inline-block;
@@ -34,7 +34,7 @@
34
34
  @else if $display == 'flex' {
35
35
  display: inline-flex;
36
36
  align-items: center;
37
- gap: $gap;
37
+ gap: #{$gap}rem;
38
38
  }
39
39
  }
40
40
 
@@ -3,10 +3,6 @@
3
3
  border: 1px solid $c-grey-l87;
4
4
  border-radius: $border-radius-lg;
5
5
  background-color: white;
6
-
7
- &:not(:first-child) {
8
- margin-top: 1.25rem;
9
- }
10
6
  }
11
7
 
12
8
  @mixin card-header {
@@ -24,7 +20,6 @@
24
20
 
25
21
  @mixin card-body {
26
22
  padding: 1.75rem 1.75rem 1.5rem;
27
- // padding: 1.5rem;
28
23
  }
29
24
 
30
25
  @mixin card-footer {
@@ -44,10 +39,8 @@
44
39
  @mixin form-card {
45
40
  .card-header {
46
41
  @include card-header;
47
- // padding: 1.5rem 1.75rem 1.25rem;
48
42
  }
49
43
  .card-body {
50
44
  @include card-body;
51
- // padding: 1.75rem 1.75rem 1.5rem;
52
45
  }
53
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.8.9",
3
+ "version": "1.9.0",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/_atomic.scss CHANGED
@@ -77,4 +77,8 @@ $paddings05: "padding-top", "padding-bottom", "padding-right", "padding-left";
77
77
 
78
78
  .background-color-alt {
79
79
  background-color: $c-brand-generic-tint-98;
80
+ }
81
+
82
+ .min-width-3 {
83
+ min-width: 3rem;
80
84
  }