@salesforcedevs/dx-components 1.3.360 → 1.3.362

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.360",
3
+ "version": "1.3.362",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -46,5 +46,5 @@
46
46
  "volta": {
47
47
  "node": "18.18.0"
48
48
  },
49
- "gitHead": "359059437a3b75dc1f4fde44b77101b7e0497e47"
49
+ "gitHead": "b467b87ab7cf96d27e036a784d7d8fd4b7e423fe"
50
50
  }
@@ -8,9 +8,13 @@
8
8
  --dx-c-audio-player-padding: 6px 13px 13px;
9
9
  }
10
10
 
11
+ dx-icon {
12
+ --dx-c-icon-color: var(--dx-g-audio-text-color);
13
+ }
14
+
11
15
  /* Outermost container/border */
12
16
  .custom-audio-player {
13
- background-color: var(--dx-g-indigo-vibrant-90, #e0e5f8);
17
+ background-color: var(--dx-g-audio-background-color, #e0e5f8);
14
18
  border-radius: 12px;
15
19
  padding: var(--dx-c-audio-player-padding);
16
20
  }
@@ -29,6 +33,7 @@
29
33
  position: relative;
30
34
  text-transform: uppercase;
31
35
  top: 1px;
36
+ color: var(--dx-g-audio-text-color);
32
37
  }
33
38
 
34
39
  /*
@@ -40,7 +45,7 @@
40
45
  --dx-c-popover-padding: 0;
41
46
 
42
47
  align-items: center;
43
- background-color: var(--sds-g-gray-1, #fff);
48
+ background-color: var(--dx-g-audio-inner-div-background-color, #fff);
44
49
  border-radius: 5px;
45
50
  display: flex;
46
51
  margin-top: 8px;
@@ -66,6 +71,7 @@
66
71
  font-size: var(--dx-g-text-2xs, 11px);
67
72
  margin-left: 4px;
68
73
  margin-right: 8px;
74
+ color: var(--dx-g-audio-text-color);
69
75
  }
70
76
 
71
77
  /* Sliders and "thumb" controls */
@@ -150,6 +156,10 @@
150
156
  right: 0;
151
157
  }
152
158
 
159
+ .player-threedot-menu {
160
+ background: var(--dx-g-audio-inner-div-background-color);
161
+ }
162
+
153
163
  /* Three dot menu, for download and playback speed settings */
154
164
  .player-threedot-menu ul {
155
165
  font-family: var(--dx-g-font-sans);
@@ -170,7 +180,7 @@
170
180
  }
171
181
 
172
182
  .player-threedot-menu a {
173
- color: initial;
183
+ color: var(--dx-g-audio-threedot-menu-text-color);
174
184
  cursor: pointer;
175
185
  display: block;
176
186
  padding: var(--dx-c-threedot-menu-item-padding);
@@ -203,7 +213,7 @@
203
213
  .player-threedot-menu button {
204
214
  background: transparent;
205
215
  border: 0;
206
- color: initial; /* only necessary on iOS Safari to remove blue text color */
216
+ color: var(--dx-g-audio-threedot-menu-text-color);
207
217
  cursor: pointer;
208
218
  font-family: var(--dx-g-font-sans);
209
219
  font-size: var(--dx-g-text-2xs, 11px);
@@ -218,7 +228,7 @@
218
228
 
219
229
  @media (hover: hover) {
220
230
  .player dx-button::part(container):hover {
221
- background: var(--sds-g-gray-4);
231
+ background: var(--dx-g-audio-button-hover-color);
222
232
  }
223
233
 
224
234
  /* NOTE: Even though the 'hover' CSS rules for sliders on webkit and mozilla are the same here, they CANNOT be combined or the slider breaks */
@@ -253,6 +263,6 @@
253
263
  .player-threedot-menu a:hover,
254
264
  .player-threedot-menu button:focus,
255
265
  .player-threedot-menu button:hover {
256
- background: var(--sds-g-gray-4);
266
+ background: var(--dx-g-audio-button-hover-color);
257
267
  }
258
268
  }
@@ -54,6 +54,8 @@
54
54
  .button dx-icon {
55
55
  display: inline;
56
56
  vertical-align: var(--dx-c-button-icon-vertical-align, unset);
57
+
58
+ --dx-c-icon-color: var(--dx-g-button-icon-color);
57
59
  }
58
60
 
59
61
  .button.variant_inline dx-icon,
@@ -62,7 +62,7 @@ export default html`
62
62
  <% } %>
63
63
  </div>
64
64
  <a
65
- href="<%- raw.uri %>"
65
+ href="<%- raw.content_type === "help_documentation" ? raw.publicurl : raw.uri %>"
66
66
  class="dx-result-title CoveoResultLink"
67
67
  <% if (!raw.uri.includes('developer.salesforce.com') && !raw.uri.includes('developer-website-s.herokuapp.com')) { %>
68
68
  target="_blank"
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .details-section {
6
- color: var(--dx-g-gray-30);
6
+ color: var(--dx-g-text-label-color);
7
7
  font-family: var(--dx-g-font-display);
8
8
  font-size: var(--dx-g-text-xs);
9
9
  letter-spacing: 0.7px;
@@ -25,11 +25,12 @@
25
25
  }
26
26
 
27
27
  dx-icon-badge {
28
- --dx-c-icon-badge-background-color: var(--dx-g-blue-vibrant-50);
28
+ --dx-c-icon-badge-background-color: var(--dx-g-social-svg-background-color);
29
+ --dx-c-icon-badge-color: var(--dx-g-social-svg-icon-color);
29
30
  --dx-c-icon-badge-size: 34px;
30
31
  --dx-c-icon-badge-icon-size: 18px;
31
32
  }
32
33
 
33
34
  dx-icon-badge:hover {
34
- --dx-c-icon-badge-background-color: var(--dx-g-blue-vibrant-40);
35
+ --dx-c-icon-badge-background-color: var(--dx-g-social-svg-hover-color);
35
36
  }