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
1 change: 1 addition & 0 deletions packages/@react-spectrum/s2/src/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export const box = style<RenderProps>({
});

export const iconStyles = style({
pointerEvents: 'none',
'--iconPrimary': {
type: 'fill',
value: {
Expand Down
3 changes: 3 additions & 0 deletions packages/dev/s2-docs/pages/react-aria/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {LinkButton} from '../../src/Link';
import HomeHeader from './HomeHeader';
import {Video} from '../../src/Video';
import videoUrl from 'url:./assets/website.mp4';
import {SettingsContextProvider} from '../../src/SettingsProvider';

export const section = 'Overview';
export const title = 'Home';
Expand Down Expand Up @@ -75,6 +76,7 @@ export const description = 'Accessible, high quality UI components and hooks for
)}} />
</head>
<body className="m-0" style={{'--s2-container-bg': 'light-dark(white, black)'}}>
<SettingsContextProvider>
<header className="relative header-background isolate pt-20 md:pt-32">
<HomeHeader />
<section className="p-4 md:p-6 box-border overflow-clip bg-white dark:bg-zinc-800/80 dark:backdrop-saturate-200 card-shadow w-fit max-w-[calc(100%-40px)] mx-auto rounded-xl flex items-center flex-col xl:flex-row gap-8">
Expand Down Expand Up @@ -646,6 +648,7 @@ export const description = 'Accessible, high quality UI components and hooks for
<li><a href="//www.adobe.com/privacy/ca-rights.html" target="_blank" className="underline text-zinc-500 dark:text-zinc-400">Do not sell my personal information</a></li>
</ul>
</footer>
</SettingsContextProvider>
</body>
</Provider>
</RouterWrapperServer>
2 changes: 1 addition & 1 deletion starters/tailwind/src/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const boxStyles = tv({
}
});

const iconStyles = 'w-3.5 h-3.5 text-white group-disabled:text-neutral-400 dark:text-neutral-900 dark:group-disabled:text-neutral-600 forced-colors:text-[HighlightText]';
const iconStyles = 'w-3.5 h-3.5 text-white group-disabled:text-neutral-400 dark:text-neutral-900 dark:group-disabled:text-neutral-600 forced-colors:text-[HighlightText] pointer-events-none';

export function Checkbox(props: CheckboxProps) {
return (
Expand Down
Loading