-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(sbb-tag, sbb-tag-group): implement native form support #3379
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, some comment added
@@ -42,7 +42,7 @@ $active: ':active, [data-active]'; | |||
} | |||
|
|||
// Active state | |||
:host([checked]) { | |||
:host([aria-pressed='true']) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there issues to have reflect=true in the checked property?
); | ||
}); | ||
|
||
it('updates form in exlusive mode', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it('updates form in exlusive mode', async () => { | |
it('updates form in exclusive mode', async () => { |
@@ -105,6 +105,7 @@ that communicates the collective meaning of all `sbb-tag`s. | |||
|
|||
| Name | Attribute | Privacy | Type | Default | Description | | |||
| ------------------------ | -------------------------- | ------- | -------------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | |||
| `disabled` | `disabled` | public | `boolean` | `false` | Whether the component is disabled. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add a note in style or state saying that the component can be disabled
Preflight Checklist
Issue
This PR Closes #3157
Pull request checklist
Please check if your PR fulfills the following requirements:
See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:
Browsers
I tested the build on the following browsers:
Screen readers
I tested the build on the following browsers:
Pull request type
Please check the type of change your PR introduces:
Does this introduce a breaking change?
Other information