@kumori/aurora-wui-components 0.0.297-dev4423.3 → 0.0.297-dev4423.4
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-card-header.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-header.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC1F,OAAO,wCAAwC,CAAC;AAChD,OAAO,yDAAyD,CAAC;AACjE,OAAO,kCAAkC,CAAC;AAC1C,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAElC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAMX;IAE0B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,eAAe,SAAM;IACrB,IAAI,SAAM;IACV,KAAK,EAAE,SAAS,CAAU;IAC1B,QAAQ,SAAM;IACd,QAAQ,EAAE,QAAQ,CAAa;IAChC,SAAS,EAAE,YAAY,EAAE,CAAM;IAC9B,iBAAiB,SAAM;IACvB,aAAa,SAAe;IAC5B,aAAa,SAAyB;IACtC,YAAY,SAAgD;IAC5D,OAAO,SAAsB;IAC7B,OAAO,SAA+B;IACtC,IAAI,SAAM;IACV,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAM;IACtD,gBAAgB,SAA2B;IAEvE,OAAO,CAAC,YAAY;IAyBpB,OAAO,CAAC,aAAa;IAYrB,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-card-header.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-header.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC1F,OAAO,wCAAwC,CAAC;AAChD,OAAO,yDAAyD,CAAC;AACjE,OAAO,kCAAkC,CAAC;AAC1C,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAElC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAMX;IAE0B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,eAAe,SAAM;IACrB,IAAI,SAAM;IACV,KAAK,EAAE,SAAS,CAAU;IAC1B,QAAQ,SAAM;IACd,QAAQ,EAAE,QAAQ,CAAa;IAChC,SAAS,EAAE,YAAY,EAAE,CAAM;IAC9B,iBAAiB,SAAM;IACvB,aAAa,SAAe;IAC5B,aAAa,SAAyB;IACtC,YAAY,SAAgD;IAC5D,OAAO,SAAsB;IAC7B,OAAO,SAA+B;IACtC,IAAI,SAAM;IACV,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAM;IACtD,gBAAgB,SAA2B;IAEvE,OAAO,CAAC,YAAY;IAyBpB,OAAO,CAAC,aAAa;IAYrB,MAAM;IA4EN,OAAO,CAAC,iBAAiB;CAG1B"}
|
package/dist/index.js
CHANGED
|
@@ -6171,17 +6171,8 @@ var AxebowCardHeader = class AxebowCardHeader extends LitElement {
|
|
|
6171
6171
|
const isCompact = this.cardType === "environment" || isTenant;
|
|
6172
6172
|
const isRuntime = this.cardType === "runtime";
|
|
6173
6173
|
const heightStyle = `height:${this._headerHeight()}`;
|
|
6174
|
-
if (isCompact)
|
|
6175
|
-
|
|
6176
|
-
const subtitleTooltip = isTenant && this.roleTooltips[this.role] ? html`
|
|
6177
|
-
<axebow-role-tooltip
|
|
6178
|
-
.heading=${this.roleTooltips[this.role].title}
|
|
6179
|
-
.items=${this.roleTooltips[this.role].items}
|
|
6180
|
-
color=${this.roleTooltipColor}
|
|
6181
|
-
></axebow-role-tooltip>
|
|
6182
|
-
` : html`<slot name="subtitle-tooltip"></slot>`;
|
|
6183
|
-
return html`
|
|
6184
|
-
<div class="${sizeClasses} bg-(--axebow-anti-flash-white) rounded-md flex flex-col justify-center box-border" style=${heightStyle}>
|
|
6174
|
+
if (isCompact) return html`
|
|
6175
|
+
<div class="${isTenant ? "w-91 mx-auto p-2" : "w-91 px-2 py-3.25"} bg-(--axebow-anti-flash-white) rounded-md flex flex-col justify-center box-border" style=${heightStyle}>
|
|
6185
6176
|
<div class="flex flex-col flex-1 min-w-0">
|
|
6186
6177
|
${this.tenantOrAccount || this.logoSrc ? html`
|
|
6187
6178
|
<div class="flex gap-2 items-center leading-none ${isTenant ? "w-87 h-3" : ""}">
|
|
@@ -6198,13 +6189,18 @@ var AxebowCardHeader = class AxebowCardHeader extends LitElement {
|
|
|
6198
6189
|
${this.subtitle ? html`
|
|
6199
6190
|
<div class="text-(--axebow-gray) flex items-center gap-1 ${isTenant ? "w-26.75 h-4 text-sm italic whitespace-nowrap" : ""}">
|
|
6200
6191
|
${this.subtitle}
|
|
6201
|
-
${isTenant
|
|
6192
|
+
${isTenant && this.roleTooltips[this.role] ? html`
|
|
6193
|
+
<axebow-role-tooltip
|
|
6194
|
+
.heading=${this.roleTooltips[this.role].title}
|
|
6195
|
+
.items=${this.roleTooltips[this.role].items}
|
|
6196
|
+
color=${this.roleTooltipColor}
|
|
6197
|
+
></axebow-role-tooltip>
|
|
6198
|
+
` : html`<slot name="subtitle-tooltip"></slot>`}
|
|
6202
6199
|
</div>
|
|
6203
6200
|
` : ""}
|
|
6204
6201
|
</div>
|
|
6205
6202
|
</div>
|
|
6206
6203
|
`;
|
|
6207
|
-
}
|
|
6208
6204
|
return html`
|
|
6209
6205
|
<div class="w-full bg-(--axebow-anti-flash-white) rounded-md flex items-center ${isRuntime ? "gap-3 py-2 px-3" : "gap-2 py-2 px-2"} box-border" style=${heightStyle}>
|
|
6210
6206
|
<axebow-card-cloud-logo .src=${this.logoSrc} size="large"></axebow-card-cloud-logo>
|