@oslokommune/punkt-css 16.0.0 → 16.0.5
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/css/components/header-service.css +2 -1
- package/dist/css/components/header-service.min.css +1 -1
- package/dist/css/pkt-components.css +2 -1
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +2 -1
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt.css +2 -1
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_header-service.scss +2 -2
- package/package.json +2 -2
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
|
+
## [16.0.5](https://github.com/oslokommune/punkt/compare/16.0.4...16.0.5) (2026-03-16)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Header mangler subtle border bottom (#3378).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [16.0.0](https://github.com/oslokommune/punkt/compare/15.4.7...16.0.0) (2026-03-06)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
|
@@ -109,7 +109,6 @@
|
|
|
109
109
|
|
|
110
110
|
.pkt-header-service {
|
|
111
111
|
--pkt-header-height: 4.5rem;
|
|
112
|
-
position: relative;
|
|
113
112
|
}
|
|
114
113
|
@media screen and (min-width: 48rem) {
|
|
115
114
|
.pkt-header-service {
|
|
@@ -153,7 +152,9 @@
|
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
154
|
.pkt-header-service {
|
|
155
|
+
position: relative;
|
|
156
156
|
background-color: var(--pkt-color-background-default);
|
|
157
|
+
border-bottom: 1px solid var(--pkt-color-border-subtle);
|
|
157
158
|
container-type: inline-size;
|
|
158
159
|
container-name: header-service;
|
|
159
160
|
display: grid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkt-header-service-spacer{height:80px}@media screen and (min-width: 48rem){.pkt-header-service-spacer{height:5.5rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer{height:5.5rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer{height:6.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer{height:6.5rem}}.pkt-header-service-spacer--mobile{height:80px}.pkt-header-service-spacer--has-user{height:128px}@media screen and (min-width: 48rem){.pkt-header-service-spacer--has-user{height:5.5rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--has-user{height:5.5rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--has-user{height:6.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--has-user{height:6.5rem}}.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile{height:128px}.pkt-header-service-spacer--compact{height:4rem}@media screen and (min-width: 48rem){.pkt-header-service-spacer--compact{height:4rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--compact{height:4rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--compact{height:4.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--compact{height:4.5rem}}.pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile{height:4rem}.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:104px}@media screen and (min-width: 48rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4.5rem}}.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile{height:104px}.pkt-header-service{--pkt-header-height: 4.5rem
|
|
1
|
+
.pkt-header-service-spacer{height:80px}@media screen and (min-width: 48rem){.pkt-header-service-spacer{height:5.5rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer{height:5.5rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer{height:6.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer{height:6.5rem}}.pkt-header-service-spacer--mobile{height:80px}.pkt-header-service-spacer--has-user{height:128px}@media screen and (min-width: 48rem){.pkt-header-service-spacer--has-user{height:5.5rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--has-user{height:5.5rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--has-user{height:6.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--has-user{height:6.5rem}}.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile{height:128px}.pkt-header-service-spacer--compact{height:4rem}@media screen and (min-width: 48rem){.pkt-header-service-spacer--compact{height:4rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--compact{height:4rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--compact{height:4.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--compact{height:4.5rem}}.pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile{height:4rem}.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:104px}@media screen and (min-width: 48rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4rem}}@container header-service (min-width: 48rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4rem}}@media screen and (min-width: 80rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4.5rem}}@container header-service (min-width: 80rem){.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user{height:4.5rem}}.pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile{height:104px}.pkt-header-service{--pkt-header-height: 4.5rem}@media screen and (min-width: 48rem){.pkt-header-service{--pkt-header-height: 5.5rem}}@container header-service (min-width: 48rem){.pkt-header-service{--pkt-header-height: 5.5rem}}@media screen and (min-width: 80rem){.pkt-header-service{--pkt-header-height: 6.5rem}}@container header-service (min-width: 80rem){.pkt-header-service{--pkt-header-height: 6.5rem}}.pkt-header-service--compact{--pkt-header-height: 4rem}@media screen and (min-width: 80rem){.pkt-header-service--compact{--pkt-header-height: 4.5rem}}@container header-service (min-width: 80rem){.pkt-header-service--compact{--pkt-header-height: 4.5rem}}.pkt-header-service--mobile{--pkt-header-height: 4rem}@media screen and (min-width: 80rem){.pkt-header-service--mobile{--pkt-header-height: 4.5rem}}.pkt-header-service{position:relative;background-color:var(--pkt-color-background-default);border-bottom:1px solid var(--pkt-color-border-subtle);container-type:inline-size;container-name:header-service;display:grid;align-items:center;grid-template-columns:1fr auto auto;grid-template-rows:4.5rem auto;column-gap:1rem}@media screen and (min-width: 48rem){.pkt-header-service{grid-template-rows:5.5rem auto;column-gap:1.5rem}}@container header-service (min-width: 48rem){.pkt-header-service{grid-template-rows:5.5rem auto;column-gap:1.5rem}}@media screen and (min-width: 80rem){.pkt-header-service{grid-template-rows:6.5rem auto;column-gap:2rem}}@container header-service (min-width: 80rem){.pkt-header-service{grid-template-rows:6.5rem auto;column-gap:2rem}}.pkt-header-service--compact{grid-template-rows:4.5rem auto}.pkt-header-service--fixed{width:100vw;position:fixed;top:0;left:0;z-index:10}.pkt-header-service--scroll-to-hide{transform:translate3d(0, 0, 0);transition:.5s transform ease-in-out}.pkt-header-service--hidden{transform:translate3d(0, -100%, 0)}.pkt-header-service__logo-area,.pkt-header-service__content,.pkt-header-service__user{display:inline-flex;column-gap:1.5rem;min-width:0}@media screen and (min-width: 80rem){.pkt-header-service__logo-area,.pkt-header-service__content,.pkt-header-service__user{column-gap:2rem}}@container header-service (min-width: 80rem){.pkt-header-service__logo-area,.pkt-header-service__content,.pkt-header-service__user{column-gap:2rem}}.pkt-header-service__logo-area{grid-column:1;grid-row:1;align-items:center;display:inline-flex;padding-left:1rem}@media screen and (min-width: 80rem){.pkt-header-service__logo-area{padding-left:2rem}}@container header-service (min-width: 80rem){.pkt-header-service__logo-area{padding-left:2rem}}.pkt-header-service__content,.pkt-header-service__user{grid-row:1;align-items:center}.pkt-header-service__content .pkt-header-service__user-button .pkt-btn__text,.pkt-header-service__user .pkt-header-service__user-button .pkt-btn__text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pkt-header-service__content .pkt-link,.pkt-header-service__user .pkt-link{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem}.pkt-header-service__content{grid-column:2}.pkt-header-service__user{grid-column:3;justify-self:end;padding-right:1rem}@media screen and (min-width: 80rem){.pkt-header-service__user{padding-right:2rem}}@container header-service (min-width: 80rem){.pkt-header-service__user{padding-right:2rem}}.pkt-header-service__logo{--fg-color: var(--pkt-color-text-body-default);flex:0 0 auto;display:flex;align-items:center;gap:.5rem}.pkt-header-service__logo a,.pkt-header-service__logo button{display:flex;align-items:center}.pkt-header-service__logo svg{aspect-ratio:6/3;height:2.5rem}.pkt-header-service__logo-area--without-service .pkt-header-service__logo svg{height:4rem}.pkt-header-service__service-name{letter-spacing:-0.2px;font-weight:500;font-size:1.375rem;line-height:2.125rem;padding-top:4px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;min-width:0;text-wrap:balance}.pkt-header-service__service-link{color:var(--pkt-color-text-body-default)}.pkt-header-service__service-link .pkt-link{text-decoration:none}.pkt-header-service .pkt-link{text-decoration:none}.pkt-header-service .pkt-link--active{text-decoration:underline;text-underline-position:from-font}.pkt-header-service .pkt-link:active{text-decoration:underline;text-underline-position:from-font}.pkt-header-service .pkt-link:hover{text-decoration:underline;text-underline-position:from-font}.pkt-header-service .pkt-link.pkt-header-service--mobile{letter-spacing:-0.2px;font-weight:500;font-size:1rem;line-height:1.5rem}.pkt-header-service__search-input{background-color:var(--pkt-color-background-default)}.pkt-header-service__search-input .pkt-input-icon:not(button) svg{margin-left:0}.pkt-header-service__slot-container,.pkt-header-service__search-container{display:flex;flex-direction:row;align-items:baseline}.pkt-header-service__slot-container,.pkt-header-service__slot-container .pkt-contents{display:flex;flex-direction:row;align-items:center}.pkt-header-service__slot-container>*+*,.pkt-header-service__slot-container .pkt-contents>*+*{margin-left:2rem}.pkt-header-service__slot-container>.pkt-link+.pkt-link,.pkt-header-service__slot-container>pkt-link+pkt-link,.pkt-header-service__slot-container>a+a,.pkt-header-service__slot-container .pkt-contents>.pkt-link+.pkt-link,.pkt-header-service__slot-container .pkt-contents>pkt-link+pkt-link,.pkt-header-service__slot-container .pkt-contents>a+a{margin-left:1.5rem}.pkt-header-service__user-container.is-open,.pkt-header-service__search-container.is-open,.pkt-header-service__slot-container.is-open,.pkt-header-service__user-menu.is-open,.pkt-header-service__mobile-menu.is-open{z-index:100}.pkt-header-service__user-container{position:relative}.pkt-header-service__user-button{max-width:28.5rem}.pkt-header-service__user-button .pkt-btn__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1 1 auto}.pkt-header-service__user-menu,.pkt-header-service__slot-menu{position:absolute;right:0;width:max(15.5rem,100%);max-width:min(32rem,90vw)}.pkt-header-service__logout-button{flex:0 0 auto}.pkt-header-service__mobile-menu-container{grid-column:1/-1;grid-row:2}.pkt-header-service__mobile-menu{overflow:hidden;max-height:0;opacity:0;transform:translateY(-6px);transition:max-height 200ms ease,opacity 150ms ease,transform 200ms ease;will-change:max-height,transform;pointer-events:none}.pkt-header-service__mobile-menu.is-open{max-height:calc(100dvh - var(--pkt-header-height) - 3.5rem);opacity:1;overflow:visible;pointer-events:auto;transform:translateY(0)}.pkt-header-service__mobile-menu.is-open>*{max-height:calc(100dvh - var(--pkt-header-height) - 3.5rem);overflow-y:auto;-webkit-overflow-scrolling:touch}@media(prefers-reduced-motion: reduce){.pkt-header-service__mobile-menu{transition:none;transform:none}}
|
|
@@ -2666,7 +2666,6 @@ pkt-fileupload__queue-display__item--in-progress .pkt-fileupload__queue-display_
|
|
|
2666
2666
|
|
|
2667
2667
|
.pkt-header-service {
|
|
2668
2668
|
--pkt-header-height: 4.5rem;
|
|
2669
|
-
position: relative;
|
|
2670
2669
|
}
|
|
2671
2670
|
@media screen and (min-width: 48rem) {
|
|
2672
2671
|
.pkt-header-service {
|
|
@@ -2710,7 +2709,9 @@ pkt-fileupload__queue-display__item--in-progress .pkt-fileupload__queue-display_
|
|
|
2710
2709
|
}
|
|
2711
2710
|
}
|
|
2712
2711
|
.pkt-header-service {
|
|
2712
|
+
position: relative;
|
|
2713
2713
|
background-color: var(--pkt-color-background-default);
|
|
2714
|
+
border-bottom: 1px solid var(--pkt-color-border-subtle);
|
|
2714
2715
|
container-type: inline-size;
|
|
2715
2716
|
container-name: header-service;
|
|
2716
2717
|
display: grid;
|