@entur/button 3.2.5 → 3.2.7-beta.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.
Files changed (2) hide show
  1. package/dist/styles.css +15 -16
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,14 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-button-group .eds-button {
4
- margin-right: 0.75rem;
5
- margin-bottom: 0.75rem;
6
- }
7
- .eds-button-group .eds-button:only-child {
8
- margin: 0;
9
- }
10
- /* DO NOT CHANGE!*/
11
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
12
3
  a.eds-button {
13
4
  padding: 0.5rem 1rem;
14
5
  }
@@ -247,6 +238,15 @@ a.eds-button--size-large {
247
238
  }
248
239
  /* DO NOT CHANGE!*/
249
240
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
241
+ .eds-button-group .eds-button {
242
+ margin-right: 0.75rem;
243
+ margin-bottom: 0.75rem;
244
+ }
245
+ .eds-button-group .eds-button:only-child {
246
+ margin: 0;
247
+ }
248
+ /* DO NOT CHANGE!*/
249
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
250
250
  .eds-floating-button {
251
251
  align-items: center;
252
252
  -webkit-appearance: none;
@@ -319,6 +319,9 @@ a.eds-button--size-large {
319
319
  .eds-floating-button--extended > *:last-child {
320
320
  margin-right: 0;
321
321
  }
322
+ :root {
323
+ --eds-button: 1;
324
+ }
322
325
  /* DO NOT CHANGE!*/
323
326
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
324
327
  .eds-square-button {
@@ -462,13 +465,10 @@ a.eds-button--size-large {
462
465
  .eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
463
466
  background: #181c56;
464
467
  }
465
- :root {
466
- --eds-button: 1;
467
- }
468
468
  /* DO NOT CHANGE!*/
469
469
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
470
470
  .eds-icon-button {
471
- border: 0.0625rem solid transparent;
471
+ border: 0.125rem solid transparent;
472
472
  border-radius: 0.25rem;
473
473
  background: none;
474
474
  color: inherit;
@@ -504,11 +504,10 @@ a.eds-button--size-large {
504
504
  background: #292b6a;
505
505
  }
506
506
  .eds-icon-button:focus {
507
- border: 0.0625rem solid #181c56;
508
- outline: none;
507
+ outline: 2px solid #181c56;
509
508
  }
510
509
  .eds-contrast .eds-icon-button:focus {
511
- border: 0.0625rem solid #ffffff;
510
+ outline: 2px solid #ffffff;
512
511
  }
513
512
  .eds-icon-button--disabled {
514
513
  opacity: 0.5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "3.2.5",
3
+ "version": "3.2.7-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/button.esm.js",
@@ -27,10 +27,10 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/loader": "^0.4.51",
30
+ "@entur/loader": "^0.4.52-beta.0",
31
31
  "@entur/tokens": "^3.12.0",
32
- "@entur/utils": "^0.9.5",
32
+ "@entur/utils": "^1.0.0-beta.0",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "85dd6dbaf86fc2488dd2152c213788f9d4a8a64f"
35
+ "gitHead": "4e2a54a5b8402cf439cd91487f569e775bf53691"
36
36
  }