@norges-domstoler/dds-components 14.2.0 → 14.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4,17 +4,16 @@ import { Property, StandardProperties } from 'csstype';
4
4
  import * as styled_components from 'styled-components';
5
5
  import * as styled_components_dist_types from 'styled-components/dist/types';
6
6
  import * as react from 'react';
7
- import react__default, { CSSProperties, PropsWithChildren, HTMLAttributes, ElementType, ComponentPropsWithoutRef, AnchorHTMLAttributes, LabelHTMLAttributes, InputHTMLAttributes, RefCallback, RefObject, KeyboardEvent as KeyboardEvent$1, Dispatch, SetStateAction, SVGAttributes, ButtonHTMLAttributes, ReactNode, ReactElement, MouseEventHandler, ChangeEvent, Ref, MouseEvent as MouseEvent$1, TdHTMLAttributes, ThHTMLAttributes, ForwardRefExoticComponent, TextareaHTMLAttributes } from 'react';
7
+ import react__default, { HTMLAttributes, PropsWithChildren, ElementType, ComponentPropsWithoutRef, CSSProperties, AnchorHTMLAttributes, LabelHTMLAttributes, InputHTMLAttributes, RefCallback, RefObject, KeyboardEvent as KeyboardEvent$1, Dispatch, SetStateAction, SVGAttributes, ButtonHTMLAttributes, ReactNode, ReactElement, MouseEventHandler, ChangeEvent, Ref, MouseEvent as MouseEvent$1, TdHTMLAttributes, ThHTMLAttributes, ForwardRefExoticComponent, TextareaHTMLAttributes } from 'react';
8
8
  import { TextColor as TextColor$1 } from '@norges-domstoler/dds-components/src/utils';
9
9
  import * as _floating_ui_react_dom from '@floating-ui/react-dom';
10
10
  import { Strategy, Placement as Placement$1 } from '@floating-ui/react-dom';
11
11
  import { Environment } from '@norges-domstoler/development-utils';
12
12
  import { OptionProps, GroupBase, SingleValueProps, Props, SelectInstance } from 'react-select';
13
13
  import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
14
+ import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
14
15
  import { AriaDatePickerProps } from '@react-types/datepicker';
15
16
  import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
16
- import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
17
- import { InputProps as InputProps$1 } from '@norges-domstoler/dds-components';
18
17
 
