@salesforcedevs/dx-components 1.3.186-2-cssalpha → 1.3.186-4-cssalpha

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/dx-components",
3
- "version": "1.3.186-2-cssalpha",
3
+ "version": "1.3.186-4-cssalpha",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -14,34 +14,17 @@ a {
14
14
  display: flex;
15
15
  align-items: center;
16
16
  height: var(--dx-g-spacing-xl);
17
- font-family: var(--dx-g-font-display);
18
- white-space: nowrap;
19
- color: var(--dx-g-blue-vibrant-20);
20
- transition: var(--dx-g-transition-hue-1x);
21
- cursor: pointer;
22
- outline-offset: -1px;
23
- }
24
-
25
- .new-nav-list-item {
26
17
  font-size: var(--dx-g-text-base);
27
18
  }
28
19
 
29
20
  .nav-list-item_default {
30
- border: 0;
31
- border-radius: var(--dx-g-spacing-md);
32
- font-size: var(--dx-g-text-sm);
33
- padding: 0 var(--horizontal-spacing);
34
- }
35
-
36
- .new-nav-list-item_default {
37
21
  display: flex;
38
22
  padding: var(--dx-g-spacing-sm) var(--dx-g-spacing-lg);
39
23
  justify-content: center;
40
24
  align-items: center;
41
25
  }
42
26
 
43
- .nav-list-item_small,
44
- .new-nav-list-item_small {
27
+ .nav-list-item_small {
45
28
  --border-color: transparent;
46
29
 
47
30
  border-bottom: 2px solid var(--border-color);
@@ -58,8 +41,6 @@ button.nav-list-item_small > dx-icon {
58
41
  margin-left: var(--dx-g-spacing-xs);
59
42
  }
60
43
 
61
- .nav-list-item_default:hover,
62
- .nav-list-item_default:active,
63
44
  :host([aria-expanded="true"]) button.nav-list-item_default {
64
45
  background: var(
65
46
  --dx-g-brand-current-button-color-background-inactive,
@@ -67,13 +48,6 @@ button.nav-list-item_small > dx-icon {
67
48
  );
68
49
  }
69
50
 
70
- .new-nav-list-item_default.state-active {
71
- color: var(--vibrant-blue-50, #0176d3);
72
- font-family: var(--dx-g-font-sans);
73
- font-size: var(--dx-g-text-base);
74
- border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-50);
75
- }
76
-
77
51
  button.nav-list-item:hover > dx-icon,
78
52
  button.nav-list-item:active > dx-icon,
79
53
  :host([aria-expanded="true"]) button.nav-list-item > dx-icon {
@@ -95,11 +69,10 @@ button.nav-list-item:active > dx-icon,
95
69
  }
96
70
 
97
71
  .nav-list-item_default.state-active {
98
- background: var(
99
- --dx-g-brand-current-button-color-background-active,
100
- var(--dx-g-brand-default-button-color-background-active)
101
- );
102
- color: var(--dx-g-brand-current-color, var(--dx-g-brand-default-color));
72
+ color: var(--vibrant-blue-50, #0176d3);
73
+ font-family: var(--dx-g-font-sans);
74
+ font-size: var(--dx-g-text-base);
75
+ border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-50);
103
76
  }
104
77
 
105
78
  @media (max-width: 1160px) {
@@ -51,9 +51,9 @@ export default class Tab extends LightningElement {
51
51
 
52
52
  get className() {
53
53
  return cx(
54
- "new-nav-list-item",
54
+ "nav-list-item",
55
55
  this.isActive && "state-active",
56
- `new-nav-list-item_${this.variant}`
56
+ `nav-list-item_${this.variant}`
57
57
  );
58
58
  }
59
59
 
@@ -1,3 +1,4 @@
1
+ import { logCoveoPageView } from "docUtils/utils";
1
2
  import { LightningElement, api } from "lwc";
2
3
 
3
4
  const REDUNDANT_INSTANCE_ERROR_MESSAGE =
@@ -10,6 +11,8 @@ declare module globalThis {
10
11
  export default class TrafficLabeler extends LightningElement {
11
12
  @api internalIps?: string;
12
13
  @api clearbitPublicKey?: string;
14
+ @api coveoOrganizationId!: string;
15
+ @api coveoAnalyticsToken!: string;
13
16
 
14
17
  connectedCallback(): void {
15
18
  if (!globalThis.singletonTrafficLabelerConnected) {
@@ -23,6 +26,8 @@ export default class TrafficLabeler extends LightningElement {
23
26
  } else {
24
27
  console.error(REDUNDANT_INSTANCE_ERROR_MESSAGE);
25
28
  }
29
+
30
+ logCoveoPageView(this.coveoOrganizationId, this.coveoAnalyticsToken);
26
31
  }
27
32
 
28
33
  async loadClearBitData() {