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

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

Merged
merged 7 commits into from
Jul 6, 2020

Conversation

patrickhlauke
Copy link
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
Copy link
Member Author

ping @mdo et al...

Copy link
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