Skip to content

Commit 8476d25

Browse files
committed
refactor: remove unused accessibility composable and keyboard navigation, update styles for focus visibility
1 parent 78a2fdd commit 8476d25

File tree

11 files changed

+161
-762
lines changed

11 files changed

+161
-762
lines changed

README.md

Lines changed: 131 additions & 393 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@
5959
"prettier --write"
6060
]
6161
},
62-
"dependencies": {
63-
"focus-visible": "^5.2.1"
64-
},
6562
"devDependencies": {
6663
"@babel/core": "^7.27.1",
6764
"@babel/preset-typescript": "^7.27.1",

pnpm-lock.yaml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/composables/useAccessibility.ts

Lines changed: 0 additions & 213 deletions
This file was deleted.

src/components/composables/useBundleOptimizations.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,12 @@ export const useBundleOptimizations = () => {
4848
switch (componentName) {
4949
case 'TouchOptimizations':
5050
return await import('./useTouchOptimizations');
51-
case 'Accessibility':
52-
return await import('./useAccessibility');
5351
case 'Animations':
5452
return await import('./useAnimations');
5553
case 'Performance':
5654
return await import('./usePerformanceOptimizations');
5755
case 'ErrorHandling':
5856
return await import('./useErrorHandling');
59-
case 'KeyboardNavigation':
60-
return await import('./useKeyboardNavigation');
6157
default:
6258
throw new Error(`Unknown component: ${componentName}`);
6359
}

src/components/composables/useKeyboardNavigation.ts

Lines changed: 0 additions & 118 deletions
This file was deleted.

src/components/index.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ $hover-shadow:
66
0 20px 25px -5px rgba(0, 0, 0, 0.1),
77
0 8px 10px -6px rgba(0, 0, 0, 0.1);
88

9-
.js-focus-visible :focus:not(.focus-visible) {
10-
outline: none;
11-
}
12-
139
.menu-head-wrapper {
1410
position: fixed;
1511
z-index: 9999;
@@ -168,7 +164,7 @@ $hover-shadow:
168164
}
169165
}
170166

171-
@keyframes slideIn {
167+
@keyframes slide-in {
172168
0% {
173169
opacity: 0;
174170
transform: scale(0.9) translateY(-8px);

0 commit comments

Comments
 (0)