@stlhorizon/vue-ui 2.0.0 → 2.0.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.
package/dist/index.esm.js CHANGED
@@ -10328,7 +10328,7 @@ const td = {
10328
10328
  }, ym = {
10329
10329
  key: 0,
10330
10330
  class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
10331
- }, pm = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, xm = { class: "flex items-center justify-between p-4" }, wm = { class: "flex-1 text-lg font-bold text-gray-900 ml-2" }, km = { class: "p-3" }, Sm = { class: "space-y-1" }, Cm = {
10331
+ }, pm = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, xm = { class: "flex items-center justify-between p-4" }, wm = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, km = { class: "p-3" }, Sm = { class: "space-y-1" }, Cm = {
10332
10332
  key: 0,
10333
10333
  class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
10334
10334
  }, $m = {
@@ -10390,7 +10390,7 @@ const td = {
10390
10390
  }), z = (O) => {
10391
10391
  r("navigate", O), s.value && $();
10392
10392
  const U = o.value && d.value && d.value.subItems.some((M) => M.route === O.route), ae = c.value && n.managementSettings.some((M) => M.route === O.route);
10393
- U || ae || V();
10393
+ (s.value || !(U || ae)) && V();
10394
10394
  }, $ = () => {
10395
10395
  r("update:mobileOpen", !1);
10396
10396
  }, k = (O) => O.subItems && O.subItems.length > 0, h = (O) => {
@@ -10596,7 +10596,7 @@ const td = {
10596
10596
  class: f(
10597
10597
  N(x)(
10598
10598
  "fixed z-40 bg-white border-r border-gray-200 overflow-y-auto shadow-lg",
10599
- s.value ? "left-0 w-full top-0 h-screen" : "w-64 top-16 h-[calc(100vh-4rem)]"
10599
+ s.value ? "left-0 w-52 top-20 h-screen" : "w-56 top-16 h-[calc(100vh-4rem)]"
10600
10600
  )
10601
10601
  ),
10602
10602
  style: ce(b.value)
@@ -10684,12 +10684,12 @@ const td = {
10684
10684
  class: f(
10685
10685
  N(x)(
10686
10686
  "fixed z-40 bg-white border-r border-gray-200 overflow-y-auto shadow-lg",
10687
- s.value ? "left-0 w-full top-0 h-full" : "w-64 h-[calc(100vh-4rem)]"
10687
+ s.value ? "left-0 w-52 top-0 h-full" : "w-56 h-[calc(100vh-4rem)]"
10688
10688
  )
10689
10689
  ),
10690
10690
  style: ce({ ...S.value, top: s.value ? "0px" : "4rem" })
10691
10691
  }, [
10692
- i("div", { class: "sticky top-0 z-10 bg-white border-b border-gray-200" }, [
10692
+ i("div", { class: "sticky top-20 z-10 bg-white border-b border-gray-200" }, [
10693
10693
  i("div", { class: "flex items-center justify-between p-4" }, [
10694
10694
  i("button", {
10695
10695
  onClick: L,
@@ -10710,7 +10710,7 @@ const td = {
10710
10710
  })
10711
10711
  ], -1)
10712
10712
  ])]),
10713
- U[3] || (U[3] = i("h3", { class: "flex-1 text-lg font-bold text-gray-900 ml-2" }, "Management Settings", -1))
10713
+ U[3] || (U[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, "Management Settings", -1))
10714
10714
  ])
10715
10715
  ]),
10716
10716
  i("nav", zm, [
@@ -10731,7 +10731,7 @@ const td = {
10731
10731
  i("div", {
10732
10732
  class: f(
10733
10733
  N(x)(
10734
- "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
10734
+ "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors",
10735
10735
  D(M) ? "bg-gradient-to-br from-blue-500 to-blue-600 text-white shadow-md" : "bg-gray-100 text-gray-600 group-hover:bg-gray-200"
10736
10736
  )
10737
10737
  )
@@ -10768,7 +10768,7 @@ const td = {
10768
10768
  default: E(() => [
10769
10769
  (o.value || c.value) && s.value ? (l(), u("div", {
10770
10770
  key: 0,
10771
- class: "fixed inset-0 z-30 bg-black bg-opacity-50",
10771
+ class: "fixed inset-0 z-30 bg-transparent",
10772
10772
  onClick: V
10773
10773
  })) : g("", !0)
10774
10774
  ]),