@kumori/aurora-wui-components 0.0.314-dev4590 → 0.0.314-dev4590.2

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,10 @@ 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;
44
+ panelHeight?: string;
41
45
  private _providerUsername;
42
46
  private _providerPassword;
43
47
  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;AAE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AM;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;IA8CrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IA2ErB;;OAEG;IACH,OAAO,CAAC,cAAc;IAatB,MAAM;CA6BP;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 = "";
@@ -4801,6 +4803,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
4801
4803
  padding: 0;
4802
4804
  width: 100%;
4803
4805
  max-width: var(--axebow-confirmation-modal-max-width, 579px);
4806
+ height: var(--axebow-confirmation-modal-height, auto);
4804
4807
  overflow: hidden;
4805
4808
  }
4806
4809
 
@@ -4825,6 +4828,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
4825
4828
  padding: 24px;
4826
4829
  width: 100%;
4827
4830
  max-width: var(--axebow-confirmation-modal-max-width, 579px);
4831
+ height: var(--axebow-confirmation-modal-height, auto);
4828
4832
  box-sizing: border-box;
4829
4833
  }
4830
4834
 
@@ -5044,8 +5048,9 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5044
5048
  */
5045
5049
  _renderHeader() {
5046
5050
  const { icon, iconColor } = this._severityConfig;
5051
+ const rowHeight = this.headerHeight;
5047
5052
  return html`
5048
- <div class="flex items-start justify-between w-full">
5053
+ <div class="flex items-start justify-between w-full" style=${rowHeight ? `height: ${rowHeight};` : nothing}>
5049
5054
  <div class="flex items-start gap-4 min-w-0 flex-1">
5050
5055
  ${this.showIconOnTitle ? html`
5051
5056
  <div class="shrink-0 flex items-center justify-center w-8 h-8">
@@ -5053,7 +5058,10 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5053
5058
  </div>
5054
5059
  ` : html`<div class="shrink-0 w-8 h-8" aria-hidden="true"></div>`}
5055
5060
  <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">
5061
+ <h3
5062
+ class="m-0 text-xl font-semibold text-black leading-tight truncate"
5063
+ style=${rowHeight ? `line-height: ${rowHeight};` : nothing}
5064
+ >
5057
5065
  ${this.popUpTittle}
5058
5066
  </h3>
5059
5067
  ${this.textBody ? html`<p class="m-0 text-sm text-black font-normal leading-relaxed">${this.textBody}</p>` : ""}
@@ -5067,6 +5075,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5067
5075
  type="button"
5068
5076
  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
5077
  aria-label="Close dialog"
5078
+ style=${rowHeight ? `height: ${rowHeight};` : nothing}
5070
5079
  @click=${this._handleClose}
5071
5080
  >
5072
5081
  <axebow-icon iconName="cancel" iconColor="currentColor" size="2xl"></axebow-icon>
@@ -5170,7 +5179,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5170
5179
  const primaryVariant = isDestructive ? "danger" : "primary";
5171
5180
  const secondaryVariant = isDestructive ? "danger" : "primary";
5172
5181
  return html`
5173
- <div class="pl-11.75 w-full flex items-center justify-between gap-4 box-border">
5182
+ <div class="w-full flex items-center justify-between gap-4 box-border" style="padding-left: ${this.footerIndent};">
5174
5183
  <slot name="footer">
5175
5184
  <!-- Optional Hyperlink -->
5176
5185
  <div>
@@ -5230,8 +5239,9 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5230
5239
  * Renders the complete modal content layout (flex column, gap 32px)
5231
5240
  */
5232
5241
  _renderContent() {
5242
+ const fill = this.panelHeight ? "min-height: 100%; justify-content: space-between;" : "";
5233
5243
  return html`
5234
- <div class="flex flex-col gap-8 w-full">
5244
+ <div class="flex flex-col w-full" style="gap: ${this.footerGap}; ${fill}">
5235
5245
  <div class="flex flex-col w-full" style="gap: ${this.headerGap};">
5236
5246
  ${this._renderHeader()}
5237
5247
  ${this._renderForm()}
@@ -5241,7 +5251,7 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
5241
5251
  `;
5242
5252
  }
5243
5253
  render() {
5244
- const hostStyle = `${this.backgroundColor ? `--axebow-confirmation-modal-bg: ${this.backgroundColor}; background-color: ${this.backgroundColor};` : ""}${this.maxWidth ? `--axebow-confirmation-modal-max-width: ${this.maxWidth};` : ""}`;
5254
+ const hostStyle = `${this.backgroundColor ? `--axebow-confirmation-modal-bg: ${this.backgroundColor}; background-color: ${this.backgroundColor};` : ""}${this.maxWidth ? `--axebow-confirmation-modal-max-width: ${this.maxWidth};` : ""}${this.panelHeight ? `--axebow-confirmation-modal-height: ${this.panelHeight};` : ""}`;
5245
5255
  if (this.inline) return html`
5246
5256
  <div class="modal-card" style=${hostStyle}>
5247
5257
  ${this._renderContent()}
@@ -5292,6 +5302,10 @@ __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "p
5292
5302
  __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "canClose", void 0);
5293
5303
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "entityName", void 0);
5294
5304
  __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "headerGap", void 0);
5305
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "footerGap", void 0);
5306
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "footerIndent", void 0);
5307
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "headerHeight", void 0);
5308
+ __decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "panelHeight", void 0);
5295
5309
  __decorate([state()], AxebowModalsConfirmation.prototype, "_providerUsername", void 0);
5296
5310
  __decorate([state()], AxebowModalsConfirmation.prototype, "_providerPassword", void 0);
5297
5311
  __decorate([state()], AxebowModalsConfirmation.prototype, "_domain", void 0);