@salesforcedevs/dx-components 1.32.0-alpha.7 → 1.32.0-alpha.9

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.32.0-alpha.7",
3
+ "version": "1.32.0-alpha.9",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -44,5 +44,5 @@
44
44
  "luxon": "3.4.4",
45
45
  "msw": "^2.12.4"
46
46
  },
47
- "gitHead": "10de923f77a1fb72ba450c8541cb783c9c0b9208"
47
+ "gitHead": "026276367da91550c1d58c2ad0e5aca5e6b49cfa"
48
48
  }
@@ -310,7 +310,7 @@ li.coveo-dynamic-facet-breadcrumb-value-list-item {
310
310
  bottom: var(--dx-result-inner-gap-y);
311
311
  left: var(--dx-result-inner-gap-x);
312
312
  right: var(--dx-result-inner-gap-x);
313
- background: var(--dx-g-gray-95);
313
+ background: var(--dx-g-cloud-blue-vibrant-95);
314
314
  border-radius: var(--dx-g-spacing-xs);
315
315
  pointer-events: none;
316
316
  z-index: 0;
@@ -326,7 +326,7 @@ li.coveo-dynamic-facet-breadcrumb-value-list-item {
326
326
  outline: none;
327
327
  }
328
328
 
329
- /* Pseudo: 8px from text on sides, more padding top/bottom inside ring (smaller inset y) */
329
+ /* Pseudo: 8px from text; inner ring container/hover (cloud blue 95), outer blue-vibrant-20 */
330
330
  .dx-result:focus-within::before {
331
331
  content: "";
332
332
  position: absolute;
@@ -334,8 +334,10 @@ li.coveo-dynamic-facet-breadcrumb-value-list-item {
334
334
  bottom: var(--dx-result-inner-gap-y);
335
335
  left: var(--dx-result-inner-gap-x);
336
336
  right: var(--dx-result-inner-gap-x);
337
- border: 2px solid var(--dx-g-blue-vibrant-50);
337
+ border: none;
338
338
  border-radius: var(--dx-g-spacing-xs);
339
+ box-shadow: 0 0 0 2px var(--dx-g-cloud-blue-vibrant-95),
340
+ 0 0 0 4px var(--dx-g-blue-vibrant-20);
339
341
  pointer-events: none;
340
342
  z-index: 2;
341
343
  }
@@ -25,32 +25,40 @@ a {
25
25
  transition: background-color var(--dx-g-transition-hue-1x, 0.1s ease);
26
26
  }
27
27
 
28
- /* Hover: light grey background in box shape only */
28
+ /* Hover: container/hover cloud blue 95 */
29
29
  .sidebar-item:not(.sidebar-item-selected):hover .search-result {
30
- background: var(--dx-g-gray-95);
30
+ background: var(--dx-g-cloud-blue-vibrant-95);
31
31
  }
32
32
 
33
- /* Selected: light blue background in box shape only */
33
+ /* Selected: full-width cloud blue bar + dark blue left accent (focus ring stays on inner .search-result) */
34
34
  .sidebar-item-selected {
35
- box-shadow: none;
35
+ margin-left: calc(-1 * var(--dx-c-sidebar-left-padding));
36
+ margin-right: calc(-1 * var(--dx-g-spacing-lg));
37
+ background: var(--dx-g-cloud-blue-vibrant-95);
38
+ border-radius: 0;
39
+ box-shadow: inset var(--dx-g-spacing-xs) 0 0 0 var(--dx-g-blue-vibrant-20);
36
40
  color: var(--dx-g-blue-vibrant-40) !important;
37
41
  }
38
42
 
39
43
  .sidebar-item-selected .search-result {
40
- background: var(--dx-g-cloud-blue-vibrant-95);
44
+ position: relative;
45
+ z-index: 1;
46
+ background: transparent;
41
47
  color: inherit;
42
48
  }
43
49
 
44
- /* Focus: only one box remove anchor outline (from commonTreeItem), draw single blue outline on .search-result only */
50
+ /* Focus: rings on inner .search-result only (smaller than full-width selected bar) */
45
51
  .sidebar-item:focus-visible {
46
52
  outline: none !important;
47
53
  }
48
54
 
49
55
  .sidebar-item:focus-visible .search-result {
50
- outline: 2px solid var(--dx-g-blue-vibrant-50);
51
- outline-offset: 0;
56
+ outline: none;
52
57
  border-radius: var(--dx-g-spacing-xs);
53
58
  border: none;
59
+
60
+ /* White inner ring reads clearly on selected (cloud 95) and hover backgrounds */
61
+ box-shadow: 0 0 0 2px white, 0 0 0 4px var(--dx-g-blue-vibrant-60);
54
62
  }
55
63
 
56
64
  .search-text {
@@ -62,6 +70,7 @@ a {
62
70
  }
63
71
 
64
72
  .description {
73
+ line-clamp: 3;
65
74
  -webkit-line-clamp: 3;
66
75
  overflow-wrap: break-word;
67
76
 
@@ -73,7 +82,7 @@ a {
73
82
 
74
83
  .title {
75
84
  color: var(--dx-g-text-heading-color);
76
- line-height: var(--dx-g-spacing-md);
85
+ line-height: 18px;
77
86
  display: block;
78
87
  margin-bottom: 4px;
79
88
  }