@salesforcedevs/docs-components 1.3.243-newdocux-alpha6 → 1.3.243-newdocux-alpha7

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": "@salesforcedevs/docs-components",
3
- "version": "1.3.243-newdocux-alpha6",
3
+ "version": "1.3.243-newdocux-alpha7",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -4,6 +4,7 @@
4
4
  options={versions}
5
5
  value={selectedVersion.id}
6
6
  width="var(--doc-version-picker-width)"
7
+ onchange={onVersionChange}
7
8
  >
8
9
  <dx-button
9
10
  class="version-picker-button"
@@ -13,6 +13,10 @@ export default class VersionPicker extends LightningElement {
13
13
  private _latestVersion: boolean = false;
14
14
  private _hideBadge: boolean = false;
15
15
 
16
+ private onVersionChange(e: CustomEvent) {
17
+ this.dispatchEvent(new CustomEvent("change", { detail: e.detail }));
18
+ }
19
+
16
20
  @api
17
21
  get versions() {
18
22
  return this._versions;