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