@primer/view-components 0.51.0-rc.fd5a0e71 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/arguments.json +6 -0
- package/static/info_arch.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.51.0
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/arguments.json
CHANGED
|
@@ -3219,6 +3219,12 @@
|
|
|
3219
3219
|
"type": "String",
|
|
3220
3220
|
"default": "`nil`",
|
|
3221
3221
|
"description": "Custom label to show when the switch is OFF. Defaults to (\"Off\"). Only customize this label if it makes the toggle’s state more meaningful in its specific context. For example, for a \"Show images\" setting, you might use \"Show\" when the switch is OFF."
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "button_type",
|
|
3225
|
+
"type": "Symbol",
|
|
3226
|
+
"default": "`nil`",
|
|
3227
|
+
"description": "The type attribute for the underlying button element. If `nil`, the button will not have a type attribute, which means it will default to \"submit\" if it's inside a form and \"button\" otherwise."
|
|
3222
3228
|
}
|
|
3223
3229
|
]
|
|
3224
3230
|
},
|
package/static/info_arch.json
CHANGED
|
@@ -9552,6 +9552,12 @@
|
|
|
9552
9552
|
"type": "String",
|
|
9553
9553
|
"default": "`nil`",
|
|
9554
9554
|
"description": "Custom label to show when the switch is OFF. Defaults to (\"Off\"). Only customize this label if it makes the toggle’s state more meaningful in its specific context. For example, for a \"Show images\" setting, you might use \"Show\" when the switch is OFF."
|
|
9555
|
+
},
|
|
9556
|
+
{
|
|
9557
|
+
"name": "button_type",
|
|
9558
|
+
"type": "Symbol",
|
|
9559
|
+
"default": "`nil`",
|
|
9560
|
+
"description": "The type attribute for the underlying button element. If `nil`, the button will not have a type attribute, which means it will default to \"submit\" if it's inside a form and \"button\" otherwise."
|
|
9555
9561
|
}
|
|
9556
9562
|
],
|
|
9557
9563
|
"slots": [],
|