@oslokommune/punkt-vue2
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -6,2 +6,7 @@ # Change Log | ||
## [3.0.2](https://github.com/oslokommune/punkt/compare/v3.0.1...v3.0.2) (2023-03-16) | ||
### Bug Fixes | ||
* [#735](https://github.com/oslokommune/punkt/issues/735) Rett feil i visning av innlogget bruker i Header komponent | ||
Rettet referanse til css-klassen `pkt-truncate-text` fra `truncate-text`. | ||
## [3.0.0](https://github.com/oslokommune/punkt/compare/v2.0.3...v3.0.0) (2023-03-13) | ||
@@ -8,0 +13,0 @@ |
@@ -39,3 +39,3 @@ import { n as s, I as i, u as o, a as r } from "./plugins-1c268205.js"; | ||
return t.$emit("changeRepresentation"); | ||
} } }, [e("pkt-icon", { staticClass: "pkt-btn__icon pkt-show-tablet-up", attrs: { name: "user" } }), e("span", { staticClass: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15" }, [t._v("Endre")]), e("span", { staticClass: "pkt-btn__text pkt-hide-tablet-up" }, [t._v("Endre")]), e("span", { staticClass: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up" }, [t._v(t._s(t.representing))])], 1) : t._e(), t.isLoggedIn && !t.canChangeRepresentation ? e("div", { staticClass: "pkt-header__action" }, [e("span", { staticClass: "pkt-header__action-text" }, [e("span", { staticClass: "pkt-btn__text pkt-header__action-textrow text-row-inline truncate-text" }, [t._v(t._s(t.representing))])]), e("span", { staticClass: "pkt-header__action-icon pkt-show-phablet-up" }, [e("pkt-icon", { attrs: { name: "user" } })], 1)]) : t._e(), t.showLogInButton && t.isLoggedIn ? e("button", { staticClass: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right", attrs: { "aria-label": "Logg ut" }, on: { click: function(n) { | ||
} } }, [e("pkt-icon", { staticClass: "pkt-btn__icon pkt-show-tablet-up", attrs: { name: "user" } }), e("span", { staticClass: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15" }, [t._v("Endre")]), e("span", { staticClass: "pkt-btn__text pkt-hide-tablet-up" }, [t._v("Endre")]), e("span", { staticClass: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up" }, [t._v(t._s(t.representing))])], 1) : t._e(), t.isLoggedIn && !t.canChangeRepresentation ? e("div", { staticClass: "pkt-header__action" }, [e("span", { staticClass: "pkt-header__action-text" }, [e("span", { staticClass: "pkt-btn__text pkt-header__action-textrow text-row-inline pkt-truncate-text" }, [t._v(t._s(t.representing))])]), e("span", { staticClass: "pkt-header__action-icon pkt-show-phablet-up" }, [e("pkt-icon", { attrs: { name: "user" } })], 1)]) : t._e(), t.showLogInButton && t.isLoggedIn ? e("button", { staticClass: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right", attrs: { "aria-label": "Logg ut" }, on: { click: function(n) { | ||
return t.$emit("logOut"); | ||
@@ -42,0 +42,0 @@ } } }, [e("pkt-icon", { staticClass: "pkt-btn__icon pkt-show-tablet-up", attrs: { name: "exit" } }), e("span", { staticClass: "pkt-btn__text" }, [t._v("Logg ut")])], 1) : t._e(), t.showLogInButton && !t.isLoggedIn ? e("button", { staticClass: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right", attrs: { "aria-label": "Logg inn" }, on: { click: function(n) { |
{ | ||
"name": "@oslokommune/punkt-vue2", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Vue2 komponentbibliotek til Punkt, et designsystem laget av Oslo Origo", | ||
@@ -30,3 +30,3 @@ "homepage": "https://punkt.oslo.kommune.no", | ||
"@oslokommune/punkt-assets": "^3.0.0", | ||
"@oslokommune/punkt-css": "^3.0.1", | ||
"@oslokommune/punkt-css": "^3.0.2", | ||
"@vitejs/plugin-vue2": "^2.2.0", | ||
@@ -69,3 +69,3 @@ "edit-json-file": "^1.7.0", | ||
"license": "MIT", | ||
"gitHead": "358641dad837ca95e1d27b7b7e106f7bc820e1b8" | ||
"gitHead": "f524e3e0014929ad7f9034afdd9a3fda050673c6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
56447