refactor(sbb-selection-panel, sbb-checkbox, sbb-radio-button): split into regular and panel variants #2778
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2395
BREAKING CHANGE:
sbb-selection-panel
has been renamed tosbb-selection-expansion-panel
. Thesbb-checkbox
andsbb-radio-button
components cannot be used anymore withsbb-selection-expansion-panel
(does not apply for cases where they are slotted inside thecontent
slot). As a replacement, we introduce the new componentssbb-checkbox-panel
andsbb-radio-button-panel
, which could also be used standalone in cases where there is no content.sbb-checkbox-group
andsbb-radio-button-group
also support the panel variants. How to migrate?sbb-selection-panel
tosbb-selection-expansion-panel
.sbb-selection-expansion-panel
, replacesbb-checkbox
withsbb-checkbox-panel
andsbb-radio-button
withsbb-radio-button-panel
(does not apply for cases where they are slotted inside thecontent
slot of thesbb-selection-expansion-panel
)sbb-selection-panel
/sbb-selection-expansion-panel
anymore, but directly usesbb-checkbox-panel
orsbb-radio-button-panel
.Originally #2552, which needed to be reverted and now re-applied.