Skip to content

Commit

Permalink
Removing deprecated Primer::ClipboardCopy component and clipboard_cop…
Browse files Browse the repository at this point in the history
…y.rb file (#1772)
  • Loading branch information
jonrohan authored Jan 23, 2023
1 parent 0541d18 commit 9dfec86
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-penguins-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Removing deprecated Primer::ClipboardCopy component and clipboard_copy.rb file
7 changes: 0 additions & 7 deletions app/components/primer/clipboard_copy.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 @@ -22,10 +22,6 @@ deprecations:
replacement: "Primer::Beta::Button"
guide: "https://primer.style/view-components/guides/primer_button_component"

- component: "Primer::ClipboardCopy"
autocorrect: true
replacement: "Primer::Beta::ClipboardCopy"

- component: "Primer::DropdownMenuComponent"
autocorrect: false
replacement: "Primer::Beta::Dropdown"
Expand Down
1 change: 0 additions & 1 deletion static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"Primer::BlankslateComponent": "",
"Primer::Box": "",
"Primer::ButtonComponent": "",
"Primer::ClipboardCopy": "",
"Primer::ConditionalWrapper": "",
"Primer::Content": "",
"Primer::Dropdown": "",
Expand Down
2 changes: 0 additions & 2 deletions static/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -1029,8 +1029,6 @@
"medium"
]
},
"Primer::ClipboardCopy": {
},
"Primer::ConditionalWrapper": {
},
"Primer::Content": {
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"Primer::BlankslateComponent": "deprecated",
"Primer::Box": "stable",
"Primer::ButtonComponent": "deprecated",
"Primer::ClipboardCopy": "deprecated",
"Primer::ConditionalWrapper": "alpha",
"Primer::Content": "stable",
"Primer::Dropdown": "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 @@ -121,7 +121,6 @@ def test_registered_components
"Primer::OcticonComponent",
"Primer::Markdown",
"Primer::MenuComponent",
"Primer::ClipboardCopy",
"Primer::LabelComponent",
"Primer::LinkComponent",
"Primer::Alpha::ActionList::Heading",
Expand Down

0 comments on commit 9dfec86

Please sign in to comment.