@arbeidstilsynet/design-react 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -12,7 +12,7 @@ var hasRequiredReactJsxRuntime_production;
12
12
  function requireReactJsxRuntime_production() {
13
13
  if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
14
14
  hasRequiredReactJsxRuntime_production = 1;
15
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
15
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
16
16
  function jsxProd(type, config, maybeKey) {
17
17
  var key = null;
18
18
  void 0 !== maybeKey && (key = "" + maybeKey);
@@ -251,7 +251,7 @@ function requireReactJsxRuntime_development() {
251
251
  function isValidElement(object) {
252
252
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
253
253
  }
254
- var React = require$$0, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
254
+ var React = require$$0, REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  React = {
@@ -471,7 +471,7 @@ function DefaultLabel(t0) {
471
471
  const text3 = defaultLabelText?.[2];
472
472
  let t1;
473
473
  let t2;
474
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
474
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
475
475
  t1 = /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.CloudUpIcon, { title: "Cloud" });
476
476
  t2 = {
477
477
  display: "flex",
@@ -484,7 +484,7 @@ function DefaultLabel(t0) {
484
484
  t2 = $[1];
485
485
  }
486
486
  let t3;
487
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
487
+ if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
488
488
  t3 = {
489
489
  textDecoration: "underline"
490
490
  };
@@ -910,17 +910,25 @@ const FilePicker = Object.assign(FilePicker$1, {
910
910
  Files: FilePickerFiles,
911
911
  Errors: FilePickerErrors
912
912
  });
913
+ const HeaderContext = require$$0.createContext({
914
+ links: [],
915
+ headerRef: {
916
+ current: null
917
+ }
918
+ });
913
919
  function Header$1(t0) {
914
- const $ = compilerRuntimeExports.c(12);
920
+ const $ = compilerRuntimeExports.c(23);
915
921
  let children;
916
922
  let className;
917
923
  let ref;
918
924
  let rest;
925
+ let t1;
919
926
  if ($[0] !== t0) {
920
927
  ({
921
928
  ref,
922
929
  className,
923
930
  children,
931
+ links: t1,
924
932
  ...rest
925
933
  } = t0);
926
934
  $[0] = t0;
@@ -928,155 +936,154 @@ function Header$1(t0) {
928
936
  $[2] = className;
929
937
  $[3] = ref;
930
938
  $[4] = rest;
939
+ $[5] = t1;
931
940
  } else {
932
941
  children = $[1];
933
942
  className = $[2];
934
943
  ref = $[3];
935
944
  rest = $[4];
945
+ t1 = $[5];
936
946
  }
937
- let t1;
938
- if ($[5] !== className) {
939
- t1 = clsx("at-header", className);
940
- $[5] = className;
947
+ let t2;
948
+ if ($[6] !== t1) {
949
+ t2 = t1 === void 0 ? [] : t1;
941
950
  $[6] = t1;
951
+ $[7] = t2;
942
952
  } else {
943
- t1 = $[6];
953
+ t2 = $[7];
944
954
  }
945
- let t2;
946
- if ($[7] !== children || $[8] !== ref || $[9] !== rest || $[10] !== t1) {
947
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, className: t1, ...rest, children });
948
- $[7] = children;
949
- $[8] = ref;
950
- $[9] = rest;
951
- $[10] = t1;
952
- $[11] = t2;
955
+ const links = t2;
956
+ const internalRef = require$$0.useRef(null);
957
+ const headerRef = ref ?? internalRef;
958
+ let t3;
959
+ if ($[8] !== headerRef || $[9] !== links) {
960
+ t3 = {
961
+ links,
962
+ headerRef
963
+ };
964
+ $[8] = headerRef;
965
+ $[9] = links;
966
+ $[10] = t3;
953
967
  } else {
954
- t2 = $[11];
968
+ t3 = $[10];
955
969
  }
956
- return t2;
957
- }
958
- function HeaderDefaultLogo(t0) {
959
- const $ = compilerRuntimeExports.c(23);
960
- const {
961
- width: t1,
962
- height: t2
963
- } = t0;
964
- const width = t1 === void 0 ? 48 : t1;
965
- const height = t2 === void 0 ? 40 : t2;
966
- let t10;
967
- let t11;
968
- let t12;
969
- let t13;
970
- let t14;
971
- let t15;
972
- let t16;
973
- let t17;
974
- let t18;
975
- let t19;
976
- let t20;
977
- let t21;
978
- let t22;
979
- let t3;
980
970
  let t4;
971
+ if ($[11] !== className) {
972
+ t4 = clsx("at-header", className);
973
+ $[11] = className;
974
+ $[12] = t4;
975
+ } else {
976
+ t4 = $[12];
977
+ }
981
978
  let t5;
979
+ if ($[13] !== children) {
980
+ t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "at-header__container", children });
981
+ $[13] = children;
982
+ $[14] = t5;
983
+ } else {
984
+ t5 = $[14];
985
+ }
982
986
  let t6;
987
+ if ($[15] !== headerRef || $[16] !== rest || $[17] !== t4 || $[18] !== t5) {
988
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx("header", { ref: headerRef, className: t4, ...rest, children: t5 });
989
+ $[15] = headerRef;
990
+ $[16] = rest;
991
+ $[17] = t4;
992
+ $[18] = t5;
993
+ $[19] = t6;
994
+ } else {
995
+ t6 = $[19];
996
+ }
983
997
  let t7;
984
- let t8;
985
- let t9;
986
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
987
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M39.6146 39.0748C44.2288 34.9752 47.1325 29.0195 47.1325 22.3899C47.1325 10.0245 37.0294 6.10352e-05 24.567 6.10352e-05C12.1047 6.10352e-05 2.00159 10.0245 2.00159 22.3899C2.00159 29.0189 4.90531 34.9752 9.51947 39.0748H39.6146Z", fill: "#B3E5DF" });
988
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "16.7253", y: "20.4756", width: "2.08381", height: "0.108768", fill: "#085E55" });
989
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "34.2183", y: "6.36298", width: "2.08381", height: "0.108768", fill: "#085E55" });
990
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "7.67719", y: "13.5688", width: "2.82411", height: "0.108768", fill: "#085E55" });
991
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "6.27887", y: "12.8889", width: "2.82411", height: "0.108768", fill: "#085E55" });
992
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "37.3441", y: "15.7985", width: "2.82411", height: "0.108768", fill: "#085E55" });
993
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "36.1102", y: "16.4512", width: "2.82411", height: "0.108768", fill: "#085E55" });
994
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsx("ellipse", { cx: "30.2138", cy: "10.6896", rx: "4.8805", ry: "4.84016", fill: "white" });
995
- t11 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M27.5607 7.28931C27.6145 7.24779 27.692 7.25736 27.7339 7.31068L30.3616 10.6573L30.5837 13.631C30.5887 13.6983 30.5377 13.757 30.4697 13.762C30.4018 13.767 30.3426 13.7164 30.3376 13.649L30.121 10.7492L27.5392 7.46104C27.4973 7.40772 27.5069 7.33083 27.5607 7.28931Z", fill: "black" });
996
- t12 = /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { y: "38.9753", width: "48", height: "0.29752", fill: "black" });
997
- t13 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.1388 13.5608C19.1388 12.6441 18.3894 11.9009 17.465 11.9009H15.8471C14.9227 11.9009 14.1733 12.6441 14.1733 13.5608V22.7458H19.1388V13.5608Z", fill: "#FFE9B4" });
998
- t14 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.1388 13.4778C19.1388 12.6069 18.4269 11.9009 17.5487 11.9009H15.8471C14.9227 11.9009 14.1733 12.6441 14.1733 13.5608V15.0547H17.5487C18.4269 15.0547 19.1388 14.3487 19.1388 13.4778Z", fill: "black" });
999
- t15 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14.1733 13.9482H13.5038C12.5794 13.9482 11.8301 14.6914 11.8301 15.6082V22.7459H14.1733V13.9482Z", fill: "black" });
1000
- t16 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.8301 17.1574H11.7185C10.7941 17.1574 10.0447 17.9006 10.0447 18.8174V23.0225H11.8301V17.1574Z", fill: "black" });
1001
- t17 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9.48675 38.8454L9.56881 37.6655L8.70715 24.1285C8.64853 23.2105 9.39296 22.4363 10.3308 22.4392L13.4228 22.4507H16.4384H18.247L21.9193 22.4421C22.948 22.4421 23.7657 23.2882 23.7071 24.2954L22.0248 38.8857L21.7904 38.8771L9.48675 38.8454Z", fill: "#11C1B0" });
1002
- t18 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21.7639 23.7544C22.7926 23.4493 23.3905 22.7212 23.6865 23.7371L26.6525 32.8337L36.758 36.4597C37.2298 36.6295 37.4584 37.159 37.2504 37.608C37.0774 37.9878 36.6466 38.1893 36.2363 38.0799L24.0734 34.9029L20.3219 25.3141C19.9556 24.2954 20.7088 24.0623 21.7609 23.7515L21.7639 23.7544Z", fill: "#11C1B0" });
1003
- t19 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12.693 23.8752L15.1402 33.205L25.4597 37.0756C25.9433 37.2569 26.166 37.8037 25.9491 38.2613C25.7645 38.6498 25.3219 38.8483 24.9028 38.7332L12.4644 35.2943L8.91224 25.0033L12.693 23.8752Z", fill: "#11C1B0" });
1004
- t20 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M22.9831 36.1431L25.4626 37.0727C25.9462 37.254 26.1689 37.8007 25.9521 38.2583C25.7674 38.6468 25.3249 38.8454 24.9058 38.7303L22.0013 37.9302L22.9831 36.1431Z", fill: "#FFE9B4" });
1005
- t21 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M18.2147 37.8959H39.8588V38.8887H18.2147V37.8959Z", fill: "#085E55" });
1006
- t22 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M26.1426 38.8138H39.8588L42.353 28.5516H28.6367L26.1426 38.8138Z", fill: "#085E55" });
1007
- $[0] = t10;
1008
- $[1] = t11;
1009
- $[2] = t12;
1010
- $[3] = t13;
1011
- $[4] = t14;
1012
- $[5] = t15;
1013
- $[6] = t16;
1014
- $[7] = t17;
1015
- $[8] = t18;
1016
- $[9] = t19;
1017
- $[10] = t20;
1018
- $[11] = t21;
1019
- $[12] = t22;
1020
- $[13] = t3;
1021
- $[14] = t4;
1022
- $[15] = t5;
1023
- $[16] = t6;
1024
- $[17] = t7;
1025
- $[18] = t8;
1026
- $[19] = t9;
998
+ if ($[20] !== t3 || $[21] !== t6) {
999
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderContext, { value: t3, children: t6 });
1000
+ $[20] = t3;
1001
+ $[21] = t6;
1002
+ $[22] = t7;
1027
1003
  } else {
1028
- t10 = $[0];
1029
- t11 = $[1];
1030
- t12 = $[2];
1031
- t13 = $[3];
1032
- t14 = $[4];
1033
- t15 = $[5];
1034
- t16 = $[6];
1035
- t17 = $[7];
1036
- t18 = $[8];
1037
- t19 = $[9];
1038
- t20 = $[10];
1039
- t21 = $[11];
1040
- t22 = $[12];
1041
- t3 = $[13];
1042
- t4 = $[14];
1043
- t5 = $[15];
1044
- t6 = $[16];
1045
- t7 = $[17];
1046
- t8 = $[18];
1047
- t9 = $[19];
1004
+ t7 = $[22];
1048
1005
  }
