@norges-domstoler/dds-components 0.0.0-dev-20250331113238 → 0.0.0-dev-20250408133152
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/dist/index.css +55 -9
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +64 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -444,6 +444,22 @@
|
|
|
444
444
|
.utilStyles_invisible {
|
|
445
445
|
visibility: hidden;
|
|
446
446
|
}
|
|
447
|
+
.utilStyles_center-absolute {
|
|
448
|
+
position: absolute;
|
|
449
|
+
left: 50%;
|
|
450
|
+
top: 50%;
|
|
451
|
+
transform: translate(-50%, -50%);
|
|
452
|
+
}
|
|
453
|
+
.utilStyles_center-absolute-y {
|
|
454
|
+
position: absolute;
|
|
455
|
+
top: 50%;
|
|
456
|
+
transform: translate(0, -50%);
|
|
457
|
+
}
|
|
458
|
+
.utilStyles_center-absolute-x {
|
|
459
|
+
position: absolute;
|
|
460
|
+
left: 50%;
|
|
461
|
+
transform: translate(-50%, 0);
|
|
462
|
+
}
|
|
447
463
|
|
|
448
464
|
/* src/components/helpers/Backdrop/Backdrop.module.css */
|
|
449
465
|
.Backdrop_backdrop {
|
|
@@ -1122,6 +1138,10 @@
|
|
|
1122
1138
|
align-items: center;
|
|
1123
1139
|
font-size: calc(var(--dds-font-lineheight-x1) * 1em);
|
|
1124
1140
|
}
|
|
1141
|
+
.OverflowMenu_button-loading {
|
|
1142
|
+
cursor: not-allowed;
|
|
1143
|
+
position: relative;
|
|
1144
|
+
}
|
|
1125
1145
|
.OverflowMenu_divider {
|
|
1126
1146
|
margin-inline: var(--dds-spacing-x0-5);
|
|
1127
1147
|
margin-block: var(--dds-spacing-x0);
|
|
@@ -1646,8 +1666,8 @@
|
|
|
1646
1666
|
top: 0;
|
|
1647
1667
|
height: 100%;
|
|
1648
1668
|
display: flex;
|
|
1649
|
-
flex-direction: column
|
|
1650
|
-
justify-content: flex-
|
|
1669
|
+
flex-direction: column;
|
|
1670
|
+
justify-content: flex-start;
|
|
1651
1671
|
min-width: 300px;
|
|
1652
1672
|
z-index: var(--dds-zindex-drawer);
|
|
1653
1673
|
border-radius: 0;
|
|
@@ -1689,8 +1709,23 @@
|
|
|
1689
1709
|
gap: var(--dds-spacing-x1);
|
|
1690
1710
|
padding: var(--dds-drawer-content-container-padding);
|
|
1691
1711
|
}
|
|
1712
|
+
.Drawer_drawer-header {
|
|
1713
|
+
display: flex;
|
|
1714
|
+
align-items: flex-start;
|
|
1715
|
+
padding-left: var(--dds-drawer-content-container-padding);
|
|
1716
|
+
padding-right: var(--dds-drawer-content-container-padding);
|
|
1717
|
+
padding-top: var(--dds-spacing-x1);
|
|
1718
|
+
padding-bottom: var(--dds-spacing-x0-75);
|
|
1719
|
+
position: sticky;
|
|
1720
|
+
top: 0;
|
|
1721
|
+
left: 0;
|
|
1722
|
+
width: 100%;
|
|
1723
|
+
background-color: var(--dds-color-surface-default);
|
|
1724
|
+
z-index: 1;
|
|
1725
|
+
}
|
|
1692
1726
|
.Drawer_button--close {
|
|
1693
|
-
|
|
1727
|
+
margin-left: auto;
|
|
1728
|
+
margin-top: calc(-1 * var(--dds-spacing-x0-125));
|
|
1694
1729
|
}
|
|
1695
1730
|
|
|
1696
1731
|
/* src/components/EmptyContent/EmptyContent.module.css */
|
|
@@ -2539,11 +2574,28 @@
|
|
|
2539
2574
|
flex-direction: column;
|
|
2540
2575
|
min-width: 200px;
|
|
2541
2576
|
padding: var(--dds-modal-container-padding);
|
|
2577
|
+
padding-top: 0;
|
|
2542
2578
|
}
|
|
2543
2579
|
.Modal_container-scrollable {
|
|
2544
2580
|
max-height: calc(100vh - var(--dds-spacing-x1));
|
|
2545
2581
|
overflow: auto;
|
|
2546
2582
|
}
|
|
2583
|
+
.Modal_modal-header {
|
|
2584
|
+
display: flex;
|
|
2585
|
+
align-items: flex-start;
|
|
2586
|
+
padding-top: var(--dds-spacing-x1);
|
|
2587
|
+
padding-bottom: var(--dds-spacing-x0-75);
|
|
2588
|
+
position: sticky;
|
|
2589
|
+
top: 0;
|
|
2590
|
+
left: 0;
|
|
2591
|
+
width: 100%;
|
|
2592
|
+
background-color: var(--dds-color-surface-default);
|
|
2593
|
+
z-index: 1;
|
|
2594
|
+
}
|
|
2595
|
+
.Modal_close-button {
|
|
2596
|
+
margin-left: auto;
|
|
2597
|
+
margin-top: calc(-1 * var(--dds-spacing-x0-125));
|
|
2598
|
+
}
|
|
2547
2599
|
.Modal_content {
|
|
2548
2600
|
display: grid;
|
|
2549
2601
|
padding-right: calc(var(--dds-spacing-x1) - var(--dds-modal-content-padding));
|
|
@@ -2552,17 +2604,11 @@
|
|
|
2552
2604
|
.Modal_body {
|
|
2553
2605
|
padding: var(--dds-modal-content-padding);
|
|
2554
2606
|
}
|
|
2555
|
-
.Modal_header {
|
|
2556
|
-
padding: var(--dds-modal-content-padding);
|
|
2557
|
-
}
|
|
2558
2607
|
.Modal_actions {
|
|
2559
2608
|
display: flex;
|
|
2560
2609
|
flex-wrap: wrap;
|
|
2561
2610
|
gap: var(--dds-spacing-x1);
|
|
2562
2611
|
}
|
|
2563
|
-
.Modal_close-button {
|
|
2564
|
-
align-self: flex-end;
|
|
2565
|
-
}
|
|
2566
2612
|
|
|
2567
2613
|
/* src/components/Pagination/Pagination.module.css */
|
|
2568
2614
|
.Pagination_container {
|