@salesforcedevs/dx-components 1.2.18-lightdom3 → 1.2.20-lightdom-6

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.
Files changed (59) hide show
  1. package/package.json +1 -1
  2. package/src/modules/dx/banner/banner.css +33 -1
  3. package/src/modules/dx/banner/banner.html +2 -5
  4. package/src/modules/dx/banner/banner.ts +1 -3
  5. package/src/modules/dx/brandThemeProvider/brandThemeProvider.html +1 -1
  6. package/src/modules/dx/brandThemeProvider/brandThemeProvider.ts +4 -4
  7. package/src/modules/dx/button/button.html +7 -5
  8. package/src/modules/dx/button/{button.css → button.scoped.css} +1 -2
  9. package/src/modules/dx/button/button.ts +16 -8
  10. package/src/modules/dx/cardCallout/cardCallout.css +43 -5
  11. package/src/modules/dx/cardCallout/cardCallout.html +1 -1
  12. package/src/modules/dx/cardCallout/cardCallout.ts +0 -2
  13. package/src/modules/dx/cardPodcastEpisode/{cardPodcastEpisode.scoped.css → cardPodcastEpisode.css} +4 -0
  14. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.html +1 -1
  15. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.ts +0 -2
  16. package/src/modules/dx/cardTitle/cardTitle.css +25 -3
  17. package/src/modules/dx/cardTitle/cardTitle.html +4 -4
  18. package/src/modules/dx/cardTitle/cardTitle.ts +0 -1
  19. package/src/modules/dx/dropdown/dropdown.css +6 -12
  20. package/src/modules/dx/dropdown/dropdown.html +3 -2
  21. package/src/modules/dx/dropdown/dropdown.ts +1 -1
  22. package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +8 -8
  23. package/src/modules/dx/header/header.css +0 -10
  24. package/src/modules/dx/header/header.html +1 -1
  25. package/src/modules/dx/header/header.scoped.css +5 -0
  26. package/src/modules/dx/header/header.ts +2 -2
  27. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.css +147 -2
  28. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.html +5 -6
  29. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +3 -5
  30. package/src/modules/dx/headerNav/{headerNav.scoped.css → headerNav.css} +3 -1
  31. package/src/modules/dx/headerNav/headerNav.html +2 -2
  32. package/src/modules/dx/headerNav/headerNav.ts +0 -2
  33. package/src/modules/dx/headerSearch/headerSearch.css +61 -2
  34. package/src/modules/dx/headerSearch/headerSearch.html +3 -3
  35. package/src/modules/dx/headerSearch/headerSearch.ts +0 -2
  36. package/src/modules/dx/icon/icon.css +5 -2
  37. package/src/modules/dx/icon/icon.html +1 -1
  38. package/src/modules/dx/icon/icon.scoped.css +5 -0
  39. package/src/modules/dx/icon/icon.ts +0 -2
  40. package/src/modules/dx/logo/{logo.scoped.css → logo.css} +3 -0
  41. package/src/modules/dx/logo/logo.html +1 -1
  42. package/src/modules/dx/logo/logo.ts +0 -2
  43. package/src/modules/dx/popover/popover.html +2 -2
  44. package/src/modules/dx/popover/{popover.css → popover.scoped.css} +0 -2
  45. package/src/modules/dx/popover/popover.ts +33 -19
  46. package/src/modules/dx/relativeDateTime/relativeDateTime.html +1 -1
  47. package/src/modules/dx/relativeDateTime/relativeDateTime.ts +0 -1
  48. package/src/modules/dx/skipNavLink/{skipNavLink.scoped.css → skipNavLink.css} +2 -0
  49. package/src/modules/dx/skipNavLink/skipNavLink.html +1 -1
  50. package/src/modules/dx/skipNavLink/skipNavLink.ts +1 -4
  51. package/src/modules/dx/tooltip/microtip.css +105 -101
  52. package/src/modules/dxHelpers/card/card.css +0 -10
  53. package/src/modules/dxHelpers/commonSidebar/commonSidebar.css +3 -3
  54. package/src/modules/dx/banner/banner.scoped.css +0 -28
  55. package/src/modules/dx/cardCallout/cardCallout.scoped.css +0 -45
  56. package/src/modules/dx/cardTitle/cardTitle.scoped.css +0 -25
  57. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.scoped.css +0 -142
  58. package/src/modules/dx/headerSearch/headerSearch.scoped.css +0 -56
  59. package/src/modules/dx/relativeDateTime/relativeDateTime.scoped.css +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.2.18-lightdom3",
