Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/tanstack-start-tailwind-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"eslint": "^10.1.0",
"prettier": "^3.8.1",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.3",
"typescript": "^6.0.2",
"typescript-eslint": "8.58.0",
"vite": "^8.0.1"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"tailwindcss": "4.2.2",
"terser": "5.46.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"typescript": "6.0.2",
"vite": "8.0.5",
"vitest": "4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"react": "19.2.4",
"react-dom": "19.2.4",
"react-router": "7.13.2",
"typescript": "5.9.3",
"typescript": "6.0.2",
"vitest-browser-react": "2.1.0"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/labelable-provider/useLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export function focusElementWithVisible(element: HTMLElement) {
element.focus({
// Available from Chrome 144+ (January 2026).
// Safari and Firefox already support it.
// @ts-expect-error not available in types yet
focusVisible: true,
});
}
1 change: 0 additions & 1 deletion packages/react/src/select/root/SelectRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ export function SelectRoot<Value, Multiple extends boolean | undefined = false>(
// Move focus to the trigger element when the hidden input is focused.
store.state.triggerElement?.focus({
// Supported in Chrome from 144 (January 2026)
// @ts-expect-error - focusVisible is not yet in the lib.dom.d.ts
focusVisible: true,
});
},
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/slider/control/SliderControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export const SliderControl = React.forwardRef(function SliderControl(
preventScroll: true,
// Prevent pointer-driven focus rings in browsers that support this option.
// Supported in Chrome from 144+.
// @ts-expect-error - focusVisible is not yet in the lib.dom.d.ts
focusVisible: false,
});
});
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/slider/thumb/SliderThumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ export const SliderThumb = React.forwardRef(function SliderThumb(
preventScroll: true,
// Show `:focus-visible` after keyboard interaction, even if the
// thumb was previously focused by a pointer.
// @ts-expect-error - focusVisible is not yet in the lib.dom.d.ts
focusVisible: true,
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/use-sync-external-store": "1.5.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"typescript": "5.9.3"
"typescript": "6.0.2"
},
"peerDependencies": {
"@types/react": "^17 || ^18 || ^19",
Expand Down
2 changes: 1 addition & 1 deletion playground/vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"eslint-plugin-react-refresh": "0.5.2",
"globals": "17.4.0",
"tailwindcss": "4.2.2",
"typescript": "5.9.3",
"typescript": "6.0.2",
"typescript-eslint": "8.58.0",
"vite": "8.0.5"
}
Expand Down
1 change: 0 additions & 1 deletion playground/vite-app/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"module": "ESNext",
"types": ["vite/client", "node"],
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@base-ui/react": ["../../packages/react/src/index.ts"],
"@base-ui/react/*": ["../../packages/react/src/*"],
Expand Down
244 changes: 174 additions & 70 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading