Skip to content

Commit

Permalink
Remove deprecated params added for autocomplete beta (#1239)
Browse files Browse the repository at this point in the history
* remove params added for autocomplete beta

* Create rare-tigers-melt.md
  • Loading branch information
langermank committed Jul 28, 2022
1 parent 89627d3 commit bc9e838
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-tigers-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Remove deprecated params added for autocomplete beta
10 changes: 0 additions & 10 deletions lib/rubocop/cop/primer/deprecated_arguments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ class DeprecatedArguments < BaseCop
# }
#
DEPRECATED = {
is_label_inline: nil,
with_icon: nil,
is_label_visible: {
false => "visually_hide_label: true",
true => "visually_hide_label: false"
},
is_clearable: {
false => "show_clear_button: false",
true => "show_clear_button: true"
},
bg: {
white: "bg: :primary",
gray_light: "bg: :secondary",
Expand Down

0 comments on commit bc9e838

Please sign in to comment.