@salesforcedevs/dx-components 1.3.202-langpicker3-alpha → 1.3.202-langpicker4-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
|
@@ -37,6 +37,7 @@ export default class Dropdown extends LightningElement {
|
|
|
37
37
|
@api fullWidth?: boolean | null;
|
|
38
38
|
@api navItemLabel: string | null = null;
|
|
39
39
|
@api variant: DropdownVariant = "base";
|
|
40
|
+
@api langPicker?: boolean;
|
|
40
41
|
|
|
41
42
|
// props forwarded to dropdown option
|
|
42
43
|
@api analyticsEvent?: string;
|
|
@@ -39,6 +39,7 @@ export default class Popover extends LightningElement {
|
|
|
39
39
|
@api width?: string | null = null;
|
|
40
40
|
@api fullWidth?: boolean | null;
|
|
41
41
|
@api showArrow?: boolean | null;
|
|
42
|
+
@api langPicker?: boolean;
|
|
42
43
|
|
|
43
44
|
@api
|
|
44
45
|
get open() {
|
|
@@ -151,7 +152,11 @@ export default class Popover extends LightningElement {
|
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
private get containerClassName() {
|
|
154
|
-
return cx(
|
|
155
|
+
return cx(
|
|
156
|
+
"popover-container",
|
|
157
|
+
this.open && "popover-container_open",
|
|
158
|
+
this.langPicker && "popover-leftalign"
|
|
159
|
+
);
|
|
155
160
|
}
|
|
156
161
|
|
|
157
162
|
private get style() {
|