@entur/alert 0.15.14 → 0.15.15

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.
Files changed (2) hide show
  1. package/dist/styles.css +14 -12
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -109,8 +109,7 @@
109
109
  background: rgba(0, 0, 0, 0.3);
110
110
  }
111
111
  .eds-alert-box__close-button:focus, .eds-contrast .eds-alert-box__close-button:focus {
112
- border: 0.0625rem solid #181c56;
113
- outline: none;
112
+ outline: 2px solid #181c56;
114
113
  }
115
114
  .eds-contrast .eds-alert-box .eds-alert-box__tooltip {
116
115
  background: #181c56;
@@ -236,18 +235,18 @@
236
235
  background-color: #656782;
237
236
  color: #ffffff;
238
237
  }
239
- .eds-copyable-text:focus,
240
- .eds-contrast .eds-copyable-text:focus {
238
+ .eds-copyable-text .eds-copyable-text__button:focus,
239
+ .eds-copyable-text .eds-contrast .eds-copyable-text__button:focus,
240
+ .eds-contrast .eds-copyable-text .eds-copyable-text__button:focus,
241
+ .eds-contrast .eds-copyable-text .eds-contrast .eds-copyable-text__button:focus {
242
+ outline: 2px solid #181c56;
241
243
  outline-offset: 0.125rem;
242
- outline: none;
243
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
244
- }
245
- .eds-contrast .eds-copyable-text:focus,
246
- .eds-contrast .eds-contrast .eds-copyable-text:focus {
247
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
248
244
  }
249
- :root {
250
- --eds-alert: 1;
245
+ .eds-contrast .eds-copyable-text .eds-copyable-text__button:focus,
246
+ .eds-contrast .eds-copyable-text .eds-contrast .eds-copyable-text__button:focus,
247
+ .eds-contrast .eds-contrast .eds-copyable-text .eds-copyable-text__button:focus,
248
+ .eds-contrast .eds-contrast .eds-copyable-text .eds-contrast .eds-copyable-text__button:focus {
249
+ outline: 2px solid #181c56;
251
250
  }
252
251
  /* DO NOT CHANGE!*/
253
252
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -294,3 +293,6 @@
294
293
  font-size: 1rem;
295
294
  padding-left: 0.25rem;
296
295
  }
296
+ :root {
297
+ --eds-alert: 1;
298
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/alert",
3
- "version": "0.15.14",
3
+ "version": "0.15.15",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/alert.esm.js",
@@ -27,15 +27,15 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.2.5",
30
+ "@entur/button": "^3.2.6",
31
31
  "@entur/expand": "^3.4.21",
32
32
  "@entur/icons": "^6.13.2",
33
33
  "@entur/tokens": "^3.12.0",
34
- "@entur/tooltip": "^2.6.41",
34
+ "@entur/tooltip": "^2.6.42",
35
35
  "@entur/typography": "^1.8.20",
36
36
  "@entur/utils": "^0.9.5",
37
37
  "classnames": "^2.3.1",
38
38
  "copy-text-to-clipboard": "^2.2"
39
39
  },
40
- "gitHead": "85dd6dbaf86fc2488dd2152c213788f9d4a8a64f"
40
+ "gitHead": "05cb986bc4373b1fe20d51c298c4395dd2500843"
41
41
  }