@norges-domstoler/dds-components 25.0.0 → 25.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +484 -968
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +10 -10
- package/dist/index.d.cts +0 -761
- package/dist/index.d.mts +0 -760
- package/dist/index.mjs +484 -967
- package/dist/index.mjs.map +1 -1
- package/dist/{rolldown-runtime-DvY7y8dj.mjs → rolldown-runtime-D1lRXUGZ.mjs} +1 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,6 @@ import { AriaCalendarProps, DateValue as DateValue$1 } from "@react-aria/calenda
|
|
|
7
7
|
import { AriaDateFieldOptions, AriaDatePickerProps, AriaTimeFieldProps, useDatePicker } from "@react-aria/datepicker";
|
|
8
8
|
import "@react-stately/datepicker";
|
|
9
9
|
import { GroupBase, OptionProps, Props, SelectInstance, SingleValueProps } from "react-select";
|
|
10
|
-
//#region src/components/helpers/AccordionBase/useAccordion.d.ts
|
|
11
10
|
export interface AccordionConfig {
|
|
12
11
|
/**
|
|
13
12
|
* Ukontrollerttilstand: om utvidbare delen skal være utvidet ved første render.
|
|
@@ -134,8 +133,6 @@ export interface AccordionState {
|
|
|
134
133
|
* ```
|
|
135
134
|
*/
|
|
136
135
|
export declare const useAccordion: ({ isInitiallyExpanded, isExpanded: isExpandedProp, onChange, id }: AccordionConfig) => AccordionState;
|
|
137
|
-
//#endregion
|
|
138
|
-
//#region src/components/helpers/AccordionBase/AccordionContext.d.ts
|
|
139
136
|
interface AccordionContext {
|
|
140
137
|
headerProps: UseAccordionHeaderProps;
|
|
141
138
|
bodyProps: UseAccordionBodyProps;
|
|
@@ -148,12 +145,8 @@ export declare const AccordionContextProvider: ({ children, ...values }: Accordi
|
|
|
148
145
|
children: ReactNode;
|
|
149
146
|
}) => import("react").JSX.Element;
|
|
150
147
|
export declare const useAccordionContext: () => Partial<AccordionContext>;
|
|
151
|
-
//#endregion
|
|
152
|
-
//#region src/components/helpers/Backdrop/Backdrop.utils.d.ts
|
|
153
148
|
export declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
154
149
|
export declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region src/components/helpers/Backdrop/Backdrop.d.ts
|
|
157
150
|
type BackdropProps = {
|
|
158
151
|
isMounted?: boolean;
|
|
159
152
|
zIndex: 'drawer' | 'modal';
|
|
@@ -182,11 +175,7 @@ export declare const Backdrop: {
|
|
|
182
175
|
({ isMounted, zIndex, ...props }: BackdropProps): import("react").JSX.Element;
|
|
183
176
|
displayName: string;
|
|
184
177
|
};
|
|
185
|
-
//#endregion
|
|
186
|
-
//#region src/types/Direction.d.ts
|
|
187
178
|
export type Direction = 'row' | 'column';
|
|
188
|
-
//#endregion
|
|
189
|
-
//#region src/types/BaseComponentProps.d.ts
|
|
190
179
|
export interface HTMLRootProps {
|
|
191
180
|
/**HTML id. */
|
|
192
181
|
id?: string;
|
|
@@ -270,18 +259,12 @@ export type BaseComponentPropsWithChildren<T extends Element, TProps extends obj
|
|
|
270
259
|
* Kan også kalles uten `className`-parameteret. Oppførselen er lik.
|
|
271
260
|
*/
|
|
272
261
|
export declare function getBaseHTMLProps<T extends Element>(id: HTMLAttributes<T>['id'], className: HTMLAttributes<T>['className'], style: HTMLAttributes<T>['style'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
273
|
-
//#endregion
|
|
274
|
-
//#region src/types/Size.d.ts
|
|
275
262
|
declare const SIZES: readonly ["xsmall", "small", "medium", "large", "xlarge", "xxlarge", "inherit", "component", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14"];
|
|
276
263
|
type Size$1 = (typeof SIZES)[number];
|
|
277
264
|
export declare function createSizes<T extends Array<Size$1>>(...sizes: T): T;
|
|
278
|
-
//#endregion
|
|
279
|
-
//#region src/types/Purpose.d.ts
|
|
280
265
|
declare const PURPOSES: readonly ["primary", "secondary", "primary-danger", "secondary-danger", "tertiary", "success", "info", "danger", "warning", "default", "neutral", "tips"];
|
|
281
266
|
type Purpose = (typeof PURPOSES)[number];
|
|
282
267
|
export declare function createPurposes<T extends Array<Purpose>>(...sizes: T): T;
|
|
283
|
-
//#endregion
|
|
284
|
-
//#region src/types/Surface.d.ts
|
|
285
268
|
export declare const BORDER_RADII: readonly ["button", "input", "surface", "tag", "rounded", "0"];
|
|
286
269
|
export declare const ELEVATIONS: readonly ["small", "medium", "large"];
|
|
287
270
|
export declare const BORDER_COLORS: readonly ["border-default", "border-subtle", "border-inverse", "border-action-default", "border-action-hover", "border-success", "border-warning", "border-danger", "border-info", "border-on-action"];
|
|
@@ -294,8 +277,6 @@ export declare const isPaperBackground: (value: unknown) => value is PaperBackgr
|
|
|
294
277
|
export declare const isBorderColor: (value: unknown) => value is BorderColor;
|
|
295
278
|
export declare const isBorderRadius: (value: unknown) => value is BorderRadius;
|
|
296
279
|
export declare const isElevation: (value: unknown) => value is Elevation;
|
|
297
|
-
//#endregion
|
|
298
|
-
//#region src/types/utils.d.ts
|
|
299
280
|
/**
|
|
300
281
|
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
301
282
|
*
|
|
@@ -313,8 +294,6 @@ export type WithRequiredIf<Condition extends boolean, T, K extends keyof T> = Om
|
|
|
313
294
|
export type ExtractStrict<T, U extends T> = U;
|
|
314
295
|
export type Nullable<T> = T | null;
|
|
315
296
|
export type Callback<T> = (e: T) => void;
|
|
316
|
-
//#endregion
|
|
317
|
-
//#region src/components/Badge/Badge.d.ts
|
|
318
297
|
declare const BADGE_PURPOSES: readonly ["notification", "action", "neutral", "subtle"];
|
|
319
298
|
declare const BADGE_SIZES: ["xsmall", "small", "medium", "large"];
|
|
320
299
|
type BadgePurpose = (typeof BADGE_PURPOSES)[number];
|
|
@@ -354,8 +333,6 @@ export declare const Badge: {
|
|
|
354
333
|
({ id, className, style, htmlProps, purpose, size, children, max, showZero, ...rest }: BadgeProps): import("react").JSX.Element | null;
|
|
355
334
|
displayName: string;
|
|
356
335
|
};
|
|
357
|
-
//#endregion
|
|
358
|
-
//#region src/components/Icon/utils/types.d.ts
|
|
359
336
|
type SvgProps = {
|
|
360
337
|
title?: string;
|
|
361
338
|
} & SVGAttributes<SVGSVGElement>;
|
|
@@ -369,8 +346,6 @@ type SvgPropsWithState<I> = SvgProps & (IconStatesOf<I> extends never ? object :
|
|
|
369
346
|
*/
|
|
370
347
|
iconState?: IconStatesOf<I>;
|
|
371
348
|
});
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region src/components/Button/Button.types.d.ts
|
|
374
349
|
declare const BUTTON_SIZES: ["xsmall", "small", "medium", "large"];
|
|
375
350
|
declare const BUTTON_PURPOSES: ["primary", "secondary", "primary-danger", "secondary-danger", "tertiary"];
|
|
376
351
|
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
@@ -409,8 +384,6 @@ type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'>
|
|
|
409
384
|
/**Props for `<Badge>` som vises på knappen. */
|
|
410
385
|
badgeProps?: Omit<BadgeProps, 'size'>;
|
|
411
386
|
} & PickedHTMLAttributes$3>;
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region ../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts
|
|
414
387
|
interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
415
388
|
/**
|
|
416
389
|
* This feature is not Baseline because it does not work in some of the most widely-used browsers.
|
|
@@ -10838,23 +10811,17 @@ declare namespace DataType {
|
|
|
10838
10811
|
type TryTactic = "flip-block" | "flip-inline" | "flip-start" | (string & {});
|
|
10839
10812
|
type VisualBox = "border-box" | "content-box" | "padding-box";
|
|
10840
10813
|
}
|
|
10841
|
-
//#endregion
|
|
10842
|
-
//#region src/utils/color.d.ts
|
|
10843
10814
|
declare const TEXT_COLORS: readonly ["text-on-action", "text-on-inverse", "text-on-status-default", "text-on-status-strong", "text-action-resting", "text-action-hover", "text-action-visited", "text-default", "text-requiredfield", "text-subtle", "text-medium", "text-on-notification", "text-on-primary-default", "text-on-primary-medium", "text-on-primary-subtle", "text-on-primary-strong", "text-on-secondary-default", "text-on-secondary-medium", "text-on-secondary-subtle", "text-on-secondary-strong", "text-on-tertiary-default", "text-on-tertiary-medium", "text-on-tertiary-subtle", "text-on-tertiary-strong", "text-domain-on-domain", "text-statistics-on-default", "text-statistics-on-subtle", "icon-on-action", "icon-on-info-default", "icon-on-success-default", "icon-on-danger-default", "icon-on-warning-default", "icon-on-info-strong", "icon-on-success-strong", "icon-on-danger-strong", "icon-on-warning-strong", "icon-on-inverse", "icon-action-resting", "icon-action-hover", "icon-default", "icon-subtle", "icon-medium"];
|
|
10844
10815
|
declare const ICON_COLORS: readonly ["text-on-action", "text-on-inverse", "text-on-status-default", "text-on-status-strong", "text-action-resting", "text-action-hover", "text-action-visited", "text-default", "text-requiredfield", "text-subtle", "text-medium", "text-on-notification", "text-on-primary-default", "text-on-primary-medium", "text-on-primary-subtle", "text-on-primary-strong", "text-on-secondary-default", "text-on-secondary-medium", "text-on-secondary-subtle", "text-on-secondary-strong", "text-on-tertiary-default", "text-on-tertiary-medium", "text-on-tertiary-subtle", "text-on-tertiary-strong", "text-domain-on-domain", "text-statistics-on-default", "text-statistics-on-subtle", "icon-on-action", "icon-on-info-default", "icon-on-success-default", "icon-on-danger-default", "icon-on-warning-default", "icon-on-info-strong", "icon-on-success-strong", "icon-on-danger-strong", "icon-on-warning-strong", "icon-on-inverse", "icon-action-resting", "icon-action-hover", "icon-default", "icon-subtle", "icon-medium", "brand-primary-default", "brand-primary-strong", "brand-primary-medium", "brand-primary-subtle", "brand-secondary-default", "brand-secondary-strong", "brand-secondary-medium", "brand-secondary-subtle", "brand-tertiary-default", "brand-tertiary-strong", "brand-tertiary-medium", "brand-tertiary-subtle"];
|
|
10845
10816
|
type DDSTextColor = (typeof TEXT_COLORS)[number];
|
|
10846
10817
|
type DDSIconColor = (typeof ICON_COLORS)[number];
|
|
10847
10818
|
type TextColor = DDSTextColor | Property.Color;
|
|
10848
10819
|
type IconColor = DDSIconColor | Property.Color;
|
|
10849
|
-
//#endregion
|
|
10850
|
-
//#region src/utils/dom.d.ts
|
|
10851
10820
|
/**
|
|
10852
10821
|
* Join class names together.
|
|
10853
10822
|
* Will filter out all falsy values.
|
|
10854
10823
|
*/
|
|
10855
10824
|
export declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
10856
|
-
//#endregion
|
|
10857
|
-
//#region src/components/Icon/Icon.d.ts
|
|
10858
10825
|
declare const ICON_SIZES: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "inherit", "component"];
|
|
10859
10826
|
type IconSize = (typeof ICON_SIZES)[number];
|
|
10860
10827
|
type IconProps<I extends SvgIcon = SvgIcon> = BaseComponentProps<SVGSVGElement, {
|
|
@@ -10877,14 +10844,10 @@ export declare function Icon<I extends SvgIcon = SvgIcon>(props: IconProps<I>):
|
|
|
10877
10844
|
export declare namespace Icon {
|
|
10878
10845
|
var displayName: string;
|
|
10879
10846
|
}
|
|
10880
|
-
//#endregion
|
|
10881
|
-
//#region src/components/Button/Button.d.ts
|
|
10882
10847
|
export declare const Button: {
|
|
10883
10848
|
<I extends SvgIcon, T extends ElementType = "button">({ as: propAs, children, purpose, size: propSize, iconPosition, loading, loadingTooltip, fullWidth, icon, iconState, onClick, onFocus, onBlur, badgeProps, id, ref, className, style, htmlProps, ...props }: ButtonProps<I, T>): import("react").JSX.Element;
|
|
10884
10849
|
displayName: string;
|
|
10885
10850
|
};
|
|
10886
|
-
//#endregion
|
|
10887
|
-
//#region src/components/Toggle/Toggle.d.ts
|
|
10888
10851
|
declare const TOGGLE_SIZES: ["small", "medium", "large"];
|
|
10889
10852
|
type ToggleSize = (typeof TOGGLE_SIZES)[number];
|
|
10890
10853
|
type ToggleProps = BaseComponentProps<HTMLElement, {
|
|
@@ -10923,8 +10886,6 @@ export declare const Toggle: {
|
|
|
10923
10886
|
({ id, children, size, checked: checkedProp, defaultChecked, onChange, disabled, readOnly, isLoading, className, style, htmlProps, ...rest }: ToggleProps): import("react").JSX.Element;
|
|
10924
10887
|
displayName: string;
|
|
10925
10888
|
};
|
|
10926
|
-
//#endregion
|
|
10927
|
-
//#region src/components/helpers/StylelessButton/StylelessButton.d.ts
|
|
10928
10889
|
export type StylelessButtonProps<TProps extends object = object> = TProps & ComponentPropsWithRef<'button'>;
|
|
10929
10890
|
/**
|
|
10930
10891
|
* Normalisert `<button>` uten styling. Base for custom buttom styling.
|
|
@@ -10943,8 +10904,6 @@ export type StylelessButtonProps<TProps extends object = object> = TProps & Comp
|
|
|
10943
10904
|
* ```
|
|
10944
10905
|
*/
|
|
10945
10906
|
export declare const StylelessButton: ({ className, ...rest }: StylelessButtonProps) => import("react").JSX.Element;
|
|
10946
|
-
//#endregion
|
|
10947
|
-
//#region src/components/helpers/Dropdown/DropdownItem.d.ts
|
|
10948
10907
|
type DropdownItemT = 'span' | 'a' | typeof StylelessButton | typeof Toggle;
|
|
10949
10908
|
export type DropdownItemButtonProps = {
|
|
10950
10909
|
/**Asynkron `onClick` event; håndterer loading status, slik at menyen ikke lukker seg under loading. */
|
|
@@ -10966,12 +10925,8 @@ export interface DropdownItemCustomProps<T extends DropdownItemT = 'span'> {
|
|
|
10966
10925
|
}
|
|
10967
10926
|
export type DropdownItemProps<T extends DropdownItemT = 'span'> = DropdownItemCustomProps<T> & DropdownItemButtonProps & (T extends typeof StylelessButton ? StylelessButtonProps : ComponentPropsWithRef<T>);
|
|
10968
10927
|
export declare const DropdownItem: <T extends DropdownItemT = "span">({ icon, className, children: propChildren, purpose, loading, loadingTooltip, badgeProps, ...rest }: DropdownItemProps<T>) => import("react").JSX.Element;
|
|
10969
|
-
//#endregion
|
|
10970
|
-
//#region src/components/helpers/Dropdown/DropdownHeader.d.ts
|
|
10971
10928
|
type DropdownHeaderProps = ComponentPropsWithRef<'h2'>;
|
|
10972
10929
|
export declare const DropdownHeader: ({ className, ...rest }: DropdownHeaderProps) => import("react").JSX.Element;
|
|
10973
|
-
//#endregion
|
|
10974
|
-
//#region src/components/helpers/HiddenInput/HiddenInput.d.ts
|
|
10975
10930
|
/**
|
|
10976
10931
|
* Usynlig `<input>` til bruk for skjermlesere, typisk for custom radioknapper o.l..
|
|
10977
10932
|
*
|
|
@@ -10990,8 +10945,6 @@ export declare const DropdownHeader: ({ className, ...rest }: DropdownHeaderProp
|
|
|
10990
10945
|
* ```
|
|
10991
10946
|
*/
|
|
10992
10947
|
export declare const HiddenInput: ({ className, ...rest }: ComponentPropsWithRef<"input">) => import("react").JSX.Element;
|
|
10993
|
-
//#endregion
|
|
10994
|
-
//#region src/components/helpers/StylelessList/StylelessList.d.ts
|
|
10995
10948
|
export type StylelessListProps<TProps extends object = object> = TProps & ComponentPropsWithRef<'ul'>;
|
|
10996
10949
|
/**
|
|
10997
10950
|
* Normalisert `<ul>` uten styling. Base for custom ul styling.
|
|
@@ -11030,8 +10983,6 @@ export type StylelessOListProps<TProps extends object = object> = TProps & Compo
|
|
|
11030
10983
|
* ```
|
|
11031
10984
|
*/
|
|
11032
10985
|
export declare const StylelessOList: ({ className, ...rest }: StylelessOListProps) => import("react").JSX.Element;
|
|
11033
|
-
//#endregion
|
|
11034
|
-
//#region src/components/helpers/styling/utils.d.ts
|
|
11035
10986
|
/**
|
|
11036
10987
|
* Styling utils i TS (CSS-in-JS)
|
|
11037
10988
|
*/
|
|
@@ -11086,8 +11037,6 @@ export declare const normalizeButton: {
|
|
|
11086
11037
|
margin: number;
|
|
11087
11038
|
textTransform: Property.TextTransform;
|
|
11088
11039
|
};
|
|
11089
|
-
//#endregion
|
|
11090
|
-
//#region src/components/layout/common/Responsive.types.d.ts
|
|
11091
11040
|
declare const BREAKPOINTS: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
11092
11041
|
type Breakpoint = (typeof BREAKPOINTS)[number];
|
|
11093
11042
|
declare const SPACING_SCALES: readonly ["x0", "x0.125", "x0.25", "x0.5", "x0.75", "x1", "x1.5", "x2", "x2.5", "x3", "x4", "x6", "x10"];
|
|
@@ -11206,8 +11155,6 @@ type ResponsiveBleedProps = PrimitiveLayoutProps & {
|
|
|
11206
11155
|
/**Setter negativ CSS `margin-block`, overskriver prop `marginBlock`. Støtter standardverdier og dds spacing tokens skala, per brekkpunkt eller samme for alle skjermstørrelser.*/
|
|
11207
11156
|
bleedMarginBlock?: ResponsiveProp<Property.MarginBlock | SpacingScale>;
|
|
11208
11157
|
};
|
|
11209
|
-
//#endregion
|
|
11210
|
-
//#region src/components/layout/Bleed/Bleed.d.ts
|
|
11211
11158
|
type BleedProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, {
|
|
11212
11159
|
/**
|
|
11213
11160
|
* Setter positiv padding som gjenspeiler negativ margin satt med `bleedMarginBlock` og `bleedMarginInline`. Overskriver `paddingInline` og `paddingBlock`.
|
|
@@ -11218,22 +11165,16 @@ declare const Bleed$1: {
|
|
|
11218
11165
|
<T extends ElementType = "div">({ id, className, style, htmlProps, bleedMarginBlock, bleedMarginInline, reflectivePadding, ...rest }: BleedProps<T>): import("react").JSX.Element;
|
|
11219
11166
|
displayName: string;
|
|
11220
11167
|
};
|
|
11221
|
-
//#endregion
|
|
11222
|
-
//#region src/components/layout/Box/Box.d.ts
|
|
11223
11168
|
export type BoxProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveProps>;
|
|
11224
11169
|
export declare const Box: {
|
|
11225
11170
|
<T extends ElementType = "div">({ id, className, style, padding, paddingInline, paddingBlock, margin, marginInline, marginBlock, height, maxHeight, minHeight, width, maxWidth, minWidth, position, left, right, bottom, top, overflow, overflowX, overflowY, display, textAlign, flex, flexDirection, gap, columnGap, rowGap, alignItems, alignContent, justifyItems, placeItems, justifyContent, flexWrap, flexBasis, flexFlow, wordBreak, zIndex, htmlProps, ...rest }: BoxProps<T>): import("react").JSX.Element;
|
|
11226
11171
|
displayName: string;
|
|
11227
11172
|
};
|
|
11228
|
-
//#endregion
|
|
11229
|
-
//#region src/components/layout/Contrast/Contrast.d.ts
|
|
11230
11173
|
export type ContrastProps<T extends ElementType = 'div'> = BoxProps<T>;
|
|
11231
11174
|
export declare const Contrast: {
|
|
11232
11175
|
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: ContrastProps<T>): import("react").JSX.Element;
|
|
11233
11176
|
displayName: string;
|
|
11234
11177
|
};
|
|
11235
|
-
//#endregion
|
|
11236
|
-
//#region src/components/layout/Grid/Grid.d.ts
|
|
11237
11178
|
export type GridProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, {
|
|
11238
11179
|
/** CSS `grid-template-columns`. Støtter standardverdier per brekkpunkt eller samme for alle skjermstørrelser.
|
|
11239
11180
|
* @default {
|
|
@@ -11255,8 +11196,6 @@ export declare const Grid: {
|
|
|
11255
11196
|
<T extends ElementType = "div">({ id, className, htmlProps, defaultPageLayout, display, grid, gridAutoColumns, gridAutoFlow, gridAutoRows, gridTemplate, gridTemplateAreas, gridTemplateRows, gridTemplateColumns, columnGap, rowGap, marginInline, style, ...rest }: GridProps<T>): import("react").JSX.Element;
|
|
11256
11197
|
displayName: string;
|
|
11257
11198
|
};
|
|
11258
|
-
//#endregion
|
|
11259
|
-
//#region src/components/layout/Grid/GridChild.d.ts
|
|
11260
11199
|
type RelativeColumnsOccupied = 'all' | 'firstHalf' | 'secondHalf';
|
|
11261
11200
|
export type ColumnsOccupied = ResponsiveProp<StandardProperties['gridColumn'] | RelativeColumnsOccupied>;
|
|
11262
11201
|
export type GridChildProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, {
|
|
@@ -11273,8 +11212,6 @@ export declare const GridChild: {
|
|
|
11273
11212
|
<T extends ElementType = "div">({ id, className, htmlProps, style, gridRow, gridArea, justifySelf, columnsOccupied, ...rest }: GridChildProps<T>): import("react").JSX.Element;
|
|
11274
11213
|
displayName: string;
|
|
11275
11214
|
};
|
|
11276
|
-
//#endregion
|
|
11277
|
-
//#region src/components/layout/Paper/Paper.d.ts
|
|
11278
11215
|
export type PaperElevation = Elevation;
|
|
11279
11216
|
export type PaperBorder = BorderColor;
|
|
11280
11217
|
export type PaperBorderRadius = BorderRadius;
|
|
@@ -11290,717 +11227,365 @@ export type PaperProps<T extends ElementType = 'div'> = PolymorphicBaseComponent
|
|
|
11290
11227
|
background?: PaperBackground;
|
|
11291
11228
|
} & ResponsiveProps & PickedAttributes$1>;
|
|
11292
11229
|
export declare const Paper: <T extends ElementType = "div">({ id, elevation, border, borderRadius, background, className, htmlProps, style, ...rest }: PaperProps<T>) => import("react").JSX.Element;
|
|
11293
|
-
//#endregion
|
|
11294
|
-
//#region src/components/layout/ShowHide/ShowHide.d.ts
|
|
11295
11230
|
export type ShowHideProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, PrimitiveDisplayProps>;
|
|
11296
11231
|
export declare const ShowHide: {
|
|
11297
11232
|
<T extends ElementType = "div">({ hideBelow, showBelow, className, style, htmlProps, id, as: C, ...rest }: ShowHideProps<T>): import("react").JSX.Element;
|
|
11298
11233
|
displayName: string;
|
|
11299
11234
|
};
|
|
11300
|
-
//#endregion
|
|
11301
|
-
//#region src/components/layout/Stack/VStack/VStack.d.ts
|
|
11302
11235
|
export type VStackProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveStackProps>;
|
|
11303
11236
|
export declare const VStack: {
|
|
11304
11237
|
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: VStackProps<T>): import("react").JSX.Element;
|
|
11305
11238
|
displayName: string;
|
|
11306
11239
|
};
|
|
11307
|
-
//#endregion
|
|
11308
|
-
//#region src/components/layout/Stack/HStack/HStack.d.ts
|
|
11309
11240
|
export type HStackProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveStackProps>;
|
|
11310
11241
|
export declare const HStack: {
|
|
11311
11242
|
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: HStackProps<T>): import("react").JSX.Element;
|
|
11312
11243
|
displayName: string;
|
|
11313
11244
|
};
|
|
11314
|
-
//#endregion
|
|
11315
|
-
//#region src/components/Icon/icons/addressShielded.d.ts
|
|
11316
11245
|
/** Access and people. Search terms: adresse, address, skjermet, shielded, beskyttet, protected. */
|
|
11317
11246
|
export declare function AddressShieldedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11318
|
-
//#endregion
|
|
11319
|
-
//#region src/components/Icon/icons/agreement.d.ts
|
|
11320
11247
|
/** Services. Search terms: avtale, agreement, kontrakt, contract, dokument, document. */
|
|
11321
11248
|
export declare function AgreementIcon(props: SvgProps): import("react").JSX.Element;
|
|
11322
|
-
//#endregion
|
|
11323
|
-
//#region src/components/Icon/icons/apps.d.ts
|
|
11324
11249
|
/** Navigation and menu. Search terms: apps, applikasjoner, grid, rutenett, meny, menu. */
|
|
11325
11250
|
export declare function AppsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11326
|
-
//#endregion
|
|
11327
|
-
//#region src/components/Icon/icons/archive.d.ts
|
|
11328
11251
|
/** Document and file. Search terms: arkiv, archive, lagre, store, mappe, folder. */
|
|
11329
11252
|
export declare function ArchiveIcon(props: SvgProps): import("react").JSX.Element;
|
|
11330
|
-
//#endregion
|
|
11331
|
-
//#region src/components/Icon/icons/arrowDown.d.ts
|
|
11332
11253
|
/** Arrows and chevron. Search terms: pil, arrow, ned, down. */
|
|
11333
11254
|
export declare function ArrowDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11334
|
-
//#endregion
|
|
11335
|
-
//#region src/components/Icon/icons/arrowDownUp.d.ts
|
|
11336
11255
|
/** Arrows and chevron. Search terms: pil, arrow, ned, down. */
|
|
11337
11256
|
export declare function ArrowDownUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11338
|
-
//#endregion
|
|
11339
|
-
//#region src/components/Icon/icons/arrowLeft.d.ts
|
|
11340
11257
|
/** Arrows and chevron. Search terms: pil, arrow, venstre, left, tilbake, back. */
|
|
11341
11258
|
export declare function ArrowLeftIcon(props: SvgProps): import("react").JSX.Element;
|
|
11342
|
-
//#endregion
|
|
11343
|
-
//#region src/components/Icon/icons/arrowRight.d.ts
|
|
11344
11259
|
/** Arrows and chevron. Search terms: pil, arrow, høyre, right, frem, forward. */
|
|
11345
11260
|
export declare function ArrowRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11346
|
-
//#endregion
|
|
11347
|
-
//#region src/components/Icon/icons/arrowUp.d.ts
|
|
11348
11261
|
/** Arrows and chevron. Search terms: pil, arrow, opp, up. */
|
|
11349
11262
|
export declare function ArrowUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11350
|
-
//#endregion
|
|
11351
|
-
//#region src/components/Icon/icons/arrowUpDown.d.ts
|
|
11352
11263
|
/** Arrows and chevron. Search terms: pil, arrow, ned, down. */
|
|
11353
11264
|
export declare function ArrowUpDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11354
|
-
//#endregion
|
|
11355
|
-
//#region src/components/Icon/icons/arrowUpRight.d.ts
|
|
11356
11265
|
/** Arrows and chevron. Search terms: pil, arrow, opp, up, høyre, right. */
|
|
11357
11266
|
export declare function ArrowUpRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11358
|
-
//#endregion
|
|
11359
|
-
//#region src/components/Icon/icons/attachment.d.ts
|
|
11360
11267
|
/** Document and file. Search terms: vedlegg, attachment, fil, file, binders, clip. */
|
|
11361
11268
|
export declare function AttachmentIcon(props: SvgProps): import("react").JSX.Element;
|
|
11362
|
-
//#endregion
|
|
11363
|
-
//#region src/components/Icon/icons/block.d.ts
|
|
11364
11269
|
/** Access and people. Search terms: blokker, block, forbudt, forbidden, avvis, deny. */
|
|
11365
11270
|
export declare function BlockIcon(props: SvgProps): import("react").JSX.Element;
|
|
11366
|
-
//#endregion
|
|
11367
|
-
//#region src/components/Icon/icons/book.d.ts
|
|
11368
11271
|
/** Services. Search terms: bok, book, dokument, document, lese, read. */
|
|
11369
11272
|
export declare function BookIcon(props: SvgProps): import("react").JSX.Element;
|
|
11370
|
-
//#endregion
|
|
11371
|
-
//#region src/components/Icon/icons/briefcase.d.ts
|
|
11372
11273
|
/** Services. Search terms: koffert, briefcase, sak, case, jobb, work, advokat, lawyer. */
|
|
11373
11274
|
export declare function BriefcaseIcon(props: SvgProps): import("react").JSX.Element;
|
|
11374
|
-
//#endregion
|
|
11375
|
-
//#region src/components/Icon/icons/build.d.ts
|
|
11376
11275
|
/** Settings and tools. Search terms: bygg, build, verktøy, tool, wrench, skiftenøkkel, nøkkel. */
|
|
11377
11276
|
export declare function BuildIcon(props: SvgProps): import("react").JSX.Element;
|
|
11378
|
-
//#endregion
|
|
11379
|
-
//#region src/components/Icon/icons/building.d.ts
|
|
11380
11277
|
/** Services. Search terms: bygning, building, kontor, office, institusjon, institution. */
|
|
11381
11278
|
export declare function BuildingIcon(props: SvgProps): import("react").JSX.Element;
|
|
11382
|
-
//#endregion
|
|
11383
|
-
//#region src/components/Icon/icons/calendar.d.ts
|
|
11384
11279
|
/** Date, time and place. Search terms: kalender, calendar, dato, date. */
|
|
11385
11280
|
export declare function CalendarIcon(props: SvgProps): import("react").JSX.Element;
|
|
11386
|
-
//#endregion
|
|
11387
|
-
//#region src/components/Icon/icons/calendarMonth.d.ts
|
|
11388
11281
|
/** Date, time and place. Search terms: kalender, calendar, måned, month, dato, date. */
|
|
11389
11282
|
export declare function CalendarMonthIcon(props: SvgProps): import("react").JSX.Element;
|
|
11390
|
-
//#endregion
|
|
11391
|
-
//#region src/components/Icon/icons/calendarViewDay.d.ts
|
|
11392
11283
|
/** Date, time and place. Search terms: kalender, calendar, dag, day, dato, date. */
|
|
11393
11284
|
export declare function CalendarViewDayIcon(props: SvgProps): import("react").JSX.Element;
|
|
11394
|
-
//#endregion
|
|
11395
|
-
//#region src/components/Icon/icons/calendarViewMonth.d.ts
|
|
11396
11285
|
/** Date, time and place. Search terms: kalender, calendar, måned, month, dato, date. */
|
|
11397
11286
|
export declare function CalendarViewMonthIcon(props: SvgProps): import("react").JSX.Element;
|
|
11398
|
-
//#endregion
|
|
11399
|
-
//#region src/components/Icon/icons/calendarViewWeek.d.ts
|
|
11400
11287
|
/** Date, time and place. Search terms: kalender, calendar, uke, week, dato, date. */
|
|
11401
11288
|
export declare function CalendarViewWeekIcon(props: SvgProps): import("react").JSX.Element;
|
|
11402
|
-
//#endregion
|
|
11403
|
-
//#region src/components/Icon/icons/call.d.ts
|
|
11404
11289
|
/** Communication. Search terms: ring, call, telefon, phone, samtale. */
|
|
11405
11290
|
export declare function CallIcon(props: SvgProps): import("react").JSX.Element;
|
|
11406
|
-
//#endregion
|
|
11407
|
-
//#region src/components/Icon/icons/caring.d.ts
|
|
11408
11291
|
/** Services. Search terms: omsorg, caring, pleie, care, hånd, hand, hjerte, heart. */
|
|
11409
11292
|
export declare function CaringIcon(props: SvgProps): import("react").JSX.Element;
|
|
11410
|
-
//#endregion
|
|
11411
|
-
//#region src/components/Icon/icons/chat.d.ts
|
|
11412
11293
|
/** Communication. Search terms: chat, melding, message, snakke, talk, boble, bubble. */
|
|
11413
11294
|
export declare function ChatIcon(props: SvgProps): import("react").JSX.Element;
|
|
11414
|
-
//#endregion
|
|
11415
|
-
//#region src/components/Icon/icons/check.d.ts
|
|
11416
11295
|
/** Checks and crosses. Search terms: hake, check, godkjent, approved, valgt, selected. */
|
|
11417
11296
|
export declare function CheckIcon(props: SvgProps): import("react").JSX.Element;
|
|
11418
|
-
//#endregion
|
|
11419
|
-
//#region src/components/Icon/icons/checkCircled.d.ts
|
|
11420
11297
|
/** Checks and crosses. Search terms: hake, check, sirkel, circle, godkjent, approved, suksess, success. */
|
|
11421
11298
|
export declare function CheckCircledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11422
|
-
//#endregion
|
|
11423
|
-
//#region src/components/Icon/icons/checklist.d.ts
|
|
11424
11299
|
/** Document and file. Search terms: sjekkliste, checklist, liste, list, oppgaver, tasks. */
|
|
11425
11300
|
export declare function ChecklistIcon(props: SvgProps): import("react").JSX.Element;
|
|
11426
|
-
//#endregion
|
|
11427
|
-
//#region src/components/Icon/icons/chevronDown.d.ts
|
|
11428
11301
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, ned, down, sammentrukket, collapsed. */
|
|
11429
11302
|
export declare function ChevronDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11430
|
-
//#endregion
|
|
11431
|
-
//#region src/components/Icon/icons/chevronFirst.d.ts
|
|
11432
11303
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, første, first, start. */
|
|
11433
11304
|
export declare function ChevronFirstIcon(props: SvgProps): import("react").JSX.Element;
|
|
11434
|
-
//#endregion
|
|
11435
|
-
//#region src/components/Icon/icons/chevronLast.d.ts
|
|
11436
11305
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, siste, last, end, slutt. */
|
|
11437
11306
|
export declare function ChevronLastIcon(props: SvgProps): import("react").JSX.Element;
|
|
11438
|
-
//#endregion
|
|
11439
|
-
//#region src/components/Icon/icons/chevronLeft.d.ts
|
|
11440
11307
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, venstre, left, tilbake, back. */
|
|
11441
11308
|
export declare function ChevronLeftIcon(props: SvgProps): import("react").JSX.Element;
|
|
11442
|
-
//#endregion
|
|
11443
|
-
//#region src/components/Icon/icons/chevronRight.d.ts
|
|
11444
11309
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, høyre, right, frem, forward. */
|
|
11445
11310
|
export declare function ChevronRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11446
|
-
//#endregion
|
|
11447
|
-
//#region src/components/Icon/icons/chevronUp.d.ts
|
|
11448
11311
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, opp, up, utvidet, expanded. */
|
|
11449
11312
|
export declare function ChevronUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11450
|
-
//#endregion
|
|
11451
|
-
//#region src/components/Icon/icons/circle.d.ts
|
|
11452
11313
|
/** Notifications. Search terms: sirkel, circle, form, shape. */
|
|
11453
11314
|
export declare function CircleIcon(props: SvgProps): import("react").JSX.Element;
|
|
11454
|
-
//#endregion
|
|
11455
|
-
//#region src/components/Icon/icons/circleFilled.d.ts
|
|
11456
11315
|
/** Notifications. Search terms: sirkel, circle, fylt, filled, form, shape, punkt, dot. */
|
|
11457
11316
|
export declare function CircleFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11458
|
-
//#endregion
|
|
11459
|
-
//#region src/components/Icon/icons/close.d.ts
|
|
11460
11317
|
/** Checks and crosses. Search terms: lukke, close, dismiss, exit, avbryt, cancel, x, kryss, cross. */
|
|
11461
11318
|
export declare function CloseIcon(props: SvgProps): import("react").JSX.Element;
|
|
11462
|
-
//#endregion
|
|
11463
|
-
//#region src/components/Icon/icons/closeSmall.d.ts
|
|
11464
11319
|
/** Checks and crosses. Search terms: lukke, close, liten, small, x, kryss, cross, avbryt, cancel. */
|
|
11465
11320
|
export declare function CloseSmallIcon(props: SvgProps): import("react").JSX.Element;
|
|
11466
|
-
//#endregion
|
|
11467
|
-
//#region src/components/Icon/icons/closeCircled.d.ts
|
|
11468
11321
|
/** Checks and crosses. Search terms: lukke, close, sirkel, circle, avbryt, cancel, x, kryss, cross. */
|
|
11469
11322
|
export declare function CloseCircledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11470
|
-
//#endregion
|
|
11471
|
-
//#region src/components/Icon/icons/cloud.d.ts
|
|
11472
11323
|
/** Document and file. Search terms: sky, cloud, lagre, save, opplasting, upload. */
|
|
11473
11324
|
export declare function CloudIcon(props: SvgProps): import("react").JSX.Element;
|
|
11474
|
-
//#endregion
|
|
11475
|
-
//#region src/components/Icon/icons/collapse.d.ts
|
|
11476
11325
|
/** UI manipulate. Search terms: kollapse, collapse, minimere, minimize, skjul, hide. */
|
|
11477
11326
|
export declare function CollapseIcon(props: SvgProps): import("react").JSX.Element;
|
|
11478
|
-
//#endregion
|
|
11479
|
-
//#region src/components/Icon/icons/comment.d.ts
|
|
11480
11327
|
/** Communication. Search terms: kommentar, comment, melding, message, boble, bubble, tekst, text. */
|
|
11481
11328
|
export declare function CommentIcon(props: SvgProps): import("react").JSX.Element;
|
|
11482
|
-
//#endregion
|
|
11483
|
-
//#region src/components/Icon/icons/copy.d.ts
|
|
11484
11329
|
/** Edit. Search terms: kopier, copy, dupliser, duplicate, klon, clone. */
|
|
11485
11330
|
export declare function CopyIcon(props: SvgProps): import("react").JSX.Element;
|
|
11486
|
-
//#endregion
|
|
11487
|
-
//#region src/components/Icon/icons/court.d.ts
|
|
11488
11331
|
/** Domain. Search terms: domstol, court, rett, rettssal, courtroom. */
|
|
11489
11332
|
export declare function CourtIcon(props: SvgProps): import("react").JSX.Element;
|
|
11490
|
-
//#endregion
|
|
11491
|
-
//#region src/components/Icon/icons/dateRange.d.ts
|
|
11492
11333
|
/** Date, time and place. Search terms: datoperiode, date range, kalender, calendar, periode, period. */
|
|
11493
11334
|
export declare function DateRangeIcon(props: SvgProps): import("react").JSX.Element;
|
|
11494
|
-
//#endregion
|
|
11495
|
-
//#region src/components/Icon/icons/deaths.d.ts
|
|
11496
11335
|
/** Services. Search terms: dødsfall, deaths, skifte, estate, arv, inheritance, rose, blomst, flower. */
|
|
11497
11336
|
export declare function DeathsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11498
|
-
//#endregion
|
|
11499
|
-
//#region src/components/Icon/icons/desktop.d.ts
|
|
11500
11337
|
/** Settings and tools. Search terms: desktop, skjerm, screen, datamaskin, computer, pc, system. */
|
|
11501
11338
|
export declare function DesktopIcon(props: SvgProps): import("react").JSX.Element;
|
|
11502
|
-
//#endregion
|
|
11503
|
-
//#region src/components/Icon/icons/desktopMobile.d.ts
|
|
11504
11339
|
/** Settings and tools. Search terms: desktop, skjerm, screen, datamaskin, computer, pc, system, mobil, mobile, responsive. */
|
|
11505
11340
|
export declare function DesktopMobileIcon(props: SvgProps): import("react").JSX.Element;
|
|
11506
|
-
//#endregion
|
|
11507
|
-
//#region src/components/Icon/icons/doubleChevronLeft.d.ts
|
|
11508
11341
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, venstre, left, første, first, dobbel, double, baklengs, backward. */
|
|
11509
11342
|
export declare function DoubleChevronLeftIcon(props: SvgProps): import("react").JSX.Element;
|
|
11510
|
-
//#endregion
|
|
11511
|
-
//#region src/components/Icon/icons/doubleChevronRight.d.ts
|
|
11512
11343
|
/** Arrows and chevron. Search terms: chevron, pil, arrow, høyre, right, dobbel, double, forward, fram. */
|
|
11513
11344
|
export declare function DoubleChevronRightIcon(props: SvgProps): import("react").JSX.Element;
|
|
11514
|
-
//#endregion
|
|
11515
|
-
//#region src/components/Icon/icons/download.d.ts
|
|
11516
11345
|
/** Document and file. Search terms: last ned, download, lagre, save, fil, file. */
|
|
11517
11346
|
export declare function DownloadIcon(props: SvgProps): import("react").JSX.Element;
|
|
11518
|
-
//#endregion
|
|
11519
|
-
//#region src/components/Icon/icons/downloadDone.d.ts
|
|
11520
11347
|
/** Document and file. Search terms: last ned, download, lagret, saved, ferdig, done, fullført, complete. */
|
|
11521
11348
|
export declare function DownloadDoneIcon(props: SvgProps): import("react").JSX.Element;
|
|
11522
|
-
//#endregion
|
|
11523
|
-
//#region src/components/Icon/icons/dragHandle.d.ts
|
|
11524
11349
|
/** UI manipulate. Search terms: dra, drag, håndtak, handle, flytt, move, sortering, sorting. */
|
|
11525
11350
|
export declare function DragHandleIcon(props: SvgProps): import("react").JSX.Element;
|
|
11526
|
-
//#endregion
|
|
11527
|
-
//#region src/components/Icon/icons/edit.d.ts
|
|
11528
11351
|
/** Edit. Search terms: rediger, edit, blyant, pencil, endre, change, skriv, write, penn. */
|
|
11529
11352
|
export declare function EditIcon(props: SvgProps): import("react").JSX.Element;
|
|
11530
|
-
//#endregion
|
|
11531
|
-
//#region src/components/Icon/icons/editAlt.d.ts
|
|
11532
11353
|
/** Edit. Search terms: rediger, edit, blyant, pencil, endre, change, skrive, write, penn. */
|
|
11533
11354
|
export declare function EditAltIcon(props: SvgProps): import("react").JSX.Element;
|
|
11534
|
-
//#endregion
|
|
11535
|
-
//#region src/components/Icon/icons/error.d.ts
|
|
11536
11355
|
/** Notifications. Search terms: feil, error, advarsel, alert, problem, issue. */
|
|
11537
11356
|
export declare function ErrorIcon(props: SvgProps): import("react").JSX.Element;
|
|
11538
|
-
//#endregion
|
|
11539
|
-
//#region src/components/Icon/icons/exclaim.d.ts
|
|
11540
11357
|
/** Notifications. Search terms: utropstegn, exclamation, advarsel, warning, alert, obs. */
|
|
11541
11358
|
export declare function ExclaimIcon(props: SvgProps): import("react").JSX.Element;
|
|
11542
|
-
//#endregion
|
|
11543
|
-
//#region src/components/Icon/icons/expand.d.ts
|
|
11544
11359
|
/** UI manipulate. Search terms: utvid, expand, forstørre, enlarge, åpne, open. */
|
|
11545
11360
|
export declare function ExpandIcon(props: SvgProps): import("react").JSX.Element;
|
|
11546
|
-
//#endregion
|
|
11547
|
-
//#region src/components/Icon/icons/facebook.d.ts
|
|
11548
11361
|
/** Social. Search terms: facebook, sosiale medier, social media, fb. */
|
|
11549
11362
|
export declare function FacebookIcon(props: SvgProps): import("react").JSX.Element;
|
|
11550
|
-
//#endregion
|
|
11551
|
-
//#region src/components/Icon/icons/family.d.ts
|
|
11552
11363
|
/** Services. Search terms: familie, family, blomst, flower. */
|
|
11553
11364
|
export declare function FamilyIcon(props: SvgProps): import("react").JSX.Element;
|
|
11554
|
-
//#endregion
|
|
11555
|
-
//#region src/components/Icon/icons/feedback.d.ts
|
|
11556
11365
|
/** Communication. Search terms: tilbakemelding, feedback, kommentar, comment, vurdering, review, utropstegn, exclamation, boble, bubble. */
|
|
11557
11366
|
export declare function FeedbackIcon(props: SvgProps): import("react").JSX.Element;
|
|
11558
|
-
//#endregion
|
|
11559
|
-
//#region src/components/Icon/icons/file.d.ts
|
|
11560
11367
|
/** Document and file. Search terms: dokument, document, side, page. */
|
|
11561
11368
|
export declare function FileIcon(props: SvgProps): import("react").JSX.Element;
|
|
11562
|
-
//#endregion
|
|
11563
|
-
//#region src/components/Icon/icons/fileAdd.d.ts
|
|
11564
11369
|
/** Document and file. Search terms: legg til fil, add file, ny fil, new file, dokument, document, pluss, side, page. */
|
|
11565
11370
|
export declare function FileAddIcon(props: SvgProps): import("react").JSX.Element;
|
|
11566
|
-
//#endregion
|
|
11567
|
-
//#region src/components/Icon/icons/fileShielded.d.ts
|
|
11568
11371
|
/** Access and people. Search terms: skjermet fil, shielded file, beskyttet, protected, dokument, document, side, page. */
|
|
11569
11372
|
export declare function FileShieldedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11570
|
-
//#endregion
|
|
11571
|
-
//#region src/components/Icon/icons/fileSigned.d.ts
|
|
11572
11373
|
/** Document and file. Search terms: signert fil, signed file, underskrift, signature, dokument, document. */
|
|
11573
11374
|
export declare function FileSignedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11574
|
-
//#endregion
|
|
11575
|
-
//#region src/components/Icon/icons/fileText.d.ts
|
|
11576
11375
|
/** Document and file. Search terms: tekstfil, text file, dokument, document, innhold, content. */
|
|
11577
11376
|
export declare function FileTextIcon(props: SvgProps): import("react").JSX.Element;
|
|
11578
|
-
//#endregion
|
|
11579
|
-
//#region src/components/Icon/icons/filter.d.ts
|
|
11580
11377
|
/** Search and filter. Search terms: filtrere, søk, search, trakt, funnel. */
|
|
11581
11378
|
export declare function FilterIcon(props: SvgProps): import("react").JSX.Element;
|
|
11582
|
-
//#endregion
|
|
11583
|
-
//#region src/components/Icon/icons/filterList.d.ts
|
|
11584
11379
|
/** Search and filter. Search terms: liste, filterliste, filter list, filtrere. */
|
|
11585
11380
|
export declare function FilterListIcon(props: SvgProps): import("react").JSX.Element;
|
|
11586
|
-
//#endregion
|
|
11587
|
-
//#region src/components/Icon/icons/findInPage.d.ts
|
|
11588
11381
|
/** Search and filter. Search terms: finn i side, find in page, søk, search, dokument, document, side, page. */
|
|
11589
11382
|
export declare function FindInPageIcon(props: SvgProps): import("react").JSX.Element;
|
|
11590
|
-
//#endregion
|
|
11591
|
-
//#region src/components/Icon/icons/flickr.d.ts
|
|
11592
11383
|
/** Social. Search terms: sosiale medier, social media, bilder, photos. */
|
|
11593
11384
|
export declare function FlickrIcon(props: SvgProps): import("react").JSX.Element;
|
|
11594
|
-
//#endregion
|
|
11595
|
-
//#region src/components/Icon/icons/floppyDisk.d.ts
|
|
11596
11385
|
/** Settings and tools. Search terms: diskett, floppy disk, lagre, save, diskette. */
|
|
11597
11386
|
export declare function FloppyDiskIcon(props: SvgProps): import("react").JSX.Element;
|
|
11598
|
-
//#endregion
|
|
11599
|
-
//#region src/components/Icon/icons/folder.d.ts
|
|
11600
11387
|
/** Document and file. Search terms: mappe, katalog, directory. */
|
|
11601
11388
|
export declare function FolderIcon(props: SvgProps): import("react").JSX.Element;
|
|
11602
|
-
//#endregion
|
|
11603
|
-
//#region src/components/Icon/icons/folderAdd.d.ts
|
|
11604
11389
|
/** Document and file. Search terms: mappe, legg til mappe, add folder, ny mappe, new folder, pluss. */
|
|
11605
11390
|
export declare function FolderAddIcon(props: SvgProps): import("react").JSX.Element;
|
|
11606
|
-
//#endregion
|
|
11607
|
-
//#region src/components/Icon/icons/folderShielded.d.ts
|
|
11608
11391
|
/** Access and people. Search terms: mappe, skjermet mappe, shielded folder, beskyttet, protected. */
|
|
11609
11392
|
export declare function FolderShieldedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11610
|
-
//#endregion
|
|
11611
|
-
//#region src/components/Icon/icons/fullscreenExit.d.ts
|
|
11612
11393
|
/** UI manipulate. Search terms: fullskjerm, forlat fullskjerm, exit fullscreen, minimere, minimize, skjerm, screen. */
|
|
11613
11394
|
export declare function FullscreenExitIcon(props: SvgProps): import("react").JSX.Element;
|
|
11614
|
-
//#endregion
|
|
11615
|
-
//#region src/components/Icon/icons/fullscreen.d.ts
|
|
11616
11395
|
/** UI manipulate. Search terms: fullskjerm, forstørre, maximize, skjerm, screen. */
|
|
11617
11396
|
export declare function FullscreenIcon(props: SvgProps): import("react").JSX.Element;
|
|
11618
|
-
//#endregion
|
|
11619
|
-
//#region src/components/Icon/icons/gavel.d.ts
|
|
11620
11397
|
/** Domain. Search terms: hammer, dommer, judge, domstol, court, rett, klubbe. */
|
|
11621
11398
|
export declare function GavelIcon(props: SvgProps): import("react").JSX.Element;
|
|
11622
|
-
//#endregion
|
|
11623
|
-
//#region src/components/Icon/icons/group.d.ts
|
|
11624
11399
|
/** Access and people. Search terms: gruppe, group, personer, people, team, mennesker, folk. */
|
|
11625
11400
|
export declare function GroupIcon(props: SvgProps): import("react").JSX.Element;
|
|
11626
|
-
//#endregion
|
|
11627
|
-
//#region src/components/Icon/icons/guardian.d.ts
|
|
11628
11401
|
/** Access and people. Search terms: verge, guardian, personer, people, beskytter, protector, mennesker, folk. */
|
|
11629
11402
|
export declare function GuardianIcon(props: SvgProps): import("react").JSX.Element;
|
|
11630
|
-
//#endregion
|
|
11631
|
-
//#region src/components/Icon/icons/help.d.ts
|
|
11632
11403
|
/** Notifications. Search terms: hjelp, help, spørsmål, question, veiledning, guide, sirkel, circle. */
|
|
11633
11404
|
export declare function HelpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11634
|
-
//#endregion
|
|
11635
|
-
//#region src/components/Icon/icons/helpFilled.d.ts
|
|
11636
11405
|
/** Notifications. Search terms: hjelp, help, fylt, filled, spørsmål, question, veiledning, guide, circle, sirkel. */
|
|
11637
11406
|
export declare function HelpFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11638
|
-
//#endregion
|
|
11639
|
-
//#region src/components/Icon/icons/home.d.ts
|
|
11640
11407
|
/** Navigation and menu. Search terms: hjem, home, startside, hus, house. */
|
|
11641
11408
|
export declare function HomeIcon(props: SvgProps): import("react").JSX.Element;
|
|
11642
|
-
//#endregion
|
|
11643
|
-
//#region src/components/Icon/icons/hourglassEmpty.d.ts
|
|
11644
11409
|
/** Date, time and place. Search terms: timeglass, hourglass, vente, wait, tid, time. */
|
|
11645
11410
|
export declare function HourglassEmptyIcon(props: SvgProps): import("react").JSX.Element;
|
|
11646
|
-
//#endregion
|
|
11647
|
-
//#region src/components/Icon/icons/image.d.ts
|
|
11648
11411
|
/** Document and file. Search terms: fil, bilde, image, foto, photo, media. */
|
|
11649
11412
|
export declare function ImageIcon(props: SvgProps): import("react").JSX.Element;
|
|
11650
|
-
//#endregion
|
|
11651
|
-
//#region src/components/Icon/icons/info.d.ts
|
|
11652
11413
|
/** Notifications. Search terms: info, informasjon, information, melding, message. */
|
|
11653
11414
|
export declare function InfoIcon(props: SvgProps): import("react").JSX.Element;
|
|
11654
|
-
//#endregion
|
|
11655
|
-
//#region src/components/Icon/icons/instagram.d.ts
|
|
11656
11415
|
/** Social. Search terms: instagram, sosiale medier, social media, bilder, photos. */
|
|
11657
11416
|
export declare function InstagramIcon(props: SvgProps): import("react").JSX.Element;
|
|
11658
|
-
//#endregion
|
|
11659
|
-
//#region src/components/Icon/icons/jordskifterett.d.ts
|
|
11660
11417
|
/** Brand. Search terms: jordskifterett, domstol, court, rett. */
|
|
11661
11418
|
export declare function JordskifterettIcon(props: SvgProps): import("react").JSX.Element;
|
|
11662
|
-
//#endregion
|
|
11663
|
-
//#region src/components/Icon/icons/jordskiftesak.d.ts
|
|
11664
11419
|
/** Domain. Search terms: jordskiftesak, sak, case, jord, land, kart, map. */
|
|
11665
11420
|
export declare function JordskiftesakIcon(props: SvgProps): import("react").JSX.Element;
|
|
11666
|
-
//#endregion
|
|
11667
|
-
//#region src/components/Icon/icons/key.d.ts
|
|
11668
11421
|
/** Access and people. Search terms: nøkkel, key, tilgang, access, autentisering, authentication. */
|
|
11669
11422
|
export declare function KeyIcon(props: SvgProps): import("react").JSX.Element;
|
|
11670
|
-
//#endregion
|
|
11671
|
-
//#region src/components/Icon/icons/lagmannsrett.d.ts
|
|
11672
11423
|
/** Brand. Search terms: lagmannsrett, domstol, court, rett, anke, appeal. */
|
|
11673
11424
|
export declare function LagmannsrettIcon(props: SvgProps): import("react").JSX.Element;
|
|
11674
|
-
//#endregion
|
|
11675
|
-
//#region src/components/Icon/icons/language.d.ts
|
|
11676
11425
|
/** Settings and tools. Search terms: språk, language, globe, jorden, earth, oversett, translate. */
|
|
11677
11426
|
export declare function LanguageIcon(props: SvgProps): import("react").JSX.Element;
|
|
11678
|
-
//#endregion
|
|
11679
|
-
//#region src/components/Icon/icons/link.d.ts
|
|
11680
11427
|
/** Document and file. Search terms: lenke, link, url, kobling, connection. */
|
|
11681
11428
|
export declare function LinkIcon(props: SvgProps): import("react").JSX.Element;
|
|
11682
|
-
//#endregion
|
|
11683
|
-
//#region src/components/Icon/icons/linkedIn.d.ts
|
|
11684
11429
|
/** Social. Search terms: linkedin, sosiale medier, social media, jobb, work. */
|
|
11685
11430
|
export declare function LinkedInIcon(props: SvgProps): import("react").JSX.Element;
|
|
11686
|
-
//#endregion
|
|
11687
|
-
//#region src/components/Icon/icons/linkOff.d.ts
|
|
11688
11431
|
/** Document and file. Search terms: fjern lenke, unlink, url, link off, kobling, connection. */
|
|
11689
11432
|
export declare function LinkOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
11690
|
-
//#endregion
|
|
11691
|
-
//#region src/components/Icon/icons/list.d.ts
|
|
11692
11433
|
/** Document and file. Search terms: liste, list, elementer, items, oppgaver, tasks. */
|
|
11693
11434
|
export declare function ListIcon(props: SvgProps): import("react").JSX.Element;
|
|
11694
|
-
//#endregion
|
|
11695
|
-
//#region src/components/Icon/icons/listAlt.d.ts
|
|
11696
11435
|
/** Document and file. Search terms: liste, list, elementer, items, oppgaver, tasks. */
|
|
11697
11436
|
export declare function ListAltIcon(props: SvgProps): import("react").JSX.Element;
|
|
11698
|
-
//#endregion
|
|
11699
|
-
//#region src/components/Icon/icons/location.d.ts
|
|
11700
11437
|
/** Date, time and place. Search terms: plassering, posisjon, location, kart, map, sted, place, pin, gps. */
|
|
11701
11438
|
export declare function LocationIcon(props: SvgProps): import("react").JSX.Element;
|
|
11702
|
-
//#endregion
|
|
11703
|
-
//#region src/components/Icon/icons/lock.d.ts
|
|
11704
11439
|
/** Access and people. Search terms: locked, sikker, secure, beskytt, protect, låst. */
|
|
11705
11440
|
export declare function LockIcon(props: SvgProps): import("react").JSX.Element;
|
|
11706
|
-
//#endregion
|
|
11707
|
-
//#region src/components/Icon/icons/lockFilled.d.ts
|
|
11708
11441
|
/** Access and people. Search terms: låst, locked, fylt, filled, sikker, secure, beskytt, protect. */
|
|
11709
11442
|
export declare function LockFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11710
|
-
//#endregion
|
|
11711
|
-
//#region src/components/Icon/icons/lockOpen.d.ts
|
|
11712
11443
|
/** Access and people. Search terms: åpen lås, lock open, ulåst, unlocked, tilgang, access. */
|
|
11713
11444
|
export declare function LockOpenIcon(props: SvgProps): import("react").JSX.Element;
|
|
11714
|
-
//#endregion
|
|
11715
|
-
//#region src/components/Icon/icons/login.d.ts
|
|
11716
11445
|
/** Navigation and menu. Search terms: logg inn, login, sign in, autentiser, authenticate, pil, arrow. */
|
|
11717
11446
|
export declare function LoginIcon(props: SvgProps): import("react").JSX.Element;
|
|
11718
|
-
//#endregion
|
|
11719
|
-
//#region src/components/Icon/icons/logout.d.ts
|
|
11720
11447
|
/** Navigation and menu. Search terms: logg ut, logout, sign out, avslutt, exit, pil, arrow. */
|
|
11721
11448
|
export declare function LogoutIcon(props: SvgProps): import("react").JSX.Element;
|
|
11722
|
-
//#endregion
|
|
11723
|
-
//#region src/components/Icon/icons/mail.d.ts
|
|
11724
11449
|
/** Communication. Search terms: epost, mail, email, ulest, unread, brev, letter, melding, message, konvolutt. */
|
|
11725
11450
|
export declare function MailIcon(props: SvgProps): import("react").JSX.Element;
|
|
11726
|
-
//#endregion
|
|
11727
|
-
//#region src/components/Icon/icons/mailOpen.d.ts
|
|
11728
11451
|
/** Communication. Search terms: åpen e-post, open mail, email, lest, read, brev, letter, melding, message, konvolutt. */
|
|
11729
11452
|
export declare function MailOpenIcon(props: SvgProps): import("react").JSX.Element;
|
|
11730
|
-
//#endregion
|
|
11731
|
-
//#region src/components/Icon/icons/menu.d.ts
|
|
11732
11453
|
/** Navigation and menu. Search terms: meny, menu, hamburger, navigasjon, navigation, linjer, lines. */
|
|
11733
11454
|
export declare function MenuIcon(props: SvgProps): import("react").JSX.Element;
|
|
11734
|
-
//#endregion
|
|
11735
|
-
//#region src/components/Icon/icons/minus.d.ts
|
|
11736
11455
|
/** Zoom and add. Search terms: minus, fjern, remove, reduser, decrease, strek. */
|
|
11737
11456
|
export declare function MinusIcon(props: SvgProps): import("react").JSX.Element;
|
|
11738
|
-
//#endregion
|
|
11739
|
-
//#region src/components/Icon/icons/minusCircled.d.ts
|
|
11740
11457
|
/** Zoom and add. Search terms: minus, sirkel, circle, fjern, remove, reduser, decrease. */
|
|
11741
11458
|
export declare function MinusCircledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11742
|
-
//#endregion
|
|
11743
|
-
//#region src/components/Icon/icons/moreHorizontal.d.ts
|
|
11744
11459
|
/** Navigation and menu. Search terms: mer, more, horisontal, horizontal, prikker, dots, meny, menu. */
|
|
11745
11460
|
export declare function MoreHorizontalIcon(props: SvgProps): import("react").JSX.Element;
|
|
11746
|
-
//#endregion
|
|
11747
|
-
//#region src/components/Icon/icons/moreVertical.d.ts
|
|
11748
11461
|
/** Navigation and menu. Search terms: mer, more, vertikal, vertical, prikker, dots, meny, menu, settings. */
|
|
11749
11462
|
export declare function MoreVerticalIcon(props: SvgProps): import("react").JSX.Element;
|
|
11750
|
-
//#endregion
|
|
11751
|
-
//#region src/components/Icon/icons/notarial.d.ts
|
|
11752
11463
|
/** Services. Search terms: notarial, notarius, notary, stempel, stamp. */
|
|
11753
11464
|
export declare function NotarialIcon(props: SvgProps): import("react").JSX.Element;
|
|
11754
|
-
//#endregion
|
|
11755
|
-
//#region src/components/Icon/icons/notifications.d.ts
|
|
11756
11465
|
/** Notifications. Search terms: varsler, notifications, bjelle, bell, alarm, alert. */
|
|
11757
11466
|
export declare function NotificationsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11758
|
-
//#endregion
|
|
11759
|
-
//#region src/components/Icon/icons/notificationsOff.d.ts
|
|
11760
11467
|
/** Notifications. Search terms: slå av varsler, notifications off, bjelle, bell, stille, mute. */
|
|
11761
11468
|
export declare function NotificationsOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
11762
|
-
//#endregion
|
|
11763
|
-
//#region src/components/Icon/icons/onlineMeeting.d.ts
|
|
11764
11469
|
/** Communication. Search terms: nettmøte, online meeting, video, samtale, call, møte, meeting, camera, kamera. */
|
|
11765
11470
|
export declare function OnlineMeetingIcon(props: SvgProps): import("react").JSX.Element;
|
|
11766
|
-
//#endregion
|
|
11767
|
-
//#region src/components/Icon/icons/openExternal.d.ts
|
|
11768
11471
|
/** Navigation and menu. Search terms: åpne eksternt, open external, lenke, link, arrow, pil. */
|
|
11769
11472
|
export declare function OpenExternalIcon(props: SvgProps): import("react").JSX.Element;
|
|
11770
|
-
//#endregion
|
|
11771
|
-
//#region src/components/Icon/icons/palette.d.ts
|
|
11772
11473
|
/** Settings and tools. Search terms: palett, palette, farger, colors, design, tema, theme. */
|
|
11773
11474
|
export declare function PaletteIcon(props: SvgProps): import("react").JSX.Element;
|
|
11774
|
-
//#endregion
|
|
11775
|
-
//#region src/components/Icon/icons/panelLeft.d.ts
|
|
11776
11475
|
/** UI manipulate. Search terms: panel venstre, panel left, sidebar, skjul, hide, vis, show, visning. */
|
|
11777
11476
|
export declare function PanelLeftIcon(props: SvgProps): import("react").JSX.Element;
|
|
11778
|
-
//#endregion
|
|
11779
|
-
//#region src/components/Icon/icons/paperPlane.d.ts
|
|
11780
11477
|
/** Communication. Search terms: papirfly, paper plane, melding, message, sende. */
|
|
11781
11478
|
export declare function PaperPlaneIcon(props: SvgProps): import("react").JSX.Element;
|
|
11782
|
-
//#endregion
|
|
11783
|
-
//#region src/components/Icon/icons/payout.d.ts
|
|
11784
11479
|
/** Services. Search terms: utbetaling, payout, betaling, payment, penger, money, hånd, hand. */
|
|
11785
11480
|
export declare function PayoutIcon(props: SvgProps): import("react").JSX.Element;
|
|
11786
|
-
//#endregion
|
|
11787
|
-
//#region src/components/Icon/icons/pdf.d.ts
|
|
11788
11481
|
/** Document and file. Search terms: pdf, dokument, document, fil, file. */
|
|
11789
11482
|
export declare function PdfIcon(props: SvgProps): import("react").JSX.Element;
|
|
11790
|
-
//#endregion
|
|
11791
|
-
//#region src/components/Icon/icons/person.d.ts
|
|
11792
11483
|
/** Access and people. Search terms: person, bruker, user, profil, profile, konto, account. */
|
|
11793
11484
|
export declare function PersonIcon(props: SvgProps): import("react").JSX.Element;
|
|
11794
|
-
//#endregion
|
|
11795
|
-
//#region src/components/Icon/icons/personAdd.d.ts
|
|
11796
11485
|
/** Access and people. Search terms: legg til person, add person, ny bruker, new user, inviter, invite, pluss. */
|
|
11797
11486
|
export declare function PersonAddIcon(props: SvgProps): import("react").JSX.Element;
|
|
11798
|
-
//#endregion
|
|
11799
|
-
//#region src/components/Icon/icons/personShielded.d.ts
|
|
11800
11487
|
/** Access and people. Search terms: skjermet person, shielded person, beskyttet, protected, person. */
|
|
11801
11488
|
export declare function PersonShieldedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11802
|
-
//#endregion
|
|
11803
|
-
//#region src/components/Icon/icons/pin.d.ts
|
|
11804
11489
|
/** Document and file. Search terms: pin, nål, fest, pin, marker. */
|
|
11805
11490
|
export declare function PinIcon(props: SvgProps): import("react").JSX.Element;
|
|
11806
|
-
//#endregion
|
|
11807
|
-
//#region src/components/Icon/icons/plus.d.ts
|
|
11808
11491
|
/** Zoom and add. Search terms: pluss, legg til, add, ny, new, opprett, create. */
|
|
11809
11492
|
export declare function PlusIcon(props: SvgProps): import("react").JSX.Element;
|
|
11810
|
-
//#endregion
|
|
11811
|
-
//#region src/components/Icon/icons/plusCircled.d.ts
|
|
11812
11493
|
/** Zoom and add. Search terms: pluss, sirkel, circle, legg til, add, ny, new. */
|
|
11813
11494
|
export declare function PlusCircledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11814
|
-
//#endregion
|
|
11815
|
-
//#region src/components/Icon/icons/powerOfAttorney.d.ts
|
|
11816
11495
|
/** Access and people. Search terms: fullmakt, power of attorney, representasjon, representation, dokument, hånd, document, hand. */
|
|
11817
11496
|
export declare function PowerOfAttorneyIcon(props: SvgProps): import("react").JSX.Element;
|
|
11818
|
-
//#endregion
|
|
11819
|
-
//#region src/components/Icon/icons/print.d.ts
|
|
11820
11497
|
/** Edit. Search terms: skriv ut, print, skriver, printer, dokument, document. */
|
|
11821
11498
|
export declare function PrintIcon(props: SvgProps): import("react").JSX.Element;
|
|
11822
|
-
//#endregion
|
|
11823
|
-
//#region src/components/Icon/icons/publish.d.ts
|
|
11824
11499
|
/** Document and file. Search terms: publiser, publish, del, share, pil, arrow. */
|
|
11825
11500
|
export declare function PublishIcon(props: SvgProps): import("react").JSX.Element;
|
|
11826
|
-
//#endregion
|
|
11827
|
-
//#region src/components/Icon/icons/questionAnswer.d.ts
|
|
11828
11501
|
/** Communication. Search terms: spørsmål og svar, question answer, chat, dialog, meldinger, messages, bubbles, bobler. */
|
|
11829
11502
|
export declare function QuestionAnswerIcon(props: SvgProps): import("react").JSX.Element;
|
|
11830
|
-
//#endregion
|
|
11831
|
-
//#region src/components/Icon/icons/receipt.d.ts
|
|
11832
11503
|
/** Services. Search terms: kvittering, receipt, betaling, payment, kostnad, cost, gebyr, fee. */
|
|
11833
11504
|
export declare function ReceiptIcon(props: SvgProps): import("react").JSX.Element;
|
|
11834
|
-
//#endregion
|
|
11835
|
-
//#region src/components/Icon/icons/redo.d.ts
|
|
11836
11505
|
/** Edit. Search terms: gjenta, redo, frem, forward, pil, arrow. */
|
|
11837
11506
|
export declare function RedoIcon(props: SvgProps): import("react").JSX.Element;
|
|
11838
|
-
//#endregion
|
|
11839
|
-
//#region src/components/Icon/icons/rows.d.ts
|
|
11840
11507
|
/** UI manipulate. Search terms: rader, rows, liste, list, tabell, table, linjer, lines. */
|
|
11841
11508
|
export declare function RowsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11842
|
-
//#endregion
|
|
11843
|
-
//#region src/components/Icon/icons/refresh.d.ts
|
|
11844
11509
|
/** Refresh and load. Search terms: oppdater, refresh, last på nytt, reload. */
|
|
11845
11510
|
export declare function RefreshIcon(props: SvgProps): import("react").JSX.Element;
|
|
11846
|
-
//#endregion
|
|
11847
|
-
//#region src/components/Icon/icons/replay.d.ts
|
|
11848
11511
|
/** Refresh and load. Search terms: spill av igjen, replay, gjenta, repeat, loop, start igjen, pil, arrow. */
|
|
11849
11512
|
export declare function ReplayIcon(props: SvgProps): import("react").JSX.Element;
|
|
11850
|
-
//#endregion
|
|
11851
|
-
//#region src/components/Icon/icons/scale.d.ts
|
|
11852
11513
|
/** Domain. Search terms: vekt, scale, justice, balanse, balance, lov, law, likhet, equality, rettferdighet, fairness. */
|
|
11853
11514
|
export declare function ScaleIcon(props: SvgProps): import("react").JSX.Element;
|
|
11854
|
-
//#endregion
|
|
11855
|
-
//#region src/components/Icon/icons/search.d.ts
|
|
11856
11515
|
/** Search and filter. Search terms: søk, search, finn, find, forstørrelsesglass, magnifying glass. */
|
|
11857
11516
|
export declare function SearchIcon(props: SvgProps): import("react").JSX.Element;
|
|
11858
|
-
//#endregion
|
|
11859
|
-
//#region src/components/Icon/icons/section.d.ts
|
|
11860
11517
|
/** Domain. Search terms: paragraf, section, §, lov, law, regel, rule. */
|
|
11861
11518
|
export declare function SectionIcon(props: SvgProps): import("react").JSX.Element;
|
|
11862
|
-
//#endregion
|
|
11863
|
-
//#region src/components/Icon/icons/settings.d.ts
|
|
11864
11519
|
/** Settings and tools. Search terms: innstillinger, settings, tannhjul, gear, konfigurere, configure. */
|
|
11865
11520
|
export declare function SettingsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11866
|
-
//#endregion
|
|
11867
|
-
//#region src/components/Icon/icons/sms.d.ts
|
|
11868
11521
|
/** Communication. Search terms: sms, tekstmelding, text message, prikker, dots, melding, message. */
|
|
11869
11522
|
export declare function SmsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11870
|
-
//#endregion
|
|
11871
|
-
//#region src/components/Icon/icons/star.d.ts
|
|
11872
11523
|
/** Settings and tools. Search terms: stjerne, star, favoritt, favorite, vurdering, rating, bokmerke, markere. */
|
|
11873
11524
|
export declare function StarIcon(props: SvgProps): import("react").JSX.Element;
|
|
11874
|
-
//#endregion
|
|
11875
|
-
//#region src/components/Icon/icons/starFilled.d.ts
|
|
11876
11525
|
/** Settings and tools. Search terms: stjerne, star, fylt, filled, favoritt, favorite, vurdering, rating, markere, bokmerke. */
|
|
11877
11526
|
export declare function StarFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11878
|
-
//#endregion
|
|
11879
|
-
//#region src/components/Icon/icons/starHalfFilled.d.ts
|
|
11880
11527
|
/** Settings and tools. Search terms: halvfylt stjerne, half star, favoritt, favorite, vurdering, rating. */
|
|
11881
11528
|
export declare function StarHalfFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11882
|
-
//#endregion
|
|
11883
|
-
//#region src/components/Icon/icons/stickyNote.d.ts
|
|
11884
11529
|
/** Document and file. Search terms: lapp, sticky note, notat, note, post-it, påminnelse, reminder. */
|
|
11885
11530
|
export declare function StickyNoteIcon(props: SvgProps): import("react").JSX.Element;
|
|
11886
|
-
//#endregion
|
|
11887
|
-
//#region src/components/Icon/icons/support.d.ts
|
|
11888
11531
|
/** Services. Search terms: support, hjelp, help, kundeservice, customer service, headset. */
|
|
11889
11532
|
export declare function SupportIcon(props: SvgProps): import("react").JSX.Element;
|
|
11890
|
-
//#endregion
|
|
11891
|
-
//#region src/components/Icon/icons/sun.d.ts
|
|
11892
11533
|
/** UI manipulate. Search terms: sol, sun, lys, light, modus, mode, dag, day. */
|
|
11893
11534
|
export declare function SunIcon(props: SvgProps): import("react").JSX.Element;
|
|
11894
|
-
//#endregion
|
|
11895
|
-
//#region src/components/Icon/icons/sunHalfFilled.d.ts
|
|
11896
11535
|
/** UI manipulate. Search terms: sol, sun, lys, light, dark, mørk, modus, mode, dag, day, night, natt, halv, half, bytte, switch. */
|
|
11897
11536
|
export declare function SunHalfFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11898
|
-
//#endregion
|
|
11899
|
-
//#region src/components/Icon/icons/sync.d.ts
|
|
11900
11537
|
/** Refresh and load. Search terms: synkroniser, sync, oppdater, update, last inn, load. */
|
|
11901
11538
|
export declare function SyncIcon(props: SvgProps): import("react").JSX.Element;
|
|
11902
|
-
//#endregion
|
|
11903
|
-
//#region src/components/Icon/icons/thumbdown.d.ts
|
|
11904
11539
|
/** Settings and tools. Search terms: tommel ned, thumb down, negative, dårlig, bad. */
|
|
11905
11540
|
export declare function ThumbDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11906
|
-
//#endregion
|
|
11907
|
-
//#region src/components/Icon/icons/thumbdownFilled.d.ts
|
|
11908
11541
|
/** Settings and tools. Search terms: tommel ned, thumb down, fylt, filled, negative, dårlig, bad. */
|
|
11909
11542
|
export declare function ThumbDownFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11910
|
-
//#endregion
|
|
11911
|
-
//#region src/components/Icon/icons/thumbup.d.ts
|
|
11912
11543
|
/** Settings and tools. Search terms: tommel opp, thumb up, positive, bra, good. */
|
|
11913
11544
|
export declare function ThumbUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11914
|
-
//#endregion
|
|
11915
|
-
//#region src/components/Icon/icons/thumbupFilled.d.ts
|
|
11916
11545
|
/** Settings and tools. Search terms: tommel opp, thumb up, fylt, filled, positive, bra, good. */
|
|
11917
11546
|
export declare function ThumbUpFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11918
|
-
//#endregion
|
|
11919
|
-
//#region src/components/Icon/icons/time.d.ts
|
|
11920
11547
|
/** Date, time and place. Search terms: tid, time, klokke, clock, timer. */
|
|
11921
11548
|
export declare function TimeIcon(props: SvgProps): import("react").JSX.Element;
|
|
11922
|
-
//#endregion
|
|
11923
|
-
//#region src/components/Icon/icons/tingrett.d.ts
|
|
11924
11549
|
/** Brand. Search terms: tingrett, domstol, court, rett. */
|
|
11925
11550
|
export declare function TingrettIcon(props: SvgProps): import("react").JSX.Element;
|
|
11926
|
-
//#endregion
|
|
11927
|
-
//#region src/components/Icon/icons/tip.d.ts
|
|
11928
11551
|
/** Notifications. Search terms: tips, tip, hint, anbefaling, recommendation, lyspære, bulb. */
|
|
11929
11552
|
export declare function TipIcon(props: SvgProps): import("react").JSX.Element;
|
|
11930
|
-
//#endregion
|
|
11931
|
-
//#region src/components/Icon/icons/trash.d.ts
|
|
11932
11553
|
/** Edit. Search terms: søppel, trash, slett, delete, fjern, remove, papirkurv, bin. */
|
|
11933
11554
|
export declare function TrashIcon(props: SvgProps): import("react").JSX.Element;
|
|
11934
|
-
//#endregion
|
|
11935
|
-
//#region src/components/Icon/icons/undo.d.ts
|
|
11936
11555
|
/** Edit. Search terms: angre, undo, tilbake, back, reversere, reverse, pil, arrow. */
|
|
11937
11556
|
export declare function UndoIcon(props: SvgProps): import("react").JSX.Element;
|
|
11938
|
-
//#endregion
|
|
11939
|
-
//#region src/components/Icon/icons/unfoldLess.d.ts
|
|
11940
11557
|
/** Arrows and chevron. Search terms: fold inn, unfold less, kollaps, collapse, skjul, hide, kompakt, chevron. */
|
|
11941
11558
|
export declare function UnfoldLessIcon(props: SvgProps): import("react").JSX.Element;
|
|
11942
|
-
//#endregion
|
|
11943
|
-
//#region src/components/Icon/icons/unfoldMore.d.ts
|
|
11944
11559
|
/** Arrows and chevron. Search terms: fold ut, unfold more, utvid, expand, vis mer, show more, chevron. */
|
|
11945
11560
|
export declare function UnfoldMoreIcon(props: SvgProps): import("react").JSX.Element;
|
|
11946
|
-
//#endregion
|
|
11947
|
-
//#region src/components/Icon/icons/upload.d.ts
|
|
11948
11561
|
/** Document and file. Search terms: last opp, upload, del, share, fil, file, pil, arrow. */
|
|
11949
11562
|
export declare function UploadIcon(props: SvgProps): import("react").JSX.Element;
|
|
11950
|
-
//#endregion
|
|
11951
|
-
//#region src/components/Icon/icons/visibilityOff.d.ts
|
|
11952
11563
|
/** Access and people. Search terms: skjul, hide, synlighet, visibility, øye, eye, usynlig, invisible. */
|
|
11953
11564
|
export declare function VisibilityOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
11954
|
-
//#endregion
|
|
11955
|
-
//#region src/components/Icon/icons/visibilityOn.d.ts
|
|
11956
11565
|
/** Access and people. Search terms: vis, show, synlighet, visibility, øye, eye, synlig, visible. */
|
|
11957
11566
|
export declare function VisibilityOnIcon(props: SvgProps): import("react").JSX.Element;
|
|
11958
|
-
//#endregion
|
|
11959
|
-
//#region src/components/Icon/icons/warning.d.ts
|
|
11960
11567
|
/** Notifications. Search terms: advarsel, warning, obs, alert, forsiktig, caution. */
|
|
11961
11568
|
export declare function WarningIcon(props: SvgProps): import("react").JSX.Element;
|
|
11962
|
-
//#endregion
|
|
11963
|
-
//#region src/components/Icon/icons/webex.d.ts
|
|
11964
11569
|
/** Social. Search terms: webex, video, møte, meeting, videomøte. */
|
|
11965
11570
|
export declare function WebexIcon(props: SvgProps): import("react").JSX.Element;
|
|
11966
|
-
//#endregion
|
|
11967
|
-
//#region src/components/Icon/icons/x.d.ts
|
|
11968
11571
|
/** Social. Search terms: x, twitter, sosiale medier, social media. */
|
|
11969
11572
|
export declare function XIcon(props: SvgProps): import("react").JSX.Element;
|
|
11970
|
-
//#endregion
|
|
11971
|
-
//#region src/components/Icon/icons/zoomIn.d.ts
|
|
11972
11573
|
/** Zoom and add. Search terms: zoom inn, zoom in, forstørr, enlarge, forstørrelsesglass, magnify. */
|
|
11973
11574
|
export declare function ZoomInIcon(props: SvgProps): import("react").JSX.Element;
|
|
11974
|
-
//#endregion
|
|
11975
|
-
//#region src/components/Icon/icons/zoomOut.d.ts
|
|
11976
11575
|
/** Zoom and add. Search terms: zoom ut, zoom out, forminsk, shrink, forstørrelsesglass, magnify. */
|
|
11977
11576
|
export declare function ZoomOutIcon(props: SvgProps): import("react").JSX.Element;
|
|
11978
|
-
//#endregion
|
|
11979
|
-
//#region src/components/Icon/icons/barChart.d.ts
|
|
11980
11577
|
/** Analytics. Search terms: søylediagram, bar chart, statistikk, statistics, diagram, chart. */
|
|
11981
11578
|
export declare function BarChartIcon(props: SvgProps): import("react").JSX.Element;
|
|
11982
|
-
//#endregion
|
|
11983
|
-
//#region src/components/Icon/icons/barChartBoxed.d.ts
|
|
11984
11579
|
/** Analytics. Search terms: søylediagram, bar chart, statistikk, statistics, diagram, boxed, boks. */
|
|
11985
11580
|
export declare function BarChartBoxedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11986
|
-
//#endregion
|
|
11987
|
-
//#region src/components/Icon/icons/lineChart.d.ts
|
|
11988
11581
|
/** Analytics. Search terms: linjediagram, line chart, statistikk, statistics, diagram, chart, trend. */
|
|
11989
11582
|
export declare function LineChartIcon(props: SvgProps): import("react").JSX.Element;
|
|
11990
|
-
//#endregion
|
|
11991
|
-
//#region src/components/Icon/icons/trendingUp.d.ts
|
|
11992
11583
|
/** Analytics. Search terms: stigende trend, trending up, økning, increase, statistikk, statistics. */
|
|
11993
11584
|
export declare function TrendingUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11994
|
-
//#endregion
|
|
11995
|
-
//#region src/components/Icon/icons/trendingDown.d.ts
|
|
11996
11585
|
/** Analytics. Search terms: synkende trend, trending down, nedgang, decrease, statistikk, statistics. */
|
|
11997
11586
|
export declare function TrendingDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11998
|
-
//#endregion
|
|
11999
|
-
//#region src/components/Icon/icons/helpSimple.d.ts
|
|
12000
11587
|
/** Notifications. Search terms: hjelp, help, enkel, simple, spørsmål, question, veiledning, guide. */
|
|
12001
11588
|
export declare function HelpSimpleIcon(props: SvgProps): import("react").JSX.Element;
|
|
12002
|
-
//#endregion
|
|
12003
|
-
//#region src/components/Icon/icons/animated/AnimatedChevronUpDown/AnimatedChevronUpDown.d.ts
|
|
12004
11589
|
declare const STATES: readonly ["up", "down"];
|
|
12005
11590
|
export type AnimatedChevronUpDownIconStates = (typeof STATES)[number];
|
|
12006
11591
|
/** Arrows and chevron. Search terms: animert, animated, chevron, pil, arrow, opp, ned, up, down. */
|
|
@@ -12010,35 +11595,21 @@ export declare function AnimatedChevronUpDownIcon(props: SvgProps & {
|
|
|
12010
11595
|
export declare namespace AnimatedChevronUpDownIcon {
|
|
12011
11596
|
var states: readonly ["up", "down"];
|
|
12012
11597
|
}
|
|
12013
|
-
//#endregion
|
|
12014
|
-
//#region src/components/Icon/icons/flag.d.ts
|
|
12015
11598
|
/** Notifications. Search terms: flagg, marker, mark, rapporter, report. */
|
|
12016
11599
|
export declare function FlagIcon(props: SvgProps): import("react").JSX.Element;
|
|
12017
|
-
//#endregion
|
|
12018
|
-
//#region src/components/Icon/icons/flagFilled.d.ts
|
|
12019
11600
|
/** Notifications. Search terms: flagg, fylt, filled, markere, rapporter, report. */
|
|
12020
11601
|
export declare function FlagFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
12021
|
-
//#endregion
|
|
12022
|
-
//#region src/components/Icon/icons/locationOff.d.ts
|
|
12023
11602
|
/** Date, time and place. Search terms: plassering av, posisjon, location off, kart, map, sted, place, gps. */
|
|
12024
11603
|
export declare function LocationOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
12025
|
-
//#endregion
|
|
12026
|
-
//#region src/components/Icon/icons/map.d.ts
|
|
12027
11604
|
/** Date, time and place. Search terms: kart, map, lokasjon, location, navigasjon, navigation. */
|
|
12028
11605
|
export declare function MapIcon(props: SvgProps): import("react").JSX.Element;
|
|
12029
|
-
//#endregion
|
|
12030
|
-
//#region src/components/Icon/icons/moon.d.ts
|
|
12031
11606
|
/** UI manipulate. Search terms: måne, moon, mørk, dark, natt, night, modus, mode. */
|
|
12032
11607
|
export declare function MoonIcon(props: SvgProps): import("react").JSX.Element;
|
|
12033
|
-
//#endregion
|
|
12034
|
-
//#region src/components/Icon/icons/notebookPen.d.ts
|
|
12035
11608
|
/** Document and file. Search terms: notatbok, notebook, penn, skrive, write, redigere, edit. */
|
|
12036
11609
|
export declare function NotebookPenIcon(props: SvgProps): import("react").JSX.Element;
|
|
12037
11610
|
declare namespace index_d_exports {
|
|
12038
11611
|
export { AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowDownUpIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AttachmentIcon, BarChartBoxedIcon, BarChartIcon, BlockIcon, BookIcon, BriefcaseIcon, BuildIcon, BuildingIcon, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CommentIcon, CopyIcon, CourtIcon, DateRangeIcon, DeathsIcon, DesktopIcon, DesktopMobileIcon, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, EditAltIcon, EditIcon, ErrorIcon, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FeedbackIcon, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GroupIcon, GuardianIcon, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HomeIcon, HourglassEmptyIcon, ImageIcon, InfoIcon, InstagramIcon, JordskifterettIcon, JordskiftesakIcon, KeyIcon, LagmannsrettIcon, LanguageIcon, LineChartIcon, LinkIcon, LinkOffIcon, LinkedInIcon, ListAltIcon, ListIcon, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, PaletteIcon, PanelLeftIcon, PaperPlaneIcon, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PinIcon, PlusCircledIcon, PlusIcon, PowerOfAttorneyIcon, PrintIcon, PublishIcon, QuestionAnswerIcon, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, SearchIcon, SectionIcon, SettingsIcon, SmsIcon, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, SunHalfFilledIcon, SunIcon, SupportIcon, SyncIcon, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TingrettIcon, TipIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VisibilityOffIcon, VisibilityOnIcon, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon };
|
|
12039
11612
|
}
|
|
12040
|
-
//#endregion
|
|
12041
|
-
//#region src/hooks/useCallbackRef/useCallbackRef.d.ts
|
|
12042
11613
|
/**
|
|
12043
11614
|
* Hook som returnerer en callback-funksjon som refererer til den nyeste versjonen av den opprinnelige funksjonen.
|
|
12044
11615
|
* Nyttig når du trenger en stabil referanse (f.eks. i event listeners), men fortsatt ønsker at den skal bruke den nyeste logikken.
|
|
@@ -12067,8 +11638,6 @@ declare namespace index_d_exports {
|
|
|
12067
11638
|
|
|
12068
11639
|
*/
|
|
12069
11640
|
export declare function useCallbackRef<T extends (...args: Array<never>) => unknown>(callback: T | undefined, deps?: DependencyList): T;
|
|
12070
|
-
//#endregion
|
|
12071
|
-
//#region src/hooks/useCombinedRef/useCombinedRef.d.ts
|
|
12072
11641
|
/**
|
|
12073
11642
|
* Kombinerer refs for et element.
|
|
12074
11643
|
*
|
|
@@ -12087,8 +11656,6 @@ export declare function useCallbackRef<T extends (...args: Array<never>) => unkn
|
|
|
12087
11656
|
* ```
|
|
12088
11657
|
*/
|
|
12089
11658
|
export declare function useCombinedRef<T>(...refs: Array<Ref<T> | undefined>): RefCallback<T>;
|
|
12090
|
-
//#endregion
|
|
12091
|
-
//#region src/hooks/useControllableState/useControllableState.d.ts
|
|
12092
11659
|
export interface UseControllableStateProps<T> {
|
|
12093
11660
|
/**Verdi. */
|
|
12094
11661
|
value?: T;
|
|
@@ -12141,8 +11708,6 @@ export declare function useControllableGroupState<T>(props: UseControllableGroup
|
|
|
12141
11708
|
groupValue: T | undefined;
|
|
12142
11709
|
handleChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
12143
11710
|
};
|
|
12144
|
-
//#endregion
|
|
12145
|
-
//#region src/hooks/useFloatPosition/useFloatPosition.d.ts
|
|
12146
11711
|
export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
12147
11712
|
export interface UseFloatPositionOptions {
|
|
12148
11713
|
/**
|
|
@@ -12230,8 +11795,6 @@ interface UseFloatPosition {
|
|
|
12230
11795
|
* ```
|
|
12231
11796
|
*/
|
|
12232
11797
|
export declare const useFloatPosition: (arrowRef?: HTMLElement | null, options?: UseFloatPositionOptions) => UseFloatPosition;
|
|
12233
|
-
//#endregion
|
|
12234
|
-
//#region src/hooks/useFocusTrap/useFocusTrap.d.ts
|
|
12235
11798
|
/**
|
|
12236
11799
|
* Fanger fokus i en loop inni et element.
|
|
12237
11800
|
* @template {HTMLElement} T typen til container-elementet som fanger fokus.
|
|
@@ -12251,8 +11814,6 @@ export declare const useFloatPosition: (arrowRef?: HTMLElement | null, options?:
|
|
|
12251
11814
|
* ```
|
|
12252
11815
|
*/
|
|
12253
11816
|
export declare function useFocusTrap<T extends HTMLElement>(active: boolean, initialFocusRef?: RefObject<HTMLElement | null> | undefined): RefObject<T | null>;
|
|
12254
|
-
//#endregion
|
|
12255
|
-
//#region src/hooks/useIsMounted/useIsMounted.d.ts
|
|
12256
11817
|
/**
|
|
12257
11818
|
* Sjekker om komponenten er mounted i DOM.
|
|
12258
11819
|
*
|
|
@@ -12274,8 +11835,6 @@ export declare function useFocusTrap<T extends HTMLElement>(active: boolean, ini
|
|
|
12274
11835
|
*
|
|
12275
11836
|
*/
|
|
12276
11837
|
export declare const useIsMounted: () => (() => boolean);
|
|
12277
|
-
//#endregion
|
|
12278
|
-
//#region src/hooks/useMountTransition/useMountTransition.d.ts
|
|
12279
11838
|
/**
|
|
12280
11839
|
* Tillater effekter og animasjoner å bli gjennomført like etter et element blir lagt til eller like før det blir fjernet fra DOM.
|
|
12281
11840
|
* @param {boolean} isMounted om elementet er mounted.
|
|
@@ -12310,8 +11869,6 @@ export declare const useIsMounted: () => (() => boolean);
|
|
|
12310
11869
|
* ```
|
|
12311
11870
|
*/
|
|
12312
11871
|
export declare const useMountTransition: (isMounted: boolean, unmountDelay: number) => boolean;
|
|
12313
|
-
//#endregion
|
|
12314
|
-
//#region src/hooks/useOnClickOutside/useOnClickOutside.d.ts
|
|
12315
11872
|
/**
|
|
12316
11873
|
* Kjører logikk når brukeren klikker utenfor espesifisert(e) element(er).
|
|
12317
11874
|
* @param {HTMLElement | null | undefined | Array<HTMLElement | null | undefined>} element HTML element(er) som overvåkes for klikk utenfor.
|
|
@@ -12329,8 +11886,6 @@ export declare const useMountTransition: (isMounted: boolean, unmountDelay: numb
|
|
|
12329
11886
|
* ```
|
|
12330
11887
|
*/
|
|
12331
11888
|
export declare function useOnClickOutside(element: RefObject<HTMLElement | null> | Array<RefObject<HTMLElement | null> | undefined> | undefined, handler: (event: MouseEvent | TouchEvent) => void): void;
|
|
12332
|
-
//#endregion
|
|
12333
|
-
//#region src/hooks/useOnKeyDown/useOnKeyDown.d.ts
|
|
12334
11889
|
/**
|
|
12335
11890
|
* Kjører logikk når spesifisert(e) tast(er) blir trykt ned.
|
|
12336
11891
|
* @param {string} key tasten som trykkes.
|
|
@@ -12347,8 +11902,6 @@ export declare function useOnClickOutside(element: RefObject<HTMLElement | null>
|
|
|
12347
11902
|
* ```
|
|
12348
11903
|
*/
|
|
12349
11904
|
export declare const useOnKeyDown: (key: string | Array<string>, handler: (event: KeyboardEvent) => void) => void;
|
|
12350
|
-
//#endregion
|
|
12351
|
-
//#region src/hooks/useReturnFocusOnBlur/useReturnFocusOnBlur.d.ts
|
|
12352
11905
|
/**
|
|
12353
11906
|
* Returnerer fokus til et element når første eller siste barn i en container mister fokus ved tastaturnavigasjon.
|
|
12354
11907
|
* @template {HTMLElement} T typen til container som skal returnere fous.
|
|
@@ -12388,8 +11941,6 @@ export declare const useOnKeyDown: (key: string | Array<string>, handler: (event
|
|
|
12388
11941
|
* ```
|
|
12389
11942
|
*/
|
|
12390
11943
|
export declare function useReturnFocusOnBlur<T extends HTMLElement>(active: boolean, onBlur: () => void, triggerElement?: HTMLElement | null): RefObject<T | null>;
|
|
12391
|
-
//#endregion
|
|
12392
|
-
//#region src/hooks/useRoveFocus/useRoveFocus.d.ts
|
|
12393
11944
|
export declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is KeyboardEvent$1<Element>;
|
|
12394
11945
|
/**
|
|
12395
11946
|
* Bytter fokus mellom elementer i en gruppe med piltaster og ikke `Tab`, samt looper fokus i gruppen.
|
|
@@ -12418,8 +11969,6 @@ export declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e
|
|
|
12418
11969
|
* ```
|
|
12419
11970
|
*/
|
|
12420
11971
|
export declare function useRoveFocus(size?: number, active?: boolean, direction?: Direction, noWrap?: boolean): [number, Dispatch<SetStateAction<number>>];
|
|
12421
|
-
//#endregion
|
|
12422
|
-
//#region src/hooks/useScreenSize/useScreenSize.d.ts
|
|
12423
11972
|
export declare enum ScreenSize {
|
|
12424
11973
|
XSmall = 0,
|
|
12425
11974
|
Small = 1,
|
|
@@ -12441,8 +11990,6 @@ export declare enum ScreenSize {
|
|
|
12441
11990
|
* ```
|
|
12442
11991
|
*/
|
|
12443
11992
|
export declare const useScreenSize: () => ScreenSize;
|
|
12444
|
-
//#endregion
|
|
12445
|
-
//#region src/hooks/useWindowResize/useWindowResize.d.ts
|
|
12446
11993
|
/**
|
|
12447
11994
|
* Kjører logikk når vindusstørrelsen endrer seg.
|
|
12448
11995
|
* @param {() => void} handler funksjonen som skal kjøres.
|
|
@@ -12458,8 +12005,6 @@ export declare const useScreenSize: () => ScreenSize;
|
|
|
12458
12005
|
* ```
|
|
12459
12006
|
*/
|
|
12460
12007
|
export declare const useWindowResize: (handler: () => void) => void;
|
|
12461
|
-
//#endregion
|
|
12462
|
-
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
12463
12008
|
type DdsTheme = keyof typeof ddsTokens;
|
|
12464
12009
|
interface ThemeProviderProps {
|
|
12465
12010
|
/**
|
|
@@ -15493,42 +15038,26 @@ export declare function useTheme(): {
|
|
|
15493
15038
|
};
|
|
15494
15039
|
themeName: "core-dark" | "core-light" | "public-dark" | "public-light" | "supreme-dark" | "supreme-light";
|
|
15495
15040
|
};
|
|
15496
|
-
//#endregion
|
|
15497
|
-
//#region src/i18n/translation.types.d.ts
|
|
15498
15041
|
type Language = 'nb' | 'nn' | 'no' | 'en' | 'se';
|
|
15499
|
-
//#endregion
|
|
15500
|
-
//#region src/i18n/LanguageProvider.d.ts
|
|
15501
15042
|
interface LanguageProviderProps {
|
|
15502
15043
|
language: Language;
|
|
15503
15044
|
children?: ReactNode;
|
|
15504
15045
|
}
|
|
15505
|
-
//#endregion
|
|
15506
|
-
//#region src/DdsProvider/DdsProvider.d.ts
|
|
15507
15046
|
export type DdsProviderProps = LanguageProviderProps & ThemeProviderProps;
|
|
15508
15047
|
export declare function DdsProvider({ language, theme, children }: DdsProviderProps): import("react").JSX.Element;
|
|
15509
|
-
//#endregion
|
|
15510
|
-
//#region src/polymorphic/polymorphic.types.d.ts
|
|
15511
15048
|
type PropsOfWithRef<T extends ElementType> = ComponentPropsWithRef<T> & {
|
|
15512
15049
|
/** HTML- eller React-element som returneres. */
|
|
15513
15050
|
as?: T;
|
|
15514
15051
|
} & Omit<React.ComponentPropsWithRef<T>, 'as'>;
|
|
15515
|
-
//#endregion
|
|
15516
|
-
//#region src/polymorphic/ElementAs.d.ts
|
|
15517
15052
|
export type PolymorphicProps<T extends ElementType> = PropsOfWithRef<T>;
|
|
15518
15053
|
export declare const ElementAs: <T extends ElementType>({ as, ref, children, ...props }: PolymorphicProps<T>) => import("react").JSX.Element;
|
|
15519
|
-
//#endregion
|
|
15520
|
-
//#region src/components/Accordion/Accordion.d.ts
|
|
15521
15054
|
export type AccordionProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
15522
15055
|
export declare const Accordion: {
|
|
15523
15056
|
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: AccordionProps): import("react").JSX.Element;
|
|
15524
15057
|
displayName: string;
|
|
15525
15058
|
};
|
|
15526
|
-
//#endregion
|
|
15527
|
-
//#region src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.d.ts
|
|
15528
15059
|
export declare function TextOverflowEllipsisWrapper({ className, ...rest }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
15529
15060
|
export declare function TextOverflowEllipsisInner({ className, ...rest }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
15530
|
-
//#endregion
|
|
15531
|
-
//#region src/components/Typography/Typography/Typography.types.d.ts
|
|
15532
15061
|
export declare const TG_BODY_SHORT_TYPES: readonly ["body-short-xsmall", "body-short-small", "body-short-medium", "body-short-large"];
|
|
15533
15062
|
export declare const TG_BODY_LONG_TYPES: readonly ["body-long-xsmall", "body-long-small", "body-long-medium", "body-long-large"];
|
|
15534
15063
|
export declare const TG_BODY_TYPES: readonly ["body-short-xsmall", "body-short-small", "body-short-medium", "body-short-large", "body-long-xsmall", "body-long-small", "body-long-medium", "body-long-large"];
|
|
@@ -15571,8 +15100,6 @@ export type TypographyComponentProps = CommonBlockTypographyProps & {
|
|
|
15571
15100
|
/**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
|
|
15572
15101
|
as?: ElementType;
|
|
15573
15102
|
};
|
|
15574
|
-
//#endregion
|
|
15575
|
-
//#region src/components/Typography/Typography/Typography.d.ts
|
|
15576
15103
|
type AnchorTypographyProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
15577
15104
|
/**nativ `href`-prop ved `typographyType='a'`. */
|
|
15578
15105
|
href?: string | undefined;
|
|
@@ -15595,8 +15122,6 @@ export declare const Typography: {
|
|
|
15595
15122
|
(props: TypographyProps): import("react").JSX.Element;
|
|
15596
15123
|
displayName: string;
|
|
15597
15124
|
};
|
|
15598
|
-
//#endregion
|
|
15599
|
-
//#region src/components/Typography/Typography/Typography.utils.d.ts
|
|
15600
15125
|
export declare const getElementType: (element: TypographyType) => ElementType;
|
|
15601
15126
|
export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
15602
15127
|
export declare const isLegend: (as: ElementType) => boolean;
|
|
@@ -15604,8 +15129,6 @@ export declare const isCaption: (as: ElementType) => boolean;
|
|
|
15604
15129
|
export declare const inlineElements: Array<ElementType>;
|
|
15605
15130
|
export declare const isInlineElement: (as: ElementType) => as is InlineElement;
|
|
15606
15131
|
export declare const getColorCn: (color?: TextColor) => string | null;
|
|
15607
|
-
//#endregion
|
|
15608
|
-
//#region src/components/Typography/Caption/Caption.d.ts
|
|
15609
15132
|
export type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, {
|
|
15610
15133
|
/**Typografistil basert på utvalget for HTML heading elementer.
|
|
15611
15134
|
* @default 'heading-large'
|
|
@@ -15616,8 +15139,6 @@ export declare const Caption: {
|
|
|
15616
15139
|
({ typographyType, id, className, style, htmlProps, children, ...rest }: CaptionProps): import("react").JSX.Element;
|
|
15617
15140
|
displayName: string;
|
|
15618
15141
|
};
|
|
15619
|
-
//#endregion
|
|
15620
|
-
//#region src/components/Typography/Heading/Heading.d.ts
|
|
15621
15142
|
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
15622
15143
|
export type HeadingProps = BaseComponentPropsWithChildren<HTMLHeadingElement, {
|
|
15623
15144
|
/**Nivå på overskriften. Komponenten returnerer HTML heading element med dette nivået med default styling. */
|
|
@@ -15631,8 +15152,6 @@ export declare const Heading: {
|
|
|
15631
15152
|
({ id, className, style, htmlProps, children, typographyType, level, withMargins, withMarginsOverInput, ...rest }: HeadingProps): import("react").JSX.Element;
|
|
15632
15153
|
displayName: string;
|
|
15633
15154
|
};
|
|
15634
|
-
//#endregion
|
|
15635
|
-
//#region src/components/Typography/Label/Label.d.ts
|
|
15636
15155
|
type PickedHTMLAttributes$2 = Pick<LabelHTMLAttributes<HTMLLabelElement>, 'htmlFor'>;
|
|
15637
15156
|
export interface BaseLabelProps {
|
|
15638
15157
|
/** Om input knyttet til ledeteksten er påkrevd; påvirker styling. */
|
|
@@ -15647,8 +15166,6 @@ export declare const Label: {
|
|
|
15647
15166
|
({ showRequiredStyling, readOnly, id, className, style, htmlProps, children, afterLabelContent, ...rest }: LabelProps): import("react").JSX.Element;
|
|
15648
15167
|
displayName: string;
|
|
15649
15168
|
};
|
|
15650
|
-
//#endregion
|
|
15651
|
-
//#region src/components/Typography/Legend/Legend.d.ts
|
|
15652
15169
|
export type LegendProps = BaseComponentPropsWithChildren<HTMLLegendElement, CommonBlockTypographyProps & {
|
|
15653
15170
|
/**Typografistil basert på utvalget for HTML heading elementer. */
|
|
15654
15171
|
typographyType?: TypographyHeadingType;
|
|
@@ -15659,8 +15176,6 @@ export declare const Legend: {
|
|
|
15659
15176
|
({ id, className, style, htmlProps, typographyType, withMarginsOverInput, withMargins, ...rest }: LegendProps): import("react").JSX.Element;
|
|
15660
15177
|
displayName: string;
|
|
15661
15178
|
};
|
|
15662
|
-
//#endregion
|
|
15663
|
-
//#region src/components/Typography/Link/Link.d.ts
|
|
15664
15179
|
type PickedHTMLAttributes$1 = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href' | 'target'>;
|
|
15665
15180
|
export type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
15666
15181
|
/**Om lenken kan få `:visited`-styling. */
|
|
@@ -15681,8 +15196,6 @@ export declare const Link: {
|
|
|
15681
15196
|
<T extends ElementType = "a">({ id, className, htmlProps, children, typographyType, withMargins, withVisited, style, color, as: propAs, isAnchor: propIsAnchor, withIconStyling, ...rest }: LinkProps<T>): import("react").JSX.Element;
|
|
15682
15197
|
displayName: string;
|
|
15683
15198
|
};
|
|
15684
|
-
//#endregion
|
|
15685
|
-
//#region src/components/Typography/Paragraph/Paragraph.d.ts
|
|
15686
15199
|
declare const TG_PARAGRAPH_TYPES: readonly ["body-short-xsmall", "body-short-small", "body-short-medium", "body-short-large", "body-long-xsmall", "body-long-small", "body-long-medium", "body-long-large", "lead-medium"];
|
|
15687
15200
|
type TypographyParagraphType = (typeof TG_PARAGRAPH_TYPES)[number];
|
|
15688
15201
|
type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
@@ -15695,8 +15208,6 @@ export declare const Paragraph: {
|
|
|
15695
15208
|
({ id, className, style, htmlProps, children, typographyType, ...rest }: ParagraphProps): import("react").JSX.Element;
|
|
15696
15209
|
displayName: string;
|
|
15697
15210
|
};
|
|
15698
|
-
//#endregion
|
|
15699
|
-
//#region src/components/Accordion/AccordionHeader.d.ts
|
|
15700
15211
|
export type AccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
15701
15212
|
/**Overskriver default teksttype.
|
|
15702
15213
|
* @default 'heading-medium'
|
|
@@ -15709,15 +15220,11 @@ export declare const AccordionHeader: {
|
|
|
15709
15220
|
({ children, className, style, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): import("react").JSX.Element;
|
|
15710
15221
|
displayName: string;
|
|
15711
15222
|
};
|
|
15712
|
-
//#endregion
|
|
15713
|
-
//#region src/components/Accordion/AccordionBody.d.ts
|
|
15714
15223
|
export type AccordionBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement>, 'id'>;
|
|
15715
15224
|
export declare const AccordionBody: {
|
|
15716
15225
|
({ children, className, style, htmlProps, ...rest }: AccordionBodyProps): import("react").JSX.Element;
|
|
15717
15226
|
displayName: string;
|
|
15718
15227
|
};
|
|
15719
|
-
//#endregion
|
|
15720
|
-
//#region src/components/BackLink/BackLink.d.ts
|
|
15721
15228
|
export type BackLinkProps = {
|
|
15722
15229
|
/**
|
|
15723
15230
|
* Ledetekst.
|
|
@@ -15732,16 +15239,12 @@ export declare const BackLink: {
|
|
|
15732
15239
|
({ label, ref, as, ...rest }: BackLinkProps): import("react").JSX.Element;
|
|
15733
15240
|
displayName: string;
|
|
15734
15241
|
};
|
|
15735
|
-
//#endregion
|
|
15736
|
-
//#region src/components/Breadcrumbs/Breadcrumb.d.ts
|
|
15737
15242
|
export type BreadcrumbProps = ComponentPropsWithRef<'a'> | ComponentPropsWithRef<'span'>;
|
|
15738
15243
|
export declare const isAnchorTypographyProps: (props: BreadcrumbProps) => props is ComponentPropsWithRef<"a">;
|
|
15739
15244
|
export declare const Breadcrumb: {
|
|
15740
15245
|
({ children, ref, ...rest }: BreadcrumbProps): import("react").JSX.Element;
|
|
15741
15246
|
displayName: string;
|
|
15742
15247
|
};
|
|
15743
|
-
//#endregion
|
|
15744
|
-
//#region src/components/Breadcrumbs/Breadcrumbs.d.ts
|
|
15745
15248
|
export type BreadcrumbsProps = BaseComponentProps<HTMLElement, {
|
|
15746
15249
|
/**
|
|
15747
15250
|
* Brekkpunkt for små skjermer.
|
|
@@ -15755,8 +15258,6 @@ export declare const Breadcrumbs: {
|
|
|
15755
15258
|
({ children, smallScreenBreakpoint, id, className, style, htmlProps, ...rest }: BreadcrumbsProps): import("react").JSX.Element;
|
|
15756
15259
|
displayName: string;
|
|
15757
15260
|
};
|
|
15758
|
-
//#endregion
|
|
15759
|
-
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
15760
15261
|
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-label' | 'aria-labelledby'>;
|
|
15761
15262
|
export type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15762
15263
|
/**Retning for gruppen.
|
|
@@ -15780,8 +15281,6 @@ export declare const ButtonGroup: {
|
|
|
15780
15281
|
({ children, id, className, style, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): import("react").JSX.Element;
|
|
15781
15282
|
displayName: string;
|
|
15782
15283
|
};
|
|
15783
|
-
//#endregion
|
|
15784
|
-
//#region src/components/SelectionControl/common/SelectionControl.types.d.ts
|
|
15785
15284
|
declare const SELECTION_CONTROL_SIZES: ["small", "medium"];
|
|
15786
15285
|
type SelectionControlSize = (typeof SELECTION_CONTROL_SIZES)[number];
|
|
15787
15286
|
interface SelectionControlCommonProps {
|
|
@@ -15822,22 +15321,16 @@ interface SelectionControlGroupCommonProps {
|
|
|
15822
15321
|
*/
|
|
15823
15322
|
size?: SelectionControlSize;
|
|
15824
15323
|
}
|
|
15825
|
-
//#endregion
|
|
15826
|
-
//#region src/components/SelectionControl/Checkbox/Checkbox.types.d.ts
|
|
15827
15324
|
export type CheckboxPickedHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'name' | 'checked' | 'defaultChecked' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'>;
|
|
15828
15325
|
export type CheckboxProps = BaseComponentProps<HTMLInputElement, SelectionControlCommonProps & {
|
|
15829
15326
|
/**Brukes ved nøstet struktur der alle `<Checkbox>` som hører til en gruppe kan bli valgt ved å trykke på en forelder `<Checkbox>`.
|
|
15830
15327
|
* Hvis enkelte `<Checkbox>` blir valgt men ikke alle, skal forelder `<Checkbox>` få tilstanden `indeterminate` - verken valgt eller ikke. */
|
|
15831
15328
|
indeterminate?: boolean;
|
|
15832
15329
|
} & CheckboxPickedHTMLAttributes & Pick<ComponentProps<'input'>, 'required'>, InputHTMLAttributes<HTMLInputElement>>;
|
|
15833
|
-
//#endregion
|
|
15834
|
-
//#region src/components/SelectionControl/Checkbox/Checkbox.d.ts
|
|
15835
15330
|
export declare const Checkbox: {
|
|
15836
15331
|
({ id, name, label, error, disabled, readOnly, indeterminate, "aria-describedby": ariaDescribedby, className, htmlProps, style, children, size, ...rest }: CheckboxProps): import("react").JSX.Element;
|
|
15837
15332
|
displayName: string;
|
|
15838
15333
|
};
|
|
15839
|
-
//#endregion
|
|
15840
|
-
//#region src/components/SelectionControl/Checkbox/CheckboxGroup.d.ts
|
|
15841
15334
|
export type CheckboxGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, SelectionControlGroupCommonProps & {
|
|
15842
15335
|
/**Indikerer at det er påkrevd å velge minst ett alternativ. Legger en markør bak ledeteksten. **OBS!** `required` må i tillegg gis til `<Checkbox>`-barna manuelt. */
|
|
15843
15336
|
required?: boolean;
|
|
@@ -15846,13 +15339,9 @@ export declare const CheckboxGroup: {
|
|
|
15846
15339
|
(props: CheckboxGroupProps): import("react").JSX.Element;
|
|
15847
15340
|
displayName: string;
|
|
15848
15341
|
};
|
|
15849
|
-
//#endregion
|
|
15850
|
-
//#region src/components/SelectionControl/RadioButton/RadioButton.types.d.ts
|
|
15851
15342
|
type RadioPickedInputHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'readOnly' | 'checked' | 'value' | 'required' | 'onChange' | 'aria-describedby'>;
|
|
15852
15343
|
type RadioButtonProps = BaseComponentProps<HTMLInputElement, SelectionControlCommonProps & RadioPickedInputHTMLAttributes>;
|
|
15853
15344
|
type RadioValue = RadioPickedInputHTMLAttributes['value'];
|
|
15854
|
-
//#endregion
|
|
15855
|
-
//#region src/components/Card/Card.types.d.ts
|
|
15856
15345
|
type CardAppearance = 'filled' | 'border';
|
|
15857
15346
|
type BaseCardProps<T extends HTMLElement> = BaseComponentPropsWithChildren<T, {
|
|
15858
15347
|
/** Utseende på komponenten.
|
|
@@ -15885,21 +15374,15 @@ type CardSelectableProps = BaseComponentPropsWithChildren<HTMLInputElement, Pick
|
|
|
15885
15374
|
top?: Property.Top;
|
|
15886
15375
|
};
|
|
15887
15376
|
} & RadioPickedInputHTMLAttributes & CheckboxPickedHTMLAttributes>;
|
|
15888
|
-
//#endregion
|
|
15889
|
-
//#region src/components/Card/Card.d.ts
|
|
15890
15377
|
export declare const Card: {
|
|
15891
15378
|
(props: CardProps): import("react").JSX.Element;
|
|
15892
15379
|
displayName: string;
|
|
15893
15380
|
};
|
|
15894
|
-
//#endregion
|
|
15895
|
-
//#region src/components/Card/CardExpandable/CardExpandable.d.ts
|
|
15896
15381
|
export type CardExpandableProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
15897
15382
|
export declare const CardExpandable: {
|
|
15898
15383
|
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: CardExpandableProps): import("react").JSX.Element;
|
|
15899
15384
|
displayName: string;
|
|
15900
15385
|
};
|
|
15901
|
-
//#endregion
|
|
15902
|
-
//#region src/components/Card/CardExpandable/CardExpandableHeader.d.ts
|
|
15903
15386
|
export type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
15904
15387
|
/**Overskriver default padding. */
|
|
15905
15388
|
padding?: Property.Padding<string>;
|
|
@@ -15912,8 +15395,6 @@ export declare const CardExpandableHeader: {
|
|
|
15912
15395
|
({ children, className, style, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): import("react").JSX.Element;
|
|
15913
15396
|
displayName: string;
|
|
15914
15397
|
};
|
|
15915
|
-
//#endregion
|
|
15916
|
-
//#region src/components/Card/CardExpandable/CardExpandableBody.d.ts
|
|
15917
15398
|
export type CardExpandableBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15918
15399
|
/**Overskriver default padding. */
|
|
15919
15400
|
padding?: Property.Padding<string>;
|
|
@@ -15922,14 +15403,10 @@ export declare const CardExpandableBody: {
|
|
|
15922
15403
|
({ children, className, style, htmlProps, padding, ...rest }: CardExpandableBodyProps): import("react").JSX.Element;
|
|
15923
15404
|
displayName: string;
|
|
15924
15405
|
};
|
|
15925
|
-
//#endregion
|
|
15926
|
-
//#region src/components/Card/CardSelectionControl/CardSelectable.d.ts
|
|
15927
15406
|
export declare const CardSelectable: {
|
|
15928
15407
|
(props: CardSelectableProps): import("react").JSX.Element | null;
|
|
15929
15408
|
displayName: string;
|
|
15930
15409
|
};
|
|
15931
|
-
//#endregion
|
|
15932
|
-
//#region src/components/Card/CardSelectionControl/CardSelectableGroup.d.ts
|
|
15933
15410
|
export type CardSelectableGroupProps<T extends string | number> = BaseComponentPropsWithChildren<HTMLDivElement, Omit<SelectionControlGroupCommonProps, 'label' | 'direction' | 'tip'> & Pick<ResponsiveProps, 'display' | 'gap' | 'padding' | 'margin' | 'flexDirection' | 'rowGap' | 'flexWrap' | 'alignItems' | 'columnGap'> & {
|
|
15934
15411
|
/** Spesifiserer inputtype som returneres. */
|
|
15935
15412
|
cardType: CardSelectableType;
|
|
@@ -15950,14 +15427,10 @@ export declare const CardSelectableGroup: {
|
|
|
15950
15427
|
<T extends string | number = string>({ name, cardType, errorMessage, disabled, readOnly, value, defaultValue, children, required, onChange, id, tipId, className, style, htmlProps, ...rest }: CardSelectableGroupProps<T>): import("react").JSX.Element;
|
|
15951
15428
|
displayName: string;
|
|
15952
15429
|
};
|
|
15953
|
-
//#endregion
|
|
15954
|
-
//#region src/components/SelectionControl/RadioButton/RadioButton.d.ts
|
|
15955
15430
|
export declare const RadioButton: {
|
|
15956
15431
|
({ id, name, label, disabled, readOnly, error, checked, value, children, required, onChange, "aria-describedby": ariaDescribedby, className, htmlProps, size, style, ...rest }: RadioButtonProps): import("react").JSX.Element;
|
|
15957
15432
|
displayName: string;
|
|
15958
15433
|
};
|
|
15959
|
-
//#endregion
|
|
15960
|
-
//#region src/components/SelectionControl/RadioButton/RadioButtonGroup.d.ts
|
|
15961
15434
|
export type RadioButtonGroupProps<T extends string | number> = BaseComponentPropsWithChildren<HTMLDivElement, SelectionControlGroupCommonProps & {
|
|
15962
15435
|
/** Gir alle barna `name` prop.*/
|
|
15963
15436
|
name?: string;
|
|
@@ -15974,8 +15447,6 @@ export declare const RadioButtonGroup: {
|
|
|
15974
15447
|
<T extends string | number = string>({ name, label, groupId, errorMessage, tip, disabled, readOnly, direction, value, defaultValue, children, required, onChange, size, id, className, style, htmlProps, ...rest }: RadioButtonGroupProps<T>): import("react").JSX.Element;
|
|
15975
15448
|
displayName: string;
|
|
15976
15449
|
};
|
|
15977
|
-
//#endregion
|
|
15978
|
-
//#region src/components/Chip/Chip.d.ts
|
|
15979
15450
|
declare const CHIP_SIZES: ["small", "medium"];
|
|
15980
15451
|
type ChipSize = (typeof CHIP_SIZES)[number];
|
|
15981
15452
|
type ChipType = 'button' | 'span' | typeof RadioButton | typeof Checkbox;
|
|
@@ -16020,8 +15491,6 @@ export declare const ChipRemovable: {
|
|
|
16020
15491
|
({ htmlProps, onClose, size, id, className, style, children, ...rest }: ChipRemovableProps): import("react").JSX.Element | null;
|
|
16021
15492
|
displayName: string;
|
|
16022
15493
|
};
|
|
16023
|
-
//#endregion
|
|
16024
|
-
//#region src/components/Chip/ChipGroup.d.ts
|
|
16025
15494
|
type ChipGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16026
15495
|
/** Ledetekst for gruppen. */
|
|
16027
15496
|
label?: string;
|
|
@@ -16032,8 +15501,6 @@ export declare const ChipGroup: {
|
|
|
16032
15501
|
(props: ChipGroupProps): import("react").JSX.Element;
|
|
16033
15502
|
displayName: string;
|
|
16034
15503
|
};
|
|
16035
|
-
//#endregion
|
|
16036
|
-
//#region src/components/Chip/index.d.ts
|
|
16037
15504
|
interface ChipCompoundProps {
|
|
16038
15505
|
Group: typeof ChipGroup;
|
|
16039
15506
|
Button: typeof ChipButton;
|
|
@@ -16042,8 +15509,6 @@ interface ChipCompoundProps {
|
|
|
16042
15509
|
Removable: typeof ChipRemovable;
|
|
16043
15510
|
}
|
|
16044
15511
|
declare const Chip: ChipCompoundProps;
|
|
16045
|
-
//#endregion
|
|
16046
|
-
//#region src/components/CookieBanner/CookieBannerCheckbox.d.ts
|
|
16047
15512
|
export type CookieBannerCheckboxProps = Omit<CheckboxProps, 'label' | 'children'> & {
|
|
16048
15513
|
/**Header - kort oppsummering av den spesifikke typen informasjonskapsel. */
|
|
16049
15514
|
headerText?: string;
|
|
@@ -16054,8 +15519,6 @@ export declare function CookieBannerCheckbox({ headerText, description, id, clas
|
|
|
16054
15519
|
export declare namespace CookieBannerCheckbox {
|
|
16055
15520
|
var displayName: string;
|
|
16056
15521
|
}
|
|
16057
|
-
//#endregion
|
|
16058
|
-
//#region src/components/CookieBanner/CookieBanner.d.ts
|
|
16059
15522
|
export type CookieBannerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16060
15523
|
/**Header - kort oppsummering. */
|
|
16061
15524
|
headerText?: string;
|
|
@@ -16072,15 +15535,11 @@ export declare function CookieBanner({ headerText, description, buttons, checkbo
|
|
|
16072
15535
|
export declare namespace CookieBanner {
|
|
16073
15536
|
var displayName: string;
|
|
16074
15537
|
}
|
|
16075
|
-
//#endregion
|
|
16076
|
-
//#region src/components/date-inputs/DatePicker/Calendar/Calendar.d.ts
|
|
16077
15538
|
type CalendarProps<T extends DateValue$1> = AriaCalendarProps<T>;
|
|
16078
15539
|
export declare function Calendar<T extends DateValue$1>(props: CalendarProps<T>): import("react").JSX.Element;
|
|
16079
15540
|
export declare namespace Calendar {
|
|
16080
15541
|
var displayName: string;
|
|
16081
15542
|
}
|
|
16082
|
-
//#endregion
|
|
16083
|
-
//#region src/components/helpers/Input/Input.types.d.ts
|
|
16084
15543
|
interface CommonInputProps {
|
|
16085
15544
|
/**Ledetekst. */
|
|
16086
15545
|
label?: string;
|
|
@@ -16105,8 +15564,6 @@ interface InputIconProps {
|
|
|
16105
15564
|
/** Ikonet som vises i komponenten. */
|
|
16106
15565
|
icon?: SvgIcon;
|
|
16107
15566
|
}
|
|
16108
|
-
//#endregion
|
|
16109
|
-
//#region src/components/date-inputs/DatePicker/DateField/DateField.d.ts
|
|
16110
15567
|
type DateFieldProps<T extends DateValue = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
16111
15568
|
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
16112
15569
|
buttonOnClick?: () => void;
|
|
@@ -16116,8 +15573,6 @@ type DateFieldProps<T extends DateValue = CalendarDate> = AriaDateFieldOptions<T
|
|
|
16116
15573
|
tipId?: string;
|
|
16117
15574
|
errorMessageId?: string;
|
|
16118
15575
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
16119
|
-
//#endregion
|
|
16120
|
-
//#region src/components/date-inputs/DatePicker/DatePicker.d.ts
|
|
16121
15576
|
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'>, Pick<ResponsiveProps, 'width'> {
|
|
16122
15577
|
ref?: Ref<HTMLElement>;
|
|
16123
15578
|
/**
|
|
@@ -16146,8 +15601,6 @@ export declare function DatePicker({ errorMessage, componentSize, tip, style, wi
|
|
|
16146
15601
|
export declare namespace DatePicker {
|
|
16147
15602
|
var displayName: string;
|
|
16148
15603
|
}
|
|
16149
|
-
//#endregion
|
|
16150
|
-
//#region src/components/date-inputs/TimePicker/TimePicker.d.ts
|
|
16151
15604
|
type TimePickerProps = Omit<AriaTimeFieldProps<Time>, 'hideTimeZone'> & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'style' | 'width' | 'className'> & {
|
|
16152
15605
|
ref?: Ref<HTMLDivElement>;
|
|
16153
15606
|
};
|
|
@@ -16155,15 +15608,11 @@ export declare function TimePicker({ componentSize, width, ref, ...props }: Time
|
|
|
16155
15608
|
export declare namespace TimePicker {
|
|
16156
15609
|
var displayName: string;
|
|
16157
15610
|
}
|
|
16158
|
-
//#endregion
|
|
16159
|
-
//#region src/components/date-inputs/utils/transform.d.ts
|
|
16160
15611
|
export declare function nativeDateToDateValue(date: Date, timeZone?: string | undefined): DateValue;
|
|
16161
15612
|
export declare function dateValueToNativeDate(date: DateValue, timeZone?: string | undefined): Date;
|
|
16162
15613
|
export declare function nativeDateToCalendarDate(date: Date): CalendarDate;
|
|
16163
15614
|
export declare function nativeDateToTime(date: Date): Time;
|
|
16164
15615
|
export declare function calendarDateToNativeDate(date: CalendarDate, time?: Time): Date;
|
|
16165
|
-
//#endregion
|
|
16166
|
-
//#region src/components/DescriptionList/DescriptionList.d.ts
|
|
16167
15616
|
export type DescriptionListAppearance = 'default' | 'subtle';
|
|
16168
15617
|
export type DescriptionListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
16169
15618
|
/**Påvirker tekst styling. */
|
|
@@ -16177,15 +15626,11 @@ export declare const DescriptionList: {
|
|
|
16177
15626
|
({ appearance, direction, children, id, className, style, htmlProps, ...rest }: DescriptionListProps): import("react").JSX.Element;
|
|
16178
15627
|
displayName: string;
|
|
16179
15628
|
};
|
|
16180
|
-
//#endregion
|
|
16181
|
-
//#region src/components/DescriptionList/DescriptionListTerm.d.ts
|
|
16182
15629
|
export type DescriptionListTermProps = ComponentPropsWithRef<'dt'>;
|
|
16183
15630
|
export declare const DescriptionListTerm: {
|
|
16184
15631
|
(props: DescriptionListTermProps): import("react").JSX.Element;
|
|
16185
15632
|
displayName: string;
|
|
16186
15633
|
};
|
|
16187
|
-
//#endregion
|
|
16188
|
-
//#region src/components/DescriptionList/DescriptionListDesc.d.ts
|
|
16189
15634
|
export type DescriptionListDescProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
16190
15635
|
/**Ikon som vises ved siden av teksten. */
|
|
16191
15636
|
icon?: SvgIcon;
|
|
@@ -16194,8 +15639,6 @@ export declare const DescriptionListDesc: {
|
|
|
16194
15639
|
({ children, icon, id, className, style, htmlProps, ...rest }: DescriptionListDescProps): import("react").JSX.Element;
|
|
16195
15640
|
displayName: string;
|
|
16196
15641
|
};
|
|
16197
|
-
//#endregion
|
|
16198
|
-
//#region src/components/DescriptionList/DescriptionListGroup.d.ts
|
|
16199
15642
|
export type DescriptionListGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16200
15643
|
/**Custom margin. */
|
|
16201
15644
|
margin?: Property.Margin<string>;
|
|
@@ -16208,8 +15651,6 @@ export declare const DescriptionListGroup: {
|
|
|
16208
15651
|
({ children, margin, minWidth, maxWidth, id, className, style, htmlProps, ...rest }: DescriptionListGroupProps): import("react").JSX.Element;
|
|
16209
15652
|
displayName: string;
|
|
16210
15653
|
};
|
|
16211
|
-
//#endregion
|
|
16212
|
-
//#region src/components/DetailList/DetailList.d.ts
|
|
16213
15654
|
export declare const DETAIL_LIST_SIZES: ["small", "medium", "large"];
|
|
16214
15655
|
export type DetailListSize = (typeof DETAIL_LIST_SIZES)[number];
|
|
16215
15656
|
export type DetailListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
@@ -16235,29 +15676,21 @@ export declare const DetailList: {
|
|
|
16235
15676
|
({ id, className, style, htmlProps, withDividers, striped, size, smallScreenBreakpoint, ...rest }: DetailListProps): import("react").JSX.Element;
|
|
16236
15677
|
displayName: string;
|
|
16237
15678
|
};
|
|
16238
|
-
//#endregion
|
|
16239
|
-
//#region src/components/DetailList/DetailListDesc.d.ts
|
|
16240
15679
|
export type DetailListDescProps = ComponentPropsWithRef<'dd'> & Pick<ResponsiveProps, 'textAlign'>;
|
|
16241
15680
|
export declare const DetailListDesc: {
|
|
16242
15681
|
({ className, ...rest }: DetailListDescProps): import("react").JSX.Element;
|
|
16243
15682
|
displayName: string;
|
|
16244
15683
|
};
|
|
16245
|
-
//#endregion
|
|
16246
|
-
//#region src/components/DetailList/DetailListRow.d.ts
|
|
16247
15684
|
export type DetailListRowProps = ComponentPropsWithRef<'div'>;
|
|
16248
15685
|
export declare const DetailListRow: {
|
|
16249
15686
|
({ className, ...rest }: DetailListRowProps): import("react").JSX.Element;
|
|
16250
15687
|
displayName: string;
|
|
16251
15688
|
};
|
|
16252
|
-
//#endregion
|
|
16253
|
-
//#region src/components/DetailList/DetailListTerm.d.ts
|
|
16254
15689
|
export type DetailListTermProps = ComponentPropsWithRef<'dt'>;
|
|
16255
15690
|
export declare const DetailListTerm: {
|
|
16256
15691
|
({ className, ...rest }: DetailListTermProps): import("react").JSX.Element;
|
|
16257
15692
|
displayName: string;
|
|
16258
15693
|
};
|
|
16259
|
-
//#endregion
|
|
16260
|
-
//#region src/components/Divider/Divider.d.ts
|
|
16261
15694
|
export type DividerColor = 'default' | 'subtle' | 'on-inverse';
|
|
16262
15695
|
export type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
16263
15696
|
/** Farge på horisontal linje.
|
|
@@ -16266,8 +15699,6 @@ export type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
|
16266
15699
|
color?: DividerColor;
|
|
16267
15700
|
}>;
|
|
16268
15701
|
export declare const Divider: ({ color, id, className, style, htmlProps, ...rest }: DividerProps) => import("react").JSX.Element;
|
|
16269
|
-
//#endregion
|
|
16270
|
-
//#region src/components/Drawer/Drawer.d.ts
|
|
16271
15702
|
declare const DRAWER_SIZES: ["small", "medium", "large"];
|
|
16272
15703
|
type DrawerSize = (typeof DRAWER_SIZES)[number];
|
|
16273
15704
|
type DrawerPlacement = 'left' | 'right';
|
|
@@ -16296,8 +15727,6 @@ export declare const Drawer: {
|
|
|
16296
15727
|
({ children, header, placement, parentElement, size, className, style, htmlProps, maxWidth, minWidth, width, withBackdrop, ref, ...rest }: DrawerProps): import("react").ReactPortal | null;
|
|
16297
15728
|
displayName: string;
|
|
16298
15729
|
};
|
|
16299
|
-
//#endregion
|
|
16300
|
-
//#region src/components/Drawer/DrawerGroup.d.ts
|
|
16301
15730
|
export interface DrawerGroupProps {
|
|
16302
15731
|
/**Barna til komponenten: trigger-element og `<Drawer>`. */
|
|
16303
15732
|
children: ReactNode;
|
|
@@ -16324,8 +15753,6 @@ export declare const DrawerGroup: {
|
|
|
16324
15753
|
({ children, isInitiallyOpen, isOpen: propIsOpen, setIsOpen: propSetIsOpen, drawerId, onOpen, onClose }: DrawerGroupProps): import("react").JSX.Element;
|
|
16325
15754
|
displayName: string;
|
|
16326
15755
|
};
|
|
16327
|
-
//#endregion
|
|
16328
|
-
//#region src/components/EmptyContent/EmptyContent.d.ts
|
|
16329
15756
|
export type EmptyContentProps = {
|
|
16330
15757
|
/**Tittel - kort oppsummering. */
|
|
16331
15758
|
headerText?: string;
|
|
@@ -16340,8 +15767,6 @@ export declare function EmptyContent({ headerText, children, headerHeadingLevel,
|
|
|
16340
15767
|
export declare namespace EmptyContent {
|
|
16341
15768
|
var displayName: string;
|
|
16342
15769
|
}
|
|
16343
|
-
//#endregion
|
|
16344
|
-
//#region src/components/ErrorSummary/ErrorSummary.d.ts
|
|
16345
15770
|
type ErrorSummaryProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16346
15771
|
/**Custom overskrift. Bruker default heading tag hvis den er av typen `string`. */
|
|
16347
15772
|
heading?: ReactNode;
|
|
@@ -16350,15 +15775,11 @@ export declare const ErrorSummary: {
|
|
|
16350
15775
|
({ heading: pHeading, className, style, children, id, htmlProps, ...props }: ErrorSummaryProps): import("react").JSX.Element;
|
|
16351
15776
|
displayName: string;
|
|
16352
15777
|
};
|
|
16353
|
-
//#endregion
|
|
16354
|
-
//#region src/components/ErrorSummary/ErrorSummaryItem.d.ts
|
|
16355
15778
|
type ErrorSummaryItemProps<T extends ElementType> = LinkProps<T>;
|
|
16356
15779
|
export declare const ErrorSummaryItem: {
|
|
16357
15780
|
<T extends ElementType>({ className, style, children, id, htmlProps, ...props }: ErrorSummaryItemProps<T>): import("react").JSX.Element;
|
|
16358
15781
|
displayName: string;
|
|
16359
15782
|
};
|
|
16360
|
-
//#endregion
|
|
16361
|
-
//#region src/components/FavStar/FavStar.d.ts
|
|
16362
15783
|
declare const FAVSTAR_SIZES: ["medium", "large"];
|
|
16363
15784
|
type FavStartSize = (typeof FAVSTAR_SIZES)[number];
|
|
16364
15785
|
type FavStarProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
@@ -16385,8 +15806,6 @@ export declare const FavStar: {
|
|
|
16385
15806
|
({ id, className, style, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): import("react").JSX.Element;
|
|
16386
15807
|
displayName: string;
|
|
16387
15808
|
};
|
|
16388
|
-
//#endregion
|
|
16389
|
-
//#region src/components/Feedback/Feedback.types.d.ts
|
|
16390
15809
|
export interface FeedbackProps {
|
|
16391
15810
|
/**Om knappene skal være plassert under eller ved siden av teksten. */
|
|
16392
15811
|
layout?: Layout;
|
|
@@ -16445,11 +15864,7 @@ export interface FeedbackProps {
|
|
|
16445
15864
|
}
|
|
16446
15865
|
export type Rating = 'positive' | 'negative';
|
|
16447
15866
|
export type Layout = 'vertical' | 'horizontal';
|
|
16448
|
-
//#endregion
|
|
16449
|
-
//#region src/components/Feedback/Feedback.d.ts
|
|
16450
15867
|
export declare const Feedback: ({ layout, ratingLabel, positiveFeedbackLabel, negativeFeedbackLabel, ratingSubmittedTitle, submittedTitle, textAreaTip, ratingValue: ratingProp, feedbackTextValue: feedbackTextProp, thumbUpTooltip, thumbDownTooltip, feedbackTextAreaExcluded, loading, isSubmitted: isSubmittedProp, onRating, onFeedbackTextChange, onSubmit }: FeedbackProps) => import("react").JSX.Element;
|
|
16451
|
-
//#endregion
|
|
16452
|
-
//#region src/components/Fieldset/Fieldset.d.ts
|
|
16453
15868
|
export type FieldsetProps = BaseComponentPropsWithChildren<HTMLFieldSetElement, {
|
|
16454
15869
|
/** Om alle inputfelt skal bli `disabled`. */
|
|
16455
15870
|
disabled?: boolean;
|
|
@@ -16458,15 +15873,11 @@ export declare const Fieldset: {
|
|
|
16458
15873
|
({ id, className, style, htmlProps, ...rest }: FieldsetProps): import("react").JSX.Element;
|
|
16459
15874
|
displayName: string;
|
|
16460
15875
|
};
|
|
16461
|
-
//#endregion
|
|
16462
|
-
//#region src/components/Fieldset/FieldsetGroup.d.ts
|
|
16463
15876
|
export type FieldsetGroupProps = BaseComponentPropsWithChildren<HTMLDivElement>;
|
|
16464
15877
|
export declare const FieldsetGroup: {
|
|
16465
15878
|
({ id, className, style, htmlProps, ...rest }: FieldsetGroupProps): import("react").JSX.Element;
|
|
16466
15879
|
displayName: string;
|
|
16467
15880
|
};
|
|
16468
|
-
//#endregion
|
|
16469
|
-
//#region src/components/FileUploader/FileUploader.types.d.ts
|
|
16470
15881
|
type FileExtensionAccept = `.${string}`;
|
|
16471
15882
|
type AnyMimeType = '*';
|
|
16472
15883
|
type ImageMimeType = 'png' | 'jpeg' | 'bmp' | 'gif' | 'svg+xml' | 'tiff' | 'webp';
|
|
@@ -16486,8 +15897,6 @@ export interface UploadInfo {
|
|
|
16486
15897
|
errorMessage?: string;
|
|
16487
15898
|
}
|
|
16488
15899
|
export type FileStatusMap = Map<string, UploadInfo>;
|
|
16489
|
-
//#endregion
|
|
16490
|
-
//#region src/components/FileUploader/useFileUploader.d.ts
|
|
16491
15900
|
type FileUploaderHookProps = {
|
|
16492
15901
|
/**Dersom komponenten skal styres internt. Utgangspunktet for filene som har blitt lastet opp. */
|
|
16493
15902
|
initialFiles: FileList | undefined;
|
|
@@ -16505,8 +15914,6 @@ type FileUploaderHookProps = {
|
|
|
16505
15914
|
maxFiles: number | undefined;
|
|
16506
15915
|
onKeyDown?: ComponentProps<'input'>['onKeyDown'];
|
|
16507
15916
|
} & Pick<InputProps, 'errorMessage' | 'id'>;
|
|
16508
|
-
//#endregion
|
|
16509
|
-
//#region src/components/FileUploader/FileUploader.d.ts
|
|
16510
15917
|
export type FileUploaderProps = {
|
|
16511
15918
|
/**Id til filopplasteren. */
|
|
16512
15919
|
id?: string;
|
|
@@ -16541,16 +15948,10 @@ export declare const FileUploader: {
|
|
|
16541
15948
|
(props: FileUploaderProps): import("react").JSX.Element;
|
|
16542
15949
|
displayName: string;
|
|
16543
15950
|
};
|
|
16544
|
-
//#endregion
|
|
16545
|
-
//#region src/components/Footer/Footer.d.ts
|
|
16546
15951
|
export type FooterProps = ComponentPropsWithRef<'footer'>;
|
|
16547
15952
|
export declare const Footer: (props: FooterProps) => import("react").JSX.Element;
|
|
16548
|
-
//#endregion
|
|
16549
|
-
//#region src/components/Footer/FooterListHeader.d.ts
|
|
16550
15953
|
export type FooterListHeaderProps = Omit<HeadingProps, 'level' | 'withMargins'>;
|
|
16551
15954
|
export declare const FooterListHeader: (props: FooterListHeaderProps) => import("react").JSX.Element;
|
|
16552
|
-
//#endregion
|
|
16553
|
-
//#region src/components/Footer/FooterLogo.d.ts
|
|
16554
15955
|
type HideBreakpoint = 'xs' | 'sm' | 'md';
|
|
16555
15956
|
type ImgLogoProps = ComponentPropsWithRef<'img'> & {
|
|
16556
15957
|
/**Brekkepunkt når logoen skal skjules på mindre skjerm. */
|
|
@@ -16564,32 +15965,18 @@ interface ChildrenLogoProps {
|
|
|
16564
15965
|
}
|
|
16565
15966
|
export type FooterLogoProps = ImgLogoProps | ChildrenLogoProps;
|
|
16566
15967
|
export declare const FooterLogo: ({ children, hideBreakpoint, ...rest }: FooterLogoProps) => import("react").JSX.Element;
|
|
16567
|
-
//#endregion
|
|
16568
|
-
//#region src/components/Footer/FooterList.d.ts
|
|
16569
15968
|
export type FooterListProps = ComponentPropsWithRef<'ul'>;
|
|
16570
15969
|
export declare const FooterList: (props: FooterListProps) => import("react").JSX.Element;
|
|
16571
|
-
//#endregion
|
|
16572
|
-
//#region src/components/Footer/FooterSocialsList.d.ts
|
|
16573
15970
|
export type FooterSocialsListProps = ComponentPropsWithRef<'ul'>;
|
|
16574
15971
|
export declare const FooterSocialsList: (props: FooterSocialsListProps) => import("react").JSX.Element;
|
|
16575
|
-
//#endregion
|
|
16576
|
-
//#region src/components/Footer/FooterSocialsGroup.d.ts
|
|
16577
15972
|
export type FooterSocialsGroupProps = ComponentPropsWithRef<'div'>;
|
|
16578
15973
|
export declare const FooterSocialsGroup: (props: FooterSocialsGroupProps) => import("react").JSX.Element;
|
|
16579
|
-
//#endregion
|
|
16580
|
-
//#region src/components/Footer/FooterListGroup.d.ts
|
|
16581
15974
|
export type FooterListGroupProps = ComponentPropsWithRef<'div'>;
|
|
16582
15975
|
export declare const FooterListGroup: (props: FooterListGroupProps) => import("react").JSX.Element;
|
|
16583
|
-
//#endregion
|
|
16584
|
-
//#region src/components/Footer/FooterLeft.d.ts
|
|
16585
15976
|
export type FooterLeftProps = ComponentPropsWithRef<'div'>;
|
|
16586
15977
|
export declare const FooterLeft: (props: FooterLeftProps) => import("react").JSX.Element;
|
|
16587
|
-
//#endregion
|
|
16588
|
-
//#region src/components/FormSummary/FormSummary.d.ts
|
|
16589
15978
|
export type FormSummaryProps = Pick<PaperProps, 'children' | 'htmlProps' | 'ref' | 'id' | 'style' | 'className' | 'padding' | 'paddingBlock' | 'paddingInline' | 'margin' | 'marginBlock' | 'marginInline' | 'width' | 'minWidth' | 'maxWidth'>;
|
|
16590
15979
|
export declare const FormSummary: (props: FormSummaryProps) => import("react").JSX.Element;
|
|
16591
|
-
//#endregion
|
|
16592
|
-
//#region src/components/InputMessage/InputMessage.d.ts
|
|
16593
15980
|
export type InputMessageType = 'error' | 'tip';
|
|
16594
15981
|
export type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
16595
15982
|
/**Innhold. */
|
|
@@ -16611,8 +15998,6 @@ interface RenderInputMessageProps {
|
|
|
16611
15998
|
noSpacing?: boolean;
|
|
16612
15999
|
}
|
|
16613
16000
|
export declare const renderInputMessage: ({ tip, tipId, errorMessage, errorMessageId, noSpacing }: RenderInputMessageProps) => import("react").JSX.Element;
|
|
16614
|
-
//#endregion
|
|
16615
|
-
//#region src/components/FormSummary/FormSummary.components.d.ts
|
|
16616
16001
|
type FormSummaryHeaderProps = ComponentPropsWithRef<'div'>;
|
|
16617
16002
|
export declare function FormSummaryHeader({ ...props }: FormSummaryHeaderProps): import("react").JSX.Element;
|
|
16618
16003
|
type FormSummaryHeadingProps = {
|
|
@@ -16639,8 +16024,6 @@ export declare function FormSummaryValue({ className, isLoading, children, ...pr
|
|
|
16639
16024
|
export declare function FormSummaryEmptyValue(): import("react").JSX.Element;
|
|
16640
16025
|
type FormSummaryErrorProps = Omit<InputMessageProps, 'messageType' | 'message'>;
|
|
16641
16026
|
export declare function FormSummaryError({ ...props }: FormSummaryErrorProps): import("react").JSX.Element;
|
|
16642
|
-
//#endregion
|
|
16643
|
-
//#region src/components/GlobalMessage/GlobalMessage.d.ts
|
|
16644
16027
|
declare const G_MESSAGE_PURPOSES: ["info", "warning", "danger"];
|
|
16645
16028
|
type GlobalMessagePurpose = (typeof G_MESSAGE_PURPOSES)[number];
|
|
16646
16029
|
type GlobalMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
@@ -16659,8 +16042,6 @@ export declare const GlobalMessage: {
|
|
|
16659
16042
|
({ purpose, closable, onClose, children, id, className, style, htmlProps, ...rest }: GlobalMessageProps): import("react").JSX.Element | null;
|
|
16660
16043
|
displayName: string;
|
|
16661
16044
|
};
|
|
16662
|
-
//#endregion
|
|
16663
|
-
//#region src/components/InlineButton/InlineButton.d.ts
|
|
16664
16045
|
export type InlineButtonProps = {
|
|
16665
16046
|
/**
|
|
16666
16047
|
* Enestående ikon; bruk av denne propen sørge for riktig visning av ikonet.
|
|
@@ -16668,8 +16049,6 @@ export type InlineButtonProps = {
|
|
|
16668
16049
|
icon?: SvgIcon;
|
|
16669
16050
|
} & Pick<BaseTypographyProps, 'color'> & Omit<ComponentPropsWithRef<'button'>, 'color'>;
|
|
16670
16051
|
export declare const InlineButton: ({ className, color, icon, children, ...rest }: InlineButtonProps) => import("react").JSX.Element;
|
|
16671
|
-
//#endregion
|
|
16672
|
-
//#region src/components/InlineEdit/InlineEdit.context.d.ts
|
|
16673
16052
|
interface InlineEditContextType {
|
|
16674
16053
|
onChange: (e: ChangeEvent<EditElement>) => void;
|
|
16675
16054
|
onBlur: (e: FocusEvent<EditElement>) => void;
|
|
@@ -16678,8 +16057,6 @@ interface InlineEditContextType {
|
|
|
16678
16057
|
value: string | number | ReadonlyArray<string> | undefined;
|
|
16679
16058
|
emptiable: boolean;
|
|
16680
16059
|
}
|
|
16681
|
-
//#endregion
|
|
16682
|
-
//#region src/components/InlineEdit/InlineEdit.types.d.ts
|
|
16683
16060
|
interface TagToElementMap {
|
|
16684
16061
|
input: HTMLInputElement;
|
|
16685
16062
|
textarea: HTMLTextAreaElement;
|
|
@@ -16718,17 +16095,9 @@ type InlineEditGenericProps<T extends EditElementTag> = CommonInlineFieldProps &
|
|
|
16718
16095
|
type InlineEditTextAreaProps = InlineEditGenericProps<'textarea'>;
|
|
16719
16096
|
type InlineEditInputProps = InlineEditGenericProps<'input'>;
|
|
16720
16097
|
type InlineEditSelectProps = InlineEditGenericProps<'select'>;
|
|
16721
|
-
//#endregion
|
|
16722
|
-
//#region src/components/InlineEdit/InlineEditTextArea/InlineEditTextArea.d.ts
|
|
16723
16098
|
export declare const InlineEditTextArea: ({ onSetValue, emptiable, value, onFocus, onChange, onBlur, ref, ...rest }: InlineEditTextAreaProps) => import("react").JSX.Element;
|
|
16724
|
-
//#endregion
|
|
16725
|
-
//#region src/components/InlineEdit/InlineEditInput/InlineEditInput.d.ts
|
|
16726
16099
|
export declare const InlineEditInput: ({ onSetValue, emptiable, value, onFocus, onChange, onBlur, ref, ...rest }: InlineEditInputProps) => import("react").JSX.Element;
|
|
16727
|
-
//#endregion
|
|
16728
|
-
//#region src/components/InlineEdit/InlineEditSelect/InlineEditSelect.d.ts
|
|
16729
16100
|
export declare const InlineEditSelect: ({ onSetValue, emptiable, value, onFocus, onChange, onBlur, ref, ...rest }: InlineEditSelectProps) => import("react").JSX.Element;
|
|
16730
|
-
//#endregion
|
|
16731
|
-
//#region src/components/InternalHeader/InternalHeader.types.d.ts
|
|
16732
16101
|
type NavigationLinkProps = {
|
|
16733
16102
|
children: ReactNode;
|
|
16734
16103
|
href: string;
|
|
@@ -16763,14 +16132,10 @@ export type InternalHeaderProps = BaseComponentProps<HTMLDivElement, {
|
|
|
16763
16132
|
/**Ekstra logikk som kjøres når currentPage endres. */
|
|
16764
16133
|
onCurrentPageChange?: () => void;
|
|
16765
16134
|
}>;
|
|
16766
|
-
//#endregion
|
|
16767
|
-
//#region src/components/InternalHeader/InternalHeader.d.ts
|
|
16768
16135
|
export declare const InternalHeader: {
|
|
16769
16136
|
(props: InternalHeaderProps): import("react").JSX.Element;
|
|
16770
16137
|
displayName: string;
|
|
16771
16138
|
};
|
|
16772
|
-
//#endregion
|
|
16773
|
-
//#region src/components/List/List.d.ts
|
|
16774
16139
|
export type ListType = 'ordered' | 'unordered';
|
|
16775
16140
|
export type ListTypographyType = TypographyBodyLongType | 'inherit';
|
|
16776
16141
|
export type ListProps = BaseComponentPropsWithChildren<HTMLUListElement | HTMLOListElement, {
|
|
@@ -16787,15 +16152,11 @@ export declare const List: {
|
|
|
16787
16152
|
({ listType, typographyType, children, id, className, style, htmlProps, ...rest }: ListProps): import("react").JSX.Element;
|
|
16788
16153
|
displayName: string;
|
|
16789
16154
|
};
|
|
16790
|
-
//#endregion
|
|
16791
|
-
//#region src/components/List/ListItem.d.ts
|
|
16792
16155
|
export type ListItemProps = ComponentPropsWithRef<'li'>;
|
|
16793
16156
|
export declare const ListItem: {
|
|
16794
16157
|
({ className, ...rest }: ListItemProps): import("react").JSX.Element;
|
|
16795
16158
|
displayName: string;
|
|
16796
16159
|
};
|
|
16797
|
-
//#endregion
|
|
16798
|
-
//#region src/components/LocalMessage/LocalMessage.d.ts
|
|
16799
16160
|
export declare const L_MESSAGE_PURPOSES: ["info", "success", "warning", "danger", "tips"];
|
|
16800
16161
|
export type LocalMessagePurpose = (typeof L_MESSAGE_PURPOSES)[number];
|
|
16801
16162
|
export type LocalMessageLayout = 'horisontal' | 'vertical';
|
|
@@ -16819,8 +16180,6 @@ export declare const LocalMessage: {
|
|
|
16819
16180
|
({ purpose, closable, onClose, width, layout, children, id, className, style, htmlProps, ...rest }: LocalMessageProps): import("react").JSX.Element | null;
|
|
16820
16181
|
displayName: string;
|
|
16821
16182
|
};
|
|
16822
|
-
//#endregion
|
|
16823
|
-
//#region src/components/Modal/Modal.d.ts
|
|
16824
16183
|
export type ModalProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16825
16184
|
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
16826
16185
|
isOpen?: boolean;
|
|
@@ -16843,8 +16202,6 @@ export declare const Modal: {
|
|
|
16843
16202
|
({ isOpen, parentElement, children, header, onClose, id, triggerRef, initialFocusRef, scrollable, className, style, htmlProps, ref, ...rest }: ModalProps): import("react").ReactPortal | null;
|
|
16844
16203
|
displayName: string;
|
|
16845
16204
|
};
|
|
16846
|
-
//#endregion
|
|
16847
|
-
//#region src/components/Modal/ModalBody.d.ts
|
|
16848
16205
|
export type ModalBodyProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16849
16206
|
/**Gjør at innholdet kan scrolles. Det må eventuelt settes (max)bredde og (max)høyde styling på både denne subkomponenten og `<Modal />`. */
|
|
16850
16207
|
scrollable?: boolean;
|
|
@@ -16855,15 +16212,11 @@ export declare const ModalBody: {
|
|
|
16855
16212
|
({ children, id, className, style, scrollable, htmlProps, height, ...rest }: ModalBodyProps): import("react").JSX.Element;
|
|
16856
16213
|
displayName: string;
|
|
16857
16214
|
};
|
|
16858
|
-
//#endregion
|
|
16859
|
-
//#region src/components/Modal/ModalActions.d.ts
|
|
16860
16215
|
export type ModalActionsProps = ComponentPropsWithRef<'div'>;
|
|
16861
16216
|
export declare const ModalActions: {
|
|
16862
16217
|
(props: ModalActionsProps): import("react").JSX.Element;
|
|
16863
16218
|
displayName: string;
|
|
16864
16219
|
};
|
|
16865
|
-
//#endregion
|
|
16866
|
-
//#region src/components/NewsPopover/NewsPopover.d.ts
|
|
16867
16220
|
interface NewsPopoverSlide {
|
|
16868
16221
|
/**`<img>` bilde. */
|
|
16869
16222
|
image: ReactNode;
|
|
@@ -16905,14 +16258,10 @@ export declare const NewsPopover: {
|
|
|
16905
16258
|
({ id, className, style, htmlProps, header, news, defaultActiveSlide, activeSlide: activeSlideProp, setActiveSlide: setActiveSlideProp, isOpen: isOpenProp, isInitiallyOpen, setIsOpen: setIsOpenProp, smallScreenBreakpoint, closeOnClickOutside, ref, ...rest }: NewsPopoverProps): import("react").JSX.Element | null;
|
|
16906
16259
|
displayName: string;
|
|
16907
16260
|
};
|
|
16908
|
-
//#endregion
|
|
16909
|
-
//#region src/components/OverflowMenu/OverflowMenu.d.ts
|
|
16910
16261
|
export declare const OverflowMenu: {
|
|
16911
16262
|
({ placement, offset, parentElement, portal, className, htmlProps, ref, style, ...rest }: OverflowMenuProps): import("react").JSX.Element;
|
|
16912
16263
|
displayName: string;
|
|
16913
16264
|
};
|
|
16914
|
-
//#endregion
|
|
16915
|
-
//#region src/components/OverflowMenu/OverflowMenu.types.d.ts
|
|
16916
16265
|
export type OverflowMenuButtonProps = Omit<DropdownItemProps<typeof StylelessButton>, 'as'>;
|
|
16917
16266
|
export type OverflowMenuLinkProps = Omit<DropdownItemProps<'a'>, keyof DropdownItemButtonProps | 'as'>;
|
|
16918
16267
|
export type OverflowMenuSpanProps = Omit<DropdownItemProps<'span'>, keyof DropdownItemButtonProps | 'as'>;
|
|
@@ -16938,50 +16287,34 @@ export type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivEleme
|
|
|
16938
16287
|
*/
|
|
16939
16288
|
portal?: boolean;
|
|
16940
16289
|
}>, 'id'>;
|
|
16941
|
-
//#endregion
|
|
16942
|
-
//#region src/components/OverflowMenu/components/OverflowMenuButton.d.ts
|
|
16943
16290
|
export declare const OverflowMenuButton: {
|
|
16944
16291
|
({ onClick, onClickAsync, closeMenuOnClickAsync, purpose, loading, ref, ...rest }: OverflowMenuButtonProps): import("react").JSX.Element;
|
|
16945
16292
|
displayName: string;
|
|
16946
16293
|
};
|
|
16947
|
-
//#endregion
|
|
16948
|
-
//#region src/components/OverflowMenu/components/OverflowMenuLink.d.ts
|
|
16949
16294
|
export declare const OverflowMenuLink: {
|
|
16950
16295
|
({ onClick, ref, ...rest }: OverflowMenuLinkProps): import("react").JSX.Element;
|
|
16951
16296
|
displayName: string;
|
|
16952
16297
|
};
|
|
16953
|
-
//#endregion
|
|
16954
|
-
//#region src/components/OverflowMenu/components/OverflowMenuToggle.d.ts
|
|
16955
16298
|
export declare const OverflowMenuToggle: {
|
|
16956
16299
|
({ ref, ...rest }: OverflowMenuToggleProps): import("react").JSX.Element;
|
|
16957
16300
|
displayName: string;
|
|
16958
16301
|
};
|
|
16959
|
-
//#endregion
|
|
16960
|
-
//#region src/components/OverflowMenu/components/OverflowMenuDivider.d.ts
|
|
16961
16302
|
type OverflowMenuDividerProps = Omit<DividerProps, 'color'>;
|
|
16962
16303
|
export declare const OverflowMenuDivider: {
|
|
16963
16304
|
({ id, className, style, htmlProps, ...rest }: OverflowMenuDividerProps): import("react").JSX.Element;
|
|
16964
16305
|
displayName: string;
|
|
16965
16306
|
};
|
|
16966
|
-
//#endregion
|
|
16967
|
-
//#region src/components/OverflowMenu/components/OverflowMenuList.d.ts
|
|
16968
16307
|
type OverflowMenuListProps = StylelessListProps;
|
|
16969
16308
|
export declare const OverflowMenuList: (props: OverflowMenuListProps) => import("react").JSX.Element;
|
|
16970
|
-
//#endregion
|
|
16971
|
-
//#region src/components/OverflowMenu/components/OverflowMenuSpan.d.ts
|
|
16972
16309
|
export declare const OverflowMenuSpan: {
|
|
16973
16310
|
(props: OverflowMenuSpanProps): import("react").JSX.Element;
|
|
16974
16311
|
displayName: string;
|
|
16975
16312
|
};
|
|
16976
|
-
//#endregion
|
|
16977
|
-
//#region src/components/OverflowMenu/components/OverflowMenuListHeader.d.ts
|
|
16978
16313
|
type OverflowMenuListHeaderProps = ComponentPropsWithRef<'h2'>;
|
|
16979
16314
|
export declare const OverflowMenuListHeader: {
|
|
16980
16315
|
(props: OverflowMenuListHeaderProps): import("react").JSX.Element;
|
|
16981
16316
|
displayName: string;
|
|
16982
16317
|
};
|
|
16983
|
-
//#endregion
|
|
16984
|
-
//#region src/components/OverflowMenu/OverflowMenuGroup.d.ts
|
|
16985
16318
|
export interface OverflowMenuGroupProps {
|
|
16986
16319
|
/**Om `<OverflowMenu>` er åpen ved første render.
|
|
16987
16320
|
* @default false
|
|
@@ -17004,8 +16337,6 @@ export declare const OverflowMenuGroup: {
|
|
|
17004
16337
|
({ children, onClose, onOpen, setIsOpen: propSetIsOpen, isOpen: propIsOpen, isInitiallyOpen, overflowMenuId }: OverflowMenuGroupProps): import("react").JSX.Element;
|
|
17005
16338
|
displayName: string;
|
|
17006
16339
|
};
|
|
17007
|
-
//#endregion
|
|
17008
|
-
//#region src/components/Pagination/Pagination.d.ts
|
|
17009
16340
|
export interface PaginationOption {
|
|
17010
16341
|
label: string;
|
|
17011
16342
|
value: number;
|
|
@@ -17053,11 +16384,7 @@ export declare const Pagination: {
|
|
|
17053
16384
|
({ itemsAmount, defaultItemsPerPage, defaultActivePage, activePage: activePageProp, withPagination, withCounter, withSelect, selectOptions, smallScreenBreakpoint, onChange, onSelectOptionChange, id, className, style, htmlProps, ref, ...rest }: PaginationProps): import("react").JSX.Element | null;
|
|
17054
16385
|
displayName: string;
|
|
17055
16386
|
};
|
|
17056
|
-
//#endregion
|
|
17057
|
-
//#region src/components/PhoneInput/constants.d.ts
|
|
17058
16387
|
type ISOCountryCode = 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BA' | 'BW' | 'BR' | 'IO' | 'VG' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'EH' | 'KM' | 'CD' | 'CG' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'GS' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'XK' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'VI' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UY' | 'UZ' | 'VU' | 'VA' | 'VE' | 'VN' | 'WF' | 'YE' | 'ZM' | 'ZW' | 'AX';
|
|
17059
|
-
//#endregion
|
|
17060
|
-
//#region src/components/PhoneInput/PhoneInput.d.ts
|
|
17061
16388
|
interface PhoneInputValue {
|
|
17062
16389
|
countryCode: ISOCountryCode | (string & {});
|
|
17063
16390
|
phoneNumber: string;
|
|
@@ -17102,8 +16429,6 @@ export declare const PhoneInput: {
|
|
|
17102
16429
|
({ label, readOnly, errorMessage, tip, required, width, componentSize, name, className, style, value, selectLabel, selectRef, onChange, defaultValue, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, groupLabel, afterLabelContent, ref, ...props }: PhoneInputProps): import("react").JSX.Element;
|
|
17103
16430
|
displayName: string;
|
|
17104
16431
|
};
|
|
17105
|
-
//#endregion
|
|
17106
|
-
//#region src/components/Popover/Popover.d.ts
|
|
17107
16432
|
export type PopoverSizeProps = Pick<ResponsiveProps, 'width' | 'height' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight'>;
|
|
17108
16433
|
export type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17109
16434
|
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
@@ -17147,8 +16472,6 @@ export declare const Popover: {
|
|
|
17147
16472
|
({ id, header, withCloseButton, onBlur, children, placement, parentElement, portal, offset, sizeProps, returnFocusOnBlur, className, htmlProps, anchorRef, isOpen: propIsOpen, onClose: propOnClose, style, ref, ...rest }: PopoverProps): import("react").JSX.Element | null;
|
|
17148
16473
|
displayName: string;
|
|
17149
16474
|
};
|
|
17150
|
-
//#endregion
|
|
17151
|
-
//#region src/components/Popover/PopoverGroup.d.ts
|
|
17152
16475
|
export interface PopoverGroupProps {
|
|
17153
16476
|
/** Barna til wrapperen: anchor-element som det første og `<Popover>` som det andre. */
|
|
17154
16477
|
children: ReactNode;
|
|
@@ -17169,8 +16492,6 @@ export declare const PopoverGroup: {
|
|
|
17169
16492
|
({ isOpen: propIsOpen, setIsOpen: propSetIsOpen, onClose, onOpen, isInitiallyOpen, children, popoverId }: PopoverGroupProps): import("react").JSX.Element;
|
|
17170
16493
|
displayName: string;
|
|
17171
16494
|
};
|
|
17172
|
-
//#endregion
|
|
17173
|
-
//#region src/components/ProgressTracker/ProgressTrackerItem.d.ts
|
|
17174
16495
|
export interface BaseItemProps {
|
|
17175
16496
|
/** Om steget er valgt eller ikke. Settes av konsument. */
|
|
17176
16497
|
active?: boolean;
|
|
@@ -17197,8 +16518,6 @@ export declare const ProgressTrackerItem: {
|
|
|
17197
16518
|
(props: ProgressTrackerItemProps): import("react").JSX.Element;
|
|
17198
16519
|
displayName: string;
|
|
17199
16520
|
};
|
|
17200
|
-
//#endregion
|
|
17201
|
-
//#region src/components/ProgressTracker/ProgressTracker.d.ts
|
|
17202
16521
|
export type ProgressTrackerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17203
16522
|
/** Indeksen til det aktive steget.
|
|
17204
16523
|
* @default 0
|
|
@@ -17213,8 +16532,6 @@ type ProgressTrackerComponent = ForwardRefExoticComponent<ProgressTrackerProps>
|
|
|
17213
16532
|
Item: typeof ProgressTrackerItem;
|
|
17214
16533
|
};
|
|
17215
16534
|
export declare const ProgressTracker: ProgressTrackerComponent;
|
|
17216
|
-
//#endregion
|
|
17217
|
-
//#region src/components/ProgressBar/ProgressBar.d.ts
|
|
17218
16535
|
declare const PROGRESS_BAR_SIZES: ["small", "medium"];
|
|
17219
16536
|
type ProgressBarSize = (typeof PROGRESS_BAR_SIZES)[number];
|
|
17220
16537
|
type ProgressBarProps = Pick<CommonInputProps, 'tip' | 'errorMessage' | 'label' | 'width'> & {
|
|
@@ -17239,18 +16556,12 @@ export declare const ProgressBar: {
|
|
|
17239
16556
|
({ label, tip, errorMessage, size, "aria-describedby": ariaDescribedby, value, width, max, id, className, style, ...rest }: ProgressBarProps): import("react").JSX.Element;
|
|
17240
16557
|
displayName: string;
|
|
17241
16558
|
};
|
|
17242
|
-
//#endregion
|
|
17243
|
-
//#region src/components/Search/Search.utils.d.ts
|
|
17244
16559
|
declare const SEARCH_SIZES: ["small", "medium", "large"];
|
|
17245
|
-
//#endregion
|
|
17246
|
-
//#region src/components/Search/Search.types.d.ts
|
|
17247
16560
|
export type SearchSize = (typeof SEARCH_SIZES)[number];
|
|
17248
16561
|
export type SearchButtonProps = {
|
|
17249
16562
|
label?: string;
|
|
17250
16563
|
purpose?: ExtractStrict<ButtonPurpose, 'primary' | 'secondary'>;
|
|
17251
16564
|
} & Pick<ButtonProps, 'loading' | 'loadingTooltip'> & ComponentPropsWithRef<'button'>;
|
|
17252
|
-
//#endregion
|
|
17253
|
-
//#region src/components/Search/Search.d.ts
|
|
17254
16565
|
type SearchProps = Pick<InputProps, 'tip' | 'label' | 'width'> & {
|
|
17255
16566
|
/**Størrelsen på komponenten. */
|
|
17256
16567
|
componentSize?: SearchSize;
|
|
@@ -17263,8 +16574,6 @@ declare const Search$1: {
|
|
|
17263
16574
|
({ componentSize, buttonProps, showIcon, name, label, tip, id, value, width, onChange, className, style, "aria-describedby": ariaDescribedby, ref, ...rest }: SearchProps): import("react").JSX.Element;
|
|
17264
16575
|
displayName: string;
|
|
17265
16576
|
};
|
|
17266
|
-
//#endregion
|
|
17267
|
-
//#region src/components/Search/SearchAutocompleteWrapper.d.ts
|
|
17268
16577
|
interface WeightedValue {
|
|
17269
16578
|
text: string;
|
|
17270
16579
|
relevance: number;
|
|
@@ -17299,8 +16608,6 @@ export declare const SearchAutocompleteWrapper: {
|
|
|
17299
16608
|
(props: SearchAutocompleteWrapperProps): import("react").JSX.Element;
|
|
17300
16609
|
displayName: string;
|
|
17301
16610
|
};
|
|
17302
|
-
//#endregion
|
|
17303
|
-
//#region src/components/Search/SearchSuggestions.d.ts
|
|
17304
16611
|
type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement, {
|
|
17305
16612
|
/**Forslag som vises i listen. */
|
|
17306
16613
|
suggestions?: Array<string>;
|
|
@@ -17317,15 +16624,11 @@ export declare const SearchSuggestions: {
|
|
|
17317
16624
|
({ id, searchId, className, style, htmlProps, suggestions, showSuggestions, onSuggestionClick, maxSuggestions, ...rest }: SearchSuggestionsProps): import("react").JSX.Element;
|
|
17318
16625
|
displayName: string;
|
|
17319
16626
|
};
|
|
17320
|
-
//#endregion
|
|
17321
|
-
//#region src/components/Search/index.d.ts
|
|
17322
16627
|
type SearchCompoundProps = typeof Search$1 & {
|
|
17323
16628
|
AutocompleteWrapper: typeof SearchAutocompleteWrapper;
|
|
17324
16629
|
Suggestions: typeof SearchSuggestions;
|
|
17325
16630
|
};
|
|
17326
16631
|
declare const Search: SearchCompoundProps;
|
|
17327
|
-
//#endregion
|
|
17328
|
-
//#region src/components/Select/Select.d.ts
|
|
17329
16632
|
export interface SelectOption<TValue = unknown> {
|
|
17330
16633
|
label: string | number;
|
|
17331
16634
|
value: TValue;
|
|
@@ -17356,8 +16659,6 @@ export declare function Select<Option = unknown, IsMulti extends boolean = false
|
|
|
17356
16659
|
export declare namespace Select {
|
|
17357
16660
|
var displayName: string;
|
|
17358
16661
|
}
|
|
17359
|
-
//#endregion
|
|
17360
|
-
//#region src/components/Select/NativeSelect/NativeSelect.d.ts
|
|
17361
16662
|
export type NativeSelectProps = {
|
|
17362
16663
|
/** Om brukeren kan fjerne verdien med en tømmeknapp. */
|
|
17363
16664
|
clearable?: boolean;
|
|
@@ -17365,11 +16666,7 @@ export type NativeSelectProps = {
|
|
|
17365
16666
|
readOnly?: InputProps['readOnly'];
|
|
17366
16667
|
} & CommonInputProps & Pick<InputProps, 'componentSize'> & InputIconProps & ComponentPropsWithRef<'select'>;
|
|
17367
16668
|
export declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, afterLabelContent, onChange, icon, ...rest }: NativeSelectProps) => import("react").JSX.Element;
|
|
17368
|
-
//#endregion
|
|
17369
|
-
//#region src/components/Select/utils.d.ts
|
|
17370
16669
|
export declare const createSelectOptions: <TValue extends string | number>(...args: Array<TValue>) => Array<SelectOption<TValue>>;
|
|
17371
|
-
//#endregion
|
|
17372
|
-
//#region src/components/Skeleton/Skeleton.d.ts
|
|
17373
16670
|
export type SkeletonProps = {
|
|
17374
16671
|
/**Hvor runde hjørner skal være. Støtter dds tokens.
|
|
17375
16672
|
* @default "surface"
|
|
@@ -17380,8 +16677,6 @@ export declare const Skeleton: {
|
|
|
17380
16677
|
({ borderRadius, className, ...rest }: SkeletonProps): import("react").JSX.Element;
|
|
17381
16678
|
displayName: string;
|
|
17382
16679
|
};
|
|
17383
|
-
//#endregion
|
|
17384
|
-
//#region src/components/SkipToContent/SkipToContent.d.ts
|
|
17385
16680
|
export type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
|
|
17386
16681
|
/** Teksten som vises i lenka.
|
|
17387
16682
|
* @default "Til hovedinnhold"
|
|
@@ -17398,8 +16693,6 @@ export declare const SkipToContent: {
|
|
|
17398
16693
|
({ text, top, id, className, htmlProps, style, ...rest }: SkipToContentProps): import("react").JSX.Element;
|
|
17399
16694
|
displayName: string;
|
|
17400
16695
|
};
|
|
17401
|
-
//#endregion
|
|
17402
|
-
//#region src/components/Spinner/Spinner.d.ts
|
|
17403
16696
|
export type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
17404
16697
|
/**Farge på spinneren.
|
|
17405
16698
|
* @default "iconActionResting"
|
|
@@ -17418,8 +16711,6 @@ export declare function Spinner(props: SpinnerProps): import("react").JSX.Elemen
|
|
|
17418
16711
|
export declare namespace Spinner {
|
|
17419
16712
|
var displayName: string;
|
|
17420
16713
|
}
|
|
17421
|
-
//#endregion
|
|
17422
|
-
//#region src/components/SplitButton/SplitButton.d.ts
|
|
17423
16714
|
export type SplitButtonPurpose = ExtractStrict<ButtonPurpose, 'primary' | 'secondary'>;
|
|
17424
16715
|
export type SplitButtonPrimaryActionProps = Omit<ButtonProps, 'size' | 'purpose'>;
|
|
17425
16716
|
export type SplitButtonSecondaryActionsProps = Array<OverflowMenuButtonProps>;
|
|
@@ -17437,15 +16728,11 @@ export declare const SplitButton: {
|
|
|
17437
16728
|
({ size, primaryAction, secondaryActions, purpose, className, ...rest }: SplitButtonProps): import("react").JSX.Element;
|
|
17438
16729
|
displayName: string;
|
|
17439
16730
|
};
|
|
17440
|
-
//#endregion
|
|
17441
|
-
//#region src/components/Table/Body.d.ts
|
|
17442
16731
|
type TableBodyProps = ComponentPropsWithRef<'tbody'>;
|
|
17443
16732
|
declare const Body: {
|
|
17444
16733
|
(props: TableBodyProps): import("react").JSX.Element;
|
|
17445
16734
|
displayName: string;
|
|
17446
16735
|
};
|
|
17447
|
-
//#endregion
|
|
17448
|
-
//#region src/components/Table/Cell.d.ts
|
|
17449
16736
|
type TableCellType = 'data' | 'head';
|
|
17450
16737
|
type TableCellLayout = 'left' | 'right' | 'center' | 'text and icon';
|
|
17451
16738
|
type TableCellProps = {
|
|
@@ -17469,8 +16756,6 @@ declare const Cell: {
|
|
|
17469
16756
|
({ children, type: _type, layout, collapseKey, className, ...rest }: TableCellProps): import("react").JSX.Element;
|
|
17470
16757
|
displayName: string;
|
|
17471
16758
|
};
|
|
17472
|
-
//#endregion
|
|
17473
|
-
//#region src/components/Table/FilterCell.d.ts
|
|
17474
16759
|
type SortOrder$1 = 'ascending' | 'descending';
|
|
17475
16760
|
type TableFilterCellProps = {
|
|
17476
16761
|
/**Sorteringsrekkefølge i kolonnen. Avgjør hvilket ikon skal vises i cellen og `aria-sort`. */
|
|
@@ -17488,19 +16773,13 @@ declare const FilterCell: {
|
|
|
17488
16773
|
({ sortOrder, children, className, badgeCount, popoverProps, popoverChildren, popoverGroupProps, ...rest }: TableFilterCellProps): import("react").JSX.Element;
|
|
17489
16774
|
displayName: string;
|
|
17490
16775
|
};
|
|
17491
|
-
//#endregion
|
|
17492
|
-
//#region src/components/Table/Foot.d.ts
|
|
17493
16776
|
type TableFootProps = ComponentPropsWithRef<'tfoot'>;
|
|
17494
16777
|
declare const Foot: {
|
|
17495
16778
|
(props: TableFootProps): import("react").JSX.Element;
|
|
17496
16779
|
displayName: string;
|
|
17497
16780
|
};
|
|
17498
|
-
//#endregion
|
|
17499
|
-
//#region src/components/Table/Head.d.ts
|
|
17500
16781
|
type TableHeadProps = ComponentPropsWithRef<'thead'>;
|
|
17501
16782
|
declare const Head: ({ children, ...rest }: TableHeadProps) => import("react").JSX.Element;
|
|
17502
|
-
//#endregion
|
|
17503
|
-
//#region src/components/Table/Row.d.ts
|
|
17504
16783
|
type TableRowType = 'body' | 'head';
|
|
17505
16784
|
type RowMode = 'normal' | 'sum';
|
|
17506
16785
|
type TableRowProps = {
|
|
@@ -17523,8 +16802,6 @@ declare const Row: {
|
|
|
17523
16802
|
({ type: _type, className, mode, children, ref, ...rest }: TableRowProps): React$1.JSX.Element;
|
|
17524
16803
|
displayName: string;
|
|
17525
16804
|
};
|
|
17526
|
-
//#endregion
|
|
17527
|
-
//#region src/components/Table/SortCell.d.ts
|
|
17528
16805
|
type SortOrder = 'ascending' | 'descending';
|
|
17529
16806
|
type TableSortCellProps = {
|
|
17530
16807
|
/**Spesifiserer om kolonnen er sortert. */
|
|
@@ -17538,8 +16815,6 @@ declare const SortCell: {
|
|
|
17538
16815
|
({ isSorted, sortOrder, onClick, children, ...rest }: TableSortCellProps): import("react").JSX.Element;
|
|
17539
16816
|
displayName: string;
|
|
17540
16817
|
};
|
|
17541
|
-
//#endregion
|
|
17542
|
-
//#region src/components/Table/Table.d.ts
|
|
17543
16818
|
type TableSize = Extract<Size$1, 'small' | 'medium' | 'large'>;
|
|
17544
16819
|
type TableProps = {
|
|
17545
16820
|
/**
|
|
@@ -17562,15 +16837,11 @@ declare const Table$1: {
|
|
|
17562
16837
|
({ size, stickyHeader, withDividers, withStripes, className, children, collapseBelow, ...rest }: TableProps): import("react").JSX.Element;
|
|
17563
16838
|
displayName: string;
|
|
17564
16839
|
};
|
|
17565
|
-
//#endregion
|
|
17566
|
-
//#region src/components/Table/TableWrapper.d.ts
|
|
17567
16840
|
type TableWrapperProps = HTMLAttributes<HTMLDivElement>;
|
|
17568
16841
|
export declare const TableWrapper: {
|
|
17569
16842
|
({ className, ...rest }: TableWrapperProps): import("react").JSX.Element;
|
|
17570
16843
|
displayName: string;
|
|
17571
16844
|
};
|
|
17572
|
-
//#endregion
|
|
17573
|
-
//#region src/components/Table/index.d.ts
|
|
17574
16845
|
type TableCompoundProps = typeof Table$1 & {
|
|
17575
16846
|
Wrapper: typeof TableWrapper;
|
|
17576
16847
|
Head: typeof Head;
|
|
@@ -17582,8 +16853,6 @@ type TableCompoundProps = typeof Table$1 & {
|
|
|
17582
16853
|
FilterCell: typeof FilterCell;
|
|
17583
16854
|
};
|
|
17584
16855
|
declare const Table: TableCompoundProps;
|
|
17585
|
-
//#endregion
|
|
17586
|
-
//#region src/components/Tabs/AddTabButton.d.ts
|
|
17587
16856
|
export type AddTabButtonProps = {
|
|
17588
16857
|
/** Bredden. Her er det støtte for de samme enhetene som du kan bruke i `grid-template-columns`.
|
|
17589
16858
|
* @default "1fr"
|
|
@@ -17595,8 +16864,6 @@ export declare const AddTabButton: {
|
|
|
17595
16864
|
({ ref, children, index, className, width, ...rest }: AddTabButtonProps): import("react").JSX.Element;
|
|
17596
16865
|
displayName: string;
|
|
17597
16866
|
};
|
|
17598
|
-
//#endregion
|
|
17599
|
-
//#region src/components/Tabs/Tabs.d.ts
|
|
17600
16867
|
declare const TABS_SIZES: ["small", "medium"];
|
|
17601
16868
|
type TabSize = (typeof TABS_SIZES)[number];
|
|
17602
16869
|
type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
@@ -17617,8 +16884,6 @@ export declare const Tabs: {
|
|
|
17617
16884
|
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, style, htmlProps, ...rest }: TabsProps): import("react").JSX.Element;
|
|
17618
16885
|
displayName: string;
|
|
17619
16886
|
};
|
|
17620
|
-
//#endregion
|
|
17621
|
-
//#region src/components/Tabs/Tab.d.ts
|
|
17622
16887
|
type PickedAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onKeyDown'>;
|
|
17623
16888
|
export type TabProps = BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
17624
16889
|
/**Spesifiserer om fanen er aktiv.
|
|
@@ -17643,15 +16908,11 @@ export declare const Tab: {
|
|
|
17643
16908
|
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, style, width, ref, badgeProps, ...rest }: TabProps): import("react").JSX.Element;
|
|
17644
16909
|
displayName: string;
|
|
17645
16910
|
};
|
|
17646
|
-
//#endregion
|
|
17647
|
-
//#region src/components/Tabs/TabList.d.ts
|
|
17648
16911
|
export type TabListProps = ComponentPropsWithRef<'div'>;
|
|
17649
16912
|
export declare const TabList: {
|
|
17650
16913
|
({ children, id, style, onFocus, ref, ...rest }: TabListProps): import("react").JSX.Element;
|
|
17651
16914
|
displayName: string;
|
|
17652
16915
|
};
|
|
17653
|
-
//#endregion
|
|
17654
|
-
//#region src/components/Tabs/TabPanel.d.ts
|
|
17655
16916
|
export type TabPanelProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17656
16917
|
/** Spesifiserer om panelet skal vises basert på aktiv fane. */
|
|
17657
16918
|
active?: boolean;
|
|
@@ -17664,15 +16925,11 @@ export declare const TabPanel: {
|
|
|
17664
16925
|
({ active, children, id, className, style, htmlProps, padding, ...rest }: TabPanelProps): import("react").JSX.Element;
|
|
17665
16926
|
displayName: string;
|
|
17666
16927
|
};
|
|
17667
|
-
//#endregion
|
|
17668
|
-
//#region src/components/Tabs/TabPanels.d.ts
|
|
17669
16928
|
export type TabPanelsProps = Pick<ResponsiveProps, 'padding' | 'paddingBlock' | 'paddingInline'> & ComponentPropsWithRef<'div'>;
|
|
17670
16929
|
export declare const TabPanels: {
|
|
17671
16930
|
({ children, ref, ...rest }: TabPanelsProps): import("react").JSX.Element;
|
|
17672
16931
|
displayName: string;
|
|
17673
16932
|
};
|
|
17674
|
-
//#endregion
|
|
17675
|
-
//#region src/components/Tag/Tag.d.ts
|
|
17676
16933
|
declare const TAG_PURPOSES: ["success", "info", "danger", "warning", "neutral"];
|
|
17677
16934
|
declare const TAG_SIZES: ["small", "medium"];
|
|
17678
16935
|
declare const TAG_COLORS: readonly ["teal", "blue", "red", "green", "magenta", "purple", "olive", "gray", "brown", "deepblue"];
|
|
@@ -17735,8 +16992,6 @@ export declare const Tag: {
|
|
|
17735
16992
|
({ purpose, appearance, id, className, style, children, htmlProps, withIcon, size, color, ...rest }: TagProps): import("react").JSX.Element;
|
|
17736
16993
|
displayName: string;
|
|
17737
16994
|
};
|
|
17738
|
-
//#endregion
|
|
17739
|
-
//#region src/components/TextArea/TextArea.d.ts
|
|
17740
16995
|
export type TextAreaProps = CommonInputProps & {
|
|
17741
16996
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt.
|
|
17742
16997
|
* @default true
|
|
@@ -17747,8 +17002,6 @@ export declare const TextArea: {
|
|
|
17747
17002
|
({ id, value, defaultValue, onChange, errorMessage, required, tip, label, readOnly, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, maxLength, withCharacterCounter, className, style, width, ref, ...rest }: TextAreaProps): import("react").JSX.Element;
|
|
17748
17003
|
displayName: string;
|
|
17749
17004
|
};
|
|
17750
|
-
//#endregion
|
|
17751
|
-
//#region src/components/TextInput/TextInput.types.d.ts
|
|
17752
17005
|
export type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
17753
17006
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt. */
|
|
17754
17007
|
withCharacterCounter?: boolean;
|
|
@@ -17764,14 +17017,10 @@ export type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
|
17764
17017
|
export interface TextAffixProps {
|
|
17765
17018
|
readOnly?: boolean;
|
|
17766
17019
|
}
|
|
17767
|
-
//#endregion
|
|
17768
|
-
//#region src/components/TextInput/TextInput.d.ts
|
|
17769
17020
|
export declare const TextInput: {
|
|
17770
17021
|
({ label, afterLabelContent, disabled, readOnly, errorMessage, tip, required, maxLength, onChange, id, width, componentSize, type, withCharacterCounter, className, style, value, defaultValue, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, icon, prefix, suffix, ref, ...rest }: TextInputProps): React$1.JSX.Element;
|
|
17771
17022
|
displayName: string;
|
|
17772
17023
|
};
|
|
17773
|
-
//#endregion
|
|
17774
|
-
//#region src/components/ToggleBar/ToggleBar.types.d.ts
|
|
17775
17024
|
type ToggleBarValue = string | number | null | undefined;
|
|
17776
17025
|
declare const TOGGLE_BAR_SIZES: ["xsmall", "small", "medium", "large"];
|
|
17777
17026
|
type ToggleBarSize = (typeof TOGGLE_BAR_SIZES)[number];
|
|
@@ -17798,14 +17047,10 @@ type ToggleBarProps<T extends string | number> = BaseComponentPropsWithChildren<
|
|
|
17798
17047
|
/**Bredden til komponenten. Bredden fordeles likt mellom barna. */
|
|
17799
17048
|
width?: ResponsiveProps['width'];
|
|
17800
17049
|
}, InputHTMLAttributes<HTMLInputElement>>;
|
|
17801
|
-
//#endregion
|
|
17802
|
-
//#region src/components/ToggleBar/ToggleBar.d.ts
|
|
17803
17050
|
export declare const ToggleBar: {
|
|
17804
17051
|
<T extends string | number = string>(props: ToggleBarProps<T>): import("react").JSX.Element;
|
|
17805
17052
|
displayName: string;
|
|
17806
17053
|
};
|
|
17807
|
-
//#endregion
|
|
17808
|
-
//#region src/components/ToggleBar/ToggleRadio.d.ts
|
|
17809
17054
|
export type ToggleRadioProps = BaseComponentProps<HTMLInputElement, {
|
|
17810
17055
|
/**Ledetekst som vises i komponenten. */
|
|
17811
17056
|
label?: string;
|
|
@@ -17816,8 +17061,6 @@ export declare const ToggleRadio: {
|
|
|
17816
17061
|
({ value, name, onChange, checked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, icon, label, htmlProps, className, style, id, ...rest }: ToggleRadioProps): import("react").JSX.Element;
|
|
17817
17062
|
displayName: string;
|
|
17818
17063
|
};
|
|
17819
|
-
//#endregion
|
|
17820
|
-
//#region src/components/Tooltip/Tooltip.d.ts
|
|
17821
17064
|
type AnchorElement = ReactElement<HTMLAttributes<HTMLElement> & {
|
|
17822
17065
|
ref: Ref<HTMLElement>;
|
|
17823
17066
|
}>;
|
|
@@ -17843,13 +17086,10 @@ export declare const Tooltip: {
|
|
|
17843
17086
|
({ text, placement, children, tooltipId, delay, style, onMouseLeave, onMouseOver, keepMounted, id, ref, className, htmlProps, ...rest }: TooltipProps): import("react").JSX.Element;
|
|
17844
17087
|
displayName: string;
|
|
17845
17088
|
};
|
|
17846
|
-
//#endregion
|
|
17847
|
-
//#region src/components/VisuallyHidden/VisuallyHidden.d.ts
|
|
17848
17089
|
export type VisuallyHiddenProps<T extends ElementType = 'span'> = PolymorphicBaseComponentProps<T>;
|
|
17849
17090
|
export declare const VisuallyHidden: {
|
|
17850
17091
|
<T extends ElementType = "span">({ id, as: asProp, className, style, htmlProps, ...rest }: VisuallyHiddenProps<T>): import("react").JSX.Element;
|
|
17851
17092
|
displayName: string;
|
|
17852
17093
|
};
|
|
17853
|
-
//#endregion
|
|
17854
17094
|
export { type BadgeInComponentProps, type BadgeProps, type BadgePurpose, type BadgeSize, Bleed$1 as Bleed, type BleedProps, type Breakpoint, type ButtonProps, type ButtonPurpose, type ButtonSize, type CalendarProps, type CardProps, type CardSelectableProps, Chip, type ChipButtonProps, type ChipCheckboxProps, type ChipGroupProps, type ChipRadioProps, type ChipRemovableProps, type ChipSize, type DatePickerProps, type DdsTheme, type DrawerPlacement, type DrawerProps, type DrawerSize, type ErrorSummaryItemProps, type ErrorSummaryProps, type FavStarProps, type GlobalMessageProps, type GlobalMessagePurpose, type IconPosition, type IconProps, type IconSize, type InlineEditInputProps, type InlineEditSelectProps, type InlineEditTextAreaProps, type NewsPopoverProps, type ParagraphProps, type PhoneInputProps, type ProgressBarProps, type ProgressBarSize, type Purpose, type RadioButtonProps, type RadioValue, type ResponsiveProps, type ResponsiveStackProps, Search, type SearchAutocompleteWrapperProps, type SearchData, type SearchProps, type SearchSuggestionsProps, type SelectionControlSize, type Size$1 as Size, type SortOrder, type SpacingScale, type SvgIcon, type SvgProps, type TabSize, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, FilterCell as TableFilterCell, type TableFilterCellProps, 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, type TabsProps, type TagAppearance, type TagColor, type TagProps, type TagPurpose, type TagSize, type TimePickerProps, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, type ToggleProps, type ToggleSize, type WeightedSearchData, type ZIndex, index_d_exports as icons };
|
|
17855
17095
|
//# sourceMappingURL=index.d.mts.map
|