@kumori/aurora-wui-components 0.0.337-dev4696.11 → 0.0.337-dev4696.13
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-selector-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-selector-card/axebow-selector-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"axebow-selector-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-selector-card/axebow-selector-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BA+CX;IAE0B,MAAM,SAAM;IACZ,OAAO,SAAM;IACb,SAAS,SAAc;IACtB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAE9C,MAAM;CAwBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,kBAAkB,CAAC;KAC5C;CACF"}
|
package/dist/index.js
CHANGED
|
@@ -3282,6 +3282,7 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
|
|
|
3282
3282
|
super(..._args);
|
|
3283
3283
|
this.cardId = "";
|
|
3284
3284
|
this.logoSrc = "";
|
|
3285
|
+
this.logoWidth = "1.125rem";
|
|
3285
3286
|
this.selected = false;
|
|
3286
3287
|
this.disabled = false;
|
|
3287
3288
|
}
|
|
@@ -3322,16 +3323,10 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
|
|
|
3322
3323
|
background-color: var(--axebow-white);
|
|
3323
3324
|
}
|
|
3324
3325
|
.registry-logo {
|
|
3325
|
-
height:
|
|
3326
|
-
aspect-ratio: 1 / 1;
|
|
3326
|
+
height: 1.125rem;
|
|
3327
3327
|
object-fit: contain;
|
|
3328
3328
|
flex-shrink: 0;
|
|
3329
3329
|
}
|
|
3330
|
-
@media (min-width: 64rem) {
|
|
3331
|
-
.registry-logo {
|
|
3332
|
-
height: calc(var(--spacing) * 6);
|
|
3333
|
-
}
|
|
3334
|
-
}
|
|
3335
3330
|
p {
|
|
3336
3331
|
margin: 0;
|
|
3337
3332
|
white-space: nowrap;
|
|
@@ -3346,7 +3341,12 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
|
|
|
3346
3341
|
<div
|
|
3347
3342
|
class="card-wrapper rounded-lg border border-solid p-2 text-center transition-all duration-300 ease-in-out flex items-center justify-center ${this.selected ? "selected" : ""} ${this.disabled ? "opacity-60 pointer-events-none" : "cursor-pointer"}"
|
|
3348
3343
|
>
|
|
3349
|
-
<img
|
|
3344
|
+
<img
|
|
3345
|
+
class="registry-logo"
|
|
3346
|
+
style="width: ${this.logoWidth || "1.125rem"};"
|
|
3347
|
+
src="${this.logoSrc}"
|
|
3348
|
+
alt="${this.cardId}"
|
|
3349
|
+
/>
|
|
3350
3350
|
<p class="m-0">${this.cardId}</p>
|
|
3351
3351
|
${this.selected ? html`
|
|
3352
3352
|
<div
|
|
@@ -3361,6 +3361,7 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
|
|
|
3361
3361
|
};
|
|
3362
3362
|
__decorate([property({ type: String })], AxebowSelectorCard.prototype, "cardId", void 0);
|
|
3363
3363
|
__decorate([property({ type: String })], AxebowSelectorCard.prototype, "logoSrc", void 0);
|
|
3364
|
+
__decorate([property({ type: String })], AxebowSelectorCard.prototype, "logoWidth", void 0);
|
|
3364
3365
|
__decorate([property({ type: Boolean })], AxebowSelectorCard.prototype, "selected", void 0);
|
|
3365
3366
|
__decorate([property({ type: Boolean })], AxebowSelectorCard.prototype, "disabled", void 0);
|
|
3366
3367
|
AxebowSelectorCard = __decorate([customElement("axebow-selector-card")], AxebowSelectorCard);
|
|
@@ -9421,7 +9422,7 @@ var AxebowTenantResourceTable = class AxebowTenantResourceTable extends LitEleme
|
|
|
9421
9422
|
class="shrink-0 expand-icon text-(--axebow-tertiary) group-hover:text-(--axebow-gray) transition-colors"
|
|
9422
9423
|
></axebow-icon>
|
|
9423
9424
|
` : ""}
|
|
9424
|
-
${row.logoUrl ? html`<img src=${row.logoUrl} alt="logo" class="w-
|
|
9425
|
+
${row.logoUrl ? html`<img src=${row.logoUrl} alt="logo" class="w-6 h-6 object-contain shrink-0" />` : ""}
|
|
9425
9426
|
<div class="w-38 min-w-0 h-[2.125rem] flex items-center">
|
|
9426
9427
|
<span class="line-clamp-2 wrap-break-word leading-[1.0625rem]">${row.name}</span>
|
|
9427
9428
|
</div>
|
|
@@ -9481,7 +9482,7 @@ var AxebowTenantResourceTable = class AxebowTenantResourceTable extends LitEleme
|
|
|
9481
9482
|
size="sm"
|
|
9482
9483
|
class="shrink-0 pl-8"
|
|
9483
9484
|
></axebow-icon>
|
|
9484
|
-
${subRow.logoUrl ? html`<img src=${subRow.logoUrl} class="w-
|
|
9485
|
+
${subRow.logoUrl ? html`<img src=${subRow.logoUrl} class="w-6 h-6 object-contain shrink-0" />` : ""}
|
|
9485
9486
|
<div class="w-44 min-w-0 h-[2.125rem] flex items-center">
|
|
9486
9487
|
<span class="font-normal text-gray-700 line-clamp-2 wrap-break-word leading-[1.0625rem]">${subRow.name}</span>
|
|
9487
9488
|
</div>
|