File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 30803080 "default" : " `false`" ,
30813081 "description" : " Whether or not to request a turbo stream and render the response as such."
30823082 },
3083+ {
3084+ "name" : " autofocus" ,
3085+ "type" : " Boolean" ,
3086+ "default" : " `nil`" ,
3087+ "description" : " Whether switch should be autofocused when rendered."
3088+ },
30833089 {
30843090 "name" : " system_arguments" ,
30853091 "type" : " Hash" ,
Original file line number Diff line number Diff line change 95979597 "default": "`false`",
95989598 "description": "Whether or not to request a turbo stream and render the response as such."
95999599 },
9600+ {
9601+ "name": "autofocus",
9602+ "type": "Boolean",
9603+ "default": "`nil`",
9604+ "description": "Whether switch should be autofocused when rendered."
9605+ },
96009606 {
96019607 "name": "system_arguments",
96029608 "type": "Hash",
97789784 "color-contrast"
97799785 ]
97809786 }
9787+ },
9788+ {
9789+ "preview_path": "primer/alpha/toggle_switch/with_autofocus",
9790+ "name": "with_autofocus",
9791+ "snapshot": "false",
9792+ "skip_rules": {
9793+ "wont_fix": [
9794+ "region",
9795+ "button-name"
9796+ ],
9797+ "will_fix": [
9798+ "color-contrast"
9799+ ]
9800+ }
97819801 }
97829802 ],
97839803 "subcomponents": [
Original file line number Diff line number Diff line change 73657365 " color-contrast"
73667366 ]
73677367 }
7368+ },
7369+ {
7370+ "preview_path" : " primer/alpha/toggle_switch/with_autofocus" ,
7371+ "name" : " with_autofocus" ,
7372+ "snapshot" : " false" ,
7373+ "skip_rules" : {
7374+ "wont_fix" : [
7375+ " region" ,
7376+ " button-name"
7377+ ],
7378+ "will_fix" : [
7379+ " color-contrast"
7380+ ]
7381+ }
73687382 }
73697383 ]
73707384 },
You can’t perform that action at this time.
0 commit comments