@nubitio/admin 1.0.2 → 1.1.0

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.cjs CHANGED
@@ -455,6 +455,8 @@ const AdminShell = ({ title, menuItems, headerActions, renderUserMenu, renderThe
455
455
  }),
456
456
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("main", {
457
457
  className: "nb-admin-shell__content content",
458
+ tabIndex: 0,
459
+ "aria-label": title ? `${title} content` : "Main content",
458
460
  children
459
461
  })
460
462
  ]
package/dist/index.mjs CHANGED
@@ -431,6 +431,8 @@ const AdminShell = ({ title, menuItems, headerActions, renderUserMenu, renderThe
431
431
  }),
432
432
  /* @__PURE__ */ jsx("main", {
433
433
  className: "nb-admin-shell__content content",
434
+ tabIndex: 0,
435
+ "aria-label": title ? `${title} content` : "Main content",
434
436
  children
435
437
  })
436
438
  ]
package/dist/style.css CHANGED
@@ -2,7 +2,7 @@
2
2
  :root {
3
3
  --font-family-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
4
4
  --font-family-mono: 'JetBrains Mono', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
5
- --font-family-display: 'Syne', var(--font-family-sans);
5
+ --font-family-display: var(--font-family-sans);
6
6
  --font-size-xxs: 11px;
7
7
  --font-size-xs: 12px;
8
8
  --font-size-sm: 13px;
@@ -30,11 +30,12 @@
30
30
  --space-8: 40px;
31
31
  --space-9: 48px;
32
32
  --space-10: 64px;
33
- --radius-xs: 3px;
34
- --radius-sm: 4px;
35
- --radius-md: 6px;
36
- --radius-lg: 8px;
37
- --radius-xl: 14px;
33
+ --radius-xs: 6px;
34
+ --radius-sm: 8px;
35
+ --radius-md: 10px;
36
+ --radius-lg: 14px;
37
+ --radius-xl: 20px;
38
+ --radius-pill: 999px;
38
39
  --toolbar-height: 36px;
39
40
  --row-height: 34px;
40
41
  --control-height: 28px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/admin",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Admin shell layout components: responsive sidebar, header, and screen size utilities for Nubit apps.",
6
6
  "license": "MIT",
@@ -53,9 +53,9 @@
53
53
  "react": "^18.2.0 || ^19.0.0",
54
54
  "react-dom": "^18.2.0 || ^19.0.0",
55
55
  "react-router-dom": "^6.0.0 || ^7.0.0",
56
- "@nubitio/core": "^1.0.2",
57
- "@nubitio/crud": "^1.0.2",
58
- "@nubitio/hydra": "^1.0.2",
59
- "@nubitio/ui": "^1.0.2"
56
+ "@nubitio/core": "^1.1.0",
57
+ "@nubitio/hydra": "^1.1.0",
58
+ "@nubitio/crud": "^1.1.0",
59
+ "@nubitio/ui": "^1.1.0"
60
60
  }
61
61
  }