monobill-mintui 0.6.619 → 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.
Files changed (96) hide show
  1. package/dist/components/alert/browser.js +3 -3
  2. package/dist/components/alert/index.cjs +1 -1
  3. package/dist/components/alert/index.js +3 -3
  4. package/dist/components/back-button/browser.js +2 -2
  5. package/dist/components/back-button/index.cjs +1 -1
  6. package/dist/components/back-button/index.js +2 -2
  7. package/dist/components/bottom-navigation/browser.js +2 -2
  8. package/dist/components/bottom-navigation/index.cjs +1 -1
  9. package/dist/components/bottom-navigation/index.js +2 -2
  10. package/dist/components/button/browser.js +1 -1
  11. package/dist/components/button/index.cjs +1 -1
  12. package/dist/components/button/index.js +1 -1
  13. package/dist/components/checkbox/browser.js +2 -2
  14. package/dist/components/checkbox/index.cjs +1 -1
  15. package/dist/components/checkbox/index.js +2 -2
  16. package/dist/components/chip/browser.js +1 -1
  17. package/dist/components/chip/index.cjs +1 -1
  18. package/dist/components/chip/index.js +1 -1
  19. package/dist/components/chunks/{button-BZ25puI2.js → button-BYQbRAwl.js} +2 -2
  20. package/dist/components/chunks/{button-CgYC1lB7.js → button-DbxqmBWQ.js} +1 -1
  21. package/dist/components/chunks/caret-down-CeADWana.js +1 -0
  22. package/dist/components/chunks/{caret-down-CDGP3GB2.js → caret-down-DD9Ie5js.js} +1 -1
  23. package/dist/components/chunks/caret-right-3V_JDnOP.js +1 -0
  24. package/dist/components/chunks/{caret-right-CQ5hBjsy.js → caret-right-fnCcTJKp.js} +1 -1
  25. package/dist/components/chunks/{caret-up-1paz-pnI.js → caret-up-CK7JOG6X.js} +1 -1
  26. package/dist/components/chunks/caret-up-hwsMK8n3.js +1 -0
  27. package/dist/components/chunks/{chip-p6RXdzHa.js → chip-08aR26vc.js} +3 -3
  28. package/dist/components/chunks/{chip-Bb1Epj5C.js → chip-8BYSJ7yI.js} +1 -1
  29. package/dist/components/chunks/close-BdZJfr6m.js +1 -0
  30. package/dist/components/chunks/{close-y8q0rMSE.js → close-CFxX3WCG.js} +1 -1
  31. package/dist/components/chunks/icon-B8p3Co0-.js +1 -0
  32. package/dist/components/chunks/{icon-B01tq_aJ.js → icon-BWUYe89V.js} +4 -3
  33. package/dist/components/chunks/{icon-BcsWL4kZ.js → icon-B_7c8b8e.js} +1 -1
  34. package/dist/components/chunks/icon-CSqBgTae.js +1 -0
  35. package/dist/components/chunks/{input-BzrCXBg4.js → input-Dwrs8tJH.js} +4 -4
  36. package/dist/components/chunks/{input-DnVgj6QV.js → input-lLl8cB6r.js} +1 -1
  37. package/dist/components/chunks/{modal-9S-FF3_o.js → modal-CNBmdA63.js} +1 -1
  38. package/dist/components/chunks/{modal-D7KKb4f9.js → modal-CPcIPIO7.js} +2 -2
  39. package/dist/components/chunks/search-Bsaoxa30.js +1 -0
  40. package/dist/components/chunks/{search-Dd28O4mG.js → search-xHKqAXph.js} +1 -1
  41. package/dist/components/confirm-action/browser.js +3 -3
  42. package/dist/components/confirm-action/index.cjs +1 -1
  43. package/dist/components/confirm-action/index.js +3 -3
  44. package/dist/components/date-picker/browser.js +4 -4
  45. package/dist/components/date-picker/index.cjs +1 -1
  46. package/dist/components/date-picker/index.js +4 -4
  47. package/dist/components/dropzone/browser.js +3 -3
  48. package/dist/components/dropzone/index.cjs +1 -1
  49. package/dist/components/dropzone/index.js +3 -3
  50. package/dist/components/icon/browser.js +1 -1
  51. package/dist/components/icon/index.cjs +1 -1
  52. package/dist/components/icon/index.js +1 -1
  53. package/dist/components/input/browser.js +1 -1
  54. package/dist/components/input/index.cjs +1 -1
  55. package/dist/components/input/index.js +1 -1
  56. package/dist/components/modal/browser.js +1 -1
  57. package/dist/components/modal/index.cjs +1 -1
  58. package/dist/components/modal/index.js +1 -1
  59. package/dist/components/navigation/browser.js +2 -2
  60. package/dist/components/navigation/index.cjs +1 -1
  61. package/dist/components/navigation/index.js +2 -2
  62. package/dist/components/off-canvas/browser.js +2 -2
  63. package/dist/components/off-canvas/index.cjs +1 -1
  64. package/dist/components/off-canvas/index.js +2 -2
  65. package/dist/components/resource-table/browser.js +7 -7
  66. package/dist/components/resource-table/index.cjs +1 -1
  67. package/dist/components/resource-table/index.js +7 -7
  68. package/dist/components/search/browser.js +7 -7
  69. package/dist/components/search/index.cjs +1 -1
  70. package/dist/components/search/index.js +7 -7
  71. package/dist/components/select/browser.js +4 -4
  72. package/dist/components/select/index.cjs +1 -1
  73. package/dist/components/select/index.js +4 -4
  74. package/dist/components/side-navigation/browser.js +5 -5
  75. package/dist/components/side-navigation/index.cjs +1 -1
  76. package/dist/components/side-navigation/index.js +5 -5
  77. package/dist/components/switch/browser.js +2 -2
  78. package/dist/components/switch/index.cjs +1 -1
  79. package/dist/components/switch/index.js +2 -2
  80. package/dist/components/tags/browser.js +3 -3
  81. package/dist/components/tags/index.cjs +1 -1
  82. package/dist/components/tags/index.js +3 -3
  83. package/dist/components/time-picker/browser.js +2 -2
  84. package/dist/components/time-picker/index.cjs +1 -1
  85. package/dist/components/time-picker/index.js +2 -2
  86. package/dist/icons/pin.svg +1 -3
  87. package/dist/index.cjs +3 -3
  88. package/dist/index.js +6 -5
  89. package/package.json +1 -1
  90. package/dist/components/chunks/caret-down-C5a1fGvt.js +0 -1
  91. package/dist/components/chunks/caret-right-BMyWflHN.js +0 -1
  92. package/dist/components/chunks/caret-up-BJAyfrty.js +0 -1
  93. package/dist/components/chunks/close-Bg0kqvrY.js +0 -1
  94. package/dist/components/chunks/icon-DNWs0suS.js +0 -1
  95. package/dist/components/chunks/icon-uMo_iGkX.js +0 -1
  96. package/dist/components/chunks/search-C5jD2OC-.js +0 -1
