@oslokommune/punkt-react 12.42.1 → 12.42.3

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.
@@ -28598,7 +28598,7 @@ let Jm = class extends dn {
28598
28598
  name=${(this.name || this.id) + "-input"}
28599
28599
  value=${this.value}
28600
28600
  @change=${(r) => {
28601
- this.value = r.target.value, r.stopImmediatePropagation();
28601
+ this.touched = !0, this.value = r.target.value, r.stopImmediatePropagation();
28602
28602
  }}
28603
28603
  @input=${(r) => {
28604
28604
  this.onInput(), r.stopImmediatePropagation();
@@ -1382,7 +1382,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
1382
1382
  id=${this.id+"-input"}
1383
1383
  name=${(this.name||this.id)+"-input"}
1384
1384
  value=${this.value}
1385
- @change=${r=>{this.value=r.target.value,r.stopImmediatePropagation()}}
1385
+ @change=${r=>{this.touched=!0,this.value=r.target.value,r.stopImmediatePropagation()}}
1386
1386
  @input=${r=>{this.onInput(),r.stopImmediatePropagation()}}
1387
1387
  @focus=${r=>{this.onFocus(),r.stopImmediatePropagation()}}
1388
1388
  @blur=${r=>{this.onBlur(),r.stopImmediatePropagation()}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "12.42.1",
3
+ "version": "12.42.3",
4
4
  "description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@lit-labs/ssr-dom-shim": "^1.2.1",
40
40
  "@lit/react": "^1.0.7",
41
- "@oslokommune/punkt-elements": "^12.42.1",
41
+ "@oslokommune/punkt-elements": "^12.42.3",
42
42
  "angular-html-parser": "^6.0.2",
43
43
  "html-format": "^1.1.7",
44
44
  "prettier": "^3.3.3",
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
51
51
  "@oslokommune/punkt-assets": "^12.39.2",
52
- "@oslokommune/punkt-css": "^12.42.1",
52
+ "@oslokommune/punkt-css": "^12.42.3",
53
53
  "@testing-library/jest-dom": "^6.5.0",
54
54
  "@testing-library/react": "^16.0.1",
55
55
  "@testing-library/user-event": "^14.5.2",
@@ -112,5 +112,5 @@
112
112
  "url": "https://github.com/oslokommune/punkt/issues"
113
113
  },
114
114
  "license": "MIT",
115
- "gitHead": "8c03898a29df70a7126869654f75662c626dfc90"
115
+ "gitHead": "892aacec2a4994677e7da4c3535820ce42048d15"
116
116
  }