@norges-domstoler/dds-components 0.0.0-dev-20261023131717 → 0.0.0-dev-20261026080512
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 +35 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.mjs +34 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2245,6 +2245,20 @@ function ArrowDownIcon(props) {
|
|
|
2245
2245
|
});
|
|
2246
2246
|
}
|
|
2247
2247
|
//#endregion
|
|
2248
|
+
//#region src/components/Icon/icons/arrowDownUp.tsx
|
|
2249
|
+
/** Arrows and chevron. Search terms: pil, arrow, ned, down. */
|
|
2250
|
+
function ArrowDownUpIcon(props) {
|
|
2251
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SvgWrapper, {
|
|
2252
|
+
...props,
|
|
2253
|
+
children: [
|
|
2254
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M10.4697 15.4697C10.7626 15.1768 11.2374 15.1768 11.5303 15.4697C11.8232 15.7626 11.8232 16.2374 11.5303 16.5303L7.53028 20.5303C7.23738 20.8232 6.76262 20.8232 6.46973 20.5303L2.46973 16.5303C2.17684 16.2374 2.17684 15.7626 2.46973 15.4697C2.76262 15.1768 3.23738 15.1768 3.53028 15.4697L7 18.9394L10.4697 15.4697Z" }),
|
|
2255
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M6.25 20V3.99999C6.25 3.58578 6.58579 3.24999 7 3.24999C7.41422 3.24999 7.75 3.58578 7.75 3.99999V20C7.75 20.4142 7.41422 20.75 7 20.75C6.58579 20.75 6.25 20.4142 6.25 20Z" }),
|
|
2256
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16.5264 3.41796C16.821 3.17765 17.2557 3.19512 17.5303 3.46972L21.5303 7.46972C21.8232 7.76261 21.8232 8.23737 21.5303 8.53027C21.2374 8.82316 20.7626 8.82316 20.4697 8.53027L17 5.06054L13.5303 8.53027C13.2374 8.82316 12.7626 8.82316 12.4697 8.53027C12.1768 8.23737 12.1768 7.76261 12.4697 7.46972L16.4697 3.46972L16.5264 3.41796Z" }),
|
|
2257
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16.25 20V3.99999C16.25 3.58578 16.5858 3.24999 17 3.24999C17.4142 3.24999 17.75 3.58578 17.75 3.99999V20C17.75 20.4142 17.4142 20.75 17 20.75C16.5858 20.75 16.25 20.4142 16.25 20Z" })
|
|
2258
|
+
]
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2261
|
+
//#endregion
|
|
2248
2262
|
//#region src/components/Icon/icons/arrowLeft.tsx
|
|
2249
2263
|
/** Arrows and chevron. Search terms: pil, arrow, venstre, left, tilbake, back. */
|
|
2250
2264
|
function ArrowLeftIcon(props) {
|
|
@@ -2272,6 +2286,20 @@ function ArrowUpIcon(props) {
|
|
|
2272
2286
|
});
|
|
2273
2287
|
}
|
|
2274
2288
|
//#endregion
|
|
2289
|
+
//#region src/components/Icon/icons/arrowUpDown.tsx
|
|
2290
|
+
/** Arrows and chevron. Search terms: pil, arrow, ned, down. */
|
|
2291
|
+
function ArrowUpDownIcon(props) {
|
|
2292
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SvgWrapper, {
|
|
2293
|
+
...props,
|
|
2294
|
+
children: [
|
|
2295
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20.4697 15.4697C20.7626 15.1768 21.2374 15.1768 21.5303 15.4697C21.8232 15.7626 21.8232 16.2374 21.5303 16.5303L17.5303 20.5303C17.2374 20.8232 16.7626 20.8232 16.4697 20.5303L12.4697 16.5303C12.1768 16.2374 12.1768 15.7626 12.4697 15.4697C12.7626 15.1768 13.2374 15.1768 13.5303 15.4697L17 18.9394L20.4697 15.4697Z" }),
|
|
2296
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16.25 20V3.99999C16.25 3.58578 16.5858 3.24999 17 3.24999C17.4142 3.24999 17.75 3.58578 17.75 3.99999V20C17.75 20.4142 17.4142 20.75 17 20.75C16.5858 20.75 16.25 20.4142 16.25 20Z" }),
|
|
2297
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M6.52637 3.41796C6.82095 3.17765 7.25567 3.19512 7.53028 3.46972L11.5303 7.46972C11.8232 7.76261 11.8232 8.23737 11.5303 8.53027C11.2374 8.82316 10.7626 8.82316 10.4697 8.53027L7 5.06054L3.53028 8.53027C3.23738 8.82316 2.76262 8.82316 2.46973 8.53027C2.17684 8.23737 2.17684 7.76261 2.46973 7.46972L6.46973 3.46972L6.52637 3.41796Z" }),
|
|
2298
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M6.25 20V3.99999C6.25 3.58578 6.58579 3.24999 7 3.24999C7.41422 3.24999 7.75 3.58578 7.75 3.99999V20C7.75 20.4142 7.41422 20.75 7 20.75C6.58579 20.75 6.25 20.4142 6.25 20Z" })
|
|
2299
|
+
]
|
|
2300
|
+
});
|
|
2301
|
+
}
|
|
2302
|
+
//#endregion
|
|
2275
2303
|
//#region src/components/Icon/icons/arrowUpRight.tsx
|
|
2276
2304
|
/** Arrows and chevron. Search terms: pil, arrow, opp, up, høyre, right. */
|
|
2277
2305
|
function ArrowUpRightIcon(props) {
|
|
@@ -4159,8 +4187,10 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
4159
4187
|
AppsIcon: () => AppsIcon,
|
|
4160
4188
|
ArchiveIcon: () => ArchiveIcon,
|
|
4161
4189
|
ArrowDownIcon: () => ArrowDownIcon,
|
|
4190
|
+
ArrowDownUpIcon: () => ArrowDownUpIcon,
|
|
4162
4191
|
ArrowLeftIcon: () => ArrowLeftIcon,
|
|
4163
4192
|
ArrowRightIcon: () => ArrowRightIcon,
|
|
4193
|
+
ArrowUpDownIcon: () => ArrowUpDownIcon,
|
|
4164
4194
|
ArrowUpIcon: () => ArrowUpIcon,
|
|
4165
4195
|
ArrowUpRightIcon: () => ArrowUpRightIcon,
|
|
4166
4196
|
AttachmentIcon: () => AttachmentIcon,
|
|
@@ -12810,9 +12840,9 @@ const texts$1 = createTexts({
|
|
|
12810
12840
|
const SortCell = ({ isSorted, sortOrder, onClick, children, ...rest }) => {
|
|
12811
12841
|
const { t } = useTranslation();
|
|
12812
12842
|
const SortIcon = () => {
|
|
12813
|
-
if (!isSorted || !sortOrder) return
|
|
12814
|
-
if (sortOrder === "ascending") return
|
|
12815
|
-
return
|
|
12843
|
+
if (!isSorted || !sortOrder) return ArrowUpDownIcon;
|
|
12844
|
+
if (sortOrder === "ascending") return ArrowUpIcon;
|
|
12845
|
+
return ArrowDownIcon;
|
|
12816
12846
|
};
|
|
12817
12847
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Cell, {
|
|
12818
12848
|
type: "head",
|
|
@@ -13513,8 +13543,10 @@ exports.AnimatedChevronUpDownIcon = AnimatedChevronUpDownIcon;
|
|
|
13513
13543
|
exports.AppsIcon = AppsIcon;
|
|
13514
13544
|
exports.ArchiveIcon = ArchiveIcon;
|
|
13515
13545
|
exports.ArrowDownIcon = ArrowDownIcon;
|
|
13546
|
+
exports.ArrowDownUpIcon = ArrowDownUpIcon;
|
|
13516
13547
|
exports.ArrowLeftIcon = ArrowLeftIcon;
|
|
13517
13548
|
exports.ArrowRightIcon = ArrowRightIcon;
|
|
13549
|
+
exports.ArrowUpDownIcon = ArrowUpDownIcon;
|
|
13518
13550
|
exports.ArrowUpIcon = ArrowUpIcon;
|
|
13519
13551
|
exports.ArrowUpRightIcon = ArrowUpRightIcon;
|
|
13520
13552
|
exports.AttachmentIcon = AttachmentIcon;
|