@norges-domstoler/dds-components 0.0.0-dev-20240306143937 → 0.0.0-dev-20240307131621

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.mjs CHANGED
@@ -8781,8 +8781,25 @@ var GridChild = (props) => {
8781
8781
  };
8782
8782
  GridChild.displayName = "GridChild";
8783
8783
 
8784
+ // src/components/InlineButton/InlineButton.tsx
8785
+ import { forwardRef as forwardRef35 } from "react";
8786
+ import styled58 from "styled-components";
8787
+ import { jsx as jsx222 } from "react/jsx-runtime";
8788
+ var StyledInlineButton = styled58.button`
8789
+ ${normalizeButton}
8790
+ ${removeButtonStyling}
8791
+ display: inline;
8792
+ ${getAnchorStyling()}
8793
+ `;
8794
+ var InlineButton = forwardRef35(
8795
+ (props, ref) => {
8796
+ const { children, ...rest } = props;
8797
+ return /* @__PURE__ */ jsx222(StyledInlineButton, { ref, ...rest, children });
8798
+ }
8799
+ );
8800
+
8784
8801
  // src/components/InlineEdit/InlineEditTextArea.tsx
8785
- import { forwardRef as forwardRef36, useRef as useRef24 } from "react";
8802
+ import { forwardRef as forwardRef37, useRef as useRef24 } from "react";
8786
8803
 
8787
8804
  // src/components/InlineEdit/InlineEdit.tsx
8788
8805
  import {
@@ -8791,7 +8808,7 @@ import {
8791
8808
  isValidElement as isValidElement5,
8792
8809
  useState as useState17
8793
8810
  } from "react";
8794
- import { Fragment as Fragment7, jsx as jsx222 } from "react/jsx-runtime";
8811
+ import { Fragment as Fragment7, jsx as jsx223 } from "react/jsx-runtime";
8795
8812
  var InlineEdit = (props) => {
8796
8813
  const {
8797
8814
  emptiable,
@@ -8841,15 +8858,15 @@ var InlineEdit = (props) => {
8841
8858
  emptiable
8842
8859
  })
8843
8860
  );
8844
- return /* @__PURE__ */ jsx222(Fragment7, { children: inputChild });
8861
+ return /* @__PURE__ */ jsx223(Fragment7, { children: inputChild });
8845
8862
  };
8846
8863
  InlineEdit.displayName = "InlineEdit";
8847
8864
 
8848
8865
  // src/components/InlineEdit/InlineTextArea.tsx
8849
- import { forwardRef as forwardRef35, useId as useId11, useRef as useRef23 } from "react";
8866
+ import { forwardRef as forwardRef36, useId as useId11, useRef as useRef23 } from "react";
8850
8867
 
8851
8868
  // src/components/InlineEdit/InlineEdit.styles.tsx
8852
- import styled58, { css as css23 } from "styled-components";
8869
+ import styled59, { css as css23 } from "styled-components";
8853
8870
 
8854
8871
  // src/components/InlineEdit/InlineEdit.tokens.ts
8855
8872
  import { ddsBaseTokens as ddsBaseTokens41 } from "@norges-domstoler/dds-design-tokens";