1049
- let t23;
1050
- if ($[20] !== height || $[21] !== width) {
1051
- t23 = /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width, height, viewBox: "0 0 48 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1052
- t3,
1053
- t4,
1054
- t5,
1055
- t6,
1056
- t7,
1057
- t8,
1058
- t9,
1059
- t10,
1060
- t11,
1061
- t12,
1062
- t13,
1063
- t14,
1064
- t15,
1065
- t16,
1066
- t17,
1067
- t18,
1068
- t19,
1069
- t20,
1070
- t21,
1071
- t22
1072
- ] });
1073
- $[20] = height;
1074
- $[21] = width;
1075
- $[22] = t23;
1006
+ return t7;
1007
+ }
1008
+ function HeaderIllustration(t0) {
1009
+ const $ = compilerRuntimeExports.c(10);
1010
+ let children;
1011
+ let className;
1012
+ let rest;
1013
+ if ($[0] !== t0) {
1014
+ ({
1015
+ className,
1016
+ children,
1017
+ ...rest
1018
+ } = t0);
1019
+ $[0] = t0;
1020
+ $[1] = children;
1021
+ $[2] = className;
1022
+ $[3] = rest;
1076
1023
  } else {
1077
- t23 = $[22];
1024
+ children = $[1];
1025
+ className = $[2];
1026
+ rest = $[3];
1078
1027
  }
1079
- return t23;
1028
+ let t1;
1029
+ if ($[4] !== className) {
1030
+ t1 = clsx("at-header__illustration", className);
1031
+ $[4] = className;
1032
+ $[5] = t1;
1033
+ } else {
1034
+ t1 = $[5];
1035
+ }
1036
+ let t2;
1037
+ if ($[6] !== children || $[7] !== rest || $[8] !== t1) {
1038
+ t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t1, ...rest, children });
1039
+ $[6] = children;
1040
+ $[7] = rest;
1041
+ $[8] = t1;
1042
+ $[9] = t2;
1043
+ } else {
1044
+ t2 = $[9];
1045
+ }
1046
+ return t2;
1047
+ }
1048
+ function HeaderLogo(t0) {
1049
+ const $ = compilerRuntimeExports.c(10);
1050
+ let children;
1051
+ let className;
1052
+ let rest;
1053
+ if ($[0] !== t0) {
1054
+ ({
1055
+ className,
1056
+ children,
1057
+ ...rest
1058
+ } = t0);
1059
+ $[0] = t0;
1060
+ $[1] = children;
1061
+ $[2] = className;
1062
+ $[3] = rest;
1063
+ } else {
1064
+ children = $[1];
1065
+ className = $[2];
1066
+ rest = $[3];
1067
+ }
1068
+ let t1;
1069
+ if ($[4] !== className) {
1070
+ t1 = clsx("at-header__logo", className);
1071
+ $[4] = className;
1072
+ $[5] = t1;
1073
+ } else {
1074
+ t1 = $[5];
1075
+ }
1076
+ let t2;
1077
+ if ($[6] !== children || $[7] !== rest || $[8] !== t1) {
1078
+ t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t1, ...rest, children });
1079
+ $[6] = children;
1080
+ $[7] = rest;
1081
+ $[8] = t1;
1082
+ $[9] = t2;
1083
+ } else {
1084
+ t2 = $[9];
1085
+ }
1086
+ return t2;
1080
1087
  }
1081
1088
  const useIsomorphicLayoutEffect = typeof window !== "undefined" ? require$$0.useLayoutEffect : require$$0.useEffect;
1082
1089
  const IS_SERVER = typeof window === "undefined";
@@ -1174,344 +1181,338 @@ function useMediaQuery(query, t0) {
1174
1181
  useIsomorphicLayoutEffect(t7, t8);
1175
1182
  return matches;
1176
1183
  }
1177
- function HeaderTitleDropdown(t0) {
1178
- const $ = compilerRuntimeExports.c(44);
1184
+ function HeaderMenu(t0) {
1185
+ const $ = compilerRuntimeExports.c(52);
1179
1186
  let children;
1180
1187
  let className;
1181
- let controls;
1182
- let links;
1183
1188
  let rest;
1184
- let userName;
1189
+ let t1;
1190
+ let t2;
1191
+ let triggerContent;
1185
1192
  if ($[0] !== t0) {
1186
1193
  ({
1187
1194
  className,
1188
- controls,
1189
- links,
1190
- userName,
1191
1195
  children,
1196
+ triggerContent,
1197
+ mobileMenuText: t1,
1198
+ closeButtonText: t2,
1192
1199
  ...rest
1193
1200
  } = t0);
1194
1201
  $[0] = t0;
1195
1202
  $[1] = children;
1196
1203
  $[2] = className;
1197
- $[3] = controls;
1198
- $[4] = links;
1199
- $[5] = rest;
1200
- $[6] = userName;
1204
+ $[3] = rest;
1205
+ $[4] = t1;
1206
+ $[5] = t2;
1207
+ $[6] = triggerContent;
1201
1208
  } else {
1202
1209
  children = $[1];
1203
1210
  className = $[2];
1204
- controls = $[3];
1205
- links = $[4];
1206
- rest = $[5];
1207
- userName = $[6];
1211
+ rest = $[3];
1212
+ t1 = $[4];
1213
+ t2 = $[5];
1214
+ triggerContent = $[6];
1208
1215
  }
1216
+ const mobileMenuText = t1 === void 0 ? "Meny" : t1;
1217
+ const closeButtonText = t2 === void 0 ? "Lukk" : t2;
1209
1218
  const [open, setOpen] = require$$0.useState(false);
1210
- const id = require$$0.useId();
1211
- const isMobile = useMediaQuery("(max-width: 768px)");
1212
- let t1;
1213
- if ($[7] !== className) {
1214
- t1 = clsx(className);
1215
- $[7] = className;
1216
- $[8] = t1;
1219
+ const [backdropTop, setBackdropTop] = require$$0.useState(0);
1220
+ const {
1221
+ links,
1222
+ headerRef
1223
+ } = require$$0.use(HeaderContext);
1224
+ const isMobile = useMediaQuery("(max-width: 48rem)");
1225
+ let t3;
1226
+ let t4;
1227
+ if ($[7] !== headerRef || $[8] !== open) {
1228
+ t3 = () => {
1229
+ if (!open || !headerRef.current) {
1230
+ return;
1231
+ }
1232
+ const updateBackdropPosition = () => {
1233
+ const rect = headerRef.current?.getBoundingClientRect();
1234
+ if (rect) {
1235
+ setBackdropTop(rect.bottom);
1236
+ }
1237
+ };
1238
+ updateBackdropPosition();
1239
+ window.addEventListener("scroll", updateBackdropPosition, true);
1240
+ window.addEventListener("resize", updateBackdropPosition);
1241
+ return () => {
1242
+ window.removeEventListener("scroll", updateBackdropPosition, true);
1243
+ window.removeEventListener("resize", updateBackdropPosition);
1244
+ };
1245
+ };
1246
+ t4 = [open, headerRef];
1247
+ $[7] = headerRef;
1248
+ $[8] = open;
1249
+ $[9] = t3;
1250
+ $[10] = t4;
1217
1251
  } else {
1218
- t1 = $[8];
1252
+ t3 = $[9];
1253
+ t4 = $[10];
1219
1254
  }
1220
- let t2;
1221
- if ($[9] !== open) {
1222
- t2 = () => setOpen(!open);
1223
- $[9] = open;
1224
- $[10] = t2;
1255
+ require$$0.useLayoutEffect(t3, t4);
1256
+ let t5;
1257
+ if ($[11] !== className) {
1258
+ t5 = clsx("at-header__right", className);
1259
+ $[11] = className;
1260
+ $[12] = t5;
1225
1261
  } else {
1226
- t2 = $[10];
1262
+ t5 = $[12];
1227
1263
  }
1228
- const t3 = isMobile ? "primary" : "tertiary";
1229
- let t4;
1230
- if ($[11] !== isMobile || $[12] !== open || $[13] !== userName) {
1231
- t4 = isMobile ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1264
+ const t6 = isMobile ? "primary" : "tertiary";
1265
+ let t7;
1266
+ if ($[13] !== isMobile || $[14] !== mobileMenuText || $[15] !== open || $[16] !== triggerContent) {
1267
+ t7 = isMobile ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1232
1268
  open ? /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.XMarkIcon, { "aria-hidden": true }) : /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.MenuHamburgerIcon, { "aria-hidden": true }),
1233
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "at-header__title-dropdown-text", children: "Meny" })
1269
+ mobileMenuText
1234
1270
  ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1235
- userName,
1271
+ triggerContent,
1236
1272
  open ? /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.ChevronUpIcon, { "aria-hidden": true }) : /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.ChevronDownIcon, { "aria-hidden": true })
