@norges-domstoler/dds-components 17.1.0 → 17.2.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/README.md +2 -0
- package/dist/index.css +53 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +61 -4
- package/dist/index.d.ts +61 -4
- package/dist/index.js +849 -701
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +586 -443
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -54,6 +54,7 @@ Tilgjengelige komponenter:
|
|
|
54
54
|
- Chip
|
|
55
55
|
- DatePicker
|
|
56
56
|
- DescriptionList
|
|
57
|
+
- DetailList
|
|
57
58
|
- Divider
|
|
58
59
|
- Drawer
|
|
59
60
|
- EmptyContent
|
|
@@ -76,6 +77,7 @@ Tilgjengelige komponenter:
|
|
|
76
77
|
- RadioButton
|
|
77
78
|
- Search
|
|
78
79
|
- Select
|
|
80
|
+
- Skeleton
|
|
79
81
|
- SkipToContent
|
|
80
82
|
- Spinner
|
|
81
83
|
- Stack
|
package/dist/index.css
CHANGED
|
@@ -841,10 +841,11 @@
|
|
|
841
841
|
}
|
|
842
842
|
|
|
843
843
|
/* src/components/BackLink/BackLink.module.css */
|
|
844
|
-
.
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
844
|
+
.BackLink_icon {
|
|
845
|
+
display: inline;
|
|
846
|
+
margin: 0.1em 0.25em -0.1em 0.1em;
|
|
847
|
+
transform: translateY(0.05em);
|
|
848
|
+
vertical-align: baseline;
|
|
848
849
|
}
|
|
849
850
|
|
|
850
851
|
/* src/components/Breadcrumbs/Breadcrumbs.module.css */
|
|
@@ -1591,6 +1592,54 @@
|
|
|
1591
1592
|
margin: var(--dds-spacing-x2);
|
|
1592
1593
|
}
|
|
1593
1594
|
|
|
1595
|
+
/* src/components/DetailList/DetailList.module.css */
|
|
1596
|
+
.DetailList_list {
|
|
1597
|
+
display: table;
|
|
1598
|
+
width: 100%;
|
|
1599
|
+
border-spacing: 0;
|
|
1600
|
+
border-collapse: collapse;
|
|
1601
|
+
}
|
|
1602
|
+
.DetailList_list--with-dividers {
|
|
1603
|
+
.DetailList_row {
|
|
1604
|
+
border-bottom: 1px solid var(--dds-color-border-default);
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
.DetailList_list--striped {
|
|
1608
|
+
.DetailList_row {
|
|
1609
|
+
&:nth-of-type(even) {
|
|
1610
|
+
background-color: var(--dds-color-surface-default);
|
|
1611
|
+
}
|
|
1612
|
+
&:nth-of-type(odd) {
|
|
1613
|
+
background-color: var(--dds-color-surface-subtle);
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
.DetailList_list--normal {
|
|
1618
|
+
.DetailList_cell {
|
|
1619
|
+
padding-block: var(--dds-spacing-x1-5);
|
|
1620
|
+
padding-inline: var(--dds-spacing-x0-75);
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
.DetailList_list--compact {
|
|
1624
|
+
.DetailList_cell {
|
|
1625
|
+
padding: var(--dds-spacing-x0-75);
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
.DetailList_list--extra-compact {
|
|
1629
|
+
.DetailList_cell {
|
|
1630
|
+
padding: var(--dds-spacing-x0-5);
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
.DetailList_row {
|
|
1634
|
+
display: table-row;
|
|
1635
|
+
}
|
|
1636
|
+
.DetailList_cell {
|
|
1637
|
+
display: table-cell;
|
|
1638
|
+
}
|
|
1639
|
+
.DetailList_term {
|
|
1640
|
+
font-weight: var(--dds-font-weight-bold);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1594
1643
|
/* src/components/Drawer/Drawer.module.css */
|
|
1595
1644
|
.Drawer_container {
|
|
1596
1645
|
--dds-drawer-content-container-padding: var(--dds-spacing-x0-25);
|