@kumori/aurora-wui-components 0.0.266 → 0.0.267-dev4119.0

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-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;;;;;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
+ {"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;;;;;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,4BA0KX;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,4BAgBX;IAEF,MAAM;CAkCP"}
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,4BAcX;IAEF,MAAM;CAkCP"}
@@ -13,6 +13,7 @@ export declare class AxebowModalsConfirmation extends LitElement {
13
13
  open: boolean;
14
14
  inline: boolean;
15
15
  backgroundColor?: string;
16
+ maxWidth?: string;
16
17
  severity: ConfirmationSeverity;
17
18
  intent: ConfirmationIntent;
18
19
  popUpTittle: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-modals-confirmation.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-modals-confirmation/axebow-modals-confirmation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,2DAA2D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,IAAI,oBAAoB;IAS1C;;OAEG;IACI,SAAS,IAAI,IAAI;IAQxB,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,YAAY;IAYpB,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,qBAAqB;IAc7B;;OAEG;IACH,OAAO,CAAC,aAAa;IAyCrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IA8ErB;;OAEG;IACH,OAAO,CAAC,cAAc;IAUtB,MAAM;CA0BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,wBAAwB,CAAC;KACxD;CACF"}
1
+ {"version":3,"file":"axebow-modals-confirmation.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-modals-confirmation/axebow-modals-confirmation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,2DAA2D,CAAC;AACnE,OAAO,yDAAyD,CAAC;AACjE,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EAErB,MAAM,wCAAwC,CAAC;AAEhD;;;;;;;GAOG;AACH,qBACa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,4BA+IX;IAG0C,IAAI,UAAQ;IAC3B,MAAM,UAAS;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,oBAAoB,CAAa;IAC3C,MAAM,EAAE,kBAAkB,CAAgB;IAE1C,WAAW,SAAmB;IAC1D,4BAA4B;IAC5B,IACI,UAAU,IAAI,MAAM,CAEvB;IACD,IAAI,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3B;IAE2B,QAAQ,SAAM;IAEb,eAAe,UAAQ;IACvB,QAAQ,UAAQ;IAChB,aAAa,UAAS;IACvB,aAAa,SAAgB;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEtB,UAAU,UAAQ;IAClB,gBAAgB,UAAQ;IACxB,cAAc,UAAQ;IACvB,mBAAmB,SAAsB;IACzC,iBAAiB,SAAoB;IACrC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,UAAS;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,UAAS;IAE9B,QAAQ,UAAQ;IACjB,UAAU,SAAiB;IAG9C,OAAO,CAAC,iBAAiB,CAAM;IAC/B,OAAO,CAAC,iBAAiB,CAAM;IAC/B,OAAO,CAAC,OAAO,CAAM;IACrB,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,aAAa,CAAS;IAGX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IAE/C;;;;;;OAMG;IACH,OAAO,KAAK,eAAe,GAoB1B;IAED;;OAEG;IACI,WAAW,IAAI,oBAAoB;IAS1C;;OAEG;IACI,SAAS,IAAI,IAAI;IAQxB,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,YAAY;IAYpB,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,qBAAqB;IAc7B;;OAEG;IACH,OAAO,CAAC,aAAa;IAyCrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IA8ErB;;OAEG;IACH,OAAO,CAAC,cAAc;IAUtB,MAAM;CA4BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,wBAAwB,CAAC;KACxD;CACF"}
package/dist/index.js CHANGED
@@ -395,35 +395,7 @@ 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
- }
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;
398
+ gap: 1rem;
427
399
  }
428
400
 