1237
1273
  ] });
1238
- $[11] = isMobile;
1239
- $[12] = open;
1240
- $[13] = userName;
1241
- $[14] = t4;
1274
+ $[13] = isMobile;
1275
+ $[14] = mobileMenuText;
1276
+ $[15] = open;
1277
+ $[16] = triggerContent;
1278
+ $[17] = t7;
1242
1279
  } else {
1243
- t4 = $[14];
1280
+ t7 = $[17];
1244
1281
  }
1245
- let t5;
1246
- if ($[15] !== t2 || $[16] !== t3 || $[17] !== t4) {
1247
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Trigger, { onClick: t2, "data-size": "sm", variant: t3, className: "at-header__title-dropdown-trigger", children: t4 });
1248
- $[15] = t2;
1249
- $[16] = t3;
1250
- $[17] = t4;
1251
- $[18] = t5;
1282
+ let t8;
1283
+ if ($[18] !== t6 || $[19] !== t7) {
1284
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Trigger, { "data-size": "sm", variant: t6, children: t7 });
1285
+ $[18] = t6;
1286
+ $[19] = t7;
1287
+ $[20] = t8;
1252
1288
  } else {
1253
- t5 = $[18];
1289
+ t8 = $[20];
1254
1290
  }
1255
- let t6;
1256
- if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
1257
- t6 = () => setOpen(false);
1258
- $[19] = t6;
1291
+ let t10;
1292
+ let t9;
1293
+ if ($[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1294
+ t9 = () => setOpen(true);
1295
+ t10 = () => setOpen(false);
1296
+ $[21] = t10;
1297
+ $[22] = t9;
1259
1298
  } else {
1260
- t6 = $[19];
1299
+ t10 = $[21];
1300
+ t9 = $[22];
1261
1301
  }
1262
- let t7;
1263
- if ($[20] !== children || $[21] !== links) {
1264
- t7 = children ? require$$0.Children.map(children, _temp$1) : links?.map(_temp2$1);
1265
- $[20] = children;
1266
- $[21] = links;
1267
- $[22] = t7;
1302
+ let t11;
1303
+ if ($[23] !== links) {
1304
+ t11 = links?.map(_temp$1);
1305
+ $[23] = links;
1306
+ $[24] = t11;
1268
1307
  } else {
1269
- t7 = $[22];
1308
+ t11 = $[24];
1270
1309
  }
1271
- let t8;
1272
- if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
1273
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__title-dropdown-item-mobile at-header__title-dropdown-controls"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Divider, {}) }) });
1274
- $[23] = t8;
1310
+ let t12;
1311
+ if ($[25] !== links) {
1312
+ t12 = links && links.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__dropdown-item-mobile at-header__dropdown-controls"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Divider, {}) }) });
1313
+ $[25] = links;
1314
+ $[26] = t12;
1275
1315
  } else {
1276
- t8 = $[23];
1316
+ t12 = $[26];
1277
1317
  }
1278
- let t9;
1279
- if ($[24] !== controls || $[25] !== id) {
1280
- t9 = controls?.map((control, index_0) => /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "at-header__title-dropdown-controls", children: control }) }, id + "-control-" + index_0));
1281
- $[24] = controls;
1282
- $[25] = id;
1283
- $[26] = t9;
1318
+ let t13;
1319
+ if ($[27] !== children) {
1320
+ t13 = children && /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "at-header__dropdown-controls", children }) });
1321
+ $[27] = children;
1322
+ $[28] = t13;
1284
1323
  } else {
1285
- t9 = $[26];
1324
+ t13 = $[28];
1286
1325
  }
1287
- let t10;
1288
- if ($[27] !== t7 || $[28] !== t9) {
1289
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown.List, { children: [
1290
- t7,
1291
- t8,
1292
- t9
1326
+ let t14;
1327
+ if ($[29] !== t11 || $[30] !== t12 || $[31] !== t13) {
1328
+ t14 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown.List, { children: [
1329
+ t11,
1330
+ t12,
1331
+ t13
1293
1332
  ] });
1294
- $[27] = t7;
1295
- $[28] = t9;
1296
- $[29] = t10;
1333
+ $[29] = t11;
1334
+ $[30] = t12;
1335
+ $[31] = t13;
1336
+ $[32] = t14;
1297
1337
  } else {
1298
- t10 = $[29];
1338
+ t14 = $[32];
1299
1339
  }
1300
- let t11;
1301
- if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
1302
- t11 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "at-header__title-dropdown-close-mobile", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Button, { type: "button", variant: "secondary", onClick: () => setOpen(false), children: [
1303
- /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.XMarkIcon, { "aria-hidden": true }),
1304
- "Lukk"
1340
+ let t15;
1341
+ let t16;
1342
+ if ($[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1343
+ t15 = () => setOpen(false);
1344
+ t16 = /* @__PURE__ */ jsxRuntimeExports.jsx(akselIcons.XMarkIcon, { "aria-hidden": true });
1345
+ $[33] = t15;
1346
+ $[34] = t16;
1347
+ } else {
1348
+ t15 = $[33];
1349
+ t16 = $[34];
1350
+ }
1351
+ let t17;
1352
+ if ($[35] !== closeButtonText) {
1353
+ t17 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "at-header__dropdown-close-mobile", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Button, { type: "button", variant: "secondary", onClick: t15, children: [
1354
+ t16,
1355
+ closeButtonText
1305
1356
  ] }) }) });
1306
- $[30] = t11;
1357
+ $[35] = closeButtonText;
1358
+ $[36] = t17;
1307
1359
  } else {
1308
- t11 = $[30];
1360
+ t17 = $[36];
1309
1361
  }
1310
- let t12;
1311
- if ($[31] !== open || $[32] !== t10) {
1312
- t12 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown, { open, onClose: t6, placement: "bottom", className: "at-header__title-dropdown-content", children: [
1313
- t10,
1314
- t11
1362
+ let t18;
1363
+ if ($[37] !== open || $[38] !== t14 || $[39] !== t17) {
1364
+ t18 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown, { open, onOpen: t9, onClose: t10, placement: "bottom", className: "at-header__dropdown-content", children: [
1365
+ t14,
1366
+ t17
1315
1367
  ] });
1316
- $[31] = open;
1317
- $[32] = t10;
1318
- $[33] = t12;
1368
+ $[37] = open;
1369
+ $[38] = t14;
1370
+ $[39] = t17;
1371
+ $[40] = t18;
1319
1372
  } else {
1320
- t12 = $[33];
1373
+ t18 = $[40];
1321
1374
  }
1322
- let t13;
1323
- if ($[34] !== t12 || $[35] !== t5) {
1324
- t13 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown.TriggerContext, { children: [
1325
- t5,
1326
- t12
1375
+ let t19;
1376
+ if ($[41] !== t18 || $[42] !== t8) {
1377
+ t19 = /* @__PURE__ */ jsxRuntimeExports.jsxs(designsystemetReact.Dropdown.TriggerContext, { children: [
1378
+ t8,
1379
+ t18
1327
1380
  ] });
1328
- $[34] = t12;
1329
- $[35] = t5;
1330
- $[36] = t13;
1381
+ $[41] = t18;
1382
+ $[42] = t8;
1383
+ $[43] = t19;
1331
1384
  } else {
1332
- t13 = $[36];
1385
+ t19 = $[43];
1333
1386
  }
1334
- let t14;
1335
- if ($[37] !== open) {
1336
- t14 = open ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "at-header__title-dropdown-backdrop" }) : null;
1337
- $[37] = open;
1338
- $[38] = t14;
1387
+ let t20;
1388
+ if ($[44] !== backdropTop || $[45] !== open) {
1389
+ t20 = open ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "at-header__dropdown-backdrop", style: {
1390
+ top: backdropTop
1391
+ } }) : null;
1392
+ $[44] = backdropTop;
1393
+ $[45] = open;
1394
+ $[46] = t20;
1339
1395
  } else {
1340
- t14 = $[38];
1396
+ t20 = $[46];
1341
1397
  }
1342
- let t15;
1343
- if ($[39] !== rest || $[40] !== t1 || $[41] !== t13 || $[42] !== t14) {
1344
- t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t1, ...rest, children: [
1345
- t13,
1346
- t14
1398
+ let t21;
1399
+ if ($[47] !== rest || $[48] !== t19 || $[49] !== t20 || $[50] !== t5) {
1400
+ t21 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t5, ...rest, children: [
1401
+ t19,
1402
+ t20
1347
1403
  ] });
1348
- $[39] = rest;
1349
- $[40] = t1;
1350
- $[41] = t13;
1351
- $[42] = t14;
1352
- $[43] = t15;
1404
+ $[47] = rest;
1405
+ $[48] = t19;
1406
+ $[49] = t20;
1407
+ $[50] = t5;
1408
+ $[51] = t21;
1353
1409
  } else {
1354
- t15 = $[43];
1410
+ t21 = $[51];
1355
1411
  }
1356
- return t15;
1357
- }
1358
- function _temp2$1(link) {
1359
- return /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__title-dropdown-controls", "at-header__title-dropdown-item-mobile"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Link, { href: link.href, className: clsx("at-header__title-link"), children: link.label }) }) }, "nav-" + link.href);
1412
+ return t21;
1360
1413
  }
1361
- function _temp$1(child, index) {
1362
- return /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__title-dropdown-controls", "at-header__title-dropdown-item-mobile"), children: require$$0.isValidElement(child) ? /* @__PURE__ */ jsxRuntimeExports.jsx(reactSlot.Slot, { className: clsx("at-header__title-link", "ds-link"), children: child }) : child }) }, "nav-" + index);
1414
+ function _temp$1(link, index) {
1415
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Dropdown.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__dropdown-controls", "at-header__dropdown-item-mobile"), children: require$$0.isValidElement(link) ? /* @__PURE__ */ jsxRuntimeExports.jsx(reactSlot.Slot, { className: clsx("at-header__link", "ds-link"), children: link }) : link }) }, "nav-" + index);
1363
1416
  }
1364
- function HeaderTitleLinks(t0) {
1365
- const $ = compilerRuntimeExports.c(14);
1366
- let children;
1417
+ function HeaderNavbar(t0) {
1418
+ const $ = compilerRuntimeExports.c(11);
1367
1419
  let className;
1368
- let links;
1369
1420
  let rest;
1370
1421
  if ($[0] !== t0) {
1371
1422
  ({
1372
1423
  className,
1373
- links,
1374
- children,
1375
1424
  ...rest
1376
1425
  } = t0);
1377
1426
  $[0] = t0;
1378
- $[1] = children;
1379
- $[2] = className;
1380
- $[3] = links;
1381
- $[4] = rest;
1427
+ $[1] = className;
1428
+ $[2] = rest;
1382
1429
  } else {
1383
- children = $[1];
1384
- className = $[2];
1385
- links = $[3];
1386
- rest = $[4];
1430
+ className = $[1];
1431
+ rest = $[2];
1387
1432
  }
1433
+ const {
1434
+ links
1435
+ } = require$$0.use(HeaderContext);
1388
1436
  let t1;
1389
- if ($[5] !== className) {
1390
- t1 = clsx(className);
1391
- $[5] = className;
1392
- $[6] = t1;
1437
+ if ($[3] !== className) {
1438
+ t1 = clsx("at-header__center", className);
1439
+ $[3] = className;
1440
+ $[4] = t1;
1393
1441
  } else {
1394
- t1 = $[6];
1442
+ t1 = $[4];
1395
1443
  }
1396
1444
  let t2;
1397
- if ($[7] !== children || $[8] !== links) {
1398
- t2 = children ? require$$0.Children.map(children, _temp) : links?.map(_temp2);
1399
- $[7] = children;
1400
- $[8] = links;
1401
- $[9] = t2;
1445
+ if ($[5] !== links) {
1446
+ t2 = links?.map(_temp);
1447
+ $[5] = links;
1448
+ $[6] = t2;
1402
1449
  } else {
1403
- t2 = $[9];
1450
+ t2 = $[6];
1404
1451
  }
1405
1452
  let t3;
1406
- if ($[10] !== rest || $[11] !== t1 || $[12] !== t2) {
1453
+ if ($[7] !== rest || $[8] !== t1 || $[9] !== t2) {
1407
1454
  t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("nav", { className: t1, ...rest, children: t2 });
1408
- $[10] = rest;
1409
- $[11] = t1;
1410
- $[12] = t2;
1411
- $[13] = t3;
1455
+ $[7] = rest;
1456
+ $[8] = t1;
1457
+ $[9] = t2;
1458
+ $[10] = t3;
1412
1459
  } else {
1413
- t3 = $[13];
1460
+ t3 = $[10];
1414
1461
  }
1415
1462
  return t3;
1416
1463
  }
1417
- function _temp2(link) {
1418
- return /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Link, { href: link.href, className: clsx("at-header__title-link"), children: link.label }, link.href);
1419
- }
1420
- function _temp(child) {
1421
- if (require$$0.isValidElement(child)) {
1422
- return /* @__PURE__ */ jsxRuntimeExports.jsx(reactSlot.Slot, { className: clsx("at-header__title-link", "ds-link"), children: child });
1464
+ function _temp(link, idx) {
1465
+ if (require$$0.isValidElement(link)) {
1466
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(reactSlot.Slot, { className: clsx("at-header__link", "ds-link"), children: link }, link.key ?? idx);
1423
1467
  }
1424
- return child;
1468
+ return link;
1425
1469
  }
1426
- function HeaderTitleLogo(t0) {
1427
- const $ = compilerRuntimeExports.c(17);
1428
- let appName;
1470
+ function HeaderTitle(t0) {
1471
+ const $ = compilerRuntimeExports.c(10);
1472
+ let children;
1429
1473
  let className;
1430
- let logo;
1431
1474
  let rest;
1432
1475
  if ($[0] !== t0) {
1433
1476
  ({
1434
1477
  className,
1435
- logo,
1436
- appName,
1478
+ children,
1437
1479
  ...rest
1438
1480
  } = t0);
1439
1481
  $[0] = t0;
1440
- $[1] = appName;
1482
+ $[1] = children;
1441
1483
  $[2] = className;
1442
- $[3] = logo;
1443
- $[4] = rest;
1484
+ $[3] = rest;
1444
1485
  } else {
1445
- appName = $[1];
1486
+ children = $[1];
1446
1487
  className = $[2];
1447
- logo = $[3];
1448
- rest = $[4];
1488
+ rest = $[3];
1449
1489
  }
1450
1490
  let t1;
1451
- if ($[5] !== className) {
1452
- t1 = clsx(className);
1453
- $[5] = className;
1454
- $[6] = t1;
1491
+ if ($[4] !== className) {
1492
+ t1 = clsx("at-header__left", className);
1493
+ $[4] = className;
1494
+ $[5] = t1;
1455
1495
  } else {
1456
- t1 = $[6];
1496
+ t1 = $[5];
1457
1497
  }
1458
1498
  let t2;
1459
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
1460
- t2 = clsx("at-header__title-logo");
1461
- $[7] = t2;
1462
- } else {
1463
- t2 = $[7];
1464
- }
1465
- let t3;
1466
- if ($[8] !== logo) {
1467
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t2, children: logo });
1468
- $[8] = logo;
1469
- $[9] = t3;
1470
- } else {
1471
- t3 = $[9];
1472
- }
1473
- let t4;
1474
- if ($[10] !== appName) {
1475
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(designsystemetReact.Heading, { children: appName });
1476
- $[10] = appName;
1477
- $[11] = t4;
1478
- } else {
1479
- t4 = $[11];
1480
- }
1481
- let t5;
1482
- if ($[12] !== rest || $[13] !== t1 || $[14] !== t3 || $[15] !== t4) {
1483
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t1, ...rest, children: [
1484
- t3,
1485
- t4
1486
- ] });
1487
- $[12] = rest;
1488
- $[13] = t1;
1489
- $[14] = t3;
1490
- $[15] = t4;
1491
- $[16] = t5;
1499
+ if ($[6] !== children || $[7] !== rest || $[8] !== t1) {
1500
+ t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t1, ...rest, children });
1501
+ $[6] = children;
1502
+ $[7] = rest;
1503
+ $[8] = t1;
1504
+ $[9] = t2;
1492
1505
  } else {
1493
- t5 = $[16];
1506
+ t2 = $[9];
1494
1507
  }
1495
- return t5;
1496
- }
1497
- function HeaderTitle({
1498
- className,
1499
- logo = /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderDefaultLogo, {}),
1500
- appName,
1501
- userName,
1502
- links = [],
1503
- controls = [],
1504
- children,
1505
- ...rest
1506
- }) {
1507
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("at-header__title-background", className), ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("at-header__title"), children: [
1508
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderTitleLogo, { className: clsx("at-header__title-left"), logo, appName }),
1509
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderTitleLinks, { className: clsx("at-header__title-center"), links, children }),
1510
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderTitleDropdown, { className: clsx("at-header__title-right"), links, userName, controls, children })
1511
- ] }) });
1508
+ return t2;
1512
1509
  }
1513
1510
  const Header = Object.assign(Header$1, {
1514
- Title: HeaderTitle
1511
+ Title: HeaderTitle,
1512
+ Illustration: HeaderIllustration,
1513
+ Logo: HeaderLogo,
1514
+ Navbar: HeaderNavbar,
1515
+ Menu: HeaderMenu
1515
1516
  });
1516
1517
  const LogoBlack = (t0) => {
1517
1518
  const $ = compilerRuntimeExports.c(20);
@@ -1537,7 +1538,7 @@ const LogoBlack = (t0) => {
1537
1538
  let t7;
1538
1539
  let t8;
1539
1540
  let t9;
1540
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1541
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1541
1542
  t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M36.3473 34.143L41.2281 22.7844H42.78L47.6608 34.143H45.3666L44.287 31.6238H39.7211L38.6415 34.143H36.3473ZM40.5308 29.667H43.4323L41.9928 26.3157L40.5308 29.667Z", fill: "black" });
1542
1543
  t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M53.3064 28.1377C53.1489 28.0927 52.8565 28.0477 52.5416 28.0477C51.6195 28.0477 50.8772 28.7225 50.6298 29.1948V34.1431H48.5156V26.2708H50.5399V27.058C51.0122 26.4733 51.8669 26.0909 52.8341 26.0909C53.1489 26.0909 53.3289 26.1134 53.5538 26.1584L53.3064 28.1377Z", fill: "black" });
1543
1544
  t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M54.8583 34.143V22.6046H56.9726V26.8331C57.5799 26.3382 58.3446 26.1133 59.1993 26.1133C61.3361 26.1133 63.068 27.8902 63.068 30.2294C63.068 31.309 62.6856 32.2762 62.0558 32.9959C61.3586 33.8056 60.2564 34.323 59.0869 34.323C58.2996 34.323 57.5349 34.0755 56.9051 33.5357V34.1655H54.8583V34.143ZM56.9501 31.3765C57.355 31.9613 58.0522 32.3436 58.8394 32.3436C60.0315 32.3436 60.9087 31.444 60.9087 30.2069C60.9087 29.0598 60.1215 28.0476 58.8844 28.0476C58.0747 28.0476 57.3774 28.43 56.9276 29.0148V31.3765H56.9501Z", fill: "black" });
@@ -1647,7 +1648,7 @@ const LogoWhite = (t0) => {
1647
1648
  let t7;
1648
1649
  let t8;
1649
1650
  let t9;
1650
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1651
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1651
1652
  t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M36.3473 34.143L41.2281 22.7844H42.78L47.6608 34.143H45.3666L44.287 31.6238H39.7211L38.6415 34.143H36.3473ZM40.5308 29.667H43.4323L41.9928 26.3157L40.5308 29.667Z", fill: "white" });
1652
1653
  t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M53.3064 28.1377C53.1489 28.0927 52.8565 28.0477 52.5416 28.0477C51.6195 28.0477 50.8772 28.7225 50.6298 29.1948V34.1431H48.5156V26.2708H50.5399V27.058C51.0122 26.4733 51.8669 26.0909 52.8341 26.0909C53.1489 26.0909 53.3289 26.1134 53.5538 26.1584L53.3064 28.1377Z", fill: "white" });
1653
1654
  t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M54.8583 34.143V22.6046H56.9726V26.8331C57.5799 26.3382 58.3446 26.1133 59.1993 26.1133C61.3361 26.1133 63.068 27.8902 63.068 30.2294C63.068 31.309 62.6856 32.2762 62.0558 32.9959C61.3586 33.8056 60.2564 34.323 59.0869 34.323C58.2996 34.323 57.5349 34.0755 56.9051 33.5357V34.1655H54.8583V34.143ZM56.9501 31.3765C57.355 31.9613 58.0522 32.3436 58.8394 32.3436C60.0315 32.3436 60.9087 31.444 60.9087 30.2069C60.9087 29.0598 60.1215 28.0476 58.8844 28.0476C58.0747 28.0476 57.3774 28.43 56.9276 29.0148V31.3765H56.9501Z", fill: "white" });
@@ -1807,7 +1808,7 @@ const LogoGreen = (t0) => {
1807
1808
  let t7;
1808
1809
  let t8;
1809
1810
  let t9;
1810
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1811
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1811
1812
  t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17.0715 32.4211C25.5309 32.4211 32.3887 25.5565 32.3887 17.0886C32.3887 8.62069 25.5309 1.7561 17.0715 1.7561C8.6121 1.7561 1.75438 8.62069 1.75438 17.0886C1.75438 25.5565 8.6121 32.4211 17.0715 32.4211Z", fill: "white" });
1812
1813
  t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M36.3473 34.1773L41.2281 22.8074H42.78L47.6608 34.1773H45.3666L44.287 31.6556H39.7211L38.6415 34.1773H36.3473ZM40.5308 29.6969H43.4323L41.9928 26.3422L40.5308 29.6969Z", fill: "black" });
1813
1814
  t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M53.3064 28.1659C53.1489 28.1209 52.8565 28.0758 52.5416 28.0758C51.6195 28.0758 50.8772 28.7513 50.6298 29.2241V34.1773H48.5155V26.2972H50.5398V27.0852C51.0122 26.4998 51.8669 26.1171 52.834 26.1171C53.1489 26.1171 53.3289 26.1396 53.5538 26.1846L53.3064 28.1659Z", fill: "black" });
@@ -2037,6 +2038,10 @@ Object.defineProperty(exports, "DropdownTriggerContext", {
2037
2038
  enumerable: true,
2038
2039
  get: () => designsystemetReact.DropdownTriggerContext
2039
2040
  });
2041
+ Object.defineProperty(exports, "EXPERIMENTAL_AvatarStack", {
2042
+ enumerable: true,
2043
+ get: () => designsystemetReact.EXPERIMENTAL_AvatarStack
2044
+ });
2040
2045
  Object.defineProperty(exports, "EXPERIMENTAL_Suggestion", {
2041
2046
  enumerable: true,
2042
2047
  get: () => designsystemetReact.EXPERIMENTAL_Suggestion
@@ -2343,7 +2348,11 @@ exports.FilePickerDropzone = FilePickerDropzone;
2343
2348
  exports.FilePickerErrors = FilePickerErrors;
2344
2349
  exports.FilePickerFiles = FilePickerFiles;
2345
2350
  exports.Header = Header;
2346
- exports.HeaderDefaultLogo = HeaderDefaultLogo;
2351
+ exports.HeaderContext = HeaderContext;
2352
+ exports.HeaderIllustration = HeaderIllustration;
2353
+ exports.HeaderLogo = HeaderLogo;
2354
+ exports.HeaderMenu = HeaderMenu;
2355
+ exports.HeaderNavbar = HeaderNavbar;
2347
2356
  exports.HeaderTitle = HeaderTitle;
2348
2357
  exports.LightDarkLogo = LightDarkLogo;
2349
2358
  exports.LogoBlack = LogoBlack;