@warp-ds/elements 2.2.0-next.28 → 2.2.0-next.29

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.
@@ -2461,13 +2461,16 @@ Please compile your catalog first.
2461
2461
  class="header-button header-button-left"
2462
2462
  @click="${this.emitBack}">
2463
2463
  <w-icon-arrow-left-16 style="display: flex;"></w-icon-arrow-left-16>
2464
- </button>`:ke}get closeButton(){return this.noClose?ke:Y`<button
2465
- type="button"
2466
- aria-label="${c._({id:"modal.aria.close",message:"Close",comment:"Aria label for the close button in modal"})}"
2467
- class="header-button ${this._hasTopContent?"header-close-button-on-image":"header-close-button"}"
2468
- @click="${this.close}">
2469
- <w-icon-close-16 style="display: flex;"></w-icon-close-16>
2470
- </button>`}emitBack(){this.dispatchEvent(new CustomEvent("backClicked",{bubbles:!0,composed:!0}))}handleTopSlotChange(o){let t=o.target.assignedElements({flatten:!0});this._hasTopContent=!!t.length}};u.styles=[ge,Cr`
2464
+ </button>`:ke}get closeButton(){return this.noClose?ke:Y`<div class="header-close-button-container">
2465
+ <w-button
2466
+ type="button"
2467
+ aria-label="${c._({id:"modal.aria.close",message:"Close",comment:"Aria label for the close button in modal"})}"
2468
+ variant="pill"
2469
+ small=""
2470
+ @click="${this.close}">
2471
+ <w-icon-close-16 style="display: flex;"></w-icon-close-16>
2472
+ </w-button>
2473
+ </div>`}emitBack(){this.dispatchEvent(new CustomEvent("backClicked",{bubbles:!0,composed:!0}))}handleTopSlotChange(o){let t=o.target.assignedElements({flatten:!0});this._hasTopContent=!!t.length}};u.styles=[ge,Cr`
2471
2474
  .header {
2472
2475
  position: relative;
2473
2476
  padding-bottom: 0.8rem;
@@ -2540,30 +2543,10 @@ Please compile your catalog first.
2540
2543
  .header-button-left:active {
2541
2544
  background-color: var(--w-color-button-pill-background-active);
2542
2545
  }
2543
- .header-close-button {
2544
- background-color: transparent;
2545
- color: var(--w-s-color-icon);
2546
- margin-right: -0.8rem;
2547
- }
2548
- .header-close-button:hover {
2549
- background-color: var(--w-color-button-pill-background-hover);
2550
- }
2551
- .header-close-button:active {
2552
- background-color: var(--w-color-button-pill-background-active);
2553
- }
2554
- .header-close-button-on-image {
2555
- background-color: transparent;
2556
- color: var(--w-s-color-text-inverted);
2557
- right: 0.8rem;
2558
- top: 0.8rem;
2546
+ .header-close-button-container {
2559
2547
  position: absolute;
2560
- z-index: 10;
2561
- }
2562
- .header-close-button-on-image:hover {
2563
- background-color: var(--w-color-button-pill-background-hover);
2564
- }
2565
- .header-close-button-on-image:active {
2566
- background-color: var(--w-color-button-pill-background-active);
2548
+ right: 2rem;
2549
+ top: 2.4rem;
2567
2550
  }
2568
2551
  @media (min-width: 480px) {
2569
2552
  .header-title-bar {