@kumori/aurora-wui-components 0.0.269-dev4119.2 → 0.0.269-dev4119.3
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.
|
@@ -15,10 +15,6 @@ export declare class AxebowButton extends LitElement {
|
|
|
15
15
|
value?: string;
|
|
16
16
|
fixedWidth?: string;
|
|
17
17
|
fixedHeight?: string;
|
|
18
|
-
paddingTop?: string;
|
|
19
|
-
paddingRight?: string;
|
|
20
|
-
paddingBottom?: string;
|
|
21
|
-
paddingLeft?: string;
|
|
22
18
|
/**
|
|
23
19
|
* 'simple' keeps each variant's own hover treatment (the default,
|
|
24
20
|
* unchanged). 'border' switches to the boxed hover look shared by
|
|
@@ -28,7 +24,6 @@ export declare class AxebowButton extends LitElement {
|
|
|
28
24
|
hoverStyle: 'simple' | 'border';
|
|
29
25
|
constructor();
|
|
30
26
|
updated(changed: Map<string, unknown>): void;
|
|
31
|
-
private _syncPaddingVar;
|
|
32
27
|
private _guardDisabledClick;
|
|
33
28
|
static styles: import('lit').CSSResult[];
|
|
34
29
|
private _handlePrefixChange;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-button.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-button/axebow-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAIvD,OAAO,2DAA2D,CAAC;AAEnE,qBACa,YAAa,SAAQ,UAAU;IACC,OAAO,EAC9C,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,CAAa;IAEoB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAY;IAC7C,OAAO,UAAS;IAChB,IAAI,UAAS;IACb,MAAM,UAAS;IACZ,QAAQ,UAAS;IACpB,OAAO,UAAS;IAChB,KAAK,UAAS;IAC9B,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,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"}
|
package/dist/index.js
CHANGED
|
@@ -371,16 +371,6 @@ var AxebowButton = class AxebowButton extends LitElement {
|
|
|
371
371
|
else this.style.removeProperty("--axebow-button-width");
|
|
372
372
|
if (changed.has("fixedHeight")) if (this.fixedHeight) this.style.setProperty("--axebow-button-height", this.fixedHeight);
|
|
373
373
|
else this.style.removeProperty("--axebow-button-height");
|
|
374
|
-
this._syncPaddingVar(changed, "paddingTop", "--axebow-button-padding-top");
|
|
375
|
-
this._syncPaddingVar(changed, "paddingRight", "--axebow-button-padding-right");
|
|
376
|
-
this._syncPaddingVar(changed, "paddingBottom", "--axebow-button-padding-bottom");
|
|
377
|
-
this._syncPaddingVar(changed, "paddingLeft", "--axebow-button-padding-left");
|
|
378
|
-
}
|
|
379
|
-
_syncPaddingVar(changed, prop, cssVar) {
|
|
380
|
-
if (!changed.has(prop)) return;
|
|
381
|
-
const value = this[prop];
|
|
382
|
-
if (value) this.style.setProperty(cssVar, value);
|
|
383
|
-
else this.style.removeProperty(cssVar);
|
|
384
374
|
}
|
|
385
375
|
static {
|
|
386
376
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
@@ -629,10 +619,6 @@ __decorate([property({ type: String })], AxebowButton.prototype, "name", void 0)
|
|
|
629
619
|
__decorate([property({ type: String })], AxebowButton.prototype, "value", void 0);
|
|
630
620
|
__decorate([property({ type: String })], AxebowButton.prototype, "fixedWidth", void 0);
|
|
631
621
|
__decorate([property({ type: String })], AxebowButton.prototype, "fixedHeight", void 0);
|
|
632
|
-
__decorate([property({ type: String })], AxebowButton.prototype, "paddingTop", void 0);
|
|
633
|
-
__decorate([property({ type: String })], AxebowButton.prototype, "paddingRight", void 0);
|
|
634
|
-
__decorate([property({ type: String })], AxebowButton.prototype, "paddingBottom", void 0);
|
|
635
|
-
__decorate([property({ type: String })], AxebowButton.prototype, "paddingLeft", void 0);
|
|
636
622
|
__decorate([property({ type: String })], AxebowButton.prototype, "hoverStyle", void 0);
|
|
637
623
|
AxebowButton = __decorate([customElement("axebow-button")], AxebowButton);
|
|
638
624
|
//#endregion
|
|
@@ -7120,7 +7106,7 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
|
|
|
7120
7106
|
<axebow-button
|
|
7121
7107
|
variant="text"
|
|
7122
7108
|
class="ml-auto"
|
|
7123
|
-
fixedWidth="
|
|
7109
|
+
fixedWidth="5.625rem"
|
|
7124
7110
|
fixedHeight="2rem"
|
|
7125
7111
|
@click=${() => this.onClick?.()}
|
|
7126
7112
|
@mouseenter=${() => this._deployHovered = true}
|