@primer/view-components 0.44.2-rc.0a2e8d13 → 0.44.2-rc.8273483c

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.44.2-rc.0a2e8d13",
3
+ "version": "0.44.2-rc.8273483c",
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",
@@ -3201,6 +3201,18 @@
3201
3201
  "type": "Hash",
3202
3202
  "default": "N/A",
3203
3203
  "description": "[System arguments](/system-arguments)"
3204
+ },
3205
+ {
3206
+ "name": "on_label",
3207
+ "type": "String",
3208
+ "default": "`nil`",
3209
+ "description": "Custom label to show when the switch is ON. Defaults to On. 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 \"Hide\" when the switch is ON."
3210
+ },
3211
+ {
3212
+ "name": "off_label",
3213
+ "type": "String",
3214
+ "default": "`nil`",
3215
+ "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."
3204
3216
  }
3205
3217
  ]
3206
3218
  },
@@ -9436,6 +9436,18 @@
9436
9436
  "type": "Hash",
9437
9437
  "default": "N/A",
9438
9438
  "description": "{{link_to_system_arguments_docs}}"
9439
+ },
9440
+ {
9441
+ "name": "on_label",
9442
+ "type": "String",
9443
+ "default": "`nil`",
9444
+ "description": "Custom label to show when the switch is ON. Defaults to On. 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 \"Hide\" when the switch is ON."
9445
+ },
9446
+ {
9447
+ "name": "off_label",
9448
+ "type": "String",
9449
+ "default": "`nil`",
9450
+ "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."
9439
9451
  }
9440
9452
  ],
9441
9453
  "slots": [],