@entur/tooltip 5.1.0 → 5.1.1

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 +68 -68
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -344,74 +344,6 @@ a.eds-button--size-large {
344
344
  margin-right: 0;
345
345
  }
346
346
 
347
- /* DO NOT CHANGE!*/
348
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
349
- .eds-icon-button {
350
- border: 0.125rem solid transparent;
351
- border-radius: 0.25rem;
352
- background: none;
353
- color: var(--components-button-iconbutton-standard-text);
354
- cursor: pointer;
355
- display: flex;
356
- justify-content: center;
357
- align-items: center;
358
- font-size: 1rem;
359
- padding: 0.5rem;
360
- }
361
-
362
- .eds-contrast .eds-icon-button {
363
- color: var(--components-button-iconbutton-contrast-text);
364
- }
365
-
366
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
367
- background-color: var(--components-button-iconbutton-contrast-icon);
368
- }
369
-
370
- .eds-icon-button--size-small {
371
- height: 1.5rem;
372
- width: 1.5rem;
373
- padding: 0;
374
- }
375
-
376
- .eds-icon-button:hover {
377
- background-color: var(--components-button-iconbutton-standard-hover);
378
- }
379
-
380
- .eds-contrast .eds-icon-button:hover {
381
- background-color: var(--components-button-iconbutton-contrast-hover);
382
- }
383
-
384
- .eds-icon-button:active {
385
- background: var(--components-button-iconbutton-standard-active);
386
- color: var(--components-button-iconbutton-standard-text-active);
387
- }
388
-
389
- .eds-contrast .eds-icon-button:active {
390
- background: var(--components-button-iconbutton-contrast-active);
391
- color: var(--components-button-iconbutton-contrast-text-active);
392
- }
393
-
394
- .eds-icon-button:focus {
395
- outline: 2px solid #181c56;
396
- outline-color: var(--basecolors-stroke-focus-standard);
397
- outline-offset: 0.125rem;
398
- }
399
-
400
- .eds-contrast .eds-icon-button:focus {
401
- outline-color: var(--basecolors-stroke-focus-contrast);
402
- }
403
-
404
- .eds-icon-button--disabled {
405
- opacity: 0.5;
406
- pointer-events: none;
407
- }
408
-
409
- .eds-icon-button--disabled__wrapper {
410
- cursor: not-allowed;
411
- width: -moz-fit-content;
412
- width: fit-content;
413
- }
414
-
415
347
  /* DO NOT CHANGE!*/
416
348
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
417
349
  .eds-square-button {
@@ -609,6 +541,74 @@ a.eds-button--size-large {
609
541
  border-width: 0.0625rem;
610
542
  }
611
543
 
544
+ /* DO NOT CHANGE!*/
545
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
546
+ .eds-icon-button {
547
+ border: 0.125rem solid transparent;
548
+ border-radius: 0.25rem;
549
+ background: none;
550
+ color: var(--components-button-iconbutton-standard-text);
551
+ cursor: pointer;
552
+ display: flex;
553
+ justify-content: center;
554
+ align-items: center;
555
+ font-size: 1rem;
556
+ padding: 0.5rem;
557
+ }
558
+
559
+ .eds-contrast .eds-icon-button {
560
+ color: var(--components-button-iconbutton-contrast-text);
561
+ }
562
+
563
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
564
+ background-color: var(--components-button-iconbutton-contrast-icon);
565
+ }
566
+
567
+ .eds-icon-button--size-small {
568
+ height: 1.5rem;
569
+ width: 1.5rem;
570
+ padding: 0;
571
+ }
572
+
573
+ .eds-icon-button:hover {
574
+ background-color: var(--components-button-iconbutton-standard-hover);
575
+ }
576
+
577
+ .eds-contrast .eds-icon-button:hover {
578
+ background-color: var(--components-button-iconbutton-contrast-hover);
579
+ }
580
+
581
+ .eds-icon-button:active {
582
+ background: var(--components-button-iconbutton-standard-active);
583
+ color: var(--components-button-iconbutton-standard-text-active);
584
+ }
585
+
586
+ .eds-contrast .eds-icon-button:active {
587
+ background: var(--components-button-iconbutton-contrast-active);
588
+ color: var(--components-button-iconbutton-contrast-text-active);
589
+ }
590
+
591
+ .eds-icon-button:focus {
592
+ outline: 2px solid #181c56;
593
+ outline-color: var(--basecolors-stroke-focus-standard);
594
+ outline-offset: 0.125rem;
595
+ }
596
+
597
+ .eds-contrast .eds-icon-button:focus {
598
+ outline-color: var(--basecolors-stroke-focus-contrast);
599
+ }
600
+
601
+ .eds-icon-button--disabled {
602
+ opacity: 0.5;
603
+ pointer-events: none;
604
+ }
605
+
606
+ .eds-icon-button--disabled__wrapper {
607
+ cursor: not-allowed;
608
+ width: -moz-fit-content;
609
+ width: fit-content;
610
+ }
611
+
612
612
  /* DO NOT CHANGE!*/
613
613
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
614
614
  /* DO NOT CHANGE!*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/tooltip",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/tooltip.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.2.33",
31
- "@entur/icons": "^7.4.1",
32
- "@entur/layout": "^2.3.17",
33
- "@entur/tokens": "^3.17.1",
30
+ "@entur/button": "^3.2.34",
31
+ "@entur/icons": "^7.4.2",
32
+ "@entur/layout": "^2.3.18",
33
+ "@entur/tokens": "^3.17.2",
34
34
  "@entur/utils": "^0.12.0",
35
35
  "@floating-ui/react": "^0.26.24",
36
36
  "@floating-ui/react-dom": "^2.1.0",
37
37
  "classnames": "^2.3.1"
38
38
  },
39
- "gitHead": "7df4cea445e3dac77f80619ea0c298dc0b5c31e0"
39
+ "gitHead": "36055df834c5a9dd170f1846c1e0469481575e1a"
40
40
  }