File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10701070 "default" : " `:medium`" ,
10711071 "description" : " One of `:large` or `:medium`."
10721072 },
1073+ {
1074+ "name" : " close_label" ,
1075+ "type" : " String" ,
1076+ "default" : " `Close`" ,
1077+ "description" : " The aria-label text of the close \" x\" button."
1078+ },
10731079 {
10741080 "name" : " system_arguments" ,
10751081 "type" : " Hash" ,
13741380 {
13751381 "name" : " loading" ,
13761382 "type" : " Symbol" ,
1377- "default" : " `:eager `" ,
1383+ "default" : " `nil `" ,
13781384 "description" : " One of `:eager` or `:lazy`."
13791385 },
1386+ {
1387+ "name" : " accept" ,
1388+ "type" : " String" ,
1389+ "default" : " `nil`" ,
1390+ "description" : " What to send as the Accept header."
1391+ },
13801392 {
13811393 "name" : " system_arguments" ,
13821394 "type" : " Hash" ,
Original file line number Diff line number Diff line change 323323 "GeneratedSlotMethods" : " Primer::Alpha::Dialog::Footer::GeneratedSlotMethods"
324324 },
325325 "Primer::Alpha::Dialog::Header" : {
326+ "DEFAULT_CLOSE_LABEL" : " Close" ,
326327 "DEFAULT_VARIANT" : " medium" ,
327328 "GeneratedSlotMethods" : " Primer::Alpha::Dialog::Header::GeneratedSlotMethods" ,
328329 "VARIANT_MAPPINGS" : {
392393 "GeneratedSlotMethods" : " Primer::Alpha::Image::GeneratedSlotMethods"
393394 },
394395 "Primer::Alpha::IncludeFragment" : {
396+ "ALLOWED_LOADING_VALUES" : [
397+ " lazy" ,
398+ " eager"
399+ ],
400+ "DEFAULT_LOADING" : " eager" ,
395401 "GeneratedSlotMethods" : " Primer::Alpha::IncludeFragment::GeneratedSlotMethods"
396402 },
397403 "Primer::Alpha::Layout" : {
Original file line number Diff line number Diff line change 36463646 "color-contrast"
36473647 ]
36483648 }
3649+ },
3650+ {
3651+ "preview_path": "primer/alpha/dialog/with_header_close_button_label",
3652+ "name": "with_header_close_button_label",
3653+ "snapshot": "false",
3654+ "skip_rules": {
3655+ "wont_fix": [
3656+ "region"
3657+ ],
3658+ "will_fix": [
3659+ "color-contrast"
3660+ ]
3661+ }
3662+ },
3663+ {
3664+ "preview_path": "primer/alpha/dialog/without_header_close_button_label",
3665+ "name": "without_header_close_button_label",
3666+ "snapshot": "false",
3667+ "skip_rules": {
3668+ "wont_fix": [
3669+ "region"
3670+ ],
3671+ "will_fix": [
3672+ "color-contrast"
3673+ ]
3674+ }
36493675 }
36503676 ],
36513677 "subcomponents": [
36993725 "default": "`:medium`",
37003726 "description": "One of `:large` or `:medium`."
37013727 },
3728+ {
3729+ "name": "close_label",
3730+ "type": "String",
3731+ "default": "`Close`",
3732+ "description": "The aria-label text of the close \"x\" button."
3733+ },
37023734 {
37033735 "name": "system_arguments",
37043736 "type": "Hash",
47024734 {
47034735 "name": "loading",
47044736 "type": "Symbol",
4705- "default": "`:eager `",
4737+ "default": "`nil `",
47064738 "description": "One of `:eager` or `:lazy`."
47074739 },
4740+ {
4741+ "name": "accept",
4742+ "type": "String",
4743+ "default": "`nil`",
4744+ "description": "What to send as the Accept header."
4745+ },
47084746 {
47094747 "name": "system_arguments",
47104748 "type": "Hash",
Original file line number Diff line number Diff line change 37173717 " color-contrast"
37183718 ]
37193719 }
3720+ },
3721+ {
3722+ "preview_path" : " primer/alpha/dialog/with_header_close_button_label" ,
3723+ "name" : " with_header_close_button_label" ,
3724+ "snapshot" : " false" ,
3725+ "skip_rules" : {
3726+ "wont_fix" : [
3727+ " region"
3728+ ],
3729+ "will_fix" : [
3730+ " color-contrast"
3731+ ]
3732+ }
3733+ },
3734+ {
3735+ "preview_path" : " primer/alpha/dialog/without_header_close_button_label" ,
3736+ "name" : " without_header_close_button_label" ,
3737+ "snapshot" : " false" ,
3738+ "skip_rules" : {
3739+ "wont_fix" : [
3740+ " region"
3741+ ],
3742+ "will_fix" : [
3743+ " color-contrast"
3744+ ]
3745+ }
37203746 }
37213747 ]
37223748 },
You can’t perform that action at this time.
0 commit comments