@umituz/web-dashboard 11.10.0 → 11.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/web-dashboard",
3
- "version": "11.10.0",
3
+ "version": "11.10.1",
4
4
  "description": "Installable app skeleton for the fleet — layouts, analytics (dependency-free SVG charts), calendar, onboarding flow permissions/module registry; udb-* stylesheet on design-system tokens",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -78,8 +78,14 @@ export const DashboardHeader = ({
78
78
  return (
79
79
  <header className="udb-header">
80
80
  <div className="udb-header__lead">
81
- <Button variant="ghost" size="icon" className="udb-header__mobile-toggle" onClick={() => setMobileOpen(true)}>
82
- <Menu className="udb-header__toggle-icon" />
81
+ <Button
82
+ variant="ghost"
83
+ size="icon"
84
+ className="udb-header__mobile-toggle"
85
+ onClick={() => setMobileOpen(true)}
86
+ aria-label={labels.openSidebar ?? labels.expandSidebar}
87
+ >
88
+ <Menu className="udb-header__toggle-icon" aria-hidden="true" />
83
89
  </Button>
84
90
 
85
91
  <Button
@@ -132,7 +138,7 @@ export const DashboardHeader = ({
132
138
  <DropdownMenu>
133
139
  <DropdownMenuTrigger asChild>
134
140
  <Button variant="ghost" size="icon" className="udb-header__icon-btn" aria-label={labels.notificationsTitle}>
135
- <Bell className="udb-header__icon" />
141
+ <Bell className="udb-header__icon" aria-hidden="true" />
136
142
  {unreadCount > 0 && <span className="udb-header__unread"><span className="udb-header__unread-core" /></span>}
137
143
 
138
144
  </Button>
@@ -1,6 +1,7 @@
1
1
  export interface DashboardHeaderLabels {
2
2
  expandSidebar: string;
3
3
  collapseSidebar: string;
4
+ openSidebar?: string;
4
5
  switchToLight: string;
5
6
  switchToDark: string;
6
7
  notificationsTitle: string;