19
18
  interface SvgChevronProps {
20
19
  isUp?: boolean;
@@ -37,43 +36,6 @@ declare const OuterInputContainer: styled_components.IStyledComponent<"web", sty
37
36
  declare const InputContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
38
37
  declare const InputAffixContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
39
38
 
40
- declare const TextOverflowEllipsisWrapper: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
41
- declare const TextOverflowEllipsisInner: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
42
-
43
- type TypographyBodySansType = 'bodySans01' | 'bodySans02' | 'bodySans03' | 'bodySans04';
44
- type TypographyBodyType = TypographyBodySansType;
45
- type TypographyHeadingType = 'headingSans01' | 'headingSans02' | 'headingSans03' | 'headingSans04' | 'headingSans05' | 'headingSans06' | 'headingSans07' | 'headingSans08';
46
- type TypographyLeadType = 'leadSans01' | 'leadSans02' | 'leadSans03' | 'leadSans04' | 'leadSans05';
47
- type TypographySupportingType = 'supportingStyleHelperText01' | 'supportingStylePlaceholderText01' | 'supportingStylePlaceholderText02' | 'supportingStylePlaceholderText03' | 'supportingStyleTiny01' | 'supportingStyleTiny02';
48
- type AnchorTypographyType = 'a';
49
- type LabelTypographyType = 'supportingStyleLabel01';
50
- type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
51
- type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
52
- type StaticTypographyType = OtherTypographyType | LabelTypographyType;
53
- type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
54
- interface TypographyInteractionStyling {
55
- hover?: CSSProperties;
56
- active?: CSSProperties;
57
- }
58
- type BaseTypographyProps = PropsWithChildren<{
59
- /**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
60
- withMargins?: boolean;
61
- }> & Pick<HTMLAttributes<HTMLElement>, 'style'>;
62
- type TypographyComponentProps = BaseTypographyProps & {
63
- /**Tekstfarge fra utvalget eller custom. **OBS!** Bruk farger fra `@dds-design-tokens`. */
64
- color?: TextColor$1;
65
- /**Setter `bold` styling. */
66
- bold?: boolean;
67
- /**Setter `italic` styling. */
68
- italic?: boolean;
69
- /**Setter en linje under. */
70
- underline?: boolean;
71
- /**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
72
- as?: ElementType;
73
- /**Støtte for å enkelt kunne endre på hover- og active-styling. Bruk `@dds-design-tokens` til farger osv. */
74
- interactionProps?: TypographyInteractionStyling;
75
- };
76
-
77
39
  type Direction$1 = 'row' | 'column';
78
40
 
79
41
  /**
@@ -155,6 +117,43 @@ type ExtractStrict<T, U extends T> = U;
155
117
  type Nullable<T> = T | null;
156
118
  type Callback<T> = (e: T) => void;
157
119
 
120
+ declare const TextOverflowEllipsisWrapper: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
121
+ declare const TextOverflowEllipsisInner: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
122
+
123
+ type TypographyBodySansType = 'bodySans01' | 'bodySans02' | 'bodySans03' | 'bodySans04';
124
+ type TypographyBodyType = TypographyBodySansType;
125
+ type TypographyHeadingType = 'headingSans01' | 'headingSans02' | 'headingSans03' | 'headingSans04' | 'headingSans05' | 'headingSans06' | 'headingSans07' | 'headingSans08';
126
+ type TypographyLeadType = 'leadSans01' | 'leadSans02' | 'leadSans03' | 'leadSans04' | 'leadSans05';
127
+ type TypographySupportingType = 'supportingStyleHelperText01' | 'supportingStylePlaceholderText01' | 'supportingStylePlaceholderText02' | 'supportingStylePlaceholderText03' | 'supportingStyleTiny01' | 'supportingStyleTiny02';
128
+ type AnchorTypographyType = 'a';
129
+ type LabelTypographyType = 'supportingStyleLabel01';
130
+ type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
131
+ type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
132
+ type StaticTypographyType = OtherTypographyType | LabelTypographyType;
133
+ type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
134
+ interface TypographyInteractionStyling {
135
+ hover?: CSSProperties;
136
+ active?: CSSProperties;
137
+ }
138
+ type BaseTypographyProps = PropsWithChildren<{
139
+ /**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
140
+ withMargins?: boolean;
141
+ }> & Pick<HTMLAttributes<HTMLElement>, 'style'>;
142
+ type TypographyComponentProps = BaseTypographyProps & {
143
+ /**Tekstfarge fra utvalget eller custom. **OBS!** Bruk farger fra `@dds-design-tokens`. */
144
+ color?: TextColor$1;
145
+ /**Setter `bold` styling. */
146
+ bold?: boolean;
147
+ /**Setter `italic` styling. */
148
+ italic?: boolean;
149
+ /**Setter en linje under. */
150
+ underline?: boolean;
151
+ /**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
152
+ as?: ElementType;
153
+ /**Støtte for å enkelt kunne endre på hover- og active-styling. Bruk `@dds-design-tokens` til farger osv. */
154
+ interactionProps?: TypographyInteractionStyling;
155
+ };
156
+
158
157
  type AnchorTypographyProps = BaseComponentProps<HTMLAnchorElement, TypographyComponentProps & {
159
158
  /**nativ `href`-prop ved `typographyType='a'`. */
160
159
  href?: string | undefined;
@@ -190,6 +189,15 @@ declare const focusVisibleLinkOnDark: {
190
189
  textDecoration: string;
191
190
  };
192
191
  declare const focusVisibleLinkTransitionValue = "background-color 0.2s, text-decoration 0.2s, color 0.2s";
192
+ declare const getAdditionalFontStyle: (bold?: boolean, italic?: boolean, underline?: boolean) => styled_components.RuleSet<object>;
193
+ declare const getMarginStyling: (typographyType: TypographyType, element: ElementType, withMargins?: boolean) => styled_components.RuleSet<object>;
194
+ declare const getAnchorStyling: (external?: boolean, interactionStyling?: TypographyInteractionStyling, typographyType?: StaticTypographyType, withMargins?: boolean) => styled_components.RuleSet<object>;
195
+
196
+ declare const defaultTypographyType: TypographyBodyType;
197
+ declare const getElementType: (element: string) => ElementType;
198
+ declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
199
+ declare const inlineElements: Array<ElementType>;
200
+ declare const isInlineElement: (as: ElementType) => as is InlineElement;
193
201
  declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean) => {
194
202
  lineHeight: string;
195
203
  fontSize: string;
@@ -199,15 +207,6 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
199
207
  fontStyle: string;
200
208
  color: string | undefined;
201
209
  };
202
- declare const getAdditionalFontStyle: (bold?: boolean, italic?: boolean, underline?: boolean) => styled_components.RuleSet<object>;
203
- declare const getMarginStyling: (typographyType: TypographyType, element: ElementType, withMargins?: boolean) => styled_components.RuleSet<object>;
204
- declare const getAnchorStyling: (external?: boolean, interactionStyling?: TypographyInteractionStyling, typographyType?: StaticTypographyType, withMargins?: boolean) => styled_components.RuleSet<object>;
205
-
206
- declare const defaultTypographyType: TypographyBodyType;
207
- declare const getElementType: (element: string) => ElementType;
208
- declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
209
- declare const inlineElements: ElementType[];
210
- declare const isInlineElement: (as: ElementType) => as is InlineElement;
211
210
 
