Skip to content

Commit 66208aa

Browse files
committed
Generating static files
1 parent a3c8006 commit 66208aa

4 files changed

Lines changed: 84 additions & 2 deletions

File tree

static/arguments.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,12 @@
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",
@@ -1374,9 +1380,15 @@
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",

static/constants.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@
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": {
@@ -392,6 +393,11 @@
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": {

static/info_arch.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3646,6 +3646,32 @@
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": [
@@ -3699,6 +3725,12 @@
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",
@@ -4702,9 +4734,15 @@
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",

static/previews.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3717,6 +3717,32 @@
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
},

0 commit comments

Comments
 (0)