Skip to content

Commit 8f54ce5

Browse files
committed
Generating static files
1 parent 116a343 commit 8f54ce5

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

static/arguments.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,12 @@
610610
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb",
611611
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/",
612612
"parameters": [
613+
{
614+
"name": "tag",
615+
"type": "Symbol",
616+
"default": "`:div`",
617+
"description": "One of `:div` or `:section`."
618+
},
613619
{
614620
"name": "full",
615621
"type": "Boolean",

static/constants.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
"success": "check-circle"
165165
},
166166
"DEFAULT_SCHEME": "default",
167+
"DEFAULT_TAG": "div",
167168
"DISMISS_SCHEMES": [
168169
"none",
169170
"remove",
@@ -180,7 +181,11 @@
180181
"warning": "Banner--warning",
181182
"danger": "Banner--error",
182183
"success": "Banner--success"
183-
}
184+
},
185+
"TAG_OPTIONS": [
186+
"div",
187+
"section"
188+
]
184189
},
185190
"Primer::Alpha::ButtonMarketing": {
186191
"DEFAULT_SCHEME": "default",

static/info_arch.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,6 +2243,12 @@
22432243
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb",
22442244
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/",
22452245
"parameters": [
2246+
{
2247+
"name": "tag",
2248+
"type": "Symbol",
2249+
"default": "`:div`",
2250+
"description": "One of `:div` or `:section`."
2251+
},
22462252
{
22472253
"name": "full",
22482254
"type": "Boolean",

0 commit comments

Comments
 (0)