Skip to content

Commit 68103e2

Browse files
committed
Generating static files
1 parent 5ba81bb commit 68103e2

4 files changed

Lines changed: 103 additions & 2 deletions

File tree

static/classes.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,18 @@
441441
"PageHeader-breadcrumbs": [
442442
"Primer::OpenProject::PageHeader"
443443
],
444+
"PageHeader-contextBar": [
445+
"Primer::OpenProject::PageHeader"
446+
],
447+
"PageHeader-contextBarActions": [
448+
"Primer::OpenProject::PageHeader"
449+
],
444450
"PageHeader-description": [
445451
"Primer::OpenProject::PageHeader"
446452
],
453+
"PageHeader-parentLink": [
454+
"Primer::OpenProject::PageHeader"
455+
],
447456
"PageHeader-title": [
448457
"Primer::OpenProject::PageHeader"
449458
],

static/constants.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,9 +1370,25 @@
13701370
"medium",
13711371
"large"
13721372
],
1373+
"DEFAULT_BACK_BUTTON_DISPLAY": [
1374+
"none",
1375+
"flex"
1376+
],
13731377
"DEFAULT_BACK_BUTTON_ICON": "arrow-left",
13741378
"DEFAULT_BACK_BUTTON_SIZE": "medium",
1379+
"DEFAULT_BREADCRUMBS_DISPLAY": [
1380+
"none",
1381+
"flex"
1382+
],
1383+
"DEFAULT_CONTEXT_BAR_ACTIONS_DISPLAY": [
1384+
"block",
1385+
"none"
1386+
],
13751387
"DEFAULT_HEADER_VARIANT": "medium",
1388+
"DEFAULT_PARENT_LINK_DISPLAY": [
1389+
"block",
1390+
"none"
1391+
],
13761392
"HEADER_VARIANT_OPTIONS": [
13771393
"large",
13781394
"medium"

static/info_arch.json

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15473,9 +15473,21 @@
1547315473
}
1547415474
]
1547515475
},
15476+
{
15477+
"name": "context_bar_actions",
15478+
"description": "Context Bar Actions\nBy default shown on narrow screens. Can be overridden with system_argument: display",
15479+
"parameters": [
15480+
{
15481+
"name": "system_arguments",
15482+
"type": "Hash",
15483+
"default": "N/A",
15484+
"description": "{{link_to_system_arguments_docs}}"
15485+
}
15486+
]
15487+
},
1547615488
{
1547715489
"name": "back_button",
15478-
"description": "Optional back button prepend the title",
15490+
"description": "Optional back button prepend the title\nBy default shown on wider screens. Can be overridden with system_argument: display",
1547915491
"parameters": [
1548015492
{
1548115493
"name": "size",
@@ -15497,9 +15509,21 @@
1549715509
}
1549815510
]
1549915511
},
15512+
{
15513+
"name": "parent_link",
15514+
"description": "Optional parent link in the context area\nBy default shown on narrow screens. Can be overridden with system_argument: display",
15515+
"parameters": [
15516+
{
15517+
"name": "system_arguments",
15518+
"type": "Hash",
15519+
"default": "N/A",
15520+
"description": "{{link_to_system_arguments_docs}}"
15521+
}
15522+
]
15523+
},
1550015524
{
1550115525
"name": "breadcrumbs",
15502-
"description": "Optional breadcrumbs above the title row",
15526+
"description": "Optional breadcrumbs above the title row\nBy default shown on wider screens. Can be overridden with system_argument: display",
1550315527
"parameters": [
1550415528
{
1550515529
"name": "items",
@@ -15610,6 +15634,32 @@
1561015634
"color-contrast"
1561115635
]
1561215636
}
15637+
},
15638+
{
15639+
"preview_path": "primer/open_project/page_header/parent_link",
15640+
"name": "parent_link",
15641+
"snapshot": "false",
15642+
"skip_rules": {
15643+
"wont_fix": [
15644+
"region"
15645+
],
15646+
"will_fix": [
15647+
"color-contrast"
15648+
]
15649+
}
15650+
},
15651+
{
15652+
"preview_path": "primer/open_project/page_header/context_bar_actions",
15653+
"name": "context_bar_actions",
15654+
"snapshot": "false",
15655+
"skip_rules": {
15656+
"wont_fix": [
15657+
"region"
15658+
],
15659+
"will_fix": [
15660+
"color-contrast"
15661+
]
15662+
}
1561315663
}
1561415664
],
1561515665
"subcomponents": [

static/previews.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4781,6 +4781,32 @@
47814781
"color-contrast"
47824782
]
47834783
}
4784+
},
4785+
{
4786+
"preview_path": "primer/open_project/page_header/parent_link",
4787+
"name": "parent_link",
4788+
"snapshot": "false",
4789+
"skip_rules": {
4790+
"wont_fix": [
4791+
"region"
4792+
],
4793+
"will_fix": [
4794+
"color-contrast"
4795+
]
4796+
}
4797+
},
4798+
{
4799+
"preview_path": "primer/open_project/page_header/context_bar_actions",
4800+
"name": "context_bar_actions",
4801+
"snapshot": "false",
4802+
"skip_rules": {
4803+
"wont_fix": [
4804+
"region"
4805+
],
4806+
"will_fix": [
4807+
"color-contrast"
4808+
]
4809+
}
47844810
}
47854811
]
47864812
},

0 commit comments

Comments
 (0)