212
211
  type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, BaseTypographyProps>;
213
212
  declare const Caption: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLTableCaptionElement>, "className" | "id"> & {
@@ -360,7 +359,7 @@ declare const inputTokens: {
360
359
  };
361
360
  };
362
361
 
363
- declare function getDefaultText(value?: string | number | readonly string[], defaultValue?: string | number | readonly string[]): string;
362
+ declare function getDefaultText(value?: string | number | ReadonlyArray<string>, defaultValue?: string | number | ReadonlyArray<string>): string;
364
363
 
365
364
  type Elevation = 1 | 2 | 3 | 4;
366
365
  type Border = 'light' | 'dark';
@@ -390,7 +389,7 @@ declare const RequiredMarker: () => react_jsx_runtime.JSX.Element;
390
389
  *
391
390
  * {@link useCombinedRef}
392
391
  */
393
- declare function useCombinedRef<T>(...refs: React.Ref<T>[]): RefCallback<T>;
392
+ declare function useCombinedRef<T>(...refs: Array<React.Ref<T>>): RefCallback<T>;
394
393
 
395
394
  type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
396
395
  interface UseFloatPositionOptions {
@@ -502,7 +501,7 @@ declare const useMountTransition: (isMounted: boolean, unmountDelay: number) =>
502
501
  * @param element HTML elementet man klikker utenfor.
503
502
  * @param handler funksjonen som kjøres ved klikk utenfor.
504
503
  */
505
- declare function useOnClickOutside(element: HTMLElement | null | (HTMLElement | null)[], handler: (event: MouseEvent | TouchEvent) => void): void;
504
+ declare function useOnClickOutside(element: HTMLElement | null | Array<HTMLElement | null>, handler: (event: MouseEvent | TouchEvent) => void): void;
506
505
 
507
506
  /**
508
507
  * Kjører logikk når en spesifisert tast blir trykt ned.
@@ -517,7 +516,7 @@ declare function useOnClickOutside(element: HTMLElement | null | (HTMLElement |
517
516
  * @param key tasten som trykkes.
518
517
  * @param handler funksjonen som skal kjøres.
519
518
  */
520
- declare const useOnKeyDown: (key: string | string[], handler: (event: KeyboardEvent) => void) => void;
519
+ declare const useOnKeyDown: (key: string | Array<string>, handler: (event: KeyboardEvent) => void) => void;
521
520
 
522
521
  /**
523
522
  * Returnerer fokus til et element når første eller siste barn i en container mister fokus ved tastaturnavigasjon. Typisk bruk:
@@ -1173,7 +1172,7 @@ declare namespace index {
1173
1172
  * Join class names together.
1174
1173
  * Will filter out all falsy values.
1175
1174
  */
1176
- declare function cn(...classNames: unknown[]): string;
1175
+ declare function cn(...classNames: Array<unknown>): string;
1177
1176
 
1178
1177
  type EmbeteType = 'jordskifterett' | 'tingrett' | 'lagmannsrett' | 'høyesterett';
1179
1178
 
@@ -1191,11 +1190,11 @@ type UserProps = {
1191
1190
  } & (AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>);
1192
1191
  type OverflowMenuProps = BaseComponentProps<HTMLDivElement, {
1193
1192
  /**Lenker eller knapper som skal vises i menyen. Støtter ikon i tillegg til tekst. */
1194
- items?: OverflowMenuContextItem[];
1193
+ items?: Array<OverflowMenuContextItem>;
1195
1194
  /**Eget element for brukernavn, kan være interaktivt eller statisk. Ligger alltid på toppen av menyen. */
1196
1195
  userProps?: UserProps;
1197
1196
  /**Navigasjonslenker, brukes hvis navigasjonen skal ligge i menyen (f.eks. ved liten skjerm o.l.). */
1198
- navItems?: OverflowMenuNavItem[];
1197
+ navItems?: Array<OverflowMenuNavItem>;
1199
1198
  /**Spesifiserer om menyen skal vises. **OBS!** nødvendig kun hvis `<OverflowMenuGroup />` ikke brukes. */
1200
1199
  isOpen?: boolean;
1201
1200
  /**Callback for å lukke menyen. **OBS!** nødvendig kun hvis `<OverflowMenuGroup />` ikke brukes. */
@@ -1291,11 +1290,11 @@ interface AppShellNavigationProps {
1291
1290
  /**
1292
1291
  * Interne lenker i navigasjonen.
1293
1292
  */
1294
- internal?: ReactElement[];
1293
+ internal?: Array<ReactElement>;
1295
1294
  /**
1296
1295
  * Eksterne lenker i navigasjonen.
1297
1296
  */
1298
- external?: ReactElement[];
1297
+ external?: Array<ReactElement>;
1299
1298
  }
1300
1299
  declare const AppShell$1: {
1301
1300
  ({ children, version, navigation: { internal, external }, user, userMenuItems, environment, title, }: AppShellProps): react_jsx_runtime.JSX.Element;
@@ -1572,11 +1571,11 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
1572
1571
  /** CSS klassenavn. */
1573
1572
  className?: string;
1574
1573
  /** Inline styling. */
1575
- style?: react__default.CSSProperties;
1574
+ style?: React.CSSProperties;
1576
1575
  customOptionElement?: (props: OptionProps<Option, IsMulti, GroupBase<Option>>) => JSX.Element;
1577
1576
  customSingleValueElement?: (props: SingleValueProps<Option, IsMulti, GroupBase<Option>>) => JSX.Element;
1578
1577
  } & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
1579
- type ForwardRefType<Option, IsMulti extends boolean> = react__default.ForwardedRef<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
1578
+ type ForwardRefType<Option, IsMulti extends boolean> = React.ForwardedRef<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
1580
1579
  declare function SelectInner<Option = unknown, IsMulti extends boolean = false>(props: SelectProps<Option, IsMulti>, ref: ForwardRefType<Option, IsMulti>): react_jsx_runtime.JSX.Element;
1581
1580
  declare const Select: typeof SelectInner;
1582
1581
 
@@ -1668,11 +1667,11 @@ interface WeightedValue {
1668
1667
  relevance: number;
1669
1668
  }
1670
1669
  interface WeightedSearchData {
1671
- array: WeightedValue[];
1670
+ array: Array<WeightedValue>;
1672
1671
  sortFunction?: (a: WeightedValue, b: WeightedValue) => number;
1673
1672
  }
1674
1673
  interface SearchData {
1675
- array: string[];
1674
+ array: Array<string>;
1676
1675
  sortFunction?: (a: string, b: string) => number;
1677
1676
  }
1678
1677
  interface SearchAutocompleteWrapperProps {
@@ -1698,7 +1697,7 @@ declare const SearchAutocompleteWrapper: {
1698
1697
 
1699
1698
  type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement, Pick<SearchProps, 'componentSize'> & {
1700
1699
  /**Forslag som vises i listen. */
1701
- suggestions?: string[];
1700
+ suggestions?: Array<string>;
1702
1701
  /** Om listen skal vises. */
1703
1702
  showSuggestions?: boolean;
1704
1703
  /**Callback når et forslag blir valgt, inkludert søkefunksjon. */
@@ -1729,6 +1728,33 @@ type SearchCompoundProps = typeof Search$1 & {
1729
1728
  };
1730
1729
  declare const Search: SearchCompoundProps;
1731
1730
 
1731
+ type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
1732
+ declare const Body: react.ForwardRefExoticComponent<TableBodyProps & react.RefAttributes<HTMLTableSectionElement>>;
1733
+
1734
+ type TableCellType = 'data' | 'head';
1735
+ type TableCellLayout = 'left' | 'right' | 'center' | 'text and icon';
1736
+ interface CollapsibleProps {
1737
+ isCollapsibleChild?: boolean;
1738
+ }
1739
+ type TableCellProps = {
1740
+ /**
1741
+ * Type celle. Returnerer enten `<td>` eller `<th>`.
1742
+ * @default 'data' hvis den er brukt i `<Table.Body>` eller `<Table.Foot>`, 'head' hvis den er i `<Table.Head>`.
1743
+ */
1744
+ type?: TableCellType;
1745
+ /**Layout av innholdet i cellen. 'tekst and icon' legger `gap` mellom barna og andre barnet i cellen. */
1746
+ layout?: TableCellLayout;
1747
+ /** Props ved bruk av `<CollapsibleRow>`. **OBS!** settes automatisk av forelder. */
1748
+ collapsibleProps?: CollapsibleProps;
1749
+ } & (TdHTMLAttributes<HTMLTableCellElement> | ThHTMLAttributes<HTMLTableCellElement>);
1750
+ declare const Cell: react.ForwardRefExoticComponent<TableCellProps & react.RefAttributes<HTMLTableCellElement>>;
1751
+
1752
+ type TableFootProps = HTMLAttributes<HTMLTableSectionElement>;
1753
+ declare const Foot: react.ForwardRefExoticComponent<TableFootProps & react.RefAttributes<HTMLTableSectionElement>>;
1754
+
1755
+ type TableHeadProps = HTMLAttributes<HTMLTableSectionElement>;
1756
+ declare const Head: react.ForwardRefExoticComponent<TableHeadProps & react.RefAttributes<HTMLTableSectionElement>>;
1757
+
1732
1758
  type TableDensity = 'normal' | 'compact' | 'extraCompact';
1733
1759
  type TableProps = {
1734
1760
  /**Spesifiserer hvor romslige cellene i tabellen skal være. */
@@ -1738,25 +1764,13 @@ type TableProps = {
1738
1764
  /**Legger skillelinjer mellom radene. */
1739
1765
  withDividers?: boolean;
1740
1766
  } & HTMLAttributes<HTMLTableElement>;
1741
- type HeaderValues = {
1742
- key: string;
1743
- content: ReactNode;
1744
- }[];
1745
- type CollapsibleTableProps = {
1746
- /**Om tabellen skal kollapse. */
1747
- isCollapsed?: boolean;
1748
- /**Innhold i headere (`content`) og deres `key`. `headerValues.content` må være den samme som faktisk innhold i `<Table.Cell type='head'>`. */
1749
- headerValues: HeaderValues;
1750
- /**
1751
- * Indeksen(e) til kolonnen(e) som skal synes når tabellen er kollapset. Rekkefølgen i array avgjør rekkefølgen i render.
1752
- * @default [0]
1753
- * */
1754
- definingColumnIndex?: number[];
1755
- } & TableProps;
1756
1767
  type TableRowType = 'body' | 'head';
1757
1768
  type RowMode = 'normal' | 'sum';
1758
1769
  type TableRowProps = {
1759
- /**Spesifiserer om raden skal brukes i `<head>` eller `<body>`-seksjonen. */
1770
+ /**
1771
+ * Spesifiserer om raden skal brukes i `<head>` eller `<body>`-seksjonen.
1772
+ * @default 'body' hvis den er brukt i `<Table.Body>` eller `<Table.Foot>`, 'head' hvis den er i `<Table.Head>`.
1773
+ */
1760
1774
  type?: TableRowType;
1761
1775
  /**Custom modus for rader som har ytterligere semantisk betydning (f.eks. summeringsrad), definerer kun styling. Ved bruk av sum må `<Cell>` med tall i høyrestilles vha layout prop. */
1762
1776
  mode?: RowMode;
@@ -1766,31 +1780,6 @@ type TableRowProps = {
1766
1780
  hoverable?: boolean;
1767
1781
  } & HTMLAttributes<HTMLTableRowElement>;
1768
1782
 
1769
- declare const Table$1: react.ForwardRefExoticComponent<{
1770
- density?: TableDensity | undefined;
1771
- stickyHeader?: boolean | undefined;
1772
- withDividers?: boolean | undefined;
1773
- } & react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
1774
-
1775
- declare const CollapsibleTable$1: react.ForwardRefExoticComponent<{
1776
- isCollapsed?: boolean | undefined;
1777
- headerValues: HeaderValues;
1778
- definingColumnIndex?: number[] | undefined;
1779
- } & {
1780
- density?: TableDensity | undefined;
1781
- stickyHeader?: boolean | undefined;
1782
- withDividers?: boolean | undefined;
1783
- } & react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
1784
-
1785
- type TableHeadProps = HTMLAttributes<HTMLTableSectionElement>;
1786
- declare const Head: react.ForwardRefExoticComponent<TableHeadProps & react.RefAttributes<HTMLTableSectionElement>>;
1787
-
1788
- type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
1789
- declare const Body: react.ForwardRefExoticComponent<TableBodyProps & react.RefAttributes<HTMLTableSectionElement>>;
1790
-
1791
- type TableFootProps = HTMLAttributes<HTMLTableSectionElement>;
1792
- declare const Foot: react.ForwardRefExoticComponent<TableFootProps & react.RefAttributes<HTMLTableSectionElement>>;
1793
-
1794
1783
  declare const Row: react.ForwardRefExoticComponent<{
1795
1784
  type?: TableRowType | undefined;
1796
1785
  mode?: RowMode | undefined;
@@ -1798,28 +1787,6 @@ declare const Row: react.ForwardRefExoticComponent<{
1798
1787
  hoverable?: boolean | undefined;
1799
1788
  } & react.HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
1800
1789
 
1801
- declare const CollapsibleRow: react.ForwardRefExoticComponent<{
1802
- type?: TableRowType | undefined;
1803
- mode?: RowMode | undefined;
1804
- selected?: boolean | undefined;
1805
- hoverable?: boolean | undefined;
1806
- } & react.HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
1807
-
1808
- type TableCellType = 'data' | 'head';
1809
- type TableCellLayout = 'left' | 'right' | 'center' | 'text and icon';
1810
- interface CollapsibleProps {
1811
- isCollapsibleChild?: boolean;
1812
- }
1813
- type TableCellProps = {
1814
- /**Type celle. Returnerer enten `<td>` eller `<th>`. */
1815
- type?: TableCellType;
1816
- /**Layout av innholdet i cellen. 'tekst and icon' legger `gap` mellom barna og andre barnet i cellen. */
1817
- layout?: TableCellLayout;
1818
- /** Props ved bruk av `<CollapsibleRow>`. **OBS!** settes automatisk av forelder. */
1819
- collapsibleProps?: CollapsibleProps;
1820
- } & (TdHTMLAttributes<HTMLTableCellElement> | ThHTMLAttributes<HTMLTableCellElement>);
1821
- declare const Cell: react.ForwardRefExoticComponent<TableCellProps & react.RefAttributes<HTMLTableCellElement>>;
1822
-
1823
1790
  type SortOrder = 'ascending' | 'descending';
1824
1791
  type TableSortCellProps = {
1825
1792
  /**Spesifiserer om kolonnen er sortert. */
@@ -1838,6 +1805,12 @@ declare const SortCell: react.ForwardRefExoticComponent<{
1838
1805
  onClick: (event: MouseEvent$1<HTMLButtonElement>) => void;
1839
1806
  } & Omit<TableCellProps, "type"> & react.RefAttributes<HTMLTableCellElement>>;
1840
1807
 
1808
+ declare const Table$1: react.ForwardRefExoticComponent<{
1809
+ density?: TableDensity | undefined;
1810
+ stickyHeader?: boolean | undefined;
1811
+ withDividers?: boolean | undefined;
1812
+ } & react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
1813
+
1841
1814
  type TableWrapperProps = HTMLAttributes<HTMLDivElement>;
1842
1815
  declare const TableWrapper: {
1843
1816
  ({ children, ...rest }: TableWrapperProps): react_jsx_runtime.JSX.Element;
@@ -1854,10 +1827,6 @@ type TableCompoundProps = typeof Table$1 & {
1854
1827
  SortCell: typeof SortCell;
1855
1828
  };
1856
1829
  declare const Table: TableCompoundProps;
1857
- type CollapsibleTableCompoundProps = typeof CollapsibleTable$1 & {
1858
- Row: typeof CollapsibleRow;
1859
- };
1860
- declare const CollapsibleTable: CollapsibleTableCompoundProps;
1861
1830
 
1862
1831
  type BreadcrumbProps = HTMLAttributes<HTMLSpanElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
1863
1832
  declare const Breadcrumb: react.ForwardRefExoticComponent<BreadcrumbProps & react.RefAttributes<HTMLElement>>;
@@ -1887,7 +1856,7 @@ type PaginationProps = BaseComponentProps<HTMLElement, {
1887
1856
  /**Spesifiserer om `<Select />` til å velge antall resultater per side skal vises. */
1888
1857
  withSelect?: boolean;
1889
1858
  /**Custom options for `<Select />`. **OBS!** hvis det settes custom `selectOptions` bør "alle"-alternativet inkluderes der det er relevant, da brukere ofte liker å ha muligheten. */
1890
- selectOptions?: PaginationOption[];
1859
+ selectOptions?: Array<PaginationOption>;
1891
1860
  /**Brukes til å hente side og eventuelt annen logikk ved endring av side. */
1892
1861
  onChange?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, page: number) => void;
1893
1862
  /**Brukes til å hente `selectedOption` og eventuelt kjøre annen logikk når `withSelect=true` ved endring av alternativ. */
@@ -2112,9 +2081,9 @@ type InternalHeaderProps = BaseComponentProps<HTMLDivElement, {
2112
2081
  /**Info om brukeren. Dukker opp som punkt på toppen av kontekstmenyen med tekst oppgitt i name. Blir en lenke hvis href er oppgitt. */
2113
2082
  userProps?: InternaHeaderUserProps;
2114
2083
  /**Lenker som skal vises i navigasjonsmenyen. */
2115
- navigationElements?: NavigationLinkProps[];
2084
+ navigationElements?: Array<NavigationLinkProps>;
2116
2085
  /**Lenker eller knapper som skal vises i kontekstmenyen. Støtter ikon i tillegg til tekst. */
2117
- contextMenuElements?: ContextMenuElementProps[];
2086
+ contextMenuElements?: Array<ContextMenuElementProps>;
2118
2087
  /**URL til siden i navigasjonen brukeren er på. Gir highlight til navigasjonselementet i navigationElements med samme URL. */
2119
2088
  currentPageHref?: string;
2120
2089
  /**Ekstra logikk som kjøres når currentPage endres. */
@@ -2299,20 +2268,36 @@ declare namespace Calendar {
2299
2268
  type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
2300
2269
  className?: string;
2301
2270
  buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
2302
- } & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
2271
+ /**
2272
+ * For å sette en egendefinert bredde på komponenten.
2273
+ */
2274
+ width?: CSS.Properties['width'];
2275
+ } & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
2303
2276
 
2304
2277
  interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'> {
2305
2278
  label?: string;
2306
2279
  errorMessage?: string;
2280
+ /**
2281
+ * For å sette en egendefinert bredde på komponenten.
2282
+ */
2283
+ width?: CSS.Properties['width'];
2307
2284
  }
2308
2285
  declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLElement>>;
2309
2286
 
2310
2287
  type TimePickerProps = Omit<AriaTimeFieldProps<Time>, 'hideTimeZone'> & {
2311
2288
  className?: string;
2312
- } & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
2289
+ /**
2290
+ * For å sette en egendefinert bredde på komponenten.
2291
+ */
2292
+ width?: CSS.Properties['width'];
2293
+ } & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
2313
2294
  declare const TimePicker: react.ForwardRefExoticComponent<Omit<AriaTimeFieldProps<Time>, "hideTimeZone"> & {
2314
2295
  className?: string | undefined;
2315
- } & Pick<InputProps$1, "style" | "disabled" | "tip" | "errorMessage" | "componentSize"> & react.RefAttributes<HTMLDivElement>>;
2296
+ /**
2297
+ * For å sette en egendefinert bredde på komponenten.
2298
+ */
2299
+ width?: CSS.Properties['width'];
2300
+ } & Pick<InputProps, "style" | "disabled" | "tip" | "errorMessage" | "componentSize"> & react.RefAttributes<HTMLDivElement>>;
2316
2301
 
2317
2302
  declare function nativeDateToDateValue(date: Date, timeZone?: string | undefined): DateValue$1;
2318
2303
  declare function dateValueToNativeDate(date: DateValue$1, timeZone?: string | undefined): Date;
@@ -2785,7 +2770,7 @@ interface SplitButtonProps {
2785
2770
  /**Props for primær handling. Samme props som for `<Button />` unntatt `size`, `purpose`, og `appearance`. */
2786
2771
  primaryAction: Omit<ButtonProps$1, 'size' | 'apperance' | 'purpose'>;
2787
2772
  /**Props for sekunære handlinger. */
2788
- secondaryActions: OverflowMenuButtonItem[];
2773
+ secondaryActions: Array<OverflowMenuButtonItem>;
2789
2774
  /**Formål med knappen */
2790
2775
  purpose?: SplitButtonPurpose;
2791
2776
  }
@@ -2852,7 +2837,7 @@ type AudioMimeType = 'aac' | 'midi' | 'x-midi' | 'mpeg' | 'ogg' | 'opus' | 'wav'
2852
2837
  type ApplicationMimeType = 'octet-stream' | 'msword' | 'vnd.openxmlformats-officedocument.wordprocessingml.document' | 'epub+zip' | 'gzip' | 'java-archive' | 'json' | 'vnd.oasis.opendocument.presentation' | 'vnd.oasis.opendocument.spreadsheet' | 'vnd.oasis.opendocument.text' | 'pdf' | 'vnd.ms-powerpoint' | 'vnd.openxmlformats-officedocument.presentationml.presentation' | 'rtf' | 'x-sh' | 'x-tar' | 'vnd.visio' | 'xhtml+xml' | 'vnd.ms-excel' | 'vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'xml' | 'vnd.mozilla.xul+xml' | 'zip';
2853
2838
  type MimeType = `image/${ImageMimeType | AnyMimeType}` | `video/${VideoMimeType | AnyMimeType}` | `audio/${AudioMimeType | AnyMimeType}` | `application/${ApplicationMimeType}`;
2854
2839
  type Accept = MimeType | FileExtensionAccept;
2855
- type FileList = File[];
2840
+ type FileList = Array<File>;
2856
2841
 
2857
2842
  interface FileUploaderHookProps {
2858
2843
  id: string | undefined;
@@ -2863,7 +2848,7 @@ interface FileUploaderHookProps {
2863
2848
  /**Callback for når fil-listen endres. */
2864
2849
  onChange: (newFiles: FileList) => void;
2865
2850
  /**Hvilke filendelser eller mime-typer som filopplasteren skal akseptere. */
2866
- accept: Accept[] | undefined;
2851
+ accept: Array<Accept> | undefined;
2867
2852
  /**Om filopplasteren er avslått eller ikke */
2868
2853
  disabled: boolean | undefined;
2869
2854
  /**Maks antall filer som tillates. */
@@ -2945,4 +2930,4 @@ type Layout = 'vertical' | 'horizontal';
2945
2930
 
2946
2931
  declare const Feedback: ({ layout, ratingLabel, positiveFeedbackLabel, negativeFeedbackLabel, ratingSubmittedTitle, submittedTitle, ratingValue: ratingProp, feedbackTextValue: feedbackTextProp, thumbUpTooltip, thumbDownTooltip, feedbackTextAreaExcluded, loading, isSubmitted: isSubmittedProp, onRating, onFeedbackTextChange, onSubmit, }: FeedbackProps) => react_jsx_runtime.JSX.Element;
2947
2932
 
2948
- export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, Feedback, FeedbackIcon, type FeedbackProps, FileAddIcon, FileIcon, FileShieldedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HiddenInput, HomeIcon, HourglassBottom, HourglassDisabled, HourglassEmpty, HourglassFull, HourglassTop, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputAffixContainer, InputContainer, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, KeyIcon, Label, type LabelProps, type LabelTypographyType, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OuterInputContainer, OverflowMenu, type OverflowMenuButtonItem, type OverflowMenuContextItem, OverflowMenuGroup, type OverflowMenuGroupProps, type OverflowMenuLinkItem, OverflowMenuList, type OverflowMenuNavItem, type OverflowMenuProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PrintIcon, ProgressTracker, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RequiredMarker, ScreenSize, type ScreenSizeLiteral, ScrollableContainer, type ScrollableContainerProps, Scrollbar, type ScrollbarProps, Search, type SearchAutocompleteWrapperProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, type SearchSuggestionsProps, Select, type SelectOption, type SelectProps, SettingsIcon, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type SplitButtonPurpose, type StackProps, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StaticTypographyType, type StyledCommonInputProps, type StyledInputProps, StyledSvg, StyledTextArea, type SvgIcon, type SvgProps, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, type TableBodyProps, type TableCellLayout, type TableCellProps, type TableCellType, type TableDensity, type TableFootProps, type TableHeadProps, type TableProps, type TableRowProps, type TableRowType, type TableSortCellProps, Tabs, type TabsProps, Tag, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, Thumbdown, ThumbdownFilled, Thumbup, ThumbupFilled, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToggleRadio, type ToggleRadioProps, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, TwitterIcon, Typography, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyInteractionStyling, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createSelectOptions, dangerInputfield, dateValueToNativeDate, defaultTypographyType, focusDangerInputfield, focusInputfield, focusVisible, focusVisibleInset, focusVisibleLink, focusVisibleLinkOnDark, focusVisibleLinkTransitionValue, focusVisibleOnDark, focusVisibleThickWithBorderOnDark, focusVisibleTransitionValue, focusVisibleWithBorder, getAdditionalFontStyle, getAnchorStyling, getBaseHTMLProps, getDefaultText, getElementType, getFontStyling, getLiteralScreenSize, getMarginStyling, hideInput, hoverDangerInputfield, hoverInputfield, hoverWithBorder, index as icons, inlineElements, inputTokens, inputTypographyTypes, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineOffset, removeButtonStyling, removeListStyling, scrollbarStyling, selection, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, visibilityTransition };
2933
+ export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, Feedback, FeedbackIcon, type FeedbackProps, FileAddIcon, FileIcon, FileShieldedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HiddenInput, HomeIcon, HourglassBottom, HourglassDisabled, HourglassEmpty, HourglassFull, HourglassTop, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputAffixContainer, InputContainer, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, KeyIcon, Label, type LabelProps, type LabelTypographyType, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OuterInputContainer, OverflowMenu, type OverflowMenuButtonItem, type OverflowMenuContextItem, OverflowMenuGroup, type OverflowMenuGroupProps, type OverflowMenuLinkItem, OverflowMenuList, type OverflowMenuNavItem, type OverflowMenuProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PrintIcon, ProgressTracker, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RequiredMarker, ScreenSize, type ScreenSizeLiteral, ScrollableContainer, type ScrollableContainerProps, Scrollbar, type ScrollbarProps, Search, type SearchAutocompleteWrapperProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, type SearchSuggestionsProps, Select, type SelectOption, type SelectProps, SettingsIcon, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type SplitButtonPurpose, type StackProps, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StaticTypographyType, type StyledCommonInputProps, type StyledInputProps, StyledSvg, StyledTextArea, type SvgIcon, type SvgProps, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, type TableBodyProps, type TableCellLayout, type TableCellProps, type TableCellType, type TableDensity, type TableFootProps, type TableHeadProps, type TableProps, type TableRowProps, type TableRowType, type TableSortCellProps, Tabs, type TabsProps, Tag, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, Thumbdown, ThumbdownFilled, Thumbup, ThumbupFilled, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToggleRadio, type ToggleRadioProps, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, TwitterIcon, Typography, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyInteractionStyling, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createSelectOptions, dangerInputfield, dateValueToNativeDate, defaultTypographyType, focusDangerInputfield, focusInputfield, focusVisible, focusVisibleInset, focusVisibleLink, focusVisibleLinkOnDark, focusVisibleLinkTransitionValue, focusVisibleOnDark, focusVisibleThickWithBorderOnDark, focusVisibleTransitionValue, focusVisibleWithBorder, getAdditionalFontStyle, getAnchorStyling, getBaseHTMLProps, getDefaultText, getElementType, getFontStyling, getLiteralScreenSize, getMarginStyling, hideInput, hoverDangerInputfield, hoverInputfield, hoverWithBorder, index as icons, inlineElements, inputTokens, inputTypographyTypes, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineOffset, removeButtonStyling, removeListStyling, scrollbarStyling, selection, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, visibilityTransition };