Skip to content

Commit 1b56c47

Browse files
committed
Generating static files
1 parent fc7495c commit 1b56c47

7 files changed

Lines changed: 149 additions & 0 deletions

File tree

static/arguments.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6220,6 +6220,34 @@
62206220
}
62216221
]
62226222
},
6223+
{
6224+
"component": "OpenProject::InlineMessage",
6225+
"status": "alpha",
6226+
"a11y_reviewed": false,
6227+
"short_name": "OpenProjectInlineMessage",
6228+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/inline_message.rb",
6229+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/inline_message/default/",
6230+
"parameters": [
6231+
{
6232+
"name": "scheme",
6233+
"type": "Symbol",
6234+
"default": "N/A",
6235+
"description": "One of `:critical`, `:success`, `:unavailable`, or `:warning`."
6236+
},
6237+
{
6238+
"name": "size",
6239+
"type": "Symbol",
6240+
"default": "`:medium`",
6241+
"description": "One of `:medium` or `:small`."
6242+
},
6243+
{
6244+
"name": "system_arguments",
6245+
"type": "Hash",
6246+
"default": "N/A",
6247+
"description": "[System arguments](/system-arguments)"
6248+
}
6249+
]
6250+
},
62236251
{
62246252
"component": "OpenProject::InputGroup",
62256253
"status": "open_project",

static/audited_at.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
"Primer::OpenProject::GridLayout": "",
158158
"Primer::OpenProject::GridLayout::Area": "",
159159
"Primer::OpenProject::Heading": "",
160+
"Primer::OpenProject::InlineMessage": "",
160161
"Primer::OpenProject::InputGroup": "",
161162
"Primer::OpenProject::PageHeader": "",
162163
"Primer::OpenProject::PageHeader::Dialog": "",

static/classes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@
352352
"FormControl-warning": [
353353
"Primer::Alpha::TextField"
354354
],
355+
"InlineMessage": [
356+
"Primer::OpenProject::InlineMessage"
357+
],
358+
"InlineMessageIcon": [
359+
"Primer::OpenProject::InlineMessage"
360+
],
355361
"InputGroup": [
356362
"Primer::OpenProject::InputGroup"
357363
],

static/constants.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,20 @@
18101810
"Primer::OpenProject::Heading": {
18111811
"GeneratedSlotMethods": "Primer::OpenProject::Heading::GeneratedSlotMethods"
18121812
},
1813+
"Primer::OpenProject::InlineMessage": {
1814+
"DEFAULT_SIZE": "medium",
1815+
"GeneratedSlotMethods": "Primer::OpenProject::InlineMessage::GeneratedSlotMethods",
1816+
"SCHEME_OPTIONS": [
1817+
"warning",
1818+
"critical",
1819+
"success",
1820+
"unavailable"
1821+
],
1822+
"SIZE_OPTIONS": [
1823+
"small",
1824+
"medium"
1825+
]
1826+
},
18131827
"Primer::OpenProject::InputGroup": {
18141828
"DEFAULT_INPUT_WIDTH": "auto",
18151829
"GeneratedSlotMethods": "Primer::OpenProject::InputGroup::GeneratedSlotMethods",

static/info_arch.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20571,6 +20571,71 @@
2057120571
],
2057220572
"subcomponents": []
2057320573
},
20574+
{
20575+
"fully_qualified_name": "Primer::OpenProject::InlineMessage",
20576+
"description": "A simple component to render warning text.\n\nThe warning text is rendered in the \"attention\" Primer color and\nuses a leading alert Octicon for additional emphasis. This component\nis designed to be used \"inline\", e.g. table cells, and in places\nwhere a Banner component might be overkill.",
20577+
"accessibility_docs": null,
20578+
"is_form_component": false,
20579+
"is_published": true,
20580+
"requires_js": false,
20581+
"component": "OpenProject::InlineMessage",
20582+
"status": "alpha",
20583+
"a11y_reviewed": false,
20584+
"short_name": "OpenProjectInlineMessage",
20585+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/inline_message.rb",
20586+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/inline_message/default/",
20587+
"parameters": [
20588+
{
20589+
"name": "scheme",
20590+
"type": "Symbol",
20591+
"default": "N/A",
20592+
"description": "One of `:critical`, `:success`, `:unavailable`, or `:warning`."
20593+
},
20594+
{
20595+
"name": "size",
20596+
"type": "Symbol",
20597+
"default": "`:medium`",
20598+
"description": "One of `:medium` or `:small`."
20599+
},
20600+
{
20601+
"name": "system_arguments",
20602+
"type": "Hash",
20603+
"default": "N/A",
20604+
"description": "{{link_to_system_arguments_docs}}"
20605+
}
20606+
],
20607+
"slots": [],
20608+
"methods": [],
20609+
"previews": [
20610+
{
20611+
"preview_path": "primer/open_project/inline_message/default",
20612+
"name": "default",
20613+
"snapshot": "true",
20614+
"skip_rules": {
20615+
"wont_fix": [
20616+
"region"
20617+
],
20618+
"will_fix": [
20619+
"color-contrast"
20620+
]
20621+
}
20622+
},
20623+
{
20624+
"preview_path": "primer/open_project/inline_message/playground",
20625+
"name": "playground",
20626+
"snapshot": "false",
20627+
"skip_rules": {
20628+
"wont_fix": [
20629+
"region"
20630+
],
20631+
"will_fix": [
20632+
"color-contrast"
20633+
]
20634+
}
20635+
}
20636+
],
20637+
"subcomponents": []
20638+
},
2057420639
{
2057520640
"fully_qualified_name": "Primer::OpenProject::InputGroup",
2057620641
"description": "`InputGroup` is composed of a text field input with a trailing action",

static/previews.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5104,6 +5104,40 @@
51045104
}
51055105
]
51065106
},
5107+
{
5108+
"name": "inline_message",
5109+
"component": "OpenProject::InlineMessage",
5110+
"status": "alpha",
5111+
"lookup_path": "primer/open_project/inline_message",
5112+
"examples": [
5113+
{
5114+
"preview_path": "primer/open_project/inline_message/default",
5115+
"name": "default",
5116+
"snapshot": "true",
5117+
"skip_rules": {
5118+
"wont_fix": [
5119+
"region"
5120+
],
5121+
"will_fix": [
5122+
"color-contrast"
5123+
]
5124+
}
5125+
},
5126+
{
5127+
"preview_path": "primer/open_project/inline_message/playground",
5128+
"name": "playground",
5129+
"snapshot": "false",
5130+
"skip_rules": {
5131+
"wont_fix": [
5132+
"region"
5133+
],
5134+
"will_fix": [
5135+
"color-contrast"
5136+
]
5137+
}
5138+
}
5139+
]
5140+
},
51075141
{
51085142
"name": "input_group",
51095143
"component": "OpenProject::InputGroup",

static/statuses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
"Primer::OpenProject::GridLayout": "open_project",
158158
"Primer::OpenProject::GridLayout::Area": "open_project",
159159
"Primer::OpenProject::Heading": "open_project",
160+
"Primer::OpenProject::InlineMessage": "alpha",
160161
"Primer::OpenProject::InputGroup": "open_project",
161162
"Primer::OpenProject::PageHeader": "open_project",
162163
"Primer::OpenProject::PageHeader::Dialog": "open_project",

0 commit comments

Comments
 (0)