@entur/alert 0.10.3 → 0.10.6
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 +14 -0
- package/dist/styles.css +2 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.6](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.5...@entur/alert@0.10.6) (2022-05-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/alert
|
|
9
|
+
|
|
10
|
+
## [0.10.5](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.4...@entur/alert@0.10.5) (2022-04-27)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **small alertbox:** fix alert icon not being centered on text on smaller screen sizes ([050b393](https://bitbucket.org/enturas/design-system/commits/050b3932866ef8ba73565335f88aa10ccdcee48d))
|
|
15
|
+
|
|
16
|
+
## [0.10.4](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.3...@entur/alert@0.10.4) (2022-04-20)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @entur/alert
|
|
19
|
+
|
|
6
20
|
## [0.10.3](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.10.2...@entur/alert@0.10.3) (2022-04-19)
|
|
7
21
|
|
|
8
22
|
**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:
|
|
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.
|
|
3
|
+
"version": "0.10.6",
|
|
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.
|
|
31
|
-
"@entur/icons": "^4.
|
|
32
|
-
"@entur/typography": "^1.6.
|
|
30
|
+
"@entur/expand": "^3.3.12",
|
|
31
|
+
"@entur/icons": "^4.1.2",
|
|
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.
|
|
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": "
|
|
44
|
+
"gitHead": "0fba0071ad9dc75cc68b72b846f5bab78be12449"
|
|
45
45
|
}
|