@navikt/ds-css 7.17.3 → 7.17.4
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/darkside/modal.darkside.css +12 -8
- package/dist/component/modal.css +10 -6
- package/dist/component/modal.min.css +1 -1
- package/dist/components.css +10 -6
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/modal.css +12 -8
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/components.css +12 -8
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/tokens.css +3 -3
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +15 -11
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.17.3 → 7.17.4}/component/modal.css +12 -8
- package/dist/darkside/version/7.17.4/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.17.3 → 7.17.4}/components.css +12 -8
- package/dist/darkside/version/{7.17.3 → 7.17.4}/components.min.css +1 -1
- package/dist/darkside/version/{7.17.3 → 7.17.4}/global/tokens.css +3 -3
- package/dist/darkside/version/7.17.4/global/tokens.min.css +1 -0
- package/dist/darkside/version/{7.17.3 → 7.17.4}/index.css +15 -11
- package/dist/darkside/version/7.17.4/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +11 -7
- package/dist/index.min.css +2 -2
- package/modal.css +10 -6
- package/package.json +2 -2
- package/dist/darkside/version/7.17.3/component/modal.min.css +0 -1
- package/dist/darkside/version/7.17.3/global/tokens.min.css +0 -1
- package/dist/darkside/version/7.17.3/index.min.css +0 -1
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/accordion.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/accordion.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/actionmenu.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/actionmenu.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/button.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/button.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/chat.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/chat.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/chips.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/chips.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/date.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/date.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/expansioncard.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/expansioncard.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/form.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/form.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/guidepanel.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/guidepanel.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/helptext.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/helptext.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/link.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/link.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/list.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/list.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/loader.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/loader.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/pagination.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/pagination.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/popover.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/popover.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/primitives.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/primitives.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/progressbar.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/progressbar.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/readmore.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/readmore.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/skeleton.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/skeleton.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/stepper.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/stepper.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/table.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/table.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tabs.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tabs.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tag.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tag.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/timeline.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/timeline.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/togglegroup.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/togglegroup.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tooltip.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/tooltip.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/typography.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/component/typography.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/print.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.17.3 → 7.17.4}/global/reset.min.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
&[open] {
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
|
-
animation: akselModalFadeIn 0.
|
|
22
|
+
animation: akselModalFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
* TODO: Consider adding `::backdrop` to global token definitions.
|
|
101
101
|
* TODO: Check that overlay-color is correct after the new colors is set in stone.
|
|
102
102
|
*/
|
|
103
|
-
background:
|
|
104
|
-
animation: akselModalBackdropFadeIn 0.
|
|
103
|
+
background: rgb(2 20 49 /0.8);
|
|
104
|
+
animation: akselModalBackdropFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.aksel-modal--polyfilled + .backdrop /* Cannot be combined with ::backdrop selector */ {
|
|
108
|
-
background:
|
|
108
|
+
background: rgb(2 20 49 /0.8);
|
|
109
109
|
|
|
110
110
|
/* From polyfill: */
|
|
111
111
|
position: fixed;
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
@keyframes akselModalFadeIn {
|
|
184
184
|
0% {
|
|
185
185
|
opacity: 0.0001; /* Safari will not set focus inside the modal when it opens if we set this to 0 */
|
|
186
|
-
transform: translate3d(0,
|
|
186
|
+
transform: translate3d(0, 4px, 0);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
50% {
|
|
@@ -196,11 +196,15 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
@keyframes akselModalBackdropFadeIn {
|
|
199
|
-
|
|
200
|
-
opacity: 0;
|
|
199
|
+
0% {
|
|
200
|
+
opacity: 0.0001;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
50% {
|
|
204
|
+
opacity: 1;
|
|
201
205
|
}
|
|
202
206
|
|
|
203
|
-
|
|
207
|
+
100% {
|
|
204
208
|
opacity: 1;
|
|
205
209
|
}
|
|
206
210
|
}
|
package/dist/component/modal.css
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
.navds-modal[open] {
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: column;
|
|
27
|
-
animation: akselModalFadeIn 0.
|
|
27
|
+
animation: akselModalFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.navds-modal--polyfilled {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
* We can add ::backdrop to tokens.css when we remove the polyfill.
|
|
95
95
|
*/
|
|
96
96
|
background: var(--ac-modal-backdrop, rgb(2 20 49 / 0.49));
|
|
97
|
-
animation: akselModalBackdropFadeIn 0.
|
|
97
|
+
animation: akselModalBackdropFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.navds-modal--polyfilled + .backdrop /* Cannot be combined with ::backdrop selector */ {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
@keyframes akselModalFadeIn {
|
|
191
191
|
0% {
|
|
192
192
|
opacity: 0.0001; /* Safari will not set focus inside the modal when it opens if we set this to 0 */
|
|
193
|
-
transform: translate3d(0,
|
|
193
|
+
transform: translate3d(0, 4px, 0);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
50% {
|
|
@@ -203,11 +203,15 @@
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
@keyframes akselModalBackdropFadeIn {
|
|
206
|
-
|
|
207
|
-
opacity: 0;
|
|
206
|
+
0% {
|
|
207
|
+
opacity: 0.0001;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
50% {
|
|
211
|
+
opacity: 1;
|
|
208
212
|
}
|
|
209
213
|
|
|
210
|
-
|
|
214
|
+
100% {
|
|
211
215
|
opacity: 1;
|
|
212
216
|
}
|
|
213
217
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.navds-modal__document-body{overflow:hidden}.navds-modal{--__ac-modal-bg:var(--ac-modal-bg,var(--a-surface-default));background-color:var(--__ac-modal-bg);border:none;border-radius:var(--a-border-radius-large);box-shadow:var(--a-shadow-xlarge);color:var(--a-text-default);inset:0;margin:auto;max-height:100%;max-width:100%;padding:0;position:fixed;z-index:9999}.navds-modal[open]{animation:akselModalFadeIn .
|
|
1
|
+
.navds-modal__document-body{overflow:hidden}.navds-modal{--__ac-modal-bg:var(--ac-modal-bg,var(--a-surface-default));background-color:var(--__ac-modal-bg);border:none;border-radius:var(--a-border-radius-large);box-shadow:var(--a-shadow-xlarge);color:var(--a-text-default);inset:0;margin:auto;max-height:100%;max-width:100%;padding:0;position:fixed;z-index:9999}.navds-modal[open]{animation:akselModalFadeIn .7s cubic-bezier(.15,1,.3,1);display:flex;flex-direction:column}.navds-modal--polyfilled{bottom:unset;height:fit-content;left:0;margin:auto;right:0;top:50%;transform:translateY(-50%);width:fit-content}.navds-modal--polyfilled .navds-modal--polyfilled{overflow:auto}.navds-modal--polyfilled:not([open]){display:none}._dialog_overlay{bottom:0;left:0;position:fixed;right:0;top:0}.navds-modal--small{width:var(--ac-modal-width-small,450px)}.navds-modal--medium{width:var(--ac-modal-width-medium,700px)}@media (min-width:480px){.navds-modal{max-width:calc(100% - 2em)}.navds-modal--autowidth{max-width:min(700px,calc(100% - 2em))}}@media (min-height:480px){.navds-modal{max-height:calc(100% - 2em)}.navds-modal--top{margin-top:2em;max-height:calc(100% - 4em)}}.navds-modal::backdrop{animation:akselModalBackdropFadeIn .7s cubic-bezier(.15,1,.3,1);background:var(--ac-modal-backdrop,#0214317d)}.navds-modal--polyfilled+.backdrop{background:var(--ac-modal-backdrop,#0214317d);bottom:0;left:0;position:fixed;right:0;top:0}.navds-modal__button{float:right;margin-left:var(--a-spacing-4)}.navds-modal__header{padding:var(--a-spacing-6) var(--a-spacing-6) var(--a-spacing-4) var(--a-spacing-6)}.navds-modal--small .navds-modal__header{padding:var(--a-spacing-4) var(--a-spacing-4) var(--a-spacing-3) var(--a-spacing-4)}.navds-modal__header-icon svg{display:inline;margin-right:var(--a-spacing-1);vertical-align:-.25rem}.navds-modal__label{color:var(--a-text-subtle);font-weight:600}.navds-modal__body{overflow:auto;overscroll-behavior:contain;padding:var(--a-spacing-6);position:relative}.navds-modal:not(.navds-modal--polyfilled) .navds-modal__body{background:linear-gradient(var(--__ac-modal-bg) 30%,#0000) top,linear-gradient(#0000,var(--__ac-modal-bg) 60%) bottom,radial-gradient(farthest-side at 50% 0,#0000004d,#0000) top,radial-gradient(farthest-side at 50% 100%,#0000004d,#0000) bottom;background-attachment:local,local,scroll,scroll;background-repeat:no-repeat;background-size:100% 40px,100% 50px,100% 16px,100% 16px}.navds-modal--small .navds-modal__body{padding:var(--a-spacing-2) var(--a-spacing-4) var(--a-spacing-4)}.navds-modal__header+.navds-modal__body{padding-top:var(--a-spacing-0)}.navds-modal__footer{display:flex;flex-flow:row-reverse wrap;gap:var(--a-spacing-4);padding:var(--a-spacing-4) var(--a-spacing-6) var(--a-spacing-6) var(--a-spacing-6)}.navds-modal--small .navds-modal__footer{padding:var(--a-spacing-4)}.navds-modal__footer :nth-of-type(2){margin-left:auto}.navds-modal--polyfilled .navds-modal--polyfilled.navds-date__nested-modal{animation:none;max-height:100vh;max-width:100vw;min-width:fit-content}@keyframes akselModalFadeIn{0%{opacity:.0001;transform:translate3d(0,4px,0)}50%{opacity:1}to{transform:none}}@keyframes akselModalBackdropFadeIn{0%{opacity:.0001}50%{opacity:1}to{opacity:1}}@media (forced-colors:active){.navds-modal{outline:2px solid #0000}}
|
package/dist/components.css
CHANGED
|
@@ -5044,7 +5044,7 @@ button.navds-internalheader__title:active,
|
|
|
5044
5044
|
.navds-modal[open] {
|
|
5045
5045
|
display: flex;
|
|
5046
5046
|
flex-direction: column;
|
|
5047
|
-
animation: akselModalFadeIn 0.
|
|
5047
|
+
animation: akselModalFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
5048
5048
|
}
|
|
5049
5049
|
|
|
5050
5050
|
.navds-modal--polyfilled {
|
|
@@ -5114,7 +5114,7 @@ button.navds-internalheader__title:active,
|
|
|
5114
5114
|
* We can add ::backdrop to tokens.css when we remove the polyfill.
|
|
5115
5115
|
*/
|
|
5116
5116
|
background: var(--ac-modal-backdrop, rgb(2 20 49 / 0.49));
|
|
5117
|
-
animation: akselModalBackdropFadeIn 0.
|
|
5117
|
+
animation: akselModalBackdropFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
5118
5118
|
}
|
|
5119
5119
|
|
|
5120
5120
|
.navds-modal--polyfilled + .backdrop /* Cannot be combined with ::backdrop selector */ {
|
|
@@ -5210,7 +5210,7 @@ button.navds-internalheader__title:active,
|
|
|
5210
5210
|
@keyframes akselModalFadeIn {
|
|
5211
5211
|
0% {
|
|
5212
5212
|
opacity: 0.0001; /* Safari will not set focus inside the modal when it opens if we set this to 0 */
|
|
5213
|
-
transform: translate3d(0,
|
|
5213
|
+
transform: translate3d(0, 4px, 0);
|
|
5214
5214
|
}
|
|
5215
5215
|
|
|
5216
5216
|
50% {
|
|
@@ -5223,11 +5223,15 @@ button.navds-internalheader__title:active,
|
|
|
5223
5223
|
}
|
|
5224
5224
|
|
|
5225
5225
|
@keyframes akselModalBackdropFadeIn {
|
|
5226
|
-
|
|
5227
|
-
opacity: 0;
|
|
5226
|
+
0% {
|
|
5227
|
+
opacity: 0.0001;
|
|
5228
5228
|
}
|
|
5229
5229
|
|
|
5230
|
-
|
|
5230
|
+
50% {
|
|
5231
|
+
opacity: 1;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
100% {
|
|
5231
5235
|
opacity: 1;
|
|
5232
5236
|
}
|
|
5233
5237
|
}
|