@kumori/aurora-wui-components 0.0.245 → 0.0.246
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.
|
@@ -30,6 +30,10 @@ export declare class AxebowModalsConfirmation extends LitElement {
|
|
|
30
30
|
showPrimaryCTA: boolean;
|
|
31
31
|
secondaryButtonText: string;
|
|
32
32
|
primaryButtonText: string;
|
|
33
|
+
secondaryButtonTooltip?: string;
|
|
34
|
+
secondaryButtonDisabled: boolean;
|
|
35
|
+
primaryButtonTooltip?: string;
|
|
36
|
+
primaryButtonDisabled: boolean;
|
|
33
37
|
canClose: boolean;
|
|
34
38
|
entityName: string;
|
|
35
39
|
private _providerUsername;
|
|
@@ -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;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EAErB,MAAM,wCAAwC,CAAC;AAEhD;;;;;;;GAOG;AACH,qBACa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,
|
|
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;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EAErB,MAAM,wCAAwC,CAAC;AAEhD;;;;;;;GAOG;AACH,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AEG;IACH,OAAO,CAAC,aAAa;IAuCrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsFnB;;OAEG;IACH,OAAO,CAAC,aAAa;IAsFrB;;OAEG;IACH,OAAO,CAAC,cAAc;IAUtB,MAAM;CA0BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,wBAAwB,CAAC;KACxD;CACF"}
|
package/dist/index.js
CHANGED
|
@@ -2840,6 +2840,8 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
|
|
|
2840
2840
|
this.showPrimaryCTA = true;
|
|
2841
2841
|
this.secondaryButtonText = "Secondary Button";
|
|
2842
2842
|
this.primaryButtonText = "Primary Button";
|
|
2843
|
+
this.secondaryButtonDisabled = false;
|
|
2844
|
+
this.primaryButtonDisabled = false;
|
|
2843
2845
|
this.canClose = true;
|
|
2844
2846
|
this.entityName = "entity-name";
|
|
2845
2847
|
this._providerUsername = "";
|
|
@@ -2984,6 +2986,11 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
|
|
|
2984
2986
|
.btn-secondary-red:hover:not(:disabled) {
|
|
2985
2987
|
background-color: rgba(233, 58, 58, 0.05);
|
|
2986
2988
|
}
|
|
2989
|
+
|
|
2990
|
+
.modal-btn:disabled {
|
|
2991
|
+
opacity: 0.5;
|
|
2992
|
+
cursor: not-allowed;
|
|
2993
|
+
}
|
|
2987
2994
|
`];
|
|
2988
2995
|
}
|
|
2989
2996
|
/** Alias for popUpTittle */
|
|
@@ -3245,24 +3252,48 @@ var AxebowModalsConfirmation = class AxebowModalsConfirmation extends LitElement
|
|
|
3245
3252
|
|
|
3246
3253
|
<!-- Action Buttons -->
|
|
3247
3254
|
<div class="flex items-center gap-4 ml-auto">
|
|
3248
|
-
${this.showSecondaryCTA ? html`
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3255
|
+
${this.showSecondaryCTA ? this.secondaryButtonTooltip ? html`
|
|
3256
|
+
<axebow-tooltip content=${this.secondaryButtonTooltip} placement="top">
|
|
3257
|
+
<button
|
|
3258
|
+
type="button"
|
|
3259
|
+
class=${secondaryClass}
|
|
3260
|
+
?disabled=${this.secondaryButtonDisabled}
|
|
3261
|
+
@click=${this._handleSecondaryClick}
|
|
3262
|
+
>
|
|
3263
|
+
${this.secondaryButtonText}
|
|
3264
|
+
</button>
|
|
3265
|
+
</axebow-tooltip>
|
|
3266
|
+
` : html`
|
|
3267
|
+
<button
|
|
3268
|
+
type="button"
|
|
3269
|
+
class=${secondaryClass}
|
|
3270
|
+
?disabled=${this.secondaryButtonDisabled}
|
|
3271
|
+
@click=${this._handleSecondaryClick}
|
|
3272
|
+
>
|
|
3273
|
+
${this.secondaryButtonText}
|
|
3274
|
+
</button>
|
|
3275
|
+
` : ""}
|
|
3276
|
+
${this.showPrimaryCTA ? this.primaryButtonTooltip ? html`
|
|
3277
|
+
<axebow-tooltip content=${this.primaryButtonTooltip} placement="top">
|
|
3278
|
+
<button
|
|
3279
|
+
type="button"
|
|
3280
|
+
class=${primaryClass}
|
|
3281
|
+
?disabled=${this.primaryButtonDisabled}
|
|
3282
|
+
@click=${this._handlePrimaryClick}
|
|
3283
|
+
>
|
|
3284
|
+
${this.primaryButtonText}
|
|
3285
|
+
</button>
|
|
3286
|
+
</axebow-tooltip>
|
|
3287
|
+
` : html`
|
|
3288
|
+
<button
|
|
3289
|
+
type="button"
|
|
3290
|
+
class=${primaryClass}
|
|
3291
|
+
?disabled=${this.primaryButtonDisabled}
|
|
3292
|
+
@click=${this._handlePrimaryClick}
|
|
3293
|
+
>
|
|
3294
|
+
${this.primaryButtonText}
|
|
3295
|
+
</button>
|
|
3296
|
+
` : ""}
|
|
3266
3297
|
</div>
|
|
3267
3298
|
</slot>
|
|
3268
3299
|
</div>
|
|
@@ -3324,6 +3355,10 @@ __decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "s
|
|
|
3324
3355
|
__decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "showPrimaryCTA", void 0);
|
|
3325
3356
|
__decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "secondaryButtonText", void 0);
|
|
3326
3357
|
__decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "primaryButtonText", void 0);
|
|
3358
|
+
__decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "secondaryButtonTooltip", void 0);
|
|
3359
|
+
__decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "secondaryButtonDisabled", void 0);
|
|
3360
|
+
__decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "primaryButtonTooltip", void 0);
|
|
3361
|
+
__decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "primaryButtonDisabled", void 0);
|
|
3327
3362
|
__decorate([property({ type: Boolean })], AxebowModalsConfirmation.prototype, "canClose", void 0);
|
|
3328
3363
|
__decorate([property({ type: String })], AxebowModalsConfirmation.prototype, "entityName", void 0);
|
|
3329
3364
|
__decorate([state()], AxebowModalsConfirmation.prototype, "_providerUsername", void 0);
|