@entur/button 2.10.3 → 2.10.5-alpha.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.
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.10.5-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.4...@entur/button@2.10.5-alpha.0) (2022-10-20)
7
+
8
+ **Note:** Version bump only for package @entur/button
9
+
6
10
  ## [2.10.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.2...@entur/button@2.10.3) (2022-08-31)
7
11
 
8
12
  **Note:** Version bump only for package @entur/button
package/dist/styles.css CHANGED
@@ -10,6 +10,79 @@
10
10
  margin: 0;
11
11
  }/* DO NOT CHANGE!*/
12
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:active {
43
+ background-color: #16194d;
44
+ }
45
+ .eds-floating-button:focus {
46
+ outline-offset: 0.125rem;
47
+ outline: none;
48
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
49
+ }
50
+ .eds-contrast .eds-floating-button:focus {
51
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
52
+ }
53
+ .eds-contrast .eds-floating-button {
54
+ background: #ffffff;
55
+ color: #181c56;
56
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
57
+ }
58
+ .eds-contrast .eds-floating-button:hover {
59
+ background-color: #b6bee5;
60
+ }
61
+ .eds-contrast .eds-floating-button:active {
62
+ background-color: #e6e6e6;
63
+ }
64
+ .eds-floating-button--small {
65
+ border-radius: 1rem;
66
+ height: 2rem;
67
+ padding: 0 0.5rem;
68
+ min-width: 2rem;
69
+ min-height: 2rem;
70
+ flex: 0 1 auto;
71
+ }
72
+ .eds-floating-button--small.eds-floating-button--extended {
73
+ padding: 0 0.6875rem;
74
+ }
75
+
76
+ .eds-floating-button--extended > * {
77
+ margin: 0 0.5em;
78
+ }
79
+ .eds-floating-button--extended > *:first-child {
80
+ margin-left: 0;
81
+ }
82
+ .eds-floating-button--extended > *:last-child {
83
+ margin-right: 0;
84
+ }/* DO NOT CHANGE!*/
85
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
13
86
  a.eds-button {
14
87
  padding: 0.5rem 1rem;
15
88
  }
@@ -279,79 +352,6 @@ a.eds-button--size-large {
279
352
  width: fit-content;
280
353
  }/* DO NOT CHANGE!*/
281
354
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
282
- .eds-floating-button {
283
- align-items: center;
284
- -webkit-appearance: none;
285
- -moz-appearance: none;
286
- appearance: none;
287
- background: #181c56;
288
- border: 0;
289
- border-radius: 1.5rem;
290
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
291
- color: #ffffff;
292
- cursor: pointer;
293
- display: flex;
294
- font-family: inherit;
295
- font-size: 0.875rem;
296
- font-weight: 500;
297
- justify-content: center;
298
- min-height: 3rem;
299
- margin: 0;
300
- min-width: 3rem;
301
- padding: 0 1rem;
302
- position: relative;
303
- z-index: 10;
304
- }
305
- .eds-floating-button--extended {
306
- padding: 0 0.9375rem;
307
- }
308
- .eds-floating-button:hover {
309
- background-color: #2f3367;
310
- }
311
- .eds-floating-button:active {
312
- background-color: #16194d;
313
- }
314
- .eds-floating-button:focus {
315
- outline-offset: 0.125rem;
316
- outline: none;
317
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
318
- }
319
- .eds-contrast .eds-floating-button:focus {
320
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
321
- }
322
- .eds-contrast .eds-floating-button {
323
- background: #ffffff;
324
- color: #181c56;
325
- box-shadow: 0 0.0625rem 0.1875rem #393d79;
326
- }
327
- .eds-contrast .eds-floating-button:hover {
328
- background-color: #b6bee5;
329
- }
330
- .eds-contrast .eds-floating-button:active {
331
- background-color: #e6e6e6;
332
- }
333
- .eds-floating-button--small {
334
- border-radius: 1rem;
335
- height: 2rem;
336
- padding: 0 0.5rem;
337
- min-width: 2rem;
338
- min-height: 2rem;
339
- flex: 0 1 auto;
340
- }
341
- .eds-floating-button--small.eds-floating-button--extended {
342
- padding: 0 0.6875rem;
343
- }
344
-
345
- .eds-floating-button--extended > * {
346
- margin: 0 0.5em;
347
- }
348
- .eds-floating-button--extended > *:first-child {
349
- margin-left: 0;
350
- }
351
- .eds-floating-button--extended > *:last-child {
352
- margin-right: 0;
353
- }/* DO NOT CHANGE!*/
354
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
355
355
  .eds-square-button {
356
356
  --icon-color: var(--primary-text-color);
357
357
  --icon-background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "2.10.3",
3
+ "version": "2.10.5-alpha.0",
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.11",
31
- "@entur/utils": "^0.4.5",
30
+ "@entur/loader": "^0.4.13-alpha.0",
31
+ "@entur/utils": "^0.4.6-alpha.0",
32
32
  "classnames": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@entur/tokens": "^3.4.1"
36
36
  },
37
- "gitHead": "8aec781ef750306fdf0c4042edabfad5b33cbdb8"
37
+ "gitHead": "497df350c3af082f714f461c7089a1fec1b4f8c9"
38
38
  }