flinker-dom 1.1.12 → 1.1.13
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/dist/esm/components.js +4 -4
- package/package.json +1 -1
package/dist/esm/components.js
CHANGED
|
@@ -117,7 +117,7 @@ export class UIComponent {
|
|
|
117
117
|
res.pseudo = {};
|
|
118
118
|
const state = {};
|
|
119
119
|
this.whenHoveredFn(state);
|
|
120
|
-
res.pseudo['hover'] = state;
|
|
120
|
+
res.pseudo[':hover'] = state;
|
|
121
121
|
}
|
|
122
122
|
if (this.mapStateFn)
|
|
123
123
|
this.mapStateFn(res);
|
|
@@ -353,7 +353,7 @@ export class Button extends Text {
|
|
|
353
353
|
res.pseudo = {};
|
|
354
354
|
const state = {};
|
|
355
355
|
this.whenHoveredFn(state);
|
|
356
|
-
res.pseudo['hover'] = state;
|
|
356
|
+
res.pseudo[':hover'] = state;
|
|
357
357
|
}
|
|
358
358
|
if (!this.childrenColl)
|
|
359
359
|
this.dom.textContent = this.props.text ?? null;
|
|
@@ -673,7 +673,7 @@ export class Input extends UIComponent {
|
|
|
673
673
|
res.pseudo = {};
|
|
674
674
|
const state = {};
|
|
675
675
|
this.whenHoveredFn(state);
|
|
676
|
-
res.pseudo['hover'] = state;
|
|
676
|
+
res.pseudo[':hover'] = state;
|
|
677
677
|
}
|
|
678
678
|
if (this.whenFocusedFn) {
|
|
679
679
|
if (!res.pseudo)
|
|
@@ -687,7 +687,7 @@ export class Input extends UIComponent {
|
|
|
687
687
|
res.pseudo = {};
|
|
688
688
|
const state = {};
|
|
689
689
|
this.whenPlaceholderShownFn(state);
|
|
690
|
-
res.pseudo['placeholder'] = state;
|
|
690
|
+
res.pseudo['::placeholder'] = state;
|
|
691
691
|
}
|
|
692
692
|
if (this.mapStateFn)
|
|
693
693
|
this.mapStateFn(res);
|