@kumori/aurora-wui-components 0.0.309-dev4554.1 → 0.0.309-dev4554.2
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-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,
|
|
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,4BAmEX;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAW/C,oBAAoB;IAQpB,OAAO,CAAC,YAAY;IAKpB,MAAM;CA8CP"}
|
package/dist/index.js
CHANGED
|
@@ -14544,6 +14544,8 @@ var AxebowModal = class AxebowModal extends LitElement {
|
|
|
14544
14544
|
static {
|
|
14545
14545
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
14546
14546
|
:host {
|
|
14547
|
+
--axebow-modal-title-line-height: 1.75rem;
|
|
14548
|
+
--axebow-modal-close-size: 2.125rem;
|
|
14547
14549
|
display: none;
|
|
14548
14550
|
position: fixed;
|
|
14549
14551
|
background-color: rgba(0, 0, 0, 0.5);
|
|
@@ -14586,10 +14588,12 @@ var AxebowModal = class AxebowModal extends LitElement {
|
|
|
14586
14588
|
|
|
14587
14589
|
.close-button {
|
|
14588
14590
|
position: absolute;
|
|
14589
|
-
top:
|
|
14591
|
+
top: calc(1rem + (var(--axebow-modal-title-line-height) - var(--axebow-modal-close-size)) / 2);
|
|
14590
14592
|
right: 1.25rem;
|
|
14593
|
+
width: var(--axebow-modal-close-size);
|
|
14594
|
+
height: var(--axebow-modal-close-size);
|
|
14591
14595
|
cursor: pointer;
|
|
14592
|
-
padding: 0
|
|
14596
|
+
padding: 0;
|
|
14593
14597
|
border-radius: 50%;
|
|
14594
14598
|
color: var(--axebow-gray);
|
|
14595
14599
|
transition: all 0.2s;
|
|
@@ -14638,13 +14642,18 @@ var AxebowModal = class AxebowModal extends LitElement {
|
|
|
14638
14642
|
>
|
|
14639
14643
|
${this.title ? html`
|
|
14640
14644
|
<div class="p-4 pr-14 border-b border-solid border-(--axebow-light-gray) relative">
|
|
14641
|
-
<h2
|
|
14645
|
+
<h2
|
|
14646
|
+
class="text-lg font-bold text-(--axebow-primary) m-0"
|
|
14647
|
+
style="line-height: var(--axebow-modal-title-line-height);"
|
|
14648
|
+
>
|
|
14649
|
+
${this.title}
|
|
14650
|
+
</h2>
|
|
14642
14651
|
${this.description ? html`<p class="text-(--axebow-gray) mt-1 m-0">${this.description}</p>` : ""}
|
|
14643
14652
|
<slot name="description"></slot>
|
|
14644
14653
|
|
|
14645
14654
|
<div
|
|
14646
14655
|
class="close-button"
|
|
14647
|
-
style=${ifDefined(this.closeButtonSize ?
|
|
14656
|
+
style=${ifDefined(this.closeButtonSize ? `--axebow-modal-close-size: ${this.closeButtonSize};` : void 0)}
|
|
14648
14657
|
@click=${this._handleClose}
|
|
14649
14658
|
>
|
|
14650
14659
|
<axebow-icon iconName=${this.closeIconName} iconColor=${ifDefined(this.closeIconColor)} size="xl"></axebow-icon>
|