@entur/button 3.2.15 → 3.2.16
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/dist/styles.css +221 -221
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -292,227 +292,6 @@ a.eds-button--size-large {
|
|
|
292
292
|
}
|
|
293
293
|
/* DO NOT CHANGE!*/
|
|
294
294
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
295
|
-
.eds-square-button {
|
|
296
|
-
align-items: center;
|
|
297
|
-
-webkit-appearance: none;
|
|
298
|
-
-moz-appearance: none;
|
|
299
|
-
appearance: none;
|
|
300
|
-
background: transparent;
|
|
301
|
-
border: 0;
|
|
302
|
-
border-radius: 0.25rem;
|
|
303
|
-
cursor: pointer;
|
|
304
|
-
font-size: 1rem;
|
|
305
|
-
display: inline-flex;
|
|
306
|
-
font-family: inherit;
|
|
307
|
-
font-weight: 500;
|
|
308
|
-
justify-content: center;
|
|
309
|
-
padding: 0;
|
|
310
|
-
text-decoration: none;
|
|
311
|
-
}
|
|
312
|
-
.eds-square-button:focus {
|
|
313
|
-
outline: none;
|
|
314
|
-
}
|
|
315
|
-
.eds-square-button:focus .eds-square-button__button {
|
|
316
|
-
outline: 2px solid #181c56;
|
|
317
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
318
|
-
outline-offset: 0.125rem;
|
|
319
|
-
}
|
|
320
|
-
.eds-contrast .eds-square-button:focus .eds-square-button__button {
|
|
321
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
322
|
-
}
|
|
323
|
-
.eds-square-button[disabled]:not(.eds-square-button--loading) {
|
|
324
|
-
cursor: not-allowed;
|
|
325
|
-
}
|
|
326
|
-
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__button,
|
|
327
|
-
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__button:hover {
|
|
328
|
-
border-color: var(--basecolors-stroke-disabled);
|
|
329
|
-
border-style: dashed;
|
|
330
|
-
background-color: transparent;
|
|
331
|
-
color: var(--basecolors-text-disabled);
|
|
332
|
-
}
|
|
333
|
-
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__label,
|
|
334
|
-
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__label:hover {
|
|
335
|
-
color: var(--basecolors-text-disabled);
|
|
336
|
-
}
|
|
337
|
-
.eds-square-button.eds-square-button--loading {
|
|
338
|
-
opacity: 1;
|
|
339
|
-
}
|
|
340
|
-
.eds-square-button__button {
|
|
341
|
-
align-items: center;
|
|
342
|
-
background-color: var(--button-background);
|
|
343
|
-
border: 0.125rem solid var(--border-color);
|
|
344
|
-
border-radius: 0.25rem;
|
|
345
|
-
color: var(--icon-color);
|
|
346
|
-
display: inline-flex;
|
|
347
|
-
height: 3rem;
|
|
348
|
-
justify-content: center;
|
|
349
|
-
line-height: 1.5rem;
|
|
350
|
-
padding: 0;
|
|
351
|
-
text-align: center;
|
|
352
|
-
text-decoration: none;
|
|
353
|
-
vertical-align: top;
|
|
354
|
-
position: relative;
|
|
355
|
-
width: 3rem;
|
|
356
|
-
}
|
|
357
|
-
.eds-square-button__label {
|
|
358
|
-
color: var(--label-color);
|
|
359
|
-
}
|
|
360
|
-
.eds-square-button__label + .eds-square-button__button, .eds-square-button__button + .eds-square-button__label {
|
|
361
|
-
margin-left: 1rem;
|
|
362
|
-
}
|
|
363
|
-
.eds-square-button .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
364
|
-
background: var(--icon-color);
|
|
365
|
-
}
|
|
366
|
-
.eds-square-button--secondary {
|
|
367
|
-
--button-background: var(--components-button-squaresecondary-standard-default);
|
|
368
|
-
--border-color: var(--components-button-squaresecondary-standard-border);
|
|
369
|
-
--icon-color: var(--components-button-squaresecondary-standard-icon);
|
|
370
|
-
--label-color: var(--components-button-squaresecondary-standard-text);
|
|
371
|
-
}
|
|
372
|
-
.eds-square-button--secondary:hover {
|
|
373
|
-
--button-background: var(--components-button-squaresecondary-standard-hover);
|
|
374
|
-
}
|
|
375
|
-
.eds-square-button--secondary:active {
|
|
376
|
-
--button-background: var(--components-button-squaresecondary-standard-active);
|
|
377
|
-
--border-color: var(--components-button-squaresecondary-standard-border-active);
|
|
378
|
-
--icon-color: var(--components-button-squaresecondary-standard-icon-active);
|
|
379
|
-
}
|
|
380
|
-
.eds-contrast .eds-square-button--secondary {
|
|
381
|
-
--button-background: var(--components-button-squaresecondary-contrast-default);
|
|
382
|
-
--border-color: var(--components-button-squaresecondary-contrast-border);
|
|
383
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-default);
|
|
384
|
-
--label-color: var(--components-button-squaresecondary-contrast-label);
|
|
385
|
-
}
|
|
386
|
-
.eds-contrast .eds-square-button--secondary:hover {
|
|
387
|
-
--button-background: var(--components-button-squaresecondary-contrast-hover);
|
|
388
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-hover);
|
|
389
|
-
}
|
|
390
|
-
.eds-contrast .eds-square-button--secondary:active {
|
|
391
|
-
--button-background: var(--components-button-squaresecondary-contrast-active);
|
|
392
|
-
--border-color: var(--components-button-squaresecondary-contrast-border-active);
|
|
393
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-active);
|
|
394
|
-
}
|
|
395
|
-
.eds-square-button--success {
|
|
396
|
-
--button-background: var(--components-button-squaresuccess-standard-default);
|
|
397
|
-
--border-color: var(--components-button-squaresuccess-standard-border);
|
|
398
|
-
--icon-color: var(--components-button-squaresuccess-standard-icon);
|
|
399
|
-
--label-color: var(--components-button-squaresuccess-standard-label);
|
|
400
|
-
}
|
|
401
|
-
.eds-square-button--success:hover {
|
|
402
|
-
--button-background: var(--components-button-squaresuccess-standard-hover);
|
|
403
|
-
}
|
|
404
|
-
.eds-square-button--success:active {
|
|
405
|
-
--button-background: var(--components-button-squaresuccess-standard-active);
|
|
406
|
-
}
|
|
407
|
-
.eds-contrast .eds-square-button--success {
|
|
408
|
-
--button-background: var(--components-button-squaresuccess-contrast-default);
|
|
409
|
-
--border-color: var(--components-button-squaresuccess-contrast-border);
|
|
410
|
-
--icon-color: var(--components-button-squaresuccess-contrast-icon);
|
|
411
|
-
--label-color: var(--components-button-squaresuccess-contrast-label);
|
|
412
|
-
}
|
|
413
|
-
.eds-contrast .eds-square-button--success:hover {
|
|
414
|
-
--button-background: var(--components-button-squaresuccess-contrast-hover);
|
|
415
|
-
}
|
|
416
|
-
.eds-contrast .eds-square-button--success:active {
|
|
417
|
-
--button-background: var(--components-button-squaresuccess-contrast-active);
|
|
418
|
-
}
|
|
419
|
-
.eds-square-button--tertiary {
|
|
420
|
-
--button-background: var(--components-button-squaresecondary-standard-default);
|
|
421
|
-
--border-color: var(--components-button-squaresecondary-standard-border);
|
|
422
|
-
--icon-color: var(--components-button-squaresecondary-standard-icon);
|
|
423
|
-
--label-color: var(--components-button-squaresecondary-standard-text);
|
|
424
|
-
font-size: 0.875rem;
|
|
425
|
-
}
|
|
426
|
-
.eds-square-button--tertiary:hover {
|
|
427
|
-
--button-background: var(--components-button-squaresecondary-standard-hover);
|
|
428
|
-
}
|
|
429
|
-
.eds-square-button--tertiary:active {
|
|
430
|
-
--button-background: var(--components-button-squaresecondary-standard-active);
|
|
431
|
-
--border-color: var(--components-button-squaresecondary-standard-border-active);
|
|
432
|
-
--icon-color: var(--components-button-squaresecondary-standard-icon-active);
|
|
433
|
-
}
|
|
434
|
-
.eds-contrast .eds-square-button--tertiary {
|
|
435
|
-
--button-background: var(--components-button-squaresecondary-contrast-default);
|
|
436
|
-
--border-color: var(--components-button-squaresecondary-contrast-border);
|
|
437
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-default);
|
|
438
|
-
--label-color: var(--components-button-squaresecondary-contrast-label);
|
|
439
|
-
}
|
|
440
|
-
.eds-contrast .eds-square-button--tertiary:hover {
|
|
441
|
-
--button-background: var(--components-button-squaresecondary-contrast-hover);
|
|
442
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-hover);
|
|
443
|
-
}
|
|
444
|
-
.eds-contrast .eds-square-button--tertiary:active {
|
|
445
|
-
--button-background: var(--components-button-squaresecondary-contrast-active);
|
|
446
|
-
--border-color: var(--components-button-squaresecondary-contrast-border-active);
|
|
447
|
-
--icon-color: var(--components-button-squaresecondary-contrast-icon-active);
|
|
448
|
-
}
|
|
449
|
-
.eds-square-button--tertiary .eds-square-button__label + .eds-square-button__button,
|
|
450
|
-
.eds-square-button--tertiary .eds-square-button__button + .eds-square-button__label {
|
|
451
|
-
margin-left: 0.75rem;
|
|
452
|
-
}
|
|
453
|
-
.eds-square-button--tertiary .eds-square-button__button {
|
|
454
|
-
height: 2rem;
|
|
455
|
-
width: 2rem;
|
|
456
|
-
border-width: 0.0625rem;
|
|
457
|
-
}
|
|
458
|
-
/* DO NOT CHANGE!*/
|
|
459
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
460
|
-
.eds-icon-button {
|
|
461
|
-
border: 0.125rem solid transparent;
|
|
462
|
-
border-radius: 0.25rem;
|
|
463
|
-
background: none;
|
|
464
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
465
|
-
cursor: pointer;
|
|
466
|
-
display: flex;
|
|
467
|
-
justify-content: center;
|
|
468
|
-
align-items: center;
|
|
469
|
-
font-size: 1rem;
|
|
470
|
-
padding: 0.5rem;
|
|
471
|
-
}
|
|
472
|
-
.eds-contrast .eds-icon-button {
|
|
473
|
-
color: var(--components-button-iconbutton-contrast-text);
|
|
474
|
-
}
|
|
475
|
-
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
476
|
-
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
477
|
-
}
|
|
478
|
-
.eds-icon-button--size-small {
|
|
479
|
-
height: 1.5rem;
|
|
480
|
-
width: 1.5rem;
|
|
481
|
-
padding: 0;
|
|
482
|
-
}
|
|
483
|
-
.eds-icon-button:hover {
|
|
484
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
485
|
-
}
|
|
486
|
-
.eds-contrast .eds-icon-button:hover {
|
|
487
|
-
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
488
|
-
}
|
|
489
|
-
.eds-icon-button:active {
|
|
490
|
-
background: var(--components-button-iconbutton-standard-active);
|
|
491
|
-
color: var(--components-button-iconbutton-standard-text-active);
|
|
492
|
-
}
|
|
493
|
-
.eds-contrast .eds-icon-button:active {
|
|
494
|
-
background: var(--components-button-iconbutton-contrast-active);
|
|
495
|
-
color: var(--components-button-iconbutton-contrast-text-active);
|
|
496
|
-
}
|
|
497
|
-
.eds-icon-button:focus {
|
|
498
|
-
outline: 2px solid #181c56;
|
|
499
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
500
|
-
outline-offset: 0.125rem;
|
|
501
|
-
}
|
|
502
|
-
.eds-contrast .eds-icon-button:focus {
|
|
503
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
504
|
-
}
|
|
505
|
-
.eds-icon-button--disabled {
|
|
506
|
-
opacity: 0.5;
|
|
507
|
-
pointer-events: none;
|
|
508
|
-
}
|
|
509
|
-
.eds-icon-button--disabled__wrapper {
|
|
510
|
-
cursor: not-allowed;
|
|
511
|
-
width: -moz-fit-content;
|
|
512
|
-
width: fit-content;
|
|
513
|
-
}
|
|
514
|
-
/* DO NOT CHANGE!*/
|
|
515
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
516
295
|
/* DO NOT CHANGE!*/
|
|
517
296
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
518
297
|
/* DO NOT CHANGE!*/
|
|
@@ -892,3 +671,224 @@ a.eds-button--size-large {
|
|
|
892
671
|
:root {
|
|
893
672
|
--eds-button: 1;
|
|
894
673
|
}
|
|
674
|
+
/* DO NOT CHANGE!*/
|
|
675
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
676
|
+
.eds-square-button {
|
|
677
|
+
align-items: center;
|
|
678
|
+
-webkit-appearance: none;
|
|
679
|
+
-moz-appearance: none;
|
|
680
|
+
appearance: none;
|
|
681
|
+
background: transparent;
|
|
682
|
+
border: 0;
|
|
683
|
+
border-radius: 0.25rem;
|
|
684
|
+
cursor: pointer;
|
|
685
|
+
font-size: 1rem;
|
|
686
|
+
display: inline-flex;
|
|
687
|
+
font-family: inherit;
|
|
688
|
+
font-weight: 500;
|
|
689
|
+
justify-content: center;
|
|
690
|
+
padding: 0;
|
|
691
|
+
text-decoration: none;
|
|
692
|
+
}
|
|
693
|
+
.eds-square-button:focus {
|
|
694
|
+
outline: none;
|
|
695
|
+
}
|
|
696
|
+
.eds-square-button:focus .eds-square-button__button {
|
|
697
|
+
outline: 2px solid #181c56;
|
|
698
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
699
|
+
outline-offset: 0.125rem;
|
|
700
|
+
}
|
|
701
|
+
.eds-contrast .eds-square-button:focus .eds-square-button__button {
|
|
702
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
703
|
+
}
|
|
704
|
+
.eds-square-button[disabled]:not(.eds-square-button--loading) {
|
|
705
|
+
cursor: not-allowed;
|
|
706
|
+
}
|
|
707
|
+
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__button,
|
|
708
|
+
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__button:hover {
|
|
709
|
+
border-color: var(--basecolors-stroke-disabled);
|
|
710
|
+
border-style: dashed;
|
|
711
|
+
background-color: transparent;
|
|
712
|
+
color: var(--basecolors-text-disabled);
|
|
713
|
+
}
|
|
714
|
+
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__label,
|
|
715
|
+
.eds-square-button[disabled]:not(.eds-square-button--loading) .eds-square-button__label:hover {
|
|
716
|
+
color: var(--basecolors-text-disabled);
|
|
717
|
+
}
|
|
718
|
+
.eds-square-button.eds-square-button--loading {
|
|
719
|
+
opacity: 1;
|
|
720
|
+
}
|
|
721
|
+
.eds-square-button__button {
|
|
722
|
+
align-items: center;
|
|
723
|
+
background-color: var(--button-background);
|
|
724
|
+
border: 0.125rem solid var(--border-color);
|
|
725
|
+
border-radius: 0.25rem;
|
|
726
|
+
color: var(--icon-color);
|
|
727
|
+
display: inline-flex;
|
|
728
|
+
height: 3rem;
|
|
729
|
+
justify-content: center;
|
|
730
|
+
line-height: 1.5rem;
|
|
731
|
+
padding: 0;
|
|
732
|
+
text-align: center;
|
|
733
|
+
text-decoration: none;
|
|
734
|
+
vertical-align: top;
|
|
735
|
+
position: relative;
|
|
736
|
+
width: 3rem;
|
|
737
|
+
}
|
|
738
|
+
.eds-square-button__label {
|
|
739
|
+
color: var(--label-color);
|
|
740
|
+
}
|
|
741
|
+
.eds-square-button__label + .eds-square-button__button, .eds-square-button__button + .eds-square-button__label {
|
|
742
|
+
margin-left: 1rem;
|
|
743
|
+
}
|
|
744
|
+
.eds-square-button .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
745
|
+
background: var(--icon-color);
|
|
746
|
+
}
|
|
747
|
+
.eds-square-button--secondary {
|
|
748
|
+
--button-background: var(--components-button-squaresecondary-standard-default);
|
|
749
|
+
--border-color: var(--components-button-squaresecondary-standard-border);
|
|
750
|
+
--icon-color: var(--components-button-squaresecondary-standard-icon);
|
|
751
|
+
--label-color: var(--components-button-squaresecondary-standard-text);
|
|
752
|
+
}
|
|
753
|
+
.eds-square-button--secondary:hover {
|
|
754
|
+
--button-background: var(--components-button-squaresecondary-standard-hover);
|
|
755
|
+
}
|
|
756
|
+
.eds-square-button--secondary:active {
|
|
757
|
+
--button-background: var(--components-button-squaresecondary-standard-active);
|
|
758
|
+
--border-color: var(--components-button-squaresecondary-standard-border-active);
|
|
759
|
+
--icon-color: var(--components-button-squaresecondary-standard-icon-active);
|
|
760
|
+
}
|
|
761
|
+
.eds-contrast .eds-square-button--secondary {
|
|
762
|
+
--button-background: var(--components-button-squaresecondary-contrast-default);
|
|
763
|
+
--border-color: var(--components-button-squaresecondary-contrast-border);
|
|
764
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-default);
|
|
765
|
+
--label-color: var(--components-button-squaresecondary-contrast-label);
|
|
766
|
+
}
|
|
767
|
+
.eds-contrast .eds-square-button--secondary:hover {
|
|
768
|
+
--button-background: var(--components-button-squaresecondary-contrast-hover);
|
|
769
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-hover);
|
|
770
|
+
}
|
|
771
|
+
.eds-contrast .eds-square-button--secondary:active {
|
|
772
|
+
--button-background: var(--components-button-squaresecondary-contrast-active);
|
|
773
|
+
--border-color: var(--components-button-squaresecondary-contrast-border-active);
|
|
774
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-active);
|
|
775
|
+
}
|
|
776
|
+
.eds-square-button--success {
|
|
777
|
+
--button-background: var(--components-button-squaresuccess-standard-default);
|
|
778
|
+
--border-color: var(--components-button-squaresuccess-standard-border);
|
|
779
|
+
--icon-color: var(--components-button-squaresuccess-standard-icon);
|
|
780
|
+
--label-color: var(--components-button-squaresuccess-standard-label);
|
|
781
|
+
}
|
|
782
|
+
.eds-square-button--success:hover {
|
|
783
|
+
--button-background: var(--components-button-squaresuccess-standard-hover);
|
|
784
|
+
}
|
|
785
|
+
.eds-square-button--success:active {
|
|
786
|
+
--button-background: var(--components-button-squaresuccess-standard-active);
|
|
787
|
+
}
|
|
788
|
+
.eds-contrast .eds-square-button--success {
|
|
789
|
+
--button-background: var(--components-button-squaresuccess-contrast-default);
|
|
790
|
+
--border-color: var(--components-button-squaresuccess-contrast-border);
|
|
791
|
+
--icon-color: var(--components-button-squaresuccess-contrast-icon);
|
|
792
|
+
--label-color: var(--components-button-squaresuccess-contrast-label);
|
|
793
|
+
}
|
|
794
|
+
.eds-contrast .eds-square-button--success:hover {
|
|
795
|
+
--button-background: var(--components-button-squaresuccess-contrast-hover);
|
|
796
|
+
}
|
|
797
|
+
.eds-contrast .eds-square-button--success:active {
|
|
798
|
+
--button-background: var(--components-button-squaresuccess-contrast-active);
|
|
799
|
+
}
|
|
800
|
+
.eds-square-button--tertiary {
|
|
801
|
+
--button-background: var(--components-button-squaresecondary-standard-default);
|
|
802
|
+
--border-color: var(--components-button-squaresecondary-standard-border);
|
|
803
|
+
--icon-color: var(--components-button-squaresecondary-standard-icon);
|
|
804
|
+
--label-color: var(--components-button-squaresecondary-standard-text);
|
|
805
|
+
font-size: 0.875rem;
|
|
806
|
+
}
|
|
807
|
+
.eds-square-button--tertiary:hover {
|
|
808
|
+
--button-background: var(--components-button-squaresecondary-standard-hover);
|
|
809
|
+
}
|
|
810
|
+
.eds-square-button--tertiary:active {
|
|
811
|
+
--button-background: var(--components-button-squaresecondary-standard-active);
|
|
812
|
+
--border-color: var(--components-button-squaresecondary-standard-border-active);
|
|
813
|
+
--icon-color: var(--components-button-squaresecondary-standard-icon-active);
|
|
814
|
+
}
|
|
815
|
+
.eds-contrast .eds-square-button--tertiary {
|
|
816
|
+
--button-background: var(--components-button-squaresecondary-contrast-default);
|
|
817
|
+
--border-color: var(--components-button-squaresecondary-contrast-border);
|
|
818
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-default);
|
|
819
|
+
--label-color: var(--components-button-squaresecondary-contrast-label);
|
|
820
|
+
}
|
|
821
|
+
.eds-contrast .eds-square-button--tertiary:hover {
|
|
822
|
+
--button-background: var(--components-button-squaresecondary-contrast-hover);
|
|
823
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-hover);
|
|
824
|
+
}
|
|
825
|
+
.eds-contrast .eds-square-button--tertiary:active {
|
|
826
|
+
--button-background: var(--components-button-squaresecondary-contrast-active);
|
|
827
|
+
--border-color: var(--components-button-squaresecondary-contrast-border-active);
|
|
828
|
+
--icon-color: var(--components-button-squaresecondary-contrast-icon-active);
|
|
829
|
+
}
|
|
830
|
+
.eds-square-button--tertiary .eds-square-button__label + .eds-square-button__button,
|
|
831
|
+
.eds-square-button--tertiary .eds-square-button__button + .eds-square-button__label {
|
|
832
|
+
margin-left: 0.75rem;
|
|
833
|
+
}
|
|
834
|
+
.eds-square-button--tertiary .eds-square-button__button {
|
|
835
|
+
height: 2rem;
|
|
836
|
+
width: 2rem;
|
|
837
|
+
border-width: 0.0625rem;
|
|
838
|
+
}
|
|
839
|
+
/* DO NOT CHANGE!*/
|
|
840
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
841
|
+
.eds-icon-button {
|
|
842
|
+
border: 0.125rem solid transparent;
|
|
843
|
+
border-radius: 0.25rem;
|
|
844
|
+
background: none;
|
|
845
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
846
|
+
cursor: pointer;
|
|
847
|
+
display: flex;
|
|
848
|
+
justify-content: center;
|
|
849
|
+
align-items: center;
|
|
850
|
+
font-size: 1rem;
|
|
851
|
+
padding: 0.5rem;
|
|
852
|
+
}
|
|
853
|
+
.eds-contrast .eds-icon-button {
|
|
854
|
+
color: var(--components-button-iconbutton-contrast-text);
|
|
855
|
+
}
|
|
856
|
+
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
857
|
+
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
858
|
+
}
|
|
859
|
+
.eds-icon-button--size-small {
|
|
860
|
+
height: 1.5rem;
|
|
861
|
+
width: 1.5rem;
|
|
862
|
+
padding: 0;
|
|
863
|
+
}
|
|
864
|
+
.eds-icon-button:hover {
|
|
865
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
866
|
+
}
|
|
867
|
+
.eds-contrast .eds-icon-button:hover {
|
|
868
|
+
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
869
|
+
}
|
|
870
|
+
.eds-icon-button:active {
|
|
871
|
+
background: var(--components-button-iconbutton-standard-active);
|
|
872
|
+
color: var(--components-button-iconbutton-standard-text-active);
|
|
873
|
+
}
|
|
874
|
+
.eds-contrast .eds-icon-button:active {
|
|
875
|
+
background: var(--components-button-iconbutton-contrast-active);
|
|
876
|
+
color: var(--components-button-iconbutton-contrast-text-active);
|
|
877
|
+
}
|
|
878
|
+
.eds-icon-button:focus {
|
|
879
|
+
outline: 2px solid #181c56;
|
|
880
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
881
|
+
outline-offset: 0.125rem;
|
|
882
|
+
}
|
|
883
|
+
.eds-contrast .eds-icon-button:focus {
|
|
884
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
885
|
+
}
|
|
886
|
+
.eds-icon-button--disabled {
|
|
887
|
+
opacity: 0.5;
|
|
888
|
+
pointer-events: none;
|
|
889
|
+
}
|
|
890
|
+
.eds-icon-button--disabled__wrapper {
|
|
891
|
+
cursor: not-allowed;
|
|
892
|
+
width: -moz-fit-content;
|
|
893
|
+
width: fit-content;
|
|
894
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.16",
|
|
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.
|
|
30
|
+
"@entur/loader": "^0.4.60",
|
|
31
31
|
"@entur/tokens": "^3.13.3",
|
|
32
|
-
"@entur/utils": "^0.
|
|
32
|
+
"@entur/utils": "^0.11.0",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "a6bd766dd2c7bf84eb3a5bcc8cfdbabca765e28e"
|
|
36
36
|
}
|