@salesforcedevs/dx-components 0.0.0-alpha.11 → 0.0.0-alpha.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
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LightningElement, api } from "lwc";
|
|
2
|
-
import cx from "classnames";
|
|
3
2
|
import { normalizeBoolean } from "dxUtils/normalizers";
|
|
4
3
|
|
|
5
4
|
export default class ButtonToggle extends LightningElement {
|
|
@@ -26,10 +25,6 @@ export default class ButtonToggle extends LightningElement {
|
|
|
26
25
|
private mouseHovering: boolean = false;
|
|
27
26
|
private hasFocus: boolean = false;
|
|
28
27
|
|
|
29
|
-
private get className(): string {
|
|
30
|
-
return cx(this.value && "pressed");
|
|
31
|
-
}
|
|
32
|
-
|
|
33
28
|
private get symbol() {
|
|
34
29
|
if (
|
|
35
30
|
(this.value && this.mouseHovering && !this.hasFocus) ||
|