@salesforcedevs/docs-components 1.3.92-docs-headings-wes1 → 1.3.96-alpha.0

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.92-docs-headings-wes1",
3
+ "version": "1.3.96-alpha.0",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -6,77 +6,6 @@
6
6
  if:true={showBanner}
7
7
  banner-markup={bannerMarkup}
8
8
  ></dx-banner>
9
- <div class="header_l1">
10
- <div if:true={showMenuButton} class="nav_menu-ctas">
11
- <dx-button
12
- aria-label="Menu Button"
13
- class="nav_menu-button"
14
- icon-size="large"
15
- icon-symbol={mobileMenuIconSymbol}
16
- variant="tertiary"
17
- onclick={toggleMobileNavMenu}
18
- ></dx-button>
19
- </div>
20
- <dx-logo label={title}></dx-logo>
21
- <dx-header-nav
22
- if:true={showDesktopNavItems}
23
- aria-label="Global Navigation Bar"
24
- nav-items={navItems}
25
- onrequestopennavmenu={onRequestOpenNavMenu}
26
- pathname={pathname}
27
- variant="small"
28
- ></dx-header-nav>
29
- <div class="header-cta-container">
30
- <dx-header-search
31
- if:true={hasSearch}
32
- coveo-organization-id={coveoOrganizationId}
33
- coveo-public-access-token={coveoPublicAccessToken}
34
- coveo-search-pipeline={coveoSearchPipeline}
35
- coveo-search-hub={coveoSearchHub}
36
- mobile={tablet}
37
- onstatechange={handleStateChange}
38
- ></dx-header-search>
39
- </div>
40
- <div
41
- if:true={showTbidLogin}
42
- class="header-tbid-login"
43
- onclick={closeMobileNavMenu}
44
- >
45
- <dw-tbid-login-menu
46
- tbid-api-base-url={tbidApiBaseUrl}
47
- tbid-base-url={tbidBaseUrl}
48
- ></dw-tbid-login-menu>
49
- </div>
50
- <div if:true={showSignup} class="header-login-signup">
51
- <dx-button
52
- aria-label="Browse Trials"
53
- size="small"
54
- href={signupLink}
55
- onclick={handleSignUpClick}
56
- >
57
- Browse Trials
58
- </dx-button>
59
- </div>
60
- <dx-header-mobile-nav-menu
61
- if:true={hasNavItems}
62
- nav-items={navItems}
63
- open={showMobileNavMenu}
64
- pathname={pathname}
65
- value={mobileNavMenuValue}
66
- onchange={onMobileNavMenuChange}
67
- onrequestclose={closeMobileNavMenu}
68
- >
69
- <dx-button
70
- aria-label={bailLabel}
71
- if:true={hasBailLink}
72
- href={bailHref}
73
- variant="tertiary"
74
- icon-symbol="new_window"
75
- >
76
- {bailLabel}
77
- </dx-button>
78
- </dx-header-mobile-nav-menu>
79
- </div>
80
9
  <div class="header_l2">
81
10
  <div class="header_l2_group header_l2_group-title">
82
11
  <a href={headerHref} class="home-link">
@@ -59,20 +59,6 @@ export default class Header extends HeaderBase {
59
59
  return this.scopedNavItems && this.scopedNavItems.length > 0;
60
60
  }
61
61
 
62
- private get showDesktopNavItems(): boolean {
63
- return !this.mobile && this.hasNavItems;
64
- }
65
-
66
- private get showTbidLogin(): boolean {
67
- return this.showSignup;
68
- }
69
-
70
- private get showSignup(): boolean {
71
- return this.signupLink
72
- ? (this.tablet && !this.isSearchOpen) || !this.tablet
73
- : false;
74
- }
75
-
76
62
  private get hasLanguages(): boolean {
77
63
  return !!(this.languages && this.languages.length);
78
64
  }
@@ -91,10 +77,6 @@ export default class Header extends HeaderBase {
91
77
  );
92
78
  }
93
79
 
94
- private get showMenuButton(): boolean {
95
- return this.mobile && this.hasNavItems;
96
- }
97
-
98
80
  connectedCallback(): void {
99
81
  super.connectedCallback();
100
82
  this.tabletMatchMedia = window.matchMedia(