Skip to content

Commit

Permalink
Removing deprecated ImageCrop component
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Oct 28, 2022
1 parent 03008a4 commit ac786d9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions app/components/primer/image_crop.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::ImageCrop" => "Primer::Alpha::ImageCrop",
"Primer::Image" => "Primer::Alpha::Image",
"Primer::Alpha::AutoComplete" => "Primer::Beta::AutoComplete",
"Primer::Alpha::AutoComplete::Item" => "Primer::Beta::AutoComplete::Item",
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"Primer::HellipButton": "",
"Primer::IconButton": "",
"Primer::Image": "",
"Primer::ImageCrop": "",
"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 @@ -783,8 +783,6 @@
},
"Primer::Image": {
},
"Primer::ImageCrop": {
},
"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 @@ -68,7 +68,6 @@
"Primer::HellipButton": "alpha",
"Primer::IconButton": "deprecated",
"Primer::Image": "deprecated",
"Primer::ImageCrop": "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::ImageCrop",
"Primer::Image",
"Primer::Alpha::ActionList::Heading",
"Primer::Alpha::ActionList::Item",
Expand Down

0 comments on commit ac786d9

Please sign in to comment.