monobill-mintui 0.6.620 → 0.6.621
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/confirm-action/browser.js +1 -1
- package/dist/components/confirm-action/index.cjs +1 -1
- package/dist/components/confirm-action/index.js +1 -1
- package/dist/components/side-navigation/browser.js +1 -1
- package/dist/components/side-navigation/index.cjs +1 -1
- package/dist/components/side-navigation/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5221,7 +5221,7 @@ var ln = class extends HTMLElement {
|
|
|
5221
5221
|
}), a;
|
|
5222
5222
|
}
|
|
5223
5223
|
_ensureModal() {
|
|
5224
|
-
this._modal || (this._modal = document.createElement("mint-modal"), this._modal.setAttribute("heading", "Are you sure?"), this._modal.setAttribute("size", "small"), this._cancelButton = document.createElement("button"), this._cancelButton.type = "button", this._cancelButton.className = "mint-button-core mint-button-ghost mint-button-tone-neutral mint-confirm-action-cancel", this._cancelButton.textContent = "Cancel", this._confirmButton = document.createElement("button"), this._confirmButton.type = "button", this._confirmButton.className = "mint-button-core mint-button-solid mint-button-tone-action mint-confirm-action-confirm", this._confirmButton.textContent = "Confirm", this._actionsFooter = document.createElement("div"), this._actionsFooter.className = "mint-confirm-action-footer", this._actionsFooter.append(this._cancelButton, this._confirmButton), this._onCancelClick = () => {
|
|
5224
|
+
this._modal || (this._modal = document.createElement("mint-modal"), this._modal.setAttribute("heading", "Are you sure?"), this._modal.setAttribute("size", "small"), this._modal.setAttribute("hide-close-button", ""), this._cancelButton = document.createElement("button"), this._cancelButton.type = "button", this._cancelButton.className = "mint-button-core mint-button-ghost mint-button-tone-neutral mint-confirm-action-cancel", this._cancelButton.textContent = "Cancel", this._confirmButton = document.createElement("button"), this._confirmButton.type = "button", this._confirmButton.className = "mint-button-core mint-button-solid mint-button-tone-action mint-confirm-action-confirm", this._confirmButton.textContent = "Confirm", this._actionsFooter = document.createElement("div"), this._actionsFooter.className = "mint-confirm-action-footer", this._actionsFooter.append(this._cancelButton, this._confirmButton), this._onCancelClick = () => {
|
|
5225
5225
|
this._lastAction = "cancel", this._modal?.close?.();
|
|
5226
5226
|
}, this._onConfirmClick = () => {
|
|
5227
5227
|
this._lastAction = "confirm", this._modal?.close?.();
|
|
@@ -10965,7 +10965,7 @@ var An = class extends HTMLElement {
|
|
|
10965
10965
|
super.removeEventListener(e, t, n), this._trackListener(e, -1);
|
|
10966
10966
|
}
|
|
10967
10967
|
connectedCallback() {
|
|
10968
|
-
this.render();
|
|
10968
|
+
this.render(), this._title instanceof HTMLButtonElement && this._titleClickHandler && this._title.addEventListener("click", this._titleClickHandler);
|
|
10969
10969
|
}
|
|
10970
10970
|
disconnectedCallback() {
|
|
10971
10971
|
this._title instanceof HTMLButtonElement && this._titleClickHandler && this._title.removeEventListener("click", this._titleClickHandler);
|