@norges-domstoler/dds-components 0.0.0-dev-20261110082000 → 0.0.0-dev-20261110092923
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.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +34 -18
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6880,6 +6880,8 @@ var Table_module_default = {
|
|
|
6880
6880
|
"table--striped": "dds-Table-module__table--striped",
|
|
6881
6881
|
"row--body": "dds-Table-module__row--body",
|
|
6882
6882
|
"table--collapsible--striped": "dds-Table-module__table--collapsible--striped",
|
|
6883
|
+
"standard-row": "dds-Table-module__standard-row",
|
|
6884
|
+
"dl-row": "dds-Table-module__dl-row",
|
|
6883
6885
|
"table--with-dividers": "dds-Table-module__table--with-dividers",
|
|
6884
6886
|
"row--collapsible-header--open": "dds-Table-module__row--collapsible-header--open",
|
|
6885
6887
|
"row": "dds-Table-module__row",
|
|
@@ -12413,11 +12415,11 @@ const Row = ({ type: _type, className, mode = "normal", children, ref, ...rest }
|
|
|
12413
12415
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
12414
12416
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainRow, {
|
|
12415
12417
|
ref,
|
|
12416
|
-
...sharedRowProps(hideBelowCn),
|
|
12418
|
+
...sharedRowProps(cn(hideBelowCn, Table_module_default["standard-row"])),
|
|
12417
12419
|
children
|
|
12418
12420
|
}),
|
|
12419
12421
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PlainRow, {
|
|
12420
|
-
...sharedRowProps(cn(hideAboveCn, !childrenCollapsed && Table_module_default["row--collapsible-header--open"])),
|
|
12422
|
+
...sharedRowProps(cn(hideAboveCn, Table_module_default["standard-row"], !childrenCollapsed && Table_module_default["row--collapsible-header--open"])),
|
|
12421
12423
|
children: [definingCells, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
12422
12424
|
className: Table_module_default["cell--right"],
|
|
12423
12425
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
@@ -12431,7 +12433,7 @@ const Row = ({ type: _type, className, mode = "normal", children, ref, ...rest }
|
|
|
12431
12433
|
})]
|
|
12432
12434
|
}),
|
|
12433
12435
|
!childrenCollapsed && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainRow, {
|
|
12434
|
-
...sharedRowProps(hideAboveCn),
|
|
12436
|
+
...sharedRowProps(cn(hideAboveCn, Table_module_default["dl-row"])),
|
|
12435
12437
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
12436
12438
|
colSpan: definingCells.length + 1,
|
|
12437
12439
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DescriptionList, { children: descriptionListItems })
|