@navikt/ds-css 4.2.0 → 4.4.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.
- package/CHANGELOG.md +16 -0
- package/date.css +4 -0
- package/dist/component/date.css +4 -0
- package/dist/component/date.min.css +1 -1
- package/dist/component/expansioncard.css +6 -3
- package/dist/component/expansioncard.min.css +1 -1
- package/dist/component/helptext.css +1 -1
- package/dist/component/helptext.min.css +1 -1
- package/dist/component/index.css +19 -11
- package/dist/component/index.min.css +2 -2
- package/dist/component/linkpanel.css +1 -1
- package/dist/component/linkpanel.min.css +1 -1
- package/dist/component/modal.css +1 -0
- package/dist/component/modal.min.css +1 -1
- package/dist/component/popover.css +1 -0
- package/dist/component/popover.min.css +1 -1
- package/dist/components.css +13 -5
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +6 -6
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +19 -11
- package/dist/index.min.css +2 -2
- package/expansioncard.css +6 -3
- package/help-text.css +1 -1
- package/link-panel.css +1 -1
- package/modal.css +1 -0
- package/package.json +2 -2
- package/popover.css +1 -0
package/expansioncard.css
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
margin-top: var(--a-spacing-1);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.navds-expansioncard--small :where(.navds-expansioncard__title--small) {
|
|
80
|
+
.navds-expansioncard--small > :where(.navds-expansioncard__header) :where(.navds-expansioncard__title--small) {
|
|
81
81
|
margin-top: var(--a-spacing-05);
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
transition: transform 150ms ease-in-out;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.navds-expansioncard--open :where(.navds-expansioncard__header-chevron) {
|
|
118
|
+
.navds-expansioncard--open > :where(.navds-expansioncard__header) :where(.navds-expansioncard__header-chevron) {
|
|
119
119
|
transform: translateY(0) rotate(180deg);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -135,7 +135,10 @@
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.navds-expansioncard--open
|
|
138
|
+
.navds-expansioncard--open
|
|
139
|
+
> :where(.navds-expansioncard__header)
|
|
140
|
+
> :where(.navds-expansioncard__header-button):hover
|
|
141
|
+
:where(.navds-expansioncard__header-chevron) {
|
|
139
142
|
transform: translateY(-1px) rotate(180deg);
|
|
140
143
|
}
|
|
141
144
|
|
package/help-text.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
.navds-help-text__popover.navds-popover {
|
|
35
35
|
background-color: var(--ac-help-text-popover-bg, var(--a-surface-info-subtle));
|
|
36
|
-
max-width: min(65ch,
|
|
36
|
+
max-width: min(65ch, calc(100vw - 1.5rem));
|
|
37
37
|
|
|
38
38
|
--ac-popover-border: var(--a-border-info);
|
|
39
39
|
}
|
package/link-panel.css
CHANGED
package/modal.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-css",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "CSS for NAV Designsystem",
|
|
5
5
|
"author": "Aksel | NAV designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"css:get-version": "node config/get-version.js"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@navikt/ds-tokens": "^4.
|
|
30
|
+
"@navikt/ds-tokens": "^4.4.0",
|
|
31
31
|
"cssnano": "6.0.0",
|
|
32
32
|
"fast-glob": "3.2.11",
|
|
33
33
|
"lodash": "4.17.21",
|