monobill-mintui 0.4.5 → 0.4.7

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 (43) hide show
  1. package/dist/components/button/Button.d.ts +2 -0
  2. package/dist/components/button/Button.d.ts.map +1 -1
  3. package/dist/components/icon/icons/building.d.ts +3 -0
  4. package/dist/components/icon/icons/building.d.ts.map +1 -0
  5. package/dist/components/icon/icons/buildings.d.ts +3 -0
  6. package/dist/components/icon/icons/buildings.d.ts.map +1 -0
  7. package/dist/components/icon/icons/credit-card.d.ts +3 -0
  8. package/dist/components/icon/icons/credit-card.d.ts.map +1 -0
  9. package/dist/components/icon/icons/dollar-sign.d.ts +3 -0
  10. package/dist/components/icon/icons/dollar-sign.d.ts.map +1 -0
  11. package/dist/components/icon/icons/index.cjs +2 -2
  12. package/dist/components/icon/icons/index.d.ts +4 -0
  13. package/dist/components/icon/icons/index.d.ts.map +1 -1
  14. package/dist/components/icon/icons/index.js +154 -151
  15. package/dist/components/side-navigation/SideNavigation.d.ts +22 -0
  16. package/dist/components/side-navigation/SideNavigation.d.ts.map +1 -0
  17. package/dist/components/side-navigation/SideNavigationActionHeader.d.ts +2 -0
  18. package/dist/components/side-navigation/SideNavigationActionHeader.d.ts.map +1 -0
  19. package/dist/components/side-navigation/SideNavigationActionLinks.d.ts +9 -0
  20. package/dist/components/side-navigation/SideNavigationActionLinks.d.ts.map +1 -0
  21. package/dist/components/side-navigation/SideNavigationActionMenu.d.ts +23 -0
  22. package/dist/components/side-navigation/SideNavigationActionMenu.d.ts.map +1 -0
  23. package/dist/components/side-navigation/SideNavigationLink.d.ts +28 -0
  24. package/dist/components/side-navigation/SideNavigationLink.d.ts.map +1 -0
  25. package/dist/components/side-navigation/SideNavigationLinks.d.ts +14 -0
  26. package/dist/components/side-navigation/SideNavigationLinks.d.ts.map +1 -0
  27. package/dist/components/side-navigation/index.d.ts +8 -0
  28. package/dist/components/side-navigation/index.d.ts.map +1 -0
  29. package/dist/icons/calendar-day.svg +3 -0
  30. package/dist/icons/calendar-empty.svg +3 -0
  31. package/dist/icons/calendar-week.svg +3 -0
  32. package/dist/icons/calendar.svg +1 -1
  33. package/dist/icons/credit-card.svg +3 -0
  34. package/dist/icons/dollar-sign.svg +3 -0
  35. package/dist/icons/table.svg +3 -0
  36. package/dist/index.cjs +18 -5
  37. package/dist/index.d.ts +6 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +291 -11
  40. package/dist/plus-C2ciGlkq.cjs +1 -0
  41. package/dist/{caret-right-C_kRPUgW.js → plus-csC2ambK.js} +41 -1
  42. package/package.json +1 -1
  43. package/dist/caret-right-_3Mh6ina.cjs +0 -1
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ import './components/resource-table/index';
27
27
  import './components/off-canvas/index';
28
28
  import './components/tabs/index';
29
29
  import './components/chart/index';
30
+ import './components/side-navigation/index';
30
31
  export { default as Button } from './components/button/Button';
31
32
  export { default as Switch } from './components/switch/Switch';
32
33
  export { default as Spinner } from './components/spinner/Spinner';
@@ -60,4 +61,9 @@ export { default as TabList } from './components/tabs/TabList';
60
61
  export { default as Tab } from './components/tabs/Tab';
61
62
  export { default as TabContent } from './components/tabs/TabContent';
62
63
  export { default as Chart } from './components/chart/Chart';
64
+ export { default as SideNavigation } from './components/side-navigation/SideNavigation';
65
+ export { default as SideNavigationLinks } from './components/side-navigation/SideNavigationLinks';
66
+ export { default as SideNavigationLink } from './components/side-navigation/SideNavigationLink';
67
+ export { default as SideNavigationActionMenu } from './components/side-navigation/SideNavigationActionMenu';
68
+ export { default as SideNavigationActionLinks } from './components/side-navigation/SideNavigationActionLinks';
63
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAA;AAClC,OAAO,2BAA2B,CAAA;AAClC,OAAO,4BAA4B,CAAA;AACnC,OAA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BAA0B,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,2CAA2C,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6CAA6C,CAAA;AACvF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,kDAAkD,CAAA;AACjG,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iDAAiD,CAAA;AAC/F,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,uDAAuD,CAAA;AAC3G,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,wDAAwD,CAAA"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { u as e } from "./caret-right-C_kRPUgW.js";
1
+ import { m as e } from "./plus-csC2ambK.js";
2
2
  //#region src/components/spinner/Spinner.ts