@@ -8880,7 +8897,7 @@ var inlineEditTokens = {
8880
8897
  // src/components/InlineEdit/InlineEdit.styles.tsx
8881
8898
  var { inlineEdit: inlineEdit2, iconWrapper: iconWrapper2 } = inlineEditTokens;
8882
8899
  var defaultWidth3 = "140px";
8883
- var StyledInlineInput = styled58(StatefulInput).withConfig({
8900
+ var StyledInlineInput = styled59(StatefulInput).withConfig({
8884
8901
  shouldForwardProp: (prop) => prop !== "isEditing" && prop !== "hideIcon"
8885
8902
  })`
8886
8903
  border-color: transparent;
@@ -8900,14 +8917,14 @@ var StyledInlineInput = styled58(StatefulInput).withConfig({
8900
8917
  background-color: ${inlineEdit2.focus.backgroundColor};
8901
8918
  }
8902
8919
  `;
8903
- var StyledInlineTextArea = styled58(StyledInlineInput).attrs({
8920
+ var StyledInlineTextArea = styled59(StyledInlineInput).attrs({
8904
8921
  as: "textarea"
8905
8922
  })`
8906
8923
  resize: vertical;
8907
8924
  ${scrollbarStyling.webkit}
8908
8925
  ${scrollbarStyling.firefox}
8909
8926
  `;
8910
- var IconWrapper2 = styled58.span`
8927
+ var IconWrapper2 = styled59.span`
8911
8928
  position: absolute;
8912
8929
  left: ${iconWrapper2.left};
8913
8930
  top: ${iconWrapper2.top};
@@ -8926,8 +8943,8 @@ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ jsxs49(Visuall
8926
8943
  ] });
8927
8944
 
8928
8945
  // src/components/InlineEdit/InlineTextArea.tsx
8929
- import { jsx as jsx223, jsxs as jsxs50 } from "react/jsx-runtime";
8930
- var InlineTextArea = forwardRef35((props, ref) => {
8946
+ import { jsx as jsx224, jsxs as jsxs50 } from "react/jsx-runtime";
8947
+ var InlineTextArea = forwardRef36((props, ref) => {
8931
8948
  const {
8932
8949
  id,
8933
8950
  error,
@@ -8948,17 +8965,17 @@ var InlineTextArea = forwardRef35((props, ref) => {
8948
8965
  const combinedRef = useCombinedRef(ref, inputRef);
8949
8966
  return /* @__PURE__ */ jsxs50(OuterInputContainer, { $width: width, children: [
8950
8967
  /* @__PURE__ */ jsxs50(InputContainer, { children: [
8951
- !isEditing && !hideIcon && /* @__PURE__ */ jsx223(
8968
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx224(
8952
8969
  IconWrapper2,
8953
8970
  {
8954
8971
  onClick: () => {
8955
8972
  var _a;
8956
8973
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8957
8974
  },
8958
- children: /* @__PURE__ */ jsx223(Icon, { icon: EditIcon, iconSize: "small" })
8975
+ children: /* @__PURE__ */ jsx224(Icon, { icon: EditIcon, iconSize: "small" })
8959
8976
  }
8960
8977
  ),
8961
- /* @__PURE__ */ jsx223(
8978
+ /* @__PURE__ */ jsx224(
8962
8979
  StyledInlineTextArea,
8963
8980
  {
8964
8981
  ...rest,
@@ -8982,12 +8999,12 @@ var InlineTextArea = forwardRef35((props, ref) => {
8982
8999
  InlineTextArea.displayName = "InlineTextArea";
8983
9000
 
8984
9001
  // src/components/InlineEdit/InlineEditTextArea.tsx
8985
- import { jsx as jsx224 } from "react/jsx-runtime";
8986
- var InlineEditTextArea = forwardRef36((props, ref) => {
9002
+ import { jsx as jsx225 } from "react/jsx-runtime";
9003
+ var InlineEditTextArea = forwardRef37((props, ref) => {
8987
9004
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8988
9005
  const textareaRef = useRef24(null);
8989
9006
  const combinedRef = useCombinedRef(ref, textareaRef);
8990
- return /* @__PURE__ */ jsx224(
9007
+ return /* @__PURE__ */ jsx225(
8991
9008
  InlineEdit,
8992
9009
  {
8993
9010
  onSetValue,
@@ -8997,18 +9014,18 @@ var InlineEditTextArea = forwardRef36((props, ref) => {
8997
9014
  onFocus,
8998
9015
  onChange,
8999
9016
  onBlur,
9000
- children: /* @__PURE__ */ jsx224(InlineTextArea, { ref: combinedRef, ...rest })
9017
+ children: /* @__PURE__ */ jsx225(InlineTextArea, { ref: combinedRef, ...rest })
9001
9018
  }
9002
9019
  );
9003
9020
  });
9004
9021
 
9005
9022
  // src/components/InlineEdit/InlineEditInput.tsx
9006
- import { forwardRef as forwardRef38, useRef as useRef26 } from "react";
9023
+ import { forwardRef as forwardRef39, useRef as useRef26 } from "react";
9007
9024
 
9008
9025
  // src/components/InlineEdit/InlineInput.tsx
9009
- import { forwardRef as forwardRef37, useId as useId12, useRef as useRef25 } from "react";
9010
- import { jsx as jsx225, jsxs as jsxs51 } from "react/jsx-runtime";
9011
- var InlineInput = forwardRef37(
9026
+ import { forwardRef as forwardRef38, useId as useId12, useRef as useRef25 } from "react";
9027
+ import { jsx as jsx226, jsxs as jsxs51 } from "react/jsx-runtime";
9028
+ var InlineInput = forwardRef38(
9012
9029
  (props, ref) => {
9013
9030
  const {
9014
9031
  id,
@@ -9032,17 +9049,17 @@ var InlineInput = forwardRef37(
9032
9049
  const combinedRef = useCombinedRef(ref, inputRef);
9033
9050
  return /* @__PURE__ */ jsxs51(OuterInputContainer, { $width: width, children: [
9034
9051
  /* @__PURE__ */ jsxs51(InputContainer, { children: [
9035
- !isEditing && !hideIcon && /* @__PURE__ */ jsx225(
9052
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx226(
9036
9053
  IconWrapper2,
9037
9054
  {
9038
9055
  onClick: () => {
9039
9056
  var _a;
9040
9057
  (_a = inputRef.current) == null ? void 0 : _a.focus();
9041
9058
  },
9042
- children: /* @__PURE__ */ jsx225(Icon, { icon: EditIcon, iconSize: "small" })
9059
+ children: /* @__PURE__ */ jsx226(Icon, { icon: EditIcon, iconSize: "small" })
9043
9060
  }
9044
9061
  ),
9045
- /* @__PURE__ */ jsx225(
9062
+ /* @__PURE__ */ jsx226(
9046
9063
  StyledInlineInput,
9047
9064
  {
9048
9065
  ...rest,
@@ -9068,12 +9085,12 @@ var InlineInput = forwardRef37(
9068
9085
  InlineInput.displayName = "InlineInput";
9069
9086
 
9070
9087
  // src/components/InlineEdit/InlineEditInput.tsx
9071
- import { jsx as jsx226 } from "react/jsx-runtime";
9072
- var InlineEditInput = forwardRef38((props, ref) => {
9088
+ import { jsx as jsx227 } from "react/jsx-runtime";
9089
+ var InlineEditInput = forwardRef39((props, ref) => {
9073
9090
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
9074
9091
  const inputRef = useRef26(null);
9075
9092
  const combinedRef = useCombinedRef(ref, inputRef);
9076
- return /* @__PURE__ */ jsx226(
9093
+ return /* @__PURE__ */ jsx227(
9077
9094
  InlineEdit,
9078
9095
  {
9079
9096
  onSetValue,
@@ -9083,7 +9100,7 @@ var InlineEditInput = forwardRef38((props, ref) => {
9083
9100
  onFocus,
9084
9101
  onChange,
9085
9102
  onBlur,
9086
- children: /* @__PURE__ */ jsx226(InlineInput, { ...rest, ref: combinedRef })
9103
+ children: /* @__PURE__ */ jsx227(InlineInput, { ...rest, ref: combinedRef })
9087
9104
  }
9088
9105
  );
9089
9106
  });
@@ -9092,7 +9109,7 @@ var InlineEditInput = forwardRef38((props, ref) => {
9092
9109
  import { useRef as useRef27, useState as useState18 } from "react";
9093
9110
 
9094
9111
  // src/components/InternalHeader/InternalHeader.styles.tsx
9095
- import styled59, { css as css24 } from "styled-components";
9112
+ import styled60, { css as css24 } from "styled-components";
9096
9113
 
9097
9114
  // src/components/InternalHeader/InternalHeader.tokens.tsx
9098
9115
  import { ddsBaseTokens as ddsBaseTokens42 } from "@norges-domstoler/dds-design-tokens";
@@ -9116,7 +9133,7 @@ var internalHeaderTokens = {
9116
9133
 
9117
9134
  // src/components/InternalHeader/InternalHeader.styles.tsx
9118
9135
  var { bar: bar2, separator: separator2 } = internalHeaderTokens;
9119
- var Bar2 = styled59.div`
9136
+ var Bar2 = styled60.div`
9120
9137
  *::selection {
9121
9138
  ${selection}
9122
9139
  }
@@ -9139,11 +9156,11 @@ var Bar2 = styled59.div`
9139
9156
  }
9140
9157
  `}
9141
9158
  `;
9142
- var BarSeparator = styled59.div`
9159
+ var BarSeparator = styled60.div`
9143
9160
  border-left: ${separator2.width} solid ${separator2.color};
9144
9161
  align-self: stretch;
9145
9162
  `;
9146
- var AppNameLink = styled59.a`
9163
+ var AppNameLink = styled60.a`
9147
9164
  ${inheritLinkStyling}
9148
9165
  transition: ${focusVisibleTransitionValue};
9149
9166
  &:focus-visible,
@@ -9151,7 +9168,7 @@ var AppNameLink = styled59.a`
9151
9168
  ${focusVisible}
9152
9169
  }
9153
9170
  `;
9154
- var NavigationList = styled59.ul`
9171
+ var NavigationList = styled60.ul`
9155
9172
  box-sizing: border-box;
9156
9173
  display: flex;
9157
9174
  gap: ${bar2.itemGap};
@@ -9165,17 +9182,17 @@ var NavigationList = styled59.ul`
9165
9182
  padding: 0;
9166
9183
  margin: 0;
9167
9184
  `;
9168
- var ContextMenuGroup = styled59.div``;
9169
- var StyledOverflowMenu = styled59(OverflowMenu)`
9185
+ var ContextMenuGroup = styled60.div``;
9186
+ var StyledOverflowMenu = styled60(OverflowMenu)`
9170
9187
  max-height: calc(100vh - 110px);
9171
9188
  `;
9172
- var NavLi = styled59.li`
9189
+ var NavLi = styled60.li`
9173
9190
  display: flex;
9174
9191
  `;
9175
9192
 
9176
9193
  // src/components/InternalHeader/NavigationItem.tsx
9177
- import { forwardRef as forwardRef39 } from "react";
9178
- import styled60 from "styled-components";
9194
+ import { forwardRef as forwardRef40 } from "react";
9195
+ import styled61 from "styled-components";
9179
9196
 
9180
9197
  // src/components/InternalHeader/NavigationItem.tokens.ts
9181
9198
  import { ddsBaseTokens as ddsBaseTokens43 } from "@norges-domstoler/dds-design-tokens";
@@ -9216,8 +9233,8 @@ function getNavTokens({ active }) {
9216
9233
  }
9217
9234
 
9218
9235
  // src/components/InternalHeader/NavigationItem.tsx
9219
- import { jsx as jsx227 } from "react/jsx-runtime";
9220
- var Link3 = styled60.a`
9236
+ import { jsx as jsx228 } from "react/jsx-runtime";
9237
+ var Link3 = styled61.a`
9221
9238
  ${getFontStyling("bodySans02")}
9222
9239
  text-decoration: none;
9223
9240
 
@@ -9244,8 +9261,8 @@ var Link3 = styled60.a`
9244
9261
  transition: background-color 0.2s;
9245
9262
  }
9246
9263
  `;
9247
- var NavigationItem2 = forwardRef39(({ title: title3, isCurrent, ...rest }, ref) => {
9248
- return /* @__PURE__ */ jsx227(
9264
+ var NavigationItem2 = forwardRef40(({ title: title3, isCurrent, ...rest }, ref) => {
9265
+ return /* @__PURE__ */ jsx228(
9249
9266
  Link3,
9250
9267
  {
9251
9268
  ...rest,
@@ -9258,7 +9275,7 @@ var NavigationItem2 = forwardRef39(({ title: title3, isCurrent, ...rest }, ref)
9258
9275
  });
9259
9276
 
9260
9277
  // src/components/InternalHeader/InternalHeader.tsx
9261
- import { jsx as jsx228, jsxs as jsxs52 } from "react/jsx-runtime";
9278
+ import { jsx as jsx229, jsxs as jsxs52 } from "react/jsx-runtime";
9262
9279
  var InternalHeader = (props) => {
9263
9280
  const {
9264
9281
  applicationDesc,
@@ -9291,10 +9308,10 @@ var InternalHeader = (props) => {
9291
9308
  const hasNavigationElements = !!navigationElements && navigationElements.length > 0;
9292
9309
  const hasContextMenuElements = !!contextMenuElements && contextMenuElements.length > 0;
9293
9310
  const hasNavInContextMenu = smallScreen && hasNavigationElements;
9294
- const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ jsx228("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx228(NavigationList, { children: navigationElements.map((item, index) => {
9311
+ const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ jsx229("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx229(NavigationList, { children: navigationElements.map((item, index) => {
9295
9312
  const { href, ...rest2 } = item;
9296
9313
  const isCurrent = href === currentPage;
9297
- return /* @__PURE__ */ jsx228(NavLi, { children: /* @__PURE__ */ jsx228(
9314
+ return /* @__PURE__ */ jsx229(NavLi, { children: /* @__PURE__ */ jsx229(
9298
9315
  NavigationItem2,
9299
9316
  {
9300
9317
  href,
@@ -9311,12 +9328,12 @@ var InternalHeader = (props) => {
9311
9328
  ...getBaseHTMLProps(id, className, htmlProps, rest),
9312
9329
  $hasNavigation: !!navigation2,
9313
9330
  children: [
9314
- /* @__PURE__ */ jsx228(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx228(AppNameLink, { href: applicationHref, rel: "noopener noreferrer", children: applicationName }) : applicationName }),
9315
- /* @__PURE__ */ jsx228(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9316
- (hasContextMenu || navigation2 !== null) && /* @__PURE__ */ jsx228(BarSeparator, {}),
9331
+ /* @__PURE__ */ jsx229(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx229(AppNameLink, { href: applicationHref, rel: "noopener noreferrer", children: applicationName }) : applicationName }),
9332
+ /* @__PURE__ */ jsx229(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9333
+ (hasContextMenu || navigation2 !== null) && /* @__PURE__ */ jsx229(BarSeparator, {}),
9317
9334
  navigation2,
9318
9335
  hasContextMenu && /* @__PURE__ */ jsxs52(ContextMenuGroup, { children: [
9319
- /* @__PURE__ */ jsx228(
9336
+ /* @__PURE__ */ jsx229(
9320
9337
  Button,
9321
9338
  {
9322
9339
  ref: buttonRef,
@@ -9329,7 +9346,7 @@ var InternalHeader = (props) => {
9329
9346
  "aria-label": "\xE5pne meny"
9330
9347
  }
9331
9348
  ),
9332
- /* @__PURE__ */ jsx228(
9349
+ /* @__PURE__ */ jsx229(
9333
9350
  StyledOverflowMenu,
9334
9351
  {
9335
9352
  isOpen: !contextMenuIsClosed,
@@ -9348,8 +9365,8 @@ var InternalHeader = (props) => {
9348
9365
  InternalHeader.displayName = "InternalHeader";
9349
9366
 
9350
9367
  // src/components/List/List.tsx
9351
- import { forwardRef as forwardRef40 } from "react";
9352
- import styled61, { css as css25 } from "styled-components";
9368
+ import { forwardRef as forwardRef41 } from "react";
9369
+ import styled62, { css as css25 } from "styled-components";
9353
9370
 
9354
9371
  // src/components/List/bullets/jordskifterett_bullet1.svg
9355
9372
  var jordskifterett_bullet1_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="6.7085" cy="6.7085" r="2.625" fill="%230B0D0E"/>%0A</svg>%0A';
@@ -9398,9 +9415,9 @@ var listTokens = {
9398
9415
  };
9399
9416
 
9400
9417
  // src/components/List/List.tsx
9401
- import { jsx as jsx229 } from "react/jsx-runtime";
9418
+ import { jsx as jsx230 } from "react/jsx-runtime";
9402
9419
  var { list: list6, listItem: listItem4, bullet: bullet2 } = listTokens;
9403
- var StyledList = styled61.ul`
9420
+ var StyledList = styled62.ul`
9404
9421
  margin: ${list6.base.margin};
9405
9422
  color: ${list6.base.color};
9406
9423
  ul,
@@ -9452,7 +9469,7 @@ var StyledList = styled61.ul`
9452
9469
  }
9453
9470
  `}
9454
9471
  `;
9455
- var List2 = forwardRef40(
9472
+ var List2 = forwardRef41(
9456
9473
  (props, ref) => {
9457
9474
  const {
9458
9475
  listType = "unordered",
@@ -9464,7 +9481,7 @@ var List2 = forwardRef40(
9464
9481
  ...rest
9465
9482
  } = props;
9466
9483
  const as = listType === "ordered" ? "ol" : "ul";
9467
- return /* @__PURE__ */ jsx229(
9484
+ return /* @__PURE__ */ jsx230(
9468
9485
  StyledList,
9469
9486
  {
9470
9487
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9480,22 +9497,22 @@ var List2 = forwardRef40(
9480
9497
  List2.displayName = "List";
9481
9498
 
9482
9499
  // src/components/List/ListItem.tsx
9483
- import { forwardRef as forwardRef41 } from "react";
9484
- import styled62 from "styled-components";
9485
- import { jsx as jsx230 } from "react/jsx-runtime";
9486
- var StyledListItem = styled62.li`
9500
+ import { forwardRef as forwardRef42 } from "react";
9501
+ import styled63 from "styled-components";
9502
+ import { jsx as jsx231 } from "react/jsx-runtime";
9503
+ var StyledListItem = styled63.li`
9487
9504
  line-height: ${listTokens.listItem.lineHeight};
9488
9505
  `;
9489
- var ListItem2 = forwardRef41(
9506
+ var ListItem2 = forwardRef42(
9490
9507
  ({ children, ...rest }, ref) => {
9491
- return /* @__PURE__ */ jsx230(StyledListItem, { ref, ...rest, children });
9508
+ return /* @__PURE__ */ jsx231(StyledListItem, { ref, ...rest, children });
9492
9509
  }
9493
9510
  );
9494
9511
  ListItem2.displayName = "ListItem";
9495
9512
 
9496
9513
  // src/components/LocalMessage/LocalMessage.tsx
9497
- import { forwardRef as forwardRef42, useState as useState19 } from "react";
9498
- import styled63, { css as css26 } from "styled-components";
9514
+ import { forwardRef as forwardRef43, useState as useState19 } from "react";
9515
+ import styled64, { css as css26 } from "styled-components";
9499
9516
 
9500
9517
  // src/components/LocalMessage/LocalMessage.tokens.tsx
9501
9518
  import { ddsBaseTokens as ddsBaseTokens45 } from "@norges-domstoler/dds-design-tokens";
@@ -9595,9 +9612,9 @@ var localMessageTokens = {
9595
9612
  };
9596
9613
 
9597
9614
  // src/components/LocalMessage/LocalMessage.tsx
9598
- import { Fragment as Fragment8, jsx as jsx231, jsxs as jsxs53 } from "react/jsx-runtime";
9615
+ import { Fragment as Fragment8, jsx as jsx232, jsxs as jsxs53 } from "react/jsx-runtime";
9599
9616
  var { container: container10, content: content4, icon: icon6, purposeVariants: purposeVariants3 } = localMessageTokens;
9600
- var Container8 = styled63.div.withConfig({
9617
+ var Container8 = styled64.div.withConfig({
9601
9618
  shouldForwardProp: (prop) => {
9602
9619
  const styleOnlyProps = [
9603
9620
  "layout",
@@ -9648,18 +9665,18 @@ function getGridTemplateColumns(layout, closable) {
9648
9665
  }
9649
9666
  return layout === "horisontal" ? "min-content 1fr" : "1fr";
9650
9667
  }
9651
- var MessageIconWrapper2 = styled63(Icon)`
9668
+ var MessageIconWrapper2 = styled64(Icon)`
9652
9669
  grid-area: icon;
9653
9670
  `;
9654
- var TextContainer2 = styled63.div`
9671
+ var TextContainer2 = styled64.div`
9655
9672
  grid-area: text;
9656
9673
  padding-right: ${content4.base.paddingRight};
9657
9674
  `;
9658
- var CloseButton = styled63(Button)`
9675
+ var CloseButton = styled64(Button)`
9659
9676
  grid-area: closeButton;
9660
9677
  margin: -${container10.base.padding} 0;
9661
9678
  `;
9662
- var LocalMessage = forwardRef42(
9679
+ var LocalMessage = forwardRef43(
9663
9680
  (props, ref) => {
9664
9681
  const {
9665
9682
  message: message2,
@@ -9684,18 +9701,18 @@ var LocalMessage = forwardRef42(
9684
9701
  ref
9685
9702
  };
9686
9703
  if (isClosed) {
9687
- return /* @__PURE__ */ jsx231(Fragment8, {});
9704
+ return /* @__PURE__ */ jsx232(Fragment8, {});
9688
9705
  }
9689
9706
  return /* @__PURE__ */ jsxs53(Container8, { ...containerProps, children: [
9690
- /* @__PURE__ */ jsx231(
9707
+ /* @__PURE__ */ jsx232(
9691
9708
  MessageIconWrapper2,
9692
9709
  {
9693
9710
  icon: purposeVariants3[purpose].icon,
9694
9711
  color: icon6[purpose].color
9695
9712
  }
9696
9713
  ),
9697
- /* @__PURE__ */ jsx231(TextContainer2, { children: children != null ? children : /* @__PURE__ */ jsx231(Typography, { as: "span", children: message2 }) }),
9698
- closable && /* @__PURE__ */ jsx231(
9714
+ /* @__PURE__ */ jsx232(TextContainer2, { children: children != null ? children : /* @__PURE__ */ jsx232(Typography, { as: "span", children: message2 }) }),
9715
+ closable && /* @__PURE__ */ jsx232(
9699
9716
  CloseButton,
9700
9717
  {
9701
9718
  icon: CloseIcon,
@@ -9716,17 +9733,17 @@ LocalMessage.displayName = "LocalMessage";
9716
9733
 
9717
9734
  // src/components/Modal/Modal.tsx
9718
9735
  import {
9719
- forwardRef as forwardRef43,
9736
+ forwardRef as forwardRef44,
9720
9737
  useEffect as useEffect22,
9721
9738
  useId as useId13
9722
9739
  } from "react";
9723
9740
  import { createPortal as createPortal2 } from "react-dom";
9724
- import styled65 from "styled-components";
9741
+ import styled66 from "styled-components";
9725
9742
 
9726
9743
  // src/components/Modal/Backdrop/Backdrop.tsx
9727
9744
  import { ddsBaseTokens as ddsBaseTokens46 } from "@norges-domstoler/dds-design-tokens";
9728
- import styled64 from "styled-components";
9729
- var Backdrop = styled64.div.withConfig({
9745
+ import styled65 from "styled-components";
9746
+ var Backdrop = styled65.div.withConfig({
9730
9747
  shouldForwardProp: (prop) => prop !== "isOpen"
9731
9748
  })`
9732
9749
  position: fixed;
@@ -9790,9 +9807,9 @@ var modalTokens = {
9790
9807
  };
9791
9808
 
9792
9809
  // src/components/Modal/Modal.tsx
9793
- import { jsx as jsx232, jsxs as jsxs54 } from "react/jsx-runtime";
9810
+ import { jsx as jsx233, jsxs as jsxs54 } from "react/jsx-runtime";
9794
9811
  var { container: container12, contentContainer: contentContainer6 } = modalTokens;
9795
- var Container9 = styled65(Paper)`
9812
+ var Container9 = styled66(Paper)`
9796
9813
  display: flex;
9797
9814
  flex-direction: column-reverse;
9798
9815
  min-width: 200px;
@@ -9806,16 +9823,16 @@ var Container9 = styled65(Paper)`
9806
9823
  ${focusVisible}
9807
9824
  }
9808
9825
  `;
9809
- var ContentContainer3 = styled65.div`
9826
+ var ContentContainer3 = styled66.div`
9810
9827
  display: grid;
9811
9828
  padding-right: ${contentContainer6.paddingRight};
9812
9829
  gap: ${contentContainer6.gap};
9813
9830
  `;
9814
- var HeaderContainer3 = styled65.div``;
9815
- var StyledButton4 = styled65(Button)`
9831
+ var HeaderContainer3 = styled66.div``;
9832
+ var StyledButton4 = styled66(Button)`
9816
9833
  align-self: flex-end;
9817
9834
  `;
9818
- var Modal = forwardRef43((props, ref) => {
9835
+ var Modal = forwardRef44((props, ref) => {
9819
9836
  const {
9820
9837
  isOpen = false,
9821
9838
  parentElement = document.body,
@@ -9853,7 +9870,7 @@ var Modal = forwardRef43((props, ref) => {
9853
9870
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
9854
9871
  const hasTransitionedIn = useMountTransition(isOpen, 200);
9855
9872
  return isOpen || hasTransitionedIn ? createPortal2(
9856
- /* @__PURE__ */ jsx232(Backdrop, { isOpen: hasTransitionedIn && isOpen, children: /* @__PURE__ */ jsxs54(
9873
+ /* @__PURE__ */ jsx233(Backdrop, { isOpen: hasTransitionedIn && isOpen, children: /* @__PURE__ */ jsxs54(
9857
9874
  Container9,
9858
9875
  {
9859
9876
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9867,10 +9884,10 @@ var Modal = forwardRef43((props, ref) => {
9867
9884
  elevation: 4,
9868
9885
  children: [
9869
9886
  /* @__PURE__ */ jsxs54(ContentContainer3, { children: [
9870
- header3 && /* @__PURE__ */ jsx232(HeaderContainer3, { id: headerId, children: typeof header3 === "string" ? /* @__PURE__ */ jsx232(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
9887
+ header3 && /* @__PURE__ */ jsx233(HeaderContainer3, { id: headerId, children: typeof header3 === "string" ? /* @__PURE__ */ jsx233(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
9871
9888
  children
9872
9889
  ] }),
9873
- onClose && /* @__PURE__ */ jsx232(
9890
+ onClose && /* @__PURE__ */ jsx233(
9874
9891
  StyledButton4,
9875
9892
  {
9876
9893
  size: "small",
@@ -9890,45 +9907,45 @@ var Modal = forwardRef43((props, ref) => {
9890
9907
  Modal.displayName = "Modal";
9891
9908
 
9892
9909
  // src/components/Modal/ModalBody.tsx
9893
- import { forwardRef as forwardRef44 } from "react";
9894
- import styled66 from "styled-components";
9895
- import { jsx as jsx233 } from "react/jsx-runtime";
9896
- var Container10 = styled66.div``;
9897
- var ModalBody = forwardRef44(
9910
+ import { forwardRef as forwardRef45 } from "react";
9911
+ import styled67 from "styled-components";
9912
+ import { jsx as jsx234 } from "react/jsx-runtime";
9913
+ var Container10 = styled67.div``;
9914
+ var ModalBody = forwardRef45(
9898
9915
  (props, ref) => {
9899
9916
  const { children, scrollable, id, className, htmlProps, height, ...rest } = props;
9900
9917
  const containerProps = {
9901
9918
  ...getBaseHTMLProps(id, className, htmlProps, rest),
9902
9919
  ref
9903
9920
  };
9904
- return scrollable ? /* @__PURE__ */ jsx233(Container10, { ...containerProps, children: /* @__PURE__ */ jsx233(ScrollableContainer, { contentHeight: height, children }) }) : /* @__PURE__ */ jsx233(Container10, { ...containerProps, children });
9921
+ return scrollable ? /* @__PURE__ */ jsx234(Container10, { ...containerProps, children: /* @__PURE__ */ jsx234(ScrollableContainer, { contentHeight: height, children }) }) : /* @__PURE__ */ jsx234(Container10, { ...containerProps, children });
9905
9922
  }
9906
9923
  );
9907
9924
  ModalBody.displayName = "ModalBody";
9908
9925
 
9909
9926
  // src/components/Modal/ModalActions.tsx
9910
- import { forwardRef as forwardRef45 } from "react";
9911
- import styled67 from "styled-components";
9912
- import { jsx as jsx234 } from "react/jsx-runtime";
9913
- var Container11 = styled67.div`
9927
+ import { forwardRef as forwardRef46 } from "react";
9928
+ import styled68 from "styled-components";
9929
+ import { jsx as jsx235 } from "react/jsx-runtime";
9930
+ var Container11 = styled68.div`
9914
9931
  display: flex;
9915
9932
  flex-wrap: wrap;
9916
9933
  gap: ${modalTokens.actionsContainer.gap};
9917
9934
  `;
9918
- var ModalActions = forwardRef45(
9935
+ var ModalActions = forwardRef46(
9919
9936
  ({ children, ...rest }, ref) => {
9920
9937
  const containerProps = {
9921
9938
  ref,
9922
9939
  ...rest
9923
9940
  };
9924
- return /* @__PURE__ */ jsx234(Container11, { ...containerProps, children });
9941
+ return /* @__PURE__ */ jsx235(Container11, { ...containerProps, children });
9925
9942
  }
9926
9943
  );
9927
9944
  ModalActions.displayName = "ModalActions";
9928
9945
 
9929
9946
  // src/components/Pagination/Pagination.tsx
9930
- import { forwardRef as forwardRef47, useState as useState20 } from "react";
9931
- import styled69, { css as css28 } from "styled-components";
9947
+ import { forwardRef as forwardRef48, useState as useState20 } from "react";
9948
+ import styled70, { css as css28 } from "styled-components";
9932
9949
 
9933
9950
  // src/components/Pagination/Pagination.tokens.tsx
9934
9951
  import { ddsBaseTokens as ddsBaseTokens48 } from "@norges-domstoler/dds-design-tokens";
@@ -9986,13 +10003,13 @@ function PaginationGenerator(pagesAmount, activePage) {
9986
10003
  }
9987
10004
 
9988
10005
  // src/components/Select/Select.tsx
9989
- import { forwardRef as forwardRef46, useId as useId14 } from "react";
10006
+ import { forwardRef as forwardRef47, useId as useId14 } from "react";
9990
10007
  import {
9991
10008
  default as ReactSelect
9992
10009
  } from "react-select";
9993
10010
 
9994
10011
  // src/components/Select/Select.styles.ts
9995
- import styled68, { css as css27 } from "styled-components";
10012
+ import styled69, { css as css27 } from "styled-components";
9996
10013
 
9997
10014
  // src/components/Select/Select.tokens.tsx
9998
10015
  import {
@@ -10185,7 +10202,7 @@ var prefix = "dds-select";
10185
10202
  function getContainerControlPadding(componentSize, isMulti) {
10186
10203
  return isMulti ? control2.isMulti.sizes[componentSize].padding : control2.sizes[componentSize].padding;
10187
10204
  }
10188
- var Container12 = styled68.div`
10205
+ var Container12 = styled69.div`
10189
10206
  margin: 0;
10190
10207
  width: ${({ $width }) => $width};
10191
10208
  position: relative;
@@ -10252,14 +10269,14 @@ var Container12 = styled68.div`
10252
10269
  }
10253
10270
  ` : ""}
10254
10271
  `;
10255
- var InnerSingleValue = styled68.div`
10272
+ var InnerSingleValue = styled69.div`
10256
10273
  overflow: hidden;
10257
10274
  text-overflow: ellipsis;
10258
10275
  white-space: nowrap;
10259
10276
  box-sizing: border-box;
10260
10277
  max-width: 100%;
10261
10278
  `;
10262
- var StyledIcon3 = styled68(Icon)`
10279
+ var StyledIcon3 = styled69(Icon)`
10263
10280
  margin-right: ${icon8.marginRight};
10264
10281
  `;
10265
10282
  var getCustomStyles = (size2) => ({
@@ -10426,7 +10443,7 @@ var getCustomStyles = (size2) => ({
10426
10443
  import {
10427
10444
  components
10428
10445
  } from "react-select";
10429
- import { jsx as jsx235, jsxs as jsxs55 } from "react/jsx-runtime";
10446
+ import { jsx as jsx236, jsxs as jsxs55 } from "react/jsx-runtime";
10430
10447
  var {
10431
10448
  Option,
10432
10449
  NoOptionsMessage,
@@ -10438,16 +10455,16 @@ var {
10438
10455
  Control
10439
10456
  } = components;
10440
10457
  var DDSOption = (props, componentSize) => /* @__PURE__ */ jsxs55(Option, { ...props, children: [
10441
- props.isSelected && /* @__PURE__ */ jsx235(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
10458
+ props.isSelected && /* @__PURE__ */ jsx236(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
10442
10459
  props.children
10443
10460
  ] });
10444
- var CustomOption = (props, Element) => /* @__PURE__ */ jsx235(Option, { ...props, children: /* @__PURE__ */ jsx235(Element, { ...props }) });
10445
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx235(SingleValue, { ...props, children: /* @__PURE__ */ jsx235(InnerSingleValue, { id, children: Element ? /* @__PURE__ */ jsx235(Element, { ...props }) : props.children }) });
10446
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx235(NoOptionsMessage, { ...props, children: "Ingen treff" });
10447
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx235(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx235(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
10448
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx235(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx235(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10449
- var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ jsx235(DropdownIndicator, { ...props, children: /* @__PURE__ */ jsx235(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) }) });
10450
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx235(
10461
+ var CustomOption = (props, Element) => /* @__PURE__ */ jsx236(Option, { ...props, children: /* @__PURE__ */ jsx236(Element, { ...props }) });
10462
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx236(SingleValue, { ...props, children: /* @__PURE__ */ jsx236(InnerSingleValue, { id, children: Element ? /* @__PURE__ */ jsx236(Element, { ...props }) : props.children }) });
10463
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx236(NoOptionsMessage, { ...props, children: "Ingen treff" });
10464
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx236(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx236(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
10465
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx236(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx236(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10466
+ var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ jsx236(DropdownIndicator, { ...props, children: /* @__PURE__ */ jsx236(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) }) });
10467
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx236(
10451
10468
  Input2,
10452
10469
  {
10453
10470
  ...props,
@@ -10456,12 +10473,12 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx235(
10456
10473
  }
10457
10474
  );
10458
10475
  var DDSControl = (props, componentSize, icon11) => /* @__PURE__ */ jsxs55(Control, { ...props, children: [
10459
- icon11 && /* @__PURE__ */ jsx235(StyledIcon3, { icon: icon11, iconSize: getFormInputIconSize(componentSize) }),
10476
+ icon11 && /* @__PURE__ */ jsx236(StyledIcon3, { icon: icon11, iconSize: getFormInputIconSize(componentSize) }),
10460
10477
  props.children
10461
10478
  ] });
10462
10479
 
10463
10480
  // src/components/Select/Select.tsx
10464
- import { jsx as jsx236, jsxs as jsxs56 } from "react/jsx-runtime";
10481
+ import { jsx as jsx237, jsxs as jsxs56 } from "react/jsx-runtime";
10465
10482
  var defaultWidth4 = "320px";
10466
10483
  var getPlaceholder = (placeholder3, isMulti) => placeholder3 ? placeholder3 : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
10467
10484
  function SelectInner(props, ref) {
@@ -10549,39 +10566,39 @@ function SelectInner(props, ref) {
10549
10566
  ...rest
10550
10567
  };
10551
10568
  return /* @__PURE__ */ jsxs56(Container12, { ...containerProps, children: [
10552
- hasLabel && /* @__PURE__ */ jsx236(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
10553
- /* @__PURE__ */ jsx236(ReactSelect, { ...reactSelectProps, ref }),
10569
+ hasLabel && /* @__PURE__ */ jsx237(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
10570
+ /* @__PURE__ */ jsx237(ReactSelect, { ...reactSelectProps, ref }),
10554
10571
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
10555
10572
  ] });
10556
10573
  }
10557
- var Select = forwardRef46(SelectInner);
10574
+ var Select = forwardRef47(SelectInner);
10558
10575
  Select.displayName = "Select";
10559
10576
 
10560
10577
  // src/components/Select/utils.ts
10561
10578
  var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
10562
10579
 
10563
10580
  // src/components/Pagination/Pagination.tsx
10564
- import { jsx as jsx237, jsxs as jsxs57 } from "react/jsx-runtime";
10581
+ import { jsx as jsx238, jsxs as jsxs57 } from "react/jsx-runtime";
10565
10582
  var { outerContainer: outerContainer4, indicatorsContainer: indicatorsContainer2, truncationIcon: truncationIcon2, list: list8 } = paginationTokens;
10566
- var Nav = styled69.nav`
10583
+ var Nav = styled70.nav`
10567
10584
  display: flex;
10568
10585
  align-items: center;
10569
10586
  `;
10570
- var List3 = styled69.ol`
10587
+ var List3 = styled70.ol`
10571
10588
  display: grid;
10572
10589
  grid-auto-flow: column;
10573
10590
  gap: ${list8.gap};
10574
10591
  margin: 0;
10575
10592
  padding: 0;
10576
10593
  `;
10577
- var ListItem3 = styled69.li`
10594
+ var ListItem3 = styled70.li`
10578
10595
  display: inline-grid;
10579
10596
  align-content: center;
10580
10597
  ${({ $isHidden }) => $isHidden && css28`
10581
10598
  visibility: hidden;
10582
10599
  `}
10583
10600
  `;
10584
- var OuterContainer = styled69.div`
10601
+ var OuterContainer = styled70.div`
10585
10602
  display: flex;
10586
10603
  gap: ${outerContainer4.gap};
10587
10604
  ${({ $smallScreen }) => $smallScreen ? css28`
@@ -10592,13 +10609,13 @@ var OuterContainer = styled69.div`
10592
10609
  flex-wrap: wrap;
10593
10610
  `}
10594
10611
  `;
10595
- var IndicatorsContainer = styled69.div`
10612
+ var IndicatorsContainer = styled70.div`
10596
10613
  display: grid;
10597
10614
  grid-auto-flow: column;
10598
10615
  align-items: center;
10599
10616
  gap: ${indicatorsContainer2.gap};
10600
10617
  `;
10601
- var Pagination = forwardRef47(
10618
+ var Pagination = forwardRef48(
10602
10619
  (props, ref) => {
10603
10620
  const {
10604
10621
  itemsAmount,
@@ -10641,7 +10658,7 @@ var Pagination = forwardRef47(
10641
10658
  };
10642
10659
  const listItems = items.length > 0 ? items.map((item, i) => {
10643
10660
  const isActive = item === activePage;
10644
- return /* @__PURE__ */ jsx237(ListItem3, { children: item !== "truncator" ? /* @__PURE__ */ jsx237(
10661
+ return /* @__PURE__ */ jsx238(ListItem3, { children: item !== "truncator" ? /* @__PURE__ */ jsx238(
10645
10662
  Button,
10646
10663
  {
10647
10664
  purpose: isActive ? "primary" : "secondary",
@@ -10653,7 +10670,7 @@ var Pagination = forwardRef47(
10653
10670
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
10654
10671
  children: item
10655
10672
  }
10656
- ) : /* @__PURE__ */ jsx237(
10673
+ ) : /* @__PURE__ */ jsx238(
10657
10674
  Icon,
10658
10675
  {
10659
10676
  icon: MoreHorizontalIcon,
@@ -10661,7 +10678,7 @@ var Pagination = forwardRef47(
10661
10678
  }
10662
10679
  ) }, `pagination-item-${i}`);
10663
10680
  }) : void 0;
10664
- const previousPageButton = /* @__PURE__ */ jsx237(
10681
+ const previousPageButton = /* @__PURE__ */ jsx238(
10665
10682
  Button,
10666
10683
  {
10667
10684
  purpose: "secondary",
@@ -10674,7 +10691,7 @@ var Pagination = forwardRef47(
10674
10691
  "aria-label": "G\xE5 til forrige siden"
10675
10692
  }
10676
10693
  );
10677
- const nextPageButton = /* @__PURE__ */ jsx237(
10694
+ const nextPageButton = /* @__PURE__ */ jsx238(
10678
10695
  Button,
10679
10696
  {
10680
10697
  purpose: "secondary",
@@ -10696,13 +10713,13 @@ var Pagination = forwardRef47(
10696
10713
  };
10697
10714
  const isOnFirstPage = activePage === 1;
10698
10715
  const isOnLastPage = activePage === pagesLength;
10699
- const navigation2 = withPagination ? /* @__PURE__ */ jsx237(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs57(List3, { children: [
10700
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10716
+ const navigation2 = withPagination ? /* @__PURE__ */ jsx238(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs57(List3, { children: [
10717
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10701
10718
  listItems,
10702
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton })
10719
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton })
10703
10720
  ] }) }) : null;
10704
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx237(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs57(List3, { children: [
10705
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: /* @__PURE__ */ jsx237(
10721
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx238(Nav, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs57(List3, { children: [
10722
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: /* @__PURE__ */ jsx238(
10706
10723
  Button,
10707
10724
  {
10708
10725
  purpose: "secondary",
@@ -10715,8 +10732,8 @@ var Pagination = forwardRef47(
10715
10732
  "aria-label": "G\xE5 til f\xF8rste siden"
10716
10733
  }
10717
10734
  ) }),
10718
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10719
- /* @__PURE__ */ jsx237(ListItem3, { children: /* @__PURE__ */ jsx237(
10735
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10736
+ /* @__PURE__ */ jsx238(ListItem3, { children: /* @__PURE__ */ jsx238(
10720
10737
  Button,
10721
10738
  {
10722
10739
  size: "small",
@@ -10726,8 +10743,8 @@ var Pagination = forwardRef47(
10726
10743
  children: activePage
10727
10744
  }
10728
10745
  ) }),
10729
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton }),
10730
- /* @__PURE__ */ jsx237(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: /* @__PURE__ */ jsx237(
10746
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton }),
10747
+ /* @__PURE__ */ jsx238(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: /* @__PURE__ */ jsx238(
10731
10748
  Button,
10732
10749
  {
10733
10750
  purpose: "secondary",
@@ -10746,7 +10763,7 @@ var Pagination = forwardRef47(
10746
10763
  const navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation2;
10747
10764
  return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ jsxs57(OuterContainer, { ...containerProps, children: [
10748
10765
  /* @__PURE__ */ jsxs57(IndicatorsContainer, { children: [
10749
- withSelect && /* @__PURE__ */ jsx237(
10766
+ withSelect && /* @__PURE__ */ jsx238(
10750
10767
  Select,
10751
10768
  {
10752
10769
  options: selectOptions,
@@ -10778,8 +10795,8 @@ Pagination.displayName = "Pagination";
10778
10795
 
10779
10796
  // src/components/Popover/Popover.tsx
10780
10797
  import { ddsBaseTokens as ddsBaseTokens51 } from "@norges-domstoler/dds-design-tokens";
10781
- import { forwardRef as forwardRef48 } from "react";
10782
- import styled70, { css as css29 } from "styled-components";
10798
+ import { forwardRef as forwardRef49 } from "react";
10799
+ import styled71, { css as css29 } from "styled-components";
10783
10800
 
10784
10801
  // src/components/Popover/Popover.tokens.tsx
10785
10802
  import { ddsBaseTokens as ddsBaseTokens50 } from "@norges-domstoler/dds-design-tokens";
@@ -10807,10 +10824,10 @@ var popoverTokens2 = {
10807
10824
  };
10808
10825
 
10809
10826
  // src/components/Popover/Popover.tsx
10810
- import { jsx as jsx238, jsxs as jsxs58 } from "react/jsx-runtime";
10827
+ import { jsx as jsx239, jsxs as jsxs58 } from "react/jsx-runtime";
10811
10828
  var { spacing: Spacing } = ddsBaseTokens51;
10812
10829
  var { wrapper: wrapper4, content: content6, closeButton: closeButton2, title: title2 } = popoverTokens2;
10813
- var Wrapper4 = styled70(Paper)`
10830
+ var Wrapper4 = styled71(Paper)`
10814
10831
  opacity: 0;
10815
10832
  ${({ $hasTransitionedIn, $isOpen }) => $hasTransitionedIn && visibilityTransition($hasTransitionedIn && $isOpen)}
10816
10833
  position: absolute;
@@ -10830,20 +10847,20 @@ var Wrapper4 = styled70(Paper)`
10830
10847
  max-height: ${$sizeProps.maxHeight};
10831
10848
  `}
10832
10849
  `;
10833
- var TitleContainer = styled70.div`
10850
+ var TitleContainer = styled71.div`
10834
10851
  margin-right: ${title2.marginRight};
10835
10852
  `;
10836
- var ContentContainer4 = styled70.div`
10853
+ var ContentContainer4 = styled71.div`
10837
10854
  ${({ $withCloseButton, $hasTitle }) => $withCloseButton && !$hasTitle && css29`
10838
10855
  margin-top: ${content6.noTitle.marginTop};
10839
10856
  `}
10840
10857
  `;
10841
- var StyledButton5 = styled70(Button)`
10858
+ var StyledButton5 = styled71(Button)`
10842
10859
  position: absolute;
10843
10860
  top: ${closeButton2.top};
10844
10861
  right: ${closeButton2.right};
10845
10862
  `;
10846
- var Popover = forwardRef48(
10863
+ var Popover = forwardRef49(
10847
10864
  (props, ref) => {
10848
10865
  const {
10849
10866
  title: title3,
@@ -10896,8 +10913,8 @@ var Popover = forwardRef48(
10896
10913
  elevation: 3,
10897
10914
  border: "light",
10898
10915
  children: [
10899
- title3 && /* @__PURE__ */ jsx238(TitleContainer, { children: typeof title3 === "string" ? /* @__PURE__ */ jsx238(Typography, { typographyType: "headingSans02", children: title3 }) : title3 }),
10900
- /* @__PURE__ */ jsx238(
10916
+ title3 && /* @__PURE__ */ jsx239(TitleContainer, { children: typeof title3 === "string" ? /* @__PURE__ */ jsx239(Typography, { typographyType: "headingSans02", children: title3 }) : title3 }),
10917
+ /* @__PURE__ */ jsx239(
10901
10918
  ContentContainer4,
10902
10919
  {
10903
10920
  $hasTitle: !!title3,
@@ -10905,7 +10922,7 @@ var Popover = forwardRef48(
10905
10922
  children
10906
10923
  }
10907
10924
  ),
10908
- withCloseButton && /* @__PURE__ */ jsx238(
10925
+ withCloseButton && /* @__PURE__ */ jsx239(
10909
10926
  StyledButton5,
10910
10927
  {
10911
10928
  icon: CloseIcon,
@@ -10932,7 +10949,7 @@ import {
10932
10949
  useRef as useRef28,
10933
10950
  useState as useState21
10934
10951
  } from "react";
10935
- import { Fragment as Fragment9, jsx as jsx239 } from "react/jsx-runtime";
10952
+ import { Fragment as Fragment9, jsx as jsx240 } from "react/jsx-runtime";
10936
10953
  var PopoverGroup = ({
10937
10954
  isOpen = false,
10938
10955
  onCloseButtonClick,
@@ -10978,7 +10995,7 @@ var PopoverGroup = ({
10978
10995
  onClose: handleClose
10979
10996
  }));
10980
10997
  });
10981
- return /* @__PURE__ */ jsx239(Fragment9, { children: Children9 });
10998
+ return /* @__PURE__ */ jsx240(Fragment9, { children: Children9 });
10982
10999
  };
10983
11000
  PopoverGroup.displayName = "PopoverGroup";
10984
11001
 
@@ -10987,13 +11004,13 @@ import {
10987
11004
  Children as Children5,
10988
11005
  Fragment as Fragment10,
10989
11006
  cloneElement as cloneElement6,
10990
- forwardRef as forwardRef49,
11007
+ forwardRef as forwardRef50,
10991
11008
  isValidElement as isValidElement7,
10992
11009
  useEffect as useEffect23,
10993
11010
  useMemo as useMemo3,
10994
11011
  useState as useState22
10995
11012
  } from "react";
10996
- import styled72 from "styled-components";
11013
+ import styled73 from "styled-components";
10997
11014
 
10998
11015
  // src/components/ProgressTracker/ProgressTracker.context.tsx
10999
11016
  import { createContext as createContext5, useContext as useContext7 } from "react";
@@ -11121,8 +11138,8 @@ var progressTrackerTokens = {
11121
11138
 
11122
11139
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
11123
11140
  import { useMemo as useMemo2 } from "react";
11124
- import styled71, { css as css30 } from "styled-components";
11125
- import { jsx as jsx240, jsxs as jsxs59 } from "react/jsx-runtime";
11141
+ import styled72, { css as css30 } from "styled-components";
11142
+ import { jsx as jsx241, jsxs as jsxs59 } from "react/jsx-runtime";
11126
11143
  var toItemState = (active, completed, disabled) => {
11127
11144
  if (disabled) {
11128
11145
  return "disabled";
@@ -11134,13 +11151,13 @@ var toItemState = (active, completed, disabled) => {
11134
11151
  }
11135
11152
  };
11136
11153
  var { itemNumber: itemNumber2, itemText: itemText2, itemContentWrapper: itemContentWrapper2 } = progressTrackerTokens;
11137
- var ItemWrapper = styled71.li`
11154
+ var ItemWrapper = styled72.li`
11138
11155
  flex: 1;
11139
11156
  position: relative;
11140
11157
  display: flex;
11141
11158
  justify-content: center;
11142
11159
  `;
11143
- var ItemNumber = styled71.div`
11160
+ var ItemNumber = styled72.div`
11144
11161
  transition:
11145
11162
  background-color 0.2s,
11146
11163
  border-color 0.2s,
@@ -11162,7 +11179,7 @@ var ItemNumber = styled71.div`
11162
11179
  background-color: ${itemNumber2[state].backgroundColor};
11163
11180
  `}
11164
11181
  `;
11165
- var ItemText = styled71.div`
11182
+ var ItemText = styled72.div`
11166
11183
  ${getFontStyling(typographyTypes4.label)}
11167
11184
  text-align: start;
11168
11185
  text-decoration: ${itemText2.textDecoration};
@@ -11173,7 +11190,7 @@ var ItemText = styled71.div`
11173
11190
  text-decoration-color: ${itemText2[state].textDecorationColor};
11174
11191
  `};
11175
11192
  `;
11176
- var ItemContentWrapper = styled71.button`
11193
+ var ItemContentWrapper = styled72.button`
11177
11194
  background: none;
11178
11195
  border: none;
11179
11196
  margin: 0;
@@ -11219,14 +11236,14 @@ var ProgressTrackerItem = (props) => {
11219
11236
  };
11220
11237
  const stepNumberContent = useMemo2(() => {
11221
11238
  if (completed) {
11222
- return /* @__PURE__ */ jsx240(Icon, { icon: CheckIcon, iconSize: itemNumber2.iconSize });
11239
+ return /* @__PURE__ */ jsx241(Icon, { icon: CheckIcon, iconSize: itemNumber2.iconSize });
11223
11240
  }
11224
11241
  if (icon11 !== void 0) {
11225
- return /* @__PURE__ */ jsx240(Icon, { icon: icon11, iconSize: itemNumber2.iconSize });
11242
+ return /* @__PURE__ */ jsx241(Icon, { icon: icon11, iconSize: itemNumber2.iconSize });
11226
11243
  }
11227
11244
  return index + 1;
11228
11245
  }, [completed, icon11, index]);
11229
- return /* @__PURE__ */ jsx240(ItemWrapper, { "aria-current": active ? "step" : void 0, children: /* @__PURE__ */ jsxs59(
11246
+ return /* @__PURE__ */ jsx241(ItemWrapper, { "aria-current": active ? "step" : void 0, children: /* @__PURE__ */ jsxs59(
11230
11247
  ItemContentWrapper,
11231
11248
  {
11232
11249
  ...styleProps,
@@ -11234,9 +11251,9 @@ var ProgressTrackerItem = (props) => {
11234
11251
  onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
11235
11252
  disabled,
11236
11253
  children: [
11237
- /* @__PURE__ */ jsx240(ItemNumber, { ...styleProps, "aria-hidden": true, children: stepNumberContent }),
11254
+ /* @__PURE__ */ jsx241(ItemNumber, { ...styleProps, "aria-hidden": true, children: stepNumberContent }),
11238
11255
  /* @__PURE__ */ jsxs59(ItemText, { ...styleProps, children: [
11239
- /* @__PURE__ */ jsx240(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11256
+ /* @__PURE__ */ jsx241(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11240
11257
  children
11241
11258
  ] })
11242
11259
  ]
@@ -11246,8 +11263,8 @@ var ProgressTrackerItem = (props) => {
11246
11263
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
11247
11264
 
11248
11265
  // src/components/ProgressTracker/ProgressTracker.tsx
11249
- import { jsx as jsx241, jsxs as jsxs60 } from "react/jsx-runtime";
11250
- var ItemsWrapper = styled72.ol`
11266
+ import { jsx as jsx242, jsxs as jsxs60 } from "react/jsx-runtime";
11267
+ var ItemsWrapper = styled73.ol`
11251
11268
  display: flex;
11252
11269
  flex-direction: column;
11253
11270
  align-items: flex-start;
@@ -11255,7 +11272,7 @@ var ItemsWrapper = styled72.ol`
11255
11272
  margin: 0;
11256
11273
  padding: 0;
11257
11274
  `;
11258
- var ProgressTrackerConnector = styled72.div`
11275
+ var ProgressTrackerConnector = styled73.div`
11259
11276
  margin-left: calc(
11260
11277
  (${progressTrackerTokens.itemNumber.size} / 2) -
11261
11278
  (${progressTrackerTokens.connector.width} / 2)
@@ -11265,7 +11282,7 @@ var ProgressTrackerConnector = styled72.div`
11265
11282
  ${progressTrackerTokens.connector.color};
11266
11283
  `;
11267
11284
  var ProgressTracker = (() => {
11268
- const Res = forwardRef49((props, ref) => {
11285
+ const Res = forwardRef50((props, ref) => {
11269
11286
  const {
11270
11287
  id,
11271
11288
  activeStep = 0,
@@ -11295,14 +11312,14 @@ var ProgressTracker = (() => {
11295
11312
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
11296
11313
  return itemsWithConnectorsBetween;
11297
11314
  }, [children]);
11298
- return /* @__PURE__ */ jsx241(
11315
+ return /* @__PURE__ */ jsx242(
11299
11316
  ProgressTrackerContext.Provider,
11300
11317
  {
11301
11318
  value: {
11302
11319
  activeStep: thisActiveStep,
11303
11320
  handleStepChange: handleChange
11304
11321
  },
11305
- children: /* @__PURE__ */ jsx241("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx241(ItemsWrapper, { children: steps }) })
11322
+ children: /* @__PURE__ */ jsx242("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx242(ItemsWrapper, { children: steps }) })
11306
11323
  }
11307
11324
  );
11308
11325
  });
@@ -11327,18 +11344,18 @@ var intersperseItemsWithConnector = (children) => Children5.map(children, (child
11327
11344
  return child;
11328
11345
  }
11329
11346
  return /* @__PURE__ */ jsxs60(Fragment10, { children: [
11330
- /* @__PURE__ */ jsx241(ProgressTrackerConnector, { "aria-hidden": true }),
11347
+ /* @__PURE__ */ jsx242(ProgressTrackerConnector, { "aria-hidden": true }),
11331
11348
  child
11332
11349
  ] }, index);
11333
11350
  });
11334
11351
 
11335
11352
  // src/components/Search/Search.tsx
11336
11353
  import {
11337
- forwardRef as forwardRef51,
11354
+ forwardRef as forwardRef52,
11338
11355
  useId as useId16,
11339
11356
  useState as useState23
11340
11357
  } from "react";
11341
- import styled74, { css as css31 } from "styled-components";
11358
+ import styled75, { css as css31 } from "styled-components";
11342
11359
 
11343
11360
  // src/components/Search/AutocompleteSearch.context.tsx
11344
11361
  import {
@@ -11460,11 +11477,11 @@ function createEmptyChangeEvent(inputElementId) {
11460
11477
  }
11461
11478
 
11462
11479
  // src/components/Search/SearchSuggestions.tsx
11463
- import { forwardRef as forwardRef50 } from "react";
11464
- import styled73 from "styled-components";
11465
- import { jsx as jsx242, jsxs as jsxs61 } from "react/jsx-runtime";
11480
+ import { forwardRef as forwardRef51 } from "react";
11481
+ import styled74 from "styled-components";
11482
+ import { jsx as jsx243, jsxs as jsxs61 } from "react/jsx-runtime";
11466
11483
  var { suggestionsContainer: suggestionsContainer2, suggestionsHeader: suggestionsHeader2 } = searchTokens;
11467
- var SuggestionsContainer = styled73(Paper)`
11484
+ var SuggestionsContainer = styled74(Paper)`
11468
11485
  ${({ $isHidden }) => visibilityTransition(!$isHidden)};
11469
11486
  position: absolute;
11470
11487
  top: 100%;
@@ -11478,16 +11495,16 @@ var SuggestionsContainer = styled73(Paper)`
11478
11495
  ${scrollbarStyling.firefox}
11479
11496
  ${scrollbarStyling.webkit}
11480
11497
  `;
11481
- var MenuItem = styled73(OverflowMenuItem)`
11498
+ var MenuItem = styled74(OverflowMenuItem)`
11482
11499
  ${({ $size }) => $size && getFontStyling(typographyTypes5[$size])}
11483
11500
  `;
11484
- var SuggestionsList = styled73.ul`
11501
+ var SuggestionsList = styled74.ul`
11485
11502
  ${removeListStyling}
11486
11503
  `;
11487
- var SuggestionsHeader = styled73(Typography)`
11504
+ var SuggestionsHeader = styled74(Typography)`
11488
11505
  padding-left: ${suggestionsHeader2.paddingLeft};
11489
11506
  `;
11490
- var SearchSuggestions = forwardRef50((props, ref) => {
11507
+ var SearchSuggestions = forwardRef51((props, ref) => {
11491
11508
  const {
11492
11509
  id,
11493
11510
  searchId,
@@ -11506,8 +11523,8 @@ var SearchSuggestions = forwardRef50((props, ref) => {
11506
11523
  );
11507
11524
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
11508
11525
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
11509
- const renderedSuggestions = /* @__PURE__ */ jsx242(SuggestionsList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11510
- return /* @__PURE__ */ jsx242("li", { role: "option", children: /* @__PURE__ */ jsx242(
11526
+ const renderedSuggestions = /* @__PURE__ */ jsx243(SuggestionsList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11527
+ return /* @__PURE__ */ jsx243("li", { role: "option", children: /* @__PURE__ */ jsx243(
11511
11528
  MenuItem,
11512
11529
  {
11513
11530
  index,
@@ -11530,7 +11547,7 @@ var SearchSuggestions = forwardRef50((props, ref) => {
11530
11547
  $isHidden: isHidden,
11531
11548
  "aria-hidden": isHidden,
11532
11549
  children: [
11533
- /* @__PURE__ */ jsx242(
11550
+ /* @__PURE__ */ jsx243(
11534
11551
  SuggestionsHeader,
11535
11552
  {
11536
11553
  typographyType: "supportingStyleTiny01",
@@ -11547,7 +11564,7 @@ var SearchSuggestions = forwardRef50((props, ref) => {
11547
11564
  SearchSuggestions.displayName = "SearchSuggestions";
11548
11565
 
11549
11566
  // src/components/Search/Search.tsx
11550
- import { Fragment as Fragment11, jsx as jsx243, jsxs as jsxs62 } from "react/jsx-runtime";
11567
+ import { Fragment as Fragment11, jsx as jsx244, jsxs as jsxs62 } from "react/jsx-runtime";
11551
11568
  var { input: input4, outerContainer: outerContainer6, horisontalContainer: horisontalContainer2, searchIcon: searchIcon2, clearButton: clearButton2 } = searchTokens;
11552
11569
  var getIconSize = (size2) => {
11553
11570
  switch (size2) {
@@ -11559,7 +11576,7 @@ var getIconSize = (size2) => {
11559
11576
  return "small";
11560
11577
  }
11561
11578
  };
11562
- var Input3 = styled74(Input)`
11579
+ var Input3 = styled75(Input)`
11563
11580
  &[type='search']::-webkit-search-decoration,
11564
11581
  &[type='search']::-webkit-search-cancel-button,
11565
11582
  &[type='search']::-webkit-search-results-button,
@@ -11575,7 +11592,7 @@ var Input3 = styled74(Input)`
11575
11592
  ${getFontStyling(typographyTypes5[$componentSize])}
11576
11593
  `}
11577
11594
  `;
11578
- var StyledSearchIcon = styled74(Icon)`
11595
+ var StyledSearchIcon = styled75(Icon)`
11579
11596
  position: absolute;
11580
11597
  left: ${searchIcon2.base.left};
11581
11598
  color: ${searchIcon2.base.color};
@@ -11584,29 +11601,29 @@ var StyledSearchIcon = styled74(Icon)`
11584
11601
  `}
11585
11602
  z-index: 1;
11586
11603
  `;
11587
- var StyledClearButton = styled74(Button)`
11604
+ var StyledClearButton = styled75(Button)`
11588
11605
  position: absolute;
11589
11606
  right: ${clearButton2.right};
11590
11607
  color: ${clearButton2.color};
11591
11608
  top: ${clearButton2.top};
11592
11609
  `;
11593
- var OuterContainer2 = styled74.div`
11610
+ var OuterContainer2 = styled75.div`
11594
11611
  display: flex;
11595
11612
  flex-direction: column;
11596
11613
  gap: ${outerContainer6.gap};
11597
11614
  `;
11598
- var HorisontalContainer = styled74.div`
11615
+ var HorisontalContainer = styled75.div`
11599
11616
  ${(props) => props.$hasSearchButton && css31`
11600
11617
  display: grid;
11601
11618
  grid-template-columns: 1fr auto;
11602
11619
  gap: ${horisontalContainer2.gap};
11603
11620
  `}
11604
11621
  `;
11605
- var InputContainer2 = styled74.div`
11622
+ var InputContainer2 = styled75.div`
11606
11623
  position: relative;
11607
11624
  display: flex;
11608
11625
  `;
11609
- var Search = forwardRef51(
11626
+ var Search = forwardRef52(
11610
11627
  ({
11611
11628
  componentSize = "medium",
11612
11629
  buttonProps,
@@ -11651,7 +11668,7 @@ var Search = forwardRef51(
11651
11668
  const hasSuggestions = !!context.suggestions;
11652
11669
  const showSearchButton = !!buttonProps && !!onClick;
11653
11670
  return /* @__PURE__ */ jsxs62(OuterContainer2, { children: [
11654
- hasLabel && /* @__PURE__ */ jsx243(Label, { htmlFor: uniqueId, children: label3 }),
11671
+ hasLabel && /* @__PURE__ */ jsx244(Label, { htmlFor: uniqueId, children: label3 }),
11655
11672
  /* @__PURE__ */ jsxs62("div", { children: [
11656
11673
  /* @__PURE__ */ jsxs62(
11657
11674
  HorisontalContainer,
@@ -11661,7 +11678,7 @@ var Search = forwardRef51(
11661
11678
  style,
11662
11679
  children: [
11663
11680
  /* @__PURE__ */ jsxs62(InputContainer2, { children: [
11664
- /* @__PURE__ */ jsx243(
11681
+ /* @__PURE__ */ jsx244(
11665
11682
  StyledSearchIcon,
11666
11683
  {
11667
11684
  icon: SearchIcon,
@@ -11669,7 +11686,7 @@ var Search = forwardRef51(
11669
11686
  iconSize: getIconSize(componentSize)
11670
11687
  }
11671
11688
  ),
11672
- /* @__PURE__ */ jsx243(
11689
+ /* @__PURE__ */ jsx244(
11673
11690
  Input3,
11674
11691
  {
11675
11692
  ...rest,
@@ -11693,7 +11710,7 @@ var Search = forwardRef51(
11693
11710
  }
11694
11711
  ),
11695
11712
  hasSuggestions && /* @__PURE__ */ jsxs62(Fragment11, { children: [
11696
- /* @__PURE__ */ jsx243(
11713
+ /* @__PURE__ */ jsx244(
11697
11714
  SearchSuggestions,
11698
11715
  {
11699
11716
  id: suggestionsId,
@@ -11705,9 +11722,9 @@ var Search = forwardRef51(
11705
11722
  componentSize
11706
11723
  }
11707
11724
  ),
11708
- /* @__PURE__ */ jsx243(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11725
+ /* @__PURE__ */ jsx244(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11709
11726
  ] }),
11710
- hasValue && /* @__PURE__ */ jsx243(
11727
+ hasValue && /* @__PURE__ */ jsx244(
11711
11728
  StyledClearButton,
11712
11729
  {
11713
11730
  icon: CloseSmallIcon,
@@ -11719,7 +11736,7 @@ var Search = forwardRef51(
11719
11736
  }
11720
11737
  )
11721
11738
  ] }),
11722
- showSearchButton && /* @__PURE__ */ jsx243(
11739
+ showSearchButton && /* @__PURE__ */ jsx244(
11723
11740
  Button,
11724
11741
  {
11725
11742
  size: componentSize,
@@ -11744,7 +11761,7 @@ import {
11744
11761
  useRef as useRef29,
11745
11762
  useState as useState24
11746
11763
  } from "react";
11747
- import { jsx as jsx244 } from "react/jsx-runtime";
11764
+ import { jsx as jsx245 } from "react/jsx-runtime";
11748
11765
  var SearchAutocompleteWrapper = (props) => {
11749
11766
  const {
11750
11767
  value,
@@ -11820,7 +11837,7 @@ var SearchAutocompleteWrapper = (props) => {
11820
11837
  inputValue,
11821
11838
  onSugggestionClick: handleSuggestionClick
11822
11839
  };
11823
- return /* @__PURE__ */ jsx244(AutocompleteSearchContext.Provider, { value: contextProps, children });
11840
+ return /* @__PURE__ */ jsx245(AutocompleteSearchContext.Provider, { value: contextProps, children });
11824
11841
  };
11825
11842
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
11826
11843
 
@@ -11830,7 +11847,7 @@ Search2.AutocompleteWrapper = SearchAutocompleteWrapper;
11830
11847
  Search2.Suggestions = SearchSuggestions;
11831
11848
 
11832
11849
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
11833
- import { forwardRef as forwardRef52, useId as useId17 } from "react";
11850
+ import { forwardRef as forwardRef53, useId as useId17 } from "react";
11834
11851
 
11835
11852
  // src/components/SelectionControl/Checkbox/CheckboxGroupContext.tsx
11836
11853
  import { createContext as createContext7, useContext as useContext9 } from "react";
@@ -11840,7 +11857,7 @@ var useCheckboxGroup = () => {
11840
11857
  };
11841
11858
 
11842
11859
  // src/components/SelectionControl/SelectionControl.styles.tsx
11843
- import styled75, { css as css32 } from "styled-components";
11860
+ import styled76, { css as css32 } from "styled-components";
11844
11861
 
11845
11862
  // src/components/SelectionControl/SelectionControl.tokens.tsx
11846
11863
  import { ddsBaseTokens as ddsBaseTokens54 } from "@norges-domstoler/dds-design-tokens";
@@ -11960,7 +11977,7 @@ var {
11960
11977
  groupContainer: groupContainer2,
11961
11978
  outerGroupContainer: outerGroupContainer2
11962
11979
  } = selectionControlTokens;
11963
- var CustomSelectionControl = styled75.span`
11980
+ var CustomSelectionControl = styled76.span`
11964
11981
  position: absolute;
11965
11982
  left: 0;
11966
11983
  box-sizing: border-box;
@@ -11979,7 +11996,7 @@ var CustomSelectionControl = styled75.span`
11979
11996
  display: none;
11980
11997
  }
11981
11998
  `;
11982
- var Container13 = styled75.label`
11999
+ var Container13 = styled76.label`
11983
12000
  position: relative;
11984
12001
  display: flex;
11985
12002
  align-items: center;
@@ -12104,12 +12121,12 @@ var Container13 = styled75.label`
12104
12121
  }
12105
12122
  `}
12106
12123
  `;
12107
- var OuterGroupContainer = styled75.div`
12124
+ var OuterGroupContainer = styled76.div`
12108
12125
  display: flex;
12109
12126
  flex-direction: column;
12110
12127
  gap: ${outerGroupContainer2.gap};
12111
12128
  `;
12112
- var GroupContainer = styled75.div`
12129
+ var GroupContainer = styled76.div`
12113
12130
  display: flex;
12114
12131
  ${({ $direction }) => css32`
12115
12132
  flex-direction: ${$direction};
@@ -12118,8 +12135,8 @@ var GroupContainer = styled75.div`
12118
12135
  `;
12119
12136
 
12120
12137
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
12121
- import { jsx as jsx245, jsxs as jsxs63 } from "react/jsx-runtime";
12122
- var Checkbox = forwardRef52(
12138
+ import { jsx as jsx246, jsxs as jsxs63 } from "react/jsx-runtime";
12139
+ var Checkbox = forwardRef53(
12123
12140
  (props, ref) => {
12124
12141
  const {
12125
12142
  id,
@@ -12155,7 +12172,7 @@ var Checkbox = forwardRef52(
12155
12172
  className: cn(className, htmlPropsClassName),
12156
12173
  style,
12157
12174
  children: [
12158
- /* @__PURE__ */ jsx245(
12175
+ /* @__PURE__ */ jsx246(
12159
12176
  HiddenInput,
12160
12177
  {
12161
12178
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -12175,8 +12192,8 @@ var Checkbox = forwardRef52(
12175
12192
  "data-indeterminate": indeterminate
12176
12193
  }
12177
12194
  ),
12178
- /* @__PURE__ */ jsx245(CustomSelectionControl, { $controlType: "checkbox" }),
12179
- hasLabel && /* @__PURE__ */ jsx245(Typography, { ...selectionControlTypographyProps, children: label3 })
12195
+ /* @__PURE__ */ jsx246(CustomSelectionControl, { $controlType: "checkbox" }),
12196
+ hasLabel && /* @__PURE__ */ jsx246(Typography, { ...selectionControlTypographyProps, children: label3 })
12180
12197
  ]
12181
12198
  }
12182
12199
  );
@@ -12186,7 +12203,7 @@ Checkbox.displayName = "Checkbox";
12186
12203
 
12187
12204
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
12188
12205
  import { useId as useId18 } from "react";
12189
- import { jsx as jsx246, jsxs as jsxs64 } from "react/jsx-runtime";
12206
+ import { jsx as jsx247, jsxs as jsxs64 } from "react/jsx-runtime";
12190
12207
  var CheckboxGroup = (props) => {
12191
12208
  const {
12192
12209
  label: label3,
@@ -12237,12 +12254,12 @@ var CheckboxGroup = (props) => {
12237
12254
  children: [
12238
12255
  label3,
12239
12256
  " ",
12240
- showRequiredMarker && /* @__PURE__ */ jsx246(RequiredMarker, {})
12257
+ showRequiredMarker && /* @__PURE__ */ jsx247(RequiredMarker, {})
12241
12258
  ]
12242
12259
  }
12243
12260
  ),
12244
12261
  renderInputMessage(tip, tipId),
12245
- /* @__PURE__ */ jsx246(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx246(
12262
+ /* @__PURE__ */ jsx247(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx247(
12246
12263
  GroupContainer,
12247
12264
  {
12248
12265
  role: "group",
@@ -12260,7 +12277,7 @@ var CheckboxGroup = (props) => {
12260
12277
  CheckboxGroup.displayName = "CheckboxGroup";
12261
12278
 
12262
12279
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
12263
- import { forwardRef as forwardRef53, useId as useId19 } from "react";
12280
+ import { forwardRef as forwardRef54, useId as useId19 } from "react";
12264
12281
 
12265
12282
  // src/components/SelectionControl/RadioButton/RadioButtonGroupContext.tsx
12266
12283
  import { createContext as createContext8, useContext as useContext10 } from "react";
@@ -12270,7 +12287,7 @@ var useRadioButtonGroup = () => {
12270
12287
  };
12271
12288
 
12272
12289
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
12273
- import { jsx as jsx247, jsxs as jsxs65 } from "react/jsx-runtime";
12290
+ import { jsx as jsx248, jsxs as jsxs65 } from "react/jsx-runtime";
12274
12291
  var isValueEqualToGroupValueOrFalsy = (value, group4) => {
12275
12292
  if (typeof value !== "undefined" && value !== null && group4) {
12276
12293
  if (typeof value === "number") {
@@ -12280,7 +12297,7 @@ var isValueEqualToGroupValueOrFalsy = (value, group4) => {
12280
12297
  }
12281
12298
  return !!value;
12282
12299
  };
12283
- var RadioButton = forwardRef53(
12300
+ var RadioButton = forwardRef54(
12284
12301
  (props, ref) => {
12285
12302
  const {
12286
12303
  id,
@@ -12341,9 +12358,9 @@ var RadioButton = forwardRef53(
12341
12358
  htmlFor: uniqueId,
12342
12359
  $controlType: "radio",
12343
12360
  children: [
12344
- /* @__PURE__ */ jsx247(HiddenInput, { ...inputProps, ref }),
12345
- /* @__PURE__ */ jsx247(CustomSelectionControl, { $controlType: "radio" }),
12346
- /* @__PURE__ */ jsx247(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label3 })
12361
+ /* @__PURE__ */ jsx248(HiddenInput, { ...inputProps, ref }),
12362
+ /* @__PURE__ */ jsx248(CustomSelectionControl, { $controlType: "radio" }),
12363
+ /* @__PURE__ */ jsx248(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label3 })
12347
12364
  ]
12348
12365
  }
12349
12366
  );
@@ -12353,11 +12370,11 @@ RadioButton.displayName = "RadioButton";
12353
12370
 
12354
12371
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
12355
12372
  import {
12356
- forwardRef as forwardRef54,
12373
+ forwardRef as forwardRef55,
12357
12374
  useId as useId20,
12358
12375
  useState as useState25
12359
12376
  } from "react";
12360
- import { jsx as jsx248, jsxs as jsxs66 } from "react/jsx-runtime";
12377
+ import { jsx as jsx249, jsxs as jsxs66 } from "react/jsx-runtime";
12361
12378
  var RadioButtonGroupInner = (props, ref) => {
12362
12379
  const {
12363
12380
  name,
@@ -12419,12 +12436,12 @@ var RadioButtonGroupInner = (props, ref) => {
12419
12436
  children: [
12420
12437
  label3,
12421
12438
  " ",
12422
- showRequiredMarker && /* @__PURE__ */ jsx248(RequiredMarker, {})
12439
+ showRequiredMarker && /* @__PURE__ */ jsx249(RequiredMarker, {})
12423
12440
  ]
12424
12441
  }
12425
12442
  ),
12426
12443
  renderInputMessage(tip, tipId),
12427
- /* @__PURE__ */ jsx248(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx248(
12444
+ /* @__PURE__ */ jsx249(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx249(
12428
12445
  GroupContainer,
12429
12446
  {
12430
12447
  role: "radiogroup",
@@ -12440,12 +12457,12 @@ var RadioButtonGroupInner = (props, ref) => {
12440
12457
  }
12441
12458
  );
12442
12459
  };
12443
- var RadioButtonGroup = forwardRef54(RadioButtonGroupInner);
12460
+ var RadioButtonGroup = forwardRef55(RadioButtonGroupInner);
12444
12461
  RadioButtonGroup.displayName = "RadioButtonGroup";
12445
12462
 
12446
12463
  // src/components/SkipToContent/SkipToContent.tsx
12447
- import { forwardRef as forwardRef55 } from "react";
12448
- import styled76 from "styled-components";
12464
+ import { forwardRef as forwardRef56 } from "react";
12465
+ import styled77 from "styled-components";
12449
12466
 
12450
12467
  // src/components/SkipToContent/SkipToContent.tokens.tsx
12451
12468
  import { ddsBaseTokens as ddsBaseTokens55 } from "@norges-domstoler/dds-design-tokens";
@@ -12468,9 +12485,9 @@ var skipToContentTokens = {
12468
12485
  };
12469
12486
 
12470
12487
  // src/components/SkipToContent/SkipToContent.tsx
12471
- import { jsx as jsx249 } from "react/jsx-runtime";
12488
+ import { jsx as jsx250 } from "react/jsx-runtime";
12472
12489
  var { wrapper: wrapper6, link: link5 } = skipToContentTokens;
12473
- var Wrapper5 = styled76.div`
12490
+ var Wrapper5 = styled77.div`
12474
12491
  box-sizing: border-box;
12475
12492
  position: absolute;
12476
12493
  top: ${({ $top: top }) => top};
@@ -12497,7 +12514,7 @@ var Wrapper5 = styled76.div`
12497
12514
  opacity: 1;
12498
12515
  }
12499
12516
  `;
12500
- var Link4 = styled76.a`
12517
+ var Link4 = styled77.a`
12501
12518
  text-decoration: none;
12502
12519
  color: ${link5.base.color};
12503
12520
  ${getFontStyling(defaultTypographyType)}
@@ -12512,7 +12529,7 @@ var Link4 = styled76.a`
12512
12529
  color: ${link5.base.color};
12513
12530
  }
12514
12531
  `;
12515
- var SkipToContent = forwardRef55(
12532
+ var SkipToContent = forwardRef56(
12516
12533
  (props, ref) => {
12517
12534
  const {
12518
12535
  text = "Til hovedinnhold",
@@ -12527,13 +12544,13 @@ var SkipToContent = forwardRef55(
12527
12544
  style,
12528
12545
  ...restHtmlProps
12529
12546
  } = htmlProps;
12530
- return /* @__PURE__ */ jsx249(
12547
+ return /* @__PURE__ */ jsx250(
12531
12548
  Wrapper5,
12532
12549
  {
12533
12550
  $top: top,
12534
12551
  className: cn(className, htmlPropsClassName),
12535
12552
  style,
12536
- children: /* @__PURE__ */ jsx249(Link4, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12553
+ children: /* @__PURE__ */ jsx250(Link4, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12537
12554
  }
12538
12555
  );
12539
12556
  }
@@ -12541,8 +12558,8 @@ var SkipToContent = forwardRef55(
12541
12558
  SkipToContent.displayName = "SkipToContent";
12542
12559
 
12543
12560
  // src/components/SplitButton/SplitButton.tsx
12544
- import { forwardRef as forwardRef56, useState as useState26 } from "react";
12545
- import styled77 from "styled-components";
12561
+ import { forwardRef as forwardRef57, useState as useState26 } from "react";
12562
+ import styled78 from "styled-components";
12546
12563
 
12547
12564
  // src/components/SplitButton/SplitButton.tokens.ts
12548
12565
  import { ddsBaseTokens as ddsBaseTokens56 } from "@norges-domstoler/dds-design-tokens";
@@ -12556,11 +12573,11 @@ var tokens3 = {
12556
12573
  };
12557
12574
 
12558
12575
  // src/components/SplitButton/SplitButton.tsx
12559
- import { jsx as jsx250, jsxs as jsxs67 } from "react/jsx-runtime";
12560
- var Container14 = styled77.div`
12576
+ import { jsx as jsx251, jsxs as jsxs67 } from "react/jsx-runtime";
12577
+ var Container14 = styled78.div`
12561
12578
  display: flex;
12562
12579
  `;
12563
- var MainButton = styled77(Button)`
12580
+ var MainButton = styled78(Button)`
12564
12581
  border-top-right-radius: 0;
12565
12582
  border-bottom-right-radius: 0;
12566
12583
  border-right: none;
@@ -12569,7 +12586,7 @@ var MainButton = styled77(Button)`
12569
12586
  z-index: 0;
12570
12587
  }
12571
12588
  `;
12572
- var OptionButton = styled77(Button)`
12589
+ var OptionButton = styled78(Button)`
12573
12590
  border-top-left-radius: 0;
12574
12591
  border-bottom-left-radius: 0;
12575
12592
 
@@ -12587,7 +12604,7 @@ var OptionButton = styled77(Button)`
12587
12604
  ${(props) => props.purpose === "primary" && `border-left: ${tokens3.mainButton.primary.borderLeft}`};
12588
12605
  }
12589
12606
  `;
12590
- var SplitButton = forwardRef56(
12607
+ var SplitButton = forwardRef57(
12591
12608
  (props, ref) => {
12592
12609
  const {
12593
12610
  size: size2,
@@ -12602,7 +12619,7 @@ var SplitButton = forwardRef56(
12602
12619
  size: size2
12603
12620
  };
12604
12621
  return /* @__PURE__ */ jsxs67(Container14, { ref, children: [
12605
- /* @__PURE__ */ jsx250(
12622
+ /* @__PURE__ */ jsx251(
12606
12623
  MainButton,
12607
12624
  {
12608
12625
  ...buttonStyleProps,
@@ -12611,7 +12628,7 @@ var SplitButton = forwardRef56(
12611
12628
  }
12612
12629
  ),
12613
12630
  /* @__PURE__ */ jsxs67(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
12614
- /* @__PURE__ */ jsx250(
12631
+ /* @__PURE__ */ jsx251(
12615
12632
  OptionButton,
12616
12633
  {
12617
12634
  ...buttonStyleProps,
@@ -12620,7 +12637,7 @@ var SplitButton = forwardRef56(
12620
12637
  purpose
12621
12638
  }
12622
12639
  ),
12623
- /* @__PURE__ */ jsx250(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
12640
+ /* @__PURE__ */ jsx251(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
12624
12641
  ] })
12625
12642
  ] });
12626
12643
  }
@@ -12632,12 +12649,12 @@ import {
12632
12649
  Children as Children6,
12633
12650
  Fragment as Fragment12,
12634
12651
  cloneElement as cloneElement7,
12635
- forwardRef as forwardRef64,
12652
+ forwardRef as forwardRef65,
12636
12653
  isValidElement as isValidElement8,
12637
12654
  useEffect as useEffect26,
12638
12655
  useState as useState28
12639
12656
  } from "react";
12640
- import styled86 from "styled-components";
12657
+ import styled87 from "styled-components";
12641
12658
 
12642
12659
  // src/components/Table/collapsible/Table.context.tsx
12643
12660
  import { createContext as createContext9, useContext as useContext11 } from "react";
@@ -12648,38 +12665,38 @@ var CollapsibleTableContext = createContext9({
12648
12665
  var useCollapsibleTableContext = () => useContext11(CollapsibleTableContext);
12649
12666
 
12650
12667
  // src/components/Table/normal/Body.tsx
12651
- import { forwardRef as forwardRef57 } from "react";
12652
- import styled78 from "styled-components";
12653
- import { jsx as jsx251 } from "react/jsx-runtime";
12654
- var StyledBody = styled78.tbody``;
12655
- var Body2 = forwardRef57(
12668
+ import { forwardRef as forwardRef58 } from "react";
12669
+ import styled79 from "styled-components";
12670
+ import { jsx as jsx252 } from "react/jsx-runtime";
12671
+ var StyledBody = styled79.tbody``;
12672
+ var Body2 = forwardRef58(
12656
12673
  ({ children, ...rest }, ref) => {
12657
12674
  const bodyProps = {
12658
12675
  ...rest
12659
12676
  };
12660
- return /* @__PURE__ */ jsx251(StyledBody, { ref, ...bodyProps, children });
12677
+ return /* @__PURE__ */ jsx252(StyledBody, { ref, ...bodyProps, children });
12661
12678
  }
12662
12679
  );
12663
12680
  Body2.displayName = "Table.Body";
12664
12681
 
12665
12682
  // src/components/Table/normal/Cell.tsx
12666
12683
  import {
12667
- forwardRef as forwardRef59
12684
+ forwardRef as forwardRef60
12668
12685
  } from "react";
12669
- import styled80, { css as css33 } from "styled-components";
12686
+ import styled81, { css as css33 } from "styled-components";
12670
12687
 
12671
12688
  // src/components/Table/normal/Head.tsx
12672
12689
  import {
12673
12690
  createContext as createContext10,
12674
- forwardRef as forwardRef58,
12691
+ forwardRef as forwardRef59,
12675
12692
  useContext as useContext12
12676
12693
  } from "react";
12677
- import styled79 from "styled-components";
12678
- import { jsx as jsx252 } from "react/jsx-runtime";
12679
- var StyledHead = styled79.thead``;
12680
- var Head = forwardRef58(
12694
+ import styled80 from "styled-components";
12695
+ import { jsx as jsx253 } from "react/jsx-runtime";
12696
+ var StyledHead = styled80.thead``;
12697
+ var Head = forwardRef59(
12681
12698
  ({ children, ...rest }, ref) => {
12682
- return /* @__PURE__ */ jsx252(StyledHead, { ref, ...rest, children: /* @__PURE__ */ jsx252(HeadContext.Provider, { value: true, children }) });
12699
+ return /* @__PURE__ */ jsx253(StyledHead, { ref, ...rest, children: /* @__PURE__ */ jsx253(HeadContext.Provider, { value: true, children }) });
12683
12700
  }
12684
12701
  );
12685
12702
  Head.displayName = "Table.Head";
@@ -12762,7 +12779,7 @@ var tableTokens = {
12762
12779
  };
12763
12780
 
12764
12781
  // src/components/Table/normal/Cell.tsx
12765
- import { jsx as jsx253 } from "react/jsx-runtime";
12782
+ import { jsx as jsx254 } from "react/jsx-runtime";
12766
12783
  var { cell: cell3 } = tableTokens;
12767
12784
  var getLayoutStyle = (layout) => {
12768
12785
  switch (layout) {
@@ -12783,12 +12800,12 @@ var getLayoutStyle = (layout) => {
12783
12800
  return;
12784
12801
  }
12785
12802
  };
12786
- var StyledCell = styled80.td`
12803
+ var StyledCell = styled81.td`
12787
12804
  ${({ $type: type }) => type === "head" && css33`
12788
12805
  background-color: ${cell3.head.backgroundColor};
12789
12806
  `}
12790
12807
  `;
12791
- var InnerCell = styled80.div`
12808
+ var InnerCell = styled81.div`
12792
12809
  display: flex;
12793
12810
  align-items: center;
12794
12811
  ${({ $layout: layout }) => getLayoutStyle(layout)}
@@ -12802,34 +12819,34 @@ var getTableCellType = (type) => {
12802
12819
  return "td";
12803
12820
  }
12804
12821
  };
12805
- var Cell2 = forwardRef59(
12822
+ var Cell2 = forwardRef60(
12806
12823
  ({ children, type: _type, layout = "left", collapsibleProps, ...rest }, ref) => {
12807
12824
  const isInHead = useIsInTableHead();
12808
12825
  const type = _type != null ? _type : isInHead ? "head" : "data";
12809
12826
  const as = getTableCellType(type);
12810
12827
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
12811
- return isCollapsibleChild ? /* @__PURE__ */ jsx253(DescriptionListDesc, { children }) : /* @__PURE__ */ jsx253(StyledCell, { as, ref, $type: type, ...rest, children: /* @__PURE__ */ jsx253(InnerCell, { $layout: layout, children }) });
12828
+ return isCollapsibleChild ? /* @__PURE__ */ jsx254(DescriptionListDesc, { children }) : /* @__PURE__ */ jsx254(StyledCell, { as, ref, $type: type, ...rest, children: /* @__PURE__ */ jsx254(InnerCell, { $layout: layout, children }) });
12812
12829
  }
12813
12830
  );
12814
12831
  Cell2.displayName = "Table.Cell";
12815
12832
 
12816
12833
  // src/components/Table/normal/Foot.tsx
12817
- import { forwardRef as forwardRef60 } from "react";
12818
- import styled81 from "styled-components";
12819
- import { jsx as jsx254 } from "react/jsx-runtime";
12820
- var StyledFoot = styled81.tfoot``;
12821
- var Foot = forwardRef60(
12834
+ import { forwardRef as forwardRef61 } from "react";
12835
+ import styled82 from "styled-components";
12836
+ import { jsx as jsx255 } from "react/jsx-runtime";
12837
+ var StyledFoot = styled82.tfoot``;
12838
+ var Foot = forwardRef61(
12822
12839
  ({ children, ...rest }, ref) => {
12823
- return /* @__PURE__ */ jsx254(StyledFoot, { ref, ...rest, children });
12840
+ return /* @__PURE__ */ jsx255(StyledFoot, { ref, ...rest, children });
12824
12841
  }
12825
12842
  );
12826
12843
  Foot.displayName = "Table.Foot";
12827
12844
 
12828
12845
  // src/components/Table/normal/Row.tsx
12829
- import { forwardRef as forwardRef61 } from "react";
12846
+ import { forwardRef as forwardRef62 } from "react";
12830
12847
 
12831
12848
  // src/components/Table/normal/Table.styles.tsx
12832
- import styled82, { css as css34 } from "styled-components";
12849
+ import styled83, { css as css34 } from "styled-components";
12833
12850
  var { row: row2 } = tableTokens;
12834
12851
  var bodyRowStyles = (mode, selected) => {
12835
12852
  return css34`
@@ -12844,7 +12861,7 @@ var bodyRowStyles = (mode, selected) => {
12844
12861
  `}
12845
12862
  `;
12846
12863
  };
12847
- var StyledRow = styled82.tr`
12864
+ var StyledRow = styled83.tr`
12848
12865
  @media (prefers-reduced-motion: no-preference) {
12849
12866
  transition:
12850
12867
  background-color 0.2s,
@@ -12881,12 +12898,12 @@ var StyledRow = styled82.tr`
12881
12898
  `;
12882
12899
 
12883
12900
  // src/components/Table/normal/Row.tsx
12884
- import { jsx as jsx255 } from "react/jsx-runtime";
12885
- var Row = forwardRef61(
12901
+ import { jsx as jsx256 } from "react/jsx-runtime";
12902
+ var Row = forwardRef62(
12886
12903
  ({ type: _type, mode = "normal", hoverable, selected, children, ...rest }, ref) => {
12887
12904
  const isInHeader = useIsInTableHead();
12888
12905
  const type = _type != null ? _type : isInHeader ? "head" : "body";
12889
- return /* @__PURE__ */ jsx255(
12906
+ return /* @__PURE__ */ jsx256(
12890
12907
  StyledRow,
12891
12908
  {
12892
12909
  type,
@@ -12903,11 +12920,11 @@ var Row = forwardRef61(
12903
12920
  Row.displayName = "Table.Row";
12904
12921
 
12905
12922
  // src/components/Table/normal/SortCell.tsx
12906
- import { forwardRef as forwardRef62 } from "react";
12907
- import styled83 from "styled-components";
12908
- import { jsx as jsx256, jsxs as jsxs68 } from "react/jsx-runtime";
12923
+ import { forwardRef as forwardRef63 } from "react";
12924
+ import styled84 from "styled-components";
12925
+ import { jsx as jsx257, jsxs as jsxs68 } from "react/jsx-runtime";
12909
12926
  var { cell: cell4 } = tableTokens;
12910
- var StyledButton6 = styled83.button`
12927
+ var StyledButton6 = styled84.button`
12911
12928
  ${normalizeButton}
12912
12929
  user-select: text;
12913
12930
  ${removeButtonStyling}
@@ -12920,12 +12937,12 @@ var StyledButton6 = styled83.button`
12920
12937
  `;
12921
12938
  var makeSortIcon = (isSorted, sortOrder) => {
12922
12939
  if (!isSorted || !sortOrder) {
12923
- return /* @__PURE__ */ jsx256(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12940
+ return /* @__PURE__ */ jsx257(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12924
12941
  }
12925
- return sortOrder === "ascending" ? /* @__PURE__ */ jsx256(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx256(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
12942
+ return sortOrder === "ascending" ? /* @__PURE__ */ jsx257(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx257(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
12926
12943
  };
12927
- var SortCell = forwardRef62(
12928
- ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx256(
12944
+ var SortCell = forwardRef63(
12945
+ ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx257(
12929
12946
  Cell2,
12930
12947
  {
12931
12948
  ref,
@@ -12950,11 +12967,11 @@ var SortCell = forwardRef62(
12950
12967
  SortCell.displayName = "Table.SortCell";
12951
12968
 
12952
12969
  // src/components/Table/normal/Table.tsx
12953
- import { forwardRef as forwardRef63 } from "react";
12954
- import styled84, { css as css35 } from "styled-components";
12955
- import { jsx as jsx257 } from "react/jsx-runtime";
12970
+ import { forwardRef as forwardRef64 } from "react";
12971
+ import styled85, { css as css35 } from "styled-components";
12972
+ import { jsx as jsx258 } from "react/jsx-runtime";
12956
12973
  var { cell: cell5, row: row3 } = tableTokens;
12957
- var StyledTable = styled84.table`
12974
+ var StyledTable = styled85.table`
12958
12975
  border-spacing: 0;
12959
12976
  border-collapse: collapse;
12960
12977
  *::selection {
@@ -12997,9 +13014,9 @@ var StyledTable = styled84.table`
12997
13014
  }
12998
13015
  `}
12999
13016
  `;
13000
- var Table = forwardRef63(
13017
+ var Table = forwardRef64(
13001
13018
  ({ density = "normal", stickyHeader, withDividers, children, ...rest }, ref) => {
13002
- return /* @__PURE__ */ jsx257(
13019
+ return /* @__PURE__ */ jsx258(
13003
13020
  StyledTable,
13004
13021
  {
13005
13022
  ...rest,
@@ -13016,9 +13033,9 @@ Table.displayName = "Table";
13016
13033
 
13017
13034
  // src/components/Table/normal/TableWrapper.tsx
13018
13035
  import { useEffect as useEffect25, useRef as useRef30, useState as useState27 } from "react";
13019
- import styled85, { css as css36 } from "styled-components";
13020
- import { jsx as jsx258 } from "react/jsx-runtime";
13021
- var Wrapper6 = styled85.div`
13036
+ import styled86, { css as css36 } from "styled-components";
13037
+ import { jsx as jsx259 } from "react/jsx-runtime";
13038
+ var Wrapper6 = styled86.div`
13022
13039
  ${({ $overflowX }) => $overflowX && css36`
13023
13040
  overflow-x: auto;
13024
13041
  `}
@@ -13046,7 +13063,7 @@ var TableWrapper = ({ children, ...rest }) => {
13046
13063
  window.addEventListener("resize", handleResize);
13047
13064
  return () => window.removeEventListener("resize", handleResize);
13048
13065
  });
13049
- return /* @__PURE__ */ jsx258(Wrapper6, { $overflowX: overflowX, ref: wrapperRef, ...rest, children });
13066
+ return /* @__PURE__ */ jsx259(Wrapper6, { $overflowX: overflowX, ref: wrapperRef, ...rest, children });
13050
13067
  };
13051
13068
  TableWrapper.displayName = "Table.Wrapper";
13052
13069
 
@@ -13061,9 +13078,9 @@ Table2.Row = Row;
13061
13078
  Table2.Foot = Foot;
13062
13079
 
13063
13080
  // src/components/Table/collapsible/CollapsibleRow.tsx
13064
- import { Fragment as Fragment13, jsx as jsx259, jsxs as jsxs69 } from "react/jsx-runtime";
13081
+ import { Fragment as Fragment13, jsx as jsx260, jsxs as jsxs69 } from "react/jsx-runtime";
13065
13082
  var { collapseButton: collapseButton2 } = tableTokens;
13066
- var CollapseButton = styled86.button`
13083
+ var CollapseButton = styled87.button`
13067
13084
  ${removeButtonStyling}
13068
13085
  margin-left: auto;
13069
13086
  margin-right: auto;
@@ -13078,12 +13095,12 @@ var CollapseButton = styled86.button`
13078
13095
  ${focusVisible}
13079
13096
  }
13080
13097
  `;
13081
- var DescriptionListCell = styled86(Cell2)`
13098
+ var DescriptionListCell = styled87(Cell2)`
13082
13099
  & > div {
13083
13100
  display: block;
13084
13101
  }
13085
13102
  `;
13086
- var CollapsibleRow = forwardRef64(
13103
+ var CollapsibleRow = forwardRef65(
13087
13104
  ({ type: _type, mode = "normal", selected, hoverable, children, ...rest }, ref) => {
13088
13105
  const isInHead = useIsInTableHead();
13089
13106
  const type = _type != null ? _type : isInHead ? "head" : "body";
@@ -13112,24 +13129,24 @@ var CollapsibleRow = forwardRef64(
13112
13129
  const id = derivativeIdGenerator(prefix2, index.toString());
13113
13130
  collapsibleIds.push(id);
13114
13131
  return /* @__PURE__ */ jsxs69(Fragment12, { children: [
13115
- /* @__PURE__ */ jsx259(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13132
+ /* @__PURE__ */ jsx260(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13116
13133
  isValidElement8(child) && cloneElement7(child, {
13117
13134
  collapsibleProps: { isCollapsibleChild: true }
13118
13135
  })
13119
13136
  ] }, `DL-${index}`);
13120
13137
  }) : null;
13121
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx259(StyledRow, { type, children: /* @__PURE__ */ jsx259(DescriptionListCell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx259(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13138
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx260(StyledRow, { type, children: /* @__PURE__ */ jsx260(DescriptionListCell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx260(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13122
13139
  const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a2, b) => {
13123
13140
  return definingColumnIndex.indexOf(childrenArray.indexOf(a2)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
13124
13141
  });
13125
13142
  const headerRow = () => {
13126
13143
  if (type !== "head" || !isCollapsed)
13127
13144
  return null;
13128
- return /* @__PURE__ */ jsx259(StyledRow, { ref, type, ...rowProps, children: /* @__PURE__ */ jsxs69(Fragment13, { children: [
13145
+ return /* @__PURE__ */ jsx260(StyledRow, { ref, type, ...rowProps, children: /* @__PURE__ */ jsxs69(Fragment13, { children: [
13129
13146
  definingColumnCells,
13130
13147
  /* @__PURE__ */ jsxs69(Table2.Cell, { type: "head", layout: "center", children: [
13131
13148
  "Utvid",
13132
- /* @__PURE__ */ jsx259(VisuallyHidden, { as: "span", children: "raden" })
13149
+ /* @__PURE__ */ jsx260(VisuallyHidden, { as: "span", children: "raden" })
13133
13150
  ] })
13134
13151
  ] }) });
13135
13152
  };
@@ -13146,13 +13163,13 @@ var CollapsibleRow = forwardRef64(
13146
13163
  "data-isopencollapsibleheader": !childrenCollapsed && true,
13147
13164
  children: [
13148
13165
  definingColumnCells,
13149
- /* @__PURE__ */ jsx259(Table2.Cell, { children: /* @__PURE__ */ jsx259(
13166
+ /* @__PURE__ */ jsx260(Table2.Cell, { children: /* @__PURE__ */ jsx260(
13150
13167
  CollapseButton,
13151
13168
  {
13152
13169
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
13153
13170
  "aria-expanded": !childrenCollapsed,
13154
13171
  "aria-controls": idList,
13155
- children: /* @__PURE__ */ jsx259(
13172
+ children: /* @__PURE__ */ jsx260(
13156
13173
  AnimatedChevronUpDown,
13157
13174
  {
13158
13175
  isUp: childrenCollapsed ? false : true,
@@ -13172,16 +13189,16 @@ var CollapsibleRow = forwardRef64(
13172
13189
  rowWithChevron(),
13173
13190
  childrenCollapsed ? null : collapsedRows
13174
13191
  ] })
13175
- ] }) : /* @__PURE__ */ jsx259(StyledRow, { ref, type, ...rowProps, children });
13192
+ ] }) : /* @__PURE__ */ jsx260(StyledRow, { ref, type, ...rowProps, children });
13176
13193
  }
13177
13194
  );
13178
13195
  CollapsibleRow.displayName = "CollapsibleTable.Row";
13179
13196
 
13180
13197
  // src/components/Table/collapsible/CollapsibleTable.tsx
13181
- import { forwardRef as forwardRef65 } from "react";
13182
- import styled87, { css as css37 } from "styled-components";
13183
- import { jsx as jsx260 } from "react/jsx-runtime";
13184
- var StyledTable2 = styled87(Table2)`
13198
+ import { forwardRef as forwardRef66 } from "react";
13199
+ import styled88, { css as css37 } from "styled-components";
13200
+ import { jsx as jsx261 } from "react/jsx-runtime";
13201
+ var StyledTable2 = styled88(Table2)`
13185
13202
  width: 100%;
13186
13203
  ${({ withDividers }) => withDividers && css37`
13187
13204
  tr[data-isopencollapsibleheader='true'] {
@@ -13189,7 +13206,7 @@ var StyledTable2 = styled87(Table2)`
13189
13206
  }
13190
13207
  `}
13191
13208
  `;
13192
- var CollapsibleTable = forwardRef65((props, ref) => {
13209
+ var CollapsibleTable = forwardRef66((props, ref) => {
13193
13210
  const {
13194
13211
  density = "normal",
13195
13212
  children,
@@ -13198,7 +13215,7 @@ var CollapsibleTable = forwardRef65((props, ref) => {
13198
13215
  definingColumnIndex = [0],
13199
13216
  ...rest
13200
13217
  } = props;
13201
- return /* @__PURE__ */ jsx260(
13218
+ return /* @__PURE__ */ jsx261(
13202
13219
  CollapsibleTableContext.Provider,
13203
13220
  {
13204
13221
  value: {
@@ -13206,7 +13223,7 @@ var CollapsibleTable = forwardRef65((props, ref) => {
13206
13223
  headerValues,
13207
13224
  definingColumnIndex
13208
13225
  },
13209
- children: /* @__PURE__ */ jsx260(StyledTable2, { ref, density, ...rest, children })
13226
+ children: /* @__PURE__ */ jsx261(StyledTable2, { ref, density, ...rest, children })
13210
13227
  }
13211
13228
  );
13212
13229
  });
@@ -13218,13 +13235,13 @@ CollapsibleTable2.Row = CollapsibleRow;
13218
13235
 
13219
13236
  // src/components/Tabs/Tabs.tsx
13220
13237
  import {
13221
- forwardRef as forwardRef66,
13238
+ forwardRef as forwardRef67,
13222
13239
  useEffect as useEffect27,
13223
13240
  useId as useId21,
13224
13241
  useRef as useRef31,
13225
13242
  useState as useState29
13226
13243
  } from "react";
13227
- import styled88, { css as css38 } from "styled-components";
13244
+ import styled89, { css as css38 } from "styled-components";
13228
13245
 
13229
13246
  // src/components/Tabs/Tabs.context.tsx
13230
13247
  import { createContext as createContext11, useContext as useContext13 } from "react";
@@ -13241,13 +13258,13 @@ var TabsContext = createContext11({
13241
13258
  var useTabsContext = () => useContext13(TabsContext);
13242
13259
 
13243
13260
  // src/components/Tabs/Tabs.tsx
13244
- import { jsx as jsx261 } from "react/jsx-runtime";
13245
- var Container15 = styled88.div`
13261
+ import { jsx as jsx262 } from "react/jsx-runtime";
13262
+ var Container15 = styled89.div`
13246
13263
  ${({ $width }) => $width && css38`
13247
13264
  width: ${$width};
13248
13265
  `};
13249
13266
  `;
13250
- var Tabs = forwardRef66((props, ref) => {
13267
+ var Tabs = forwardRef67((props, ref) => {
13251
13268
  const {
13252
13269
  id,
13253
13270
  activeTab,
@@ -13278,7 +13295,7 @@ var Tabs = forwardRef66((props, ref) => {
13278
13295
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
13279
13296
  ref
13280
13297
  };
13281
- return /* @__PURE__ */ jsx261(
13298
+ return /* @__PURE__ */ jsx262(
13282
13299
  TabsContext.Provider,
13283
13300
  {
13284
13301
  value: {
@@ -13291,7 +13308,7 @@ var Tabs = forwardRef66((props, ref) => {
13291
13308
  setHasTabFocus,
13292
13309
  tabContentDirection
13293
13310
  },
13294
- children: /* @__PURE__ */ jsx261(Container15, { ...containerProps, $width: width, children })
13311
+ children: /* @__PURE__ */ jsx262(Container15, { ...containerProps, $width: width, children })
13295
13312
  }
13296
13313
  );
13297
13314
  });
@@ -13299,12 +13316,12 @@ Tabs.displayName = "Tabs";
13299
13316
 
13300
13317
  // src/components/Tabs/Tab.tsx
13301
13318
  import {
13302
- forwardRef as forwardRef67,
13319
+ forwardRef as forwardRef68,
13303
13320
  useCallback as useCallback8,
13304
13321
  useEffect as useEffect28,
13305
13322
  useRef as useRef32
13306
13323
  } from "react";
13307
- import styled89, { css as css39 } from "styled-components";
13324
+ import styled90, { css as css39 } from "styled-components";
13308
13325
 
13309
13326
  // src/components/Tabs/Tabs.tokens.tsx
13310
13327
  import { ddsBaseTokens as ddsBaseTokens58 } from "@norges-domstoler/dds-design-tokens";
@@ -13351,13 +13368,13 @@ import {
13351
13368
  useContext as useContext14,
13352
13369
  useLayoutEffect as useLayoutEffect2
13353
13370
  } from "react";
13354
- import { jsx as jsx262 } from "react/jsx-runtime";
13371
+ import { jsx as jsx263 } from "react/jsx-runtime";
13355
13372
  var TabContext = createContext12(null);
13356
13373
  function TabWidthContextProvider({
13357
13374
  children,
13358
13375
  onChangeWidths
13359
13376
  }) {
13360
- return /* @__PURE__ */ jsx262(
13377
+ return /* @__PURE__ */ jsx263(
13361
13378
  TabContext.Provider,
13362
13379
  {
13363
13380
  value: {
@@ -13389,9 +13406,9 @@ function useSetTabWidth(index, width) {
13389
13406
  }
13390
13407
 
13391
13408
  // src/components/Tabs/Tab.tsx
13392
- import { jsx as jsx263, jsxs as jsxs70 } from "react/jsx-runtime";
13409
+ import { jsx as jsx264, jsxs as jsxs70 } from "react/jsx-runtime";
13393
13410
  var { tab: tab2 } = tabsTokens;
13394
- var Button2 = styled89.button`
13411
+ var Button2 = styled90.button`
13395
13412
  ${normalizeButton}
13396
13413
  ${removeButtonStyling}
13397
13414
  user-select: text;
@@ -13434,7 +13451,7 @@ var Button2 = styled89.button`
13434
13451
  box-shadow: ${tab2.hover.boxShadow};
13435
13452
  }
13436
13453
  `;
13437
- var Tab = forwardRef67((props, ref) => {
13454
+ var Tab = forwardRef68((props, ref) => {
13438
13455
  const {
13439
13456
  active = false,
13440
13457
  icon: icon11,
@@ -13486,8 +13503,8 @@ var Tab = forwardRef67((props, ref) => {
13486
13503
  onKeyDown: handleOnKeyDown,
13487
13504
  tabIndex: focus ? 0 : -1,
13488
13505
  children: [
13489
- icon11 && /* @__PURE__ */ jsx263(Icon, { icon: icon11, iconSize: "inherit" }),
13490
- /* @__PURE__ */ jsx263("span", { children })
13506
+ icon11 && /* @__PURE__ */ jsx264(Icon, { icon: icon11, iconSize: "inherit" }),
13507
+ /* @__PURE__ */ jsx264("span", { children })
13491
13508
  ]
13492
13509
  }
13493
13510
  );
@@ -13498,12 +13515,12 @@ Tab.displayName = "Tab";
13498
13515
  import {
13499
13516
  Children as Children7,
13500
13517
  cloneElement as cloneElement8,
13501
- forwardRef as forwardRef68,
13518
+ forwardRef as forwardRef69,
13502
13519
  isValidElement as isValidElement9,
13503
13520
  useState as useState30
13504
13521
  } from "react";
13505
- import styled90, { css as css40 } from "styled-components";
13506
- import { jsx as jsx264 } from "react/jsx-runtime";
13522
+ import styled91, { css as css40 } from "styled-components";
13523
+ import { jsx as jsx265 } from "react/jsx-runtime";
13507
13524
  var { tabList: tabList2 } = tabsTokens;
13508
13525
  var autoFlow = css40`
13509
13526
  grid-auto-flow: column;
@@ -13512,7 +13529,7 @@ var autoFlow = css40`
13512
13529
  var templateColumns = (templateColumns2) => css40`
13513
13530
  grid-template-columns: ${templateColumns2};
13514
13531
  `;
13515
- var TabRow = styled90.div`
13532
+ var TabRow = styled91.div`
13516
13533
  border-bottom: ${tabList2.borderBottom};
13517
13534
  display: grid;
13518
13535
  ${({ $gridTemplateColumns }) => $gridTemplateColumns === "" ? autoFlow : templateColumns($gridTemplateColumns)}
@@ -13531,7 +13548,7 @@ var TabRow = styled90.div`
13531
13548
  outline: none;
13532
13549
  }
13533
13550
  `;
13534
- var TabList = forwardRef68(
13551
+ var TabList = forwardRef69(
13535
13552
  ({ children, id, onFocus, ...rest }, ref) => {
13536
13553
  const {
13537
13554
  activeTab,
@@ -13570,7 +13587,7 @@ var TabList = forwardRef68(
13570
13587
  setHasTabFocus(false);
13571
13588
  }
13572
13589
  };
13573
- return /* @__PURE__ */ jsx264(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx264(
13590
+ return /* @__PURE__ */ jsx265(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx265(
13574
13591
  TabRow,
13575
13592
  {
13576
13593
  ...rest,
@@ -13590,11 +13607,11 @@ var TabList = forwardRef68(
13590
13607
  TabList.displayName = "TabList";
13591
13608
 
13592
13609
  // src/components/Tabs/TabPanel.tsx
13593
- import { forwardRef as forwardRef69 } from "react";
13594
- import styled91, { css as css41 } from "styled-components";
13595
- import { jsx as jsx265 } from "react/jsx-runtime";
13610
+ import { forwardRef as forwardRef70 } from "react";
13611
+ import styled92, { css as css41 } from "styled-components";
13612
+ import { jsx as jsx266 } from "react/jsx-runtime";
13596
13613
  var { panel: panel2 } = tabsTokens;
13597
- var Panel = styled91.div`
13614
+ var Panel = styled92.div`
13598
13615
  padding: ${panel2.padding};
13599
13616
  @media (prefers-reduced-motion: no-preference) {
13600
13617
  transition: ${focusVisibleTransitionValue};
@@ -13607,9 +13624,9 @@ var Panel = styled91.div`
13607
13624
  ${focusVisible}
13608
13625
  }
13609
13626
  `;
13610
- var TabPanel = forwardRef69(
13627
+ var TabPanel = forwardRef70(
13611
13628
  ({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
13612
- return /* @__PURE__ */ jsx265(
13629
+ return /* @__PURE__ */ jsx266(
13613
13630
  Panel,
13614
13631
  {
13615
13632
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -13628,11 +13645,11 @@ TabPanel.displayName = "TabPanel";
13628
13645
  import {
13629
13646
  Children as Children8,
13630
13647
  cloneElement as cloneElement9,
13631
- forwardRef as forwardRef70,
13648
+ forwardRef as forwardRef71,
13632
13649
  isValidElement as isValidElement10
13633
13650
  } from "react";
13634
- import { jsx as jsx266 } from "react/jsx-runtime";
13635
- var TabPanels = forwardRef70(
13651
+ import { jsx as jsx267 } from "react/jsx-runtime";
13652
+ var TabPanels = forwardRef71(
13636
13653
  ({ children, ...rest }, ref) => {
13637
13654
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
13638
13655
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
@@ -13645,14 +13662,14 @@ var TabPanels = forwardRef70(
13645
13662
  "aria-expanded": active
13646
13663
  });
13647
13664
  });
13648
- return /* @__PURE__ */ jsx266("div", { ref: combinedRef, ...rest, children: panelChildren });
13665
+ return /* @__PURE__ */ jsx267("div", { ref: combinedRef, ...rest, children: panelChildren });
13649
13666
  }
13650
13667
  );
13651
13668
  TabPanels.displayName = "TabPanels";
13652
13669
 
13653
13670
  // src/components/Tag/Tag.tsx
13654
- import { forwardRef as forwardRef71 } from "react";
13655
- import styled92, { css as css42 } from "styled-components";
13671
+ import { forwardRef as forwardRef72 } from "react";
13672
+ import styled93, { css as css42 } from "styled-components";
13656
13673
 
13657
13674
  // src/components/Tag/Tag.tokens.tsx
13658
13675
  import { ddsBaseTokens as ddsBaseTokens59 } from "@norges-domstoler/dds-design-tokens";
@@ -13757,9 +13774,9 @@ var tagTokens = {
13757
13774
  };
13758
13775
 
13759
13776
  // src/components/Tag/Tag.tsx
13760
- import { jsx as jsx267, jsxs as jsxs71 } from "react/jsx-runtime";
13777
+ import { jsx as jsx268, jsxs as jsxs71 } from "react/jsx-runtime";
13761
13778
  var { wrapper: wrapper8 } = tagTokens;
13762
- var Wrapper7 = styled92(TextOverflowEllipsisWrapper)`
13779
+ var Wrapper7 = styled93(TextOverflowEllipsisWrapper)`
13763
13780
  display: inline-flex;
13764
13781
  align-items: center;
13765
13782
  gap: ${tagTokens.wrapper.icon.gap};
@@ -13772,13 +13789,13 @@ var Wrapper7 = styled92(TextOverflowEllipsisWrapper)`
13772
13789
  border-color: ${wrapper8.purpose[$purpose][$strong ? "strong" : "base"].borderColor};
13773
13790
  `}
13774
13791
  `;
13775
- var StyledIcon4 = styled92(Icon)`
13792
+ var StyledIcon4 = styled93(Icon)`
13776
13793
  color: ${({ $purpose, $strong }) => {
13777
13794
  var _a;
13778
13795
  return (_a = wrapper8.purpose[$purpose][$strong ? "strong" : "base"].icon) == null ? void 0 : _a.color;
13779
13796
  }};
13780
13797
  `;
13781
- var Tag = forwardRef71((props, ref) => {
13798
+ var Tag = forwardRef72((props, ref) => {
13782
13799
  const {
13783
13800
  text,
13784
13801
  purpose = "default",
@@ -13800,7 +13817,7 @@ var Tag = forwardRef71((props, ref) => {
13800
13817
  $strong: strong,
13801
13818
  $withIcon: Boolean(withIcon && icon11),
13802
13819
  children: [
13803
- withIcon && icon11 && /* @__PURE__ */ jsx267(
13820
+ withIcon && icon11 && /* @__PURE__ */ jsx268(
13804
13821
  StyledIcon4,
13805
13822
  {
13806
13823
  $purpose: purpose,
@@ -13809,7 +13826,7 @@ var Tag = forwardRef71((props, ref) => {
13809
13826
  iconSize: tagTokens.wrapper.icon.size
13810
13827
  }
13811
13828
  ),
13812
- /* @__PURE__ */ jsx267(TextOverflowEllipsisInner, { children: children != null ? children : text })
13829
+ /* @__PURE__ */ jsx268(TextOverflowEllipsisInner, { children: children != null ? children : text })
13813
13830
  ]
13814
13831
  }
13815
13832
  );
@@ -13818,19 +13835,19 @@ Tag.displayName = "Tag";
13818
13835
 
13819
13836
  // src/components/TextInput/TextInput.tsx
13820
13837
  import {
13821
- forwardRef as forwardRef72,
13838
+ forwardRef as forwardRef73,
13822
13839
  useId as useId23,
13823
13840
  useLayoutEffect as useLayoutEffect3,
13824
13841
  useRef as useRef33,
13825
13842
  useState as useState31
13826
13843
  } from "react";
13827
- import styled95, { css as css44 } from "styled-components";
13844
+ import styled96, { css as css44 } from "styled-components";
13828
13845
 
13829
13846
  // src/components/TextInput/CharCounter.tsx
13830
13847
  import { useId as useId22 } from "react";
13831
- import styled93 from "styled-components";
13848
+ import styled94 from "styled-components";
13832
13849
  import { jsxs as jsxs72 } from "react/jsx-runtime";
13833
- var Wrapper8 = styled93(Typography)`
13850
+ var Wrapper8 = styled94(Typography)`
13834
13851
  margin-left: auto;
13835
13852
  `;
13836
13853
  function CharCounter(props) {
@@ -13856,7 +13873,7 @@ var CharCounter_default = CharCounter;
13856
13873
 
13857
13874
  // src/components/TextInput/TextInput.styles.tsx
13858
13875
  import { ddsBaseTokens as ddsBaseTokens61 } from "@norges-domstoler/dds-design-tokens";
13859
- import styled94, { css as css43 } from "styled-components";
13876
+ import styled95, { css as css43 } from "styled-components";
13860
13877
 
13861
13878
  // src/components/TextInput/TextInput.tokens.tsx
13862
13879
  import { ddsBaseTokens as ddsBaseTokens60 } from "@norges-domstoler/dds-design-tokens";
@@ -13905,11 +13922,11 @@ var textInputTokens = {
13905
13922
  // src/components/TextInput/TextInput.styles.tsx
13906
13923
  var { iconSizes: iconSizes5 } = ddsBaseTokens61;
13907
13924
  var { input: input6, icon: icon10 } = textInputTokens;
13908
- var MessageContainer2 = styled94.div`
13925
+ var MessageContainer2 = styled95.div`
13909
13926
  display: flex;
13910
13927
  justify-content: space-between;
13911
13928
  `;
13912
- var StyledIcon5 = styled94(Icon)`
13929
+ var StyledIcon5 = styled95(Icon)`
13913
13930
  position: absolute;
13914
13931
  color: ${icon10.color};
13915
13932
  ${({ $size, iconSize }) => css43`
@@ -13922,14 +13939,14 @@ var StyledIcon5 = styled94(Icon)`
13922
13939
  `}
13923
13940
  z-index: 1;
13924
13941
  `;
13925
- var StyledInput = styled94(StatefulInput)`
13942
+ var StyledInput = styled95(StatefulInput)`
13926
13943
  ${({ componentSize, $hasIcon }) => $hasIcon && componentSize && css43`
13927
13944
  padding-left: ${input6.withIcon[componentSize].paddingLeft};
13928
13945
  `}
13929
13946
  `;
13930
13947
 
13931
13948
  // src/components/TextInput/TextInput.tsx
13932
- import { jsx as jsx268, jsxs as jsxs73 } from "react/jsx-runtime";
13949
+ import { jsx as jsx269, jsxs as jsxs73 } from "react/jsx-runtime";
13933
13950
  var defaultWidth5 = "320px";
13934
13951
  var defaultTinyWidth = "210px";
13935
13952
  var getWidth = (size2, width) => {
@@ -13940,7 +13957,7 @@ var getWidth = (size2, width) => {
13940
13957
  }
13941
13958
  return defaultWidth5;
13942
13959
  };
13943
- var Affix = styled95.span`
13960
+ var Affix = styled96.span`
13944
13961
  position: absolute;
13945
13962
  height: 100%;
13946
13963
  top: 50%;
@@ -13950,7 +13967,7 @@ var Affix = styled95.span`
13950
13967
  pointer-events: none;
13951
13968
  z-index: 1;
13952
13969
  `;
13953
- var Prefix = styled95(Affix)`
13970
+ var Prefix = styled96(Affix)`
13954
13971
  left: 0;
13955
13972
  margin-left: 8px;
13956
13973
  padding-right: 8px;
@@ -13962,7 +13979,7 @@ var Prefix = styled95(Affix)`
13962
13979
  border-right: none;
13963
13980
  `};
13964
13981
  `;
13965
- var Suffix = styled95(Affix)`
13982
+ var Suffix = styled96(Affix)`
13966
13983
  right: 0;
13967
13984
  margin-right: 8px;
13968
13985
  padding-left: 8px;
@@ -13974,7 +13991,7 @@ var Suffix = styled95(Affix)`
13974
13991
  border-left: none;
13975
13992
  `};
13976
13993
  `;
13977
- var TextInput2 = forwardRef72(
13994
+ var TextInput2 = forwardRef73(
13978
13995
  ({
13979
13996
  label: label3,
13980
13997
  disabled,
@@ -14064,7 +14081,7 @@ var TextInput2 = forwardRef72(
14064
14081
  let extendedInput = null;
14065
14082
  if (hasIcon) {
14066
14083
  extendedInput = /* @__PURE__ */ jsxs73(InputContainer, { children: [
14067
- /* @__PURE__ */ jsx268(
14084
+ /* @__PURE__ */ jsx269(
14068
14085
  StyledIcon5,
14069
14086
  {
14070
14087
  icon: icon11,
@@ -14072,7 +14089,7 @@ var TextInput2 = forwardRef72(
14072
14089
  $size: componentSize
14073
14090
  }
14074
14091
  ),
14075
- /* @__PURE__ */ jsx268(
14092
+ /* @__PURE__ */ jsx269(
14076
14093
  StyledInput,
14077
14094
  {
14078
14095
  ref,
@@ -14086,8 +14103,8 @@ var TextInput2 = forwardRef72(
14086
14103
  ] });
14087
14104
  } else if (hasAffix) {
14088
14105
  extendedInput = /* @__PURE__ */ jsxs73(InputAffixContainer, { children: [
14089
- prefix2 && /* @__PURE__ */ jsx268(Prefix, { readOnly, ref: prefixRef, "aria-hidden": true, children: prefix2 }),
14090
- /* @__PURE__ */ jsx268(
14106
+ prefix2 && /* @__PURE__ */ jsx269(Prefix, { readOnly, ref: prefixRef, "aria-hidden": true, children: prefix2 }),
14107
+ /* @__PURE__ */ jsx269(
14091
14108
  StatefulInput,
14092
14109
  {
14093
14110
  ref,
@@ -14099,12 +14116,12 @@ var TextInput2 = forwardRef72(
14099
14116
  ...generalInputProps
14100
14117
  }
14101
14118
  ),
14102
- suffix && /* @__PURE__ */ jsx268(Suffix, { readOnly, ref: suffixRef, "aria-hidden": true, children: suffix })
14119
+ suffix && /* @__PURE__ */ jsx269(Suffix, { readOnly, ref: suffixRef, "aria-hidden": true, children: suffix })
14103
14120
  ] });
14104
14121
  }
14105
14122
  return /* @__PURE__ */ jsxs73(OuterInputContainer, { ...outerInputContainerProps, children: [
14106
- hasLabel && /* @__PURE__ */ jsx268(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
14107
- extendedInput ? extendedInput : /* @__PURE__ */ jsx268(
14123
+ hasLabel && /* @__PURE__ */ jsx269(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
14124
+ extendedInput ? extendedInput : /* @__PURE__ */ jsx269(
14108
14125
  StatefulInput,
14109
14126
  {
14110
14127
  ref,
@@ -14116,7 +14133,7 @@ var TextInput2 = forwardRef72(
14116
14133
  ),
14117
14134
  hasMessage && /* @__PURE__ */ jsxs73(MessageContainer2, { children: [
14118
14135
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
14119
- maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ jsx268(
14136
+ maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ jsx269(
14120
14137
  CharCounter_default,
14121
14138
  {
14122
14139
  id: characterCounterId,
@@ -14132,7 +14149,7 @@ TextInput2.displayName = "TextInput";
14132
14149
 
14133
14150
  // src/components/ToggleBar/ToggleBar.tsx
14134
14151
  import { useId as useId24, useState as useState32 } from "react";
14135
- import styled96, { css as css45 } from "styled-components";
14152
+ import styled97, { css as css45 } from "styled-components";
14136
14153
 
14137
14154
  // src/components/ToggleBar/ToggleBar.context.tsx
14138
14155
  import { createContext as createContext13, useContext as useContext15 } from "react";
@@ -14248,8 +14265,8 @@ var toggleBarTokens = {
14248
14265
  };
14249
14266
 
14250
14267
  // src/components/ToggleBar/ToggleBar.tsx
14251
- import { jsx as jsx269, jsxs as jsxs74 } from "react/jsx-runtime";
14252
- var OuterContainer3 = styled96.div`
14268
+ import { jsx as jsx270, jsxs as jsxs74 } from "react/jsx-runtime";
14269
+ var OuterContainer3 = styled97.div`
14253
14270
  display: flex;
14254
14271
  flex-direction: column;
14255
14272
  gap: ${toggleBarTokens.outerContainer.gap};
@@ -14261,7 +14278,7 @@ var OuterContainer3 = styled96.div`
14261
14278
  width: ${$width};
14262
14279
  `}
14263
14280
  `;
14264
- var Bar3 = styled96.div`
14281
+ var Bar3 = styled97.div`
14265
14282
  display: grid;
14266
14283
  grid-auto-flow: column;
14267
14284
  grid-auto-columns: 1fr;
@@ -14288,7 +14305,7 @@ var ToggleBar = (props) => {
14288
14305
  (e) => onChange && onChange(e, e.target.value)
14289
14306
  );
14290
14307
  const labelId = label3 && `${uniqueId}-label`;
14291
- return /* @__PURE__ */ jsx269(
14308
+ return /* @__PURE__ */ jsx270(
14292
14309
  ToggleBarContext.Provider,
14293
14310
  {
14294
14311
  value: {
@@ -14305,8 +14322,8 @@ var ToggleBar = (props) => {
14305
14322
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
14306
14323
  $width: width,
14307
14324
  children: [
14308
- label3 && /* @__PURE__ */ jsx269(Typography, { typographyType: "supportingStyleLabel01", id: labelId, children: label3 }),
14309
- /* @__PURE__ */ jsx269(Bar3, { children })
14325
+ label3 && /* @__PURE__ */ jsx270(Typography, { typographyType: "supportingStyleLabel01", id: labelId, children: label3 }),
14326
+ /* @__PURE__ */ jsx270(Bar3, { children })
14310
14327
  ]
14311
14328
  }
14312
14329
  )
@@ -14317,14 +14334,14 @@ ToggleBar.displayName = "ToggleBar";
14317
14334
 
14318
14335
  // src/components/ToggleBar/ToggleRadio.tsx
14319
14336
  import {
14320
- forwardRef as forwardRef73,
14337
+ forwardRef as forwardRef74,
14321
14338
  useId as useId25
14322
14339
  } from "react";
14323
14340
 
14324
14341
  // src/components/ToggleBar/ToggleRadio.styles.tsx
14325
- import styled97, { css as css46 } from "styled-components";
14342
+ import styled98, { css as css46 } from "styled-components";
14326
14343
  var { content: content8, label: label2 } = toggleBarTokens;
14327
- var Content2 = styled97.span`
14344
+ var Content2 = styled98.span`
14328
14345
  display: flex;
14329
14346
  justify-content: center;
14330
14347
  align-items: center;
@@ -14353,7 +14370,7 @@ var Content2 = styled97.span`
14353
14370
  `}
14354
14371
  `}
14355
14372
  `;
14356
- var Label3 = styled97.label`
14373
+ var Label3 = styled98.label`
14357
14374
  ${Content2} {
14358
14375
  border-right: ${label2.base.borderRight};
14359
14376
  border-top: ${label2.base.borderTop};
@@ -14391,7 +14408,7 @@ var Label3 = styled97.label`
14391
14408
  `;
14392
14409
 
14393
14410
  // src/components/ToggleBar/ToggleRadio.tsx
14394
- import { jsx as jsx270, jsxs as jsxs75 } from "react/jsx-runtime";
14411
+ import { jsx as jsx271, jsxs as jsxs75 } from "react/jsx-runtime";
14395
14412
  var calculateChecked = (value, group4, checked) => {
14396
14413
  if (typeof checked !== "undefined")
14397
14414
  return checked;
@@ -14403,7 +14420,7 @@ var calculateChecked = (value, group4, checked) => {
14403
14420
  }
14404
14421
  return !!value;
14405
14422
  };
14406
- var ToggleRadio = forwardRef73(
14423
+ var ToggleRadio = forwardRef74(
14407
14424
  (props, ref) => {
14408
14425
  const {
14409
14426
  value,
@@ -14427,7 +14444,7 @@ var ToggleRadio = forwardRef73(
14427
14444
  (group4 == null ? void 0 : group4.onChange) && group4.onChange(event);
14428
14445
  };
14429
14446
  return /* @__PURE__ */ jsxs75(Label3, { size: group4.size, htmlFor: uniqueId, children: [
14430
- /* @__PURE__ */ jsx270(
14447
+ /* @__PURE__ */ jsx271(
14431
14448
  HiddenInput,
14432
14449
  {
14433
14450
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -14442,8 +14459,8 @@ var ToggleRadio = forwardRef73(
14442
14459
  }
14443
14460
  ),
14444
14461
  /* @__PURE__ */ jsxs75(Content2, { $size: group4.size, $justIcon: !!icon11 && !label3, children: [
14445
- icon11 && /* @__PURE__ */ jsx270(Icon, { icon: icon11, iconSize: "inherit" }),
14446
- label3 && /* @__PURE__ */ jsx270("span", { children: label3 })
14462
+ icon11 && /* @__PURE__ */ jsx271(Icon, { icon: icon11, iconSize: "inherit" }),
14463
+ label3 && /* @__PURE__ */ jsx271("span", { children: label3 })
14447
14464
  ] })
14448
14465
  ] });
14449
14466
  }
@@ -14451,8 +14468,8 @@ var ToggleRadio = forwardRef73(
14451
14468
  ToggleRadio.displayName = "ToggleRadio";
14452
14469
 
14453
14470
  // src/components/ToggleButton/ToggleButton.tsx
14454
- import { forwardRef as forwardRef74, useId as useId26 } from "react";
14455
- import styled98, { css as css47 } from "styled-components";
14471
+ import { forwardRef as forwardRef75, useId as useId26 } from "react";
14472
+ import styled99, { css as css47 } from "styled-components";
14456
14473
 
14457
14474
  // src/components/ToggleButton/ToggleButton.tokens.tsx
14458
14475
  import { ddsBaseTokens as ddsBaseTokens63 } from "@norges-domstoler/dds-design-tokens";
@@ -14487,9 +14504,9 @@ var toggleButtonTokens = {
14487
14504
  };
14488
14505
 
14489
14506
  // src/components/ToggleButton/ToggleButton.tsx
14490
- import { jsx as jsx271, jsxs as jsxs76 } from "react/jsx-runtime";
14507
+ import { jsx as jsx272, jsxs as jsxs76 } from "react/jsx-runtime";
14491
14508
  var { toggleButton: toggleButton2 } = toggleButtonTokens;
14492
- var Content3 = styled98.span`
14509
+ var Content3 = styled99.span`
14493
14510
  display: flex;
14494
14511
  align-items: center;
14495
14512
  width: 100%;
@@ -14525,7 +14542,7 @@ var Content3 = styled98.span`
14525
14542
  border-color: ${toggleButton2.hover.borderColor};
14526
14543
  }
14527
14544
  `;
14528
- var Container16 = styled98.label`
14545
+ var Container16 = styled99.label`
14529
14546
  width: fit-content;
14530
14547
  ${HiddenInput}:checked + ${Content3} {
14531
14548
  background-color: ${toggleButton2.checked.backgroundColor};
@@ -14541,12 +14558,12 @@ var Container16 = styled98.label`
14541
14558
  ${focusVisible}
14542
14559
  }
14543
14560
  `;
14544
- var ToggleButton = forwardRef74(
14561
+ var ToggleButton = forwardRef75(
14545
14562
  ({ id, label: label3, icon: icon11, className, htmlProps, ...rest }, ref) => {
14546
14563
  const generatedId = useId26();
14547
14564
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
14548
14565
  return /* @__PURE__ */ jsxs76(Container16, { htmlFor: uniqueId, children: [
14549
- /* @__PURE__ */ jsx271(
14566
+ /* @__PURE__ */ jsx272(
14550
14567
  HiddenInput,
14551
14568
  {
14552
14569
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -14555,7 +14572,7 @@ var ToggleButton = forwardRef74(
14555
14572
  }
14556
14573
  ),
14557
14574
  /* @__PURE__ */ jsxs76(Content3, { $hasIcon: !!icon11, children: [
14558
- icon11 && /* @__PURE__ */ jsx271(Icon, { icon: icon11, iconSize: "inherit" }),
14575
+ icon11 && /* @__PURE__ */ jsx272(Icon, { icon: icon11, iconSize: "inherit" }),
14559
14576
  " ",
14560
14577
  label3
14561
14578
  ] })
@@ -14566,9 +14583,9 @@ ToggleButton.displayName = "ToggleButton";
14566
14583
 
14567
14584
  // src/components/ToggleButton/ToggleButtonGroup.tsx
14568
14585
  import { useId as useId27 } from "react";
14569
- import styled99, { css as css48 } from "styled-components";
14570
- import { jsx as jsx272, jsxs as jsxs77 } from "react/jsx-runtime";
14571
- var Group2 = styled99.div`
14586
+ import styled100, { css as css48 } from "styled-components";
14587
+ import { jsx as jsx273, jsxs as jsxs77 } from "react/jsx-runtime";
14588
+ var Group2 = styled100.div`
14572
14589
  gap: ${toggleButtonTokens.group.gap};
14573
14590
  display: flex;
14574
14591
  flex-wrap: wrap;
@@ -14576,7 +14593,7 @@ var Group2 = styled99.div`
14576
14593
  flex-direction: ${direction};
14577
14594
  `}
14578
14595
  `;
14579
- var Container17 = styled99.div`
14596
+ var Container17 = styled100.div`
14580
14597
  display: flex;
14581
14598
  flex-direction: column;
14582
14599
  gap: ${toggleButtonTokens.container.gap};
@@ -14603,7 +14620,7 @@ var ToggleButtonGroup = (props) => {
14603
14620
  "aria-labelledby": label3 ? uniqueLabelId : void 0
14604
14621
  };
14605
14622
  return /* @__PURE__ */ jsxs77(Container17, { ...containerProps, children: [
14606
- !!label3 && /* @__PURE__ */ jsx272(
14623
+ !!label3 && /* @__PURE__ */ jsx273(
14607
14624
  Typography,
14608
14625
  {
14609
14626
  as: "span",
@@ -14612,7 +14629,7 @@ var ToggleButtonGroup = (props) => {
14612
14629
  children: label3
14613
14630
  }
14614
14631
  ),
14615
- /* @__PURE__ */ jsx272(Group2, { ...groupProps, children })
14632
+ /* @__PURE__ */ jsx273(Group2, { ...groupProps, children })
14616
14633
  ] });
14617
14634
  };
14618
14635
  ToggleButtonGroup.displayName = "ToggleButtonGroup";
@@ -14737,6 +14754,7 @@ export {
14737
14754
  Icon,
14738
14755
  ImageIcon,
14739
14756
  InfoIcon,
14757
+ InlineButton,
14740
14758
  InlineEditInput,
14741
14759
  InlineEditTextArea,
14742
14760
  Input,