@norges-domstoler/dds-components 0.0.0-dev-20260826072613 → 0.0.0-dev-20260827115016
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -28
- package/dist/index.d.mts +33 -28
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -203,6 +203,7 @@ type CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>>
|
|
|
203
203
|
/**Ref til komponenten. */
|
|
204
204
|
ref?: TRef;
|
|
205
205
|
};
|
|
206
|
+
type HTMLAttributesFor<T extends Element> = T extends HTMLButtonElement ? React.ButtonHTMLAttributes<T> : T extends HTMLAnchorElement ? React.AnchorHTMLAttributes<T> : React.HTMLAttributes<T>;
|
|
206
207
|
/**
|
|
207
208
|
* Basetype for props som eksponeres til konsumenter av designsystemet.
|
|
208
209
|
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
@@ -212,9 +213,11 @@ type CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>>
|
|
|
212
213
|
*
|
|
213
214
|
* @template TElement Element-type som genereres av komponenten.
|
|
214
215
|
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
215
|
-
* @template THTMLAttributesProps Standard `HTMLAttributes<T
|
|
216
|
+
* @template THTMLAttributesProps Standard `HTMLAttributes<T>`;
|
|
217
|
+
* settes til `ButtonHTMLAttributes<T>` hvis TElement er `HTMLButtonElement` og til `AnchorHTMLAttributes<T>` hvis TElement er `HTMLAnchorElement`.
|
|
218
|
+
* Kan overstyres hvis man trenger en annen basetype for `htmlProps`.
|
|
216
219
|
*/
|
|
217
|
-
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends
|
|
220
|
+
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends HTMLAttributesFor<TElement> = HTMLAttributesFor<TElement>> = TOtherProps & CommonComponentProps<Omit<THTMLAttributesProps, keyof HTMLRootProps | keyof TOtherProps>, Ref<TElement>>;
|
|
218
221
|
/**
|
|
219
222
|
* Basetype for polymorfe props som eksponeres til konsumenter av designsystemet.
|
|
220
223
|
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
@@ -233,7 +236,7 @@ type PolymorphicBaseComponentProps<E extends ElementType, TOtherProps extends ob
|
|
|
233
236
|
/**
|
|
234
237
|
* Utvidelse av {@link BaseComponentProps} med prop for `children`.
|
|
235
238
|
*/
|
|
236
|
-
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends
|
|
239
|
+
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends HTMLAttributesFor<T> = HTMLAttributesFor<T>> = BaseComponentProps<T, TProps & {
|
|
237
240
|
/**Barn. */
|
|
238
241
|
children?: ReactNode;
|
|
239
242
|
}, THTMLProps>;
|
|
@@ -332,7 +335,7 @@ declare const BUTTON_PURPOSES: ["primary", "secondary", "tertiary", "danger"];
|
|
|
332
335
|
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
333
336
|
type ButtonPurpose = (typeof BUTTON_PURPOSES)[number];
|
|
334
337
|
type IconPosition = 'left' | 'right';
|
|
335
|
-
type PickedHTMLAttributes$
|
|
338
|
+
type PickedHTMLAttributes$3 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type' | 'aria-label'>;
|
|
336
339
|
type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'> = PolymorphicBaseComponentProps<T, {
|
|
337
340
|
/** Størrelsen på knappen.
|
|
338
341
|
* @default "medium"
|
|
@@ -362,7 +365,7 @@ type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'>
|
|
|
362
365
|
iconState?: IconStatesOf<I>;
|
|
363
366
|
/**Knapp med full bredde. */
|
|
364
367
|
fullWidth?: boolean;
|
|
365
|
-
} & PickedHTMLAttributes$
|
|
368
|
+
} & PickedHTMLAttributes$3>;
|
|
366
369
|
//#endregion
|
|
367
370
|
//#region ../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts
|
|
368
371
|
interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
@@ -11285,6 +11288,9 @@ declare function ArrowRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
|
11285
11288
|
//#region src/components/Icon/icons/arrowUp.d.ts
|
|
11286
11289
|
declare function ArrowUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11287
11290
|
//#endregion
|
|
11291
|
+
//#region src/components/Icon/icons/arrowUpRight.d.ts
|
|
11292
|
+
declare function ArrowUpRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11293
|
+
//#endregion
|
|
11288
11294
|
//#region src/components/Icon/icons/attachment.d.ts
|
|
11289
11295
|
declare function AttachmentIcon(props: SvgProps): import("react").JSX.Element;
|
|
11290
11296
|
//#endregion
|
|
@@ -11787,7 +11793,7 @@ declare function SunIcon(props: SvgProps): import("react").JSX.Element;
|
|
|
11787
11793
|
//#region src/components/Icon/icons/support.d.ts
|
|
11788
11794
|
declare function SupportIcon(props: SvgProps): import("react").JSX.Element;
|
|
11789
11795
|
declare namespace index_d_exports {
|
|
11790
|
-
export { AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BarChartBoxedIcon, BarChartIcon, BlockIcon, BookIcon, BriefcaseIcon, BuildIcon, BuildingIcon, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CommentIcon, CopyIcon, CourtIcon, DateRangeIcon, DeathsIcon, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, EditAltIcon, EditIcon, ErrorIcon, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FeedbackIcon, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GroupIcon, GuardianIcon, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HomeIcon, HourglassEmptyIcon, ImageIcon, InfoIcon, InstagramIcon, JordskifterettIcon, JordskiftesakIcon, KeyIcon, LagmannsrettIcon, LanguageIcon, LineChartIcon, LinkIcon, LinkOffIcon, LinkedInIcon, ListAltIcon, ListIcon, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, PaletteIcon, PanelLeftIcon, PaperPlaneIcon, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, PlusCircledIcon, PlusIcon, PowerOfAttorneyIcon, PrintIcon, PublishIcon, QuestionAnswerIcon, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, SearchIcon, SectionIcon, SettingsIcon, SmsIcon, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, SunIcon, SupportIcon, SyncIcon, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TingrettIcon, TipIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VisibilityOffIcon, VisibilityOnIcon, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon };
|
|
11796
|
+
export { AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, AttachmentIcon, BarChartBoxedIcon, BarChartIcon, BlockIcon, BookIcon, BriefcaseIcon, BuildIcon, BuildingIcon, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CommentIcon, CopyIcon, CourtIcon, DateRangeIcon, DeathsIcon, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, EditAltIcon, EditIcon, ErrorIcon, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FeedbackIcon, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GroupIcon, GuardianIcon, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HomeIcon, HourglassEmptyIcon, ImageIcon, InfoIcon, InstagramIcon, JordskifterettIcon, JordskiftesakIcon, KeyIcon, LagmannsrettIcon, LanguageIcon, LineChartIcon, LinkIcon, LinkOffIcon, LinkedInIcon, ListAltIcon, ListIcon, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, PaletteIcon, PanelLeftIcon, PaperPlaneIcon, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, PlusCircledIcon, PlusIcon, PowerOfAttorneyIcon, PrintIcon, PublishIcon, QuestionAnswerIcon, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, SearchIcon, SectionIcon, SettingsIcon, SmsIcon, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, SunIcon, SupportIcon, SyncIcon, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TingrettIcon, TipIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VisibilityOffIcon, VisibilityOnIcon, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon };
|
|
11791
11797
|
}
|
|
11792
11798
|
//#endregion
|
|
11793
11799
|
//#region src/hooks/useCallbackRef/useCallbackRef.d.ts
|
|
@@ -14963,7 +14969,7 @@ type AnchorTypographyProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
|
14963
14969
|
href?: string | undefined;
|
|
14964
14970
|
/**nativ `target`-prop ved `typographyType='a'`. */
|
|
14965
14971
|
target?: string;
|
|
14966
|
-
}
|
|
14972
|
+
}>;
|
|
14967
14973
|
type LabelTypographyProps = BaseComponentPropsWithChildren<HTMLLabelElement, HTMLAttributes<HTMLLabelElement>>;
|
|
14968
14974
|
type OtherTypographyProps = BaseComponentPropsWithChildren<HTMLElement, HTMLAttributes<HTMLElement>>;
|
|
14969
14975
|
type TypographyProps = ({
|
|
@@ -15018,7 +15024,7 @@ declare const Heading: {
|
|
|
15018
15024
|
};
|
|
15019
15025
|
//#endregion
|
|
15020
15026
|
//#region src/components/Typography/Label/Label.d.ts
|
|
15021
|
-
type PickedHTMLAttributes$
|
|
15027
|
+
type PickedHTMLAttributes$2 = Pick<LabelHTMLAttributes<HTMLLabelElement>, 'htmlFor'>;
|
|
15022
15028
|
interface BaseLabelProps {
|
|
15023
15029
|
/** Om input knyttet til ledeteksten er påkrevd; påvirker styling. */
|
|
15024
15030
|
showRequiredStyling?: boolean;
|
|
@@ -15027,7 +15033,7 @@ interface BaseLabelProps {
|
|
|
15027
15033
|
/**Innhold som står etter ledeteksten (knapp med ekstra info e.l.). */
|
|
15028
15034
|
afterLabelContent?: ReactNode;
|
|
15029
15035
|
}
|
|
15030
|
-
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & CommonInlineTypographyProps & PickedHTMLAttributes$
|
|
15036
|
+
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & CommonInlineTypographyProps & PickedHTMLAttributes$2>;
|
|
15031
15037
|
declare const Label: {
|
|
15032
15038
|
({ showRequiredStyling, readOnly, id, className, style, htmlProps, children, afterLabelContent, ...rest }: LabelProps): import("react").JSX.Element;
|
|
15033
15039
|
displayName: string;
|
|
@@ -15046,7 +15052,7 @@ declare const Legend: {
|
|
|
15046
15052
|
};
|
|
15047
15053
|
//#endregion
|
|
15048
15054
|
//#region src/components/Typography/Link/Link.d.ts
|
|
15049
|
-
type PickedHTMLAttributes$
|
|
15055
|
+
type PickedHTMLAttributes$1 = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href' | 'target'>;
|
|
15050
15056
|
type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
15051
15057
|
/**Om lenken kan få `:visited`-styling. */
|
|
15052
15058
|
withVisited?: boolean;
|
|
@@ -15061,7 +15067,7 @@ type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
|
15061
15067
|
* Ikon kan legges inn som barn ved siden av teksten med `<Icon>`-komponent.
|
|
15062
15068
|
* */
|
|
15063
15069
|
withIconStyling?: boolean;
|
|
15064
|
-
} & CommonInlineTypographyProps & PickedHTMLAttributes$
|
|
15070
|
+
} & CommonInlineTypographyProps & PickedHTMLAttributes$1>;
|
|
15065
15071
|
declare const Link: {
|
|
15066
15072
|
<T extends ElementType = "a">({ id, className, htmlProps, children, typographyType, withMargins, withVisited, style, color, as: propAs, isAnchor: propIsAnchor, withIconStyling, ...rest }: LinkProps<T>): import("react").JSX.Element;
|
|
15067
15073
|
displayName: string;
|
|
@@ -15089,7 +15095,7 @@ type AccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElemen
|
|
|
15089
15095
|
typographyType?: StaticTypographyType;
|
|
15090
15096
|
/**Angir om teksten skal være i "bold"-format. */
|
|
15091
15097
|
bold?: boolean;
|
|
15092
|
-
}
|
|
15098
|
+
}>, 'id'>;
|
|
15093
15099
|
declare const AccordionHeader: {
|
|
15094
15100
|
({ children, className, style, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): import("react").JSX.Element;
|
|
15095
15101
|
displayName: string;
|
|
@@ -15142,7 +15148,7 @@ declare const Breadcrumbs: {
|
|
|
15142
15148
|
};
|
|
15143
15149
|
//#endregion
|
|
15144
15150
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
15145
|
-
type PickedHTMLAttributes
|
|
15151
|
+
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-label' | 'aria-labelledby'>;
|
|
15146
15152
|
type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15147
15153
|
/**Retning for gruppen.
|
|
15148
15154
|
* @default "row"
|
|
@@ -15160,7 +15166,7 @@ type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
15160
15166
|
* @default "group"
|
|
15161
15167
|
*/
|
|
15162
15168
|
role?: AriaRole;
|
|
15163
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes
|
|
15169
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes>>;
|
|
15164
15170
|
declare const ButtonGroup: {
|
|
15165
15171
|
({ children, id, className, style, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): import("react").JSX.Element;
|
|
15166
15172
|
displayName: string;
|
|
@@ -15282,7 +15288,7 @@ type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonE
|
|
|
15282
15288
|
typographyType?: StaticTypographyType;
|
|
15283
15289
|
/**Angir om teksten skal være i "bold"-format. */
|
|
15284
15290
|
bold?: boolean;
|
|
15285
|
-
}
|
|
15291
|
+
}>, 'id'>;
|
|
15286
15292
|
declare const CardExpandableHeader: {
|
|
15287
15293
|
({ children, className, style, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): import("react").JSX.Element;
|
|
15288
15294
|
displayName: string;
|
|
@@ -15320,7 +15326,7 @@ type CardSelectableGroupProps<T extends string | number> = BaseComponentPropsWit
|
|
|
15320
15326
|
value?: T | undefined;
|
|
15321
15327
|
/**Default verdi - en `<CardSelectable>` med denne verdien blir forhåndsvalgt med uncontrolled state. */
|
|
15322
15328
|
defaultValue?: T | undefined;
|
|
15323
|
-
}
|
|
15329
|
+
}>;
|
|
15324
15330
|
declare const CardSelectableGroup: {
|
|
15325
15331
|
<T extends string | number = string>({ name, cardType, errorMessage, disabled, readOnly, value, defaultValue, children, required, onChange, id, tipId, className, style, htmlProps, ...rest }: CardSelectableGroupProps<T>): import("react").JSX.Element;
|
|
15326
15332
|
displayName: string;
|
|
@@ -15566,7 +15572,7 @@ type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
|
15566
15572
|
* @default "default"
|
|
15567
15573
|
*/
|
|
15568
15574
|
color?: DividerColor;
|
|
15569
|
-
}
|
|
15575
|
+
}>;
|
|
15570
15576
|
declare const Divider: ({ color, id, className, style, htmlProps, ...rest }: DividerProps) => import("react").JSX.Element;
|
|
15571
15577
|
//#endregion
|
|
15572
15578
|
//#region src/components/Drawer/Drawer.d.ts
|
|
@@ -15682,7 +15688,7 @@ type FavStarProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
|
15682
15688
|
* @default "medium"
|
|
15683
15689
|
*/
|
|
15684
15690
|
size?: ComponentSize;
|
|
15685
|
-
}
|
|
15691
|
+
}>;
|
|
15686
15692
|
declare const FavStar: {
|
|
15687
15693
|
({ id, className, style, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): import("react").JSX.Element;
|
|
15688
15694
|
displayName: string;
|
|
@@ -16350,7 +16356,7 @@ type PaginationProps = BaseComponentProps<HTMLElement, {
|
|
|
16350
16356
|
onSelectOptionChange?: (option: PaginationOption | null) => void;
|
|
16351
16357
|
/**Brekkpunkt for små skjermer; den viser færre sideknapper og stacker delkomponentene. */
|
|
16352
16358
|
smallScreenBreakpoint?: Breakpoint;
|
|
16353
|
-
}
|
|
16359
|
+
}>;
|
|
16354
16360
|
declare const Pagination: {
|
|
16355
16361
|
({ itemsAmount, defaultItemsPerPage, defaultActivePage, activePage: activePageProp, withPagination, withCounter, withSelect, selectOptions, smallScreenBreakpoint, onChange, onSelectOptionChange, id, className, style, htmlProps, ref, ...rest }: PaginationProps): import("react").JSX.Element | null;
|
|
16356
16362
|
displayName: string;
|
|
@@ -16553,14 +16559,14 @@ type SearchButtonProps = {
|
|
|
16553
16559
|
} & Pick<ButtonProps, 'loading' | 'loadingTooltip'> & ComponentPropsWithRef<'button'>;
|
|
16554
16560
|
//#endregion
|
|
16555
16561
|
//#region src/components/Search/Search.d.ts
|
|
16556
|
-
type SearchProps = Pick<InputProps, 'tip' | 'label'> & {
|
|
16562
|
+
type SearchProps = Pick<InputProps, 'tip' | 'label' | 'width'> & {
|
|
16557
16563
|
/**Størrelsen på komponenten. */
|
|
16558
16564
|
componentSize?: SearchSize;
|
|
16559
16565
|
/**Props for søkeknappen. */
|
|
16560
16566
|
buttonProps?: SearchButtonProps;
|
|
16561
16567
|
/**Om søkeikonet skal vises. */
|
|
16562
16568
|
showIcon?: boolean;
|
|
16563
|
-
} &
|
|
16569
|
+
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
16564
16570
|
declare const Search$1: {
|
|
16565
16571
|
({ componentSize, buttonProps, showIcon, name, label, tip, id, value, width, onChange, className, style, "aria-describedby": ariaDescribedby, ref, ...rest }: SearchProps): import("react").JSX.Element;
|
|
16566
16572
|
displayName: string;
|
|
@@ -16689,7 +16695,7 @@ type RadioButtonGroupProps<T extends string | number> = BaseComponentPropsWithCh
|
|
|
16689
16695
|
value?: T | undefined;
|
|
16690
16696
|
/**Default verdi - en `<RadioButton>` med denne verdien blir forhåndsvalgt med uncontrolled state. */
|
|
16691
16697
|
defaultValue?: T | undefined;
|
|
16692
|
-
}
|
|
16698
|
+
}>;
|
|
16693
16699
|
declare const RadioButtonGroup: {
|
|
16694
16700
|
<T extends string | number = string>({ name, label, groupId, errorMessage, tip, disabled, readOnly, direction, value, defaultValue, children, required, onChange, id, className, style, htmlProps, ...rest }: RadioButtonGroupProps<T>): import("react").JSX.Element;
|
|
16695
16701
|
displayName: string;
|
|
@@ -16739,7 +16745,7 @@ type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
|
16739
16745
|
* @default "Innlasting pågår"
|
|
16740
16746
|
*/
|
|
16741
16747
|
tooltip?: string;
|
|
16742
|
-
}
|
|
16748
|
+
}>;
|
|
16743
16749
|
declare function Spinner(props: SpinnerProps): import("react").JSX.Element;
|
|
16744
16750
|
declare namespace Spinner {
|
|
16745
16751
|
var displayName: string;
|
|
@@ -16918,7 +16924,7 @@ type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
16918
16924
|
tabContentDirection?: Direction;
|
|
16919
16925
|
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
16920
16926
|
addTabButtonProps?: Omit<AddTabButtonProps, 'index'>;
|
|
16921
|
-
} & Pick<ResponsiveProps, 'width'
|
|
16927
|
+
} & Pick<ResponsiveProps, 'width'>>;
|
|
16922
16928
|
declare const Tabs: {
|
|
16923
16929
|
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, style, htmlProps, ...rest }: TabsProps): import("react").JSX.Element;
|
|
16924
16930
|
displayName: string;
|
|
@@ -16943,7 +16949,7 @@ type TabProps = BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
|
16943
16949
|
* @default "1fr"
|
|
16944
16950
|
*/
|
|
16945
16951
|
width?: Properties['width'];
|
|
16946
|
-
} & PickedAttributes
|
|
16952
|
+
} & PickedAttributes>;
|
|
16947
16953
|
declare const Tab: {
|
|
16948
16954
|
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, style, width, ref, ...rest }: TabProps): import("react").JSX.Element;
|
|
16949
16955
|
displayName: string;
|
|
@@ -17128,7 +17134,6 @@ declare const ToggleButtonGroup: {
|
|
|
17128
17134
|
type AnchorElement = ReactElement<HTMLAttributes<HTMLElement> & {
|
|
17129
17135
|
ref: Ref<HTMLElement>;
|
|
17130
17136
|
}>;
|
|
17131
|
-
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'style' | 'onMouseLeave' | 'onMouseOver'>;
|
|
17132
17137
|
type TooltipProps = BaseComponentProps<HTMLDivElement, {
|
|
17133
17138
|
/**Innhold i tooltip. */
|
|
17134
17139
|
text: string;
|
|
@@ -17146,7 +17151,7 @@ type TooltipProps = BaseComponentProps<HTMLDivElement, {
|
|
|
17146
17151
|
tooltipId?: string;
|
|
17147
17152
|
/**Om tooltip skal alltid være i DOM, eller bli rendret først når den skal vises. */
|
|
17148
17153
|
keepMounted?: boolean;
|
|
17149
|
-
} &
|
|
17154
|
+
} & Pick<HTMLAttributes<HTMLDivElement>, 'onMouseLeave' | 'onMouseOver'>>;
|
|
17150
17155
|
declare const Tooltip: {
|
|
17151
17156
|
({ text, placement, children, tooltipId, delay, style, onMouseLeave, onMouseOver, keepMounted, id, ref, className, htmlProps, ...rest }: TooltipProps): import("react").JSX.Element;
|
|
17152
17157
|
displayName: string;
|
|
@@ -17159,5 +17164,5 @@ declare const VisuallyHidden: {
|
|
|
17159
17164
|
displayName: string;
|
|
17160
17165
|
};
|
|
17161
17166
|
//#endregion
|
|
17162
|
-
export { Accordion, AccordionBody, AccordionBodyProps, AccordionConfig, AccordionContextProvider, AccordionHeader, AccordionHeaderProps, AccordionProps, AccordionState, AddTabButton, AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, BaseComponentProps, BaseComponentPropsWithChildren, BaseItemProps, BaseLabelProps, BaseTypographyProps, Bleed$1 as Bleed, type BleedProps, BlockIcon, BlockTypographyResponsiveProps, BookIcon, BorderColor, BorderRadius, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, type Breakpoint, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Callback, Caption, CaptionProps, Card, CardExpandable, CardExpandableBody, CardExpandableBodyProps, CardExpandableHeader, CardExpandableHeaderProps, CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxPickedHTMLAttributes, CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, ColumnsOccupied, CommentIcon, CommonBlockTypographyProps, CommonInlineTypographyProps, Contrast, ContrastProps, CookieBanner, CookieBannerCheckbox, CookieBannerCheckboxProps, CookieBannerProps, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, DdsProviderProps, type DdsTheme, DeathsIcon, DescriptionList, DescriptionListAppearance, DescriptionListDesc, DescriptionListDescProps, DescriptionListGroup, DescriptionListGroupProps, DescriptionListProps, DescriptionListTerm, DescriptionListTermProps, DetailList, DetailListDesc, DetailListDescProps, DetailListProps, DetailListRow, DetailListRowProps, DetailListSize, DetailListTerm, DetailListTermProps, Direction, Divider, DividerColor, DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DropdownHeader, DropdownItem, DropdownItemButtonProps, DropdownItemCustomProps, DropdownItemProps, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, Elevation, EmptyContent, EmptyContentProps, ErrorIcon, ErrorSummary, ErrorSummaryItem, type ErrorSummaryItemProps, type ErrorSummaryProps, ExclaimIcon, ExpandIcon, ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, FeedbackProps, Fieldset, FieldsetGroup, FieldsetGroupProps, FieldsetProps, FileAddIcon, FileIcon, FileList, FileShieldedIcon, FileSignedIcon, FileStatusMap, FileTextIcon, FileUploader, FileUploaderAccept, FileUploaderProps, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloatingStyles, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterLeftProps, FooterList, FooterListGroup, FooterListGroupProps, FooterListHeader, FooterListHeaderProps, FooterListProps, FooterLogo, FooterLogoProps, FooterProps, FooterSocialsGroup, FooterSocialsGroupProps, FooterSocialsList, FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, GridChildProps, GridProps, GroupIcon, GuardianIcon, HStack, HStackProps, HTMLRootProps, Heading, HeadingLevel, HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, InlineElement, InlineTypographyResponsiveProps, InputMessage, InputMessageProps, InputMessageType, InstagramIcon, InternaHeaderUserProps, InternalHeader, InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LabelProps, LagmannsrettIcon, LanguageIcon, Layout, Legend, LegendProps, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, ListItemProps, ListProps, ListType, ListTypographyType, LocalMessage, LocalMessageLayout, LocalMessageProps, LocalMessagePurpose, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalActionsProps, ModalBody, ModalBodyProps, ModalProps, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectProps, NewsPopover, type NewsPopoverProps, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, Nullable, OnlineMeetingIcon, OpenExternalIcon, OtherTypographyType, OverflowMenu, OverflowMenuButton, OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuGroupProps, OverflowMenuLink, OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, OverflowMenuProps, OverflowMenuSpan, OverflowMenuSpanProps, OverflowMenuToggle, OverflowMenuToggleProps, Pagination, PaginationOption, PaginationProps, PaletteIcon, PanelLeftIcon, Paper, PaperBackground, PaperBorder, PaperBorderRadius, PaperElevation, PaperPlaneIcon, PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, PinIcon, Placement, PlusCircledIcon, PlusIcon, PolymorphicBaseComponentProps, PolymorphicProps, Popover, PopoverGroup, PopoverGroupProps, PopoverProps, PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, ProgressTrackerItemProps, ProgressTrackerProps, PublishIcon, type Purpose, QuestionAnswerIcon, RadioButton, RadioButtonGroup, RadioButtonGroupProps, type RadioButtonProps, type RadioValue, Rating, ReceiptIcon, RedoIcon, RefreshIcon, RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, SearchButtonProps, type SearchData, SearchIcon, type SearchProps, SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, SelectForwardRefType, SelectOption, SelectProps, SettingsIcon, ShowHide, ShowHideProps, type Size$1 as Size, Skeleton, SkeletonProps, SkipToContent, SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, SpinnerProps, SplitButton, SplitButtonPrimaryActionProps, SplitButtonProps, SplitButtonPurpose, SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilledIcon, StarIcon, StaticTypographyType, StickyNoteIcon, StylelessButton, StylelessButtonProps, StylelessList, StylelessListProps, StylelessOList, StylelessOListProps, SunIcon, SupportIcon, type SvgIcon, type SvgProps, SyncIcon, TG_BODY_LONG_TYPES, TG_BODY_SHORT_TYPES, TG_BODY_TYPES, TG_HEADING_TYPES, TG_LEAD_TYPES, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, type TabSize, 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, TextAffixProps, TextArea, TextAreaProps, TextInput, TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, ToggleRadioProps, type ToggleSize, Tooltip, TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, TypographyAnchorType, TypographyBodyLongType, TypographyBodyShortType, TypographyBodyType, TypographyComponentProps, TypographyHeadingType, TypographyLabelType, TypographyLeadType, TypographyProps, TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, UploadInfo, UploadStatus, UseAccordionBodyProps, UseAccordionHeaderProps, UseControllableGroupStateProps, UseControllableStateProps, UseFloatPositionOptions, VStack, VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index_d_exports as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, useAccordion, useAccordionContext, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize };
|
|
17167
|
+
export { Accordion, AccordionBody, AccordionBodyProps, AccordionConfig, AccordionContextProvider, AccordionHeader, AccordionHeaderProps, AccordionProps, AccordionState, AddTabButton, AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, BaseComponentProps, BaseComponentPropsWithChildren, BaseItemProps, BaseLabelProps, BaseTypographyProps, Bleed$1 as Bleed, type BleedProps, BlockIcon, BlockTypographyResponsiveProps, BookIcon, BorderColor, BorderRadius, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, type Breakpoint, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Callback, Caption, CaptionProps, Card, CardExpandable, CardExpandableBody, CardExpandableBodyProps, CardExpandableHeader, CardExpandableHeaderProps, CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxPickedHTMLAttributes, CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, ColumnsOccupied, CommentIcon, CommonBlockTypographyProps, CommonInlineTypographyProps, Contrast, ContrastProps, CookieBanner, CookieBannerCheckbox, CookieBannerCheckboxProps, CookieBannerProps, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, DdsProviderProps, type DdsTheme, DeathsIcon, DescriptionList, DescriptionListAppearance, DescriptionListDesc, DescriptionListDescProps, DescriptionListGroup, DescriptionListGroupProps, DescriptionListProps, DescriptionListTerm, DescriptionListTermProps, DetailList, DetailListDesc, DetailListDescProps, DetailListProps, DetailListRow, DetailListRowProps, DetailListSize, DetailListTerm, DetailListTermProps, Direction, Divider, DividerColor, DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DropdownHeader, DropdownItem, DropdownItemButtonProps, DropdownItemCustomProps, DropdownItemProps, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, Elevation, EmptyContent, EmptyContentProps, ErrorIcon, ErrorSummary, ErrorSummaryItem, type ErrorSummaryItemProps, type ErrorSummaryProps, ExclaimIcon, ExpandIcon, ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, FeedbackProps, Fieldset, FieldsetGroup, FieldsetGroupProps, FieldsetProps, FileAddIcon, FileIcon, FileList, FileShieldedIcon, FileSignedIcon, FileStatusMap, FileTextIcon, FileUploader, FileUploaderAccept, FileUploaderProps, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloatingStyles, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterLeftProps, FooterList, FooterListGroup, FooterListGroupProps, FooterListHeader, FooterListHeaderProps, FooterListProps, FooterLogo, FooterLogoProps, FooterProps, FooterSocialsGroup, FooterSocialsGroupProps, FooterSocialsList, FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, GridChildProps, GridProps, GroupIcon, GuardianIcon, HStack, HStackProps, HTMLRootProps, Heading, HeadingLevel, HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, InlineElement, InlineTypographyResponsiveProps, InputMessage, InputMessageProps, InputMessageType, InstagramIcon, InternaHeaderUserProps, InternalHeader, InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LabelProps, LagmannsrettIcon, LanguageIcon, Layout, Legend, LegendProps, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, ListItemProps, ListProps, ListType, ListTypographyType, LocalMessage, LocalMessageLayout, LocalMessageProps, LocalMessagePurpose, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalActionsProps, ModalBody, ModalBodyProps, ModalProps, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectProps, NewsPopover, type NewsPopoverProps, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, Nullable, OnlineMeetingIcon, OpenExternalIcon, OtherTypographyType, OverflowMenu, OverflowMenuButton, OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuGroupProps, OverflowMenuLink, OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, OverflowMenuProps, OverflowMenuSpan, OverflowMenuSpanProps, OverflowMenuToggle, OverflowMenuToggleProps, Pagination, PaginationOption, PaginationProps, PaletteIcon, PanelLeftIcon, Paper, PaperBackground, PaperBorder, PaperBorderRadius, PaperElevation, PaperPlaneIcon, PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, PinIcon, Placement, PlusCircledIcon, PlusIcon, PolymorphicBaseComponentProps, PolymorphicProps, Popover, PopoverGroup, PopoverGroupProps, PopoverProps, PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, ProgressTrackerItemProps, ProgressTrackerProps, PublishIcon, type Purpose, QuestionAnswerIcon, RadioButton, RadioButtonGroup, RadioButtonGroupProps, type RadioButtonProps, type RadioValue, Rating, ReceiptIcon, RedoIcon, RefreshIcon, RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, SearchButtonProps, type SearchData, SearchIcon, type SearchProps, SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, SelectForwardRefType, SelectOption, SelectProps, SettingsIcon, ShowHide, ShowHideProps, type Size$1 as Size, Skeleton, SkeletonProps, SkipToContent, SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, SpinnerProps, SplitButton, SplitButtonPrimaryActionProps, SplitButtonProps, SplitButtonPurpose, SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilledIcon, StarIcon, StaticTypographyType, StickyNoteIcon, StylelessButton, StylelessButtonProps, StylelessList, StylelessListProps, StylelessOList, StylelessOListProps, SunIcon, SupportIcon, type SvgIcon, type SvgProps, SyncIcon, TG_BODY_LONG_TYPES, TG_BODY_SHORT_TYPES, TG_BODY_TYPES, TG_HEADING_TYPES, TG_LEAD_TYPES, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, type TabSize, 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, TextAffixProps, TextArea, TextAreaProps, TextInput, TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, ToggleRadioProps, type ToggleSize, Tooltip, TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, TypographyAnchorType, TypographyBodyLongType, TypographyBodyShortType, TypographyBodyType, TypographyComponentProps, TypographyHeadingType, TypographyLabelType, TypographyLeadType, TypographyProps, TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, UploadInfo, UploadStatus, UseAccordionBodyProps, UseAccordionHeaderProps, UseControllableGroupStateProps, UseControllableStateProps, UseFloatPositionOptions, VStack, VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index_d_exports as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, useAccordion, useAccordionContext, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize };
|
|
17163
17168
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -202,6 +202,7 @@ type CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>>
|
|
|
202
202
|
/**Ref til komponenten. */
|
|
203
203
|
ref?: TRef;
|
|
204
204
|
};
|
|
205
|
+
type HTMLAttributesFor<T extends Element> = T extends HTMLButtonElement ? React.ButtonHTMLAttributes<T> : T extends HTMLAnchorElement ? React.AnchorHTMLAttributes<T> : React.HTMLAttributes<T>;
|
|
205
206
|
/**
|
|
206
207
|
* Basetype for props som eksponeres til konsumenter av designsystemet.
|
|
207
208
|
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
@@ -211,9 +212,11 @@ type CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>>
|
|
|
211
212
|
*
|
|
212
213
|
* @template TElement Element-type som genereres av komponenten.
|
|
213
214
|
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
214
|
-
* @template THTMLAttributesProps Standard `HTMLAttributes<T
|
|
215
|
+
* @template THTMLAttributesProps Standard `HTMLAttributes<T>`;
|
|
216
|
+
* settes til `ButtonHTMLAttributes<T>` hvis TElement er `HTMLButtonElement` og til `AnchorHTMLAttributes<T>` hvis TElement er `HTMLAnchorElement`.
|
|
217
|
+
* Kan overstyres hvis man trenger en annen basetype for `htmlProps`.
|
|
215
218
|
*/
|
|
216
|
-
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends
|
|
219
|
+
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends HTMLAttributesFor<TElement> = HTMLAttributesFor<TElement>> = TOtherProps & CommonComponentProps<Omit<THTMLAttributesProps, keyof HTMLRootProps | keyof TOtherProps>, Ref<TElement>>;
|
|
217
220
|
/**
|
|
218
221
|
* Basetype for polymorfe props som eksponeres til konsumenter av designsystemet.
|
|
219
222
|
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
@@ -232,7 +235,7 @@ type PolymorphicBaseComponentProps<E extends ElementType, TOtherProps extends ob
|
|
|
232
235
|
/**
|
|
233
236
|
* Utvidelse av {@link BaseComponentProps} med prop for `children`.
|
|
234
237
|
*/
|
|
235
|
-
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends
|
|
238
|
+
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends HTMLAttributesFor<T> = HTMLAttributesFor<T>> = BaseComponentProps<T, TProps & {
|
|
236
239
|
/**Barn. */
|
|
237
240
|
children?: ReactNode;
|
|
238
241
|
}, THTMLProps>;
|
|
@@ -331,7 +334,7 @@ declare const BUTTON_PURPOSES: ["primary", "secondary", "tertiary", "danger"];
|
|
|
331
334
|
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
332
335
|
type ButtonPurpose = (typeof BUTTON_PURPOSES)[number];
|
|
333
336
|
type IconPosition = 'left' | 'right';
|
|
334
|
-
type PickedHTMLAttributes$
|
|
337
|
+
type PickedHTMLAttributes$3 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type' | 'aria-label'>;
|
|
335
338
|
type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'> = PolymorphicBaseComponentProps<T, {
|
|
336
339
|
/** Størrelsen på knappen.
|
|
337
340
|
* @default "medium"
|
|
@@ -361,7 +364,7 @@ type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'>
|
|
|
361
364
|
iconState?: IconStatesOf<I>;
|
|
362
365
|
/**Knapp med full bredde. */
|
|
363
366
|
fullWidth?: boolean;
|
|
364
|
-
} & PickedHTMLAttributes$
|
|
367
|
+
} & PickedHTMLAttributes$3>;
|
|
365
368
|
//#endregion
|
|
366
369
|
//#region ../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts
|
|
367
370
|
interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
@@ -11284,6 +11287,9 @@ declare function ArrowRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
|
11284
11287
|
//#region src/components/Icon/icons/arrowUp.d.ts
|
|
11285
11288
|
declare function ArrowUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11286
11289
|
//#endregion
|
|
11290
|
+
//#region src/components/Icon/icons/arrowUpRight.d.ts
|
|
11291
|
+
declare function ArrowUpRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11292
|
+
//#endregion
|
|
11287
11293
|
//#region src/components/Icon/icons/attachment.d.ts
|
|
11288
11294
|
declare function AttachmentIcon(props: SvgProps): import("react").JSX.Element;
|
|
11289
11295
|
//#endregion
|
|
@@ -11786,7 +11792,7 @@ declare function SunIcon(props: SvgProps): import("react").JSX.Element;
|
|
|
11786
11792
|
//#region src/components/Icon/icons/support.d.ts
|
|
11787
11793
|
declare function SupportIcon(props: SvgProps): import("react").JSX.Element;
|
|
11788
11794
|
declare namespace index_d_exports {
|
|
11789
|
-
export { AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BarChartBoxedIcon, BarChartIcon, BlockIcon, BookIcon, BriefcaseIcon, BuildIcon, BuildingIcon, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CommentIcon, CopyIcon, CourtIcon, DateRangeIcon, DeathsIcon, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, EditAltIcon, EditIcon, ErrorIcon, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FeedbackIcon, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GroupIcon, GuardianIcon, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HomeIcon, HourglassEmptyIcon, ImageIcon, InfoIcon, InstagramIcon, JordskifterettIcon, JordskiftesakIcon, KeyIcon, LagmannsrettIcon, LanguageIcon, LineChartIcon, LinkIcon, LinkOffIcon, LinkedInIcon, ListAltIcon, ListIcon, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, PaletteIcon, PanelLeftIcon, PaperPlaneIcon, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, PlusCircledIcon, PlusIcon, PowerOfAttorneyIcon, PrintIcon, PublishIcon, QuestionAnswerIcon, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, SearchIcon, SectionIcon, SettingsIcon, SmsIcon, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, SunIcon, SupportIcon, SyncIcon, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TingrettIcon, TipIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VisibilityOffIcon, VisibilityOnIcon, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon };
|
|
11795
|
+
export { AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, AttachmentIcon, BarChartBoxedIcon, BarChartIcon, BlockIcon, BookIcon, BriefcaseIcon, BuildIcon, BuildingIcon, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CommentIcon, CopyIcon, CourtIcon, DateRangeIcon, DeathsIcon, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, EditAltIcon, EditIcon, ErrorIcon, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FeedbackIcon, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GroupIcon, GuardianIcon, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HomeIcon, HourglassEmptyIcon, ImageIcon, InfoIcon, InstagramIcon, JordskifterettIcon, JordskiftesakIcon, KeyIcon, LagmannsrettIcon, LanguageIcon, LineChartIcon, LinkIcon, LinkOffIcon, LinkedInIcon, ListAltIcon, ListIcon, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, PaletteIcon, PanelLeftIcon, PaperPlaneIcon, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, PlusCircledIcon, PlusIcon, PowerOfAttorneyIcon, PrintIcon, PublishIcon, QuestionAnswerIcon, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, SearchIcon, SectionIcon, SettingsIcon, SmsIcon, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, SunIcon, SupportIcon, SyncIcon, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TingrettIcon, TipIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VisibilityOffIcon, VisibilityOnIcon, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon };
|
|
11790
11796
|
}
|
|
11791
11797
|
//#endregion
|
|
11792
11798
|
//#region src/hooks/useCallbackRef/useCallbackRef.d.ts
|
|
@@ -14962,7 +14968,7 @@ type AnchorTypographyProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
|
14962
14968
|
href?: string | undefined;
|
|
14963
14969
|
/**nativ `target`-prop ved `typographyType='a'`. */
|
|
14964
14970
|
target?: string;
|
|
14965
|
-
}
|
|
14971
|
+
}>;
|
|
14966
14972
|
type LabelTypographyProps = BaseComponentPropsWithChildren<HTMLLabelElement, HTMLAttributes<HTMLLabelElement>>;
|
|
14967
14973
|
type OtherTypographyProps = BaseComponentPropsWithChildren<HTMLElement, HTMLAttributes<HTMLElement>>;
|
|
14968
14974
|
type TypographyProps = ({
|
|
@@ -15017,7 +15023,7 @@ declare const Heading: {
|
|
|
15017
15023
|
};
|
|
15018
15024
|
//#endregion
|
|
15019
15025
|
//#region src/components/Typography/Label/Label.d.ts
|
|
15020
|
-
type PickedHTMLAttributes$
|
|
15026
|
+
type PickedHTMLAttributes$2 = Pick<LabelHTMLAttributes<HTMLLabelElement>, 'htmlFor'>;
|
|
15021
15027
|
interface BaseLabelProps {
|
|
15022
15028
|
/** Om input knyttet til ledeteksten er påkrevd; påvirker styling. */
|
|
15023
15029
|
showRequiredStyling?: boolean;
|
|
@@ -15026,7 +15032,7 @@ interface BaseLabelProps {
|
|
|
15026
15032
|
/**Innhold som står etter ledeteksten (knapp med ekstra info e.l.). */
|
|
15027
15033
|
afterLabelContent?: ReactNode;
|
|
15028
15034
|
}
|
|
15029
|
-
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & CommonInlineTypographyProps & PickedHTMLAttributes$
|
|
15035
|
+
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & CommonInlineTypographyProps & PickedHTMLAttributes$2>;
|
|
15030
15036
|
declare const Label: {
|
|
15031
15037
|
({ showRequiredStyling, readOnly, id, className, style, htmlProps, children, afterLabelContent, ...rest }: LabelProps): import("react").JSX.Element;
|
|
15032
15038
|
displayName: string;
|
|
@@ -15045,7 +15051,7 @@ declare const Legend: {
|
|
|
15045
15051
|
};
|
|
15046
15052
|
//#endregion
|
|
15047
15053
|
//#region src/components/Typography/Link/Link.d.ts
|
|
15048
|
-
type PickedHTMLAttributes$
|
|
15054
|
+
type PickedHTMLAttributes$1 = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href' | 'target'>;
|
|
15049
15055
|
type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
15050
15056
|
/**Om lenken kan få `:visited`-styling. */
|
|
15051
15057
|
withVisited?: boolean;
|
|
@@ -15060,7 +15066,7 @@ type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
|
15060
15066
|
* Ikon kan legges inn som barn ved siden av teksten med `<Icon>`-komponent.
|
|
15061
15067
|
* */
|
|
15062
15068
|
withIconStyling?: boolean;
|
|
15063
|
-
} & CommonInlineTypographyProps & PickedHTMLAttributes$
|
|
15069
|
+
} & CommonInlineTypographyProps & PickedHTMLAttributes$1>;
|
|
15064
15070
|
declare const Link: {
|
|
15065
15071
|
<T extends ElementType = "a">({ id, className, htmlProps, children, typographyType, withMargins, withVisited, style, color, as: propAs, isAnchor: propIsAnchor, withIconStyling, ...rest }: LinkProps<T>): import("react").JSX.Element;
|
|
15066
15072
|
displayName: string;
|
|
@@ -15088,7 +15094,7 @@ type AccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElemen
|
|
|
15088
15094
|
typographyType?: StaticTypographyType;
|
|
15089
15095
|
/**Angir om teksten skal være i "bold"-format. */
|
|
15090
15096
|
bold?: boolean;
|
|
15091
|
-
}
|
|
15097
|
+
}>, 'id'>;
|
|
15092
15098
|
declare const AccordionHeader: {
|
|
15093
15099
|
({ children, className, style, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): import("react").JSX.Element;
|
|
15094
15100
|
displayName: string;
|
|
@@ -15141,7 +15147,7 @@ declare const Breadcrumbs: {
|
|
|
15141
15147
|
};
|
|
15142
15148
|
//#endregion
|
|
15143
15149
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
15144
|
-
type PickedHTMLAttributes
|
|
15150
|
+
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-label' | 'aria-labelledby'>;
|
|
15145
15151
|
type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15146
15152
|
/**Retning for gruppen.
|
|
15147
15153
|
* @default "row"
|
|
@@ -15159,7 +15165,7 @@ type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
15159
15165
|
* @default "group"
|
|
15160
15166
|
*/
|
|
15161
15167
|
role?: AriaRole;
|
|
15162
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes
|
|
15168
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes>>;
|
|
15163
15169
|
declare const ButtonGroup: {
|
|
15164
15170
|
({ children, id, className, style, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): import("react").JSX.Element;
|
|
15165
15171
|
displayName: string;
|
|
@@ -15281,7 +15287,7 @@ type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonE
|
|
|
15281
15287
|
typographyType?: StaticTypographyType;
|
|
15282
15288
|
/**Angir om teksten skal være i "bold"-format. */
|
|
15283
15289
|
bold?: boolean;
|
|
15284
|
-
}
|
|
15290
|
+
}>, 'id'>;
|
|
15285
15291
|
declare const CardExpandableHeader: {
|
|
15286
15292
|
({ children, className, style, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): import("react").JSX.Element;
|
|
15287
15293
|
displayName: string;
|
|
@@ -15319,7 +15325,7 @@ type CardSelectableGroupProps<T extends string | number> = BaseComponentPropsWit
|
|
|
15319
15325
|
value?: T | undefined;
|
|
15320
15326
|
/**Default verdi - en `<CardSelectable>` med denne verdien blir forhåndsvalgt med uncontrolled state. */
|
|
15321
15327
|
defaultValue?: T | undefined;
|
|
15322
|
-
}
|
|
15328
|
+
}>;
|
|
15323
15329
|
declare const CardSelectableGroup: {
|
|
15324
15330
|
<T extends string | number = string>({ name, cardType, errorMessage, disabled, readOnly, value, defaultValue, children, required, onChange, id, tipId, className, style, htmlProps, ...rest }: CardSelectableGroupProps<T>): import("react").JSX.Element;
|
|
15325
15331
|
displayName: string;
|
|
@@ -15565,7 +15571,7 @@ type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
|
15565
15571
|
* @default "default"
|
|
15566
15572
|
*/
|
|
15567
15573
|
color?: DividerColor;
|
|
15568
|
-
}
|
|
15574
|
+
}>;
|
|
15569
15575
|
declare const Divider: ({ color, id, className, style, htmlProps, ...rest }: DividerProps) => import("react").JSX.Element;
|
|
15570
15576
|
//#endregion
|
|
15571
15577
|
//#region src/components/Drawer/Drawer.d.ts
|
|
@@ -15681,7 +15687,7 @@ type FavStarProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
|
15681
15687
|
* @default "medium"
|
|
15682
15688
|
*/
|
|
15683
15689
|
size?: ComponentSize;
|
|
15684
|
-
}
|
|
15690
|
+
}>;
|
|
15685
15691
|
declare const FavStar: {
|
|
15686
15692
|
({ id, className, style, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): import("react").JSX.Element;
|
|
15687
15693
|
displayName: string;
|
|
@@ -16349,7 +16355,7 @@ type PaginationProps = BaseComponentProps<HTMLElement, {
|
|
|
16349
16355
|
onSelectOptionChange?: (option: PaginationOption | null) => void;
|
|
16350
16356
|
/**Brekkpunkt for små skjermer; den viser færre sideknapper og stacker delkomponentene. */
|
|
16351
16357
|
smallScreenBreakpoint?: Breakpoint;
|
|
16352
|
-
}
|
|
16358
|
+
}>;
|
|
16353
16359
|
declare const Pagination: {
|
|
16354
16360
|
({ itemsAmount, defaultItemsPerPage, defaultActivePage, activePage: activePageProp, withPagination, withCounter, withSelect, selectOptions, smallScreenBreakpoint, onChange, onSelectOptionChange, id, className, style, htmlProps, ref, ...rest }: PaginationProps): import("react").JSX.Element | null;
|
|
16355
16361
|
displayName: string;
|
|
@@ -16552,14 +16558,14 @@ type SearchButtonProps = {
|
|
|
16552
16558
|
} & Pick<ButtonProps, 'loading' | 'loadingTooltip'> & ComponentPropsWithRef<'button'>;
|
|
16553
16559
|
//#endregion
|
|
16554
16560
|
//#region src/components/Search/Search.d.ts
|
|
16555
|
-
type SearchProps = Pick<InputProps, 'tip' | 'label'> & {
|
|
16561
|
+
type SearchProps = Pick<InputProps, 'tip' | 'label' | 'width'> & {
|
|
16556
16562
|
/**Størrelsen på komponenten. */
|
|
16557
16563
|
componentSize?: SearchSize;
|
|
16558
16564
|
/**Props for søkeknappen. */
|
|
16559
16565
|
buttonProps?: SearchButtonProps;
|
|
16560
16566
|
/**Om søkeikonet skal vises. */
|
|
16561
16567
|
showIcon?: boolean;
|
|
16562
|
-
} &
|
|
16568
|
+
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
16563
16569
|
declare const Search$1: {
|
|
16564
16570
|
({ componentSize, buttonProps, showIcon, name, label, tip, id, value, width, onChange, className, style, "aria-describedby": ariaDescribedby, ref, ...rest }: SearchProps): import("react").JSX.Element;
|
|
16565
16571
|
displayName: string;
|
|
@@ -16688,7 +16694,7 @@ type RadioButtonGroupProps<T extends string | number> = BaseComponentPropsWithCh
|
|
|
16688
16694
|
value?: T | undefined;
|
|
16689
16695
|
/**Default verdi - en `<RadioButton>` med denne verdien blir forhåndsvalgt med uncontrolled state. */
|
|
16690
16696
|
defaultValue?: T | undefined;
|
|
16691
|
-
}
|
|
16697
|
+
}>;
|
|
16692
16698
|
declare const RadioButtonGroup: {
|
|
16693
16699
|
<T extends string | number = string>({ name, label, groupId, errorMessage, tip, disabled, readOnly, direction, value, defaultValue, children, required, onChange, id, className, style, htmlProps, ...rest }: RadioButtonGroupProps<T>): import("react").JSX.Element;
|
|
16694
16700
|
displayName: string;
|
|
@@ -16738,7 +16744,7 @@ type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
|
16738
16744
|
* @default "Innlasting pågår"
|
|
16739
16745
|
*/
|
|
16740
16746
|
tooltip?: string;
|
|
16741
|
-
}
|
|
16747
|
+
}>;
|
|
16742
16748
|
declare function Spinner(props: SpinnerProps): import("react").JSX.Element;
|
|
16743
16749
|
declare namespace Spinner {
|
|
16744
16750
|
var displayName: string;
|
|
@@ -16917,7 +16923,7 @@ type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
16917
16923
|
tabContentDirection?: Direction;
|
|
16918
16924
|
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
16919
16925
|
addTabButtonProps?: Omit<AddTabButtonProps, 'index'>;
|
|
16920
|
-
} & Pick<ResponsiveProps, 'width'
|
|
16926
|
+
} & Pick<ResponsiveProps, 'width'>>;
|
|
16921
16927
|
declare const Tabs: {
|
|
16922
16928
|
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, style, htmlProps, ...rest }: TabsProps): import("react").JSX.Element;
|
|
16923
16929
|
displayName: string;
|
|
@@ -16942,7 +16948,7 @@ type TabProps = BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
|
16942
16948
|
* @default "1fr"
|
|
16943
16949
|
*/
|
|
16944
16950
|
width?: Properties['width'];
|
|
16945
|
-
} & PickedAttributes
|
|
16951
|
+
} & PickedAttributes>;
|
|
16946
16952
|
declare const Tab: {
|
|
16947
16953
|
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, style, width, ref, ...rest }: TabProps): import("react").JSX.Element;
|
|
16948
16954
|
displayName: string;
|
|
@@ -17127,7 +17133,6 @@ declare const ToggleButtonGroup: {
|
|
|
17127
17133
|
type AnchorElement = ReactElement<HTMLAttributes<HTMLElement> & {
|
|
17128
17134
|
ref: Ref<HTMLElement>;
|
|
17129
17135
|
}>;
|
|
17130
|
-
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'style' | 'onMouseLeave' | 'onMouseOver'>;
|
|
17131
17136
|
type TooltipProps = BaseComponentProps<HTMLDivElement, {
|
|
17132
17137
|
/**Innhold i tooltip. */
|
|
17133
17138
|
text: string;
|
|
@@ -17145,7 +17150,7 @@ type TooltipProps = BaseComponentProps<HTMLDivElement, {
|
|
|
17145
17150
|
tooltipId?: string;
|
|
17146
17151
|
/**Om tooltip skal alltid være i DOM, eller bli rendret først når den skal vises. */
|
|
17147
17152
|
keepMounted?: boolean;
|
|
17148
|
-
} &
|
|
17153
|
+
} & Pick<HTMLAttributes<HTMLDivElement>, 'onMouseLeave' | 'onMouseOver'>>;
|
|
17149
17154
|
declare const Tooltip: {
|
|
17150
17155
|
({ text, placement, children, tooltipId, delay, style, onMouseLeave, onMouseOver, keepMounted, id, ref, className, htmlProps, ...rest }: TooltipProps): import("react").JSX.Element;
|
|
17151
17156
|
displayName: string;
|
|
@@ -17158,5 +17163,5 @@ declare const VisuallyHidden: {
|
|
|
17158
17163
|
displayName: string;
|
|
17159
17164
|
};
|
|
17160
17165
|
//#endregion
|
|
17161
|
-
export { Accordion, AccordionBody, AccordionBodyProps, AccordionConfig, AccordionContextProvider, AccordionHeader, AccordionHeaderProps, AccordionProps, AccordionState, AddTabButton, AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, BaseComponentProps, BaseComponentPropsWithChildren, BaseItemProps, BaseLabelProps, BaseTypographyProps, Bleed$1 as Bleed, type BleedProps, BlockIcon, BlockTypographyResponsiveProps, BookIcon, BorderColor, BorderRadius, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, type Breakpoint, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Callback, Caption, CaptionProps, Card, CardExpandable, CardExpandableBody, CardExpandableBodyProps, CardExpandableHeader, CardExpandableHeaderProps, CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxPickedHTMLAttributes, CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, ColumnsOccupied, CommentIcon, CommonBlockTypographyProps, CommonInlineTypographyProps, Contrast, ContrastProps, CookieBanner, CookieBannerCheckbox, CookieBannerCheckboxProps, CookieBannerProps, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, DdsProviderProps, type DdsTheme, DeathsIcon, DescriptionList, DescriptionListAppearance, DescriptionListDesc, DescriptionListDescProps, DescriptionListGroup, DescriptionListGroupProps, DescriptionListProps, DescriptionListTerm, DescriptionListTermProps, DetailList, DetailListDesc, DetailListDescProps, DetailListProps, DetailListRow, DetailListRowProps, DetailListSize, DetailListTerm, DetailListTermProps, Direction, Divider, DividerColor, DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DropdownHeader, DropdownItem, DropdownItemButtonProps, DropdownItemCustomProps, DropdownItemProps, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, Elevation, EmptyContent, EmptyContentProps, ErrorIcon, ErrorSummary, ErrorSummaryItem, type ErrorSummaryItemProps, type ErrorSummaryProps, ExclaimIcon, ExpandIcon, ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, FeedbackProps, Fieldset, FieldsetGroup, FieldsetGroupProps, FieldsetProps, FileAddIcon, FileIcon, FileList, FileShieldedIcon, FileSignedIcon, FileStatusMap, FileTextIcon, FileUploader, FileUploaderAccept, FileUploaderProps, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloatingStyles, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterLeftProps, FooterList, FooterListGroup, FooterListGroupProps, FooterListHeader, FooterListHeaderProps, FooterListProps, FooterLogo, FooterLogoProps, FooterProps, FooterSocialsGroup, FooterSocialsGroupProps, FooterSocialsList, FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, GridChildProps, GridProps, GroupIcon, GuardianIcon, HStack, HStackProps, HTMLRootProps, Heading, HeadingLevel, HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, InlineElement, InlineTypographyResponsiveProps, InputMessage, InputMessageProps, InputMessageType, InstagramIcon, InternaHeaderUserProps, InternalHeader, InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LabelProps, LagmannsrettIcon, LanguageIcon, Layout, Legend, LegendProps, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, ListItemProps, ListProps, ListType, ListTypographyType, LocalMessage, LocalMessageLayout, LocalMessageProps, LocalMessagePurpose, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalActionsProps, ModalBody, ModalBodyProps, ModalProps, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectProps, NewsPopover, type NewsPopoverProps, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, Nullable, OnlineMeetingIcon, OpenExternalIcon, OtherTypographyType, OverflowMenu, OverflowMenuButton, OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuGroupProps, OverflowMenuLink, OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, OverflowMenuProps, OverflowMenuSpan, OverflowMenuSpanProps, OverflowMenuToggle, OverflowMenuToggleProps, Pagination, PaginationOption, PaginationProps, PaletteIcon, PanelLeftIcon, Paper, PaperBackground, PaperBorder, PaperBorderRadius, PaperElevation, PaperPlaneIcon, PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, PinIcon, Placement, PlusCircledIcon, PlusIcon, PolymorphicBaseComponentProps, PolymorphicProps, Popover, PopoverGroup, PopoverGroupProps, PopoverProps, PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, ProgressTrackerItemProps, ProgressTrackerProps, PublishIcon, type Purpose, QuestionAnswerIcon, RadioButton, RadioButtonGroup, RadioButtonGroupProps, type RadioButtonProps, type RadioValue, Rating, ReceiptIcon, RedoIcon, RefreshIcon, RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, SearchButtonProps, type SearchData, SearchIcon, type SearchProps, SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, SelectForwardRefType, SelectOption, SelectProps, SettingsIcon, ShowHide, ShowHideProps, type Size$1 as Size, Skeleton, SkeletonProps, SkipToContent, SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, SpinnerProps, SplitButton, SplitButtonPrimaryActionProps, SplitButtonProps, SplitButtonPurpose, SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilledIcon, StarIcon, StaticTypographyType, StickyNoteIcon, StylelessButton, StylelessButtonProps, StylelessList, StylelessListProps, StylelessOList, StylelessOListProps, SunIcon, SupportIcon, type SvgIcon, type SvgProps, SyncIcon, TG_BODY_LONG_TYPES, TG_BODY_SHORT_TYPES, TG_BODY_TYPES, TG_HEADING_TYPES, TG_LEAD_TYPES, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, type TabSize, 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, TextAffixProps, TextArea, TextAreaProps, TextInput, TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, ToggleRadioProps, type ToggleSize, Tooltip, TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, TypographyAnchorType, TypographyBodyLongType, TypographyBodyShortType, TypographyBodyType, TypographyComponentProps, TypographyHeadingType, TypographyLabelType, TypographyLeadType, TypographyProps, TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, UploadInfo, UploadStatus, UseAccordionBodyProps, UseAccordionHeaderProps, UseControllableGroupStateProps, UseControllableStateProps, UseFloatPositionOptions, VStack, VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index_d_exports as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, useAccordion, useAccordionContext, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize };
|
|
17166
|
+
export { Accordion, AccordionBody, AccordionBodyProps, AccordionConfig, AccordionContextProvider, AccordionHeader, AccordionHeaderProps, AccordionProps, AccordionState, AddTabButton, AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, BaseComponentProps, BaseComponentPropsWithChildren, BaseItemProps, BaseLabelProps, BaseTypographyProps, Bleed$1 as Bleed, type BleedProps, BlockIcon, BlockTypographyResponsiveProps, BookIcon, BorderColor, BorderRadius, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, type Breakpoint, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Callback, Caption, CaptionProps, Card, CardExpandable, CardExpandableBody, CardExpandableBodyProps, CardExpandableHeader, CardExpandableHeaderProps, CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxPickedHTMLAttributes, CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, ColumnsOccupied, CommentIcon, CommonBlockTypographyProps, CommonInlineTypographyProps, Contrast, ContrastProps, CookieBanner, CookieBannerCheckbox, CookieBannerCheckboxProps, CookieBannerProps, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, DdsProviderProps, type DdsTheme, DeathsIcon, DescriptionList, DescriptionListAppearance, DescriptionListDesc, DescriptionListDescProps, DescriptionListGroup, DescriptionListGroupProps, DescriptionListProps, DescriptionListTerm, DescriptionListTermProps, DetailList, DetailListDesc, DetailListDescProps, DetailListProps, DetailListRow, DetailListRowProps, DetailListSize, DetailListTerm, DetailListTermProps, Direction, Divider, DividerColor, DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DropdownHeader, DropdownItem, DropdownItemButtonProps, DropdownItemCustomProps, DropdownItemProps, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, Elevation, EmptyContent, EmptyContentProps, ErrorIcon, ErrorSummary, ErrorSummaryItem, type ErrorSummaryItemProps, type ErrorSummaryProps, ExclaimIcon, ExpandIcon, ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, FeedbackProps, Fieldset, FieldsetGroup, FieldsetGroupProps, FieldsetProps, FileAddIcon, FileIcon, FileList, FileShieldedIcon, FileSignedIcon, FileStatusMap, FileTextIcon, FileUploader, FileUploaderAccept, FileUploaderProps, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloatingStyles, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterLeftProps, FooterList, FooterListGroup, FooterListGroupProps, FooterListHeader, FooterListHeaderProps, FooterListProps, FooterLogo, FooterLogoProps, FooterProps, FooterSocialsGroup, FooterSocialsGroupProps, FooterSocialsList, FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, GridChildProps, GridProps, GroupIcon, GuardianIcon, HStack, HStackProps, HTMLRootProps, Heading, HeadingLevel, HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, InlineElement, InlineTypographyResponsiveProps, InputMessage, InputMessageProps, InputMessageType, InstagramIcon, InternaHeaderUserProps, InternalHeader, InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LabelProps, LagmannsrettIcon, LanguageIcon, Layout, Legend, LegendProps, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, ListItemProps, ListProps, ListType, ListTypographyType, LocalMessage, LocalMessageLayout, LocalMessageProps, LocalMessagePurpose, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalActionsProps, ModalBody, ModalBodyProps, ModalProps, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectProps, NewsPopover, type NewsPopoverProps, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, Nullable, OnlineMeetingIcon, OpenExternalIcon, OtherTypographyType, OverflowMenu, OverflowMenuButton, OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuGroupProps, OverflowMenuLink, OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, OverflowMenuProps, OverflowMenuSpan, OverflowMenuSpanProps, OverflowMenuToggle, OverflowMenuToggleProps, Pagination, PaginationOption, PaginationProps, PaletteIcon, PanelLeftIcon, Paper, PaperBackground, PaperBorder, PaperBorderRadius, PaperElevation, PaperPlaneIcon, PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, PinIcon, Placement, PlusCircledIcon, PlusIcon, PolymorphicBaseComponentProps, PolymorphicProps, Popover, PopoverGroup, PopoverGroupProps, PopoverProps, PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, ProgressTrackerItemProps, ProgressTrackerProps, PublishIcon, type Purpose, QuestionAnswerIcon, RadioButton, RadioButtonGroup, RadioButtonGroupProps, type RadioButtonProps, type RadioValue, Rating, ReceiptIcon, RedoIcon, RefreshIcon, RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, SearchButtonProps, type SearchData, SearchIcon, type SearchProps, SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, SelectForwardRefType, SelectOption, SelectProps, SettingsIcon, ShowHide, ShowHideProps, type Size$1 as Size, Skeleton, SkeletonProps, SkipToContent, SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, SpinnerProps, SplitButton, SplitButtonPrimaryActionProps, SplitButtonProps, SplitButtonPurpose, SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilledIcon, StarIcon, StaticTypographyType, StickyNoteIcon, StylelessButton, StylelessButtonProps, StylelessList, StylelessListProps, StylelessOList, StylelessOListProps, SunIcon, SupportIcon, type SvgIcon, type SvgProps, SyncIcon, TG_BODY_LONG_TYPES, TG_BODY_SHORT_TYPES, TG_BODY_TYPES, TG_HEADING_TYPES, TG_LEAD_TYPES, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, type TabSize, 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, TextAffixProps, TextArea, TextAreaProps, TextInput, TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, ToggleRadioProps, type ToggleSize, Tooltip, TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, TypographyAnchorType, TypographyBodyLongType, TypographyBodyShortType, TypographyBodyType, TypographyComponentProps, TypographyHeadingType, TypographyLabelType, TypographyLeadType, TypographyProps, TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, UploadInfo, UploadStatus, UseAccordionBodyProps, UseAccordionHeaderProps, UseControllableGroupStateProps, UseControllableStateProps, UseFloatPositionOptions, VStack, VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index_d_exports as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, useAccordion, useAccordionContext, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize };
|
|
17162
17167
|
//# sourceMappingURL=index.d.mts.map
|