Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS-77 Headless Checkbox #53

Merged
merged 4 commits into from
Aug 27, 2024
Merged

DS-77 Headless Checkbox #53

merged 4 commits into from
Aug 27, 2024

Conversation

jay-kunaico
Copy link
Contributor

added checkbox implementation

Copy link

linear bot commented Aug 27, 2024

DS-77 Develop a Headless Checkbox Component

The checkbox should provide the essential functionality without predefined UI.

Requirements:

1. State Management: The component should maintain its own state (checked or unchecked) but also allow for external control via props if needed (for controlled components).

2. Accessibility: Ensure that the component is fully accessible, including proper ARIA attributes such as role="checkbox" and aria-checked. It should support keyboard navigation (space to toggle) and screen reader compatibility.

3. Event Handling: The component should emit events for state changes (onCheck) to allow parent components to react to changes in state.

4. Documentation: Provide detailed documentation on how to use the component, including examples of integrating it with different styles and handling state changes.

5. Testing: Include comprehensive unit and integration tests to ensure the component functions correctly in isolation and when integrated into larger systems. Tests should cover all functionalities, including accessibility features and event handling.

Copy link

changeset-bot bot commented Aug 27, 2024

⚠️ No Changeset found

Latest commit: c725dae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants