@salesforcedevs/dx-components 1.3.8 → 1.3.12
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 +3 -3
- package/src/assets/icons/salesforcebrand-sprite/svg/symbols.svg +7 -0
- package/src/modules/dx/headerSearch/headerSearch.html +0 -2
- package/src/modules/dx/headerSearch/headerSearch.ts +0 -1
- package/src/modules/dx/input/input.ts +0 -2
- package/src/modules/dx/sidebarSearch/sidebarSearch.html +0 -1
- package/src/modules/dx/sidebarSearch/sidebarSearch.ts +0 -1
- package/src/modules/dx/tbidAvatarButton/tbidAvatarButton.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@coveo/headless": "^1.32.0",
|
|
14
|
-
"@floating-ui/dom": "^0.
|
|
14
|
+
"@floating-ui/dom": "^1.0.4",
|
|
15
15
|
"@sfdocs-internal/wires": "^0.6.3",
|
|
16
16
|
"@vimeo/player": "^2.16.4",
|
|
17
17
|
"classnames": "^2.2.6",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@types/vimeo__player": "^2.16.2",
|
|
37
37
|
"eventsourcemock": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "70d56891814d51310bcf5e86cd5fb0ce507f38af"
|
|
40
40
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<symbol id="crm-analytics" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<path class="acls-1" d="M56 53h-4V9c0-1.1-.9-2-2-2H38c-1.1 0-2 .9-2 2v13H26c-1.1 0-2 .9-2 2v13H14c-1.1 0-2 .9-2 2v14H8c-1.1 0-2 .9-2 2s.9 2 2 2h48c1.1 0 2-.9 2-2s-.9-2-2-2z" fill="#032d60"/>
|
|
5
|
+
<path class="acls-1" fill="#032d60" d="M16 41h8v12h-8zM28 39V26h8v27h-8V39zM40 24V11h8v42h-8V24z"/>
|
|
6
|
+
<path class="acls-3" fill="#0d9dda" d="M16 41h8v12h-8z"/>
|
|
7
|
+
<path class="acls-2" fill="#fff" d="M36 26h-8v27h8V26z"/>
|
|
8
|
+
<path class="acls-3" fill="#0d9dda" d="M48 11h-8v42h8V11z"/>
|
|
9
|
+
</symbol>
|
|
3
10
|
<symbol id="net-zero" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
|
4
11
|
<path class="acls-1"
|
|
5
12
|
d="M44.61 39H51a2 2 0 0 0 1.71-3l-19-31a2 2 0 0 0-3.42 0l-19 31A2 2 0 0 0 13 39h6.39L11.3 51.94a2 2 0 0 0-.05 2A2 2 0 0 0 13 55h17v3a2 2 0 0 0 4 0v-3h17a2 2 0 0 0 1.75-1 2 2 0 0 0 0-2zM34 51V37a2 2 0 0 0-4 0v14H16.61l8.09-12.94a2 2 0 0 0 .05-2A2 2 0 0 0 23 35h-6.43L32 9.83 47.43 35H41a2 2 0 0 0-1.75 1 2 2 0 0 0 0 2l8.14 13z"
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
onclear={onInputEscape}
|
|
21
21
|
onsubmit={onInputSubmit}
|
|
22
22
|
onfocus={openDropdown}
|
|
23
|
-
onblur={onDropdownRequestClose}
|
|
24
23
|
placeholder="Search"
|
|
25
24
|
size="override"
|
|
26
25
|
type="search"
|
|
@@ -52,7 +51,6 @@
|
|
|
52
51
|
onclear={onInputEscape}
|
|
53
52
|
onsubmit={onInputSubmit}
|
|
54
53
|
onfocus={openDropdown}
|
|
55
|
-
onblur={onDropdownRequestClose}
|
|
56
54
|
placeholder="Search"
|
|
57
55
|
shortcut-key="k"
|
|
58
56
|
size="small"
|
|
@@ -422,7 +422,6 @@ export default class SidebarSearch extends LightningElement {
|
|
|
422
422
|
switch (e.detail as PopoverRequestCloseType) {
|
|
423
423
|
case "interact-outside":
|
|
424
424
|
case "keypress-escape":
|
|
425
|
-
case "input-blur":
|
|
426
425
|
this.dropdownRequestedOpen = false;
|
|
427
426
|
break;
|
|
428
427
|
default:
|
|
@@ -49,7 +49,7 @@ export default class TbidAvatarButton extends LightningElement {
|
|
|
49
49
|
@api tbidApiBaseUrl = "";
|
|
50
50
|
|
|
51
51
|
@api login = (event: Event) => this.handleComponentLogin(event);
|
|
52
|
-
@api logout = () => this.handleComponentLogout();
|
|
52
|
+
@api logout = (event: Event) => this.handleComponentLogout(event);
|
|
53
53
|
|
|
54
54
|
private userInfo: UserInfo = {};
|
|
55
55
|
private isLoading = false;
|
|
@@ -242,7 +242,8 @@ export default class TbidAvatarButton extends LightningElement {
|
|
|
242
242
|
private handleSsoLogout = this.handleLogout.bind(this, true);
|
|
243
243
|
|
|
244
244
|
// This handles logout from _within_ this component ("Logout" click), rather than from SSO via the SFIDWidget.
|
|
245
|
-
private handleComponentLogout = () => {
|
|
245
|
+
private handleComponentLogout = (event: Event) => {
|
|
246
|
+
event?.preventDefault();
|
|
246
247
|
this.handleLogout(false);
|
|
247
248
|
};
|
|
248
249
|
|