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.
@@ -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);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flinker-dom",
3
3
  "description": "Free TypeScript library for writing frontend apps",
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerDOM.git"