@kumori/aurora-wui-components 0.0.317-dev4599.1 → 0.0.318
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-banner.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-banner/axebow-banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAElE;;;;;;GAMG;AACH,qBACa,YAAa,SAAQ,UAAU;IACd,IAAI,EAAE,UAAU,CAAU;IACzB,WAAW,EAAE,OAAO,CAAS;IAC9B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;
|
|
1
|
+
{"version":3,"file":"axebow-banner.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-banner/axebow-banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAElE;;;;;;GAMG;AACH,qBACa,YAAa,SAAQ,UAAU;IACd,IAAI,EAAE,UAAU,CAAU;IACzB,WAAW,EAAE,OAAO,CAAS;IAC9B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAM;IACrB,OAAO,EAAE,OAAO,CAAS;IACzB,OAAO,EAAE,OAAO,CAAS;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE9C,OAAO,CAAC,aAAa,CAAC,CAAgC;IAE7C,OAAO,CAAC,OAAO,CAAQ;IAEhC,MAAM,CAAC,MAAM,4BAQX;IAEF,oBAAoB;IAKpB,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAMtC,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,kBAAkB;IAO1B,MAAM;IA4CN,OAAO,CAAC,cAAc;CAavB"}
|
package/dist/index.js
CHANGED
|
@@ -5650,6 +5650,7 @@ var AxebowBanner = class AxebowBanner extends LitElement {
|
|
|
5650
5650
|
this.type = "info";
|
|
5651
5651
|
this.dismissible = false;
|
|
5652
5652
|
this.iconName = null;
|
|
5653
|
+
this.iconSize = "";
|
|
5653
5654
|
this.rounded = false;
|
|
5654
5655
|
this.compact = false;
|
|
5655
5656
|
this.visible = true;
|
|
@@ -5721,18 +5722,15 @@ var AxebowBanner = class AxebowBanner extends LitElement {
|
|
|
5721
5722
|
const classes = map[this.type] || map.info;
|
|
5722
5723
|
return html`
|
|
5723
5724
|
<div
|
|
5724
|
-
class="w-full ${this.compact ? "px-3 py-1.5" : "px-4 pb-4 pt-3"} border ${classes.border} border-solid ${classes.bg} ${this.rounded ? "rounded-md" : ""} flex items-center gap-[0.625rem]"
|
|
5725
|
+
class="w-full h-full ${this.compact ? "px-3 py-1.5" : "px-4 pb-4 pt-3"} border ${classes.border} border-solid ${classes.bg} ${this.rounded ? "rounded-md" : ""} flex items-center gap-[0.625rem]"
|
|
5725
5726
|
>
|
|
5726
5727
|
<div class="w-6 h-6 shrink-0 flex items-center justify-center">
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
iconName="${this.getDefaultIcon()}"
|
|
5734
|
-
iconColor="${classes.icon}"
|
|
5735
|
-
></axebow-icon>`}
|
|
5728
|
+
<axebow-icon
|
|
5729
|
+
class="leading-none ${classes.icon}"
|
|
5730
|
+
iconName="${this.iconName || this.getDefaultIcon()}"
|
|
5731
|
+
iconColor="${classes.icon}"
|
|
5732
|
+
size="${this.iconSize || "medium"}"
|
|
5733
|
+
></axebow-icon>
|
|
5736
5734
|
</div>
|
|
5737
5735
|
<div class="flex-1" style="${this.textSize ? `font-size: ${this.textSize};` : ""}">
|
|
5738
5736
|
<slot></slot>
|
|
@@ -5752,6 +5750,7 @@ var AxebowBanner = class AxebowBanner extends LitElement {
|
|
|
5752
5750
|
__decorate([property({ type: String })], AxebowBanner.prototype, "type", void 0);
|
|
5753
5751
|
__decorate([property({ type: Boolean })], AxebowBanner.prototype, "dismissible", void 0);
|
|
5754
5752
|
__decorate([property({ type: String })], AxebowBanner.prototype, "iconName", void 0);
|
|
5753
|
+
__decorate([property({ type: String })], AxebowBanner.prototype, "iconSize", void 0);
|
|
5755
5754
|
__decorate([property({ type: Boolean })], AxebowBanner.prototype, "rounded", void 0);
|
|
5756
5755
|
__decorate([property({ type: Boolean })], AxebowBanner.prototype, "compact", void 0);
|
|
5757
5756
|
__decorate([property({ type: Number })], AxebowBanner.prototype, "durationMs", void 0);
|