@norges-domstoler/dds-components 18.3.0 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +117 -34
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +103 -164
- package/dist/index.d.ts +103 -164
- package/dist/index.js +1040 -893
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1096 -951
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
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';
|
|
@@ -369,14 +369,15 @@ interface UseFloatPositionOptions {
|
|
|
369
369
|
*/
|
|
370
370
|
placement?: Placement;
|
|
371
371
|
}
|
|
372
|
+
interface FloatingStyles {
|
|
373
|
+
position: Strategy;
|
|
374
|
+
top: number;
|
|
375
|
+
left: number;
|
|
376
|
+
}
|
|
372
377
|
interface UseFloatPosition {
|
|
373
378
|
refs: UseFloatingReturn['refs'];
|
|
374
379
|
styles: {
|
|
375
|
-
floating:
|
|
376
|
-
position: Strategy;
|
|
377
|
-
top: number;
|
|
378
|
-
left: number;
|
|
379
|
-
};
|
|
380
|
+
floating: FloatingStyles;
|
|
380
381
|
arrow: {
|
|
381
382
|
[x: string]: string | number;
|
|
382
383
|
position: Strategy;
|
|
@@ -1393,6 +1394,7 @@ declare namespace Calendar {
|
|
|
1393
1394
|
|
|
1394
1395
|
type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
1395
1396
|
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
1397
|
+
buttonOnClick?: () => void;
|
|
1396
1398
|
groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
|
|
1397
1399
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
1398
1400
|
|
|
@@ -1413,6 +1415,10 @@ interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granu
|
|
|
1413
1415
|
* Egendefinert bredde på komponenten.
|
|
1414
1416
|
*/
|
|
1415
1417
|
width?: CSS.Properties['width'];
|
|
1418
|
+
/**
|
|
1419
|
+
* Brekkpunkt for å vise versjon for liten skjerm.
|
|
1420
|
+
*/
|
|
1421
|
+
smallScreenBreakpoint?: ScreenSizeLiteral;
|
|
1416
1422
|
}
|
|
1417
1423
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLElement>>;
|
|
1418
1424
|
|
|
@@ -1555,14 +1561,14 @@ declare const Divider: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
1555
1561
|
htmlProps?: react.HTMLAttributes<HTMLHRElement> | undefined;
|
|
1556
1562
|
} & react.RefAttributes<HTMLHRElement>>;
|
|
1557
1563
|
|
|
1558
|
-
type DrawerSize = 'small' | 'medium' | 'large'
|
|
1564
|
+
type DrawerSize = Extract<Size, 'small' | 'medium' | 'large'>;
|
|
1559
1565
|
type DrawerPlacement = 'left' | 'right';
|
|
1560
1566
|
interface WidthProps {
|
|
1561
1567
|
minWidth?: Property.MinWidth;
|
|
1562
1568
|
maxWidth?: Property.MaxWidth;
|
|
1563
1569
|
width?: Property.Width;
|
|
1564
1570
|
}
|
|
1565
|
-
type DrawerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1571
|
+
type DrawerProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
1566
1572
|
/**Størrelsen på `<Drawer>`.
|
|
1567
1573
|
* @default "small"
|
|
1568
1574
|
*/
|
|
@@ -1571,84 +1577,60 @@ type DrawerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
1571
1577
|
* @default "right"
|
|
1572
1578
|
*/
|
|
1573
1579
|
placement?: DrawerPlacement;
|
|
1574
|
-
/**Header for `<Drawer>`.
|
|
1580
|
+
/**Header for `<Drawer>`. Returnerer default `<Heading>` hvis verdien er en `string`. */
|
|
1575
1581
|
header?: string | ReactNode;
|
|
1576
|
-
/**Spesifiserer
|
|
1577
|
-
|
|
1578
|
-
/**Funksjon kjørt ved lukking. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1579
|
-
onClose?: () => void;
|
|
1580
|
-
/**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).
|
|
1581
1584
|
* @default themeProviderRef
|
|
1582
1585
|
*/
|
|
1583
1586
|
parentElement?: HTMLElement;
|
|
1584
1587
|
/**Custom props for breddehåndtering ved behov. */
|
|
1585
1588
|
widthProps?: WidthProps;
|
|
1586
|
-
/**Ref til elementet som åpner `<Drawer>`. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1587
|
-
triggerRef?: RefObject<HTMLElement>;
|
|
1588
1589
|
/**
|
|
1589
1590
|
* Om `<Drawer>` skal vises med backdrop som gråer ut bakgrunnen.
|
|
1590
1591
|
*/
|
|
1591
1592
|
withBackdrop?: boolean;
|
|
1592
|
-
}>;
|
|
1593
|
-
declare const Drawer: react.ForwardRefExoticComponent<
|
|
1594
|
-
|
|
1595
|
-
|
|
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.
|
|
1596
1601
|
*/
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
*
|
|
1602
|
+
isInitiallyOpen?: boolean;
|
|
1603
|
+
/**
|
|
1604
|
+
* Implementerer kontrollert tilstand: om `<Drawer>` er åpen.
|
|
1600
1605
|
*/
|
|
1601
|
-
placement?: DrawerPlacement;
|
|
1602
|
-
/**Header for `<Drawer>`. Har default styling hvis verdien er en string. */
|
|
1603
|
-
header?: string | ReactNode;
|
|
1604
|
-
/**Spesifiserer om `<Drawer>` vises. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1605
1606
|
isOpen?: boolean;
|
|
1606
|
-
/**Funksjon kjørt ved lukking. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1607
|
-
onClose?: () => void;
|
|
1608
|
-
/**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).
|
|
1609
|
-
* @default themeProviderRef
|
|
1610
|
-
*/
|
|
1611
|
-
parentElement?: HTMLElement;
|
|
1612
|
-
/**Custom props for breddehåndtering ved behov. */
|
|
1613
|
-
widthProps?: WidthProps;
|
|
1614
|
-
/**Ref til elementet som åpner `<Drawer>`. **OBS!** nødvendig kun hvis `<DrawerGroup>` ikke er i bruk. */
|
|
1615
|
-
triggerRef?: RefObject<HTMLElement>;
|
|
1616
1607
|
/**
|
|
1617
|
-
*
|
|
1608
|
+
* Implementerer kontrollert tilstand: funksjon som kontrollerer `isOpen`.
|
|
1618
1609
|
*/
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
children?: ReactNode | undefined;
|
|
1622
|
-
} & {
|
|
1623
|
-
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
1624
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
1625
|
-
|
|
1626
|
-
interface DrawerGroupProps {
|
|
1627
|
-
/**Barna til komponenten. */
|
|
1628
|
-
children: ReactNode;
|
|
1629
|
-
/**`id` til `<Drawer />`. */
|
|
1610
|
+
setIsOpen?: Dispatch<SetStateAction<boolean>>;
|
|
1611
|
+
/**`id` til `<Drawer>`. */
|
|
1630
1612
|
drawerId?: string;
|
|
1631
|
-
/**Ekstra logikk som kjøres når `<Drawer
|
|
1613
|
+
/**Ekstra logikk som kjøres når `<Drawer>` åpnes. */
|
|
1632
1614
|
onOpen?: () => void;
|
|
1633
|
-
/**Ekstra logikk som kjøres når `<Drawer
|
|
1615
|
+
/**Ekstra logikk som kjøres når `<Drawer>` lukkes. */
|
|
1634
1616
|
onClose?: () => void;
|
|
1635
1617
|
}
|
|
1636
1618
|
declare const DrawerGroup: {
|
|
1637
|
-
({ 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;
|
|
1638
1620
|
displayName: string;
|
|
1639
1621
|
};
|
|
1640
1622
|
|
|
1641
1623
|
type EmptyContentProps = {
|
|
1642
1624
|
/**Tittel - kort oppsummering. */
|
|
1643
|
-
|
|
1625
|
+
headerText?: string;
|
|
1644
1626
|
/**Nivå på overskriften. Sørg for at den følger hierarkiet på siden.
|
|
1645
1627
|
* @default 2
|
|
1646
1628
|
*/
|
|
1647
|
-
|
|
1629
|
+
headerHeadingLevel?: HeadingLevel;
|
|
1648
1630
|
/**Melding - beskrivelse og forklaring på hvordan brukeren kan få innhold. Kan inneholde lenker og andre interaktive elementer. */
|
|
1649
1631
|
message: ReactNode;
|
|
1650
1632
|
} & HTMLAttributes<HTMLDivElement>;
|
|
1651
|
-
declare function EmptyContent({
|
|
1633
|
+
declare function EmptyContent({ headerText, message, headerHeadingLevel, className, ...rest }: EmptyContentProps): react_jsx_runtime.JSX.Element;
|
|
1652
1634
|
declare namespace EmptyContent {
|
|
1653
1635
|
var displayName: string;
|
|
1654
1636
|
}
|
|
@@ -2094,37 +2076,37 @@ declare const LocalMessage: react.ForwardRefExoticComponent<Pick<react.HTMLAttri
|
|
|
2094
2076
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2095
2077
|
|
|
2096
2078
|
type ModalProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2097
|
-
/**Spesifiserer om
|
|
2079
|
+
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
2098
2080
|
isOpen?: boolean;
|
|
2099
|
-
/**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. */
|
|
2100
2082
|
onClose?: () => void;
|
|
2101
|
-
/**
|
|
2083
|
+
/**Fordeler DOM node for `<Modal>` via React portal. Brukes med f.eks `document.getElementById("id")` eller `ref` (skaper ikke ny DOM node).
|
|
2102
2084
|
* @default themeProviderRef
|
|
2103
2085
|
*/
|
|
2104
2086
|
parentElement?: HTMLElement;
|
|
2105
|
-
/**
|
|
2087
|
+
/**Header i `<Modal>`. Returnerer default `<Heading>` ved `string`. Setter også `aria-labelledby`. */
|
|
2106
2088
|
header?: string | ReactNode;
|
|
2107
2089
|
/**Ref som brukes til returnering av fokus. */
|
|
2108
2090
|
triggerRef?: RefObject<HTMLElement>;
|
|
2109
|
-
/**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. */
|
|
2110
2092
|
initialFocusRef?: RefObject<HTMLElement>;
|
|
2111
2093
|
/** Gjør at innholdet kan scrolles */
|
|
2112
2094
|
scrollable?: boolean;
|
|
2113
2095
|
}>;
|
|
2114
2096
|
declare const Modal: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
2115
|
-
/**Spesifiserer om
|
|
2097
|
+
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
2116
2098
|
isOpen?: boolean;
|
|
2117
|
-
/**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. */
|
|
2118
2100
|
onClose?: () => void;
|
|
2119
|
-
/**
|
|
2101
|
+
/**Fordeler DOM node for `<Modal>` via React portal. Brukes med f.eks `document.getElementById("id")` eller `ref` (skaper ikke ny DOM node).
|
|
2120
2102
|
* @default themeProviderRef
|
|
2121
2103
|
*/
|
|
2122
2104
|
parentElement?: HTMLElement;
|
|
2123
|
-
/**
|
|
2105
|
+
/**Header i `<Modal>`. Returnerer default `<Heading>` ved `string`. Setter også `aria-labelledby`. */
|
|
2124
2106
|
header?: string | ReactNode;
|
|
2125
2107
|
/**Ref som brukes til returnering av fokus. */
|
|
2126
2108
|
triggerRef?: RefObject<HTMLElement>;
|
|
2127
|
-
/**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. */
|
|
2128
2110
|
initialFocusRef?: RefObject<HTMLElement>;
|
|
2129
2111
|
/** Gjør at innholdet kan scrolles */
|
|
2130
2112
|
scrollable?: boolean;
|
|
@@ -2154,18 +2136,7 @@ declare const ModalBody: react.ForwardRefExoticComponent<Pick<react.HTMLAttribut
|
|
|
2154
2136
|
type ModalActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
2155
2137
|
declare const ModalActions: react.ForwardRefExoticComponent<ModalActionsProps & react.RefAttributes<HTMLDivElement>>;
|
|
2156
2138
|
|
|
2157
|
-
declare const OverflowMenu: react.ForwardRefExoticComponent<
|
|
2158
|
-
placement?: Placement;
|
|
2159
|
-
offset?: number;
|
|
2160
|
-
isOpen?: boolean;
|
|
2161
|
-
onClose?: () => void;
|
|
2162
|
-
onToggle?: () => void;
|
|
2163
|
-
anchorRef?: react.RefObject<HTMLButtonElement>;
|
|
2164
|
-
} & {
|
|
2165
|
-
children?: react.ReactNode | undefined;
|
|
2166
|
-
} & {
|
|
2167
|
-
htmlProps?: react.HTMLAttributes<HTMLDivElement> | undefined;
|
|
2168
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
2139
|
+
declare const OverflowMenu: react.ForwardRefExoticComponent<OverflowMenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
2169
2140
|
|
|
2170
2141
|
declare const OverflowMenuButton: react.ForwardRefExoticComponent<OverflowMenuListItemBaseProps & react.ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
|
|
2171
2142
|
|
|
@@ -2194,7 +2165,7 @@ interface OverflowMenuListItemBaseProps {
|
|
|
2194
2165
|
type OverflowMenuButtonProps = OverflowMenuListItemBaseProps & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2195
2166
|
type OverflowMenuLinkProps = OverflowMenuListItemBaseProps & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
2196
2167
|
type OverflowMenuSpanProps = OverflowMenuListItemBaseProps & HTMLAttributes<HTMLSpanElement>;
|
|
2197
|
-
type OverflowMenuProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2168
|
+
type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2198
2169
|
/**Plassering av menyen i forhold til anchor-elementet.
|
|
2199
2170
|
* @default "bottom-end"
|
|
2200
2171
|
*/
|
|
@@ -2203,32 +2174,28 @@ type OverflowMenuProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2203
2174
|
* @default 2
|
|
2204
2175
|
*/
|
|
2205
2176
|
offset?: number;
|
|
2206
|
-
|
|
2177
|
+
}>, 'id'>;
|
|
2178
|
+
|
|
2179
|
+
interface OverflowMenuGroupProps {
|
|
2180
|
+
/**Om `<OverflowMenu>` er åpen ved første render.
|
|
2207
2181
|
* @default false
|
|
2208
2182
|
*/
|
|
2183
|
+
isInitiallyOpen?: boolean;
|
|
2184
|
+
/**Implementerer kontrollert tilstand: forteller `<OverflowMenu>` om den skal være åpen. */
|
|
2209
2185
|
isOpen?: boolean;
|
|
2210
|
-
/**
|
|
2211
|
-
|
|
2212
|
-
/**Callback
|
|
2213
|
-
onToggle?: () => void;
|
|
2214
|
-
/**Ref til elementet som styrer menyen. **OBS!** nødvendig kun hvis ``<OverflowMenuGroup />` ikke brukes. */
|
|
2215
|
-
anchorRef?: RefObject<HTMLButtonElement>;
|
|
2216
|
-
}>;
|
|
2217
|
-
|
|
2218
|
-
interface OverflowMenuGroupProps {
|
|
2219
|
-
/**Ekstra logikk som kjøres når `<OverflowMenu />` åpnes og lukkes. */
|
|
2220
|
-
onToggle?: () => void;
|
|
2221
|
-
/**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. */
|
|
2222
2189
|
onOpen?: () => void;
|
|
2223
|
-
/**
|
|
2190
|
+
/**Callback når `<OverflowMenu>` lukkes. */
|
|
2224
2191
|
onClose?: () => void;
|
|
2225
|
-
/**Barn, anchor-elementet som første og `<OverflowMenu
|
|
2192
|
+
/**Barn, anchor-elementet som første og `<OverflowMenu>` som andre. */
|
|
2226
2193
|
children: ReactNode;
|
|
2227
|
-
/**Custom id for `<OverflowMenu
|
|
2194
|
+
/**Custom id for `<OverflowMenu>`. */
|
|
2228
2195
|
overflowMenuId?: string;
|
|
2229
2196
|
}
|
|
2230
2197
|
declare const OverflowMenuGroup: {
|
|
2231
|
-
({ children, onClose,
|
|
2198
|
+
({ children, onClose, onOpen, setIsOpen: propSetIsOpen, isOpen: propIsOpen, isInitiallyOpen, overflowMenuId, }: OverflowMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
2232
2199
|
displayName: string;
|
|
2233
2200
|
};
|
|
2234
2201
|
|
|
@@ -2402,18 +2369,12 @@ interface PopoverSizeProps {
|
|
|
2402
2369
|
maxHeight?: Property.MaxHeight;
|
|
2403
2370
|
}
|
|
2404
2371
|
type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2405
|
-
/**
|
|
2406
|
-
|
|
2407
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Spesifiserer om `<Popover>` skal vises.
|
|
2408
|
-
* @default false
|
|
2409
|
-
*/
|
|
2410
|
-
isOpen?: boolean;
|
|
2372
|
+
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
2373
|
+
header?: string | ReactNode;
|
|
2411
2374
|
/**Om lukkeknapp skal vises.
|
|
2412
2375
|
* @default true
|
|
2413
2376
|
*/
|
|
2414
2377
|
withCloseButton?: boolean;
|
|
2415
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Anchor-elementet. */
|
|
2416
|
-
anchorElement?: HTMLElement;
|
|
2417
2378
|
/**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
|
|
2418
2379
|
* @default "bottom"
|
|
2419
2380
|
*/
|
|
@@ -2422,32 +2383,22 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2422
2383
|
* @default 8
|
|
2423
2384
|
*/
|
|
2424
2385
|
offset?: number;
|
|
2425
|
-
/** Ekstra logikk kjørt når lukkeknappen trykkes. */
|
|
2426
|
-
onCloseButtonClick?: () => void;
|
|
2427
2386
|
/** Ekstra logikk kjørt når popover mister fokus. */
|
|
2428
2387
|
onBlur?: () => void;
|
|
2429
2388
|
/**Custom størrelse. */
|
|
2430
2389
|
sizeProps?: PopoverSizeProps;
|
|
2431
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Funksjon kjørt ved lukking. */
|
|
2432
|
-
onClose?: () => void;
|
|
2433
2390
|
/** Om focus skal returneres ved `blur`
|
|
2434
2391
|
* @default true
|
|
2435
2392
|
*/
|
|
2436
2393
|
returnFocusOnBlur?: boolean;
|
|
2437
2394
|
}>;
|
|
2438
2395
|
declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
|
|
2439
|
-
/**
|
|
2440
|
-
|
|
2441
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Spesifiserer om `<Popover>` skal vises.
|
|
2442
|
-
* @default false
|
|
2443
|
-
*/
|
|
2444
|
-
isOpen?: boolean;
|
|
2396
|
+
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
2397
|
+
header?: string | ReactNode;
|
|
2445
2398
|
/**Om lukkeknapp skal vises.
|
|
2446
2399
|
* @default true
|
|
2447
2400
|
*/
|
|
2448
2401
|
withCloseButton?: boolean;
|
|
2449
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Anchor-elementet. */
|
|
2450
|
-
anchorElement?: HTMLElement;
|
|
2451
2402
|
/**Spesifiserer hvor komponenten skal plasseres i forhold til anchor-elementet.
|
|
2452
2403
|
* @default "bottom"
|
|
2453
2404
|
*/
|
|
@@ -2456,14 +2407,10 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
2456
2407
|
* @default 8
|
|
2457
2408
|
*/
|
|
2458
2409
|
offset?: number;
|
|
2459
|
-
/** Ekstra logikk kjørt når lukkeknappen trykkes. */
|
|
2460
|
-
onCloseButtonClick?: () => void;
|
|
2461
2410
|
/** Ekstra logikk kjørt når popover mister fokus. */
|
|
2462
2411
|
onBlur?: () => void;
|
|
2463
2412
|
/**Custom størrelse. */
|
|
2464
2413
|
sizeProps?: PopoverSizeProps;
|
|
2465
|
-
/** **OBS!** Propen settes automatisk av `<PopoverGroup>`. Funksjon kjørt ved lukking. */
|
|
2466
|
-
onClose?: () => void;
|
|
2467
2414
|
/** Om focus skal returneres ved `blur`
|
|
2468
2415
|
* @default true
|
|
2469
2416
|
*/
|
|
@@ -2475,19 +2422,23 @@ declare const Popover: react.ForwardRefExoticComponent<Pick<react.HTMLAttributes
|
|
|
2475
2422
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2476
2423
|
|
|
2477
2424
|
interface PopoverGroupProps {
|
|
2478
|
-
/**
|
|
2479
|
-
|
|
2480
|
-
/**
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
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. */
|
|
2483
2430
|
isOpen?: boolean;
|
|
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;
|
|
2484
2437
|
/** `id` til `<Popover>.` */
|
|
2485
2438
|
popoverId?: string;
|
|
2486
|
-
/** Barna til wrapperen: anchor-element som det første og `<Popover>` som det andre. */
|
|
2487
|
-
children: ReactNode;
|
|
2488
2439
|
}
|
|
2489
2440
|
declare const PopoverGroup: {
|
|
2490
|
-
({ isOpen,
|
|
2441
|
+
({ isOpen: propIsOpen, setIsOpen: propSetIsOpen, onClose, onOpen, isInitiallyOpen, children, popoverId, }: PopoverGroupProps): react_jsx_runtime.JSX.Element;
|
|
2491
2442
|
displayName: string;
|
|
2492
2443
|
};
|
|
2493
2444
|
|
|
@@ -3037,7 +2988,19 @@ type TableCompoundProps = typeof Table$1 & {
|
|
|
3037
2988
|
};
|
|
3038
2989
|
declare const Table: TableCompoundProps;
|
|
3039
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
|
+
|
|
3000
|
+
type TabSize = Extract<Size, 'small' | 'medium'>;
|
|
3040
3001
|
type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
3002
|
+
/**Størrelse på hver `<Tab>`. */
|
|
3003
|
+
size?: TabSize;
|
|
3041
3004
|
/** 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. */
|
|
3042
3005
|
activeTab?: number;
|
|
3043
3006
|
/** Ekstra logikk ved endring av aktiv fane. */
|
|
@@ -3048,8 +3011,12 @@ type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3048
3011
|
tabContentDirection?: Direction$1;
|
|
3049
3012
|
/**Bredde for hele komponenten. */
|
|
3050
3013
|
width?: Property.Width;
|
|
3014
|
+
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
3015
|
+
addTabButtonProps?: Omit<AddTabButtonProps, 'index'>;
|
|
3051
3016
|
}, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
3052
3017
|
declare const Tabs: react.ForwardRefExoticComponent<Pick<Omit<HTMLAttributes<HTMLDivElement>, "onChange">, "id" | "className"> & {
|
|
3018
|
+
/**Størrelse på hver `<Tab>`. */
|
|
3019
|
+
size?: TabSize;
|
|
3053
3020
|
/** 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. */
|
|
3054
3021
|
activeTab?: number;
|
|
3055
3022
|
/** Ekstra logikk ved endring av aktiv fane. */
|
|
@@ -3060,6 +3027,8 @@ declare const Tabs: react.ForwardRefExoticComponent<Pick<Omit<HTMLAttributes<HTM
|
|
|
3060
3027
|
tabContentDirection?: Direction$1;
|
|
3061
3028
|
/**Bredde for hele komponenten. */
|
|
3062
3029
|
width?: Property.Width;
|
|
3030
|
+
/** Props for "Legg til fane"-knapp. Støtter native HTML attributter og `width`. */
|
|
3031
|
+
addTabButtonProps?: Omit<AddTabButtonProps, "index">;
|
|
3063
3032
|
} & {
|
|
3064
3033
|
children?: react.ReactNode | undefined;
|
|
3065
3034
|
} & {
|
|
@@ -3274,24 +3243,9 @@ declare function useTheme(): {
|
|
|
3274
3243
|
ddsFontSizeX0875NumberRem: 0.875;
|
|
3275
3244
|
ddsFontSizeX075: "0.75rem";
|
|
3276
3245
|
ddsFontSizeX075NumberRem: 0.75;
|
|
3277
|
-
ddsFontSizeXxlarge: "3rem";
|
|
3278
|
-
ddsFontSizeXxlargeNumberRem: 3;
|
|
3279
|
-
ddsFontSizeXlarge: "2rem";
|
|
3280
|
-
ddsFontSizeXlargeNumberRem: 2;
|
|
3281
|
-
ddsFontSizeLarge: "1.5rem";
|
|
3282
|
-
ddsFontSizeLargeNumberRem: 1.5;
|
|
3283
|
-
ddsFontSizeMedium: "1.25rem";
|
|
3284
|
-
ddsFontSizeMediumNumberRem: 1.25;
|
|
3285
|
-
ddsFontSizeSmall: "1.125rem";
|
|
3286
|
-
ddsFontSizeSmallNumberRem: 1.125;
|
|
3287
|
-
ddsFontSizeXsmall: "1rem";
|
|
3288
|
-
ddsFontSizeXsmallNumberRem: 1;
|
|
3289
|
-
ddsFontSizeXxsmall: "0.875rem";
|
|
3290
|
-
ddsFontSizeXxsmallNumberRem: 0.875;
|
|
3291
|
-
ddsFontSizeXxxsmall: "0.75rem";
|
|
3292
|
-
ddsFontSizeXxxsmallNumberRem: 0.75;
|
|
3293
3246
|
ddsFontWeightLight: "300";
|
|
3294
3247
|
ddsFontWeightNormal: "400";
|
|
3248
|
+
ddsFontWeightSemiBold: "500";
|
|
3295
3249
|
ddsFontWeightBold: "600";
|
|
3296
3250
|
ddsFontLineheightX1: 1.5;
|
|
3297
3251
|
ddsFontLineheightX2: 1.35;
|
|
@@ -3562,24 +3516,9 @@ declare function useTheme(): {
|
|
|
3562
3516
|
ddsFontSizeX0875NumberRem: 0.875;
|
|
3563
3517
|
ddsFontSizeX075: "0.75rem";
|
|
3564
3518
|
ddsFontSizeX075NumberRem: 0.75;
|
|
3565
|
-
ddsFontSizeXxlarge: "4rem";
|
|
3566
|
-
ddsFontSizeXxlargeNumberRem: 4;
|
|
3567
|
-
ddsFontSizeXlarge: "3rem";
|
|
3568
|
-
ddsFontSizeXlargeNumberRem: 3;
|
|
3569
|
-
ddsFontSizeLarge: "2rem";
|
|
3570
|
-
ddsFontSizeLargeNumberRem: 2;
|
|
3571
|
-
ddsFontSizeMedium: "1.5rem";
|
|
3572
|
-
ddsFontSizeMediumNumberRem: 1.5;
|
|
3573
|
-
ddsFontSizeSmall: "1.25rem";
|
|
3574
|
-
ddsFontSizeSmallNumberRem: 1.25;
|
|
3575
|
-
ddsFontSizeXsmall: "1.125rem";
|
|
3576
|
-
ddsFontSizeXsmallNumberRem: 1.125;
|
|
3577
|
-
ddsFontSizeXxsmall: "1rem";
|
|
3578
|
-
ddsFontSizeXxsmallNumberRem: 1;
|
|
3579
|
-
ddsFontSizeXxxsmall: "0.875rem";
|
|
3580
|
-
ddsFontSizeXxxsmallNumberRem: 0.875;
|
|
3581
3519
|
ddsFontWeightLight: "300";
|
|
3582
3520
|
ddsFontWeightNormal: "400";
|
|
3521
|
+
ddsFontWeightSemiBold: "500";
|
|
3583
3522
|
ddsFontWeightBold: "600";
|
|
3584
3523
|
ddsFontLineheightX1: 1.5;
|
|
3585
3524
|
ddsFontLineheightX2: 1.35;
|
|
@@ -3774,10 +3713,10 @@ declare function useTheme(): {
|
|
|
3774
3713
|
ddsFontBodySmall: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3775
3714
|
ddsFontBodyMedium: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3776
3715
|
ddsFontBodyLarge: "400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3777
|
-
ddsFontHeadingXxsmall: "600
|
|
3778
|
-
ddsFontHeadingXsmall: "600
|
|
3779
|
-
ddsFontHeadingSmall: "600 1.
|
|
3780
|
-
ddsFontHeadingMedium: "
|
|
3716
|
+
ddsFontHeadingXxsmall: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3717
|
+
ddsFontHeadingXsmall: "600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3718
|
+
ddsFontHeadingSmall: "600 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3719
|
+
ddsFontHeadingMedium: "500 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3781
3720
|
ddsFontHeadingLarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3782
3721
|
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
3783
3722
|
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.2 'IBM Plex Sans', Arial, sans-serif";
|
|
@@ -4024,4 +3963,4 @@ declare const VisuallyHidden: {
|
|
|
4024
3963
|
displayName: string;
|
|
4025
3964
|
};
|
|
4026
3965
|
|
|
4027
|
-
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, 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 };
|
|
3966
|
+
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, type TabSize, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, 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 };
|