@norges-domstoler/dds-components 21.17.2 → 21.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +92 -46
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +84 -43
- package/dist/index.d.ts +84 -43
- package/dist/index.js +852 -564
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +885 -607
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -693,6 +693,8 @@ interface PrimitiveLayoutProps {
|
|
|
693
693
|
rowGap?: ResponsiveProp<Property.RowGap | SpacingScale>;
|
|
694
694
|
/** CSS `column-gap`. Støtter standardverdier og dds spacing tokens skala, per brekkpunkt eller samme for alle skjermstørrelser. */
|
|
695
695
|
columnGap?: ResponsiveProp<Property.ColumnGap | SpacingScale>;
|
|
696
|
+
/** CSS `word-break`. Støtter verdi per brekkpunkt eller samme for alle skjermstørrelser. */
|
|
697
|
+
wordBreak?: ResponsiveProp<Property.WordBreak>;
|
|
696
698
|
}
|
|
697
699
|
type ResponsiveProps = PrimitiveDisplayProps & PrimitiveLayoutProps;
|
|
698
700
|
type ResponsiveStackProps = Omit<ResponsiveProps, 'display' | 'flexDirection'>;
|
|
@@ -1390,7 +1392,7 @@ declare namespace index {
|
|
|
1390
1392
|
* Join class names together.
|
|
1391
1393
|
* Will filter out all falsy values.
|
|
1392
1394
|
*/
|
|
1393
|
-
declare function cn(...classNames: Array<unknown>): string;
|
|
1395
|
+
declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
1394
1396
|
|
|
1395
1397
|
type DdsTheme = keyof typeof ddsTokens;
|
|
1396
1398
|
interface ThemeContextProps {
|
|
@@ -2206,7 +2208,7 @@ declare function useTheme(): {
|
|
|
2206
2208
|
themeName: "core" | "public";
|
|
2207
2209
|
};
|
|
2208
2210
|
|
|
2209
|
-
type Language = 'nb' | 'nn' | 'no' | 'en';
|
|
2211
|
+
type Language = 'nb' | 'nn' | 'no' | 'en' | 'se';
|
|
2210
2212
|
|
|
2211
2213
|
interface LanguageProviderProps {
|
|
2212
2214
|
language: Language;
|
|
@@ -2306,6 +2308,25 @@ declare const Typography: {
|
|
|
2306
2308
|
displayName: string;
|
|
2307
2309
|
};
|
|
2308
2310
|
|
|
2311
|
+
declare const ICON_SIZES: ["small", "medium", "large", "inherit"];
|
|
2312
|
+
type IconSize = (typeof ICON_SIZES)[number];
|
|
2313
|
+
type IconProps = BaseComponentProps<SVGSVGElement, {
|
|
2314
|
+
/**Ikonet importert fra `@norges-domstoler/dds-components`. */
|
|
2315
|
+
icon: SvgIcon;
|
|
2316
|
+
/**Størrelsen på ikonet.
|
|
2317
|
+
* @default "medium"
|
|
2318
|
+
*/
|
|
2319
|
+
iconSize?: IconSize;
|
|
2320
|
+
/**Fargen på ikonet.
|
|
2321
|
+
* @default "currentcolor"
|
|
2322
|
+
*/
|
|
2323
|
+
color?: TextColor;
|
|
2324
|
+
}, Omit<HTMLAttributes<SVGSVGElement>, 'color'>>;
|
|
2325
|
+
declare function Icon(props: IconProps): react.JSX.Element;
|
|
2326
|
+
declare namespace Icon {
|
|
2327
|
+
var displayName: string;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2309
2330
|
interface CommonInputProps {
|
|
2310
2331
|
/**Ledetekst. */
|
|
2311
2332
|
label?: string;
|
|
@@ -2326,6 +2347,10 @@ type InputProps = CommonInputProps & {
|
|
|
2326
2347
|
*/
|
|
2327
2348
|
componentSize?: InputSize;
|
|
2328
2349
|
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
2350
|
+
interface InputIconProps {
|
|
2351
|
+
/** Ikonet som vises i komponenten. */
|
|
2352
|
+
icon?: SvgIcon;
|
|
2353
|
+
}
|
|
2329
2354
|
|
|
2330
2355
|
declare const defaultTypographyType: TypographyBodyType;
|
|
2331
2356
|
declare const defaultTypographyTypeClassName: HyphenTypographyType;
|
|
@@ -2726,6 +2751,8 @@ type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions
|
|
|
2726
2751
|
groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
|
|
2727
2752
|
ref?: Ref<HTMLDivElement>;
|
|
2728
2753
|
clearable?: boolean;
|
|
2754
|
+
tipId?: string;
|
|
2755
|
+
errorMessageId?: string;
|
|
2729
2756
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
2730
2757
|
|
|
2731
2758
|
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'>, Pick<ResponsiveProps, 'width'> {
|
|
@@ -2972,7 +2999,7 @@ interface FeedbackProps {
|
|
|
2972
2999
|
/**Label som er plassert over tommel opp/ned knappene.
|
|
2973
3000
|
* @default "Hva syns du om tjenesten?"
|
|
2974
3001
|
*/
|
|
2975
|
-
ratingLabel
|
|
3002
|
+
ratingLabel?: string;
|
|
2976
3003
|
/**Label til fritekstfeltet når bruker har gitt tommel opp.
|
|
2977
3004
|
* @default "Hva kan vi forbedre? (valgfritt)"
|
|
2978
3005
|
*/
|
|
@@ -3125,24 +3152,57 @@ declare const FooterListGroup: ({ className, ...rest }: FooterListGroupProps) =>
|
|
|
3125
3152
|
type FooterLeftProps = ComponentPropsWithRef<'div'>;
|
|
3126
3153
|
declare const FooterLeft: ({ className, ...rest }: FooterLeftProps) => react_jsx_runtime.JSX.Element;
|
|
3127
3154
|
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
/**
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
/**Fargen på ikonet.
|
|
3138
|
-
* @default "currentcolor"
|
|
3155
|
+
type FormSummaryProps = Pick<PaperProps, 'children' | 'htmlProps' | 'ref' | 'id' | 'style' | 'className' | 'padding' | 'paddingBlock' | 'paddingInline' | 'margin' | 'marginBlock' | 'marginInline' | 'width' | 'minWidth' | 'maxWidth'>;
|
|
3156
|
+
declare const FormSummary: (props: FormSummaryProps) => react_jsx_runtime.JSX.Element;
|
|
3157
|
+
|
|
3158
|
+
type InputMessageType = 'error' | 'tip';
|
|
3159
|
+
type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
3160
|
+
/** Meldingen som vises til brukeren. */
|
|
3161
|
+
message?: string;
|
|
3162
|
+
/** Formålet med meldingen. Påvirker styling.
|
|
3163
|
+
* @default "error"
|
|
3139
3164
|
*/
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
declare
|
|
3143
|
-
|
|
3144
|
-
|
|
3165
|
+
messageType: InputMessageType;
|
|
3166
|
+
} & Pick<ResponsiveProps, 'margin' | 'marginInline' | 'marginBlock'>>;
|
|
3167
|
+
declare const InputMessage: {
|
|
3168
|
+
({ message, messageType, id, className, htmlProps, children, ...rest }: InputMessageProps): react_jsx_runtime.JSX.Element;
|
|
3169
|
+
displayName: string;
|
|
3170
|
+
};
|
|
3171
|
+
interface RenderInputMessageProps {
|
|
3172
|
+
tip?: string;
|
|
3173
|
+
tipId?: string;
|
|
3174
|
+
errorMessage?: string;
|
|
3175
|
+
errorMessageId?: string;
|
|
3176
|
+
noSpacing?: boolean;
|
|
3145
3177
|
}
|
|
3178
|
+
declare const renderInputMessage: ({ tip, tipId, errorMessage, errorMessageId, noSpacing, }: RenderInputMessageProps) => react_jsx_runtime.JSX.Element;
|
|
3179
|
+
|
|
3180
|
+
type FormSummaryHeaderProps = ComponentPropsWithRef<'div'>;
|
|
3181
|
+
declare function FormSummaryHeader({ ...props }: FormSummaryHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3182
|
+
type FormSummaryHeadingProps = {
|
|
3183
|
+
/** Heading level. */
|
|
3184
|
+
level?: Exclude<HeadingProps['level'], 1>;
|
|
3185
|
+
} & Omit<HeadingProps, 'level'>;
|
|
3186
|
+
declare function FormSummaryHeading({ level, ...props }: FormSummaryHeadingProps): react_jsx_runtime.JSX.Element;
|
|
3187
|
+
type FormSummaryEditButtonProps = {
|
|
3188
|
+
/**Formål med knappen. */
|
|
3189
|
+
purpose?: ExtractStrict<ButtonPurpose, 'secondary' | 'tertiary'>;
|
|
3190
|
+
} & Omit<ButtonProps, 'purpose'>;
|
|
3191
|
+
declare function FormSummaryEditButton({ purpose, ...props }: FormSummaryEditButtonProps): react_jsx_runtime.JSX.Element;
|
|
3192
|
+
type FormSummaryFieldsProps = Omit<DescriptionListProps, 'direction'>;
|
|
3193
|
+
declare function FormSummaryFields({ ...props }: FormSummaryFieldsProps): react_jsx_runtime.JSX.Element;
|
|
3194
|
+
type FormSummaryFieldProps = ComponentPropsWithRef<'div'>;
|
|
3195
|
+
declare function FormSummaryField({ className, ...props }: FormSummaryFieldProps): react_jsx_runtime.JSX.Element;
|
|
3196
|
+
type FormSummaryLabelProps = DescriptionListTermProps;
|
|
3197
|
+
declare function FormSummaryLabel(props: FormSummaryLabelProps): react_jsx_runtime.JSX.Element;
|
|
3198
|
+
type FormSummaryValueProps = {
|
|
3199
|
+
/**Hvis data hentes fra ekstern kilde kan feltet vise innlastning. */
|
|
3200
|
+
isLoading?: boolean;
|
|
3201
|
+
} & DescriptionListDescProps;
|
|
3202
|
+
declare function FormSummaryValue({ className, isLoading, children, ...props }: FormSummaryValueProps): react_jsx_runtime.JSX.Element;
|
|
3203
|
+
declare function FormSummaryEmptyValue(): react_jsx_runtime.JSX.Element;
|
|
3204
|
+
type FormSummaryErrorProps = Omit<InputMessageProps, 'messageType' | 'message'>;
|
|
3205
|
+
declare function FormSummaryError({ ...props }: FormSummaryErrorProps): react_jsx_runtime.JSX.Element;
|
|
3146
3206
|
|
|
3147
3207
|
type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
|
|
3148
3208
|
type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
@@ -3224,21 +3284,6 @@ declare const InlineEditInput: ({ onSetValue, emptiable, value, onFocus, onChang
|
|
|
3224
3284
|
|
|
3225
3285
|
declare const InlineEditSelect: ({ onSetValue, emptiable, value, onFocus, onChange, onBlur, ref, ...rest }: InlineEditSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3226
3286
|
|
|
3227
|
-
type InputMessageType = 'error' | 'tip';
|
|
3228
|
-
type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
3229
|
-
/** Meldingen som vises til brukeren. */
|
|
3230
|
-
message: string;
|
|
3231
|
-
/** Formålet med meldingen. Påvirker styling.
|
|
3232
|
-
* @default "error"
|
|
3233
|
-
*/
|
|
3234
|
-
messageType: InputMessageType;
|
|
3235
|
-
}>;
|
|
3236
|
-
declare const InputMessage: {
|
|
3237
|
-
({ message, messageType, id, className, htmlProps, ...rest }: InputMessageProps): react_jsx_runtime.JSX.Element;
|
|
3238
|
-
displayName: string;
|
|
3239
|
-
};
|
|
3240
|
-
declare const renderInputMessage: (tip?: string, tipId?: string, errorMessage?: string, errorMessageId?: string) => react_jsx_runtime.JSX.Element;
|
|
3241
|
-
|
|
3242
3287
|
type NavigationLinkProps = {
|
|
3243
3288
|
children: ReactNode;
|
|
3244
3289
|
href: string;
|
|
@@ -3769,8 +3814,6 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
|
|
|
3769
3814
|
* @default "medium"
|
|
3770
3815
|
*/
|
|
3771
3816
|
componentSize?: InputSize;
|
|
3772
|
-
/**Ikonet som vises i komponenten. */
|
|
3773
|
-
icon?: SvgIcon;
|
|
3774
3817
|
/**Nedtrekkslisten blir `readonly` og får readOnly styling. */
|
|
3775
3818
|
readOnly?: boolean;
|
|
3776
3819
|
/** CSS klassenavn. */
|
|
@@ -3785,7 +3828,7 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
|
|
|
3785
3828
|
'data-testid'?: string;
|
|
3786
3829
|
/**Ref til komponenten. */
|
|
3787
3830
|
ref?: SelectForwardRefType<Option, IsMulti>;
|
|
3788
|
-
} & CommonInputProps & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
|
|
3831
|
+
} & CommonInputProps & InputIconProps & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
|
|
3789
3832
|
type SelectForwardRefType<Option, IsMulti extends boolean> = Ref<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
|
|
3790
3833
|
declare function Select<Option = unknown, IsMulti extends boolean = false>({ id, label, componentSize, errorMessage, tip, 'aria-required': ariaRequired, readOnly, options, isMulti, value, icon, defaultValue, width, closeMenuOnSelect, className, style, isDisabled, isClearable, placeholder, menuPortalTarget, customOptionElement, customSingleValueElement, 'data-testid': dataTestId, onKeyDown, openMenuOnClick, ref, instanceId, afterLabelContent, ...rest }: SelectProps<Option, IsMulti>): react_jsx_runtime.JSX.Element;
|
|
3791
3834
|
declare namespace Select {
|
|
@@ -3797,8 +3840,8 @@ type NativeSelectProps = {
|
|
|
3797
3840
|
clearable?: boolean;
|
|
3798
3841
|
/** Implementerer `readOnly` oppførsel etter standard for `<input>` og setter `readOnly` styling. */
|
|
3799
3842
|
readOnly?: InputProps['readOnly'];
|
|
3800
|
-
} & CommonInputProps & Pick<InputProps, 'componentSize'> & ComponentPropsWithRef<'select'>;
|
|
3801
|
-
declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, afterLabelContent, onChange, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3843
|
+
} & CommonInputProps & Pick<InputProps, 'componentSize'> & InputIconProps & ComponentPropsWithRef<'select'>;
|
|
3844
|
+
declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, afterLabelContent, onChange, icon, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3802
3845
|
type NativeSelectPlaceholderProps = ComponentPropsWithRef<'option'>;
|
|
3803
3846
|
declare const NativeSelectPlaceholder: {
|
|
3804
3847
|
({ children, value, ...rest }: NativeSelectPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -4165,11 +4208,9 @@ declare const TextArea: {
|
|
|
4165
4208
|
displayName: string;
|
|
4166
4209
|
};
|
|
4167
4210
|
|
|
4168
|
-
type TextInputProps = Omit<InputProps, 'prefix'> & {
|
|
4211
|
+
type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
4169
4212
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt. */
|
|
4170
4213
|
withCharacterCounter?: boolean;
|
|
4171
|
-
/** Ikonet som vises i komponenten. */
|
|
4172
|
-
icon?: SvgIcon;
|
|
4173
4214
|
/**
|
|
4174
4215
|
* Prefiks som vises før inputfeltet. **OBS!** Prefiks leses ikke av skjermleser og skal derfor ikke brukes som en erstatter for en beskrivende label.
|
|
4175
4216
|
* */
|
|
@@ -4331,4 +4372,4 @@ declare const VisuallyHidden: {
|
|
|
4331
4372
|
displayName: string;
|
|
4332
4373
|
};
|
|
4333
4374
|
|
|
4334
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, 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, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, 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, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, 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, type HStackProps, 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, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, 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, 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 PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type 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, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, createSizes, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|
|
4375
|
+
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, 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, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, 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, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, 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, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, type FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, type HStackProps, 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, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, 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, 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 PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type 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, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, createSizes, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -693,6 +693,8 @@ interface PrimitiveLayoutProps {
|
|
|
693
693
|
rowGap?: ResponsiveProp<Property.RowGap | SpacingScale>;
|
|
694
694
|
/** CSS `column-gap`. Støtter standardverdier og dds spacing tokens skala, per brekkpunkt eller samme for alle skjermstørrelser. */
|
|
695
695
|
columnGap?: ResponsiveProp<Property.ColumnGap | SpacingScale>;
|
|
696
|
+
/** CSS `word-break`. Støtter verdi per brekkpunkt eller samme for alle skjermstørrelser. */
|
|
697
|
+
wordBreak?: ResponsiveProp<Property.WordBreak>;
|
|
696
698
|
}
|
|
697
699
|
type ResponsiveProps = PrimitiveDisplayProps & PrimitiveLayoutProps;
|
|
698
700
|
type ResponsiveStackProps = Omit<ResponsiveProps, 'display' | 'flexDirection'>;
|
|
@@ -1390,7 +1392,7 @@ declare namespace index {
|
|
|
1390
1392
|
* Join class names together.
|
|
1391
1393
|
* Will filter out all falsy values.
|
|
1392
1394
|
*/
|
|
1393
|
-
declare function cn(...classNames: Array<unknown>): string;
|
|
1395
|
+
declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
1394
1396
|
|
|
1395
1397
|
type DdsTheme = keyof typeof ddsTokens;
|
|
1396
1398
|
interface ThemeContextProps {
|
|
@@ -2206,7 +2208,7 @@ declare function useTheme(): {
|
|
|
2206
2208
|
themeName: "core" | "public";
|
|
2207
2209
|
};
|
|
2208
2210
|
|
|
2209
|
-
type Language = 'nb' | 'nn' | 'no' | 'en';
|
|
2211
|
+
type Language = 'nb' | 'nn' | 'no' | 'en' | 'se';
|
|
2210
2212
|
|
|
2211
2213
|
interface LanguageProviderProps {
|
|
2212
2214
|
language: Language;
|
|
@@ -2306,6 +2308,25 @@ declare const Typography: {
|
|
|
2306
2308
|
displayName: string;
|
|
2307
2309
|
};
|
|
2308
2310
|
|
|
2311
|
+
declare const ICON_SIZES: ["small", "medium", "large", "inherit"];
|
|
2312
|
+
type IconSize = (typeof ICON_SIZES)[number];
|
|
2313
|
+
type IconProps = BaseComponentProps<SVGSVGElement, {
|
|
2314
|
+
/**Ikonet importert fra `@norges-domstoler/dds-components`. */
|
|
2315
|
+
icon: SvgIcon;
|
|
2316
|
+
/**Størrelsen på ikonet.
|
|
2317
|
+
* @default "medium"
|
|
2318
|
+
*/
|
|
2319
|
+
iconSize?: IconSize;
|
|
2320
|
+
/**Fargen på ikonet.
|
|
2321
|
+
* @default "currentcolor"
|
|
2322
|
+
*/
|
|
2323
|
+
color?: TextColor;
|
|
2324
|
+
}, Omit<HTMLAttributes<SVGSVGElement>, 'color'>>;
|
|
2325
|
+
declare function Icon(props: IconProps): react.JSX.Element;
|
|
2326
|
+
declare namespace Icon {
|
|
2327
|
+
var displayName: string;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2309
2330
|
interface CommonInputProps {
|
|
2310
2331
|
/**Ledetekst. */
|
|
2311
2332
|
label?: string;
|
|
@@ -2326,6 +2347,10 @@ type InputProps = CommonInputProps & {
|
|
|
2326
2347
|
*/
|
|
2327
2348
|
componentSize?: InputSize;
|
|
2328
2349
|
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
2350
|
+
interface InputIconProps {
|
|
2351
|
+
/** Ikonet som vises i komponenten. */
|
|
2352
|
+
icon?: SvgIcon;
|
|
2353
|
+
}
|
|
2329
2354
|
|
|
2330
2355
|
declare const defaultTypographyType: TypographyBodyType;
|
|
2331
2356
|
declare const defaultTypographyTypeClassName: HyphenTypographyType;
|
|
@@ -2726,6 +2751,8 @@ type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions
|
|
|
2726
2751
|
groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
|
|
2727
2752
|
ref?: Ref<HTMLDivElement>;
|
|
2728
2753
|
clearable?: boolean;
|
|
2754
|
+
tipId?: string;
|
|
2755
|
+
errorMessageId?: string;
|
|
2729
2756
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
2730
2757
|
|
|
2731
2758
|
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'>, Pick<ResponsiveProps, 'width'> {
|
|
@@ -2972,7 +2999,7 @@ interface FeedbackProps {
|
|
|
2972
2999
|
/**Label som er plassert over tommel opp/ned knappene.
|
|
2973
3000
|
* @default "Hva syns du om tjenesten?"
|
|
2974
3001
|
*/
|
|
2975
|
-
ratingLabel
|
|
3002
|
+
ratingLabel?: string;
|
|
2976
3003
|
/**Label til fritekstfeltet når bruker har gitt tommel opp.
|
|
2977
3004
|
* @default "Hva kan vi forbedre? (valgfritt)"
|
|
2978
3005
|
*/
|
|
@@ -3125,24 +3152,57 @@ declare const FooterListGroup: ({ className, ...rest }: FooterListGroupProps) =>
|
|
|
3125
3152
|
type FooterLeftProps = ComponentPropsWithRef<'div'>;
|
|
3126
3153
|
declare const FooterLeft: ({ className, ...rest }: FooterLeftProps) => react_jsx_runtime.JSX.Element;
|
|
3127
3154
|
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
/**
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
/**Fargen på ikonet.
|
|
3138
|
-
* @default "currentcolor"
|
|
3155
|
+
type FormSummaryProps = Pick<PaperProps, 'children' | 'htmlProps' | 'ref' | 'id' | 'style' | 'className' | 'padding' | 'paddingBlock' | 'paddingInline' | 'margin' | 'marginBlock' | 'marginInline' | 'width' | 'minWidth' | 'maxWidth'>;
|
|
3156
|
+
declare const FormSummary: (props: FormSummaryProps) => react_jsx_runtime.JSX.Element;
|
|
3157
|
+
|
|
3158
|
+
type InputMessageType = 'error' | 'tip';
|
|
3159
|
+
type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
3160
|
+
/** Meldingen som vises til brukeren. */
|
|
3161
|
+
message?: string;
|
|
3162
|
+
/** Formålet med meldingen. Påvirker styling.
|
|
3163
|
+
* @default "error"
|
|
3139
3164
|
*/
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
declare
|
|
3143
|
-
|
|
3144
|
-
|
|
3165
|
+
messageType: InputMessageType;
|
|
3166
|
+
} & Pick<ResponsiveProps, 'margin' | 'marginInline' | 'marginBlock'>>;
|
|
3167
|
+
declare const InputMessage: {
|
|
3168
|
+
({ message, messageType, id, className, htmlProps, children, ...rest }: InputMessageProps): react_jsx_runtime.JSX.Element;
|
|
3169
|
+
displayName: string;
|
|
3170
|
+
};
|
|
3171
|
+
interface RenderInputMessageProps {
|
|
3172
|
+
tip?: string;
|
|
3173
|
+
tipId?: string;
|
|
3174
|
+
errorMessage?: string;
|
|
3175
|
+
errorMessageId?: string;
|
|
3176
|
+
noSpacing?: boolean;
|
|
3145
3177
|
}
|
|
3178
|
+
declare const renderInputMessage: ({ tip, tipId, errorMessage, errorMessageId, noSpacing, }: RenderInputMessageProps) => react_jsx_runtime.JSX.Element;
|
|
3179
|
+
|
|
3180
|
+
type FormSummaryHeaderProps = ComponentPropsWithRef<'div'>;
|
|
3181
|
+
declare function FormSummaryHeader({ ...props }: FormSummaryHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3182
|
+
type FormSummaryHeadingProps = {
|
|
3183
|
+
/** Heading level. */
|
|
3184
|
+
level?: Exclude<HeadingProps['level'], 1>;
|
|
3185
|
+
} & Omit<HeadingProps, 'level'>;
|
|
3186
|
+
declare function FormSummaryHeading({ level, ...props }: FormSummaryHeadingProps): react_jsx_runtime.JSX.Element;
|
|
3187
|
+
type FormSummaryEditButtonProps = {
|
|
3188
|
+
/**Formål med knappen. */
|
|
3189
|
+
purpose?: ExtractStrict<ButtonPurpose, 'secondary' | 'tertiary'>;
|
|
3190
|
+
} & Omit<ButtonProps, 'purpose'>;
|
|
3191
|
+
declare function FormSummaryEditButton({ purpose, ...props }: FormSummaryEditButtonProps): react_jsx_runtime.JSX.Element;
|
|
3192
|
+
type FormSummaryFieldsProps = Omit<DescriptionListProps, 'direction'>;
|
|
3193
|
+
declare function FormSummaryFields({ ...props }: FormSummaryFieldsProps): react_jsx_runtime.JSX.Element;
|
|
3194
|
+
type FormSummaryFieldProps = ComponentPropsWithRef<'div'>;
|
|
3195
|
+
declare function FormSummaryField({ className, ...props }: FormSummaryFieldProps): react_jsx_runtime.JSX.Element;
|
|
3196
|
+
type FormSummaryLabelProps = DescriptionListTermProps;
|
|
3197
|
+
declare function FormSummaryLabel(props: FormSummaryLabelProps): react_jsx_runtime.JSX.Element;
|
|
3198
|
+
type FormSummaryValueProps = {
|
|
3199
|
+
/**Hvis data hentes fra ekstern kilde kan feltet vise innlastning. */
|
|
3200
|
+
isLoading?: boolean;
|
|
3201
|
+
} & DescriptionListDescProps;
|
|
3202
|
+
declare function FormSummaryValue({ className, isLoading, children, ...props }: FormSummaryValueProps): react_jsx_runtime.JSX.Element;
|
|
3203
|
+
declare function FormSummaryEmptyValue(): react_jsx_runtime.JSX.Element;
|
|
3204
|
+
type FormSummaryErrorProps = Omit<InputMessageProps, 'messageType' | 'message'>;
|
|
3205
|
+
declare function FormSummaryError({ ...props }: FormSummaryErrorProps): react_jsx_runtime.JSX.Element;
|
|
3146
3206
|
|
|
3147
3207
|
type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
|
|
3148
3208
|
type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
@@ -3224,21 +3284,6 @@ declare const InlineEditInput: ({ onSetValue, emptiable, value, onFocus, onChang
|
|
|
3224
3284
|
|
|
3225
3285
|
declare const InlineEditSelect: ({ onSetValue, emptiable, value, onFocus, onChange, onBlur, ref, ...rest }: InlineEditSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3226
3286
|
|
|
3227
|
-
type InputMessageType = 'error' | 'tip';
|
|
3228
|
-
type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
3229
|
-
/** Meldingen som vises til brukeren. */
|
|
3230
|
-
message: string;
|
|
3231
|
-
/** Formålet med meldingen. Påvirker styling.
|
|
3232
|
-
* @default "error"
|
|
3233
|
-
*/
|
|
3234
|
-
messageType: InputMessageType;
|
|
3235
|
-
}>;
|
|
3236
|
-
declare const InputMessage: {
|
|
3237
|
-
({ message, messageType, id, className, htmlProps, ...rest }: InputMessageProps): react_jsx_runtime.JSX.Element;
|
|
3238
|
-
displayName: string;
|
|
3239
|
-
};
|
|
3240
|
-
declare const renderInputMessage: (tip?: string, tipId?: string, errorMessage?: string, errorMessageId?: string) => react_jsx_runtime.JSX.Element;
|
|
3241
|
-
|
|
3242
3287
|
type NavigationLinkProps = {
|
|
3243
3288
|
children: ReactNode;
|
|
3244
3289
|
href: string;
|
|
@@ -3769,8 +3814,6 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
|
|
|
3769
3814
|
* @default "medium"
|
|
3770
3815
|
*/
|
|
3771
3816
|
componentSize?: InputSize;
|
|
3772
|
-
/**Ikonet som vises i komponenten. */
|
|
3773
|
-
icon?: SvgIcon;
|
|
3774
3817
|
/**Nedtrekkslisten blir `readonly` og får readOnly styling. */
|
|
3775
3818
|
readOnly?: boolean;
|
|
3776
3819
|
/** CSS klassenavn. */
|
|
@@ -3785,7 +3828,7 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
|
|
|
3785
3828
|
'data-testid'?: string;
|
|
3786
3829
|
/**Ref til komponenten. */
|
|
3787
3830
|
ref?: SelectForwardRefType<Option, IsMulti>;
|
|
3788
|
-
} & CommonInputProps & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
|
|
3831
|
+
} & CommonInputProps & InputIconProps & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
|
|
3789
3832
|
type SelectForwardRefType<Option, IsMulti extends boolean> = Ref<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
|
|
3790
3833
|
declare function Select<Option = unknown, IsMulti extends boolean = false>({ id, label, componentSize, errorMessage, tip, 'aria-required': ariaRequired, readOnly, options, isMulti, value, icon, defaultValue, width, closeMenuOnSelect, className, style, isDisabled, isClearable, placeholder, menuPortalTarget, customOptionElement, customSingleValueElement, 'data-testid': dataTestId, onKeyDown, openMenuOnClick, ref, instanceId, afterLabelContent, ...rest }: SelectProps<Option, IsMulti>): react_jsx_runtime.JSX.Element;
|
|
3791
3834
|
declare namespace Select {
|
|
@@ -3797,8 +3840,8 @@ type NativeSelectProps = {
|
|
|
3797
3840
|
clearable?: boolean;
|
|
3798
3841
|
/** Implementerer `readOnly` oppførsel etter standard for `<input>` og setter `readOnly` styling. */
|
|
3799
3842
|
readOnly?: InputProps['readOnly'];
|
|
3800
|
-
} & CommonInputProps & Pick<InputProps, 'componentSize'> & ComponentPropsWithRef<'select'>;
|
|
3801
|
-
declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, afterLabelContent, onChange, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3843
|
+
} & CommonInputProps & Pick<InputProps, 'componentSize'> & InputIconProps & ComponentPropsWithRef<'select'>;
|
|
3844
|
+
declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, afterLabelContent, onChange, icon, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
3802
3845
|
type NativeSelectPlaceholderProps = ComponentPropsWithRef<'option'>;
|
|
3803
3846
|
declare const NativeSelectPlaceholder: {
|
|
3804
3847
|
({ children, value, ...rest }: NativeSelectPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -4165,11 +4208,9 @@ declare const TextArea: {
|
|
|
4165
4208
|
displayName: string;
|
|
4166
4209
|
};
|
|
4167
4210
|
|
|
4168
|
-
type TextInputProps = Omit<InputProps, 'prefix'> & {
|
|
4211
|
+
type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
4169
4212
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt. */
|
|
4170
4213
|
withCharacterCounter?: boolean;
|
|
4171
|
-
/** Ikonet som vises i komponenten. */
|
|
4172
|
-
icon?: SvgIcon;
|
|
4173
4214
|
/**
|
|
4174
4215
|
* Prefiks som vises før inputfeltet. **OBS!** Prefiks leses ikke av skjermleser og skal derfor ikke brukes som en erstatter for en beskrivende label.
|
|
4175
4216
|
* */
|
|
@@ -4331,4 +4372,4 @@ declare const VisuallyHidden: {
|
|
|
4331
4372
|
displayName: string;
|
|
4332
4373
|
};
|
|
4333
4374
|
|
|
4334
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, 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, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, 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, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, 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, type HStackProps, 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, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, 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, 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 PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type 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, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, createSizes, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|
|
4375
|
+
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, 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, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, 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, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, 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, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, type FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, type HStackProps, 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, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, 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, 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 PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type 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, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, createSizes, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|