Added the prop "direction" (vertical|horizontal) to the RadioGroup and Checkbox group components.
CheckboxGroup:
- CheckboxGroup component supports the prop "direction" to control the direction of the options elements.
- Fixed checkbox behaviour when input is controlled
RadioGroup:
- RadioGroup component supports the prop "direction" t to control the direction of the options elements.
[IMPORTANT] PR Checklist
[x] I am aware of standards and conventions adopted in this repository, defined in the CONTRIBUTING.md file
PR conventions
Please make sure your PR complies with the following rules before submitting it.
[x] PR title follows the <type>(<scope>): <subject> structure
[x] The PR has been labeled according to the type of changes (e.g. enhancement, new component, bug).
NOTE
Some labels are used to generate release note entries: you can find the complete mapping between PR labels and release note categories here.
For a more detailed overview of PR labels, please refer to the dedicated CONTRIBUTING section.
Additional code checks
Based on your changes, some of these checks may not apply. Please make sure to check the relevant items in the list.
[x] Changes are covered by tests
[x] Changes to components are accessible and documented in the Storybook
[x] Typings have been updated
[x] New components are exported from the src/index.ts file
[x] New files include the Apache 2.0 License disclaimer
Description
Added the prop "direction" (vertical|horizontal) to the RadioGroup and Checkbox group components.
CheckboxGroup:
RadioGroup:
[IMPORTANT] PR Checklist
PR conventions
Please make sure your PR complies with the following rules before submitting it.
<type>(<scope>): <subject>
structure[x] The PR has been labeled according to the type of changes (e.g. enhancement, new component, bug).
Additional code checks
Based on your changes, some of these checks may not apply. Please make sure to check the relevant items in the list.
src/index.ts
file