@entur/alert 0.10.4 → 0.10.5

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.10.5](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.4...@entur/alert@0.10.5) (2022-04-27)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **small alertbox:** fix alert icon not being centered on text on smaller screen sizes ([050b393](https://bitbucket.org/enturas/design-system/commits/050b3932866ef8ba73565335f88aa10ccdcee48d))
11
+
6
12
  ## [0.10.4](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.3...@entur/alert@0.10.4) (2022-04-20)
7
13
 
8
14
  **Note:** Version bump only for package @entur/alert
package/dist/styles.css CHANGED
@@ -125,9 +125,6 @@
125
125
  .eds-alert-box--small {
126
126
  font-size: 0.875rem;
127
127
  }
128
- .eds-alert-box--small .eds-alert-box__icon {
129
- margin-top: 0;
130
- }
131
128
  .eds-alert-box--fit-content {
132
129
  width: -webkit-fit-content;
133
130
  width: -moz-fit-content;
@@ -159,11 +156,12 @@
159
156
  flex: 0 0 1em;
160
157
  font-size: 1.2rem;
161
158
  margin-right: 0.5em;
162
- margin-top: -0.25rem;
159
+ margin-top: 0;
163
160
  }
164
161
  @media screen and (min-width: 50rem) {
165
162
  .eds-alert-box--banner .eds-alert-box__icon, .eds-alert-box--toast .eds-alert-box__icon {
166
163
  font-size: 2rem;
164
+ margin-top: -0.25rem;
167
165
  }
168
166
  }
169
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/alert",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/alert.esm.js",
@@ -27,19 +27,19 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/expand": "^3.3.10",
31
- "@entur/icons": "^4.1.0",
32
- "@entur/typography": "^1.6.11",
30
+ "@entur/expand": "^3.3.11",
31
+ "@entur/icons": "^4.1.1",
32
+ "@entur/typography": "^1.6.12",
33
33
  "@entur/utils": "^0.4.3",
34
34
  "classnames": "^2.3.1",
35
35
  "copy-text-to-clipboard": "2.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@entur/tokens": "^3.3.1"
38
+ "@entur/tokens": "^3.3.2"
39
39
  },
40
40
  "volta": {
41
41
  "node": "14.17.0",
42
42
  "yarn": "1.18.0"
43
43
  },
44
- "gitHead": "c10b4f0f9ecda0126bc916b80ca694cf8d58e399"
44
+ "gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
45
45
  }