@brightspace-ui/core 2.18.4 → 2.18.5

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.
@@ -8,6 +8,10 @@ import { SwitchMixin } from './switch-mixin.js';
8
8
  */
9
9
  class VisibilitySwitch extends LocalizeCoreElement(SwitchMixin(LitElement)) {
10
10
 
11
+ /**
12
+ * The text that is displayed for the switch label.
13
+ * @default "Visibility"
14
+ */
11
15
  get text() {
12
16
  return (this._text ? this._text : this.localize('components.switch.visibility'));
13
17
  }
@@ -9354,8 +9354,9 @@
9354
9354
  "attributes": [
9355
9355
  {
9356
9356
  "name": "text",
9357
- "description": "REQUIRED: The text that is displayed for the switch label.",
9358
- "type": "string"
9357
+ "description": "The text that is displayed for the switch label.",
9358
+ "type": "string",
9359
+ "default": "\"\\\"Visibility\\\"\""
9359
9360
  },
9360
9361
  {
9361
9362
  "name": "tooltip",
@@ -9393,8 +9394,9 @@
9393
9394
  {
9394
9395
  "name": "text",
9395
9396
  "attribute": "text",
9396
- "description": "REQUIRED: The text that is displayed for the switch label.",
9397
- "type": "string"
9397
+ "description": "The text that is displayed for the switch label.",
9398
+ "type": "string",
9399
+ "default": "\"\\\"Visibility\\\"\""
9398
9400
  },
9399
9401
  {
9400
9402
  "name": "tooltip",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.18.4",
3
+ "version": "2.18.5",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",