429
401
  /**
@@ -560,6 +532,23 @@ var AxebowButton = class AxebowButton extends LitElement {
560
532
  sl-button[hoverstyle='border']:hover::part(label) {
561
533
  color: var(--axebow-gray) !important;
562
534
  }
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
+ }
563
552
  `];
564
553
  }
565
554
  render() {
@@ -3260,7 +3249,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
3260
3249
  box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.1);
3261
3250
  padding: 0;
3262
3251
  width: 100%;
3263
- max-width: 579px;
3252
+ max-width: var(--axebow-confirmation-modal-max-width, 579px);
3264
3253
  overflow: hidden;
3265
3254
  }
3266
3255
 
@@ -3284,7 +3273,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
3284
3273
  box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.1);
3285
3274
  padding: 24px;
3286
3275
  width: 100%;
3287
- max-width: 579px;
3276
+ max-width: var(--axebow-confirmation-modal-max-width, 579px);
3288
3277
  box-sizing: border-box;
3289
3278
  }
3290
3279
 
@@ -3703,9 +3692,9 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
3703
3692
  `;
3704
3693
  }
3705
3694
  render() {
3706
- const bgStyle = this.backgroundColor ? `--axebow-confirmation-modal-bg: ${this.backgroundColor}; background-color: ${this.backgroundColor};` : "";
3695
+ const hostStyle = `${this.backgroundColor ? `--axebow-confirmation-modal-bg: ${this.backgroundColor}; background-color: ${this.backgroundColor};` : ""}${this.maxWidth ? `--axebow-confirmation-modal-max-width: ${this.maxWidth};` : ""}`;
3707
3696
  if (this.inline) return html`
3708
- <div class="modal-card" style=${bgStyle}>
3697
+ <div class="modal-card" style=${hostStyle}>
3709
3698
  ${this._renderContent()}
3710
3699
  </div>
3711
3700
  `;
@@ -3714,7 +3703,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
3714
3703
  ?open=${this.open}
3715
3704
  no-header
3716
3705
  label=${this.popUpTittle}
3717
- style=${bgStyle}
3706
+ style=${hostStyle}
3718
3707
  @sl-request-close=${(e) => {
3719
3708
  e.preventDefault();
3720
3709
  this._handleClose();
@@ -3731,6 +3720,7 @@ __decorate([property({
3731
3720
  })], AxebowModalsConfirmation.prototype, "open", void 0);
3732
3721
  __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "inline", void 0);
3733
3722
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "backgroundColor", void 0);
3723
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "maxWidth", void 0);
3734
3724
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "severity", void 0);
3735
3725
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "intent", void 0);
3736
3726
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "popUpTittle", void 0);
@@ -6909,8 +6899,6 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
6909
6899
  }
6910
6900
  axebow-button[variant='text']:hover::part(base) {
6911
6901
  background-color: var(--axebow-base);
6912
- width: 6.875rem;
6913
- min-width: 6.875rem;
6914
6902
  }
6915
6903
  axebow-button[variant='text']:hover::part(label) {
6916
6904
  color: var(--axebow-gray);
@@ -6935,7 +6923,7 @@ var AxebowDeployCard = class AxebowDeployCard extends LitElement {
6935
6923
  <axebow-button
6936
6924
  variant="text"
6937
6925
  class="ml-auto"
6938
- fixedWidth="5.75rem"
6926
+ fixedWidth="6.875rem"
6939
6927
  fixedHeight="2rem"
6940
6928
  @click=${() => this.onClick?.()}
6941
6929
  @mouseenter=${() => this._deployHovered = true}
@@ -7003,7 +6991,7 @@ var AxebowResourceCard = class AxebowResourceCard extends LitElement {
7003
6991
  <div class="w-5 h-5 flex items-center justify-center shrink-0">
7004
6992
  <axebow-icon iconName="${row.icon}" iconColor="var(--axebow-primary)" size="md"></axebow-icon>
7005
6993
  </div>
7006
- <span class="font-bold text-(--axebow-primary) truncate">${row.label}</span>
6994
+ <span class="text-base font-semibold text-(--axebow-black) truncate">${row.label}</span>
7007
6995
  </div>
7008
6996
 
7009
6997
  <div class="flex items-center shrink-0">
@@ -7023,7 +7011,7 @@ var AxebowResourceCard = class AxebowResourceCard extends LitElement {
7023
7011
  </button>
7024
7012
 
7025
7013
  <button
7026
- class="w-20.5 h-8 box-border flex items-center justify-center bg-transparent border-none cursor-pointer rounded whitespace-nowrap text-(--axebow-tertiary) hover:bg-(--axebow-anti-flash-white) shrink-0"
7014
+ class="w-20.5 h-8 box-border flex items-center justify-center bg-transparent border-none cursor-pointer rounded whitespace-nowrap text-(--axebow-tertiary) hover:bg-(--axebow-anti-flash-white) hover:text-(--axebow-gray) shrink-0"
7027
7015
  @click=${() => row.onSeeHere?.()}
7028
7016
  >
7029
7017
  ${this.seeHereLabel}