@norges-domstoler/dds-components 22.7.1 → 22.7.2
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 +148 -166
- package/dist/index.css.map +1 -1
- package/dist/index.js +38 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -7619,10 +7619,8 @@ var useDetailListContext = () => useContext13(DetailListContext);
|
|
|
7619
7619
|
// src/components/DetailList/DetailList.module.css
|
|
7620
7620
|
var DetailList_default = {
|
|
7621
7621
|
list: "DetailList_list",
|
|
7622
|
-
"list--with-dividers": "DetailList_list--with-dividers",
|
|
7623
|
-
row: "DetailList_row",
|
|
7624
|
-
"list--striped": "DetailList_list--striped",
|
|
7625
7622
|
"list--striped-with-bp": "DetailList_list--striped-with-bp",
|
|
7623
|
+
row: "DetailList_row",
|
|
7626
7624
|
"list--small": "DetailList_list--small",
|
|
7627
7625
|
"list--medium": "DetailList_list--medium",
|
|
7628
7626
|
"list--large": "DetailList_list--large",
|
|
@@ -7631,6 +7629,32 @@ var DetailList_default = {
|
|
|
7631
7629
|
term: "DetailList_term"
|
|
7632
7630
|
};
|
|
7633
7631
|
|
|
7632
|
+
// src/components/Table/normal/Table.module.css
|
|
7633
|
+
var Table_default = {
|
|
7634
|
+
wrapper: "Table_wrapper",
|
|
7635
|
+
"wrapper--scrollable": "Table_wrapper--scrollable",
|
|
7636
|
+
table: "Table_table",
|
|
7637
|
+
"table--with-dividers": "Table_table--with-dividers",
|
|
7638
|
+
"row--body": "Table_row--body",
|
|
7639
|
+
"row--colapsible-header--open": "Table_row--colapsible-header--open",
|
|
7640
|
+
"table--sticky-header": "Table_table--sticky-header",
|
|
7641
|
+
"table--with-stripes": "Table_table--with-stripes",
|
|
7642
|
+
"table--small": "Table_table--small",
|
|
7643
|
+
"table--medium": "Table_table--medium",
|
|
7644
|
+
"table--large": "Table_table--large",
|
|
7645
|
+
row: "Table_row",
|
|
7646
|
+
"row--sum": "Table_row--sum",
|
|
7647
|
+
"row--selected": "Table_row--selected",
|
|
7648
|
+
"row--hoverable": "Table_row--hoverable",
|
|
7649
|
+
"cell--head": "Table_cell--head",
|
|
7650
|
+
"cell--left": "Table_cell--left",
|
|
7651
|
+
"cell--right": "Table_cell--right",
|
|
7652
|
+
"cell--center": "Table_cell--center",
|
|
7653
|
+
cell__inner: "Table_cell__inner",
|
|
7654
|
+
"sort-button": "Table_sort-button",
|
|
7655
|
+
"collapse-button": "Table_collapse-button"
|
|
7656
|
+
};
|
|
7657
|
+
|
|
7634
7658
|
// src/components/DetailList/DetailList.tsx
|
|
7635
7659
|
import { jsx as jsx258 } from "react/jsx-runtime";
|
|
7636
7660
|
var DETAIL_LIST_SIZES = createSizes("small", "medium", "large");
|
|
@@ -7652,10 +7676,11 @@ var DetailList = ({
|
|
|
7652
7676
|
cn(
|
|
7653
7677
|
className,
|
|
7654
7678
|
typographyStyles_default[`body-short-${size2}`],
|
|
7679
|
+
Table_default.table,
|
|
7655
7680
|
DetailList_default.list,
|
|
7656
7681
|
DetailList_default[`list--${size2}`],
|
|
7657
|
-
withDividers &&
|
|
7658
|
-
striped && !smallScreenBreakpoint &&
|
|
7682
|
+
withDividers && Table_default["table--with-dividers"],
|
|
7683
|
+
striped && !smallScreenBreakpoint && Table_default["table--with-stripes"],
|
|
7659
7684
|
striped && smallScreenBreakpoint && DetailList_default["list--striped-with-bp"]
|
|
7660
7685
|
),
|
|
7661
7686
|
style,
|
|
@@ -7682,7 +7707,7 @@ var DetailListRow = ({ className, ...rest }) => {
|
|
|
7682
7707
|
{
|
|
7683
7708
|
display: "table-row",
|
|
7684
7709
|
hideBelow: hasBp ? bp : void 0,
|
|
7685
|
-
className: cn(className, DetailList_default.row),
|
|
7710
|
+
className: cn(className, DetailList_default.row, Table_default["row--body"]),
|
|
7686
7711
|
...rest
|
|
7687
7712
|
}
|
|
7688
7713
|
),
|
|
@@ -7692,7 +7717,12 @@ var DetailListRow = ({ className, ...rest }) => {
|
|
|
7692
7717
|
display: "flex",
|
|
7693
7718
|
flexDirection: "column",
|
|
7694
7719
|
showBelow: bp,
|
|
7695
|
-
className: cn(
|
|
7720
|
+
className: cn(
|
|
7721
|
+
className,
|
|
7722
|
+
DetailList_default.row,
|
|
7723
|
+
DetailList_default.column,
|
|
7724
|
+
Table_default["row--body"]
|
|
7725
|
+
),
|
|
7696
7726
|
...rest
|
|
7697
7727
|
}
|
|
7698
7728
|
)
|
|
@@ -12409,7 +12439,7 @@ var PhoneInput = ({
|
|
|
12409
12439
|
children: countryOptions.map((item, index) => /* @__PURE__ */ jsx308("option", { value: item.countryCode, children: item.label }, index))
|
|
12410
12440
|
}
|
|
12411
12441
|
),
|
|
12412
|
-
/* @__PURE__ */ jsxs119(Box, { width: "100%", className: Input_default["input-group"], children: [
|
|
12442
|
+
/* @__PURE__ */ jsxs119(Box, { width: "100%", display: "flex", className: Input_default["input-group"], children: [
|
|
12413
12443
|
/* @__PURE__ */ jsx308(
|
|
12414
12444
|
"span",
|
|
12415
12445
|
{
|
|
@@ -13684,32 +13714,6 @@ function useIsInTableHead() {
|
|
|
13684
13714
|
return isInTableHead;
|
|
13685
13715
|
}
|
|
13686
13716
|
|
|
13687
|
-
// src/components/Table/normal/Table.module.css
|
|
13688
|
-
var Table_default = {
|
|
13689
|
-
wrapper: "Table_wrapper",
|
|
13690
|
-
"wrapper--scrollable": "Table_wrapper--scrollable",
|
|
13691
|
-
table: "Table_table",
|
|
13692
|
-
"table--with-dividers": "Table_table--with-dividers",
|
|
13693
|
-
"row--body": "Table_row--body",
|
|
13694
|
-
"row--colapsible-header--open": "Table_row--colapsible-header--open",
|
|
13695
|
-
"table--sticky-header": "Table_table--sticky-header",
|
|
13696
|
-
"table--with-stripes": "Table_table--with-stripes",
|
|
13697
|
-
"table--small": "Table_table--small",
|
|
13698
|
-
"table--medium": "Table_table--medium",
|
|
13699
|
-
"table--large": "Table_table--large",
|
|
13700
|
-
row: "Table_row",
|
|
13701
|
-
"row--sum": "Table_row--sum",
|
|
13702
|
-
"row--selected": "Table_row--selected",
|
|
13703
|
-
"row--hoverable": "Table_row--hoverable",
|
|
13704
|
-
"cell--head": "Table_cell--head",
|
|
13705
|
-
"cell--left": "Table_cell--left",
|
|
13706
|
-
"cell--right": "Table_cell--right",
|
|
13707
|
-
"cell--center": "Table_cell--center",
|
|
13708
|
-
cell__inner: "Table_cell__inner",
|
|
13709
|
-
"sort-button": "Table_sort-button",
|
|
13710
|
-
"collapse-button": "Table_collapse-button"
|
|
13711
|
-
};
|
|
13712
|
-
|
|
13713
13717
|
// src/components/Table/normal/Cell.tsx
|
|
13714
13718
|
import { jsx as jsx323 } from "react/jsx-runtime";
|
|
13715
13719
|
var Cell = ({
|