Skip to content

Commit

Permalink
Removing deprecated Primer::HeadingComponent (#1469)
Browse files Browse the repository at this point in the history
* Removing deprecated Primer::HeadingComponent

* Create calm-worms-hang.md
  • Loading branch information
jonrohan authored Oct 7, 2022
1 parent ae99c2e commit a344245
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-worms-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Removing the deprecated Primer::HeadingComponent component.
7 changes: 0 additions & 7 deletions app/components/primer/heading_component.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 @@ -11,7 +11,6 @@ module Deprecations
"Primer::BoxComponent" => "Primer::Box",
"Primer::CounterComponent" => "Primer::Beta::Counter",
"Primer::DropdownMenuComponent" => nil,
"Primer::HeadingComponent" => "Primer::Beta::Heading",
"Primer::IconButton" => "Primer::Beta::IconButton",
"Primer::Tooltip" => "Primer::Alpha::Tooltip"
}.freeze
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"Primer::Dropdown::Menu": "",
"Primer::Dropdown::Menu::Item": "",
"Primer::DropdownMenuComponent": "",
"Primer::HeadingComponent": "",
"Primer::HellipButton": "",
"Primer::IconButton": "",
"Primer::Image": "",
Expand Down
2 changes: 0 additions & 2 deletions static/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,6 @@
"dark": "dropdown-menu-dark"
}
},
"Primer::HeadingComponent": {
},
"Primer::HellipButton": {
},
"Primer::IconButton": {
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"Primer::Dropdown::Menu": "alpha",
"Primer::Dropdown::Menu::Item": "alpha",
"Primer::DropdownMenuComponent": "deprecated",
"Primer::HeadingComponent": "deprecated",
"Primer::HellipButton": "alpha",
"Primer::IconButton": "deprecated",
"Primer::Image": "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 @@ -106,7 +106,6 @@ def test_registered_components
"Primer::Alpha::ActionList::Item",
"Primer::Alpha::ActionList::Separator",
"Primer::Alpha::NavList::Section",
"Primer::HeadingComponent",
"Primer::CounterComponent",
"Primer::Component",
"Primer::OcticonsSymbolComponent",
Expand Down

0 comments on commit a344245

Please sign in to comment.