@oslokommune/punkt-css 13.21.0 → 14.0.0

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/dist/css/components/card.css +3 -3
  3. package/dist/css/components/card.min.css +1 -1
  4. package/dist/css/components/header-service-mobile.css +184 -0
  5. package/dist/css/components/header-service-mobile.min.css +1 -0
  6. package/dist/css/components/header-service.css +413 -0
  7. package/dist/css/components/header-service.min.css +1 -0
  8. package/dist/css/components/header-user-menu.css +128 -0
  9. package/dist/css/components/header-user-menu.min.css +1 -0
  10. package/dist/css/components/textinput.css +1 -1
  11. package/dist/css/components/textinput.min.css +1 -1
  12. package/dist/css/elements/checkbox-radio.css +3 -3
  13. package/dist/css/elements/checkbox-radio.min.css +1 -1
  14. package/dist/css/elements/input.css +1 -1
  15. package/dist/css/elements/input.min.css +1 -1
  16. package/dist/css/elements/select.css +1 -1
  17. package/dist/css/elements/select.min.css +1 -1
  18. package/dist/css/pkt-base.css +7 -2
  19. package/dist/css/pkt-base.min.css +1 -1
  20. package/dist/css/pkt-components.css +732 -4
  21. package/dist/css/pkt-components.min.css +1 -1
  22. package/dist/css/pkt-docs.css +742 -9
  23. package/dist/css/pkt-docs.min.css +1 -1
  24. package/dist/css/pkt-elements.css +4 -4
  25. package/dist/css/pkt-elements.min.css +1 -1
  26. package/dist/css/pkt.css +742 -9
  27. package/dist/css/pkt.min.css +1 -1
  28. package/dist/scss/abstracts/mixins/_container-queries.scss +37 -0
  29. package/dist/scss/abstracts/mixins/_index.scss +1 -0
  30. package/dist/scss/abstracts/variables/_index.scss +1 -1
  31. package/dist/scss/base/_typography.scss +4 -1
  32. package/dist/scss/components/_card.scss +3 -3
  33. package/dist/scss/components/_header-service-mobile.scss +211 -0
  34. package/dist/scss/components/_header-service.scss +378 -0
  35. package/dist/scss/components/_header-user-menu.scss +127 -0
  36. package/dist/scss/components/_index.scss +3 -0
  37. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,68 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [14.0.0](https://github.com/oslokommune/punkt/compare/13.22.0...14.0.0) (2026-02-02)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ * Header (Service) (#3192) Nå også som custom element!. BREAKING CHANGE: Fjernet 'logIn' event (kun 'logOut' støttes nå)
12
+ BREAKING CHANGE: Erstattet 'fixed' prop med 'position' (verdier: 'fixed' | 'relative', default: 'fixed')
13
+ BREAKING CHANGE: Erstattet 'scrollToHide' prop med 'scrollBehavior' (verdier: 'hide' | 'none', default: 'hide')
14
+ BREAKING CHANGE: Erstattet 'showLogOutButton' med 'logOutButtonPlacement' (verdier: 'userMenu' | 'header' | 'both' | 'none', default: 'none')
15
+ BREAKING CHANGE: Fjernet 'showMenuButton' prop
16
+ BREAKING CHANGE: Fjernet 'user.shortname' fra user-objektet
17
+ BREAKING CHANGE: Fjernet 'representing.shortname' fra representing-objektet
18
+ BREAKING CHANGE: Endret 'userMenu.items.target' type fra 'string' til 'string | function'
19
+ BREAKING CHANGE: Utdatert 'userMenuFooter' og 'userOptions' props (bruk 'userMenu' i stedet)
20
+ BREAKING CHANGE: Fjernet default verdi for 'logoLink' (var `https://www.oslo.kommune.no/`)
21
+
22
+ NYE FEATURES:
23
+ - Lagt til søkefunksjonalitet med props: 'showSearch', 'searchPlaceholder', 'searchValue'
24
+ - Nye events: 'onSearch' og 'onSearchChange' for søkeinteraksjon
25
+ - Nye events: 'logoClick' og 'serviceClick' for klikkhåndtering
26
+ - Nye React-props: 'logoClick' og 'serviceClick' callbacks
27
+ - Lagt til 'serviceLink' prop for tjenestenavnlenke
28
+ - Lagt til 'hideLogo' prop for å skjule Oslo-logoen
29
+ - Lagt til 'compact' prop for kompakt header-høyde
30
+ - Lagt til 'mobileBreakpoint' prop (default: 768px) for mobil-layout
31
+ - Lagt til 'tabletBreakpoint' prop (default: 1280px) for tablet-layout
32
+ - Lagt til 'openedMenu' prop for å kontrollere hvilken meny som er åpen ved oppstart
33
+
34
+ FUNKSJONELLE ENDRINGER:
35
+ - Alle events har nå 'attribute' felt for custom element-støtte
36
+ - Forbedret type-dokumentasjon for 'user.lastLoggedIn' (string | Date)
37
+ - Forbedret type-dokumentasjon for 'representing.orgNumber' (string | number)
38
+
39
+
40
+ ### Features
41
+ Ingen
42
+
43
+ ### Bug Fixes
44
+ Ingen
45
+
46
+ ### Chores
47
+ Ingen
48
+
49
+ ---
50
+
51
+
52
+ ## [13.22.0](https://github.com/oslokommune/punkt/compare/13.21.0...13.22.0) (2026-01-30)
53
+
54
+ ### ⚠ BREAKING CHANGES
55
+ Ingen
56
+
57
+ ### Features
58
+ * update card styles (#3200).
59
+
60
+
61
+ ### Bug Fixes
62
+ Ingen
63
+
64
+ ### Chores
65
+ Ingen
66
+
67
+ ---
68
+
69
+
8
70
  ## [13.21.0](https://github.com/oslokommune/punkt/compare/13.20.0...13.21.0) (2026-01-30)
9
71
 
10
72
  ### ⚠ BREAKING CHANGES
@@ -183,13 +183,13 @@ pkt-card {
183
183
  }
184
184
  .pkt-card--outlined, .pkt-card--outlined-beige {
185
185
  background-color: var(--pkt-color-background-default);
186
- outline-offset: -4px;
186
+ outline-offset: -2px;
187
187
  }
188
188
  .pkt-card--outlined {
189
- outline: 4px solid var(--pkt-color-grays-gray-100);
189
+ outline: 2px solid var(--pkt-color-grays-gray-100);
190
190
  }
191
191
  .pkt-card--outlined-beige {
192
- outline: 4px solid var(--pkt-color-brand-light-beige-1000);
192
+ outline: 2px solid var(--pkt-color-brand-light-beige-1000);
193
193
  }
194
194
  .pkt-card--gray {
195
195
  background-color: var(--pkt-color-brand-neutrals-100);
@@ -1 +1 @@
1
- pkt-card{display:block;width:100%}.pkt-card{position:relative;display:flex;align-items:center;width:100%;min-width:12.5rem;padding:1.5rem}.pkt-card .pkt-card__wrapper{display:flex;flex-direction:column;flex:1 1 53%;width:100%;overflow:hidden}.pkt-card.pkt-card--padding-none{padding:0}.pkt-card .pkt-card__heading h1,.pkt-card .pkt-card__heading h2,.pkt-card .pkt-card__heading h3,.pkt-card .pkt-card__heading h4,.pkt-card .pkt-card__heading h5{padding:0;margin:0;font-size:1.875rem;font-weight:400;margin-bottom:.5rem;hyphens:auto;overflow-wrap:break-word}.pkt-card .pkt-card__link{text-decoration-thickness:.12rem;text-underline-offset:.15em}.pkt-card p.pkt-card__subheading{padding:0;margin:0;line-height:unset;margin-bottom:1rem;font-size:1.25rem;font-weight:300;hyphens:auto;overflow-wrap:break-word}.pkt-card .pkt-card__metadata{margin-top:1rem;margin-bottom:0;line-height:unset;gap:.5rem}.pkt-card .pkt-card__metadata-lead{font-weight:500}.pkt-card .pkt-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:.5rem;margin-top:0}.pkt-card .pkt-card__tags-bottom{margin-top:.5rem;margin-bottom:0}.pkt-card.pkt-card--horizontal{flex-direction:row}@media screen and (max-width: 36rem){.pkt-card.pkt-card--horizontal{flex-direction:column}}.pkt-card.pkt-card--vertical{flex-direction:column;min-width:12.5rem}.pkt-card .pkt-card__image{aspect-ratio:1;flex:1 1 47%;width:100%;overflow:hidden}.pkt-card .pkt-card__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.pkt-card .pkt-card__image.pkt-card__image-round{border-radius:50%;align-self:unset;max-height:400px;max-width:400px}.pkt-card.pkt-card--horizontal .pkt-card__image{max-width:400px;margin-right:2rem}.pkt-card.pkt-card--horizontal .pkt-card__image-square{align-self:stretch}@media screen and (max-width: 36rem){.pkt-card.pkt-card--horizontal .pkt-card__image{margin-right:0;margin-bottom:2rem;max-height:400px}.pkt-card.pkt-card--horizontal .pkt-card__image-square{max-width:unset}}.pkt-card.pkt-card--vertical .pkt-card__image{margin-bottom:2rem;max-height:400px}.pkt-card.pkt-card--padding-none.pkt-card--vertical .pkt-card__image-square{aspect-ratio:19/10}@media screen and (max-width: 36rem){.pkt-card.pkt-card--padding-none.pkt-card--horizontal .pkt-card__image-square{aspect-ratio:19/10}}.pkt-card .pkt-card__wrapper .pkt-card__link::before{content:"";position:absolute;inset:0;z-index:1;box-shadow:0px 0px 0px 0px rgba(0,0,0,0);outline:2px solid var(--pkt-color-brand-warm-blue-1000);outline-offset:-2px;outline-color:rgba(0,0,0,0);transition:all .3s ease-in-out}.pkt-card .pkt-card__link-heading{transition:color .2s ease-in-out,text-decoration-color .2s ease-in-out}.pkt-card:hover.pkt-card--border-on-hover .pkt-card__link::before,.pkt-card:focus-visible.pkt-card--border-on-hover .pkt-card__link::before,.pkt-card:focus-within.pkt-card--border-on-hover .pkt-card__link::before{cursor:pointer;outline-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card:hover .pkt-card__link-heading,.pkt-card:focus-visible .pkt-card__link-heading,.pkt-card:focus-within .pkt-card__link-heading{color:var(--pkt-color-brand-warm-blue-1000);text-decoration-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card .pkt-card__link:focus{outline:none;box-shadow:none}.pkt-card .pkt-card__link-heading:focus-within{color:var(--pkt-color-brand-warm-blue-1000);text-decoration-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card .pkt-card__wrapper .pkt-card__link:focus-visible::before{box-shadow:0px 0px 0px 4px var(--pkt-color-brand-purple-1000);outline-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card.pkt-card--padding-none{outline:none;background-color:rgba(0,0,0,0)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--gray{background-color:var(--pkt-color-brand-neutrals-100)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--blue{background-color:var(--pkt-color-brand-blue-200)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--green{background-color:var(--pkt-color-brand-light-green-400)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--beige{background-color:var(--pkt-color-brand-light-beige-1000)}.pkt-card--outlined,.pkt-card--outlined-beige{background-color:var(--pkt-color-background-default);outline-offset:-4px}.pkt-card--outlined{outline:4px solid var(--pkt-color-grays-gray-100)}.pkt-card--outlined-beige{outline:4px solid var(--pkt-color-brand-light-beige-1000)}.pkt-card--gray{background-color:var(--pkt-color-brand-neutrals-100)}.pkt-card--blue{background-color:var(--pkt-color-brand-blue-200)}.pkt-card--green{background-color:var(--pkt-color-brand-light-green-400)}.pkt-card--beige{background-color:var(--pkt-color-brand-light-beige-1000)}
1
+ pkt-card{display:block;width:100%}.pkt-card{position:relative;display:flex;align-items:center;width:100%;min-width:12.5rem;padding:1.5rem}.pkt-card .pkt-card__wrapper{display:flex;flex-direction:column;flex:1 1 53%;width:100%;overflow:hidden}.pkt-card.pkt-card--padding-none{padding:0}.pkt-card .pkt-card__heading h1,.pkt-card .pkt-card__heading h2,.pkt-card .pkt-card__heading h3,.pkt-card .pkt-card__heading h4,.pkt-card .pkt-card__heading h5{padding:0;margin:0;font-size:1.875rem;font-weight:400;margin-bottom:.5rem;hyphens:auto;overflow-wrap:break-word}.pkt-card .pkt-card__link{text-decoration-thickness:.12rem;text-underline-offset:.15em}.pkt-card p.pkt-card__subheading{padding:0;margin:0;line-height:unset;margin-bottom:1rem;font-size:1.25rem;font-weight:300;hyphens:auto;overflow-wrap:break-word}.pkt-card .pkt-card__metadata{margin-top:1rem;margin-bottom:0;line-height:unset;gap:.5rem}.pkt-card .pkt-card__metadata-lead{font-weight:500}.pkt-card .pkt-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:.5rem;margin-top:0}.pkt-card .pkt-card__tags-bottom{margin-top:.5rem;margin-bottom:0}.pkt-card.pkt-card--horizontal{flex-direction:row}@media screen and (max-width: 36rem){.pkt-card.pkt-card--horizontal{flex-direction:column}}.pkt-card.pkt-card--vertical{flex-direction:column;min-width:12.5rem}.pkt-card .pkt-card__image{aspect-ratio:1;flex:1 1 47%;width:100%;overflow:hidden}.pkt-card .pkt-card__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.pkt-card .pkt-card__image.pkt-card__image-round{border-radius:50%;align-self:unset;max-height:400px;max-width:400px}.pkt-card.pkt-card--horizontal .pkt-card__image{max-width:400px;margin-right:2rem}.pkt-card.pkt-card--horizontal .pkt-card__image-square{align-self:stretch}@media screen and (max-width: 36rem){.pkt-card.pkt-card--horizontal .pkt-card__image{margin-right:0;margin-bottom:2rem;max-height:400px}.pkt-card.pkt-card--horizontal .pkt-card__image-square{max-width:unset}}.pkt-card.pkt-card--vertical .pkt-card__image{margin-bottom:2rem;max-height:400px}.pkt-card.pkt-card--padding-none.pkt-card--vertical .pkt-card__image-square{aspect-ratio:19/10}@media screen and (max-width: 36rem){.pkt-card.pkt-card--padding-none.pkt-card--horizontal .pkt-card__image-square{aspect-ratio:19/10}}.pkt-card .pkt-card__wrapper .pkt-card__link::before{content:"";position:absolute;inset:0;z-index:1;box-shadow:0px 0px 0px 0px rgba(0,0,0,0);outline:2px solid var(--pkt-color-brand-warm-blue-1000);outline-offset:-2px;outline-color:rgba(0,0,0,0);transition:all .3s ease-in-out}.pkt-card .pkt-card__link-heading{transition:color .2s ease-in-out,text-decoration-color .2s ease-in-out}.pkt-card:hover.pkt-card--border-on-hover .pkt-card__link::before,.pkt-card:focus-visible.pkt-card--border-on-hover .pkt-card__link::before,.pkt-card:focus-within.pkt-card--border-on-hover .pkt-card__link::before{cursor:pointer;outline-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card:hover .pkt-card__link-heading,.pkt-card:focus-visible .pkt-card__link-heading,.pkt-card:focus-within .pkt-card__link-heading{color:var(--pkt-color-brand-warm-blue-1000);text-decoration-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card .pkt-card__link:focus{outline:none;box-shadow:none}.pkt-card .pkt-card__link-heading:focus-within{color:var(--pkt-color-brand-warm-blue-1000);text-decoration-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card .pkt-card__wrapper .pkt-card__link:focus-visible::before{box-shadow:0px 0px 0px 4px var(--pkt-color-brand-purple-1000);outline-color:var(--pkt-color-brand-warm-blue-1000)}.pkt-card.pkt-card--padding-none{outline:none;background-color:rgba(0,0,0,0)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--gray{background-color:var(--pkt-color-brand-neutrals-100)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--blue{background-color:var(--pkt-color-brand-blue-200)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--green{background-color:var(--pkt-color-brand-light-green-400)}.pkt-card.pkt-card--padding-none.pkt-card--horizontal.pkt-card--beige{background-color:var(--pkt-color-brand-light-beige-1000)}.pkt-card--outlined,.pkt-card--outlined-beige{background-color:var(--pkt-color-background-default);outline-offset:-2px}.pkt-card--outlined{outline:2px solid var(--pkt-color-grays-gray-100)}.pkt-card--outlined-beige{outline:2px solid var(--pkt-color-brand-light-beige-1000)}.pkt-card--gray{background-color:var(--pkt-color-brand-neutrals-100)}.pkt-card--blue{background-color:var(--pkt-color-brand-blue-200)}.pkt-card--green{background-color:var(--pkt-color-brand-light-green-400)}.pkt-card--beige{background-color:var(--pkt-color-brand-light-beige-1000)}
@@ -0,0 +1,184 @@
1
+ .pkt-header-service.pkt-header-service--mobile {
2
+ grid-template-rows: 4rem auto;
3
+ grid-template-columns: 1fr auto;
4
+ }
5
+ @media screen and (min-width: 80rem) {
6
+ .pkt-header-service.pkt-header-service--mobile {
7
+ grid-template-rows: 4.5rem auto;
8
+ }
9
+ }
10
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service--compact {
11
+ grid-template-rows: 4rem auto;
12
+ }
13
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user {
14
+ column-gap: 1rem;
15
+ }
16
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area {
17
+ grid-column: 1;
18
+ grid-row: 1;
19
+ }
20
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__content {
21
+ grid-column: 2;
22
+ grid-row: 1;
23
+ padding-right: 1rem;
24
+ }
25
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user {
26
+ grid-column: 1/-1;
27
+ grid-row: 2;
28
+ justify-self: stretch;
29
+ padding: 0;
30
+ }
31
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo svg {
32
+ height: 2rem;
33
+ }
34
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__service-name {
35
+ letter-spacing: -0.2px;
36
+ font-weight: 500;
37
+ font-size: 1rem;
38
+ line-height: 1.5rem;
39
+ }
40
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu {
41
+ background-color: var(--pkt-color-background-default);
42
+ }
43
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-container {
44
+ background-color: var(--pkt-color-background-default);
45
+ height: 3.5rem;
46
+ width: 100%;
47
+ }
48
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:is(button), .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button button {
49
+ height: 100%;
50
+ padding: 0 1.5rem;
51
+ width: 100%;
52
+ max-width: 100%;
53
+ border: none;
54
+ border-top: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
55
+ border-bottom: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
56
+ }
57
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:not(button) {
58
+ display: contents;
59
+ }
60
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-menu {
61
+ max-width: 100%;
62
+ position: unset;
63
+ }
64
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-content {
65
+ display: none;
66
+ }
67
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
68
+ position: absolute;
69
+ top: 4rem;
70
+ left: 0;
71
+ right: 0;
72
+ max-width: 100vw;
73
+ }
74
+ @media screen and (min-width: 80rem) {
75
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
76
+ top: 4.5rem;
77
+ }
78
+ }
79
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
80
+ position: absolute;
81
+ top: 4rem;
82
+ left: 0;
83
+ right: 0;
84
+ }
85
+ @media screen and (min-width: 80rem) {
86
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
87
+ top: 4.5rem;
88
+ }
89
+ }
90
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-input {
91
+ padding: 1rem;
92
+ }
93
+
94
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open,
95
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
96
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu,
97
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open {
98
+ background-color: var(--pkt-color-background-default);
99
+ z-index: 100;
100
+ border-top: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
101
+ border-bottom: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
102
+ }
103
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open::after,
104
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after,
105
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after,
106
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open::after {
107
+ content: "";
108
+ position: absolute;
109
+ bottom: 0;
110
+ left: 0;
111
+ right: 0;
112
+ height: 1.25rem;
113
+ pointer-events: none;
114
+ background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.06));
115
+ transform: translateY(100%);
116
+ z-index: 101;
117
+ }
118
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
119
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
120
+ height: max-content;
121
+ max-height: calc(100dvh - var(--pkt-header-height));
122
+ overflow: visible;
123
+ }
124
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
125
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
126
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents {
127
+ display: flex;
128
+ flex-direction: column;
129
+ align-items: stretch;
130
+ }
131
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
132
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
133
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul,
134
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
135
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul,
136
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
137
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul {
138
+ margin-left: 0;
139
+ gap: 1.5rem;
140
+ }
141
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > *,
142
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul > *, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > *,
143
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul > *,
144
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > *,
145
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul > *,
146
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > *,
147
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul > * {
148
+ margin-left: 0;
149
+ }
150
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents,
151
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents {
152
+ padding: 2rem;
153
+ overflow-y: auto;
154
+ -webkit-overflow-scrolling: touch;
155
+ }
156
+
157
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-content {
158
+ display: none;
159
+ }
160
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container {
161
+ position: relative;
162
+ }
163
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
164
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content,
165
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
166
+ display: block;
167
+ position: absolute;
168
+ top: 100%;
169
+ left: 0;
170
+ min-width: 19rem;
171
+ width: fit-content;
172
+ max-width: 100%;
173
+ right: auto;
174
+ border: 2px solid var(--pkt-color-border-subtle);
175
+ }
176
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content.align-right,
177
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu.align-right, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content.align-right,
178
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu.align-right {
179
+ left: auto;
180
+ right: 0;
181
+ }
182
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-input {
183
+ padding: 1rem;
184
+ }
@@ -0,0 +1 @@
1
+ .pkt-header-service.pkt-header-service--mobile{grid-template-rows:4rem auto;grid-template-columns:1fr auto}@media screen and (min-width: 80rem){.pkt-header-service.pkt-header-service--mobile{grid-template-rows:4.5rem auto}}.pkt-header-service.pkt-header-service--mobile .pkt-header-service--compact{grid-template-rows:4rem auto}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__content,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user{column-gap:1rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area{grid-column:1;grid-row:1}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__content{grid-column:2;grid-row:1;padding-right:1rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user{grid-column:1/-1;grid-row:2;justify-self:stretch;padding:0}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo svg{height:2rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__service-name{letter-spacing:-0.2px;font-weight:500;font-size:1rem;line-height:1.5rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu{background-color:var(--pkt-color-background-default)}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-container{background-color:var(--pkt-color-background-default);height:3.5rem;width:100%}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:is(button),.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button button{height:100%;padding:0 1.5rem;width:100%;max-width:100%;border:none;border-top:1px solid var(--pkt-color-border-subtle, #f2f2f2);border-bottom:1px solid var(--pkt-color-border-subtle, #f2f2f2)}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:not(button){display:contents}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-menu{max-width:100%;position:unset}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-content{display:none}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content{position:absolute;top:4rem;left:0;right:0;max-width:100vw}@media screen and (min-width: 80rem){.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content{top:4.5rem}}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu{position:absolute;top:4rem;left:0;right:0}@media screen and (min-width: 80rem){.pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu{top:4.5rem}}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-input{padding:1rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open{background-color:var(--pkt-color-background-default);z-index:100;border-top:1px solid var(--pkt-color-border-subtle, #f2f2f2);border-bottom:1px solid var(--pkt-color-border-subtle, #f2f2f2)}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open::after,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1.25rem;pointer-events:none;background:linear-gradient(to top, transparent, rgba(0, 0, 0, 0.06));transform:translateY(100%);z-index:101}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content{height:max-content;max-height:calc(100dvh - var(--pkt-header-height));overflow:visible}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents{display:flex;flex-direction:column;align-items:stretch}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>ul,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>ul,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>ul,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>ul{margin-left:0;gap:1.5rem}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>*,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>ul>*,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>*,.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>ul>*,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>*,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>ul>*,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>*,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content>.pkt-contents>ul>*{margin-left:0}.pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents,.pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents{padding:2rem;overflow-y:auto;-webkit-overflow-scrolling:touch}.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-content{display:none}.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container{position:relative}.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu{display:block;position:absolute;top:100%;left:0;min-width:19rem;width:fit-content;max-width:100%;right:auto;border:2px solid var(--pkt-color-border-subtle)}.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content.align-right,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu.align-right,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content.align-right,.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu.align-right{left:auto;right:0}.pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-input{padding:1rem}