@kumori/aurora-wui-components 0.0.333 → 0.0.334-dev4680.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-limits-counter.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-limits-counter/axebow-limits-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAKvD,qBACa,mBAAoB,SAAQ,UAAU;IACrB,KAAK,SAAM;IACX,OAAO,SAAM;IACb,KAAK,SAAM;IACX,IAAI,SAAM;IAEtC,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,OAAO;
|
|
1
|
+
{"version":3,"file":"axebow-limits-counter.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-limits-counter/axebow-limits-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAKvD,qBACa,mBAAoB,SAAQ,UAAU;IACrB,KAAK,SAAM;IACX,OAAO,SAAM;IACb,KAAK,SAAM;IACX,IAAI,SAAM;IAEtC,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,OAAO;IAQf,MAAM;CASP"}
|
package/dist/index.js
CHANGED
|
@@ -5539,7 +5539,10 @@ var AxebowLimitsCounter = class AxebowLimitsCounter extends LitElement {
|
|
|
5539
5539
|
}
|
|
5540
5540
|
_format(value) {
|
|
5541
5541
|
const n = Number(value);
|
|
5542
|
-
|
|
5542
|
+
if (isNaN(n) || n < 0) return value;
|
|
5543
|
+
if (n === 0) return "0.0";
|
|
5544
|
+
const rounded = Math.round(Number((n * 10).toPrecision(12))) / 10;
|
|
5545
|
+
return (rounded === 0 ? .1 : rounded).toFixed(1);
|
|
5543
5546
|
}
|
|
5544
5547
|
render() {
|
|
5545
5548
|
return html`
|
|
@@ -7088,7 +7091,7 @@ var AxebowCardAttentionBanner = class AxebowCardAttentionBanner extends LitEleme
|
|
|
7088
7091
|
@click=${this.isPlainRole ? void 0 : this._onClick}
|
|
7089
7092
|
>
|
|
7090
7093
|
${this.isPlainRole ? html`<span class="text-(--axebow-error)">${this.askOwnerLabel}</span>` : html`
|
|
7091
|
-
<axebow-button variant="text"
|
|
7094
|
+
<axebow-button variant="text">
|
|
7092
7095
|
${this.label}
|
|
7093
7096
|
<axebow-icon iconName="arrow_forward" iconColor="var(--axebow-error)" size="md"></axebow-icon>
|
|
7094
7097
|
</axebow-button>
|
|
@@ -7122,7 +7125,7 @@ var AxebowCardActionBanner = class AxebowCardActionBanner extends LitElement {
|
|
|
7122
7125
|
.tertiary-bg { background-color: color-mix(in srgb, var(--axebow-tertiary) 10%, white); }
|
|
7123
7126
|
.clickable { cursor: pointer; }
|
|
7124
7127
|
.clickable:hover { background-color: var(--axebow-base); --axebow-tertiary: var(--axebow-gray); }
|
|
7125
|
-
axebow-button::part(label) { color: var(--axebow-tertiary);
|
|
7128
|
+
axebow-button::part(label) { color: var(--axebow-tertiary); display: flex; align-items: center; gap: 2px; }
|
|
7126
7129
|
axebow-button::part(base) { padding: 0; height: auto; min-height: unset; pointer-events: none; background-color: transparent; }
|
|
7127
7130
|
axebow-icon { display: inline-flex; align-items: center; line-height: 1; }
|
|
7128
7131
|
`];
|
|
@@ -7134,7 +7137,7 @@ var AxebowCardActionBanner = class AxebowCardActionBanner extends LitElement {
|
|
|
7134
7137
|
@click=${this.isPlainRole ? void 0 : this._onClick}
|
|
7135
7138
|
>
|
|
7136
7139
|
${this.isPlainRole ? html`<span class="text-(--axebow-gray)">${this.notAllowedLabel}</span>` : html`
|
|
7137
|
-
<axebow-button variant="text"
|
|
7140
|
+
<axebow-button variant="text">
|
|
7138
7141
|
${this.label}
|
|
7139
7142
|
<axebow-icon iconName="arrow_forward" iconColor="var(--axebow-tertiary)" size="md"></axebow-icon>
|
|
7140
7143
|
</axebow-button>
|
|
@@ -9009,7 +9012,7 @@ var AxebowResourceCard = class AxebowResourceCard extends LitElement {
|
|
|
9009
9012
|
</div>
|
|
9010
9013
|
|
|
9011
9014
|
<button
|
|
9012
|
-
class="w-26.25 h-8 box-border flex items-center justify-center gap-1 bg-transparent border-none cursor-pointer rounded whitespace-nowrap font-semibold text-(--axebow-gray) hover:bg-(--axebow-anti-flash-white) shrink-0"
|
|
9015
|
+
class="w-26.25 h-8 box-border flex items-center justify-center gap-1 bg-transparent border-none cursor-pointer rounded whitespace-nowrap text-base font-semibold text-(--axebow-gray) hover:bg-(--axebow-anti-flash-white) shrink-0"
|
|
9013
9016
|
@click=${() => row.onSeeInNewTab?.()}
|
|
9014
9017
|
>
|
|
9015
9018
|
${this.seeInNewTabLabel}
|