@navikt/ds-css 7.35.3 → 7.37.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 +8 -0
- package/baseline/_utilities.css +1 -0
- package/config/_mappings.js +5 -0
- package/darkside/baseline/baseline.darkside.css +1 -0
- package/darkside/dialog.darkside.css +233 -0
- package/darkside/index.css +1 -0
- package/dialog.css +227 -0
- package/dist/component/dialog.css +227 -0
- package/dist/component/dialog.min.css +1 -0
- package/dist/components.css +228 -0
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/dialog.css +210 -0
- package/dist/darkside/component/dialog.min.css +1 -0
- package/dist/darkside/components.css +209 -0
- 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 +212 -3
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/7.37.0/component/dialog.css +210 -0
- package/dist/darkside/version/7.37.0/component/dialog.min.css +1 -0
- package/dist/darkside/version/{7.35.3 → 7.37.0}/components.css +209 -0
- package/dist/darkside/version/7.37.0/components.min.css +1 -0
- package/dist/darkside/version/{7.35.3 → 7.37.0}/global/tokens.css +3 -3
- package/dist/darkside/version/7.37.0/global/tokens.min.css +1 -0
- package/dist/darkside/version/{7.35.3 → 7.37.0}/index.css +212 -3
- package/dist/darkside/version/7.37.0/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +229 -1
- package/dist/index.min.css +2 -2
- package/index.css +1 -0
- package/package.json +2 -2
- package/dist/darkside/version/7.35.3/components.min.css +0 -1
- package/dist/darkside/version/7.35.3/global/tokens.min.css +0 -1
- package/dist/darkside/version/7.35.3/index.min.css +0 -1
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/accordion.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/accordion.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/actionmenu.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/actionmenu.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/button.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/button.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/chat.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/chat.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/chips.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/chips.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/date.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/date.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/expansioncard.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/expansioncard.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/form.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/form.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/guidepanel.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/guidepanel.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/helptext.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/helptext.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/inlinemessage.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/inlinemessage.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/link.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/link.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkanchor.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkanchor.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkcard.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkcard.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/list.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/list.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/loader.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/loader.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/modal.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/modal.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/pagination.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/pagination.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/popover.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/popover.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/primitives.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/primitives.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/process.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/process.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/progressbar.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/progressbar.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/readmore.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/readmore.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/skeleton.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/skeleton.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/stepper.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/stepper.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/table.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/table.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tabs.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tabs.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tag.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tag.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/timeline.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/timeline.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/togglegroup.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/togglegroup.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tooltip.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/tooltip.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/typography.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/component/typography.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.35.3 → 7.37.0}/global/reset.min.css +0 -0
|
@@ -3238,6 +3238,215 @@
|
|
|
3238
3238
|
}
|
|
3239
3239
|
}
|
|
3240
3240
|
|
|
3241
|
+
.aksel-dialog__popup {
|
|
3242
|
+
--__axc-dialog-transform: ;
|
|
3243
|
+
--__axc-dialog-p-b: var(--ax-space-16);
|
|
3244
|
+
--__axc-dialog-p-i: var(--ax-space-20);
|
|
3245
|
+
background-color: var(--ax-bg-raised);
|
|
3246
|
+
border-radius: var(--ax-radius-12);
|
|
3247
|
+
color: var(--ax-text-neutral);
|
|
3248
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
3249
|
+
outline: 1px solid var(--ax-border-neutral-subtleA);
|
|
3250
|
+
z-index: 2000;
|
|
3251
|
+
flex-direction: column;
|
|
3252
|
+
transition: transform .2s cubic-bezier(.25, .46, .45, .94), opacity .2s cubic-bezier(.25, .46, .45, .94), translate .2s cubic-bezier(.25, .46, .45, .94);
|
|
3253
|
+
display: flex;
|
|
3254
|
+
position: fixed;
|
|
3255
|
+
overflow: hidden;
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
.light:not(:has(.dark)) .aksel-dialog__backdrop ~ .aksel-dialog__popup {
|
|
3259
|
+
outline: none;
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
.light:not(:has(.dark)) .aksel-dialog__backdrop ~ .aksel-dialog__popup:focus {
|
|
3263
|
+
outline: none;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
.aksel-dialog__popup[data-size="small"] {
|
|
3267
|
+
--__axc-dialog-p-b: var(--ax-space-12);
|
|
3268
|
+
--__axc-dialog-p-i: var(--ax-space-16);
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
.aksel-dialog__popup[data-entering-style], .aksel-dialog__popup[data-exiting-style] {
|
|
3272
|
+
opacity: .001;
|
|
3273
|
+
transform: var(--__axc-dialog-transform);
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
.aksel-dialog__popup[data-exiting-style] {
|
|
3277
|
+
transition-duration: .1s;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
.aksel-dialog__popup[data-exiting-style]:after {
|
|
3281
|
+
transition-timing-function: cubic-bezier(.55, .09, .68, .53);
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
.aksel-dialog__popup[data-nested-dialog-open="true"] {
|
|
3285
|
+
box-shadow: none;
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
.aksel-dialog__popup[data-nested-dialog-open="true"]:after {
|
|
3289
|
+
opacity: .9;
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
.aksel-dialog__popup:after {
|
|
3293
|
+
content: "";
|
|
3294
|
+
border-radius: inherit;
|
|
3295
|
+
background-color: var(--ax-bg-overlay);
|
|
3296
|
+
opacity: 0;
|
|
3297
|
+
z-index: 1;
|
|
3298
|
+
pointer-events: none;
|
|
3299
|
+
transition: opacity cubic-bezier(.25, .46, .45, .94);
|
|
3300
|
+
position: absolute;
|
|
3301
|
+
inset: 0;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
.aksel-dialog__popup[data-position="center"] {
|
|
3305
|
+
--__axc-dialog-center-margin: 3rem;
|
|
3306
|
+
--__axc-dialog-transform: scale(.98);
|
|
3307
|
+
max-width: calc(100dvw - 3rem);
|
|
3308
|
+
max-height: calc(90dvh - var(--__axc-dialog-center-margin));
|
|
3309
|
+
margin-inline: auto;
|
|
3310
|
+
margin-block: max(var(--__axc-dialog-center-margin), 10dvh) auto;
|
|
3311
|
+
top: 0;
|
|
3312
|
+
left: 0;
|
|
3313
|
+
right: 0;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
.aksel-dialog__popup[data-position="center"][data-nested="true"][data-entering-style], .aksel-dialog__popup[data-position="center"][data-nested="true"][data-exiting-style] {
|
|
3317
|
+
opacity: 1;
|
|
3318
|
+
transition-duration: 0s;
|
|
3319
|
+
transform: scale(1);
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
.aksel-dialog__popup[data-position="center"][data-nested-dialog-open="true"] {
|
|
3323
|
+
transform: translateY(calc(1rem * var(--__axc-nested-level) * -1)) scale(calc(1 - .02 * var(--__axc-nested-level)));
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
@media (max-width: 768px) or (max-height: 479px) {
|
|
3327
|
+
.aksel-dialog__popup[data-position="center"] {
|
|
3328
|
+
--__axc-dialog-transform: translateY(35%);
|
|
3329
|
+
border-bottom-right-radius: 0;
|
|
3330
|
+
border-bottom-left-radius: 0;
|
|
3331
|
+
max-width: 95dvw;
|
|
3332
|
+
height: auto;
|
|
3333
|
+
max-height: calc(100dvh - max(16px, 10dvh));
|
|
3334
|
+
margin-block: 0;
|
|
3335
|
+
margin-inline: auto;
|
|
3336
|
+
inset: auto 0 0;
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
.aksel-dialog__popup[data-position="right"], .aksel-dialog__popup[data-position="left"] {
|
|
3341
|
+
max-width: calc(100vw - max(16px, 10vw));
|
|
3342
|
+
top: 0;
|
|
3343
|
+
bottom: 0;
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
:is(.aksel-dialog__popup[data-position="right"], .aksel-dialog__popup[data-position="left"])[data-nested-dialog-open="true"]:after {
|
|
3347
|
+
opacity: 1;
|
|
3348
|
+
transition-duration: .1s;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.aksel-dialog__popup[data-position="right"] {
|
|
3352
|
+
--__axc-dialog-transform: translateX(35%);
|
|
3353
|
+
border-top-right-radius: 0;
|
|
3354
|
+
border-bottom-right-radius: 0;
|
|
3355
|
+
right: 0;
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
.aksel-dialog__popup[data-position="left"] {
|
|
3359
|
+
--__axc-dialog-transform: translateX(-35%);
|
|
3360
|
+
border-top-left-radius: 0;
|
|
3361
|
+
border-bottom-left-radius: 0;
|
|
3362
|
+
left: 0;
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
.aksel-dialog__popup[data-position="bottom"] {
|
|
3366
|
+
--__axc-dialog-transform: translateY(35%);
|
|
3367
|
+
border-bottom-right-radius: 0;
|
|
3368
|
+
border-bottom-left-radius: 0;
|
|
3369
|
+
max-width: 95dvw;
|
|
3370
|
+
height: auto;
|
|
3371
|
+
max-height: calc(100dvh - max(16px, 10dvh));
|
|
3372
|
+
margin-inline: auto;
|
|
3373
|
+
bottom: 0;
|
|
3374
|
+
left: 0;
|
|
3375
|
+
right: 0;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
.aksel-dialog__popup[data-position="bottom"][data-nested-dialog-open="true"] {
|
|
3379
|
+
transform: translateY(calc(1rem * var(--__axc-nested-level) * -1)) scale(calc(1 - .02 * var(--__axc-nested-level)));
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
.aksel-dialog__popup[data-position="fullscreen"] {
|
|
3383
|
+
--__axc-dialog-transform: scale(.98);
|
|
3384
|
+
border-radius: 0;
|
|
3385
|
+
width: 100%;
|
|
3386
|
+
max-width: 100dvw;
|
|
3387
|
+
height: 100%;
|
|
3388
|
+
max-height: 100dvh;
|
|
3389
|
+
inset: 0;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
.aksel-dialog__backdrop {
|
|
3393
|
+
background-color: var(--ax-bg-overlay);
|
|
3394
|
+
z-index: 1000;
|
|
3395
|
+
min-height: 100dvh;
|
|
3396
|
+
transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
|
|
3397
|
+
position: fixed;
|
|
3398
|
+
inset: 0;
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
@supports (-webkit-touch-callout: none) {
|
|
3402
|
+
.aksel-dialog__backdrop {
|
|
3403
|
+
position: absolute;
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
.aksel-dialog__backdrop[data-entering-style], .aksel-dialog__backdrop[data-exiting-style] {
|
|
3408
|
+
opacity: .001;
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
.aksel-dialog__header {
|
|
3412
|
+
padding-block: var(--__axc-dialog-p-b);
|
|
3413
|
+
padding-inline: var(--__axc-dialog-p-i);
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
.aksel-dialog__title {
|
|
3417
|
+
margin-block-end: var(--ax-space-4);
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3420
|
+
.aksel-dialog__close-button {
|
|
3421
|
+
float: right;
|
|
3422
|
+
align-self: start;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
.aksel-dialog__body {
|
|
3426
|
+
padding-block: var(--__axc-dialog-p-b);
|
|
3427
|
+
padding-inline: var(--__axc-dialog-p-i);
|
|
3428
|
+
overflow: auto;
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
.aksel-dialog__header ~ .aksel-dialog__body {
|
|
3432
|
+
padding-block-start: 0;
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
.aksel-dialog__footer {
|
|
3436
|
+
justify-content: flex-end;
|
|
3437
|
+
gap: var(--ax-space-8);
|
|
3438
|
+
padding-block: var(--__axc-dialog-p-b);
|
|
3439
|
+
padding-inline: var(--__axc-dialog-p-i);
|
|
3440
|
+
flex-flow: wrap;
|
|
3441
|
+
display: flex;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
@media (forced-colors: active) {
|
|
3445
|
+
.aksel-dialog__popup {
|
|
3446
|
+
outline: 2px solid var(--ax-border-neutral-strong) !important;
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3241
3450
|
.aksel-dropdown__menu {
|
|
3242
3451
|
padding: var(--ax-space-8);
|
|
3243
3452
|
color: var(--ax-text-neutral);
|