@norges-domstoler/dds-components 25.0.0 → 25.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1706 -2146
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +374 -404
- package/dist/index.d.cts +82 -839
- package/dist/index.d.mts +82 -838
- package/dist/index.mjs +1706 -2146
- package/dist/index.mjs.map +1 -1
- package/dist/{rolldown-runtime-DvY7y8dj.mjs → rolldown-runtime-D1lRXUGZ.mjs} +1 -2
- package/package.json +3 -3
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,63 +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
|
-
type SvgProps = {
|
|
360
|
-
title?: string;
|
|
361
|
-
} & SVGAttributes<SVGSVGElement>;
|
|
362
|
-
type SvgIcon = (props: SvgProps) => JSX.Element;
|
|
363
|
-
type IconStatesOf<I> = I extends {
|
|
364
|
-
states: ReadonlyArray<infer S>;
|
|
365
|
-
} ? S : never;
|
|
366
|
-
type SvgPropsWithState<I> = SvgProps & (IconStatesOf<I> extends never ? object : {
|
|
367
|
-
/**
|
|
368
|
-
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
369
|
-
*/
|
|
370
|
-
iconState?: IconStatesOf<I>;
|
|
371
|
-
});
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region src/components/Button/Button.types.d.ts
|
|
374
|
-
declare const BUTTON_SIZES: ["xsmall", "small", "medium", "large"];
|
|
375
|
-
declare const BUTTON_PURPOSES: ["primary", "secondary", "primary-danger", "secondary-danger", "tertiary"];
|
|
376
|
-
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
377
|
-
type ButtonPurpose = (typeof BUTTON_PURPOSES)[number];
|
|
378
|
-
type IconPosition = 'left' | 'right';
|
|
379
|
-
type PickedHTMLAttributes$3 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type' | 'aria-label'>;
|
|
380
|
-
type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'> = PolymorphicBaseComponentProps<T, {
|
|
381
|
-
/** Størrelsen på knappen.
|
|
382
|
-
* @default "medium"
|
|
383
|
-
*/
|
|
384
|
-
size?: ButtonSize;
|
|
385
|
-
/**Innhold i knappen (unntatt ikon). */
|
|
386
|
-
children?: ReactNode;
|
|
387
|
-
/**Bestemmer farger basert på formål.
|
|
388
|
-
* @default "primary"
|
|
389
|
-
*/
|
|
390
|
-
purpose?: ButtonPurpose;
|
|
391
|
-
/** Posisjonen til ikonet i forhold til teksten.
|
|
392
|
-
* @default "left"
|
|
393
|
-
*/
|
|
394
|
-
iconPosition?: IconPosition;
|
|
395
|
-
/**Indikerer en loading-knapp. */
|
|
396
|
-
loading?: boolean;
|
|
397
|
-
/** Tooltip som vises ved loading.
|
|
398
|
-
* @default "Lagring pågår"
|
|
399
|
-
*/
|
|
400
|
-
loadingTooltip?: string;
|
|
401
|
-
/**Ikonet som ligger i knappen. */
|
|
402
|
-
icon?: I;
|
|
403
|
-
/**
|
|
404
|
-
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
405
|
-
*/
|
|
406
|
-
iconState?: IconStatesOf<I>;
|
|
407
|
-
/**Knapp med full bredde. */
|
|
408
|
-
fullWidth?: boolean;
|
|
409
|
-
/**Props for `<Badge>` som vises på knappen. */
|
|
410
|
-
badgeProps?: Omit<BadgeProps, 'size'>;
|
|
411
|
-
} & PickedHTMLAttributes$3>;
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region ../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts
|
|
414
336
|
interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
415
337
|
/**
|
|
416
338
|
* This feature is not Baseline because it does not work in some of the most widely-used browsers.
|
|
@@ -10838,23 +10760,30 @@ declare namespace DataType {
|
|
|
10838
10760
|
type TryTactic = "flip-block" | "flip-inline" | "flip-start" | (string & {});
|
|
10839
10761
|
type VisualBox = "border-box" | "content-box" | "padding-box";
|
|
10840
10762
|
}
|
|
10841
|
-
//#endregion
|
|
10842
|
-
//#region src/utils/color.d.ts
|
|
10843
10763
|
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
10764
|
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
10765
|
type DDSTextColor = (typeof TEXT_COLORS)[number];
|
|
10846
10766
|
type DDSIconColor = (typeof ICON_COLORS)[number];
|
|
10847
10767
|
type TextColor = DDSTextColor | Property.Color;
|
|
10848
10768
|
type IconColor = DDSIconColor | Property.Color;
|
|
10849
|
-
//#endregion
|
|
10850
|
-
//#region src/utils/dom.d.ts
|
|
10851
10769
|
/**
|
|
10852
10770
|
* Join class names together.
|
|
10853
10771
|
* Will filter out all falsy values.
|
|
10854
10772
|
*/
|
|
10855
10773
|
export declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
10856
|
-
|
|
10857
|
-
|
|
10774
|
+
type SvgProps = {
|
|
10775
|
+
title?: string;
|
|
10776
|
+
} & SVGAttributes<SVGSVGElement>;
|
|
10777
|
+
type SvgIcon = (props: SvgProps) => JSX.Element;
|
|
10778
|
+
type IconStatesOf<I> = I extends {
|
|
10779
|
+
states: ReadonlyArray<infer S>;
|
|
10780
|
+
} ? S : never;
|
|
10781
|
+
type SvgPropsWithState<I> = SvgProps & (IconStatesOf<I> extends never ? object : {
|
|
10782
|
+
/**
|
|
10783
|
+
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
10784
|
+
*/
|
|
10785
|
+
iconState?: IconStatesOf<I>;
|
|
10786
|
+
});
|
|
10858
10787
|
declare const ICON_SIZES: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "inherit", "component"];
|
|
10859
10788
|
type IconSize = (typeof ICON_SIZES)[number];
|
|
10860
10789
|
type IconProps<I extends SvgIcon = SvgIcon> = BaseComponentProps<SVGSVGElement, {
|
|
@@ -10877,14 +10806,48 @@ export declare function Icon<I extends SvgIcon = SvgIcon>(props: IconProps<I>):
|
|
|
10877
10806
|
export declare namespace Icon {
|
|
10878
10807
|
var displayName: string;
|
|
10879
10808
|
}
|
|
10880
|
-
|
|
10881
|
-
|
|
10809
|
+
declare const BUTTON_SIZES: ["xsmall", "small", "medium", "large"];
|
|
10810
|
+
declare const BUTTON_PURPOSES: ["primary", "secondary", "primary-danger", "secondary-danger", "tertiary"];
|
|
10811
|
+
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
10812
|
+
type ButtonPurpose = (typeof BUTTON_PURPOSES)[number];
|
|
10813
|
+
type IconPosition = 'left' | 'right';
|
|
10814
|
+
type PickedHTMLAttributes$3 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type' | 'aria-label'>;
|
|
10815
|
+
type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'> = PolymorphicBaseComponentProps<T, {
|
|
10816
|
+
/** Størrelsen på knappen.
|
|
10817
|
+
* @default "medium"
|
|
10818
|
+
*/
|
|
10819
|
+
size?: ButtonSize;
|
|
10820
|
+
/**Innhold i knappen (unntatt ikon). */
|
|
10821
|
+
children?: ReactNode;
|
|
10822
|
+
/**Bestemmer farger basert på formål.
|
|
10823
|
+
* @default "primary"
|
|
10824
|
+
*/
|
|
10825
|
+
purpose?: ButtonPurpose;
|
|
10826
|
+
/** Posisjonen til ikonet i forhold til teksten.
|
|
10827
|
+
* @default "left"
|
|
10828
|
+
*/
|
|
10829
|
+
iconPosition?: IconPosition;
|
|
10830
|
+
/**Indikerer en loading-knapp. */
|
|
10831
|
+
loading?: boolean;
|
|
10832
|
+
/** Tooltip som vises ved loading.
|
|
10833
|
+
* @default "Lagring pågår"
|
|
10834
|
+
*/
|
|
10835
|
+
loadingTooltip?: string;
|
|
10836
|
+
/**Ikonet som ligger i knappen. */
|
|
10837
|
+
icon?: I;
|
|
10838
|
+
/**
|
|
10839
|
+
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
10840
|
+
*/
|
|
10841
|
+
iconState?: IconStatesOf<I>;
|
|
10842
|
+
/**Knapp med full bredde. */
|
|
10843
|
+
fullWidth?: boolean;
|
|
10844
|
+
/**Props for `<Badge>` som vises på knappen. */
|
|
10845
|
+
badgeProps?: Omit<BadgeProps, 'size'>;
|
|
10846
|
+
} & PickedHTMLAttributes$3>;
|
|
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,367 @@ 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
|
-
|
|
11835
|
-
|
|
11505
|
+
/** Settings and tools. Search terms: opptak, recording, utstyr, equipment. */
|
|
11506
|
+
export declare function RecorderIcon(props: SvgProps): import("react").JSX.Element;
|
|
11836
11507
|
/** Edit. Search terms: gjenta, redo, frem, forward, pil, arrow. */
|
|
11837
11508
|
export declare function RedoIcon(props: SvgProps): import("react").JSX.Element;
|
|
11838
|
-
//#endregion
|
|
11839
|
-
//#region src/components/Icon/icons/rows.d.ts
|
|
11840
11509
|
/** UI manipulate. Search terms: rader, rows, liste, list, tabell, table, linjer, lines. */
|
|
11841
11510
|
export declare function RowsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11842
|
-
//#endregion
|
|
11843
|
-
//#region src/components/Icon/icons/refresh.d.ts
|
|
11844
11511
|
/** Refresh and load. Search terms: oppdater, refresh, last på nytt, reload. */
|
|
11845
11512
|
export declare function RefreshIcon(props: SvgProps): import("react").JSX.Element;
|
|
11846
|
-
//#endregion
|
|
11847
|
-
//#region src/components/Icon/icons/replay.d.ts
|
|
11848
11513
|
/** Refresh and load. Search terms: spill av igjen, replay, gjenta, repeat, loop, start igjen, pil, arrow. */
|
|
11849
11514
|
export declare function ReplayIcon(props: SvgProps): import("react").JSX.Element;
|
|
11850
|
-
//#endregion
|
|
11851
|
-
//#region src/components/Icon/icons/scale.d.ts
|
|
11852
11515
|
/** Domain. Search terms: vekt, scale, justice, balanse, balance, lov, law, likhet, equality, rettferdighet, fairness. */
|
|
11853
11516
|
export declare function ScaleIcon(props: SvgProps): import("react").JSX.Element;
|
|
11854
|
-
//#endregion
|
|
11855
|
-
//#region src/components/Icon/icons/search.d.ts
|
|
11856
11517
|
/** Search and filter. Search terms: søk, search, finn, find, forstørrelsesglass, magnifying glass. */
|
|
11857
11518
|
export declare function SearchIcon(props: SvgProps): import("react").JSX.Element;
|
|
11858
|
-
//#endregion
|
|
11859
|
-
//#region src/components/Icon/icons/section.d.ts
|
|
11860
11519
|
/** Domain. Search terms: paragraf, section, §, lov, law, regel, rule. */
|
|
11861
11520
|
export declare function SectionIcon(props: SvgProps): import("react").JSX.Element;
|
|
11862
|
-
//#endregion
|
|
11863
|
-
//#region src/components/Icon/icons/settings.d.ts
|
|
11864
11521
|
/** Settings and tools. Search terms: innstillinger, settings, tannhjul, gear, konfigurere, configure. */
|
|
11865
11522
|
export declare function SettingsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11866
|
-
//#endregion
|
|
11867
|
-
//#region src/components/Icon/icons/sms.d.ts
|
|
11868
11523
|
/** Communication. Search terms: sms, tekstmelding, text message, prikker, dots, melding, message. */
|
|
11869
11524
|
export declare function SmsIcon(props: SvgProps): import("react").JSX.Element;
|
|
11870
|
-
//#endregion
|
|
11871
|
-
//#region src/components/Icon/icons/star.d.ts
|
|
11872
11525
|
/** Settings and tools. Search terms: stjerne, star, favoritt, favorite, vurdering, rating, bokmerke, markere. */
|
|
11873
11526
|
export declare function StarIcon(props: SvgProps): import("react").JSX.Element;
|
|
11874
|
-
//#endregion
|
|
11875
|
-
//#region src/components/Icon/icons/starFilled.d.ts
|
|
11876
11527
|
/** Settings and tools. Search terms: stjerne, star, fylt, filled, favoritt, favorite, vurdering, rating, markere, bokmerke. */
|
|
11877
11528
|
export declare function StarFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11878
|
-
//#endregion
|
|
11879
|
-
//#region src/components/Icon/icons/starHalfFilled.d.ts
|
|
11880
11529
|
/** Settings and tools. Search terms: halvfylt stjerne, half star, favoritt, favorite, vurdering, rating. */
|
|
11881
11530
|
export declare function StarHalfFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11882
|
-
//#endregion
|
|
11883
|
-
//#region src/components/Icon/icons/stickyNote.d.ts
|
|
11884
11531
|
/** Document and file. Search terms: lapp, sticky note, notat, note, post-it, påminnelse, reminder. */
|
|
11885
11532
|
export declare function StickyNoteIcon(props: SvgProps): import("react").JSX.Element;
|
|
11886
|
-
//#endregion
|
|
11887
|
-
//#region src/components/Icon/icons/support.d.ts
|
|
11888
11533
|
/** Services. Search terms: support, hjelp, help, kundeservice, customer service, headset. */
|
|
11889
11534
|
export declare function SupportIcon(props: SvgProps): import("react").JSX.Element;
|
|
11890
|
-
//#endregion
|
|
11891
|
-
//#region src/components/Icon/icons/sun.d.ts
|
|
11892
11535
|
/** UI manipulate. Search terms: sol, sun, lys, light, modus, mode, dag, day. */
|
|
11893
11536
|
export declare function SunIcon(props: SvgProps): import("react").JSX.Element;
|
|
11894
|
-
//#endregion
|
|
11895
|
-
//#region src/components/Icon/icons/sunHalfFilled.d.ts
|
|
11896
11537
|
/** UI manipulate. Search terms: sol, sun, lys, light, dark, mørk, modus, mode, dag, day, night, natt, halv, half, bytte, switch. */
|
|
11897
11538
|
export declare function SunHalfFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11898
|
-
//#endregion
|
|
11899
|
-
//#region src/components/Icon/icons/sync.d.ts
|
|
11900
11539
|
/** Refresh and load. Search terms: synkroniser, sync, oppdater, update, last inn, load. */
|
|
11901
11540
|
export declare function SyncIcon(props: SvgProps): import("react").JSX.Element;
|
|
11902
|
-
//#endregion
|
|
11903
|
-
//#region src/components/Icon/icons/thumbdown.d.ts
|
|
11904
11541
|
/** Settings and tools. Search terms: tommel ned, thumb down, negative, dårlig, bad. */
|
|
11905
11542
|
export declare function ThumbDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11906
|
-
//#endregion
|
|
11907
|
-
//#region src/components/Icon/icons/thumbdownFilled.d.ts
|
|
11908
11543
|
/** Settings and tools. Search terms: tommel ned, thumb down, fylt, filled, negative, dårlig, bad. */
|
|
11909
11544
|
export declare function ThumbDownFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11910
|
-
//#endregion
|
|
11911
|
-
//#region src/components/Icon/icons/thumbup.d.ts
|
|
11912
11545
|
/** Settings and tools. Search terms: tommel opp, thumb up, positive, bra, good. */
|
|
11913
11546
|
export declare function ThumbUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11914
|
-
//#endregion
|
|
11915
|
-
//#region src/components/Icon/icons/thumbupFilled.d.ts
|
|
11916
11547
|
/** Settings and tools. Search terms: tommel opp, thumb up, fylt, filled, positive, bra, good. */
|
|
11917
11548
|
export declare function ThumbUpFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
11918
|
-
//#endregion
|
|
11919
|
-
//#region src/components/Icon/icons/time.d.ts
|
|
11920
11549
|
/** Date, time and place. Search terms: tid, time, klokke, clock, timer. */
|
|
11921
11550
|
export declare function TimeIcon(props: SvgProps): import("react").JSX.Element;
|
|
11922
|
-
//#endregion
|
|
11923
|
-
//#region src/components/Icon/icons/tingrett.d.ts
|
|
11924
11551
|
/** Brand. Search terms: tingrett, domstol, court, rett. */
|
|
11925
11552
|
export declare function TingrettIcon(props: SvgProps): import("react").JSX.Element;
|
|
11926
|
-
//#endregion
|
|
11927
|
-
//#region src/components/Icon/icons/tip.d.ts
|
|
11928
11553
|
/** Notifications. Search terms: tips, tip, hint, anbefaling, recommendation, lyspære, bulb. */
|
|
11929
11554
|
export declare function TipIcon(props: SvgProps): import("react").JSX.Element;
|
|
11930
|
-
//#endregion
|
|
11931
|
-
//#region src/components/Icon/icons/trash.d.ts
|
|
11932
11555
|
/** Edit. Search terms: søppel, trash, slett, delete, fjern, remove, papirkurv, bin. */
|
|
11933
11556
|
export declare function TrashIcon(props: SvgProps): import("react").JSX.Element;
|
|
11934
|
-
//#endregion
|
|
11935
|
-
//#region src/components/Icon/icons/undo.d.ts
|
|
11936
11557
|
/** Edit. Search terms: angre, undo, tilbake, back, reversere, reverse, pil, arrow. */
|
|
11937
11558
|
export declare function UndoIcon(props: SvgProps): import("react").JSX.Element;
|
|
11938
|
-
//#endregion
|
|
11939
|
-
//#region src/components/Icon/icons/unfoldLess.d.ts
|
|
11940
11559
|
/** Arrows and chevron. Search terms: fold inn, unfold less, kollaps, collapse, skjul, hide, kompakt, chevron. */
|
|
11941
11560
|
export declare function UnfoldLessIcon(props: SvgProps): import("react").JSX.Element;
|
|
11942
|
-
//#endregion
|
|
11943
|
-
//#region src/components/Icon/icons/unfoldMore.d.ts
|
|
11944
11561
|
/** Arrows and chevron. Search terms: fold ut, unfold more, utvid, expand, vis mer, show more, chevron. */
|
|
11945
11562
|
export declare function UnfoldMoreIcon(props: SvgProps): import("react").JSX.Element;
|
|
11946
|
-
//#endregion
|
|
11947
|
-
//#region src/components/Icon/icons/upload.d.ts
|
|
11948
11563
|
/** Document and file. Search terms: last opp, upload, del, share, fil, file, pil, arrow. */
|
|
11949
11564
|
export declare function UploadIcon(props: SvgProps): import("react").JSX.Element;
|
|
11950
|
-
//#endregion
|
|
11951
|
-
//#region src/components/Icon/icons/visibilityOff.d.ts
|
|
11952
11565
|
/** Access and people. Search terms: skjul, hide, synlighet, visibility, øye, eye, usynlig, invisible. */
|
|
11953
11566
|
export declare function VisibilityOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
11954
|
-
//#endregion
|
|
11955
|
-
//#region src/components/Icon/icons/visibilityOn.d.ts
|
|
11956
11567
|
/** Access and people. Search terms: vis, show, synlighet, visibility, øye, eye, synlig, visible. */
|
|
11957
11568
|
export declare function VisibilityOnIcon(props: SvgProps): import("react").JSX.Element;
|
|
11958
|
-
//#endregion
|
|
11959
|
-
//#region src/components/Icon/icons/warning.d.ts
|
|
11960
11569
|
/** Notifications. Search terms: advarsel, warning, obs, alert, forsiktig, caution. */
|
|
11961
11570
|
export declare function WarningIcon(props: SvgProps): import("react").JSX.Element;
|
|
11962
|
-
//#endregion
|
|
11963
|
-
//#region src/components/Icon/icons/webex.d.ts
|
|
11964
11571
|
/** Social. Search terms: webex, video, møte, meeting, videomøte. */
|
|
11965
11572
|
export declare function WebexIcon(props: SvgProps): import("react").JSX.Element;
|
|
11966
|
-
//#endregion
|
|
11967
|
-
//#region src/components/Icon/icons/x.d.ts
|
|
11968
11573
|
/** Social. Search terms: x, twitter, sosiale medier, social media. */
|
|
11969
11574
|
export declare function XIcon(props: SvgProps): import("react").JSX.Element;
|
|
11970
|
-
//#endregion
|
|
11971
|
-
//#region src/components/Icon/icons/zoomIn.d.ts
|
|
11972
11575
|
/** Zoom and add. Search terms: zoom inn, zoom in, forstørr, enlarge, forstørrelsesglass, magnify. */
|
|
11973
11576
|
export declare function ZoomInIcon(props: SvgProps): import("react").JSX.Element;
|
|
11974
|
-
//#endregion
|
|
11975
|
-
//#region src/components/Icon/icons/zoomOut.d.ts
|
|
11976
11577
|
/** Zoom and add. Search terms: zoom ut, zoom out, forminsk, shrink, forstørrelsesglass, magnify. */
|
|
11977
11578
|
export declare function ZoomOutIcon(props: SvgProps): import("react").JSX.Element;
|
|
11978
|
-
//#endregion
|
|
11979
|
-
//#region src/components/Icon/icons/barChart.d.ts
|
|
11980
11579
|
/** Analytics. Search terms: søylediagram, bar chart, statistikk, statistics, diagram, chart. */
|
|
11981
11580
|
export declare function BarChartIcon(props: SvgProps): import("react").JSX.Element;
|
|
11982
|
-
//#endregion
|
|
11983
|
-
//#region src/components/Icon/icons/barChartBoxed.d.ts
|
|
11984
11581
|
/** Analytics. Search terms: søylediagram, bar chart, statistikk, statistics, diagram, boxed, boks. */
|
|
11985
11582
|
export declare function BarChartBoxedIcon(props: SvgProps): import("react").JSX.Element;
|
|
11986
|
-
//#endregion
|
|
11987
|
-
//#region src/components/Icon/icons/lineChart.d.ts
|
|
11988
11583
|
/** Analytics. Search terms: linjediagram, line chart, statistikk, statistics, diagram, chart, trend. */
|
|
11989
11584
|
export declare function LineChartIcon(props: SvgProps): import("react").JSX.Element;
|
|
11990
|
-
//#endregion
|
|
11991
|
-
//#region src/components/Icon/icons/trendingUp.d.ts
|
|
11992
11585
|
/** Analytics. Search terms: stigende trend, trending up, økning, increase, statistikk, statistics. */
|
|
11993
11586
|
export declare function TrendingUpIcon(props: SvgProps): import("react").JSX.Element;
|
|
11994
|
-
//#endregion
|
|
11995
|
-
//#region src/components/Icon/icons/trendingDown.d.ts
|
|
11996
11587
|
/** Analytics. Search terms: synkende trend, trending down, nedgang, decrease, statistikk, statistics. */
|
|
11997
11588
|
export declare function TrendingDownIcon(props: SvgProps): import("react").JSX.Element;
|
|
11998
|
-
//#endregion
|
|
11999
|
-
//#region src/components/Icon/icons/helpSimple.d.ts
|
|
12000
11589
|
/** Notifications. Search terms: hjelp, help, enkel, simple, spørsmål, question, veiledning, guide. */
|
|
12001
11590
|
export declare function HelpSimpleIcon(props: SvgProps): import("react").JSX.Element;
|
|
12002
|
-
//#endregion
|
|
12003
|
-
//#region src/components/Icon/icons/animated/AnimatedChevronUpDown/AnimatedChevronUpDown.d.ts
|
|
12004
11591
|
declare const STATES: readonly ["up", "down"];
|
|
12005
11592
|
export type AnimatedChevronUpDownIconStates = (typeof STATES)[number];
|
|
12006
11593
|
/** Arrows and chevron. Search terms: animert, animated, chevron, pil, arrow, opp, ned, up, down. */
|
|
@@ -12010,35 +11597,21 @@ export declare function AnimatedChevronUpDownIcon(props: SvgProps & {
|
|
|
12010
11597
|
export declare namespace AnimatedChevronUpDownIcon {
|
|
12011
11598
|
var states: readonly ["up", "down"];
|
|
12012
11599
|
}
|
|
12013
|
-
//#endregion
|
|
12014
|
-
//#region src/components/Icon/icons/flag.d.ts
|
|
12015
11600
|
/** Notifications. Search terms: flagg, marker, mark, rapporter, report. */
|
|
12016
11601
|
export declare function FlagIcon(props: SvgProps): import("react").JSX.Element;
|
|
12017
|
-
//#endregion
|
|
12018
|
-
//#region src/components/Icon/icons/flagFilled.d.ts
|
|
12019
11602
|
/** Notifications. Search terms: flagg, fylt, filled, markere, rapporter, report. */
|
|
12020
11603
|
export declare function FlagFilledIcon(props: SvgProps): import("react").JSX.Element;
|
|
12021
|
-
//#endregion
|
|
12022
|
-
//#region src/components/Icon/icons/locationOff.d.ts
|
|
12023
11604
|
/** Date, time and place. Search terms: plassering av, posisjon, location off, kart, map, sted, place, gps. */
|
|
12024
11605
|
export declare function LocationOffIcon(props: SvgProps): import("react").JSX.Element;
|
|
12025
|
-
//#endregion
|
|
12026
|
-
//#region src/components/Icon/icons/map.d.ts
|
|
12027
11606
|
/** Date, time and place. Search terms: kart, map, lokasjon, location, navigasjon, navigation. */
|
|
12028
11607
|
export declare function MapIcon(props: SvgProps): import("react").JSX.Element;
|
|
12029
|
-
//#endregion
|
|
12030
|
-
//#region src/components/Icon/icons/moon.d.ts
|
|
12031
11608
|
/** UI manipulate. Search terms: måne, moon, mørk, dark, natt, night, modus, mode. */
|
|
12032
11609
|
export declare function MoonIcon(props: SvgProps): import("react").JSX.Element;
|
|
12033
|
-
//#endregion
|
|
12034
|
-
//#region src/components/Icon/icons/notebookPen.d.ts
|
|
12035
11610
|
/** Document and file. Search terms: notatbok, notebook, penn, skrive, write, redigere, edit. */
|
|
12036
11611
|
export declare function NotebookPenIcon(props: SvgProps): import("react").JSX.Element;
|
|
12037
11612
|
declare namespace index_d_exports {
|
|
12038
|
-
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 };
|
|
11613
|
+
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, RecorderIcon, 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
11614
|
}
|
|
12040
|
-
//#endregion
|
|
12041
|
-
//#region src/hooks/useCallbackRef/useCallbackRef.d.ts
|
|
12042
11615
|
/**
|
|
12043
11616
|
* Hook som returnerer en callback-funksjon som refererer til den nyeste versjonen av den opprinnelige funksjonen.
|
|
12044
11617
|
* 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 +11640,6 @@ declare namespace index_d_exports {
|
|
|
12067
11640
|
|
|
12068
11641
|
*/
|
|
12069
11642
|
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
11643
|
/**
|
|
12073
11644
|
* Kombinerer refs for et element.
|
|
12074
11645
|
*
|
|
@@ -12087,8 +11658,6 @@ export declare function useCallbackRef<T extends (...args: Array<never>) => unkn
|
|
|
12087
11658
|
* ```
|
|
12088
11659
|
*/
|
|
12089
11660
|
export declare function useCombinedRef<T>(...refs: Array<Ref<T> | undefined>): RefCallback<T>;
|
|
12090
|
-
//#endregion
|
|
12091
|
-
//#region src/hooks/useControllableState/useControllableState.d.ts
|
|
12092
11661
|
export interface UseControllableStateProps<T> {
|
|
12093
11662
|
/**Verdi. */
|
|
12094
11663
|
value?: T;
|
|
@@ -12141,8 +11710,6 @@ export declare function useControllableGroupState<T>(props: UseControllableGroup
|
|
|
12141
11710
|
groupValue: T | undefined;
|
|
12142
11711
|
handleChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
12143
11712
|
};
|
|
12144
|
-
//#endregion
|
|
12145
|
-
//#region src/hooks/useFloatPosition/useFloatPosition.d.ts
|
|
12146
11713
|
export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
12147
11714
|
export interface UseFloatPositionOptions {
|
|
12148
11715
|
/**
|
|
@@ -12230,8 +11797,6 @@ interface UseFloatPosition {
|
|
|
12230
11797
|
* ```
|
|
12231
11798
|
*/
|
|
12232
11799
|
export declare const useFloatPosition: (arrowRef?: HTMLElement | null, options?: UseFloatPositionOptions) => UseFloatPosition;
|
|
12233
|
-
//#endregion
|
|
12234
|
-
//#region src/hooks/useFocusTrap/useFocusTrap.d.ts
|
|
12235
11800
|
/**
|
|
12236
11801
|
* Fanger fokus i en loop inni et element.
|
|
12237
11802
|
* @template {HTMLElement} T typen til container-elementet som fanger fokus.
|
|
@@ -12251,8 +11816,6 @@ export declare const useFloatPosition: (arrowRef?: HTMLElement | null, options?:
|
|
|
12251
11816
|
* ```
|
|
12252
11817
|
*/
|
|
12253
11818
|
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
11819
|
/**
|
|
12257
11820
|
* Sjekker om komponenten er mounted i DOM.
|
|
12258
11821
|
*
|
|
@@ -12274,8 +11837,6 @@ export declare function useFocusTrap<T extends HTMLElement>(active: boolean, ini
|
|
|
12274
11837
|
*
|
|
12275
11838
|
*/
|
|
12276
11839
|
export declare const useIsMounted: () => (() => boolean);
|
|
12277
|
-
//#endregion
|
|
12278
|
-
//#region src/hooks/useMountTransition/useMountTransition.d.ts
|
|
12279
11840
|
/**
|
|
12280
11841
|
* Tillater effekter og animasjoner å bli gjennomført like etter et element blir lagt til eller like før det blir fjernet fra DOM.
|
|
12281
11842
|
* @param {boolean} isMounted om elementet er mounted.
|
|
@@ -12310,8 +11871,6 @@ export declare const useIsMounted: () => (() => boolean);
|
|
|
12310
11871
|
* ```
|
|
12311
11872
|
*/
|
|
12312
11873
|
export declare const useMountTransition: (isMounted: boolean, unmountDelay: number) => boolean;
|
|
12313
|
-
//#endregion
|
|
12314
|
-
//#region src/hooks/useOnClickOutside/useOnClickOutside.d.ts
|
|
12315
11874
|
/**
|
|
12316
11875
|
* Kjører logikk når brukeren klikker utenfor espesifisert(e) element(er).
|
|
12317
11876
|
* @param {HTMLElement | null | undefined | Array<HTMLElement | null | undefined>} element HTML element(er) som overvåkes for klikk utenfor.
|
|
@@ -12329,8 +11888,6 @@ export declare const useMountTransition: (isMounted: boolean, unmountDelay: numb
|
|
|
12329
11888
|
* ```
|
|
12330
11889
|
*/
|
|
12331
11890
|
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
11891
|
/**
|
|
12335
11892
|
* Kjører logikk når spesifisert(e) tast(er) blir trykt ned.
|
|
12336
11893
|
* @param {string} key tasten som trykkes.
|
|
@@ -12347,8 +11904,6 @@ export declare function useOnClickOutside(element: RefObject<HTMLElement | null>
|
|
|
12347
11904
|
* ```
|
|
12348
11905
|
*/
|
|
12349
11906
|
export declare const useOnKeyDown: (key: string | Array<string>, handler: (event: KeyboardEvent) => void) => void;
|
|
12350
|
-
//#endregion
|
|
12351
|
-
//#region src/hooks/useReturnFocusOnBlur/useReturnFocusOnBlur.d.ts
|
|
12352
11907
|
/**
|
|
12353
11908
|
* Returnerer fokus til et element når første eller siste barn i en container mister fokus ved tastaturnavigasjon.
|
|
12354
11909
|
* @template {HTMLElement} T typen til container som skal returnere fous.
|
|
@@ -12388,8 +11943,6 @@ export declare const useOnKeyDown: (key: string | Array<string>, handler: (event
|
|
|
12388
11943
|
* ```
|
|
12389
11944
|
*/
|
|
12390
11945
|
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
11946
|
export declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is KeyboardEvent$1<Element>;
|
|
12394
11947
|
/**
|
|
12395
11948
|
* Bytter fokus mellom elementer i en gruppe med piltaster og ikke `Tab`, samt looper fokus i gruppen.
|
|
@@ -12418,8 +11971,6 @@ export declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e
|
|
|
12418
11971
|
* ```
|
|
12419
11972
|
*/
|
|
12420
11973
|
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
11974
|
export declare enum ScreenSize {
|
|
12424
11975
|
XSmall = 0,
|
|
12425
11976
|
Small = 1,
|
|
@@ -12441,8 +11992,6 @@ export declare enum ScreenSize {
|
|
|
12441
11992
|
* ```
|
|
12442
11993
|
*/
|
|
12443
11994
|
export declare const useScreenSize: () => ScreenSize;
|
|
12444
|
-
//#endregion
|
|
12445
|
-
//#region src/hooks/useWindowResize/useWindowResize.d.ts
|
|
12446
11995
|
/**
|
|
12447
11996
|
* Kjører logikk når vindusstørrelsen endrer seg.
|
|
12448
11997
|
* @param {() => void} handler funksjonen som skal kjøres.
|
|
@@ -12458,8 +12007,6 @@ export declare const useScreenSize: () => ScreenSize;
|
|
|
12458
12007
|
* ```
|
|
12459
12008
|
*/
|
|
12460
12009
|
export declare const useWindowResize: (handler: () => void) => void;
|
|
12461
|
-
//#endregion
|
|
12462
|
-
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
12463
12010
|
type DdsTheme = keyof typeof ddsTokens;
|
|
12464
12011
|
interface ThemeProviderProps {
|
|
12465
12012
|
/**
|
|
@@ -15493,42 +15040,26 @@ export declare function useTheme(): {
|
|
|
15493
15040
|
};
|
|
15494
15041
|
themeName: "core-dark" | "core-light" | "public-dark" | "public-light" | "supreme-dark" | "supreme-light";
|
|
15495
15042
|
};
|
|
15496
|
-
//#endregion
|
|
15497
|
-
//#region src/i18n/translation.types.d.ts
|
|
15498
15043
|
type Language = 'nb' | 'nn' | 'no' | 'en' | 'se';
|
|
15499
|
-
//#endregion
|
|
15500
|
-
//#region src/i18n/LanguageProvider.d.ts
|
|
15501
15044
|
interface LanguageProviderProps {
|
|
15502
15045
|
language: Language;
|
|
15503
15046
|
children?: ReactNode;
|
|
15504
15047
|
}
|
|
15505
|
-
//#endregion
|
|
15506
|
-
//#region src/DdsProvider/DdsProvider.d.ts
|
|
15507
15048
|
export type DdsProviderProps = LanguageProviderProps & ThemeProviderProps;
|
|
15508
15049
|
export declare function DdsProvider({ language, theme, children }: DdsProviderProps): import("react").JSX.Element;
|
|
15509
|
-
//#endregion
|
|
15510
|
-
//#region src/polymorphic/polymorphic.types.d.ts
|
|
15511
15050
|
type PropsOfWithRef<T extends ElementType> = ComponentPropsWithRef<T> & {
|
|
15512
15051
|
/** HTML- eller React-element som returneres. */
|
|
15513
15052
|
as?: T;
|
|
15514
15053
|
} & Omit<React.ComponentPropsWithRef<T>, 'as'>;
|
|
15515
|
-
//#endregion
|
|
15516
|
-
//#region src/polymorphic/ElementAs.d.ts
|
|
15517
15054
|
export type PolymorphicProps<T extends ElementType> = PropsOfWithRef<T>;
|
|
15518
15055
|
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
15056
|
export type AccordionProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
15522
15057
|
export declare const Accordion: {
|
|
15523
15058
|
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: AccordionProps): import("react").JSX.Element;
|
|
15524
15059
|
displayName: string;
|
|
15525
15060
|
};
|
|
15526
|
-
//#endregion
|
|
15527
|
-
//#region src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.d.ts
|
|
15528
15061
|
export declare function TextOverflowEllipsisWrapper({ className, ...rest }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
15529
15062
|
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
15063
|
export declare const TG_BODY_SHORT_TYPES: readonly ["body-short-xsmall", "body-short-small", "body-short-medium", "body-short-large"];
|
|
15533
15064
|
export declare const TG_BODY_LONG_TYPES: readonly ["body-long-xsmall", "body-long-small", "body-long-medium", "body-long-large"];
|
|
15534
15065
|
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 +15102,6 @@ export type TypographyComponentProps = CommonBlockTypographyProps & {
|
|
|
15571
15102
|
/**HTML tag som skal brukes istedenfor default definert via `typographyType`. */
|
|
15572
15103
|
as?: ElementType;
|
|
15573
15104
|
};
|
|
15574
|
-
//#endregion
|
|
15575
|
-
//#region src/components/Typography/Typography/Typography.d.ts
|
|
15576
15105
|
type AnchorTypographyProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
15577
15106
|
/**nativ `href`-prop ved `typographyType='a'`. */
|
|
15578
15107
|
href?: string | undefined;
|
|
@@ -15595,8 +15124,6 @@ export declare const Typography: {
|
|
|
15595
15124
|
(props: TypographyProps): import("react").JSX.Element;
|
|
15596
15125
|
displayName: string;
|
|
15597
15126
|
};
|
|
15598
|
-
//#endregion
|
|
15599
|
-
//#region src/components/Typography/Typography/Typography.utils.d.ts
|
|
15600
15127
|
export declare const getElementType: (element: TypographyType) => ElementType;
|
|
15601
15128
|
export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
15602
15129
|
export declare const isLegend: (as: ElementType) => boolean;
|
|
@@ -15604,8 +15131,6 @@ export declare const isCaption: (as: ElementType) => boolean;
|
|
|
15604
15131
|
export declare const inlineElements: Array<ElementType>;
|
|
15605
15132
|
export declare const isInlineElement: (as: ElementType) => as is InlineElement;
|
|
15606
15133
|
export declare const getColorCn: (color?: TextColor) => string | null;
|
|
15607
|
-
//#endregion
|
|
15608
|
-
//#region src/components/Typography/Caption/Caption.d.ts
|
|
15609
15134
|
export type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, {
|
|
15610
15135
|
/**Typografistil basert på utvalget for HTML heading elementer.
|
|
15611
15136
|
* @default 'heading-large'
|
|
@@ -15616,8 +15141,6 @@ export declare const Caption: {
|
|
|
15616
15141
|
({ typographyType, id, className, style, htmlProps, children, ...rest }: CaptionProps): import("react").JSX.Element;
|
|
15617
15142
|
displayName: string;
|
|
15618
15143
|
};
|
|
15619
|
-
//#endregion
|
|
15620
|
-
//#region src/components/Typography/Heading/Heading.d.ts
|
|
15621
15144
|
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
15622
15145
|
export type HeadingProps = BaseComponentPropsWithChildren<HTMLHeadingElement, {
|
|
15623
15146
|
/**Nivå på overskriften. Komponenten returnerer HTML heading element med dette nivået med default styling. */
|
|
@@ -15631,8 +15154,6 @@ export declare const Heading: {
|
|
|
15631
15154
|
({ id, className, style, htmlProps, children, typographyType, level, withMargins, withMarginsOverInput, ...rest }: HeadingProps): import("react").JSX.Element;
|
|
15632
15155
|
displayName: string;
|
|
15633
15156
|
};
|
|
15634
|
-
//#endregion
|
|
15635
|
-
//#region src/components/Typography/Label/Label.d.ts
|
|
15636
15157
|
type PickedHTMLAttributes$2 = Pick<LabelHTMLAttributes<HTMLLabelElement>, 'htmlFor'>;
|
|
15637
15158
|
export interface BaseLabelProps {
|
|
15638
15159
|
/** Om input knyttet til ledeteksten er påkrevd; påvirker styling. */
|
|
@@ -15647,8 +15168,6 @@ export declare const Label: {
|
|
|
15647
15168
|
({ showRequiredStyling, readOnly, id, className, style, htmlProps, children, afterLabelContent, ...rest }: LabelProps): import("react").JSX.Element;
|
|
15648
15169
|
displayName: string;
|
|
15649
15170
|
};
|
|
15650
|
-
//#endregion
|
|
15651
|
-
//#region src/components/Typography/Legend/Legend.d.ts
|
|
15652
15171
|
export type LegendProps = BaseComponentPropsWithChildren<HTMLLegendElement, CommonBlockTypographyProps & {
|
|
15653
15172
|
/**Typografistil basert på utvalget for HTML heading elementer. */
|
|
15654
15173
|
typographyType?: TypographyHeadingType;
|
|
@@ -15659,8 +15178,6 @@ export declare const Legend: {
|
|
|
15659
15178
|
({ id, className, style, htmlProps, typographyType, withMarginsOverInput, withMargins, ...rest }: LegendProps): import("react").JSX.Element;
|
|
15660
15179
|
displayName: string;
|
|
15661
15180
|
};
|
|
15662
|
-
//#endregion
|
|
15663
|
-
//#region src/components/Typography/Link/Link.d.ts
|
|
15664
15181
|
type PickedHTMLAttributes$1 = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href' | 'target'>;
|
|
15665
15182
|
export type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
15666
15183
|
/**Om lenken kan få `:visited`-styling. */
|
|
@@ -15681,8 +15198,6 @@ export declare const Link: {
|
|
|
15681
15198
|
<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
15199
|
displayName: string;
|
|
15683
15200
|
};
|
|
15684
|
-
//#endregion
|
|
15685
|
-
//#region src/components/Typography/Paragraph/Paragraph.d.ts
|
|
15686
15201
|
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
15202
|
type TypographyParagraphType = (typeof TG_PARAGRAPH_TYPES)[number];
|
|
15688
15203
|
type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
@@ -15695,8 +15210,6 @@ export declare const Paragraph: {
|
|
|
15695
15210
|
({ id, className, style, htmlProps, children, typographyType, ...rest }: ParagraphProps): import("react").JSX.Element;
|
|
15696
15211
|
displayName: string;
|
|
15697
15212
|
};
|
|
15698
|
-
//#endregion
|
|
15699
|
-
//#region src/components/Accordion/AccordionHeader.d.ts
|
|
15700
15213
|
export type AccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
15701
15214
|
/**Overskriver default teksttype.
|
|
15702
15215
|
* @default 'heading-medium'
|
|
@@ -15709,15 +15222,11 @@ export declare const AccordionHeader: {
|
|
|
15709
15222
|
({ children, className, style, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): import("react").JSX.Element;
|
|
15710
15223
|
displayName: string;
|
|
15711
15224
|
};
|
|
15712
|
-
//#endregion
|
|
15713
|
-
//#region src/components/Accordion/AccordionBody.d.ts
|
|
15714
15225
|
export type AccordionBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement>, 'id'>;
|
|
15715
15226
|
export declare const AccordionBody: {
|
|
15716
15227
|
({ children, className, style, htmlProps, ...rest }: AccordionBodyProps): import("react").JSX.Element;
|
|
15717
15228
|
displayName: string;
|
|
15718
15229
|
};
|
|
15719
|
-
//#endregion
|
|
15720
|
-
//#region src/components/BackLink/BackLink.d.ts
|
|
15721
15230
|
export type BackLinkProps = {
|
|
15722
15231
|
/**
|
|
15723
15232
|
* Ledetekst.
|
|
@@ -15732,16 +15241,12 @@ export declare const BackLink: {
|
|
|
15732
15241
|
({ label, ref, as, ...rest }: BackLinkProps): import("react").JSX.Element;
|
|
15733
15242
|
displayName: string;
|
|
15734
15243
|
};
|
|
15735
|
-
//#endregion
|
|
15736
|
-
//#region src/components/Breadcrumbs/Breadcrumb.d.ts
|
|
15737
15244
|
export type BreadcrumbProps = ComponentPropsWithRef<'a'> | ComponentPropsWithRef<'span'>;
|
|
15738
15245
|
export declare const isAnchorTypographyProps: (props: BreadcrumbProps) => props is ComponentPropsWithRef<"a">;
|
|
15739
15246
|
export declare const Breadcrumb: {
|
|
15740
15247
|
({ children, ref, ...rest }: BreadcrumbProps): import("react").JSX.Element;
|
|
15741
15248
|
displayName: string;
|
|
15742
15249
|
};
|
|
15743
|
-
//#endregion
|
|
15744
|
-
//#region src/components/Breadcrumbs/Breadcrumbs.d.ts
|
|
15745
15250
|
export type BreadcrumbsProps = BaseComponentProps<HTMLElement, {
|
|
15746
15251
|
/**
|
|
15747
15252
|
* Brekkpunkt for små skjermer.
|
|
@@ -15755,8 +15260,6 @@ export declare const Breadcrumbs: {
|
|
|
15755
15260
|
({ children, smallScreenBreakpoint, id, className, style, htmlProps, ...rest }: BreadcrumbsProps): import("react").JSX.Element;
|
|
15756
15261
|
displayName: string;
|
|
15757
15262
|
};
|
|
15758
|
-
//#endregion
|
|
15759
|
-
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
15760
15263
|
type PickedHTMLAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-label' | 'aria-labelledby'>;
|
|
15761
15264
|
export type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15762
15265
|
/**Retning for gruppen.
|
|
@@ -15780,8 +15283,6 @@ export declare const ButtonGroup: {
|
|
|
15780
15283
|
({ children, id, className, style, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): import("react").JSX.Element;
|
|
15781
15284
|
displayName: string;
|
|
15782
15285
|
};
|
|
15783
|
-
//#endregion
|
|
15784
|
-
//#region src/components/SelectionControl/common/SelectionControl.types.d.ts
|
|
15785
15286
|
declare const SELECTION_CONTROL_SIZES: ["small", "medium"];
|
|
15786
15287
|
type SelectionControlSize = (typeof SELECTION_CONTROL_SIZES)[number];
|
|
15787
15288
|
interface SelectionControlCommonProps {
|
|
@@ -15822,22 +15323,16 @@ interface SelectionControlGroupCommonProps {
|
|
|
15822
15323
|
*/
|
|
15823
15324
|
size?: SelectionControlSize;
|
|
15824
15325
|
}
|
|
15825
|
-
//#endregion
|
|
15826
|
-
//#region src/components/SelectionControl/Checkbox/Checkbox.types.d.ts
|
|
15827
15326
|
export type CheckboxPickedHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'name' | 'checked' | 'defaultChecked' | 'value' | 'defaultValue' | 'onChange' | 'onBlur'>;
|
|
15828
15327
|
export type CheckboxProps = BaseComponentProps<HTMLInputElement, SelectionControlCommonProps & {
|
|
15829
15328
|
/**Brukes ved nøstet struktur der alle `<Checkbox>` som hører til en gruppe kan bli valgt ved å trykke på en forelder `<Checkbox>`.
|
|
15830
15329
|
* Hvis enkelte `<Checkbox>` blir valgt men ikke alle, skal forelder `<Checkbox>` få tilstanden `indeterminate` - verken valgt eller ikke. */
|
|
15831
15330
|
indeterminate?: boolean;
|
|
15832
15331
|
} & CheckboxPickedHTMLAttributes & Pick<ComponentProps<'input'>, 'required'>, InputHTMLAttributes<HTMLInputElement>>;
|
|
15833
|
-
//#endregion
|
|
15834
|
-
//#region src/components/SelectionControl/Checkbox/Checkbox.d.ts
|
|
15835
15332
|
export declare const Checkbox: {
|
|
15836
15333
|
({ id, name, label, error, disabled, readOnly, indeterminate, "aria-describedby": ariaDescribedby, className, htmlProps, style, children, size, ...rest }: CheckboxProps): import("react").JSX.Element;
|
|
15837
15334
|
displayName: string;
|
|
15838
15335
|
};
|
|
15839
|
-
//#endregion
|
|
15840
|
-
//#region src/components/SelectionControl/Checkbox/CheckboxGroup.d.ts
|
|
15841
15336
|
export type CheckboxGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, SelectionControlGroupCommonProps & {
|
|
15842
15337
|
/**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
15338
|
required?: boolean;
|
|
@@ -15846,13 +15341,9 @@ export declare const CheckboxGroup: {
|
|
|
15846
15341
|
(props: CheckboxGroupProps): import("react").JSX.Element;
|
|
15847
15342
|
displayName: string;
|
|
15848
15343
|
};
|
|
15849
|
-
//#endregion
|
|
15850
|
-
//#region src/components/SelectionControl/RadioButton/RadioButton.types.d.ts
|
|
15851
15344
|
type RadioPickedInputHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'readOnly' | 'checked' | 'value' | 'required' | 'onChange' | 'aria-describedby'>;
|
|
15852
15345
|
type RadioButtonProps = BaseComponentProps<HTMLInputElement, SelectionControlCommonProps & RadioPickedInputHTMLAttributes>;
|
|
15853
15346
|
type RadioValue = RadioPickedInputHTMLAttributes['value'];
|
|
15854
|
-
//#endregion
|
|
15855
|
-
//#region src/components/Card/Card.types.d.ts
|
|
15856
15347
|
type CardAppearance = 'filled' | 'border';
|
|
15857
15348
|
type BaseCardProps<T extends HTMLElement> = BaseComponentPropsWithChildren<T, {
|
|
15858
15349
|
/** Utseende på komponenten.
|
|
@@ -15885,21 +15376,15 @@ type CardSelectableProps = BaseComponentPropsWithChildren<HTMLInputElement, Pick
|
|
|
15885
15376
|
top?: Property.Top;
|
|
15886
15377
|
};
|
|
15887
15378
|
} & RadioPickedInputHTMLAttributes & CheckboxPickedHTMLAttributes>;
|
|
15888
|
-
//#endregion
|
|
15889
|
-
//#region src/components/Card/Card.d.ts
|
|
15890
15379
|
export declare const Card: {
|
|
15891
15380
|
(props: CardProps): import("react").JSX.Element;
|
|
15892
15381
|
displayName: string;
|
|
15893
15382
|
};
|
|
15894
|
-
//#endregion
|
|
15895
|
-
//#region src/components/Card/CardExpandable/CardExpandable.d.ts
|
|
15896
15383
|
export type CardExpandableProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
15897
15384
|
export declare const CardExpandable: {
|
|
15898
15385
|
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: CardExpandableProps): import("react").JSX.Element;
|
|
15899
15386
|
displayName: string;
|
|
15900
15387
|
};
|
|
15901
|
-
//#endregion
|
|
15902
|
-
//#region src/components/Card/CardExpandable/CardExpandableHeader.d.ts
|
|
15903
15388
|
export type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
15904
15389
|
/**Overskriver default padding. */
|
|
15905
15390
|
padding?: Property.Padding<string>;
|
|
@@ -15912,8 +15397,6 @@ export declare const CardExpandableHeader: {
|
|
|
15912
15397
|
({ children, className, style, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): import("react").JSX.Element;
|
|
15913
15398
|
displayName: string;
|
|
15914
15399
|
};
|
|
15915
|
-
//#endregion
|
|
15916
|
-
//#region src/components/Card/CardExpandable/CardExpandableBody.d.ts
|
|
15917
15400
|
export type CardExpandableBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
15918
15401
|
/**Overskriver default padding. */
|
|
15919
15402
|
padding?: Property.Padding<string>;
|
|
@@ -15922,14 +15405,10 @@ export declare const CardExpandableBody: {
|
|
|
15922
15405
|
({ children, className, style, htmlProps, padding, ...rest }: CardExpandableBodyProps): import("react").JSX.Element;
|
|
15923
15406
|
displayName: string;
|
|
15924
15407
|
};
|
|
15925
|
-
//#endregion
|
|
15926
|
-
//#region src/components/Card/CardSelectionControl/CardSelectable.d.ts
|
|
15927
15408
|
export declare const CardSelectable: {
|
|
15928
15409
|
(props: CardSelectableProps): import("react").JSX.Element | null;
|
|
15929
15410
|
displayName: string;
|
|
15930
15411
|
};
|
|
15931
|
-
//#endregion
|
|
15932
|
-
//#region src/components/Card/CardSelectionControl/CardSelectableGroup.d.ts
|
|
15933
15412
|
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
15413
|
/** Spesifiserer inputtype som returneres. */
|
|
15935
15414
|
cardType: CardSelectableType;
|
|
@@ -15950,14 +15429,10 @@ export declare const CardSelectableGroup: {
|
|
|
15950
15429
|
<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
15430
|
displayName: string;
|
|
15952
15431
|
};
|
|
15953
|
-
//#endregion
|
|
15954
|
-
//#region src/components/SelectionControl/RadioButton/RadioButton.d.ts
|
|
15955
15432
|
export declare const RadioButton: {
|
|
15956
15433
|
({ 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
15434
|
displayName: string;
|
|
15958
15435
|
};
|
|
15959
|
-
//#endregion
|
|
15960
|
-
//#region src/components/SelectionControl/RadioButton/RadioButtonGroup.d.ts
|
|
15961
15436
|
export type RadioButtonGroupProps<T extends string | number> = BaseComponentPropsWithChildren<HTMLDivElement, SelectionControlGroupCommonProps & {
|
|
15962
15437
|
/** Gir alle barna `name` prop.*/
|
|
15963
15438
|
name?: string;
|
|
@@ -15974,8 +15449,6 @@ export declare const RadioButtonGroup: {
|
|
|
15974
15449
|
<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
15450
|
displayName: string;
|
|
15976
15451
|
};
|
|
15977
|
-
//#endregion
|
|
15978
|
-
//#region src/components/Chip/Chip.d.ts
|
|
15979
15452
|
declare const CHIP_SIZES: ["small", "medium"];
|
|
15980
15453
|
type ChipSize = (typeof CHIP_SIZES)[number];
|
|
15981
15454
|
type ChipType = 'button' | 'span' | typeof RadioButton | typeof Checkbox;
|
|
@@ -16020,8 +15493,6 @@ export declare const ChipRemovable: {
|
|
|
16020
15493
|
({ htmlProps, onClose, size, id, className, style, children, ...rest }: ChipRemovableProps): import("react").JSX.Element | null;
|
|
16021
15494
|
displayName: string;
|
|
16022
15495
|
};
|
|
16023
|
-
//#endregion
|
|
16024
|
-
//#region src/components/Chip/ChipGroup.d.ts
|
|
16025
15496
|
type ChipGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16026
15497
|
/** Ledetekst for gruppen. */
|
|
16027
15498
|
label?: string;
|
|
@@ -16032,8 +15503,6 @@ export declare const ChipGroup: {
|
|
|
16032
15503
|
(props: ChipGroupProps): import("react").JSX.Element;
|
|
16033
15504
|
displayName: string;
|
|
16034
15505
|
};
|
|
16035
|
-
//#endregion
|
|
16036
|
-
//#region src/components/Chip/index.d.ts
|
|
16037
15506
|
interface ChipCompoundProps {
|
|
16038
15507
|
Group: typeof ChipGroup;
|
|
16039
15508
|
Button: typeof ChipButton;
|
|
@@ -16042,8 +15511,6 @@ interface ChipCompoundProps {
|
|
|
16042
15511
|
Removable: typeof ChipRemovable;
|
|
16043
15512
|
}
|
|
16044
15513
|
declare const Chip: ChipCompoundProps;
|
|
16045
|
-
//#endregion
|
|
16046
|
-
//#region src/components/CookieBanner/CookieBannerCheckbox.d.ts
|
|
16047
15514
|
export type CookieBannerCheckboxProps = Omit<CheckboxProps, 'label' | 'children'> & {
|
|
16048
15515
|
/**Header - kort oppsummering av den spesifikke typen informasjonskapsel. */
|
|
16049
15516
|
headerText?: string;
|
|
@@ -16054,8 +15521,6 @@ export declare function CookieBannerCheckbox({ headerText, description, id, clas
|
|
|
16054
15521
|
export declare namespace CookieBannerCheckbox {
|
|
16055
15522
|
var displayName: string;
|
|
16056
15523
|
}
|
|
16057
|
-
//#endregion
|
|
16058
|
-
//#region src/components/CookieBanner/CookieBanner.d.ts
|
|
16059
15524
|
export type CookieBannerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16060
15525
|
/**Header - kort oppsummering. */
|
|
16061
15526
|
headerText?: string;
|
|
@@ -16072,15 +15537,11 @@ export declare function CookieBanner({ headerText, description, buttons, checkbo
|
|
|
16072
15537
|
export declare namespace CookieBanner {
|
|
16073
15538
|
var displayName: string;
|
|
16074
15539
|
}
|
|
16075
|
-
//#endregion
|
|
16076
|
-
//#region src/components/date-inputs/DatePicker/Calendar/Calendar.d.ts
|
|
16077
15540
|
type CalendarProps<T extends DateValue$1> = AriaCalendarProps<T>;
|
|
16078
15541
|
export declare function Calendar<T extends DateValue$1>(props: CalendarProps<T>): import("react").JSX.Element;
|
|
16079
15542
|
export declare namespace Calendar {
|
|
16080
15543
|
var displayName: string;
|
|
16081
15544
|
}
|
|
16082
|
-
//#endregion
|
|
16083
|
-
//#region src/components/helpers/Input/Input.types.d.ts
|
|
16084
15545
|
interface CommonInputProps {
|
|
16085
15546
|
/**Ledetekst. */
|
|
16086
15547
|
label?: string;
|
|
@@ -16105,8 +15566,6 @@ interface InputIconProps {
|
|
|
16105
15566
|
/** Ikonet som vises i komponenten. */
|
|
16106
15567
|
icon?: SvgIcon;
|
|
16107
15568
|
}
|
|
16108
|
-
//#endregion
|
|
16109
|
-
//#region src/components/date-inputs/DatePicker/DateField/DateField.d.ts
|
|
16110
15569
|
type DateFieldProps<T extends DateValue = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
16111
15570
|
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
16112
15571
|
buttonOnClick?: () => void;
|
|
@@ -16116,8 +15575,6 @@ type DateFieldProps<T extends DateValue = CalendarDate> = AriaDateFieldOptions<T
|
|
|
16116
15575
|
tipId?: string;
|
|
16117
15576
|
errorMessageId?: string;
|
|
16118
15577
|
} & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'disabled' | 'style' | 'width' | 'className'>;
|
|
16119
|
-
//#endregion
|
|
16120
|
-
//#region src/components/date-inputs/DatePicker/DatePicker.d.ts
|
|
16121
15578
|
interface DatePickerProps extends Omit<AriaDatePickerProps<CalendarDate>, 'granularity'>, Pick<DateFieldProps<CalendarDate>, 'componentSize' | 'tip' | 'style'>, Pick<ResponsiveProps, 'width'> {
|
|
16122
15579
|
ref?: Ref<HTMLElement>;
|
|
16123
15580
|
/**
|
|
@@ -16146,8 +15603,6 @@ export declare function DatePicker({ errorMessage, componentSize, tip, style, wi
|
|
|
16146
15603
|
export declare namespace DatePicker {
|
|
16147
15604
|
var displayName: string;
|
|
16148
15605
|
}
|
|
16149
|
-
//#endregion
|
|
16150
|
-
//#region src/components/date-inputs/TimePicker/TimePicker.d.ts
|
|
16151
15606
|
type TimePickerProps = Omit<AriaTimeFieldProps<Time>, 'hideTimeZone'> & Pick<InputProps, 'componentSize' | 'errorMessage' | 'tip' | 'style' | 'width' | 'className'> & {
|
|
16152
15607
|
ref?: Ref<HTMLDivElement>;
|
|
16153
15608
|
};
|
|
@@ -16155,15 +15610,11 @@ export declare function TimePicker({ componentSize, width, ref, ...props }: Time
|
|
|
16155
15610
|
export declare namespace TimePicker {
|
|
16156
15611
|
var displayName: string;
|
|
16157
15612
|
}
|
|
16158
|
-
//#endregion
|
|
16159
|
-
//#region src/components/date-inputs/utils/transform.d.ts
|
|
16160
15613
|
export declare function nativeDateToDateValue(date: Date, timeZone?: string | undefined): DateValue;
|
|
16161
15614
|
export declare function dateValueToNativeDate(date: DateValue, timeZone?: string | undefined): Date;
|
|
16162
15615
|
export declare function nativeDateToCalendarDate(date: Date): CalendarDate;
|
|
16163
15616
|
export declare function nativeDateToTime(date: Date): Time;
|
|
16164
15617
|
export declare function calendarDateToNativeDate(date: CalendarDate, time?: Time): Date;
|
|
16165
|
-
//#endregion
|
|
16166
|
-
//#region src/components/DescriptionList/DescriptionList.d.ts
|
|
16167
15618
|
export type DescriptionListAppearance = 'default' | 'subtle';
|
|
16168
15619
|
export type DescriptionListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
16169
15620
|
/**Påvirker tekst styling. */
|
|
@@ -16177,15 +15628,11 @@ export declare const DescriptionList: {
|
|
|
16177
15628
|
({ appearance, direction, children, id, className, style, htmlProps, ...rest }: DescriptionListProps): import("react").JSX.Element;
|
|
16178
15629
|
displayName: string;
|
|
16179
15630
|
};
|
|
16180
|
-
//#endregion
|
|
16181
|
-
//#region src/components/DescriptionList/DescriptionListTerm.d.ts
|
|
16182
15631
|
export type DescriptionListTermProps = ComponentPropsWithRef<'dt'>;
|
|
16183
15632
|
export declare const DescriptionListTerm: {
|
|
16184
15633
|
(props: DescriptionListTermProps): import("react").JSX.Element;
|
|
16185
15634
|
displayName: string;
|
|
16186
15635
|
};
|
|
16187
|
-
//#endregion
|
|
16188
|
-
//#region src/components/DescriptionList/DescriptionListDesc.d.ts
|
|
16189
15636
|
export type DescriptionListDescProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
16190
15637
|
/**Ikon som vises ved siden av teksten. */
|
|
16191
15638
|
icon?: SvgIcon;
|
|
@@ -16194,8 +15641,6 @@ export declare const DescriptionListDesc: {
|
|
|
16194
15641
|
({ children, icon, id, className, style, htmlProps, ...rest }: DescriptionListDescProps): import("react").JSX.Element;
|
|
16195
15642
|
displayName: string;
|
|
16196
15643
|
};
|
|
16197
|
-
//#endregion
|
|
16198
|
-
//#region src/components/DescriptionList/DescriptionListGroup.d.ts
|
|
16199
15644
|
export type DescriptionListGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16200
15645
|
/**Custom margin. */
|
|
16201
15646
|
margin?: Property.Margin<string>;
|
|
@@ -16208,8 +15653,6 @@ export declare const DescriptionListGroup: {
|
|
|
16208
15653
|
({ children, margin, minWidth, maxWidth, id, className, style, htmlProps, ...rest }: DescriptionListGroupProps): import("react").JSX.Element;
|
|
16209
15654
|
displayName: string;
|
|
16210
15655
|
};
|
|
16211
|
-
//#endregion
|
|
16212
|
-
//#region src/components/DetailList/DetailList.d.ts
|
|
16213
15656
|
export declare const DETAIL_LIST_SIZES: ["small", "medium", "large"];
|
|
16214
15657
|
export type DetailListSize = (typeof DETAIL_LIST_SIZES)[number];
|
|
16215
15658
|
export type DetailListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
@@ -16235,29 +15678,21 @@ export declare const DetailList: {
|
|
|
16235
15678
|
({ id, className, style, htmlProps, withDividers, striped, size, smallScreenBreakpoint, ...rest }: DetailListProps): import("react").JSX.Element;
|
|
16236
15679
|
displayName: string;
|
|
16237
15680
|
};
|
|
16238
|
-
//#endregion
|
|
16239
|
-
//#region src/components/DetailList/DetailListDesc.d.ts
|
|
16240
15681
|
export type DetailListDescProps = ComponentPropsWithRef<'dd'> & Pick<ResponsiveProps, 'textAlign'>;
|
|
16241
15682
|
export declare const DetailListDesc: {
|
|
16242
15683
|
({ className, ...rest }: DetailListDescProps): import("react").JSX.Element;
|
|
16243
15684
|
displayName: string;
|
|
16244
15685
|
};
|
|
16245
|
-
//#endregion
|
|
16246
|
-
//#region src/components/DetailList/DetailListRow.d.ts
|
|
16247
15686
|
export type DetailListRowProps = ComponentPropsWithRef<'div'>;
|
|
16248
15687
|
export declare const DetailListRow: {
|
|
16249
15688
|
({ className, ...rest }: DetailListRowProps): import("react").JSX.Element;
|
|
16250
15689
|
displayName: string;
|
|
16251
15690
|
};
|
|
16252
|
-
//#endregion
|
|
16253
|
-
//#region src/components/DetailList/DetailListTerm.d.ts
|
|
16254
15691
|
export type DetailListTermProps = ComponentPropsWithRef<'dt'>;
|
|
16255
15692
|
export declare const DetailListTerm: {
|
|
16256
15693
|
({ className, ...rest }: DetailListTermProps): import("react").JSX.Element;
|
|
16257
15694
|
displayName: string;
|
|
16258
15695
|
};
|
|
16259
|
-
//#endregion
|
|
16260
|
-
//#region src/components/Divider/Divider.d.ts
|
|
16261
15696
|
export type DividerColor = 'default' | 'subtle' | 'on-inverse';
|
|
16262
15697
|
export type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
16263
15698
|
/** Farge på horisontal linje.
|
|
@@ -16266,8 +15701,6 @@ export type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
|
16266
15701
|
color?: DividerColor;
|
|
16267
15702
|
}>;
|
|
16268
15703
|
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
15704
|
declare const DRAWER_SIZES: ["small", "medium", "large"];
|
|
16272
15705
|
type DrawerSize = (typeof DRAWER_SIZES)[number];
|
|
16273
15706
|
type DrawerPlacement = 'left' | 'right';
|
|
@@ -16296,8 +15729,6 @@ export declare const Drawer: {
|
|
|
16296
15729
|
({ children, header, placement, parentElement, size, className, style, htmlProps, maxWidth, minWidth, width, withBackdrop, ref, ...rest }: DrawerProps): import("react").ReactPortal | null;
|
|
16297
15730
|
displayName: string;
|
|
16298
15731
|
};
|
|
16299
|
-
//#endregion
|
|
16300
|
-
//#region src/components/Drawer/DrawerGroup.d.ts
|
|
16301
15732
|
export interface DrawerGroupProps {
|
|
16302
15733
|
/**Barna til komponenten: trigger-element og `<Drawer>`. */
|
|
16303
15734
|
children: ReactNode;
|
|
@@ -16324,8 +15755,6 @@ export declare const DrawerGroup: {
|
|
|
16324
15755
|
({ children, isInitiallyOpen, isOpen: propIsOpen, setIsOpen: propSetIsOpen, drawerId, onOpen, onClose }: DrawerGroupProps): import("react").JSX.Element;
|
|
16325
15756
|
displayName: string;
|
|
16326
15757
|
};
|
|
16327
|
-
//#endregion
|
|
16328
|
-
//#region src/components/EmptyContent/EmptyContent.d.ts
|
|
16329
15758
|
export type EmptyContentProps = {
|
|
16330
15759
|
/**Tittel - kort oppsummering. */
|
|
16331
15760
|
headerText?: string;
|
|
@@ -16340,8 +15769,6 @@ export declare function EmptyContent({ headerText, children, headerHeadingLevel,
|
|
|
16340
15769
|
export declare namespace EmptyContent {
|
|
16341
15770
|
var displayName: string;
|
|
16342
15771
|
}
|
|
16343
|
-
//#endregion
|
|
16344
|
-
//#region src/components/ErrorSummary/ErrorSummary.d.ts
|
|
16345
15772
|
type ErrorSummaryProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16346
15773
|
/**Custom overskrift. Bruker default heading tag hvis den er av typen `string`. */
|
|
16347
15774
|
heading?: ReactNode;
|
|
@@ -16350,15 +15777,11 @@ export declare const ErrorSummary: {
|
|
|
16350
15777
|
({ heading: pHeading, className, style, children, id, htmlProps, ...props }: ErrorSummaryProps): import("react").JSX.Element;
|
|
16351
15778
|
displayName: string;
|
|
16352
15779
|
};
|
|
16353
|
-
//#endregion
|
|
16354
|
-
//#region src/components/ErrorSummary/ErrorSummaryItem.d.ts
|
|
16355
15780
|
type ErrorSummaryItemProps<T extends ElementType> = LinkProps<T>;
|
|
16356
15781
|
export declare const ErrorSummaryItem: {
|
|
16357
15782
|
<T extends ElementType>({ className, style, children, id, htmlProps, ...props }: ErrorSummaryItemProps<T>): import("react").JSX.Element;
|
|
16358
15783
|
displayName: string;
|
|
16359
15784
|
};
|
|
16360
|
-
//#endregion
|
|
16361
|
-
//#region src/components/FavStar/FavStar.d.ts
|
|
16362
15785
|
declare const FAVSTAR_SIZES: ["medium", "large"];
|
|
16363
15786
|
type FavStartSize = (typeof FAVSTAR_SIZES)[number];
|
|
16364
15787
|
type FavStarProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
@@ -16385,8 +15808,6 @@ export declare const FavStar: {
|
|
|
16385
15808
|
({ id, className, style, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): import("react").JSX.Element;
|
|
16386
15809
|
displayName: string;
|
|
16387
15810
|
};
|
|
16388
|
-
//#endregion
|
|
16389
|
-
//#region src/components/Feedback/Feedback.types.d.ts
|
|
16390
15811
|
export interface FeedbackProps {
|
|
16391
15812
|
/**Om knappene skal være plassert under eller ved siden av teksten. */
|
|
16392
15813
|
layout?: Layout;
|
|
@@ -16445,11 +15866,7 @@ export interface FeedbackProps {
|
|
|
16445
15866
|
}
|
|
16446
15867
|
export type Rating = 'positive' | 'negative';
|
|
16447
15868
|
export type Layout = 'vertical' | 'horizontal';
|
|
16448
|
-
//#endregion
|
|
16449
|
-
//#region src/components/Feedback/Feedback.d.ts
|
|
16450
15869
|
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
15870
|
export type FieldsetProps = BaseComponentPropsWithChildren<HTMLFieldSetElement, {
|
|
16454
15871
|
/** Om alle inputfelt skal bli `disabled`. */
|
|
16455
15872
|
disabled?: boolean;
|
|
@@ -16458,15 +15875,11 @@ export declare const Fieldset: {
|
|
|
16458
15875
|
({ id, className, style, htmlProps, ...rest }: FieldsetProps): import("react").JSX.Element;
|
|
16459
15876
|
displayName: string;
|
|
16460
15877
|
};
|
|
16461
|
-
//#endregion
|
|
16462
|
-
//#region src/components/Fieldset/FieldsetGroup.d.ts
|
|
16463
15878
|
export type FieldsetGroupProps = BaseComponentPropsWithChildren<HTMLDivElement>;
|
|
16464
15879
|
export declare const FieldsetGroup: {
|
|
16465
15880
|
({ id, className, style, htmlProps, ...rest }: FieldsetGroupProps): import("react").JSX.Element;
|
|
16466
15881
|
displayName: string;
|
|
16467
15882
|
};
|
|
16468
|
-
//#endregion
|
|
16469
|
-
//#region src/components/FileUploader/FileUploader.types.d.ts
|
|
16470
15883
|
type FileExtensionAccept = `.${string}`;
|
|
16471
15884
|
type AnyMimeType = '*';
|
|
16472
15885
|
type ImageMimeType = 'png' | 'jpeg' | 'bmp' | 'gif' | 'svg+xml' | 'tiff' | 'webp';
|
|
@@ -16486,8 +15899,6 @@ export interface UploadInfo {
|
|
|
16486
15899
|
errorMessage?: string;
|
|
16487
15900
|
}
|
|
16488
15901
|
export type FileStatusMap = Map<string, UploadInfo>;
|
|
16489
|
-
//#endregion
|
|
16490
|
-
//#region src/components/FileUploader/useFileUploader.d.ts
|
|
16491
15902
|
type FileUploaderHookProps = {
|
|
16492
15903
|
/**Dersom komponenten skal styres internt. Utgangspunktet for filene som har blitt lastet opp. */
|
|
16493
15904
|
initialFiles: FileList | undefined;
|
|
@@ -16505,8 +15916,6 @@ type FileUploaderHookProps = {
|
|
|
16505
15916
|
maxFiles: number | undefined;
|
|
16506
15917
|
onKeyDown?: ComponentProps<'input'>['onKeyDown'];
|
|
16507
15918
|
} & Pick<InputProps, 'errorMessage' | 'id'>;
|
|
16508
|
-
//#endregion
|
|
16509
|
-
//#region src/components/FileUploader/FileUploader.d.ts
|
|
16510
15919
|
export type FileUploaderProps = {
|
|
16511
15920
|
/**Id til filopplasteren. */
|
|
16512
15921
|
id?: string;
|
|
@@ -16541,16 +15950,10 @@ export declare const FileUploader: {
|
|
|
16541
15950
|
(props: FileUploaderProps): import("react").JSX.Element;
|
|
16542
15951
|
displayName: string;
|
|
16543
15952
|
};
|
|
16544
|
-
//#endregion
|
|
16545
|
-
//#region src/components/Footer/Footer.d.ts
|
|
16546
15953
|
export type FooterProps = ComponentPropsWithRef<'footer'>;
|
|
16547
15954
|
export declare const Footer: (props: FooterProps) => import("react").JSX.Element;
|
|
16548
|
-
//#endregion
|
|
16549
|
-
//#region src/components/Footer/FooterListHeader.d.ts
|
|
16550
15955
|
export type FooterListHeaderProps = Omit<HeadingProps, 'level' | 'withMargins'>;
|
|
16551
15956
|
export declare const FooterListHeader: (props: FooterListHeaderProps) => import("react").JSX.Element;
|
|
16552
|
-
//#endregion
|
|
16553
|
-
//#region src/components/Footer/FooterLogo.d.ts
|
|
16554
15957
|
type HideBreakpoint = 'xs' | 'sm' | 'md';
|
|
16555
15958
|
type ImgLogoProps = ComponentPropsWithRef<'img'> & {
|
|
16556
15959
|
/**Brekkepunkt når logoen skal skjules på mindre skjerm. */
|
|
@@ -16564,32 +15967,18 @@ interface ChildrenLogoProps {
|
|
|
16564
15967
|
}
|
|
16565
15968
|
export type FooterLogoProps = ImgLogoProps | ChildrenLogoProps;
|
|
16566
15969
|
export declare const FooterLogo: ({ children, hideBreakpoint, ...rest }: FooterLogoProps) => import("react").JSX.Element;
|
|
16567
|
-
//#endregion
|
|
16568
|
-
//#region src/components/Footer/FooterList.d.ts
|
|
16569
15970
|
export type FooterListProps = ComponentPropsWithRef<'ul'>;
|
|
16570
15971
|
export declare const FooterList: (props: FooterListProps) => import("react").JSX.Element;
|
|
16571
|
-
//#endregion
|
|
16572
|
-
//#region src/components/Footer/FooterSocialsList.d.ts
|
|
16573
15972
|
export type FooterSocialsListProps = ComponentPropsWithRef<'ul'>;
|
|
16574
15973
|
export declare const FooterSocialsList: (props: FooterSocialsListProps) => import("react").JSX.Element;
|
|
16575
|
-
//#endregion
|
|
16576
|
-
//#region src/components/Footer/FooterSocialsGroup.d.ts
|
|
16577
15974
|
export type FooterSocialsGroupProps = ComponentPropsWithRef<'div'>;
|
|
16578
15975
|
export declare const FooterSocialsGroup: (props: FooterSocialsGroupProps) => import("react").JSX.Element;
|
|
16579
|
-
//#endregion
|
|
16580
|
-
//#region src/components/Footer/FooterListGroup.d.ts
|
|
16581
15976
|
export type FooterListGroupProps = ComponentPropsWithRef<'div'>;
|
|
16582
15977
|
export declare const FooterListGroup: (props: FooterListGroupProps) => import("react").JSX.Element;
|
|
16583
|
-
//#endregion
|
|
16584
|
-
//#region src/components/Footer/FooterLeft.d.ts
|
|
16585
15978
|
export type FooterLeftProps = ComponentPropsWithRef<'div'>;
|
|
16586
15979
|
export declare const FooterLeft: (props: FooterLeftProps) => import("react").JSX.Element;
|
|
16587
|
-
//#endregion
|
|
16588
|
-
//#region src/components/FormSummary/FormSummary.d.ts
|
|
16589
15980
|
export type FormSummaryProps = Pick<PaperProps, 'children' | 'htmlProps' | 'ref' | 'id' | 'style' | 'className' | 'padding' | 'paddingBlock' | 'paddingInline' | 'margin' | 'marginBlock' | 'marginInline' | 'width' | 'minWidth' | 'maxWidth'>;
|
|
16590
15981
|
export declare const FormSummary: (props: FormSummaryProps) => import("react").JSX.Element;
|
|
16591
|
-
//#endregion
|
|
16592
|
-
//#region src/components/InputMessage/InputMessage.d.ts
|
|
16593
15982
|
export type InputMessageType = 'error' | 'tip';
|
|
16594
15983
|
export type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
16595
15984
|
/**Innhold. */
|
|
@@ -16611,8 +16000,6 @@ interface RenderInputMessageProps {
|
|
|
16611
16000
|
noSpacing?: boolean;
|
|
16612
16001
|
}
|
|
16613
16002
|
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
16003
|
type FormSummaryHeaderProps = ComponentPropsWithRef<'div'>;
|
|
16617
16004
|
export declare function FormSummaryHeader({ ...props }: FormSummaryHeaderProps): import("react").JSX.Element;
|
|
16618
16005
|
type FormSummaryHeadingProps = {
|
|
@@ -16639,28 +16026,6 @@ export declare function FormSummaryValue({ className, isLoading, children, ...pr
|
|
|
16639
16026
|
export declare function FormSummaryEmptyValue(): import("react").JSX.Element;
|
|
16640
16027
|
type FormSummaryErrorProps = Omit<InputMessageProps, 'messageType' | 'message'>;
|
|
16641
16028
|
export declare function FormSummaryError({ ...props }: FormSummaryErrorProps): import("react").JSX.Element;
|
|
16642
|
-
//#endregion
|
|
16643
|
-
//#region src/components/GlobalMessage/GlobalMessage.d.ts
|
|
16644
|
-
declare const G_MESSAGE_PURPOSES: ["info", "warning", "danger"];
|
|
16645
|
-
type GlobalMessagePurpose = (typeof G_MESSAGE_PURPOSES)[number];
|
|
16646
|
-
type GlobalMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
16647
|
-
/**Melding. */
|
|
16648
|
-
children?: ReactNode;
|
|
16649
|
-
/**Formålet med meldingen. Påvirker styling.
|
|
16650
|
-
* @default "info"
|
|
16651
|
-
*/
|
|
16652
|
-
purpose?: GlobalMessagePurpose;
|
|
16653
|
-
/**Indikerer om meldingen skal være lukkbar. */
|
|
16654
|
-
closable?: boolean;
|
|
16655
|
-
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
16656
|
-
onClose?: () => void;
|
|
16657
|
-
}>;
|
|
16658
|
-
export declare const GlobalMessage: {
|
|
16659
|
-
({ purpose, closable, onClose, children, id, className, style, htmlProps, ...rest }: GlobalMessageProps): import("react").JSX.Element | null;
|
|
16660
|
-
displayName: string;
|
|
16661
|
-
};
|
|
16662
|
-
//#endregion
|
|
16663
|
-
//#region src/components/InlineButton/InlineButton.d.ts
|
|
16664
16029
|
export type InlineButtonProps = {
|
|
16665
16030
|
/**
|
|
16666
16031
|
* Enestående ikon; bruk av denne propen sørge for riktig visning av ikonet.
|
|
@@ -16668,8 +16033,6 @@ export type InlineButtonProps = {
|
|
|
16668
16033
|
icon?: SvgIcon;
|
|
16669
16034
|
} & Pick<BaseTypographyProps, 'color'> & Omit<ComponentPropsWithRef<'button'>, 'color'>;
|
|
16670
16035
|
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
16036
|
interface InlineEditContextType {
|
|
16674
16037
|
onChange: (e: ChangeEvent<EditElement>) => void;
|
|
16675
16038
|
onBlur: (e: FocusEvent<EditElement>) => void;
|
|
@@ -16678,8 +16041,6 @@ interface InlineEditContextType {
|
|
|
16678
16041
|
value: string | number | ReadonlyArray<string> | undefined;
|
|
16679
16042
|
emptiable: boolean;
|
|
16680
16043
|
}
|
|
16681
|
-
//#endregion
|
|
16682
|
-
//#region src/components/InlineEdit/InlineEdit.types.d.ts
|
|
16683
16044
|
interface TagToElementMap {
|
|
16684
16045
|
input: HTMLInputElement;
|
|
16685
16046
|
textarea: HTMLTextAreaElement;
|
|
@@ -16718,17 +16079,9 @@ type InlineEditGenericProps<T extends EditElementTag> = CommonInlineFieldProps &
|
|
|
16718
16079
|
type InlineEditTextAreaProps = InlineEditGenericProps<'textarea'>;
|
|
16719
16080
|
type InlineEditInputProps = InlineEditGenericProps<'input'>;
|
|
16720
16081
|
type InlineEditSelectProps = InlineEditGenericProps<'select'>;
|
|
16721
|
-
//#endregion
|
|
16722
|
-
//#region src/components/InlineEdit/InlineEditTextArea/InlineEditTextArea.d.ts
|
|
16723
16082
|
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
16083
|
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
16084
|
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
16085
|
type NavigationLinkProps = {
|
|
16733
16086
|
children: ReactNode;
|
|
16734
16087
|
href: string;
|
|
@@ -16763,14 +16116,10 @@ export type InternalHeaderProps = BaseComponentProps<HTMLDivElement, {
|
|
|
16763
16116
|
/**Ekstra logikk som kjøres når currentPage endres. */
|
|
16764
16117
|
onCurrentPageChange?: () => void;
|
|
16765
16118
|
}>;
|
|
16766
|
-
//#endregion
|
|
16767
|
-
//#region src/components/InternalHeader/InternalHeader.d.ts
|
|
16768
16119
|
export declare const InternalHeader: {
|
|
16769
16120
|
(props: InternalHeaderProps): import("react").JSX.Element;
|
|
16770
16121
|
displayName: string;
|
|
16771
16122
|
};
|
|
16772
|
-
//#endregion
|
|
16773
|
-
//#region src/components/List/List.d.ts
|
|
16774
16123
|
export type ListType = 'ordered' | 'unordered';
|
|
16775
16124
|
export type ListTypographyType = TypographyBodyLongType | 'inherit';
|
|
16776
16125
|
export type ListProps = BaseComponentPropsWithChildren<HTMLUListElement | HTMLOListElement, {
|
|
@@ -16787,40 +16136,54 @@ export declare const List: {
|
|
|
16787
16136
|
({ listType, typographyType, children, id, className, style, htmlProps, ...rest }: ListProps): import("react").JSX.Element;
|
|
16788
16137
|
displayName: string;
|
|
16789
16138
|
};
|
|
16790
|
-
//#endregion
|
|
16791
|
-
//#region src/components/List/ListItem.d.ts
|
|
16792
16139
|
export type ListItemProps = ComponentPropsWithRef<'li'>;
|
|
16793
16140
|
export declare const ListItem: {
|
|
16794
16141
|
({ className, ...rest }: ListItemProps): import("react").JSX.Element;
|
|
16795
16142
|
displayName: string;
|
|
16796
16143
|
};
|
|
16797
|
-
|
|
16798
|
-
|
|
16144
|
+
interface CommonMessageProps {
|
|
16145
|
+
/**Melding. */
|
|
16146
|
+
children?: ReactNode;
|
|
16147
|
+
/** Indikerer om meldingen skal være lukkbar.*/
|
|
16148
|
+
closable?: boolean;
|
|
16149
|
+
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
16150
|
+
onClose?: () => void;
|
|
16151
|
+
/**Overskrift for meldingen. */
|
|
16152
|
+
heading?: string;
|
|
16153
|
+
/**Nivå for overskriften.
|
|
16154
|
+
* @default 2
|
|
16155
|
+
*/
|
|
16156
|
+
headingLevel?: Exclude<HeadingLevel, '1'>;
|
|
16157
|
+
}
|
|
16158
|
+
declare const G_MESSAGE_PURPOSES: ("info" | "danger" | "warning")[];
|
|
16159
|
+
type GlobalMessagePurpose = (typeof G_MESSAGE_PURPOSES)[number];
|
|
16160
|
+
type GlobalMessageProps = BaseComponentProps<HTMLDivElement, CommonMessageProps & {
|
|
16161
|
+
/**Formålet med meldingen. Påvirker styling.
|
|
16162
|
+
* @default "info"
|
|
16163
|
+
*/
|
|
16164
|
+
purpose?: GlobalMessagePurpose;
|
|
16165
|
+
}>;
|
|
16166
|
+
export declare const GlobalMessage: {
|
|
16167
|
+
(props: GlobalMessageProps): import("react").JSX.Element;
|
|
16168
|
+
displayName: string;
|
|
16169
|
+
};
|
|
16799
16170
|
export declare const L_MESSAGE_PURPOSES: ["info", "success", "warning", "danger", "tips"];
|
|
16800
16171
|
export type LocalMessagePurpose = (typeof L_MESSAGE_PURPOSES)[number];
|
|
16801
16172
|
export type LocalMessageLayout = 'horisontal' | 'vertical';
|
|
16802
|
-
export type LocalMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
16803
|
-
/**Innhold i meldingen. */
|
|
16804
|
-
children?: ReactNode;
|
|
16173
|
+
export type LocalMessageProps = BaseComponentProps<HTMLDivElement, CommonMessageProps & {
|
|
16805
16174
|
/**Formålet med meldingen. Påvirker styling.
|
|
16806
16175
|
* @default "info"
|
|
16807
16176
|
*/
|
|
16808
16177
|
purpose?: LocalMessagePurpose;
|
|
16809
|
-
/** Indikerer om meldingen skal være lukkbar.*/
|
|
16810
|
-
closable?: boolean;
|
|
16811
|
-
/**Ekstra logikk å kjøre når meldingen lukkes. */
|
|
16812
|
-
onClose?: () => void;
|
|
16813
16178
|
/**Layoutet i komponenten. Ved kompleks innhold anbefales `layout='vertical'`.
|
|
16814
16179
|
* @default "horisontal"
|
|
16815
16180
|
*/
|
|
16816
16181
|
layout?: LocalMessageLayout;
|
|
16817
16182
|
} & Pick<ResponsiveProps, 'width'>>;
|
|
16818
16183
|
export declare const LocalMessage: {
|
|
16819
|
-
({
|
|
16184
|
+
({ layout, ...rest }: LocalMessageProps): import("react").JSX.Element;
|
|
16820
16185
|
displayName: string;
|
|
16821
16186
|
};
|
|
16822
|
-
//#endregion
|
|
16823
|
-
//#region src/components/Modal/Modal.d.ts
|
|
16824
16187
|
export type ModalProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16825
16188
|
/**Spesifiserer om `<Modal>` skal åpnes. */
|
|
16826
16189
|
isOpen?: boolean;
|
|
@@ -16843,8 +16206,6 @@ export declare const Modal: {
|
|
|
16843
16206
|
({ isOpen, parentElement, children, header, onClose, id, triggerRef, initialFocusRef, scrollable, className, style, htmlProps, ref, ...rest }: ModalProps): import("react").ReactPortal | null;
|
|
16844
16207
|
displayName: string;
|
|
16845
16208
|
};
|
|
16846
|
-
//#endregion
|
|
16847
|
-
//#region src/components/Modal/ModalBody.d.ts
|
|
16848
16209
|
export type ModalBodyProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
16849
16210
|
/**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
16211
|
scrollable?: boolean;
|
|
@@ -16855,15 +16216,11 @@ export declare const ModalBody: {
|
|
|
16855
16216
|
({ children, id, className, style, scrollable, htmlProps, height, ...rest }: ModalBodyProps): import("react").JSX.Element;
|
|
16856
16217
|
displayName: string;
|
|
16857
16218
|
};
|
|
16858
|
-
//#endregion
|
|
16859
|
-
//#region src/components/Modal/ModalActions.d.ts
|
|
16860
16219
|
export type ModalActionsProps = ComponentPropsWithRef<'div'>;
|
|
16861
16220
|
export declare const ModalActions: {
|
|
16862
16221
|
(props: ModalActionsProps): import("react").JSX.Element;
|
|
16863
16222
|
displayName: string;
|
|
16864
16223
|
};
|
|
16865
|
-
//#endregion
|
|
16866
|
-
//#region src/components/NewsPopover/NewsPopover.d.ts
|
|
16867
16224
|
interface NewsPopoverSlide {
|
|
16868
16225
|
/**`<img>` bilde. */
|
|
16869
16226
|
image: ReactNode;
|
|
@@ -16905,14 +16262,10 @@ export declare const NewsPopover: {
|
|
|
16905
16262
|
({ 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
16263
|
displayName: string;
|
|
16907
16264
|
};
|
|
16908
|
-
//#endregion
|
|
16909
|
-
//#region src/components/OverflowMenu/OverflowMenu.d.ts
|
|
16910
16265
|
export declare const OverflowMenu: {
|
|
16911
16266
|
({ placement, offset, parentElement, portal, className, htmlProps, ref, style, ...rest }: OverflowMenuProps): import("react").JSX.Element;
|
|
16912
16267
|
displayName: string;
|
|
16913
16268
|
};
|
|
16914
|
-
//#endregion
|
|
16915
|
-
//#region src/components/OverflowMenu/OverflowMenu.types.d.ts
|
|
16916
16269
|
export type OverflowMenuButtonProps = Omit<DropdownItemProps<typeof StylelessButton>, 'as'>;
|
|
16917
16270
|
export type OverflowMenuLinkProps = Omit<DropdownItemProps<'a'>, keyof DropdownItemButtonProps | 'as'>;
|
|
16918
16271
|
export type OverflowMenuSpanProps = Omit<DropdownItemProps<'span'>, keyof DropdownItemButtonProps | 'as'>;
|
|
@@ -16938,50 +16291,34 @@ export type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivEleme
|
|
|
16938
16291
|
*/
|
|
16939
16292
|
portal?: boolean;
|
|
16940
16293
|
}>, 'id'>;
|
|
16941
|
-
//#endregion
|
|
16942
|
-
//#region src/components/OverflowMenu/components/OverflowMenuButton.d.ts
|
|
16943
16294
|
export declare const OverflowMenuButton: {
|
|
16944
16295
|
({ onClick, onClickAsync, closeMenuOnClickAsync, purpose, loading, ref, ...rest }: OverflowMenuButtonProps): import("react").JSX.Element;
|
|
16945
16296
|
displayName: string;
|
|
16946
16297
|
};
|
|
16947
|
-
//#endregion
|
|
16948
|
-
//#region src/components/OverflowMenu/components/OverflowMenuLink.d.ts
|
|
16949
16298
|
export declare const OverflowMenuLink: {
|
|
16950
16299
|
({ onClick, ref, ...rest }: OverflowMenuLinkProps): import("react").JSX.Element;
|
|
16951
16300
|
displayName: string;
|
|
16952
16301
|
};
|
|
16953
|
-
//#endregion
|
|
16954
|
-
//#region src/components/OverflowMenu/components/OverflowMenuToggle.d.ts
|
|
16955
16302
|
export declare const OverflowMenuToggle: {
|
|
16956
16303
|
({ ref, ...rest }: OverflowMenuToggleProps): import("react").JSX.Element;
|
|
16957
16304
|
displayName: string;
|
|
16958
16305
|
};
|
|
16959
|
-
//#endregion
|
|
16960
|
-
//#region src/components/OverflowMenu/components/OverflowMenuDivider.d.ts
|
|
16961
16306
|
type OverflowMenuDividerProps = Omit<DividerProps, 'color'>;
|
|
16962
16307
|
export declare const OverflowMenuDivider: {
|
|
16963
16308
|
({ id, className, style, htmlProps, ...rest }: OverflowMenuDividerProps): import("react").JSX.Element;
|
|
16964
16309
|
displayName: string;
|
|
16965
16310
|
};
|
|
16966
|
-
//#endregion
|
|
16967
|
-
//#region src/components/OverflowMenu/components/OverflowMenuList.d.ts
|
|
16968
16311
|
type OverflowMenuListProps = StylelessListProps;
|
|
16969
16312
|
export declare const OverflowMenuList: (props: OverflowMenuListProps) => import("react").JSX.Element;
|
|
16970
|
-
//#endregion
|
|
16971
|
-
//#region src/components/OverflowMenu/components/OverflowMenuSpan.d.ts
|
|
16972
16313
|
export declare const OverflowMenuSpan: {
|
|
16973
16314
|
(props: OverflowMenuSpanProps): import("react").JSX.Element;
|
|
16974
16315
|
displayName: string;
|
|
16975
16316
|
};
|
|
16976
|
-
//#endregion
|
|
16977
|
-
//#region src/components/OverflowMenu/components/OverflowMenuListHeader.d.ts
|
|
16978
16317
|
type OverflowMenuListHeaderProps = ComponentPropsWithRef<'h2'>;
|
|
16979
16318
|
export declare const OverflowMenuListHeader: {
|
|
16980
16319
|
(props: OverflowMenuListHeaderProps): import("react").JSX.Element;
|
|
16981
16320
|
displayName: string;
|
|
16982
16321
|
};
|
|
16983
|
-
//#endregion
|
|
16984
|
-
//#region src/components/OverflowMenu/OverflowMenuGroup.d.ts
|
|
16985
16322
|
export interface OverflowMenuGroupProps {
|
|
16986
16323
|
/**Om `<OverflowMenu>` er åpen ved første render.
|
|
16987
16324
|
* @default false
|
|
@@ -17004,8 +16341,6 @@ export declare const OverflowMenuGroup: {
|
|
|
17004
16341
|
({ children, onClose, onOpen, setIsOpen: propSetIsOpen, isOpen: propIsOpen, isInitiallyOpen, overflowMenuId }: OverflowMenuGroupProps): import("react").JSX.Element;
|
|
17005
16342
|
displayName: string;
|
|
17006
16343
|
};
|
|
17007
|
-
//#endregion
|
|
17008
|
-
//#region src/components/Pagination/Pagination.d.ts
|
|
17009
16344
|
export interface PaginationOption {
|
|
17010
16345
|
label: string;
|
|
17011
16346
|
value: number;
|
|
@@ -17053,11 +16388,7 @@ export declare const Pagination: {
|
|
|
17053
16388
|
({ 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
16389
|
displayName: string;
|
|
17055
16390
|
};
|
|
17056
|
-
//#endregion
|
|
17057
|
-
//#region src/components/PhoneInput/constants.d.ts
|
|
17058
16391
|
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
16392
|
interface PhoneInputValue {
|
|
17062
16393
|
countryCode: ISOCountryCode | (string & {});
|
|
17063
16394
|
phoneNumber: string;
|
|
@@ -17102,8 +16433,6 @@ export declare const PhoneInput: {
|
|
|
17102
16433
|
({ 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
16434
|
displayName: string;
|
|
17104
16435
|
};
|
|
17105
|
-
//#endregion
|
|
17106
|
-
//#region src/components/Popover/Popover.d.ts
|
|
17107
16436
|
export type PopoverSizeProps = Pick<ResponsiveProps, 'width' | 'height' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight'>;
|
|
17108
16437
|
export type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17109
16438
|
/**Header. Bruker default semantisk heading hvis verdien er en `string`. */
|
|
@@ -17147,8 +16476,6 @@ export declare const Popover: {
|
|
|
17147
16476
|
({ 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
16477
|
displayName: string;
|
|
17149
16478
|
};
|
|
17150
|
-
//#endregion
|
|
17151
|
-
//#region src/components/Popover/PopoverGroup.d.ts
|
|
17152
16479
|
export interface PopoverGroupProps {
|
|
17153
16480
|
/** Barna til wrapperen: anchor-element som det første og `<Popover>` som det andre. */
|
|
17154
16481
|
children: ReactNode;
|
|
@@ -17169,8 +16496,6 @@ export declare const PopoverGroup: {
|
|
|
17169
16496
|
({ isOpen: propIsOpen, setIsOpen: propSetIsOpen, onClose, onOpen, isInitiallyOpen, children, popoverId }: PopoverGroupProps): import("react").JSX.Element;
|
|
17170
16497
|
displayName: string;
|
|
17171
16498
|
};
|
|
17172
|
-
//#endregion
|
|
17173
|
-
//#region src/components/ProgressTracker/ProgressTrackerItem.d.ts
|
|
17174
16499
|
export interface BaseItemProps {
|
|
17175
16500
|
/** Om steget er valgt eller ikke. Settes av konsument. */
|
|
17176
16501
|
active?: boolean;
|
|
@@ -17197,8 +16522,6 @@ export declare const ProgressTrackerItem: {
|
|
|
17197
16522
|
(props: ProgressTrackerItemProps): import("react").JSX.Element;
|
|
17198
16523
|
displayName: string;
|
|
17199
16524
|
};
|
|
17200
|
-
//#endregion
|
|
17201
|
-
//#region src/components/ProgressTracker/ProgressTracker.d.ts
|
|
17202
16525
|
export type ProgressTrackerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17203
16526
|
/** Indeksen til det aktive steget.
|
|
17204
16527
|
* @default 0
|
|
@@ -17213,8 +16536,6 @@ type ProgressTrackerComponent = ForwardRefExoticComponent<ProgressTrackerProps>
|
|
|
17213
16536
|
Item: typeof ProgressTrackerItem;
|
|
17214
16537
|
};
|
|
17215
16538
|
export declare const ProgressTracker: ProgressTrackerComponent;
|
|
17216
|
-
//#endregion
|
|
17217
|
-
//#region src/components/ProgressBar/ProgressBar.d.ts
|
|
17218
16539
|
declare const PROGRESS_BAR_SIZES: ["small", "medium"];
|
|
17219
16540
|
type ProgressBarSize = (typeof PROGRESS_BAR_SIZES)[number];
|
|
17220
16541
|
type ProgressBarProps = Pick<CommonInputProps, 'tip' | 'errorMessage' | 'label' | 'width'> & {
|
|
@@ -17239,18 +16560,12 @@ export declare const ProgressBar: {
|
|
|
17239
16560
|
({ label, tip, errorMessage, size, "aria-describedby": ariaDescribedby, value, width, max, id, className, style, ...rest }: ProgressBarProps): import("react").JSX.Element;
|
|
17240
16561
|
displayName: string;
|
|
17241
16562
|
};
|
|
17242
|
-
//#endregion
|
|
17243
|
-
//#region src/components/Search/Search.utils.d.ts
|
|
17244
16563
|
declare const SEARCH_SIZES: ["small", "medium", "large"];
|
|
17245
|
-
//#endregion
|
|
17246
|
-
//#region src/components/Search/Search.types.d.ts
|
|
17247
16564
|
export type SearchSize = (typeof SEARCH_SIZES)[number];
|
|
17248
16565
|
export type SearchButtonProps = {
|
|
17249
16566
|
label?: string;
|
|
17250
16567
|
purpose?: ExtractStrict<ButtonPurpose, 'primary' | 'secondary'>;
|
|
17251
16568
|
} & Pick<ButtonProps, 'loading' | 'loadingTooltip'> & ComponentPropsWithRef<'button'>;
|
|
17252
|
-
//#endregion
|
|
17253
|
-
//#region src/components/Search/Search.d.ts
|
|
17254
16569
|
type SearchProps = Pick<InputProps, 'tip' | 'label' | 'width'> & {
|
|
17255
16570
|
/**Størrelsen på komponenten. */
|
|
17256
16571
|
componentSize?: SearchSize;
|
|
@@ -17263,8 +16578,6 @@ declare const Search$1: {
|
|
|
17263
16578
|
({ componentSize, buttonProps, showIcon, name, label, tip, id, value, width, onChange, className, style, "aria-describedby": ariaDescribedby, ref, ...rest }: SearchProps): import("react").JSX.Element;
|
|
17264
16579
|
displayName: string;
|
|
17265
16580
|
};
|
|
17266
|
-
//#endregion
|
|
17267
|
-
//#region src/components/Search/SearchAutocompleteWrapper.d.ts
|
|
17268
16581
|
interface WeightedValue {
|
|
17269
16582
|
text: string;
|
|
17270
16583
|
relevance: number;
|
|
@@ -17299,8 +16612,6 @@ export declare const SearchAutocompleteWrapper: {
|
|
|
17299
16612
|
(props: SearchAutocompleteWrapperProps): import("react").JSX.Element;
|
|
17300
16613
|
displayName: string;
|
|
17301
16614
|
};
|
|
17302
|
-
//#endregion
|
|
17303
|
-
//#region src/components/Search/SearchSuggestions.d.ts
|
|
17304
16615
|
type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement, {
|
|
17305
16616
|
/**Forslag som vises i listen. */
|
|
17306
16617
|
suggestions?: Array<string>;
|
|
@@ -17317,15 +16628,11 @@ export declare const SearchSuggestions: {
|
|
|
17317
16628
|
({ id, searchId, className, style, htmlProps, suggestions, showSuggestions, onSuggestionClick, maxSuggestions, ...rest }: SearchSuggestionsProps): import("react").JSX.Element;
|
|
17318
16629
|
displayName: string;
|
|
17319
16630
|
};
|
|
17320
|
-
//#endregion
|
|
17321
|
-
//#region src/components/Search/index.d.ts
|
|
17322
16631
|
type SearchCompoundProps = typeof Search$1 & {
|
|
17323
16632
|
AutocompleteWrapper: typeof SearchAutocompleteWrapper;
|
|
17324
16633
|
Suggestions: typeof SearchSuggestions;
|
|
17325
16634
|
};
|
|
17326
16635
|
declare const Search: SearchCompoundProps;
|
|
17327
|
-
//#endregion
|
|
17328
|
-
//#region src/components/Select/Select.d.ts
|
|
17329
16636
|
export interface SelectOption<TValue = unknown> {
|
|
17330
16637
|
label: string | number;
|
|
17331
16638
|
value: TValue;
|
|
@@ -17356,8 +16663,6 @@ export declare function Select<Option = unknown, IsMulti extends boolean = false
|
|
|
17356
16663
|
export declare namespace Select {
|
|
17357
16664
|
var displayName: string;
|
|
17358
16665
|
}
|
|
17359
|
-
//#endregion
|
|
17360
|
-
//#region src/components/Select/NativeSelect/NativeSelect.d.ts
|
|
17361
16666
|
export type NativeSelectProps = {
|
|
17362
16667
|
/** Om brukeren kan fjerne verdien med en tømmeknapp. */
|
|
17363
16668
|
clearable?: boolean;
|
|
@@ -17365,11 +16670,7 @@ export type NativeSelectProps = {
|
|
|
17365
16670
|
readOnly?: InputProps['readOnly'];
|
|
17366
16671
|
} & CommonInputProps & Pick<InputProps, 'componentSize'> & InputIconProps & ComponentPropsWithRef<'select'>;
|
|
17367
16672
|
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
16673
|
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
16674
|
export type SkeletonProps = {
|
|
17374
16675
|
/**Hvor runde hjørner skal være. Støtter dds tokens.
|
|
17375
16676
|
* @default "surface"
|
|
@@ -17380,8 +16681,6 @@ export declare const Skeleton: {
|
|
|
17380
16681
|
({ borderRadius, className, ...rest }: SkeletonProps): import("react").JSX.Element;
|
|
17381
16682
|
displayName: string;
|
|
17382
16683
|
};
|
|
17383
|
-
//#endregion
|
|
17384
|
-
//#region src/components/SkipToContent/SkipToContent.d.ts
|
|
17385
16684
|
export type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
|
|
17386
16685
|
/** Teksten som vises i lenka.
|
|
17387
16686
|
* @default "Til hovedinnhold"
|
|
@@ -17398,8 +16697,6 @@ export declare const SkipToContent: {
|
|
|
17398
16697
|
({ text, top, id, className, htmlProps, style, ...rest }: SkipToContentProps): import("react").JSX.Element;
|
|
17399
16698
|
displayName: string;
|
|
17400
16699
|
};
|
|
17401
|
-
//#endregion
|
|
17402
|
-
//#region src/components/Spinner/Spinner.d.ts
|
|
17403
16700
|
export type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
17404
16701
|
/**Farge på spinneren.
|
|
17405
16702
|
* @default "iconActionResting"
|
|
@@ -17418,8 +16715,6 @@ export declare function Spinner(props: SpinnerProps): import("react").JSX.Elemen
|
|
|
17418
16715
|
export declare namespace Spinner {
|
|
17419
16716
|
var displayName: string;
|
|
17420
16717
|
}
|
|
17421
|
-
//#endregion
|
|
17422
|
-
//#region src/components/SplitButton/SplitButton.d.ts
|
|
17423
16718
|
export type SplitButtonPurpose = ExtractStrict<ButtonPurpose, 'primary' | 'secondary'>;
|
|
17424
16719
|
export type SplitButtonPrimaryActionProps = Omit<ButtonProps, 'size' | 'purpose'>;
|
|
17425
16720
|
export type SplitButtonSecondaryActionsProps = Array<OverflowMenuButtonProps>;
|
|
@@ -17437,15 +16732,11 @@ export declare const SplitButton: {
|
|
|
17437
16732
|
({ size, primaryAction, secondaryActions, purpose, className, ...rest }: SplitButtonProps): import("react").JSX.Element;
|
|
17438
16733
|
displayName: string;
|
|
17439
16734
|
};
|
|
17440
|
-
//#endregion
|
|
17441
|
-
//#region src/components/Table/Body.d.ts
|
|
17442
16735
|
type TableBodyProps = ComponentPropsWithRef<'tbody'>;
|
|
17443
16736
|
declare const Body: {
|
|
17444
16737
|
(props: TableBodyProps): import("react").JSX.Element;
|
|
17445
16738
|
displayName: string;
|
|
17446
16739
|
};
|
|
17447
|
-
//#endregion
|
|
17448
|
-
//#region src/components/Table/Cell.d.ts
|
|
17449
16740
|
type TableCellType = 'data' | 'head';
|
|
17450
16741
|
type TableCellLayout = 'left' | 'right' | 'center' | 'text and icon';
|
|
17451
16742
|
type TableCellProps = {
|
|
@@ -17469,8 +16760,6 @@ declare const Cell: {
|
|
|
17469
16760
|
({ children, type: _type, layout, collapseKey, className, ...rest }: TableCellProps): import("react").JSX.Element;
|
|
17470
16761
|
displayName: string;
|
|
17471
16762
|
};
|
|
17472
|
-
//#endregion
|
|
17473
|
-
//#region src/components/Table/FilterCell.d.ts
|
|
17474
16763
|
type SortOrder$1 = 'ascending' | 'descending';
|
|
17475
16764
|
type TableFilterCellProps = {
|
|
17476
16765
|
/**Sorteringsrekkefølge i kolonnen. Avgjør hvilket ikon skal vises i cellen og `aria-sort`. */
|
|
@@ -17488,19 +16777,13 @@ declare const FilterCell: {
|
|
|
17488
16777
|
({ sortOrder, children, className, badgeCount, popoverProps, popoverChildren, popoverGroupProps, ...rest }: TableFilterCellProps): import("react").JSX.Element;
|
|
17489
16778
|
displayName: string;
|
|
17490
16779
|
};
|
|
17491
|
-
//#endregion
|
|
17492
|
-
//#region src/components/Table/Foot.d.ts
|
|
17493
16780
|
type TableFootProps = ComponentPropsWithRef<'tfoot'>;
|
|
17494
16781
|
declare const Foot: {
|
|
17495
16782
|
(props: TableFootProps): import("react").JSX.Element;
|
|
17496
16783
|
displayName: string;
|
|
17497
16784
|
};
|
|
17498
|
-
//#endregion
|
|
17499
|
-
//#region src/components/Table/Head.d.ts
|
|
17500
16785
|
type TableHeadProps = ComponentPropsWithRef<'thead'>;
|
|
17501
16786
|
declare const Head: ({ children, ...rest }: TableHeadProps) => import("react").JSX.Element;
|
|
17502
|
-
//#endregion
|
|
17503
|
-
//#region src/components/Table/Row.d.ts
|
|
17504
16787
|
type TableRowType = 'body' | 'head';
|
|
17505
16788
|
type RowMode = 'normal' | 'sum';
|
|
17506
16789
|
type TableRowProps = {
|
|
@@ -17523,8 +16806,6 @@ declare const Row: {
|
|
|
17523
16806
|
({ type: _type, className, mode, children, ref, ...rest }: TableRowProps): React$1.JSX.Element;
|
|
17524
16807
|
displayName: string;
|
|
17525
16808
|
};
|
|
17526
|
-
//#endregion
|
|
17527
|
-
//#region src/components/Table/SortCell.d.ts
|
|
17528
16809
|
type SortOrder = 'ascending' | 'descending';
|
|
17529
16810
|
type TableSortCellProps = {
|
|
17530
16811
|
/**Spesifiserer om kolonnen er sortert. */
|
|
@@ -17538,8 +16819,6 @@ declare const SortCell: {
|
|
|
17538
16819
|
({ isSorted, sortOrder, onClick, children, ...rest }: TableSortCellProps): import("react").JSX.Element;
|
|
17539
16820
|
displayName: string;
|
|
17540
16821
|
};
|
|
17541
|
-
//#endregion
|
|
17542
|
-
//#region src/components/Table/Table.d.ts
|
|
17543
16822
|
type TableSize = Extract<Size$1, 'small' | 'medium' | 'large'>;
|
|
17544
16823
|
type TableProps = {
|
|
17545
16824
|
/**
|
|
@@ -17562,15 +16841,11 @@ declare const Table$1: {
|
|
|
17562
16841
|
({ size, stickyHeader, withDividers, withStripes, className, children, collapseBelow, ...rest }: TableProps): import("react").JSX.Element;
|
|
17563
16842
|
displayName: string;
|
|
17564
16843
|
};
|
|
17565
|
-
//#endregion
|
|
17566
|
-
//#region src/components/Table/TableWrapper.d.ts
|
|
17567
16844
|
type TableWrapperProps = HTMLAttributes<HTMLDivElement>;
|
|
17568
16845
|
export declare const TableWrapper: {
|
|
17569
16846
|
({ className, ...rest }: TableWrapperProps): import("react").JSX.Element;
|
|
17570
16847
|
displayName: string;
|
|
17571
16848
|
};
|
|
17572
|
-
//#endregion
|
|
17573
|
-
//#region src/components/Table/index.d.ts
|
|
17574
16849
|
type TableCompoundProps = typeof Table$1 & {
|
|
17575
16850
|
Wrapper: typeof TableWrapper;
|
|
17576
16851
|
Head: typeof Head;
|
|
@@ -17582,8 +16857,6 @@ type TableCompoundProps = typeof Table$1 & {
|
|
|
17582
16857
|
FilterCell: typeof FilterCell;
|
|
17583
16858
|
};
|
|
17584
16859
|
declare const Table: TableCompoundProps;
|
|
17585
|
-
//#endregion
|
|
17586
|
-
//#region src/components/Tabs/AddTabButton.d.ts
|
|
17587
16860
|
export type AddTabButtonProps = {
|
|
17588
16861
|
/** Bredden. Her er det støtte for de samme enhetene som du kan bruke i `grid-template-columns`.
|
|
17589
16862
|
* @default "1fr"
|
|
@@ -17595,8 +16868,6 @@ export declare const AddTabButton: {
|
|
|
17595
16868
|
({ ref, children, index, className, width, ...rest }: AddTabButtonProps): import("react").JSX.Element;
|
|
17596
16869
|
displayName: string;
|
|
17597
16870
|
};
|
|
17598
|
-
//#endregion
|
|
17599
|
-
//#region src/components/Tabs/Tabs.d.ts
|
|
17600
16871
|
declare const TABS_SIZES: ["small", "medium"];
|
|
17601
16872
|
type TabSize = (typeof TABS_SIZES)[number];
|
|
17602
16873
|
type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
@@ -17617,8 +16888,6 @@ export declare const Tabs: {
|
|
|
17617
16888
|
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, style, htmlProps, ...rest }: TabsProps): import("react").JSX.Element;
|
|
17618
16889
|
displayName: string;
|
|
17619
16890
|
};
|
|
17620
|
-
//#endregion
|
|
17621
|
-
//#region src/components/Tabs/Tab.d.ts
|
|
17622
16891
|
type PickedAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onKeyDown'>;
|
|
17623
16892
|
export type TabProps = BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
17624
16893
|
/**Spesifiserer om fanen er aktiv.
|
|
@@ -17643,15 +16912,11 @@ export declare const Tab: {
|
|
|
17643
16912
|
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, style, width, ref, badgeProps, ...rest }: TabProps): import("react").JSX.Element;
|
|
17644
16913
|
displayName: string;
|
|
17645
16914
|
};
|
|
17646
|
-
//#endregion
|
|
17647
|
-
//#region src/components/Tabs/TabList.d.ts
|
|
17648
16915
|
export type TabListProps = ComponentPropsWithRef<'div'>;
|
|
17649
16916
|
export declare const TabList: {
|
|
17650
16917
|
({ children, id, style, onFocus, ref, ...rest }: TabListProps): import("react").JSX.Element;
|
|
17651
16918
|
displayName: string;
|
|
17652
16919
|
};
|
|
17653
|
-
//#endregion
|
|
17654
|
-
//#region src/components/Tabs/TabPanel.d.ts
|
|
17655
16920
|
export type TabPanelProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
17656
16921
|
/** Spesifiserer om panelet skal vises basert på aktiv fane. */
|
|
17657
16922
|
active?: boolean;
|
|
@@ -17664,15 +16929,11 @@ export declare const TabPanel: {
|
|
|
17664
16929
|
({ active, children, id, className, style, htmlProps, padding, ...rest }: TabPanelProps): import("react").JSX.Element;
|
|
17665
16930
|
displayName: string;
|
|
17666
16931
|
};
|
|
17667
|
-
//#endregion
|
|
17668
|
-
//#region src/components/Tabs/TabPanels.d.ts
|
|
17669
16932
|
export type TabPanelsProps = Pick<ResponsiveProps, 'padding' | 'paddingBlock' | 'paddingInline'> & ComponentPropsWithRef<'div'>;
|
|
17670
16933
|
export declare const TabPanels: {
|
|
17671
16934
|
({ children, ref, ...rest }: TabPanelsProps): import("react").JSX.Element;
|
|
17672
16935
|
displayName: string;
|
|
17673
16936
|
};
|
|
17674
|
-
//#endregion
|
|
17675
|
-
//#region src/components/Tag/Tag.d.ts
|
|
17676
16937
|
declare const TAG_PURPOSES: ["success", "info", "danger", "warning", "neutral"];
|
|
17677
16938
|
declare const TAG_SIZES: ["small", "medium"];
|
|
17678
16939
|
declare const TAG_COLORS: readonly ["teal", "blue", "red", "green", "magenta", "purple", "olive", "gray", "brown", "deepblue"];
|
|
@@ -17735,8 +16996,6 @@ export declare const Tag: {
|
|
|
17735
16996
|
({ purpose, appearance, id, className, style, children, htmlProps, withIcon, size, color, ...rest }: TagProps): import("react").JSX.Element;
|
|
17736
16997
|
displayName: string;
|
|
17737
16998
|
};
|
|
17738
|
-
//#endregion
|
|
17739
|
-
//#region src/components/TextArea/TextArea.d.ts
|
|
17740
16999
|
export type TextAreaProps = CommonInputProps & {
|
|
17741
17000
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt.
|
|
17742
17001
|
* @default true
|
|
@@ -17747,8 +17006,6 @@ export declare const TextArea: {
|
|
|
17747
17006
|
({ 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
17007
|
displayName: string;
|
|
17749
17008
|
};
|
|
17750
|
-
//#endregion
|
|
17751
|
-
//#region src/components/TextInput/TextInput.types.d.ts
|
|
17752
17009
|
export type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
17753
17010
|
/** Spesifiserer om tegntelleren skal vises ved bruk av `maxLength` attributt. */
|
|
17754
17011
|
withCharacterCounter?: boolean;
|
|
@@ -17764,14 +17021,10 @@ export type TextInputProps = Omit<InputProps, 'prefix'> & InputIconProps & {
|
|
|
17764
17021
|
export interface TextAffixProps {
|
|
17765
17022
|
readOnly?: boolean;
|
|
17766
17023
|
}
|
|
17767
|
-
//#endregion
|
|
17768
|
-
//#region src/components/TextInput/TextInput.d.ts
|
|
17769
17024
|
export declare const TextInput: {
|
|
17770
17025
|
({ 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
17026
|
displayName: string;
|
|
17772
17027
|
};
|
|
17773
|
-
//#endregion
|
|
17774
|
-
//#region src/components/ToggleBar/ToggleBar.types.d.ts
|
|
17775
17028
|
type ToggleBarValue = string | number | null | undefined;
|
|
17776
17029
|
declare const TOGGLE_BAR_SIZES: ["xsmall", "small", "medium", "large"];
|
|
17777
17030
|
type ToggleBarSize = (typeof TOGGLE_BAR_SIZES)[number];
|
|
@@ -17798,14 +17051,10 @@ type ToggleBarProps<T extends string | number> = BaseComponentPropsWithChildren<
|
|
|
17798
17051
|
/**Bredden til komponenten. Bredden fordeles likt mellom barna. */
|
|
17799
17052
|
width?: ResponsiveProps['width'];
|
|
17800
17053
|
}, InputHTMLAttributes<HTMLInputElement>>;
|
|
17801
|
-
//#endregion
|
|
17802
|
-
//#region src/components/ToggleBar/ToggleBar.d.ts
|
|
17803
17054
|
export declare const ToggleBar: {
|
|
17804
17055
|
<T extends string | number = string>(props: ToggleBarProps<T>): import("react").JSX.Element;
|
|
17805
17056
|
displayName: string;
|
|
17806
17057
|
};
|
|
17807
|
-
//#endregion
|
|
17808
|
-
//#region src/components/ToggleBar/ToggleRadio.d.ts
|
|
17809
17058
|
export type ToggleRadioProps = BaseComponentProps<HTMLInputElement, {
|
|
17810
17059
|
/**Ledetekst som vises i komponenten. */
|
|
17811
17060
|
label?: string;
|
|
@@ -17816,8 +17065,6 @@ export declare const ToggleRadio: {
|
|
|
17816
17065
|
({ value, name, onChange, checked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, icon, label, htmlProps, className, style, id, ...rest }: ToggleRadioProps): import("react").JSX.Element;
|
|
17817
17066
|
displayName: string;
|
|
17818
17067
|
};
|
|
17819
|
-
//#endregion
|
|
17820
|
-
//#region src/components/Tooltip/Tooltip.d.ts
|
|
17821
17068
|
type AnchorElement = ReactElement<HTMLAttributes<HTMLElement> & {
|
|
17822
17069
|
ref: Ref<HTMLElement>;
|
|
17823
17070
|
}>;
|
|
@@ -17843,13 +17090,10 @@ export declare const Tooltip: {
|
|
|
17843
17090
|
({ text, placement, children, tooltipId, delay, style, onMouseLeave, onMouseOver, keepMounted, id, ref, className, htmlProps, ...rest }: TooltipProps): import("react").JSX.Element;
|
|
17844
17091
|
displayName: string;
|
|
17845
17092
|
};
|
|
17846
|
-
//#endregion
|
|
17847
|
-
//#region src/components/VisuallyHidden/VisuallyHidden.d.ts
|
|
17848
17093
|
export type VisuallyHiddenProps<T extends ElementType = 'span'> = PolymorphicBaseComponentProps<T>;
|
|
17849
17094
|
export declare const VisuallyHidden: {
|
|
17850
17095
|
<T extends ElementType = "span">({ id, as: asProp, className, style, htmlProps, ...rest }: VisuallyHiddenProps<T>): import("react").JSX.Element;
|
|
17851
17096
|
displayName: string;
|
|
17852
17097
|
};
|
|
17853
|
-
//#endregion
|
|
17854
17098
|
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
17099
|
//# sourceMappingURL=index.d.mts.map
|