@entur/button 3.2.4-beta.0 → 3.2.4
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 +57 -57
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -321,63 +321,6 @@ 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. */
|
|
381
324
|
.eds-square-button {
|
|
382
325
|
--icon-color: var(--primary-text-color);
|
|
383
326
|
--button-background: transparent;
|
|
@@ -519,3 +462,60 @@ a.eds-button--size-large {
|
|
|
519
462
|
.eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
520
463
|
background: #181c56;
|
|
521
464
|
}
|
|
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.4
|
|
3
|
+
"version": "3.2.4",
|
|
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.50
|
|
31
|
-
"@entur/tokens": "^3.11.2
|
|
30
|
+
"@entur/loader": "^0.4.50",
|
|
31
|
+
"@entur/tokens": "^3.11.2",
|
|
32
32
|
"@entur/utils": "^0.9.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c3e894aeae7247bdaf3ec8636fade3301e605c0e"
|
|
36
36
|
}
|