@djangocfg/devtools 2.1.669 → 2.1.670

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": "@djangocfg/devtools",
3
- "version": "2.1.669",
3
+ "version": "2.1.670",
4
4
  "description": "Frontend devtools for django-cfg apps: error/console capture with backend ingest, plus a floating debug panel. One package, one event stream.",
5
5
  "keywords": [
6
6
  "django",
@@ -51,18 +51,18 @@
51
51
  "test:watch": "vitest"
52
52
  },
53
53
  "peerDependencies": {
54
- "@djangocfg/api": "^2.1.669",
55
- "@djangocfg/ui-core": "^2.1.669",
54
+ "@djangocfg/api": "^2.1.670",
55
+ "@djangocfg/ui-core": "^2.1.670",
56
56
  "lucide-react": ">=0.400.0",
57
57
  "react": "^19.0.0",
58
58
  "react-dom": "^19.0.0",
59
59
  "zustand": "^5.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@djangocfg/api": "^2.1.669",
63
- "@djangocfg/eslint-config": "^2.1.669",
64
- "@djangocfg/typescript-config": "^2.1.669",
65
- "@djangocfg/ui-core": "^2.1.669",
62
+ "@djangocfg/api": "^2.1.670",
63
+ "@djangocfg/eslint-config": "^2.1.670",
64
+ "@djangocfg/typescript-config": "^2.1.670",
65
+ "@djangocfg/ui-core": "^2.1.670",
66
66
  "@storybook/react-vite": "^10.6.5",
67
67
  "@types/node": "^25.9.5",
68
68
  "@types/react": "19.3.0",
@@ -114,8 +114,10 @@ export function DevtoolsButton({ className, panel = {}, enabled }: DevtoolsButto
114
114
  className,
115
115
  )}
116
116
  onClick={togglePanel}
117
+ // The tooltip is hover-only; the icon alone gives the button no name (axe button-name, critical).
118
+ aria-label={errorCount > 0 ? `Open devtools (${errorCount} errors)` : 'Open devtools'}
117
119
  >
118
- <Bug className={cn('h-4 w-4', errorCount > 0 ? 'text-white' : 'text-white/80')} />
120
+ <Bug aria-hidden className={cn('h-4 w-4', errorCount > 0 ? 'text-white' : 'text-white/80')} />
119
121
  {errorCount > 0 && (
120
122
  // Same reason as the button fill: this badge is part of the
121
123
  // off-theme dev-indicator styling, and its red must match the