@norges-domstoler/dds-components 18.2.0 → 19.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 +2 -2
- package/dist/IBMPlexSans-Medium-F6RY5FT3.woff +0 -0
- package/dist/IBMPlexSans-Medium-GPYSN6WY.woff2 +0 -0
- package/dist/IBMPlexSans-MediumItalic-HYTLJOHM.woff +0 -0
- package/dist/IBMPlexSans-MediumItalic-NOK4NVHM.woff2 +0 -0
- package/dist/index.css +143 -51
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +129 -165
- package/dist/index.d.ts +129 -165
- package/dist/index.js +1150 -953
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1237 -1039
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import react__default, { ElementType, ReactNode, HTMLAttributes, InputHTMLAttrib
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as CSS from 'csstype';
|
|
5
5
|
import { Property, StandardProperties } from 'csstype';
|
|
6
|
-
import {
|
|
6
|
+
import { Strategy, UseFloatingReturn, Placement as Placement$1 } from '@floating-ui/react-dom';
|
|
7
7
|
import { DateValue, AriaCalendarProps } from '@react-aria/calendar';
|
|
8
8
|
import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized/date';
|
|
9
9
|
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
@@ -16,6 +16,7 @@ declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
|
16
16
|
|
|
17
17
|
declare const Backdrop: react.ForwardRefExoticComponent<{
|
|
18
18
|
isMounted?: boolean;
|
|
19
|
+
zIndex: "drawer" | "modal";
|
|
19
20
|
} & Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "onClick"> & react.RefAttributes<HTMLDivElement>>;
|
|
20
21
|
|
|
21
22
|
interface SvgChevronProps {
|
|
@@ -368,14 +369,15 @@ interface UseFloatPositionOptions {
|
|
|
368
369
|
*/
|
|
369
370
|
placement?: Placement;
|
|
370
371
|
}
|
|
372
|
+
interface FloatingStyles {
|
|
373
|
+
position: Strategy;
|
|
374
|
+
top: number;
|
|
375
|
+
left: number;
|
|
376
|
+
}
|
|
371
377
|
interface UseFloatPosition {
|
|
372
378
|
refs: UseFloatingReturn['refs'];
|
|
373
379
|
styles: {
|
|
374
|
-
floating:
|
|
375
|
-
position: Strategy;
|
|
376
|
-
top: number;
|
|
377
|
-
left: number;
|
|
378
|
-
};
|
|
380
|
+
floating: FloatingStyles;
|
|
379
381
|
arrow: {
|
|
380
382
|
[x: string]: string | number;
|
|
381
383
|
position: Strategy;
|
|
@@ -1392,6 +1394,7 @@ declare namespace Calendar {
|
|
|
1392
1394
|
|
|
1393
1395
|
type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
1394
1396
|
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
1397
|
+
buttonOnClick?: () => void;
|
|
1395
1398
|
groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
|
|
1396
1399
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
1397
1400
|
|
|
@@ -1412,6 +1415,10 @@ interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granu
|
|
|
1412
1415
|
* Egendefinert bredde på komponenten.
|
|
1413
1416
|
*/
|
|
1414
1417
|
width?: CSS.Properties['width'];
|
|
1418
|
+
/**
|
|
1419
|
+
* Brekkpunkt for å vise versjon for liten skjerm.
|
|
1420
|
+
*/
|
|
1421
|
+
smallScreenBreakpoint?: ScreenSizeLiteral;
|
|
1415
1422
|
}
|
|
1416
1423
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLElement>>;
|
|
1417
1424
|
|
|
@@ -1554,14 +1561,14 @@ declare const Divider: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
1554
1561
|
htmlProps?: react.HTMLAttributes<HTMLHRElement> | undefined;
|
|
1555
1562
|
} & react.RefAttributes<HTMLHRElement>>;
|
|
1556
1563
|
|
|
1557
|
-
type DrawerSize = 'small' | 'medium' | 'large'
|
|
1564
|
+
type DrawerSize = Extract<Size, 'small' | 'medium' | 'large'>;
|
|
1558
1565
|
type DrawerPlacement = 'left' | 'right';
|
|
1559
1566
|
interface WidthProps {
|
|
1560
1567
|
minWidth?: Property.MinWidth;
|
|
1561
1568
|
maxWidth?: Property.MaxWidth;
|
|
1562
1569
|
width?: Property.Width;
|
|
1563
1570
|
}
|
|
1564
|
-
type DrawerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1571
|
+
type DrawerProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1565
1572
|
/**Størrelsen på `<Drawer>`.
|
|
1566
1573
|
* @default "small"
|
|
1567
1574
|
*/
|
|
@@ -1570,84 +1577,60 @@ type DrawerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
1570
1577
|
* @default "right"
|
|
1571
1578
|
*/
|
|
1572
1579
|
placement?: DrawerPlacement;
|
|
1573
|
-
/**Header for `<Drawer>`.
|
|
1580
|
+
/**Header for `<Drawer>`. Returnerer default `<Heading>` hvis verdien er en `string`. */
|
|
1574
1581
|
header?: string | ReactNode;
|
|
1575
|
-
/**Spesifiserer
|
|
1576
|
-
|
|
1577
|
-
/**Funksjon kjørt ved lukking. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1578
|
-
onClose?: () => void;
|
|
1579
|
-
/**Spesifiserer hvilken DOM node `<Drawer>` skal ha som forelder via React portal. Brukes med f.eks `document.getElementById("id")` eller ref (skaper ikke ny DOM node).
|
|
1582
|
+
/**Spesifiserer hvilken DOM node `<Drawer>` skal ha som forelder via React portal.
|
|
1583
|
+
* Brukes med f.eks `document.getElementById("id")` eller ref (skaper ikke ny DOM node).
|
|
1580
1584
|
* @default themeProviderRef
|
|
1581
1585
|
*/
|
|
1582
1586
|
parentElement?: HTMLElement;
|
|
1583
1587
|
/**Custom props for breddehåndtering ved behov. */
|
|
1584
1588
|
widthProps?: WidthProps;
|
|
1585
|
-
/**Ref til elementet som åpner `<Drawer>`. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1586
|
-
triggerRef?: RefObject<HTMLElement>;
|
|
1587
1589
|
/**
|
|
1588
1590
|
* Om `<Drawer>` skal vises med backdrop som gråer ut bakgrunnen.
|
|
1589
1591
|
*/
|
|
1590
1592
|
withBackdrop?: boolean;
|
|
1591
|
-
}>;
|
|
1592
|
-
declare const Drawer: react.ForwardRefExoticComponent<
|
|
1593
|
-
|
|
1594
|
-
|
|
1593
|
+
}>, 'id'>;
|
|
1594
|
+
declare const Drawer: react.ForwardRefExoticComponent<DrawerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1595
|
+
|
|
1596
|
+
interface DrawerGroupProps {
|
|
1597
|
+
/**Barna til komponenten: trigger-element og `<Drawer>`. */
|
|
1598
|
+
children: ReactNode;
|
|
1599
|
+
/**
|
|
1600
|
+
* Om `<Drawer>` er åpen ved første render.
|
|
1595
1601
|
*/
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
*
|
|
1602
|
+
isInitiallyOpen?: boolean;
|
|
1603
|
+
/**
|
|
1604
|
+
* Implementerer kontrollert tilstand: om `<Drawer>` er åpen.
|
|
1599
1605
|
*/
|
|
1600
|
-
placement?: DrawerPlacement;
|
|
1601
|
-
/**Header for `<Drawer>`. Har default styling hvis verdien er en string. */
|
|
1602
|
-
header?: string | ReactNode;
|
|
1603
|
-
/**Spesifiserer om `<Drawer>` vises. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1604
1606
|
isOpen?: boolean;
|
|
1605
|
-
/**Funksjon kjørt ved lukking. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1606
|
-
onClose?: () => void;
|
|
1607
|
-
/**Spesifiserer hvilken DOM node `<Drawer>` skal ha som forelder via React portal. Brukes med f.eks `document.getElementById("id")` eller ref (skaper ikke ny DOM node).
|
|
1608
|
-
* @default themeProviderRef
|
|
1609
|
-
*/
|
|
1610
|
-
parentElement?: HTMLElement;
|
|
1611
|
-
/**Custom props for breddehåndtering ved behov. */
|
|
1612
|
-
widthProps?: WidthProps;
|
|
1613
|
-
/**Ref til elementet som åpner `<Drawer>`. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1614
|
-
triggerRef?: RefObject<HTMLElement>;
|
|
1615
1607
|
/**
|
|
1616
|
-
*
|
|
1608
|
+
* Implementerer kontrollert tilstand: funksjon som kontrollerer `isOpen`.
|
|
1617
1609
|
*/
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
children?: ReactNode | undefined;
|
|
1621
|
-
} & {
|
|
1622
|
-
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
1623
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
1624
|
-
|
|
1625
|
-
interface DrawerGroupProps {
|
|
1626
|
-
/**Barna til komponenten. */
|
|
1627
|
-
children: ReactNode;
|
|
1628
|
-
/**`id` til `<Drawer />`. */
|
|
1610
|
+
setIsOpen?: Dispatch<SetStateAction<boolean>>;
|
|
1611
|
+
/**`id` til `<Drawer>`. */
|
|
1629
1612
|
drawerId?: string;
|
|
1630
|
-
/**Ekstra logikk som kjøres når `<Drawer
|
|
1613
|
+
/**Ekstra logikk som kjøres når `<Drawer>` åpnes. */
|
|
1631
1614
|
onOpen?: () => void;
|
|
1632
|
-
/**Ekstra logikk som kjøres når `<Drawer
|
|
1615
|
+
/**Ekstra logikk som kjøres når `<Drawer>` lukkes. */
|
|
1633
1616
|
onClose?: () => void;
|
|
1634
1617
|
}
|
|
1635
1618
|
declare const DrawerGroup: {
|
|
1636
|
-
({ children, drawerId, onOpen, onClose, }: DrawerGroupProps): react_jsx_runtime.JSX.Element;
|
|
1619
|
+
({ children, isInitiallyOpen, isOpen: propIsOpen, setIsOpen: propSetIsOpen, drawerId, onOpen, onClose, }: DrawerGroupProps): react_jsx_runtime.JSX.Element;
|
|
1637
1620
|
displayName: string;
|
|
1638
1621
|
};
|
|
1639
1622
|
|
|
1640
1623
|
type EmptyContentProps = {
|
|
1641
1624
|
/**Tittel - kort oppsummering. */
|
|
1642
|
-
|
|
1625
|
+
headerText?: string;
|
|
1643
1626
|
/**Nivå på overskriften. Sørg for at den følger hierarkiet på siden.
|
|
1644
1627
|
* @default 2
|
|
1645
1628
|
*/
|
|
1646
|
-
|
|
1629
|
+
headerHeadingLevel?: HeadingLevel;
|
|
1647
1630
|
/**Melding - beskrivelse og forklaring på hvordan brukeren kan få innhold. Kan inneholde lenker og andre interaktive elementer. */
|
|
1648
1631
|
message: ReactNode;
|
|
1649
1632
|
} & HTMLAttributes<HTMLDivElement>;
|
|
1650
|
-
declare function EmptyContent({
|
|
1633
|
+
declare function EmptyContent({ headerText, message, headerHeadingLevel, className, ...rest }: EmptyContentProps): react_jsx_runtime.JSX.Element;
|
|
1651
1634
|
declare namespace EmptyContent {
|
|
1652
1635
|
var displayName: string;
|
|
1653
1636
|
}
|
|
@@ -2093,37 +2076,37 @@ declare const LocalMessage: react.ForwardRefExoticComponent<Pick<react.HTMLAttri
|
|
|
2093
2076
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2094
2077
|
|
|
2095
2078
|
type ModalProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2096
|
-
/**Spesifiserer om
|
|
2079
|
+
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
2097
2080
|
isOpen?: boolean;
|
|
2098
|
-
/**Funksjon kjørt ved lukking;
|
|
2081
|
+
/**Funksjon kjørt ved lukking; gjør at `<Modal>` blir lukkbar via: Esc-tast, klikk utenfor, klikk på dedikert lukkeknapp. */
|
|
2099
2082
|
onClose?: () => void;
|
|
2100
|
-
/**
|
|
2083
|
+
/**Fordeler DOM node for `<Modal>` via React portal. Brukes med f.eks `document.getElementById("id")` eller `ref` (skaper ikke ny DOM node).
|
|
2101
2084
|
* @default themeProviderRef
|
|
2102
2085
|
*/
|
|
2103
2086
|
parentElement?: HTMLElement;
|
|
2104
|
-
/**
|
|
2087
|
+
/**Header i `<Modal>`. Returnerer default `<Heading>` ved `string`. Setter også `aria-labelledby`. */
|
|
2105
2088
|
header?: string | ReactNode;
|
|
2106
2089
|
/**Ref som brukes til returnering av fokus. */
|
|
2107
2090
|
triggerRef?: RefObject<HTMLElement>;
|
|
2108
|
-
/**Ref som skal motta fokus når Modal åpnes. Hvis utelatt blir Modal fokusert. */
|
|
2091
|
+
/**Ref som skal motta fokus når `<Modal>` åpnes. Hvis utelatt blir `<Modal>` fokusert. */
|
|
2109
2092
|
initialFocusRef?: RefObject<HTMLElement>;
|
|
2110
2093
|
/** Gjør at innholdet kan scrolles */
|
|
2111
2094
|
scrollable?: boolean;
|
|
2112
2095
|
}>;
|
|
2113
2096
|
declare const Modal: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
2114
|
-
/**Spesifiserer om
|
|
2097
|
+
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
2115
2098
|
isOpen?: boolean;
|
|
2116
|
-
/**Funksjon kjørt ved lukking;
|
|
2099
|
+
/**Funksjon kjørt ved lukking; gjør at `<Modal>` blir lukkbar via: Esc-tast, klikk utenfor, klikk på dedikert lukkeknapp. */
|
|
2117
2100
|
onClose?: () => void;
|
|
2118
|
-
/**
|
|
2101
|
+
/**Fordeler DOM node for `<Modal>` via React portal. Brukes med f.eks `document.getElementById("id")` eller `ref` (skaper ikke ny DOM node).
|
|
2119
2102
|
* @default themeProviderRef
|
|
2120
2103
|
*/
|
|
2121
2104
|
parentElement?: HTMLElement;
|
|
2122
|
-
/**
|
|
2105
|
+
/**Header i `<Modal>`. Returnerer default `<Heading>` ved `string`. Setter også `aria-labelledby`. */
|
|
2123
2106
|
header?: string | ReactNode;
|
|
2124
2107
|
/**Ref som brukes til returnering av fokus. */
|
|
2125
2108
|
triggerRef?: RefObject<HTMLElement>;
|
|
2126
|
-
/**Ref som skal motta fokus når Modal åpnes. Hvis utelatt blir Modal fokusert. */
|
|
2109
|
+
/**Ref som skal motta fokus når `<Modal>` åpnes. Hvis utelatt blir `<Modal>` fokusert. */
|
|
2127
2110
|
initialFocusRef?: RefObject<HTMLElement>;
|
|
2128
2111
|
/** Gjør at innholdet kan scrolles */
|
|
2129
2112
|
scrollable?: boolean;
|
|
@@ -2153,18 +2136,7 @@ declare const ModalBody: react.ForwardRefExoticComponent<Pick<react.HTMLAttribut
|
|
|
2153
2136
|
type ModalActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
2154
2137
|
declare const ModalActions: react.ForwardRefExoticComponent<ModalActionsProps & react.RefAttributes<HTMLDivElement>>;
|
|
2155
2138
|
|
|
2156
|
-
declare const OverflowMenu: react.ForwardRefExoticComponent<
|
|
2157
|
-
placement?: Placement;
|
|
2158
|
-
offset?: number;
|
|
2159
|
-
isOpen?: boolean;
|
|
2160
|
-
onClose?: () => void;
|
|
2161
|
-
onToggle?: () => void;
|
|
2162
|
-
anchorRef?: react.RefObject<HTMLButtonElement>;
|
|
2163
|
-
} & {
|
|
2164
|
-
children?: react.ReactNode | undefined;
|
|
2165
|
-
} & {
|
|
2166
|
-
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
2167
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
2139
|
+
declare const OverflowMenu: react.ForwardRefExoticComponent<OverflowMenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
2168
2140
|
|
|
2169
2141
|
declare const OverflowMenuButton: react.ForwardRefExoticComponent<OverflowMenuListItemBaseProps & react.ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
|
|
2170
2142
|
|
|
@@ -2185,11 +2157,15 @@ declare const OverflowMenuListHeader: react.ForwardRefExoticComponent<Omit<react
|
|
|
2185
2157
|
interface OverflowMenuListItemBaseProps {
|
|
2186
2158
|
/**Ikon som vises ved teksten. **OBS!** Settes i tillegg til `children` for riktig layout. */
|
|
2187
2159
|
icon?: SvgIcon;
|
|
2160
|
+
/**Bestemmer farger basert på formål.
|
|
2161
|
+
* @default "default"
|
|
2162
|
+
*/
|
|
2163
|
+
purpose?: 'default' | 'danger';
|
|
2188
2164
|
}
|
|
2189
2165
|
type OverflowMenuButtonProps = OverflowMenuListItemBaseProps & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2190
2166
|
type OverflowMenuLinkProps = OverflowMenuListItemBaseProps & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
2191
2167
|
type OverflowMenuSpanProps = OverflowMenuListItemBaseProps & HTMLAttributes<HTMLSpanElement>;
|
|
2192
|
-
type OverflowMenuProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2168
|
+
type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2193
2169
|
/**Plassering av menyen i forhold til anchor-elementet.
|
|
2194
2170
|
* @default "bottom-end"
|
|
2195
2171
|
*/
|
|
@@ -2198,32 +2174,28 @@ type OverflowMenuProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2198
2174
|
* @default 2
|
|
2199
2175
|
*/
|
|
2200
2176
|
offset?: number;
|
|
2201
|
-
|
|
2177
|
+
}>, 'id'>;
|
|
2178
|
+
|
|
2179
|
+
interface OverflowMenuGroupProps {
|
|
2180
|
+
/**Om `<OverflowMenu>` er åpen ved første render.
|
|
2202
2181
|
* @default false
|
|
2203
2182
|
*/
|
|
2183
|
+
isInitiallyOpen?: boolean;
|
|
2184
|
+
/**Implementerer kontrollert tilstand: forteller `<OverflowMenu>` om den skal være åpen. */
|
|
2204
2185
|
isOpen?: boolean;
|
|
2205
|
-
/**
|
|
2206
|
-
|
|
2207
|
-
/**Callback
|
|
2208
|
-
onToggle?: () => void;
|
|
2209
|
-
/**Ref til elementet som styrer menyen. **OBS!** nødvendig kun hvis ``<OverflowMenuGroup />` ikke brukes. */
|
|
2210
|
-
anchorRef?: RefObject<HTMLButtonElement>;
|
|
2211
|
-
}>;
|
|
2212
|
-
|
|
2213
|
-
interface OverflowMenuGroupProps {
|
|
2214
|
-
/**Ekstra logikk som kjøres når `<OverflowMenu />` åpnes og lukkes. */
|
|
2215
|
-
onToggle?: () => void;
|
|
2216
|
-
/**Ekstra logikk som kjøres når `<OverflowMenu />` åpnes. */
|
|
2186
|
+
/**Implementerer kontrollert tilstand: funksjon for å kontrollere `isOpen`. */
|
|
2187
|
+
setIsOpen?: Dispatch<SetStateAction<boolean>>;
|
|
2188
|
+
/**Callback når `<OverflowMenu>` åpnes. */
|
|
2217
2189
|
onOpen?: () => void;
|
|
2218
|
-
/**
|
|
2190
|
+
/**Callback når `<OverflowMenu>` lukkes. */
|
|
2219
2191
|
onClose?: () => void;
|
|
2220
|
-
/**Barn, anchor-elementet som første og `<OverflowMenu
|
|
2192
|
+
/**Barn, anchor-elementet som første og `<OverflowMenu>` som andre. */
|
|
2221
2193
|
children: ReactNode;
|
|
2222
|
-
/**Custom id for `<OverflowMenu
|
|
2194
|
+
/**Custom id for `<OverflowMenu>`. */
|
|
2223
2195
|
overflowMenuId?: string;
|
|
2224
2196
|
}
|
|
2225
2197
|
declare const OverflowMenuGroup: {
|
|
2226
|
-
({ children, onClose,
|
|
2198
|
+
({ children, onClose, onOpen, setIsOpen: propSetIsOpen, isOpen: propIsOpen, isInitiallyOpen, overflowMenuId, }: OverflowMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
2227
2199
|
displayName: string;
|
|
2228
2200
|
};
|
|
2229
2201
|
|
|
@@ -2397,18 +2369,12 @@ interface PopoverSizeProps {
|
|
|
2397
2369
|
maxHeight?: Property.MaxHeight;
|
|
2398
2370
|
}
|
|
2399
2371
|
type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2400
|
-
/**
|
|
2401
|
-
|
|
2402
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Spesifiserer om `<Popover />` skal vises.
|
|
2403
|
-
* @default false
|
|
2404
|
-
*/
|
|
2405
|
-
isOpen?: boolean;
|
|
2372
|
+
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
2373
|
+
header?: string | ReactNode;
|
|
2406
2374
|
/**Om lukkeknapp skal vises.
|
|
2407
2375
|
* @default true
|
|
2408
2376
|
*/
|
|
2409
2377
|
withCloseButton?: boolean;
|
|
2410
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Anchor-elementet. */
|
|
2411
|
-
anchorElement?: HTMLElement;
|
|
2412
2378
|
/**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
|
|
2413
2379
|
* @default "bottom"
|
|
2414
2380
|
*/
|
|
@@ -2417,32 +2383,22 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2417
2383
|
* @default 8
|
|
2418
2384
|
*/
|
|
2419
2385
|
offset?: number;
|
|
2420
|
-
/** Ekstra logikk kjørt når lukkeknappen trykkes. */
|
|
2421
|
-
onCloseButtonClick?: () => void;
|
|
2422
2386
|
/** Ekstra logikk kjørt når popover mister fokus. */
|
|
2423
2387
|
onBlur?: () => void;
|
|
2424
2388
|
/**Custom størrelse. */
|
|
2425
2389
|
sizeProps?: PopoverSizeProps;
|
|
2426
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Funksjon kjørt ved lukking. */
|
|
2427
|
-
onClose?: () => void;
|
|
2428
2390
|
/** Om focus skal returneres ved `blur`
|
|
2429
2391
|
* @default true
|
|
2430
2392
|
*/
|
|
2431
2393
|
returnFocusOnBlur?: boolean;
|
|
2432
2394
|
}>;
|
|
2433
2395
|
declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
2434
|
-
/**
|
|
2435
|
-
|
|
2436
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Spesifiserer om `<Popover />` skal vises.
|
|
2437
|
-
* @default false
|
|
2438
|
-
*/
|
|
2439
|
-
isOpen?: boolean;
|
|
2396
|
+
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
2397
|
+
header?: string | ReactNode;
|
|
2440
2398
|
/**Om lukkeknapp skal vises.
|
|
2441
2399
|
* @default true
|
|
2442
2400
|
*/
|
|
2443
2401
|
withCloseButton?: boolean;
|
|
2444
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Anchor-elementet. */
|
|
2445
|
-
anchorElement?: HTMLElement;
|
|
2446
2402
|
/**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
|
|
2447
2403
|
* @default "bottom"
|
|
2448
2404
|
*/
|
|
@@ -2451,14 +2407,10 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
2451
2407
|
* @default 8
|
|
2452
2408
|
*/
|
|
2453
2409
|
offset?: number;
|
|
2454
|
-
/** Ekstra logikk kjørt når lukkeknappen trykkes. */
|
|
2455
|
-
onCloseButtonClick?: () => void;
|
|
2456
2410
|
/** Ekstra logikk kjørt når popover mister fokus. */
|
|
2457
2411
|
onBlur?: () => void;
|
|
2458
2412
|
/**Custom størrelse. */
|
|
2459
2413
|
sizeProps?: PopoverSizeProps;
|
|
2460
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup />`. Funksjon kjørt ved lukking. */
|
|
2461
|
-
onClose?: () => void;
|
|
2462
2414
|
/** Om focus skal returneres ved `blur`
|
|
2463
2415
|
* @default true
|
|
2464
2416
|
*/
|
|
@@ -2470,19 +2422,23 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
2470
2422
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2471
2423
|
|
|
2472
2424
|
interface PopoverGroupProps {
|
|
2473
|
-
/**
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
|
|
2477
|
-
/**
|
|
2425
|
+
/** Barna til wrapperen: anchor-element som det første og `<Popover>` som det andre. */
|
|
2426
|
+
children: ReactNode;
|
|
2427
|
+
/**Forteller `<Popover>` om den skal være åpen på første render. */
|
|
2428
|
+
isInitiallyOpen?: boolean;
|
|
2429
|
+
/**Implementerer kontrollert tilstand: forteller `<Popover>` om den skal være åpen. */
|
|
2478
2430
|
isOpen?: boolean;
|
|
2479
|
-
/**
|
|
2431
|
+
/**Implementerer kontrollert tilstand: funksjon for å kontrollere `isOpen`. */
|
|
2432
|
+
setIsOpen?: Dispatch<SetStateAction<boolean>>;
|
|
2433
|
+
/**Callback når <Popover> åpnes. */
|
|
2434
|
+
onOpen?: () => void;
|
|
2435
|
+
/**Callback når <Popover> lukkes. */
|
|
2436
|
+
onClose?: () => void;
|
|
2437
|
+
/** `id` til `<Popover>.` */
|
|
2480
2438
|
popoverId?: string;
|
|
2481
|
-
/** Barna til wrapperen: anchor-element som det første og `<Popover />` som det andre. */
|
|
2482
|
-
children: ReactNode;
|
|
2483
2439
|
}
|
|
2484
2440
|
declare const PopoverGroup: {
|
|
2485
|
-
({ isOpen,
|
|
2441
|
+
({ isOpen: propIsOpen, setIsOpen: propSetIsOpen, onClose, onOpen, isInitiallyOpen, children, popoverId, }: PopoverGroupProps): react_jsx_runtime.JSX.Element;
|
|
2486
2442
|
displayName: string;
|
|
2487
2443
|
};
|
|
2488
2444
|
|
|
@@ -3032,6 +2988,15 @@ type TableCompoundProps = typeof Table$1 & {
|
|
|
3032
2988
|
};
|
|
3033
2989
|
declare const Table: TableCompoundProps;
|
|
3034
2990
|
|
|
2991
|
+
type AddTabButtonProps = {
|
|
2992
|
+
/** Bredden. Her er det støtte for de samme enhetene som du kan bruke i `grid-template-columns`.
|
|
2993
|
+
* @default "1fr"
|
|
2994
|
+
*/
|
|
2995
|
+
width?: CSS.Properties['width'];
|
|
2996
|
+
index?: number;
|
|
2997
|
+
} & ComponentProps<'button'>;
|
|
2998
|
+
declare const AddTabButton: react.ForwardRefExoticComponent<Omit<AddTabButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
2999
|
+
|
|
3035
3000
|
type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
3036
3001
|
/** Indeksen til den aktive fanen. **OBS!** Ved å sette denne vil brukere aldri kunne endre tab uten at du også registrerer en `onChange`-lytter for å ta vare på aktiv tab utenfor komponenten. */
|
|
3037
3002
|
activeTab?: number;
|
|
@@ -3043,6 +3008,8 @@ type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3043
3008
|
tabContentDirection?: Direction$1;
|
|
3044
3009
|
/**Bredde for hele komponenten. */
|
|
3045
3010
|
width?: Property.Width;
|
|
3011
|
+
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
3012
|
+
addTabButtonProps?: Omit<AddTabButtonProps, 'index'>;
|
|
3046
3013
|
}, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
3047
3014
|
declare const Tabs: react.ForwardRefExoticComponent<Pick<Omit<HTMLAttributes<HTMLDivElement>, "onChange">, "id" | "className"> & {
|
|
3048
3015
|
/** Indeksen til den aktive fanen. **OBS!** Ved å sette denne vil brukere aldri kunne endre tab uten at du også registrerer en `onChange`-lytter for å ta vare på aktiv tab utenfor komponenten. */
|
|
@@ -3055,6 +3022,8 @@ declare const Tabs: react.ForwardRefExoticComponent<Pick<Omit<HTMLAttributes<HTM
|
|
|
3055
3022
|
tabContentDirection?: Direction$1;
|
|
3056
3023
|
/**Bredde for hele komponenten. */
|
|
3057
3024
|
width?: Property.Width;
|
|
3025
|
+
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
3026
|
+
addTabButtonProps?: Omit<AddTabButtonProps, "index">;
|
|
3058
3027
|
} & {
|
|
3059
3028
|
children?: react.ReactNode | undefined;
|
|
3060
3029
|
} & {
|
|
@@ -3269,24 +3238,9 @@ declare function useTheme(): {
|
|
|
3269
3238
|
ddsFontSizeX0875NumberRem: 0.875;
|
|
3270
3239
|
ddsFontSizeX075: "0.75rem";
|
|
3271
3240
|
ddsFontSizeX075NumberRem: 0.75;
|
|
3272
|
-
ddsFontSizeXxlarge: "3rem";
|
|
3273
|
-
ddsFontSizeXxlargeNumberRem: 3;
|
|
3274
|
-
ddsFontSizeXlarge: "2rem";
|
|
3275
|
-
ddsFontSizeXlargeNumberRem: 2;
|
|
3276
|
-
ddsFontSizeLarge: "1.5rem";
|
|
3277
|
-
ddsFontSizeLargeNumberRem: 1.5;
|
|
3278
|
-
ddsFontSizeMedium: "1.25rem";
|
|
3279
|
-
ddsFontSizeMediumNumberRem: 1.25;
|
|
3280
|
-
ddsFontSizeSmall: "1.125rem";
|
|
3281
|
-
ddsFontSizeSmallNumberRem: 1.125;
|
|
3282
|
-
ddsFontSizeXsmall: "1rem";
|
|
3283
|
-
ddsFontSizeXsmallNumberRem: 1;
|
|
3284
|
-
ddsFontSizeXxsmall: "0.875rem";
|
|
3285
|
-
ddsFontSizeXxsmallNumberRem: 0.875;
|
|
3286
|
-
ddsFontSizeXxxsmall: "0.75rem";
|
|
3287
|
-
ddsFontSizeXxxsmallNumberRem: 0.75;
|
|
3288
3241
|
ddsFontWeightLight: "300";
|
|
3289
3242
|
ddsFontWeightNormal: "400";
|
|
3243
|
+
ddsFontWeightSemiBold: "500";
|
|
3290
3244
|
ddsFontWeightBold: "600";
|
|
3291
3245
|
ddsFontLineheightX1: 1.5;
|
|
3292
3246
|
ddsFontLineheightX2: 1.35;
|
|
@@ -3369,6 +3323,16 @@ declare function useTheme(): {
|
|
|
3369
3323
|
ddsBreakpointLgNumberPx: 1280;
|
|
3370
3324
|
ddsBreakpointXl: "1920px";
|
|
3371
3325
|
ddsBreakpointXlNumberPx: 1920;
|
|
3326
|
+
ddsZindexSkiptocontent: "250";
|
|
3327
|
+
ddsZindexModalBackdrop: "200";
|
|
3328
|
+
ddsZindexDrawer: "180";
|
|
3329
|
+
ddsZindexDrawerBackdrop: "180";
|
|
3330
|
+
ddsZindexOverflowmenu: "160";
|
|
3331
|
+
ddsZindexPopover: "140";
|
|
3332
|
+
ddsZindexTooltip: "120";
|
|
3333
|
+
ddsZindexDropdown: "100";
|
|
3334
|
+
ddsZindexSticky: "50";
|
|
3335
|
+
ddsZindexAbsoluteElement: "1";
|
|
3372
3336
|
ddsColorBgDefault: "#ffffff";
|
|
3373
3337
|
ddsColorBgSubtle: "#f8f9f9";
|
|
3374
3338
|
ddsColorSurfaceDefault: "#ffffff";
|
|
@@ -3547,24 +3511,9 @@ declare function useTheme(): {
|
|
|
3547
3511
|
ddsFontSizeX0875NumberRem: 0.875;
|
|
3548
3512
|
ddsFontSizeX075: "0.75rem";
|
|
3549
3513
|
ddsFontSizeX075NumberRem: 0.75;
|
|
3550
|
-
ddsFontSizeXxlarge: "4rem";
|
|
3551
|
-
ddsFontSizeXxlargeNumberRem: 4;
|
|
3552
|
-
ddsFontSizeXlarge: "3rem";
|
|
3553
|
-
ddsFontSizeXlargeNumberRem: 3;
|
|
3554
|
-
ddsFontSizeLarge: "2rem";
|
|
3555
|
-
ddsFontSizeLargeNumberRem: 2;
|
|
3556
|
-
ddsFontSizeMedium: "1.5rem";
|
|
3557
|
-
ddsFontSizeMediumNumberRem: 1.5;
|
|
3558
|
-
ddsFontSizeSmall: "1.25rem";
|
|
3559
|
-
ddsFontSizeSmallNumberRem: 1.25;
|
|
3560
|
-
ddsFontSizeXsmall: "1.125rem";
|
|
3561
|
-
ddsFontSizeXsmallNumberRem: 1.125;
|
|
3562
|
-
ddsFontSizeXxsmall: "1rem";
|
|
3563
|
-
ddsFontSizeXxsmallNumberRem: 1;
|
|
3564
|
-
ddsFontSizeXxxsmall: "0.875rem";
|
|
3565
|
-
ddsFontSizeXxxsmallNumberRem: 0.875;
|
|
3566
3514
|
ddsFontWeightLight: "300";
|
|
3567
3515
|
ddsFontWeightNormal: "400";
|
|
3516
|
+
ddsFontWeightSemiBold: "500";
|
|
3568
3517
|
ddsFontWeightBold: "600";
|
|
3569
3518
|
ddsFontLineheightX1: 1.5;
|
|
3570
3519
|
ddsFontLineheightX2: 1.35;
|
|
@@ -3647,6 +3596,16 @@ declare function useTheme(): {
|
|
|
3647
3596
|
ddsBreakpointLgNumberPx: 1280;
|
|
3648
3597
|
ddsBreakpointXl: "1920px";
|
|
3649
3598
|
ddsBreakpointXlNumberPx: 1920;
|
|
3599
|
+
ddsZindexSkiptocontent: "250";
|
|
3600
|
+
ddsZindexModalBackdrop: "200";
|
|
3601
|
+
ddsZindexDrawer: "180";
|
|
3602
|
+
ddsZindexDrawerBackdrop: "180";
|
|
3603
|
+
ddsZindexOverflowmenu: "160";
|
|
3604
|
+
ddsZindexPopover: "140";
|
|
3605
|
+
ddsZindexTooltip: "120";
|
|
3606
|
+
ddsZindexDropdown: "100";
|
|
3607
|
+
ddsZindexSticky: "50";
|
|
3608
|
+
ddsZindexAbsoluteElement: "1";
|
|
3650
3609
|
ddsColorBgDefault: "#ffffff";
|
|
3651
3610
|
ddsColorBgSubtle: "#f8f9f9";
|
|
3652
3611
|
ddsColorSurfaceDefault: "#ffffff";
|
|
@@ -3749,10 +3708,10 @@ declare function useTheme(): {
|
|
|
3749
3708
|
ddsFontBodySmall: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3750
3709
|
ddsFontBodyMedium: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3751
3710
|
ddsFontBodyLarge: "400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3752
|
-
ddsFontHeadingXxsmall: "600
|
|
3753
|
-
ddsFontHeadingXsmall: "600
|
|
3754
|
-
ddsFontHeadingSmall: "600 1.
|
|
3755
|
-
ddsFontHeadingMedium: "
|
|
3711
|
+
ddsFontHeadingXxsmall: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3712
|
+
ddsFontHeadingXsmall: "600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3713
|
+
ddsFontHeadingSmall: "600 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3714
|
+
ddsFontHeadingMedium: "500 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3756
3715
|
ddsFontHeadingLarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3757
3716
|
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3758
3717
|
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.2 'IBM Plex Sans', Arial, sans-serif";
|
|
@@ -3917,6 +3876,7 @@ declare const ToggleRadio: react.ForwardRefExoticComponent<Pick<Omit<InputHTMLAt
|
|
|
3917
3876
|
declare const ToggleButton: react.ForwardRefExoticComponent<Pick<Omit<react.InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "id" | "className"> & {
|
|
3918
3877
|
label?: string;
|
|
3919
3878
|
icon?: SvgIcon;
|
|
3879
|
+
size?: "small" | "xsmall";
|
|
3920
3880
|
} & CheckboxPickedHTMLAttributes & {
|
|
3921
3881
|
htmlProps?: Omit<react.InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
|
|
3922
3882
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -3942,6 +3902,10 @@ type ToggleButtonProps = BaseComponentProps<HTMLInputElement, {
|
|
|
3942
3902
|
label?: string;
|
|
3943
3903
|
/** Ikon. */
|
|
3944
3904
|
icon?: SvgIcon;
|
|
3905
|
+
/**Størrelse.
|
|
3906
|
+
* @default 'small'
|
|
3907
|
+
*/
|
|
3908
|
+
size?: 'small' | 'xsmall';
|
|
3945
3909
|
} & CheckboxPickedHTMLAttributes, Omit<InputHTMLAttributes<HTMLInputElement>, keyof CheckboxPickedHTMLAttributes>>;
|
|
3946
3910
|
|
|
3947
3911
|
type AnchorElement = react__default.ReactElement & react__default.RefAttributes<HTMLElement>;
|
|
@@ -3994,4 +3958,4 @@ declare const VisuallyHidden: {
|
|
|
3994
3958
|
displayName: string;
|
|
3995
3959
|
};
|
|
3996
3960
|
|
|
3997
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, type CardAppearance, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, type CardType, CaringIcon, CharCounter, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, type CommonInputProps, Contrast, type ContrastProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, type DdsTheme, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, ElementAs, type ElementAsProps, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, type FooterLeftProps, FooterList, FooterListGroup, type FooterListGroupProps, FooterListHeader, type FooterListHeaderProps, type FooterListProps, FooterLogo, type FooterLogoProps, type FooterProps, FooterSocialsGroup, type FooterSocialsGroupProps, FooterSocialsList, type FooterSocialsListProps, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassBottomIcon, HourglassDisabledIcon, HourglassEmptyIcon, HourglassFullIcon, HourglassTopIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, Label, type LabelProps, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectPlaceholder, type NativeSelectPlaceholderProps, type NativeSelectProps, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuListItemBaseProps, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, ScreenSize, type ScreenSizeLiteral, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, type StackProps, type StackSpacing, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StatefulInputProps, type StaticTypographyType, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, type ThumbIconProps, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getDefaultText, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, inputTypographyTypes, isCaption, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isLegend, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderCharCounter, renderInputMessage, scrollbarStyling, spacingPropToCn, typographyTypes, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, visibilityTransition };
|
|
3961
|
+
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, type As, AttachmentIcon, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type BreakpointBasedProps, BuildCircledIcon, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, type CardAppearance, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, type CardType, CaringIcon, CharCounter, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, type CommonInputProps, Contrast, type ContrastProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, type DdsTheme, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, EditIcon, ElementAs, type ElementAsProps, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExpandableCardProps, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, 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, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassBottomIcon, HourglassDisabledIcon, HourglassEmptyIcon, HourglassFullIcon, HourglassTopIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, type InfoCardProps, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, Input, InputMessage, type InputMessageProps, type InputMessageType, type InputProps, type InputSize, type InputTypographyTypes, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, Label, type LabelProps, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectPlaceholder, type NativeSelectPlaceholderProps, type NativeSelectProps, type NavigationCardProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuListItemBaseProps, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, type PropsOf, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, ScreenSize, type ScreenSizeLiteral, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, type StackProps, type StackSpacing, type StackStyleProps, StarFilledIcon, StarHalfFilled, StarIcon, StatefulInput, type StatefulInputProps, type StaticTypographyType, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, type ThumbIconProps, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseFloatPositionOptions, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WidthProps, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getDefaultText, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, inputTypographyTypes, isCaption, isGridColumn, isHeading, isInlineElement, isKeyboardEvent, isLegend, isRelativeGridColumn, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderCharCounter, renderInputMessage, scrollbarStyling, spacingPropToCn, typographyTypes, useCombinedRef, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, visibilityTransition };
|