@kumori/aurora-wui-components 0.0.267-dev4119.0 → 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.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 +37 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,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;;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,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,23 +560,6 @@ 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([slot='prefix'])) sl-button::part(prefix) {
|
|
546
|
-
display: flex !important;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
:host(:has([slot='suffix'])) sl-button::part(suffix) {
|
|
550
|
-
display: flex !important;
|
|
551
|
-
}
|
|
552
563
|
`];
|
|
553
564
|
}
|
|
554
565
|
render() {
|
|
@@ -6899,6 +6910,8 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
|
|
|
6899
6910
|
}
|
|
6900
6911
|
axebow-button[variant='text']:hover::part(base) {
|
|
6901
6912
|
background-color: var(--axebow-base);
|
|
6913
|
+
width: 6.875rem;
|
|
6914
|
+
min-width: 6.875rem;
|
|
6902
6915
|
}
|
|
6903
6916
|
axebow-button[variant='text']:hover::part(label) {
|
|
6904
6917
|
color: var(--axebow-gray);
|
|
@@ -6923,7 +6936,7 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
|
|
|
6923
6936
|
<axebow-button
|
|
6924
6937
|
variant="text"
|
|
6925
6938
|
class="ml-auto"
|
|
6926
|
-
fixedWidth="
|
|
6939
|
+
fixedWidth="5.75rem"
|
|
6927
6940
|
fixedHeight="2rem"
|
|
6928
6941
|
@click=${() => this.onClick?.()}
|
|
6929
6942
|
@mouseenter=${() => this._deployHovered = true}
|
|
@@ -8173,9 +8186,11 @@ var AxebowExpandableHeader = class AxebowExpandableHeader extends LitElement {
|
|
|
8173
8186
|
class="flex items-center gap-2 flex-wrap pt-4"
|
|
8174
8187
|
style="padding-bottom: ${this.expanded ? "1.09375rem" : "1rem"};"
|
|
8175
8188
|
>
|
|
8176
|
-
<h3 class="text-base font-semibold text-(--axebow-tertiary) m-0">${this.title}</h3>
|
|
8177
|
-
<
|
|
8178
|
-
|
|
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>
|
|
8179
8194
|
<span class="text-sm text-(--axebow-gray) italic">${this.stateLabel}</span>
|
|
8180
8195
|
<axebow-tooltip content="${this.tooltipContent}">
|
|
8181
8196
|
<axebow-icon iconName="help" iconColor="var(--axebow-primary)" size="md" filled></axebow-icon>
|