@oslokommune/punkt-react 12.34.0 → 12.34.1
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/CHANGELOG.md +18 -0
- package/dist/punkt-react.es.js +2 -0
- package/dist/punkt-react.umd.js +2 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [12.34.1](https://github.com/oslokommune/punkt/compare/12.34.0...12.34.1) (2025-04-23)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* compact alert (#2418).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [12.34.0](https://github.com/oslokommune/punkt/compare/12.33.1...12.34.0) (2025-04-16)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/punkt-react.es.js
CHANGED
|
@@ -22846,6 +22846,7 @@ let Wl = class extends aa {
|
|
|
22846
22846
|
<div class=${ln(n)}>
|
|
22847
22847
|
<pkt-icon
|
|
22848
22848
|
class="pkt-alert__icon"
|
|
22849
|
+
aria-hidden="true"
|
|
22849
22850
|
name=${this.skin === "info" ? "alert-information" : `alert-${this.skin}`}
|
|
22850
22851
|
></pkt-icon>
|
|
22851
22852
|
|
|
@@ -22867,6 +22868,7 @@ let Wl = class extends aa {
|
|
|
22867
22868
|
<div class="pkt-alert__text" ${sn(this.defaultSlot)}></div>
|
|
22868
22869
|
|
|
22869
22870
|
${this.date ? Ae`<div class="pkt-alert__date">Sist oppdatert: ${this.date}</div>` : nt}
|
|
22871
|
+
|
|
22870
22872
|
</div>
|
|
22871
22873
|
`;
|
|
22872
22874
|
}
|
package/dist/punkt-react.umd.js
CHANGED
|
@@ -339,6 +339,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
339
339
|
<div class=${sn(n)}>
|
|
340
340
|
<pkt-icon
|
|
341
341
|
class="pkt-alert__icon"
|
|
342
|
+
aria-hidden="true"
|
|
342
343
|
name=${this.skin==="info"?"alert-information":`alert-${this.skin}`}
|
|
343
344
|
></pkt-icon>
|
|
344
345
|
|
|
@@ -360,6 +361,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
360
361
|
<div class="pkt-alert__text" ${ln(this.defaultSlot)}></div>
|
|
361
362
|
|
|
362
363
|
${this.date?Ae`<div class="pkt-alert__date">Sist oppdatert: ${this.date}</div>`:rt}
|
|
364
|
+
|
|
363
365
|
</div>
|
|
364
366
|
`}};nc([H({type:Boolean,reflect:!1})],al.prototype,"compact",2),nc([H({type:String,reflect:!0})],al.prototype,"title",2),nc([H({type:String,reflect:!0})],al.prototype,"skin",2),nc([H({type:String})],al.prototype,"ariaLive",2),nc([H({type:String,reflect:!0})],al.prototype,"aria-live",2),nc([H({type:Boolean,reflect:!0})],al.prototype,"closeAlert",2),nc([H({type:String,reflect:!0})],al.prototype,"date",2),nc([Fn()],al.prototype,"_isClosed",2),al=nc([gr("pkt-alert")],al);var sP=Object.defineProperty,lP=Object.getOwnPropertyDescriptor,zy=(r,n,i,l)=>{for(var d=l>1?void 0:l?lP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&sP(n,i,d),d};let vh=class extends mh{constructor(){super(...arguments),this.ariaLabelledBy="",this.compact=!1,this.skin="borderless"}updated(n){n.has("skin")&&this.requestUpdate()}render(){const n={"pkt-accordion":!0,"pkt-accordion--compact":this.compact,[`pkt-accordion--${this.skin}`]:this.skin};return Ae`
|
|
365
367
|
<div
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-react",
|
|
3
|
-
"version": "12.34.
|
|
3
|
+
"version": "12.34.1",
|
|
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.5",
|
|
41
|
-
"@oslokommune/punkt-elements": "^12.34.
|
|
41
|
+
"@oslokommune/punkt-elements": "^12.34.1",
|
|
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.30.1",
|
|
52
|
-
"@oslokommune/punkt-css": "^12.34.
|
|
52
|
+
"@oslokommune/punkt-css": "^12.34.1",
|
|
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": "
|
|
115
|
+
"gitHead": "62e323745bcb2f3d3a27ff2f05090680fbeaeef7"
|
|
116
116
|
}
|