@asantemedia-org/edwardsvacuum-design-system 1.4.5 → 1.4.7

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/index.css CHANGED
@@ -487,6 +487,9 @@
487
487
  background: rgb(255, 255, 255);
488
488
  color: #2d363a;
489
489
  }
490
+ .Button-module__cmp-button--style-primary___hfLAd:visited {
491
+ color: rgb(255, 255, 255);
492
+ }
490
493
  .Button-module__cmp-button--style-secondary___3Dqvg {
491
494
  background: #2d363a;
492
495
  color: rgb(255, 255, 255);
@@ -495,6 +498,9 @@
495
498
  background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
496
499
  color: rgb(255, 255, 255);
497
500
  }
501
+ .Button-module__cmp-button--style-secondary___3Dqvg:visited {
502
+ color: rgb(255, 255, 255);
503
+ }
498
504
  .Button-module__cmp-button--style-tertiary___Akcep {
499
505
  background: rgb(255, 255, 255);
500
506
  color: #2d363a;
@@ -504,6 +510,9 @@
504
510
  background: #2d363a;
505
511
  color: rgb(255, 255, 255);
506
512
  }
513
+ .Button-module__cmp-button--style-tertiary___Akcep:visited {
514
+ color: #2d363a;
515
+ }
507
516
  .Button-module__cmp-button--style-outlineWhite___v69nN {
508
517
  background: transparent;
509
518
  color: rgb(255, 255, 255);
@@ -514,6 +523,9 @@
514
523
  color: #2d363a;
515
524
  border-color: rgb(255, 255, 255);
516
525
  }
526
+ .Button-module__cmp-button--style-outlineWhite___v69nN:visited {
527
+ color: rgb(255, 255, 255);
528
+ }
517
529
  .Button-module__cmp-button--style-outlineGrey___sG5nd {
518
530
  background: transparent;
519
531
  color: #2d363a;
@@ -523,4 +535,10 @@
523
535
  background: #2d363a;
524
536
  color: rgb(255, 255, 255);
525
537
  border-color: #2d363a;
538
+ }
539
+ .Button-module__cmp-button--style-outlineGrey___sG5nd:visited {
540
+ color: #2d363a;
541
+ }
542
+ .Button-module__cmp-button___SMjDF:hover {
543
+ text-decoration: none;
526
544
  }
@@ -487,6 +487,9 @@
487
487
  background: rgb(255, 255, 255);
488
488
  color: #2d363a;
489
489
  }
490
+ .Button-module__cmp-button--style-primary___hfLAd:visited {
491
+ color: rgb(255, 255, 255);
492
+ }
490
493
  .Button-module__cmp-button--style-secondary___3Dqvg {
491
494
  background: #2d363a;
492
495
  color: rgb(255, 255, 255);
@@ -495,6 +498,9 @@
495
498
  background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
496
499
  color: rgb(255, 255, 255);
497
500
  }
501
+ .Button-module__cmp-button--style-secondary___3Dqvg:visited {
502
+ color: rgb(255, 255, 255);
503
+ }
498
504
  .Button-module__cmp-button--style-tertiary___Akcep {
499
505
  background: rgb(255, 255, 255);
500
506
  color: #2d363a;
@@ -504,6 +510,9 @@
504
510
  background: #2d363a;
505
511
  color: rgb(255, 255, 255);
506
512
  }
513
+ .Button-module__cmp-button--style-tertiary___Akcep:visited {
514
+ color: #2d363a;
515
+ }
507
516
  .Button-module__cmp-button--style-outlineWhite___v69nN {
508
517
  background: transparent;
509
518
  color: rgb(255, 255, 255);
@@ -514,6 +523,9 @@
514
523
  color: #2d363a;
515
524
  border-color: rgb(255, 255, 255);
516
525
  }
526
+ .Button-module__cmp-button--style-outlineWhite___v69nN:visited {
527
+ color: rgb(255, 255, 255);
528
+ }
517
529
  .Button-module__cmp-button--style-outlineGrey___sG5nd {
518
530
  background: transparent;
519
531
  color: #2d363a;
@@ -523,4 +535,10 @@
523
535
  background: #2d363a;
524
536
  color: rgb(255, 255, 255);
525
537
  border-color: #2d363a;
538
+ }
539
+ .Button-module__cmp-button--style-outlineGrey___sG5nd:visited {
540
+ color: #2d363a;
541
+ }
542
+ .Button-module__cmp-button___SMjDF:hover {
543
+ text-decoration: none;
526
544
  }
package/dist/index.esm.js CHANGED
@@ -4743,7 +4743,7 @@ var Button = function (_a) {
4743
4743
  var mode = style ? getStyle("cmp-button--style-".concat(style)) : '';
4744
4744
  var baseClass = getStyle('cmp-button');
4745
4745
  // Add js-modal class if data-target-selector is present
4746
- var conditionalClasses = [baseClass, mode, className, dataTargetSelector ? 'js-modal' : ''].filter(Boolean).join(' ').trim();
4746
+ var conditionalClasses = [baseClass, mode, className, dataTargetSelector ? 'js-modal js-modal--storybook-button' : ''].filter(Boolean).join(' ').trim();
4747
4747
  // Infer element type
4748
4748
  var inferredElement = element || (href || dataTargetSelector ? 'a' : 'button');
4749
4749
  if (inferredElement === 'a') {