3
3
  var t = class extends HTMLElement {
4
4
  static get observedAttributes() {
@@ -201,6 +201,12 @@ var r = class e extends HTMLElement {
201
201
  this._button && (this.isActive() || this._button.classList.remove("mint-button-active"));
202
202
  };
203
203
  }
204
+ _getGeneratedIcon() {
205
+ return this._button ? this._button.querySelector(":scope > [data-generated-icon=\"true\"]") : null;
206
+ }
207
+ _getContentWrapperClass(e) {
208
+ return e.querySelector(".w-full") ? "mint-button-content flex w-full min-w-0 items-center" : "mint-button-content inline-flex min-w-0 items-center";
209
+ }
204
210
  connectedCallback() {
205
211
  if (!e._activeShadowStyleInjected) {
206
212
  let t = document.createElement("style");
@@ -253,7 +259,7 @@ var r = class e extends HTMLElement {
253
259
  return e === "left" || e === "center" || e === "right" ? e : "center";
254
260
  }
255
261
  isIconOnly() {
256
- if (!(this.getIcon() || this._button?.querySelector("[slot=\"icon\"], .mint-button-icon, mint-icon"))) return !1;
262
+ if (!(this.getIcon() || this._getGeneratedIcon() || this._button?.querySelector("mint-icon"))) return !1;
257
263
  let e = this._button?.querySelector(".mint-button-content");
258
264
  if (e && e.textContent?.trim()) return !1;
259
265
  if (this._button) for (let e = this._button.firstChild; e; e = e.nextSibling) {
@@ -638,8 +644,13 @@ var r = class e extends HTMLElement {
638
644
  render() {
639
645
  let e = this.isDisabled() || this.isLoading(), t = this.getType();
640
646
  if (!this._button) {
641
- for (this._button = document.createElement("button"); this.firstChild;) this._button.appendChild(this.firstChild);
642
- this.appendChild(this._button), this.setupEventListeners();
647
+ let e = this.firstElementChild;
648
+ if (e instanceof HTMLButtonElement) this._button = e;
649
+ else {
650
+ for (this._button = document.createElement("button"); this.firstChild;) this._button.appendChild(this.firstChild);
651
+ this.appendChild(this._button);
652
+ }
653
+ this.setupEventListeners();
643
654
  }
644
655
  this._button.type = t, this._button.disabled = e;
645
656
  let n = this._button.querySelector("mint-spinner"), r = this.isLoading();
@@ -652,10 +663,11 @@ var r = class e extends HTMLElement {
652
663
  }
653
664
  else n && n.parentElement?.remove();
654
665
  for (; this.firstChild && this.firstChild !== this._button;) this._button.appendChild(this.firstChild);
655
- let i = this.getIcon(), a = this._button.querySelector("[slot=\"icon\"], .mint-button-icon, mint-icon");
656
- i ? (a && a.tagName !== "MINT-ICON" && (a.remove(), a = null), !a || a.tagName !== "MINT-ICON" ? (a = document.createElement("mint-icon"), a.setAttribute("name", i), a.className = "mint-button-icon") : a.setAttribute("name", i)) : a && a.tagName === "MINT-ICON" && (a.remove(), a = null), a ||= this._button.querySelector("[slot=\"icon\"], .mint-button-icon");
666
+ let i = this.getIcon(), a = this._getGeneratedIcon();
667
+ i ? (a || (a = document.createElement("mint-icon"), a.setAttribute("data-generated-icon", "true"), a.className = "mint-button-icon"), a.setAttribute("name", i)) : a && a.tagName === "MINT-ICON" && (a.remove(), a = null);
657
668
  let o = this.getIconPosition(), s = this._button.querySelector(".mint-button-content");
658
669
  if (s) {
670
+ s.className = this._getContentWrapperClass(s);
659
671
  let e = a && a.tagName === "MINT-ICON";
660
672
  if (a && !a.parentElement) {
661
673
  let t = this._button.querySelector("mint-spinner")?.parentElement;
@@ -676,9 +688,9 @@ var r = class e extends HTMLElement {
676
688
  n.tagName !== "MINT-SPINNER" && !n.querySelector("mint-spinner") && t !== a && !n.hasAttribute("slot") && !(n.className === "mr-2" && n.querySelector("mint-spinner")) && e.push(t);
677
689
  }
678
690
  if (e.length > 0) {
679
- s = document.createElement("span"), s.className = "mint-button-content inline-flex items-center", e.forEach((e) => {
691
+ s = document.createElement("span"), s.className = this._getContentWrapperClass(s), e.forEach((e) => {
680
692
  s.appendChild(e);
681
- });
693
+ }), s.className = this._getContentWrapperClass(s);
682
694
  let t = this._button.querySelector("mint-spinner")?.parentElement;
683
695
  a && o === "left" ? t ? (t.insertAdjacentElement("afterend", a), a.insertAdjacentElement("afterend", s)) : (this._button.insertBefore(a, this._button.firstChild), a.insertAdjacentElement("afterend", s)) : a && o === "right" ? t ? (t.insertAdjacentElement("afterend", s), s.insertAdjacentElement("afterend", a)) : (this._button.insertBefore(s, this._button.firstChild), s.insertAdjacentElement("afterend", a)) : t ? t.insertAdjacentElement("afterend", s) : this._button.insertBefore(s, this._button.firstChild);
684
696
  } else if (a && a.tagName === "MINT-ICON" && !a.parentElement) {
@@ -1517,7 +1529,7 @@ var f = class extends HTMLElement {
1517
1529
  }
1518
1530
  render() {
1519
1531
  let e = this.getId(), t = this.getHeading(), n = this.isOpen();
1520
- if (e && (this.id = e), this._overlay || (this._overlay = document.createElement("div"), this._overlay.className = "fixed inset-0 bg-black bg-opacity-50 transition-opacity duration-200 z-40", this._overlay.addEventListener("click", () => this.close()), this.appendChild(this._overlay)), this._modal || (this._modal = document.createElement("div"), this._modal.className = "fixed inset-0 flex items-center justify-center p-2 pointer-events-none z-50", this.appendChild(this._modal)), n) {
1532
+ if (e && (this.id = e), this._overlay || (this._overlay = document.createElement("div"), this._overlay.className = "fixed inset-0 bg-black/50 transition-opacity duration-200 z-40", this._overlay.addEventListener("click", () => this.close()), this.appendChild(this._overlay)), this._modal || (this._modal = document.createElement("div"), this._modal.className = "fixed inset-0 flex items-center justify-center p-2 pointer-events-none z-50", this.appendChild(this._modal)), n) {
1521
1533
  let e = this._modal.querySelector(".modal-content");
1522
1534
  e || (e = document.createElement("div"), e.className = "modal-content bg-white dark:bg-gray-900 dark:border dark:border-gray-700 rounded-lg shadow-xl max-w-2xl w-full max-h-[90vh] flex flex-col pointer-events-auto transition-all duration-200 ease-out transform", this._modal.appendChild(e)), this._animateEnter();
1523
1535
  } else this._animateExit();
@@ -6876,7 +6888,7 @@ var O = class extends HTMLElement {
6876
6888
  }
6877
6889
  render() {
6878
6890
  let e = this.getId(), t = this.getHeading(), n = this.isOpen(), r = this.getPosition(), i = this.isFullPage(), a = this.getHeight();
6879
- e && (this.id = e), this._overlay || (this._overlay = document.createElement("div"), this._overlay.className = "fixed inset-0 bg-black bg-opacity-50 transition-opacity duration-200 z-40", this._overlay.addEventListener("click", () => this.close()), this.appendChild(this._overlay)), this._offCanvas || (this._offCanvas = document.createElement("div"), this.appendChild(this._offCanvas));
6891
+ e && (this.id = e), this._overlay || (this._overlay = document.createElement("div"), this._overlay.className = "fixed inset-0 bg-black/50 transition-opacity duration-200 z-40", this._overlay.addEventListener("click", () => this.close()), this.appendChild(this._overlay)), this._offCanvas || (this._offCanvas = document.createElement("div"), this.appendChild(this._offCanvas));
6880
6892
  let o = this._getPositionClasses(r, i);
6881
6893
  this._offCanvas.className = o;
6882
6894
  let s = this._offCanvas.querySelector(".off-canvas-content");
@@ -8415,4 +8427,272 @@ var N = class e extends HTMLElement {
8415
8427
  };
8416
8428
  customElements.get("mint-chart") || customElements.define("mint-chart", N);
8417
8429
  //#endregion
8418
- export { E as Alert, l as BackButton, r as Button, r as default, s as Card, N as Chart, m as Checkbox, C as Chip, g as Choice, T as Clickable, v as DatePicker, b as Dropzone, x as Form, d as Grid, n as Icon, _ as Input, c as Link, f as Modal, O as OffCanvas, u as Page, p as Popover, D as ResourceTable, y as Select, t as Spinner, o as Stack, i as Switch, k as Tab, j as TabContent, A as TabList, S as Table, M as Tabs, w as Tags, a as Text };
8430
+ //#region src/components/side-navigation/SideNavigationLink.ts
8431
+ var P = class extends HTMLElement {
8432
+ constructor(...e) {
8433
+ super(...e), this._trigger = null, this._mobileTrigger = null, this._submenuContainer = null, this._mobilePopover = null, this._triggerId = "";
8434
+ }
8435
+ static get observedAttributes() {
8436
+ return [
8437
+ "label",
8438
+ "icon",
8439
+ "href",
8440
+ "active",
8441
+ "expanded",
8442
+ "submenu-item"
8443
+ ];
8444
+ }
8445
+ connectedCallback() {
8446
+ this.classList.add("block"), this.render();
8447
+ }
8448
+ attributeChangedCallback(e, t, n) {
8449
+ t !== n && this.render();
8450
+ }
8451
+ _isActive() {
8452
+ return this.getAttribute("active") === "true";
8453
+ }
8454
+ _isExpanded() {
8455
+ return this.getAttribute("expanded") === "true";
8456
+ }
8457
+ _isSubmenuItem() {
8458
+ return this.getAttribute("submenu-item") === "true";
8459
+ }
8460
+ _getLabel() {
8461
+ return this.getAttribute("label") || "";
8462
+ }
8463
+ _getIcon() {
8464
+ return this.getAttribute("icon") || "";
8465
+ }
8466
+ _getHref() {
8467
+ return this.getAttribute("href");
8468
+ }
8469
+ _getBaseClasses() {
8470
+ let e = this._isActive() ? "border-black/20 bg-black/5 text-black dark:border-white/20 dark:bg-white/10 dark:text-white" : "border-transparent text-gray-700 hover:bg-black/5 dark:text-gray-200 dark:hover:bg-white/10";
8471
+ return [
8472
+ "w-full",
8473
+ "cursor-pointer",
8474
+ "rounded-lg",
8475
+ "border",
8476
+ "d-block",
8477
+ this._isSubmenuItem() ? "px-2 py-1.5 md:px-2" : "px-2 py-2 md:px-3",
8478
+ "text-left",
8479
+ "text-sm",
8480
+ "transition-colors",
8481
+ "duration-150",
8482
+ e
8483
+ ].join(" ");
8484
+ }
8485
+ _hasSubmenu() {
8486
+ return this.querySelectorAll(":scope > [slot=\"submenu\"]").length > 0 ? !0 : !!this._submenuContainer && this._submenuContainer.children.length > 0;
8487
+ }
8488
+ _createRow(e, t, n = !1, r = !1) {
8489
+ let i = document.createElement("span"), a = this._isSubmenuItem();
8490
+ if (i.className = a ? "inline-flex w-full items-center justify-start gap-2" : `inline-flex w-full items-center ${r ? "justify-center" : "justify-center md:justify-start"} gap-2`, t) {
8491
+ let e = document.createElement("mint-icon");
8492
+ e.setAttribute("name", t), e.className = "h-4 w-4 shrink-0", i.appendChild(e);
8493
+ }
8494
+ let o = document.createElement("span");
8495
+ if (o.className = a ? "inline truncate" : `${r ? "hidden" : "hidden md:inline"} truncate`, o.textContent = e, i.appendChild(o), n && !r) {
8496
+ let e = document.createElement("mint-icon");
8497
+ e.setAttribute("name", this._isExpanded() ? "caret-down" : "caret-right"), e.className = "ml-auto hidden h-4 w-4 text-gray-500 md:inline-flex dark:text-gray-400", i.appendChild(e);
8498
+ }
8499
+ return i;
8500
+ }
8501
+ _buildSimpleLink() {
8502
+ let e = this._getHref(), t = this._getLabel(), n = this._getIcon(), r = e ? document.createElement("a") : document.createElement("button");
8503
+ e ? (r.setAttribute("href", e), r.setAttribute("role", "link")) : r.setAttribute("type", "button"), r.className = this._getBaseClasses(), r.setAttribute("aria-label", t || "Side navigation link"), r.appendChild(this._createRow(t, n)), this.replaceChildren(r), this._trigger = r;
8504
+ }
8505
+ _buildDropdownLink() {
8506
+ let e = this._getLabel(), t = this._getIcon(), n = Array.from(this.querySelectorAll(":scope > [slot=\"submenu\"]")), r = n.length > 0 ? n : this._submenuContainer ? Array.from(this._submenuContainer.children) : [], i = document.createElement("div");
8507
+ i.className = "w-full";
8508
+ let a = document.createElement("button");
8509
+ a.type = "button", a.className = `${this._getBaseClasses()} hidden md:block`, a.setAttribute("aria-expanded", String(this._isExpanded())), a.appendChild(this._createRow(e, t, !0)), a.onclick = () => {
8510
+ this.setAttribute("expanded", this._isExpanded() ? "false" : "true");
8511
+ }, this._triggerId = this.id || `mint-sidenav-link-${Math.random().toString(36).slice(2, 9)}`, this.id ||= this._triggerId;
8512
+ let o = document.createElement("button");
8513
+ o.type = "button", o.id = `${this._triggerId}-mobile-trigger`, o.className = `${this._getBaseClasses()} md:hidden`, o.appendChild(this._createRow(e, t, !1, !0)), this._submenuContainer = document.createElement("div"), this._submenuContainer.className = `hidden md:block mt-1 ml-5 border-l border-gray-200 pl-2 space-y-1 dark:border-gray-700 ${this._isExpanded() ? "" : "md:hidden"}`, r.forEach((e) => {
8514
+ e.setAttribute("submenu-item", "true"), e.setAttribute("slot", "submenu"), this._submenuContainer?.appendChild(e);
8515
+ }), this._mobilePopover = document.createElement("mint-popover"), this._mobilePopover.setAttribute("trigger-id", o.id), this._mobilePopover.setAttribute("direction", "right"), this._mobilePopover.setAttribute("padding", "0"), this._mobilePopover.className = "md:hidden";
8516
+ let s = document.createElement("div");
8517
+ s.className = "w-56 rounded-xl border border-gray-200 bg-white p-2 shadow-xl dark:border-gray-700 dark:bg-gray-900";
8518
+ let c = document.createElement("div");
8519
+ c.className = "px-2 pb-1 text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400", c.textContent = e, s.appendChild(c), r.forEach((e) => {
8520
+ let t = e.cloneNode(!0);
8521
+ t.removeAttribute("slot"), t.setAttribute("submenu-item", "true"), s.appendChild(t);
8522
+ }), this._mobilePopover.appendChild(s), i.appendChild(a), i.appendChild(o), i.appendChild(this._submenuContainer), i.appendChild(this._mobilePopover), this.replaceChildren(i), this._trigger = a, this._mobileTrigger = o;
8523
+ }
8524
+ render() {
8525
+ this._hasSubmenu() && !this._isSubmenuItem() ? this._buildDropdownLink() : this._buildSimpleLink();
8526
+ }
8527
+ };
8528
+ customElements.get("mint-sidenav-link") || customElements.define("mint-sidenav-link", P);
8529
+ //#endregion
8530
+ //#region src/components/side-navigation/SideNavigationLinks.ts
8531
+ var F = class extends HTMLElement {
8532
+ constructor(...e) {
8533
+ super(...e), this._container = null, this._title = null, this._list = null;
8534
+ }
8535
+ static get observedAttributes() {
8536
+ return ["name"];
8537
+ }
8538
+ connectedCallback() {
8539
+ this.classList.add("block"), this.render();
8540
+ }
8541
+ attributeChangedCallback(e, t, n) {
8542
+ t !== n && this.render();
8543
+ }
8544
+ _getName() {
8545
+ return this.getAttribute("name") || "";
8546
+ }
8547
+ render() {
8548
+ this._container || (this._container = document.createElement("section"), this._container.className = "mb-4", this.appendChild(this._container)), this._title || (this._title = document.createElement("mint-text"), this._title.setAttribute("size", "small"), this._title.setAttribute("bold", "true"), this._title.className = "mb-2 hidden uppercase tracking-wide text-gray-500 md:block dark:text-gray-400", this._container.appendChild(this._title));
8549
+ let e = this._getName();
8550
+ this._title.textContent = e, e.trim().length === 0 ? (this._title.classList.add("hidden"), this._title.classList.remove("md:block", "mb-2")) : this._title.classList.add("hidden", "md:block", "mb-2"), this._list || (this._list = document.createElement("div"), this._list.className = "space-y-1", this._container.appendChild(this._list)), Array.from(this.children).filter((e) => e !== this._container && e.tagName === "MINT-SIDENAV-LINK").forEach((e) => {
8551
+ this._list && e.parentElement !== this._list && this._list.appendChild(e);
8552
+ });
8553
+ }
8554
+ };
8555
+ customElements.get("mint-sidenav-links") || customElements.define("mint-sidenav-links", F);
8556
+ //#endregion
8557
+ //#region src/components/side-navigation/SideNavigationActionLinks.ts
8558
+ var I = class extends HTMLElement {
8559
+ static get observedAttributes() {
8560
+ return ["separated"];
8561
+ }
8562
+ connectedCallback() {
8563
+ this.render();
8564
+ }
8565
+ attributeChangedCallback(e, t, n) {
8566
+ t !== n && this.render();
8567
+ }
8568
+ _isSeparated() {
8569
+ return this.getAttribute("separated") === "true";
8570
+ }
8571
+ render() {
8572
+ this.className = this._isSeparated() ? "block w-full mt-2 border-t border-gray-200 pt-2 px-2 pb-2 dark:border-gray-700" : "block w-full p-2";
8573
+ }
8574
+ };
8575
+ customElements.get("mint-sidenav-action-links") || customElements.define("mint-sidenav-action-links", I);
8576
+ //#endregion
8577
+ //#region src/components/side-navigation/SideNavigationActionMenu.ts
8578
+ var L = class extends HTMLElement {
8579
+ constructor(...e) {
8580
+ super(...e), this._wrapper = null, this._trigger = null, this._popover = null, this._triggerId = "";
8581
+ }
8582
+ static get observedAttributes() {
8583
+ return ["title", "subtitle"];
8584
+ }
8585
+ connectedCallback() {
8586
+ this.classList.add("block"), this._triggerId = this.id ? `${this.id}-trigger` : `mint-sidenav-action-menu-${Math.random().toString(36).slice(2, 9)}`, this.render();
8587
+ }
8588
+ attributeChangedCallback(e, t, n) {
8589
+ t !== n && this.render();
8590
+ }
8591
+ _getTitle() {
8592
+ return this.getAttribute("title") || "Acme Inc";
8593
+ }
8594
+ _getSubtitle() {
8595
+ return this.getAttribute("subtitle") || "Enterprise";
8596
+ }
8597
+ _createDefaultGroup() {
8598
+ let e = document.createElement("mint-sidenav-action-links"), t = (e, t, n = "") => {
8599
+ let r = document.createElement("mint-button");
8600
+ return r.setAttribute("variant", "ghost"), r.setAttribute("full-width", "true"), r.setAttribute("align", "left"), r.innerHTML = `
8601
+ <span class="flex w-full items-center justify-between">
8602
+ <span class="inline-flex items-center gap-2">
8603
+ <mint-icon name="${t}" class="h-4 w-4"></mint-icon>
8604
+ <span class="text-sm">${e}</span>
8605
+ </span>
8606
+ ${n ? `<span class="text-xs text-gray-500 dark:text-gray-400">${n}</span>` : ""}
8607
+ </span>
8608
+ `, r;
8609
+ };
8610
+ e.appendChild(t("Acme Inc", "user", "⌘ 1")), e.appendChild(t("Acme Corp.", "user", "⌘ 2")), e.appendChild(t("Evil Corp.", "user", "⌘ 3"));
8611
+ let n = document.createElement("mint-sidenav-action-links");
8612
+ n.setAttribute("separated", "true");
8613
+ let r = document.createElement("mint-button");
8614
+ r.setAttribute("variant", "ghost"), r.setAttribute("full-width", "true"), r.setAttribute("align", "left"), r.innerHTML = "\n <span class=\"inline-flex items-center gap-2\">\n <mint-icon name=\"plus\" class=\"h-4 w-4\"></mint-icon>\n <span class=\"text-sm\">Add team</span>\n </span>\n ", n.appendChild(r);
8615
+ let i = document.createElement("div");
8616
+ return i.appendChild(e), i.appendChild(n), i;
8617
+ }
8618
+ render() {
8619
+ let e = Array.from(this.children).filter((e) => e !== this._wrapper && e.getAttribute("slot") === "action-links");
8620
+ this._wrapper || (this._wrapper = document.createElement("div"), this._wrapper.className = "relative", this.appendChild(this._wrapper)), this._wrapper.innerHTML = "", this._trigger = document.createElement("button"), this._trigger.type = "button", this._trigger.id = this._triggerId, this._trigger.className = "flex w-full cursor-pointer items-center gap-3 rounded-xl border border-gray-200 bg-gray-50 px-2 py-2 text-left transition-colors hover:bg-gray-100 md:px-3 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700";
8621
+ let t = document.createElement("div");
8622
+ t.className = "inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white", t.textContent = this._getTitle().split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase();
8623
+ let n = document.createElement("div");
8624
+ n.className = "hidden min-w-0 flex-1 md:block";
8625
+ let r = document.createElement("mint-text");
8626
+ r.setAttribute("size", "body"), r.setAttribute("bold", "true"), r.className = "truncate text-gray-900 dark:text-gray-100", r.textContent = this._getTitle();
8627
+ let i = document.createElement("mint-text");
8628
+ i.setAttribute("size", "small"), i.setAttribute("variant", "muted"), i.className = "truncate", i.textContent = this._getSubtitle();
8629
+ let a = document.createElement("div");
8630
+ a.className = "mint-sidenav-action-menu-caret hidden pointer-events-none z-10 md:flex md:flex-col md:items-center";
8631
+ let o = document.createElement("mint-icon");
8632
+ o.setAttribute("name", "caret-up"), o.className = "h-[.9em] w-[.9em] text-gray-400 dark:text-gray-500 mb-[-.2rem]";
8633
+ let s = document.createElement("mint-icon");
8634
+ s.setAttribute("name", "caret-down"), s.className = "h-[.9em] w-[.9em] text-gray-400 dark:text-gray-500 mt-[-.2rem]", a.appendChild(o), a.appendChild(s), n.appendChild(r), n.appendChild(i), this._trigger.appendChild(t), this._trigger.appendChild(n), this._trigger.appendChild(a), this._popover = document.createElement("mint-popover"), this._popover.setAttribute("trigger-id", this._triggerId), this._popover.setAttribute("direction", "right"), this._popover.setAttribute("padding", "0");
8635
+ let c = document.createElement("div");
8636
+ c.className = "w-64", e.length > 0 ? e.forEach((e) => {
8637
+ e.setAttribute("hidden", "true");
8638
+ let t = e.cloneNode(!0);
8639
+ t.removeAttribute("hidden"), t.removeAttribute("slot"), c.appendChild(t);
8640
+ }) : c.appendChild(this._createDefaultGroup()), this._popover.appendChild(c), this._wrapper.appendChild(this._trigger), this._wrapper.appendChild(this._popover);
8641
+ }
8642
+ };
8643
+ customElements.get("mint-sidenav-action-menu") || customElements.define("mint-sidenav-action-menu", L);
8644
+ //#endregion
8645
+ //#region src/components/side-navigation/SideNavigation.ts
8646
+ var R = class extends HTMLElement {
8647
+ constructor(...e) {
8648
+ super(...e), this._container = null, this._header = null, this._content = null, this._footer = null;
8649
+ }
8650
+ static get observedAttributes() {
8651
+ return ["user-name", "user-status"];
8652
+ }
8653
+ connectedCallback() {
8654
+ this.classList.add("block", "h-screen", "min-h-screen"), this.render();
8655
+ }
8656
+ attributeChangedCallback(e, t, n) {
8657
+ t !== n && this.render();
8658
+ }
8659
+ getUserName() {
8660
+ return this.getAttribute("user-name") || "Acme Inc";
8661
+ }
8662
+ getUserStatus() {
8663
+ return this.getAttribute("user-status") || "Enterprise";
8664
+ }
8665
+ _ensureContainer() {
8666
+ this._container || (this._container = document.createElement("aside"), this._container.className = "flex h-screen min-h-screen w-[4.75rem] flex-col border-r border-gray-200 bg-white p-2 md:w-[17rem] md:p-3 dark:border-gray-700 dark:bg-gray-900", this.appendChild(this._container));
8667
+ }
8668
+ _buildUserHeader() {
8669
+ if (!this._container) return;
8670
+ this._header || (this._header = document.createElement("div"), this._header.className = "mb-4", this._container.appendChild(this._header));
8671
+ let e = Array.from(this.children).find((e) => e.getAttribute("slot") === "action-header");
8672
+ if (e) {
8673
+ this._header.replaceChildren(e);
8674
+ return;
8675
+ }
8676
+ let t = document.createElement("mint-sidenav-action-menu");
8677
+ t.setAttribute("title", this.getUserName()), t.setAttribute("subtitle", this.getUserStatus()), this._header.replaceChildren(t);
8678
+ }
8679
+ _replaceSlottedChildren(e, t) {
8680
+ let n = Array.from(this.querySelectorAll(`[slot="${t}"]`)).filter((e) => e !== this._container);
8681
+ e.replaceChildren(...n);
8682
+ }
8683
+ _buildContent() {
8684
+ this._container && (this._content || (this._content = document.createElement("div"), this._content.className = "grow overflow-y-auto", this._container.appendChild(this._content)), this._replaceSlottedChildren(this._content, "links"));
8685
+ }
8686
+ _buildFooter() {
8687
+ if (!this._container) return;
8688
+ this._footer || (this._footer = document.createElement("div"), this._footer.className = "mt-auto border-t border-gray-200 pt-3 dark:border-gray-700", this._container.appendChild(this._footer));
8689
+ let e = document.createElement("div");
8690
+ e.className = "space-y-1", this._replaceSlottedChildren(e, "bottom-links"), this._footer.innerHTML = "", this._footer.appendChild(e);
8691
+ }
8692
+ render() {
8693
+ this._ensureContainer(), this._buildUserHeader(), this._buildContent(), this._buildFooter();
8694
+ }
8695
+ };
8696
+ customElements.get("mint-side-navigation") || customElements.define("mint-side-navigation", R);
8697
+ //#endregion
8698
+ export { E as Alert, l as BackButton, r as Button, r as default, s as Card, N as Chart, m as Checkbox, C as Chip, g as Choice, T as Clickable, v as DatePicker, b as Dropzone, x as Form, d as Grid, n as Icon, _ as Input, c as Link, f as Modal, O as OffCanvas, u as Page, p as Popover, D as ResourceTable, y as Select, R as SideNavigation, I as SideNavigationActionLinks, L as SideNavigationActionMenu, P as SideNavigationLink, F as SideNavigationLinks, t as Spinner, o as Stack, i as Switch, k as Tab, j as TabContent, A as TabList, S as Table, M as Tabs, w as Tags, a as Text };
@@ -0,0 +1 @@
1
+ var e=new Map;function t(t){e.set(t.name,t)}function n(t){return e.get(t)}var r={name:`close`,viewBox:`0 0 24 24`,path:`M6 18L18 6M6 6l12 12`,strokeLinecap:`round`,strokeLinejoin:`round`};t(r);var i={name:`check`,viewBox:`0 0 24 24`,path:`M5 13l4 4L19 7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(i);var a={name:`info`,viewBox:`0 0 24 24`,path:`M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(a);var o={name:`success`,viewBox:`0 0 24 24`,path:`M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(o);var s={name:`warning`,viewBox:`0 0 24 24`,path:`M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(s);var c={name:`error`,viewBox:`0 0 24 24`,path:`M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(c);var l={name:`sort-arrows`,viewBox:`0 0 24 24`,path:`M1 5l5-4m0 0l5 4m-5-4v22 M13 19l5 4m0 0l5-4m-5 4V1`,strokeLinecap:`round`,strokeLinejoin:`round`},u={name:`caret-left`,viewBox:`0 0 24 24`,path:`M15 19l-7-7 7-7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(u);var d={name:`caret-right`,viewBox:`0 0 24 24`,path:`M9 5l7 7-7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(d);var f={name:`caret-down`,viewBox:`0 0 24 24`,path:`M19 9l-7 7-7-7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(f);var p={name:`caret-up`,viewBox:`0 0 24 24`,path:`M5 15l7-7 7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(p);var m={name:`user`,viewBox:`0 0 24 24`,path:`M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(m);var h={name:`plus`,viewBox:`0 0 24 24`,path:`M12 4v16m8-8H4`,strokeLinecap:`round`,strokeLinejoin:`round`};t(h),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return o}});
@@ -93,4 +93,44 @@ var d = {
93
93
  };
94
94
  t(d);
95
95
  //#endregion
96
- export { s as a, i as c, t as d, c as i, r as l, u as n, o, l as r, a as s, d as t, n as u };
96
+ //#region src/components/icon/icons/caret-down.ts
97
+ var f = {
98
+ name: "caret-down",
99
+ viewBox: "0 0 24 24",
100
+ path: "M19 9l-7 7-7-7",
101
+ strokeLinecap: "round",
102
+ strokeLinejoin: "round"
103
+ };
104
+ t(f);
105
+ //#endregion
106
+ //#region src/components/icon/icons/caret-up.ts
107
+ var p = {
108
+ name: "caret-up",
109
+ viewBox: "0 0 24 24",
110
+ path: "M5 15l7-7 7 7",
111
+ strokeLinecap: "round",
112
+ strokeLinejoin: "round"
113
+ };
114
+ t(p);
115
+ //#endregion
116
+ //#region src/components/icon/icons/user.ts
117
+ var m = {
118
+ name: "user",
119
+ viewBox: "0 0 24 24",
120
+ path: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z",
121
+ strokeLinecap: "round",
122
+ strokeLinejoin: "round"
123
+ };
124
+ t(m);
125
+ //#endregion
126
+ //#region src/components/icon/icons/plus.ts
127
+ var h = {
128
+ name: "plus",
129
+ viewBox: "0 0 24 24",
130
+ path: "M12 4v16m8-8H4",
131
+ strokeLinecap: "round",
132
+ strokeLinejoin: "round"
133
+ };
134
+ t(h);
135
+ //#endregion
136
+ export { d as a, c, a as d, i as f, t as h, f as i, s as l, n as m, m as n, u as o, r as p, p as r, l as s, h as t, o as u };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monobill-mintui",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "A modern framework-agnostic UI kit built as Web Components. Requires Tailwind CSS.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1 +0,0 @@
1
- var e=new Map;function t(t){e.set(t.name,t)}function n(t){return e.get(t)}var r={name:`close`,viewBox:`0 0 24 24`,path:`M6 18L18 6M6 6l12 12`,strokeLinecap:`round`,strokeLinejoin:`round`};t(r);var i={name:`check`,viewBox:`0 0 24 24`,path:`M5 13l4 4L19 7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(i);var a={name:`info`,viewBox:`0 0 24 24`,path:`M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(a);var o={name:`success`,viewBox:`0 0 24 24`,path:`M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(o);var s={name:`warning`,viewBox:`0 0 24 24`,path:`M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(s);var c={name:`error`,viewBox:`0 0 24 24`,path:`M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};t(c);var l={name:`sort-arrows`,viewBox:`0 0 24 24`,path:`M1 5l5-4m0 0l5 4m-5-4v22 M13 19l5 4m0 0l5-4m-5 4V1`,strokeLinecap:`round`,strokeLinejoin:`round`},u={name:`caret-left`,viewBox:`0 0 24 24`,path:`M15 19l-7-7 7-7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(u);var d={name:`caret-right`,viewBox:`0 0 24 24`,path:`M9 5l7 7-7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};t(d),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return n}});