Skip to content

Commit

Permalink
Removing deprecated HiddenTextExpander (#1466)
Browse files Browse the repository at this point in the history
* Removing deprecated HiddenTextExpander

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

Removing the deprecated Primer::HiddenTextExpander component.
7 changes: 0 additions & 7 deletions app/components/primer/hidden_text_expander.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 @@ -14,7 +14,6 @@ module Deprecations
"Primer::DetailsComponent" => "Primer::Beta::Details",
"Primer::DropdownMenuComponent" => nil,
"Primer::HeadingComponent" => "Primer::Beta::Heading",
"Primer::HiddenTextExpander" => "Primer::Alpha::HiddenTextExpander",
"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 @@ -62,7 +62,6 @@
"Primer::DropdownMenuComponent": "",
"Primer::HeadingComponent": "",
"Primer::HellipButton": "",
"Primer::HiddenTextExpander": "",
"Primer::IconButton": "",
"Primer::Image": "",
"Primer::ImageCrop": "",
Expand Down
2 changes: 0 additions & 2 deletions static/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,6 @@
},
"Primer::HellipButton": {
},
"Primer::HiddenTextExpander": {
},
"Primer::IconButton": {
"DEFAULT_SCHEME": "default",
"SCHEME_MAPPINGS": {
Expand Down
1 change: 0 additions & 1 deletion static/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"Primer::DropdownMenuComponent": "deprecated",
"Primer::HeadingComponent": "deprecated",
"Primer::HellipButton": "alpha",
"Primer::HiddenTextExpander": "deprecated",
"Primer::IconButton": "deprecated",
"Primer::Image": "alpha",
"Primer::ImageCrop": "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::HiddenTextExpander",
"Primer::HeadingComponent",
"Primer::CloseButton",
"Primer::CounterComponent",
Expand Down

0 comments on commit 9b5cff1

Please sign in to comment.