Skip to content

Commit

Permalink
Deleting deprecated Primer::Image component (#1624)
Browse files Browse the repository at this point in the history
Co-authored-by: simurai <[email protected]>
  • Loading branch information
jonrohan and simurai authored Nov 22, 2022
1 parent 7643e51 commit 61c8a7d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-geckos-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Deleting deprecated Primer::Image component
7 changes: 0 additions & 7 deletions app/components/primer/image.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 @@ -7,7 +7,6 @@ module Deprecations
DEPRECATED_COMPONENTS = {
"Primer::LabelComponent" => "Primer::Beta::Label",
"Primer::LinkComponent" => "Primer::Beta::Link",
"Primer::Image" => "Primer::Alpha::Image",
"Primer::Alpha::AutoComplete" => "Primer::Beta::AutoComplete",
"Primer::Alpha::AutoComplete::Item" => "Primer::Beta::AutoComplete::Item",
"Primer::BlankslateComponent" => "Primer::Beta::Blankslate",
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"Primer::DropdownMenuComponent": "",
"Primer::HellipButton": "",
"Primer::IconButton": "",
"Primer::Image": "",
"Primer::LabelComponent": "",
"Primer::LayoutComponent": "",
"Primer::LinkComponent": "",
Expand Down
2 changes: 0 additions & 2 deletions static/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,6 @@
"danger"
]
},
"Primer::Image": {
},
"Primer::LabelComponent": {
},
"Primer::LayoutComponent": {
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"Primer::DropdownMenuComponent": "deprecated",
"Primer::HellipButton": "alpha",
"Primer::IconButton": "deprecated",
"Primer::Image": "deprecated",
"Primer::LabelComponent": "deprecated",
"Primer::LayoutComponent": "alpha",
"Primer::LinkComponent": "deprecated",
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 @@ -112,7 +112,6 @@ def test_registered_components
ignored_components = [
"Primer::LabelComponent",
"Primer::LinkComponent",
"Primer::Image",
"Primer::Alpha::ActionList::Heading",
"Primer::Alpha::ActionList::Item",
"Primer::Alpha::ActionList::Separator",
Expand Down

0 comments on commit 61c8a7d

Please sign in to comment.