@salesforcedevs/dx-components 1.3.174 → 1.3.175
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 +4 -4
- package/src/modules/dx/headerSearch/headerSearch.html +0 -3
- package/src/modules/dx/popover/popover.html +0 -1
- package/src/modules/dx/popover/popover.ts +3 -4
- package/src/modules/dx/sidebarSearch/sidebarSearch.html +0 -1
- package/src/modules/dx/toc/toc.html +1 -1
- package/src/modules/dx/treeTile/treeTile.html +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.175",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "
|
|
7
|
+
"node": "16.x"
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@coveo/headless": "^2.16.5",
|
|
14
14
|
"@floating-ui/dom": "1.5.1",
|
|
15
|
-
"@sfdocs-internal/wires": "
|
|
15
|
+
"@sfdocs-internal/wires": "0.6.89",
|
|
16
16
|
"@types/throttle-debounce": "^5.0.0",
|
|
17
17
|
"@vimeo/player": "^2.16.4",
|
|
18
18
|
"classnames": "^2.2.6",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"eventsourcemock": "^2.0.0",
|
|
42
42
|
"luxon": "^3.1.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "5417c0fa28a39ac5c1cade341f447a38a9d7da54"
|
|
45
45
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<!-- MOBILE -->
|
|
4
4
|
<template if:true={mobile}>
|
|
5
5
|
<dx-dropdown
|
|
6
|
-
aria-label="Record Type"
|
|
7
6
|
class="mobile_search-dropdown"
|
|
8
7
|
open={isDropdownOpen}
|
|
9
8
|
options={suggestions}
|
|
@@ -12,7 +11,6 @@
|
|
|
12
11
|
page-padding="0"
|
|
13
12
|
>
|
|
14
13
|
<dx-input
|
|
15
|
-
aria-label="Record Search Term"
|
|
16
14
|
class={mobileSearchInputClassName}
|
|
17
15
|
icon-size="large"
|
|
18
16
|
icon-symbol="search"
|
|
@@ -45,7 +43,6 @@
|
|
|
45
43
|
full-width
|
|
46
44
|
>
|
|
47
45
|
<dx-input
|
|
48
|
-
aria-label="Record Search Term"
|
|
49
46
|
icon-symbol="search"
|
|
50
47
|
onchange={onInputChange}
|
|
51
48
|
onclear={onInputEscape}
|
|
@@ -31,7 +31,6 @@ const isEventOutsideElements = (
|
|
|
31
31
|
);
|
|
32
32
|
|
|
33
33
|
export default class Popover extends LightningElement {
|
|
34
|
-
@api ariaLabel: string | null = null;
|
|
35
34
|
@api offset?: "small" | "medium";
|
|
36
35
|
@api pagePadding?: number = 16; // padding between dropdown and the edge of the page
|
|
37
36
|
@api placement?: PopperPlacement = "bottom-start";
|
|
@@ -254,9 +253,9 @@ export default class Popover extends LightningElement {
|
|
|
254
253
|
const elements = slot.assignedElements();
|
|
255
254
|
const slotted = elements.length === 0 ? null : elements[0];
|
|
256
255
|
// allows dropdown/select to compose popover
|
|
257
|
-
const slotElement = (
|
|
258
|
-
? slotted.firstChild
|
|
259
|
-
|
|
256
|
+
const slotElement = (
|
|
257
|
+
slotted?.tagName === "SLOT" ? slotted.firstChild : slotted
|
|
258
|
+
) as HTMLElement | null;
|
|
260
259
|
const isWorkToDo =
|
|
261
260
|
slotElement &&
|
|
262
261
|
(!this.control || !slotElement.isSameNode(this.control));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<a href={href} class={tileClass} target={target}>
|
|
3
|
-
<div class="flex indentation" aria-level={tileAriaLevel}>
|
|
3
|
+
<div class="flex indentation" role="heading" aria-level={tileAriaLevel}>
|
|
4
4
|
<span
|
|
5
5
|
class="tile-label sidebar-item-truncate-text"
|
|
6
6
|
title={treeNode.label}
|