@brightspace-ui/labs 2.61.0 → 2.61.1

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
@@ -112,5 +112,5 @@
112
112
  "parse-srt": "^1.0.0-alpha",
113
113
  "webvtt-parser": "^2"
114
114
  },
115
- "version": "2.61.0"
115
+ "version": "2.61.1"
116
116
  }
@@ -4,7 +4,7 @@ A menu item that renders the AI icon before its text, used to draw extra attenti
4
4
 
5
5
  It behaves like `<d2l-menu-item>` from `@brightspace-ui/core`, except the AI icon is always rendered before the text.
6
6
 
7
- ## AI Menu Item [d2l-menu-item-ai]
7
+ ## AI Menu Item [d2l-labs-menu-item-ai]
8
8
 
9
9
  <!-- docs: demo code -->
10
10
  ```html
@@ -13,7 +13,7 @@ It behaves like `<d2l-menu-item>` from `@brightspace-ui/core`, except the AI ico
13
13
  import '@brightspace-ui/labs/components/menu-item-ai.js';
14
14
  </script>
15
15
  <d2l-menu label="Astronomy">
16
- <d2l-menu-item-ai text="Summarize with AI"></d2l-menu-item-ai>
16
+ <d2l-labs-menu-item-ai text="Summarize with AI"></d2l-labs-menu-item-ai>
17
17
  </d2l-menu>
18
18
  ```
19
19
 
@@ -37,4 +37,8 @@ class MenuItemAI extends MenuItemMixin(LitElement) {
37
37
  }
38
38
  }
39
39
 
40
- customElements.define('d2l-menu-item-ai', MenuItemAI);
40
+ class MenuItemAITemp extends MenuItemAI { }
41
+
42
+ customElements.define('d2l-menu-item-ai', MenuItemAITemp);
43
+
44
+ customElements.define('d2l-labs-menu-item-ai', MenuItemAI);