3
+ "version": "1.2.20-lightdom-6",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -1,3 +1,35 @@
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+
4
+ .container {
5
+ --primary-color: var(--dx-g-cloud-blue-vibrant-50);
6
+ --secondary-color: var(--dx-g-cloud-blue-vibrant-40);
7
+
8
+ width: 100%;
9
+ display: flex;
10
+ flex-direction: row;
11
+ align-items: center;
12
+ justify-content: center;
13
+ min-height: 24px;
14
+ padding: 0 var(--dx-g-page-padding-horizontal);
15
+ background: repeating-linear-gradient(
16
+ 45deg,
17
+ var(--primary-color),
18
+ var(--primary-color) 20px,
19
+ var(--secondary-color) 20px,
20
+ var(--secondary-color) 40px
21
+ );
22
+ }
23
+
24
+ .container_inner {
25
+ height: 100%;
26
+ display: flex;
27
+ background: var(--primary-color);
28
+ padding: var(--dx-g-spacing-xs) var(--dx-g-spacing-sm);
29
+ color: white;
30
+ font-weight: bold;
31
+ }
32
+
1
33
  .container a {
2
34
  text-decoration: underline;
3
35
  transition: var(--dx-g-transition-hue-1x);
@@ -11,4 +43,4 @@
11
43
  .container dx-icon {
12
44
  margin-right: var(--dx-g-spacing-sm);
13
45
  margin-top: var(--dx-g-spacing-2xs);
14
- }
46
+ }
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template>
2
2
  <div class="container">
3
3
  <div class="container_inner dx-text-body-4">
4
4
  <dx-icon symbol="announcement"></dx-icon>
@@ -7,10 +7,7 @@
7
7
  option instead of slots because the html markup will come as a
8
8
  property to the component from a configuration
9
9
  -->
10
- <div
11
- class="info-container"
12
- lwc:inner-html={content}
13
- ></div>
10
+ <div lwc:dom="manual" class="info-container"></div>
14
11
  </div>
15
12
  </div>
16
13
  </template>
@@ -2,13 +2,11 @@ import { LightningElement, api } from "lwc";
2
2
  import { setContainerInnerHtml } from "dxUtils/lwc";
3
3
 
4
4
  export default class Banner extends LightningElement {
5
- static renderMode = 'light';
6
-
7
5
  @api bannerMarkup =
8
6
  'Thank you for visiting the Salesforce Developers website! <span><a href="https://forms.gle/oWYTbH9RvGyt9uxx7" target="blank">We value your feedback</a></span>';
9
7
 
10
8
  renderedCallback() {
11
- const container = this.querySelector(".info-container");
9
+ const container = this.template.querySelector(".info-container");
12
10
  setContainerInnerHtml(container, this.bannerMarkup);
13
11
  }
14
12
  }
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template lwc:render-mode="light">
2
2
  <slot></slot>
3
3
  <div id="extra_brand_styles"></div>
4
4
  </template>
@@ -3,7 +3,7 @@ import brandCssVars from "./brandCssVars";
3
3
  import { Brand } from "typings/custom";
4
4
 
5
5
  export const toCss = (brand: Brand | null) => `
6
- body, header, dx-card-small {
6
+ body, header, dx-card-small {
7
7
  ${brandCssVars.reduce(
8
8
  (acc, v) => `
9
9
  ${acc}
@@ -15,8 +15,8 @@ export const toCss = (brand: Brand | null) => `
15
15
  `;
16
16
 
