Skip to content

Commit

Permalink
Delete the deprecated Primer::ButtonGroup component (#1372)
Browse files Browse the repository at this point in the history
* Removing deprecated ButtonGroup

* docs: build docs

* Create eight-pants-yell.md

Co-authored-by: Actions Auto Build <[email protected]>
  • Loading branch information
jonrohan and actions-user committed Sep 15, 2022
1 parent fab7940 commit bcac599
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-pants-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Delete the deprecated Primer::ButtonGroup component
7 changes: 0 additions & 7 deletions app/components/primer/button_group.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/primer/deprecations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module Deprecations
"Primer::BaseButton" => "Primer::Beta::BaseButton",
"Primer::BlankslateComponent" => "Primer::Beta::Blankslate",
"Primer::BoxComponent" => "Primer::Box",
"Primer::ButtonGroup" => "Primer::Beta::ButtonGroup",
"Primer::CloseButton" => "Primer::Beta::CloseButton",
"Primer::CounterComponent" => "Primer::Beta::Counter",
"Primer::DetailsComponent" => "Primer::Beta::Details",
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"Primer::Box": "",
"Primer::BoxComponent": "",
"Primer::ButtonComponent": "",
"Primer::ButtonGroup": "",
"Primer::ClipboardCopy": "",
"Primer::CloseButton": "",
"Primer::ConditionalWrapper": "",
Expand Down
2 changes: 0 additions & 2 deletions static/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,6 @@
"medium"
]
},
"Primer::ButtonGroup": {
},
"Primer::ClipboardCopy": {
},
"Primer::CloseButton": {
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"Primer::Box": "stable",
"Primer::BoxComponent": "deprecated",
"Primer::ButtonComponent": "beta",
"Primer::ButtonGroup": "deprecated",
"Primer::ClipboardCopy": "beta",
"Primer::CloseButton": "deprecated",
"Primer::ConditionalWrapper": "alpha",
Expand Down
1 change: 0 additions & 1 deletion test/components/component_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def test_registered_components
"Primer::Content",
"Primer::BoxComponent",
"Primer::BaseButton",
"Primer::ButtonGroup"
]

primer_component_files_count = Dir["app/components/**/*.rb"].count { |p| p.exclude?("/experimental/") }
Expand Down

0 comments on commit bcac599

Please sign in to comment.