Skip to content

Docs: separate button group out of checks/radios, expand button groups page#31201

Merged
patrickhlauke merged 7 commits intomainfrom
v5-button-group-toggle-buttons
Jul 6, 2020
Merged

Docs: separate button group out of checks/radios, expand button groups page#31201
patrickhlauke merged 7 commits intomainfrom
v5-button-group-toggle-buttons

Conversation

@patrickhlauke
Copy link
Copy Markdown
Member

@patrickhlauke patrickhlauke commented Jun 29, 2020

In forms/checks-radios:

  • give examples of the pure toggle checks and radios, without the button group class. show that these work fine without .btn-group, but still cross-reference it
  • move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.

In components/button-groups:

  • expand button group page description as it's not just single line, but vertical as well
  • add more colour ... .btn-secondary is just dull and uninspiring
  • new section to showcase "Checkbox and radio button groups"
  • add a mixed styles example
  • add an example of vertical radio button group

follow-up from #30650 (comment) which suggested porting some of the docs changes trialled in #28463

Previews: checks & radios toggle buttons / button group

- give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it
- move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.
as it's not just single line, but vertical as well
- add more colour ... `.btn-secondary` is just dull and uninspiring
- new section to showcase "Checkbox and radio button groups"
- add a mixed styles example
- add an example of vertical radio button group
@patrickhlauke patrickhlauke force-pushed the v5-button-group-toggle-buttons branch from 6e84cce to 42d25b5 Compare June 29, 2020 20:44
@patrickhlauke patrickhlauke requested review from XhmikosR and ysds July 3, 2020 09:07
@patrickhlauke
Copy link
Copy Markdown
Member Author

ping @mdo et al...

Copy link
Copy Markdown
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Noticed though on the button group page, the last example under the vertical variations has an un-rounded top. Unrelated, but wanted to mention.

@patrickhlauke patrickhlauke merged commit 828366d into main Jul 6, 2020
@patrickhlauke patrickhlauke deleted the v5-button-group-toggle-buttons branch July 6, 2020 07:52
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
…s page (twbs#31201)

* Keep checks/radio toggle buttons on topic

- give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it
- move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.

* Expand button group description

as it's not just single line, but vertical as well

* Expand button group examples

- add more colour ... `.btn-secondary` is just dull and uninspiring
- new section to showcase "Checkbox and radio button groups"
- add a mixed styles example
- add an example of vertical radio button group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants