@salesforcedevs/dw-components 0.56.1 → 0.56.2

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/dw-components",
3
- "version": "0.56.1",
3
+ "version": "0.56.2",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -23,5 +23,5 @@
23
23
  "@types/lodash.orderby": "^4.6.7",
24
24
  "@types/lodash.uniqby": "^4.7.7"
25
25
  },
26
- "gitHead": "49fdd771cee3f6d50a27cd505ca2a612f1887493"
26
+ "gitHead": "47b838f7aa4fb0c55349f98074753103b693851f"
27
27
  }
@@ -35,12 +35,13 @@ const ANALYTICS_INFO = {
35
35
  clickText: "Sign me Up",
36
36
  itemTitle: "Dev Edition Sign Up Button",
37
37
  formType: "Dev Edition Sign Up",
38
- formName: "Developer Edition",
38
+ formName: "DEVELOPER:xx:signup:Developer-Edition",
39
39
  method: "email",
40
40
  clickUrl: "/signup/success",
41
41
  elementType: "button",
42
42
  destinationType: "internal",
43
- ctaClick: true
43
+ ctaClick: true,
44
+ offerType: "Free Trial"
44
45
  };
45
46
  export default class DeSignupForm extends LightningElement {
46
47
  @api
@@ -163,7 +164,7 @@ export default class DeSignupForm extends LightningElement {
163
164
  .then(() => {
164
165
  trackGtm(event.target!, "custEv_signUp", {
165
166
  ...ANALYTICS_INFO,
166
- formId: formData.user.username
167
+ formId: 'form-builder|DEVELOPER:xx:signup|<null>'
167
168
  });
168
169
  window.location.href = ANALYTICS_INFO.clickUrl;
169
170
  })
@@ -5,7 +5,6 @@ import qs from "query-string";
5
5
  import uniqBy from "lodash.uniqby";
6
6
  import orderBy from "lodash.orderby";
7
7
  import { isGivenLanguageSupported } from "dxUtils/language";
8
- import { DEFAULT_LANGUAGES } from "dxUtils/constants";
9
8
 
10
9
  const DSC_API_URL = {
11
10
  "en-us": "/docs/get_index/en-us/000.0/false/All%20Services/all",
@@ -41,7 +40,7 @@ export default abstract class DocsGrid extends LightningElement {
41
40
  private deviceType: "desktop" | "mobile" | "mobile-small" = "desktop";
42
41
  private _searchTimeout?: number;
43
42
  private _couchDbDocTileExclusions?: Set<any>;
44
- private _allLanguages: Array<Language> = DEFAULT_LANGUAGES;
43
+ private _allLanguages: Array<Language> = [];
45
44
 
46
45
  connectedCallback(): void {
47
46
  this.retrieveDscApis(true);