@entur/button 3.2.2 → 3.2.4-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 +57 -57
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -321,6 +321,63 @@ a.eds-button--size-large {
321
321
  }
322
322
  /* DO NOT CHANGE!*/
323
323
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
324
+ .eds-icon-button {
325
+ border: 0.0625rem solid transparent;
326
+ border-radius: 0.25rem;
327
+ background: none;
328
+ color: inherit;
329
+ cursor: pointer;
330
+ display: flex;
331
+ justify-content: center;
332
+ align-items: center;
333
+ font-size: 1rem;
334
+ padding: 0.5rem;
335
+ }
336
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
337
+ background-color: #ffffff;
338
+ }
339
+ .eds-icon-button--size-small {
340
+ height: 1.5rem;
341
+ width: 1.5rem;
342
+ padding: 0;
343
+ }
344
+ .eds-icon-button--size-medium {
345
+ height: 2rem;
346
+ width: 2rem;
347
+ }
348
+ .eds-icon-button:hover {
349
+ background-color: #d1d4e3;
350
+ }
351
+ .eds-contrast .eds-icon-button:hover {
352
+ background-color: #393d79;
353
+ }
354
+ .eds-icon-button:active {
355
+ background: #babbcf;
356
+ }
357
+ .eds-contrast .eds-icon-button:active {
358
+ background: #292b6a;
359
+ }
360
+ .eds-icon-button:focus {
361
+ border: 0.0625rem solid #181c56;
362
+ outline: none;
363
+ }
364
+ .eds-contrast .eds-icon-button:focus {
365
+ border: 0.0625rem solid #ffffff;
366
+ }
367
+ .eds-icon-button--disabled {
368
+ opacity: 0.5;
369
+ pointer-events: none;
370
+ }
371
+ .eds-icon-button--disabled__wrapper {
372
+ cursor: not-allowed;
373
+ width: -moz-fit-content;
374
+ width: fit-content;
375
+ }
376
+ :root {
377
+ --eds-button: 1;
378
+ }
379
+ /* DO NOT CHANGE!*/
380
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
324
381
  .eds-square-button {
325
382
  --icon-color: var(--primary-text-color);
326
383
  --button-background: transparent;
@@ -462,60 +519,3 @@ a.eds-button--size-large {
462
519
  .eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
463
520
  background: #181c56;
464
521
  }
465
- :root {
466
- --eds-button: 1;
467
- }
468
- /* DO NOT CHANGE!*/
469
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
470
- .eds-icon-button {
471
- border: 0.0625rem solid transparent;
472
- border-radius: 0.25rem;
473
- background: none;
474
- color: inherit;
475
- cursor: pointer;
476
- display: flex;
477
- justify-content: center;
478
- align-items: center;
479
- font-size: 1rem;
480
- padding: 0.5rem;
481
- }
482
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
483
- background-color: #ffffff;
484
- }
485
- .eds-icon-button--size-small {
486
- height: 1.5rem;
487
- width: 1.5rem;
488
- padding: 0;
489
- }
490
- .eds-icon-button--size-medium {
491
- height: 2rem;
492
- width: 2rem;
493
- }
494
- .eds-icon-button:hover {
495
- background-color: #d1d4e3;
496
- }
497
- .eds-contrast .eds-icon-button:hover {
498
- background-color: #393d79;
499
- }
500
- .eds-icon-button:active {
501
- background: #babbcf;
502
- }
503
- .eds-contrast .eds-icon-button:active {
504
- background: #292b6a;
505
- }
506
- .eds-icon-button:focus {
507
- border: 0.0625rem solid #181c56;
508
- outline: none;
509
- }
510
- .eds-contrast .eds-icon-button:focus {
511
- border: 0.0625rem solid #ffffff;
512
- }
513
- .eds-icon-button--disabled {
514
- opacity: 0.5;
515
- pointer-events: none;
516
- }
517
- .eds-icon-button--disabled__wrapper {
518
- cursor: not-allowed;
519
- width: -moz-fit-content;
520
- width: fit-content;
521
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "3.2.2",
3
+ "version": "3.2.4-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.48",
31
- "@entur/tokens": "^3.11.1",
30
+ "@entur/loader": "^0.4.50-beta.0",
31
+ "@entur/tokens": "^3.11.2-beta.0",
32
32
  "@entur/utils": "^0.9.5",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "3fc001a78ef085d8fd22bb8aa245ec488214de72"
35
+ "gitHead": "c312024e8f66298e0f6d4cf85849572f38b15d53"
36
36
  }