@sikt/sds-header 5.1.0 → 5.1.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 +6 -0
- package/dist/index.css +4 -4
- package/dist/index.css.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [5.1.1](https://gitlab.sikt.no/designsystem/sds-komponentbibliotek/compare/@sikt/sds-header@5.1.0...@sikt/sds-header@5.1.1) (2026-03-13)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- update @sikt/sds packages ([cf35fab](https://gitlab.sikt.no/designsystem/sds-komponentbibliotek/commit/cf35fabce72896bf98f10e2dc13c2c8015e239e7))
|
|
10
|
+
|
|
5
11
|
## [5.1.0](https://gitlab.sikt.no/designsystem/sds-komponentbibliotek/compare/@sikt/sds-header@5.0.1...@sikt/sds-header@5.1.0) (2026-03-12)
|
|
6
12
|
|
|
7
13
|
### Features
|
package/dist/index.css
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
--header-height: 48px;
|
|
8
8
|
}
|
|
9
|
-
@media (min-width:
|
|
9
|
+
@media (min-width: 45rem) {
|
|
10
10
|
.sds-header {
|
|
11
11
|
--header-height: 56px ;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
@media (min-width:
|
|
14
|
+
@media (min-width: 64rem) {
|
|
15
15
|
.sds-header {
|
|
16
16
|
--header-height: 72px ;
|
|
17
17
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
min-height: var(--header-height);
|
|
46
46
|
padding: 0 var(--sds-space-padding-medium);
|
|
47
47
|
}
|
|
48
|
-
@media (min-width:
|
|
48
|
+
@media (min-width: 64rem) {
|
|
49
49
|
.sds-header__content {
|
|
50
50
|
grid-template-columns: 1fr auto 1fr;
|
|
51
51
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
.sds-header__content-mid {
|
|
65
65
|
display: none;
|
|
66
66
|
}
|
|
67
|
-
@media (min-width:
|
|
67
|
+
@media (min-width: 64rem) {
|
|
68
68
|
.sds-header__content-mid {
|
|
69
69
|
display: unset;
|
|
70
70
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/header.pcss"],"sourcesContent":["/**\n * Do not edit directly, this file was auto-generated.\n */\n\n.sds-header {\n align-items: center;\n background-color: var(--sds-color-layout-background-primary);\n color: var(--sds-color-text-primary);\n position: relative;\n\n --header-height: 48px;\n}\n\n@media (width >=
|
|
1
|
+
{"version":3,"sources":["../src/header.pcss"],"sourcesContent":["/**\n * Do not edit directly, this file was auto-generated.\n */\n\n.sds-header {\n align-items: center;\n background-color: var(--sds-color-layout-background-primary);\n color: var(--sds-color-text-primary);\n position: relative;\n\n --header-height: 48px;\n}\n\n@media (width >= 45rem) {\n\n.sds-header {\n --header-height: 56px\n}\n }\n\n@media (width >= 64rem) {\n\n.sds-header {\n --header-height: 72px\n}\n }\n\n.sds-header__skip-link.sds-screen-reader-only--focusable:focus-within {\n background-color: var(--sds-color-layout-background-primary);\n position: absolute;\n z-index: 1;\n }\n\n.sds-typography-link:has(.sds-header__logo) {\n background-color: unset;\n color: inherit;\n text-decoration: none;\n width: -webkit-fit-content;\n width: fit-content;\n }\n\n.sds-typography-link:has(.sds-header__logo):active,\n .sds-typography-link:has(.sds-header__logo):focus-visible {\n background-color: unset;\n }\n\n@media (pointer: fine) {\n .sds-typography-link:has(.sds-header__logo):hover {\n background-color: unset;\n }\n }\n\n.sds-header__content {\n align-items: center;\n display: grid;\n gap: 0 var(--sds-space-padding-small);\n grid-template-columns: 1fr auto;\n min-height: var(--header-height);\n padding: 0 var(--sds-space-padding-medium);\n }\n\n@media (width >= 64rem) {\n\n.sds-header__content {\n grid-template-columns: 1fr auto 1fr\n }\n }\n\n.sds-header__content-left {\n align-items: center;\n display: flex;\n flex-direction: row-reverse;\n gap: var(--sds-space-padding-small);\n justify-self: start;\n }\n\n.sds-header__content-left > *:has(+ .sds-header__content-left-item) {\n border-left: 1px solid #737373;\n padding-left: var(--sds-space-padding-small);\n }\n\n.sds-header__content-mid {\n display: none;\n }\n\n@media (width >= 64rem) {\n\n.sds-header__content-mid {\n display: unset\n }\n }\n\n.sds-header__content-right {\n justify-self: flex-end;\n }\n"],"mappings":";AAIA,CAAC;AACC,eAAa;AACb,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACX,YAAU;AAEV,mBAAiB;AACnB;AAEA,QAAQ,WAAS;AAEjB,GAXC;AAYG,qBAAiB;AACrB;AACE;AAEF,QAAQ,WAAS;AAEjB,GAlBC;AAmBG,qBAAiB;AACrB;AACE;AAEF,CAAC,qBAAqB,CAAC,iCAAiC;AACpD,oBAAkB,IAAI;AACtB,YAAU;AACV,WAAS;AACX;AAEF,CAAC,mBAAmB,KAAK,CAAC;AACtB,oBAAkB;AAClB,SAAO;AACP,mBAAiB;AACjB,SAAO;AACP,SAAO;AACT;AAEF,CARC,mBAQmB,KAAK,CARC,iBAQiB;AACvC,CATH,mBASuB,KAAK,CATH,iBASqB;AACzC,oBAAkB;AACpB;AAEJ,QAAO,SAAU;AACX,GAdL,mBAcyB,KAAK,CAdL,iBAcuB;AACzC,sBAAkB;AACpB;AACF;AAEJ,CAAC;AACG,eAAa;AACb,WAAS;AACT,OAAK,EAAE,IAAI;AACX,yBAAuB,IAAI;AAC3B,cAAY,IAAI;AAChB,WAAS,EAAE,IAAI;AACjB;AAEF,QAAQ,WAAS;AAEjB,GAXC;AAYK,2BAAuB,IAAI,KAAK;AACpC;AACE;AAEJ,CAAC;AACK,eAAa;AACb,WAAS;AACT,kBAAgB;AAChB,OAAK,IAAI;AACT,gBAAc;AAChB;AAEJ,CARC,yBAQyB,EAAE,CAAC,KAAK,EAAE,CAAC;AAC7B,eAAa,IAAI,MAAM;AACvB,gBAAc,IAAI;AACpB;AAEN,CAAC;AACK,WAAS;AACX;AAEJ,QAAQ,WAAS;AAEjB,GANC;AAOO,aAAS;AACb;AACE;AAEN,CAAC;AACK,gBAAc;AAChB;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikt/sds-header",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"homepage": "https://designsystem.sikt.no/",
|
|
6
6
|
"repository": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"build": "tsup"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@sikt/sds-button": "^4.
|
|
39
|
-
"@sikt/sds-core": "^
|
|
40
|
-
"@sikt/sds-icons": "^
|
|
38
|
+
"@sikt/sds-button": "^4.6.0",
|
|
39
|
+
"@sikt/sds-core": "^5.3.0",
|
|
40
|
+
"@sikt/sds-icons": "^4.2.0",
|
|
41
41
|
"@sikt/sds-logo": "^2.2.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@sikt/sds-tokens": "^
|
|
51
|
+
"@sikt/sds-tokens": "^6.2.0"
|
|
52
52
|
}
|
|
53
53
|
}
|