@norges-domstoler/dds-components 0.0.0-dev-20240307131621 → 0.0.0-dev-20240308114439
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.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +753 -725
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +751 -725
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -135,6 +135,7 @@ __export(src_exports, {
|
|
|
135
135
|
GlobalMessage: () => GlobalMessage,
|
|
136
136
|
Grid: () => Grid,
|
|
137
137
|
GridChild: () => GridChild,
|
|
138
|
+
GuardianIcon: () => GuardianIcon,
|
|
138
139
|
HStack: () => HStack,
|
|
139
140
|
Heading: () => Heading,
|
|
140
141
|
HelpFilledIcon: () => HelpFilledIcon,
|
|
@@ -213,6 +214,7 @@ __export(src_exports, {
|
|
|
213
214
|
PlusIcon: () => PlusIcon,
|
|
214
215
|
Popover: () => Popover,
|
|
215
216
|
PopoverGroup: () => PopoverGroup,
|
|
217
|
+
PowerOfAttorneyIcon: () => PowerOfAttorneyIcon,
|
|
216
218
|
PrintIcon: () => PrintIcon,
|
|
217
219
|
ProgressTracker: () => ProgressTracker,
|
|
218
220
|
PropertyIcon: () => PropertyIcon,
|
|
@@ -1575,6 +1577,7 @@ __export(icons_exports, {
|
|
|
1575
1577
|
FullscreenExitIcon: () => FullscreenExitIcon,
|
|
1576
1578
|
FullscreenIcon: () => FullscreenIcon,
|
|
1577
1579
|
GavelIcon: () => GavelIcon,
|
|
1580
|
+
GuardianIcon: () => GuardianIcon,
|
|
1578
1581
|
HelpFilledIcon: () => HelpFilledIcon,
|
|
1579
1582
|
HelpIcon: () => HelpIcon,
|
|
1580
1583
|
HelpSimpleIcon: () => HelpSimpleIcon,
|
|
@@ -1623,6 +1626,7 @@ __export(icons_exports, {
|
|
|
1623
1626
|
PinIcon: () => PinIcon,
|
|
1624
1627
|
PlusCircledIcon: () => PlusCircledIcon,
|
|
1625
1628
|
PlusIcon: () => PlusIcon,
|
|
1629
|
+
PowerOfAttorneyIcon: () => PowerOfAttorneyIcon,
|
|
1626
1630
|
PrintIcon: () => PrintIcon,
|
|
1627
1631
|
PropertyIcon: () => PropertyIcon,
|
|
1628
1632
|
PublishIcon: () => PublishIcon,
|
|
@@ -2140,77 +2144,96 @@ function GavelIcon(props) {
|
|
|
2140
2144
|
] });
|
|
2141
2145
|
}
|
|
2142
2146
|
|
|
2143
|
-
// src/components/Icon/icons/
|
|
2147
|
+
// src/components/Icon/icons/guardian.tsx
|
|
2144
2148
|
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
2149
|
+
function GuardianIcon(props) {
|
|
2150
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(SvgWrapper, { ...props, children: [
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("path", { d: "M15.225 14.275C15.7084 14.7583 16.3 15 17 15C17.7 15 18.2916 14.7583 18.775 14.275C19.2583 13.7917 19.5 13.2 19.5 12.5C19.5 11.8 19.2583 11.2083 18.775 10.725C18.2916 10.2417 17.7 10 17 10C16.3 10 15.7084 10.2417 15.225 10.725C14.7417 11.2083 14.5 11.8 14.5 12.5C14.5 13.2 14.7417 13.7917 15.225 14.275Z" }),
|
|
2152
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("path", { d: "M12 18.6V20H22V18.8371C21.1597 18.9446 20.2638 18.635 19.6233 18.0638C19.0679 17.5685 18.6862 16.8599 18.6017 16.1281C18.0706 16.0427 17.5366 16 17 16C16.3507 16.0007 15.705 16.0633 15.063 16.188C14.421 16.3127 13.8 16.5 13.2 16.75C12.8174 16.9007 12.5216 17.1467 12.313 17.488C12.1044 17.8293 12 18.2 12 18.6Z" }),
|
|
2153
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
2154
|
+
"path",
|
|
2155
|
+
{
|
|
2156
|
+
"fill-rule": "evenodd",
|
|
2157
|
+
"clip-rule": "evenodd",
|
|
2158
|
+
d: "M7.17505 10.825C7.95837 11.6083 8.90002 12 10 12C11.1 12 12.0416 11.6083 12.825 10.825C13.6083 10.0417 14 9.10001 14 8C14 6.89999 13.6083 5.95834 12.825 5.17499C12.0416 4.39166 11.1 4 10 4C8.90002 4 7.95837 4.39166 7.17505 5.17499C6.39172 5.95834 6 6.89999 6 8C6 9.10001 6.39172 10.0417 7.17505 10.825ZM11.413 9.41299C11.021 9.80432 10.55 10 10 10C9.45068 10.0007 8.97998 9.80499 8.58801 9.41299C8.19604 9.021 8 8.54999 8 8C8.00061 7.45065 8.19666 6.98001 8.58801 6.58801C8.97937 6.19601 9.44995 6 10 6C10.5507 6.00067 11.0216 6.19666 11.413 6.58801C11.8043 6.97934 12 7.45001 12 8C12.0006 8.55066 11.8051 9.02167 11.413 9.41299Z"
|
|
2159
|
+
}
|
|
2160
|
+
),
|
|
2161
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("path", { d: "M2 17.2V20H10V18H4V17.2C4 17.0167 4.04163 16.85 4.125 16.7C4.20837 16.55 4.33337 16.4333 4.5 16.35C5.34937 15.9167 6.23669 15.5833 7.16199 15.35C8.08728 15.1167 9.03333 15 10 15C10.3 15.0007 10.6 15.0133 10.9 15.038C11.2 15.0627 11.5 15.1167 11.8 15.2L13.5 13.5C12.9166 13.3667 12.3334 13.25 11.75 13.15C11.1666 13.05 10.5834 13 10 13C8.88403 13 7.78833 13.1333 6.71301 13.4C5.6377 13.6667 4.59998 14.05 3.59998 14.55C3.09998 14.8007 2.70837 15.1633 2.42505 15.638C2.14172 16.1127 2 16.6333 2 17.2Z" }),
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("path", { d: "M20.1512 17.1838C20.1947 17.2298 20.2406 17.2744 20.2889 17.3175C21.0617 18.0067 22.1565 18.0404 22.7341 17.3927C23.1146 16.9662 23.0624 16.4776 22.7617 15.9968C22.6629 15.8389 22.5373 15.6817 22.3913 15.5279C22.307 15.439 22.2159 15.3513 22.1193 15.2652C21.3465 14.5759 20.5132 14.249 19.9355 14.8967C19.4786 15.4091 19.4821 16.1943 19.886 16.8413C19.9608 16.9611 20.0493 17.0761 20.1512 17.1838Z" })
|
|
2163
|
+
] });
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
// src/components/Icon/icons/help.tsx
|
|
2167
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
2145
2168
|
function HelpIcon(props) {
|
|
2146
|
-
return /* @__PURE__ */ (0,
|
|
2169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z" }) });
|
|
2147
2170
|
}
|
|
2148
2171
|
|
|
2149
2172
|
// src/components/Icon/icons/helpFilled.tsx
|
|
2150
|
-
var
|
|
2173
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
2151
2174
|
function HelpFilledIcon(props) {
|
|
2152
|
-
return /* @__PURE__ */ (0,
|
|
2175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" }) });
|
|
2153
2176
|
}
|
|
2154
2177
|
|
|
2155
2178
|
// src/components/Icon/icons/home.tsx
|
|
2156
|
-
var
|
|
2179
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
2157
2180
|
function HomeIcon(props) {
|
|
2158
|
-
return /* @__PURE__ */ (0,
|
|
2181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("path", { d: "M12 2.1L1 12h3v9h7v-6h2v6h7v-9h3L12 2.1zm0 2.691l6 5.4V19h-3v-6H9v6H6v-8.809l6-5.4z" }) });
|
|
2159
2182
|
}
|
|
2160
2183
|
|
|
2161
2184
|
// src/components/Icon/icons/hourglassBottom.tsx
|
|
2162
|
-
var
|
|
2185
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
2163
2186
|
function HourglassBottom(props) {
|
|
2164
|
-
return /* @__PURE__ */ (0,
|
|
2187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("path", { d: "m18 22-.01-6L14 12l3.99-4.01L18 2H6v6l4 4-4 3.99V22h12zM8 7.5V4h8v3.5l-4 4-4-4z" }) });
|
|
2165
2188
|
}
|
|
2166
2189
|
|
|
2167
2190
|
// src/components/Icon/icons/hourglassDisabled.tsx
|
|
2168
|
-
var
|
|
2191
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
2169
2192
|
function HourglassDisabled(props) {
|
|
2170
|
-
return /* @__PURE__ */ (0,
|
|
2193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("path", { d: "M8 4h8v3.5l-2.84 2.84 1.25 1.25L18 8.01 17.99 8H18V2H6v1.17l2 2zM2.1 2.1.69 3.51l8.9 8.9L6 16l.01.01H6V22h12v-1.17l2.49 2.49 1.41-1.41L2.1 2.1zM16 20H8v-3.5l2.84-2.84L16 18.83V20z" }) });
|
|
2171
2194
|
}
|
|
2172
2195
|
|
|
2173
2196
|
// src/components/Icon/icons/hourglassEmpty.tsx
|
|
2174
|
-
var
|
|
2197
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
2175
2198
|
function HourglassEmpty(props) {
|
|
2176
|
-
return /* @__PURE__ */ (0,
|
|
2199
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("path", { d: "M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z" }) });
|
|
2177
2200
|
}
|
|
2178
2201
|
|
|
2179
2202
|
// src/components/Icon/icons/hourglassFull.tsx
|
|
2180
|
-
var
|
|
2203
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
2181
2204
|
function HourglassFull(props) {
|
|
2182
|
-
return /* @__PURE__ */ (0,
|
|
2205
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("path", { d: "M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z" }) });
|
|
2183
2206
|
}
|
|
2184
2207
|
|
|
2185
2208
|
// src/components/Icon/icons/hourglassTop.tsx
|
|
2186
|
-
var
|
|
2209
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
2187
2210
|
function HourglassTop(props) {
|
|
2188
|
-
return /* @__PURE__ */ (0,
|
|
2211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("path", { d: "m6 2 .01 6L10 12l-3.99 4.01L6 22h12v-6l-4-4 4-3.99V2H6zm10 14.5V20H8v-3.5l4-4 4 4z" }) });
|
|
2189
2212
|
}
|
|
2190
2213
|
|
|
2191
2214
|
// src/components/Icon/icons/image.tsx
|
|
2192
|
-
var
|
|
2215
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
2193
2216
|
function ImageIcon(props) {
|
|
2194
|
-
return /* @__PURE__ */ (0,
|
|
2217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("path", { d: "M19 5v14H5V5h14zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86L11 16l-2-2.86L6 17h12l-3.86-5.14z" }) });
|
|
2195
2218
|
}
|
|
2196
2219
|
|
|
2197
2220
|
// src/components/Icon/icons/info.tsx
|
|
2198
|
-
var
|
|
2221
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
2199
2222
|
function InfoIcon(props) {
|
|
2200
|
-
return /* @__PURE__ */ (0,
|
|
2223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { d: "M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10 10-4.489 10-10S17.511 2 12 2zm0 2c4.43 0 8 3.57 8 8s-3.57 8-8 8-8-3.57-8-8 3.57-8 8-8zm-1 3v2h2V7h-2zm0 4v6h2v-6h-2z" }) });
|
|
2201
2224
|
}
|
|
2202
2225
|
|
|
2203
2226
|
// src/components/Icon/icons/instagram.tsx
|
|
2204
|
-
var
|
|
2227
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
2205
2228
|
function InstagramIcon(props) {
|
|
2206
|
-
return /* @__PURE__ */ (0,
|
|
2229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { d: "M12 7.193A4.8 4.8 0 007.193 12 4.8 4.8 0 0012 16.807 4.8 4.8 0 0016.807 12 4.8 4.8 0 0012 7.193zm0 7.931A3.13 3.13 0 018.876 12 3.13 3.13 0 0112 8.876 3.13 3.13 0 0115.124 12 3.13 3.13 0 0112 15.124zm5.004-9.248a1.121 1.121 0 100 2.245A1.12 1.12 0 0018.04 6.57a1.122 1.122 0 00-1.037-.693zM21.37 12c0-1.294.012-2.576-.06-3.867-.073-1.5-.415-2.831-1.512-3.928-1.1-1.1-2.428-1.44-3.928-1.512-1.294-.073-2.576-.061-3.868-.061-1.293 0-2.575-.012-3.867.061-1.5.073-2.831.415-3.928 1.512-1.1 1.099-1.439 2.428-1.512 3.928-.072 1.294-.06 2.576-.06 3.867s-.012 2.576.06 3.867c.073 1.5.415 2.831 1.512 3.928 1.1 1.1 2.428 1.44 3.928 1.512 1.294.073 2.576.061 3.867.061 1.294 0 2.576.012 3.867-.061 1.5-.073 2.832-.415 3.929-1.512 1.099-1.099 1.439-2.428 1.511-3.928.075-1.291.061-2.573.061-3.867zm-2.062 5.527A2.978 2.978 0 0118.6 18.6c-.33.33-.647.537-1.073.708-1.233.49-4.16.38-5.527.38-1.366 0-4.296.11-5.529-.378a2.98 2.98 0 01-1.073-.708 2.999 2.999 0 01-.708-1.073c-.488-1.235-.378-4.163-.378-5.529 0-1.366-.11-4.296.378-5.529.17-.426.377-.745.708-1.073A3.03 3.03 0 016.47 4.69c1.233-.488 4.163-.377 5.529-.377 1.366 0 4.296-.11 5.529.377.427.17.745.377 1.073.708.33.33.537.647.708 1.073.488 1.233.378 4.163.378 5.529 0 1.366.11 4.294-.38 5.527z" }) });
|
|
2207
2230
|
}
|
|
2208
2231
|
|
|
2209
2232
|
// src/components/Icon/icons/jordskifterett.tsx
|
|
2210
|
-
var
|
|
2233
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
2211
2234
|
function JordskifterettIcon(props) {
|
|
2212
2235
|
const { title: title3, ...rest } = props;
|
|
2213
|
-
return /* @__PURE__ */ (0,
|
|
2236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
2214
2237
|
SvgWrapper,
|
|
2215
2238
|
{
|
|
2216
2239
|
width: "24",
|
|
@@ -2219,41 +2242,41 @@ function JordskifterettIcon(props) {
|
|
|
2219
2242
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2220
2243
|
viewBox: "0 0 24 24",
|
|
2221
2244
|
children: [
|
|
2222
|
-
title3 && /* @__PURE__ */ (0,
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2245
|
+
title3 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("title", { children: title3 }),
|
|
2246
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("circle", { cx: "12", cy: "12", r: "6" })
|
|
2224
2247
|
]
|
|
2225
2248
|
}
|
|
2226
2249
|
);
|
|
2227
2250
|
}
|
|
2228
2251
|
|
|
2229
2252
|
// src/components/Icon/icons/key.tsx
|
|
2230
|
-
var
|
|
2253
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
2231
2254
|
function KeyIcon(props) {
|
|
2232
|
-
return /* @__PURE__ */ (0,
|
|
2255
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M21 10h-8.35A5.99 5.99 0 007 6c-3.31 0-6 2.69-6 6s2.69 6 6 6a5.99 5.99 0 005.65-4H13l2 2 2-2 2 2 4-4.04L21 10zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z" }) });
|
|
2233
2256
|
}
|
|
2234
2257
|
|
|
2235
2258
|
// src/components/Icon/icons/lagmannsrett.tsx
|
|
2236
|
-
var
|
|
2259
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
2237
2260
|
function LagmannsrettIcon(props) {
|
|
2238
|
-
return /* @__PURE__ */ (0,
|
|
2261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { d: "M4 10h15.65v3.913H4z" }) });
|
|
2239
2262
|
}
|
|
2240
2263
|
|
|
2241
2264
|
// src/components/Icon/icons/language.tsx
|
|
2242
|
-
var
|
|
2265
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
2243
2266
|
function LanguageIcon(props) {
|
|
2244
|
-
return /* @__PURE__ */ (0,
|
|
2267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 00-1.38-3.56A8.03 8.03 0 0118.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 015.08 16zm2.95-8H5.08a7.987 7.987 0 014.33-3.56A15.65 15.65 0 008.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 01-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z" }) });
|
|
2245
2268
|
}
|
|
2246
2269
|
|
|
2247
2270
|
// src/components/Icon/icons/link.tsx
|
|
2248
|
-
var
|
|
2271
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
2249
2272
|
function LinkIcon(props) {
|
|
2250
|
-
return /* @__PURE__ */ (0,
|
|
2273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("path", { d: "M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8v-2z" }) });
|
|
2251
2274
|
}
|
|
2252
2275
|
|
|
2253
2276
|
// src/components/Icon/icons/linkedIn.tsx
|
|
2254
|
-
var
|
|
2277
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
2255
2278
|
function LinkedInIcon(props) {
|
|
2256
|
-
return /* @__PURE__ */ (0,
|
|
2279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
2257
2280
|
"path",
|
|
2258
2281
|
{
|
|
2259
2282
|
fillRule: "evenodd",
|
|
@@ -2264,424 +2287,433 @@ function LinkedInIcon(props) {
|
|
|
2264
2287
|
}
|
|
2265
2288
|
|
|
2266
2289
|
// src/components/Icon/icons/linkOff.tsx
|
|
2267
|
-
var
|
|
2290
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
2268
2291
|
function LinkOffIcon(props) {
|
|
2269
|
-
return /* @__PURE__ */ (0,
|
|
2292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { d: "M14.39 11L16 12.61V11h-1.61zM17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.27-.77 2.37-1.87 2.84l1.4 1.4A4.986 4.986 0 0022 12c0-2.76-2.24-5-5-5zM2 4.27l3.11 3.11A4.991 4.991 0 002 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4.01 1.41-1.41L3.41 2.86 2 4.27z" }) });
|
|
2270
2293
|
}
|
|
2271
2294
|
|
|
2272
2295
|
// src/components/Icon/icons/list.tsx
|
|
2273
|
-
var
|
|
2296
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
2274
2297
|
function ListIcon(props) {
|
|
2275
|
-
return /* @__PURE__ */ (0,
|
|
2298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("path", { d: "M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7zm-4 6h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z" }) });
|
|
2276
2299
|
}
|
|
2277
2300
|
|
|
2278
2301
|
// src/components/Icon/icons/listAlt.tsx
|
|
2279
|
-
var
|
|
2302
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
2280
2303
|
function ListAltIcon(props) {
|
|
2281
|
-
return /* @__PURE__ */ (0,
|
|
2304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M11 7h6v2h-6V7zm0 4h6v2h-6v-2zm0 4h6v2h-6v-2zM7 7h2v2H7V7zm0 4h2v2H7v-2zm0 4h2v2H7v-2zM20.1 3H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9zM19 19H5V5h14v14z" }) });
|
|
2282
2305
|
}
|
|
2283
2306
|
|
|
2284
2307
|
// src/components/Icon/icons/location.tsx
|
|
2285
|
-
var
|
|
2308
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
2286
2309
|
function LocationIcon(props) {
|
|
2287
|
-
return /* @__PURE__ */ (0,
|
|
2310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14zM12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2z" }) });
|
|
2288
2311
|
}
|
|
2289
2312
|
|
|
2290
2313
|
// src/components/Icon/icons/lock.tsx
|
|
2291
|
-
var
|
|
2314
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
2292
2315
|
function LockIcon(props) {
|
|
2293
|
-
return /* @__PURE__ */ (0,
|
|
2316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("path", { d: "M12 1C8.676 1 6 3.676 6 7v1c-.522 0-1.055.191-1.432.568C4.191 8.945 4 9.478 4 10v10c0 .522.191 1.055.568 1.432.377.377.91.568 1.432.568h12c.522 0 1.055-.191 1.432-.568.377-.377.568-.91.568-1.432V10c0-.522-.191-1.055-.568-1.432C19.055 8.191 18.522 8 18 8V7c0-3.324-2.676-6-6-6zm0 2c2.276 0 4 1.724 4 4v1H8V7c0-2.276 1.724-4 4-4zm-6 7h12v10H6V10zm6 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) });
|
|
2294
2317
|
}
|
|
2295
2318
|
|
|
2296
2319
|
// src/components/Icon/icons/lockOpen.tsx
|
|
2297
|
-
var
|
|
2320
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
2298
2321
|
function LockOpenIcon(props) {
|
|
2299
|
-
return /* @__PURE__ */ (0,
|
|
2322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("path", { d: "M12 1C9.128 1 6.719 3.046 6.123 5.787l1.955.426C8.482 4.353 10.072 3 12 3c2.276 0 4 1.724 4 4v1H6c-1.093 0-2 .907-2 2v10c0 1.093.907 2 2 2h12c1.093 0 2-.907 2-2V10c0-1.093-.907-2-2-2V7c0-3.324-2.676-6-6-6zm-6 9h12v10H6V10zm6 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) });
|
|
2300
2323
|
}
|
|
2301
2324
|
|
|
2302
2325
|
// src/components/Icon/icons/login.tsx
|
|
2303
|
-
var
|
|
2326
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
2304
2327
|
function LoginIcon(props) {
|
|
2305
|
-
return /* @__PURE__ */ (0,
|
|
2328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("path", { d: "M11 7L9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z" }) });
|
|
2306
2329
|
}
|
|
2307
2330
|
|
|
2308
2331
|
// src/components/Icon/icons/logout.tsx
|
|
2309
|
-
var
|
|
2332
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
2310
2333
|
function LogoutIcon(props) {
|
|
2311
|
-
return /* @__PURE__ */ (0,
|
|
2334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("path", { d: "M17 8l-1.41 1.41L17.17 11H9v2h8.17l-1.58 1.58L17 16l4-4-4-4zM5 5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h7v-2H5V5z" }) });
|
|
2312
2335
|
}
|
|
2313
2336
|
|
|
2314
2337
|
// src/components/Icon/icons/mail.tsx
|
|
2315
|
-
var
|
|
2338
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
2316
2339
|
function MailIcon(props) {
|
|
2317
|
-
return /* @__PURE__ */ (0,
|
|
2340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("path", { d: "M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z" }) });
|
|
2318
2341
|
}
|
|
2319
2342
|
|
|
2320
2343
|
// src/components/Icon/icons/mailOpen.tsx
|
|
2321
|
-
var
|
|
2344
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
2322
2345
|
function MailOpenIcon(props) {
|
|
2323
|
-
return /* @__PURE__ */ (0,
|
|
2346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("path", { d: "M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-2 0v.01L12 13 4 8l8-4.68L19.99 8zM4 18v-7.66l8 5.02 7.99-4.99L20 18H4z" }) });
|
|
2324
2347
|
}
|
|
2325
2348
|
|
|
2326
2349
|
// src/components/Icon/icons/menu.tsx
|
|
2327
|
-
var
|
|
2350
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
2328
2351
|
function MenuIcon(props) {
|
|
2329
|
-
return /* @__PURE__ */ (0,
|
|
2352
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
|
|
2330
2353
|
}
|
|
2331
2354
|
|
|
2332
2355
|
// src/components/Icon/icons/minus.tsx
|
|
2333
|
-
var
|
|
2356
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
2334
2357
|
function MinusIcon(props) {
|
|
2335
|
-
return /* @__PURE__ */ (0,
|
|
2358
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("path", { d: "M19 12.998H5v-2h14v2z" }) });
|
|
2336
2359
|
}
|
|
2337
2360
|
|
|
2338
2361
|
// src/components/Icon/icons/minusCircled.tsx
|
|
2339
|
-
var
|
|
2362
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
2340
2363
|
function MinusCirledIcon(props) {
|
|
2341
|
-
return /* @__PURE__ */ (0,
|
|
2364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("path", { d: "M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }) });
|
|
2342
2365
|
}
|
|
2343
2366
|
|
|
2344
2367
|
// src/components/Icon/icons/moreHorizontal.tsx
|
|
2345
|
-
var
|
|
2368
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
2346
2369
|
function MoreHorizontalIcon(props) {
|
|
2347
|
-
return /* @__PURE__ */ (0,
|
|
2370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { d: "M16 12a2 2 0 114 0 2 2 0 01-4 0zm-6 0a2 2 0 114 0 2 2 0 01-4 0zm-6 0a2 2 0 114 0 2 2 0 01-4 0z" }) });
|
|
2348
2371
|
}
|
|
2349
2372
|
|
|
2350
2373
|
// src/components/Icon/icons/moreVertical.tsx
|
|
2351
|
-
var
|
|
2374
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
2352
2375
|
function MoreVerticalIcon(props) {
|
|
2353
|
-
return /* @__PURE__ */ (0,
|
|
2376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) });
|
|
2354
2377
|
}
|
|
2355
2378
|
|
|
2356
2379
|
// src/components/Icon/icons/notarial.tsx
|
|
2357
|
-
var
|
|
2380
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
2358
2381
|
function NotarialIcon(props) {
|
|
2359
|
-
return /* @__PURE__ */ (0,
|
|
2382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("path", { d: "M4 16v6h16v-6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2zm14 2H6v-2h12v2zM12 2C9.24 2 7 4.24 7 7l5 7 5-7c0-2.76-2.24-5-5-5zm0 9L9 7c0-1.66 1.34-3 3-3s3 1.34 3 3l-3 4z" }) });
|
|
2360
2383
|
}
|
|
2361
2384
|
|
|
2362
2385
|
// src/components/Icon/icons/notifications.tsx
|
|
2363
|
-
var
|
|
2386
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
2364
2387
|
function NotificationsIcon(props) {
|
|
2365
|
-
return /* @__PURE__ */ (0,
|
|
2388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z" }) });
|
|
2366
2389
|
}
|
|
2367
2390
|
|
|
2368
2391
|
// src/components/Icon/icons/notificationsOff.tsx
|
|
2369
|
-
var
|
|
2392
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
2370
2393
|
function NotificationsOffIcon(props) {
|
|
2371
|
-
return /* @__PURE__ */ (0,
|
|
2394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm0-15.5c2.49 0 4 2.02 4 4.5v.1l2 2V11c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l1.64 1.64c.18-.02.36-.05.55-.05zM5.41 3.35L4 4.76l2.81 2.81C6.29 8.57 6 9.74 6 11v5l-2 2v1h14.24l1.74 1.74 1.41-1.41L5.41 3.35zM16 17H8v-6c0-.68.12-1.32.34-1.9L16 16.76V17z" }) });
|
|
2372
2395
|
}
|
|
2373
2396
|
|
|
2374
2397
|
// src/components/Icon/icons/onlineMeeting.tsx
|
|
2375
|
-
var
|
|
2398
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
2376
2399
|
function OnlineMeetingIcon(props) {
|
|
2377
|
-
return /* @__PURE__ */ (0,
|
|
2400
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("path", { d: "M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zm-6-5.4l3 2.4V7l-3 2.4V7H7v6h7v-2.4z" }) });
|
|
2378
2401
|
}
|
|
2379
2402
|
|
|
2380
2403
|
// src/components/Icon/icons/openExternal.tsx
|
|
2381
|
-
var
|
|
2404
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
2382
2405
|
function OpenExternalIcon(props) {
|
|
2383
|
-
return /* @__PURE__ */ (0,
|
|
2406
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("path", { d: "M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" }) });
|
|
2384
2407
|
}
|
|
2385
2408
|
|
|
2386
2409
|
// src/components/Icon/icons/payout.tsx
|
|
2387
|
-
var
|
|
2410
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
2388
2411
|
function PayoutIcon(props) {
|
|
2389
|
-
return /* @__PURE__ */ (0,
|
|
2412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("path", { d: "M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v4h5v12H6zm5-1h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4v-2h-2V9h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1z" }) });
|
|
2390
2413
|
}
|
|
2391
2414
|
|
|
2392
2415
|
// src/components/Icon/icons/pdf.tsx
|
|
2393
|
-
var
|
|
2416
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
2394
2417
|
function PdfIcon(props) {
|
|
2395
|
-
return /* @__PURE__ */ (0,
|
|
2418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("path", { d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1zm-2-3h1v3h-1V9zm4 2h1v-1h-1V9h1V8h-2v5h1v-2zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1v-2zm0-2h1v1h-1V9z" }) });
|
|
2396
2419
|
}
|
|
2397
2420
|
|
|
2398
2421
|
// src/components/Icon/icons/person.tsx
|
|
2399
|
-
var
|
|
2422
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
2400
2423
|
function PersonIcon(props) {
|
|
2401
|
-
return /* @__PURE__ */ (0,
|
|
2424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("path", { d: "M12 5.9a2.1 2.1 0 110 4.199A2.1 2.1 0 0112 5.9zm0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1zM12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z" }) });
|
|
2402
2425
|
}
|
|
2403
2426
|
|
|
2404
2427
|
// src/components/Icon/icons/personAdd.tsx
|
|
2405
|
-
var
|
|
2428
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
2406
2429
|
function PersonAddIcon(props) {
|
|
2407
|
-
return /* @__PURE__ */ (0,
|
|
2430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("path", { d: "M20 9V6h-2v3h-3v2h3v3h2v-3h3V9h-3zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm6.39 8.56C13.71 13.7 11.53 13 9 13s-4.71.7-6.39 1.56A2.97 2.97 0 001 17.22V20h16v-2.78c0-1.12-.61-2.15-1.61-2.66zM15 18H3v-.78c0-.38.2-.72.52-.88C4.71 15.73 6.63 15 9 15c2.37 0 4.29.73 5.48 1.34.32.16.52.5.52.88V18z" }) });
|
|
2408
2431
|
}
|
|
2409
2432
|
|
|
2410
2433
|
// src/components/Icon/icons/personShielded.tsx
|
|
2411
|
-
var
|
|
2434
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
2412
2435
|
function PersonShieldedIcon(props) {
|
|
2413
|
-
return /* @__PURE__ */ (0,
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2416
|
-
/* @__PURE__ */ (0,
|
|
2436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(SvgWrapper, { ...props, children: [
|
|
2437
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("path", { d: "M12 5.9C12.2758 5.9 12.5489 5.95432 12.8036 6.05985C13.0584 6.16539 13.2899 6.32007 13.4849 6.51508C13.6799 6.71008 13.8346 6.94158 13.9401 7.19636C14.0457 7.45115 14.1 7.72422 14.1 8C14.1 8.27578 14.0457 8.54885 13.9401 8.80364C13.8346 9.05842 13.6799 9.28992 13.4849 9.48492C13.2899 9.67993 13.0584 9.83461 12.8036 9.94015C12.5489 10.0457 12.2758 10.1 12 10.1C11.443 10.1 10.9089 9.87875 10.5151 9.48492C10.1212 9.0911 9.9 8.55695 9.9 8C9.9 7.44305 10.1212 6.9089 10.5151 6.51508C10.9089 6.12125 11.443 5.9 12 5.9ZM12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4Z" }),
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("path", { d: "M5.9 18.1V17C5.9 16.36 9.03 14.9 12 14.9C12.3329 14.9 12.6677 14.9183 13 14.9518V13.0517C12.6402 13.0173 12.303 13 12 13C9.33 13 4 14.34 4 17V20H12V18.1H5.9Z" }),
|
|
2439
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("path", { d: "M19 15V14C19 12.9 18.1 12 17 12C15.9 12 15 12.9 15 14V15C14.45 15 14 15.45 14 16V19C14 19.55 14.45 20 15 20H19C19.55 20 20 19.55 20 19V16C20 15.45 19.55 15 19 15ZM16 15V14C16 13.45 16.45 13 17 13C17.55 13 18 13.45 18 14V15H16Z" })
|
|
2417
2440
|
] });
|
|
2418
2441
|
}
|
|
2419
2442
|
|
|
2420
2443
|
// src/components/Icon/icons/pin.tsx
|
|
2421
|
-
var
|
|
2444
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
2422
2445
|
function PinIcon(props) {
|
|
2423
|
-
return /* @__PURE__ */ (0,
|
|
2446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("path", { d: "M14 4v5c0 1.12.37 2.16 1 3H9c.65-.86 1-1.9 1-3V4h4zm3-2H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3V4h1c.55 0 1-.45 1-1s-.45-1-1-1z" }) });
|
|
2424
2447
|
}
|
|
2425
2448
|
|
|
2426
2449
|
// src/components/Icon/icons/plus.tsx
|
|
2427
|
-
var
|
|
2450
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
2428
2451
|
function PlusIcon(props) {
|
|
2429
|
-
return /* @__PURE__ */ (0,
|
|
2452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("path", { d: "M19 12.998h-6v6h-2v-6H5v-2h6v-6h2v6h6v2z" }) });
|
|
2430
2453
|
}
|
|
2431
2454
|
|
|
2432
2455
|
// src/components/Icon/icons/plusCircled.tsx
|
|
2433
|
-
var
|
|
2456
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
2434
2457
|
function PlusCircledIcon(props) {
|
|
2435
|
-
return /* @__PURE__ */ (0,
|
|
2458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("path", { d: "M12 2C6.467 2 2 6.467 2 12s4.467 10 10 10 10-4.467 10-10S17.533 2 12 2zm0 2c4.467 0 8 3.533 8 8 0 4.467-3.533 8-8 8-4.467 0-8-3.533-8-8 0-4.467 3.533-8 8-8zm-1 3v4H7v2h4v4h2v-4h4v-2h-4V7h-2z" }) });
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
// src/components/Icon/icons/powerOfAttorney.tsx
|
|
2462
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
2463
|
+
function PowerOfAttorneyIcon(props) {
|
|
2464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(SvgWrapper, { ...props, children: [
|
|
2465
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("path", { d: "M4 4C4 2.90575 4.90575 2 6 2H14L20 8V12H18V9H13V4H6V16H4V4Z" }),
|
|
2466
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("path", { d: "M5 19.5652V20.2609L10.7143 22L15.7143 20.6783V21.6522H20V14H14.2857L9.85714 15.6C9.14286 15.8783 8.57143 16.6435 8.57143 17.4783H7.14286C5.92857 17.4783 5 18.3826 5 19.5652ZM17.1429 20.2609V15.3913H18.5714V20.2609H17.1429ZM6.5 19.287C6.64286 19.0087 6.85714 18.8696 7.14286 18.8696H11C11.3571 18.8696 11.7857 18.8 12.1429 18.7304L13.7857 18.1739L13.3571 16.8522L11.6429 17.4087C11.4286 17.4087 10 17.4783 10 17.4783C10 17.2 10.1429 16.9913 10.4286 16.9217L14.5714 15.3913H15.7143V19.2174L10.7143 20.5391L6.5 19.287Z" })
|
|
2467
|
+
] });
|
|
2436
2468
|
}
|
|
2437
2469
|
|
|
2438
2470
|
// src/components/Icon/icons/print.tsx
|
|
2439
|
-
var
|
|
2471
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
2440
2472
|
function PrintIcon(props) {
|
|
2441
|
-
return /* @__PURE__ */ (0,
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2473
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(SvgWrapper, { ...props, children: [
|
|
2474
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)("path", { d: "M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zM8 5h8v3H8V5zm8 12v2H8v-4h8v2zm2-2v-2H6v2H4v-4c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v4h-2z" }),
|
|
2475
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)("path", { d: "M18 12.5a1 1 0 100-2 1 1 0 000 2z" })
|
|
2444
2476
|
] });
|
|
2445
2477
|
}
|
|
2446
2478
|
|
|
2447
2479
|
// src/components/Icon/icons/property.tsx
|
|
2448
|
-
var
|
|
2480
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
2449
2481
|
function PropertyIcon(props) {
|
|
2450
|
-
return /* @__PURE__ */ (0,
|
|
2451
|
-
/* @__PURE__ */ (0,
|
|
2452
|
-
/* @__PURE__ */ (0,
|
|
2482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(SvgWrapper, { ...props, children: [
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M19 9.3V4h-3v2.6L12 3 2 12h3v8h6v-6h2v6h6v-8h3l-3-2.7zM17 18h-2v-6H9v6H7v-7.81l5-4.5 5 4.5V18z" }),
|
|
2484
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M10 10h4c0-1.1-.9-2-2-2s-2 .9-2 2z" })
|
|
2453
2485
|
] });
|
|
2454
2486
|
}
|
|
2455
2487
|
|
|
2456
2488
|
// src/components/Icon/icons/publish.tsx
|
|
2457
|
-
var
|
|
2489
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
2458
2490
|
function PublishIcon(props) {
|
|
2459
|
-
return /* @__PURE__ */ (0,
|
|
2491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("path", { d: "M5 4h14v2H5V4zm0 10h4v6h6v-6h4l-7-7-7 7zm8-2v6h-2v-6H9.83L12 9.83 14.17 12H13z" }) });
|
|
2460
2492
|
}
|
|
2461
2493
|
|
|
2462
2494
|
// src/components/Icon/icons/questionAnswer.tsx
|
|
2463
|
-
var
|
|
2495
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
2464
2496
|
function QuestionAnswerIcon(props) {
|
|
2465
|
-
return /* @__PURE__ */ (0,
|
|
2497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("path", { d: "M15 4v7H5.17l-.59.59-.58.58V4h11zm1-2H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm5 4h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1z" }) });
|
|
2466
2498
|
}
|
|
2467
2499
|
|
|
2468
2500
|
// src/components/Icon/icons/receipt.tsx
|
|
2469
|
-
var
|
|
2501
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
2470
2502
|
function ReceiptIcon(props) {
|
|
2471
|
-
return /* @__PURE__ */ (0,
|
|
2503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("path", { d: "M19.5 3.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5zM19 19.09H5V4.91h14v14.18zM6 15h12v2H6v-2zm0-4h12v2H6v-2zm0-4h12v2H6V7z" }) });
|
|
2472
2504
|
}
|
|
2473
2505
|
|
|
2474
2506
|
// src/components/Icon/icons/redo.tsx
|
|
2475
|
-
var
|
|
2507
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
2476
2508
|
function RedoIcon(props) {
|
|
2477
|
-
return /* @__PURE__ */ (0,
|
|
2509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("path", { d: "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z" }) });
|
|
2478
2510
|
}
|
|
2479
2511
|
|
|
2480
2512
|
// src/components/Icon/icons/refresh.tsx
|
|
2481
|
-
var
|
|
2513
|
+
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
2482
2514
|
function RefreshIcon(props) {
|
|
2483
|
-
return /* @__PURE__ */ (0,
|
|
2515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" }) });
|
|
2484
2516
|
}
|
|
2485
2517
|
|
|
2486
2518
|
// src/components/Icon/icons/replay.tsx
|
|
2487
|
-
var
|
|
2519
|
+
var import_jsx_runtime128 = require("react/jsx-runtime");
|
|
2488
2520
|
function ReplayIcon(props) {
|
|
2489
|
-
return /* @__PURE__ */ (0,
|
|
2521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("path", { d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z" }) });
|
|
2490
2522
|
}
|
|
2491
2523
|
|
|
2492
2524
|
// src/components/Icon/icons/search.tsx
|
|
2493
|
-
var
|
|
2525
|
+
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
2494
2526
|
function SearchIcon(props) {
|
|
2495
|
-
return /* @__PURE__ */ (0,
|
|
2527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("path", { d: "M9 2C5.146 2 2 5.146 2 9s3.146 7 7 7a6.958 6.958 0 004.574-1.719l.426.426V16l6 6 2-2-6-6h-1.293l-.426-.426A6.958 6.958 0 0016 9c0-3.854-3.146-7-7-7zm0 2c2.773 0 5 2.227 5 5s-2.227 5-5 5-5-2.227-5-5 2.227-5 5-5z" }) });
|
|
2496
2528
|
}
|
|
2497
2529
|
|
|
2498
2530
|
// src/components/Icon/icons/settings.tsx
|
|
2499
|
-
var
|
|
2531
|
+
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
2500
2532
|
function SettingsIcon(props) {
|
|
2501
|
-
return /* @__PURE__ */ (0,
|
|
2533
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("path", { d: "M9.666 2l-.451 2.477.014-.006.128-.041c-.05.012-.093.033-.142.047-.918.26-1.639.741-2.256 1.255l-.033.03h-.002l-2.389-.758-2.297 3.982 1.873 1.762.008-.045.01-.045C3.99 11.21 4 11.7 4 12c0 .3-.001.796.12 1.396l-.013-.064-1.882 1.66 2.328 4.035 2.39-.869.02.02.082.054c.643.429 1.388.856 2.162 1.188l.004.002L9.658 22h4.676l.451-2.477-.014.006-.128.041c.05-.012.093-.033.142-.047.918-.26 1.639-.741 2.256-1.255l.033-.03h.002l2.4.764 2.29-4.12-1.873-1.652-.012.067-.01.045C20.01 12.79 20 12.3 20 12c0-.3.01-.79-.129-1.342l.006.026 1.898-1.676-2.328-4.035-2.39.869-.02-.02-.082-.054a13.73 13.73 0 00-2.162-1.188l-.004-.002L14.342 2H9.666zm1.668 2h1.324l.352 2.021 1.02.407-.024-.008c.605.26 1.234.62 1.78.978l.757.76 2.01-.732.672 1.166-1.502 1.326.197 1.186.01.039c.062.247.07.557.07.857 0 .3-.008.61-.07.857l-.006.024-.217 1.088 1.527 1.35-.71 1.28-2-.636-.778.777c-.543.451-.983.738-1.588.889l-.066.017-1.076.43-.35 1.924h-1.324l-.352-2.021-1.02-.407.024.008c-.605-.26-1.234-.62-1.78-.978l-.757-.76-2.01.732-.672-1.166 1.518-1.34-.213-1.064C6 12.604 6 12.3 6 12c0-.3.008-.61.07-.857l.006-.024.213-1.066-1.527-1.44.703-1.217 2.012.641.777-.777c.543-.451.983-.738 1.588-.889l.066-.017 1.076-.43.35-1.924zM12 8c-1.25 0-2.315.505-2.998 1.273C8.319 10.043 8 11.028 8 12s.319 1.958 1.002 2.727C9.685 15.495 10.75 16 12 16c1.25 0 2.315-.505 2.998-1.273C15.681 13.957 16 12.972 16 12s-.319-1.958-1.002-2.727C14.315 8.505 13.25 8 12 8zm0 2c.75 0 1.185.245 1.502.602.317.356.498.87.498 1.398 0 .528-.181 1.042-.498 1.398-.317.357-.752.602-1.502.602s-1.185-.245-1.502-.602C10.181 13.042 10 12.528 10 12c0-.528.181-1.042.498-1.398.317-.357.752-.602 1.502-.602z" }) });
|
|
2502
2534
|
}
|
|
2503
2535
|
|
|
2504
2536
|
// src/components/Icon/icons/sms.tsx
|
|
2505
|
-
var
|
|
2537
|
+
var import_jsx_runtime131 = require("react/jsx-runtime");
|
|
2506
2538
|
function SmsIcon(props) {
|
|
2507
|
-
return /* @__PURE__ */ (0,
|
|
2539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("path", { d: "M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7V9zm8 0h2v2h-2V9zm-4 0h2v2h-2V9z" }) });
|
|
2508
2540
|
}
|
|
2509
2541
|
|
|
2510
2542
|
// src/components/Icon/icons/star.tsx
|
|
2511
|
-
var
|
|
2543
|
+
var import_jsx_runtime132 = require("react/jsx-runtime");
|
|
2512
2544
|
function StarIcon(props) {
|
|
2513
|
-
return /* @__PURE__ */ (0,
|
|
2545
|
+
return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("path", { d: "M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z" }) });
|
|
2514
2546
|
}
|
|
2515
2547
|
|
|
2516
2548
|
// src/components/Icon/icons/starFilled.tsx
|
|
2517
|
-
var
|
|
2549
|
+
var import_jsx_runtime133 = require("react/jsx-runtime");
|
|
2518
2550
|
function StarFilledIcon(props) {
|
|
2519
|
-
return /* @__PURE__ */ (0,
|
|
2551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z" }) });
|
|
2520
2552
|
}
|
|
2521
2553
|
|
|
2522
2554
|
// src/components/Icon/icons/starHalfFilled.tsx
|
|
2523
|
-
var
|
|
2555
|
+
var import_jsx_runtime134 = require("react/jsx-runtime");
|
|
2524
2556
|
function StarHalfFilled(props) {
|
|
2525
|
-
return /* @__PURE__ */ (0,
|
|
2557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("path", { d: "m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z" }) });
|
|
2526
2558
|
}
|
|
2527
2559
|
|
|
2528
2560
|
// src/components/Icon/icons/sync.tsx
|
|
2529
|
-
var
|
|
2561
|
+
var import_jsx_runtime135 = require("react/jsx-runtime");
|
|
2530
2562
|
function SyncIcon(props) {
|
|
2531
|
-
return /* @__PURE__ */ (0,
|
|
2563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("path", { d: "M12 0L8 4l4 4V5c3.859 0 7 3.14 7 7 0 .88-.17 1.72-.469 2.496l1.516 1.514A8.931 8.931 0 0021 12c0-4.962-4.037-9-9-9V0zM3.953 7.99A8.931 8.931 0 003 12c0 4.962 4.037 9 9 9v3l4-4-4-4v3c-3.859 0-7-3.14-7-7 0-.88.17-1.72.469-2.496L3.953 7.99z" }) });
|
|
2532
2564
|
}
|
|
2533
2565
|
|
|
2534
2566
|
// src/components/Icon/icons/thumbdown.tsx
|
|
2535
|
-
var
|
|
2567
|
+
var import_jsx_runtime136 = require("react/jsx-runtime");
|
|
2536
2568
|
function Thumbdown(props) {
|
|
2537
|
-
return /* @__PURE__ */ (0,
|
|
2569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("path", { d: "m10.89 18.28.57-2.89c.12-.59-.04-1.2-.42-1.66-.38-.46-.94-.73-1.54-.73H4v-1.08L6.57 6h8.09c.18 0 .34.16.34.34v7.84l-4.11 4.1M10 22l6.41-6.41c.38-.38.59-.89.59-1.42V6.34C17 5.05 15.95 4 14.66 4h-8.1c-.71 0-1.36.37-1.72.97l-2.67 6.15c-.11.25-.17.52-.17.8V13c0 1.1.9 2 2 2h5.5l-.92 4.65c-.05.22-.02.46.08.66.23.45.52.86.88 1.22L10 22zm10-7h2V4h-2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1z" }) });
|
|
2538
2570
|
}
|
|
2539
2571
|
|
|
2540
2572
|
// src/components/Icon/icons/thumbdownFilled.tsx
|
|
2541
|
-
var
|
|
2573
|
+
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
2542
2574
|
function ThumbdownFilled(props) {
|
|
2543
|
-
return /* @__PURE__ */ (0,
|
|
2575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("path", { d: "M22 4h-2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h2V4zM2.17 11.12c-.11.25-.17.52-.17.8V13c0 1.1.9 2 2 2h5.5l-.92 4.65c-.05.22-.02.46.08.66.23.45.52.86.88 1.22L10 22l6.41-6.41c.38-.38.59-.89.59-1.42V6.34C17 5.05 15.95 4 14.66 4h-8.1c-.71 0-1.36.37-1.72.97l-2.67 6.15z" }) });
|
|
2544
2576
|
}
|
|
2545
2577
|
|
|
2546
2578
|
// src/components/Icon/icons/thumbup.tsx
|
|
2547
|
-
var
|
|
2579
|
+
var import_jsx_runtime138 = require("react/jsx-runtime");
|
|
2548
2580
|
function Thumbup(props) {
|
|
2549
|
-
return /* @__PURE__ */ (0,
|
|
2581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("path", { d: "m13.11 5.72-.57 2.89c-.12.59.04 1.2.42 1.66.38.46.94.73 1.54.73H20v1.08L17.43 18H9.34c-.18 0-.34-.16-.34-.34V9.82l4.11-4.1M14 2 7.59 8.41C7.21 8.79 7 9.3 7 9.83v7.83C7 18.95 8.05 20 9.34 20h8.1c.71 0 1.36-.37 1.72-.97l2.67-6.15c.11-.25.17-.52.17-.8V11c0-1.1-.9-2-2-2h-5.5l.92-4.65c.05-.22.02-.46-.08-.66-.23-.45-.52-.86-.88-1.22L14 2zM4 9H2v11h2c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1z" }) });
|
|
2550
2582
|
}
|
|
2551
2583
|
|
|
2552
2584
|
// src/components/Icon/icons/thumbupFilled.tsx
|
|
2553
|
-
var
|
|
2585
|
+
var import_jsx_runtime139 = require("react/jsx-runtime");
|
|
2554
2586
|
function ThumbupFilled(props) {
|
|
2555
|
-
return /* @__PURE__ */ (0,
|
|
2587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("path", { d: "M2 20h2c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1H2v11zm19.83-7.12c.11-.25.17-.52.17-.8V11c0-1.1-.9-2-2-2h-5.5l.92-4.65c.05-.22.02-.46-.08-.66-.23-.45-.52-.86-.88-1.22L14 2 7.59 8.41C7.21 8.79 7 9.3 7 9.83v7.84C7 18.95 8.05 20 9.34 20h8.11c.7 0 1.36-.37 1.72-.97l2.66-6.15z" }) });
|
|
2556
2588
|
}
|
|
2557
2589
|
|
|
2558
2590
|
// src/components/Icon/icons/time.tsx
|
|
2559
|
-
var
|
|
2591
|
+
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
2560
2592
|
function TimeIcon(props) {
|
|
2561
|
-
return /* @__PURE__ */ (0,
|
|
2593
|
+
return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z" }) });
|
|
2562
2594
|
}
|
|
2563
2595
|
|
|
2564
2596
|
// src/components/Icon/icons/tingrett.tsx
|
|
2565
|
-
var
|
|
2597
|
+
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
2566
2598
|
function TingrettIcon(props) {
|
|
2567
|
-
return /* @__PURE__ */ (0,
|
|
2599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("path", { d: "M12 16.615c4.418 0 8-3.857 8-8.615H4c0 4.758 3.582 8.615 8 8.615z" }) });
|
|
2568
2600
|
}
|
|
2569
2601
|
|
|
2570
2602
|
// src/components/Icon/icons/tip.tsx
|
|
2571
|
-
var
|
|
2603
|
+
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
2572
2604
|
function TipIcon(props) {
|
|
2573
|
-
return /* @__PURE__ */ (0,
|
|
2605
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("path", { d: "M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z" }) });
|
|
2574
2606
|
}
|
|
2575
2607
|
|
|
2576
2608
|
// src/components/Icon/icons/trash.tsx
|
|
2577
|
-
var
|
|
2609
|
+
var import_jsx_runtime143 = require("react/jsx-runtime");
|
|
2578
2610
|
function TrashIcon(props) {
|
|
2579
|
-
return /* @__PURE__ */ (0,
|
|
2611
|
+
return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("path", { d: "M16 9v10H8V9h8zm-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }) });
|
|
2580
2612
|
}
|
|
2581
2613
|
|
|
2582
2614
|
// src/components/Icon/icons/undo.tsx
|
|
2583
|
-
var
|
|
2615
|
+
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
2584
2616
|
function UndoIcon(props) {
|
|
2585
|
-
return /* @__PURE__ */ (0,
|
|
2617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("path", { d: "M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z" }) });
|
|
2586
2618
|
}
|
|
2587
2619
|
|
|
2588
2620
|
// src/components/Icon/icons/unfoldLess.tsx
|
|
2589
|
-
var
|
|
2621
|
+
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
2590
2622
|
function UnfoldLessIcon(props) {
|
|
2591
|
-
return /* @__PURE__ */ (0,
|
|
2623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)("path", { d: "M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z" }) });
|
|
2592
2624
|
}
|
|
2593
2625
|
|
|
2594
2626
|
// src/components/Icon/icons/unfoldMore.tsx
|
|
2595
|
-
var
|
|
2627
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
2596
2628
|
function UnfoldMoreIcon(props) {
|
|
2597
|
-
return /* @__PURE__ */ (0,
|
|
2629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("path", { d: "M11.59 18.17L8.42 15l-1.41 1.41L11.59 21l4.59-4.59L14.76 15l-3.17 3.17zm0-12.34L14.76 9l1.41-1.41L11.59 3 7 7.59 8.42 9l3.17-3.17z" }) });
|
|
2598
2630
|
}
|
|
2599
2631
|
|
|
2600
2632
|
// src/components/Icon/icons/upload.tsx
|
|
2601
|
-
var
|
|
2633
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
2602
2634
|
function UploadIcon(props) {
|
|
2603
|
-
return /* @__PURE__ */ (0,
|
|
2635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)("path", { d: "M9 16h6v-6h4l-7-7-7 7h4v6zm2-2V8H9.828L12 5.828 14.172 8H13v6h-2zm-6 4h14v2H5v-2z" }) });
|
|
2604
2636
|
}
|
|
2605
2637
|
|
|
2606
2638
|
// src/components/Icon/icons/visibilityOff.tsx
|
|
2607
|
-
var
|
|
2639
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
2608
2640
|
function VisibilityOffIcon(props) {
|
|
2609
|
-
return /* @__PURE__ */ (0,
|
|
2641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("path", { d: "M12 6a9.77 9.77 0 018.82 5.5 9.648 9.648 0 01-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.04 7.841 1.766 9.55 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 01-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75a4.6 4.6 0 00-.36 1.78 4.507 4.507 0 006.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 01-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z" }) });
|
|
2610
2642
|
}
|
|
2611
2643
|
|
|
2612
2644
|
// src/components/Icon/icons/visibilityOn.tsx
|
|
2613
|
-
var
|
|
2645
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
2614
2646
|
function VisibilityOnIcon(props) {
|
|
2615
|
-
return /* @__PURE__ */ (0,
|
|
2647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("path", { d: "M12 6a9.77 9.77 0 018.82 5.5A9.77 9.77 0 0112 17a9.77 9.77 0 01-8.82-5.5A9.77 9.77 0 0112 6zm0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5a2.5 2.5 0 110 5 2.5 2.5 0 010-5zm0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z" }) });
|
|
2616
2648
|
}
|
|
2617
2649
|
|
|
2618
2650
|
// src/components/Icon/icons/warning.tsx
|
|
2619
|
-
var
|
|
2651
|
+
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
2620
2652
|
function WarningIcon(props) {
|
|
2621
|
-
return /* @__PURE__ */ (0,
|
|
2622
|
-
/* @__PURE__ */ (0,
|
|
2623
|
-
/* @__PURE__ */ (0,
|
|
2653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(SvgWrapper, { ...props, children: [
|
|
2654
|
+
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM19 14.9L14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1v5.8z" }),
|
|
2655
|
+
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("path", { d: "M12 17a1 1 0 100-2 1 1 0 000 2zM11 7h2v7h-2V7z" })
|
|
2624
2656
|
] });
|
|
2625
2657
|
}
|
|
2626
2658
|
|
|
2627
2659
|
// src/components/Icon/icons/x.tsx
|
|
2628
|
-
var
|
|
2660
|
+
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
2629
2661
|
function XIcon(props) {
|
|
2630
|
-
return /* @__PURE__ */ (0,
|
|
2662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("path", { d: "M17.7508 3H20.8175L14.1175 10.6583L22 21.0775H15.8283L10.995 14.7575L5.46333 21.0775H2.395L9.56167 12.8858L2 3.00083H8.32833L12.6975 8.7775L17.7508 3ZM16.675 19.2425H18.3742L7.405 4.73917H5.58167L16.675 19.2425Z" }) });
|
|
2631
2663
|
}
|
|
2632
2664
|
|
|
2633
2665
|
// src/components/Icon/icons/zoomIn.tsx
|
|
2634
|
-
var
|
|
2666
|
+
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
2635
2667
|
function ZoomInIcon(props) {
|
|
2636
|
-
return /* @__PURE__ */ (0,
|
|
2668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2V7z" }) });
|
|
2637
2669
|
}
|
|
2638
2670
|
|
|
2639
2671
|
// src/components/Icon/icons/zoomOut.tsx
|
|
2640
|
-
var
|
|
2672
|
+
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
2641
2673
|
function ZoomOutIcon(props) {
|
|
2642
|
-
return /* @__PURE__ */ (0,
|
|
2674
|
+
return /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7V9z" }) });
|
|
2643
2675
|
}
|
|
2644
2676
|
|
|
2645
2677
|
// src/components/Icon/icons/barChart.tsx
|
|
2646
|
-
var
|
|
2678
|
+
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
2647
2679
|
function BarChartIcon(props) {
|
|
2648
|
-
return /* @__PURE__ */ (0,
|
|
2680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)("path", { d: "M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z" }) });
|
|
2649
2681
|
}
|
|
2650
2682
|
|
|
2651
2683
|
// src/components/Icon/icons/barChartBoxed.tsx
|
|
2652
|
-
var
|
|
2684
|
+
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
2653
2685
|
function BarChartBoxedIcon(props) {
|
|
2654
|
-
return /* @__PURE__ */ (0,
|
|
2686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7v-7zm4-3h2v10h-2V7zm4 6h2v4h-2v-4z" }) });
|
|
2655
2687
|
}
|
|
2656
2688
|
|
|
2657
2689
|
// src/components/Icon/icons/lineChart.tsx
|
|
2658
|
-
var
|
|
2690
|
+
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
2659
2691
|
function LineChartIcon(props) {
|
|
2660
|
-
return /* @__PURE__ */ (0,
|
|
2692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("path", { d: "M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99l1.5 1.5z" }) });
|
|
2661
2693
|
}
|
|
2662
2694
|
|
|
2663
2695
|
// src/components/Icon/icons/trendingUp.tsx
|
|
2664
|
-
var
|
|
2696
|
+
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
2665
2697
|
function TrendingUpIcon(props) {
|
|
2666
|
-
return /* @__PURE__ */ (0,
|
|
2698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("path", { d: "M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z" }) });
|
|
2667
2699
|
}
|
|
2668
2700
|
|
|
2669
2701
|
// src/components/Icon/icons/trendingDown.tsx
|
|
2670
|
-
var
|
|
2702
|
+
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
2671
2703
|
function TrendingDownIcon(props) {
|
|
2672
|
-
return /* @__PURE__ */ (0,
|
|
2704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("path", { d: "M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6h-6z" }) });
|
|
2673
2705
|
}
|
|
2674
2706
|
|
|
2675
2707
|
// src/components/Icon/icons/libraryAdd.tsx
|
|
2676
|
-
var
|
|
2708
|
+
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
2677
2709
|
function LibraryAddIcon(props) {
|
|
2678
|
-
return /* @__PURE__ */ (0,
|
|
2710
|
+
return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("path", { d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zm-7-2h2v-3h3V9h-3V6h-2v3h-3v2h3v3z" }) });
|
|
2679
2711
|
}
|
|
2680
2712
|
|
|
2681
2713
|
// src/components/Icon/icons/helpSimple.tsx
|
|
2682
|
-
var
|
|
2714
|
+
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
2683
2715
|
function HelpSimpleIcon(props) {
|
|
2684
|
-
return /* @__PURE__ */ (0,
|
|
2716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("path", { d: "M13.25 21H10.75V18.5714H13.25V21ZM15.8375 11.5893L14.7125 12.7064C13.8125 13.5929 13.25 14.3214 13.25 16.1429H10.75V15.5357C10.75 14.2 11.3125 12.9857 12.2125 12.0993L13.7625 10.5693C14.225 10.1321 14.5 9.525 14.5 8.85714C14.5 7.52143 13.375 6.42857 12 6.42857C10.625 6.42857 9.5 7.52143 9.5 8.85714H7C7 6.17357 9.2375 4 12 4C14.7625 4 17 6.17357 17 8.85714C17 9.92571 16.55 10.8971 15.8375 11.5893Z" }) });
|
|
2685
2717
|
}
|
|
2686
2718
|
|
|
2687
2719
|
// src/components/Typography/Typography/Typography.tsx
|
|
@@ -2691,11 +2723,6 @@ var import_styled_components9 = __toESM(require("styled-components"));
|
|
|
2691
2723
|
// src/components/Typography/Typography/Typography.styles.ts
|
|
2692
2724
|
var import_dds_design_tokens15 = require("@norges-domstoler/dds-design-tokens");
|
|
2693
2725
|
var import_styled_components8 = require("styled-components");
|
|
2694
|
-
|
|
2695
|
-
// src/components/Typography/Typography/openExternal.svg
|
|
2696
|
-
var openExternal_default = 'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M19 19H5V5H12V3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C20.1 21 21 20.1 21 19V12H19V19ZM14 3V5H17.59L7.76 14.83L9.17 16.24L19 6.41V10H21V3H14Z" fill="%230B0D0E"/>%0A</svg>%0A';
|
|
2697
|
-
|
|
2698
|
-
// src/components/Typography/Typography/Typography.styles.ts
|
|
2699
2726
|
var { border: border4, colors: colors7 } = import_dds_design_tokens15.ddsBaseTokens;
|
|
2700
2727
|
var focusVisibleLink = {
|
|
2701
2728
|
outline: "none",
|
|
@@ -2750,18 +2777,11 @@ var getAnchorStyling = (external, interactionStyling, typographyType7, withMargi
|
|
|
2750
2777
|
transition: ${focusVisibleLinkTransitionValue};
|
|
2751
2778
|
}
|
|
2752
2779
|
${external && import_styled_components8.css`
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
background-color: currentColor;
|
|
2759
|
-
width: 1em;
|
|
2760
|
-
height: 1em;
|
|
2761
|
-
content: '';
|
|
2762
|
-
position: absolute;
|
|
2763
|
-
margin-top: ${typographyTokens.typographyType.a.icon.marginTop};
|
|
2764
|
-
margin-left: ${typographyTokens.typographyType.a.icon.marginLeft};
|
|
2780
|
+
& > svg {
|
|
2781
|
+
display: inline;
|
|
2782
|
+
margin: 0.1em 0.1em -0.1em;
|
|
2783
|
+
transform: translateY(0.05em);
|
|
2784
|
+
vertical-align: baseline;
|
|
2765
2785
|
}
|
|
2766
2786
|
`}
|
|
2767
2787
|
&:hover {
|
|
@@ -2781,7 +2801,7 @@ var getAnchorStyling = (external, interactionStyling, typographyType7, withMargi
|
|
|
2781
2801
|
`;
|
|
2782
2802
|
|
|
2783
2803
|
// src/components/Typography/Typography/Typography.tsx
|
|
2784
|
-
var
|
|
2804
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
2785
2805
|
var StyledTypography = import_styled_components9.default.p.withConfig({
|
|
2786
2806
|
shouldForwardProp: (prop) => {
|
|
2787
2807
|
const styleOnlyProps = [
|
|
@@ -2861,13 +2881,16 @@ var Typography = (0, import_react2.forwardRef)(
|
|
|
2861
2881
|
target: targetProp,
|
|
2862
2882
|
externalLink: externalLinkProp
|
|
2863
2883
|
};
|
|
2864
|
-
return /* @__PURE__ */ (0,
|
|
2884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(StyledTypography, { ref, ...typographyProps, children: [
|
|
2885
|
+
children,
|
|
2886
|
+
externalLinkProp && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
|
|
2887
|
+
] });
|
|
2865
2888
|
}
|
|
2866
2889
|
);
|
|
2867
2890
|
Typography.displayName = "Typography";
|
|
2868
2891
|
|
|
2869
2892
|
// src/components/InputMessage/InputMessage.tsx
|
|
2870
|
-
var
|
|
2893
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
2871
2894
|
var InputMessageWrapper = import_styled_components10.default.div.withConfig({
|
|
2872
2895
|
shouldForwardProp: (prop) => prop !== "messageType"
|
|
2873
2896
|
})`
|
|
@@ -2894,9 +2917,9 @@ var InputMessage = (0, import_react3.forwardRef)(
|
|
|
2894
2917
|
messageType
|
|
2895
2918
|
};
|
|
2896
2919
|
const isError = messageType === "error";
|
|
2897
|
-
return /* @__PURE__ */ (0,
|
|
2898
|
-
isError && /* @__PURE__ */ (0,
|
|
2899
|
-
/* @__PURE__ */ (0,
|
|
2920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(InputMessageWrapper, { ...wrapperProps, children: [
|
|
2921
|
+
isError && /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { icon: ErrorIcon, iconSize: "inherit" }),
|
|
2922
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
2900
2923
|
Typography,
|
|
2901
2924
|
{
|
|
2902
2925
|
typographyType: isError ? "supportingStyleLabel01" : "supportingStyleHelperText01",
|
|
@@ -2912,9 +2935,9 @@ var InputMessage = (0, import_react3.forwardRef)(
|
|
|
2912
2935
|
InputMessage.displayName = "InputMessage";
|
|
2913
2936
|
|
|
2914
2937
|
// src/utils/renderInputMessage.tsx
|
|
2915
|
-
var
|
|
2916
|
-
var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0,
|
|
2917
|
-
errorMessage && errorMessageId && /* @__PURE__ */ (0,
|
|
2938
|
+
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
2939
|
+
var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_jsx_runtime163.Fragment, { children: [
|
|
2940
|
+
errorMessage && errorMessageId && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
|
|
2918
2941
|
InputMessage,
|
|
2919
2942
|
{
|
|
2920
2943
|
message: errorMessage,
|
|
@@ -2922,7 +2945,7 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
|
|
|
2922
2945
|
id: errorMessageId
|
|
2923
2946
|
}
|
|
2924
2947
|
),
|
|
2925
|
-
tip && tipId && !errorMessage && /* @__PURE__ */ (0,
|
|
2948
|
+
tip && tipId && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(InputMessage, { message: tip, messageType: "tip", id: tipId })
|
|
2926
2949
|
] });
|
|
2927
2950
|
|
|
2928
2951
|
// src/utils/searchFilter.tsx
|
|
@@ -3257,7 +3280,7 @@ var appShellTokens = { navigation, floatingActionButtons };
|
|
|
3257
3280
|
|
|
3258
3281
|
// src/components/AppShell/AppShellContext.tsx
|
|
3259
3282
|
var import_react12 = require("react");
|
|
3260
|
-
var
|
|
3283
|
+
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
3261
3284
|
var AppShellContext = (0, import_react12.createContext)({
|
|
3262
3285
|
isOpen: false,
|
|
3263
3286
|
setOpen: () => null
|
|
@@ -3266,7 +3289,7 @@ var AppShellContextProvider = ({
|
|
|
3266
3289
|
children
|
|
3267
3290
|
}) => {
|
|
3268
3291
|
const [isOpen, setOpen] = (0, import_react12.useState)(false);
|
|
3269
|
-
return /* @__PURE__ */ (0,
|
|
3292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(AppShellContext.Provider, { value: { isOpen, setOpen }, children });
|
|
3270
3293
|
};
|
|
3271
3294
|
var useAppShellContext = () => {
|
|
3272
3295
|
return (0, import_react12.useContext)(AppShellContext);
|
|
@@ -3279,7 +3302,7 @@ var import_styled_components23 = __toESM(require("styled-components"));
|
|
|
3279
3302
|
|
|
3280
3303
|
// src/components/AppShell/Navigation/NavigationItem.tsx
|
|
3281
3304
|
var import_styled_components11 = __toESM(require("styled-components"));
|
|
3282
|
-
var
|
|
3305
|
+
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
3283
3306
|
var { navigation: navTokens } = appShellTokens;
|
|
3284
3307
|
var navItemTokens = navTokens.navigationItems.item;
|
|
3285
3308
|
var IconContainer = import_styled_components11.default.div`
|
|
@@ -3357,12 +3380,12 @@ var NavigationItem = ({
|
|
|
3357
3380
|
setOpen(false);
|
|
3358
3381
|
};
|
|
3359
3382
|
if (external) {
|
|
3360
|
-
return /* @__PURE__ */ (0,
|
|
3383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(ExternalNavItem, { as: Comp, ...rest, onClick, children: [
|
|
3361
3384
|
children,
|
|
3362
|
-
/* @__PURE__ */ (0,
|
|
3385
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
|
|
3363
3386
|
] });
|
|
3364
3387
|
}
|
|
3365
|
-
return /* @__PURE__ */ (0,
|
|
3388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(
|
|
3366
3389
|
InternalNavItem,
|
|
3367
3390
|
{
|
|
3368
3391
|
as: Comp,
|
|
@@ -3370,9 +3393,9 @@ var NavigationItem = ({
|
|
|
3370
3393
|
onClick,
|
|
3371
3394
|
className: [active ? "active" : "", rest.className].join(" "),
|
|
3372
3395
|
children: [
|
|
3373
|
-
/* @__PURE__ */ (0,
|
|
3374
|
-
/* @__PURE__ */ (0,
|
|
3375
|
-
/* @__PURE__ */ (0,
|
|
3396
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(IconContainer, { children: icon11 && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Icon, { icon: icon11 }) }),
|
|
3397
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(TextContainer, { children }),
|
|
3398
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(ChevronContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Icon, { icon: ChevronRightIcon }) })
|
|
3376
3399
|
]
|
|
3377
3400
|
}
|
|
3378
3401
|
);
|
|
@@ -3405,18 +3428,18 @@ var import_development_utils = require("@norges-domstoler/development-utils");
|
|
|
3405
3428
|
var import_styled_components22 = __toESM(require("styled-components"));
|
|
3406
3429
|
|
|
3407
3430
|
// src/components/AppShell/Navigation/EmbeteIcon.tsx
|
|
3408
|
-
var
|
|
3431
|
+
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
3409
3432
|
var EmbeteIcon = ({ type, ...rest }) => {
|
|
3410
3433
|
switch (type) {
|
|
3411
3434
|
case "jordskifterett":
|
|
3412
|
-
return /* @__PURE__ */ (0,
|
|
3435
|
+
return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(JordskifterettIcon, { ...rest });
|
|
3413
3436
|
case "tingrett":
|
|
3414
|
-
return /* @__PURE__ */ (0,
|
|
3437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(TingrettIcon, { ...rest });
|
|
3415
3438
|
case "lagmannsrett":
|
|
3416
|
-
return /* @__PURE__ */ (0,
|
|
3439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(LagmannsrettIcon, { ...rest });
|
|
3417
3440
|
case "h\xF8yesterett":
|
|
3418
3441
|
case void 0:
|
|
3419
|
-
return /* @__PURE__ */ (0,
|
|
3442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PersonIcon, { ...rest });
|
|
3420
3443
|
}
|
|
3421
3444
|
};
|
|
3422
3445
|
|
|
@@ -3782,11 +3805,11 @@ var TextOverflowEllipsisInner = import_styled_components13.default.span`
|
|
|
3782
3805
|
`;
|
|
3783
3806
|
|
|
3784
3807
|
// src/components/Typography/Caption/Caption.tsx
|
|
3785
|
-
var
|
|
3808
|
+
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
3786
3809
|
var Caption = (0, import_react13.forwardRef)(
|
|
3787
3810
|
(props, ref) => {
|
|
3788
3811
|
const { id, className, htmlProps, children, ...rest } = props;
|
|
3789
|
-
return /* @__PURE__ */ (0,
|
|
3812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
|
|
3790
3813
|
Typography,
|
|
3791
3814
|
{
|
|
3792
3815
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -3802,7 +3825,7 @@ Caption.displayName = "Caption";
|
|
|
3802
3825
|
|
|
3803
3826
|
// src/components/Typography/Heading/Heading.tsx
|
|
3804
3827
|
var import_react14 = require("react");
|
|
3805
|
-
var
|
|
3828
|
+
var import_jsx_runtime168 = require("react/jsx-runtime");
|
|
3806
3829
|
var getHeadingElement = (level) => `h${level}`;
|
|
3807
3830
|
var getDefaultTypographyType = (h) => {
|
|
3808
3831
|
switch (h) {
|
|
@@ -3859,17 +3882,17 @@ var Heading = (0, import_react14.forwardRef)(
|
|
|
3859
3882
|
as: headingElement,
|
|
3860
3883
|
ref
|
|
3861
3884
|
};
|
|
3862
|
-
return /* @__PURE__ */ (0,
|
|
3885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(Typography, { ...headingProps, children });
|
|
3863
3886
|
}
|
|
3864
3887
|
);
|
|
3865
3888
|
Heading.displayName = "Heading";
|
|
3866
3889
|
|
|
3867
3890
|
// src/components/Typography/Label/Label.tsx
|
|
3868
3891
|
var import_react15 = require("react");
|
|
3869
|
-
var
|
|
3892
|
+
var import_jsx_runtime169 = require("react/jsx-runtime");
|
|
3870
3893
|
var Label = (0, import_react15.forwardRef)((props, ref) => {
|
|
3871
3894
|
const { showRequiredStyling, id, className, htmlProps, children, ...rest } = props;
|
|
3872
|
-
return /* @__PURE__ */ (0,
|
|
3895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(
|
|
3873
3896
|
Typography,
|
|
3874
3897
|
{
|
|
3875
3898
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -3878,7 +3901,7 @@ var Label = (0, import_react15.forwardRef)((props, ref) => {
|
|
|
3878
3901
|
children: [
|
|
3879
3902
|
children,
|
|
3880
3903
|
" ",
|
|
3881
|
-
showRequiredStyling && /* @__PURE__ */ (0,
|
|
3904
|
+
showRequiredStyling && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(RequiredMarker, {})
|
|
3882
3905
|
]
|
|
3883
3906
|
}
|
|
3884
3907
|
);
|
|
@@ -3887,11 +3910,11 @@ Label.displayName = "Label";
|
|
|
3887
3910
|
|
|
3888
3911
|
// src/components/Typography/Legend/Legend.tsx
|
|
3889
3912
|
var import_react16 = require("react");
|
|
3890
|
-
var
|
|
3913
|
+
var import_jsx_runtime170 = require("react/jsx-runtime");
|
|
3891
3914
|
var Legend = (0, import_react16.forwardRef)(
|
|
3892
3915
|
(props, ref) => {
|
|
3893
3916
|
const { id, className, htmlProps, children, ...rest } = props;
|
|
3894
|
-
return /* @__PURE__ */ (0,
|
|
3917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
|
|
3895
3918
|
Typography,
|
|
3896
3919
|
{
|
|
3897
3920
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -3908,7 +3931,7 @@ Legend.displayName = "Legend";
|
|
|
3908
3931
|
// src/components/Typography/Link/Link.tsx
|
|
3909
3932
|
var import_react17 = require("react");
|
|
3910
3933
|
var import_styled_components14 = __toESM(require("styled-components"));
|
|
3911
|
-
var
|
|
3934
|
+
var import_jsx_runtime171 = require("react/jsx-runtime");
|
|
3912
3935
|
var StyledLink = import_styled_components14.default.a`
|
|
3913
3936
|
${({ $external, $typographyType, $withMargins }) => getAnchorStyling($external, void 0, $typographyType, $withMargins)}
|
|
3914
3937
|
`;
|
|
@@ -3923,7 +3946,7 @@ var Link = (0, import_react17.forwardRef)((props, ref) => {
|
|
|
3923
3946
|
target,
|
|
3924
3947
|
...rest
|
|
3925
3948
|
} = props;
|
|
3926
|
-
return /* @__PURE__ */ (0,
|
|
3949
|
+
return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(
|
|
3927
3950
|
StyledLink,
|
|
3928
3951
|
{
|
|
3929
3952
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -3933,7 +3956,10 @@ var Link = (0, import_react17.forwardRef)((props, ref) => {
|
|
|
3933
3956
|
ref,
|
|
3934
3957
|
rel: "noopener noreferer",
|
|
3935
3958
|
target: external ? "_blank" : target,
|
|
3936
|
-
children
|
|
3959
|
+
children: [
|
|
3960
|
+
children,
|
|
3961
|
+
external && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { iconSize: "inherit", icon: OpenExternalIcon })
|
|
3962
|
+
]
|
|
3937
3963
|
}
|
|
3938
3964
|
);
|
|
3939
3965
|
});
|
|
@@ -3941,7 +3967,7 @@ Link.displayName = "Link";
|
|
|
3941
3967
|
|
|
3942
3968
|
// src/components/Typography/Paragraph/Paragraph.tsx
|
|
3943
3969
|
var import_react18 = require("react");
|
|
3944
|
-
var
|
|
3970
|
+
var import_jsx_runtime172 = require("react/jsx-runtime");
|
|
3945
3971
|
var Paragraph = (0, import_react18.forwardRef)(
|
|
3946
3972
|
(props, ref) => {
|
|
3947
3973
|
const {
|
|
@@ -3957,7 +3983,7 @@ var Paragraph = (0, import_react18.forwardRef)(
|
|
|
3957
3983
|
typographyType: typographyType7,
|
|
3958
3984
|
ref
|
|
3959
3985
|
};
|
|
3960
|
-
return /* @__PURE__ */ (0,
|
|
3986
|
+
return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(Typography, { ...paragraphProps, children });
|
|
3961
3987
|
}
|
|
3962
3988
|
);
|
|
3963
3989
|
Paragraph.displayName = "Paragraph";
|
|
@@ -4134,7 +4160,7 @@ var Label2 = import_styled_components15.default.span.withConfig({
|
|
|
4134
4160
|
var import_dds_design_tokens19 = require("@norges-domstoler/dds-design-tokens");
|
|
4135
4161
|
var import_react19 = require("react");
|
|
4136
4162
|
var import_styled_components16 = __toESM(require("styled-components"));
|
|
4137
|
-
var
|
|
4163
|
+
var import_jsx_runtime173 = require("react/jsx-runtime");
|
|
4138
4164
|
var StyledSpinner = import_styled_components16.default.svg`
|
|
4139
4165
|
display: block;
|
|
4140
4166
|
width: ${({ $size }) => $size};
|
|
@@ -4197,7 +4223,7 @@ function Spinner(props) {
|
|
|
4197
4223
|
$outerAnimationDelay: outerAnimationDelay,
|
|
4198
4224
|
$size: size2
|
|
4199
4225
|
};
|
|
4200
|
-
return /* @__PURE__ */ (0,
|
|
4226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
4201
4227
|
StyledSpinner,
|
|
4202
4228
|
{
|
|
4203
4229
|
viewBox: "0 0 50 50",
|
|
@@ -4205,8 +4231,8 @@ function Spinner(props) {
|
|
|
4205
4231
|
"aria-labelledby": uniqueId,
|
|
4206
4232
|
...spinnerProps,
|
|
4207
4233
|
children: [
|
|
4208
|
-
tooltip && /* @__PURE__ */ (0,
|
|
4209
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
tooltip && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("title", { id: uniqueId, children: tooltip }),
|
|
4235
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
4210
4236
|
Circle,
|
|
4211
4237
|
{
|
|
4212
4238
|
$innerAnimationDelay: innerAnimationDelay,
|
|
@@ -4225,7 +4251,7 @@ function Spinner(props) {
|
|
|
4225
4251
|
Spinner.displayName = "Spinner";
|
|
4226
4252
|
|
|
4227
4253
|
// src/components/Button/Button.tsx
|
|
4228
|
-
var
|
|
4254
|
+
var import_jsx_runtime174 = require("react/jsx-runtime");
|
|
4229
4255
|
var {
|
|
4230
4256
|
button: { sizes: sizes3, appearances: appearances3 }
|
|
4231
4257
|
} = buttonTokens;
|
|
@@ -4279,28 +4305,28 @@ var Button = (0, import_react20.forwardRef)(
|
|
|
4279
4305
|
onBlur
|
|
4280
4306
|
};
|
|
4281
4307
|
const isIconButton = !hasLabel && hasIcon;
|
|
4282
|
-
const iconElement = icon11 && /* @__PURE__ */ (0,
|
|
4308
|
+
const iconElement = icon11 && /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
|
|
4283
4309
|
StyledIconWrapperSpan,
|
|
4284
4310
|
{
|
|
4285
4311
|
size: size2,
|
|
4286
4312
|
isHidden: hasIcon && loading,
|
|
4287
4313
|
justIcon: isIconButton,
|
|
4288
|
-
children: /* @__PURE__ */ (0,
|
|
4314
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Icon, { icon: icon11, iconSize: "inherit" })
|
|
4289
4315
|
}
|
|
4290
4316
|
);
|
|
4291
|
-
return /* @__PURE__ */ (0,
|
|
4292
|
-
!isIconButton && /* @__PURE__ */ (0,
|
|
4317
|
+
return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)(ButtonWrapper, { ...wrapperProps, "aria-disabled": loading, children: [
|
|
4318
|
+
!isIconButton && /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)(import_jsx_runtime174.Fragment, { children: [
|
|
4293
4319
|
iconPosition === "left" && iconElement,
|
|
4294
|
-
/* @__PURE__ */ (0,
|
|
4320
|
+
/* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Label2, { isHidden: loading, "aria-hidden": loading, children: children != null ? children : label3 }),
|
|
4295
4321
|
iconPosition === "right" && iconElement
|
|
4296
4322
|
] }),
|
|
4297
4323
|
isIconButton && iconElement,
|
|
4298
|
-
loading && /* @__PURE__ */ (0,
|
|
4324
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
|
|
4299
4325
|
StyledIconWrapperSpan,
|
|
4300
4326
|
{
|
|
4301
4327
|
size: size2,
|
|
4302
4328
|
absolutePosition: hasIcon || hasLabel,
|
|
4303
|
-
children: /* @__PURE__ */ (0,
|
|
4329
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
|
|
4304
4330
|
Spinner,
|
|
4305
4331
|
{
|
|
4306
4332
|
color: appearances3[appearance].purpose[purpose].base.color,
|
|
@@ -4367,7 +4393,7 @@ var overflowMenuTokens = {
|
|
|
4367
4393
|
// src/components/OverflowMenu/OverflowMenuItem.tsx
|
|
4368
4394
|
var import_react21 = require("react");
|
|
4369
4395
|
var import_styled_components17 = __toESM(require("styled-components"));
|
|
4370
|
-
var
|
|
4396
|
+
var import_jsx_runtime175 = require("react/jsx-runtime");
|
|
4371
4397
|
var { element: element2, link: link2 } = overflowMenuTokens;
|
|
4372
4398
|
var elementBaseCSS = import_styled_components17.css`
|
|
4373
4399
|
display: flex;
|
|
@@ -4434,15 +4460,15 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
|
|
|
4434
4460
|
role: "menuitem",
|
|
4435
4461
|
tabIndex: focus ? 0 : -1
|
|
4436
4462
|
};
|
|
4437
|
-
const iconElement = icon11 && /* @__PURE__ */ (0,
|
|
4463
|
+
const iconElement = icon11 && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Icon, { iconSize: "inherit", icon: icon11 });
|
|
4438
4464
|
if (!href && !onClick) {
|
|
4439
|
-
return /* @__PURE__ */ (0,
|
|
4440
|
-
/* @__PURE__ */ (0,
|
|
4465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(Span, { ...{ ...getBaseHTMLProps(id, className, htmlProps, rest), ref }, children: [
|
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)(IconWrapper, { children: iconElement }),
|
|
4441
4467
|
title3
|
|
4442
4468
|
] });
|
|
4443
4469
|
}
|
|
4444
4470
|
if (!href) {
|
|
4445
|
-
return /* @__PURE__ */ (0,
|
|
4471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(
|
|
4446
4472
|
Link2,
|
|
4447
4473
|
{
|
|
4448
4474
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -4450,13 +4476,13 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
|
|
|
4450
4476
|
as: "button",
|
|
4451
4477
|
ref: combinedRef,
|
|
4452
4478
|
children: [
|
|
4453
|
-
/* @__PURE__ */ (0,
|
|
4479
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)(IconWrapper, { children: iconElement }),
|
|
4454
4480
|
title3
|
|
4455
4481
|
]
|
|
4456
4482
|
}
|
|
4457
4483
|
);
|
|
4458
4484
|
}
|
|
4459
|
-
return /* @__PURE__ */ (0,
|
|
4485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(
|
|
4460
4486
|
Link2,
|
|
4461
4487
|
{
|
|
4462
4488
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -4464,7 +4490,7 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
|
|
|
4464
4490
|
as: "a",
|
|
4465
4491
|
ref: combinedRef,
|
|
4466
4492
|
children: [
|
|
4467
|
-
/* @__PURE__ */ (0,
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)(IconWrapper, { children: iconElement }),
|
|
4468
4494
|
title3
|
|
4469
4495
|
]
|
|
4470
4496
|
}
|
|
@@ -4497,7 +4523,7 @@ var dividerTokens = {
|
|
|
4497
4523
|
};
|
|
4498
4524
|
|
|
4499
4525
|
// src/components/Divider/Divider.tsx
|
|
4500
|
-
var
|
|
4526
|
+
var import_jsx_runtime176 = require("react/jsx-runtime");
|
|
4501
4527
|
var StyledDivider = import_styled_components18.default.hr`
|
|
4502
4528
|
border: 0;
|
|
4503
4529
|
background-color: transparent;
|
|
@@ -4514,7 +4540,7 @@ var Divider = (0, import_react22.forwardRef)((props, ref) => {
|
|
|
4514
4540
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
4515
4541
|
color
|
|
4516
4542
|
};
|
|
4517
|
-
return /* @__PURE__ */ (0,
|
|
4543
|
+
return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(StyledDivider, { ref, ...lineProps });
|
|
4518
4544
|
});
|
|
4519
4545
|
Divider.displayName = "Divider";
|
|
4520
4546
|
|
|
@@ -4557,7 +4583,7 @@ var scrollbarTokens = {
|
|
|
4557
4583
|
};
|
|
4558
4584
|
|
|
4559
4585
|
// src/components/ScrollableContainer/Scrollbar.tsx
|
|
4560
|
-
var
|
|
4586
|
+
var import_jsx_runtime177 = require("react/jsx-runtime");
|
|
4561
4587
|
var { track: track2, thumb: thumb2, minThumbHeightPx } = scrollbarTokens;
|
|
4562
4588
|
var ScrollbarOuterWrapper = import_styled_components19.default.div``;
|
|
4563
4589
|
var ScrollbarElements = import_styled_components19.default.div`
|
|
@@ -4693,13 +4719,13 @@ var Scrollbar = (props) => {
|
|
|
4693
4719
|
document.removeEventListener("mouseleave", handleThumbMouseup);
|
|
4694
4720
|
};
|
|
4695
4721
|
}, [handleThumbMousemove, handleThumbMouseup]);
|
|
4696
|
-
return isScrollable ? /* @__PURE__ */ (0,
|
|
4722
|
+
return isScrollable ? /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
|
|
4697
4723
|
ScrollbarOuterWrapper,
|
|
4698
4724
|
{
|
|
4699
4725
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
4700
|
-
children: /* @__PURE__ */ (0,
|
|
4701
|
-
/* @__PURE__ */ (0,
|
|
4702
|
-
/* @__PURE__ */ (0,
|
|
4726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(ScrollbarElements, { children: [
|
|
4727
|
+
/* @__PURE__ */ (0, import_jsx_runtime177.jsx)(Track, { ref: trackRef, onClick: handleTrackClick }),
|
|
4728
|
+
/* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
|
|
4703
4729
|
Thumb,
|
|
4704
4730
|
{
|
|
4705
4731
|
style: {
|
|
@@ -4719,7 +4745,7 @@ Scrollbar.displayName = "Scrollbar";
|
|
|
4719
4745
|
// src/components/ScrollableContainer/ScrollableContainer.tsx
|
|
4720
4746
|
var import_react24 = require("react");
|
|
4721
4747
|
var import_styled_components20 = __toESM(require("styled-components"));
|
|
4722
|
-
var
|
|
4748
|
+
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
4723
4749
|
var { track: track3, content: content2, outerContainer: outerContainer2 } = scrollbarTokens;
|
|
4724
4750
|
var StyledScrollableContainer = import_styled_components20.default.div`
|
|
4725
4751
|
grid-template: auto / 1fr ${track3.width};
|
|
@@ -4755,13 +4781,13 @@ var ScrollableContainer = (props) => {
|
|
|
4755
4781
|
...rest
|
|
4756
4782
|
} = props;
|
|
4757
4783
|
const ref = (0, import_react24.useRef)(null);
|
|
4758
|
-
return /* @__PURE__ */ (0,
|
|
4784
|
+
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
|
|
4759
4785
|
StyledScrollableContainer,
|
|
4760
4786
|
{
|
|
4761
4787
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
4762
4788
|
children: [
|
|
4763
|
-
/* @__PURE__ */ (0,
|
|
4764
|
-
/* @__PURE__ */ (0,
|
|
4789
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Content, { $height: contentHeight, ref, tabIndex: 0, children }),
|
|
4790
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Scrollbar, { contentRef: ref })
|
|
4765
4791
|
]
|
|
4766
4792
|
}
|
|
4767
4793
|
);
|
|
@@ -4800,7 +4826,7 @@ var scrollbarStyling = {
|
|
|
4800
4826
|
};
|
|
4801
4827
|
|
|
4802
4828
|
// src/components/OverflowMenu/OverflowMenu.tsx
|
|
4803
|
-
var
|
|
4829
|
+
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
4804
4830
|
var { container: container2, divider: divider3 } = overflowMenuTokens;
|
|
4805
4831
|
var Container = import_styled_components21.default.div`
|
|
4806
4832
|
box-sizing: border-box;
|
|
@@ -4891,7 +4917,7 @@ var OverflowMenu = (0, import_react25.forwardRef)(
|
|
|
4891
4917
|
hasContextItems && interactiveItems.push(...items);
|
|
4892
4918
|
const hasInteractiveItems = interactiveItems.length > 0;
|
|
4893
4919
|
const [focus] = useRoveFocus(interactiveItems == null ? void 0 : interactiveItems.length, isOpen);
|
|
4894
|
-
const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0,
|
|
4920
|
+
const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
|
|
4895
4921
|
OverflowMenuItem,
|
|
4896
4922
|
{
|
|
4897
4923
|
index,
|
|
@@ -4911,14 +4937,14 @@ var OverflowMenu = (0, import_react25.forwardRef)(
|
|
|
4911
4937
|
const navItemsFirstPos = hasNavItems ? userPropsPos + 1 : -1;
|
|
4912
4938
|
const navItemsLastPos = hasNavItems ? userPropsPos + navItems.length : -1;
|
|
4913
4939
|
const contextItemsFirstPos = !hasContextItems ? -1 : hasNavItems ? navItemsLastPos + 1 : userPropsPos + 1;
|
|
4914
|
-
return /* @__PURE__ */ (0,
|
|
4915
|
-
hasInteractiveUser && /* @__PURE__ */ (0,
|
|
4916
|
-
hasNavItems && /* @__PURE__ */ (0,
|
|
4940
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [
|
|
4941
|
+
hasInteractiveUser && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
|
|
4942
|
+
hasNavItems && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
|
|
4917
4943
|
navItemsFirstPos,
|
|
4918
4944
|
navItemsLastPos + 1
|
|
4919
4945
|
) }) }),
|
|
4920
|
-
hasNavItems && hasContextItems && /* @__PURE__ */ (0,
|
|
4921
|
-
hasContextItems && /* @__PURE__ */ (0,
|
|
4946
|
+
hasNavItems && hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(StyledDivider2, { color: "primaryLighter" }),
|
|
4947
|
+
hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(OverflowMenuList, { "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
|
|
4922
4948
|
contextItemsFirstPos,
|
|
4923
4949
|
interactiveItemsList.length
|
|
4924
4950
|
) })
|
|
@@ -4936,8 +4962,8 @@ var OverflowMenu = (0, import_react25.forwardRef)(
|
|
|
4936
4962
|
"aria-hidden": !isOpen,
|
|
4937
4963
|
role: "menu"
|
|
4938
4964
|
};
|
|
4939
|
-
return /* @__PURE__ */ (0,
|
|
4940
|
-
hasStaticUser && /* @__PURE__ */ (0,
|
|
4965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(Container, { ...containerProps, "aria-label": "bruk piltaster for \xE5 navigere", children: [
|
|
4966
|
+
hasStaticUser && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(OverflowMenuItem, { title: username, icon: PersonIcon }),
|
|
4941
4967
|
interactiveContent()
|
|
4942
4968
|
] });
|
|
4943
4969
|
}
|
|
@@ -4946,7 +4972,7 @@ OverflowMenu.displayName = "OverflowMenu";
|
|
|
4946
4972
|
|
|
4947
4973
|
// src/components/OverflowMenu/OverflowMenuGroup.tsx
|
|
4948
4974
|
var import_react26 = require("react");
|
|
4949
|
-
var
|
|
4975
|
+
var import_jsx_runtime180 = require("react/jsx-runtime");
|
|
4950
4976
|
var OverflowMenuGroup = ({
|
|
4951
4977
|
children,
|
|
4952
4978
|
onClose,
|
|
@@ -4985,12 +5011,12 @@ var OverflowMenuGroup = ({
|
|
|
4985
5011
|
anchorRef: buttonRef
|
|
4986
5012
|
}));
|
|
4987
5013
|
});
|
|
4988
|
-
return /* @__PURE__ */ (0,
|
|
5014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(import_jsx_runtime180.Fragment, { children: Children9 });
|
|
4989
5015
|
};
|
|
4990
5016
|
OverflowMenuGroup.displayName = "OverflowMenuGroup";
|
|
4991
5017
|
|
|
4992
5018
|
// src/components/AppShell/Navigation/TopBar.tsx
|
|
4993
|
-
var
|
|
5019
|
+
var import_jsx_runtime181 = require("react/jsx-runtime");
|
|
4994
5020
|
var { navigation: navTokens3, floatingActionButtons: floatingActionButtons2 } = appShellTokens;
|
|
4995
5021
|
var LogoBurgerGroup = import_styled_components22.default.div`
|
|
4996
5022
|
display: flex;
|
|
@@ -5086,33 +5112,33 @@ var TopBar = ({
|
|
|
5086
5112
|
environmentBannerActive,
|
|
5087
5113
|
title: title3
|
|
5088
5114
|
}) => {
|
|
5089
|
-
const Icon2 = (props) => /* @__PURE__ */ (0,
|
|
5090
|
-
return /* @__PURE__ */ (0,
|
|
5091
|
-
/* @__PURE__ */ (0,
|
|
5092
|
-
/* @__PURE__ */ (0,
|
|
5115
|
+
const Icon2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(EmbeteIcon, { ...props, type: user.embete.type });
|
|
5116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(Bar, { environmentBannerActive, children: [
|
|
5117
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(LogoBurgerGroup, { children: [
|
|
5118
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
|
|
5093
5119
|
IconButton,
|
|
5094
5120
|
{
|
|
5095
5121
|
icon: isNavigationOpen ? CloseIcon : MenuIcon,
|
|
5096
5122
|
onClick: () => onNavigationOpenChange(!isNavigationOpen)
|
|
5097
5123
|
}
|
|
5098
5124
|
),
|
|
5099
|
-
/* @__PURE__ */ (0,
|
|
5125
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(NavigationLogo, { small: true, children: title3 })
|
|
5100
5126
|
] }),
|
|
5101
|
-
/* @__PURE__ */ (0,
|
|
5102
|
-
/* @__PURE__ */ (0,
|
|
5127
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ActionButtonGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(OverflowMenuGroup, { children: [
|
|
5128
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
|
|
5103
5129
|
IconButton,
|
|
5104
5130
|
{
|
|
5105
5131
|
icon: Icon2,
|
|
5106
|
-
label: /* @__PURE__ */ (0,
|
|
5132
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(IconButtonText, { children: user.name })
|
|
5107
5133
|
}
|
|
5108
5134
|
),
|
|
5109
|
-
/* @__PURE__ */ (0,
|
|
5135
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(OverflowMenu, { items: userMenuItems })
|
|
5110
5136
|
] }) })
|
|
5111
5137
|
] });
|
|
5112
5138
|
};
|
|
5113
5139
|
|
|
5114
5140
|
// src/components/AppShell/Navigation/Navigation.tsx
|
|
5115
|
-
var
|
|
5141
|
+
var import_jsx_runtime182 = require("react/jsx-runtime");
|
|
5116
5142
|
var { navigation: navTokens4 } = appShellTokens;
|
|
5117
5143
|
var Sidebar = import_styled_components23.default.div.withConfig({
|
|
5118
5144
|
shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "environmentBannerActive"
|
|
@@ -5198,8 +5224,8 @@ var Navigation = ({
|
|
|
5198
5224
|
window.addEventListener("keypress", listener);
|
|
5199
5225
|
return () => window.removeEventListener("keypress", listener);
|
|
5200
5226
|
});
|
|
5201
|
-
return /* @__PURE__ */ (0,
|
|
5202
|
-
/* @__PURE__ */ (0,
|
|
5227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { children: [
|
|
5228
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(
|
|
5203
5229
|
TopBar,
|
|
5204
5230
|
{
|
|
5205
5231
|
user,
|
|
@@ -5210,20 +5236,20 @@ var Navigation = ({
|
|
|
5210
5236
|
title: title3
|
|
5211
5237
|
}
|
|
5212
5238
|
),
|
|
5213
|
-
/* @__PURE__ */ (0,
|
|
5239
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
5214
5240
|
Sidebar,
|
|
5215
5241
|
{
|
|
5216
5242
|
isOpen,
|
|
5217
5243
|
environmentBannerActive,
|
|
5218
5244
|
children: [
|
|
5219
|
-
/* @__PURE__ */ (0,
|
|
5220
|
-
/* @__PURE__ */ (0,
|
|
5221
|
-
version !== "" && /* @__PURE__ */ (0,
|
|
5245
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(LogoAndVersionContainer, { children: [
|
|
5246
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(NavigationLogo, { children: title3 }),
|
|
5247
|
+
version !== "" && /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(Version, { children: [
|
|
5222
5248
|
"v ",
|
|
5223
5249
|
version
|
|
5224
5250
|
] })
|
|
5225
5251
|
] }),
|
|
5226
|
-
/* @__PURE__ */ (0,
|
|
5252
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(NavigationItems, { children: [
|
|
5227
5253
|
import_react27.Children.map(internal, (item) => {
|
|
5228
5254
|
if (item.type !== NavigationItem) {
|
|
5229
5255
|
console.warn(
|
|
@@ -5233,7 +5259,7 @@ var Navigation = ({
|
|
|
5233
5259
|
}
|
|
5234
5260
|
return item;
|
|
5235
5261
|
}),
|
|
5236
|
-
external.length > 0 && /* @__PURE__ */ (0,
|
|
5262
|
+
external.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DividerWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(StyledDivider3, {}) }),
|
|
5237
5263
|
import_react27.Children.map(external, (item) => {
|
|
5238
5264
|
if (item.type !== NavigationItem) {
|
|
5239
5265
|
console.warn(
|
|
@@ -5251,7 +5277,7 @@ var Navigation = ({
|
|
|
5251
5277
|
};
|
|
5252
5278
|
|
|
5253
5279
|
// src/components/AppShell/AppShell.tsx
|
|
5254
|
-
var
|
|
5280
|
+
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
5255
5281
|
var AppShellContainer = import_styled_components24.default.div`
|
|
5256
5282
|
display: flex;
|
|
5257
5283
|
flex-direction: column;
|
|
@@ -5283,9 +5309,9 @@ var AppShell = ({
|
|
|
5283
5309
|
title: title3 = "Lovisa"
|
|
5284
5310
|
}) => {
|
|
5285
5311
|
const environmentBannerActive = environment !== "PROD";
|
|
5286
|
-
return /* @__PURE__ */ (0,
|
|
5287
|
-
/* @__PURE__ */ (0,
|
|
5288
|
-
/* @__PURE__ */ (0,
|
|
5312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(AppShellContextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(AppShellContainer, { children: [
|
|
5313
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(import_development_utils3.EnvironmentBanner, { environment }),
|
|
5314
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
|
|
5289
5315
|
Navigation,
|
|
5290
5316
|
{
|
|
5291
5317
|
user,
|
|
@@ -5297,7 +5323,7 @@ var AppShell = ({
|
|
|
5297
5323
|
title: title3
|
|
5298
5324
|
}
|
|
5299
5325
|
),
|
|
5300
|
-
/* @__PURE__ */ (0,
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(MainContent, { environmentBannerActive, children })
|
|
5301
5327
|
] }) });
|
|
5302
5328
|
};
|
|
5303
5329
|
AppShell.displayName = "AppShell";
|
|
@@ -5321,15 +5347,15 @@ var backLinkTokens = {
|
|
|
5321
5347
|
};
|
|
5322
5348
|
|
|
5323
5349
|
// src/components/BackLink/BackLink.tsx
|
|
5324
|
-
var
|
|
5350
|
+
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
5325
5351
|
var StyledLink2 = (0, import_styled_components25.default)(Link)`
|
|
5326
5352
|
align-items: center;
|
|
5327
5353
|
display: flex;
|
|
5328
5354
|
gap: ${backLinkTokens.link.gap};
|
|
5329
5355
|
`;
|
|
5330
5356
|
var BackLink = (0, import_react28.forwardRef)((props, ref) => {
|
|
5331
|
-
return /* @__PURE__ */ (0,
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)(StyledLink2, { href: props.href, children: [
|
|
5358
|
+
/* @__PURE__ */ (0, import_jsx_runtime184.jsx)(Icon, { icon: ArrowLeftIcon, iconSize: "small" }),
|
|
5333
5359
|
props.label
|
|
5334
5360
|
] }) });
|
|
5335
5361
|
});
|
|
@@ -5337,7 +5363,7 @@ BackLink.displayName = "BackLink";
|
|
|
5337
5363
|
|
|
5338
5364
|
// src/components/Breadcrumbs/Breadcrumb.tsx
|
|
5339
5365
|
var import_react29 = require("react");
|
|
5340
|
-
var
|
|
5366
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
5341
5367
|
var isAnchorTypographyProps = (props) => {
|
|
5342
5368
|
return props.href != void 0;
|
|
5343
5369
|
};
|
|
@@ -5345,9 +5371,9 @@ var Breadcrumb = (0, import_react29.forwardRef)(
|
|
|
5345
5371
|
(props, ref) => {
|
|
5346
5372
|
const { children, ...rest } = props;
|
|
5347
5373
|
if (isAnchorTypographyProps(props)) {
|
|
5348
|
-
return /* @__PURE__ */ (0,
|
|
5374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(Typography, { htmlProps: rest, ref, typographyType: "a", children });
|
|
5349
5375
|
}
|
|
5350
|
-
return /* @__PURE__ */ (0,
|
|
5376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(Typography, { htmlProps: rest, ref, as: "span", color: "interactive", children });
|
|
5351
5377
|
}
|
|
5352
5378
|
);
|
|
5353
5379
|
Breadcrumb.displayName = "Breadcrumb";
|
|
@@ -5379,7 +5405,7 @@ var breadcrumbTokens = {
|
|
|
5379
5405
|
};
|
|
5380
5406
|
|
|
5381
5407
|
// src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
5382
|
-
var
|
|
5408
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
5383
5409
|
var { icon: icon3, list: list2, listItem: listItem2 } = breadcrumbTokens;
|
|
5384
5410
|
var List = import_styled_components26.default.ol`
|
|
5385
5411
|
${removeListStyling}
|
|
@@ -5405,10 +5431,10 @@ var StyledIcon = (0, import_styled_components26.default)(Icon)`
|
|
|
5405
5431
|
var Breadcrumbs = (0, import_react30.forwardRef)(
|
|
5406
5432
|
(props, ref) => {
|
|
5407
5433
|
const { children, smallScreen, id, className, htmlProps, ...rest } = props;
|
|
5408
|
-
const chevronIcon = /* @__PURE__ */ (0,
|
|
5434
|
+
const chevronIcon = /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(StyledIcon, { iconSize: "inherit", icon: ChevronRightIcon });
|
|
5409
5435
|
const childrenArray = import_react30.Children.toArray(children);
|
|
5410
5436
|
const breadcrumbChildren = childrenArray.map((item, index) => {
|
|
5411
|
-
return /* @__PURE__ */ (0,
|
|
5437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(ListItem, { smallScreen, children: [
|
|
5412
5438
|
index !== 0 && chevronIcon,
|
|
5413
5439
|
item
|
|
5414
5440
|
] }, `breadcrumb-${index}`);
|
|
@@ -5420,12 +5446,12 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
|
|
|
5420
5446
|
href: item.props.href
|
|
5421
5447
|
};
|
|
5422
5448
|
}).filter((item) => item) : [];
|
|
5423
|
-
const breadcrumbChildrenSmallScreen = /* @__PURE__ */ (0,
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5425
|
-
breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ (0,
|
|
5449
|
+
const breadcrumbChildrenSmallScreen = /* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(import_jsx_runtime186.Fragment, { children: [
|
|
5450
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsx)(ListItem, { smallScreen, children: childrenArray[0] }),
|
|
5451
|
+
breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(ListItem, { smallScreen, children: [
|
|
5426
5452
|
chevronIcon,
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5428
|
-
/* @__PURE__ */ (0,
|
|
5453
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(OverflowMenuGroup, { children: [
|
|
5454
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
|
|
5429
5455
|
Button,
|
|
5430
5456
|
{
|
|
5431
5457
|
size: "tiny",
|
|
@@ -5434,21 +5460,21 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
|
|
|
5434
5460
|
"aria-label": `Vis br\xF8dsmulesti br\xF8dsmule 2 ${breadcrumbChildrenTruncated.length > 1 && `til ${breadcrumbChildren.length - 1}`}`
|
|
5435
5461
|
}
|
|
5436
5462
|
),
|
|
5437
|
-
/* @__PURE__ */ (0,
|
|
5463
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsx)(OverflowMenu, { items: breadcrumbChildrenTruncated })
|
|
5438
5464
|
] })
|
|
5439
5465
|
] }),
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(ListItem, { smallScreen, children: [
|
|
5441
5467
|
chevronIcon,
|
|
5442
5468
|
childrenArray[childrenArray.length - 1]
|
|
5443
5469
|
] })
|
|
5444
5470
|
] });
|
|
5445
|
-
return /* @__PURE__ */ (0,
|
|
5471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
|
|
5446
5472
|
"nav",
|
|
5447
5473
|
{
|
|
5448
5474
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
5449
5475
|
ref,
|
|
5450
5476
|
"aria-label": "br\xF8dsmulesti",
|
|
5451
|
-
children: /* @__PURE__ */ (0,
|
|
5477
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(List, { children: smallScreen ? breadcrumbChildrenSmallScreen : breadcrumbChildren })
|
|
5452
5478
|
}
|
|
5453
5479
|
);
|
|
5454
5480
|
}
|
|
@@ -5493,7 +5519,7 @@ var cardTokens = {
|
|
|
5493
5519
|
};
|
|
5494
5520
|
|
|
5495
5521
|
// src/components/Card/Card.tsx
|
|
5496
|
-
var
|
|
5522
|
+
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
5497
5523
|
var Container2 = import_styled_components27.default.div.withConfig({
|
|
5498
5524
|
shouldForwardProp: (prop) => prop !== "color" && prop !== "cardType"
|
|
5499
5525
|
})`
|
|
@@ -5542,7 +5568,7 @@ var Card = (props) => {
|
|
|
5542
5568
|
} = props;
|
|
5543
5569
|
if (cardType === "navigation") {
|
|
5544
5570
|
const { href, target } = props;
|
|
5545
|
-
return /* @__PURE__ */ (0,
|
|
5571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
|
|
5546
5572
|
Container2,
|
|
5547
5573
|
{
|
|
5548
5574
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -5556,7 +5582,7 @@ var Card = (props) => {
|
|
|
5556
5582
|
}
|
|
5557
5583
|
);
|
|
5558
5584
|
}
|
|
5559
|
-
return /* @__PURE__ */ (0,
|
|
5585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
|
|
5560
5586
|
Container2,
|
|
5561
5587
|
{
|
|
5562
5588
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -5576,13 +5602,13 @@ var import_styled_components28 = __toESM(require("styled-components"));
|
|
|
5576
5602
|
|
|
5577
5603
|
// src/components/Card/CardAccordion/CardAccordionContext.tsx
|
|
5578
5604
|
var import_react31 = require("react");
|
|
5579
|
-
var
|
|
5605
|
+
var import_jsx_runtime188 = require("react/jsx-runtime");
|
|
5580
5606
|
var CardAccordionContext = (0, import_react31.createContext)({});
|
|
5581
5607
|
var CardAccordionContextProvider = ({
|
|
5582
5608
|
children,
|
|
5583
5609
|
...values
|
|
5584
5610
|
}) => {
|
|
5585
|
-
return /* @__PURE__ */ (0,
|
|
5611
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(CardAccordionContext.Provider, { value: values, children });
|
|
5586
5612
|
};
|
|
5587
5613
|
var useCardAccordionContext = () => {
|
|
5588
5614
|
const context = (0, import_react31.useContext)(CardAccordionContext);
|
|
@@ -5595,7 +5621,7 @@ var useCardAccordionContext = () => {
|
|
|
5595
5621
|
};
|
|
5596
5622
|
|
|
5597
5623
|
// src/components/Card/CardAccordion/CardAccordion.tsx
|
|
5598
|
-
var
|
|
5624
|
+
var import_jsx_runtime189 = require("react/jsx-runtime");
|
|
5599
5625
|
var Wrapper = import_styled_components28.default.div``;
|
|
5600
5626
|
var CardAccordion = (0, import_react32.forwardRef)(
|
|
5601
5627
|
(props, ref) => {
|
|
@@ -5623,7 +5649,7 @@ var CardAccordion = (0, import_react32.forwardRef)(
|
|
|
5623
5649
|
return newExpanded;
|
|
5624
5650
|
});
|
|
5625
5651
|
}, [onChange]);
|
|
5626
|
-
return /* @__PURE__ */ (0,
|
|
5652
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(Wrapper, { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
5627
5653
|
CardAccordionContextProvider,
|
|
5628
5654
|
{
|
|
5629
5655
|
headerId: `${accordionId}-header`,
|
|
@@ -5673,7 +5699,7 @@ var cardAccordionTokens = {
|
|
|
5673
5699
|
};
|
|
5674
5700
|
|
|
5675
5701
|
// src/components/Card/CardAccordion/CardAccordionHeader.tsx
|
|
5676
|
-
var
|
|
5702
|
+
var import_jsx_runtime190 = require("react/jsx-runtime");
|
|
5677
5703
|
var { header: header2, chevronWrapper: chevronWrapper2 } = cardAccordionTokens;
|
|
5678
5704
|
var ContentWrapper = import_styled_components29.default.div`
|
|
5679
5705
|
text-align: left;
|
|
@@ -5753,15 +5779,15 @@ var CardAccordionHeader = (0, import_react33.forwardRef)((props, ref) => {
|
|
|
5753
5779
|
width: cardAccordionTokens.chevron.width,
|
|
5754
5780
|
height: cardAccordionTokens.chevron.height
|
|
5755
5781
|
};
|
|
5756
|
-
return /* @__PURE__ */ (0,
|
|
5782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(HeaderWrapperButton, { ...headerWrapperProps, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)(
|
|
5757
5783
|
HeaderContainer,
|
|
5758
5784
|
{
|
|
5759
5785
|
typographyType: typographyType7,
|
|
5760
5786
|
padding,
|
|
5761
5787
|
bold: bold2,
|
|
5762
5788
|
children: [
|
|
5763
|
-
/* @__PURE__ */ (0,
|
|
5764
|
-
/* @__PURE__ */ (0,
|
|
5789
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(ContentWrapper, { children }),
|
|
5790
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(ChevronWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(AnimatedChevronUpDown, { ...chevronProps }) })
|
|
5765
5791
|
]
|
|
5766
5792
|
}
|
|
5767
5793
|
) });
|
|
@@ -5789,7 +5815,7 @@ function useElementHeight(element3) {
|
|
|
5789
5815
|
}
|
|
5790
5816
|
|
|
5791
5817
|
// src/components/Card/CardAccordion/CardAccordionBody.tsx
|
|
5792
|
-
var
|
|
5818
|
+
var import_jsx_runtime191 = require("react/jsx-runtime");
|
|
5793
5819
|
var expandingAnimation = import_styled_components30.css`
|
|
5794
5820
|
@media (prefers-reduced-motion: no-preference) {
|
|
5795
5821
|
transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -5851,7 +5877,7 @@ var CardAccordionBody = (0, import_react35.forwardRef)((props, ref) => {
|
|
|
5851
5877
|
setAnimate(true);
|
|
5852
5878
|
}
|
|
5853
5879
|
}, [isMounted]);
|
|
5854
|
-
return /* @__PURE__ */ (0,
|
|
5880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
5855
5881
|
Body,
|
|
5856
5882
|
{
|
|
5857
5883
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -5862,7 +5888,7 @@ var CardAccordionBody = (0, import_react35.forwardRef)((props, ref) => {
|
|
|
5862
5888
|
animate,
|
|
5863
5889
|
"aria-labelledby": headerId,
|
|
5864
5890
|
"aria-hidden": !isExpanded,
|
|
5865
|
-
children: /* @__PURE__ */ (0,
|
|
5891
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
5866
5892
|
BodyContainer,
|
|
5867
5893
|
{
|
|
5868
5894
|
ref: bodyRef,
|
|
@@ -5907,7 +5933,7 @@ var chipTokens = {
|
|
|
5907
5933
|
};
|
|
5908
5934
|
|
|
5909
5935
|
// src/components/Chip/Chip.tsx
|
|
5910
|
-
var
|
|
5936
|
+
var import_jsx_runtime192 = require("react/jsx-runtime");
|
|
5911
5937
|
var { container: container4 } = chipTokens;
|
|
5912
5938
|
var Container3 = (0, import_styled_components31.default)(TextOverflowEllipsisWrapper)`
|
|
5913
5939
|
display: flex;
|
|
@@ -5928,15 +5954,15 @@ var Chip = (0, import_react36.forwardRef)((props, ref) => {
|
|
|
5928
5954
|
setIsOpen(false);
|
|
5929
5955
|
onClose && onClose();
|
|
5930
5956
|
};
|
|
5931
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
5957
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
|
|
5932
5958
|
Container3,
|
|
5933
5959
|
{
|
|
5934
5960
|
...getBaseHTMLProps(id, className, restHTMLprops, rest),
|
|
5935
5961
|
ref,
|
|
5936
5962
|
as: "div",
|
|
5937
5963
|
children: [
|
|
5938
|
-
/* @__PURE__ */ (0,
|
|
5939
|
-
/* @__PURE__ */ (0,
|
|
5964
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(TextOverflowEllipsisInner, { children: text }),
|
|
5965
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
5940
5966
|
Button,
|
|
5941
5967
|
{
|
|
5942
5968
|
size: "tiny",
|
|
@@ -5956,7 +5982,7 @@ Chip.displayName = "Chip";
|
|
|
5956
5982
|
// src/components/Chip/ChipGroup.tsx
|
|
5957
5983
|
var import_react37 = require("react");
|
|
5958
5984
|
var import_styled_components32 = __toESM(require("styled-components"));
|
|
5959
|
-
var
|
|
5985
|
+
var import_jsx_runtime193 = require("react/jsx-runtime");
|
|
5960
5986
|
var Group = import_styled_components32.default.ul`
|
|
5961
5987
|
${removeListStyling}
|
|
5962
5988
|
display: flex;
|
|
@@ -5965,8 +5991,8 @@ var Group = import_styled_components32.default.ul`
|
|
|
5965
5991
|
var ChipGroup = (0, import_react37.forwardRef)(
|
|
5966
5992
|
({ children, ...rest }, ref) => {
|
|
5967
5993
|
const childrenArray = import_react37.Children.toArray(children);
|
|
5968
|
-
const groupChildren = childrenArray.map((item, index) => /* @__PURE__ */ (0,
|
|
5969
|
-
return /* @__PURE__ */ (0,
|
|
5994
|
+
const groupChildren = childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("li", { children: item }, `chip-${index}`));
|
|
5995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Group, { ...rest, ref, children: groupChildren });
|
|
5970
5996
|
}
|
|
5971
5997
|
);
|
|
5972
5998
|
ChipGroup.displayName = "ChipGroup";
|
|
@@ -6062,7 +6088,7 @@ var import_styled_components34 = __toESM(require("styled-components"));
|
|
|
6062
6088
|
// src/components/date-inputs/DatePicker/CalendarPopover.tsx
|
|
6063
6089
|
var import_react38 = require("react");
|
|
6064
6090
|
var import_styled_components33 = __toESM(require("styled-components"));
|
|
6065
|
-
var
|
|
6091
|
+
var import_jsx_runtime194 = require("react/jsx-runtime");
|
|
6066
6092
|
var { popover: popoverTokens } = calendarTokens;
|
|
6067
6093
|
var CalendarPopoverContext = (0, import_react38.createContext)({
|
|
6068
6094
|
anchorRef: null,
|
|
@@ -6076,14 +6102,14 @@ var CalendarPopover = ({
|
|
|
6076
6102
|
}) => {
|
|
6077
6103
|
const anchorRef = (0, import_react38.useRef)(null);
|
|
6078
6104
|
useOnKeyDown("Escape", onClose);
|
|
6079
|
-
return /* @__PURE__ */ (0,
|
|
6105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
|
|
6080
6106
|
};
|
|
6081
6107
|
var Anchor = import_styled_components33.default.div``;
|
|
6082
6108
|
var CalendarPopoverAnchor = ({
|
|
6083
6109
|
children
|
|
6084
6110
|
}) => {
|
|
6085
6111
|
const { anchorRef } = (0, import_react38.useContext)(CalendarPopoverContext);
|
|
6086
|
-
return /* @__PURE__ */ (0,
|
|
6112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Anchor, { ref: anchorRef != null ? anchorRef : void 0, children });
|
|
6087
6113
|
};
|
|
6088
6114
|
var PopoverContentContainer = import_styled_components33.default.div`
|
|
6089
6115
|
background-color: ${popoverTokens.backgroundColor};
|
|
@@ -6108,7 +6134,7 @@ var CalendarPopoverContent = ({
|
|
|
6108
6134
|
}, []);
|
|
6109
6135
|
if (!isOpen)
|
|
6110
6136
|
return null;
|
|
6111
|
-
return /* @__PURE__ */ (0,
|
|
6137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(PopoverContentContainer, { ref: combinedRef, style: styles.floating, children });
|
|
6112
6138
|
};
|
|
6113
6139
|
|
|
6114
6140
|
// src/components/date-inputs/DatePicker/constants.ts
|
|
@@ -6116,7 +6142,7 @@ var locale = "no-NO";
|
|
|
6116
6142
|
var timezone = "Europe/Oslo";
|
|
6117
6143
|
|
|
6118
6144
|
// src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
|
|
6119
|
-
var
|
|
6145
|
+
var import_jsx_runtime195 = require("react/jsx-runtime");
|
|
6120
6146
|
var Cell = import_styled_components34.default.button`
|
|
6121
6147
|
${normalizeButton}
|
|
6122
6148
|
width: ${calendarTokens.cell.width};
|
|
@@ -6180,7 +6206,7 @@ function CalendarCell({ date, state }) {
|
|
|
6180
6206
|
isUnavailable
|
|
6181
6207
|
} = (0, import_calendar.useCalendarCell)({ date }, state, ref);
|
|
6182
6208
|
if (isDisabled) {
|
|
6183
|
-
return /* @__PURE__ */ (0,
|
|
6209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("td", { ...cellProps });
|
|
6184
6210
|
}
|
|
6185
6211
|
const { onClose } = (0, import_react39.useContext)(CalendarPopoverContext);
|
|
6186
6212
|
const variant = isSelected ? "selected" : isUnavailable || isDisabled ? "unavailable" : "default";
|
|
@@ -6189,7 +6215,7 @@ function CalendarCell({ date, state }) {
|
|
|
6189
6215
|
onClose();
|
|
6190
6216
|
}
|
|
6191
6217
|
};
|
|
6192
|
-
return /* @__PURE__ */ (0,
|
|
6218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("td", { ...cellProps, children: /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
|
|
6193
6219
|
Cell,
|
|
6194
6220
|
{
|
|
6195
6221
|
...buttonProps,
|
|
@@ -6241,7 +6267,7 @@ function isLeapYear(date) {
|
|
|
6241
6267
|
}
|
|
6242
6268
|
|
|
6243
6269
|
// src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
|
|
6244
|
-
var
|
|
6270
|
+
var import_jsx_runtime196 = require("react/jsx-runtime");
|
|
6245
6271
|
var { grid: gridTokens } = calendarTokens;
|
|
6246
6272
|
var Th = import_styled_components35.default.th`
|
|
6247
6273
|
font-family: ${gridTokens.headers.fontFamily};
|
|
@@ -6275,7 +6301,7 @@ function CalendarGrid({ state, ...props }) {
|
|
|
6275
6301
|
} = (0, import_calendar2.useCalendarGrid)(props, state);
|
|
6276
6302
|
const weeksInMonth = (0, import_date3.getWeeksInMonth)(state.visibleRange.start, locale2);
|
|
6277
6303
|
const weekDays = ["Ma", "Ti", "On", "To", "Fr", "L\xF8", "S\xF8"];
|
|
6278
|
-
return /* @__PURE__ */ (0,
|
|
6304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(
|
|
6279
6305
|
"table",
|
|
6280
6306
|
{
|
|
6281
6307
|
...gridProps,
|
|
@@ -6287,18 +6313,18 @@ function CalendarGrid({ state, ...props }) {
|
|
|
6287
6313
|
},
|
|
6288
6314
|
cellPadding: "0",
|
|
6289
6315
|
children: [
|
|
6290
|
-
/* @__PURE__ */ (0,
|
|
6291
|
-
/* @__PURE__ */ (0,
|
|
6292
|
-
weekDays.map((day, index) => /* @__PURE__ */ (0,
|
|
6316
|
+
/* @__PURE__ */ (0, import_jsx_runtime196.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("tr", { children: [
|
|
6317
|
+
/* @__PURE__ */ (0, import_jsx_runtime196.jsx)(Th, { children: "#" }),
|
|
6318
|
+
weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(Th, { children: day }, index))
|
|
6293
6319
|
] }) }),
|
|
6294
|
-
/* @__PURE__ */ (0,
|
|
6320
|
+
/* @__PURE__ */ (0, import_jsx_runtime196.jsx)("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
|
|
6295
6321
|
const datesInWeek = state.getDatesInWeek(weekIndex);
|
|
6296
6322
|
const firstExistingDay = datesInWeek.find(Boolean);
|
|
6297
6323
|
const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
|
|
6298
|
-
return /* @__PURE__ */ (0,
|
|
6299
|
-
/* @__PURE__ */ (0,
|
|
6324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("tr", { children: [
|
|
6325
|
+
/* @__PURE__ */ (0, import_jsx_runtime196.jsx)(WeekNumber, { children: weekNumber }),
|
|
6300
6326
|
datesInWeek.map(
|
|
6301
|
-
(date, i) => date ? /* @__PURE__ */ (0,
|
|
6327
|
+
(date, i) => date ? /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(CalendarCell, { state, date }, i) : /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("td", {}, i)
|
|
6302
6328
|
)
|
|
6303
6329
|
] }, weekIndex);
|
|
6304
6330
|
}) })
|
|
@@ -6309,7 +6335,7 @@ function CalendarGrid({ state, ...props }) {
|
|
|
6309
6335
|
CalendarGrid.displayName = "CalendarGrid";
|
|
6310
6336
|
|
|
6311
6337
|
// src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
|
|
6312
|
-
var
|
|
6338
|
+
var import_jsx_runtime197 = require("react/jsx-runtime");
|
|
6313
6339
|
var CalendarHeader = import_styled_components36.default.div`
|
|
6314
6340
|
display: flex;
|
|
6315
6341
|
justify-content: space-between;
|
|
@@ -6356,9 +6382,9 @@ function Calendar(props) {
|
|
|
6356
6382
|
onClose();
|
|
6357
6383
|
}
|
|
6358
6384
|
};
|
|
6359
|
-
return /* @__PURE__ */ (0,
|
|
6360
|
-
/* @__PURE__ */ (0,
|
|
6361
|
-
/* @__PURE__ */ (0,
|
|
6385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(CalendarContainer, { ...calendarProps, children: [
|
|
6386
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(CalendarHeader, { children: [
|
|
6387
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
|
|
6362
6388
|
StyledButton,
|
|
6363
6389
|
{
|
|
6364
6390
|
type: "button",
|
|
@@ -6371,8 +6397,8 @@ function Calendar(props) {
|
|
|
6371
6397
|
htmlProps: { onKeyDown: closeOnKeyboardBlurBack }
|
|
6372
6398
|
}
|
|
6373
6399
|
),
|
|
6374
|
-
/* @__PURE__ */ (0,
|
|
6375
|
-
/* @__PURE__ */ (0,
|
|
6400
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)(Month, { children: title3 }),
|
|
6401
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
|
|
6376
6402
|
StyledButton,
|
|
6377
6403
|
{
|
|
6378
6404
|
type: "button",
|
|
@@ -6385,7 +6411,7 @@ function Calendar(props) {
|
|
|
6385
6411
|
}
|
|
6386
6412
|
)
|
|
6387
6413
|
] }),
|
|
6388
|
-
/* @__PURE__ */ (0,
|
|
6414
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)(CalendarGrid, { state })
|
|
6389
6415
|
] });
|
|
6390
6416
|
}
|
|
6391
6417
|
Calendar.displayName = "Calendar";
|
|
@@ -6499,7 +6525,7 @@ var datePickerTokens = {
|
|
|
6499
6525
|
};
|
|
6500
6526
|
|
|
6501
6527
|
// src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
|
|
6502
|
-
var
|
|
6528
|
+
var import_jsx_runtime198 = require("react/jsx-runtime");
|
|
6503
6529
|
var StyledButton2 = import_styled_components37.default.button`
|
|
6504
6530
|
${normalizeButton}
|
|
6505
6531
|
display: flex;
|
|
@@ -6545,7 +6571,7 @@ function CalendarButton({
|
|
|
6545
6571
|
}) {
|
|
6546
6572
|
const ref = (0, import_react41.useRef)(null);
|
|
6547
6573
|
const { buttonProps } = (0, import_button.useButton)(props, ref);
|
|
6548
|
-
return /* @__PURE__ */ (0,
|
|
6574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
|
|
6549
6575
|
StyledButton2,
|
|
6550
6576
|
{
|
|
6551
6577
|
...buttonProps,
|
|
@@ -6560,7 +6586,7 @@ function CalendarButton({
|
|
|
6560
6586
|
}
|
|
6561
6587
|
},
|
|
6562
6588
|
className: [props.isDisabled ? "disabled" : false].filter(Boolean).join(" "),
|
|
6563
|
-
children: /* @__PURE__ */ (0,
|
|
6589
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
|
|
6564
6590
|
Icon,
|
|
6565
6591
|
{
|
|
6566
6592
|
icon: CalendarIcon,
|
|
@@ -6575,7 +6601,7 @@ function CalendarButton({
|
|
|
6575
6601
|
var import_datepicker = require("@react-aria/datepicker");
|
|
6576
6602
|
var import_react42 = require("react");
|
|
6577
6603
|
var import_styled_components38 = __toESM(require("styled-components"));
|
|
6578
|
-
var
|
|
6604
|
+
var import_jsx_runtime199 = require("react/jsx-runtime");
|
|
6579
6605
|
var {
|
|
6580
6606
|
datefield: { segment: segmentTokens }
|
|
6581
6607
|
} = datePickerTokens;
|
|
@@ -6624,7 +6650,7 @@ function DateSegment({
|
|
|
6624
6650
|
var _a;
|
|
6625
6651
|
const ref = (0, import_react42.useRef)(null);
|
|
6626
6652
|
const { segmentProps } = (0, import_datepicker.useDateSegment)(segment2, state, ref);
|
|
6627
|
-
return /* @__PURE__ */ (0,
|
|
6653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(
|
|
6628
6654
|
Segment,
|
|
6629
6655
|
{
|
|
6630
6656
|
...segmentProps,
|
|
@@ -6635,7 +6661,7 @@ function DateSegment({
|
|
|
6635
6661
|
minWidth: segment2.maxValue != null ? String(segment2.maxValue).length + "ch" : void 0
|
|
6636
6662
|
},
|
|
6637
6663
|
children: [
|
|
6638
|
-
/* @__PURE__ */ (0,
|
|
6664
|
+
/* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
|
|
6639
6665
|
SegmentPlaceholder,
|
|
6640
6666
|
{
|
|
6641
6667
|
"aria-hidden": "true",
|
|
@@ -6659,7 +6685,7 @@ DateSegment.displayName = "DateSegment";
|
|
|
6659
6685
|
// src/components/date-inputs/common/DateInput.tsx
|
|
6660
6686
|
var import_react43 = require("react");
|
|
6661
6687
|
var import_styled_components39 = __toESM(require("styled-components"));
|
|
6662
|
-
var
|
|
6688
|
+
var import_jsx_runtime200 = require("react/jsx-runtime");
|
|
6663
6689
|
var InputDiv = (0, import_styled_components39.default)(StatefulInput)`
|
|
6664
6690
|
display: inline-flex;
|
|
6665
6691
|
flex-direction: row;
|
|
@@ -6696,7 +6722,7 @@ function _DateInput({
|
|
|
6696
6722
|
const hasTip = !!tip;
|
|
6697
6723
|
const hasLabel = props.label != null;
|
|
6698
6724
|
const hasMessage = hasErrorMessage || hasTip;
|
|
6699
|
-
return /* @__PURE__ */ (0,
|
|
6725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
|
|
6700
6726
|
OuterInputContainer,
|
|
6701
6727
|
{
|
|
6702
6728
|
...groupProps,
|
|
@@ -6704,8 +6730,8 @@ function _DateInput({
|
|
|
6704
6730
|
className,
|
|
6705
6731
|
ref: forwardedRef,
|
|
6706
6732
|
children: [
|
|
6707
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
6708
|
-
/* @__PURE__ */ (0,
|
|
6733
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Label, { ...labelProps, showRequiredStyling: required, children: props.label }),
|
|
6734
|
+
/* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
|
|
6709
6735
|
InputDiv,
|
|
6710
6736
|
{
|
|
6711
6737
|
...fieldProps,
|
|
@@ -6722,11 +6748,11 @@ function _DateInput({
|
|
|
6722
6748
|
),
|
|
6723
6749
|
children: [
|
|
6724
6750
|
button3,
|
|
6725
|
-
/* @__PURE__ */ (0,
|
|
6751
|
+
/* @__PURE__ */ (0, import_jsx_runtime200.jsx)(DateSegmentContainer, { children })
|
|
6726
6752
|
]
|
|
6727
6753
|
}
|
|
6728
6754
|
),
|
|
6729
|
-
hasMessage && /* @__PURE__ */ (0,
|
|
6755
|
+
hasMessage && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
|
|
6730
6756
|
InputMessage,
|
|
6731
6757
|
{
|
|
6732
6758
|
messageType: hasErrorMessage ? "error" : "tip",
|
|
@@ -6741,7 +6767,7 @@ var DateInput = (0, import_react43.forwardRef)(_DateInput);
|
|
|
6741
6767
|
DateInput.displayName = "DateInput";
|
|
6742
6768
|
|
|
6743
6769
|
// src/components/date-inputs/DatePicker/DateField/DateField.tsx
|
|
6744
|
-
var
|
|
6770
|
+
var import_jsx_runtime201 = require("react/jsx-runtime");
|
|
6745
6771
|
function _DateField({
|
|
6746
6772
|
componentSize = "medium",
|
|
6747
6773
|
buttonProps,
|
|
@@ -6757,7 +6783,7 @@ function _DateField({
|
|
|
6757
6783
|
const ref = (0, import_react44.useRef)(null);
|
|
6758
6784
|
const { labelProps, fieldProps } = (0, import_datepicker2.useDateField)(props, state, ref);
|
|
6759
6785
|
const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
|
|
6760
|
-
return /* @__PURE__ */ (0,
|
|
6786
|
+
return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
|
|
6761
6787
|
DateInput,
|
|
6762
6788
|
{
|
|
6763
6789
|
...props,
|
|
@@ -6769,7 +6795,7 @@ function _DateField({
|
|
|
6769
6795
|
ref: forwardedRef,
|
|
6770
6796
|
internalRef: ref,
|
|
6771
6797
|
readOnly: props.isReadOnly,
|
|
6772
|
-
prefix: !props.isReadOnly && /* @__PURE__ */ (0,
|
|
6798
|
+
prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
|
|
6773
6799
|
CalendarButton,
|
|
6774
6800
|
{
|
|
6775
6801
|
componentSize,
|
|
@@ -6779,7 +6805,7 @@ function _DateField({
|
|
|
6779
6805
|
),
|
|
6780
6806
|
labelProps,
|
|
6781
6807
|
fieldProps,
|
|
6782
|
-
children: state.segments.map((segment2, i) => /* @__PURE__ */ (0,
|
|
6808
|
+
children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
|
|
6783
6809
|
DateSegment,
|
|
6784
6810
|
{
|
|
6785
6811
|
componentSize,
|
|
@@ -6816,7 +6842,7 @@ function createDOMRef(ref) {
|
|
|
6816
6842
|
}
|
|
6817
6843
|
|
|
6818
6844
|
// src/components/date-inputs/DatePicker/DatePicker.tsx
|
|
6819
|
-
var
|
|
6845
|
+
var import_jsx_runtime202 = require("react/jsx-runtime");
|
|
6820
6846
|
var refIsFocusable = (ref) => {
|
|
6821
6847
|
return typeof ref === "object" && ref !== null && "focus" in ref;
|
|
6822
6848
|
};
|
|
@@ -6832,8 +6858,8 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
|
|
|
6832
6858
|
state,
|
|
6833
6859
|
ref
|
|
6834
6860
|
);
|
|
6835
|
-
return /* @__PURE__ */ (0,
|
|
6836
|
-
/* @__PURE__ */ (0,
|
|
6861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(import_i18n4.I18nProvider, { locale, children: /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
|
|
6862
|
+
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)(CalendarPopoverAnchor, { children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
|
|
6837
6863
|
DateField,
|
|
6838
6864
|
{
|
|
6839
6865
|
...fieldProps,
|
|
@@ -6849,7 +6875,7 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
|
|
|
6849
6875
|
width
|
|
6850
6876
|
}
|
|
6851
6877
|
) }),
|
|
6852
|
-
/* @__PURE__ */ (0,
|
|
6878
|
+
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)(CalendarPopoverContent, { children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(Calendar, { ...calendarProps }) })
|
|
6853
6879
|
] }) });
|
|
6854
6880
|
}
|
|
6855
6881
|
var DatePicker = (0, import_react46.forwardRef)(_DatePicker);
|
|
@@ -6860,7 +6886,7 @@ var import_datepicker6 = require("@react-aria/datepicker");
|
|
|
6860
6886
|
var import_datepicker7 = require("@react-stately/datepicker");
|
|
6861
6887
|
var import_react47 = require("react");
|
|
6862
6888
|
var import_styled_components40 = __toESM(require("styled-components"));
|
|
6863
|
-
var
|
|
6889
|
+
var import_jsx_runtime203 = require("react/jsx-runtime");
|
|
6864
6890
|
var TimePickerIcon = (0, import_styled_components40.default)(Icon)`
|
|
6865
6891
|
color: ${datePickerTokens.calendarButton.color};
|
|
6866
6892
|
width: ${({ $componentSize }) => datePickerTokens.calendarButton[$componentSize].size};
|
|
@@ -6878,7 +6904,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
|
|
|
6878
6904
|
ref
|
|
6879
6905
|
);
|
|
6880
6906
|
const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
|
|
6881
|
-
return /* @__PURE__ */ (0,
|
|
6907
|
+
return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
|
|
6882
6908
|
DateInput,
|
|
6883
6909
|
{
|
|
6884
6910
|
...props,
|
|
@@ -6891,7 +6917,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
|
|
|
6891
6917
|
readOnly: props.isReadOnly,
|
|
6892
6918
|
labelProps,
|
|
6893
6919
|
fieldProps,
|
|
6894
|
-
prefix: !props.isReadOnly && /* @__PURE__ */ (0,
|
|
6920
|
+
prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
|
|
6895
6921
|
TimePickerIcon,
|
|
6896
6922
|
{
|
|
6897
6923
|
$componentSize: componentSize,
|
|
@@ -6899,7 +6925,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
|
|
|
6899
6925
|
iconSize: componentSize == "medium" ? "medium" : "small"
|
|
6900
6926
|
}
|
|
6901
6927
|
),
|
|
6902
|
-
children: state.segments.map((segment2, i) => /* @__PURE__ */ (0,
|
|
6928
|
+
children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
|
|
6903
6929
|
DateSegment,
|
|
6904
6930
|
{
|
|
6905
6931
|
componentSize,
|
|
@@ -6993,7 +7019,7 @@ var descriptionListTokens = {
|
|
|
6993
7019
|
};
|
|
6994
7020
|
|
|
6995
7021
|
// src/components/DescriptionList/DescriptionList.tsx
|
|
6996
|
-
var
|
|
7022
|
+
var import_jsx_runtime204 = require("react/jsx-runtime");
|
|
6997
7023
|
var { term: term2, desc: desc2, list: list4 } = descriptionListTokens;
|
|
6998
7024
|
var DList = import_styled_components41.default.dl.withConfig({
|
|
6999
7025
|
shouldForwardProp: (prop) => prop !== "appearance" && prop !== "direction"
|
|
@@ -7044,28 +7070,28 @@ var DescriptionList = (0, import_react48.forwardRef)((props, ref) => {
|
|
|
7044
7070
|
direction,
|
|
7045
7071
|
ref
|
|
7046
7072
|
};
|
|
7047
|
-
return /* @__PURE__ */ (0,
|
|
7073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(DList, { ...dListProps, children });
|
|
7048
7074
|
});
|
|
7049
7075
|
DescriptionList.displayName = "DescriptionList";
|
|
7050
7076
|
|
|
7051
7077
|
// src/components/DescriptionList/DescriptionListTerm.tsx
|
|
7052
7078
|
var import_react49 = require("react");
|
|
7053
7079
|
var import_styled_components42 = __toESM(require("styled-components"));
|
|
7054
|
-
var
|
|
7080
|
+
var import_jsx_runtime205 = require("react/jsx-runtime");
|
|
7055
7081
|
var DListTerm = import_styled_components42.default.dt``;
|
|
7056
7082
|
var DescriptionListTerm = (0, import_react49.forwardRef)(({ children, ...rest }, ref) => {
|
|
7057
7083
|
const dListTermProps = {
|
|
7058
7084
|
ref,
|
|
7059
7085
|
...rest
|
|
7060
7086
|
};
|
|
7061
|
-
return /* @__PURE__ */ (0,
|
|
7087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(DListTerm, { ...dListTermProps, children });
|
|
7062
7088
|
});
|
|
7063
7089
|
DescriptionListTerm.displayName = "DescriptionListTerm";
|
|
7064
7090
|
|
|
7065
7091
|
// src/components/DescriptionList/DescriptionListDesc.tsx
|
|
7066
7092
|
var import_react50 = require("react");
|
|
7067
7093
|
var import_styled_components43 = __toESM(require("styled-components"));
|
|
7068
|
-
var
|
|
7094
|
+
var import_jsx_runtime206 = require("react/jsx-runtime");
|
|
7069
7095
|
var DListDesc = import_styled_components43.default.dd`
|
|
7070
7096
|
margin-inline-start: 0;
|
|
7071
7097
|
align-items: center;
|
|
@@ -7080,8 +7106,8 @@ var DescriptionListDesc = (0, import_react50.forwardRef)((props, ref) => {
|
|
|
7080
7106
|
children,
|
|
7081
7107
|
ref
|
|
7082
7108
|
};
|
|
7083
|
-
return /* @__PURE__ */ (0,
|
|
7084
|
-
icon11 && /* @__PURE__ */ (0,
|
|
7109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(DListDesc, { ...dListDescProps, children: [
|
|
7110
|
+
icon11 && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(Icon, { icon: icon11 }),
|
|
7085
7111
|
" ",
|
|
7086
7112
|
children
|
|
7087
7113
|
] });
|
|
@@ -7091,7 +7117,7 @@ DescriptionListDesc.displayName = "DescriptionListDesc";
|
|
|
7091
7117
|
// src/components/DescriptionList/DescriptionListGroup.tsx
|
|
7092
7118
|
var import_react51 = require("react");
|
|
7093
7119
|
var import_styled_components44 = __toESM(require("styled-components"));
|
|
7094
|
-
var
|
|
7120
|
+
var import_jsx_runtime207 = require("react/jsx-runtime");
|
|
7095
7121
|
var DListGroup = import_styled_components44.default.div`
|
|
7096
7122
|
margin: ${({ margin }) => margin ? margin : descriptionListTokens.group.base.margin};
|
|
7097
7123
|
${({ minWidth }) => minWidth && `min-width: ${minWidth}`}
|
|
@@ -7116,7 +7142,7 @@ var DescriptionListGroup = (0, import_react51.forwardRef)((props, ref) => {
|
|
|
7116
7142
|
minWidth,
|
|
7117
7143
|
maxWidth
|
|
7118
7144
|
};
|
|
7119
|
-
return /* @__PURE__ */ (0,
|
|
7145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(DListGroup, { ...dListGroupProps, children });
|
|
7120
7146
|
});
|
|
7121
7147
|
DescriptionListGroup.displayName = "DescriptionListGroup";
|
|
7122
7148
|
|
|
@@ -7143,7 +7169,7 @@ var drawerTokens = {
|
|
|
7143
7169
|
};
|
|
7144
7170
|
|
|
7145
7171
|
// src/components/Drawer/Drawer.tsx
|
|
7146
|
-
var
|
|
7172
|
+
var import_jsx_runtime208 = require("react/jsx-runtime");
|
|
7147
7173
|
var { container: container6, contentContainer: contentContainer2 } = drawerTokens;
|
|
7148
7174
|
var getMaxWidth = (size2) => {
|
|
7149
7175
|
if (size2 === "large")
|
|
@@ -7264,12 +7290,12 @@ var Drawer = (0, import_react52.forwardRef)((props, ref) => {
|
|
|
7264
7290
|
id: headerId
|
|
7265
7291
|
};
|
|
7266
7292
|
return isOpen || hasTransitionedIn ? (0, import_react_dom2.createPortal)(
|
|
7267
|
-
/* @__PURE__ */ (0,
|
|
7268
|
-
/* @__PURE__ */ (0,
|
|
7269
|
-
hasHeader && /* @__PURE__ */ (0,
|
|
7293
|
+
/* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(Container4, { ...containerProps, elevation: 4, children: [
|
|
7294
|
+
/* @__PURE__ */ (0, import_jsx_runtime208.jsx)(ScrollableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(ContentContainer, { children: [
|
|
7295
|
+
hasHeader && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(HeaderContainer2, { ...headerContainerProps, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
|
|
7270
7296
|
children
|
|
7271
7297
|
] }) }),
|
|
7272
|
-
/* @__PURE__ */ (0,
|
|
7298
|
+
/* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
|
|
7273
7299
|
StyledButton3,
|
|
7274
7300
|
{
|
|
7275
7301
|
"data-testid": "drawer-close-btn",
|
|
@@ -7289,7 +7315,7 @@ Drawer.displayName = "Drawer";
|
|
|
7289
7315
|
|
|
7290
7316
|
// src/components/Drawer/DrawerGroup.tsx
|
|
7291
7317
|
var import_react53 = require("react");
|
|
7292
|
-
var
|
|
7318
|
+
var import_jsx_runtime209 = require("react/jsx-runtime");
|
|
7293
7319
|
var DrawerGroup = ({
|
|
7294
7320
|
children,
|
|
7295
7321
|
drawerId,
|
|
@@ -7324,7 +7350,7 @@ var DrawerGroup = ({
|
|
|
7324
7350
|
onClose: handleClose
|
|
7325
7351
|
}));
|
|
7326
7352
|
});
|
|
7327
|
-
return /* @__PURE__ */ (0,
|
|
7353
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(import_jsx_runtime209.Fragment, { children: [
|
|
7328
7354
|
" ",
|
|
7329
7355
|
Children9,
|
|
7330
7356
|
" "
|
|
@@ -7335,7 +7361,7 @@ DrawerGroup.displayName = "DrawerGroup";
|
|
|
7335
7361
|
// src/components/EmptyContent/EmptyContent.tsx
|
|
7336
7362
|
var import_dds_design_tokens32 = require("@norges-domstoler/dds-design-tokens");
|
|
7337
7363
|
var import_styled_components46 = __toESM(require("styled-components"));
|
|
7338
|
-
var
|
|
7364
|
+
var import_jsx_runtime210 = require("react/jsx-runtime");
|
|
7339
7365
|
var { colors: colors17, spacing: spacing16 } = import_dds_design_tokens32.ddsBaseTokens;
|
|
7340
7366
|
var StyledEmptyContent = import_styled_components46.default.div`
|
|
7341
7367
|
display: flex;
|
|
@@ -7360,9 +7386,9 @@ function EmptyContent({
|
|
|
7360
7386
|
titleHeadingLevel = 5,
|
|
7361
7387
|
...rest
|
|
7362
7388
|
}) {
|
|
7363
|
-
return /* @__PURE__ */ (0,
|
|
7364
|
-
title3 && /* @__PURE__ */ (0,
|
|
7365
|
-
/* @__PURE__ */ (0,
|
|
7389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(StyledEmptyContent, { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(StyledEmptyContentText, { children: [
|
|
7390
|
+
title3 && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title3 }),
|
|
7391
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Paragraph, { children: message2 })
|
|
7366
7392
|
] }) });
|
|
7367
7393
|
}
|
|
7368
7394
|
EmptyContent.displayName = "EmptyContent";
|
|
@@ -7444,7 +7470,7 @@ function useControllableState(props) {
|
|
|
7444
7470
|
}
|
|
7445
7471
|
|
|
7446
7472
|
// src/components/FavStar/FavStar.tsx
|
|
7447
|
-
var
|
|
7473
|
+
var import_jsx_runtime211 = require("react/jsx-runtime");
|
|
7448
7474
|
var TRANSITION_SPEED = "0.2s";
|
|
7449
7475
|
var StyledIcon2 = (0, import_styled_components47.default)(Icon)`
|
|
7450
7476
|
color: currentColor;
|
|
@@ -7528,7 +7554,7 @@ var FavStar = (0, import_react56.forwardRef)(
|
|
|
7528
7554
|
defaultValue: defaultChecked != null ? defaultChecked : false,
|
|
7529
7555
|
onChange
|
|
7530
7556
|
});
|
|
7531
|
-
return /* @__PURE__ */ (0,
|
|
7557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
|
|
7532
7558
|
Container5,
|
|
7533
7559
|
{
|
|
7534
7560
|
size: size2,
|
|
@@ -7536,7 +7562,7 @@ var FavStar = (0, import_react56.forwardRef)(
|
|
|
7536
7562
|
style,
|
|
7537
7563
|
htmlFor: id != null ? id : generatedId,
|
|
7538
7564
|
children: [
|
|
7539
|
-
/* @__PURE__ */ (0,
|
|
7565
|
+
/* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
|
|
7540
7566
|
HiddenInput,
|
|
7541
7567
|
{
|
|
7542
7568
|
...props,
|
|
@@ -7548,8 +7574,8 @@ var FavStar = (0, import_react56.forwardRef)(
|
|
|
7548
7574
|
"aria-label": (_a = props["aria-label"]) != null ? _a : "Favoriser"
|
|
7549
7575
|
}
|
|
7550
7576
|
),
|
|
7551
|
-
/* @__PURE__ */ (0,
|
|
7552
|
-
/* @__PURE__ */ (0,
|
|
7577
|
+
/* @__PURE__ */ (0, import_jsx_runtime211.jsx)(StyledIcon2, { iconSize: size2, icon: StarIcon }),
|
|
7578
|
+
/* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
|
|
7553
7579
|
StyledIcon2,
|
|
7554
7580
|
{
|
|
7555
7581
|
iconSize: size2,
|
|
@@ -7597,7 +7623,7 @@ var stackTokens = {
|
|
|
7597
7623
|
};
|
|
7598
7624
|
|
|
7599
7625
|
// src/components/Stack/Stack.tsx
|
|
7600
|
-
var
|
|
7626
|
+
var import_jsx_runtime212 = require("react/jsx-runtime");
|
|
7601
7627
|
var Stack = import_styled_components48.default.div.withConfig({
|
|
7602
7628
|
shouldForwardProp: (prop) => {
|
|
7603
7629
|
const styleOnlyProps = [
|
|
@@ -7628,7 +7654,7 @@ Stack.defaultProps = {
|
|
|
7628
7654
|
justify: "flex-start"
|
|
7629
7655
|
};
|
|
7630
7656
|
var HStack = (0, import_react57.forwardRef)(
|
|
7631
|
-
({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0,
|
|
7657
|
+
({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
7632
7658
|
Stack,
|
|
7633
7659
|
{
|
|
7634
7660
|
direction: "horizontal",
|
|
@@ -7639,7 +7665,7 @@ var HStack = (0, import_react57.forwardRef)(
|
|
|
7639
7665
|
);
|
|
7640
7666
|
HStack.displayName = "HStack";
|
|
7641
7667
|
var VStack = (0, import_react57.forwardRef)(
|
|
7642
|
-
({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0,
|
|
7668
|
+
({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
7643
7669
|
Stack,
|
|
7644
7670
|
{
|
|
7645
7671
|
direction: "vertical",
|
|
@@ -7665,7 +7691,7 @@ var textAreaTokens = {
|
|
|
7665
7691
|
};
|
|
7666
7692
|
|
|
7667
7693
|
// src/components/TextArea/TextArea.tsx
|
|
7668
|
-
var
|
|
7694
|
+
var import_jsx_runtime213 = require("react/jsx-runtime");
|
|
7669
7695
|
var defaultWidth = "320px";
|
|
7670
7696
|
var { textarea: textarea2 } = textAreaTokens;
|
|
7671
7697
|
var StyledTextArea = (0, import_styled_components49.default)(StatefulInput)`
|
|
@@ -7742,9 +7768,9 @@ var TextArea = (0, import_react58.forwardRef)(
|
|
|
7742
7768
|
"aria-invalid": hasErrorMessage ? true : void 0,
|
|
7743
7769
|
...rest
|
|
7744
7770
|
};
|
|
7745
|
-
return /* @__PURE__ */ (0,
|
|
7746
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
7747
|
-
/* @__PURE__ */ (0,
|
|
7771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(OuterInputContainer, { ...containerProps, children: [
|
|
7772
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Label, { showRequiredStyling, htmlFor: uniqueId, children: label3 }),
|
|
7773
|
+
/* @__PURE__ */ (0, import_jsx_runtime213.jsx)(StyledTextArea, { ...textAreaProps, as: "textarea" }),
|
|
7748
7774
|
renderInputMessage(tip, tipId, errorMessage, errorMessageId)
|
|
7749
7775
|
] });
|
|
7750
7776
|
}
|
|
@@ -7752,7 +7778,7 @@ var TextArea = (0, import_react58.forwardRef)(
|
|
|
7752
7778
|
TextArea.displayName = "TextArea";
|
|
7753
7779
|
|
|
7754
7780
|
// src/components/Feedback/CommentComponent.tsx
|
|
7755
|
-
var
|
|
7781
|
+
var import_jsx_runtime214 = require("react/jsx-runtime");
|
|
7756
7782
|
var IconLabelSpan = import_styled_components50.default.span`
|
|
7757
7783
|
display: inline-flex;
|
|
7758
7784
|
align-items: center;
|
|
@@ -7768,21 +7794,21 @@ var CommentComponent = ({
|
|
|
7768
7794
|
handleSubmit,
|
|
7769
7795
|
handleFeedbackTextChange
|
|
7770
7796
|
}) => {
|
|
7771
|
-
return /* @__PURE__ */ (0,
|
|
7772
|
-
/* @__PURE__ */ (0,
|
|
7773
|
-
/* @__PURE__ */ (0,
|
|
7797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(VStack, { gap: "x1", align: "flex-start", children: [
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(IconLabelSpan, { children: [
|
|
7799
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
7774
7800
|
Icon,
|
|
7775
7801
|
{
|
|
7776
7802
|
icon: rating === "positive" ? ThumbupFilled : ThumbdownFilled,
|
|
7777
7803
|
color: import_dds_design_tokens36.ddsBaseTokens.colors.DdsColorInteractiveBase
|
|
7778
7804
|
}
|
|
7779
7805
|
),
|
|
7780
|
-
/* @__PURE__ */ (0,
|
|
7806
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(Paragraph, { children: [
|
|
7781
7807
|
ratingSubmittedTitle,
|
|
7782
7808
|
" "
|
|
7783
7809
|
] })
|
|
7784
7810
|
] }),
|
|
7785
|
-
/* @__PURE__ */ (0,
|
|
7811
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
7786
7812
|
TextArea,
|
|
7787
7813
|
{
|
|
7788
7814
|
value: feedbackText,
|
|
@@ -7791,7 +7817,7 @@ var CommentComponent = ({
|
|
|
7791
7817
|
tip: "Ikke send inn personopplysninger eller annen sensitiv informasjon"
|
|
7792
7818
|
}
|
|
7793
7819
|
),
|
|
7794
|
-
/* @__PURE__ */ (0,
|
|
7820
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
7795
7821
|
Button,
|
|
7796
7822
|
{
|
|
7797
7823
|
purpose: "secondary",
|
|
@@ -7854,7 +7880,7 @@ var TooltipWrapper = (0, import_styled_components51.default)(Paper)`
|
|
|
7854
7880
|
`;
|
|
7855
7881
|
|
|
7856
7882
|
// src/components/Tooltip/Tooltip.tsx
|
|
7857
|
-
var
|
|
7883
|
+
var import_jsx_runtime215 = require("react/jsx-runtime");
|
|
7858
7884
|
var { svgArrow: svgArrow2 } = tooltipTokens;
|
|
7859
7885
|
var Tooltip = (0, import_react59.forwardRef)(
|
|
7860
7886
|
(props, ref) => {
|
|
@@ -7959,19 +7985,19 @@ var Tooltip = (0, import_react59.forwardRef)(
|
|
|
7959
7985
|
ref: setArrowElement,
|
|
7960
7986
|
style: styles.arrow
|
|
7961
7987
|
};
|
|
7962
|
-
return /* @__PURE__ */ (0,
|
|
7988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(Container6, { ...containerProps, children: [
|
|
7963
7989
|
anchorElement,
|
|
7964
|
-
/* @__PURE__ */ (0,
|
|
7990
|
+
/* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(TooltipWrapper, { ...wrapperProps, elevation: 1, border: "light", children: [
|
|
7965
7991
|
text,
|
|
7966
|
-
/* @__PURE__ */ (0,
|
|
7967
|
-
/* @__PURE__ */ (0,
|
|
7992
|
+
/* @__PURE__ */ (0, import_jsx_runtime215.jsx)(ArrowWrapper, { ...arrowWrapperProps, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(SvgArrow, { children: [
|
|
7993
|
+
/* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
7968
7994
|
"path",
|
|
7969
7995
|
{
|
|
7970
7996
|
d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
|
|
7971
7997
|
fill: svgArrow2.background.fill
|
|
7972
7998
|
}
|
|
7973
7999
|
),
|
|
7974
|
-
/* @__PURE__ */ (0,
|
|
8000
|
+
/* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
7975
8001
|
"path",
|
|
7976
8002
|
{
|
|
7977
8003
|
fillRule: "evenodd",
|
|
@@ -7988,7 +8014,7 @@ var Tooltip = (0, import_react59.forwardRef)(
|
|
|
7988
8014
|
Tooltip.displayName = "Tooltip";
|
|
7989
8015
|
|
|
7990
8016
|
// src/components/Feedback/RatingComponent.tsx
|
|
7991
|
-
var
|
|
8017
|
+
var import_jsx_runtime216 = require("react/jsx-runtime");
|
|
7992
8018
|
var RatingContainer = import_styled_components52.default.div`
|
|
7993
8019
|
display: flex;
|
|
7994
8020
|
gap: ${import_dds_design_tokens38.ddsBaseTokens.spacing.SizesDdsSpacingX1};
|
|
@@ -8009,10 +8035,10 @@ var RatingComponent = ({
|
|
|
8009
8035
|
thumbDownTooltip,
|
|
8010
8036
|
handleRatingChange
|
|
8011
8037
|
}) => {
|
|
8012
|
-
return /* @__PURE__ */ (0,
|
|
8013
|
-
/* @__PURE__ */ (0,
|
|
8014
|
-
loading ? /* @__PURE__ */ (0,
|
|
8015
|
-
/* @__PURE__ */ (0,
|
|
8038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(RatingContainer, { $layout: layout, children: [
|
|
8039
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Label, { children: ratingLabel }),
|
|
8040
|
+
loading ? /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(HStack, { gap: "x1", children: [
|
|
8041
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Tooltip, { text: thumbUpTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
|
|
8016
8042
|
RatingButton,
|
|
8017
8043
|
{
|
|
8018
8044
|
htmlProps: { "aria-label": thumbUpTooltip },
|
|
@@ -8022,7 +8048,7 @@ var RatingComponent = ({
|
|
|
8022
8048
|
size: "large"
|
|
8023
8049
|
}
|
|
8024
8050
|
) }),
|
|
8025
|
-
/* @__PURE__ */ (0,
|
|
8051
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
|
|
8026
8052
|
RatingButton,
|
|
8027
8053
|
{
|
|
8028
8054
|
htmlProps: { "aria-label": thumbDownTooltip },
|
|
@@ -8037,7 +8063,7 @@ var RatingComponent = ({
|
|
|
8037
8063
|
};
|
|
8038
8064
|
|
|
8039
8065
|
// src/components/Feedback/Feedback.tsx
|
|
8040
|
-
var
|
|
8066
|
+
var import_jsx_runtime217 = require("react/jsx-runtime");
|
|
8041
8067
|
var Feedback = ({
|
|
8042
8068
|
layout = "vertical",
|
|
8043
8069
|
ratingLabel = "Hva syns du om tjenesten?",
|
|
@@ -8082,7 +8108,7 @@ var Feedback = ({
|
|
|
8082
8108
|
isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
|
|
8083
8109
|
};
|
|
8084
8110
|
if (rating === null && !isFeedbackSubmitted) {
|
|
8085
|
-
return /* @__PURE__ */ (0,
|
|
8111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
8086
8112
|
RatingComponent,
|
|
8087
8113
|
{
|
|
8088
8114
|
layout,
|
|
@@ -8095,7 +8121,7 @@ var Feedback = ({
|
|
|
8095
8121
|
);
|
|
8096
8122
|
}
|
|
8097
8123
|
if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
|
|
8098
|
-
return /* @__PURE__ */ (0,
|
|
8124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
8099
8125
|
CommentComponent,
|
|
8100
8126
|
{
|
|
8101
8127
|
rating,
|
|
@@ -8109,7 +8135,7 @@ var Feedback = ({
|
|
|
8109
8135
|
}
|
|
8110
8136
|
);
|
|
8111
8137
|
}
|
|
8112
|
-
return /* @__PURE__ */ (0,
|
|
8138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Paragraph, { children: submittedTitle });
|
|
8113
8139
|
};
|
|
8114
8140
|
|
|
8115
8141
|
// src/components/FileUploader/FileUploader.tsx
|
|
@@ -8152,7 +8178,7 @@ var errorsTokens = {
|
|
|
8152
8178
|
};
|
|
8153
8179
|
|
|
8154
8180
|
// src/components/FileUploader/ErrorList.tsx
|
|
8155
|
-
var
|
|
8181
|
+
var import_jsx_runtime218 = require("react/jsx-runtime");
|
|
8156
8182
|
var MessageContainer = import_styled_components53.default.div`
|
|
8157
8183
|
display: flex;
|
|
8158
8184
|
flex-direction: column;
|
|
@@ -8163,8 +8189,8 @@ var ErrorList = (props) => {
|
|
|
8163
8189
|
if (errors.length < 1) {
|
|
8164
8190
|
return null;
|
|
8165
8191
|
}
|
|
8166
|
-
return /* @__PURE__ */ (0,
|
|
8167
|
-
return /* @__PURE__ */ (0,
|
|
8192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(MessageContainer, { children: errors.map(({ id, message: message2 }) => {
|
|
8193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
|
|
8168
8194
|
InputMessage,
|
|
8169
8195
|
{
|
|
8170
8196
|
id,
|
|
@@ -8178,7 +8204,7 @@ var ErrorList = (props) => {
|
|
|
8178
8204
|
|
|
8179
8205
|
// src/components/FileUploader/File.tsx
|
|
8180
8206
|
var import_styled_components54 = __toESM(require("styled-components"));
|
|
8181
|
-
var
|
|
8207
|
+
var import_jsx_runtime219 = require("react/jsx-runtime");
|
|
8182
8208
|
var FileWrapper = import_styled_components54.default.li``;
|
|
8183
8209
|
var FileNameWrapper = import_styled_components54.default.span`
|
|
8184
8210
|
word-break: break-all;
|
|
@@ -8204,10 +8230,10 @@ var File = (props) => {
|
|
|
8204
8230
|
id: derivativeIdGenerator(parentId, `file-${index}-error-${errorIndex}`),
|
|
8205
8231
|
message: e
|
|
8206
8232
|
}));
|
|
8207
|
-
return /* @__PURE__ */ (0,
|
|
8208
|
-
/* @__PURE__ */ (0,
|
|
8209
|
-
/* @__PURE__ */ (0,
|
|
8210
|
-
/* @__PURE__ */ (0,
|
|
8233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(FileWrapper, { children: [
|
|
8234
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(FileElement, { ...props, children: [
|
|
8235
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(FileNameWrapper, { children: stateFile.file.name }),
|
|
8236
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
8211
8237
|
RemoveFileButton,
|
|
8212
8238
|
{
|
|
8213
8239
|
size: "small",
|
|
@@ -8227,7 +8253,7 @@ var File = (props) => {
|
|
|
8227
8253
|
}
|
|
8228
8254
|
)
|
|
8229
8255
|
] }),
|
|
8230
|
-
/* @__PURE__ */ (0,
|
|
8256
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ErrorList, { errors: errorsList })
|
|
8231
8257
|
] }, stateFile.file.name);
|
|
8232
8258
|
};
|
|
8233
8259
|
|
|
@@ -8520,7 +8546,7 @@ var useFileUploader = (props) => {
|
|
|
8520
8546
|
|
|
8521
8547
|
// src/components/VisuallyHidden/VisuallyHidden.tsx
|
|
8522
8548
|
var import_styled_components55 = __toESM(require("styled-components"));
|
|
8523
|
-
var
|
|
8549
|
+
var import_jsx_runtime220 = require("react/jsx-runtime");
|
|
8524
8550
|
var Wrapper2 = import_styled_components55.default.span`
|
|
8525
8551
|
position: absolute;
|
|
8526
8552
|
width: 1px;
|
|
@@ -8537,14 +8563,14 @@ var Wrapper2 = import_styled_components55.default.span`
|
|
|
8537
8563
|
var VisuallyHidden = (props) => {
|
|
8538
8564
|
const { children, id, className, htmlProps, as, ...rest } = props;
|
|
8539
8565
|
if (as === "div") {
|
|
8540
|
-
return /* @__PURE__ */ (0,
|
|
8566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), as, children });
|
|
8541
8567
|
}
|
|
8542
|
-
return /* @__PURE__ */ (0,
|
|
8568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), children });
|
|
8543
8569
|
};
|
|
8544
8570
|
VisuallyHidden.displayName = "VisuallyHidden";
|
|
8545
8571
|
|
|
8546
8572
|
// src/components/FileUploader/FileUploader.tsx
|
|
8547
|
-
var
|
|
8573
|
+
var import_jsx_runtime221 = require("react/jsx-runtime");
|
|
8548
8574
|
var defaultWidth2 = "320px";
|
|
8549
8575
|
var Wrapper3 = import_styled_components56.default.div`
|
|
8550
8576
|
width: ${({ width }) => width ? width : defaultWidth2};
|
|
@@ -8608,7 +8634,7 @@ var FileUploader = (props) => {
|
|
|
8608
8634
|
const hasRootErrors = rootErrors.length > 0;
|
|
8609
8635
|
const showRequiredMarker = required;
|
|
8610
8636
|
const tipId = derivativeIdGenerator(uniqueId, "tip");
|
|
8611
|
-
const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0,
|
|
8637
|
+
const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
8612
8638
|
File,
|
|
8613
8639
|
{
|
|
8614
8640
|
parentId: uniqueId,
|
|
@@ -8623,7 +8649,7 @@ var FileUploader = (props) => {
|
|
|
8623
8649
|
id: derivativeIdGenerator(uniqueId, `error-${index}`),
|
|
8624
8650
|
message: e
|
|
8625
8651
|
}));
|
|
8626
|
-
const button3 = /* @__PURE__ */ (0,
|
|
8652
|
+
const button3 = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
8627
8653
|
Button,
|
|
8628
8654
|
{
|
|
8629
8655
|
...getButtonProps(),
|
|
@@ -8643,17 +8669,17 @@ var FileUploader = (props) => {
|
|
|
8643
8669
|
children: "Velg fil"
|
|
8644
8670
|
}
|
|
8645
8671
|
);
|
|
8646
|
-
return /* @__PURE__ */ (0,
|
|
8647
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
8648
|
-
hasTip && /* @__PURE__ */ (0,
|
|
8649
|
-
withDragAndDrop ? /* @__PURE__ */ (0,
|
|
8672
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(Wrapper3, { width, children: [
|
|
8673
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Label, { showRequiredStyling: showRequiredMarker, htmlFor: uniqueId, children: label3 }),
|
|
8674
|
+
hasTip && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
|
|
8675
|
+
withDragAndDrop ? /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
|
|
8650
8676
|
Root,
|
|
8651
8677
|
{
|
|
8652
8678
|
...getRootProps(),
|
|
8653
8679
|
$isDragActive: isDragActive,
|
|
8654
8680
|
$hasRootErrors: hasRootErrors,
|
|
8655
8681
|
children: [
|
|
8656
|
-
/* @__PURE__ */ (0,
|
|
8682
|
+
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
8657
8683
|
FileUploaderInput,
|
|
8658
8684
|
{
|
|
8659
8685
|
...getInputProps(),
|
|
@@ -8662,16 +8688,16 @@ var FileUploader = (props) => {
|
|
|
8662
8688
|
),
|
|
8663
8689
|
"Dra og slipp filer her eller",
|
|
8664
8690
|
" ",
|
|
8665
|
-
/* @__PURE__ */ (0,
|
|
8691
|
+
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
|
|
8666
8692
|
button3
|
|
8667
8693
|
]
|
|
8668
8694
|
}
|
|
8669
|
-
) : /* @__PURE__ */ (0,
|
|
8670
|
-
/* @__PURE__ */ (0,
|
|
8695
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(NoZoneContainer, { children: [
|
|
8696
|
+
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(FileUploaderInput, { ...getInputProps() }),
|
|
8671
8697
|
button3
|
|
8672
8698
|
] }),
|
|
8673
|
-
/* @__PURE__ */ (0,
|
|
8674
|
-
/* @__PURE__ */ (0,
|
|
8699
|
+
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ErrorList, { errors: rootErrorsList }),
|
|
8700
|
+
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(FileListElement, { children: fileListElements })
|
|
8675
8701
|
] });
|
|
8676
8702
|
};
|
|
8677
8703
|
FileUploader.displayName = "FileUploader";
|
|
@@ -8741,7 +8767,7 @@ var globalMessageTokens = {
|
|
|
8741
8767
|
};
|
|
8742
8768
|
|
|
8743
8769
|
// src/components/GlobalMessage/GlobalMessage.tsx
|
|
8744
|
-
var
|
|
8770
|
+
var import_jsx_runtime222 = require("react/jsx-runtime");
|
|
8745
8771
|
var { container: container8, contentContainer: contentContainer4, icon: icon4 } = globalMessageTokens;
|
|
8746
8772
|
var Container7 = import_styled_components57.default.div`
|
|
8747
8773
|
display: flex;
|
|
@@ -8785,24 +8811,24 @@ var GlobalMessage = (0, import_react63.forwardRef)(
|
|
|
8785
8811
|
...rest
|
|
8786
8812
|
} = props;
|
|
8787
8813
|
const [isClosed, setClosed] = (0, import_react63.useState)(false);
|
|
8788
|
-
return !isClosed ? /* @__PURE__ */ (0,
|
|
8814
|
+
return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
|
|
8789
8815
|
Container7,
|
|
8790
8816
|
{
|
|
8791
8817
|
ref,
|
|
8792
8818
|
$purpose: purpose,
|
|
8793
8819
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
8794
8820
|
children: [
|
|
8795
|
-
/* @__PURE__ */ (0,
|
|
8796
|
-
/* @__PURE__ */ (0,
|
|
8821
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(ContentContainer2, { $closable: closable, children: [
|
|
8822
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
8797
8823
|
MessageIconWrapper,
|
|
8798
8824
|
{
|
|
8799
8825
|
icon: purposeVariants[purpose].icon,
|
|
8800
8826
|
color: icon4[purpose].color
|
|
8801
8827
|
}
|
|
8802
8828
|
),
|
|
8803
|
-
children != null ? children : /* @__PURE__ */ (0,
|
|
8829
|
+
children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Typography, { as: "span", children: message2 })
|
|
8804
8830
|
] }),
|
|
8805
|
-
/* @__PURE__ */ (0,
|
|
8831
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(ControlsContainer, { children: closable && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
8806
8832
|
Button,
|
|
8807
8833
|
{
|
|
8808
8834
|
icon: CloseIcon,
|
|
@@ -8930,7 +8956,7 @@ var gridTokens2 = {
|
|
|
8930
8956
|
};
|
|
8931
8957
|
|
|
8932
8958
|
// src/components/Grid/Grid.tsx
|
|
8933
|
-
var
|
|
8959
|
+
var import_jsx_runtime223 = require("react/jsx-runtime");
|
|
8934
8960
|
var getHooksGridStyling = (screenSize, maxWidth, rowGap) => {
|
|
8935
8961
|
const tokens4 = gridTokens2[screenSize].grid;
|
|
8936
8962
|
return {
|
|
@@ -8961,14 +8987,14 @@ var StyledGrid = import_styled_components58.default.div.withConfig({
|
|
|
8961
8987
|
var Grid = (props) => {
|
|
8962
8988
|
const { id, className, children, htmlProps, as, ...rest } = props;
|
|
8963
8989
|
const screenSize = useScreenSize();
|
|
8964
|
-
return /* @__PURE__ */ (0,
|
|
8990
|
+
return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(GridContext.Provider, { value: { screenSize }, children: as === "div" ? /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
8965
8991
|
StyledGrid,
|
|
8966
8992
|
{
|
|
8967
8993
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
8968
8994
|
screenSize,
|
|
8969
8995
|
children
|
|
8970
8996
|
}
|
|
8971
|
-
) : /* @__PURE__ */ (0,
|
|
8997
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
8972
8998
|
StyledGrid,
|
|
8973
8999
|
{
|
|
8974
9000
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -8982,7 +9008,7 @@ Grid.displayName = "Grid";
|
|
|
8982
9008
|
|
|
8983
9009
|
// src/components/Grid/GridChild.tsx
|
|
8984
9010
|
var import_styled_components59 = __toESM(require("styled-components"));
|
|
8985
|
-
var
|
|
9011
|
+
var import_jsx_runtime224 = require("react/jsx-runtime");
|
|
8986
9012
|
var isRelativeGridColumn = (type) => {
|
|
8987
9013
|
return type === "all" || type === "firstHalf" || type === "secondHalf";
|
|
8988
9014
|
};
|
|
@@ -9008,7 +9034,7 @@ var StyledGridChild = import_styled_components59.default.div.withConfig({
|
|
|
9008
9034
|
var GridChild = (props) => {
|
|
9009
9035
|
const { id, className, htmlProps, children, ...rest } = props;
|
|
9010
9036
|
const { screenSize } = useGridContext();
|
|
9011
|
-
return /* @__PURE__ */ (0,
|
|
9037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
9012
9038
|
StyledGridChild,
|
|
9013
9039
|
{
|
|
9014
9040
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -9022,7 +9048,7 @@ GridChild.displayName = "GridChild";
|
|
|
9022
9048
|
// src/components/InlineButton/InlineButton.tsx
|
|
9023
9049
|
var import_react65 = require("react");
|
|
9024
9050
|
var import_styled_components60 = __toESM(require("styled-components"));
|
|
9025
|
-
var
|
|
9051
|
+
var import_jsx_runtime225 = require("react/jsx-runtime");
|
|
9026
9052
|
var StyledInlineButton = import_styled_components60.default.button`
|
|
9027
9053
|
${normalizeButton}
|
|
9028
9054
|
${removeButtonStyling}
|
|
@@ -9032,7 +9058,7 @@ var StyledInlineButton = import_styled_components60.default.button`
|
|
|
9032
9058
|
var InlineButton = (0, import_react65.forwardRef)(
|
|
9033
9059
|
(props, ref) => {
|
|
9034
9060
|
const { children, ...rest } = props;
|
|
9035
|
-
return /* @__PURE__ */ (0,
|
|
9061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(StyledInlineButton, { ref, ...rest, children });
|
|
9036
9062
|
}
|
|
9037
9063
|
);
|
|
9038
9064
|
|
|
@@ -9041,7 +9067,7 @@ var import_react68 = require("react");
|
|
|
9041
9067
|
|
|
9042
9068
|
// src/components/InlineEdit/InlineEdit.tsx
|
|
9043
9069
|
var import_react66 = require("react");
|
|
9044
|
-
var
|
|
9070
|
+
var import_jsx_runtime226 = require("react/jsx-runtime");
|
|
9045
9071
|
var InlineEdit = (props) => {
|
|
9046
9072
|
const {
|
|
9047
9073
|
emptiable,
|
|
@@ -9091,7 +9117,7 @@ var InlineEdit = (props) => {
|
|
|
9091
9117
|
emptiable
|
|
9092
9118
|
})
|
|
9093
9119
|
);
|
|
9094
|
-
return /* @__PURE__ */ (0,
|
|
9120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(import_jsx_runtime226.Fragment, { children: inputChild });
|
|
9095
9121
|
};
|
|
9096
9122
|
InlineEdit.displayName = "InlineEdit";
|
|
9097
9123
|
|
|
@@ -9168,15 +9194,15 @@ var IconWrapper2 = import_styled_components61.default.span`
|
|
|
9168
9194
|
`;
|
|
9169
9195
|
|
|
9170
9196
|
// src/components/InlineEdit/InlineEdit.utils.tsx
|
|
9171
|
-
var
|
|
9172
|
-
var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0,
|
|
9197
|
+
var import_jsx_runtime227 = require("react/jsx-runtime");
|
|
9198
|
+
var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(VisuallyHidden, { id, as: "span", children: [
|
|
9173
9199
|
"Escape, Enter eller Tab for \xE5 lagre.",
|
|
9174
9200
|
" ",
|
|
9175
9201
|
!emptiable && "Inputfeltet er ikke t\xF8mmbar."
|
|
9176
9202
|
] });
|
|
9177
9203
|
|
|
9178
9204
|
// src/components/InlineEdit/InlineTextArea.tsx
|
|
9179
|
-
var
|
|
9205
|
+
var import_jsx_runtime228 = require("react/jsx-runtime");
|
|
9180
9206
|
var InlineTextArea = (0, import_react67.forwardRef)((props, ref) => {
|
|
9181
9207
|
const {
|
|
9182
9208
|
id,
|
|
@@ -9196,19 +9222,19 @@ var InlineTextArea = (0, import_react67.forwardRef)((props, ref) => {
|
|
|
9196
9222
|
const descId = derivativeIdGenerator(uniqueId, "desc");
|
|
9197
9223
|
const inputRef = (0, import_react67.useRef)(null);
|
|
9198
9224
|
const combinedRef = useCombinedRef(ref, inputRef);
|
|
9199
|
-
return /* @__PURE__ */ (0,
|
|
9200
|
-
/* @__PURE__ */ (0,
|
|
9201
|
-
!isEditing && !hideIcon && /* @__PURE__ */ (0,
|
|
9225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(OuterInputContainer, { $width: width, children: [
|
|
9226
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(InputContainer, { children: [
|
|
9227
|
+
!isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
9202
9228
|
IconWrapper2,
|
|
9203
9229
|
{
|
|
9204
9230
|
onClick: () => {
|
|
9205
9231
|
var _a;
|
|
9206
9232
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
9207
9233
|
},
|
|
9208
|
-
children: /* @__PURE__ */ (0,
|
|
9234
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
|
|
9209
9235
|
}
|
|
9210
9236
|
),
|
|
9211
|
-
/* @__PURE__ */ (0,
|
|
9237
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
9212
9238
|
StyledInlineTextArea,
|
|
9213
9239
|
{
|
|
9214
9240
|
...rest,
|
|
@@ -9232,12 +9258,12 @@ var InlineTextArea = (0, import_react67.forwardRef)((props, ref) => {
|
|
|
9232
9258
|
InlineTextArea.displayName = "InlineTextArea";
|
|
9233
9259
|
|
|
9234
9260
|
// src/components/InlineEdit/InlineEditTextArea.tsx
|
|
9235
|
-
var
|
|
9261
|
+
var import_jsx_runtime229 = require("react/jsx-runtime");
|
|
9236
9262
|
var InlineEditTextArea = (0, import_react68.forwardRef)((props, ref) => {
|
|
9237
9263
|
const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
|
|
9238
9264
|
const textareaRef = (0, import_react68.useRef)(null);
|
|
9239
9265
|
const combinedRef = useCombinedRef(ref, textareaRef);
|
|
9240
|
-
return /* @__PURE__ */ (0,
|
|
9266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
9241
9267
|
InlineEdit,
|
|
9242
9268
|
{
|
|
9243
9269
|
onSetValue,
|
|
@@ -9247,7 +9273,7 @@ var InlineEditTextArea = (0, import_react68.forwardRef)((props, ref) => {
|
|
|
9247
9273
|
onFocus,
|
|
9248
9274
|
onChange,
|
|
9249
9275
|
onBlur,
|
|
9250
|
-
children: /* @__PURE__ */ (0,
|
|
9276
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(InlineTextArea, { ref: combinedRef, ...rest })
|
|
9251
9277
|
}
|
|
9252
9278
|
);
|
|
9253
9279
|
});
|
|
@@ -9257,7 +9283,7 @@ var import_react70 = require("react");
|
|
|
9257
9283
|
|
|
9258
9284
|
// src/components/InlineEdit/InlineInput.tsx
|
|
9259
9285
|
var import_react69 = require("react");
|
|
9260
|
-
var
|
|
9286
|
+
var import_jsx_runtime230 = require("react/jsx-runtime");
|
|
9261
9287
|
var InlineInput = (0, import_react69.forwardRef)(
|
|
9262
9288
|
(props, ref) => {
|
|
9263
9289
|
const {
|
|
@@ -9280,19 +9306,19 @@ var InlineInput = (0, import_react69.forwardRef)(
|
|
|
9280
9306
|
const descId = derivativeIdGenerator(uniqueId, "desc");
|
|
9281
9307
|
const inputRef = (0, import_react69.useRef)(null);
|
|
9282
9308
|
const combinedRef = useCombinedRef(ref, inputRef);
|
|
9283
|
-
return /* @__PURE__ */ (0,
|
|
9284
|
-
/* @__PURE__ */ (0,
|
|
9285
|
-
!isEditing && !hideIcon && /* @__PURE__ */ (0,
|
|
9309
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(OuterInputContainer, { $width: width, children: [
|
|
9310
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(InputContainer, { children: [
|
|
9311
|
+
!isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
9286
9312
|
IconWrapper2,
|
|
9287
9313
|
{
|
|
9288
9314
|
onClick: () => {
|
|
9289
9315
|
var _a;
|
|
9290
9316
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
9291
9317
|
},
|
|
9292
|
-
children: /* @__PURE__ */ (0,
|
|
9318
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
|
|
9293
9319
|
}
|
|
9294
9320
|
),
|
|
9295
|
-
/* @__PURE__ */ (0,
|
|
9321
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
9296
9322
|
StyledInlineInput,
|
|
9297
9323
|
{
|
|
9298
9324
|
...rest,
|
|
@@ -9318,12 +9344,12 @@ var InlineInput = (0, import_react69.forwardRef)(
|
|
|
9318
9344
|
InlineInput.displayName = "InlineInput";
|
|
9319
9345
|
|
|
9320
9346
|
// src/components/InlineEdit/InlineEditInput.tsx
|
|
9321
|
-
var
|
|
9347
|
+
var import_jsx_runtime231 = require("react/jsx-runtime");
|
|
9322
9348
|
var InlineEditInput = (0, import_react70.forwardRef)((props, ref) => {
|
|
9323
9349
|
const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
|
|
9324
9350
|
const inputRef = (0, import_react70.useRef)(null);
|
|
9325
9351
|
const combinedRef = useCombinedRef(ref, inputRef);
|
|
9326
|
-
return /* @__PURE__ */ (0,
|
|
9352
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
9327
9353
|
InlineEdit,
|
|
9328
9354
|
{
|
|
9329
9355
|
onSetValue,
|
|
@@ -9333,7 +9359,7 @@ var InlineEditInput = (0, import_react70.forwardRef)((props, ref) => {
|
|
|
9333
9359
|
onFocus,
|
|
9334
9360
|
onChange,
|
|
9335
9361
|
onBlur,
|
|
9336
|
-
children: /* @__PURE__ */ (0,
|
|
9362
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(InlineInput, { ...rest, ref: combinedRef })
|
|
9337
9363
|
}
|
|
9338
9364
|
);
|
|
9339
9365
|
});
|
|
@@ -9466,7 +9492,7 @@ function getNavTokens({ active }) {
|
|
|
9466
9492
|
}
|
|
9467
9493
|
|
|
9468
9494
|
// src/components/InternalHeader/NavigationItem.tsx
|
|
9469
|
-
var
|
|
9495
|
+
var import_jsx_runtime232 = require("react/jsx-runtime");
|
|
9470
9496
|
var Link3 = import_styled_components63.default.a`
|
|
9471
9497
|
${getFontStyling("bodySans02")}
|
|
9472
9498
|
text-decoration: none;
|
|
@@ -9495,7 +9521,7 @@ var Link3 = import_styled_components63.default.a`
|
|
|
9495
9521
|
}
|
|
9496
9522
|
`;
|
|
9497
9523
|
var NavigationItem2 = (0, import_react71.forwardRef)(({ title: title3, isCurrent, ...rest }, ref) => {
|
|
9498
|
-
return /* @__PURE__ */ (0,
|
|
9524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
9499
9525
|
Link3,
|
|
9500
9526
|
{
|
|
9501
9527
|
...rest,
|
|
@@ -9508,7 +9534,7 @@ var NavigationItem2 = (0, import_react71.forwardRef)(({ title: title3, isCurrent
|
|
|
9508
9534
|
});
|
|
9509
9535
|
|
|
9510
9536
|
// src/components/InternalHeader/InternalHeader.tsx
|
|
9511
|
-
var
|
|
9537
|
+
var import_jsx_runtime233 = require("react/jsx-runtime");
|
|
9512
9538
|
var InternalHeader = (props) => {
|
|
9513
9539
|
const {
|
|
9514
9540
|
applicationDesc,
|
|
@@ -9541,10 +9567,10 @@ var InternalHeader = (props) => {
|
|
|
9541
9567
|
const hasNavigationElements = !!navigationElements && navigationElements.length > 0;
|
|
9542
9568
|
const hasContextMenuElements = !!contextMenuElements && contextMenuElements.length > 0;
|
|
9543
9569
|
const hasNavInContextMenu = smallScreen && hasNavigationElements;
|
|
9544
|
-
const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0,
|
|
9570
|
+
const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(NavigationList, { children: navigationElements.map((item, index) => {
|
|
9545
9571
|
const { href, ...rest2 } = item;
|
|
9546
9572
|
const isCurrent = href === currentPage;
|
|
9547
|
-
return /* @__PURE__ */ (0,
|
|
9573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(NavLi, { children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
9548
9574
|
NavigationItem2,
|
|
9549
9575
|
{
|
|
9550
9576
|
href,
|
|
@@ -9555,18 +9581,18 @@ var InternalHeader = (props) => {
|
|
|
9555
9581
|
) }, index);
|
|
9556
9582
|
}) }) }) : null;
|
|
9557
9583
|
const hasContextMenu = hasContextMenuElements || !!userProps || hasNavInContextMenu;
|
|
9558
|
-
return /* @__PURE__ */ (0,
|
|
9584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
|
|
9559
9585
|
Bar2,
|
|
9560
9586
|
{
|
|
9561
9587
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
9562
9588
|
$hasNavigation: !!navigation2,
|
|
9563
9589
|
children: [
|
|
9564
|
-
/* @__PURE__ */ (0,
|
|
9565
|
-
/* @__PURE__ */ (0,
|
|
9566
|
-
(hasContextMenu || navigation2 !== null) && /* @__PURE__ */ (0,
|
|
9590
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(AppNameLink, { href: applicationHref, rel: "noopener noreferrer", children: applicationName }) : applicationName }),
|
|
9591
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
|
|
9592
|
+
(hasContextMenu || navigation2 !== null) && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(BarSeparator, {}),
|
|
9567
9593
|
navigation2,
|
|
9568
|
-
hasContextMenu && /* @__PURE__ */ (0,
|
|
9569
|
-
/* @__PURE__ */ (0,
|
|
9594
|
+
hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(ContextMenuGroup, { children: [
|
|
9595
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
9570
9596
|
Button,
|
|
9571
9597
|
{
|
|
9572
9598
|
ref: buttonRef,
|
|
@@ -9579,7 +9605,7 @@ var InternalHeader = (props) => {
|
|
|
9579
9605
|
"aria-label": "\xE5pne meny"
|
|
9580
9606
|
}
|
|
9581
9607
|
),
|
|
9582
|
-
/* @__PURE__ */ (0,
|
|
9608
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
9583
9609
|
StyledOverflowMenu,
|
|
9584
9610
|
{
|
|
9585
9611
|
isOpen: !contextMenuIsClosed,
|
|
@@ -9645,7 +9671,7 @@ var listTokens = {
|
|
|
9645
9671
|
};
|
|
9646
9672
|
|
|
9647
9673
|
// src/components/List/List.tsx
|
|
9648
|
-
var
|
|
9674
|
+
var import_jsx_runtime234 = require("react/jsx-runtime");
|
|
9649
9675
|
var { list: list6, listItem: listItem4, bullet: bullet2 } = listTokens;
|
|
9650
9676
|
var StyledList = import_styled_components64.default.ul`
|
|
9651
9677
|
margin: ${list6.base.margin};
|
|
@@ -9711,7 +9737,7 @@ var List2 = (0, import_react73.forwardRef)(
|
|
|
9711
9737
|
...rest
|
|
9712
9738
|
} = props;
|
|
9713
9739
|
const as = listType === "ordered" ? "ol" : "ul";
|
|
9714
|
-
return /* @__PURE__ */ (0,
|
|
9740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
9715
9741
|
StyledList,
|
|
9716
9742
|
{
|
|
9717
9743
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -9729,13 +9755,13 @@ List2.displayName = "List";
|
|
|
9729
9755
|
// src/components/List/ListItem.tsx
|
|
9730
9756
|
var import_react74 = require("react");
|
|
9731
9757
|
var import_styled_components65 = __toESM(require("styled-components"));
|
|
9732
|
-
var
|
|
9758
|
+
var import_jsx_runtime235 = require("react/jsx-runtime");
|
|
9733
9759
|
var StyledListItem = import_styled_components65.default.li`
|
|
9734
9760
|
line-height: ${listTokens.listItem.lineHeight};
|
|
9735
9761
|
`;
|
|
9736
9762
|
var ListItem2 = (0, import_react74.forwardRef)(
|
|
9737
9763
|
({ children, ...rest }, ref) => {
|
|
9738
|
-
return /* @__PURE__ */ (0,
|
|
9764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(StyledListItem, { ref, ...rest, children });
|
|
9739
9765
|
}
|
|
9740
9766
|
);
|
|
9741
9767
|
ListItem2.displayName = "ListItem";
|
|
@@ -9842,7 +9868,7 @@ var localMessageTokens = {
|
|
|
9842
9868
|
};
|
|
9843
9869
|
|
|
9844
9870
|
// src/components/LocalMessage/LocalMessage.tsx
|
|
9845
|
-
var
|
|
9871
|
+
var import_jsx_runtime236 = require("react/jsx-runtime");
|
|
9846
9872
|
var { container: container10, content: content4, icon: icon6, purposeVariants: purposeVariants3 } = localMessageTokens;
|
|
9847
9873
|
var Container8 = import_styled_components66.default.div.withConfig({
|
|
9848
9874
|
shouldForwardProp: (prop) => {
|
|
@@ -9931,18 +9957,18 @@ var LocalMessage = (0, import_react75.forwardRef)(
|
|
|
9931
9957
|
ref
|
|
9932
9958
|
};
|
|
9933
9959
|
if (isClosed) {
|
|
9934
|
-
return /* @__PURE__ */ (0,
|
|
9960
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(import_jsx_runtime236.Fragment, {});
|
|
9935
9961
|
}
|
|
9936
|
-
return /* @__PURE__ */ (0,
|
|
9937
|
-
/* @__PURE__ */ (0,
|
|
9962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Container8, { ...containerProps, children: [
|
|
9963
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
9938
9964
|
MessageIconWrapper2,
|
|
9939
9965
|
{
|
|
9940
9966
|
icon: purposeVariants3[purpose].icon,
|
|
9941
9967
|
color: icon6[purpose].color
|
|
9942
9968
|
}
|
|
9943
9969
|
),
|
|
9944
|
-
/* @__PURE__ */ (0,
|
|
9945
|
-
closable && /* @__PURE__ */ (0,
|
|
9970
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(TextContainer2, { children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Typography, { as: "span", children: message2 }) }),
|
|
9971
|
+
closable && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
9946
9972
|
CloseButton,
|
|
9947
9973
|
{
|
|
9948
9974
|
icon: CloseIcon,
|
|
@@ -10033,7 +10059,7 @@ var modalTokens = {
|
|
|
10033
10059
|
};
|
|
10034
10060
|
|
|
10035
10061
|
// src/components/Modal/Modal.tsx
|
|
10036
|
-
var
|
|
10062
|
+
var import_jsx_runtime237 = require("react/jsx-runtime");
|
|
10037
10063
|
var { container: container12, contentContainer: contentContainer6 } = modalTokens;
|
|
10038
10064
|
var Container9 = (0, import_styled_components68.default)(Paper)`
|
|
10039
10065
|
display: flex;
|
|
@@ -10096,7 +10122,7 @@ var Modal = (0, import_react76.forwardRef)((props, ref) => {
|
|
|
10096
10122
|
useOnKeyDown(["Escape", "Esc"], () => handleClose());
|
|
10097
10123
|
const hasTransitionedIn = useMountTransition(isOpen, 200);
|
|
10098
10124
|
return isOpen || hasTransitionedIn ? (0, import_react_dom3.createPortal)(
|
|
10099
|
-
/* @__PURE__ */ (0,
|
|
10125
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Backdrop, { isOpen: hasTransitionedIn && isOpen, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
10100
10126
|
Container9,
|
|
10101
10127
|
{
|
|
10102
10128
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -10109,11 +10135,11 @@ var Modal = (0, import_react76.forwardRef)((props, ref) => {
|
|
|
10109
10135
|
id: modalId,
|
|
10110
10136
|
elevation: 4,
|
|
10111
10137
|
children: [
|
|
10112
|
-
/* @__PURE__ */ (0,
|
|
10113
|
-
header3 && /* @__PURE__ */ (0,
|
|
10138
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(ContentContainer3, { children: [
|
|
10139
|
+
header3 && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(HeaderContainer3, { id: headerId, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
|
|
10114
10140
|
children
|
|
10115
10141
|
] }),
|
|
10116
|
-
onClose && /* @__PURE__ */ (0,
|
|
10142
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
|
|
10117
10143
|
StyledButton4,
|
|
10118
10144
|
{
|
|
10119
10145
|
size: "small",
|
|
@@ -10135,7 +10161,7 @@ Modal.displayName = "Modal";
|
|
|
10135
10161
|
// src/components/Modal/ModalBody.tsx
|
|
10136
10162
|
var import_react77 = require("react");
|
|
10137
10163
|
var import_styled_components69 = __toESM(require("styled-components"));
|
|
10138
|
-
var
|
|
10164
|
+
var import_jsx_runtime238 = require("react/jsx-runtime");
|
|
10139
10165
|
var Container10 = import_styled_components69.default.div``;
|
|
10140
10166
|
var ModalBody = (0, import_react77.forwardRef)(
|
|
10141
10167
|
(props, ref) => {
|
|
@@ -10144,7 +10170,7 @@ var ModalBody = (0, import_react77.forwardRef)(
|
|
|
10144
10170
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
10145
10171
|
ref
|
|
10146
10172
|
};
|
|
10147
|
-
return scrollable ? /* @__PURE__ */ (0,
|
|
10173
|
+
return scrollable ? /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Container10, { ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ScrollableContainer, { contentHeight: height, children }) }) : /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Container10, { ...containerProps, children });
|
|
10148
10174
|
}
|
|
10149
10175
|
);
|
|
10150
10176
|
ModalBody.displayName = "ModalBody";
|
|
@@ -10152,7 +10178,7 @@ ModalBody.displayName = "ModalBody";
|
|
|
10152
10178
|
// src/components/Modal/ModalActions.tsx
|
|
10153
10179
|
var import_react78 = require("react");
|
|
10154
10180
|
var import_styled_components70 = __toESM(require("styled-components"));
|
|
10155
|
-
var
|
|
10181
|
+
var import_jsx_runtime239 = require("react/jsx-runtime");
|
|
10156
10182
|
var Container11 = import_styled_components70.default.div`
|
|
10157
10183
|
display: flex;
|
|
10158
10184
|
flex-wrap: wrap;
|
|
@@ -10164,7 +10190,7 @@ var ModalActions = (0, import_react78.forwardRef)(
|
|
|
10164
10190
|
ref,
|
|
10165
10191
|
...rest
|
|
10166
10192
|
};
|
|
10167
|
-
return /* @__PURE__ */ (0,
|
|
10193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Container11, { ...containerProps, children });
|
|
10168
10194
|
}
|
|
10169
10195
|
);
|
|
10170
10196
|
ModalActions.displayName = "ModalActions";
|
|
@@ -10662,7 +10688,7 @@ var getCustomStyles = (size2) => ({
|
|
|
10662
10688
|
|
|
10663
10689
|
// src/components/Select/SelectComponents.tsx
|
|
10664
10690
|
var import_react_select = require("react-select");
|
|
10665
|
-
var
|
|
10691
|
+
var import_jsx_runtime240 = require("react/jsx-runtime");
|
|
10666
10692
|
var {
|
|
10667
10693
|
Option,
|
|
10668
10694
|
NoOptionsMessage,
|
|
@@ -10673,17 +10699,17 @@ var {
|
|
|
10673
10699
|
MultiValueRemove,
|
|
10674
10700
|
Control
|
|
10675
10701
|
} = import_react_select.components;
|
|
10676
|
-
var DDSOption = (props, componentSize) => /* @__PURE__ */ (0,
|
|
10677
|
-
props.isSelected && /* @__PURE__ */ (0,
|
|
10702
|
+
var DDSOption = (props, componentSize) => /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(Option, { ...props, children: [
|
|
10703
|
+
props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
|
|
10678
10704
|
props.children
|
|
10679
10705
|
] });
|
|
10680
|
-
var CustomOption = (props, Element) => /* @__PURE__ */ (0,
|
|
10681
|
-
var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0,
|
|
10682
|
-
var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0,
|
|
10683
|
-
var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0,
|
|
10684
|
-
var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0,
|
|
10685
|
-
var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ (0,
|
|
10686
|
-
var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0,
|
|
10706
|
+
var CustomOption = (props, Element) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Option, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Element, { ...props }) });
|
|
10707
|
+
var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(InnerSingleValue, { id, children: Element ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Element, { ...props }) : props.children }) });
|
|
10708
|
+
var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
|
|
10709
|
+
var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
|
|
10710
|
+
var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
|
|
10711
|
+
var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(DropdownIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) }) });
|
|
10712
|
+
var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
|
|
10687
10713
|
Input2,
|
|
10688
10714
|
{
|
|
10689
10715
|
...props,
|
|
@@ -10691,13 +10717,13 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, impo
|
|
|
10691
10717
|
"aria-describedby": ariaDescribedby
|
|
10692
10718
|
}
|
|
10693
10719
|
);
|
|
10694
|
-
var DDSControl = (props, componentSize, icon11) => /* @__PURE__ */ (0,
|
|
10695
|
-
icon11 && /* @__PURE__ */ (0,
|
|
10720
|
+
var DDSControl = (props, componentSize, icon11) => /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(Control, { ...props, children: [
|
|
10721
|
+
icon11 && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(StyledIcon3, { icon: icon11, iconSize: getFormInputIconSize(componentSize) }),
|
|
10696
10722
|
props.children
|
|
10697
10723
|
] });
|
|
10698
10724
|
|
|
10699
10725
|
// src/components/Select/Select.tsx
|
|
10700
|
-
var
|
|
10726
|
+
var import_jsx_runtime241 = require("react/jsx-runtime");
|
|
10701
10727
|
var defaultWidth4 = "320px";
|
|
10702
10728
|
var getPlaceholder = (placeholder3, isMulti) => placeholder3 ? placeholder3 : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
|
|
10703
10729
|
function SelectInner(props, ref) {
|
|
@@ -10784,9 +10810,9 @@ function SelectInner(props, ref) {
|
|
|
10784
10810
|
menuPortalTarget: document == null ? void 0 : document.body,
|
|
10785
10811
|
...rest
|
|
10786
10812
|
};
|
|
10787
|
-
return /* @__PURE__ */ (0,
|
|
10788
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
10789
|
-
/* @__PURE__ */ (0,
|
|
10813
|
+
return /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(Container12, { ...containerProps, children: [
|
|
10814
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
|
|
10815
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
|
|
10790
10816
|
renderInputMessage(tip, tipId, errorMessage, errorMessageId)
|
|
10791
10817
|
] });
|
|
10792
10818
|
}
|
|
@@ -10797,7 +10823,7 @@ Select.displayName = "Select";
|
|
|
10797
10823
|
var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
|
|
10798
10824
|
|
|
10799
10825
|
// src/components/Pagination/Pagination.tsx
|
|
10800
|
-
var
|
|
10826
|
+
var import_jsx_runtime242 = require("react/jsx-runtime");
|
|
10801
10827
|
var { outerContainer: outerContainer4, indicatorsContainer: indicatorsContainer2, truncationIcon: truncationIcon2, list: list8 } = paginationTokens;
|
|
10802
10828
|
var Nav = import_styled_components72.default.nav`
|
|
10803
10829
|
display: flex;
|
|
@@ -10877,7 +10903,7 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10877
10903
|
};
|
|
10878
10904
|
const listItems = items.length > 0 ? items.map((item, i) => {
|
|
10879
10905
|
const isActive = item === activePage;
|
|
10880
|
-
return /* @__PURE__ */ (0,
|
|
10906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { children: item !== "truncator" ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10881
10907
|
Button,
|
|
10882
10908
|
{
|
|
10883
10909
|
purpose: isActive ? "primary" : "secondary",
|
|
@@ -10889,7 +10915,7 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10889
10915
|
"aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
|
|
10890
10916
|
children: item
|
|
10891
10917
|
}
|
|
10892
|
-
) : /* @__PURE__ */ (0,
|
|
10918
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10893
10919
|
Icon,
|
|
10894
10920
|
{
|
|
10895
10921
|
icon: MoreHorizontalIcon,
|
|
@@ -10897,7 +10923,7 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10897
10923
|
}
|
|
10898
10924
|
) }, `pagination-item-${i}`);
|
|
10899
10925
|
}) : void 0;
|
|
10900
|
-
const previousPageButton = /* @__PURE__ */ (0,
|
|
10926
|
+
const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10901
10927
|
Button,
|
|
10902
10928
|
{
|
|
10903
10929
|
purpose: "secondary",
|
|
@@ -10910,7 +10936,7 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10910
10936
|
"aria-label": "G\xE5 til forrige siden"
|
|
10911
10937
|
}
|
|
10912
10938
|
);
|
|
10913
|
-
const nextPageButton = /* @__PURE__ */ (0,
|
|
10939
|
+
const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10914
10940
|
Button,
|
|
10915
10941
|
{
|
|
10916
10942
|
purpose: "secondary",
|
|
@@ -10932,13 +10958,13 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10932
10958
|
};
|
|
10933
10959
|
const isOnFirstPage = activePage === 1;
|
|
10934
10960
|
const isOnLastPage = activePage === pagesLength;
|
|
10935
|
-
const navigation2 = withPagination ? /* @__PURE__ */ (0,
|
|
10936
|
-
/* @__PURE__ */ (0,
|
|
10961
|
+
const navigation2 = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(List3, { children: [
|
|
10962
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
|
|
10937
10963
|
listItems,
|
|
10938
|
-
/* @__PURE__ */ (0,
|
|
10964
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton })
|
|
10939
10965
|
] }) }) : null;
|
|
10940
|
-
const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0,
|
|
10941
|
-
/* @__PURE__ */ (0,
|
|
10966
|
+
const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(List3, { children: [
|
|
10967
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10942
10968
|
Button,
|
|
10943
10969
|
{
|
|
10944
10970
|
purpose: "secondary",
|
|
@@ -10951,8 +10977,8 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10951
10977
|
"aria-label": "G\xE5 til f\xF8rste siden"
|
|
10952
10978
|
}
|
|
10953
10979
|
) }),
|
|
10954
|
-
/* @__PURE__ */ (0,
|
|
10955
|
-
/* @__PURE__ */ (0,
|
|
10980
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
|
|
10981
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10956
10982
|
Button,
|
|
10957
10983
|
{
|
|
10958
10984
|
size: "small",
|
|
@@ -10962,8 +10988,8 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10962
10988
|
children: activePage
|
|
10963
10989
|
}
|
|
10964
10990
|
) }),
|
|
10965
|
-
/* @__PURE__ */ (0,
|
|
10966
|
-
/* @__PURE__ */ (0,
|
|
10991
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton }),
|
|
10992
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10967
10993
|
Button,
|
|
10968
10994
|
{
|
|
10969
10995
|
purpose: "secondary",
|
|
@@ -10980,9 +11006,9 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10980
11006
|
const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
|
|
10981
11007
|
const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
|
|
10982
11008
|
const navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation2;
|
|
10983
|
-
return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0,
|
|
10984
|
-
/* @__PURE__ */ (0,
|
|
10985
|
-
withSelect && /* @__PURE__ */ (0,
|
|
11009
|
+
return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(OuterContainer, { ...containerProps, children: [
|
|
11010
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(IndicatorsContainer, { children: [
|
|
11011
|
+
withSelect && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
10986
11012
|
Select,
|
|
10987
11013
|
{
|
|
10988
11014
|
options: selectOptions,
|
|
@@ -10997,7 +11023,7 @@ var Pagination = (0, import_react80.forwardRef)(
|
|
|
10997
11023
|
"aria-label": "Antall elementer per side"
|
|
10998
11024
|
}
|
|
10999
11025
|
),
|
|
11000
|
-
withCounter && /* @__PURE__ */ (0,
|
|
11026
|
+
withCounter && /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
|
|
11001
11027
|
"Viser ",
|
|
11002
11028
|
activePageFirstItem,
|
|
11003
11029
|
"-",
|
|
@@ -11043,7 +11069,7 @@ var popoverTokens2 = {
|
|
|
11043
11069
|
};
|
|
11044
11070
|
|
|
11045
11071
|
// src/components/Popover/Popover.tsx
|
|
11046
|
-
var
|
|
11072
|
+
var import_jsx_runtime243 = require("react/jsx-runtime");
|
|
11047
11073
|
var { spacing: Spacing } = import_dds_design_tokens52.ddsBaseTokens;
|
|
11048
11074
|
var { wrapper: wrapper4, content: content6, closeButton: closeButton2, title: title2 } = popoverTokens2;
|
|
11049
11075
|
var Wrapper4 = (0, import_styled_components73.default)(Paper)`
|
|
@@ -11119,7 +11145,7 @@ var Popover = (0, import_react81.forwardRef)(
|
|
|
11119
11145
|
if (isOpen)
|
|
11120
11146
|
onClose && onClose();
|
|
11121
11147
|
});
|
|
11122
|
-
return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0,
|
|
11148
|
+
return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
|
|
11123
11149
|
Wrapper4,
|
|
11124
11150
|
{
|
|
11125
11151
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -11132,8 +11158,8 @@ var Popover = (0, import_react81.forwardRef)(
|
|
|
11132
11158
|
elevation: 3,
|
|
11133
11159
|
border: "light",
|
|
11134
11160
|
children: [
|
|
11135
|
-
title3 && /* @__PURE__ */ (0,
|
|
11136
|
-
/* @__PURE__ */ (0,
|
|
11161
|
+
title3 && /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(TitleContainer, { children: typeof title3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Typography, { typographyType: "headingSans02", children: title3 }) : title3 }),
|
|
11162
|
+
/* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
|
|
11137
11163
|
ContentContainer4,
|
|
11138
11164
|
{
|
|
11139
11165
|
$hasTitle: !!title3,
|
|
@@ -11141,7 +11167,7 @@ var Popover = (0, import_react81.forwardRef)(
|
|
|
11141
11167
|
children
|
|
11142
11168
|
}
|
|
11143
11169
|
),
|
|
11144
|
-
withCloseButton && /* @__PURE__ */ (0,
|
|
11170
|
+
withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
|
|
11145
11171
|
StyledButton5,
|
|
11146
11172
|
{
|
|
11147
11173
|
icon: CloseIcon,
|
|
@@ -11161,7 +11187,7 @@ Popover.displayName = "Popover";
|
|
|
11161
11187
|
|
|
11162
11188
|
// src/components/Popover/PopoverGroup.tsx
|
|
11163
11189
|
var import_react82 = require("react");
|
|
11164
|
-
var
|
|
11190
|
+
var import_jsx_runtime244 = require("react/jsx-runtime");
|
|
11165
11191
|
var PopoverGroup = ({
|
|
11166
11192
|
isOpen = false,
|
|
11167
11193
|
onCloseButtonClick,
|
|
@@ -11207,7 +11233,7 @@ var PopoverGroup = ({
|
|
|
11207
11233
|
onClose: handleClose
|
|
11208
11234
|
}));
|
|
11209
11235
|
});
|
|
11210
|
-
return /* @__PURE__ */ (0,
|
|
11236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_jsx_runtime244.Fragment, { children: Children9 });
|
|
11211
11237
|
};
|
|
11212
11238
|
PopoverGroup.displayName = "PopoverGroup";
|
|
11213
11239
|
|
|
@@ -11342,7 +11368,7 @@ var progressTrackerTokens = {
|
|
|
11342
11368
|
// src/components/ProgressTracker/ProgressTrackerItem.tsx
|
|
11343
11369
|
var import_react84 = require("react");
|
|
11344
11370
|
var import_styled_components74 = __toESM(require("styled-components"));
|
|
11345
|
-
var
|
|
11371
|
+
var import_jsx_runtime245 = require("react/jsx-runtime");
|
|
11346
11372
|
var toItemState = (active, completed, disabled) => {
|
|
11347
11373
|
if (disabled) {
|
|
11348
11374
|
return "disabled";
|
|
@@ -11439,14 +11465,14 @@ var ProgressTrackerItem = (props) => {
|
|
|
11439
11465
|
};
|
|
11440
11466
|
const stepNumberContent = (0, import_react84.useMemo)(() => {
|
|
11441
11467
|
if (completed) {
|
|
11442
|
-
return /* @__PURE__ */ (0,
|
|
11468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { icon: CheckIcon, iconSize: itemNumber2.iconSize });
|
|
11443
11469
|
}
|
|
11444
11470
|
if (icon11 !== void 0) {
|
|
11445
|
-
return /* @__PURE__ */ (0,
|
|
11471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { icon: icon11, iconSize: itemNumber2.iconSize });
|
|
11446
11472
|
}
|
|
11447
11473
|
return index + 1;
|
|
11448
11474
|
}, [completed, icon11, index]);
|
|
11449
|
-
return /* @__PURE__ */ (0,
|
|
11475
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(ItemWrapper, { "aria-current": active ? "step" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
|
|
11450
11476
|
ItemContentWrapper,
|
|
11451
11477
|
{
|
|
11452
11478
|
...styleProps,
|
|
@@ -11454,9 +11480,9 @@ var ProgressTrackerItem = (props) => {
|
|
|
11454
11480
|
onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
|
|
11455
11481
|
disabled,
|
|
11456
11482
|
children: [
|
|
11457
|
-
/* @__PURE__ */ (0,
|
|
11458
|
-
/* @__PURE__ */ (0,
|
|
11459
|
-
/* @__PURE__ */ (0,
|
|
11483
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsx)(ItemNumber, { ...styleProps, "aria-hidden": true, children: stepNumberContent }),
|
|
11484
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(ItemText, { ...styleProps, children: [
|
|
11485
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsx)(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
|
|
11460
11486
|
children
|
|
11461
11487
|
] })
|
|
11462
11488
|
]
|
|
@@ -11466,7 +11492,7 @@ var ProgressTrackerItem = (props) => {
|
|
|
11466
11492
|
ProgressTrackerItem.displayName = "ProgressTracker.Item";
|
|
11467
11493
|
|
|
11468
11494
|
// src/components/ProgressTracker/ProgressTracker.tsx
|
|
11469
|
-
var
|
|
11495
|
+
var import_jsx_runtime246 = require("react/jsx-runtime");
|
|
11470
11496
|
var ItemsWrapper = import_styled_components75.default.ol`
|
|
11471
11497
|
display: flex;
|
|
11472
11498
|
flex-direction: column;
|
|
@@ -11515,14 +11541,14 @@ var ProgressTracker = (() => {
|
|
|
11515
11541
|
const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
|
|
11516
11542
|
return itemsWithConnectorsBetween;
|
|
11517
11543
|
}, [children]);
|
|
11518
|
-
return /* @__PURE__ */ (0,
|
|
11544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
|
|
11519
11545
|
ProgressTrackerContext.Provider,
|
|
11520
11546
|
{
|
|
11521
11547
|
value: {
|
|
11522
11548
|
activeStep: thisActiveStep,
|
|
11523
11549
|
handleStepChange: handleChange
|
|
11524
11550
|
},
|
|
11525
|
-
children: /* @__PURE__ */ (0,
|
|
11551
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(ItemsWrapper, { children: steps }) })
|
|
11526
11552
|
}
|
|
11527
11553
|
);
|
|
11528
11554
|
});
|
|
@@ -11546,8 +11572,8 @@ var intersperseItemsWithConnector = (children) => import_react85.Children.map(ch
|
|
|
11546
11572
|
if (index === 0) {
|
|
11547
11573
|
return child;
|
|
11548
11574
|
}
|
|
11549
|
-
return /* @__PURE__ */ (0,
|
|
11550
|
-
/* @__PURE__ */ (0,
|
|
11575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(import_react85.Fragment, { children: [
|
|
11576
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)(ProgressTrackerConnector, { "aria-hidden": true }),
|
|
11551
11577
|
child
|
|
11552
11578
|
] }, index);
|
|
11553
11579
|
});
|
|
@@ -11672,7 +11698,7 @@ function createEmptyChangeEvent(inputElementId) {
|
|
|
11672
11698
|
// src/components/Search/SearchSuggestions.tsx
|
|
11673
11699
|
var import_react87 = require("react");
|
|
11674
11700
|
var import_styled_components76 = __toESM(require("styled-components"));
|
|
11675
|
-
var
|
|
11701
|
+
var import_jsx_runtime247 = require("react/jsx-runtime");
|
|
11676
11702
|
var { suggestionsContainer: suggestionsContainer2, suggestionsHeader: suggestionsHeader2 } = searchTokens;
|
|
11677
11703
|
var SuggestionsContainer = (0, import_styled_components76.default)(Paper)`
|
|
11678
11704
|
${({ $isHidden }) => visibilityTransition(!$isHidden)};
|
|
@@ -11716,8 +11742,8 @@ var SearchSuggestions = (0, import_react87.forwardRef)((props, ref) => {
|
|
|
11716
11742
|
);
|
|
11717
11743
|
const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
|
|
11718
11744
|
const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
|
|
11719
|
-
const renderedSuggestions = /* @__PURE__ */ (0,
|
|
11720
|
-
return /* @__PURE__ */ (0,
|
|
11745
|
+
const renderedSuggestions = /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(SuggestionsList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
|
|
11746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
11721
11747
|
MenuItem,
|
|
11722
11748
|
{
|
|
11723
11749
|
index,
|
|
@@ -11732,7 +11758,7 @@ var SearchSuggestions = (0, import_react87.forwardRef)((props, ref) => {
|
|
|
11732
11758
|
) }, index);
|
|
11733
11759
|
}) });
|
|
11734
11760
|
const isHidden = !showSuggestions;
|
|
11735
|
-
return /* @__PURE__ */ (0,
|
|
11761
|
+
return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
|
|
11736
11762
|
SuggestionsContainer,
|
|
11737
11763
|
{
|
|
11738
11764
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -11740,7 +11766,7 @@ var SearchSuggestions = (0, import_react87.forwardRef)((props, ref) => {
|
|
|
11740
11766
|
$isHidden: isHidden,
|
|
11741
11767
|
"aria-hidden": isHidden,
|
|
11742
11768
|
children: [
|
|
11743
|
-
/* @__PURE__ */ (0,
|
|
11769
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
11744
11770
|
SuggestionsHeader,
|
|
11745
11771
|
{
|
|
11746
11772
|
typographyType: "supportingStyleTiny01",
|
|
@@ -11757,7 +11783,7 @@ var SearchSuggestions = (0, import_react87.forwardRef)((props, ref) => {
|
|
|
11757
11783
|
SearchSuggestions.displayName = "SearchSuggestions";
|
|
11758
11784
|
|
|
11759
11785
|
// src/components/Search/Search.tsx
|
|
11760
|
-
var
|
|
11786
|
+
var import_jsx_runtime248 = require("react/jsx-runtime");
|
|
11761
11787
|
var { input: input4, outerContainer: outerContainer6, horisontalContainer: horisontalContainer2, searchIcon: searchIcon2, clearButton: clearButton2 } = searchTokens;
|
|
11762
11788
|
var getIconSize = (size2) => {
|
|
11763
11789
|
switch (size2) {
|
|
@@ -11860,18 +11886,18 @@ var Search = (0, import_react88.forwardRef)(
|
|
|
11860
11886
|
} = buttonProps != null ? buttonProps : {};
|
|
11861
11887
|
const hasSuggestions = !!context.suggestions;
|
|
11862
11888
|
const showSearchButton = !!buttonProps && !!onClick;
|
|
11863
|
-
return /* @__PURE__ */ (0,
|
|
11864
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
11865
|
-
/* @__PURE__ */ (0,
|
|
11866
|
-
/* @__PURE__ */ (0,
|
|
11889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(OuterContainer2, { children: [
|
|
11890
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Label, { htmlFor: uniqueId, children: label3 }),
|
|
11891
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsxs)("div", { children: [
|
|
11892
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
|
|
11867
11893
|
HorisontalContainer,
|
|
11868
11894
|
{
|
|
11869
11895
|
$hasSearchButton: showSearchButton,
|
|
11870
11896
|
className,
|
|
11871
11897
|
style,
|
|
11872
11898
|
children: [
|
|
11873
|
-
/* @__PURE__ */ (0,
|
|
11874
|
-
/* @__PURE__ */ (0,
|
|
11899
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(InputContainer2, { children: [
|
|
11900
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
11875
11901
|
StyledSearchIcon,
|
|
11876
11902
|
{
|
|
11877
11903
|
icon: SearchIcon,
|
|
@@ -11879,7 +11905,7 @@ var Search = (0, import_react88.forwardRef)(
|
|
|
11879
11905
|
iconSize: getIconSize(componentSize)
|
|
11880
11906
|
}
|
|
11881
11907
|
),
|
|
11882
|
-
/* @__PURE__ */ (0,
|
|
11908
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
11883
11909
|
Input3,
|
|
11884
11910
|
{
|
|
11885
11911
|
...rest,
|
|
@@ -11902,8 +11928,8 @@ var Search = (0, import_react88.forwardRef)(
|
|
|
11902
11928
|
role: hasSuggestions ? "combobox" : void 0
|
|
11903
11929
|
}
|
|
11904
11930
|
),
|
|
11905
|
-
hasSuggestions && /* @__PURE__ */ (0,
|
|
11906
|
-
/* @__PURE__ */ (0,
|
|
11931
|
+
hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(import_jsx_runtime248.Fragment, { children: [
|
|
11932
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
11907
11933
|
SearchSuggestions,
|
|
11908
11934
|
{
|
|
11909
11935
|
id: suggestionsId,
|
|
@@ -11915,9 +11941,9 @@ var Search = (0, import_react88.forwardRef)(
|
|
|
11915
11941
|
componentSize
|
|
11916
11942
|
}
|
|
11917
11943
|
),
|
|
11918
|
-
/* @__PURE__ */ (0,
|
|
11944
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
|
|
11919
11945
|
] }),
|
|
11920
|
-
hasValue && /* @__PURE__ */ (0,
|
|
11946
|
+
hasValue && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
11921
11947
|
StyledClearButton,
|
|
11922
11948
|
{
|
|
11923
11949
|
icon: CloseSmallIcon,
|
|
@@ -11929,7 +11955,7 @@ var Search = (0, import_react88.forwardRef)(
|
|
|
11929
11955
|
}
|
|
11930
11956
|
)
|
|
11931
11957
|
] }),
|
|
11932
|
-
showSearchButton && /* @__PURE__ */ (0,
|
|
11958
|
+
showSearchButton && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
11933
11959
|
Button,
|
|
11934
11960
|
{
|
|
11935
11961
|
size: componentSize,
|
|
@@ -11950,7 +11976,7 @@ Search.displayName = "Search";
|
|
|
11950
11976
|
|
|
11951
11977
|
// src/components/Search/SearchAutocompleteWrapper.tsx
|
|
11952
11978
|
var import_react89 = require("react");
|
|
11953
|
-
var
|
|
11979
|
+
var import_jsx_runtime249 = require("react/jsx-runtime");
|
|
11954
11980
|
var SearchAutocompleteWrapper = (props) => {
|
|
11955
11981
|
const {
|
|
11956
11982
|
value,
|
|
@@ -12026,7 +12052,7 @@ var SearchAutocompleteWrapper = (props) => {
|
|
|
12026
12052
|
inputValue,
|
|
12027
12053
|
onSugggestionClick: handleSuggestionClick
|
|
12028
12054
|
};
|
|
12029
|
-
return /* @__PURE__ */ (0,
|
|
12055
|
+
return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(AutocompleteSearchContext.Provider, { value: contextProps, children });
|
|
12030
12056
|
};
|
|
12031
12057
|
SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
|
|
12032
12058
|
|
|
@@ -12324,7 +12350,7 @@ var GroupContainer = import_styled_components78.default.div`
|
|
|
12324
12350
|
`;
|
|
12325
12351
|
|
|
12326
12352
|
// src/components/SelectionControl/Checkbox/Checkbox.tsx
|
|
12327
|
-
var
|
|
12353
|
+
var import_jsx_runtime250 = require("react/jsx-runtime");
|
|
12328
12354
|
var Checkbox = (0, import_react91.forwardRef)(
|
|
12329
12355
|
(props, ref) => {
|
|
12330
12356
|
const {
|
|
@@ -12349,7 +12375,7 @@ var Checkbox = (0, import_react91.forwardRef)(
|
|
|
12349
12375
|
className: htmlPropsClassName,
|
|
12350
12376
|
...restHtmlProps
|
|
12351
12377
|
} = htmlProps;
|
|
12352
|
-
return /* @__PURE__ */ (0,
|
|
12378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
|
|
12353
12379
|
Container13,
|
|
12354
12380
|
{
|
|
12355
12381
|
$error: error || (checkboxGroup == null ? void 0 : checkboxGroup.error),
|
|
@@ -12361,7 +12387,7 @@ var Checkbox = (0, import_react91.forwardRef)(
|
|
|
12361
12387
|
className: cn(className, htmlPropsClassName),
|
|
12362
12388
|
style,
|
|
12363
12389
|
children: [
|
|
12364
|
-
/* @__PURE__ */ (0,
|
|
12390
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
12365
12391
|
HiddenInput,
|
|
12366
12392
|
{
|
|
12367
12393
|
...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
|
|
@@ -12381,8 +12407,8 @@ var Checkbox = (0, import_react91.forwardRef)(
|
|
|
12381
12407
|
"data-indeterminate": indeterminate
|
|
12382
12408
|
}
|
|
12383
12409
|
),
|
|
12384
|
-
/* @__PURE__ */ (0,
|
|
12385
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
12410
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(CustomSelectionControl, { $controlType: "checkbox" }),
|
|
12411
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Typography, { ...selectionControlTypographyProps, children: label3 })
|
|
12386
12412
|
]
|
|
12387
12413
|
}
|
|
12388
12414
|
);
|
|
@@ -12392,7 +12418,7 @@ Checkbox.displayName = "Checkbox";
|
|
|
12392
12418
|
|
|
12393
12419
|
// src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
|
|
12394
12420
|
var import_react92 = require("react");
|
|
12395
|
-
var
|
|
12421
|
+
var import_jsx_runtime251 = require("react/jsx-runtime");
|
|
12396
12422
|
var CheckboxGroup = (props) => {
|
|
12397
12423
|
const {
|
|
12398
12424
|
label: label3,
|
|
@@ -12424,7 +12450,7 @@ var CheckboxGroup = (props) => {
|
|
|
12424
12450
|
disabled,
|
|
12425
12451
|
readOnly
|
|
12426
12452
|
};
|
|
12427
|
-
return /* @__PURE__ */ (0,
|
|
12453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
|
|
12428
12454
|
OuterGroupContainer,
|
|
12429
12455
|
{
|
|
12430
12456
|
...getBaseHTMLProps(
|
|
@@ -12434,7 +12460,7 @@ var CheckboxGroup = (props) => {
|
|
|
12434
12460
|
rest
|
|
12435
12461
|
),
|
|
12436
12462
|
children: [
|
|
12437
|
-
/* @__PURE__ */ (0,
|
|
12463
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
|
|
12438
12464
|
Typography,
|
|
12439
12465
|
{
|
|
12440
12466
|
as: "span",
|
|
@@ -12443,12 +12469,12 @@ var CheckboxGroup = (props) => {
|
|
|
12443
12469
|
children: [
|
|
12444
12470
|
label3,
|
|
12445
12471
|
" ",
|
|
12446
|
-
showRequiredMarker && /* @__PURE__ */ (0,
|
|
12472
|
+
showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(RequiredMarker, {})
|
|
12447
12473
|
]
|
|
12448
12474
|
}
|
|
12449
12475
|
),
|
|
12450
12476
|
renderInputMessage(tip, tipId),
|
|
12451
|
-
/* @__PURE__ */ (0,
|
|
12477
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
12452
12478
|
GroupContainer,
|
|
12453
12479
|
{
|
|
12454
12480
|
role: "group",
|
|
@@ -12476,7 +12502,7 @@ var useRadioButtonGroup = () => {
|
|
|
12476
12502
|
};
|
|
12477
12503
|
|
|
12478
12504
|
// src/components/SelectionControl/RadioButton/RadioButton.tsx
|
|
12479
|
-
var
|
|
12505
|
+
var import_jsx_runtime252 = require("react/jsx-runtime");
|
|
12480
12506
|
var isValueEqualToGroupValueOrFalsy = (value, group4) => {
|
|
12481
12507
|
if (typeof value !== "undefined" && value !== null && group4) {
|
|
12482
12508
|
if (typeof value === "number") {
|
|
@@ -12535,7 +12561,7 @@ var RadioButton = (0, import_react94.forwardRef)(
|
|
|
12535
12561
|
"aria-describedby": describedByIds.length > 0 ? describedByIds.join(" ") : void 0,
|
|
12536
12562
|
"aria-invalid": error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error) ? true : void 0
|
|
12537
12563
|
};
|
|
12538
|
-
return /* @__PURE__ */ (0,
|
|
12564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
|
|
12539
12565
|
Container13,
|
|
12540
12566
|
{
|
|
12541
12567
|
$error: error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error),
|
|
@@ -12547,9 +12573,9 @@ var RadioButton = (0, import_react94.forwardRef)(
|
|
|
12547
12573
|
htmlFor: uniqueId,
|
|
12548
12574
|
$controlType: "radio",
|
|
12549
12575
|
children: [
|
|
12550
|
-
/* @__PURE__ */ (0,
|
|
12551
|
-
/* @__PURE__ */ (0,
|
|
12552
|
-
/* @__PURE__ */ (0,
|
|
12576
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(HiddenInput, { ...inputProps, ref }),
|
|
12577
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(CustomSelectionControl, { $controlType: "radio" }),
|
|
12578
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label3 })
|
|
12553
12579
|
]
|
|
12554
12580
|
}
|
|
12555
12581
|
);
|
|
@@ -12559,7 +12585,7 @@ RadioButton.displayName = "RadioButton";
|
|
|
12559
12585
|
|
|
12560
12586
|
// src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
|
|
12561
12587
|
var import_react95 = require("react");
|
|
12562
|
-
var
|
|
12588
|
+
var import_jsx_runtime253 = require("react/jsx-runtime");
|
|
12563
12589
|
var RadioButtonGroupInner = (props, ref) => {
|
|
12564
12590
|
const {
|
|
12565
12591
|
name,
|
|
@@ -12601,7 +12627,7 @@ var RadioButtonGroupInner = (props, ref) => {
|
|
|
12601
12627
|
value: groupValue,
|
|
12602
12628
|
onChange: handleChange
|
|
12603
12629
|
};
|
|
12604
|
-
return /* @__PURE__ */ (0,
|
|
12630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
|
|
12605
12631
|
OuterGroupContainer,
|
|
12606
12632
|
{
|
|
12607
12633
|
...getBaseHTMLProps(
|
|
@@ -12612,7 +12638,7 @@ var RadioButtonGroupInner = (props, ref) => {
|
|
|
12612
12638
|
),
|
|
12613
12639
|
ref,
|
|
12614
12640
|
children: [
|
|
12615
|
-
/* @__PURE__ */ (0,
|
|
12641
|
+
/* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
|
|
12616
12642
|
Typography,
|
|
12617
12643
|
{
|
|
12618
12644
|
as: "span",
|
|
@@ -12621,12 +12647,12 @@ var RadioButtonGroupInner = (props, ref) => {
|
|
|
12621
12647
|
children: [
|
|
12622
12648
|
label3,
|
|
12623
12649
|
" ",
|
|
12624
|
-
showRequiredMarker && /* @__PURE__ */ (0,
|
|
12650
|
+
showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(RequiredMarker, {})
|
|
12625
12651
|
]
|
|
12626
12652
|
}
|
|
12627
12653
|
),
|
|
12628
12654
|
renderInputMessage(tip, tipId),
|
|
12629
|
-
/* @__PURE__ */ (0,
|
|
12655
|
+
/* @__PURE__ */ (0, import_jsx_runtime253.jsx)(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
|
|
12630
12656
|
GroupContainer,
|
|
12631
12657
|
{
|
|
12632
12658
|
role: "radiogroup",
|
|
@@ -12670,7 +12696,7 @@ var skipToContentTokens = {
|
|
|
12670
12696
|
};
|
|
12671
12697
|
|
|
12672
12698
|
// src/components/SkipToContent/SkipToContent.tsx
|
|
12673
|
-
var
|
|
12699
|
+
var import_jsx_runtime254 = require("react/jsx-runtime");
|
|
12674
12700
|
var { wrapper: wrapper6, link: link5 } = skipToContentTokens;
|
|
12675
12701
|
var Wrapper5 = import_styled_components79.default.div`
|
|
12676
12702
|
box-sizing: border-box;
|
|
@@ -12729,13 +12755,13 @@ var SkipToContent = (0, import_react96.forwardRef)(
|
|
|
12729
12755
|
style,
|
|
12730
12756
|
...restHtmlProps
|
|
12731
12757
|
} = htmlProps;
|
|
12732
|
-
return /* @__PURE__ */ (0,
|
|
12758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
12733
12759
|
Wrapper5,
|
|
12734
12760
|
{
|
|
12735
12761
|
$top: top,
|
|
12736
12762
|
className: cn(className, htmlPropsClassName),
|
|
12737
12763
|
style,
|
|
12738
|
-
children: /* @__PURE__ */ (0,
|
|
12764
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Link4, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
|
|
12739
12765
|
}
|
|
12740
12766
|
);
|
|
12741
12767
|
}
|
|
@@ -12758,7 +12784,7 @@ var tokens3 = {
|
|
|
12758
12784
|
};
|
|
12759
12785
|
|
|
12760
12786
|
// src/components/SplitButton/SplitButton.tsx
|
|
12761
|
-
var
|
|
12787
|
+
var import_jsx_runtime255 = require("react/jsx-runtime");
|
|
12762
12788
|
var Container14 = import_styled_components80.default.div`
|
|
12763
12789
|
display: flex;
|
|
12764
12790
|
`;
|
|
@@ -12803,8 +12829,8 @@ var SplitButton = (0, import_react97.forwardRef)(
|
|
|
12803
12829
|
purpose,
|
|
12804
12830
|
size: size2
|
|
12805
12831
|
};
|
|
12806
|
-
return /* @__PURE__ */ (0,
|
|
12807
|
-
/* @__PURE__ */ (0,
|
|
12832
|
+
return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(Container14, { ref, children: [
|
|
12833
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
12808
12834
|
MainButton,
|
|
12809
12835
|
{
|
|
12810
12836
|
...buttonStyleProps,
|
|
@@ -12812,8 +12838,8 @@ var SplitButton = (0, import_react97.forwardRef)(
|
|
|
12812
12838
|
iconPosition: "left"
|
|
12813
12839
|
}
|
|
12814
12840
|
),
|
|
12815
|
-
/* @__PURE__ */ (0,
|
|
12816
|
-
/* @__PURE__ */ (0,
|
|
12841
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
|
|
12842
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
12817
12843
|
OptionButton,
|
|
12818
12844
|
{
|
|
12819
12845
|
...buttonStyleProps,
|
|
@@ -12822,7 +12848,7 @@ var SplitButton = (0, import_react97.forwardRef)(
|
|
|
12822
12848
|
purpose
|
|
12823
12849
|
}
|
|
12824
12850
|
),
|
|
12825
|
-
/* @__PURE__ */ (0,
|
|
12851
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
|
|
12826
12852
|
] })
|
|
12827
12853
|
] });
|
|
12828
12854
|
}
|
|
@@ -12844,14 +12870,14 @@ var useCollapsibleTableContext = () => (0, import_react98.useContext)(Collapsibl
|
|
|
12844
12870
|
// src/components/Table/normal/Body.tsx
|
|
12845
12871
|
var import_react99 = require("react");
|
|
12846
12872
|
var import_styled_components81 = __toESM(require("styled-components"));
|
|
12847
|
-
var
|
|
12873
|
+
var import_jsx_runtime256 = require("react/jsx-runtime");
|
|
12848
12874
|
var StyledBody = import_styled_components81.default.tbody``;
|
|
12849
12875
|
var Body2 = (0, import_react99.forwardRef)(
|
|
12850
12876
|
({ children, ...rest }, ref) => {
|
|
12851
12877
|
const bodyProps = {
|
|
12852
12878
|
...rest
|
|
12853
12879
|
};
|
|
12854
|
-
return /* @__PURE__ */ (0,
|
|
12880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledBody, { ref, ...bodyProps, children });
|
|
12855
12881
|
}
|
|
12856
12882
|
);
|
|
12857
12883
|
Body2.displayName = "Table.Body";
|
|
@@ -12863,11 +12889,11 @@ var import_styled_components83 = __toESM(require("styled-components"));
|
|
|
12863
12889
|
// src/components/Table/normal/Head.tsx
|
|
12864
12890
|
var import_react100 = require("react");
|
|
12865
12891
|
var import_styled_components82 = __toESM(require("styled-components"));
|
|
12866
|
-
var
|
|
12892
|
+
var import_jsx_runtime257 = require("react/jsx-runtime");
|
|
12867
12893
|
var StyledHead = import_styled_components82.default.thead``;
|
|
12868
12894
|
var Head = (0, import_react100.forwardRef)(
|
|
12869
12895
|
({ children, ...rest }, ref) => {
|
|
12870
|
-
return /* @__PURE__ */ (0,
|
|
12896
|
+
return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(StyledHead, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(HeadContext.Provider, { value: true, children }) });
|
|
12871
12897
|
}
|
|
12872
12898
|
);
|
|
12873
12899
|
Head.displayName = "Table.Head";
|
|
@@ -12950,7 +12976,7 @@ var tableTokens = {
|
|
|
12950
12976
|
};
|
|
12951
12977
|
|
|
12952
12978
|
// src/components/Table/normal/Cell.tsx
|
|
12953
|
-
var
|
|
12979
|
+
var import_jsx_runtime258 = require("react/jsx-runtime");
|
|
12954
12980
|
var { cell: cell3 } = tableTokens;
|
|
12955
12981
|
var getLayoutStyle = (layout) => {
|
|
12956
12982
|
switch (layout) {
|
|
@@ -12996,7 +13022,7 @@ var Cell2 = (0, import_react101.forwardRef)(
|
|
|
12996
13022
|
const type = _type != null ? _type : isInHead ? "head" : "data";
|
|
12997
13023
|
const as = getTableCellType(type);
|
|
12998
13024
|
const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
|
|
12999
|
-
return isCollapsibleChild ? /* @__PURE__ */ (0,
|
|
13025
|
+
return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(DescriptionListDesc, { children }) : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(StyledCell, { as, ref, $type: type, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(InnerCell, { $layout: layout, children }) });
|
|
13000
13026
|
}
|
|
13001
13027
|
);
|
|
13002
13028
|
Cell2.displayName = "Table.Cell";
|
|
@@ -13004,11 +13030,11 @@ Cell2.displayName = "Table.Cell";
|
|
|
13004
13030
|
// src/components/Table/normal/Foot.tsx
|
|
13005
13031
|
var import_react102 = require("react");
|
|
13006
13032
|
var import_styled_components84 = __toESM(require("styled-components"));
|
|
13007
|
-
var
|
|
13033
|
+
var import_jsx_runtime259 = require("react/jsx-runtime");
|
|
13008
13034
|
var StyledFoot = import_styled_components84.default.tfoot``;
|
|
13009
13035
|
var Foot = (0, import_react102.forwardRef)(
|
|
13010
13036
|
({ children, ...rest }, ref) => {
|
|
13011
|
-
return /* @__PURE__ */ (0,
|
|
13037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledFoot, { ref, ...rest, children });
|
|
13012
13038
|
}
|
|
13013
13039
|
);
|
|
13014
13040
|
Foot.displayName = "Table.Foot";
|
|
@@ -13069,12 +13095,12 @@ var StyledRow = import_styled_components85.default.tr`
|
|
|
13069
13095
|
`;
|
|
13070
13096
|
|
|
13071
13097
|
// src/components/Table/normal/Row.tsx
|
|
13072
|
-
var
|
|
13098
|
+
var import_jsx_runtime260 = require("react/jsx-runtime");
|
|
13073
13099
|
var Row = (0, import_react103.forwardRef)(
|
|
13074
13100
|
({ type: _type, mode = "normal", hoverable, selected, children, ...rest }, ref) => {
|
|
13075
13101
|
const isInHeader = useIsInTableHead();
|
|
13076
13102
|
const type = _type != null ? _type : isInHeader ? "head" : "body";
|
|
13077
|
-
return /* @__PURE__ */ (0,
|
|
13103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
|
|
13078
13104
|
StyledRow,
|
|
13079
13105
|
{
|
|
13080
13106
|
type,
|
|
@@ -13093,7 +13119,7 @@ Row.displayName = "Table.Row";
|
|
|
13093
13119
|
// src/components/Table/normal/SortCell.tsx
|
|
13094
13120
|
var import_react104 = require("react");
|
|
13095
13121
|
var import_styled_components86 = __toESM(require("styled-components"));
|
|
13096
|
-
var
|
|
13122
|
+
var import_jsx_runtime261 = require("react/jsx-runtime");
|
|
13097
13123
|
var { cell: cell4 } = tableTokens;
|
|
13098
13124
|
var StyledButton6 = import_styled_components86.default.button`
|
|
13099
13125
|
${normalizeButton}
|
|
@@ -13108,19 +13134,19 @@ var StyledButton6 = import_styled_components86.default.button`
|
|
|
13108
13134
|
`;
|
|
13109
13135
|
var makeSortIcon = (isSorted, sortOrder) => {
|
|
13110
13136
|
if (!isSorted || !sortOrder) {
|
|
13111
|
-
return /* @__PURE__ */ (0,
|
|
13137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
|
|
13112
13138
|
}
|
|
13113
|
-
return sortOrder === "ascending" ? /* @__PURE__ */ (0,
|
|
13139
|
+
return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
|
|
13114
13140
|
};
|
|
13115
13141
|
var SortCell = (0, import_react104.forwardRef)(
|
|
13116
|
-
({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0,
|
|
13142
|
+
({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
13117
13143
|
Cell2,
|
|
13118
13144
|
{
|
|
13119
13145
|
ref,
|
|
13120
13146
|
type: "head",
|
|
13121
13147
|
"aria-sort": isSorted && sortOrder ? sortOrder : void 0,
|
|
13122
13148
|
...rest,
|
|
13123
|
-
children: /* @__PURE__ */ (0,
|
|
13149
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
13124
13150
|
StyledButton6,
|
|
13125
13151
|
{
|
|
13126
13152
|
onClick,
|
|
@@ -13140,7 +13166,7 @@ SortCell.displayName = "Table.SortCell";
|
|
|
13140
13166
|
// src/components/Table/normal/Table.tsx
|
|
13141
13167
|
var import_react105 = require("react");
|
|
13142
13168
|
var import_styled_components87 = __toESM(require("styled-components"));
|
|
13143
|
-
var
|
|
13169
|
+
var import_jsx_runtime262 = require("react/jsx-runtime");
|
|
13144
13170
|
var { cell: cell5, row: row3 } = tableTokens;
|
|
13145
13171
|
var StyledTable = import_styled_components87.default.table`
|
|
13146
13172
|
border-spacing: 0;
|
|
@@ -13187,7 +13213,7 @@ var StyledTable = import_styled_components87.default.table`
|
|
|
13187
13213
|
`;
|
|
13188
13214
|
var Table = (0, import_react105.forwardRef)(
|
|
13189
13215
|
({ density = "normal", stickyHeader, withDividers, children, ...rest }, ref) => {
|
|
13190
|
-
return /* @__PURE__ */ (0,
|
|
13216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
|
|
13191
13217
|
StyledTable,
|
|
13192
13218
|
{
|
|
13193
13219
|
...rest,
|
|
@@ -13205,7 +13231,7 @@ Table.displayName = "Table";
|
|
|
13205
13231
|
// src/components/Table/normal/TableWrapper.tsx
|
|
13206
13232
|
var import_react106 = require("react");
|
|
13207
13233
|
var import_styled_components88 = __toESM(require("styled-components"));
|
|
13208
|
-
var
|
|
13234
|
+
var import_jsx_runtime263 = require("react/jsx-runtime");
|
|
13209
13235
|
var Wrapper6 = import_styled_components88.default.div`
|
|
13210
13236
|
${({ $overflowX }) => $overflowX && import_styled_components88.css`
|
|
13211
13237
|
overflow-x: auto;
|
|
@@ -13234,7 +13260,7 @@ var TableWrapper = ({ children, ...rest }) => {
|
|
|
13234
13260
|
window.addEventListener("resize", handleResize);
|
|
13235
13261
|
return () => window.removeEventListener("resize", handleResize);
|
|
13236
13262
|
});
|
|
13237
|
-
return /* @__PURE__ */ (0,
|
|
13263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Wrapper6, { $overflowX: overflowX, ref: wrapperRef, ...rest, children });
|
|
13238
13264
|
};
|
|
13239
13265
|
TableWrapper.displayName = "Table.Wrapper";
|
|
13240
13266
|
|
|
@@ -13249,7 +13275,7 @@ Table2.Row = Row;
|
|
|
13249
13275
|
Table2.Foot = Foot;
|
|
13250
13276
|
|
|
13251
13277
|
// src/components/Table/collapsible/CollapsibleRow.tsx
|
|
13252
|
-
var
|
|
13278
|
+
var import_jsx_runtime264 = require("react/jsx-runtime");
|
|
13253
13279
|
var { collapseButton: collapseButton2 } = tableTokens;
|
|
13254
13280
|
var CollapseButton = import_styled_components89.default.button`
|
|
13255
13281
|
${removeButtonStyling}
|
|
@@ -13299,25 +13325,25 @@ var CollapsibleRow = (0, import_react107.forwardRef)(
|
|
|
13299
13325
|
const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
|
|
13300
13326
|
const id = derivativeIdGenerator(prefix2, index.toString());
|
|
13301
13327
|
collapsibleIds.push(id);
|
|
13302
|
-
return /* @__PURE__ */ (0,
|
|
13303
|
-
/* @__PURE__ */ (0,
|
|
13328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_react107.Fragment, { children: [
|
|
13329
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
|
|
13304
13330
|
(0, import_react107.isValidElement)(child) && (0, import_react107.cloneElement)(child, {
|
|
13305
13331
|
collapsibleProps: { isCollapsibleChild: true }
|
|
13306
13332
|
})
|
|
13307
13333
|
] }, `DL-${index}`);
|
|
13308
13334
|
}) : null;
|
|
13309
|
-
const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0,
|
|
13335
|
+
const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(StyledRow, { type, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(DescriptionListCell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
|
|
13310
13336
|
const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a2, b) => {
|
|
13311
13337
|
return definingColumnIndex.indexOf(childrenArray.indexOf(a2)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
|
|
13312
13338
|
});
|
|
13313
13339
|
const headerRow = () => {
|
|
13314
13340
|
if (type !== "head" || !isCollapsed)
|
|
13315
13341
|
return null;
|
|
13316
|
-
return /* @__PURE__ */ (0,
|
|
13342
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(StyledRow, { ref, type, ...rowProps, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
|
|
13317
13343
|
definingColumnCells,
|
|
13318
|
-
/* @__PURE__ */ (0,
|
|
13344
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
|
|
13319
13345
|
"Utvid",
|
|
13320
|
-
/* @__PURE__ */ (0,
|
|
13346
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(VisuallyHidden, { as: "span", children: "raden" })
|
|
13321
13347
|
] })
|
|
13322
13348
|
] }) });
|
|
13323
13349
|
};
|
|
@@ -13325,7 +13351,7 @@ var CollapsibleRow = (0, import_react107.forwardRef)(
|
|
|
13325
13351
|
const rowWithChevron = () => {
|
|
13326
13352
|
if (type !== "body" || !isCollapsed)
|
|
13327
13353
|
return null;
|
|
13328
|
-
return /* @__PURE__ */ (0,
|
|
13354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
13329
13355
|
StyledRow,
|
|
13330
13356
|
{
|
|
13331
13357
|
ref,
|
|
@@ -13334,13 +13360,13 @@ var CollapsibleRow = (0, import_react107.forwardRef)(
|
|
|
13334
13360
|
"data-isopencollapsibleheader": !childrenCollapsed && true,
|
|
13335
13361
|
children: [
|
|
13336
13362
|
definingColumnCells,
|
|
13337
|
-
/* @__PURE__ */ (0,
|
|
13363
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
13338
13364
|
CollapseButton,
|
|
13339
13365
|
{
|
|
13340
13366
|
onClick: () => setChildrenCollapsed(!childrenCollapsed),
|
|
13341
13367
|
"aria-expanded": !childrenCollapsed,
|
|
13342
13368
|
"aria-controls": idList,
|
|
13343
|
-
children: /* @__PURE__ */ (0,
|
|
13369
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
13344
13370
|
AnimatedChevronUpDown,
|
|
13345
13371
|
{
|
|
13346
13372
|
isUp: childrenCollapsed ? false : true,
|
|
@@ -13354,13 +13380,13 @@ var CollapsibleRow = (0, import_react107.forwardRef)(
|
|
|
13354
13380
|
}
|
|
13355
13381
|
);
|
|
13356
13382
|
};
|
|
13357
|
-
return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0,
|
|
13383
|
+
return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
|
|
13358
13384
|
headerRow(),
|
|
13359
|
-
type === "body" && /* @__PURE__ */ (0,
|
|
13385
|
+
type === "body" && /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
|
|
13360
13386
|
rowWithChevron(),
|
|
13361
13387
|
childrenCollapsed ? null : collapsedRows
|
|
13362
13388
|
] })
|
|
13363
|
-
] }) : /* @__PURE__ */ (0,
|
|
13389
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(StyledRow, { ref, type, ...rowProps, children });
|
|
13364
13390
|
}
|
|
13365
13391
|
);
|
|
13366
13392
|
CollapsibleRow.displayName = "CollapsibleTable.Row";
|
|
@@ -13368,7 +13394,7 @@ CollapsibleRow.displayName = "CollapsibleTable.Row";
|
|
|
13368
13394
|
// src/components/Table/collapsible/CollapsibleTable.tsx
|
|
13369
13395
|
var import_react108 = require("react");
|
|
13370
13396
|
var import_styled_components90 = __toESM(require("styled-components"));
|
|
13371
|
-
var
|
|
13397
|
+
var import_jsx_runtime265 = require("react/jsx-runtime");
|
|
13372
13398
|
var StyledTable2 = (0, import_styled_components90.default)(Table2)`
|
|
13373
13399
|
width: 100%;
|
|
13374
13400
|
${({ withDividers }) => withDividers && import_styled_components90.css`
|
|
@@ -13386,7 +13412,7 @@ var CollapsibleTable = (0, import_react108.forwardRef)((props, ref) => {
|
|
|
13386
13412
|
definingColumnIndex = [0],
|
|
13387
13413
|
...rest
|
|
13388
13414
|
} = props;
|
|
13389
|
-
return /* @__PURE__ */ (0,
|
|
13415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
|
|
13390
13416
|
CollapsibleTableContext.Provider,
|
|
13391
13417
|
{
|
|
13392
13418
|
value: {
|
|
@@ -13394,7 +13420,7 @@ var CollapsibleTable = (0, import_react108.forwardRef)((props, ref) => {
|
|
|
13394
13420
|
headerValues,
|
|
13395
13421
|
definingColumnIndex
|
|
13396
13422
|
},
|
|
13397
|
-
children: /* @__PURE__ */ (0,
|
|
13423
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(StyledTable2, { ref, density, ...rest, children })
|
|
13398
13424
|
}
|
|
13399
13425
|
);
|
|
13400
13426
|
});
|
|
@@ -13423,7 +13449,7 @@ var TabsContext = (0, import_react109.createContext)({
|
|
|
13423
13449
|
var useTabsContext = () => (0, import_react109.useContext)(TabsContext);
|
|
13424
13450
|
|
|
13425
13451
|
// src/components/Tabs/Tabs.tsx
|
|
13426
|
-
var
|
|
13452
|
+
var import_jsx_runtime266 = require("react/jsx-runtime");
|
|
13427
13453
|
var Container15 = import_styled_components91.default.div`
|
|
13428
13454
|
${({ $width }) => $width && import_styled_components91.css`
|
|
13429
13455
|
width: ${$width};
|
|
@@ -13460,7 +13486,7 @@ var Tabs = (0, import_react110.forwardRef)((props, ref) => {
|
|
|
13460
13486
|
...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
|
|
13461
13487
|
ref
|
|
13462
13488
|
};
|
|
13463
|
-
return /* @__PURE__ */ (0,
|
|
13489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
|
|
13464
13490
|
TabsContext.Provider,
|
|
13465
13491
|
{
|
|
13466
13492
|
value: {
|
|
@@ -13473,7 +13499,7 @@ var Tabs = (0, import_react110.forwardRef)((props, ref) => {
|
|
|
13473
13499
|
setHasTabFocus,
|
|
13474
13500
|
tabContentDirection
|
|
13475
13501
|
},
|
|
13476
|
-
children: /* @__PURE__ */ (0,
|
|
13502
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Container15, { ...containerProps, $width: width, children })
|
|
13477
13503
|
}
|
|
13478
13504
|
);
|
|
13479
13505
|
});
|
|
@@ -13524,13 +13550,13 @@ var tabsTokens = {
|
|
|
13524
13550
|
|
|
13525
13551
|
// src/components/Tabs/TabWidthContext.tsx
|
|
13526
13552
|
var import_react111 = require("react");
|
|
13527
|
-
var
|
|
13553
|
+
var import_jsx_runtime267 = require("react/jsx-runtime");
|
|
13528
13554
|
var TabContext = (0, import_react111.createContext)(null);
|
|
13529
13555
|
function TabWidthContextProvider({
|
|
13530
13556
|
children,
|
|
13531
13557
|
onChangeWidths
|
|
13532
13558
|
}) {
|
|
13533
|
-
return /* @__PURE__ */ (0,
|
|
13559
|
+
return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
|
|
13534
13560
|
TabContext.Provider,
|
|
13535
13561
|
{
|
|
13536
13562
|
value: {
|
|
@@ -13562,7 +13588,7 @@ function useSetTabWidth(index, width) {
|
|
|
13562
13588
|
}
|
|
13563
13589
|
|
|
13564
13590
|
// src/components/Tabs/Tab.tsx
|
|
13565
|
-
var
|
|
13591
|
+
var import_jsx_runtime268 = require("react/jsx-runtime");
|
|
13566
13592
|
var { tab: tab2 } = tabsTokens;
|
|
13567
13593
|
var Button2 = import_styled_components92.default.button`
|
|
13568
13594
|
${normalizeButton}
|
|
@@ -13646,7 +13672,7 @@ var Tab = (0, import_react112.forwardRef)((props, ref) => {
|
|
|
13646
13672
|
handleSelect();
|
|
13647
13673
|
onKeyDown && onKeyDown(e);
|
|
13648
13674
|
};
|
|
13649
|
-
return /* @__PURE__ */ (0,
|
|
13675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
|
|
13650
13676
|
Button2,
|
|
13651
13677
|
{
|
|
13652
13678
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -13659,8 +13685,8 @@ var Tab = (0, import_react112.forwardRef)((props, ref) => {
|
|
|
13659
13685
|
onKeyDown: handleOnKeyDown,
|
|
13660
13686
|
tabIndex: focus ? 0 : -1,
|
|
13661
13687
|
children: [
|
|
13662
|
-
icon11 && /* @__PURE__ */ (0,
|
|
13663
|
-
/* @__PURE__ */ (0,
|
|
13688
|
+
icon11 && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Icon, { icon: icon11, iconSize: "inherit" }),
|
|
13689
|
+
/* @__PURE__ */ (0, import_jsx_runtime268.jsx)("span", { children })
|
|
13664
13690
|
]
|
|
13665
13691
|
}
|
|
13666
13692
|
);
|
|
@@ -13670,7 +13696,7 @@ Tab.displayName = "Tab";
|
|
|
13670
13696
|
// src/components/Tabs/TabList.tsx
|
|
13671
13697
|
var import_react113 = require("react");
|
|
13672
13698
|
var import_styled_components93 = __toESM(require("styled-components"));
|
|
13673
|
-
var
|
|
13699
|
+
var import_jsx_runtime269 = require("react/jsx-runtime");
|
|
13674
13700
|
var { tabList: tabList2 } = tabsTokens;
|
|
13675
13701
|
var autoFlow = import_styled_components93.css`
|
|
13676
13702
|
grid-auto-flow: column;
|
|
@@ -13737,7 +13763,7 @@ var TabList = (0, import_react113.forwardRef)(
|
|
|
13737
13763
|
setHasTabFocus(false);
|
|
13738
13764
|
}
|
|
13739
13765
|
};
|
|
13740
|
-
return /* @__PURE__ */ (0,
|
|
13766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
|
|
13741
13767
|
TabRow,
|
|
13742
13768
|
{
|
|
13743
13769
|
...rest,
|
|
@@ -13759,7 +13785,7 @@ TabList.displayName = "TabList";
|
|
|
13759
13785
|
// src/components/Tabs/TabPanel.tsx
|
|
13760
13786
|
var import_react114 = require("react");
|
|
13761
13787
|
var import_styled_components94 = __toESM(require("styled-components"));
|
|
13762
|
-
var
|
|
13788
|
+
var import_jsx_runtime270 = require("react/jsx-runtime");
|
|
13763
13789
|
var { panel: panel2 } = tabsTokens;
|
|
13764
13790
|
var Panel = import_styled_components94.default.div`
|
|
13765
13791
|
padding: ${panel2.padding};
|
|
@@ -13776,7 +13802,7 @@ var Panel = import_styled_components94.default.div`
|
|
|
13776
13802
|
`;
|
|
13777
13803
|
var TabPanel = (0, import_react114.forwardRef)(
|
|
13778
13804
|
({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
|
|
13779
|
-
return /* @__PURE__ */ (0,
|
|
13805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
|
|
13780
13806
|
Panel,
|
|
13781
13807
|
{
|
|
13782
13808
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -13793,7 +13819,7 @@ TabPanel.displayName = "TabPanel";
|
|
|
13793
13819
|
|
|
13794
13820
|
// src/components/Tabs/TabPanels.tsx
|
|
13795
13821
|
var import_react115 = require("react");
|
|
13796
|
-
var
|
|
13822
|
+
var import_jsx_runtime271 = require("react/jsx-runtime");
|
|
13797
13823
|
var TabPanels = (0, import_react115.forwardRef)(
|
|
13798
13824
|
({ children, ...rest }, ref) => {
|
|
13799
13825
|
const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
|
|
@@ -13807,7 +13833,7 @@ var TabPanels = (0, import_react115.forwardRef)(
|
|
|
13807
13833
|
"aria-expanded": active
|
|
13808
13834
|
});
|
|
13809
13835
|
});
|
|
13810
|
-
return /* @__PURE__ */ (0,
|
|
13836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("div", { ref: combinedRef, ...rest, children: panelChildren });
|
|
13811
13837
|
}
|
|
13812
13838
|
);
|
|
13813
13839
|
TabPanels.displayName = "TabPanels";
|
|
@@ -13919,7 +13945,7 @@ var tagTokens = {
|
|
|
13919
13945
|
};
|
|
13920
13946
|
|
|
13921
13947
|
// src/components/Tag/Tag.tsx
|
|
13922
|
-
var
|
|
13948
|
+
var import_jsx_runtime272 = require("react/jsx-runtime");
|
|
13923
13949
|
var { wrapper: wrapper8 } = tagTokens;
|
|
13924
13950
|
var Wrapper7 = (0, import_styled_components95.default)(TextOverflowEllipsisWrapper)`
|
|
13925
13951
|
display: inline-flex;
|
|
@@ -13953,7 +13979,7 @@ var Tag = (0, import_react116.forwardRef)((props, ref) => {
|
|
|
13953
13979
|
...rest
|
|
13954
13980
|
} = props;
|
|
13955
13981
|
const icon11 = tagTokens.wrapper.purpose[purpose].icon;
|
|
13956
|
-
return /* @__PURE__ */ (0,
|
|
13982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
|
|
13957
13983
|
Wrapper7,
|
|
13958
13984
|
{
|
|
13959
13985
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -13962,7 +13988,7 @@ var Tag = (0, import_react116.forwardRef)((props, ref) => {
|
|
|
13962
13988
|
$strong: strong,
|
|
13963
13989
|
$withIcon: Boolean(withIcon && icon11),
|
|
13964
13990
|
children: [
|
|
13965
|
-
withIcon && icon11 && /* @__PURE__ */ (0,
|
|
13991
|
+
withIcon && icon11 && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
|
|
13966
13992
|
StyledIcon4,
|
|
13967
13993
|
{
|
|
13968
13994
|
$purpose: purpose,
|
|
@@ -13971,7 +13997,7 @@ var Tag = (0, import_react116.forwardRef)((props, ref) => {
|
|
|
13971
13997
|
iconSize: tagTokens.wrapper.icon.size
|
|
13972
13998
|
}
|
|
13973
13999
|
),
|
|
13974
|
-
/* @__PURE__ */ (0,
|
|
14000
|
+
/* @__PURE__ */ (0, import_jsx_runtime272.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
|
|
13975
14001
|
]
|
|
13976
14002
|
}
|
|
13977
14003
|
);
|
|
@@ -13985,7 +14011,7 @@ var import_styled_components98 = __toESM(require("styled-components"));
|
|
|
13985
14011
|
// src/components/TextInput/CharCounter.tsx
|
|
13986
14012
|
var import_react117 = require("react");
|
|
13987
14013
|
var import_styled_components96 = __toESM(require("styled-components"));
|
|
13988
|
-
var
|
|
14014
|
+
var import_jsx_runtime273 = require("react/jsx-runtime");
|
|
13989
14015
|
var Wrapper8 = (0, import_styled_components96.default)(Typography)`
|
|
13990
14016
|
margin-left: auto;
|
|
13991
14017
|
`;
|
|
@@ -13993,7 +14019,7 @@ function CharCounter(props) {
|
|
|
13993
14019
|
const { current, max, id, className, htmlProps, ...rest } = props;
|
|
13994
14020
|
const generatedId = (0, import_react117.useId)();
|
|
13995
14021
|
const uniqueId = id != null ? id : `${generatedId}-characterCounter`;
|
|
13996
|
-
return /* @__PURE__ */ (0,
|
|
14022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(
|
|
13997
14023
|
Wrapper8,
|
|
13998
14024
|
{
|
|
13999
14025
|
...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
|
|
@@ -14085,7 +14111,7 @@ var StyledInput = (0, import_styled_components97.default)(StatefulInput)`
|
|
|
14085
14111
|
`;
|
|
14086
14112
|
|
|
14087
14113
|
// src/components/TextInput/TextInput.tsx
|
|
14088
|
-
var
|
|
14114
|
+
var import_jsx_runtime274 = require("react/jsx-runtime");
|
|
14089
14115
|
var defaultWidth5 = "320px";
|
|
14090
14116
|
var defaultTinyWidth = "210px";
|
|
14091
14117
|
var getWidth = (size2, width) => {
|
|
@@ -14219,8 +14245,8 @@ var TextInput2 = (0, import_react118.forwardRef)(
|
|
|
14219
14245
|
const showRequiredStyling = !!(required || ariaRequired);
|
|
14220
14246
|
let extendedInput = null;
|
|
14221
14247
|
if (hasIcon) {
|
|
14222
|
-
extendedInput = /* @__PURE__ */ (0,
|
|
14223
|
-
/* @__PURE__ */ (0,
|
|
14248
|
+
extendedInput = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(InputContainer, { children: [
|
|
14249
|
+
/* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
|
|
14224
14250
|
StyledIcon5,
|
|
14225
14251
|
{
|
|
14226
14252
|
icon: icon11,
|
|
@@ -14228,7 +14254,7 @@ var TextInput2 = (0, import_react118.forwardRef)(
|
|
|
14228
14254
|
$size: componentSize
|
|
14229
14255
|
}
|
|
14230
14256
|
),
|
|
14231
|
-
/* @__PURE__ */ (0,
|
|
14257
|
+
/* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
|
|
14232
14258
|
StyledInput,
|
|
14233
14259
|
{
|
|
14234
14260
|
ref,
|
|
@@ -14241,9 +14267,9 @@ var TextInput2 = (0, import_react118.forwardRef)(
|
|
|
14241
14267
|
)
|
|
14242
14268
|
] });
|
|
14243
14269
|
} else if (hasAffix) {
|
|
14244
|
-
extendedInput = /* @__PURE__ */ (0,
|
|
14245
|
-
prefix2 && /* @__PURE__ */ (0,
|
|
14246
|
-
/* @__PURE__ */ (0,
|
|
14270
|
+
extendedInput = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(InputAffixContainer, { children: [
|
|
14271
|
+
prefix2 && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(Prefix, { readOnly, ref: prefixRef, "aria-hidden": true, children: prefix2 }),
|
|
14272
|
+
/* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
|
|
14247
14273
|
StatefulInput,
|
|
14248
14274
|
{
|
|
14249
14275
|
ref,
|
|
@@ -14255,12 +14281,12 @@ var TextInput2 = (0, import_react118.forwardRef)(
|
|
|
14255
14281
|
...generalInputProps
|
|
14256
14282
|
}
|
|
14257
14283
|
),
|
|
14258
|
-
suffix && /* @__PURE__ */ (0,
|
|
14284
|
+
suffix && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(Suffix, { readOnly, ref: suffixRef, "aria-hidden": true, children: suffix })
|
|
14259
14285
|
] });
|
|
14260
14286
|
}
|
|
14261
|
-
return /* @__PURE__ */ (0,
|
|
14262
|
-
hasLabel && /* @__PURE__ */ (0,
|
|
14263
|
-
extendedInput ? extendedInput : /* @__PURE__ */ (0,
|
|
14287
|
+
return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(OuterInputContainer, { ...outerInputContainerProps, children: [
|
|
14288
|
+
hasLabel && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
|
|
14289
|
+
extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
|
|
14264
14290
|
StatefulInput,
|
|
14265
14291
|
{
|
|
14266
14292
|
ref,
|
|
@@ -14270,9 +14296,9 @@ var TextInput2 = (0, import_react118.forwardRef)(
|
|
|
14270
14296
|
...generalInputProps
|
|
14271
14297
|
}
|
|
14272
14298
|
),
|
|
14273
|
-
hasMessage && /* @__PURE__ */ (0,
|
|
14299
|
+
hasMessage && /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(MessageContainer2, { children: [
|
|
14274
14300
|
renderInputMessage(tip, tipId, errorMessage, errorMessageId),
|
|
14275
|
-
maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ (0,
|
|
14301
|
+
maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
|
|
14276
14302
|
CharCounter_default,
|
|
14277
14303
|
{
|
|
14278
14304
|
id: characterCounterId,
|
|
@@ -14404,7 +14430,7 @@ var toggleBarTokens = {
|
|
|
14404
14430
|
};
|
|
14405
14431
|
|
|
14406
14432
|
// src/components/ToggleBar/ToggleBar.tsx
|
|
14407
|
-
var
|
|
14433
|
+
var import_jsx_runtime275 = require("react/jsx-runtime");
|
|
14408
14434
|
var OuterContainer3 = import_styled_components99.default.div`
|
|
14409
14435
|
display: flex;
|
|
14410
14436
|
flex-direction: column;
|
|
@@ -14444,7 +14470,7 @@ var ToggleBar = (props) => {
|
|
|
14444
14470
|
(e) => onChange && onChange(e, e.target.value)
|
|
14445
14471
|
);
|
|
14446
14472
|
const labelId = label3 && `${uniqueId}-label`;
|
|
14447
|
-
return /* @__PURE__ */ (0,
|
|
14473
|
+
return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
|
|
14448
14474
|
ToggleBarContext.Provider,
|
|
14449
14475
|
{
|
|
14450
14476
|
value: {
|
|
@@ -14453,7 +14479,7 @@ var ToggleBar = (props) => {
|
|
|
14453
14479
|
name,
|
|
14454
14480
|
value: groupValue
|
|
14455
14481
|
},
|
|
14456
|
-
children: /* @__PURE__ */ (0,
|
|
14482
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
|
|
14457
14483
|
OuterContainer3,
|
|
14458
14484
|
{
|
|
14459
14485
|
...getBaseHTMLProps(id, className, htmlProps, rest),
|
|
@@ -14461,8 +14487,8 @@ var ToggleBar = (props) => {
|
|
|
14461
14487
|
"aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
|
|
14462
14488
|
$width: width,
|
|
14463
14489
|
children: [
|
|
14464
|
-
label3 && /* @__PURE__ */ (0,
|
|
14465
|
-
/* @__PURE__ */ (0,
|
|
14490
|
+
label3 && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Typography, { typographyType: "supportingStyleLabel01", id: labelId, children: label3 }),
|
|
14491
|
+
/* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Bar3, { children })
|
|
14466
14492
|
]
|
|
14467
14493
|
}
|
|
14468
14494
|
)
|
|
@@ -14544,7 +14570,7 @@ var Label3 = import_styled_components100.default.label`
|
|
|
14544
14570
|
`;
|
|
14545
14571
|
|
|
14546
14572
|
// src/components/ToggleBar/ToggleRadio.tsx
|
|
14547
|
-
var
|
|
14573
|
+
var import_jsx_runtime276 = require("react/jsx-runtime");
|
|
14548
14574
|
var calculateChecked = (value, group4, checked) => {
|
|
14549
14575
|
if (typeof checked !== "undefined")
|
|
14550
14576
|
return checked;
|
|
@@ -14579,8 +14605,8 @@ var ToggleRadio = (0, import_react121.forwardRef)(
|
|
|
14579
14605
|
onChange && onChange(event);
|
|
14580
14606
|
(group4 == null ? void 0 : group4.onChange) && group4.onChange(event);
|
|
14581
14607
|
};
|
|
14582
|
-
return /* @__PURE__ */ (0,
|
|
14583
|
-
/* @__PURE__ */ (0,
|
|
14608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(Label3, { size: group4.size, htmlFor: uniqueId, children: [
|
|
14609
|
+
/* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
|
|
14584
14610
|
HiddenInput,
|
|
14585
14611
|
{
|
|
14586
14612
|
...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
|
|
@@ -14594,9 +14620,9 @@ var ToggleRadio = (0, import_react121.forwardRef)(
|
|
|
14594
14620
|
"aria-labelledby": ariaLabelledBy
|
|
14595
14621
|
}
|
|
14596
14622
|
),
|
|
14597
|
-
/* @__PURE__ */ (0,
|
|
14598
|
-
icon11 && /* @__PURE__ */ (0,
|
|
14599
|
-
label3 && /* @__PURE__ */ (0,
|
|
14623
|
+
/* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(Content2, { $size: group4.size, $justIcon: !!icon11 && !label3, children: [
|
|
14624
|
+
icon11 && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(Icon, { icon: icon11, iconSize: "inherit" }),
|
|
14625
|
+
label3 && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)("span", { children: label3 })
|
|
14600
14626
|
] })
|
|
14601
14627
|
] });
|
|
14602
14628
|
}
|
|
@@ -14640,7 +14666,7 @@ var toggleButtonTokens = {
|
|
|
14640
14666
|
};
|
|
14641
14667
|
|
|
14642
14668
|
// src/components/ToggleButton/ToggleButton.tsx
|
|
14643
|
-
var
|
|
14669
|
+
var import_jsx_runtime277 = require("react/jsx-runtime");
|
|
14644
14670
|
var { toggleButton: toggleButton2 } = toggleButtonTokens;
|
|
14645
14671
|
var Content3 = import_styled_components101.default.span`
|
|
14646
14672
|
display: flex;
|
|
@@ -14698,8 +14724,8 @@ var ToggleButton = (0, import_react122.forwardRef)(
|
|
|
14698
14724
|
({ id, label: label3, icon: icon11, className, htmlProps, ...rest }, ref) => {
|
|
14699
14725
|
const generatedId = (0, import_react122.useId)();
|
|
14700
14726
|
const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
|
|
14701
|
-
return /* @__PURE__ */ (0,
|
|
14702
|
-
/* @__PURE__ */ (0,
|
|
14727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(Container16, { htmlFor: uniqueId, children: [
|
|
14728
|
+
/* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
|
|
14703
14729
|
HiddenInput,
|
|
14704
14730
|
{
|
|
14705
14731
|
...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
|
|
@@ -14707,8 +14733,8 @@ var ToggleButton = (0, import_react122.forwardRef)(
|
|
|
14707
14733
|
type: "checkbox"
|
|
14708
14734
|
}
|
|
14709
14735
|
),
|
|
14710
|
-
/* @__PURE__ */ (0,
|
|
14711
|
-
icon11 && /* @__PURE__ */ (0,
|
|
14736
|
+
/* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(Content3, { $hasIcon: !!icon11, children: [
|
|
14737
|
+
icon11 && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(Icon, { icon: icon11, iconSize: "inherit" }),
|
|
14712
14738
|
" ",
|
|
14713
14739
|
label3
|
|
14714
14740
|
] })
|
|
@@ -14720,7 +14746,7 @@ ToggleButton.displayName = "ToggleButton";
|
|
|
14720
14746
|
// src/components/ToggleButton/ToggleButtonGroup.tsx
|
|
14721
14747
|
var import_react123 = require("react");
|
|
14722
14748
|
var import_styled_components102 = __toESM(require("styled-components"));
|
|
14723
|
-
var
|
|
14749
|
+
var import_jsx_runtime278 = require("react/jsx-runtime");
|
|
14724
14750
|
var Group2 = import_styled_components102.default.div`
|
|
14725
14751
|
gap: ${toggleButtonTokens.group.gap};
|
|
14726
14752
|
display: flex;
|
|
@@ -14755,8 +14781,8 @@ var ToggleButtonGroup = (props) => {
|
|
|
14755
14781
|
role: "group",
|
|
14756
14782
|
"aria-labelledby": label3 ? uniqueLabelId : void 0
|
|
14757
14783
|
};
|
|
14758
|
-
return /* @__PURE__ */ (0,
|
|
14759
|
-
!!label3 && /* @__PURE__ */ (0,
|
|
14784
|
+
return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(Container17, { ...containerProps, children: [
|
|
14785
|
+
!!label3 && /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
|
|
14760
14786
|
Typography,
|
|
14761
14787
|
{
|
|
14762
14788
|
as: "span",
|
|
@@ -14765,7 +14791,7 @@ var ToggleButtonGroup = (props) => {
|
|
|
14765
14791
|
children: label3
|
|
14766
14792
|
}
|
|
14767
14793
|
),
|
|
14768
|
-
/* @__PURE__ */ (0,
|
|
14794
|
+
/* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Group2, { ...groupProps, children })
|
|
14769
14795
|
] });
|
|
14770
14796
|
};
|
|
14771
14797
|
ToggleButtonGroup.displayName = "ToggleButtonGroup";
|
|
@@ -14876,6 +14902,7 @@ ToggleButtonGroup.displayName = "ToggleButtonGroup";
|
|
|
14876
14902
|
GlobalMessage,
|
|
14877
14903
|
Grid,
|
|
14878
14904
|
GridChild,
|
|
14905
|
+
GuardianIcon,
|
|
14879
14906
|
HStack,
|
|
14880
14907
|
Heading,
|
|
14881
14908
|
HelpFilledIcon,
|
|
@@ -14954,6 +14981,7 @@ ToggleButtonGroup.displayName = "ToggleButtonGroup";
|
|
|
14954
14981
|
PlusIcon,
|
|
14955
14982
|
Popover,
|
|
14956
14983
|
PopoverGroup,
|
|
14984
|
+
PowerOfAttorneyIcon,
|
|
14957
14985
|
PrintIcon,
|
|
14958
14986
|
ProgressTracker,
|
|
14959
14987
|
PropertyIcon,
|