@norges-domstoler/dds-components 13.12.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/index.d.mts +49 -28
- package/dist/index.d.ts +49 -28
- package/dist/index.js +2274 -1502
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2225 -1441
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -11
package/README.md
CHANGED
|
@@ -40,12 +40,13 @@ Sjekk [komponentstatus](https://design.domstol.no/987b33f71/p/438035-komponenter
|
|
|
40
40
|
|
|
41
41
|
Tilgjengelige komponenter:
|
|
42
42
|
|
|
43
|
+
- AppShell
|
|
43
44
|
- Breadcrumbs
|
|
44
45
|
- Button
|
|
45
46
|
- Card (inkludert CardAccordion)
|
|
46
47
|
- Checkbox
|
|
47
48
|
- Chip
|
|
48
|
-
-
|
|
49
|
+
- DatePicker
|
|
49
50
|
- DescriptionList
|
|
50
51
|
- Divider
|
|
51
52
|
- Drawer
|
|
@@ -76,6 +77,7 @@ Tilgjengelige komponenter:
|
|
|
76
77
|
- Tag
|
|
77
78
|
- TextInput
|
|
78
79
|
- TextArea
|
|
80
|
+
- TimePicker
|
|
79
81
|
- ToggleBar
|
|
80
82
|
- ToggleButton
|
|
81
83
|
- Tooltip
|
package/dist/index.d.mts
CHANGED
|
@@ -9,6 +9,11 @@ import * as _floating_ui_react_dom from '@floating-ui/react-dom';
|
|
|
9
9
|
import { Strategy, Placement as Placement$1 } from '@floating-ui/react-dom';
|
|
10
10
|
import { Environment } from '@norges-domstoler/development-utils';
|
|
11
11
|
import { OptionProps, GroupBase, SingleValueProps, Props, SelectInstance } from 'react-select';
|
|
12
|
+
import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
|
|
13
|
+
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
14
|
+
import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
15
|
+
import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
|
|
16
|
+
import { InputProps as InputProps$1 } from '@norges-domstoler/dds-components';
|
|
12
17
|
|
|
13
18
|
interface SvgChevronProps {
|
|
14
19
|
isUp?: boolean;
|
|
@@ -823,6 +828,8 @@ declare function FilterOffIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
823
828
|
|
|
824
829
|
declare function FindInPageIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
825
830
|
|
|
831
|
+
declare function FlickrIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
832
|
+
|
|
826
833
|
declare function FolderIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
827
834
|
|
|
828
835
|
declare function FolderAddIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1068,6 +1075,7 @@ declare const index_FilterListIcon: typeof FilterListIcon;
|
|
|
1068
1075
|
declare const index_FilterListOffIcon: typeof FilterListOffIcon;
|
|
1069
1076
|
declare const index_FilterOffIcon: typeof FilterOffIcon;
|
|
1070
1077
|
declare const index_FindInPageIcon: typeof FindInPageIcon;
|
|
1078
|
+
declare const index_FlickrIcon: typeof FlickrIcon;
|
|
1071
1079
|
declare const index_FolderAddIcon: typeof FolderAddIcon;
|
|
1072
1080
|
declare const index_FolderIcon: typeof FolderIcon;
|
|
1073
1081
|
declare const index_FolderShieldedIcon: typeof FolderShieldedIcon;
|
|
@@ -1157,7 +1165,7 @@ declare const index_WarningIcon: typeof WarningIcon;
|
|
|
1157
1165
|
declare const index_ZoomInIcon: typeof ZoomInIcon;
|
|
1158
1166
|
declare const index_ZoomOutIcon: typeof ZoomOutIcon;
|
|
1159
1167
|
declare namespace index {
|
|
1160
|
-
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HomeIcon as HomeIcon, index_HourglassBottom as HourglassBottom, index_HourglassDisabled as HourglassDisabled, index_HourglassEmpty as HourglassEmpty, index_HourglassFull as HourglassFull, index_HourglassTop as HourglassTop, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_Thumbdown as Thumbdown, index_ThumbdownFilled as ThumbdownFilled, index_Thumbup as Thumbup, index_ThumbupFilled as ThumbupFilled, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_TwitterIcon as TwitterIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1168
|
+
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FlickrIcon as FlickrIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HomeIcon as HomeIcon, index_HourglassBottom as HourglassBottom, index_HourglassDisabled as HourglassDisabled, index_HourglassEmpty as HourglassEmpty, index_HourglassFull as HourglassFull, index_HourglassTop as HourglassTop, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_Thumbdown as Thumbdown, index_ThumbdownFilled as ThumbdownFilled, index_Thumbup as Thumbup, index_ThumbupFilled as ThumbupFilled, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_TwitterIcon as TwitterIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1161
1169
|
}
|
|
1162
1170
|
|
|
1163
1171
|
/**
|
|
@@ -2117,16 +2125,6 @@ declare const InternalHeader: {
|
|
|
2117
2125
|
displayName: string;
|
|
2118
2126
|
};
|
|
2119
2127
|
|
|
2120
|
-
type DatepickerType = 'date' | 'datetime-local';
|
|
2121
|
-
type DatepickerProps = Omit<InputProps, 'type'> & {
|
|
2122
|
-
/** Angi dato-input med eller uten klokkeslett. */
|
|
2123
|
-
type?: DatepickerType;
|
|
2124
|
-
};
|
|
2125
|
-
declare const Datepicker: react.ForwardRefExoticComponent<Omit<InputProps, "type"> & {
|
|
2126
|
-
/** Angi dato-input med eller uten klokkeslett. */
|
|
2127
|
-
type?: DatepickerType | undefined;
|
|
2128
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
2129
|
-
|
|
2130
2128
|
type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
|
|
2131
2129
|
/** Teksten som vises i lenka. */
|
|
2132
2130
|
text?: string;
|
|
@@ -2291,6 +2289,33 @@ declare const DrawerGroup: {
|
|
|
2291
2289
|
displayName: string;
|
|
2292
2290
|
};
|
|
2293
2291
|
|
|
2292
|
+
type CalendarProps<T extends DateValue> = AriaCalendarProps<T>;
|
|
2293
|
+
declare function Calendar<T extends DateValue>(props: CalendarProps<T>): react_jsx_runtime.JSX.Element;
|
|
2294
|
+
declare namespace Calendar {
|
|
2295
|
+
var displayName: string;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
2299
|
+
className?: string;
|
|
2300
|
+
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
2301
|
+
} & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
|
|
2302
|
+
|
|
2303
|
+
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'> {
|
|
2304
|
+
label?: string;
|
|
2305
|
+
errorMessage?: string;
|
|
2306
|
+
}
|
|
2307
|
+
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLElement>>;
|
|
2308
|
+
|
|
2309
|
+
type TimePickerProps = Omit<AriaTimeFieldProps<Time>, 'hideTimeZone'> & {
|
|
2310
|
+
className?: string;
|
|
2311
|
+
} & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
|
|
2312
|
+
declare const TimePicker: react.ForwardRefExoticComponent<Omit<AriaTimeFieldProps<Time>, "hideTimeZone"> & {
|
|
2313
|
+
className?: string | undefined;
|
|
2314
|
+
} & Pick<InputProps$1, "style" | "disabled" | "tip" | "errorMessage" | "componentSize"> & react.RefAttributes<HTMLDivElement>>;
|
|
2315
|
+
|
|
2316
|
+
declare function nativeDateToDateValue(date: Date, timeZone?: string | undefined): DateValue$1;
|
|
2317
|
+
declare function dateValueToNativeDate(date: DateValue$1, timeZone?: string | undefined): Date;
|
|
2318
|
+
|
|
2294
2319
|
interface PopoverSizeProps {
|
|
2295
2320
|
width?: Property.Width<string>;
|
|
2296
2321
|
height?: Property.Height<string>;
|
|
@@ -2754,22 +2779,18 @@ declare const SplitButton: react.ForwardRefExoticComponent<SplitButtonProps & re
|
|
|
2754
2779
|
|
|
2755
2780
|
declare const stackTokens: {
|
|
2756
2781
|
spacing: {
|
|
2757
|
-
'
|
|
2758
|
-
'
|
|
2759
|
-
'
|
|
2760
|
-
'
|
|
2761
|
-
|
|
2762
|
-
'
|
|
2763
|
-
|
|
2764
|
-
'
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
'layout-x3': string;
|
|
2770
|
-
'layout-x4': string;
|
|
2771
|
-
'layout-x6': string;
|
|
2772
|
-
'layout-x10': string;
|
|
2782
|
+
'x0.125': string;
|
|
2783
|
+
'x0.25': string;
|
|
2784
|
+
'x0.5': string;
|
|
2785
|
+
'x0.75': string;
|
|
2786
|
+
x1: string;
|
|
2787
|
+
'x1.5': string;
|
|
2788
|
+
x2: string;
|
|
2789
|
+
'x2.5': string;
|
|
2790
|
+
x3: string;
|
|
2791
|
+
x4: string;
|
|
2792
|
+
x6: string;
|
|
2793
|
+
x10: string;
|
|
2773
2794
|
};
|
|
2774
2795
|
};
|
|
2775
2796
|
|
|
@@ -2910,4 +2931,4 @@ type Layout = 'vertical' | 'horizontal';
|
|
|
2910
2931
|
|
|
2911
2932
|
declare const Feedback: ({ layout, ratingLabel, positiveFeedbackLabel, negativeFeedbackLabel, ratingSubmittedTitle, submittedTitle, ratingValue: ratingProp, feedbackTextValue: feedbackTextProp, thumbUpTooltip, thumbDownTooltip, feedbackTextAreaExcluded, loading, isSubmitted: isSubmittedProp, onRating, onFeedbackTextChange, onSubmit, }: FeedbackProps) => react_jsx_runtime.JSX.Element;
|
|
2912
2933
|
|
|
2913
|
-
export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon,
|
|
2934
|
+
export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, Feedback, FeedbackIcon, type FeedbackProps, FileAddIcon, FileIcon, FileShieldedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HiddenInput, HomeIcon, HourglassBottom, HourglassDisabled, HourglassEmpty, HourglassFull, HourglassTop, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputAffixContainer, InputContainer, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, KeyIcon, Label, type LabelProps, type LabelTypographyType, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OuterInputContainer, OverflowMenu, type OverflowMenuButtonItem, type OverflowMenuContextItem, OverflowMenuGroup, type OverflowMenuGroupProps, type OverflowMenuLinkItem, OverflowMenuList, type OverflowMenuNavItem, type OverflowMenuProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PrintIcon, ProgressTracker, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RequiredMarker, ScreenSize, type ScreenSizeLiteral, ScrollableContainer, type ScrollableContainerProps, Scrollbar, type ScrollbarProps, Search, type SearchAutocompleteWrapperProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, type SearchSuggestionsProps, Select, type SelectOption, type SelectProps, SettingsIcon, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type SplitButtonPurpose, type StackProps, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StaticTypographyType, type StyledCommonInputProps, type StyledInputProps, StyledSvg, StyledTextArea, type SvgIcon, type SvgProps, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, type TableBodyProps, type TableCellLayout, type TableCellProps, type TableCellType, type TableDensity, type TableFootProps, type TableHeadProps, type TableProps, type TableRowProps, type TableRowType, type TableSortCellProps, Tabs, type TabsProps, Tag, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, Thumbdown, ThumbdownFilled, Thumbup, ThumbupFilled, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToggleRadio, type ToggleRadioProps, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, TwitterIcon, Typography, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyInteractionStyling, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, ZoomInIcon, ZoomOutIcon, cn, createSelectOptions, dangerInputfield, dateValueToNativeDate, defaultTypographyType, focusDangerInputfield, focusInputfield, focusVisible, focusVisibleInset, focusVisibleLink, focusVisibleLinkOnDark, focusVisibleLinkTransitionValue, focusVisibleOnDark, focusVisibleThickWithBorderOnDark, focusVisibleTransitionValue, focusVisibleWithBorder, getAdditionalFontStyle, getAnchorStyling, getBaseHTMLProps, getDefaultText, getElementType, getFontStyling, getLiteralScreenSize, getMarginStyling, hideInput, hoverDangerInputfield, hoverInputfield, hoverWithBorder, index as icons, inlineElements, inputTokens, inputTypographyTypes, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isRelativeGridColumn, nativeDateToDateValue, normalizeButton, outlineOffset, removeButtonStyling, removeListStyling, scrollbarStyling, selection, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, visibilityTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ import * as _floating_ui_react_dom from '@floating-ui/react-dom';
|
|
|
9
9
|
import { Strategy, Placement as Placement$1 } from '@floating-ui/react-dom';
|
|
10
10
|
import { Environment } from '@norges-domstoler/development-utils';
|
|
11
11
|
import { OptionProps, GroupBase, SingleValueProps, Props, SelectInstance } from 'react-select';
|
|
12
|
+
import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
|
|
13
|
+
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
14
|
+
import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
15
|
+
import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
|
|
16
|
+
import { InputProps as InputProps$1 } from '@norges-domstoler/dds-components';
|
|
12
17
|
|
|
13
18
|
interface SvgChevronProps {
|
|
14
19
|
isUp?: boolean;
|
|
@@ -823,6 +828,8 @@ declare function FilterOffIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
823
828
|
|
|
824
829
|
declare function FindInPageIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
825
830
|
|
|
831
|
+
declare function FlickrIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
832
|
+
|
|
826
833
|
declare function FolderIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
827
834
|
|
|
828
835
|
declare function FolderAddIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1068,6 +1075,7 @@ declare const index_FilterListIcon: typeof FilterListIcon;
|
|
|
1068
1075
|
declare const index_FilterListOffIcon: typeof FilterListOffIcon;
|
|
1069
1076
|
declare const index_FilterOffIcon: typeof FilterOffIcon;
|
|
1070
1077
|
declare const index_FindInPageIcon: typeof FindInPageIcon;
|
|
1078
|
+
declare const index_FlickrIcon: typeof FlickrIcon;
|
|
1071
1079
|
declare const index_FolderAddIcon: typeof FolderAddIcon;
|
|
1072
1080
|
declare const index_FolderIcon: typeof FolderIcon;
|
|
1073
1081
|
declare const index_FolderShieldedIcon: typeof FolderShieldedIcon;
|
|
@@ -1157,7 +1165,7 @@ declare const index_WarningIcon: typeof WarningIcon;
|
|
|
1157
1165
|
declare const index_ZoomInIcon: typeof ZoomInIcon;
|
|
1158
1166
|
declare const index_ZoomOutIcon: typeof ZoomOutIcon;
|
|
1159
1167
|
declare namespace index {
|
|
1160
|
-
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HomeIcon as HomeIcon, index_HourglassBottom as HourglassBottom, index_HourglassDisabled as HourglassDisabled, index_HourglassEmpty as HourglassEmpty, index_HourglassFull as HourglassFull, index_HourglassTop as HourglassTop, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_Thumbdown as Thumbdown, index_ThumbdownFilled as ThumbdownFilled, index_Thumbup as Thumbup, index_ThumbupFilled as ThumbupFilled, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_TwitterIcon as TwitterIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1168
|
+
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildCircledIcon as BuildCircledIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLargeLeftIcon as ChevronLargeLeftIcon, index_ChevronLargeRightIcon as ChevronLargeRightIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FilterListOffIcon as FilterListOffIcon, index_FilterOffIcon as FilterOffIcon, index_FindInPageIcon as FindInPageIcon, index_FlickrIcon as FlickrIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HomeIcon as HomeIcon, index_HourglassBottom as HourglassBottom, index_HourglassDisabled as HourglassDisabled, index_HourglassEmpty as HourglassEmpty, index_HourglassFull as HourglassFull, index_HourglassTop as HourglassTop, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LibraryAddIcon as LibraryAddIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PrintIcon as PrintIcon, index_PropertyIcon as PropertyIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_SearchIcon as SearchIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_Thumbdown as Thumbdown, index_ThumbdownFilled as ThumbdownFilled, index_Thumbup as Thumbup, index_ThumbupFilled as ThumbupFilled, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_TwitterIcon as TwitterIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1161
1169
|
}
|
|
1162
1170
|
|
|
1163
1171
|
/**
|
|
@@ -2117,16 +2125,6 @@ declare const InternalHeader: {
|
|
|
2117
2125
|
displayName: string;
|
|
2118
2126
|
};
|
|
2119
2127
|
|
|
2120
|
-
type DatepickerType = 'date' | 'datetime-local';
|
|
2121
|
-
type DatepickerProps = Omit<InputProps, 'type'> & {
|
|
2122
|
-
/** Angi dato-input med eller uten klokkeslett. */
|
|
2123
|
-
type?: DatepickerType;
|
|
2124
|
-
};
|
|
2125
|
-
declare const Datepicker: react.ForwardRefExoticComponent<Omit<InputProps, "type"> & {
|
|
2126
|
-
/** Angi dato-input med eller uten klokkeslett. */
|
|
2127
|
-
type?: DatepickerType | undefined;
|
|
2128
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
2129
|
-
|
|
2130
2128
|
type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
|
|
2131
2129
|
/** Teksten som vises i lenka. */
|
|
2132
2130
|
text?: string;
|
|
@@ -2291,6 +2289,33 @@ declare const DrawerGroup: {
|
|
|
2291
2289
|
displayName: string;
|
|
2292
2290
|
};
|
|
2293
2291
|
|
|
2292
|
+
type CalendarProps<T extends DateValue> = AriaCalendarProps<T>;
|
|
2293
|
+
declare function Calendar<T extends DateValue>(props: CalendarProps<T>): react_jsx_runtime.JSX.Element;
|
|
2294
|
+
declare namespace Calendar {
|
|
2295
|
+
var displayName: string;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
2299
|
+
className?: string;
|
|
2300
|
+
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
2301
|
+
} & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
|
|
2302
|
+
|
|
2303
|
+
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'> {
|
|
2304
|
+
label?: string;
|
|
2305
|
+
errorMessage?: string;
|
|
2306
|
+
}
|
|
2307
|
+
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLElement>>;
|
|
2308
|
+
|
|
2309
|
+
type TimePickerProps = Omit<AriaTimeFieldProps<Time>, 'hideTimeZone'> & {
|
|
2310
|
+
className?: string;
|
|
2311
|
+
} & Pick<InputProps$1, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style'>;
|
|
2312
|
+
declare const TimePicker: react.ForwardRefExoticComponent<Omit<AriaTimeFieldProps<Time>, "hideTimeZone"> & {
|
|
2313
|
+
className?: string | undefined;
|
|
2314
|
+
} & Pick<InputProps$1, "style" | "disabled" | "tip" | "errorMessage" | "componentSize"> & react.RefAttributes<HTMLDivElement>>;
|
|
2315
|
+
|
|
2316
|
+
declare function nativeDateToDateValue(date: Date, timeZone?: string | undefined): DateValue$1;
|
|
2317
|
+
declare function dateValueToNativeDate(date: DateValue$1, timeZone?: string | undefined): Date;
|
|
2318
|
+
|
|
2294
2319
|
interface PopoverSizeProps {
|
|
2295
2320
|
width?: Property.Width<string>;
|
|
2296
2321
|
height?: Property.Height<string>;
|
|
@@ -2754,22 +2779,18 @@ declare const SplitButton: react.ForwardRefExoticComponent<SplitButtonProps & re
|
|
|
2754
2779
|
|
|
2755
2780
|
declare const stackTokens: {
|
|
2756
2781
|
spacing: {
|
|
2757
|
-
'
|
|
2758
|
-
'
|
|
2759
|
-
'
|
|
2760
|
-
'
|
|
2761
|
-
|
|
2762
|
-
'
|
|
2763
|
-
|
|
2764
|
-
'
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
'layout-x3': string;
|
|
2770
|
-
'layout-x4': string;
|
|
2771
|
-
'layout-x6': string;
|
|
2772
|
-
'layout-x10': string;
|
|
2782
|
+
'x0.125': string;
|
|
2783
|
+
'x0.25': string;
|
|
2784
|
+
'x0.5': string;
|
|
2785
|
+
'x0.75': string;
|
|
2786
|
+
x1: string;
|
|
2787
|
+
'x1.5': string;
|
|
2788
|
+
x2: string;
|
|
2789
|
+
'x2.5': string;
|
|
2790
|
+
x3: string;
|
|
2791
|
+
x4: string;
|
|
2792
|
+
x6: string;
|
|
2793
|
+
x10: string;
|
|
2773
2794
|
};
|
|
2774
2795
|
};
|
|
2775
2796
|
|
|
@@ -2910,4 +2931,4 @@ type Layout = 'vertical' | 'horizontal';
|
|
|
2910
2931
|
|
|
2911
2932
|
declare const Feedback: ({ layout, ratingLabel, positiveFeedbackLabel, negativeFeedbackLabel, ratingSubmittedTitle, submittedTitle, ratingValue: ratingProp, feedbackTextValue: feedbackTextProp, thumbUpTooltip, thumbDownTooltip, feedbackTextAreaExcluded, loading, isSubmitted: isSubmittedProp, onRating, onFeedbackTextChange, onSubmit, }: FeedbackProps) => react_jsx_runtime.JSX.Element;
|
|
2912
2933
|
|
|
2913
|
-
export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon,
|
|
2934
|
+
export { AddressShieldedIcon, AgreementIcon, type AnchorTypographyType, AnimatedChevronUpDown, AppShell, type AppShellProps, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, type ButtonAppearance, type ButtonProps$1 as ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardAccordion, CardAccordionBody, type CardAccordionBodyProps, CardAccordionHeader, type CardAccordionHeaderProps, type CardAccordionProps, type CardColor, type CardProps, type CardType, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, type ColumnsOccupied, CommentIcon, type CommonInputProps, Container, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, Feedback, FeedbackIcon, type FeedbackProps, FileAddIcon, FileIcon, FileShieldedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HiddenInput, HomeIcon, HourglassBottom, HourglassDisabled, HourglassEmpty, HourglassFull, HourglassTop, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputAffixContainer, InputContainer, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, KeyIcon, Label, type LabelProps, type LabelTypographyType, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OuterInputContainer, OverflowMenu, type OverflowMenuButtonItem, type OverflowMenuContextItem, OverflowMenuGroup, type OverflowMenuGroupProps, type OverflowMenuLinkItem, OverflowMenuList, type OverflowMenuNavItem, type OverflowMenuProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PrintIcon, ProgressTracker, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RequiredMarker, ScreenSize, type ScreenSizeLiteral, ScrollableContainer, type ScrollableContainerProps, Scrollbar, type ScrollbarProps, Search, type SearchAutocompleteWrapperProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, type SearchSuggestionsProps, Select, type SelectOption, type SelectProps, SettingsIcon, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type SplitButtonPurpose, type StackProps, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StaticTypographyType, type StyledCommonInputProps, type StyledInputProps, StyledSvg, StyledTextArea, type SvgIcon, type SvgProps, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, type TableBodyProps, type TableCellLayout, type TableCellProps, type TableCellType, type TableDensity, type TableFootProps, type TableHeadProps, type TableProps, type TableRowProps, type TableRowType, type TableSortCellProps, Tabs, type TabsProps, Tag, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, Thumbdown, ThumbdownFilled, Thumbup, ThumbupFilled, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToggleRadio, type ToggleRadioProps, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, TwitterIcon, Typography, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyInteractionStyling, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, ZoomInIcon, ZoomOutIcon, cn, createSelectOptions, dangerInputfield, dateValueToNativeDate, defaultTypographyType, focusDangerInputfield, focusInputfield, focusVisible, focusVisibleInset, focusVisibleLink, focusVisibleLinkOnDark, focusVisibleLinkTransitionValue, focusVisibleOnDark, focusVisibleThickWithBorderOnDark, focusVisibleTransitionValue, focusVisibleWithBorder, getAdditionalFontStyle, getAnchorStyling, getBaseHTMLProps, getDefaultText, getElementType, getFontStyling, getLiteralScreenSize, getMarginStyling, hideInput, hoverDangerInputfield, hoverInputfield, hoverWithBorder, index as icons, inlineElements, inputTokens, inputTypographyTypes, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isRelativeGridColumn, nativeDateToDateValue, normalizeButton, outlineOffset, removeButtonStyling, removeListStyling, scrollbarStyling, selection, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, visibilityTransition };
|