package/dist/index.js CHANGED
@@ -802,10 +802,11 @@ s(Ie);
802
802
  //#region src/components/icon/icons/pin.js
803
803
  var Le = {
804
804
  name: "pin",
805
- viewBox: "0 0 24 24",
806
- path: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z",
805
+ viewBox: "0 0 16 16",
806
+ path: "M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z",
807
807
  strokeLinecap: "round",
808
- strokeLinejoin: "round"
808
+ strokeLinejoin: "round",
809
+ customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z\" /></svg>"
809
810
  };
810
811
  s(Le);
811
812
  //#endregion
@@ -5220,7 +5221,7 @@ var ln = class extends HTMLElement {
5220
5221
  }), a;
5221
5222
  }
5222
5223
  _ensureModal() {
5223
- 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 = () => {
5224
5225
  this._lastAction = "cancel", this._modal?.close?.();
5225
5226
  }, this._onConfirmClick = () => {
5226
5227
  this._lastAction = "confirm", this._modal?.close?.();
@@ -10964,7 +10965,7 @@ var An = class extends HTMLElement {
10964
10965
  super.removeEventListener(e, t, n), this._trackListener(e, -1);
10965
10966
  }
10966
10967
  connectedCallback() {
10967
- this.render();
10968
+ this.render(), this._title instanceof HTMLButtonElement && this._titleClickHandler && this._title.addEventListener("click", this._titleClickHandler);
10968
10969
  }
10969
10970
  disconnectedCallback() {
10970
10971
  this._title instanceof HTMLButtonElement && this._titleClickHandler && this._title.removeEventListener("click", this._titleClickHandler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monobill-mintui",
3
- "version": "0.6.619",
3
+ "version": "0.6.621",
4
4
  "description": "Framework-independent HTML custom elements with component-scoped CSS.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`).a({name:`caret-down`,viewBox:`0 0 24 24`,path:`M19 9l-7 7-7-7`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`).a({name:`caret-right`,viewBox:`0 0 24 24`,path:`M9 5l7 7-7 7`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`).a({name:`caret-up`,viewBox:`0 0 24 24`,path:`M5 15l7-7 7 7`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`).a({name:`close`,viewBox:`0 0 24 24`,path:`M6 18L18 6M6 6l12 12`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`3.2`});
@@ -1 +0,0 @@
1
- import "./icon-B01tq_aJ.js";
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`);
@@ -1 +0,0 @@
1
- require(`./icon-BcsWL4kZ.js`).a({name:`search`,viewBox:`0 0 24 24`,path:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`,strokeLinecap:`round`,strokeLinejoin:`round`});