@oslokommune/punkt-vue
Advanced tools
Comparing version 12.1.0 to 12.2.0
@@ -8,2 +8,22 @@ # Changelog | ||
## [12.2.0](https://github.com/oslokommune/punkt/compare/12.1.0...12.2.0) (2024-09-30) | ||
### ⚠ BREAKING CHANGES | ||
Ingen | ||
### Features | ||
* Gray skin Tabs, Tags, LinkCard (#1935). Nå er det mulig å bruke `gray` istedenfor `grey` for farger, men vi har beholdt fallback på `grey` for å unngå breaking changes. | ||
Co-authored-by: Jan Schjetne <jan.schjetne@origo.oslo.kommune.no> | ||
### Bug Fixes | ||
Ingen | ||
### Chores | ||
Ingen | ||
--- | ||
## [12.0.0](https://github.com/oslokommune/punkt/compare/11.19.3...12.0.0) (2024-09-12) | ||
@@ -10,0 +30,0 @@ |
@@ -107,3 +107,3 @@ import { P as d } from "./Icon-DPY4YYRY.js"; | ||
name: "spinner-blue", | ||
path: "https://punkt-cdn.oslo.kommune.no/12.1/animations/" | ||
path: "https://punkt-cdn.oslo.kommune.no/12.2/animations/" | ||
})) : l("", !0), | ||
@@ -110,0 +110,0 @@ t.variant !== "label-only" ? (i(), a(s, { |
@@ -18,3 +18,3 @@ import { openBlock as c, createElementBlock as l, createCommentVNode as a } from "vue"; | ||
return { | ||
defaultSvgPath: "https://punkt-cdn.oslo.kommune.no/12.1/icons/", | ||
defaultSvgPath: "https://punkt-cdn.oslo.kommune.no/12.2/icons/", | ||
innerHtml: "" | ||
@@ -21,0 +21,0 @@ }; |
@@ -162,3 +162,3 @@ import { P as S } from "./Icon-DPY4YYRY.js"; | ||
"aria-hidden": "true", | ||
path: "https://punkt-cdn.oslo.kommune.no/12.1/logos/" | ||
path: "https://punkt-cdn.oslo.kommune.no/12.2/logos/" | ||
}) | ||
@@ -175,3 +175,3 @@ ], 8, F)) : (t(), o("button", { | ||
"aria-hidden": "true", | ||
path: "https://punkt-cdn.oslo.kommune.no/12.1/logos/" | ||
path: "https://punkt-cdn.oslo.kommune.no/12.2/logos/" | ||
}) | ||
@@ -178,0 +178,0 @@ ])), |
@@ -46,3 +46,3 @@ import m from "./punkt-vue-alert.js"; | ||
import { P as Vo } from "./InputWrapper-BQJIopie.js"; | ||
import { T as Yo } from "./Tag-CVAKMI8h.js"; | ||
import { T as Yo } from "./Tag-CDG92YYT.js"; | ||
const e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
@@ -49,0 +49,0 @@ __proto__: null, |
@@ -1,9 +0,9 @@ | ||
import { P as o } from "./Icon-DPY4YYRY.js"; | ||
import { resolveComponent as r, openBlock as i, createElementBlock as s, normalizeClass as n, createVNode as c, createElementVNode as a, toDisplayString as d, renderSlot as k } from "vue"; | ||
import { P as l } from "./Icon-DPY4YYRY.js"; | ||
import { resolveComponent as o, openBlock as i, createElementBlock as s, normalizeClass as n, createVNode as c, createElementVNode as a, toDisplayString as d, renderSlot as k } from "vue"; | ||
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js"; | ||
import { u as m, a as p } from "./plugins-DQVoaMd9.js"; | ||
const _ = { | ||
const u = { | ||
name: "PktLinkcard", | ||
components: { | ||
PktIcon: o | ||
PktIcon: l | ||
}, | ||
@@ -15,3 +15,3 @@ props: { | ||
validator(t) { | ||
return ["normal", "blue", "beige", "beige-outline", "green", "grey", "grey-outline"].includes(t); | ||
return ["normal", "blue", "beige", "beige-outline", "green", "grey", "gray", "grey-outline", "gray-outline"].includes(t); | ||
} | ||
@@ -41,5 +41,5 @@ }, | ||
methods: {} | ||
}, u = ["href", "target", "rel"], g = { class: "pkt-linkcard__text" }; | ||
function h(t, N, e, P, x, I) { | ||
const l = r("PktIcon"); | ||
}, _ = ["href", "target", "rel"], g = { class: "pkt-linkcard__text" }; | ||
function y(t, N, e, P, x, I) { | ||
const r = o("PktIcon"); | ||
return i(), s("a", { | ||
@@ -51,3 +51,3 @@ href: e.href, | ||
}, [ | ||
c(l, { | ||
c(r, { | ||
class: "pkt-link__icon", | ||
@@ -62,7 +62,7 @@ name: e.iconName | ||
]) | ||
], 10, u); | ||
], 10, _); | ||
} | ||
const y = /* @__PURE__ */ f(_, [["render", h]]), b = { | ||
const h = /* @__PURE__ */ f(u, [["render", y]]), b = { | ||
install(t) { | ||
p(t, y); | ||
p(t, h); | ||
} | ||
@@ -72,4 +72,4 @@ }; | ||
export { | ||
y as PktLinkcard, | ||
h as PktLinkcard, | ||
b as default | ||
}; |
@@ -51,3 +51,3 @@ import { toRefs as u, ref as m, openBlock as t, createElementBlock as l, normalizeClass as n, Fragment as c, unref as p, createVNode as g, toDisplayString as f, createCommentVNode as r, renderSlot as k } from "vue"; | ||
"aria-label": "loading", | ||
path: "https://punkt-cdn.oslo.kommune.no/12.1/animations/", | ||
path: "https://punkt-cdn.oslo.kommune.no/12.2/animations/", | ||
class: n(`pkt-loader__svg pkt-loader__${e.variant}`) | ||
@@ -54,0 +54,0 @@ }, null, 8, ["name", "class"]), |
import { ref as p, openBlock as s, createElementBlock as k, createElementVNode as v, Fragment as g, renderList as w, createBlock as f, resolveDynamicComponent as T, normalizeClass as N, withCtx as d, createCommentVNode as m, createTextVNode as y, toDisplayString as b } from "vue"; | ||
import { T as _ } from "./Tag-CVAKMI8h.js"; | ||
import { T as _ } from "./Tag-CDG92YYT.js"; | ||
import { P as C } from "./Icon-DPY4YYRY.js"; | ||
@@ -4,0 +4,0 @@ import { u as P, a as A } from "./plugins-DQVoaMd9.js"; |
@@ -1,2 +0,2 @@ | ||
import { T as s } from "./Tag-CVAKMI8h.js"; | ||
import { T as s } from "./Tag-CDG92YYT.js"; | ||
import { u as t, a as o } from "./plugins-DQVoaMd9.js"; | ||
@@ -3,0 +3,0 @@ const r = { |
{ | ||
"name": "@oslokommune/punkt-vue", | ||
"version": "12.1.0", | ||
"version": "12.2.0", | ||
"description": "Vue komponentbibliotek til Punkt, et designsystem laget av Oslo Origo", | ||
@@ -30,3 +30,3 @@ "homepage": "https://punkt.oslo.kommune.no", | ||
"@oslokommune/punkt-assets": "^12.1.0", | ||
"@oslokommune/punkt-css": "^12.1.0", | ||
"@oslokommune/punkt-css": "^12.2.0", | ||
"@vitejs/plugin-vue": "^5.1.3", | ||
@@ -69,3 +69,3 @@ "edit-json-file": "^1.8.0", | ||
"license": "MIT", | ||
"gitHead": "540906f27796c832d177f5f2bedd1bbe4bced7c4" | ||
"gitHead": "6eb4f246d43111da9142a7c98526d2d5d7dfda4e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
313963