@kumori/aurora-wui-components 0.0.267-dev4119.1 → 0.0.267-dev4121.1
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.
- package/dist/components/axebow-button/axebow-button.d.ts +0 -2
- package/dist/components/axebow-button/axebow-button.d.ts.map +1 -1
- package/dist/components/axebow-deploy-card/axebow-deploy-card.d.ts.map +1 -1
- package/dist/components/axebow-expandable-header/axebow-expandable-header.d.ts.map +1 -1
- package/dist/index.js +39 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -31,8 +31,6 @@ export declare class AxebowButton extends LitElement {
|
|
|
31
31
|
private _syncPaddingVar;
|
|
32
32
|
private _guardDisabledClick;
|
|
33
33
|
static styles: import('lit').CSSResult[];
|
|
34
|
-
private _handlePrefixChange;
|
|
35
|
-
private _handleSuffixChange;
|
|
36
34
|
render(): import('lit-html').TemplateResult<1>;
|
|
37
35
|
}
|
|
38
36
|
//# sourceMappingURL=axebow-button.d.ts.map
|
|
@@ -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,CAAY;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAA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AAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAEjD;;;;;OAKG;IACyB,UAAU,EAAE,QAAQ,GAAG,QAAQ,CAAY;;IAOvE,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAerC,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,mBAAmB,CAKzB;IAEF,MAAM,CAAC,MAAM,4BAqLX;IAEF,MAAM;CAyBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-deploy-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-deploy-card/axebow-deploy-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAG3C;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAClB,KAAK,SAAM;IACX,IAAI,SAAM;IACV,WAAW,SAAM;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,SAAgB;IACrB,MAAM,SAAc;IAEvC,OAAO,CAAC,cAAc,CAAS;IAExC,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"axebow-deploy-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-deploy-card/axebow-deploy-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAG3C;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAClB,KAAK,SAAM;IACX,IAAI,SAAM;IACV,WAAW,SAAM;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,SAAgB;IACrB,MAAM,SAAc;IAEvC,OAAO,CAAC,cAAc,CAAS;IAExC,MAAM,CAAC,MAAM,4BAgBX;IAEF,MAAM;CAkCP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-expandable-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-expandable-header/axebow-expandable-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,6DAA6D,CAAC;AACrE,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAG3C;;;;;;GAMG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAUX;IAE0B,KAAK,SAAM;IACV,QAAQ,UAAS;IAClB,UAAU,SAAM;IAChB,cAAc,SAAM;IAChB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvE,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-expandable-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-expandable-header/axebow-expandable-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,6DAA6D,CAAC;AACrE,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAG3C;;;;;;GAMG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAUX;IAE0B,KAAK,SAAM;IACV,QAAQ,UAAS;IAClB,UAAU,SAAM;IAChB,cAAc,SAAM;IAChB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvE,MAAM;CAuBP"}
|
package/dist/index.js
CHANGED
|
@@ -395,7 +395,35 @@ var AxebowButton = class AxebowButton extends LitElement {
|
|
|
395
395
|
line-height: calc(var(--axebow-button-height, 2.5rem) - var(--sl-input-border-width) * 2);
|
|
396
396
|
width: var(--axebow-button-width, auto);
|
|
397
397
|
min-width: var(--axebow-button-width, 9.375rem);
|
|
398
|
-
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* The label part carries sl-button's own internal left/right spacing
|
|
402
|
+
* via a higher-specificity internal rule
|
|
403
|
+
* (.button--has-label.button--{size} .button__label), which an
|
|
404
|
+
* external ::part() override of equal-or-lower specificity cannot
|
|
405
|
+
* beat on its own - !important is required here, not optional
|
|
406
|
+
* styling preference. Each size's fallback points at shoelace's own
|
|
407
|
+
* token for that size, so unconfigured buttons render byte-for-byte
|
|
408
|
+
* as before - only an explicit padding* property changes anything.
|
|
409
|
+
*/
|
|
410
|
+
sl-button[size='small']::part(label) {
|
|
411
|
+
padding-top: var(--axebow-button-padding-top, 0) !important;
|
|
412
|
+
padding-right: var(--axebow-button-padding-right, var(--sl-spacing-small)) !important;
|
|
413
|
+
padding-bottom: var(--axebow-button-padding-bottom, 0) !important;
|
|
414
|
+
padding-left: var(--axebow-button-padding-left, var(--sl-spacing-small)) !important;
|
|
415
|
+
}
|
|
416
|
+
sl-button[size='medium']::part(label) {
|
|
417
|
+
padding-top: var(--axebow-button-padding-top, 0) !important;
|
|
418
|
+
padding-right: var(--axebow-button-padding-right, var(--sl-spacing-medium)) !important;
|
|
419
|
+
padding-bottom: var(--axebow-button-padding-bottom, 0) !important;
|
|
420
|
+
padding-left: var(--axebow-button-padding-left, var(--sl-spacing-medium)) !important;
|
|
421
|
+
}
|
|
422
|
+
sl-button[size='large']::part(label) {
|
|
423
|
+
padding-top: var(--axebow-button-padding-top, 0) !important;
|
|
424
|
+
padding-right: var(--axebow-button-padding-right, var(--sl-spacing-large)) !important;
|
|
425
|
+
padding-bottom: var(--axebow-button-padding-bottom, 0) !important;
|
|
426
|
+
padding-left: var(--axebow-button-padding-left, var(--sl-spacing-large)) !important;
|
|
399
427
|
}
|
|
400
428
|
|
|
401
429
|
/**
|
|
@@ -532,37 +560,8 @@ var AxebowButton = class AxebowButton extends LitElement {
|
|
|
532
560
|
sl-button[hoverstyle='border']:hover::part(label) {
|
|
533
561
|
color: var(--axebow-gray) !important;
|
|
534
562
|
}
|
|
535
|
-
|
|
536
|
-
sl-button::part(label) {
|
|
537
|
-
padding: 0 !important;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
sl-button::part(prefix),
|
|
541
|
-
sl-button::part(suffix) {
|
|
542
|
-
display: none !important;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
:host([has-prefix]) sl-button::part(prefix) {
|
|
546
|
-
display: flex !important;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
:host([has-suffix]) sl-button::part(suffix) {
|
|
550
|
-
display: flex !important;
|
|
551
|
-
}
|
|
552
563
|
`];
|
|
553
564
|
}
|
|
554
|
-
_handlePrefixChange(e) {
|
|
555
|
-
if (e.target.assignedNodes().some((node) => {
|
|
556
|
-
return node.nodeType === Node.ELEMENT_NODE || node.nodeType === Node.TEXT_NODE && node.textContent?.trim() !== "";
|
|
557
|
-
})) this.setAttribute("has-prefix", "");
|
|
558
|
-
else this.removeAttribute("has-prefix");
|
|
559
|
-
}
|
|
560
|
-
_handleSuffixChange(e) {
|
|
561
|
-
if (e.target.assignedNodes().some((node) => {
|
|
562
|
-
return node.nodeType === Node.ELEMENT_NODE || node.nodeType === Node.TEXT_NODE && node.textContent?.trim() !== "";
|
|
563
|
-
})) this.setAttribute("has-suffix", "");
|
|
564
|
-
else this.removeAttribute("has-suffix");
|
|
565
|
-
}
|
|
566
565
|
render() {
|
|
567
566
|
return html`
|
|
568
567
|
<sl-button
|
|
@@ -582,9 +581,9 @@ var AxebowButton = class AxebowButton extends LitElement {
|
|
|
582
581
|
name=${ifDefined(this.name)}
|
|
583
582
|
value=${ifDefined(this.value)}
|
|
584
583
|
>
|
|
585
|
-
<slot name="prefix" slot="prefix"
|
|
584
|
+
<slot name="prefix" slot="prefix"></slot>
|
|
586
585
|
<slot></slot>
|
|
587
|
-
<slot name="suffix" slot="suffix"
|
|
586
|
+
<slot name="suffix" slot="suffix"></slot>
|
|
588
587
|
</sl-button>
|
|
589
588
|
`;
|
|
590
589
|
}
|
|
@@ -6911,6 +6910,8 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
|
|
|
6911
6910
|
}
|
|
6912
6911
|
axebow-button[variant='text']:hover::part(base) {
|
|
6913
6912
|
background-color: var(--axebow-base);
|
|
6913
|
+
width: 6.875rem;
|
|
6914
|
+
min-width: 6.875rem;
|
|
6914
6915
|
}
|
|
6915
6916
|
axebow-button[variant='text']:hover::part(label) {
|
|
6916
6917
|
color: var(--axebow-gray);
|
|
@@ -6935,7 +6936,7 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
|
|
|
6935
6936
|
<axebow-button
|
|
6936
6937
|
variant="text"
|
|
6937
6938
|
class="ml-auto"
|
|
6938
|
-
fixedWidth="
|
|
6939
|
+
fixedWidth="5.75rem"
|
|
6939
6940
|
fixedHeight="2rem"
|
|
6940
6941
|
@click=${() => this.onClick?.()}
|
|
6941
6942
|
@mouseenter=${() => this._deployHovered = true}
|
|
@@ -8185,9 +8186,11 @@ var AxebowExpandableHeader = class AxebowExpandableHeader extends LitElement {
|
|
|
8185
8186
|
class="flex items-center gap-2 flex-wrap pt-4"
|
|
8186
8187
|
style="padding-bottom: ${this.expanded ? "1.09375rem" : "1rem"};"
|
|
8187
8188
|
>
|
|
8188
|
-
<h3 class="text-base font-semibold text-(--axebow-tertiary) m-0">${this.title}</h3>
|
|
8189
|
-
<
|
|
8190
|
-
|
|
8189
|
+
<h3 class="text-base font-semibold text-(--axebow-tertiary) hover:text-(--axebow-gray) m-0">${this.title}</h3>
|
|
8190
|
+
<div class="w-10 h-5">
|
|
8191
|
+
<axebow-switch .checked=${this.expanded} .onChange=${(checked) => this.onToggle?.(checked)}>
|
|
8192
|
+
</axebow-switch>
|
|
8193
|
+
</div>
|
|
8191
8194
|
<span class="text-sm text-(--axebow-gray) italic">${this.stateLabel}</span>
|
|
8192
8195
|
<axebow-tooltip content="${this.tooltipContent}">
|
|
8193
8196
|
<axebow-icon iconName="help" iconColor="var(--axebow-primary)" size="md" filled></axebow-icon>
|