@norges-domstoler/dds-components 18.1.0 → 18.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default, { ElementType, ReactNode, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, ComponentPropsWithoutRef, ComponentProps, AnchorHTMLAttributes, LabelHTMLAttributes, RefCallback, RefObject, KeyboardEvent as KeyboardEvent$1, Dispatch, SetStateAction, SVGAttributes, ButtonHTMLAttributes, FocusEventHandler, MouseEventHandler, AriaRole, ComponentPropsWithRef, TextareaHTMLAttributes, ForwardedRef, ForwardRefExoticComponent, ChangeEvent, MouseEvent as MouseEvent$1, Ref, ReactElement, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
+ import react__default, { ElementType, ReactNode, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, ComponentPropsWithoutRef, ComponentProps, AnchorHTMLAttributes, LabelHTMLAttributes, RefCallback, RefObject, KeyboardEvent as KeyboardEvent$1, Dispatch, SetStateAction, SVGAttributes, ButtonHTMLAttributes, FocusEventHandler, MouseEventHandler, AriaRole, ComponentPropsWithRef, TextareaHTMLAttributes, ForwardedRef, ForwardRefExoticComponent, ChangeEvent, MouseEvent as MouseEvent$1, ReactElement, Ref, TdHTMLAttributes, ThHTMLAttributes } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as CSS from 'csstype';
5
5
  import { Property, StandardProperties } from 'csstype';
@@ -8,7 +8,7 @@ import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
8
8
  import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
9
9
  import { AriaDatePickerProps } from '@react-types/datepicker';
10
10
  import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
11
- import { OptionProps, GroupBase, SingleValueProps, Props as Props$1, SelectInstance } from 'react-select';
11
+ import { OptionProps, GroupBase, SingleValueProps, SelectInstance, Props as Props$1 } from 'react-select';
12
12
  import { ddsTokens } from '@norges-domstoler/dds-design-tokens';
13
13
 
14
14
  declare function handleElementWithBackdropMount(container: HTMLElement): void;
@@ -16,6 +16,7 @@ declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
16
16
 
17
17
  declare const Backdrop: react.ForwardRefExoticComponent<{
18
18
  isMounted?: boolean;
19
+ zIndex: "drawer" | "modal";
19
20
  } & Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "onClick"> & react.RefAttributes<HTMLDivElement>>;
20
21
 
21
22
  interface SvgChevronProps {
@@ -524,9 +525,10 @@ declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is Key
524
525
  * @param size antall elementer i gruppen.
525
526
  * @param active om fokus skal kontrolleres av hooken. Når status blir inaktiv vil fokusrekkefølge nullstilles.
526
527
  * @param direction retning elementene blas i.
528
+ * @param noWrap om indeksen skal 'wrappe' rundt til 0 hvis den går over size - 1, eller til size - 1 hvis den går under 0.
527
529
  * @returns hook par: indeksen til fokuserte elemenentet og funksjonen som håndterer fokus.
528
530
  */
529
- declare function useRoveFocus(size?: number, active?: boolean, direction?: Direction$1): [number, Dispatch<SetStateAction<number>>];
531
+ declare function useRoveFocus(size?: number, active?: boolean, direction?: Direction$1, noWrap?: boolean): [number, Dispatch<SetStateAction<number>>];
530
532
 
531
533
  declare enum ScreenSize {
532
534
  XSmall = 0,
@@ -2184,6 +2186,10 @@ declare const OverflowMenuListHeader: react.ForwardRefExoticComponent<Omit<react
2184
2186
  interface OverflowMenuListItemBaseProps {
2185
2187
  /**Ikon som vises ved teksten. **OBS!** Settes i tillegg til `children` for riktig layout. */
2186
2188
  icon?: SvgIcon;
2189
+ /**Bestemmer farger basert på formål.
2190
+ * @default "default"
2191
+ */
2192
+ purpose?: 'default' | 'danger';
2187
2193
  }
2188
2194
  type OverflowMenuButtonProps = OverflowMenuListItemBaseProps & ButtonHTMLAttributes<HTMLButtonElement>;
2189
2195
  type OverflowMenuLinkProps = OverflowMenuListItemBaseProps & AnchorHTMLAttributes<HTMLAnchorElement>;
@@ -2398,7 +2404,7 @@ interface PopoverSizeProps {
2398
2404
  type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
2399
2405
  /**Tittel. */
2400
2406
  title?: string | ReactNode;
2401
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Spesifiserer om `<Popover />` skal vises.
2407
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Spesifiserer om `<Popover>` skal vises.
2402
2408
  * @default false
2403
2409
  */
2404
2410
  isOpen?: boolean;
@@ -2406,7 +2412,7 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
2406
2412
  * @default true
2407
2413
  */
2408
2414
  withCloseButton?: boolean;
2409
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Anchor-elementet. */
2415
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Anchor-elementet. */
2410
2416
  anchorElement?: HTMLElement;
2411
2417
  /**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
2412
2418
  * @default "bottom"
@@ -2422,7 +2428,7 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
2422
2428
  onBlur?: () => void;
2423
2429
  /**Custom størrelse. */
2424
2430
  sizeProps?: PopoverSizeProps;
2425
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Funksjon kjørt ved lukking. */
2431
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Funksjon kjørt ved lukking. */
2426
2432
  onClose?: () => void;
2427
2433
  /** Om focus skal returneres ved `blur`
2428
2434
  * @default true
@@ -2432,7 +2438,7 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
2432
2438
  declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
2433
2439
  /**Tittel. */
2434
2440
  title?: string | ReactNode;
2435
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Spesifiserer om `<Popover />` skal vises.
2441
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Spesifiserer om `<Popover>` skal vises.
2436
2442
  * @default false
2437
2443
  */
2438
2444
  isOpen?: boolean;
@@ -2440,7 +2446,7 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
2440
2446
  * @default true
2441
2447
  */
2442
2448
  withCloseButton?: boolean;
2443
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Anchor-elementet. */
2449
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Anchor-elementet. */
2444
2450
  anchorElement?: HTMLElement;
2445
2451
  /**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
2446
2452
  * @default "bottom"
@@ -2456,7 +2462,7 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
2456
2462
  onBlur?: () => void;
2457
2463
  /**Custom størrelse. */
2458
2464
  sizeProps?: PopoverSizeProps;
2459
- /** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Funksjon kjørt ved lukking. */
2465
+ /** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Funksjon kjørt ved lukking. */
2460
2466
  onClose?: () => void;
2461
2467
  /** Om focus skal returneres ved `blur`
2462
2468
  * @default true
@@ -2473,11 +2479,11 @@ interface PopoverGroupProps {
2473
2479
  onCloseButtonClick?: () => void;
2474
2480
  /** Callback når det trykkes på anchor-elementet (trigger-elementet). */
2475
2481
  onTriggerClick?: () => void;
2476
- /**Forteller `<Popover />` om den skal være åpen. */
2482
+ /**Forteller `<Popover>` om den skal være åpen. */
2477
2483
  isOpen?: boolean;
2478
- /** `id` til `<Popover />.` */
2484
+ /** `id` til `<Popover>.` */
2479
2485
  popoverId?: string;
2480
- /** Barna til wrapperen: anchor-element som det første og `<Popover />` som det andre. */
2486
+ /** Barna til wrapperen: anchor-element som det første og `<Popover>` som det andre. */
2481
2487
  children: ReactNode;
2482
2488
  }
2483
2489
  declare const PopoverGroup: {
@@ -2666,9 +2672,10 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
2666
2672
  /** Testid. Legges på control-div med suffiks "control". */
2667
2673
  'data-testid'?: string;
2668
2674
  } & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
2669
- type ForwardRefType<Option, IsMulti extends boolean> = React.ForwardedRef<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
2670
- declare function SelectInner<Option = unknown, IsMulti extends boolean = false>(props: SelectProps<Option, IsMulti>, ref: ForwardRefType<Option, IsMulti>): react_jsx_runtime.JSX.Element;
2671
- declare const Select: typeof SelectInner;
2675
+ type SelectForwardRefType<Option, IsMulti extends boolean> = React.ForwardedRef<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
2676
+ declare const Select: <Option = unknown, IsMulti extends boolean = false>(props: SelectProps<Option, IsMulti> & {
2677
+ ref?: SelectForwardRefType<Option, IsMulti>;
2678
+ }) => ReactElement;
2672
2679
 
2673
2680
  type NativeSelectProps = CommonInputProps & Pick<InputProps, 'componentSize' | 'readOnly'> & ComponentProps<'select'>;
2674
2681
  declare const NativeSelect: react.ForwardRefExoticComponent<Omit<NativeSelectProps, "ref"> & react.RefAttributes<HTMLSelectElement>>;
@@ -3367,6 +3374,16 @@ declare function useTheme(): {
3367
3374
  ddsBreakpointLgNumberPx: 1280;
3368
3375
  ddsBreakpointXl: "1920px";
3369
3376
  ddsBreakpointXlNumberPx: 1920;
3377
+ ddsZindexSkiptocontent: "250";
3378
+ ddsZindexModalBackdrop: "200";
3379
+ ddsZindexDrawer: "180";
3380
+ ddsZindexDrawerBackdrop: "180";
3381
+ ddsZindexOverflowmenu: "160";
3382
+ ddsZindexPopover: "140";
3383
+ ddsZindexTooltip: "120";
3384
+ ddsZindexDropdown: "100";
3385
+ ddsZindexSticky: "50";
3386
+ ddsZindexAbsoluteElement: "1";
3370
3387
  ddsColorBgDefault: "#ffffff";
3371
3388
  ddsColorBgSubtle: "#f8f9f9";
3372
3389
  ddsColorSurfaceDefault: "#ffffff";
@@ -3423,6 +3440,7 @@ declare function useTheme(): {
3423
3440
  ddsColorTextActionVisited: "#7f29b4";
3424
3441
  ddsColorTextActionVisitedOnInverse: "#cca9e1";
3425
3442
  ddsColorTextOnNotification: "#ffffff";
3443
+ ddsColorTextDanger: "#ad2c2c";
3426
3444
  ddsColorIconDefault: "#0b0d0e";
3427
3445
  ddsColorIconMedium: "#3a4146";
3428
3446
  ddsColorIconSubtle: "#545c62";
@@ -3438,6 +3456,7 @@ declare function useTheme(): {
3438
3456
  ddsColorIconOnDangerStrong: "#0b0d0e";
3439
3457
  ddsColorIconOnInfoDefault: "#466f8a";
3440
3458
  ddsColorIconOnInfoStrong: "#0b0d0e";
3459
+ ddsColorIconDanger: "#ad2c2c";
3441
3460
  ddsColorBrandPrimaryDefault: "#354754";
3442
3461
  ddsColorBrandPrimarySubtle: "#eaeff4";
3443
3462
  ddsColorBrandPrimaryMedium: "#4f6a7e";
@@ -3643,6 +3662,16 @@ declare function useTheme(): {
3643
3662
  ddsBreakpointLgNumberPx: 1280;
3644
3663
  ddsBreakpointXl: "1920px";
3645
3664
  ddsBreakpointXlNumberPx: 1920;
3665
+ ddsZindexSkiptocontent: "250";
3666
+ ddsZindexModalBackdrop: "200";
3667
+ ddsZindexDrawer: "180";
3668
+ ddsZindexDrawerBackdrop: "180";
3669
+ ddsZindexOverflowmenu: "160";
3670
+ ddsZindexPopover: "140";
3671
+ ddsZindexTooltip: "120";
3672
+ ddsZindexDropdown: "100";
3673
+ ddsZindexSticky: "50";
3674
+ ddsZindexAbsoluteElement: "1";
3646
3675
  ddsColorBgDefault: "#ffffff";
3647
3676
  ddsColorBgSubtle: "#f8f9f9";
3648
3677
  ddsColorSurfaceDefault: "#ffffff";
@@ -3699,6 +3728,7 @@ declare function useTheme(): {
3699
3728
  ddsColorTextActionVisited: "#7f29b4";
3700
3729
  ddsColorTextActionVisitedOnInverse: "#cca9e1";
3701
3730
  ddsColorTextOnNotification: "#ffffff";
3731
+ ddsColorTextDanger: "#ad2c2c";
3702
3732
  ddsColorIconDefault: "#0b0d0e";
3703
3733
  ddsColorIconMedium: "#3a4146";
3704
3734
  ddsColorIconSubtle: "#545c62";
@@ -3714,6 +3744,7 @@ declare function useTheme(): {
3714
3744
  ddsColorIconOnDangerStrong: "#0b0d0e";
3715
3745
  ddsColorIconOnInfoDefault: "#466f8a";
3716
3746
  ddsColorIconOnInfoStrong: "#0b0d0e";
3747
+ ddsColorIconDanger: "#ad2c2c";
3717
3748
  ddsColorBrandPrimaryDefault: "#354754";
3718
3749
  ddsColorBrandPrimarySubtle: "#eaeff4";
3719
3750
  ddsColorBrandPrimaryMedium: "#4f6a7e";
@@ -3798,6 +3829,75 @@ declare function useTheme(): {
3798
3829
  themeName: "core" | "public";
3799
3830
  };
3800
3831
 
3832
+ type ToggleSize = Extract<Size, 'medium' | 'large'>;
3833
+ type TogglePickedHTMLAttributes = Omit<CheckboxPickedHTMLAttributes, 'onChange' | 'checked' | 'defaultChecked'>;
3834
+ type ToggleProps = BaseComponentProps<HTMLElement, {
3835
+ /**Ledetekst; tillater bruk av f.eks. `<VisuallyHidden>` for usynlig tekst. */
3836
+ children?: ReactNode;
3837
+ /**
3838
+ * Callback som blir kalt når brukeren endrer toggle-verdien.
3839
+ */
3840
+ onChange?: (checked: boolean) => void;
3841
+ /**
3842
+ * Om toggle er av eller på.
3843
+ */
3844
+ checked?: boolean;
3845
+ /**
3846
+ * Den initielle verdien når komponenten brukes uncontrolled.
3847
+ * @default false
3848
+ */
3849
+ defaultChecked?: boolean;
3850
+ /**Spesifiserer om input er `disabled`. */
3851
+ disabled?: boolean;
3852
+ /**
3853
+ * Inputelementet blir `readonly` - den kan ikke interageres med. Brukes bl.a. til å presentere input brukeren har fylt ut andre steder.
3854
+ */
3855
+ readOnly?: boolean;
3856
+ /**
3857
+ * Indikerer at verdien prosesseres; viser loading-tilstand og setter `aria-disabled`.
3858
+ */
3859
+ isLoading?: boolean;
3860
+ /**
3861
+ * Størrelse.
3862
+ * @default "medium"
3863
+ */
3864
+ size?: ToggleSize;
3865
+ } & TogglePickedHTMLAttributes, Omit<InputHTMLAttributes<HTMLInputElement>, keyof TogglePickedHTMLAttributes>>;
3866
+ declare const Toggle: react.ForwardRefExoticComponent<Pick<Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "aria-describedby" | "onBlur" | "name" | "value">, "id" | "className"> & {
3867
+ /**Ledetekst; tillater bruk av f.eks. `<VisuallyHidden>` for usynlig tekst. */
3868
+ children?: ReactNode;
3869
+ /**
3870
+ * Callback som blir kalt når brukeren endrer toggle-verdien.
3871
+ */
3872
+ onChange?: (checked: boolean) => void;
3873
+ /**
3874
+ * Om toggle er av eller på.
3875
+ */
3876
+ checked?: boolean;
3877
+ /**
3878
+ * Den initielle verdien når komponenten brukes uncontrolled.
3879
+ * @default false
3880
+ */
3881
+ defaultChecked?: boolean;
3882
+ /**Spesifiserer om input er `disabled`. */
3883
+ disabled?: boolean;
3884
+ /**
3885
+ * Inputelementet blir `readonly` - den kan ikke interageres med. Brukes bl.a. til å presentere input brukeren har fylt ut andre steder.
3886
+ */
3887
+ readOnly?: boolean;
3888
+ /**
3889
+ * Indikerer at verdien prosesseres; viser loading-tilstand og setter `aria-disabled`.
3890
+ */
3891
+ isLoading?: boolean;
3892
+ /**
3893
+ * Størrelse.
3894
+ * @default "medium"
3895
+ */
3896
+ size?: ToggleSize;
3897
+ } & TogglePickedHTMLAttributes & {
3898
+ htmlProps?: Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "aria-describedby" | "onBlur" | "name" | "value"> | undefined;
3899
+ } & react.RefAttributes<HTMLInputElement>>;
3900
+
3801
3901
  type ToggleBarValue = string | number | null | undefined;
3802
3902
  type ToggleBarSize = Extract<Size, 'xsmall' | 'small' | 'medium' | 'large'>;
3803
3903
  type ToggleBarProps<T extends string | number> = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -3842,6 +3942,7 @@ declare const ToggleRadio: react.ForwardRefExoticComponent<Pick<Omit<InputHTMLAt
3842
3942
  declare const ToggleButton: react.ForwardRefExoticComponent<Pick<Omit<react.InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "id" | "className"> & {
3843
3943
  label?: string;
3844
3944
  icon?: SvgIcon;
3945
+ size?: "small" | "xsmall";
3845
3946
  } & CheckboxPickedHTMLAttributes & {
3846
3947
  htmlProps?: Omit<react.InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
3847
3948
  } & react.RefAttributes<HTMLInputElement>>;
@@ -3867,6 +3968,10 @@ type ToggleButtonProps = BaseComponentProps<HTMLInputElement, {
3867
3968
  label?: string;
3868
3969
  /** Ikon. */
3869
3970
  icon?: SvgIcon;
3971
+ /**Størrelse.
3972
+ * @default 'small'
3973
+ */
3974
+ size?: 'small' | 'xsmall';
3870
3975
  } & CheckboxPickedHTMLAttributes, Omit<InputHTMLAttributes<HTMLInputElement>, keyof CheckboxPickedHTMLAttributes>>;
3871
3976
 
3872
3977
  type AnchorElement = react__default.ReactElement & react__default.RefAttributes<HTMLElement>;
@@ -3919,4 +4024,4 @@ declare const VisuallyHidden: {
3919
4024
  displayName: string;
3920
4025
  };
3921
4026
 
3922
- export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, type CardAppearance, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, type CardType, CaringIcon, CharCounter, 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, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, type CommonInputProps, Contrast, type ContrastProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, type DdsTheme, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, 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, ElementAs, type ElementAsProps, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, type FooterLeftProps, FooterList, FooterListGroup, type FooterListGroupProps, FooterListHeader, type FooterListHeaderProps, type FooterListProps, FooterLogo, type FooterLogoProps, type FooterProps, FooterSocialsGroup, type FooterSocialsGroupProps, FooterSocialsList, type FooterSocialsListProps, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassBottomIcon, HourglassDisabledIcon, HourglassEmptyIcon, HourglassFullIcon, HourglassTopIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, Label, type LabelProps, 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, NativeSelect, NativeSelectPlaceholder, type NativeSelectPlaceholderProps, type NativeSelectProps, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuListItemBaseProps, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, ScreenSize, type ScreenSizeLiteral, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectOption, type SelectProps, SettingsIcon, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, type StackProps, type StackSpacing, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StatefulInputProps, type StaticTypographyType, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, type ThumbIconProps, ThumbUpFilledIcon, ThumbUpIcon, 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, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getDefaultText, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, inputTypographyTypes, isCaption, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isLegend, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderCharCounter, renderInputMessage, scrollbarStyling, spacingPropToCn, typographyTypes, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, visibilityTransition };
4027
+ export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, type CardAppearance, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, type CardType, CaringIcon, CharCounter, 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, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, type CommonInputProps, Contrast, type ContrastProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, type DdsTheme, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, 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, ElementAs, type ElementAsProps, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, type FooterLeftProps, FooterList, FooterListGroup, type FooterListGroupProps, FooterListHeader, type FooterListHeaderProps, type FooterListProps, FooterLogo, type FooterLogoProps, type FooterProps, FooterSocialsGroup, type FooterSocialsGroupProps, FooterSocialsList, type FooterSocialsListProps, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassBottomIcon, HourglassDisabledIcon, HourglassEmptyIcon, HourglassFullIcon, HourglassTopIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, Label, type LabelProps, 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, NativeSelect, NativeSelectPlaceholder, type NativeSelectPlaceholderProps, type NativeSelectProps, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuListItemBaseProps, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, ScreenSize, type ScreenSizeLiteral, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, type StackProps, type StackSpacing, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StatefulInputProps, type StaticTypographyType, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, type ThumbIconProps, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseFloatPositionOptions, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getDefaultText, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, inputTypographyTypes, isCaption, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isLegend, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderCharCounter, renderInputMessage, scrollbarStyling, spacingPropToCn, typographyTypes, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, visibilityTransition };