@entur/button 2.8.2 → 2.8.3
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 +4 -0
- package/dist/styles.css +75 -75
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [2.8.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.2...@entur/button@2.8.3) (2022-06-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/button
|
|
9
|
+
|
|
6
10
|
## [2.8.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.1...@entur/button@2.8.2) (2022-05-13)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/button
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,81 @@
|
|
|
2
2
|
--eds-button: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
.eds-button-group .eds-button {
|
|
6
|
+
margin-right: 0.75rem;
|
|
7
|
+
margin-bottom: 0.75rem;
|
|
8
|
+
}
|
|
9
|
+
.eds-button-group .eds-button:only-child {
|
|
10
|
+
margin: 0;
|
|
11
|
+
}/* DO NOT CHANGE!*/
|
|
12
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
|
+
.eds-floating-button {
|
|
14
|
+
align-items: center;
|
|
15
|
+
-webkit-appearance: none;
|
|
16
|
+
-moz-appearance: none;
|
|
17
|
+
appearance: none;
|
|
18
|
+
background: #181c56;
|
|
19
|
+
border: 0;
|
|
20
|
+
border-radius: 1.5rem;
|
|
21
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
22
|
+
color: #ffffff;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
display: flex;
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-size: 0.875rem;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
min-height: 3rem;
|
|
30
|
+
margin: 0;
|
|
31
|
+
min-width: 3rem;
|
|
32
|
+
padding: 0 1rem;
|
|
33
|
+
position: relative;
|
|
34
|
+
z-index: 10;
|
|
35
|
+
}
|
|
36
|
+
.eds-floating-button--extended {
|
|
37
|
+
padding: 0 0.9375rem;
|
|
38
|
+
}
|
|
39
|
+
.eds-floating-button:hover {
|
|
40
|
+
background-color: #2f3367;
|
|
41
|
+
}
|
|
42
|
+
.eds-floating-button:focus {
|
|
43
|
+
outline-offset: 0.125rem;
|
|
44
|
+
outline: none;
|
|
45
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
46
|
+
}
|
|
47
|
+
.eds-contrast .eds-floating-button:focus {
|
|
48
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
49
|
+
}
|
|
50
|
+
.eds-contrast .eds-floating-button {
|
|
51
|
+
background: #ffffff;
|
|
52
|
+
color: #181c56;
|
|
53
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
54
|
+
}
|
|
55
|
+
.eds-contrast .eds-floating-button:hover {
|
|
56
|
+
background-color: #b6bee5;
|
|
57
|
+
}
|
|
58
|
+
.eds-floating-button--small {
|
|
59
|
+
border-radius: 1rem;
|
|
60
|
+
height: 2rem;
|
|
61
|
+
padding: 0 0.5rem;
|
|
62
|
+
min-width: 2rem;
|
|
63
|
+
min-height: 2rem;
|
|
64
|
+
flex: 0 1 auto;
|
|
65
|
+
}
|
|
66
|
+
.eds-floating-button--small.eds-floating-button--extended {
|
|
67
|
+
padding: 0 0.6875rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.eds-floating-button--extended > * {
|
|
71
|
+
margin: 0 0.5em;
|
|
72
|
+
}
|
|
73
|
+
.eds-floating-button--extended > *:first-child {
|
|
74
|
+
margin-left: 0;
|
|
75
|
+
}
|
|
76
|
+
.eds-floating-button--extended > *:last-child {
|
|
77
|
+
margin-right: 0;
|
|
78
|
+
}/* DO NOT CHANGE!*/
|
|
79
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
80
|
a.eds-button {
|
|
6
81
|
padding: 0.5rem 1rem;
|
|
7
82
|
}
|
|
@@ -217,14 +292,6 @@ a.eds-button--size-large {
|
|
|
217
292
|
color: #aeb7e2;
|
|
218
293
|
}/* DO NOT CHANGE!*/
|
|
219
294
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
220
|
-
.eds-button-group .eds-button {
|
|
221
|
-
margin-right: 0.75rem;
|
|
222
|
-
margin-bottom: 0.75rem;
|
|
223
|
-
}
|
|
224
|
-
.eds-button-group .eds-button:only-child {
|
|
225
|
-
margin: 0;
|
|
226
|
-
}/* DO NOT CHANGE!*/
|
|
227
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
295
|
.eds-icon-button {
|
|
229
296
|
border: 0.0625rem solid transparent;
|
|
230
297
|
border-radius: 0.25rem;
|
|
@@ -273,73 +340,6 @@ a.eds-button--size-large {
|
|
|
273
340
|
pointer-events: none;
|
|
274
341
|
}/* DO NOT CHANGE!*/
|
|
275
342
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
276
|
-
.eds-floating-button {
|
|
277
|
-
align-items: center;
|
|
278
|
-
-webkit-appearance: none;
|
|
279
|
-
-moz-appearance: none;
|
|
280
|
-
appearance: none;
|
|
281
|
-
background: #181c56;
|
|
282
|
-
border: 0;
|
|
283
|
-
border-radius: 1.5rem;
|
|
284
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
285
|
-
color: #ffffff;
|
|
286
|
-
cursor: pointer;
|
|
287
|
-
display: flex;
|
|
288
|
-
font-family: inherit;
|
|
289
|
-
font-size: 0.875rem;
|
|
290
|
-
font-weight: 500;
|
|
291
|
-
justify-content: center;
|
|
292
|
-
min-height: 3rem;
|
|
293
|
-
margin: 0;
|
|
294
|
-
min-width: 3rem;
|
|
295
|
-
padding: 0 1rem;
|
|
296
|
-
position: relative;
|
|
297
|
-
z-index: 10;
|
|
298
|
-
}
|
|
299
|
-
.eds-floating-button--extended {
|
|
300
|
-
padding: 0 0.9375rem;
|
|
301
|
-
}
|
|
302
|
-
.eds-floating-button:hover {
|
|
303
|
-
background-color: #2f3367;
|
|
304
|
-
}
|
|
305
|
-
.eds-floating-button:focus {
|
|
306
|
-
outline-offset: 0.125rem;
|
|
307
|
-
outline: none;
|
|
308
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
309
|
-
}
|
|
310
|
-
.eds-contrast .eds-floating-button:focus {
|
|
311
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
312
|
-
}
|
|
313
|
-
.eds-contrast .eds-floating-button {
|
|
314
|
-
background: #ffffff;
|
|
315
|
-
color: #181c56;
|
|
316
|
-
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
317
|
-
}
|
|
318
|
-
.eds-contrast .eds-floating-button:hover {
|
|
319
|
-
background-color: #b6bee5;
|
|
320
|
-
}
|
|
321
|
-
.eds-floating-button--small {
|
|
322
|
-
border-radius: 1rem;
|
|
323
|
-
height: 2rem;
|
|
324
|
-
padding: 0 0.5rem;
|
|
325
|
-
min-width: 2rem;
|
|
326
|
-
min-height: 2rem;
|
|
327
|
-
flex: 0 1 auto;
|
|
328
|
-
}
|
|
329
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
330
|
-
padding: 0 0.6875rem;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.eds-floating-button--extended > * {
|
|
334
|
-
margin: 0 0.5em;
|
|
335
|
-
}
|
|
336
|
-
.eds-floating-button--extended > *:first-child {
|
|
337
|
-
margin-left: 0;
|
|
338
|
-
}
|
|
339
|
-
.eds-floating-button--extended > *:last-child {
|
|
340
|
-
margin-right: 0;
|
|
341
|
-
}/* DO NOT CHANGE!*/
|
|
342
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
343
343
|
.eds-square-button {
|
|
344
344
|
--icon-color: var(--primary-text-color);
|
|
345
345
|
--icon-background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.4.
|
|
30
|
+
"@entur/loader": "^0.4.8",
|
|
31
31
|
"@entur/utils": "^0.4.3",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@entur/tokens": "^3.3.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "02c1bc4caad8480d21d8560188ba21b972e3370e"
|
|
38
38
|
}
|