Skip to content

Commit 98c3106

Browse files
committed
Commit generated static/*.json files
1 parent 7b9055d commit 98c3106

3 files changed

Lines changed: 63 additions & 27 deletions

File tree

static/arguments.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6188,25 +6188,25 @@
61886188
{
61896189
"name": "filter_input_arguments",
61906190
"type": "Hash",
6191-
"default": "`DEFAULT_FILTER_INPUT_ARGUMENTS.dup`",
6191+
"default": "`{}`",
61926192
"description": "Arguments that will be passed to the [TextField](/components/alpha/textfield) component."
61936193
},
61946194
{
61956195
"name": "filter_mode_control_arguments",
61966196
"type": "Hash",
6197-
"default": "`DEFAULT_FILTER_MODE_CONTROL_ARGUMENTS.dup`",
6197+
"default": "`{}`",
61986198
"description": "Arguments that will be passed to the [SegmentedControl](/components/alpha/segmentedcontrol) component."
61996199
},
62006200
{
62016201
"name": "include_sub_items_check_box_arguments",
62026202
"type": "Hash",
6203-
"default": "`DEFAULT_INCLUDE_SUB_ITEMS_CHECK_BOX_ARGUMENTS.dup`",
6203+
"default": "`{}`",
62046204
"description": "Arguments that will be passed to the [CheckBox](/components/alpha/checkbox) component."
62056205
},
62066206
{
62076207
"name": "no_results_node_arguments",
62086208
"type": "Hash",
6209-
"default": "`DEFAULT_NO_RESULTS_NODE_ARGUMENTS.dup`",
6209+
"default": "`{}`",
62106210
"description": "Arguments that will be passed to a [TreeView::LeafNode](/components/alpha/treeviewleafnode) component that appears when no items match the filter criteria."
62116211
}
62126212
]
@@ -6600,12 +6600,12 @@
66006600
]
66016601
},
66026602
{
6603-
"component": "OpenProject::SubHeader::QuickActionComponent",
6603+
"component": "OpenProject::SubHeader::QuickAction",
66046604
"status": "open_project",
66056605
"a11y_reviewed": false,
6606-
"short_name": "OpenProjectSubHeaderQuickActionComponent",
6607-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_filter.rb",
6608-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_filter/default/",
6606+
"short_name": "OpenProjectSubHeaderQuickAction",
6607+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_action_component.rb",
6608+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_action/default/",
66096609
"parameters": []
66106610
},
66116611
{

static/info_arch.json

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20383,25 +20383,25 @@
2038320383
{
2038420384
"name": "filter_input_arguments",
2038520385
"type": "Hash",
20386-
"default": "`DEFAULT_FILTER_INPUT_ARGUMENTS.dup`",
20386+
"default": "`{}`",
2038720387
"description": "Arguments that will be passed to the {{#link_to_component}}Primer::Alpha::TextField{{/link_to_component}} component."
2038820388
},
2038920389
{
2039020390
"name": "filter_mode_control_arguments",
2039120391
"type": "Hash",
20392-
"default": "`DEFAULT_FILTER_MODE_CONTROL_ARGUMENTS.dup`",
20392+
"default": "`{}`",
2039320393
"description": "Arguments that will be passed to the {{#link_to_component}}Primer::Alpha::SegmentedControl{{/link_to_component}} component."
2039420394
},
2039520395
{
2039620396
"name": "include_sub_items_check_box_arguments",
2039720397
"type": "Hash",
20398-
"default": "`DEFAULT_INCLUDE_SUB_ITEMS_CHECK_BOX_ARGUMENTS.dup`",
20398+
"default": "`{}`",
2039920399
"description": "Arguments that will be passed to the {{#link_to_component}}Primer::Alpha::CheckBox{{/link_to_component}} component."
2040020400
},
2040120401
{
2040220402
"name": "no_results_node_arguments",
2040320403
"type": "Hash",
20404-
"default": "`DEFAULT_NO_RESULTS_NODE_ARGUMENTS.dup`",
20404+
"default": "`{}`",
2040520405
"description": "Arguments that will be passed to a {{#link_to_component}}Primer::Alpha::TreeView::LeafNode{{/link_to_component}} component that appears when no items match the filter criteria."
2040620406
}
2040720407
],
@@ -21067,6 +21067,19 @@
2106721067
"color-contrast"
2106821068
]
2106921069
}
21070+
},
21071+
{
21072+
"preview_path": "primer/open_project/input_group/with_error_message",
21073+
"name": "with_error_message",
21074+
"snapshot": "true",
21075+
"skip_rules": {
21076+
"wont_fix": [
21077+
"region"
21078+
],
21079+
"will_fix": [
21080+
"color-contrast"
21081+
]
21082+
}
2107021083
}
2107121084
],
2107221085
"subcomponents": []
@@ -21800,9 +21813,19 @@
2180021813
"description": "A button or custom content that will render on the left-hand side of the component, next to the filter input.\n\nTo render a button, call the `with_filter_button` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}}.\n\nTo render custom content, call the `with_filter_component` method and pass a block that returns HTML.",
2180121814
"parameters": []
2180221815
},
21816+
{
21817+
"name": "quick_sort",
21818+
"description": "A slot for a generic sorting component. Will be rendered next to the search input",
21819+
"parameters": []
21820+
},
21821+
{
21822+
"name": "quick_group",
21823+
"description": "A slot for a generic sorting component. Will be rendered next to the sorting button",
21824+
"parameters": []
21825+
},
2180321826
{
2180421827
"name": "quick_filters",
21805-
"description": "Quick filters shown in the left pane next to the search bar (0–5 items).\nHidden on mobile. Requires all_filters_button to be set when used.\nSupports ActionMenus, Buttons, IconButtons, SelectPanels, and SegmentedControls inside the block.",
21828+
"description": "Quick filters shown in the left pane next to the search bar (0–5 items total across all types).\nHidden on smaller screens when more than one `quick_filter` is provided. Requires `filter_button` when using more than one `quick_filter`.\nSupports ActionMenus, Buttons, IconButtons, SelectPanels, and SegmentedControls inside the block.",
2180621829
"parameters": []
2180721830
},
2180821831
{
@@ -22114,12 +22137,12 @@
2211422137
"is_form_component": false,
2211522138
"is_published": true,
2211622139
"requires_js": false,
22117-
"component": "OpenProject::SubHeader::QuickActionComponent",
22140+
"component": "OpenProject::SubHeader::QuickAction",
2211822141
"status": "open_project",
2211922142
"a11y_reviewed": false,
22120-
"short_name": "OpenProjectSubHeaderQuickActionComponent",
22121-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_filter.rb",
22122-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_filter/default/",
22143+
"short_name": "OpenProjectSubHeaderQuickAction",
22144+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_action_component.rb",
22145+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_action/default/",
2212322146
"parameters": [],
2212422147
"slots": [],
2212522148
"methods": [],

static/previews.json

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4889,12 +4889,12 @@
48894889
},
48904890
{
48914891
"name": "heading",
4892-
"component": "Heading",
4893-
"status": "beta",
4894-
"lookup_path": "primer/beta/heading",
4892+
"component": "OpenProject::Heading",
4893+
"status": "open_project",
4894+
"lookup_path": "primer/open_project/heading",
48954895
"examples": [
48964896
{
4897-
"preview_path": "primer/beta/heading/playground",
4897+
"preview_path": "primer/open_project/heading/playground",
48984898
"name": "playground",
48994899
"snapshot": "false",
49004900
"skip_rules": {
@@ -4907,7 +4907,7 @@
49074907
}
49084908
},
49094909
{
4910-
"preview_path": "primer/beta/heading/default",
4910+
"preview_path": "primer/open_project/heading/default",
49114911
"name": "default",
49124912
"snapshot": "true",
49134913
"skip_rules": {
@@ -4923,12 +4923,12 @@
49234923
},
49244924
{
49254925
"name": "heading",
4926-
"component": "OpenProject::Heading",
4927-
"status": "open_project",
4928-
"lookup_path": "primer/open_project/heading",
4926+
"component": "Heading",
4927+
"status": "beta",
4928+
"lookup_path": "primer/beta/heading",
49294929
"examples": [
49304930
{
4931-
"preview_path": "primer/open_project/heading/playground",
4931+
"preview_path": "primer/beta/heading/playground",
49324932
"name": "playground",
49334933
"snapshot": "false",
49344934
"skip_rules": {
@@ -4941,7 +4941,7 @@
49414941
}
49424942
},
49434943
{
4944-
"preview_path": "primer/open_project/heading/default",
4944+
"preview_path": "primer/beta/heading/default",
49454945
"name": "default",
49464946
"snapshot": "true",
49474947
"skip_rules": {
@@ -5260,6 +5260,19 @@
52605260
"color-contrast"
52615261
]
52625262
}
5263+
},
5264+
{
5265+
"preview_path": "primer/open_project/input_group/with_error_message",
5266+
"name": "with_error_message",
5267+
"snapshot": "true",
5268+
"skip_rules": {
5269+
"wont_fix": [
5270+
"region"
5271+
],
5272+
"will_fix": [
5273+
"color-contrast"
5274+
]
5275+
}
52635276
}
52645277
]
52655278
},

0 commit comments

Comments
 (0)