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

(SP: 3) Create CheckBox component aligned with design system #2702

Closed
Mav-Ivan opened this issue Nov 15, 2024 · 0 comments · Fixed by #2841
Closed

(SP: 3) Create CheckBox component aligned with design system #2702

Mav-Ivan opened this issue Nov 15, 2024 · 0 comments · Fixed by #2841
Assignees
Labels

Comments

@Mav-Ivan
Copy link
Contributor

Mav-Ivan commented Nov 15, 2024

Description:

Implement a reusable CheckBox component that meets the design system standards. This component will be used throughout the application to maintain consistency in checkbox styles, behavior, and accessibility.

Figma

Requirements:

  • Styles:

    • Follow design system variables for colors, typography, padding, and other styles.
    • Support different variants (check, middle).
    • Ensure hover, focus, active, and disabled states are defined according to the design system.
    • Provide a label for checkbox
  • Props:

    • variant: Defines type (check, middle).
    • label: Provide a label for the checkbox.
    • labelPosition: Supports different positions (bottom, top, end)
    • color: Supports different colors (primary, secondary, error, success)
    • size: Supports different sizes (sm, md, lg).
    • loading: Disables the checkbox when true. When loading, the checkbox shouldn't shrink or change its size compared to its default state
    • disabled: Disables the checkbox when true.

Don't forget to cover component with tests and add to the storybook

@Mav-Ivan Mav-Ivan added Frontend part feature component design system task related to scss design system labels Nov 15, 2024
@github-project-automation github-project-automation bot moved this to Project Backlog in SpaceToStudy Nov 15, 2024
@nebby2105 nebby2105 self-assigned this Nov 15, 2024
@nebby2105 nebby2105 moved this from Project Backlog to In progress in SpaceToStudy Nov 15, 2024
@nebby2105 nebby2105 linked a pull request Nov 21, 2024 that will close this issue
3 tasks
@nebby2105 nebby2105 linked a pull request Nov 21, 2024 that will close this issue
3 tasks
@nebby2105 nebby2105 moved this from In progress to Merge request in SpaceToStudy Nov 22, 2024
@github-project-automation github-project-automation bot moved this from Merge request to Done in SpaceToStudy Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment