@unicitylabs/sphere-ui 0.1.4 → 0.1.6

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 (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ function DashboardLayout({ logo, nav, footer, children }) {
8
8
  mobileOpen && /* @__PURE__ */ jsx(
9
9
  "div",
10
10
  {
11
- className: "lg:hidden fixed inset-0 bg-black/50 z-40",
11
+ className: "lg:hidden fixed inset-0 bg-black/60 backdrop-blur-sm z-40",
12
12
  onClick: () => setMobileOpen(false)
13
13
  }
14
14
  ),
@@ -49,8 +49,9 @@ function DashboardLayout({ logo, nav, footer, children }) {
49
49
  ),
50
50
  logo
51
51
  ] }),
52
- /* @__PURE__ */ jsx("nav", { className: "flex-1 px-3 py-3 flex flex-col overflow-y-auto", children: nav }),
53
- footer && /* @__PURE__ */ jsx("div", { className: "px-3 py-4", style: { borderTop: "1px solid var(--border)" }, children: footer })
52
+ /* @__PURE__ */ jsx("nav", { className: "flex-1 px-3 py-3 flex flex-col overflow-y-auto", onClick: () => setMobileOpen(false), children: nav }),
53
+ footer && /* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */
54
+ /* @__PURE__ */ jsx("div", { className: "px-3 py-4", style: { borderTop: "1px solid var(--border)" }, onClick: () => setMobileOpen(false), children: footer })
54
55
  ]
55
56
  }
56
57
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unicitylabs/sphere-ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",