@kumori/aurora-wui-components 0.0.314-dev4590 → 0.0.314-dev4590.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.
@@ -38,6 +38,9 @@ export declare class AxebowModalsConfirmation extends LitElement {
38
38
  canClose: boolean;
39
39
  entityName: string;
40
40
  headerGap: string;
41
+ footerGap: string;
42
+ footerIndent: string;
43
+ headerHeight?: string;
41
44
  private _providerUsername;
42
45
  private _providerPassword;
43
46
  private _domain;
@@ -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,CAAC;AACnE,OAAO,yDAAyD,CAAC;AACjE,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,yDAAyD,CAAC;AAEjE,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;IAC3B,SAAS,SAAU;IAGtC,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;IAY7B;;OAEG;IACH,OAAO,CAAC,aAAa;IAyCrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IA2ErB;;OAEG;IACH,OAAO,CAAC,cAAc;IAYtB,MAAM;CA4BP;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,EAAsB,MAAM,KAAK,CAAC;AAEhE,OAAO,2DAA2D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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;IAY7B;;OAEG;IACH,OAAO,CAAC,aAAa;IA8CrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IA2ErB;;OAEG;IACH,OAAO,CAAC,cAAc;IAYtB,MAAM;CA4BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,wBAAwB,CAAC;KACxD;CACF"}
package/dist/index.js CHANGED
@@ -2465,7 +2465,7 @@ var AxebowInputBase = class extends LitElement {
2465
2465
  overflow: hidden;
2466
2466
  white-space: nowrap;
2467
2467
  text-overflow: ellipsis;
2468
- margin-bottom: 0.25rem;
2468
+ margin-bottom: var(--axebow-input-fixed-label-gap, 0.25rem);
2469
2469
  }
2470
2470
  .fixed-field .field-description {
2471
2471
  width: 100%;
@@ -4780,6 +4780,8 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
4780
4780
  this.canClose = true;
4781
4781
  this.entityName = "entity-name";
4782
4782
  this.headerGap = "2rem";
4783
+ this.footerGap = "2rem";
4784
+ this.footerIndent = "2.9375rem";
4783
4785
  this._providerUsername = "";
4784
4786
  this._providerPassword = "";
4785
4787
  this._domain = "";
@@ -5044,8 +5046,9 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5044
5046
  */
5045
5047
  _renderHeader() {
5046
5048
  const { icon, iconColor } = this._severityConfig;
5049
+ const rowHeight = this.headerHeight;
5047
5050
  return html`
5048
- <div class="flex items-start justify-between w-full">
5051
+ <div class="flex items-start justify-between w-full" style=${rowHeight ? `height: ${rowHeight};` : nothing}>
5049
5052
  <div class="flex items-start gap-4 min-w-0 flex-1">
5050
5053
  ${this.showIconOnTitle ? html`
5051
5054
  <div class="shrink-0 flex items-center justify-center w-8 h-8">
@@ -5053,7 +5056,10 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5053
5056
  </div>
5054
5057
  ` : html`<div class="shrink-0 w-8 h-8" aria-hidden="true"></div>`}
5055
5058
  <div class="flex flex-col gap-6 flex-1 min-w-0">
5056
- <h3 class="m-0 text-xl font-semibold text-black leading-tight truncate">
5059
+ <h3
5060
+ class="m-0 text-xl font-semibold text-black leading-tight truncate"
5061
+ style=${rowHeight ? `line-height: ${rowHeight};` : nothing}
5062
+ >
5057
5063
  ${this.popUpTittle}
5058
5064
  </h3>
5059
5065
  ${this.textBody ? html`<p class="m-0 text-sm text-black font-normal leading-relaxed">${this.textBody}</p>` : ""}
@@ -5067,6 +5073,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5067
5073
  type="button"
5068
5074
  class="p-0 border-0 bg-transparent cursor-pointer flex items-center justify-center shrink-0 text-(--axebow-gray) hover:text-(--axebow-error) transition-colors ml-4"
5069
5075
  aria-label="Close dialog"
5076
+ style=${rowHeight ? `height: ${rowHeight};` : nothing}
5070
5077
  @click=${this._handleClose}
5071
5078
  >
5072
5079
  <axebow-icon iconName="cancel" iconColor="currentColor" size="2xl"></axebow-icon>
@@ -5170,7 +5177,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5170
5177
  const primaryVariant = isDestructive ? "danger" : "primary";
5171
5178
  const secondaryVariant = isDestructive ? "danger" : "primary";
5172
5179
  return html`
5173
- <div class="pl-11.75 w-full flex items-center justify-between gap-4 box-border">
5180
+ <div class="w-full flex items-center justify-between gap-4 box-border" style="padding-left: ${this.footerIndent};">
5174
5181
  <slot name="footer">
5175
5182
  <!-- Optional Hyperlink -->
5176
5183
  <div>
@@ -5231,7 +5238,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5231
5238
  */
5232
5239
  _renderContent() {
5233
5240
  return html`
5234
- <div class="flex flex-col gap-8 w-full">
5241
+ <div class="flex flex-col w-full" style="gap: ${this.footerGap};">
5235
5242
  <div class="flex flex-col w-full" style="gap: ${this.headerGap};">
5236
5243
  ${this._renderHeader()}
5237
5244
  ${this._renderForm()}
@@ -5292,6 +5299,9 @@ __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "p
5292
5299
  __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "canClose", void 0);
5293
5300
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "entityName", void 0);
5294
5301
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "headerGap", void 0);
5302
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "footerGap", void 0);
5303
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "footerIndent", void 0);
5304
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "headerHeight", void 0);
5295
5305
  __decorate([state()], AxebowModalsConfirmation.prototype, "_providerUsername", void 0);
5296
5306
  __decorate([state()], AxebowModalsConfirmation.prototype, "_providerPassword", void 0);
5297
5307
  __decorate([state()], AxebowModalsConfirmation.prototype, "_domain", void 0);