@ausbom/warnings 0.2.26 → 0.3.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.
@@ -21,6 +21,10 @@
21
21
  $line: 'display'
22
22
  );
23
23
 
24
+ &:focus {
25
+ @include bom-focus-state($offset: -4px);
26
+ }
27
+
24
28
  &.bom-warnings--has-links {
25
29
  font-weight: normal;
26
30
 
@@ -52,7 +56,7 @@
52
56
  }
53
57
 
54
58
  &:focus {
55
- @include bom-focus-outline();
59
+ @include bom-focus-state($offset: -4px);
56
60
  }
57
61
  }
58
62
  }
@@ -90,6 +94,10 @@
90
94
  list-style-type: none;
91
95
  margin: 0;
92
96
  padding: 0;
97
+
98
+ &__item {
99
+ border-bottom: 1px solid scale-color(get-palette-color('neutral.charcoalDark'), $alpha: -45%);
100
+ }
93
101
  }
94
102
 
95
103
  .bom-warnings-link {
@@ -103,14 +111,13 @@
103
111
  border: none;
104
112
  padding: 14px 16px;
105
113
  cursor: pointer;
106
- border-bottom: 1px solid scale-color(get-palette-color('neutral.charcoalDark'), $alpha: -45%);
107
114
 
108
115
  &:hover {
109
116
  background: scale-color(get-palette-color('secondary.yellow'), $lightness: 30%);
110
117
  }
111
118
 
112
119
  &:focus {
113
- @include bom-focus-outline();
120
+ @include bom-focus-state($offset: -4px);
114
121
  }
115
122
 
116
123
  @include bom-type-scale(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ausbom/warnings",
3
- "version": "0.2.26",
3
+ "version": "0.3.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -37,8 +37,8 @@
37
37
  "react": ">= 16.3.x"
38
38
  },
39
39
  "dependencies": {
40
- "@ausbom/icon": "^0.19.0",
41
- "@ausbom/styles": "^0.11.0"
40
+ "@ausbom/icon": "^0.19.1",
41
+ "@ausbom/styles": "^0.12.0"
42
42
  },
43
- "gitHead": "530abcd4f85dbb660841f8a1eb4f09db191d858e"
43
+ "gitHead": "7f762808b0e4ea8c9c20c400d1883f1cb845658a"
44
44
  }