@salesforcedevs/docs-components 1.3.194-langpicker7-alpha → 1.3.194-langpicker9-alpha
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
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
--button-primary-color-hover: var(--dx-g-cloud-blue-vibrant-95);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.footer-display {
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
.footer_lang-dropdown {
|
|
9
13
|
padding: var(--dx-g-spacing-2xs) var(--dx-g-spacing-md);
|
|
10
14
|
}
|
|
@@ -17,7 +21,8 @@
|
|
|
17
21
|
|
|
18
22
|
.footer_lang-dropdown:hover,
|
|
19
23
|
.footer_lang-dropdown:active,
|
|
20
|
-
.footer_lang-dropdown:focus
|
|
24
|
+
.footer_lang-dropdown:focus,
|
|
25
|
+
.header_bail-link:hover {
|
|
21
26
|
background-color: var(--button-primary-color-hover);
|
|
22
27
|
|
|
23
28
|
--border-color: var(--button-primary-color-hover);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div if:false={mobile} class="footer-
|
|
2
|
+
<div if:false={mobile} class="footer-display">
|
|
3
3
|
<dx-button
|
|
4
4
|
if:true={hasBailLink}
|
|
5
5
|
aria-label={bailLabel}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
value-path={langValuePath}
|
|
21
21
|
value={language}
|
|
22
22
|
onchange={onLangChange}
|
|
23
|
+
variant="docoption"
|
|
23
24
|
>
|
|
24
25
|
<dx-button
|
|
25
26
|
aria-label="Select Language"
|
|
@@ -34,7 +34,7 @@ export default class ContentLayout extends LightningElement {
|
|
|
34
34
|
private _language: string | null = null;
|
|
35
35
|
|
|
36
36
|
private get hasLanguages(): boolean {
|
|
37
|
-
return !!(this.languages && this.languages.length);
|
|
37
|
+
return !!(this.languages && this.languages.length > 1);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
private get languageLabel(): string {
|
|
@@ -52,41 +52,6 @@
|
|
|
52
52
|
></dx-header-nav>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
|
-
<div
|
|
56
|
-
if:false={smallMobile}
|
|
57
|
-
class="header_l2_group header_l2_group-right-ctas"
|
|
58
|
-
>
|
|
59
|
-
<dx-dropdown
|
|
60
|
-
if:true={hasLanguages}
|
|
61
|
-
class="header_lang-dropdown"
|
|
62
|
-
options={languages}
|
|
63
|
-
small
|
|
64
|
-
value-path={langValuePath}
|
|
65
|
-
value={language}
|
|
66
|
-
onchange={onLangChange}
|
|
67
|
-
>
|
|
68
|
-
<dx-button
|
|
69
|
-
aria-label="Select Language"
|
|
70
|
-
variant="inline"
|
|
71
|
-
icon-size="small"
|
|
72
|
-
icon-symbol="world"
|
|
73
|
-
>
|
|
74
|
-
{languageLabel}
|
|
75
|
-
</dx-button>
|
|
76
|
-
</dx-dropdown>
|
|
77
|
-
<dx-button
|
|
78
|
-
if:true={hasBailLink}
|
|
79
|
-
aria-label={bailLabel}
|
|
80
|
-
class="header_bail-link"
|
|
81
|
-
href={bailHref}
|
|
82
|
-
onclick={handleBailClick}
|
|
83
|
-
variant="tertiary"
|
|
84
|
-
icon-symbol="new_window"
|
|
85
|
-
target="_blank"
|
|
86
|
-
>
|
|
87
|
-
{bailLabel}
|
|
88
|
-
</dx-button>
|
|
89
|
-
</div>
|
|
90
55
|
</div>
|
|
91
56
|
</header>
|
|
92
57
|
</dx-brand-theme-provider>
|