Skip to content

Commit

Permalink
Removing deprecated Primer::BoxComponent and box_component.rb file (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Jan 23, 2023
1 parent b8b0308 commit 0541d18
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-items-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Removing deprecated box_component.rb file `Primer::BoxComponent`
7 changes: 0 additions & 7 deletions app/components/primer/box_component.rb

This file was deleted.

4 changes: 0 additions & 4 deletions lib/primer/deprecations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ deprecations:
autocorrect: true
replacement: "Primer::Beta::Blankslate"

- component: "Primer::BoxComponent"
autocorrect: true
replacement: "Primer::Box"

- component: "Primer::ButtonComponent"
autocorrect: false
replacement: "Primer::Beta::Button"
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"Primer::Beta::Truncate::TruncateText": "",
"Primer::BlankslateComponent": "",
"Primer::Box": "",
"Primer::BoxComponent": "",
"Primer::ButtonComponent": "",
"Primer::ClipboardCopy": "",
"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 @@ -1000,8 +1000,6 @@
},
"Primer::Box": {
},
"Primer::BoxComponent": {
},
"Primer::ButtonComponent": {
"DEFAULT_SCHEME": "default",
"DEFAULT_SIZE": "medium",
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"Primer::Beta::Truncate::TruncateText": "alpha",
"Primer::BlankslateComponent": "deprecated",
"Primer::Box": "stable",
"Primer::BoxComponent": "deprecated",
"Primer::ButtonComponent": "deprecated",
"Primer::ClipboardCopy": "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 @@ -131,7 +131,6 @@ def test_registered_components
"Primer::Component",
"Primer::OcticonsSymbolComponent",
"Primer::Content",
"Primer::BoxComponent",
"Primer::PopoverComponent",
"Primer::Dropdown",
"Primer::Dropdown::Menu"
Expand Down

0 comments on commit 0541d18

Please sign in to comment.