static/arguments.json in primer_view_components-0.5.1 vs static/arguments.json in primer_view_components-0.6.0
- old
+ new
@@ -268,11 +268,11 @@
},
{
"name": "description_scheme",
"type": "Symbol",
"default": "`:block`",
- "description": "Display description inline with label, or block on the next line."
+ "description": "Display description inline with label, or block on the next line. One of `:block` or `:inline`."
},
{
"name": "active",
"type": "Boolean",
"default": "`false`",
@@ -519,14 +519,14 @@
"type": "Boolean",
"default": "`false`",
"description": "Whether the component should take up the full width of the screen when rendered inside smaller viewports."
},
{
- "name": "dismissible",
- "type": "Boolean",
- "default": "`false`",
- "description": "Whether the component can be dismissed with an \"x\" button."
+ "name": "dismiss_scheme",
+ "type": "Symbol",
+ "default": "`:none`",
+ "description": "Whether the component can be dismissed with an \"x\" button. One of `:hide`, `:none`, or `:remove`."
},
{
"name": "description",
"type": "String",
"default": "`nil`",
@@ -543,16 +543,10 @@
"type": "Symbol",
"default": "`:default`",
"description": "One of `:danger`, `:default`, `:success`, or `:warning`."
},
{
- "name": "reappear",
- "type": "Boolean",
- "default": "`false`",
- "description": "Whether or not the flash banner should reappear after being dismissed. Only for use in test and preview environments."
- },
- {
"name": "system_arguments",
"type": "Hash",
"default": "N/A",
"description": "[System arguments](/system-arguments)"
}
@@ -2984,10 +2978,10 @@
"description": "The source url of the avatar image."
},
{
"name": "alt",
"type": "String",
- "default": "N/A",
+ "default": "`nil`",
"description": "Passed through to alt on img tag."
},
{
"name": "size",
"type": "Integer",