@norges-domstoler/dds-components 17.7.0 → 18.0.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/README.md +11 -63
- package/dist/index.css +172 -304
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +672 -122
- package/dist/index.d.ts +672 -122
- package/dist/index.js +1486 -3004
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1673 -3205
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import react__default, { ElementType, ReactNode, HTMLAttributes, InputHTMLAttrib
|
|
|
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';
|
|
6
|
-
import * as styled_components from 'styled-components';
|
|
7
6
|
import { UseFloatingReturn, Strategy, Placement as Placement$1 } from '@floating-ui/react-dom';
|
|
8
7
|
import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
|
|
9
8
|
import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
|
|
10
9
|
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
11
10
|
import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
12
11
|
import { OptionProps, GroupBase, SingleValueProps, Props as Props$1, SelectInstance } from 'react-select';
|
|
12
|
+
import { ddsTokens } from '@norges-domstoler/dds-design-tokens';
|
|
13
13
|
|
|
14
14
|
declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
15
15
|
declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
@@ -37,9 +37,6 @@ declare const ElementAs: react.ForwardRefExoticComponent<{
|
|
|
37
37
|
type HiddenInputProps = InputHTMLAttributes<HTMLInputElement>;
|
|
38
38
|
declare const HiddenInput: react.ForwardRefExoticComponent<HiddenInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
39
39
|
|
|
40
|
-
type Density = 'normal' | 'compact' | 'extraCompact';
|
|
41
|
-
declare function getDensityCn(value: Density): "normal" | "compact" | "extra-compact";
|
|
42
|
-
|
|
43
40
|
type Direction$1 = 'row' | 'column';
|
|
44
41
|
|
|
45
42
|
/**
|
|
@@ -103,6 +100,8 @@ type PropsOf<T extends As> = ComponentPropsWithoutRef<T> & {
|
|
|
103
100
|
as?: T;
|
|
104
101
|
};
|
|
105
102
|
|
|
103
|
+
type Size = 'xxlarge' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
104
|
+
|
|
106
105
|
/**
|
|
107
106
|
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
108
107
|
*
|
|
@@ -127,20 +126,22 @@ declare function TextOverflowEllipsisInner({ className, ...rest }: ComponentProp
|
|
|
127
126
|
type DDSTextColor = 'textOnAction' | 'textOnInverse' | 'textOnStatusDefault' | 'textOnStatusStrong' | 'textActionResting' | 'textActionHover' | 'textActionVisited' | 'textDefault' | 'textRequiredfield' | 'textSubtle' | 'textMedium' | 'textOnNotification' | 'iconOnAction' | 'iconOnInfoDefault' | 'iconOnSuccessDefault' | 'iconOnDangerDefault' | 'iconOnWarningDefault' | 'iconOnInfoStrong' | 'iconOnSuccessStrong' | 'iconOnDangerStrong' | 'iconOnWarningStrong' | 'iconOnInverse' | 'iconActionResting' | 'iconActionHover' | 'iconDefault' | 'iconSubtle' | 'iconMedium';
|
|
128
127
|
type TextColor = DDSTextColor | Property.Color;
|
|
129
128
|
|
|
130
|
-
type
|
|
131
|
-
type
|
|
132
|
-
type
|
|
133
|
-
type
|
|
134
|
-
type
|
|
135
|
-
type
|
|
136
|
-
type
|
|
137
|
-
type
|
|
138
|
-
type
|
|
139
|
-
type StaticTypographyType = OtherTypographyType | LabelTypographyType;
|
|
140
|
-
type HyphenTypographyType = 'body-sans-01' | 'body-sans-02' | 'body-sans-03' | 'body-sans-04' | 'heading-sans-01' | 'heading-sans-02' | 'heading-sans-03' | 'heading-sans-04' | 'heading-sans-05' | 'heading-sans-06' | 'heading-sans-07' | 'heading-sans-08' | 'lead-sans-01' | 'lead-sans-02' | 'lead-sans-03' | 'lead-sans-04' | 'lead-sans-05' | 'supporting-style-helper-text-01' | 'supporting-style-placeholder-text-01' | 'supporting-style-placeholder-text-02' | 'supporting-style-placeholder-text-03' | 'supporting-style-tiny-01' | 'supporting-style-tiny-02' | 'a' | 'supporting-style-label-01';
|
|
129
|
+
type TypographyBodyType = 'bodyXsmall' | 'bodySmall' | 'bodyMedium' | 'bodyLarge';
|
|
130
|
+
type TypographyHeadingType = 'headingXxsmall' | 'headingXsmall' | 'headingSmall' | 'headingMedium' | 'headingLarge' | 'headingXlarge' | 'headingXxlarge';
|
|
131
|
+
type TypographyLeadType = 'leadMedium';
|
|
132
|
+
type TypographyAnchorType = 'a';
|
|
133
|
+
type TypographyLabelType = 'labelMedium';
|
|
134
|
+
type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType;
|
|
135
|
+
type TypographyType = TypographyAnchorType | TypographyLabelType | OtherTypographyType;
|
|
136
|
+
type StaticTypographyType = OtherTypographyType | TypographyLabelType;
|
|
137
|
+
type HyphenTypographyType = 'body-xsmall' | 'body-small' | 'body-medium' | 'body-large' | 'heading-xxsmall' | 'heading-xsmall' | 'heading-small' | 'heading-medium' | 'heading-large' | 'heading-xlarge' | 'heading-xxlarge' | 'lead-medium' | 'a' | 'label-medium';
|
|
141
138
|
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';
|
|
142
139
|
type BaseTypographyProps = PropsWithChildren<{
|
|
143
|
-
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa.
|
|
140
|
+
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa.
|
|
141
|
+
* Brukes hovedsakelig i artikler og lignende.
|
|
142
|
+
* **OBS!** har forskjellig virkning på ulike typografityper.
|
|
143
|
+
* `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens label får margin topp og bunn.
|
|
144
|
+
* */
|
|
144
145
|
withMargins?: boolean;
|
|
145
146
|
}> & Pick<HTMLAttributes<HTMLElement>, 'style'>;
|
|
146
147
|
type TypographyComponentProps = BaseTypographyProps & {
|
|
@@ -168,10 +169,10 @@ type LabelTypographyProps = BaseComponentProps<HTMLLabelElement, TypographyCompo
|
|
|
168
169
|
type OtherTypographyProps = BaseComponentProps<HTMLElement, TypographyComponentProps, HTMLAttributes<HTMLElement>>;
|
|
169
170
|
type TypographyProps = ({
|
|
170
171
|
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
171
|
-
typographyType?:
|
|
172
|
+
typographyType?: TypographyAnchorType;
|
|
172
173
|
} & AnchorTypographyProps) | ({
|
|
173
174
|
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
174
|
-
typographyType?:
|
|
175
|
+
typographyType?: TypographyLabelType;
|
|
175
176
|
} & LabelTypographyProps) | ({
|
|
176
177
|
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
177
178
|
typographyType?: OtherTypographyType;
|
|
@@ -179,8 +180,8 @@ type TypographyProps = ({
|
|
|
179
180
|
declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLElement>>;
|
|
180
181
|
|
|
181
182
|
declare const defaultTypographyType: TypographyBodyType;
|
|
182
|
-
declare const defaultTypographyTypeClassName
|
|
183
|
-
declare const getElementType: (element:
|
|
183
|
+
declare const defaultTypographyTypeClassName: HyphenTypographyType;
|
|
184
|
+
declare const getElementType: (element: TypographyType) => ElementType;
|
|
184
185
|
declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
185
186
|
declare const isLegend: (as: ElementType) => boolean;
|
|
186
187
|
declare const isCaption: (as: ElementType) => boolean;
|
|
@@ -248,7 +249,7 @@ type LinkProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
|
248
249
|
external?: boolean;
|
|
249
250
|
/**Om lenken kan få `:visited`-styling. */
|
|
250
251
|
withVisited?: boolean;
|
|
251
|
-
/**Spesifiserer typografistil basert på utvalget for brødtekst.
|
|
252
|
+
/**Spesifiserer typografistil basert på utvalget for brødtekst. Arver hvis ikke oppgitt. */
|
|
252
253
|
typographyType?: TypographyBodyType;
|
|
253
254
|
} & BaseTypographyProps & PickedHTMLAttributes$3, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof PickedHTMLAttributes$3>>;
|
|
254
255
|
declare const Link: react.ForwardRefExoticComponent<Pick<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target" | "href">, "id" | "className"> & {
|
|
@@ -256,7 +257,7 @@ declare const Link: react.ForwardRefExoticComponent<Pick<Omit<AnchorHTMLAttribut
|
|
|
256
257
|
external?: boolean;
|
|
257
258
|
/**Om lenken kan få `:visited`-styling. */
|
|
258
259
|
withVisited?: boolean;
|
|
259
|
-
/**Spesifiserer typografistil basert på utvalget for brødtekst.
|
|
260
|
+
/**Spesifiserer typografistil basert på utvalget for brødtekst. Arver hvis ikke oppgitt. */
|
|
260
261
|
typographyType?: TypographyBodyType;
|
|
261
262
|
} & {
|
|
262
263
|
withMargins?: boolean;
|
|
@@ -291,7 +292,7 @@ interface CommonInputProps {
|
|
|
291
292
|
/**Feilmelding. Setter også error state. */
|
|
292
293
|
errorMessage?: string;
|
|
293
294
|
}
|
|
294
|
-
type InputSize = 'medium' | 'small' | '
|
|
295
|
+
type InputSize = Extract<Size, 'medium' | 'small' | 'xsmall'>;
|
|
295
296
|
type InputProps = CommonInputProps & {
|
|
296
297
|
/**Størrelse på inputfeltet.
|
|
297
298
|
* @default "medium"
|
|
@@ -554,25 +555,17 @@ type BreakpointBasedProps<T extends keyof StandardProperties> = {
|
|
|
554
555
|
[k in ScreenSizeLiteral]?: StandardProperties[T];
|
|
555
556
|
};
|
|
556
557
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
boxShadow: string;
|
|
566
|
-
};
|
|
567
|
-
declare const focusDangerInputfield: {
|
|
568
|
-
borderColor: "#77838c";
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
declare const outlineOffset: "2px";
|
|
572
|
-
declare const outlineInset: string;
|
|
558
|
+
/**
|
|
559
|
+
* Styling utils i TS (CSS-in-JS)
|
|
560
|
+
*/
|
|
561
|
+
/**
|
|
562
|
+
* DDS utils
|
|
563
|
+
*/
|
|
564
|
+
declare const outlineOffset = "var(--dds-spacing-x0-125)";
|
|
565
|
+
declare const outlineInset = "calc(var(--dds-spacing-x0-125) * -1)";
|
|
573
566
|
declare const focusVisible: {
|
|
574
567
|
outline: string;
|
|
575
|
-
outlineOffset:
|
|
568
|
+
outlineOffset: string;
|
|
576
569
|
boxShadow: string;
|
|
577
570
|
};
|
|
578
571
|
declare const focusVisibleTransitionValue = "outline-offset 0.2s";
|
|
@@ -580,11 +573,24 @@ declare const focusVisibleInset: {
|
|
|
580
573
|
outline: string;
|
|
581
574
|
outlineOffset: string;
|
|
582
575
|
};
|
|
583
|
-
declare const
|
|
584
|
-
|
|
585
|
-
|
|
576
|
+
declare const scrollbarStyling: {
|
|
577
|
+
scrollbarColor: string;
|
|
578
|
+
scrollbarWidth: "thin";
|
|
579
|
+
'&::-webkit-scrollbar': {
|
|
580
|
+
width: string;
|
|
581
|
+
height: string;
|
|
582
|
+
};
|
|
583
|
+
'&::-webkit-scrollbar-track': {
|
|
584
|
+
background: string;
|
|
585
|
+
};
|
|
586
|
+
'&::-webkit-scrollbar-thumb': {
|
|
587
|
+
background: string;
|
|
588
|
+
};
|
|
586
589
|
};
|
|
587
|
-
|
|
590
|
+
declare const visibilityTransition: (open: boolean) => string;
|
|
591
|
+
/**
|
|
592
|
+
* Generelle utils
|
|
593
|
+
*/
|
|
588
594
|
declare const hideInput: {
|
|
589
595
|
clip: string;
|
|
590
596
|
position: string;
|
|
@@ -592,21 +598,10 @@ declare const hideInput: {
|
|
|
592
598
|
width: string;
|
|
593
599
|
margin: number;
|
|
594
600
|
};
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
boxShadow: string;
|
|
599
|
-
};
|
|
600
|
-
declare const hoverDangerInputfield: {
|
|
601
|
-
borderColor: "#d83737";
|
|
602
|
-
boxShadow: string;
|
|
603
|
-
};
|
|
604
|
-
|
|
605
|
-
declare const normalizeButton: {
|
|
606
|
-
margin: number;
|
|
607
|
-
textTransform: Property.TextTransform;
|
|
601
|
+
declare const inheritLinkStyling: {
|
|
602
|
+
color: string;
|
|
603
|
+
textDecoration: string;
|
|
608
604
|
};
|
|
609
|
-
|
|
610
605
|
declare const removeButtonStyling: {
|
|
611
606
|
background: string;
|
|
612
607
|
color: string;
|
|
@@ -616,52 +611,22 @@ declare const removeButtonStyling: {
|
|
|
616
611
|
cursor: string;
|
|
617
612
|
outline: string;
|
|
618
613
|
};
|
|
619
|
-
|
|
620
614
|
declare const removeListStyling: {
|
|
621
615
|
listStyle: string;
|
|
622
616
|
padding: number;
|
|
623
617
|
margin: number;
|
|
624
618
|
};
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
textDecoration: string;
|
|
629
|
-
};
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* CSS-in-JS scrollbar styling
|
|
633
|
-
*/
|
|
634
|
-
declare const scrollbarStyling: {
|
|
635
|
-
scrollbarColor: string;
|
|
636
|
-
scrollbarWidth: "thin";
|
|
637
|
-
'&::-webkit-scrollbar': {
|
|
638
|
-
width: string;
|
|
639
|
-
height: string;
|
|
640
|
-
};
|
|
641
|
-
'&::-webkit-scrollbar-track': {
|
|
642
|
-
background: string;
|
|
643
|
-
};
|
|
644
|
-
'&::-webkit-scrollbar-thumb': {
|
|
645
|
-
background: string;
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
declare const selection: {
|
|
650
|
-
color: "#0b0d0e";
|
|
651
|
-
backgroundColor: "#ffe6df";
|
|
619
|
+
declare const normalizeButton: {
|
|
620
|
+
margin: number;
|
|
621
|
+
textTransform: Property.TextTransform;
|
|
652
622
|
};
|
|
653
623
|
|
|
654
|
-
declare const visibilityTransition: (open: boolean) => styled_components.RuleSet<object>;
|
|
655
|
-
|
|
656
|
-
type StyledSvgProps = SVGAttributes<SVGSVGElement>;
|
|
657
|
-
declare function StyledSvg({ height, width, fill, className, ...props }: StyledSvgProps): react_jsx_runtime.JSX.Element;
|
|
658
|
-
|
|
659
624
|
type SvgProps = {
|
|
660
625
|
title?: string;
|
|
661
626
|
} & SVGAttributes<SVGSVGElement>;
|
|
662
627
|
type SvgIcon = (props: SvgProps) => JSX.Element;
|
|
663
628
|
|
|
664
|
-
declare function SvgWrapper(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
629
|
+
declare function SvgWrapper({ height, width, fill, className, title, children, ...props }: SvgProps): react_jsx_runtime.JSX.Element;
|
|
665
630
|
|
|
666
631
|
declare function AddressShieldedIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
667
632
|
|
|
@@ -829,6 +794,8 @@ declare function InstagramIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
829
794
|
|
|
830
795
|
declare function JordskifterettIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
831
796
|
|
|
797
|
+
declare function JordskiftesakIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
798
|
+
|
|
832
799
|
declare function KeyIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
833
800
|
|
|
834
801
|
declare function LagmannsrettIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1065,6 +1032,7 @@ declare const index_ImageIcon: typeof ImageIcon;
|
|
|
1065
1032
|
declare const index_InfoIcon: typeof InfoIcon;
|
|
1066
1033
|
declare const index_InstagramIcon: typeof InstagramIcon;
|
|
1067
1034
|
declare const index_JordskifterettIcon: typeof JordskifterettIcon;
|
|
1035
|
+
declare const index_JordskiftesakIcon: typeof JordskiftesakIcon;
|
|
1068
1036
|
declare const index_KeyIcon: typeof KeyIcon;
|
|
1069
1037
|
declare const index_LagmannsrettIcon: typeof LagmannsrettIcon;
|
|
1070
1038
|
declare const index_LanguageIcon: typeof LanguageIcon;
|
|
@@ -1138,7 +1106,7 @@ declare const index_XIcon: typeof XIcon;
|
|
|
1138
1106
|
declare const index_ZoomInIcon: typeof ZoomInIcon;
|
|
1139
1107
|
declare const index_ZoomOutIcon: typeof ZoomOutIcon;
|
|
1140
1108
|
declare namespace index {
|
|
1141
|
-
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FlickrIcon as FlickrIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_GuardianIcon as GuardianIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HelpSimpleIcon as HelpSimpleIcon, index_HomeIcon as HomeIcon, index_HourglassBottomIcon as HourglassBottomIcon, index_HourglassDisabledIcon as HourglassDisabledIcon, index_HourglassEmptyIcon as HourglassEmptyIcon, index_HourglassFullIcon as HourglassFullIcon, index_HourglassTopIcon as HourglassTopIcon, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PowerOfAttorneyIcon as PowerOfAttorneyIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_ThumbDownFilledIcon as ThumbDownFilledIcon, index_ThumbDownIcon as ThumbDownIcon, index_ThumbUpFilledIcon as ThumbUpFilledIcon, index_ThumbUpIcon as ThumbUpIcon, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_WebexIcon as WebexIcon, index_XIcon as XIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1109
|
+
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FlickrIcon as FlickrIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_GuardianIcon as GuardianIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HelpSimpleIcon as HelpSimpleIcon, index_HomeIcon as HomeIcon, index_HourglassBottomIcon as HourglassBottomIcon, index_HourglassDisabledIcon as HourglassDisabledIcon, index_HourglassEmptyIcon as HourglassEmptyIcon, index_HourglassFullIcon as HourglassFullIcon, index_HourglassTopIcon as HourglassTopIcon, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_JordskiftesakIcon as JordskiftesakIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PowerOfAttorneyIcon as PowerOfAttorneyIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_ThumbDownFilledIcon as ThumbDownFilledIcon, index_ThumbDownIcon as ThumbDownIcon, index_ThumbUpFilledIcon as ThumbUpFilledIcon, index_ThumbUpIcon as ThumbUpIcon, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_WebexIcon as WebexIcon, index_XIcon as XIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1142
1110
|
}
|
|
1143
1111
|
|
|
1144
1112
|
/**
|
|
@@ -1229,7 +1197,7 @@ declare namespace Icon {
|
|
|
1229
1197
|
}
|
|
1230
1198
|
|
|
1231
1199
|
type ButtonPurpose = 'primary' | 'secondary' | 'danger' | 'tertiary';
|
|
1232
|
-
type ButtonSize = '
|
|
1200
|
+
type ButtonSize = Extract<Size, 'xsmall' | 'small' | 'medium' | 'large'>;
|
|
1233
1201
|
type IconPosition = 'left' | 'right';
|
|
1234
1202
|
type PickedHTMLAttributes$2 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type'>;
|
|
1235
1203
|
type ButtonProps = BaseComponentProps<HTMLButtonElement, {
|
|
@@ -1278,7 +1246,7 @@ declare const Button: react.ForwardRefExoticComponent<Pick<Omit<react.ButtonHTML
|
|
|
1278
1246
|
onFocus?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1279
1247
|
onBlur?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1280
1248
|
onClick?: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
1281
|
-
type?: "submit" | "reset" | "button" | undefined;
|
|
1249
|
+
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
1282
1250
|
} & {
|
|
1283
1251
|
htmlProps?: Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type"> | undefined;
|
|
1284
1252
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1351,13 +1319,13 @@ declare const Card: {
|
|
|
1351
1319
|
displayName: string;
|
|
1352
1320
|
};
|
|
1353
1321
|
|
|
1354
|
-
type
|
|
1322
|
+
type CardExpandableProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1355
1323
|
/**Spesifiserer om body skal være utvidet ved innlastning. */
|
|
1356
1324
|
isExpanded?: boolean;
|
|
1357
1325
|
/**For å lytte til endringer i expanded-state. */
|
|
1358
1326
|
onChange?: (expanded: boolean) => void;
|
|
1359
1327
|
}>;
|
|
1360
|
-
declare const
|
|
1328
|
+
declare const CardExpandable: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
1361
1329
|
/**Spesifiserer om body skal være utvidet ved innlastning. */
|
|
1362
1330
|
isExpanded?: boolean;
|
|
1363
1331
|
/**For å lytte til endringer i expanded-state. */
|
|
@@ -1368,7 +1336,7 @@ declare const CardAccordion: react.ForwardRefExoticComponent<Pick<react.HTMLAttr
|
|
|
1368
1336
|
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
1369
1337
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1370
1338
|
|
|
1371
|
-
type
|
|
1339
|
+
type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
1372
1340
|
/**Overskriver default padding. */
|
|
1373
1341
|
padding?: Property.Padding<string>;
|
|
1374
1342
|
/**Overskriver default teksttype. */
|
|
@@ -1376,13 +1344,13 @@ type CardAccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonEl
|
|
|
1376
1344
|
/**Angir om teksten skal være i "bold"-format. */
|
|
1377
1345
|
bold?: boolean;
|
|
1378
1346
|
}, ButtonHTMLAttributes<HTMLButtonElement>>, 'id'>;
|
|
1379
|
-
declare const
|
|
1347
|
+
declare const CardExpandableHeader: react.ForwardRefExoticComponent<CardExpandableHeaderProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1380
1348
|
|
|
1381
|
-
type
|
|
1349
|
+
type CardExpandableBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1382
1350
|
/**Overskriver default padding. */
|
|
1383
1351
|
padding?: Property.Padding<string>;
|
|
1384
1352
|
}>, 'id'>;
|
|
1385
|
-
declare const
|
|
1353
|
+
declare const CardExpandableBody: react.ForwardRefExoticComponent<CardExpandableBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
1386
1354
|
|
|
1387
1355
|
type ChipProps = BaseComponentProps<HTMLDivElement, {
|
|
1388
1356
|
/** Teksten som vises i komponenten. */
|
|
@@ -1514,12 +1482,13 @@ declare const DescriptionListGroup: react.ForwardRefExoticComponent<Pick<react.H
|
|
|
1514
1482
|
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
1515
1483
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1516
1484
|
|
|
1485
|
+
type DetailListSize = Extract<Size, 'large' | 'medium' | 'small'>;
|
|
1517
1486
|
type DetailListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
1518
1487
|
/**
|
|
1519
|
-
*
|
|
1520
|
-
* @default "
|
|
1488
|
+
* Størrelse på tabellen. Påvirker tetthet i cellene og font.
|
|
1489
|
+
* @default "medium"
|
|
1521
1490
|
*/
|
|
1522
|
-
|
|
1491
|
+
size?: DetailListSize;
|
|
1523
1492
|
/**
|
|
1524
1493
|
* Om rader skal ha skillelinje.
|
|
1525
1494
|
* @default true
|
|
@@ -1533,10 +1502,10 @@ type DetailListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
|
1533
1502
|
}>;
|
|
1534
1503
|
declare const DetailList: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDListElement>, "id" | "className"> & {
|
|
1535
1504
|
/**
|
|
1536
|
-
*
|
|
1537
|
-
* @default "
|
|
1505
|
+
* Størrelse på tabellen. Påvirker tetthet i cellene og font.
|
|
1506
|
+
* @default "medium"
|
|
1538
1507
|
*/
|
|
1539
|
-
|
|
1508
|
+
size?: DetailListSize;
|
|
1540
1509
|
/**
|
|
1541
1510
|
* Om rader skal ha skillelinje.
|
|
1542
1511
|
* @default true
|
|
@@ -2760,13 +2729,13 @@ declare const CheckboxGroup: {
|
|
|
2760
2729
|
};
|
|
2761
2730
|
|
|
2762
2731
|
declare const RadioButton: react.ForwardRefExoticComponent<Pick<Omit<react.InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required">, "id" | "className"> & SelectionControlCommonProps & {
|
|
2763
|
-
"aria-describedby"?: string | undefined;
|
|
2732
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
2764
2733
|
onChange?: react.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
2765
|
-
name?: string | undefined;
|
|
2766
|
-
value?: string | readonly string[] |
|
|
2767
|
-
checked?: boolean | undefined;
|
|
2768
|
-
readOnly?: boolean | undefined;
|
|
2769
|
-
required?: boolean | undefined;
|
|
2734
|
+
name?: string | undefined | undefined;
|
|
2735
|
+
value?: string | number | readonly string[] | undefined;
|
|
2736
|
+
checked?: boolean | undefined | undefined;
|
|
2737
|
+
readOnly?: boolean | undefined | undefined;
|
|
2738
|
+
required?: boolean | undefined | undefined;
|
|
2770
2739
|
} & {
|
|
2771
2740
|
children?: react.ReactNode | undefined;
|
|
2772
2741
|
} & {
|
|
@@ -2836,7 +2805,7 @@ type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
|
2836
2805
|
*/
|
|
2837
2806
|
color?: TextColor;
|
|
2838
2807
|
/**Størrelse; Setter høyde og bredde på spinneren.
|
|
2839
|
-
* @default
|
|
2808
|
+
* @default "var(--dds-icon-size-medium)"
|
|
2840
2809
|
*/
|
|
2841
2810
|
size?: Property.Width;
|
|
2842
2811
|
/**Tekst som vises ved hover.
|
|
@@ -2912,12 +2881,13 @@ declare const VStack: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<
|
|
|
2912
2881
|
declare function spacingPropToCn(value: string): HyphenSpacingProps;
|
|
2913
2882
|
type HyphenSpacingProps = 'x-0-125' | 'x-0-25' | 'x-0-5' | 'x-0-75' | 'x-1' | 'x-1-5' | 'x-2' | 'x-2-5' | 'x-3' | 'x-4' | 'x-6' | 'x-10';
|
|
2914
2883
|
|
|
2915
|
-
type
|
|
2884
|
+
type TableSize = Extract<Size, 'small' | 'medium' | 'large'>;
|
|
2916
2885
|
type TableProps = {
|
|
2917
|
-
/**
|
|
2918
|
-
*
|
|
2886
|
+
/**
|
|
2887
|
+
* Størrelse på tabellen. Påvirker tetthet i cellene og font.
|
|
2888
|
+
* @default "medium"
|
|
2919
2889
|
*/
|
|
2920
|
-
|
|
2890
|
+
size?: TableSize;
|
|
2921
2891
|
/**Spesifiserer om cellene i `<Head>` skal bli sticky ved scrolling. */
|
|
2922
2892
|
stickyHeader?: boolean;
|
|
2923
2893
|
/**Legger skillelinjer mellom radene. */
|
|
@@ -2958,7 +2928,7 @@ declare const CollapsibleTable$1: react.ForwardRefExoticComponent<{
|
|
|
2958
2928
|
headerValues: HeaderValues;
|
|
2959
2929
|
definingColumnIndex?: Array<number>;
|
|
2960
2930
|
} & {
|
|
2961
|
-
|
|
2931
|
+
size?: TableSize;
|
|
2962
2932
|
stickyHeader?: boolean;
|
|
2963
2933
|
withDividers?: boolean;
|
|
2964
2934
|
} & react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
|
|
@@ -3035,7 +3005,7 @@ declare const SortCell: react.ForwardRefExoticComponent<{
|
|
|
3035
3005
|
} & Omit<TableCellProps, "type"> & react.RefAttributes<HTMLTableCellElement>>;
|
|
3036
3006
|
|
|
3037
3007
|
declare const Table$1: react.ForwardRefExoticComponent<{
|
|
3038
|
-
|
|
3008
|
+
size?: TableSize;
|
|
3039
3009
|
stickyHeader?: boolean;
|
|
3040
3010
|
withDividers?: boolean;
|
|
3041
3011
|
} & react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
|
|
@@ -3245,8 +3215,588 @@ interface TextAffixProps {
|
|
|
3245
3215
|
readOnly?: boolean;
|
|
3246
3216
|
}
|
|
3247
3217
|
|
|
3218
|
+
type DdsTheme = keyof typeof ddsTokens;
|
|
3219
|
+
interface ThemeContextProps {
|
|
3220
|
+
theme: DdsTheme;
|
|
3221
|
+
el: HTMLDivElement | null;
|
|
3222
|
+
}
|
|
3223
|
+
declare const ThemeContext: react.Context<ThemeContextProps | undefined>;
|
|
3224
|
+
interface ThemeProviderProps {
|
|
3225
|
+
/**
|
|
3226
|
+
* Elsa tema for applikasjonen.
|
|
3227
|
+
* @default "core"
|
|
3228
|
+
*/
|
|
3229
|
+
theme?: DdsTheme;
|
|
3230
|
+
/**
|
|
3231
|
+
* Selve applikasjonen.
|
|
3232
|
+
*/
|
|
3233
|
+
children?: ReactNode;
|
|
3234
|
+
}
|
|
3235
|
+
declare function ThemeProvider({ theme, children, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
3236
|
+
/**
|
|
3237
|
+
* Hook for å hente gjeldende tema og temanavn. Brukes inni ThemeProvider.
|
|
3238
|
+
*
|
|
3239
|
+
* @returns tema med JS-konstanter og navnet på temaet.
|
|
3240
|
+
*/
|
|
3241
|
+
declare function useTheme(): {
|
|
3242
|
+
theme: {
|
|
3243
|
+
ddsFontFamilySans: "'IBM Plex Sans', Arial, sans-serif";
|
|
3244
|
+
ddsFontFamilyMonospace: "'IBM Plex Mono', 'Courier New', monospace";
|
|
3245
|
+
ddsFontSizeX5: "5rem";
|
|
3246
|
+
ddsFontSizeX5NumberRem: 5;
|
|
3247
|
+
ddsFontSizeX4: "4rem";
|
|
3248
|
+
ddsFontSizeX4NumberRem: 4;
|
|
3249
|
+
ddsFontSizeX3: "3rem";
|
|
3250
|
+
ddsFontSizeX3NumberRem: 3;
|
|
3251
|
+
ddsFontSizeX25: "2.5rem";
|
|
3252
|
+
ddsFontSizeX25NumberRem: 2.5;
|
|
3253
|
+
ddsFontSizeX2: "2rem";
|
|
3254
|
+
ddsFontSizeX2NumberRem: 2;
|
|
3255
|
+
ddsFontSizeX15: "1.5rem";
|
|
3256
|
+
ddsFontSizeX15NumberRem: 1.5;
|
|
3257
|
+
ddsFontSizeX125: "1.25rem";
|
|
3258
|
+
ddsFontSizeX125NumberRem: 1.25;
|
|
3259
|
+
ddsFontSizeX1125: "1.125rem";
|
|
3260
|
+
ddsFontSizeX1125NumberRem: 1.125;
|
|
3261
|
+
ddsFontSizeX1: "1rem";
|
|
3262
|
+
ddsFontSizeX1NumberRem: 1;
|
|
3263
|
+
ddsFontSizeX0875: "0.875rem";
|
|
3264
|
+
ddsFontSizeX0875NumberRem: 0.875;
|
|
3265
|
+
ddsFontSizeX075: "0.75rem";
|
|
3266
|
+
ddsFontSizeX075NumberRem: 0.75;
|
|
3267
|
+
ddsFontSizeXxlarge: "3rem";
|
|
3268
|
+
ddsFontSizeXxlargeNumberRem: 3;
|
|
3269
|
+
ddsFontSizeXlarge: "2rem";
|
|
3270
|
+
ddsFontSizeXlargeNumberRem: 2;
|
|
3271
|
+
ddsFontSizeLarge: "1.5rem";
|
|
3272
|
+
ddsFontSizeLargeNumberRem: 1.5;
|
|
3273
|
+
ddsFontSizeMedium: "1.25rem";
|
|
3274
|
+
ddsFontSizeMediumNumberRem: 1.25;
|
|
3275
|
+
ddsFontSizeSmall: "1.125rem";
|
|
3276
|
+
ddsFontSizeSmallNumberRem: 1.125;
|
|
3277
|
+
ddsFontSizeXsmall: "1rem";
|
|
3278
|
+
ddsFontSizeXsmallNumberRem: 1;
|
|
3279
|
+
ddsFontSizeXxsmall: "0.875rem";
|
|
3280
|
+
ddsFontSizeXxsmallNumberRem: 0.875;
|
|
3281
|
+
ddsFontSizeXxxsmall: "0.75rem";
|
|
3282
|
+
ddsFontSizeXxxsmallNumberRem: 0.75;
|
|
3283
|
+
ddsFontWeightLight: "300";
|
|
3284
|
+
ddsFontWeightNormal: "400";
|
|
3285
|
+
ddsFontWeightBold: "600";
|
|
3286
|
+
ddsFontLineheightX1: 1.5;
|
|
3287
|
+
ddsFontLineheightX2: 1.35;
|
|
3288
|
+
ddsFontLineheightX3: 1.2;
|
|
3289
|
+
ddsFontLineheightList: 2.5;
|
|
3290
|
+
ddsFontLetterSpacingTight: "-0.01em";
|
|
3291
|
+
ddsFontLetterSpacingNormal: "0em";
|
|
3292
|
+
ddsFontLetterSpacingLoose: "0.01em";
|
|
3293
|
+
ddsFontParagraphSpacingSmall: "1em";
|
|
3294
|
+
ddsFontParagraphSpacingSmallNumberEm: 1;
|
|
3295
|
+
ddsFontParagraphSpacingMedium: "0.66em";
|
|
3296
|
+
ddsFontParagraphSpacingMediumNumberEm: 0.66;
|
|
3297
|
+
ddsFontParagraphSpacingLarge: "0.5em";
|
|
3298
|
+
ddsFontParagraphSpacingLargeNumberEm: 0.5;
|
|
3299
|
+
ddsFontParagraphSpacingHeading: "0.4em";
|
|
3300
|
+
ddsFontParagraphSpacingHeadingNumberEm: 0.4;
|
|
3301
|
+
ddsFontStyleUnderline: "underline";
|
|
3302
|
+
ddsFontStyleNormal: "none";
|
|
3303
|
+
ddsFontStyleItalic: "italic";
|
|
3304
|
+
ddsSpacingPaddingTopHeading: "0.7em";
|
|
3305
|
+
ddsSpacingPaddingTopHeadingNumberEm: 0.7;
|
|
3306
|
+
ddsSpacingX0: "0rem";
|
|
3307
|
+
ddsSpacingX0NumberRem: 0;
|
|
3308
|
+
ddsSpacingX0125: "0.125rem";
|
|
3309
|
+
ddsSpacingX0125NumberRem: 0.125;
|
|
3310
|
+
ddsSpacingX025: "0.25rem";
|
|
3311
|
+
ddsSpacingX025NumberRem: 0.25;
|
|
3312
|
+
ddsSpacingX05: "0.5rem";
|
|
3313
|
+
ddsSpacingX05NumberRem: 0.5;
|
|
3314
|
+
ddsSpacingX075: "0.75rem";
|
|
3315
|
+
ddsSpacingX075NumberRem: 0.75;
|
|
3316
|
+
ddsSpacingX1: "1rem";
|
|
3317
|
+
ddsSpacingX1NumberRem: 1;
|
|
3318
|
+
ddsSpacingX15: "1.5rem";
|
|
3319
|
+
ddsSpacingX15NumberRem: 1.5;
|
|
3320
|
+
ddsSpacingX2: "2rem";
|
|
3321
|
+
ddsSpacingX2NumberRem: 2;
|
|
3322
|
+
ddsSpacingX25: "2.5rem";
|
|
3323
|
+
ddsSpacingX25NumberRem: 2.5;
|
|
3324
|
+
ddsSpacingX3: "3rem";
|
|
3325
|
+
ddsSpacingX3NumberRem: 3;
|
|
3326
|
+
ddsSpacingX4: "4rem";
|
|
3327
|
+
ddsSpacingX4NumberRem: 4;
|
|
3328
|
+
ddsSpacingX6: "6rem";
|
|
3329
|
+
ddsSpacingX6NumberRem: 6;
|
|
3330
|
+
ddsSpacingX10: "10rem";
|
|
3331
|
+
ddsSpacingX10NumberRem: 10;
|
|
3332
|
+
ddsShadow1: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
3333
|
+
ddsShadow2: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
3334
|
+
ddsShadow3: "4px 8px 16px 0px rgba(11, 13, 14, 10%)";
|
|
3335
|
+
ddsShadow4: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
3336
|
+
ddsGridXsGutterSize: "16px";
|
|
3337
|
+
ddsGridXsGutterSizeNumberPx: 16;
|
|
3338
|
+
ddsGridXsCount: "4";
|
|
3339
|
+
ddsGridSmGutterSize: "16px";
|
|
3340
|
+
ddsGridSmGutterSizeNumberPx: 16;
|
|
3341
|
+
ddsGridSmCount: "8";
|
|
3342
|
+
ddsGridLgGutterSize: "24px";
|
|
3343
|
+
ddsGridLgGutterSizeNumberPx: 24;
|
|
3344
|
+
ddsGridLgCount: "12";
|
|
3345
|
+
ddsGridMdGutterSize: "24px";
|
|
3346
|
+
ddsGridMdGutterSizeNumberPx: 24;
|
|
3347
|
+
ddsGridMdCount: "12";
|
|
3348
|
+
ddsGridXlGutterSize: "24px";
|
|
3349
|
+
ddsGridXlGutterSizeNumberPx: 24;
|
|
3350
|
+
ddsGridXlCount: "12";
|
|
3351
|
+
ddsIconSizeLarge: "40px";
|
|
3352
|
+
ddsIconSizeLargeNumberPx: 40;
|
|
3353
|
+
ddsIconSizeMedium: "24px";
|
|
3354
|
+
ddsIconSizeMediumNumberPx: 24;
|
|
3355
|
+
ddsIconSizeSmall: "16px";
|
|
3356
|
+
ddsIconSizeSmallNumberPx: 16;
|
|
3357
|
+
ddsBreakpointXs: "1px";
|
|
3358
|
+
ddsBreakpointXsNumberPx: 1;
|
|
3359
|
+
ddsBreakpointSm: "600px";
|
|
3360
|
+
ddsBreakpointSmNumberPx: 600;
|
|
3361
|
+
ddsBreakpointMd: "960px";
|
|
3362
|
+
ddsBreakpointMdNumberPx: 960;
|
|
3363
|
+
ddsBreakpointLg: "1280px";
|
|
3364
|
+
ddsBreakpointLgNumberPx: 1280;
|
|
3365
|
+
ddsBreakpointXl: "1920px";
|
|
3366
|
+
ddsBreakpointXlNumberPx: 1920;
|
|
3367
|
+
ddsColorBgDefault: "#ffffff";
|
|
3368
|
+
ddsColorBgSubtle: "#f8f9f9";
|
|
3369
|
+
ddsColorSurfaceDefault: "#ffffff";
|
|
3370
|
+
ddsColorSurfaceSubtle: "#f8f9f9";
|
|
3371
|
+
ddsColorSurfaceMedium: "#ebecee";
|
|
3372
|
+
ddsColorSurfaceHoverDefault: "#e7f1f7";
|
|
3373
|
+
ddsColorSurfaceHoverSubtle: "#f8f9f9";
|
|
3374
|
+
ddsColorSurfaceSelectedDefault: "#e7f1f7";
|
|
3375
|
+
ddsColorSurfaceInverseDefault: "#354754";
|
|
3376
|
+
ddsColorSurfaceInverseHover: "#313d45";
|
|
3377
|
+
ddsColorSurfaceInverseSelected: "#202b32";
|
|
3378
|
+
ddsColorSurfaceActionResting: "#106ead";
|
|
3379
|
+
ddsColorSurfaceActionHover: "#0d588a";
|
|
3380
|
+
ddsColorSurfaceActionSelected: "#106ead";
|
|
3381
|
+
ddsColorSurfaceActionDangerResting: "#d83737";
|
|
3382
|
+
ddsColorSurfaceActionDangerHover: "#ad2c2c";
|
|
3383
|
+
ddsColorSurfaceActionSelectedDisabled: "#77838c";
|
|
3384
|
+
ddsColorSurfaceDangerDefault: "#fbebeb";
|
|
3385
|
+
ddsColorSurfaceDangerStrong: "#e47373";
|
|
3386
|
+
ddsColorSurfaceSuccessDefault: "#f0f9f0";
|
|
3387
|
+
ddsColorSurfaceSuccessStrong: "#93d294";
|
|
3388
|
+
ddsColorSurfaceWarningDefault: "#fefced";
|
|
3389
|
+
ddsColorSurfaceWarningStrong: "#f7e982";
|
|
3390
|
+
ddsColorSurfaceInfoDefault: "#f1f8fd";
|
|
3391
|
+
ddsColorSurfaceInfoStrong: "#9eceee";
|
|
3392
|
+
ddsColorSurfacePaperDefault: "#ffffff";
|
|
3393
|
+
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
3394
|
+
ddsColorSurfaceFieldDefault: "#ffffff";
|
|
3395
|
+
ddsColorSurfaceFieldDisabled: "#f8f9f9";
|
|
3396
|
+
ddsColorSurfaceHighlightedDefault: "#ffe6df";
|
|
3397
|
+
ddsColorSurfaceScrollbar: "#adb5ba";
|
|
3398
|
+
ddsColorSurfaceNotification: "#d83737";
|
|
3399
|
+
ddsColorSurfaceSkeleton: "#cfd4d7";
|
|
3400
|
+
ddsColorBorderDefault: "#77838c";
|
|
3401
|
+
ddsColorBorderSubtle: "#cfd4d7";
|
|
3402
|
+
ddsColorBorderInverse: "#acbbc6";
|
|
3403
|
+
ddsColorBorderActionDefault: "#106ead";
|
|
3404
|
+
ddsColorBorderActionHover: "#0d588a";
|
|
3405
|
+
ddsColorBorderSuccess: "#65be66";
|
|
3406
|
+
ddsColorBorderWarning: "#f4e04d";
|
|
3407
|
+
ddsColorBorderDanger: "#d83737";
|
|
3408
|
+
ddsColorBorderInfo: "#75b9e6";
|
|
3409
|
+
ddsColorBorderOnAction: "#ffffff";
|
|
3410
|
+
ddsColorTextDefault: "#0b0d0e";
|
|
3411
|
+
ddsColorTextMedium: "#3a4146";
|
|
3412
|
+
ddsColorTextSubtle: "#545c62";
|
|
3413
|
+
ddsColorTextOnInverse: "#ffffff";
|
|
3414
|
+
ddsColorTextOnAction: "#ffffff";
|
|
3415
|
+
ddsColorTextOnStatusDefault: "#0b0d0e";
|
|
3416
|
+
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
3417
|
+
ddsColorTextActionResting: "#106ead";
|
|
3418
|
+
ddsColorTextActionHover: "#0d588a";
|
|
3419
|
+
ddsColorTextRequiredfield: "#d83737";
|
|
3420
|
+
ddsColorTextActionVisited: "#7f29b4";
|
|
3421
|
+
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
3422
|
+
ddsColorTextOnNotification: "#ffffff";
|
|
3423
|
+
ddsColorIconDefault: "#0b0d0e";
|
|
3424
|
+
ddsColorIconMedium: "#3a4146";
|
|
3425
|
+
ddsColorIconSubtle: "#545c62";
|
|
3426
|
+
ddsColorIconOnInverse: "#ffffff";
|
|
3427
|
+
ddsColorIconOnAction: "#ffffff";
|
|
3428
|
+
ddsColorIconActionResting: "#106ead";
|
|
3429
|
+
ddsColorIconActionHover: "#0d588a";
|
|
3430
|
+
ddsColorIconOnSuccessDefault: "#3d723d";
|
|
3431
|
+
ddsColorIconOnSuccessStrong: "#0b0d0e";
|
|
3432
|
+
ddsColorIconOnWarningDefault: "#92862e";
|
|
3433
|
+
ddsColorIconOnWarningStrong: "#0b0d0e";
|
|
3434
|
+
ddsColorIconOnDangerDefault: "#ad2c2c";
|
|
3435
|
+
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
3436
|
+
ddsColorIconOnInfoDefault: "#466f8a";
|
|
3437
|
+
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
3438
|
+
ddsColorBrandPrimaryDefault: "#354754";
|
|
3439
|
+
ddsColorBrandPrimarySubtle: "#eaeff4";
|
|
3440
|
+
ddsColorBrandPrimaryMedium: "#4f6a7e";
|
|
3441
|
+
ddsColorBrandPrimaryStrong: "#202b32";
|
|
3442
|
+
ddsColorBrandSecondaryDefault: "#9ab8b7";
|
|
3443
|
+
ddsColorBrandSecondarySubtle: "#e6eded";
|
|
3444
|
+
ddsColorBrandSecondaryMedium: "#b8cdcd";
|
|
3445
|
+
ddsColorBrandSecondaryStrong: "#4d6463";
|
|
3446
|
+
ddsColorBrandTertiaryDefault: "#f2a68f";
|
|
3447
|
+
ddsColorBrandTertiarySubtle: "#ffe6df";
|
|
3448
|
+
ddsColorBrandTertiaryMedium: "#f6c1b1";
|
|
3449
|
+
ddsColorBrandTertiaryStrong: "#f27e55";
|
|
3450
|
+
ddsColorFocusOutside: "#2f4a5c";
|
|
3451
|
+
ddsColorFocusInside: "#f1f8fd";
|
|
3452
|
+
ddsFontLabelMedium: "600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3453
|
+
ddsFontBodyXsmall: "400 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3454
|
+
ddsFontBodySmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3455
|
+
ddsFontBodyMedium: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3456
|
+
ddsFontBodyLarge: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3457
|
+
ddsFontHeadingXxsmall: "600 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3458
|
+
ddsFontHeadingXsmall: "600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3459
|
+
ddsFontHeadingSmall: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3460
|
+
ddsFontHeadingMedium: "600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3461
|
+
ddsFontHeadingLarge: "400 clamp(1.25rem, 0.833rem + 1.111vw, 1.5rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3462
|
+
ddsFontHeadingXlarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3463
|
+
ddsFontHeadingXxlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.2 'IBM Plex Sans', Arial, sans-serif";
|
|
3464
|
+
ddsFontLeadMedium: "300 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3465
|
+
ddsFontCodeMedium: "400 1rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
3466
|
+
ddsBorderRadiusButton: "2px";
|
|
3467
|
+
ddsBorderRadiusButtonNumberPx: 2;
|
|
3468
|
+
ddsBorderRadiusSurface: "4px";
|
|
3469
|
+
ddsBorderRadiusSurfaceNumberPx: 4;
|
|
3470
|
+
ddsBorderRadiusInput: "2px";
|
|
3471
|
+
ddsBorderRadiusInputNumberPx: 2;
|
|
3472
|
+
ddsBorderRadiusChip: "4px";
|
|
3473
|
+
ddsBorderRadiusChipNumberPx: 4;
|
|
3474
|
+
ddsBorderRadiusRounded: "9999px";
|
|
3475
|
+
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
3476
|
+
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
3477
|
+
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
3478
|
+
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
3479
|
+
ddsFontHeadingXlargeLetterSpacing: "0em";
|
|
3480
|
+
ddsFontHeadingXlargeParagraphSpacing: "0.4em";
|
|
3481
|
+
ddsFontHeadingXlargeParagraphSpacingNumberEm: 0.4;
|
|
3482
|
+
ddsFontHeadingLargeLetterSpacing: "0em";
|
|
3483
|
+
ddsFontHeadingLargeParagraphSpacing: "0.4em";
|
|
3484
|
+
ddsFontHeadingLargeParagraphSpacingNumberEm: 0.4;
|
|
3485
|
+
ddsFontHeadingMediumLetterSpacing: "0em";
|
|
3486
|
+
ddsFontHeadingMediumParagraphSpacing: "0.4em";
|
|
3487
|
+
ddsFontHeadingMediumParagraphSpacingNumberEm: 0.4;
|
|
3488
|
+
ddsFontHeadingSmallLetterSpacing: "0em";
|
|
3489
|
+
ddsFontHeadingSmallParagraphSpacing: "0.4em";
|
|
3490
|
+
ddsFontHeadingSmallParagraphSpacingNumberEm: 0.4;
|
|
3491
|
+
ddsFontHeadingXsmallLetterSpacing: "0.01em";
|
|
3492
|
+
ddsFontHeadingXsmallParagraphSpacing: "0.4em";
|
|
3493
|
+
ddsFontHeadingXsmallParagraphSpacingNumberEm: 0.4;
|
|
3494
|
+
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
3495
|
+
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
3496
|
+
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
3497
|
+
ddsFontBodyLargeLetterSpacing: "0em";
|
|
3498
|
+
ddsFontBodyLargeParagraphSpacing: "1em";
|
|
3499
|
+
ddsFontBodyLargeParagraphSpacingNumberEm: 1;
|
|
3500
|
+
ddsFontBodyMediumLetterSpacing: "0em";
|
|
3501
|
+
ddsFontBodyMediumParagraphSpacing: "1em";
|
|
3502
|
+
ddsFontBodyMediumParagraphSpacingNumberEm: 1;
|
|
3503
|
+
ddsFontBodySmallLetterSpacing: "0.01em";
|
|
3504
|
+
ddsFontBodySmallParagraphSpacing: "1em";
|
|
3505
|
+
ddsFontBodySmallParagraphSpacingNumberEm: 1;
|
|
3506
|
+
ddsFontBodyXsmallLetterSpacing: "0.01em";
|
|
3507
|
+
ddsFontBodyXsmallParagraphSpacing: "1em";
|
|
3508
|
+
ddsFontBodyXsmallParagraphSpacingNumberEm: 1;
|
|
3509
|
+
ddsFontLeadMediumLetterSpacing: "0em";
|
|
3510
|
+
ddsFontLeadMediumParagraphSpacing: "1em";
|
|
3511
|
+
ddsFontLeadMediumParagraphSpacingNumberEm: 1;
|
|
3512
|
+
ddsFontCodeMediumLetterSpacing: "0em";
|
|
3513
|
+
ddsFontCodeMediumParagraphSpacing: "1em";
|
|
3514
|
+
ddsFontCodeMediumParagraphSpacingNumberEm: 1;
|
|
3515
|
+
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
3516
|
+
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
3517
|
+
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
3518
|
+
} | {
|
|
3519
|
+
ddsFontFamilySans: "'IBM Plex Sans', Arial, sans-serif";
|
|
3520
|
+
ddsFontFamilyMonospace: "'IBM Plex Mono', 'Courier New', monospace";
|
|
3521
|
+
ddsFontSizeX5: "5rem";
|
|
3522
|
+
ddsFontSizeX5NumberRem: 5;
|
|
3523
|
+
ddsFontSizeX4: "4rem";
|
|
3524
|
+
ddsFontSizeX4NumberRem: 4;
|
|
3525
|
+
ddsFontSizeX3: "3rem";
|
|
3526
|
+
ddsFontSizeX3NumberRem: 3;
|
|
3527
|
+
ddsFontSizeX25: "2.5rem";
|
|
3528
|
+
ddsFontSizeX25NumberRem: 2.5;
|
|
3529
|
+
ddsFontSizeX2: "2rem";
|
|
3530
|
+
ddsFontSizeX2NumberRem: 2;
|
|
3531
|
+
ddsFontSizeX15: "1.5rem";
|
|
3532
|
+
ddsFontSizeX15NumberRem: 1.5;
|
|
3533
|
+
ddsFontSizeX125: "1.25rem";
|
|
3534
|
+
ddsFontSizeX125NumberRem: 1.25;
|
|
3535
|
+
ddsFontSizeX1125: "1.125rem";
|
|
3536
|
+
ddsFontSizeX1125NumberRem: 1.125;
|
|
3537
|
+
ddsFontSizeX1: "1rem";
|
|
3538
|
+
ddsFontSizeX1NumberRem: 1;
|
|
3539
|
+
ddsFontSizeX0875: "0.875rem";
|
|
3540
|
+
ddsFontSizeX0875NumberRem: 0.875;
|
|
3541
|
+
ddsFontSizeX075: "0.75rem";
|
|
3542
|
+
ddsFontSizeX075NumberRem: 0.75;
|
|
3543
|
+
ddsFontSizeXxlarge: "4rem";
|
|
3544
|
+
ddsFontSizeXxlargeNumberRem: 4;
|
|
3545
|
+
ddsFontSizeXlarge: "3rem";
|
|
3546
|
+
ddsFontSizeXlargeNumberRem: 3;
|
|
3547
|
+
ddsFontSizeLarge: "2rem";
|
|
3548
|
+
ddsFontSizeLargeNumberRem: 2;
|
|
3549
|
+
ddsFontSizeMedium: "1.5rem";
|
|
3550
|
+
ddsFontSizeMediumNumberRem: 1.5;
|
|
3551
|
+
ddsFontSizeSmall: "1.25rem";
|
|
3552
|
+
ddsFontSizeSmallNumberRem: 1.25;
|
|
3553
|
+
ddsFontSizeXsmall: "1.125rem";
|
|
3554
|
+
ddsFontSizeXsmallNumberRem: 1.125;
|
|
3555
|
+
ddsFontSizeXxsmall: "1rem";
|
|
3556
|
+
ddsFontSizeXxsmallNumberRem: 1;
|
|
3557
|
+
ddsFontSizeXxxsmall: "0.875rem";
|
|
3558
|
+
ddsFontSizeXxxsmallNumberRem: 0.875;
|
|
3559
|
+
ddsFontWeightLight: "300";
|
|
3560
|
+
ddsFontWeightNormal: "400";
|
|
3561
|
+
ddsFontWeightBold: "600";
|
|
3562
|
+
ddsFontLineheightX1: 1.5;
|
|
3563
|
+
ddsFontLineheightX2: 1.35;
|
|
3564
|
+
ddsFontLineheightX3: 1.2;
|
|
3565
|
+
ddsFontLineheightList: 2.5;
|
|
3566
|
+
ddsFontLetterSpacingTight: "-0.01em";
|
|
3567
|
+
ddsFontLetterSpacingNormal: "0em";
|
|
3568
|
+
ddsFontLetterSpacingLoose: "0.01em";
|
|
3569
|
+
ddsFontParagraphSpacingSmall: "1em";
|
|
3570
|
+
ddsFontParagraphSpacingSmallNumberEm: 1;
|
|
3571
|
+
ddsFontParagraphSpacingMedium: "0.66em";
|
|
3572
|
+
ddsFontParagraphSpacingMediumNumberEm: 0.66;
|
|
3573
|
+
ddsFontParagraphSpacingLarge: "0.5em";
|
|
3574
|
+
ddsFontParagraphSpacingLargeNumberEm: 0.5;
|
|
3575
|
+
ddsFontParagraphSpacingHeading: "0.4em";
|
|
3576
|
+
ddsFontParagraphSpacingHeadingNumberEm: 0.4;
|
|
3577
|
+
ddsFontStyleUnderline: "underline";
|
|
3578
|
+
ddsFontStyleNormal: "none";
|
|
3579
|
+
ddsFontStyleItalic: "italic";
|
|
3580
|
+
ddsSpacingPaddingTopHeading: "0.7em";
|
|
3581
|
+
ddsSpacingPaddingTopHeadingNumberEm: 0.7;
|
|
3582
|
+
ddsSpacingX0: "0rem";
|
|
3583
|
+
ddsSpacingX0NumberRem: 0;
|
|
3584
|
+
ddsSpacingX0125: "0.125rem";
|
|
3585
|
+
ddsSpacingX0125NumberRem: 0.125;
|
|
3586
|
+
ddsSpacingX025: "0.25rem";
|
|
3587
|
+
ddsSpacingX025NumberRem: 0.25;
|
|
3588
|
+
ddsSpacingX05: "0.5rem";
|
|
3589
|
+
ddsSpacingX05NumberRem: 0.5;
|
|
3590
|
+
ddsSpacingX075: "0.75rem";
|
|
3591
|
+
ddsSpacingX075NumberRem: 0.75;
|
|
3592
|
+
ddsSpacingX1: "1rem";
|
|
3593
|
+
ddsSpacingX1NumberRem: 1;
|
|
3594
|
+
ddsSpacingX15: "1.5rem";
|
|
3595
|
+
ddsSpacingX15NumberRem: 1.5;
|
|
3596
|
+
ddsSpacingX2: "2rem";
|
|
3597
|
+
ddsSpacingX2NumberRem: 2;
|
|
3598
|
+
ddsSpacingX25: "2.5rem";
|
|
3599
|
+
ddsSpacingX25NumberRem: 2.5;
|
|
3600
|
+
ddsSpacingX3: "3rem";
|
|
3601
|
+
ddsSpacingX3NumberRem: 3;
|
|
3602
|
+
ddsSpacingX4: "4rem";
|
|
3603
|
+
ddsSpacingX4NumberRem: 4;
|
|
3604
|
+
ddsSpacingX6: "6rem";
|
|
3605
|
+
ddsSpacingX6NumberRem: 6;
|
|
3606
|
+
ddsSpacingX10: "10rem";
|
|
3607
|
+
ddsSpacingX10NumberRem: 10;
|
|
3608
|
+
ddsShadow1: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
3609
|
+
ddsShadow2: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
3610
|
+
ddsShadow3: "4px 8px 16px 0px rgba(11, 13, 14, 10%)";
|
|
3611
|
+
ddsShadow4: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
3612
|
+
ddsGridXsGutterSize: "16px";
|
|
3613
|
+
ddsGridXsGutterSizeNumberPx: 16;
|
|
3614
|
+
ddsGridXsCount: "4";
|
|
3615
|
+
ddsGridSmGutterSize: "16px";
|
|
3616
|
+
ddsGridSmGutterSizeNumberPx: 16;
|
|
3617
|
+
ddsGridSmCount: "8";
|
|
3618
|
+
ddsGridLgGutterSize: "24px";
|
|
3619
|
+
ddsGridLgGutterSizeNumberPx: 24;
|
|
3620
|
+
ddsGridLgCount: "12";
|
|
3621
|
+
ddsGridMdGutterSize: "24px";
|
|
3622
|
+
ddsGridMdGutterSizeNumberPx: 24;
|
|
3623
|
+
ddsGridMdCount: "12";
|
|
3624
|
+
ddsGridXlGutterSize: "24px";
|
|
3625
|
+
ddsGridXlGutterSizeNumberPx: 24;
|
|
3626
|
+
ddsGridXlCount: "12";
|
|
3627
|
+
ddsIconSizeLarge: "40px";
|
|
3628
|
+
ddsIconSizeLargeNumberPx: 40;
|
|
3629
|
+
ddsIconSizeMedium: "24px";
|
|
3630
|
+
ddsIconSizeMediumNumberPx: 24;
|
|
3631
|
+
ddsIconSizeSmall: "16px";
|
|
3632
|
+
ddsIconSizeSmallNumberPx: 16;
|
|
3633
|
+
ddsBreakpointXs: "1px";
|
|
3634
|
+
ddsBreakpointXsNumberPx: 1;
|
|
3635
|
+
ddsBreakpointSm: "600px";
|
|
3636
|
+
ddsBreakpointSmNumberPx: 600;
|
|
3637
|
+
ddsBreakpointMd: "960px";
|
|
3638
|
+
ddsBreakpointMdNumberPx: 960;
|
|
3639
|
+
ddsBreakpointLg: "1280px";
|
|
3640
|
+
ddsBreakpointLgNumberPx: 1280;
|
|
3641
|
+
ddsBreakpointXl: "1920px";
|
|
3642
|
+
ddsBreakpointXlNumberPx: 1920;
|
|
3643
|
+
ddsColorBgDefault: "#ffffff";
|
|
3644
|
+
ddsColorBgSubtle: "#f8f9f9";
|
|
3645
|
+
ddsColorSurfaceDefault: "#ffffff";
|
|
3646
|
+
ddsColorSurfaceSubtle: "#f8f9f9";
|
|
3647
|
+
ddsColorSurfaceMedium: "#ebecee";
|
|
3648
|
+
ddsColorSurfaceHoverDefault: "#e7f1f7";
|
|
3649
|
+
ddsColorSurfaceHoverSubtle: "#f8f9f9";
|
|
3650
|
+
ddsColorSurfaceSelectedDefault: "#e7f1f7";
|
|
3651
|
+
ddsColorSurfaceInverseDefault: "#354754";
|
|
3652
|
+
ddsColorSurfaceInverseHover: "#313d45";
|
|
3653
|
+
ddsColorSurfaceInverseSelected: "#202b32";
|
|
3654
|
+
ddsColorSurfaceActionResting: "#106ead";
|
|
3655
|
+
ddsColorSurfaceActionHover: "#0d588a";
|
|
3656
|
+
ddsColorSurfaceActionSelected: "#106ead";
|
|
3657
|
+
ddsColorSurfaceActionDangerResting: "#d83737";
|
|
3658
|
+
ddsColorSurfaceActionDangerHover: "#ad2c2c";
|
|
3659
|
+
ddsColorSurfaceActionSelectedDisabled: "#77838c";
|
|
3660
|
+
ddsColorSurfaceDangerDefault: "#fbebeb";
|
|
3661
|
+
ddsColorSurfaceDangerStrong: "#e47373";
|
|
3662
|
+
ddsColorSurfaceSuccessDefault: "#f0f9f0";
|
|
3663
|
+
ddsColorSurfaceSuccessStrong: "#93d294";
|
|
3664
|
+
ddsColorSurfaceWarningDefault: "#fefced";
|
|
3665
|
+
ddsColorSurfaceWarningStrong: "#f7e982";
|
|
3666
|
+
ddsColorSurfaceInfoDefault: "#f1f8fd";
|
|
3667
|
+
ddsColorSurfaceInfoStrong: "#9eceee";
|
|
3668
|
+
ddsColorSurfacePaperDefault: "#ffffff";
|
|
3669
|
+
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
3670
|
+
ddsColorSurfaceFieldDefault: "#ffffff";
|
|
3671
|
+
ddsColorSurfaceFieldDisabled: "#f8f9f9";
|
|
3672
|
+
ddsColorSurfaceHighlightedDefault: "#ffe6df";
|
|
3673
|
+
ddsColorSurfaceScrollbar: "#adb5ba";
|
|
3674
|
+
ddsColorSurfaceNotification: "#d83737";
|
|
3675
|
+
ddsColorSurfaceSkeleton: "#cfd4d7";
|
|
3676
|
+
ddsColorBorderDefault: "#77838c";
|
|
3677
|
+
ddsColorBorderSubtle: "#cfd4d7";
|
|
3678
|
+
ddsColorBorderInverse: "#acbbc6";
|
|
3679
|
+
ddsColorBorderActionDefault: "#106ead";
|
|
3680
|
+
ddsColorBorderActionHover: "#0d588a";
|
|
3681
|
+
ddsColorBorderSuccess: "#65be66";
|
|
3682
|
+
ddsColorBorderWarning: "#f4e04d";
|
|
3683
|
+
ddsColorBorderDanger: "#d83737";
|
|
3684
|
+
ddsColorBorderInfo: "#75b9e6";
|
|
3685
|
+
ddsColorBorderOnAction: "#ffffff";
|
|
3686
|
+
ddsColorTextDefault: "#0b0d0e";
|
|
3687
|
+
ddsColorTextMedium: "#3a4146";
|
|
3688
|
+
ddsColorTextSubtle: "#545c62";
|
|
3689
|
+
ddsColorTextOnInverse: "#ffffff";
|
|
3690
|
+
ddsColorTextOnAction: "#ffffff";
|
|
3691
|
+
ddsColorTextOnStatusDefault: "#0b0d0e";
|
|
3692
|
+
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
3693
|
+
ddsColorTextActionResting: "#106ead";
|
|
3694
|
+
ddsColorTextActionHover: "#0d588a";
|
|
3695
|
+
ddsColorTextRequiredfield: "#d83737";
|
|
3696
|
+
ddsColorTextActionVisited: "#7f29b4";
|
|
3697
|
+
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
3698
|
+
ddsColorTextOnNotification: "#ffffff";
|
|
3699
|
+
ddsColorIconDefault: "#0b0d0e";
|
|
3700
|
+
ddsColorIconMedium: "#3a4146";
|
|
3701
|
+
ddsColorIconSubtle: "#545c62";
|
|
3702
|
+
ddsColorIconOnInverse: "#ffffff";
|
|
3703
|
+
ddsColorIconOnAction: "#ffffff";
|
|
3704
|
+
ddsColorIconActionResting: "#106ead";
|
|
3705
|
+
ddsColorIconActionHover: "#0d588a";
|
|
3706
|
+
ddsColorIconOnSuccessDefault: "#3d723d";
|
|
3707
|
+
ddsColorIconOnSuccessStrong: "#0b0d0e";
|
|
3708
|
+
ddsColorIconOnWarningDefault: "#92862e";
|
|
3709
|
+
ddsColorIconOnWarningStrong: "#0b0d0e";
|
|
3710
|
+
ddsColorIconOnDangerDefault: "#ad2c2c";
|
|
3711
|
+
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
3712
|
+
ddsColorIconOnInfoDefault: "#466f8a";
|
|
3713
|
+
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
3714
|
+
ddsColorBrandPrimaryDefault: "#354754";
|
|
3715
|
+
ddsColorBrandPrimarySubtle: "#eaeff4";
|
|
3716
|
+
ddsColorBrandPrimaryMedium: "#4f6a7e";
|
|
3717
|
+
ddsColorBrandPrimaryStrong: "#202b32";
|
|
3718
|
+
ddsColorBrandSecondaryDefault: "#9ab8b7";
|
|
3719
|
+
ddsColorBrandSecondarySubtle: "#e6eded";
|
|
3720
|
+
ddsColorBrandSecondaryMedium: "#b8cdcd";
|
|
3721
|
+
ddsColorBrandSecondaryStrong: "#4d6463";
|
|
3722
|
+
ddsColorBrandTertiaryDefault: "#f2a68f";
|
|
3723
|
+
ddsColorBrandTertiarySubtle: "#ffe6df";
|
|
3724
|
+
ddsColorBrandTertiaryMedium: "#f6c1b1";
|
|
3725
|
+
ddsColorBrandTertiaryStrong: "#f27e55";
|
|
3726
|
+
ddsColorFocusOutside: "#2f4a5c";
|
|
3727
|
+
ddsColorFocusInside: "#f1f8fd";
|
|
3728
|
+
ddsBorderRadiusButton: "2px";
|
|
3729
|
+
ddsBorderRadiusButtonNumberPx: 2;
|
|
3730
|
+
ddsBorderRadiusSurface: "2px";
|
|
3731
|
+
ddsBorderRadiusSurfaceNumberPx: 2;
|
|
3732
|
+
ddsBorderRadiusInput: "2px";
|
|
3733
|
+
ddsBorderRadiusInputNumberPx: 2;
|
|
3734
|
+
ddsBorderRadiusChip: "2px";
|
|
3735
|
+
ddsBorderRadiusChipNumberPx: 2;
|
|
3736
|
+
ddsBorderRadiusRounded: "9999px";
|
|
3737
|
+
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
3738
|
+
ddsFontLabelMedium: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3739
|
+
ddsFontBodyXsmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3740
|
+
ddsFontBodySmall: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3741
|
+
ddsFontBodyMedium: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3742
|
+
ddsFontBodyLarge: "400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3743
|
+
ddsFontHeadingXxsmall: "600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3744
|
+
ddsFontHeadingXsmall: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3745
|
+
ddsFontHeadingSmall: "600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3746
|
+
ddsFontHeadingMedium: "600 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3747
|
+
ddsFontHeadingLarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3748
|
+
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3749
|
+
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.2 'IBM Plex Sans', Arial, sans-serif";
|
|
3750
|
+
ddsFontLeadMedium: "300 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3751
|
+
ddsFontCodeMedium: "400 1.125rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
3752
|
+
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
3753
|
+
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
3754
|
+
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
3755
|
+
ddsFontHeadingXlargeLetterSpacing: "-0.01em";
|
|
3756
|
+
ddsFontHeadingXlargeParagraphSpacing: "0.4em";
|
|
3757
|
+
ddsFontHeadingXlargeParagraphSpacingNumberEm: 0.4;
|
|
3758
|
+
ddsFontHeadingLargeLetterSpacing: "0em";
|
|
3759
|
+
ddsFontHeadingLargeParagraphSpacing: "0.4em";
|
|
3760
|
+
ddsFontHeadingLargeParagraphSpacingNumberEm: 0.4;
|
|
3761
|
+
ddsFontHeadingMediumLetterSpacing: "0em";
|
|
3762
|
+
ddsFontHeadingMediumParagraphSpacing: "0.4em";
|
|
3763
|
+
ddsFontHeadingMediumParagraphSpacingNumberEm: 0.4;
|
|
3764
|
+
ddsFontHeadingSmallLetterSpacing: "0em";
|
|
3765
|
+
ddsFontHeadingSmallParagraphSpacing: "0.4em";
|
|
3766
|
+
ddsFontHeadingSmallParagraphSpacingNumberEm: 0.4;
|
|
3767
|
+
ddsFontHeadingXsmallLetterSpacing: "0em";
|
|
3768
|
+
ddsFontHeadingXsmallParagraphSpacing: "0.4em";
|
|
3769
|
+
ddsFontHeadingXsmallParagraphSpacingNumberEm: 0.4;
|
|
3770
|
+
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
3771
|
+
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
3772
|
+
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
3773
|
+
ddsFontBodyLargeLetterSpacing: "0em";
|
|
3774
|
+
ddsFontBodyLargeParagraphSpacing: "1em";
|
|
3775
|
+
ddsFontBodyLargeParagraphSpacingNumberEm: 1;
|
|
3776
|
+
ddsFontBodyMediumLetterSpacing: "0em";
|
|
3777
|
+
ddsFontBodyMediumParagraphSpacing: "1em";
|
|
3778
|
+
ddsFontBodyMediumParagraphSpacingNumberEm: 1;
|
|
3779
|
+
ddsFontBodySmallLetterSpacing: "0em";
|
|
3780
|
+
ddsFontBodySmallParagraphSpacing: "1em";
|
|
3781
|
+
ddsFontBodySmallParagraphSpacingNumberEm: 1;
|
|
3782
|
+
ddsFontBodyXsmallLetterSpacing: "0.01em";
|
|
3783
|
+
ddsFontBodyXsmallParagraphSpacing: "1em";
|
|
3784
|
+
ddsFontBodyXsmallParagraphSpacingNumberEm: 1;
|
|
3785
|
+
ddsFontLeadMediumLetterSpacing: "0em";
|
|
3786
|
+
ddsFontLeadMediumParagraphSpacing: "0.66em";
|
|
3787
|
+
ddsFontLeadMediumParagraphSpacingNumberEm: 0.66;
|
|
3788
|
+
ddsFontCodeMediumLetterSpacing: "0em";
|
|
3789
|
+
ddsFontCodeMediumParagraphSpacing: "1em";
|
|
3790
|
+
ddsFontCodeMediumParagraphSpacingNumberEm: 1;
|
|
3791
|
+
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
3792
|
+
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
3793
|
+
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
3794
|
+
};
|
|
3795
|
+
themeName: "core" | "public";
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3248
3798
|
type ToggleBarValue = string | number | null | undefined;
|
|
3249
|
-
type ToggleBarSize = '
|
|
3799
|
+
type ToggleBarSize = Extract<Size, 'xsmall' | 'small' | 'medium' | 'large'>;
|
|
3250
3800
|
type ToggleBarProps<T extends string | number> = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
3251
3801
|
/**Størrelse på komponenten.
|
|
3252
3802
|
* @default "medium"
|
|
@@ -3366,4 +3916,4 @@ declare const VisuallyHidden: {
|
|
|
3366
3916
|
displayName: string;
|
|
3367
3917
|
};
|
|
3368
3918
|
|
|
3369
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddressShieldedIcon, AgreementIcon,
|
|
3919
|
+
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 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 };
|