@kumori/aurora-wui-components 0.0.281-dev4205.8 → 0.0.281-dev4205.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-cta-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-cta-dialog/axebow-cta-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,2DAA2D,CAAC;AAQnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAE5G,qBACa,eAAgB,SAAQ,UAAU;IACD,IAAI,UAAS;IAC7B,WAAW,SAAgC;IAC3C,WAAW,SAAa;IACzB,aAAa,EAAE,wBAAwB,EAAE,CAAM;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,MAAM,CAAC,MAAM,4BAOX;IAEF,OAAO,CAAC,YAAY;IAIpB,MAAM;CAiCP"}
1
+ {"version":3,"file":"axebow-cta-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-cta-dialog/axebow-cta-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,2DAA2D,CAAC;AAQnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAE5G,qBACa,eAAgB,SAAQ,UAAU;IACD,IAAI,UAAS;IAC7B,WAAW,SAAgC;IAC3C,WAAW,SAAa;IACzB,aAAa,EAAE,wBAAwB,EAAE,CAAM;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,MAAM,CAAC,MAAM,4BAOX;IAEF,OAAO,CAAC,YAAY;IAIpB,MAAM;CAoCP"}
@@ -7,6 +7,9 @@ export declare class AxebowModal extends LitElement {
7
7
  height: string;
8
8
  title: string;
9
9
  description: string;
10
+ closeIconName: string;
11
+ closeIconColor?: string;
12
+ closeButtonSize?: string;
10
13
  private _hasFooterSlotContent;
11
14
  private _isScrollLocked;
12
15
  private _onFooterSlotChange;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-modal.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-modal/axebow-modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,WAAY,SAAQ,UAAU;IACG,IAAI,UAAS;IAC7C,KAAK,EAAE,MAAM,CAAuB;IACpC,QAAQ,EAAE,MAAM,CAAY;IAC5B,SAAS,EAAE,MAAM,CAAU;IAC3B,MAAM,EAAE,MAAM,CAAuB;IACrC,KAAK,EAAE,MAAM,CAAM;IACnB,WAAW,EAAE,MAAM,CAAM;IAE5B,OAAO,CAAC,qBAAqB,CAAS;IAC/C,OAAO,CAAC,eAAe,CAAS;IAEhC,OAAO,CAAC,mBAAmB;IAO3B,MAAM,CAAC,MAAM,4BA+DX;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAW/C,oBAAoB;IAQpB,OAAO,CAAC,YAAY;IAKpB,MAAM;CAmCP"}
1
+ {"version":3,"file":"axebow-modal.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-modal/axebow-modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,WAAY,SAAQ,UAAU;IACG,IAAI,UAAS;IAC7C,KAAK,EAAE,MAAM,CAAuB;IACpC,QAAQ,EAAE,MAAM,CAAY;IAC5B,SAAS,EAAE,MAAM,CAAU;IAC3B,MAAM,EAAE,MAAM,CAAuB;IACrC,KAAK,EAAE,MAAM,CAAM;IACnB,WAAW,EAAE,MAAM,CAAM;IACzB,aAAa,EAAE,MAAM,CAAW;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IAE5B,OAAO,CAAC,qBAAqB,CAAS;IAC/C,OAAO,CAAC,eAAe,CAAS;IAEhC,OAAO,CAAC,mBAAmB;IAO3B,MAAM,CAAC,MAAM,4BA+DX;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAW/C,oBAAoB;IAQpB,OAAO,CAAC,YAAY;IAKpB,MAAM;CA2CP"}
package/dist/index.js CHANGED
@@ -13584,6 +13584,7 @@ var AxebowModal = class AxebowModal extends LitElement {
13584
13584
  this.height = "calc(100% - 2rem)";
13585
13585
  this.title = "";
13586
13586
  this.description = "";
13587
+ this.closeIconName = "close";
13587
13588
  this._hasFooterSlotContent = false;
13588
13589
  this._isScrollLocked = false;
13589
13590
  }
@@ -13694,8 +13695,12 @@ var AxebowModal = class AxebowModal extends LitElement {
13694
13695
  ${this.description ? html`<p class="text-(--axebow-gray) mt-1 m-0">${this.description}</p>` : ""}
13695
13696
  <slot name="description"></slot>
13696
13697
 
13697
- <div class="close-button" @click=${this._handleClose}>
13698
- <axebow-icon iconName="close" size="xl"></axebow-icon>
13698
+ <div
13699
+ class="close-button"
13700
+ style=${ifDefined(this.closeButtonSize ? `width: ${this.closeButtonSize}; height: ${this.closeButtonSize}; padding: 0;` : void 0)}
13701
+ @click=${this._handleClose}
13702
+ >
13703
+ <axebow-icon iconName=${this.closeIconName} iconColor=${ifDefined(this.closeIconColor)} size="xl"></axebow-icon>
13699
13704
  </div>
13700
13705
  </div>
13701
13706
  ` : ""}
@@ -13723,6 +13728,9 @@ __decorate([property()], AxebowModal.prototype, "maxHeight", void 0);
13723
13728
  __decorate([property()], AxebowModal.prototype, "height", void 0);
13724
13729
  __decorate([property()], AxebowModal.prototype, "title", void 0);
13725
13730
  __decorate([property()], AxebowModal.prototype, "description", void 0);
13731
+ __decorate([property()], AxebowModal.prototype, "closeIconName", void 0);
13732
+ __decorate([property()], AxebowModal.prototype, "closeIconColor", void 0);
13733
+ __decorate([property()], AxebowModal.prototype, "closeButtonSize", void 0);
13726
13734
  __decorate([state()], AxebowModal.prototype, "_hasFooterSlotContent", void 0);
13727
13735
  AxebowModal = __decorate([customElement("axebow-modal")], AxebowModal);
13728
13736
  //#endregion
@@ -13882,6 +13890,9 @@ var AxebowCtaDialog = class AxebowCtaDialog extends LitElement {
13882
13890
  width="76.25rem"
13883
13891
  maxWidth="100%"
13884
13892
  height="auto"
13893
+ closeIconName="cancel"
13894
+ closeIconColor="#8A94AE"
13895
+ closeButtonSize="1.5rem"
13885
13896
  @close=${() => this._handleClose()}
13886
13897
  >
13887
13898
  <div class="flex flex-col gap-2 p-6">
@@ -13902,7 +13913,7 @@ var AxebowCtaDialog = class AxebowCtaDialog extends LitElement {
13902
13913
  </div>
13903
13914
 
13904
13915
  <div slot="footer" class="flex items-center justify-end p-4">
13905
- <axebow-button variant="primary" @click=${() => this._handleClose()}>${this.goBackLabel}</axebow-button>
13916
+ <axebow-button variant="primary" outline @click=${() => this._handleClose()}>${this.goBackLabel}</axebow-button>
13906
13917
  </div>
13907
13918
  </axebow-modal>
13908
13919
  `;