17
17
  export default class BrandThemeProvider extends LightningElement {
18
- static renderMode = 'light';
19
-
18
+ static renderMode = "light";
19
+
20
20
  @api brand: Brand | null = null;
21
21
 
22
22
  private get css() {
@@ -34,7 +34,7 @@ export default class BrandThemeProvider extends LightningElement {
34
34
  setBrandVars() {
35
35
  let style = this.querySelector("style");
36
36
 
37
- if(!style) {
37
+ if (!style) {
38
38
  style = document.createElement("style");
39
39
  this.querySelector("#extra_brand_styles")?.appendChild(style);
40
40
  }
@@ -1,4 +1,4 @@
1
- <template>
1
+ <template lwc:render-mode="light">
2
2
  <button
3
3
  if:false={href}
4
4
  class={className}
@@ -7,8 +7,9 @@
7
7
  aria-label={ariaLabel}
8
8
  part="container"
9
9
  >
10
- <span if:false={loading}>
11
- <slot onslotchange={onSlotChange}></slot>
10
+ <span if:false={loading} class="button-content">
11
+ {buttonText}
12
+ <slot></slot>
12
13
  </span>
13
14
  <dx-icon
14
15
  if:true={showIcon}
@@ -29,8 +30,9 @@
29
30
  aria-label={ariaLabel}
30
31
  part="container"
31
32
  >
32
- <span if:false={loading}>
33
- <slot onslotchange={onSlotChange}></slot>
33
+ <span if:false={loading} class="button-content">
34
+ {buttonText}
35
+ <slot></slot>
34
36
  </span>
35
37
  <dx-icon
36
38
  if:true={showIcon}
@@ -1,9 +1,8 @@
1
- @import "dxHelpers/reset";
2
-
3
1
  :host {
4
2
  width: min-content;
5
3
  font-size: inherit;
6
4
 
5
+ --dx-c-button-background-color: transparent;
7
6
  --dx-c-button-primary-color: var(--dx-g-blue-vibrant-50);
8
7
  --dx-c-button-primary-color-hover: var(--dx-g-blue-vibrant-40);
9
8
  --dx-c-button-secondary-color-hover: var(--dx-g-cloud-blue-vibrant-90);
@@ -5,11 +5,12 @@ import {
5
5
  ButtonVariant,
6
6
  IconSprite,
7
7
  IconSize,
8
- IconSymbol,
9
- LightningSlotElement
8
+ IconSymbol
10
9
  } from "typings/custom";
11
10
 
12
11
  export default class Button extends LightningElement {
12
+ static renderMode = "light";
13
+
13
14
  @api ariaLabel: string = "";
14
15
  @api disabled: boolean | null = null;
15
16
  @api iconSize?: IconSize = "small";
@@ -23,6 +24,7 @@ export default class Button extends LightningElement {
23
24
  @api font: "display" | "sans" = "display";
24
25
  @api name?: string;
25
26
  @api value?: any;
27
+ @api buttonText?: string;
26
28
 
27
29
  // button props
28
30
  @api type: "submit" | "reset" | "button" = "button";
@@ -34,13 +36,17 @@ export default class Button extends LightningElement {
34
36
  @api rel: string | null = null;
35
37
 
36
38
  @api focus() {
37
- const button = this.template.querySelector(".button");
39
+ const button = this.querySelector(".button");
38
40
  if (button) {
39
41
  button.focus();
40
42
  }
41
43
  }
42
44
 
43
- private isSlotEmpty: boolean = true;
45
+ _isSlotEmpty: boolean = true;
46
+
47
+ renderedCallback(): void {
48
+ this._isSlotEmpty = this.isSlotEmpty();
49
+ }
44
50
 
45
51
  private get showIcon(): boolean {
46
52
  return !!this.iconSymbol && !this.loading;
@@ -55,14 +61,16 @@ export default class Button extends LightningElement {
55
61
  this.loading && "state-loading",
56
62
  `size-${this.size}`,
57
63
  !!this.iconSymbol && "style-icon",
58
- this.isSlotEmpty && "slot-empty",
64
+ this._isSlotEmpty && "slot-empty",
59
65
  `font-${this.font}`,
60
66
  this.iconPosition === "right" ? "icon-right" : "icon-left"
61
67
  );
62
68
  }
63
69
 
64
- private onSlotChange(e: LightningSlotElement) {
65
- const slot = e.target;
66
- this.isSlotEmpty = slot.assignedElements().length !== 0;
70
+ private isSlotEmpty() {
71
+ return (
72
+ !this.querySelector(".button-content")?.childElementCount &&
73
+ !this.querySelector(".button-content")?.textContent
74
+ );
67
75
  }
68
76
  }
@@ -1,19 +1,57 @@
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+ @import "dxHelpers/card";
1
4
 
5
+ .card-callout {
6
+ position: relative;
7
+ display: flex;
8
+ flex-direction: column;
9
+ }
10
+
11
+ /* in the callout card's case it needs to be subservient to the other items in the grid */
12
+ .dx-card-base_override-width {
13
+ height: 100% !important;
14
+ min-height: unset !important;
15
+ }
16
+
17
+ /* title */
18
+
19
+ .dx-text-heading-3 {
20
+ color: inherit;
21
+ margin-bottom: var(--dx-g-spacing-3xl);
22
+ overflow-wrap: hyphenate-word;
23
+ hyphens: overflow;
24
+ }
25
+
26
+ /* label */
2
27
 
3
- dx-card-callout dx-icon {
28
+ .dx-text-button-light {
29
+ color: inherit;
30
+ margin-top: auto;
31
+ }
32
+
33
+ /* callout arrow */
34
+
35
+ dx-icon {
4
36
  display: inline;
5
37
  color: inherit;
6
38
  margin-left: var(--dx-g-spacing-sm);
7
39
  }
8
40
 
9
- dx-card-callout dx-icon svg {
41
+ dx-icon::part(svg) {
10
42
  transition: var(--dx-g-transition-transform-2x);
11
43
  }
12
44
 
13
- .card-callout:hover dx-icon svg {
45
+ .card-callout:hover dx-icon::part(svg) {
14
46
  transform: translate(var(--dx-g-spacing-xs));
15
47
  }
16
48
 
17
- .card-callout:active dx-icon svg {
49
+ .card-callout:active dx-icon::part(svg) {
18
50
  transform: translate(var(--dx-g-spacing-2xs));
19
- }
51
+ }
52
+
53
+ @media screen and (max-width: 1024px) {
54
+ .dx-text-heading-3 {
55
+ margin-bottom: var(--dx-g-spacing-xl);
56
+ }
57
+ }
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template>
2
2
  <a
3
3
  class={className}
4
4
  href={href}
@@ -6,8 +6,6 @@ import { track } from "dxUtils/analytics";
6
6
  export const ANALYTICS_EVENT_NAME = "custEv_ctaLinkClick";
7
7
 
8
8
  export default class CardCallout extends LightningElement {
9
- static renderMode = 'light';
10
-
11
9
  @api backgroundColor: string = "indigo-vibrant-40";
12
10
  @api color: string = "white";
13
11
  @api href!: string;
@@ -1,3 +1,7 @@
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+ @import "dxHelpers/card";
4
+
1
5
  .card-podcast-episode {
2
6
  display: flex;
3
7
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template>
2
2
  <div class={className}>
3
3
  <div class="dx-card-base_section-horizontal">
4
4
  <a
@@ -2,7 +2,6 @@ import { LightningElement, api } from "lwc";
2
2
  import cx from "classnames";
3
3
 
4
4
  export default class CardPodcastEpisode extends LightningElement {
5
- static renderMode = 'light';
6
5
  @api body!: string;
7
6
  @api datetime!: string;
8
7
  @api dateTime?: string | null = null;
@@ -22,7 +21,6 @@ export default class CardPodcastEpisode extends LightningElement {
22
21
  private get className() {
23
22
  return cx(
24
23
  "card-podcast-episode",
25
- "base-card",
26
24
  "dx-card-base_borderless",
27
25
  this.isLinkHovered && "dx-card-base_link-hovered"
28
26
  );
@@ -1,4 +1,7 @@
1
- dx-card-title {
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+
4
+ :host {
2
5
  --dx-c-card-title-color: var(--dx-g-text-heading-color);
3
6
  --dx-c-card-title-font-size: var(--dx-g-text-xl);
4
7
  --dx-c-card-title-line-height: 28px;
@@ -6,7 +9,21 @@ dx-card-title {
6
9
  --dx-c-card-title-icon-size: 22px;
7
10
  }
8
11
 
9
- dx-card-title dx-icon {
12
+ h3.dx-text-heading-4 {
13
+ color: var(--dx-c-card-title-color);
14
+ transition: var(--dx-g-transition-hue-1x);
15
+ font-size: var(--dx-c-card-title-font-size);
16
+ line-height: var(--dx-c-card-title-line-height);
17
+ letter-spacing: var(--dx-c-card-title-letter-spacing);
18
+ word-break: break-word;
19
+ hyphens: auto;
20
+ }
21
+
22
+ .nowrap {
23
+ white-space: nowrap;
24
+ }
25
+
26
+ dx-icon {
10
27
  --dx-c-icon-size: var(--dx-c-card-title-icon-size);
11
28
 
12
29
  display: inline-flex;
@@ -15,7 +32,12 @@ dx-card-title dx-icon {
15
32
  }
16
33
 
17
34
  @media screen and (max-width: 1024px) {
35
+ .dx-text-heading-4 {
36
+ font-size: 20px;
37
+ line-height: 24px;
38
+ }
39
+
18
40
  dx-icon {
19
41
  --dx-c-card-title-icon-size: 20px;
20
42
  }
21
- }
43
+ }
@@ -1,16 +1,16 @@
1
- <template lwc:render-mode='light'>
1
+ <template>
2
2
  <h3 class="dx-text-heading-4">
3
3
  <a if:true={href} href={href} target={target}>
4
4
  {titleToWrap}
5
- <template if:true={needsSpace} lwc:render-mode='light'>&#32;</template>
5
+ <template if:true={needsSpace}>&#32;</template>
6
6
  <span class="nowrap" if:true={isExternal}>
7
7
  {titleNoWrap}&nbsp;
8
8
  <dx-icon symbol="new_window" size="override"></dx-icon>
9
9
  </span>
10
10
  </a>
11
- <template if:false={href} lwc:render-mode='light'>
11
+ <template if:false={href}>
12
12
  {titleToWrap}
13
- <template if:true={needsSpace} lwc:render-mode='light'>&#32;</template>
13
+ <template if:true={needsSpace}>&#32;</template>
14
14
  <span class="nowrap" if:true={isExternal}>
15
15
  {titleNoWrap}&nbsp;
16
16
  <dx-icon symbol="new_window" size="override"></dx-icon>
@@ -1,7 +1,6 @@
1
1
  import { LightningElement, api } from "lwc";
2
2
 
3
3
  export default class CardTitle extends LightningElement {
4
- static renderMode = 'light';
5
4
  @api href!: string;
6
5
  @api target?: string | null = null;
7
6
  @api title!: string;
@@ -1,13 +1,5 @@
1
-
2
- dx-dropdown dx-button {
3
- --dx-c-button-primary-color: var(--button-primary-color);
4
- --dx-c-button-primary-color-hover: var(--button-primary-color-hover);
5
- --border-color: var(--button-primary-color);
6
-
7
- border-bottom: 1px dashed var(--border-color);
8
- }
9
-
10
- .menu-nested::part(content) {
1
+ .menu-nested::part(content),
2
+ .menu-nested .popover.popover-content {
11
3
  padding-top: var(--dx-g-spacing-sm);
12
4
  width: 354px;
13
5
  }
@@ -18,7 +10,8 @@ dx-dropdown dx-button {
18
10
  flex-wrap: nowrap;
19
11
  }
20
12
 
21
- .menu-hidden::part(content) {
13
+ .menu-hidden::part(content),
14
+ .menu-hidden .popover.popover-content {
22
15
  display: none;
23
16
  }
24
17
 
@@ -31,7 +24,8 @@ dx-dropdown dx-button {
31
24
  }
32
25
 
33
26
  @media screen and (min-width: 1000px) {
34
- .menu-nested-2-col::part(content) {
27
+ .menu-nested-2-col::part(content),
28
+ .menu-nested-2-col .popover.popover-content {
35
29
  width: 592px;
36
30
  }
37
31
 
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template lwc:render-mode="light">
2
2
  <dx-popover
3
3
  aria-label={ariaLabel}
4
4
  class={className}
@@ -13,8 +13,9 @@
13
13
  width={width}
14
14
  >
15
15
  <div slot="control">
16
- <slot></slot>
16
+ <slot></slot>
17
17
  </div>
18
+
18
19
  <div
19
20
  class="menu_list"
20
21
  if:false={areOptionsEmpty}
@@ -20,7 +20,7 @@ interface DropdownOption extends OptionWithNested {
20
20
  }
21
21
 
22
22
  export default class Dropdown extends LightningElement {
23
- static renderMode = 'light';
23
+ static renderMode = "light";
24
24
 
25
25
  @api value: string | null = null; // "active option" id
26
26
  @api valuePath: string = "id"; // path to match for the active value (useful for url matching)
@@ -6,9 +6,7 @@
6
6
  :host {
7
7
  width: 100%;
8
8
 
9
- --dx-c-featured-content-header-background-color: var(
10
- --dx-g-indigo-vibrant-90
11
- );
9
+ /* --dx-c-featured-content-header-background-color */
12
10
  --dx-c-tree-graphic-color: var(--dx-g-indigo-vibrant-40);
13
11
  --dx-c-featured-content-header-padding-horizontal: var(
14
12
  --dx-g-page-padding-horizontal
@@ -42,7 +40,10 @@
42
40
  position: relative;
43
41
  padding: var(--dx-c-featured-content-header-padding-vertical)
44
42
  var(--dx-c-featured-content-header-padding-horizontal);
45
- background-color: var(--dx-c-featured-content-header-background-color);
43
+ background-color: var(
44
+ --dx-c-featured-content-header-background-color,
45
+ --dx-g-indigo-vibrant-90
46
+ );
46
47
  }
47
48
 
48
49
  /* LAYOUTS */
@@ -380,10 +381,9 @@ dx-image-and-label {
380
381
 
381
382
  /* DARK VARIANT */
382
383
  .variant_dark {
383
- background: linear-gradient(
384
- -180deg,
385
- rgb(40, 23, 153) 0%,
386
- rgb(46, 43, 182) 100%
384
+ background: var(
385
+ --dx-c-featured-content-header-background-color,
386
+ linear-gradient(-180deg, rgb(40, 23, 153) 0%, rgb(46, 43, 182) 100%)
387
387
  );
388
388
  }
389
389
 
@@ -1,11 +1 @@
1
1
  @import "dxHelpers/commonHeader";
2
- @import "dxHelpers/text";
3
- @import "dxHelpers/reset";
4
- @import "dxHelpers/card";
5
-
6
- dx-header { /* TODO: these variables definitely aren't getting picked up correctly */
7
- z-index: var(--dx-g-z-index-500);
8
-
9
- --dx-c-header-search-width: 316px;
10
- --dx-g-text-xs: 14px;
11
- }
@@ -1,4 +1,4 @@
1
- <template lwc:render-mode='light'>
1
+ <template lwc:render-mode="light">
2
2
  <dx-brand-theme-provider brand={brand}>
3
3
  <header class={className}>
4
4
  <dx-skip-nav-link></dx-skip-nav-link>
@@ -1,3 +1,8 @@
1
+ :host {
2
+ --dx-c-header-search-width: 316px;
3
+ --dx-g-text-xs: 14px;
4
+ }
5
+
1
6
  dx-header-mobile-nav-menu {
2
7
  --dx-c-color-background: var(--dx-g-brand-current-color-background);
3
8
  --dx-c-button-color-background-inactive: var(
@@ -1,8 +1,8 @@
1
1
  import { HeaderBase } from "dxBaseElements/headerBase";
2
2
 
3
3
  export default class Header extends HeaderBase {
4
- static renderMode = 'light';
5
-
4
+ static renderMode = "light";
5
+
6
6
  private get showSignup(): boolean {
7
7
  return this.signupLink
8
8
  ? (this.mobile && !this.isSearchOpen) || !this.mobile