@norges-domstoler/dds-components 21.20.0 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +591 -593
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1635 -749
- package/dist/index.d.ts +1635 -749
- package/dist/index.js +3727 -3724
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3445 -3428
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -23
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentPropsWithRef,
|
|
3
|
+
import { ComponentPropsWithRef, ElementType, CSSProperties, Ref, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, SVGAttributes, JSX, ButtonHTMLAttributes, ComponentProps, InputHTMLAttributes, MouseEventHandler, DependencyList, RefCallback, Dispatch, SetStateAction, ChangeEvent, RefObject, KeyboardEvent as KeyboardEvent$1, AnchorHTMLAttributes, LabelHTMLAttributes, AriaRole, FocusEvent, ForwardedRef, ForwardRefExoticComponent, MouseEvent as MouseEvent$1, ReactElement } from 'react';
|
|
4
4
|
import * as CSS from 'csstype';
|
|
5
5
|
import { Property, StandardProperties } from 'csstype';
|
|
6
6
|
import { Strategy, UseFloatingReturn, Placement as Placement$1 } from '@floating-ui/react-dom';
|
|
@@ -43,31 +43,294 @@ declare const Backdrop: {
|
|
|
43
43
|
displayName: string;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
type Direction$1 = 'row' | 'column';
|
|
47
|
+
|
|
48
|
+
interface HTMLRootProps {
|
|
49
|
+
/**HTML id. */
|
|
50
|
+
id?: string;
|
|
51
|
+
/**HTML klassenavn. */
|
|
52
|
+
className?: string;
|
|
53
|
+
/**HTML inline style. */
|
|
54
|
+
style?: CSSProperties;
|
|
55
|
+
}
|
|
56
|
+
type CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>> = HTMLRootProps & {
|
|
57
|
+
/**Native HTML-attributter som vil settes på elementet som genereres.
|
|
58
|
+
* Untatt `id`, `className`, `style` og eventuelt andre ofte brukte native HTML-attributter spesifisert i dokumentasjonen.
|
|
59
|
+
* */
|
|
60
|
+
htmlProps?: THTMLProps;
|
|
61
|
+
/**Ref til komponenten. */
|
|
62
|
+
ref?: TRef;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Basetype for props som eksponeres til konsumenter av designsystemet.
|
|
66
|
+
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
67
|
+
* - `htmlProps`: resterende HTML-attributter.
|
|
68
|
+
* Se også {@link BaseComponentPropsWithChildren} og
|
|
69
|
+
* {@link getBaseHTMLProps}.
|
|
70
|
+
*
|
|
71
|
+
* @template TElement Element-type som genereres av komponenten.
|
|
72
|
+
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
73
|
+
* @template THTMLAttributesProps Standard `HTMLAttributes<T>` men kan overstyres for f.eks knapper hvis man trenger en annen basetype for `htmlProps`.
|
|
74
|
+
*/
|
|
75
|
+
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends HTMLAttributes<TElement> = HTMLAttributes<TElement>> = TOtherProps & CommonComponentProps<Omit<THTMLAttributesProps, keyof HTMLRootProps | keyof TOtherProps>, Ref<TElement>>;
|
|
76
|
+
/**
|
|
77
|
+
* Basetype for polymorfe props som eksponeres til konsumenter av designsystemet.
|
|
78
|
+
* - Rot: `id`, `className`, `style`, `TOtherProps`
|
|
79
|
+
* - `htmlProps`: resterende props fra `TComponentProps`
|
|
80
|
+
*
|
|
81
|
+
* @template E `ElemenType` komponenten returnerer.
|
|
82
|
+
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
83
|
+
* @template TComponentProps Standard `ComponentPropsWithoutRef<E>` som kan overstyres hvis man trenger en annen basetype for `htmlProps`, f.eks. for å støtte ofte brukte attributter på roten.
|
|
84
|
+
*/
|
|
85
|
+
type PolymorphicBaseComponentProps<E extends ElementType, TOtherProps extends object = object> = TOtherProps & HTMLRootProps & {
|
|
86
|
+
/** HTML- eller React-element som returneres. */
|
|
87
|
+
as?: E;
|
|
88
|
+
/** Barn. Blir ignorert hvis returnert HTML tag ikke støtter de. */
|
|
89
|
+
children?: React.ReactNode;
|
|
90
|
+
} & CommonComponentProps<Omit<ComponentPropsWithoutRef<E>, keyof HTMLRootProps | keyof TOtherProps>, ComponentPropsWithRef<E>['ref']> & Omit<ComponentPropsWithoutRef<E>, keyof HTMLRootProps | keyof TOtherProps | 'children' | 'ref'>;
|
|
91
|
+
/**
|
|
92
|
+
* Utvidelse av {@link BaseComponentProps} med prop for `children`.
|
|
93
|
+
*/
|
|
94
|
+
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends HTMLAttributes<T> = HTMLAttributes<T>> = BaseComponentProps<T, TProps & {
|
|
95
|
+
/**Barn. */
|
|
96
|
+
children?: ReactNode;
|
|
97
|
+
}, THTMLProps>;
|
|
98
|
+
/**
|
|
99
|
+
* Slår sammen id, className,htmlProps og unknownProps til ett objekt
|
|
100
|
+
* som kan spreades som baseprops for en komponent. `unknownProps` er
|
|
101
|
+
* med for å sikre at aria- og data- attributter blir spreadet, alle
|
|
102
|
+
* komponenter må derfor ta hensyn til `...rest` når de leser props.
|
|
103
|
+
*
|
|
104
|
+
* Typisk bruk:
|
|
105
|
+
* ```tsx
|
|
106
|
+
* const Props = BaseComponentProps<HTMLElement, {
|
|
107
|
+
* propA: string,
|
|
108
|
+
* propB: string,
|
|
109
|
+
* }>
|
|
110
|
+
*
|
|
111
|
+
* const MyComponent = (props: Props) => {
|
|
112
|
+
* const { id, className, style, htmlProps, ...rest } = props;
|
|
113
|
+
*
|
|
114
|
+
* const wrapperProps = getBaseHTMLProps(id, className, style, htmlProps, rest)
|
|
115
|
+
*
|
|
116
|
+
* return <div {...wrapperProps}>innhold</div>
|
|
117
|
+
* }
|
|
118
|
+
* ```
|
|
119
|
+
* @param id id fra props til komponenten.
|
|
120
|
+
* @param className className for komponenten.
|
|
121
|
+
* @param htmlProps htmlProps fra komponenten.
|
|
122
|
+
* @param unknownProps andre ukjente props som skal spreades, kommer typisk fra `...rest` når man leser props til komponenten.
|
|
123
|
+
* @returns Objekt med alle argumentene som kan spreades.
|
|
124
|
+
*
|
|
125
|
+
* Kan også kalles uten `className`-parameteret. Oppførselen er lik.
|
|
126
|
+
*/
|
|
127
|
+
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;
|
|
128
|
+
|
|
129
|
+
declare const SIZES: readonly ["xsmall", "small", "medium", "large", "xlarge", "xxlarge", "inherit", "component"];
|
|
130
|
+
type Size = (typeof SIZES)[number];
|
|
131
|
+
declare function createSizes<T extends Array<Size>>(...sizes: T): T;
|
|
132
|
+
|
|
133
|
+
declare const PURPOSES: readonly ["primary", "secondary", "tertiary", "success", "info", "danger", "warning", "default", "tips"];
|
|
134
|
+
type Purpose = (typeof PURPOSES)[number];
|
|
135
|
+
declare function createPurposes<T extends Array<Purpose>>(...sizes: T): T;
|
|
136
|
+
|
|
137
|
+
declare const BORDER_RADII: readonly ["button", "input", "surface", "chip", "rounded", "0"];
|
|
138
|
+
declare const ELEVATIONS: readonly ["small", "medium", "large"];
|
|
139
|
+
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"];
|
|
140
|
+
declare const BACKGROUNDS: readonly ["surface-default", "surface-subtle", "surface-medium", "surface-inverse-default", "surface-danger-default", "surface-danger-strong", "surface-success-default", "surface-success-strong", "surface-warning-default", "surface-warning-strong", "surface-info-default", "surface-info-strong", "surface-paper-default", "surface-notification", "surface-field-disabled", "brand-primary-default", "brand-primary-subtle", "brand-primary-medium", "brand-primary-strong", "brand-secondary-default", "brand-secondary-subtle", "brand-secondary-medium", "brand-secondary-strong", "brand-tertiary-default", "brand-tertiary-subtle", "brand-tertiary-medium", "brand-tertiary-strong"];
|
|
141
|
+
type BorderRadius = (typeof BORDER_RADII)[number];
|
|
142
|
+
type Elevation = (typeof ELEVATIONS)[number];
|
|
143
|
+
type BorderColor = (typeof BORDER_COLORS)[number];
|
|
144
|
+
type PaperBackground = (typeof BACKGROUNDS)[number];
|
|
145
|
+
declare const isPaperBackground: (value: unknown) => value is PaperBackground;
|
|
146
|
+
declare const isBorderColor: (value: unknown) => value is BorderColor;
|
|
147
|
+
declare const isBorderRadius: (value: unknown) => value is BorderRadius;
|
|
148
|
+
declare const isElevation: (value: unknown) => value is Elevation;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
152
|
+
*
|
|
153
|
+
* @template Condition
|
|
154
|
+
* @template T
|
|
155
|
+
* @template K
|
|
156
|
+
*/
|
|
157
|
+
type WithRequiredIf<Condition extends boolean, T, K extends keyof T> = Omit<T, K> & Pick<true extends Condition ? Required<T> : T, K>;
|
|
158
|
+
/**
|
|
159
|
+
* Gir tilbake typer fra `T` som matcher `U`
|
|
160
|
+
*
|
|
161
|
+
* @template T en union type
|
|
162
|
+
* @template U delmengde av `T`
|
|
163
|
+
*/
|
|
164
|
+
type ExtractStrict<T, U extends T> = U;
|
|
165
|
+
type Nullable<T> = T | null;
|
|
166
|
+
type Callback<T> = (e: T) => void;
|
|
167
|
+
|
|
168
|
+
type SvgProps = {
|
|
169
|
+
title?: string;
|
|
170
|
+
} & SVGAttributes<SVGSVGElement>;
|
|
171
|
+
type SvgIcon = (props: SvgProps) => JSX.Element;
|
|
172
|
+
type IconStatesOf<I> = I extends {
|
|
173
|
+
states: ReadonlyArray<infer S>;
|
|
174
|
+
} ? S : never;
|
|
175
|
+
type SvgPropsWithState<I> = SvgProps & (IconStatesOf<I> extends never ? object : {
|
|
176
|
+
/**
|
|
177
|
+
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
178
|
+
*/
|
|
179
|
+
iconState?: IconStatesOf<I>;
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
declare const BUTTON_SIZES: ["xsmall", "small", "medium", "large"];
|
|
183
|
+
declare const BUTTON_PURPOSES: ["primary", "secondary", "tertiary", "danger"];
|
|
184
|
+
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
185
|
+
type ButtonPurpose = (typeof BUTTON_PURPOSES)[number];
|
|
186
|
+
type IconPosition = 'left' | 'right';
|
|
187
|
+
type PickedHTMLAttributes$4 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type' | 'aria-label'>;
|
|
188
|
+
type ButtonProps<I extends SvgIcon = SvgIcon, T extends ElementType = 'button'> = PolymorphicBaseComponentProps<T, {
|
|
189
|
+
/** Størrelsen på knappen.
|
|
190
|
+
* @default "medium"
|
|
191
|
+
*/
|
|
192
|
+
size?: ButtonSize;
|
|
193
|
+
/**Innhold i knappen (unntatt ikon). */
|
|
194
|
+
children?: ReactNode;
|
|
195
|
+
/**Bestemmer farger basert på formål.
|
|
196
|
+
* @default "primary"
|
|
197
|
+
*/
|
|
198
|
+
purpose?: ButtonPurpose;
|
|
199
|
+
/** Posisjonen til ikonet i forhold til teksten.
|
|
200
|
+
* @default "left"
|
|
201
|
+
*/
|
|
202
|
+
iconPosition?: IconPosition;
|
|
203
|
+
/**Indikerer en loading-knapp. */
|
|
204
|
+
loading?: boolean;
|
|
205
|
+
/** Tooltip som vises ved loading.
|
|
206
|
+
* @default "Lagring pågår"
|
|
207
|
+
*/
|
|
208
|
+
loadingTooltip?: string;
|
|
209
|
+
/**Ikonet som ligger i knappen. */
|
|
210
|
+
icon?: I;
|
|
211
|
+
/**
|
|
212
|
+
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
213
|
+
*/
|
|
214
|
+
iconState?: IconStatesOf<I>;
|
|
215
|
+
/**Knapp med full bredde. */
|
|
216
|
+
fullWidth?: boolean;
|
|
217
|
+
} & PickedHTMLAttributes$4>;
|
|
218
|
+
|
|
219
|
+
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-on-data-default", "text-on-data-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"];
|
|
220
|
+
type DDSTextColor = (typeof TEXT_COLORS)[number];
|
|
221
|
+
type TextColor = DDSTextColor | Property.Color;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Join class names together.
|
|
225
|
+
* Will filter out all falsy values.
|
|
226
|
+
*/
|
|
227
|
+
declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
228
|
+
|
|
229
|
+
declare const ICON_SIZES: ["small", "medium", "large", "inherit", "component"];
|
|
230
|
+
type IconSize = (typeof ICON_SIZES)[number];
|
|
231
|
+
type IconProps<I extends SvgIcon = SvgIcon> = BaseComponentProps<SVGSVGElement, {
|
|
232
|
+
/**Ikonet importert fra `@norges-domstoler/dds-components`. */
|
|
233
|
+
icon: I;
|
|
234
|
+
/**Størrelsen på ikonet.
|
|
235
|
+
* @default "medium"
|
|
236
|
+
*/
|
|
237
|
+
iconSize?: IconSize;
|
|
238
|
+
/**Fargen på ikonet.
|
|
239
|
+
* @default "currentcolor"
|
|
240
|
+
*/
|
|
241
|
+
color?: TextColor;
|
|
242
|
+
/**
|
|
243
|
+
* Ikon-state hvis ikonet kan animeres; types basert på ikon valgt i `icon` prop. Statiske ikoner støtter ikke propen.
|
|
244
|
+
*/
|
|
245
|
+
iconState?: IconStatesOf<I>;
|
|
246
|
+
}, SvgPropsWithState<I>>;
|
|
247
|
+
declare function Icon<I extends SvgIcon = SvgIcon>(props: IconProps<I>): react_jsx_runtime.JSX.Element;
|
|
248
|
+
declare namespace Icon {
|
|
249
|
+
var displayName: string;
|
|
50
250
|
}
|
|
251
|
+
|
|
252
|
+
declare const Button: {
|
|
253
|
+
<I extends SvgIcon, T extends ElementType = "button">({ as: propAs, children, purpose, size, iconPosition, loading, loadingTooltip, fullWidth, icon, iconState, onClick, onFocus, onBlur, id, ref, className, style, htmlProps, ...props }: ButtonProps<I, T>): react_jsx_runtime.JSX.Element;
|
|
254
|
+
displayName: string;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
declare const TOGGLE_SIZES: ["medium", "large"];
|
|
258
|
+
type ToggleSize = (typeof TOGGLE_SIZES)[number];
|
|
259
|
+
type ToggleProps = BaseComponentProps<HTMLElement, {
|
|
260
|
+
/**Ledetekst; tillater bruk av f.eks. `<VisuallyHidden>` for usynlig tekst. */
|
|
261
|
+
children?: ReactNode;
|
|
262
|
+
/**
|
|
263
|
+
* Callback som blir kalt når brukeren endrer toggle-verdien.
|
|
264
|
+
*/
|
|
265
|
+
onChange?: (checked: boolean) => void;
|
|
266
|
+
/**
|
|
267
|
+
* Om toggle er av eller på.
|
|
268
|
+
*/
|
|
269
|
+
checked?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Den initielle verdien når komponenten brukes uncontrolled.
|
|
272
|
+
* @default false
|
|
273
|
+
*/
|
|
274
|
+
defaultChecked?: boolean;
|
|
275
|
+
/**Spesifiserer om input er `disabled`. */
|
|
276
|
+
disabled?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
* Inputelementet blir `readonly` - den kan ikke interageres med. Brukes bl.a. til å presentere input brukeren har fylt ut andre steder.
|
|
279
|
+
*/
|
|
280
|
+
readOnly?: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* Indikerer at verdien prosesseres; viser loading-tilstand og setter `disabled`.
|
|
283
|
+
*/
|
|
284
|
+
isLoading?: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Størrelse.
|
|
287
|
+
* @default "medium"
|
|
288
|
+
*/
|
|
289
|
+
size?: ToggleSize;
|
|
290
|
+
} & Pick<ComponentProps<'input'>, 'name' | 'aria-describedby' | 'onBlur'>, InputHTMLAttributes<HTMLInputElement>>;
|
|
291
|
+
declare const Toggle: {
|
|
292
|
+
({ id, children, size, checked: checkedProp, defaultChecked, onChange, disabled, readOnly, isLoading, className, style, htmlProps, ...rest }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
293
|
+
displayName: string;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
type StylelessButtonProps<TProps extends object = object> = TProps & ComponentPropsWithRef<'button'>;
|
|
51
297
|
/**
|
|
52
|
-
*
|
|
298
|
+
* Normalisert `<button>` uten styling. Base for custom buttom styling.
|
|
53
299
|
*
|
|
54
300
|
* @component
|
|
55
|
-
* @
|
|
56
|
-
* @param {
|
|
57
|
-
* @param {Property.Height} props.height - høyde.
|
|
58
|
-
* @param {Property.Width} props.width - bredde.
|
|
301
|
+
* @template T ekstra props ved behov.
|
|
302
|
+
* @param {Object & T} props - Standard HTML-attributter for komponenten med mulig utvidelse.
|
|
59
303
|
*
|
|
60
|
-
* @returns {JSX.Element}
|
|
304
|
+
* @returns {JSX.Element} `<button>`-element uten styling.
|
|
61
305
|
|
|
62
306
|
* @example
|
|
63
307
|
* ```tsx
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* </button>
|
|
308
|
+
* <StylelessButton className="min-styling">
|
|
309
|
+
* Tekst
|
|
310
|
+
* </StylelessButton>
|
|
68
311
|
* ```
|
|
69
312
|
*/
|
|
70
|
-
declare const
|
|
313
|
+
declare const StylelessButton: ({ className, ...rest }: StylelessButtonProps) => react_jsx_runtime.JSX.Element;
|
|
314
|
+
|
|
315
|
+
type DropdownItemT = 'span' | 'a' | typeof StylelessButton | typeof Toggle;
|
|
316
|
+
type DropdownItemButtonProps = {
|
|
317
|
+
/**Asynkron `onClick` event; håndterer loading status, slik at menyen ikke lukker seg under loading. */
|
|
318
|
+
onClickAsync?: MouseEventHandler<HTMLButtonElement>;
|
|
319
|
+
} & Pick<ButtonProps, 'loading' | 'loadingTooltip'>;
|
|
320
|
+
interface DropdownItemCustomProps<T extends DropdownItemT = 'span'> {
|
|
321
|
+
as?: T;
|
|
322
|
+
/**Ikon som vises ved teksten. **OBS!** Settes i tillegg til `children` for riktig layout. */
|
|
323
|
+
icon?: SvgIcon;
|
|
324
|
+
/**Bestemmer farger basert på formål.
|
|
325
|
+
* @default "default"
|
|
326
|
+
*/
|
|
327
|
+
purpose?: 'default' | 'danger';
|
|
328
|
+
}
|
|
329
|
+
type DropdownItemProps<T extends DropdownItemT = 'span'> = DropdownItemCustomProps<T> & DropdownItemButtonProps & (T extends typeof StylelessButton ? StylelessButtonProps : ComponentPropsWithRef<T>);
|
|
330
|
+
declare const DropdownItem: <T extends DropdownItemT = "span">({ icon, className, children: propChildren, purpose, loading, loadingTooltip, ...rest }: DropdownItemProps<T>) => react_jsx_runtime.JSX.Element;
|
|
331
|
+
|
|
332
|
+
type DropdownHeaderProps = ComponentPropsWithRef<'h2'>;
|
|
333
|
+
declare const DropdownHeader: ({ className, ...rest }: DropdownHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
71
334
|
|
|
72
335
|
/**
|
|
73
336
|
* Usynlig `<input>` til bruk for skjermlesere, typisk for custom radioknapper o.l..
|
|
@@ -274,7 +537,7 @@ interface UseFloatPosition {
|
|
|
274
537
|
* };
|
|
275
538
|
* ```
|
|
276
539
|
*/
|
|
277
|
-
declare const useFloatPosition: (arrowRef
|
|
540
|
+
declare const useFloatPosition: (arrowRef?: HTMLElement | null, options?: UseFloatPositionOptions) => UseFloatPosition;
|
|
278
541
|
|
|
279
542
|
/**
|
|
280
543
|
* Fanger fokus i en loop inni et element.
|
|
@@ -428,140 +691,21 @@ declare const useOnKeyDown: (key: string | Array<string>, handler: (event: Keybo
|
|
|
428
691
|
*/
|
|
429
692
|
declare function useReturnFocusOnBlur<T extends HTMLElement>(active: boolean, onBlur: () => void, triggerElement?: HTMLElement | null): RefObject<T | null>;
|
|
430
693
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
interface CommonComponentProps<THTMLProps extends object, TRef extends Ref<unknown>> {
|
|
434
|
-
/**HTML id. */
|
|
435
|
-
id?: string;
|
|
436
|
-
/**HTML klassenavn. */
|
|
437
|
-
className?: string;
|
|
438
|
-
/**Native HTML-attributter som vil settes på elementet som genereres. Untatt `id`, `className` (og eventuelle andre attributter spesifisert i dokumentasjonen) som settes på toppnivå. */
|
|
439
|
-
htmlProps?: THTMLProps;
|
|
440
|
-
/**Ref til komponenten. */
|
|
441
|
-
ref?: TRef;
|
|
442
|
-
}
|
|
694
|
+
declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is KeyboardEvent$1<Element>;
|
|
443
695
|
/**
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
696
|
+
* Bytter fokus mellom elementer i en gruppe med piltaster og ikke `Tab`, samt looper fokus i gruppen.
|
|
697
|
+
* @param {number} size antall elementer i gruppen.
|
|
698
|
+
* @param {boolean} active om fokus skal kontrolleres av hooken. Når status blir inaktiv vil fokusrekkefølge nullstilles.
|
|
699
|
+
* @param {'row' | 'column'} direction retning elementene blas i.
|
|
700
|
+
* @param {boolean} noWrap om indeksen skal 'wrappe' rundt til 0 hvis den går over size - 1, eller til size - 1 hvis den går under 0.
|
|
701
|
+
* @returns {[focusedIndex: number, setFocus: Dispatch<SetStateAction<number>>]} hook par: indeksen til fokuserte elemenentet og funksjonen som håndterer fokus.
|
|
702
|
+
* @example
|
|
703
|
+
* ```tsx
|
|
704
|
+
* import elements from './elements';
|
|
705
|
+
* import RoveItem from './RoveItem';
|
|
449
706
|
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
* @template THTMLAttributesProps Standard `HTMLAttributes<T>` men kan overstyres for f.eks knapper hvis man trenger en annen basetype for `htmlProps`.
|
|
453
|
-
*/
|
|
454
|
-
type BaseComponentProps<TElement extends Element, TOtherProps extends object = object, THTMLAttributesProps extends HTMLAttributes<TElement> = HTMLAttributes<TElement>> = Omit<THTMLAttributesProps, 'id' | 'className' | keyof TOtherProps> & TOtherProps & CommonComponentProps<THTMLAttributesProps, Ref<TElement>>;
|
|
455
|
-
/**
|
|
456
|
-
* Basetype for polymorfe props som eksponeres til konsumenter av designsystemet.
|
|
457
|
-
* Lager en intersection-type med props som sendes inn og `id` og `htmlProps`
|
|
458
|
-
* slik at man kan ha `ComponentPropsWithRef`-props på komponenter som eksponeres
|
|
459
|
-
* av designsystemet.
|
|
460
|
-
*
|
|
461
|
-
* @template E `ElemenType` komponenten returnerer.
|
|
462
|
-
* @template TOtherProps Andre props komponenten skal eksponere til konsumenter.
|
|
463
|
-
* @template TComponentProps Standard `ComponentPropsWithoutRef<E>` som kan overstyres hvis man trenger en annen basetype for `htmlProps`, f.eks. for å støtte ofte brukte attributter på roten.
|
|
464
|
-
*/
|
|
465
|
-
type PolymorphicBaseComponentProps<E extends ElementType, TOtherProps extends object = object, TComponentProps extends object = ComponentPropsWithoutRef<E>> = Omit<TComponentProps, 'id' | 'className' | 'style' | 'ref' | keyof TOtherProps> & TOtherProps & CommonComponentProps<TComponentProps, ComponentPropsWithRef<E>['ref']> & {
|
|
466
|
-
/**HTML- eller React-element som returneres. */
|
|
467
|
-
as?: E;
|
|
468
|
-
/**Inline style. */
|
|
469
|
-
style?: CSSProperties;
|
|
470
|
-
};
|
|
471
|
-
/**
|
|
472
|
-
* Utvidelese av {@link BaseComponentProps} med prop for `children`.
|
|
473
|
-
*
|
|
474
|
-
* {@link BaseComponentProps}
|
|
475
|
-
*/
|
|
476
|
-
type BaseComponentPropsWithChildren<T extends Element, TProps extends object = object, THTMLProps extends HTMLAttributes<T> = HTMLAttributes<T>> = BaseComponentProps<T, TProps & {
|
|
477
|
-
/**Barn. */
|
|
478
|
-
children?: ReactNode;
|
|
479
|
-
}, THTMLProps>;
|
|
480
|
-
interface GetBaseHTMLProps {
|
|
481
|
-
<T extends Element>(id: HTMLAttributes<T>['id'], className: HTMLAttributes<T>['className'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
482
|
-
<T extends Element>(id: HTMLAttributes<T>['id'], htmlProps: HTMLAttributes<T> | undefined, unknownProps: object): HTMLAttributes<T> & object;
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* Slår sammen id, className, htmlProps og unknownProps til ett objekt
|
|
486
|
-
* som kan spreades som baseprops for en komponent. `unknownProps` er
|
|
487
|
-
* med for å sikre at aria- og data- attributter blir spreadet, alle
|
|
488
|
-
* komponenter må derfor ta hensyn til `...rest` når de leser props.
|
|
489
|
-
*
|
|
490
|
-
* Typisk bruk:
|
|
491
|
-
* ```
|
|
492
|
-
* const Props = BaseComponentProps<HTMLElement, {
|
|
493
|
-
* propA: string,
|
|
494
|
-
* propB: string,
|
|
495
|
-
* }>
|
|
496
|
-
*
|
|
497
|
-
* const MyComponent = (props: Props) => {
|
|
498
|
-
* const { propA, propB, id, className, htmlProps, ...rest } = props;
|
|
499
|
-
*
|
|
500
|
-
* const wrapperProps = getBaseHTMLProps(id, className, htmlProps, rest)
|
|
501
|
-
*
|
|
502
|
-
* return <div {...wrapperProps}>innhold</div>
|
|
503
|
-
* }
|
|
504
|
-
* ```
|
|
505
|
-
* @param id id fra props til komponenten.
|
|
506
|
-
* @param className className for komponenten.
|
|
507
|
-
* @param htmlProps htmlProps fra komponenten.
|
|
508
|
-
* @param unknownProps andre ukjente props som skal spreades, kommer typisk fra `...rest` når man leser props til komponenten.
|
|
509
|
-
* @returns Objekt med alle argumentene som kan spreades.
|
|
510
|
-
*
|
|
511
|
-
* Kan også kalles uten `className`-parameteret. Oppførselen er lik.
|
|
512
|
-
*/
|
|
513
|
-
declare const getBaseHTMLProps: GetBaseHTMLProps;
|
|
514
|
-
|
|
515
|
-
declare const SIZES: readonly ["xsmall", "small", "medium", "large", "xlarge", "xxlarge", "inherit"];
|
|
516
|
-
type Size = (typeof SIZES)[number];
|
|
517
|
-
declare function createSizes<T extends Array<Size>>(...sizes: T): T;
|
|
518
|
-
|
|
519
|
-
declare const BORDER_RADII: readonly ["button", "input", "surface", "chip", "rounded", "0"];
|
|
520
|
-
declare const ELEVATIONS: readonly [1, 2, 3, 4];
|
|
521
|
-
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"];
|
|
522
|
-
declare const BACKGROUNDS: readonly ["surface-subtle", "surface-medium", "surface-inverse-default", "surface-danger-default", "surface-danger-strong", "surface-success-default", "surface-success-strong", "surface-warning-default", "surface-warning-strong", "surface-info-default", "surface-info-strong", "surface-paper-default", "surface-notification", "surface-field-disabled", "brand-primary-default", "brand-primary-subtle", "brand-primary-medium", "brand-primary-strong", "brand-secondary-default", "brand-secondary-subtle", "brand-secondary-medium", "brand-secondary-strong", "brand-tertiary-default", "brand-tertiary-subtle", "brand-tertiary-medium", "brand-tertiary-strong"];
|
|
523
|
-
type BorderRadius = (typeof BORDER_RADII)[number];
|
|
524
|
-
type Elevation = (typeof ELEVATIONS)[number];
|
|
525
|
-
type BorderColor = (typeof BORDER_COLORS)[number];
|
|
526
|
-
type PaperBackground = (typeof BACKGROUNDS)[number];
|
|
527
|
-
declare const isPaperBackground: (value: unknown) => value is PaperBackground;
|
|
528
|
-
declare const isBorderColor: (value: unknown) => value is BorderColor;
|
|
529
|
-
declare const isBorderRadius: (value: unknown) => value is BorderRadius;
|
|
530
|
-
declare const isElevation: (value: unknown) => value is Elevation;
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Gir tilbake `T` med properties fra `K` som påkrevd gitt at `Condition` er `true`
|
|
534
|
-
*
|
|
535
|
-
* @template Condition
|
|
536
|
-
* @template T
|
|
537
|
-
* @template K
|
|
538
|
-
*/
|
|
539
|
-
type WithRequiredIf<Condition extends boolean, T, K extends keyof T> = Omit<T, K> & Pick<true extends Condition ? Required<T> : T, K>;
|
|
540
|
-
/**
|
|
541
|
-
* Gir tilbake typer fra `T` som matcher `U`
|
|
542
|
-
*
|
|
543
|
-
* @template T en union type
|
|
544
|
-
* @template U delmengde av `T`
|
|
545
|
-
*/
|
|
546
|
-
type ExtractStrict<T, U extends T> = U;
|
|
547
|
-
type Nullable<T> = T | null;
|
|
548
|
-
type Callback<T> = (e: T) => void;
|
|
549
|
-
|
|
550
|
-
declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is KeyboardEvent$1<Element>;
|
|
551
|
-
/**
|
|
552
|
-
* Bytter fokus mellom elementer i en gruppe med piltaster og ikke `Tab`, samt looper fokus i gruppen.
|
|
553
|
-
* @param {number} size antall elementer i gruppen.
|
|
554
|
-
* @param {boolean} active om fokus skal kontrolleres av hooken. Når status blir inaktiv vil fokusrekkefølge nullstilles.
|
|
555
|
-
* @param {'row' | 'column'} direction retning elementene blas i.
|
|
556
|
-
* @param {boolean} noWrap om indeksen skal 'wrappe' rundt til 0 hvis den går over size - 1, eller til size - 1 hvis den går under 0.
|
|
557
|
-
* @returns {[focusedIndex: number, setFocus: Dispatch<SetStateAction<number>>]} hook par: indeksen til fokuserte elemenentet og funksjonen som håndterer fokus.
|
|
558
|
-
* @example
|
|
559
|
-
* ```tsx
|
|
560
|
-
* import elements from './elements';
|
|
561
|
-
* import RoveItem from './RoveItem';
|
|
562
|
-
*
|
|
563
|
-
* function MyComponent() {
|
|
564
|
-
* const [focusedIndex, setFocus] = useRoveFocus(elements.length);
|
|
707
|
+
* function MyComponent() {
|
|
708
|
+
* const [focusedIndex, setFocus] = useRoveFocus(elements.length);
|
|
565
709
|
*
|
|
566
710
|
* return (
|
|
567
711
|
* <ul>
|
|
@@ -701,25 +845,6 @@ type ResponsiveStackProps = Omit<ResponsiveProps, 'display' | 'flexDirection'>;
|
|
|
701
845
|
|
|
702
846
|
declare const getLiteralScreenSize: (screenSize: ScreenSize) => Breakpoint;
|
|
703
847
|
|
|
704
|
-
type StylelessButtonProps<TProps extends object = object> = TProps & ComponentPropsWithRef<'button'>;
|
|
705
|
-
/**
|
|
706
|
-
* Normalisert `<button>` uten styling. Base for custom buttom styling.
|
|
707
|
-
*
|
|
708
|
-
* @component
|
|
709
|
-
* @template T ekstra props ved behov.
|
|
710
|
-
* @param {Object & T} props - Standard HTML-attributter for komponenten med mulig utvidelse.
|
|
711
|
-
*
|
|
712
|
-
* @returns {JSX.Element} `<button>`-element uten styling.
|
|
713
|
-
|
|
714
|
-
* @example
|
|
715
|
-
* ```tsx
|
|
716
|
-
* <StylelessButton className="min-styling">
|
|
717
|
-
* Tekst
|
|
718
|
-
* </StylelessButton>
|
|
719
|
-
* ```
|
|
720
|
-
*/
|
|
721
|
-
declare const StylelessButton: ({ className, ...rest }: StylelessButtonProps) => react_jsx_runtime.JSX.Element;
|
|
722
|
-
|
|
723
848
|
type StylelessListProps<TProps extends object = object> = TProps & ComponentPropsWithRef<'ul'>;
|
|
724
849
|
/**
|
|
725
850
|
* Normalisert `<ul>` uten styling. Base for custom ul styling.
|
|
@@ -827,7 +952,7 @@ declare const normalizeButton: {
|
|
|
827
952
|
|
|
828
953
|
type BoxProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveProps>;
|
|
829
954
|
declare const Box: {
|
|
830
|
-
<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, flexDirection, gap, columnGap, rowGap, alignItems, alignContent, justifyItems, justifyContent, flexWrap, flexBasis, flexFlow, htmlProps, ...rest }: BoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
955
|
+
<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, flexDirection, gap, columnGap, rowGap, alignItems, alignContent, justifyItems, justifyContent, flexWrap, flexBasis, flexFlow, wordBreak, htmlProps, ...rest }: BoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
831
956
|
displayName: string;
|
|
832
957
|
};
|
|
833
958
|
|
|
@@ -876,34 +1001,27 @@ type PaperProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T
|
|
|
876
1001
|
borderRadius?: PaperBorderRadius;
|
|
877
1002
|
/**Bakgrunn. Støtter dds tokens. */
|
|
878
1003
|
background?: PaperBackground;
|
|
879
|
-
} & ResponsiveProps & PickedAttributes$1
|
|
1004
|
+
} & ResponsiveProps & PickedAttributes$1>;
|
|
880
1005
|
declare const Paper: <T extends ElementType = "div">({ id, elevation, border, borderRadius, background, className, htmlProps, style, ...rest }: PaperProps<T>) => react_jsx_runtime.JSX.Element;
|
|
881
1006
|
|
|
882
1007
|
type ShowHideProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, PrimitiveDisplayProps>;
|
|
883
1008
|
declare const ShowHide: {
|
|
884
|
-
<T extends ElementType = "div">({ hideBelow, showBelow, className, htmlProps, id, ...rest }: ShowHideProps<T>): react_jsx_runtime.JSX.Element;
|
|
1009
|
+
<T extends ElementType = "div">({ hideBelow, showBelow, className, style, htmlProps, id, as: C, ...rest }: ShowHideProps<T>): react_jsx_runtime.JSX.Element;
|
|
885
1010
|
displayName: string;
|
|
886
1011
|
};
|
|
887
1012
|
|
|
888
1013
|
type VStackProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveStackProps>;
|
|
889
1014
|
declare const VStack: {
|
|
890
|
-
<T extends ElementType = "div">({ id, className, htmlProps, ...rest }: VStackProps<T>): react_jsx_runtime.JSX.Element;
|
|
1015
|
+
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: VStackProps<T>): react_jsx_runtime.JSX.Element;
|
|
891
1016
|
displayName: string;
|
|
892
1017
|
};
|
|
893
1018
|
|
|
894
1019
|
type HStackProps<T extends ElementType = 'div'> = PolymorphicBaseComponentProps<T, ResponsiveStackProps>;
|
|
895
1020
|
declare const HStack: {
|
|
896
|
-
<T extends ElementType = "div">({ id, className, htmlProps, ...rest }: HStackProps<T>): react_jsx_runtime.JSX.Element;
|
|
1021
|
+
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: HStackProps<T>): react_jsx_runtime.JSX.Element;
|
|
897
1022
|
displayName: string;
|
|
898
1023
|
};
|
|
899
1024
|
|
|
900
|
-
type SvgProps = {
|
|
901
|
-
title?: string;
|
|
902
|
-
} & SVGAttributes<SVGSVGElement>;
|
|
903
|
-
type SvgIcon = (props: SvgProps) => JSX.Element;
|
|
904
|
-
|
|
905
|
-
declare function SvgWrapper({ height, width, fill, className, title, children, ...props }: SvgProps): react_jsx_runtime.JSX.Element;
|
|
906
|
-
|
|
907
1025
|
declare function AddressShieldedIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
908
1026
|
|
|
909
1027
|
declare function AgreementIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -928,8 +1046,6 @@ declare function BookIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
928
1046
|
|
|
929
1047
|
declare function BuildIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
930
1048
|
|
|
931
|
-
declare function BuildCircledIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
932
|
-
|
|
933
1049
|
declare function CalendarIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
934
1050
|
|
|
935
1051
|
declare function CalendarMonthIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -956,10 +1072,6 @@ declare function ChevronDownIcon(props: SvgProps): react_jsx_runtime.JSX.Element
|
|
|
956
1072
|
|
|
957
1073
|
declare function ChevronFirstIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
958
1074
|
|
|
959
|
-
declare function ChevronLargeLeftIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
960
|
-
|
|
961
|
-
declare function ChevronLargeRightIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
962
|
-
|
|
963
1075
|
declare function ChevronLastIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
964
1076
|
|
|
965
1077
|
declare function ChevronLeftIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1024,10 +1136,6 @@ declare function FilterIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
1024
1136
|
|
|
1025
1137
|
declare function FilterListIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1026
1138
|
|
|
1027
|
-
declare function FilterListOffIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1028
|
-
|
|
1029
|
-
declare function FilterOffIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1030
|
-
|
|
1031
1139
|
declare function FindInPageIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1032
1140
|
|
|
1033
1141
|
declare function FlickrIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1052,16 +1160,8 @@ declare function HelpFilledIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
1052
1160
|
|
|
1053
1161
|
declare function HomeIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1054
1162
|
|
|
1055
|
-
declare function HourglassBottomIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1056
|
-
|
|
1057
|
-
declare function HourglassDisabledIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1058
|
-
|
|
1059
1163
|
declare function HourglassEmptyIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1060
1164
|
|
|
1061
|
-
declare function HourglassFullIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1062
|
-
|
|
1063
|
-
declare function HourglassTopIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1064
|
-
|
|
1065
1165
|
declare function ImageIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1066
1166
|
|
|
1067
1167
|
declare function InfoIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1142,8 +1242,6 @@ declare function PowerOfAttorneyIcon(props: SvgProps): react_jsx_runtime.JSX.Ele
|
|
|
1142
1242
|
|
|
1143
1243
|
declare function PrintIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1144
1244
|
|
|
1145
|
-
declare function PropertyIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1146
|
-
|
|
1147
1245
|
declare function PublishIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1148
1246
|
|
|
1149
1247
|
declare function QuestionAnswerIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1222,12 +1320,21 @@ declare function TrendingUpIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
|
1222
1320
|
|
|
1223
1321
|
declare function TrendingDownIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1224
1322
|
|
|
1225
|
-
declare function LibraryAddIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1226
|
-
|
|
1227
1323
|
declare function HelpSimpleIcon(props: SvgProps): react_jsx_runtime.JSX.Element;
|
|
1228
1324
|
|
|
1325
|
+
declare const STATES: readonly ["up", "down"];
|
|
1326
|
+
type AnimatedChevronUpDownIconStates = (typeof STATES)[number];
|
|
1327
|
+
declare function AnimatedChevronUpDownIcon(props: SvgProps & {
|
|
1328
|
+
iconState?: AnimatedChevronUpDownIconStates;
|
|
1329
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1330
|
+
declare namespace AnimatedChevronUpDownIcon {
|
|
1331
|
+
var states: readonly ["up", "down"];
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1229
1334
|
declare const index_AddressShieldedIcon: typeof AddressShieldedIcon;
|
|
1230
1335
|
declare const index_AgreementIcon: typeof AgreementIcon;
|
|
1336
|
+
declare const index_AnimatedChevronUpDownIcon: typeof AnimatedChevronUpDownIcon;
|
|
1337
|
+
type index_AnimatedChevronUpDownIconStates = AnimatedChevronUpDownIconStates;
|
|
1231
1338
|
declare const index_AppsIcon: typeof AppsIcon;
|
|
1232
1339
|
declare const index_ArchiveIcon: typeof ArchiveIcon;
|
|
1233
1340
|
declare const index_ArrowDownIcon: typeof ArrowDownIcon;
|
|
@@ -1239,7 +1346,6 @@ declare const index_BarChartBoxedIcon: typeof BarChartBoxedIcon;
|
|
|
1239
1346
|
declare const index_BarChartIcon: typeof BarChartIcon;
|
|
1240
1347
|
declare const index_BlockIcon: typeof BlockIcon;
|
|
1241
1348
|
declare const index_BookIcon: typeof BookIcon;
|
|
1242
|
-
declare const index_BuildCircledIcon: typeof BuildCircledIcon;
|
|
1243
1349
|
declare const index_BuildIcon: typeof BuildIcon;
|
|
1244
1350
|
declare const index_CalendarIcon: typeof CalendarIcon;
|
|
1245
1351
|
declare const index_CalendarMonthIcon: typeof CalendarMonthIcon;
|
|
@@ -1254,8 +1360,6 @@ declare const index_CheckIcon: typeof CheckIcon;
|
|
|
1254
1360
|
declare const index_ChecklistIcon: typeof ChecklistIcon;
|
|
1255
1361
|
declare const index_ChevronDownIcon: typeof ChevronDownIcon;
|
|
1256
1362
|
declare const index_ChevronFirstIcon: typeof ChevronFirstIcon;
|
|
1257
|
-
declare const index_ChevronLargeLeftIcon: typeof ChevronLargeLeftIcon;
|
|
1258
|
-
declare const index_ChevronLargeRightIcon: typeof ChevronLargeRightIcon;
|
|
1259
1363
|
declare const index_ChevronLastIcon: typeof ChevronLastIcon;
|
|
1260
1364
|
declare const index_ChevronLeftIcon: typeof ChevronLeftIcon;
|
|
1261
1365
|
declare const index_ChevronRightIcon: typeof ChevronRightIcon;
|
|
@@ -1288,8 +1392,6 @@ declare const index_FileShieldedIcon: typeof FileShieldedIcon;
|
|
|
1288
1392
|
declare const index_FileTextIcon: typeof FileTextIcon;
|
|
1289
1393
|
declare const index_FilterIcon: typeof FilterIcon;
|
|
1290
1394
|
declare const index_FilterListIcon: typeof FilterListIcon;
|
|
1291
|
-
declare const index_FilterListOffIcon: typeof FilterListOffIcon;
|
|
1292
|
-
declare const index_FilterOffIcon: typeof FilterOffIcon;
|
|
1293
1395
|
declare const index_FindInPageIcon: typeof FindInPageIcon;
|
|
1294
1396
|
declare const index_FlickrIcon: typeof FlickrIcon;
|
|
1295
1397
|
declare const index_FolderAddIcon: typeof FolderAddIcon;
|
|
@@ -1303,11 +1405,7 @@ declare const index_HelpFilledIcon: typeof HelpFilledIcon;
|
|
|
1303
1405
|
declare const index_HelpIcon: typeof HelpIcon;
|
|
1304
1406
|
declare const index_HelpSimpleIcon: typeof HelpSimpleIcon;
|
|
1305
1407
|
declare const index_HomeIcon: typeof HomeIcon;
|
|
1306
|
-
declare const index_HourglassBottomIcon: typeof HourglassBottomIcon;
|
|
1307
|
-
declare const index_HourglassDisabledIcon: typeof HourglassDisabledIcon;
|
|
1308
1408
|
declare const index_HourglassEmptyIcon: typeof HourglassEmptyIcon;
|
|
1309
|
-
declare const index_HourglassFullIcon: typeof HourglassFullIcon;
|
|
1310
|
-
declare const index_HourglassTopIcon: typeof HourglassTopIcon;
|
|
1311
1409
|
declare const index_ImageIcon: typeof ImageIcon;
|
|
1312
1410
|
declare const index_InfoIcon: typeof InfoIcon;
|
|
1313
1411
|
declare const index_InstagramIcon: typeof InstagramIcon;
|
|
@@ -1316,7 +1414,6 @@ declare const index_JordskiftesakIcon: typeof JordskiftesakIcon;
|
|
|
1316
1414
|
declare const index_KeyIcon: typeof KeyIcon;
|
|
1317
1415
|
declare const index_LagmannsrettIcon: typeof LagmannsrettIcon;
|
|
1318
1416
|
declare const index_LanguageIcon: typeof LanguageIcon;
|
|
1319
|
-
declare const index_LibraryAddIcon: typeof LibraryAddIcon;
|
|
1320
1417
|
declare const index_LineChartIcon: typeof LineChartIcon;
|
|
1321
1418
|
declare const index_LinkIcon: typeof LinkIcon;
|
|
1322
1419
|
declare const index_LinkOffIcon: typeof LinkOffIcon;
|
|
@@ -1350,7 +1447,6 @@ declare const index_PlusCircledIcon: typeof PlusCircledIcon;
|
|
|
1350
1447
|
declare const index_PlusIcon: typeof PlusIcon;
|
|
1351
1448
|
declare const index_PowerOfAttorneyIcon: typeof PowerOfAttorneyIcon;
|
|
1352
1449
|
declare const index_PrintIcon: typeof PrintIcon;
|
|
1353
|
-
declare const index_PropertyIcon: typeof PropertyIcon;
|
|
1354
1450
|
declare const index_PublishIcon: typeof PublishIcon;
|
|
1355
1451
|
declare const index_QuestionAnswerIcon: typeof QuestionAnswerIcon;
|
|
1356
1452
|
declare const index_ReceiptIcon: typeof ReceiptIcon;
|
|
@@ -1388,25 +1484,14 @@ declare const index_XIcon: typeof XIcon;
|
|
|
1388
1484
|
declare const index_ZoomInIcon: typeof ZoomInIcon;
|
|
1389
1485
|
declare const index_ZoomOutIcon: typeof ZoomOutIcon;
|
|
1390
1486
|
declare namespace index {
|
|
1391
|
-
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon,
|
|
1487
|
+
export { index_AddressShieldedIcon as AddressShieldedIcon, index_AgreementIcon as AgreementIcon, index_AnimatedChevronUpDownIcon as AnimatedChevronUpDownIcon, type index_AnimatedChevronUpDownIconStates as AnimatedChevronUpDownIconStates, index_AppsIcon as AppsIcon, index_ArchiveIcon as ArchiveIcon, index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowUpIcon as ArrowUpIcon, index_AttachmentIcon as AttachmentIcon, index_BarChartBoxedIcon as BarChartBoxedIcon, index_BarChartIcon as BarChartIcon, index_BlockIcon as BlockIcon, index_BookIcon as BookIcon, index_BuildIcon as BuildIcon, index_CalendarIcon as CalendarIcon, index_CalendarMonthIcon as CalendarMonthIcon, index_CalendarViewDayIcon as CalendarViewDayIcon, index_CalendarViewMonthIcon as CalendarViewMonthIcon, index_CalendarViewWeekIcon as CalendarViewWeekIcon, index_CallIcon as CallIcon, index_CaringIcon as CaringIcon, index_ChatIcon as ChatIcon, index_CheckCircledIcon as CheckCircledIcon, index_CheckIcon as CheckIcon, index_ChecklistIcon as ChecklistIcon, index_ChevronDownIcon as ChevronDownIcon, index_ChevronFirstIcon as ChevronFirstIcon, index_ChevronLastIcon as ChevronLastIcon, index_ChevronLeftIcon as ChevronLeftIcon, index_ChevronRightIcon as ChevronRightIcon, index_ChevronUpIcon as ChevronUpIcon, index_CloseCircledIcon as CloseCircledIcon, index_CloseIcon as CloseIcon, index_CloseSmallIcon as CloseSmallIcon, index_CloudIcon as CloudIcon, index_CollapseIcon as CollapseIcon, index_CommentIcon as CommentIcon, index_CopyIcon as CopyIcon, index_CourtIcon as CourtIcon, index_DateRangeIcon as DateRangeIcon, index_DeathsIcon as DeathsIcon, index_DoubleChevronLeftIcon as DoubleChevronLeftIcon, index_DoubleChevronRightIcon as DoubleChevronRightIcon, index_DownloadDoneIcon as DownloadDoneIcon, index_DownloadIcon as DownloadIcon, index_DragHandleIcon as DragHandleIcon, index_EditIcon as EditIcon, index_ErrorIcon as ErrorIcon, index_ExclaimIcon as ExclaimIcon, index_ExpandIcon as ExpandIcon, index_FacebookIcon as FacebookIcon, index_FamilyIcon as FamilyIcon, index_FeedbackIcon as FeedbackIcon, index_FileAddIcon as FileAddIcon, index_FileIcon as FileIcon, index_FileShieldedIcon as FileShieldedIcon, index_FileTextIcon as FileTextIcon, index_FilterIcon as FilterIcon, index_FilterListIcon as FilterListIcon, index_FindInPageIcon as FindInPageIcon, index_FlickrIcon as FlickrIcon, index_FolderAddIcon as FolderAddIcon, index_FolderIcon as FolderIcon, index_FolderShieldedIcon as FolderShieldedIcon, index_FullscreenExitIcon as FullscreenExitIcon, index_FullscreenIcon as FullscreenIcon, index_GavelIcon as GavelIcon, index_GuardianIcon as GuardianIcon, index_HelpFilledIcon as HelpFilledIcon, index_HelpIcon as HelpIcon, index_HelpSimpleIcon as HelpSimpleIcon, index_HomeIcon as HomeIcon, index_HourglassEmptyIcon as HourglassEmptyIcon, index_ImageIcon as ImageIcon, index_InfoIcon as InfoIcon, index_InstagramIcon as InstagramIcon, index_JordskifterettIcon as JordskifterettIcon, index_JordskiftesakIcon as JordskiftesakIcon, index_KeyIcon as KeyIcon, index_LagmannsrettIcon as LagmannsrettIcon, index_LanguageIcon as LanguageIcon, index_LineChartIcon as LineChartIcon, index_LinkIcon as LinkIcon, index_LinkOffIcon as LinkOffIcon, index_LinkedInIcon as LinkedInIcon, index_ListAltIcon as ListAltIcon, index_ListIcon as ListIcon, index_LocationIcon as LocationIcon, index_LockIcon as LockIcon, index_LockOpenIcon as LockOpenIcon, index_LoginIcon as LoginIcon, index_LogoutIcon as LogoutIcon, index_MailIcon as MailIcon, index_MailOpenIcon as MailOpenIcon, index_MenuIcon as MenuIcon, index_MinusCirledIcon as MinusCirledIcon, index_MinusIcon as MinusIcon, index_MoreHorizontalIcon as MoreHorizontalIcon, index_MoreVerticalIcon as MoreVerticalIcon, index_NotarialIcon as NotarialIcon, index_NotificationsIcon as NotificationsIcon, index_NotificationsOffIcon as NotificationsOffIcon, index_OnlineMeetingIcon as OnlineMeetingIcon, index_OpenExternalIcon as OpenExternalIcon, index_PayoutIcon as PayoutIcon, index_PdfIcon as PdfIcon, index_PersonAddIcon as PersonAddIcon, index_PersonIcon as PersonIcon, index_PersonShieldedIcon as PersonShieldedIcon, index_PinIcon as PinIcon, index_PlusCircledIcon as PlusCircledIcon, index_PlusIcon as PlusIcon, index_PowerOfAttorneyIcon as PowerOfAttorneyIcon, index_PrintIcon as PrintIcon, index_PublishIcon as PublishIcon, index_QuestionAnswerIcon as QuestionAnswerIcon, index_ReceiptIcon as ReceiptIcon, index_RedoIcon as RedoIcon, index_RefreshIcon as RefreshIcon, index_ReplayIcon as ReplayIcon, index_ScaleIcon as ScaleIcon, index_SearchIcon as SearchIcon, index_SectionIcon as SectionIcon, index_SettingsIcon as SettingsIcon, index_SmsIcon as SmsIcon, index_StarFilledIcon as StarFilledIcon, index_StarHalfFilled as StarHalfFilled, index_StarIcon as StarIcon, index_SyncIcon as SyncIcon, index_ThumbDownFilledIcon as ThumbDownFilledIcon, index_ThumbDownIcon as ThumbDownIcon, index_ThumbUpFilledIcon as ThumbUpFilledIcon, index_ThumbUpIcon as ThumbUpIcon, index_TimeIcon as TimeIcon, index_TingrettIcon as TingrettIcon, index_TipIcon as TipIcon, index_TrashIcon as TrashIcon, index_TrendingDownIcon as TrendingDownIcon, index_TrendingUpIcon as TrendingUpIcon, index_UndoIcon as UndoIcon, index_UnfoldLessIcon as UnfoldLessIcon, index_UnfoldMoreIcon as UnfoldMoreIcon, index_UploadIcon as UploadIcon, index_VisibilityOffIcon as VisibilityOffIcon, index_VisibilityOnIcon as VisibilityOnIcon, index_WarningIcon as WarningIcon, index_WebexIcon as WebexIcon, index_XIcon as XIcon, index_ZoomInIcon as ZoomInIcon, index_ZoomOutIcon as ZoomOutIcon };
|
|
1392
1488
|
}
|
|
1393
1489
|
|
|
1394
|
-
/**
|
|
1395
|
-
* Join class names together.
|
|
1396
|
-
* Will filter out all falsy values.
|
|
1397
|
-
*/
|
|
1398
|
-
declare function cn(...classNames: Array<unknown>): string | undefined;
|
|
1399
|
-
|
|
1400
1490
|
type DdsTheme = keyof typeof ddsTokens;
|
|
1401
|
-
interface ThemeContextProps {
|
|
1402
|
-
theme: DdsTheme;
|
|
1403
|
-
el: HTMLDivElement | null;
|
|
1404
|
-
}
|
|
1405
|
-
declare const ThemeContext: react.Context<ThemeContextProps | undefined>;
|
|
1406
1491
|
interface ThemeProviderProps {
|
|
1407
1492
|
/**
|
|
1408
1493
|
* Elsa tema for applikasjonen.
|
|
1409
|
-
* @default "core"
|
|
1494
|
+
* @default "core-light"
|
|
1410
1495
|
*/
|
|
1411
1496
|
theme?: DdsTheme;
|
|
1412
1497
|
/**
|
|
@@ -1414,7 +1499,6 @@ interface ThemeProviderProps {
|
|
|
1414
1499
|
*/
|
|
1415
1500
|
children?: ReactNode;
|
|
1416
1501
|
}
|
|
1417
|
-
declare function ThemeProvider({ theme, children, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
1418
1502
|
/**
|
|
1419
1503
|
* Hook for å hente gjeldende tema og temanavn. Brukes inni ThemeProvider.
|
|
1420
1504
|
*
|
|
@@ -1451,8 +1535,856 @@ declare function useTheme(): {
|
|
|
1451
1535
|
ddsFontWeightSemiBold: "500";
|
|
1452
1536
|
ddsFontWeightBold: "600";
|
|
1453
1537
|
ddsFontLineheightX1: 1.5;
|
|
1454
|
-
ddsFontLineheightX2: 1.35;
|
|
1455
1538
|
ddsFontLineheightX3: 1.2;
|
|
1539
|
+
ddsFontLineheightX2: 1.3;
|
|
1540
|
+
ddsFontLineheightList: 2;
|
|
1541
|
+
ddsFontLetterSpacingTight: "-0.01em";
|
|
1542
|
+
ddsFontLetterSpacingNormal: "0em";
|
|
1543
|
+
ddsFontLetterSpacingLoose: "0.01em";
|
|
1544
|
+
ddsFontParagraphSpacingSmall: "1em";
|
|
1545
|
+
ddsFontParagraphSpacingSmallNumberEm: 1;
|
|
1546
|
+
ddsFontParagraphSpacingMedium: "0.66em";
|
|
1547
|
+
ddsFontParagraphSpacingMediumNumberEm: 0.66;
|
|
1548
|
+
ddsFontParagraphSpacingLarge: "0.5em";
|
|
1549
|
+
ddsFontParagraphSpacingLargeNumberEm: 0.5;
|
|
1550
|
+
ddsFontParagraphSpacingHeading: "0.4em";
|
|
1551
|
+
ddsFontParagraphSpacingHeadingNumberEm: 0.4;
|
|
1552
|
+
ddsFontStyleUnderline: "underline";
|
|
1553
|
+
ddsFontStyleNormal: "none";
|
|
1554
|
+
ddsFontStyleItalic: "italic";
|
|
1555
|
+
ddsSpacingPaddingTopHeading: "0.7em";
|
|
1556
|
+
ddsSpacingPaddingTopHeadingNumberEm: 0.7;
|
|
1557
|
+
ddsSpacingX0: "0rem";
|
|
1558
|
+
ddsSpacingX0NumberRem: 0;
|
|
1559
|
+
ddsSpacingX0125: "0.125rem";
|
|
1560
|
+
ddsSpacingX0125NumberRem: 0.125;
|
|
1561
|
+
ddsSpacingX025: "0.25rem";
|
|
1562
|
+
ddsSpacingX025NumberRem: 0.25;
|
|
1563
|
+
ddsSpacingX05: "0.5rem";
|
|
1564
|
+
ddsSpacingX05NumberRem: 0.5;
|
|
1565
|
+
ddsSpacingX075: "0.75rem";
|
|
1566
|
+
ddsSpacingX075NumberRem: 0.75;
|
|
1567
|
+
ddsSpacingX1: "1rem";
|
|
1568
|
+
ddsSpacingX1NumberRem: 1;
|
|
1569
|
+
ddsSpacingX15: "1.5rem";
|
|
1570
|
+
ddsSpacingX15NumberRem: 1.5;
|
|
1571
|
+
ddsSpacingX2: "2rem";
|
|
1572
|
+
ddsSpacingX2NumberRem: 2;
|
|
1573
|
+
ddsSpacingX25: "2.5rem";
|
|
1574
|
+
ddsSpacingX25NumberRem: 2.5;
|
|
1575
|
+
ddsSpacingX3: "3rem";
|
|
1576
|
+
ddsSpacingX3NumberRem: 3;
|
|
1577
|
+
ddsSpacingX4: "4rem";
|
|
1578
|
+
ddsSpacingX4NumberRem: 4;
|
|
1579
|
+
ddsSpacingX6: "6rem";
|
|
1580
|
+
ddsSpacingX6NumberRem: 6;
|
|
1581
|
+
ddsSpacingX10: "10rem";
|
|
1582
|
+
ddsSpacingX10NumberRem: 10;
|
|
1583
|
+
ddsGridXsGutterSize: "16px";
|
|
1584
|
+
ddsGridXsGutterSizeNumberPx: 16;
|
|
1585
|
+
ddsGridXsCount: "4";
|
|
1586
|
+
ddsGridSmGutterSize: "16px";
|
|
1587
|
+
ddsGridSmGutterSizeNumberPx: 16;
|
|
1588
|
+
ddsGridSmCount: "8";
|
|
1589
|
+
ddsGridLgGutterSize: "24px";
|
|
1590
|
+
ddsGridLgGutterSizeNumberPx: 24;
|
|
1591
|
+
ddsGridLgCount: "12";
|
|
1592
|
+
ddsGridMdGutterSize: "24px";
|
|
1593
|
+
ddsGridMdGutterSizeNumberPx: 24;
|
|
1594
|
+
ddsGridMdCount: "12";
|
|
1595
|
+
ddsGridXlGutterSize: "24px";
|
|
1596
|
+
ddsGridXlGutterSizeNumberPx: 24;
|
|
1597
|
+
ddsGridXlCount: "12";
|
|
1598
|
+
ddsSizeIconLarge: "40px";
|
|
1599
|
+
ddsSizeIconLargeNumberPx: 40;
|
|
1600
|
+
ddsSizeIconMedium: "24px";
|
|
1601
|
+
ddsSizeIconMediumNumberPx: 24;
|
|
1602
|
+
ddsSizeIconSmall: "16px";
|
|
1603
|
+
ddsSizeIconSmallNumberPx: 16;
|
|
1604
|
+
ddsSizeIconComponent: "1.3em";
|
|
1605
|
+
ddsSizeIconComponentNumberEm: 1.3;
|
|
1606
|
+
ddsBreakpointXs: "1px";
|
|
1607
|
+
ddsBreakpointXsNumberPx: 1;
|
|
1608
|
+
ddsBreakpointSm: "600px";
|
|
1609
|
+
ddsBreakpointSmNumberPx: 600;
|
|
1610
|
+
ddsBreakpointMd: "960px";
|
|
1611
|
+
ddsBreakpointMdNumberPx: 960;
|
|
1612
|
+
ddsBreakpointLg: "1280px";
|
|
1613
|
+
ddsBreakpointLgNumberPx: 1280;
|
|
1614
|
+
ddsBreakpointXl: "1920px";
|
|
1615
|
+
ddsBreakpointXlNumberPx: 1920;
|
|
1616
|
+
ddsZindexSkiptocontent: "250";
|
|
1617
|
+
ddsZindexModalBackdrop: "200";
|
|
1618
|
+
ddsZindexDrawer: "180";
|
|
1619
|
+
ddsZindexDrawerBackdrop: "180";
|
|
1620
|
+
ddsZindexOverflowmenu: "160";
|
|
1621
|
+
ddsZindexPopover: "140";
|
|
1622
|
+
ddsZindexTooltip: "120";
|
|
1623
|
+
ddsZindexDropdown: "100";
|
|
1624
|
+
ddsZindexSticky: "50";
|
|
1625
|
+
ddsZindexAbsoluteElement: "1";
|
|
1626
|
+
ddsColorData10Default: "#196b8f";
|
|
1627
|
+
ddsColorData10Subtle: "#93cee6";
|
|
1628
|
+
ddsColorData10Border: "#196b8f";
|
|
1629
|
+
ddsColorDataRed100: "#f8d2d4";
|
|
1630
|
+
ddsColorDataRed200: "#f0a5a9";
|
|
1631
|
+
ddsColorDataRed300: "#f4858b";
|
|
1632
|
+
ddsColorDataRed400: "#e14b53";
|
|
1633
|
+
ddsColorDataRed500: "#da1e28";
|
|
1634
|
+
ddsColorDataRed600: "#ae1820";
|
|
1635
|
+
ddsColorDataRed700: "#831218";
|
|
1636
|
+
ddsColorDataRed800: "#570c10";
|
|
1637
|
+
ddsColorDataRed900: "#2c0608";
|
|
1638
|
+
ddsColorDataMagenta100: "#f7d9f2";
|
|
1639
|
+
ddsColorDataMagenta200: "#edb5e4";
|
|
1640
|
+
ddsColorDataMagenta300: "#e079d0";
|
|
1641
|
+
ddsColorDataMagenta400: "#d54dc0";
|
|
1642
|
+
ddsColorDataMagenta500: "#cb20b0";
|
|
1643
|
+
ddsColorDataMagenta600: "#a21a8d";
|
|
1644
|
+
ddsColorDataMagenta700: "#7a136a";
|
|
1645
|
+
ddsColorDataMagenta800: "#510d46";
|
|
1646
|
+
ddsColorDataMagenta900: "#290623";
|
|
1647
|
+
ddsColorDataBrown100: "#f0ddd5";
|
|
1648
|
+
ddsColorDataBrown200: "#e1bcac";
|
|
1649
|
+
ddsColorDataBrown300: "#d19a82";
|
|
1650
|
+
ddsColorDataBrown400: "#c27959";
|
|
1651
|
+
ddsColorDataBrown500: "#b3572f";
|
|
1652
|
+
ddsColorDataBrown600: "#8f4626";
|
|
1653
|
+
ddsColorDataBrown700: "#6b341c";
|
|
1654
|
+
ddsColorDataBrown800: "#482313";
|
|
1655
|
+
ddsColorDataBrown900: "#241109";
|
|
1656
|
+
ddsColorDataOlive100: "#e9e7cd";
|
|
1657
|
+
ddsColorDataOlive200: "#cdc9a1";
|
|
1658
|
+
ddsColorDataOlive300: "#b3ae71";
|
|
1659
|
+
ddsColorDataOlive400: "#989344";
|
|
1660
|
+
ddsColorDataOlive500: "#7c7518";
|
|
1661
|
+
ddsColorDataOlive600: "#635e13";
|
|
1662
|
+
ddsColorDataOlive700: "#4a460e";
|
|
1663
|
+
ddsColorDataOlive800: "#322f0a";
|
|
1664
|
+
ddsColorDataOlive900: "#191705";
|
|
1665
|
+
ddsColorDataGreen100: "#d7e8cf";
|
|
1666
|
+
ddsColorDataGreen200: "#aed19e";
|
|
1667
|
+
ddsColorDataGreen300: "#95c280";
|
|
1668
|
+
ddsColorDataGreen400: "#619947";
|
|
1669
|
+
ddsColorDataGreen500: "#3a8019";
|
|
1670
|
+
ddsColorDataGreen600: "#2e6614";
|
|
1671
|
+
ddsColorDataGreen700: "#234d0f";
|
|
1672
|
+
ddsColorDataGreen800: "#17330a";
|
|
1673
|
+
ddsColorDataGreen900: "#0c1a05";
|
|
1674
|
+
ddsColorDataTeal100: "#c2e2e1";
|
|
1675
|
+
ddsColorDataTeal200: "#90ccc9";
|
|
1676
|
+
ddsColorDataTeal300: "#5dafad";
|
|
1677
|
+
ddsColorDataTeal400: "#2c9390";
|
|
1678
|
+
ddsColorDataTeal500: "#007d79";
|
|
1679
|
+
ddsColorDataTeal600: "#006461";
|
|
1680
|
+
ddsColorDataTeal700: "#004b49";
|
|
1681
|
+
ddsColorDataTeal800: "#003230";
|
|
1682
|
+
ddsColorDataTeal900: "#001918";
|
|
1683
|
+
ddsColorDataDeepblue100: "#c6e3f1";
|
|
1684
|
+
ddsColorDataDeepblue200: "#93cee6";
|
|
1685
|
+
ddsColorDataDeepblue300: "#62abcb";
|
|
1686
|
+
ddsColorDataDeepblue400: "#358fb5";
|
|
1687
|
+
ddsColorDataDeepblue500: "#196b8f";
|
|
1688
|
+
ddsColorDataDeepblue600: "#135774";
|
|
1689
|
+
ddsColorDataDeepblue700: "#0e455e";
|
|
1690
|
+
ddsColorDataDeepblue800: "#0d3445";
|
|
1691
|
+
ddsColorDataDeepblue900: "#05151d";
|
|
1692
|
+
ddsColorDataBlue100: "#cfe0ff";
|
|
1693
|
+
ddsColorDataBlue200: "#9fc0ff";
|
|
1694
|
+
ddsColorDataBlue300: "#6fa1fe";
|
|
1695
|
+
ddsColorDataBlue400: "#3f81fe";
|
|
1696
|
+
ddsColorDataBlue500: "#0f62fe";
|
|
1697
|
+
ddsColorDataBlue600: "#0c4ecb";
|
|
1698
|
+
ddsColorDataBlue700: "#093b98";
|
|
1699
|
+
ddsColorDataBlue800: "#062766";
|
|
1700
|
+
ddsColorDataBlue900: "#031433";
|
|
1701
|
+
ddsColorDataPurple100: "#e8d9fe";
|
|
1702
|
+
ddsColorDataPurple200: "#d0b2fe";
|
|
1703
|
+
ddsColorDataPurple300: "#b98cfd";
|
|
1704
|
+
ddsColorDataPurple400: "#a165fd";
|
|
1705
|
+
ddsColorDataPurple500: "#8a3ffc";
|
|
1706
|
+
ddsColorDataPurple600: "#6e32ca";
|
|
1707
|
+
ddsColorDataPurple700: "#532697";
|
|
1708
|
+
ddsColorDataPurple800: "#371965";
|
|
1709
|
+
ddsColorDataPurple900: "#1c0d32";
|
|
1710
|
+
ddsColorDataGray100: "#e3e3e3";
|
|
1711
|
+
ddsColorDataGray200: "#c7c7c7";
|
|
1712
|
+
ddsColorDataGray300: "#aaaaaa";
|
|
1713
|
+
ddsColorDataGray400: "#8e8e8e";
|
|
1714
|
+
ddsColorDataGray500: "#727272";
|
|
1715
|
+
ddsColorDataGray600: "#5b5b5b";
|
|
1716
|
+
ddsColorDataGray700: "#444444";
|
|
1717
|
+
ddsColorDataGray800: "#2e2e2e";
|
|
1718
|
+
ddsColorDataGray900: "#171717";
|
|
1719
|
+
ddsColorData01Default: "#0f62fe";
|
|
1720
|
+
ddsColorData01Subtle: "#9fc0ff";
|
|
1721
|
+
ddsColorData01Border: "#0f62fe";
|
|
1722
|
+
ddsColorData02Default: "#b3572f";
|
|
1723
|
+
ddsColorData02Subtle: "#e1bcac";
|
|
1724
|
+
ddsColorData02Border: "#b3572f";
|
|
1725
|
+
ddsColorData03Default: "#727272";
|
|
1726
|
+
ddsColorData03Subtle: "#c7c7c7";
|
|
1727
|
+
ddsColorData03Border: "#727272";
|
|
1728
|
+
ddsColorData04Default: "#3a8019";
|
|
1729
|
+
ddsColorData04Subtle: "#aed19e";
|
|
1730
|
+
ddsColorData04Border: "#3a8019";
|
|
1731
|
+
ddsColorData05Default: "#8a3ffc";
|
|
1732
|
+
ddsColorData05Subtle: "#d0b2fe";
|
|
1733
|
+
ddsColorData05Border: "#8a3ffc";
|
|
1734
|
+
ddsColorData06Default: "#cb20b0";
|
|
1735
|
+
ddsColorData06Subtle: "#edb5e4";
|
|
1736
|
+
ddsColorData06Border: "#cb20b0";
|
|
1737
|
+
ddsColorData07Default: "#7c7518";
|
|
1738
|
+
ddsColorData07Subtle: "#cdc9a1";
|
|
1739
|
+
ddsColorData07Border: "#7c7518";
|
|
1740
|
+
ddsColorData08Default: "#da1e28";
|
|
1741
|
+
ddsColorData08Subtle: "#f0a5a9";
|
|
1742
|
+
ddsColorData08Border: "#da1e28";
|
|
1743
|
+
ddsColorData09Default: "#007d79";
|
|
1744
|
+
ddsColorData09Subtle: "#90ccc9";
|
|
1745
|
+
ddsColorData09Border: "#007d79";
|
|
1746
|
+
ddsColorBgDefault: "#ffffff";
|
|
1747
|
+
ddsColorBgSubtle: "#f1f3f4";
|
|
1748
|
+
ddsColorSurfaceDefault: "#ffffff";
|
|
1749
|
+
ddsColorSurfaceSubtle: "#f1f3f4";
|
|
1750
|
+
ddsColorSurfaceMedium: "#e9ebec";
|
|
1751
|
+
ddsColorSurfaceHoverDefault: "#e7f1f7";
|
|
1752
|
+
ddsColorSurfaceHoverSubtle: "#f1f3f4";
|
|
1753
|
+
ddsColorSurfaceSelectedDefault: "#e7f1f7";
|
|
1754
|
+
ddsColorSurfaceInverseDefault: "#354754";
|
|
1755
|
+
ddsColorSurfaceInverseHover: "#2a3943";
|
|
1756
|
+
ddsColorSurfaceInverseSelected: "#202b32";
|
|
1757
|
+
ddsColorSurfaceActionResting: "#106ead";
|
|
1758
|
+
ddsColorSurfaceActionHover: "#0d588a";
|
|
1759
|
+
ddsColorSurfaceActionSelected: "#106ead";
|
|
1760
|
+
ddsColorSurfaceActionDangerResting: "#d83737";
|
|
1761
|
+
ddsColorSurfaceActionDangerHover: "#ad2c2c";
|
|
1762
|
+
ddsColorSurfaceActionSelectedDisabled: "#77838c";
|
|
1763
|
+
ddsColorSurfaceDangerDefault: "#fbebeb";
|
|
1764
|
+
ddsColorSurfaceDangerStrong: "#e47373";
|
|
1765
|
+
ddsColorSurfaceSuccessDefault: "#f0f9f0";
|
|
1766
|
+
ddsColorSurfaceSuccessStrong: "#93d294";
|
|
1767
|
+
ddsColorSurfaceWarningDefault: "#fefced";
|
|
1768
|
+
ddsColorSurfaceWarningStrong: "#f7e982";
|
|
1769
|
+
ddsColorSurfaceInfoDefault: "#f1f8fd";
|
|
1770
|
+
ddsColorSurfaceInfoStrong: "#9eceee";
|
|
1771
|
+
ddsColorSurfacePaperDefault: "#ffffff";
|
|
1772
|
+
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
1773
|
+
ddsColorSurfaceFieldDefault: "#ffffff";
|
|
1774
|
+
ddsColorSurfaceFieldDisabled: "#f1f3f4";
|
|
1775
|
+
ddsColorSurfaceHighlightedDefault: "#fce5dd";
|
|
1776
|
+
ddsColorSurfaceScrollbar: "#adb5ba";
|
|
1777
|
+
ddsColorSurfaceNotification: "#d83737";
|
|
1778
|
+
ddsColorSurfaceSkeleton: "#d6dadd";
|
|
1779
|
+
ddsColorBorderDefault: "#77838c";
|
|
1780
|
+
ddsColorBorderSubtle: "#d6dadd";
|
|
1781
|
+
ddsColorBorderInverse: "#acbbc6";
|
|
1782
|
+
ddsColorBorderActionDefault: "#106ead";
|
|
1783
|
+
ddsColorBorderActionHover: "#0d588a";
|
|
1784
|
+
ddsColorBorderSuccess: "#65be66";
|
|
1785
|
+
ddsColorBorderWarning: "#f4e04d";
|
|
1786
|
+
ddsColorBorderDanger: "#d83737";
|
|
1787
|
+
ddsColorBorderInfo: "#75b9e6";
|
|
1788
|
+
ddsColorBorderOnAction: "#ffffff";
|
|
1789
|
+
ddsColorTextDefault: "#0b0d0e";
|
|
1790
|
+
ddsColorTextMedium: "#3a4146";
|
|
1791
|
+
ddsColorTextSubtle: "#545c62";
|
|
1792
|
+
ddsColorTextOnInverse: "#ffffff";
|
|
1793
|
+
ddsColorTextDanger: "#ad2c2c";
|
|
1794
|
+
ddsColorTextOnAction: "#ffffff";
|
|
1795
|
+
ddsColorTextOnStatusDefault: "#0b0d0e";
|
|
1796
|
+
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
1797
|
+
ddsColorTextActionResting: "#106ead";
|
|
1798
|
+
ddsColorTextActionHover: "#0d588a";
|
|
1799
|
+
ddsColorTextRequiredfield: "#d83737";
|
|
1800
|
+
ddsColorTextActionVisited: "#7f29b4";
|
|
1801
|
+
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
1802
|
+
ddsColorTextOnNotification: "#ffffff";
|
|
1803
|
+
ddsColorTextOnPrimaryDefault: "#ffffff";
|
|
1804
|
+
ddsColorTextOnPrimarySubtle: "#0b0d0e";
|
|
1805
|
+
ddsColorTextOnPrimaryMedium: "#ffffff";
|
|
1806
|
+
ddsColorTextOnPrimaryStrong: "#ffffff";
|
|
1807
|
+
ddsColorTextOnSecondaryDefault: "#0b0d0e";
|
|
1808
|
+
ddsColorTextOnSecondarySubtle: "#0b0d0e";
|
|
1809
|
+
ddsColorTextOnSecondaryMedium: "#0b0d0e";
|
|
1810
|
+
ddsColorTextOnSecondaryStrong: "#ffffff";
|
|
1811
|
+
ddsColorTextOnTertiaryDefault: "#0b0d0e";
|
|
1812
|
+
ddsColorTextOnTertiarySubtle: "#0b0d0e";
|
|
1813
|
+
ddsColorTextOnTertiaryMedium: "#0b0d0e";
|
|
1814
|
+
ddsColorTextOnTertiaryStrong: "#0b0d0e";
|
|
1815
|
+
ddsColorTextOnDataDefault: "#ffffff";
|
|
1816
|
+
ddsColorTextOnDataSubtle: "#0b0d0e";
|
|
1817
|
+
ddsColorIconDefault: "#0b0d0e";
|
|
1818
|
+
ddsColorIconMedium: "#3a4146";
|
|
1819
|
+
ddsColorIconSubtle: "#545c62";
|
|
1820
|
+
ddsColorIconOnInverse: "#ffffff";
|
|
1821
|
+
ddsColorIconOnAction: "#ffffff";
|
|
1822
|
+
ddsColorIconActionResting: "#106ead";
|
|
1823
|
+
ddsColorIconActionHover: "#0d588a";
|
|
1824
|
+
ddsColorIconOnSuccessDefault: "#3d723d";
|
|
1825
|
+
ddsColorIconOnSuccessStrong: "#0b0d0e";
|
|
1826
|
+
ddsColorIconOnWarningDefault: "#9a8c26";
|
|
1827
|
+
ddsColorIconOnWarningStrong: "#0b0d0e";
|
|
1828
|
+
ddsColorIconOnDangerDefault: "#ad2c2c";
|
|
1829
|
+
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
1830
|
+
ddsColorIconOnInfoDefault: "#3e7192";
|
|
1831
|
+
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
1832
|
+
ddsColorIconDanger: "#ad2c2c";
|
|
1833
|
+
ddsColorBrandPrimaryDefault: "#354754";
|
|
1834
|
+
ddsColorBrandPrimarySubtle: "#eaeff4";
|
|
1835
|
+
ddsColorBrandPrimaryMedium: "#4f6a7e";
|
|
1836
|
+
ddsColorBrandPrimaryStrong: "#202b32";
|
|
1837
|
+
ddsColorBrandSecondaryDefault: "#9ab8b7";
|
|
1838
|
+
ddsColorBrandSecondarySubtle: "#e6eded";
|
|
1839
|
+
ddsColorBrandSecondaryMedium: "#b8cdcd";
|
|
1840
|
+
ddsColorBrandSecondaryStrong: "#4d6463";
|
|
1841
|
+
ddsColorBrandTertiaryDefault: "#f27e55";
|
|
1842
|
+
ddsColorBrandTertiarySubtle: "#fce5dd";
|
|
1843
|
+
ddsColorBrandTertiaryMedium: "#f2a68f";
|
|
1844
|
+
ddsColorBrandTertiaryStrong: "#d45d32";
|
|
1845
|
+
ddsColorFocusOutside: "#2a4b61";
|
|
1846
|
+
ddsColorFocusInside: "#f1f8fd";
|
|
1847
|
+
ddsShadowLarge: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
1848
|
+
ddsShadowMedium: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
1849
|
+
ddsShadowSmall: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
1850
|
+
ddsBorderRadiusButton: "2px";
|
|
1851
|
+
ddsBorderRadiusButtonNumberPx: 2;
|
|
1852
|
+
ddsBorderRadiusSurface: "4px";
|
|
1853
|
+
ddsBorderRadiusSurfaceNumberPx: 4;
|
|
1854
|
+
ddsBorderRadiusInput: "2px";
|
|
1855
|
+
ddsBorderRadiusInputNumberPx: 2;
|
|
1856
|
+
ddsBorderRadiusChip: "4px";
|
|
1857
|
+
ddsBorderRadiusChipNumberPx: 4;
|
|
1858
|
+
ddsBorderRadiusRounded: "9999px";
|
|
1859
|
+
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
1860
|
+
ddsFontLabelMedium: "600 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1861
|
+
ddsFontBodyLongXsmall: "400 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1862
|
+
ddsFontBodyLongSmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1863
|
+
ddsFontBodyLongMedium: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1864
|
+
ddsFontBodyLongLarge: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1865
|
+
ddsFontHeadingXxsmall: "600 0.75rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1866
|
+
ddsFontHeadingXsmall: "600 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1867
|
+
ddsFontHeadingSmall: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1868
|
+
ddsFontHeadingMedium: "600 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1869
|
+
ddsFontHeadingLarge: "400 clamp(1.25rem, 0.833rem + 1.111vw, 1.5rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1870
|
+
ddsFontHeadingXlarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1871
|
+
ddsFontHeadingXxlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1872
|
+
ddsFontLeadMedium: "300 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1873
|
+
ddsFontCodeMedium: "400 1rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
1874
|
+
ddsFontBodyShortXsmall: "400 0.75rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1875
|
+
ddsFontBodyShortSmall: "400 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1876
|
+
ddsFontBodyShortMedium: "400 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1877
|
+
ddsFontBodyShortLarge: "400 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1878
|
+
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
1879
|
+
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
1880
|
+
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
1881
|
+
ddsFontHeadingXlargeLetterSpacing: "0em";
|
|
1882
|
+
ddsFontHeadingXlargeParagraphSpacing: "0.4em";
|
|
1883
|
+
ddsFontHeadingXlargeParagraphSpacingNumberEm: 0.4;
|
|
1884
|
+
ddsFontHeadingLargeLetterSpacing: "0em";
|
|
1885
|
+
ddsFontHeadingLargeParagraphSpacing: "0.4em";
|
|
1886
|
+
ddsFontHeadingLargeParagraphSpacingNumberEm: 0.4;
|
|
1887
|
+
ddsFontHeadingMediumLetterSpacing: "0em";
|
|
1888
|
+
ddsFontHeadingMediumParagraphSpacing: "0.4em";
|
|
1889
|
+
ddsFontHeadingMediumParagraphSpacingNumberEm: 0.4;
|
|
1890
|
+
ddsFontHeadingSmallLetterSpacing: "0em";
|
|
1891
|
+
ddsFontHeadingSmallParagraphSpacing: "0.4em";
|
|
1892
|
+
ddsFontHeadingSmallParagraphSpacingNumberEm: 0.4;
|
|
1893
|
+
ddsFontHeadingXsmallLetterSpacing: "0.01em";
|
|
1894
|
+
ddsFontHeadingXsmallParagraphSpacing: "0.4em";
|
|
1895
|
+
ddsFontHeadingXsmallParagraphSpacingNumberEm: 0.4;
|
|
1896
|
+
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
1897
|
+
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
1898
|
+
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
1899
|
+
ddsFontBodyLongLargeLetterSpacing: "0em";
|
|
1900
|
+
ddsFontBodyLongLargeParagraphSpacing: "1em";
|
|
1901
|
+
ddsFontBodyLongLargeParagraphSpacingNumberEm: 1;
|
|
1902
|
+
ddsFontBodyLongMediumLetterSpacing: "0em";
|
|
1903
|
+
ddsFontBodyLongMediumParagraphSpacing: "1em";
|
|
1904
|
+
ddsFontBodyLongMediumParagraphSpacingNumberEm: 1;
|
|
1905
|
+
ddsFontBodyLongSmallLetterSpacing: "0.01em";
|
|
1906
|
+
ddsFontBodyLongSmallParagraphSpacing: "1em";
|
|
1907
|
+
ddsFontBodyLongSmallParagraphSpacingNumberEm: 1;
|
|
1908
|
+
ddsFontBodyLongXsmallLetterSpacing: "0.01em";
|
|
1909
|
+
ddsFontBodyLongXsmallParagraphSpacing: "1em";
|
|
1910
|
+
ddsFontBodyLongXsmallParagraphSpacingNumberEm: 1;
|
|
1911
|
+
ddsFontLeadMediumLetterSpacing: "0em";
|
|
1912
|
+
ddsFontLeadMediumParagraphSpacing: "1em";
|
|
1913
|
+
ddsFontLeadMediumParagraphSpacingNumberEm: 1;
|
|
1914
|
+
ddsFontCodeMediumLetterSpacing: "0em";
|
|
1915
|
+
ddsFontCodeMediumParagraphSpacing: "1em";
|
|
1916
|
+
ddsFontCodeMediumParagraphSpacingNumberEm: 1;
|
|
1917
|
+
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
1918
|
+
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
1919
|
+
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
1920
|
+
ddsFontBodyShortLargeLetterSpacing: "0em";
|
|
1921
|
+
ddsFontBodyShortLargeParagraphSpacing: "1em";
|
|
1922
|
+
ddsFontBodyShortLargeParagraphSpacingNumberEm: 1;
|
|
1923
|
+
ddsFontBodyShortMediumLetterSpacing: "0em";
|
|
1924
|
+
ddsFontBodyShortMediumParagraphSpacing: "1em";
|
|
1925
|
+
ddsFontBodyShortMediumParagraphSpacingNumberEm: 1;
|
|
1926
|
+
ddsFontBodyShortSmallLetterSpacing: "0.01em";
|
|
1927
|
+
ddsFontBodyShortSmallParagraphSpacing: "1em";
|
|
1928
|
+
ddsFontBodyShortSmallParagraphSpacingNumberEm: 1;
|
|
1929
|
+
ddsFontBodyShortXsmallLetterSpacing: "0.01em";
|
|
1930
|
+
ddsFontBodyShortXsmallParagraphSpacing: "1em";
|
|
1931
|
+
ddsFontBodyShortXsmallParagraphSpacingNumberEm: 1;
|
|
1932
|
+
} | {
|
|
1933
|
+
ddsFontFamilySans: "'IBM Plex Sans', Arial, sans-serif";
|
|
1934
|
+
ddsFontFamilyMonospace: "'IBM Plex Mono', 'Courier New', monospace";
|
|
1935
|
+
ddsFontSizeX5: "5rem";
|
|
1936
|
+
ddsFontSizeX5NumberRem: 5;
|
|
1937
|
+
ddsFontSizeX4: "4rem";
|
|
1938
|
+
ddsFontSizeX4NumberRem: 4;
|
|
1939
|
+
ddsFontSizeX3: "3rem";
|
|
1940
|
+
ddsFontSizeX3NumberRem: 3;
|
|
1941
|
+
ddsFontSizeX25: "2.5rem";
|
|
1942
|
+
ddsFontSizeX25NumberRem: 2.5;
|
|
1943
|
+
ddsFontSizeX2: "2rem";
|
|
1944
|
+
ddsFontSizeX2NumberRem: 2;
|
|
1945
|
+
ddsFontSizeX15: "1.5rem";
|
|
1946
|
+
ddsFontSizeX15NumberRem: 1.5;
|
|
1947
|
+
ddsFontSizeX125: "1.25rem";
|
|
1948
|
+
ddsFontSizeX125NumberRem: 1.25;
|
|
1949
|
+
ddsFontSizeX1125: "1.125rem";
|
|
1950
|
+
ddsFontSizeX1125NumberRem: 1.125;
|
|
1951
|
+
ddsFontSizeX1: "1rem";
|
|
1952
|
+
ddsFontSizeX1NumberRem: 1;
|
|
1953
|
+
ddsFontSizeX0875: "0.875rem";
|
|
1954
|
+
ddsFontSizeX0875NumberRem: 0.875;
|
|
1955
|
+
ddsFontSizeX075: "0.75rem";
|
|
1956
|
+
ddsFontSizeX075NumberRem: 0.75;
|
|
1957
|
+
ddsFontWeightLight: "300";
|
|
1958
|
+
ddsFontWeightNormal: "400";
|
|
1959
|
+
ddsFontWeightSemiBold: "500";
|
|
1960
|
+
ddsFontWeightBold: "600";
|
|
1961
|
+
ddsFontLineheightX1: 1.5;
|
|
1962
|
+
ddsFontLineheightX3: 1.2;
|
|
1963
|
+
ddsFontLineheightX2: 1.3;
|
|
1964
|
+
ddsFontLineheightList: 2;
|
|
1965
|
+
ddsFontLetterSpacingTight: "-0.01em";
|
|
1966
|
+
ddsFontLetterSpacingNormal: "0em";
|
|
1967
|
+
ddsFontLetterSpacingLoose: "0.01em";
|
|
1968
|
+
ddsFontParagraphSpacingSmall: "1em";
|
|
1969
|
+
ddsFontParagraphSpacingSmallNumberEm: 1;
|
|
1970
|
+
ddsFontParagraphSpacingMedium: "0.66em";
|
|
1971
|
+
ddsFontParagraphSpacingMediumNumberEm: 0.66;
|
|
1972
|
+
ddsFontParagraphSpacingLarge: "0.5em";
|
|
1973
|
+
ddsFontParagraphSpacingLargeNumberEm: 0.5;
|
|
1974
|
+
ddsFontParagraphSpacingHeading: "0.4em";
|
|
1975
|
+
ddsFontParagraphSpacingHeadingNumberEm: 0.4;
|
|
1976
|
+
ddsFontStyleUnderline: "underline";
|
|
1977
|
+
ddsFontStyleNormal: "none";
|
|
1978
|
+
ddsFontStyleItalic: "italic";
|
|
1979
|
+
ddsSpacingPaddingTopHeading: "0.7em";
|
|
1980
|
+
ddsSpacingPaddingTopHeadingNumberEm: 0.7;
|
|
1981
|
+
ddsSpacingX0: "0rem";
|
|
1982
|
+
ddsSpacingX0NumberRem: 0;
|
|
1983
|
+
ddsSpacingX0125: "0.125rem";
|
|
1984
|
+
ddsSpacingX0125NumberRem: 0.125;
|
|
1985
|
+
ddsSpacingX025: "0.25rem";
|
|
1986
|
+
ddsSpacingX025NumberRem: 0.25;
|
|
1987
|
+
ddsSpacingX05: "0.5rem";
|
|
1988
|
+
ddsSpacingX05NumberRem: 0.5;
|
|
1989
|
+
ddsSpacingX075: "0.75rem";
|
|
1990
|
+
ddsSpacingX075NumberRem: 0.75;
|
|
1991
|
+
ddsSpacingX1: "1rem";
|
|
1992
|
+
ddsSpacingX1NumberRem: 1;
|
|
1993
|
+
ddsSpacingX15: "1.5rem";
|
|
1994
|
+
ddsSpacingX15NumberRem: 1.5;
|
|
1995
|
+
ddsSpacingX2: "2rem";
|
|
1996
|
+
ddsSpacingX2NumberRem: 2;
|
|
1997
|
+
ddsSpacingX25: "2.5rem";
|
|
1998
|
+
ddsSpacingX25NumberRem: 2.5;
|
|
1999
|
+
ddsSpacingX3: "3rem";
|
|
2000
|
+
ddsSpacingX3NumberRem: 3;
|
|
2001
|
+
ddsSpacingX4: "4rem";
|
|
2002
|
+
ddsSpacingX4NumberRem: 4;
|
|
2003
|
+
ddsSpacingX6: "6rem";
|
|
2004
|
+
ddsSpacingX6NumberRem: 6;
|
|
2005
|
+
ddsSpacingX10: "10rem";
|
|
2006
|
+
ddsSpacingX10NumberRem: 10;
|
|
2007
|
+
ddsGridXsGutterSize: "16px";
|
|
2008
|
+
ddsGridXsGutterSizeNumberPx: 16;
|
|
2009
|
+
ddsGridXsCount: "4";
|
|
2010
|
+
ddsGridSmGutterSize: "16px";
|
|
2011
|
+
ddsGridSmGutterSizeNumberPx: 16;
|
|
2012
|
+
ddsGridSmCount: "8";
|
|
2013
|
+
ddsGridLgGutterSize: "24px";
|
|
2014
|
+
ddsGridLgGutterSizeNumberPx: 24;
|
|
2015
|
+
ddsGridLgCount: "12";
|
|
2016
|
+
ddsGridMdGutterSize: "24px";
|
|
2017
|
+
ddsGridMdGutterSizeNumberPx: 24;
|
|
2018
|
+
ddsGridMdCount: "12";
|
|
2019
|
+
ddsGridXlGutterSize: "24px";
|
|
2020
|
+
ddsGridXlGutterSizeNumberPx: 24;
|
|
2021
|
+
ddsGridXlCount: "12";
|
|
2022
|
+
ddsSizeIconLarge: "40px";
|
|
2023
|
+
ddsSizeIconLargeNumberPx: 40;
|
|
2024
|
+
ddsSizeIconMedium: "24px";
|
|
2025
|
+
ddsSizeIconMediumNumberPx: 24;
|
|
2026
|
+
ddsSizeIconSmall: "16px";
|
|
2027
|
+
ddsSizeIconSmallNumberPx: 16;
|
|
2028
|
+
ddsSizeIconComponent: "1.3em";
|
|
2029
|
+
ddsSizeIconComponentNumberEm: 1.3;
|
|
2030
|
+
ddsBreakpointXs: "1px";
|
|
2031
|
+
ddsBreakpointXsNumberPx: 1;
|
|
2032
|
+
ddsBreakpointSm: "600px";
|
|
2033
|
+
ddsBreakpointSmNumberPx: 600;
|
|
2034
|
+
ddsBreakpointMd: "960px";
|
|
2035
|
+
ddsBreakpointMdNumberPx: 960;
|
|
2036
|
+
ddsBreakpointLg: "1280px";
|
|
2037
|
+
ddsBreakpointLgNumberPx: 1280;
|
|
2038
|
+
ddsBreakpointXl: "1920px";
|
|
2039
|
+
ddsBreakpointXlNumberPx: 1920;
|
|
2040
|
+
ddsZindexSkiptocontent: "250";
|
|
2041
|
+
ddsZindexModalBackdrop: "200";
|
|
2042
|
+
ddsZindexDrawer: "180";
|
|
2043
|
+
ddsZindexDrawerBackdrop: "180";
|
|
2044
|
+
ddsZindexOverflowmenu: "160";
|
|
2045
|
+
ddsZindexPopover: "140";
|
|
2046
|
+
ddsZindexTooltip: "120";
|
|
2047
|
+
ddsZindexDropdown: "100";
|
|
2048
|
+
ddsZindexSticky: "50";
|
|
2049
|
+
ddsZindexAbsoluteElement: "1";
|
|
2050
|
+
ddsColorData10Default: "#62abcb";
|
|
2051
|
+
ddsColorData10Subtle: "#135774";
|
|
2052
|
+
ddsColorData10Border: "#62abcb";
|
|
2053
|
+
ddsColorDataRed100: "#f8d2d4";
|
|
2054
|
+
ddsColorDataRed200: "#f0a5a9";
|
|
2055
|
+
ddsColorDataRed300: "#f4858b";
|
|
2056
|
+
ddsColorDataRed400: "#e14b53";
|
|
2057
|
+
ddsColorDataRed500: "#da1e28";
|
|
2058
|
+
ddsColorDataRed600: "#ae1820";
|
|
2059
|
+
ddsColorDataRed700: "#831218";
|
|
2060
|
+
ddsColorDataRed800: "#570c10";
|
|
2061
|
+
ddsColorDataRed900: "#2c0608";
|
|
2062
|
+
ddsColorDataMagenta100: "#f7d9f2";
|
|
2063
|
+
ddsColorDataMagenta200: "#edb5e4";
|
|
2064
|
+
ddsColorDataMagenta300: "#e079d0";
|
|
2065
|
+
ddsColorDataMagenta400: "#d54dc0";
|
|
2066
|
+
ddsColorDataMagenta500: "#cb20b0";
|
|
2067
|
+
ddsColorDataMagenta600: "#a21a8d";
|
|
2068
|
+
ddsColorDataMagenta700: "#7a136a";
|
|
2069
|
+
ddsColorDataMagenta800: "#510d46";
|
|
2070
|
+
ddsColorDataMagenta900: "#290623";
|
|
2071
|
+
ddsColorDataBrown100: "#f0ddd5";
|
|
2072
|
+
ddsColorDataBrown200: "#e1bcac";
|
|
2073
|
+
ddsColorDataBrown300: "#d19a82";
|
|
2074
|
+
ddsColorDataBrown400: "#c27959";
|
|
2075
|
+
ddsColorDataBrown500: "#b3572f";
|
|
2076
|
+
ddsColorDataBrown600: "#8f4626";
|
|
2077
|
+
ddsColorDataBrown700: "#6b341c";
|
|
2078
|
+
ddsColorDataBrown800: "#482313";
|
|
2079
|
+
ddsColorDataBrown900: "#241109";
|
|
2080
|
+
ddsColorDataOlive100: "#e9e7cd";
|
|
2081
|
+
ddsColorDataOlive200: "#cdc9a1";
|
|
2082
|
+
ddsColorDataOlive300: "#b3ae71";
|
|
2083
|
+
ddsColorDataOlive400: "#989344";
|
|
2084
|
+
ddsColorDataOlive500: "#7c7518";
|
|
2085
|
+
ddsColorDataOlive600: "#635e13";
|
|
2086
|
+
ddsColorDataOlive700: "#4a460e";
|
|
2087
|
+
ddsColorDataOlive800: "#322f0a";
|
|
2088
|
+
ddsColorDataOlive900: "#191705";
|
|
2089
|
+
ddsColorDataGreen100: "#d7e8cf";
|
|
2090
|
+
ddsColorDataGreen200: "#aed19e";
|
|
2091
|
+
ddsColorDataGreen300: "#95c280";
|
|
2092
|
+
ddsColorDataGreen400: "#619947";
|
|
2093
|
+
ddsColorDataGreen500: "#3a8019";
|
|
2094
|
+
ddsColorDataGreen600: "#2e6614";
|
|
2095
|
+
ddsColorDataGreen700: "#234d0f";
|
|
2096
|
+
ddsColorDataGreen800: "#17330a";
|
|
2097
|
+
ddsColorDataGreen900: "#0c1a05";
|
|
2098
|
+
ddsColorDataTeal100: "#c2e2e1";
|
|
2099
|
+
ddsColorDataTeal200: "#90ccc9";
|
|
2100
|
+
ddsColorDataTeal300: "#5dafad";
|
|
2101
|
+
ddsColorDataTeal400: "#2c9390";
|
|
2102
|
+
ddsColorDataTeal500: "#007d79";
|
|
2103
|
+
ddsColorDataTeal600: "#006461";
|
|
2104
|
+
ddsColorDataTeal700: "#004b49";
|
|
2105
|
+
ddsColorDataTeal800: "#003230";
|
|
2106
|
+
ddsColorDataTeal900: "#001918";
|
|
2107
|
+
ddsColorDataDeepblue100: "#c6e3f1";
|
|
2108
|
+
ddsColorDataDeepblue200: "#93cee6";
|
|
2109
|
+
ddsColorDataDeepblue300: "#62abcb";
|
|
2110
|
+
ddsColorDataDeepblue400: "#358fb5";
|
|
2111
|
+
ddsColorDataDeepblue500: "#196b8f";
|
|
2112
|
+
ddsColorDataDeepblue600: "#135774";
|
|
2113
|
+
ddsColorDataDeepblue700: "#0e455e";
|
|
2114
|
+
ddsColorDataDeepblue800: "#0d3445";
|
|
2115
|
+
ddsColorDataDeepblue900: "#05151d";
|
|
2116
|
+
ddsColorDataBlue100: "#cfe0ff";
|
|
2117
|
+
ddsColorDataBlue200: "#9fc0ff";
|
|
2118
|
+
ddsColorDataBlue300: "#6fa1fe";
|
|
2119
|
+
ddsColorDataBlue400: "#3f81fe";
|
|
2120
|
+
ddsColorDataBlue500: "#0f62fe";
|
|
2121
|
+
ddsColorDataBlue600: "#0c4ecb";
|
|
2122
|
+
ddsColorDataBlue700: "#093b98";
|
|
2123
|
+
ddsColorDataBlue800: "#062766";
|
|
2124
|
+
ddsColorDataBlue900: "#031433";
|
|
2125
|
+
ddsColorDataPurple100: "#e8d9fe";
|
|
2126
|
+
ddsColorDataPurple200: "#d0b2fe";
|
|
2127
|
+
ddsColorDataPurple300: "#b98cfd";
|
|
2128
|
+
ddsColorDataPurple400: "#a165fd";
|
|
2129
|
+
ddsColorDataPurple500: "#8a3ffc";
|
|
2130
|
+
ddsColorDataPurple600: "#6e32ca";
|
|
2131
|
+
ddsColorDataPurple700: "#532697";
|
|
2132
|
+
ddsColorDataPurple800: "#371965";
|
|
2133
|
+
ddsColorDataPurple900: "#1c0d32";
|
|
2134
|
+
ddsColorDataGray100: "#e3e3e3";
|
|
2135
|
+
ddsColorDataGray200: "#c7c7c7";
|
|
2136
|
+
ddsColorDataGray300: "#aaaaaa";
|
|
2137
|
+
ddsColorDataGray400: "#8e8e8e";
|
|
2138
|
+
ddsColorDataGray500: "#727272";
|
|
2139
|
+
ddsColorDataGray600: "#5b5b5b";
|
|
2140
|
+
ddsColorDataGray700: "#444444";
|
|
2141
|
+
ddsColorDataGray800: "#2e2e2e";
|
|
2142
|
+
ddsColorDataGray900: "#171717";
|
|
2143
|
+
ddsColorData01Default: "#6fa1fe";
|
|
2144
|
+
ddsColorData01Subtle: "#0c4ecb";
|
|
2145
|
+
ddsColorData01Border: "#6fa1fe";
|
|
2146
|
+
ddsColorData02Default: "#d19a82";
|
|
2147
|
+
ddsColorData02Subtle: "#8f4626";
|
|
2148
|
+
ddsColorData02Border: "#d19a82";
|
|
2149
|
+
ddsColorData03Default: "#aaaaaa";
|
|
2150
|
+
ddsColorData03Subtle: "#5b5b5b";
|
|
2151
|
+
ddsColorData03Border: "#aaaaaa";
|
|
2152
|
+
ddsColorData04Default: "#95c280";
|
|
2153
|
+
ddsColorData04Subtle: "#2e6614";
|
|
2154
|
+
ddsColorData04Border: "#95c280";
|
|
2155
|
+
ddsColorData05Default: "#b98cfd";
|
|
2156
|
+
ddsColorData05Subtle: "#6e32ca";
|
|
2157
|
+
ddsColorData05Border: "#b98cfd";
|
|
2158
|
+
ddsColorData06Default: "#e079d0";
|
|
2159
|
+
ddsColorData06Subtle: "#a21a8d";
|
|
2160
|
+
ddsColorData06Border: "#e079d0";
|
|
2161
|
+
ddsColorData07Default: "#b3ae71";
|
|
2162
|
+
ddsColorData07Subtle: "#635e13";
|
|
2163
|
+
ddsColorData07Border: "#b3ae71";
|
|
2164
|
+
ddsColorData08Default: "#f4858b";
|
|
2165
|
+
ddsColorData08Subtle: "#ae1820";
|
|
2166
|
+
ddsColorData08Border: "#f4858b";
|
|
2167
|
+
ddsColorData09Default: "#5dafad";
|
|
2168
|
+
ddsColorData09Subtle: "#006461";
|
|
2169
|
+
ddsColorData09Border: "#5dafad";
|
|
2170
|
+
ddsColorBgDefault: "#181a1c";
|
|
2171
|
+
ddsColorBgSubtle: "#22272a";
|
|
2172
|
+
ddsColorSurfaceDefault: "#181a1c";
|
|
2173
|
+
ddsColorSurfaceSubtle: "#22272a";
|
|
2174
|
+
ddsColorSurfaceMedium: "#303438";
|
|
2175
|
+
ddsColorSurfaceHoverDefault: "#062c45";
|
|
2176
|
+
ddsColorSurfaceHoverSubtle: "#22272a";
|
|
2177
|
+
ddsColorSurfaceSelectedDefault: "#062c45";
|
|
2178
|
+
ddsColorSurfaceInverseDefault: "#354754";
|
|
2179
|
+
ddsColorSurfaceInverseHover: "#2a3943";
|
|
2180
|
+
ddsColorSurfaceInverseSelected: "#202b32";
|
|
2181
|
+
ddsColorSurfaceActionResting: "#589ac6";
|
|
2182
|
+
ddsColorSurfaceActionHover: "#9fc5de";
|
|
2183
|
+
ddsColorSurfaceActionSelected: "#589ac6";
|
|
2184
|
+
ddsColorSurfaceActionDangerResting: "#e47373";
|
|
2185
|
+
ddsColorSurfaceActionDangerHover: "#efafaf";
|
|
2186
|
+
ddsColorSurfaceActionSelectedDisabled: "#77838c";
|
|
2187
|
+
ddsColorSurfaceDangerDefault: "#561616";
|
|
2188
|
+
ddsColorSurfaceDangerStrong: "#dc4b4b";
|
|
2189
|
+
ddsColorSurfaceSuccessDefault: "#284c29";
|
|
2190
|
+
ddsColorSurfaceSuccessStrong: "#65be66";
|
|
2191
|
+
ddsColorSurfaceWarningDefault: "#494317";
|
|
2192
|
+
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
2193
|
+
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
2194
|
+
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
2195
|
+
ddsColorSurfacePaperDefault: "#3a4146";
|
|
2196
|
+
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
2197
|
+
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
2198
|
+
ddsColorSurfaceFieldDisabled: "#303438";
|
|
2199
|
+
ddsColorSurfaceHighlightedDefault: "#833a21";
|
|
2200
|
+
ddsColorSurfaceScrollbar: "#545c62";
|
|
2201
|
+
ddsColorSurfaceNotification: "#d83737";
|
|
2202
|
+
ddsColorSurfaceSkeleton: "#545c62";
|
|
2203
|
+
ddsColorBorderDefault: "#77838c";
|
|
2204
|
+
ddsColorBorderSubtle: "#545c62";
|
|
2205
|
+
ddsColorBorderInverse: "#acbbc6";
|
|
2206
|
+
ddsColorBorderActionDefault: "#589ac6";
|
|
2207
|
+
ddsColorBorderActionHover: "#9fc5de";
|
|
2208
|
+
ddsColorBorderSuccess: "#519852";
|
|
2209
|
+
ddsColorBorderWarning: "#ccba35";
|
|
2210
|
+
ddsColorBorderDanger: "#ad2c2c";
|
|
2211
|
+
ddsColorBorderInfo: "#5197c5";
|
|
2212
|
+
ddsColorBorderOnAction: "#181a1c";
|
|
2213
|
+
ddsColorTextDefault: "#ffffff";
|
|
2214
|
+
ddsColorTextMedium: "#e9ebec";
|
|
2215
|
+
ddsColorTextSubtle: "#d6dadd";
|
|
2216
|
+
ddsColorTextOnInverse: "#ffffff";
|
|
2217
|
+
ddsColorTextDanger: "#efafaf";
|
|
2218
|
+
ddsColorTextOnAction: "#0b0d0e";
|
|
2219
|
+
ddsColorTextOnStatusDefault: "#ffffff";
|
|
2220
|
+
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
2221
|
+
ddsColorTextActionResting: "#9fc5de";
|
|
2222
|
+
ddsColorTextActionHover: "#e7f1f7";
|
|
2223
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
2224
|
+
ddsColorTextActionVisited: "#cca9e1";
|
|
2225
|
+
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
2226
|
+
ddsColorTextOnNotification: "#ffffff";
|
|
2227
|
+
ddsColorTextOnPrimaryDefault: "#ffffff";
|
|
2228
|
+
ddsColorTextOnPrimarySubtle: "#ffffff";
|
|
2229
|
+
ddsColorTextOnPrimaryMedium: "#ffffff";
|
|
2230
|
+
ddsColorTextOnPrimaryStrong: "#ffffff";
|
|
2231
|
+
ddsColorTextOnSecondaryDefault: "#0b0d0e";
|
|
2232
|
+
ddsColorTextOnSecondarySubtle: "#ffffff";
|
|
2233
|
+
ddsColorTextOnSecondaryMedium: "#ffffff";
|
|
2234
|
+
ddsColorTextOnSecondaryStrong: "#0b0d0e";
|
|
2235
|
+
ddsColorTextOnTertiaryDefault: "#0b0d0e";
|
|
2236
|
+
ddsColorTextOnTertiarySubtle: "#ffffff";
|
|
2237
|
+
ddsColorTextOnTertiaryMedium: "#0b0d0e";
|
|
2238
|
+
ddsColorTextOnTertiaryStrong: "#0b0d0e";
|
|
2239
|
+
ddsColorTextOnDataDefault: "#0b0d0e";
|
|
2240
|
+
ddsColorTextOnDataSubtle: "#ffffff";
|
|
2241
|
+
ddsColorIconDefault: "#ffffff";
|
|
2242
|
+
ddsColorIconMedium: "#e9ebec";
|
|
2243
|
+
ddsColorIconSubtle: "#d6dadd";
|
|
2244
|
+
ddsColorIconOnInverse: "#ffffff";
|
|
2245
|
+
ddsColorIconOnAction: "#0b0d0e";
|
|
2246
|
+
ddsColorIconActionResting: "#9fc5de";
|
|
2247
|
+
ddsColorIconActionHover: "#e7f1f7";
|
|
2248
|
+
ddsColorIconOnSuccessDefault: "#c1e5c2";
|
|
2249
|
+
ddsColorIconOnSuccessStrong: "#0b0d0e";
|
|
2250
|
+
ddsColorIconOnWarningDefault: "#fbf3b8";
|
|
2251
|
+
ddsColorIconOnWarningStrong: "#0b0d0e";
|
|
2252
|
+
ddsColorIconOnDangerDefault: "#efafaf";
|
|
2253
|
+
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
2254
|
+
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
2255
|
+
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
2256
|
+
ddsColorIconDanger: "#efafaf";
|
|
2257
|
+
ddsColorBrandPrimaryDefault: "#354754";
|
|
2258
|
+
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
2259
|
+
ddsColorBrandPrimaryMedium: "#405767";
|
|
2260
|
+
ddsColorBrandPrimaryStrong: "#4f6a7e";
|
|
2261
|
+
ddsColorBrandSecondaryDefault: "#9ab8b7";
|
|
2262
|
+
ddsColorBrandSecondarySubtle: "#2b3a3a";
|
|
2263
|
+
ddsColorBrandSecondaryMedium: "#4d6463";
|
|
2264
|
+
ddsColorBrandSecondaryStrong: "#b8cdcd";
|
|
2265
|
+
ddsColorBrandTertiaryDefault: "#f27e55";
|
|
2266
|
+
ddsColorBrandTertiarySubtle: "#a24422";
|
|
2267
|
+
ddsColorBrandTertiaryMedium: "#f2a68f";
|
|
2268
|
+
ddsColorBrandTertiaryStrong: "#ffd6ca";
|
|
2269
|
+
ddsColorFocusOutside: "#f1f8fd";
|
|
2270
|
+
ddsColorFocusInside: "#2a4b61";
|
|
2271
|
+
ddsShadowLarge: "8px 16px 32px 0px rgba(11, 13, 14, 80%)";
|
|
2272
|
+
ddsShadowMedium: "2px 4px 8px 0px rgba(11, 13, 14, 80%)";
|
|
2273
|
+
ddsShadowSmall: "1px 2px 4px 0px rgba(11, 13, 14, 80%)";
|
|
2274
|
+
ddsBorderRadiusButton: "2px";
|
|
2275
|
+
ddsBorderRadiusButtonNumberPx: 2;
|
|
2276
|
+
ddsBorderRadiusSurface: "4px";
|
|
2277
|
+
ddsBorderRadiusSurfaceNumberPx: 4;
|
|
2278
|
+
ddsBorderRadiusInput: "2px";
|
|
2279
|
+
ddsBorderRadiusInputNumberPx: 2;
|
|
2280
|
+
ddsBorderRadiusChip: "4px";
|
|
2281
|
+
ddsBorderRadiusChipNumberPx: 4;
|
|
2282
|
+
ddsBorderRadiusRounded: "9999px";
|
|
2283
|
+
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
2284
|
+
ddsFontLabelMedium: "600 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2285
|
+
ddsFontBodyLongXsmall: "400 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2286
|
+
ddsFontBodyLongSmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2287
|
+
ddsFontBodyLongMedium: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2288
|
+
ddsFontBodyLongLarge: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2289
|
+
ddsFontHeadingXxsmall: "600 0.75rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2290
|
+
ddsFontHeadingXsmall: "600 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2291
|
+
ddsFontHeadingSmall: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2292
|
+
ddsFontHeadingMedium: "600 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2293
|
+
ddsFontHeadingLarge: "400 clamp(1.25rem, 0.833rem + 1.111vw, 1.5rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2294
|
+
ddsFontHeadingXlarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2295
|
+
ddsFontHeadingXxlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2296
|
+
ddsFontLeadMedium: "300 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2297
|
+
ddsFontCodeMedium: "400 1rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
2298
|
+
ddsFontBodyShortXsmall: "400 0.75rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2299
|
+
ddsFontBodyShortSmall: "400 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2300
|
+
ddsFontBodyShortMedium: "400 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2301
|
+
ddsFontBodyShortLarge: "400 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2302
|
+
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
2303
|
+
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
2304
|
+
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
2305
|
+
ddsFontHeadingXlargeLetterSpacing: "0em";
|
|
2306
|
+
ddsFontHeadingXlargeParagraphSpacing: "0.4em";
|
|
2307
|
+
ddsFontHeadingXlargeParagraphSpacingNumberEm: 0.4;
|
|
2308
|
+
ddsFontHeadingLargeLetterSpacing: "0em";
|
|
2309
|
+
ddsFontHeadingLargeParagraphSpacing: "0.4em";
|
|
2310
|
+
ddsFontHeadingLargeParagraphSpacingNumberEm: 0.4;
|
|
2311
|
+
ddsFontHeadingMediumLetterSpacing: "0em";
|
|
2312
|
+
ddsFontHeadingMediumParagraphSpacing: "0.4em";
|
|
2313
|
+
ddsFontHeadingMediumParagraphSpacingNumberEm: 0.4;
|
|
2314
|
+
ddsFontHeadingSmallLetterSpacing: "0em";
|
|
2315
|
+
ddsFontHeadingSmallParagraphSpacing: "0.4em";
|
|
2316
|
+
ddsFontHeadingSmallParagraphSpacingNumberEm: 0.4;
|
|
2317
|
+
ddsFontHeadingXsmallLetterSpacing: "0.01em";
|
|
2318
|
+
ddsFontHeadingXsmallParagraphSpacing: "0.4em";
|
|
2319
|
+
ddsFontHeadingXsmallParagraphSpacingNumberEm: 0.4;
|
|
2320
|
+
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
2321
|
+
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
2322
|
+
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
2323
|
+
ddsFontBodyLongLargeLetterSpacing: "0em";
|
|
2324
|
+
ddsFontBodyLongLargeParagraphSpacing: "1em";
|
|
2325
|
+
ddsFontBodyLongLargeParagraphSpacingNumberEm: 1;
|
|
2326
|
+
ddsFontBodyLongMediumLetterSpacing: "0em";
|
|
2327
|
+
ddsFontBodyLongMediumParagraphSpacing: "1em";
|
|
2328
|
+
ddsFontBodyLongMediumParagraphSpacingNumberEm: 1;
|
|
2329
|
+
ddsFontBodyLongSmallLetterSpacing: "0.01em";
|
|
2330
|
+
ddsFontBodyLongSmallParagraphSpacing: "1em";
|
|
2331
|
+
ddsFontBodyLongSmallParagraphSpacingNumberEm: 1;
|
|
2332
|
+
ddsFontBodyLongXsmallLetterSpacing: "0.01em";
|
|
2333
|
+
ddsFontBodyLongXsmallParagraphSpacing: "1em";
|
|
2334
|
+
ddsFontBodyLongXsmallParagraphSpacingNumberEm: 1;
|
|
2335
|
+
ddsFontLeadMediumLetterSpacing: "0em";
|
|
2336
|
+
ddsFontLeadMediumParagraphSpacing: "1em";
|
|
2337
|
+
ddsFontLeadMediumParagraphSpacingNumberEm: 1;
|
|
2338
|
+
ddsFontCodeMediumLetterSpacing: "0em";
|
|
2339
|
+
ddsFontCodeMediumParagraphSpacing: "1em";
|
|
2340
|
+
ddsFontCodeMediumParagraphSpacingNumberEm: 1;
|
|
2341
|
+
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
2342
|
+
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
2343
|
+
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
2344
|
+
ddsFontBodyShortLargeLetterSpacing: "0em";
|
|
2345
|
+
ddsFontBodyShortLargeParagraphSpacing: "1em";
|
|
2346
|
+
ddsFontBodyShortLargeParagraphSpacingNumberEm: 1;
|
|
2347
|
+
ddsFontBodyShortMediumLetterSpacing: "0em";
|
|
2348
|
+
ddsFontBodyShortMediumParagraphSpacing: "1em";
|
|
2349
|
+
ddsFontBodyShortMediumParagraphSpacingNumberEm: 1;
|
|
2350
|
+
ddsFontBodyShortSmallLetterSpacing: "0.01em";
|
|
2351
|
+
ddsFontBodyShortSmallParagraphSpacing: "1em";
|
|
2352
|
+
ddsFontBodyShortSmallParagraphSpacingNumberEm: 1;
|
|
2353
|
+
ddsFontBodyShortXsmallLetterSpacing: "0.01em";
|
|
2354
|
+
ddsFontBodyShortXsmallParagraphSpacing: "1em";
|
|
2355
|
+
ddsFontBodyShortXsmallParagraphSpacingNumberEm: 1;
|
|
2356
|
+
} | {
|
|
2357
|
+
ddsFontFamilySans: "'IBM Plex Sans', Arial, sans-serif";
|
|
2358
|
+
ddsFontFamilyMonospace: "'IBM Plex Mono', 'Courier New', monospace";
|
|
2359
|
+
ddsFontSizeX5: "5rem";
|
|
2360
|
+
ddsFontSizeX5NumberRem: 5;
|
|
2361
|
+
ddsFontSizeX4: "4rem";
|
|
2362
|
+
ddsFontSizeX4NumberRem: 4;
|
|
2363
|
+
ddsFontSizeX3: "3rem";
|
|
2364
|
+
ddsFontSizeX3NumberRem: 3;
|
|
2365
|
+
ddsFontSizeX25: "2.5rem";
|
|
2366
|
+
ddsFontSizeX25NumberRem: 2.5;
|
|
2367
|
+
ddsFontSizeX2: "2rem";
|
|
2368
|
+
ddsFontSizeX2NumberRem: 2;
|
|
2369
|
+
ddsFontSizeX15: "1.5rem";
|
|
2370
|
+
ddsFontSizeX15NumberRem: 1.5;
|
|
2371
|
+
ddsFontSizeX125: "1.25rem";
|
|
2372
|
+
ddsFontSizeX125NumberRem: 1.25;
|
|
2373
|
+
ddsFontSizeX1125: "1.125rem";
|
|
2374
|
+
ddsFontSizeX1125NumberRem: 1.125;
|
|
2375
|
+
ddsFontSizeX1: "1rem";
|
|
2376
|
+
ddsFontSizeX1NumberRem: 1;
|
|
2377
|
+
ddsFontSizeX0875: "0.875rem";
|
|
2378
|
+
ddsFontSizeX0875NumberRem: 0.875;
|
|
2379
|
+
ddsFontSizeX075: "0.75rem";
|
|
2380
|
+
ddsFontSizeX075NumberRem: 0.75;
|
|
2381
|
+
ddsFontWeightLight: "300";
|
|
2382
|
+
ddsFontWeightNormal: "400";
|
|
2383
|
+
ddsFontWeightSemiBold: "500";
|
|
2384
|
+
ddsFontWeightBold: "600";
|
|
2385
|
+
ddsFontLineheightX1: 1.5;
|
|
2386
|
+
ddsFontLineheightX3: 1.2;
|
|
2387
|
+
ddsFontLineheightX2: 1.3;
|
|
1456
2388
|
ddsFontLineheightList: 2;
|
|
1457
2389
|
ddsFontLetterSpacingTight: "-0.01em";
|
|
1458
2390
|
ddsFontLetterSpacingNormal: "0em";
|
|
@@ -1496,10 +2428,6 @@ declare function useTheme(): {
|
|
|
1496
2428
|
ddsSpacingX6NumberRem: 6;
|
|
1497
2429
|
ddsSpacingX10: "10rem";
|
|
1498
2430
|
ddsSpacingX10NumberRem: 10;
|
|
1499
|
-
ddsShadow1: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
1500
|
-
ddsShadow2: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
1501
|
-
ddsShadow3: "4px 8px 16px 0px rgba(11, 13, 14, 10%)";
|
|
1502
|
-
ddsShadow4: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
1503
2431
|
ddsGridXsGutterSize: "16px";
|
|
1504
2432
|
ddsGridXsGutterSizeNumberPx: 16;
|
|
1505
2433
|
ddsGridXsCount: "4";
|
|
@@ -1515,12 +2443,14 @@ declare function useTheme(): {
|
|
|
1515
2443
|
ddsGridXlGutterSize: "24px";
|
|
1516
2444
|
ddsGridXlGutterSizeNumberPx: 24;
|
|
1517
2445
|
ddsGridXlCount: "12";
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
2446
|
+
ddsSizeIconLarge: "40px";
|
|
2447
|
+
ddsSizeIconLargeNumberPx: 40;
|
|
2448
|
+
ddsSizeIconMedium: "24px";
|
|
2449
|
+
ddsSizeIconMediumNumberPx: 24;
|
|
2450
|
+
ddsSizeIconSmall: "16px";
|
|
2451
|
+
ddsSizeIconSmallNumberPx: 16;
|
|
2452
|
+
ddsSizeIconComponent: "1.3em";
|
|
2453
|
+
ddsSizeIconComponentNumberEm: 1.3;
|
|
1524
2454
|
ddsBreakpointXs: "1px";
|
|
1525
2455
|
ddsBreakpointXsNumberPx: 1;
|
|
1526
2456
|
ddsBreakpointSm: "600px";
|
|
@@ -1542,26 +2472,26 @@ declare function useTheme(): {
|
|
|
1542
2472
|
ddsZindexSticky: "50";
|
|
1543
2473
|
ddsZindexAbsoluteElement: "1";
|
|
1544
2474
|
ddsColorData10Default: "#196b8f";
|
|
1545
|
-
ddsColorData10Subtle: "#
|
|
2475
|
+
ddsColorData10Subtle: "#93cee6";
|
|
1546
2476
|
ddsColorData10Border: "#196b8f";
|
|
1547
2477
|
ddsColorDataRed100: "#f8d2d4";
|
|
1548
2478
|
ddsColorDataRed200: "#f0a5a9";
|
|
1549
|
-
ddsColorDataRed300: "#
|
|
2479
|
+
ddsColorDataRed300: "#f4858b";
|
|
1550
2480
|
ddsColorDataRed400: "#e14b53";
|
|
1551
2481
|
ddsColorDataRed500: "#da1e28";
|
|
1552
2482
|
ddsColorDataRed600: "#ae1820";
|
|
1553
2483
|
ddsColorDataRed700: "#831218";
|
|
1554
2484
|
ddsColorDataRed800: "#570c10";
|
|
1555
2485
|
ddsColorDataRed900: "#2c0608";
|
|
1556
|
-
ddsColorDataMagenta100: "#
|
|
1557
|
-
ddsColorDataMagenta200: "#
|
|
1558
|
-
ddsColorDataMagenta300: "#
|
|
1559
|
-
ddsColorDataMagenta400: "#
|
|
1560
|
-
ddsColorDataMagenta500: "#
|
|
1561
|
-
ddsColorDataMagenta600: "#
|
|
1562
|
-
ddsColorDataMagenta700: "#
|
|
1563
|
-
ddsColorDataMagenta800: "#
|
|
1564
|
-
ddsColorDataMagenta900: "#
|
|
2486
|
+
ddsColorDataMagenta100: "#f7d9f2";
|
|
2487
|
+
ddsColorDataMagenta200: "#edb5e4";
|
|
2488
|
+
ddsColorDataMagenta300: "#e079d0";
|
|
2489
|
+
ddsColorDataMagenta400: "#d54dc0";
|
|
2490
|
+
ddsColorDataMagenta500: "#cb20b0";
|
|
2491
|
+
ddsColorDataMagenta600: "#a21a8d";
|
|
2492
|
+
ddsColorDataMagenta700: "#7a136a";
|
|
2493
|
+
ddsColorDataMagenta800: "#510d46";
|
|
2494
|
+
ddsColorDataMagenta900: "#290623";
|
|
1565
2495
|
ddsColorDataBrown100: "#f0ddd5";
|
|
1566
2496
|
ddsColorDataBrown200: "#e1bcac";
|
|
1567
2497
|
ddsColorDataBrown300: "#d19a82";
|
|
@@ -1571,7 +2501,7 @@ declare function useTheme(): {
|
|
|
1571
2501
|
ddsColorDataBrown700: "#6b341c";
|
|
1572
2502
|
ddsColorDataBrown800: "#482313";
|
|
1573
2503
|
ddsColorDataBrown900: "#241109";
|
|
1574
|
-
ddsColorDataOlive100: "#
|
|
2504
|
+
ddsColorDataOlive100: "#e9e7cd";
|
|
1575
2505
|
ddsColorDataOlive200: "#cdc9a1";
|
|
1576
2506
|
ddsColorDataOlive300: "#b3ae71";
|
|
1577
2507
|
ddsColorDataOlive400: "#989344";
|
|
@@ -1580,15 +2510,15 @@ declare function useTheme(): {
|
|
|
1580
2510
|
ddsColorDataOlive700: "#4a460e";
|
|
1581
2511
|
ddsColorDataOlive800: "#322f0a";
|
|
1582
2512
|
ddsColorDataOlive900: "#191705";
|
|
1583
|
-
ddsColorDataGreen100: "#
|
|
1584
|
-
ddsColorDataGreen200: "#
|
|
1585
|
-
ddsColorDataGreen300: "#
|
|
1586
|
-
ddsColorDataGreen400: "#
|
|
1587
|
-
ddsColorDataGreen500: "#
|
|
1588
|
-
ddsColorDataGreen600: "#
|
|
1589
|
-
ddsColorDataGreen700: "#
|
|
1590
|
-
ddsColorDataGreen800: "#
|
|
1591
|
-
ddsColorDataGreen900: "#
|
|
2513
|
+
ddsColorDataGreen100: "#d7e8cf";
|
|
2514
|
+
ddsColorDataGreen200: "#aed19e";
|
|
2515
|
+
ddsColorDataGreen300: "#95c280";
|
|
2516
|
+
ddsColorDataGreen400: "#619947";
|
|
2517
|
+
ddsColorDataGreen500: "#3a8019";
|
|
2518
|
+
ddsColorDataGreen600: "#2e6614";
|
|
2519
|
+
ddsColorDataGreen700: "#234d0f";
|
|
2520
|
+
ddsColorDataGreen800: "#17330a";
|
|
2521
|
+
ddsColorDataGreen900: "#0c1a05";
|
|
1592
2522
|
ddsColorDataTeal100: "#c2e2e1";
|
|
1593
2523
|
ddsColorDataTeal200: "#90ccc9";
|
|
1594
2524
|
ddsColorDataTeal300: "#5dafad";
|
|
@@ -1598,10 +2528,10 @@ declare function useTheme(): {
|
|
|
1598
2528
|
ddsColorDataTeal700: "#004b49";
|
|
1599
2529
|
ddsColorDataTeal800: "#003230";
|
|
1600
2530
|
ddsColorDataTeal900: "#001918";
|
|
1601
|
-
ddsColorDataDeepblue100: "#
|
|
1602
|
-
ddsColorDataDeepblue200: "#
|
|
1603
|
-
ddsColorDataDeepblue300: "#
|
|
1604
|
-
ddsColorDataDeepblue400: "#
|
|
2531
|
+
ddsColorDataDeepblue100: "#c6e3f1";
|
|
2532
|
+
ddsColorDataDeepblue200: "#93cee6";
|
|
2533
|
+
ddsColorDataDeepblue300: "#62abcb";
|
|
2534
|
+
ddsColorDataDeepblue400: "#358fb5";
|
|
1605
2535
|
ddsColorDataDeepblue500: "#196b8f";
|
|
1606
2536
|
ddsColorDataDeepblue600: "#135774";
|
|
1607
2537
|
ddsColorDataDeepblue700: "#0e455e";
|
|
@@ -1643,15 +2573,15 @@ declare function useTheme(): {
|
|
|
1643
2573
|
ddsColorData03Default: "#727272";
|
|
1644
2574
|
ddsColorData03Subtle: "#c7c7c7";
|
|
1645
2575
|
ddsColorData03Border: "#727272";
|
|
1646
|
-
ddsColorData04Default: "#
|
|
1647
|
-
ddsColorData04Subtle: "#
|
|
1648
|
-
ddsColorData04Border: "#
|
|
2576
|
+
ddsColorData04Default: "#3a8019";
|
|
2577
|
+
ddsColorData04Subtle: "#aed19e";
|
|
2578
|
+
ddsColorData04Border: "#3a8019";
|
|
1649
2579
|
ddsColorData05Default: "#8a3ffc";
|
|
1650
2580
|
ddsColorData05Subtle: "#d0b2fe";
|
|
1651
2581
|
ddsColorData05Border: "#8a3ffc";
|
|
1652
|
-
ddsColorData06Default: "#
|
|
1653
|
-
ddsColorData06Subtle: "#
|
|
1654
|
-
ddsColorData06Border: "#
|
|
2582
|
+
ddsColorData06Default: "#cb20b0";
|
|
2583
|
+
ddsColorData06Subtle: "#edb5e4";
|
|
2584
|
+
ddsColorData06Border: "#cb20b0";
|
|
1655
2585
|
ddsColorData07Default: "#7c7518";
|
|
1656
2586
|
ddsColorData07Subtle: "#cdc9a1";
|
|
1657
2587
|
ddsColorData07Border: "#7c7518";
|
|
@@ -1708,6 +2638,7 @@ declare function useTheme(): {
|
|
|
1708
2638
|
ddsColorTextMedium: "#3a4146";
|
|
1709
2639
|
ddsColorTextSubtle: "#545c62";
|
|
1710
2640
|
ddsColorTextOnInverse: "#ffffff";
|
|
2641
|
+
ddsColorTextDanger: "#ad2c2c";
|
|
1711
2642
|
ddsColorTextOnAction: "#ffffff";
|
|
1712
2643
|
ddsColorTextOnStatusDefault: "#0b0d0e";
|
|
1713
2644
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
@@ -1717,7 +2648,20 @@ declare function useTheme(): {
|
|
|
1717
2648
|
ddsColorTextActionVisited: "#7f29b4";
|
|
1718
2649
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
1719
2650
|
ddsColorTextOnNotification: "#ffffff";
|
|
1720
|
-
|
|
2651
|
+
ddsColorTextOnPrimaryDefault: "#ffffff";
|
|
2652
|
+
ddsColorTextOnPrimarySubtle: "#0b0d0e";
|
|
2653
|
+
ddsColorTextOnPrimaryMedium: "#ffffff";
|
|
2654
|
+
ddsColorTextOnPrimaryStrong: "#ffffff";
|
|
2655
|
+
ddsColorTextOnSecondaryDefault: "#0b0d0e";
|
|
2656
|
+
ddsColorTextOnSecondarySubtle: "#0b0d0e";
|
|
2657
|
+
ddsColorTextOnSecondaryMedium: "#0b0d0e";
|
|
2658
|
+
ddsColorTextOnSecondaryStrong: "#ffffff";
|
|
2659
|
+
ddsColorTextOnTertiaryDefault: "#0b0d0e";
|
|
2660
|
+
ddsColorTextOnTertiarySubtle: "#0b0d0e";
|
|
2661
|
+
ddsColorTextOnTertiaryMedium: "#0b0d0e";
|
|
2662
|
+
ddsColorTextOnTertiaryStrong: "#0b0d0e";
|
|
2663
|
+
ddsColorTextOnDataDefault: "#ffffff";
|
|
2664
|
+
ddsColorTextOnDataSubtle: "#0b0d0e";
|
|
1721
2665
|
ddsColorIconDefault: "#0b0d0e";
|
|
1722
2666
|
ddsColorIconMedium: "#3a4146";
|
|
1723
2667
|
ddsColorIconSubtle: "#545c62";
|
|
@@ -1748,34 +2692,41 @@ declare function useTheme(): {
|
|
|
1748
2692
|
ddsColorBrandTertiaryStrong: "#d45d32";
|
|
1749
2693
|
ddsColorFocusOutside: "#2a4b61";
|
|
1750
2694
|
ddsColorFocusInside: "#f1f8fd";
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
ddsFontBodyMedium: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1755
|
-
ddsFontBodyLarge: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1756
|
-
ddsFontHeadingXxsmall: "600 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1757
|
-
ddsFontHeadingXsmall: "600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1758
|
-
ddsFontHeadingSmall: "600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1759
|
-
ddsFontHeadingMedium: "600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1760
|
-
ddsFontHeadingLarge: "400 1.5rem/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
1761
|
-
ddsFontHeadingXlarge: "400 2rem/1.35 'IBM Plex Sans', Arial, sans-serif";
|
|
1762
|
-
ddsFontHeadingXxlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.2 'IBM Plex Sans', Arial, sans-serif";
|
|
1763
|
-
ddsFontLeadMedium: "300 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
1764
|
-
ddsFontCodeMedium: "400 1rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
2695
|
+
ddsShadowLarge: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
2696
|
+
ddsShadowMedium: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
2697
|
+
ddsShadowSmall: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
1765
2698
|
ddsBorderRadiusButton: "2px";
|
|
1766
2699
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
1767
|
-
ddsBorderRadiusSurface: "
|
|
1768
|
-
ddsBorderRadiusSurfaceNumberPx:
|
|
2700
|
+
ddsBorderRadiusSurface: "2px";
|
|
2701
|
+
ddsBorderRadiusSurfaceNumberPx: 2;
|
|
1769
2702
|
ddsBorderRadiusInput: "2px";
|
|
1770
2703
|
ddsBorderRadiusInputNumberPx: 2;
|
|
1771
|
-
ddsBorderRadiusChip: "
|
|
1772
|
-
ddsBorderRadiusChipNumberPx:
|
|
2704
|
+
ddsBorderRadiusChip: "2px";
|
|
2705
|
+
ddsBorderRadiusChipNumberPx: 2;
|
|
1773
2706
|
ddsBorderRadiusRounded: "9999px";
|
|
1774
2707
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
2708
|
+
ddsFontLabelMedium: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2709
|
+
ddsFontBodyLongXsmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2710
|
+
ddsFontBodyLongSmall: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2711
|
+
ddsFontBodyLongMedium: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2712
|
+
ddsFontBodyLongLarge: "400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2713
|
+
ddsFontHeadingXxsmall: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2714
|
+
ddsFontHeadingXsmall: "600 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2715
|
+
ddsFontHeadingSmall: "600 1.25rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2716
|
+
ddsFontHeadingMedium: "500 1.5rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2717
|
+
ddsFontHeadingLarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2718
|
+
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2719
|
+
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2720
|
+
ddsFontLeadMedium: "300 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2721
|
+
ddsFontCodeMedium: "400 1.125rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
2722
|
+
ddsFontBodyShortXsmall: "400 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2723
|
+
ddsFontBodyShortSmall: "400 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2724
|
+
ddsFontBodyShortMedium: "400 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2725
|
+
ddsFontBodyShortLarge: "400 1.25rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
1775
2726
|
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
1776
2727
|
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
1777
2728
|
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
1778
|
-
ddsFontHeadingXlargeLetterSpacing: "
|
|
2729
|
+
ddsFontHeadingXlargeLetterSpacing: "-0.01em";
|
|
1779
2730
|
ddsFontHeadingXlargeParagraphSpacing: "0.4em";
|
|
1780
2731
|
ddsFontHeadingXlargeParagraphSpacingNumberEm: 0.4;
|
|
1781
2732
|
ddsFontHeadingLargeLetterSpacing: "0em";
|
|
@@ -1787,33 +2738,45 @@ declare function useTheme(): {
|
|
|
1787
2738
|
ddsFontHeadingSmallLetterSpacing: "0em";
|
|
1788
2739
|
ddsFontHeadingSmallParagraphSpacing: "0.4em";
|
|
1789
2740
|
ddsFontHeadingSmallParagraphSpacingNumberEm: 0.4;
|
|
1790
|
-
ddsFontHeadingXsmallLetterSpacing: "
|
|
2741
|
+
ddsFontHeadingXsmallLetterSpacing: "0em";
|
|
1791
2742
|
ddsFontHeadingXsmallParagraphSpacing: "0.4em";
|
|
1792
2743
|
ddsFontHeadingXsmallParagraphSpacingNumberEm: 0.4;
|
|
1793
2744
|
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
1794
2745
|
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
1795
2746
|
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
2747
|
+
ddsFontBodyLongLargeLetterSpacing: "0em";
|
|
2748
|
+
ddsFontBodyLongLargeParagraphSpacing: "1em";
|
|
2749
|
+
ddsFontBodyLongLargeParagraphSpacingNumberEm: 1;
|
|
2750
|
+
ddsFontBodyLongMediumLetterSpacing: "0em";
|
|
2751
|
+
ddsFontBodyLongMediumParagraphSpacing: "1em";
|
|
2752
|
+
ddsFontBodyLongMediumParagraphSpacingNumberEm: 1;
|
|
2753
|
+
ddsFontBodyLongSmallLetterSpacing: "0em";
|
|
2754
|
+
ddsFontBodyLongSmallParagraphSpacing: "1em";
|
|
2755
|
+
ddsFontBodyLongSmallParagraphSpacingNumberEm: 1;
|
|
2756
|
+
ddsFontBodyLongXsmallLetterSpacing: "0.01em";
|
|
2757
|
+
ddsFontBodyLongXsmallParagraphSpacing: "1em";
|
|
2758
|
+
ddsFontBodyLongXsmallParagraphSpacingNumberEm: 1;
|
|
1808
2759
|
ddsFontLeadMediumLetterSpacing: "0em";
|
|
1809
|
-
ddsFontLeadMediumParagraphSpacing: "
|
|
1810
|
-
ddsFontLeadMediumParagraphSpacingNumberEm:
|
|
2760
|
+
ddsFontLeadMediumParagraphSpacing: "0.66em";
|
|
2761
|
+
ddsFontLeadMediumParagraphSpacingNumberEm: 0.66;
|
|
1811
2762
|
ddsFontCodeMediumLetterSpacing: "0em";
|
|
1812
2763
|
ddsFontCodeMediumParagraphSpacing: "1em";
|
|
1813
2764
|
ddsFontCodeMediumParagraphSpacingNumberEm: 1;
|
|
1814
2765
|
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
1815
2766
|
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
1816
2767
|
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
2768
|
+
ddsFontBodyShortLargeLetterSpacing: "0em";
|
|
2769
|
+
ddsFontBodyShortLargeParagraphSpacing: "1em";
|
|
2770
|
+
ddsFontBodyShortLargeParagraphSpacingNumberEm: 1;
|
|
2771
|
+
ddsFontBodyShortMediumLetterSpacing: "0em";
|
|
2772
|
+
ddsFontBodyShortMediumParagraphSpacing: "1em";
|
|
2773
|
+
ddsFontBodyShortMediumParagraphSpacingNumberEm: 1;
|
|
2774
|
+
ddsFontBodyShortSmallLetterSpacing: "0.01em";
|
|
2775
|
+
ddsFontBodyShortSmallParagraphSpacing: "1em";
|
|
2776
|
+
ddsFontBodyShortSmallParagraphSpacingNumberEm: 1;
|
|
2777
|
+
ddsFontBodyShortXsmallLetterSpacing: "0.01em";
|
|
2778
|
+
ddsFontBodyShortXsmallParagraphSpacing: "1em";
|
|
2779
|
+
ddsFontBodyShortXsmallParagraphSpacingNumberEm: 1;
|
|
1817
2780
|
} | {
|
|
1818
2781
|
ddsFontFamilySans: "'IBM Plex Sans', Arial, sans-serif";
|
|
1819
2782
|
ddsFontFamilyMonospace: "'IBM Plex Mono', 'Courier New', monospace";
|
|
@@ -1844,8 +2807,8 @@ declare function useTheme(): {
|
|
|
1844
2807
|
ddsFontWeightSemiBold: "500";
|
|
1845
2808
|
ddsFontWeightBold: "600";
|
|
1846
2809
|
ddsFontLineheightX1: 1.5;
|
|
1847
|
-
ddsFontLineheightX2: 1.35;
|
|
1848
2810
|
ddsFontLineheightX3: 1.2;
|
|
2811
|
+
ddsFontLineheightX2: 1.3;
|
|
1849
2812
|
ddsFontLineheightList: 2;
|
|
1850
2813
|
ddsFontLetterSpacingTight: "-0.01em";
|
|
1851
2814
|
ddsFontLetterSpacingNormal: "0em";
|
|
@@ -1889,10 +2852,6 @@ declare function useTheme(): {
|
|
|
1889
2852
|
ddsSpacingX6NumberRem: 6;
|
|
1890
2853
|
ddsSpacingX10: "10rem";
|
|
1891
2854
|
ddsSpacingX10NumberRem: 10;
|
|
1892
|
-
ddsShadow1: "1px 2px 4px 0px rgba(11, 13, 14, 10%)";
|
|
1893
|
-
ddsShadow2: "2px 4px 8px 0px rgba(11, 13, 14, 10%)";
|
|
1894
|
-
ddsShadow3: "4px 8px 16px 0px rgba(11, 13, 14, 10%)";
|
|
1895
|
-
ddsShadow4: "8px 16px 32px 0px rgba(11, 13, 14, 10%)";
|
|
1896
2855
|
ddsGridXsGutterSize: "16px";
|
|
1897
2856
|
ddsGridXsGutterSizeNumberPx: 16;
|
|
1898
2857
|
ddsGridXsCount: "4";
|
|
@@ -1908,12 +2867,14 @@ declare function useTheme(): {
|
|
|
1908
2867
|
ddsGridXlGutterSize: "24px";
|
|
1909
2868
|
ddsGridXlGutterSizeNumberPx: 24;
|
|
1910
2869
|
ddsGridXlCount: "12";
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
2870
|
+
ddsSizeIconLarge: "40px";
|
|
2871
|
+
ddsSizeIconLargeNumberPx: 40;
|
|
2872
|
+
ddsSizeIconMedium: "24px";
|
|
2873
|
+
ddsSizeIconMediumNumberPx: 24;
|
|
2874
|
+
ddsSizeIconSmall: "16px";
|
|
2875
|
+
ddsSizeIconSmallNumberPx: 16;
|
|
2876
|
+
ddsSizeIconComponent: "1.3em";
|
|
2877
|
+
ddsSizeIconComponentNumberEm: 1.3;
|
|
1917
2878
|
ddsBreakpointXs: "1px";
|
|
1918
2879
|
ddsBreakpointXsNumberPx: 1;
|
|
1919
2880
|
ddsBreakpointSm: "600px";
|
|
@@ -1934,27 +2895,27 @@ declare function useTheme(): {
|
|
|
1934
2895
|
ddsZindexDropdown: "100";
|
|
1935
2896
|
ddsZindexSticky: "50";
|
|
1936
2897
|
ddsZindexAbsoluteElement: "1";
|
|
1937
|
-
ddsColorData10Default: "#
|
|
1938
|
-
ddsColorData10Subtle: "#
|
|
1939
|
-
ddsColorData10Border: "#
|
|
2898
|
+
ddsColorData10Default: "#62abcb";
|
|
2899
|
+
ddsColorData10Subtle: "#135774";
|
|
2900
|
+
ddsColorData10Border: "#62abcb";
|
|
1940
2901
|
ddsColorDataRed100: "#f8d2d4";
|
|
1941
2902
|
ddsColorDataRed200: "#f0a5a9";
|
|
1942
|
-
ddsColorDataRed300: "#
|
|
2903
|
+
ddsColorDataRed300: "#f4858b";
|
|
1943
2904
|
ddsColorDataRed400: "#e14b53";
|
|
1944
2905
|
ddsColorDataRed500: "#da1e28";
|
|
1945
2906
|
ddsColorDataRed600: "#ae1820";
|
|
1946
2907
|
ddsColorDataRed700: "#831218";
|
|
1947
2908
|
ddsColorDataRed800: "#570c10";
|
|
1948
2909
|
ddsColorDataRed900: "#2c0608";
|
|
1949
|
-
ddsColorDataMagenta100: "#
|
|
1950
|
-
ddsColorDataMagenta200: "#
|
|
1951
|
-
ddsColorDataMagenta300: "#
|
|
1952
|
-
ddsColorDataMagenta400: "#
|
|
1953
|
-
ddsColorDataMagenta500: "#
|
|
1954
|
-
ddsColorDataMagenta600: "#
|
|
1955
|
-
ddsColorDataMagenta700: "#
|
|
1956
|
-
ddsColorDataMagenta800: "#
|
|
1957
|
-
ddsColorDataMagenta900: "#
|
|
2910
|
+
ddsColorDataMagenta100: "#f7d9f2";
|
|
2911
|
+
ddsColorDataMagenta200: "#edb5e4";
|
|
2912
|
+
ddsColorDataMagenta300: "#e079d0";
|
|
2913
|
+
ddsColorDataMagenta400: "#d54dc0";
|
|
2914
|
+
ddsColorDataMagenta500: "#cb20b0";
|
|
2915
|
+
ddsColorDataMagenta600: "#a21a8d";
|
|
2916
|
+
ddsColorDataMagenta700: "#7a136a";
|
|
2917
|
+
ddsColorDataMagenta800: "#510d46";
|
|
2918
|
+
ddsColorDataMagenta900: "#290623";
|
|
1958
2919
|
ddsColorDataBrown100: "#f0ddd5";
|
|
1959
2920
|
ddsColorDataBrown200: "#e1bcac";
|
|
1960
2921
|
ddsColorDataBrown300: "#d19a82";
|
|
@@ -1964,7 +2925,7 @@ declare function useTheme(): {
|
|
|
1964
2925
|
ddsColorDataBrown700: "#6b341c";
|
|
1965
2926
|
ddsColorDataBrown800: "#482313";
|
|
1966
2927
|
ddsColorDataBrown900: "#241109";
|
|
1967
|
-
ddsColorDataOlive100: "#
|
|
2928
|
+
ddsColorDataOlive100: "#e9e7cd";
|
|
1968
2929
|
ddsColorDataOlive200: "#cdc9a1";
|
|
1969
2930
|
ddsColorDataOlive300: "#b3ae71";
|
|
1970
2931
|
ddsColorDataOlive400: "#989344";
|
|
@@ -1973,15 +2934,15 @@ declare function useTheme(): {
|
|
|
1973
2934
|
ddsColorDataOlive700: "#4a460e";
|
|
1974
2935
|
ddsColorDataOlive800: "#322f0a";
|
|
1975
2936
|
ddsColorDataOlive900: "#191705";
|
|
1976
|
-
ddsColorDataGreen100: "#
|
|
1977
|
-
ddsColorDataGreen200: "#
|
|
1978
|
-
ddsColorDataGreen300: "#
|
|
1979
|
-
ddsColorDataGreen400: "#
|
|
1980
|
-
ddsColorDataGreen500: "#
|
|
1981
|
-
ddsColorDataGreen600: "#
|
|
1982
|
-
ddsColorDataGreen700: "#
|
|
1983
|
-
ddsColorDataGreen800: "#
|
|
1984
|
-
ddsColorDataGreen900: "#
|
|
2937
|
+
ddsColorDataGreen100: "#d7e8cf";
|
|
2938
|
+
ddsColorDataGreen200: "#aed19e";
|
|
2939
|
+
ddsColorDataGreen300: "#95c280";
|
|
2940
|
+
ddsColorDataGreen400: "#619947";
|
|
2941
|
+
ddsColorDataGreen500: "#3a8019";
|
|
2942
|
+
ddsColorDataGreen600: "#2e6614";
|
|
2943
|
+
ddsColorDataGreen700: "#234d0f";
|
|
2944
|
+
ddsColorDataGreen800: "#17330a";
|
|
2945
|
+
ddsColorDataGreen900: "#0c1a05";
|
|
1985
2946
|
ddsColorDataTeal100: "#c2e2e1";
|
|
1986
2947
|
ddsColorDataTeal200: "#90ccc9";
|
|
1987
2948
|
ddsColorDataTeal300: "#5dafad";
|
|
@@ -1991,10 +2952,10 @@ declare function useTheme(): {
|
|
|
1991
2952
|
ddsColorDataTeal700: "#004b49";
|
|
1992
2953
|
ddsColorDataTeal800: "#003230";
|
|
1993
2954
|
ddsColorDataTeal900: "#001918";
|
|
1994
|
-
ddsColorDataDeepblue100: "#
|
|
1995
|
-
ddsColorDataDeepblue200: "#
|
|
1996
|
-
ddsColorDataDeepblue300: "#
|
|
1997
|
-
ddsColorDataDeepblue400: "#
|
|
2955
|
+
ddsColorDataDeepblue100: "#c6e3f1";
|
|
2956
|
+
ddsColorDataDeepblue200: "#93cee6";
|
|
2957
|
+
ddsColorDataDeepblue300: "#62abcb";
|
|
2958
|
+
ddsColorDataDeepblue400: "#358fb5";
|
|
1998
2959
|
ddsColorDataDeepblue500: "#196b8f";
|
|
1999
2960
|
ddsColorDataDeepblue600: "#135774";
|
|
2000
2961
|
ddsColorDataDeepblue700: "#0e455e";
|
|
@@ -2017,130 +2978,147 @@ declare function useTheme(): {
|
|
|
2017
2978
|
ddsColorDataPurple600: "#6e32ca";
|
|
2018
2979
|
ddsColorDataPurple700: "#532697";
|
|
2019
2980
|
ddsColorDataPurple800: "#371965";
|
|
2020
|
-
ddsColorDataPurple900: "#1c0d32";
|
|
2021
|
-
ddsColorDataGray100: "#e3e3e3";
|
|
2022
|
-
ddsColorDataGray200: "#c7c7c7";
|
|
2023
|
-
ddsColorDataGray300: "#aaaaaa";
|
|
2024
|
-
ddsColorDataGray400: "#8e8e8e";
|
|
2025
|
-
ddsColorDataGray500: "#727272";
|
|
2026
|
-
ddsColorDataGray600: "#5b5b5b";
|
|
2027
|
-
ddsColorDataGray700: "#444444";
|
|
2028
|
-
ddsColorDataGray800: "#2e2e2e";
|
|
2029
|
-
ddsColorDataGray900: "#171717";
|
|
2030
|
-
ddsColorData01Default: "#
|
|
2031
|
-
ddsColorData01Subtle: "#
|
|
2032
|
-
ddsColorData01Border: "#
|
|
2033
|
-
ddsColorData02Default: "#
|
|
2034
|
-
ddsColorData02Subtle: "#
|
|
2035
|
-
ddsColorData02Border: "#
|
|
2036
|
-
ddsColorData03Default: "#
|
|
2037
|
-
ddsColorData03Subtle: "#
|
|
2038
|
-
ddsColorData03Border: "#
|
|
2039
|
-
ddsColorData04Default: "#
|
|
2040
|
-
ddsColorData04Subtle: "#
|
|
2041
|
-
ddsColorData04Border: "#
|
|
2042
|
-
ddsColorData05Default: "#
|
|
2043
|
-
ddsColorData05Subtle: "#
|
|
2044
|
-
ddsColorData05Border: "#
|
|
2045
|
-
ddsColorData06Default: "#
|
|
2046
|
-
ddsColorData06Subtle: "#
|
|
2047
|
-
ddsColorData06Border: "#
|
|
2048
|
-
ddsColorData07Default: "#
|
|
2049
|
-
ddsColorData07Subtle: "#
|
|
2050
|
-
ddsColorData07Border: "#
|
|
2051
|
-
ddsColorData08Default: "#
|
|
2052
|
-
ddsColorData08Subtle: "#
|
|
2053
|
-
ddsColorData08Border: "#
|
|
2054
|
-
ddsColorData09Default: "#
|
|
2055
|
-
ddsColorData09Subtle: "#
|
|
2056
|
-
ddsColorData09Border: "#
|
|
2057
|
-
ddsColorBgDefault: "#
|
|
2058
|
-
ddsColorBgSubtle: "#
|
|
2059
|
-
ddsColorSurfaceDefault: "#
|
|
2060
|
-
ddsColorSurfaceSubtle: "#
|
|
2061
|
-
ddsColorSurfaceMedium: "#
|
|
2062
|
-
ddsColorSurfaceHoverDefault: "#
|
|
2063
|
-
ddsColorSurfaceHoverSubtle: "#
|
|
2064
|
-
ddsColorSurfaceSelectedDefault: "#
|
|
2981
|
+
ddsColorDataPurple900: "#1c0d32";
|
|
2982
|
+
ddsColorDataGray100: "#e3e3e3";
|
|
2983
|
+
ddsColorDataGray200: "#c7c7c7";
|
|
2984
|
+
ddsColorDataGray300: "#aaaaaa";
|
|
2985
|
+
ddsColorDataGray400: "#8e8e8e";
|
|
2986
|
+
ddsColorDataGray500: "#727272";
|
|
2987
|
+
ddsColorDataGray600: "#5b5b5b";
|
|
2988
|
+
ddsColorDataGray700: "#444444";
|
|
2989
|
+
ddsColorDataGray800: "#2e2e2e";
|
|
2990
|
+
ddsColorDataGray900: "#171717";
|
|
2991
|
+
ddsColorData01Default: "#6fa1fe";
|
|
2992
|
+
ddsColorData01Subtle: "#0c4ecb";
|
|
2993
|
+
ddsColorData01Border: "#6fa1fe";
|
|
2994
|
+
ddsColorData02Default: "#d19a82";
|
|
2995
|
+
ddsColorData02Subtle: "#8f4626";
|
|
2996
|
+
ddsColorData02Border: "#d19a82";
|
|
2997
|
+
ddsColorData03Default: "#aaaaaa";
|
|
2998
|
+
ddsColorData03Subtle: "#5b5b5b";
|
|
2999
|
+
ddsColorData03Border: "#aaaaaa";
|
|
3000
|
+
ddsColorData04Default: "#95c280";
|
|
3001
|
+
ddsColorData04Subtle: "#2e6614";
|
|
3002
|
+
ddsColorData04Border: "#95c280";
|
|
3003
|
+
ddsColorData05Default: "#b98cfd";
|
|
3004
|
+
ddsColorData05Subtle: "#6e32ca";
|
|
3005
|
+
ddsColorData05Border: "#b98cfd";
|
|
3006
|
+
ddsColorData06Default: "#e079d0";
|
|
3007
|
+
ddsColorData06Subtle: "#a21a8d";
|
|
3008
|
+
ddsColorData06Border: "#e079d0";
|
|
3009
|
+
ddsColorData07Default: "#b3ae71";
|
|
3010
|
+
ddsColorData07Subtle: "#635e13";
|
|
3011
|
+
ddsColorData07Border: "#b3ae71";
|
|
3012
|
+
ddsColorData08Default: "#f4858b";
|
|
3013
|
+
ddsColorData08Subtle: "#ae1820";
|
|
3014
|
+
ddsColorData08Border: "#f4858b";
|
|
3015
|
+
ddsColorData09Default: "#5dafad";
|
|
3016
|
+
ddsColorData09Subtle: "#006461";
|
|
3017
|
+
ddsColorData09Border: "#5dafad";
|
|
3018
|
+
ddsColorBgDefault: "#181a1c";
|
|
3019
|
+
ddsColorBgSubtle: "#22272a";
|
|
3020
|
+
ddsColorSurfaceDefault: "#181a1c";
|
|
3021
|
+
ddsColorSurfaceSubtle: "#22272a";
|
|
3022
|
+
ddsColorSurfaceMedium: "#303438";
|
|
3023
|
+
ddsColorSurfaceHoverDefault: "#062c45";
|
|
3024
|
+
ddsColorSurfaceHoverSubtle: "#22272a";
|
|
3025
|
+
ddsColorSurfaceSelectedDefault: "#062c45";
|
|
2065
3026
|
ddsColorSurfaceInverseDefault: "#354754";
|
|
2066
3027
|
ddsColorSurfaceInverseHover: "#2a3943";
|
|
2067
3028
|
ddsColorSurfaceInverseSelected: "#202b32";
|
|
2068
|
-
ddsColorSurfaceActionResting: "#
|
|
2069
|
-
ddsColorSurfaceActionHover: "#
|
|
2070
|
-
ddsColorSurfaceActionSelected: "#
|
|
2071
|
-
ddsColorSurfaceActionDangerResting: "#
|
|
2072
|
-
ddsColorSurfaceActionDangerHover: "#
|
|
3029
|
+
ddsColorSurfaceActionResting: "#589ac6";
|
|
3030
|
+
ddsColorSurfaceActionHover: "#9fc5de";
|
|
3031
|
+
ddsColorSurfaceActionSelected: "#589ac6";
|
|
3032
|
+
ddsColorSurfaceActionDangerResting: "#e47373";
|
|
3033
|
+
ddsColorSurfaceActionDangerHover: "#efafaf";
|
|
2073
3034
|
ddsColorSurfaceActionSelectedDisabled: "#77838c";
|
|
2074
|
-
ddsColorSurfaceDangerDefault: "#
|
|
2075
|
-
ddsColorSurfaceDangerStrong: "#
|
|
2076
|
-
ddsColorSurfaceSuccessDefault: "#
|
|
2077
|
-
ddsColorSurfaceSuccessStrong: "#
|
|
2078
|
-
ddsColorSurfaceWarningDefault: "#
|
|
2079
|
-
ddsColorSurfaceWarningStrong: "#
|
|
2080
|
-
ddsColorSurfaceInfoDefault: "#
|
|
2081
|
-
ddsColorSurfaceInfoStrong: "#
|
|
2082
|
-
ddsColorSurfacePaperDefault: "#
|
|
3035
|
+
ddsColorSurfaceDangerDefault: "#561616";
|
|
3036
|
+
ddsColorSurfaceDangerStrong: "#dc4b4b";
|
|
3037
|
+
ddsColorSurfaceSuccessDefault: "#284c29";
|
|
3038
|
+
ddsColorSurfaceSuccessStrong: "#65be66";
|
|
3039
|
+
ddsColorSurfaceWarningDefault: "#494317";
|
|
3040
|
+
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
3041
|
+
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
3042
|
+
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
3043
|
+
ddsColorSurfacePaperDefault: "#3a4146";
|
|
2083
3044
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
2084
|
-
ddsColorSurfaceFieldDefault: "#
|
|
2085
|
-
ddsColorSurfaceFieldDisabled: "#
|
|
2086
|
-
ddsColorSurfaceHighlightedDefault: "#
|
|
2087
|
-
ddsColorSurfaceScrollbar: "#
|
|
3045
|
+
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
3046
|
+
ddsColorSurfaceFieldDisabled: "#303438";
|
|
3047
|
+
ddsColorSurfaceHighlightedDefault: "#833a21";
|
|
3048
|
+
ddsColorSurfaceScrollbar: "#545c62";
|
|
2088
3049
|
ddsColorSurfaceNotification: "#d83737";
|
|
2089
|
-
ddsColorSurfaceSkeleton: "#
|
|
3050
|
+
ddsColorSurfaceSkeleton: "#545c62";
|
|
2090
3051
|
ddsColorBorderDefault: "#77838c";
|
|
2091
|
-
ddsColorBorderSubtle: "#
|
|
3052
|
+
ddsColorBorderSubtle: "#545c62";
|
|
2092
3053
|
ddsColorBorderInverse: "#acbbc6";
|
|
2093
|
-
ddsColorBorderActionDefault: "#
|
|
2094
|
-
ddsColorBorderActionHover: "#
|
|
2095
|
-
ddsColorBorderSuccess: "#
|
|
2096
|
-
ddsColorBorderWarning: "#
|
|
2097
|
-
ddsColorBorderDanger: "#
|
|
2098
|
-
ddsColorBorderInfo: "#
|
|
2099
|
-
ddsColorBorderOnAction: "#
|
|
2100
|
-
ddsColorTextDefault: "#
|
|
2101
|
-
ddsColorTextMedium: "#
|
|
2102
|
-
ddsColorTextSubtle: "#
|
|
3054
|
+
ddsColorBorderActionDefault: "#589ac6";
|
|
3055
|
+
ddsColorBorderActionHover: "#9fc5de";
|
|
3056
|
+
ddsColorBorderSuccess: "#519852";
|
|
3057
|
+
ddsColorBorderWarning: "#ccba35";
|
|
3058
|
+
ddsColorBorderDanger: "#ad2c2c";
|
|
3059
|
+
ddsColorBorderInfo: "#5197c5";
|
|
3060
|
+
ddsColorBorderOnAction: "#181a1c";
|
|
3061
|
+
ddsColorTextDefault: "#ffffff";
|
|
3062
|
+
ddsColorTextMedium: "#e9ebec";
|
|
3063
|
+
ddsColorTextSubtle: "#d6dadd";
|
|
2103
3064
|
ddsColorTextOnInverse: "#ffffff";
|
|
2104
|
-
|
|
2105
|
-
|
|
3065
|
+
ddsColorTextDanger: "#efafaf";
|
|
3066
|
+
ddsColorTextOnAction: "#0b0d0e";
|
|
3067
|
+
ddsColorTextOnStatusDefault: "#ffffff";
|
|
2106
3068
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
2107
|
-
ddsColorTextActionResting: "#
|
|
2108
|
-
ddsColorTextActionHover: "#
|
|
2109
|
-
ddsColorTextRequiredfield: "#
|
|
2110
|
-
ddsColorTextActionVisited: "#
|
|
3069
|
+
ddsColorTextActionResting: "#9fc5de";
|
|
3070
|
+
ddsColorTextActionHover: "#e7f1f7";
|
|
3071
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
3072
|
+
ddsColorTextActionVisited: "#cca9e1";
|
|
2111
3073
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
2112
3074
|
ddsColorTextOnNotification: "#ffffff";
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
3075
|
+
ddsColorTextOnPrimaryDefault: "#ffffff";
|
|
3076
|
+
ddsColorTextOnPrimarySubtle: "#ffffff";
|
|
3077
|
+
ddsColorTextOnPrimaryMedium: "#ffffff";
|
|
3078
|
+
ddsColorTextOnPrimaryStrong: "#ffffff";
|
|
3079
|
+
ddsColorTextOnSecondaryDefault: "#0b0d0e";
|
|
3080
|
+
ddsColorTextOnSecondarySubtle: "#ffffff";
|
|
3081
|
+
ddsColorTextOnSecondaryMedium: "#ffffff";
|
|
3082
|
+
ddsColorTextOnSecondaryStrong: "#0b0d0e";
|
|
3083
|
+
ddsColorTextOnTertiaryDefault: "#0b0d0e";
|
|
3084
|
+
ddsColorTextOnTertiarySubtle: "#ffffff";
|
|
3085
|
+
ddsColorTextOnTertiaryMedium: "#0b0d0e";
|
|
3086
|
+
ddsColorTextOnTertiaryStrong: "#0b0d0e";
|
|
3087
|
+
ddsColorTextOnDataDefault: "#0b0d0e";
|
|
3088
|
+
ddsColorTextOnDataSubtle: "#ffffff";
|
|
3089
|
+
ddsColorIconDefault: "#ffffff";
|
|
3090
|
+
ddsColorIconMedium: "#e9ebec";
|
|
3091
|
+
ddsColorIconSubtle: "#d6dadd";
|
|
2117
3092
|
ddsColorIconOnInverse: "#ffffff";
|
|
2118
|
-
ddsColorIconOnAction: "#
|
|
2119
|
-
ddsColorIconActionResting: "#
|
|
2120
|
-
ddsColorIconActionHover: "#
|
|
2121
|
-
ddsColorIconOnSuccessDefault: "#
|
|
3093
|
+
ddsColorIconOnAction: "#0b0d0e";
|
|
3094
|
+
ddsColorIconActionResting: "#9fc5de";
|
|
3095
|
+
ddsColorIconActionHover: "#e7f1f7";
|
|
3096
|
+
ddsColorIconOnSuccessDefault: "#c1e5c2";
|
|
2122
3097
|
ddsColorIconOnSuccessStrong: "#0b0d0e";
|
|
2123
|
-
ddsColorIconOnWarningDefault: "#
|
|
3098
|
+
ddsColorIconOnWarningDefault: "#fbf3b8";
|
|
2124
3099
|
ddsColorIconOnWarningStrong: "#0b0d0e";
|
|
2125
|
-
ddsColorIconOnDangerDefault: "#
|
|
3100
|
+
ddsColorIconOnDangerDefault: "#efafaf";
|
|
2126
3101
|
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
2127
|
-
ddsColorIconOnInfoDefault: "#
|
|
3102
|
+
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
2128
3103
|
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
2129
|
-
ddsColorIconDanger: "#
|
|
3104
|
+
ddsColorIconDanger: "#efafaf";
|
|
2130
3105
|
ddsColorBrandPrimaryDefault: "#354754";
|
|
2131
|
-
ddsColorBrandPrimarySubtle: "#
|
|
2132
|
-
ddsColorBrandPrimaryMedium: "#
|
|
2133
|
-
ddsColorBrandPrimaryStrong: "#
|
|
3106
|
+
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
3107
|
+
ddsColorBrandPrimaryMedium: "#405767";
|
|
3108
|
+
ddsColorBrandPrimaryStrong: "#4f6a7e";
|
|
2134
3109
|
ddsColorBrandSecondaryDefault: "#9ab8b7";
|
|
2135
|
-
ddsColorBrandSecondarySubtle: "#
|
|
2136
|
-
ddsColorBrandSecondaryMedium: "#
|
|
2137
|
-
ddsColorBrandSecondaryStrong: "#
|
|
3110
|
+
ddsColorBrandSecondarySubtle: "#2b3a3a";
|
|
3111
|
+
ddsColorBrandSecondaryMedium: "#4d6463";
|
|
3112
|
+
ddsColorBrandSecondaryStrong: "#b8cdcd";
|
|
2138
3113
|
ddsColorBrandTertiaryDefault: "#f27e55";
|
|
2139
|
-
ddsColorBrandTertiarySubtle: "#
|
|
3114
|
+
ddsColorBrandTertiarySubtle: "#a24422";
|
|
2140
3115
|
ddsColorBrandTertiaryMedium: "#f2a68f";
|
|
2141
|
-
ddsColorBrandTertiaryStrong: "#
|
|
2142
|
-
ddsColorFocusOutside: "#
|
|
2143
|
-
ddsColorFocusInside: "#
|
|
3116
|
+
ddsColorBrandTertiaryStrong: "#ffd6ca";
|
|
3117
|
+
ddsColorFocusOutside: "#f1f8fd";
|
|
3118
|
+
ddsColorFocusInside: "#2a4b61";
|
|
3119
|
+
ddsShadowLarge: "8px 16px 32px 0px rgba(11, 13, 14, 80%)";
|
|
3120
|
+
ddsShadowMedium: "2px 4px 8px 0px rgba(11, 13, 14, 80%)";
|
|
3121
|
+
ddsShadowSmall: "1px 2px 4px 0px rgba(11, 13, 14, 80%)";
|
|
2144
3122
|
ddsBorderRadiusButton: "2px";
|
|
2145
3123
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
2146
3124
|
ddsBorderRadiusSurface: "2px";
|
|
@@ -2151,20 +3129,24 @@ declare function useTheme(): {
|
|
|
2151
3129
|
ddsBorderRadiusChipNumberPx: 2;
|
|
2152
3130
|
ddsBorderRadiusRounded: "9999px";
|
|
2153
3131
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
2154
|
-
ddsFontLabelMedium: "600 1rem/1.
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
ddsFontHeadingXxsmall: "600 1rem/1.
|
|
2160
|
-
ddsFontHeadingXsmall: "600 1.125rem/1.
|
|
2161
|
-
ddsFontHeadingSmall: "600 1.25rem/1.
|
|
2162
|
-
ddsFontHeadingMedium: "500 1.5rem/1.
|
|
2163
|
-
ddsFontHeadingLarge: "400 2rem/1.
|
|
2164
|
-
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.
|
|
2165
|
-
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.
|
|
3132
|
+
ddsFontLabelMedium: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3133
|
+
ddsFontBodyLongXsmall: "400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3134
|
+
ddsFontBodyLongSmall: "400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3135
|
+
ddsFontBodyLongMedium: "400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3136
|
+
ddsFontBodyLongLarge: "400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
3137
|
+
ddsFontHeadingXxsmall: "600 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3138
|
+
ddsFontHeadingXsmall: "600 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3139
|
+
ddsFontHeadingSmall: "600 1.25rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3140
|
+
ddsFontHeadingMedium: "500 1.5rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3141
|
+
ddsFontHeadingLarge: "400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3142
|
+
ddsFontHeadingXlarge: "300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3143
|
+
ddsFontHeadingXxlarge: "300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2166
3144
|
ddsFontLeadMedium: "300 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif";
|
|
2167
3145
|
ddsFontCodeMedium: "400 1.125rem/1.5 'IBM Plex Mono', 'Courier New', monospace";
|
|
3146
|
+
ddsFontBodyShortXsmall: "400 0.875rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3147
|
+
ddsFontBodyShortSmall: "400 1rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3148
|
+
ddsFontBodyShortMedium: "400 1.125rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
3149
|
+
ddsFontBodyShortLarge: "400 1.25rem/1.3 'IBM Plex Sans', Arial, sans-serif";
|
|
2168
3150
|
ddsFontHeadingXxlargeLetterSpacing: "-0.01em";
|
|
2169
3151
|
ddsFontHeadingXxlargeParagraphSpacing: "0.4em";
|
|
2170
3152
|
ddsFontHeadingXxlargeParagraphSpacingNumberEm: 0.4;
|
|
@@ -2186,18 +3168,18 @@ declare function useTheme(): {
|
|
|
2186
3168
|
ddsFontHeadingXxsmallLetterSpacing: "0.01em";
|
|
2187
3169
|
ddsFontHeadingXxsmallParagraphSpacing: "0.4em";
|
|
2188
3170
|
ddsFontHeadingXxsmallParagraphSpacingNumberEm: 0.4;
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
3171
|
+
ddsFontBodyLongLargeLetterSpacing: "0em";
|
|
3172
|
+
ddsFontBodyLongLargeParagraphSpacing: "1em";
|
|
3173
|
+
ddsFontBodyLongLargeParagraphSpacingNumberEm: 1;
|
|
3174
|
+
ddsFontBodyLongMediumLetterSpacing: "0em";
|
|
3175
|
+
ddsFontBodyLongMediumParagraphSpacing: "1em";
|
|
3176
|
+
ddsFontBodyLongMediumParagraphSpacingNumberEm: 1;
|
|
3177
|
+
ddsFontBodyLongSmallLetterSpacing: "0em";
|
|
3178
|
+
ddsFontBodyLongSmallParagraphSpacing: "1em";
|
|
3179
|
+
ddsFontBodyLongSmallParagraphSpacingNumberEm: 1;
|
|
3180
|
+
ddsFontBodyLongXsmallLetterSpacing: "0.01em";
|
|
3181
|
+
ddsFontBodyLongXsmallParagraphSpacing: "1em";
|
|
3182
|
+
ddsFontBodyLongXsmallParagraphSpacingNumberEm: 1;
|
|
2201
3183
|
ddsFontLeadMediumLetterSpacing: "0em";
|
|
2202
3184
|
ddsFontLeadMediumParagraphSpacing: "0.66em";
|
|
2203
3185
|
ddsFontLeadMediumParagraphSpacingNumberEm: 0.66;
|
|
@@ -2207,8 +3189,20 @@ declare function useTheme(): {
|
|
|
2207
3189
|
ddsFontLabelMediumLetterSpacing: "0.01em";
|
|
2208
3190
|
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
2209
3191
|
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
3192
|
+
ddsFontBodyShortLargeLetterSpacing: "0em";
|
|
3193
|
+
ddsFontBodyShortLargeParagraphSpacing: "1em";
|
|
3194
|
+
ddsFontBodyShortLargeParagraphSpacingNumberEm: 1;
|
|
3195
|
+
ddsFontBodyShortMediumLetterSpacing: "0em";
|
|
3196
|
+
ddsFontBodyShortMediumParagraphSpacing: "1em";
|
|
3197
|
+
ddsFontBodyShortMediumParagraphSpacingNumberEm: 1;
|
|
3198
|
+
ddsFontBodyShortSmallLetterSpacing: "0.01em";
|
|
3199
|
+
ddsFontBodyShortSmallParagraphSpacing: "1em";
|
|
3200
|
+
ddsFontBodyShortSmallParagraphSpacingNumberEm: 1;
|
|
3201
|
+
ddsFontBodyShortXsmallLetterSpacing: "0.01em";
|
|
3202
|
+
ddsFontBodyShortXsmallParagraphSpacing: "1em";
|
|
3203
|
+
ddsFontBodyShortXsmallParagraphSpacingNumberEm: 1;
|
|
2210
3204
|
};
|
|
2211
|
-
themeName: "core" | "public";
|
|
3205
|
+
themeName: "core-light" | "core-dark" | "public-light" | "public-dark";
|
|
2212
3206
|
};
|
|
2213
3207
|
|
|
2214
3208
|
type Language = 'nb' | 'nn' | 'no' | 'en' | 'se';
|
|
@@ -2224,36 +3218,42 @@ declare function DdsProvider({ language, theme, children }: DdsProviderProps): r
|
|
|
2224
3218
|
type PropsOfWithRef<T extends ElementType> = ComponentPropsWithRef<T> & {
|
|
2225
3219
|
/** HTML- eller React-element som returneres. */
|
|
2226
3220
|
as?: T;
|
|
2227
|
-
}
|
|
3221
|
+
} & Omit<React.ComponentPropsWithRef<T>, 'as'>;
|
|
2228
3222
|
|
|
2229
3223
|
type PolymorphicProps<T extends ElementType> = PropsOfWithRef<T>;
|
|
2230
3224
|
declare const ElementAs: <T extends ElementType>({ as, ref, children, ...props }: PolymorphicProps<T>) => react_jsx_runtime.JSX.Element;
|
|
2231
3225
|
|
|
2232
|
-
|
|
2233
|
-
/**
|
|
3226
|
+
interface AccordionConfig {
|
|
3227
|
+
/**
|
|
3228
|
+
* Ukontrollerttilstand: om utvidbare delen skal være utvidet ved første render.
|
|
3229
|
+
*/
|
|
3230
|
+
isInitiallyExpanded?: boolean;
|
|
3231
|
+
/**
|
|
3232
|
+
* Kontrollert tilstand: om utvidbare delen er utvidet.
|
|
3233
|
+
*/
|
|
2234
3234
|
isExpanded?: boolean;
|
|
2235
|
-
/**
|
|
3235
|
+
/**
|
|
3236
|
+
* Callback når tilstanden endres.
|
|
3237
|
+
*/
|
|
2236
3238
|
onChange?: (expanded: boolean) => void;
|
|
2237
|
-
|
|
3239
|
+
/**
|
|
3240
|
+
* Custom id for accordion; delene får i tillegg suffix `'header'` og `'body'`.
|
|
3241
|
+
*/
|
|
3242
|
+
id?: string;
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
type AccordionProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
2238
3246
|
declare const Accordion: {
|
|
2239
|
-
({ isExpanded, onChange, id, children, className, htmlProps, ...rest }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
3247
|
+
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
2240
3248
|
displayName: string;
|
|
2241
3249
|
};
|
|
2242
3250
|
|
|
2243
3251
|
declare function TextOverflowEllipsisWrapper({ className, ...rest }: ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
2244
3252
|
declare function TextOverflowEllipsisInner({ className, ...rest }: ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
2245
3253
|
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
*/
|
|
2250
|
-
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", "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"];
|
|
2251
|
-
declare const TEXT_COLORS_CAMEL: readonly ["textOnAction", "textOnInverse", "textOnStatusDefault", "textOnStatusStrong", "textActionResting", "textActionHover", "textActionVisited", "textDefault", "textRequiredfield", "textSubtle", "textMedium", "textOnNotification", "iconOnAction", "iconOnInfoDefault", "iconOnSuccessDefault", "iconOnDangerDefault", "iconOnWarningDefault", "iconOnInfoStrong", "iconOnSuccessStrong", "iconOnDangerStrong", "iconOnWarningStrong", "iconOnInverse", "iconActionResting", "iconActionHover", "iconDefault", "iconSubtle", "iconMedium"];
|
|
2252
|
-
type DDSTextColor = (typeof TEXT_COLORS)[number];
|
|
2253
|
-
type DDSTextColorCamel = (typeof TEXT_COLORS_CAMEL)[number];
|
|
2254
|
-
type TextColor = DDSTextColor | DDSTextColorCamel | Property.Color;
|
|
2255
|
-
|
|
2256
|
-
type TypographyBodyType = 'bodyXsmall' | 'bodySmall' | 'bodyMedium' | 'bodyLarge';
|
|
3254
|
+
type TypographyBodyShortType = 'bodyShortXsmall' | 'bodyShortSmall' | 'bodyShortMedium' | 'bodyShortLarge';
|
|
3255
|
+
type TypographyBodyLongType = 'bodyLongXsmall' | 'bodyLongSmall' | 'bodyLongMedium' | 'bodyLongLarge';
|
|
3256
|
+
type TypographyBodyType = TypographyBodyLongType | TypographyBodyShortType;
|
|
2257
3257
|
type TypographyHeadingType = 'headingXxsmall' | 'headingXsmall' | 'headingSmall' | 'headingMedium' | 'headingLarge' | 'headingXlarge' | 'headingXxlarge';
|
|
2258
3258
|
type TypographyLeadType = 'leadMedium';
|
|
2259
3259
|
type TypographyAnchorType = 'a';
|
|
@@ -2261,7 +3261,7 @@ type TypographyLabelType = 'labelMedium';
|
|
|
2261
3261
|
type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType;
|
|
2262
3262
|
type TypographyType = TypographyAnchorType | TypographyLabelType | OtherTypographyType;
|
|
2263
3263
|
type StaticTypographyType = OtherTypographyType | TypographyLabelType;
|
|
2264
|
-
type HyphenTypographyType = 'body-xsmall' | 'body-small' | 'body-medium' | 'body-large' | 'heading-xxsmall' | 'heading-xsmall' | 'heading-small' | 'heading-medium' | 'heading-large' | 'heading-xlarge' | 'heading-xxlarge' | 'lead-medium' | 'a' | 'label-medium';
|
|
3264
|
+
type HyphenTypographyType = 'body-short-xsmall' | 'body-short-small' | 'body-short-medium' | 'body-short-large' | 'body-long-xsmall' | 'body-long-small' | 'body-long-medium' | 'body-long-large' | 'heading-xxsmall' | 'heading-xsmall' | 'heading-small' | 'heading-medium' | 'heading-large' | 'heading-xlarge' | 'heading-xxlarge' | 'lead-medium' | 'a' | 'label-medium';
|
|
2265
3265
|
type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
|
|
2266
3266
|
interface BaseTypographyProps {
|
|
2267
3267
|
/**Tekstfarge fra utvalget eller custom. **OBS!** Bruk farger fra `@dds-design-tokens` med navn i kebab-case, f.eks. `text-subtle`. */
|
|
@@ -2272,8 +3272,6 @@ interface BaseTypographyProps {
|
|
|
2272
3272
|
* `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens label får margin topp og bunn.
|
|
2273
3273
|
* */
|
|
2274
3274
|
withMargins?: boolean;
|
|
2275
|
-
/**HTML style. */
|
|
2276
|
-
style?: CSSProperties;
|
|
2277
3275
|
}
|
|
2278
3276
|
type TypographyComponentProps = BaseTypographyProps & {
|
|
2279
3277
|
/**Setter `bold` styling. */
|
|
@@ -2286,7 +3284,7 @@ type TypographyComponentProps = BaseTypographyProps & {
|
|
|
2286
3284
|
as?: ElementType;
|
|
2287
3285
|
};
|
|
2288
3286
|
|
|
2289
|
-
type AnchorTypographyProps =
|
|
3287
|
+
type AnchorTypographyProps = BaseComponentPropsWithChildren<HTMLAnchorElement, {
|
|
2290
3288
|
/**nativ `href`-prop ved `typographyType='a'`. */
|
|
2291
3289
|
href?: string | undefined;
|
|
2292
3290
|
/** Spesifiserer om lenka er ekstern ved `typographyType='a'` eller `as='a'`.*/
|
|
@@ -2294,8 +3292,8 @@ type AnchorTypographyProps = BaseComponentProps<HTMLAnchorElement, {
|
|
|
2294
3292
|
/**nativ `target`-prop ved `typographyType='a'`. */
|
|
2295
3293
|
target?: string;
|
|
2296
3294
|
}, AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
2297
|
-
type LabelTypographyProps =
|
|
2298
|
-
type OtherTypographyProps =
|
|
3295
|
+
type LabelTypographyProps = BaseComponentPropsWithChildren<HTMLLabelElement, HTMLAttributes<HTMLLabelElement>>;
|
|
3296
|
+
type OtherTypographyProps = BaseComponentPropsWithChildren<HTMLElement, HTMLAttributes<HTMLElement>>;
|
|
2299
3297
|
type TypographyProps = ({
|
|
2300
3298
|
/**Styling basert på det typografiske utvalget definert i Figma. Returnerer default HTML tag for hver type. **OBS!** Ved bruk av `'a'` er det flere tilgjengelige props, se under. */
|
|
2301
3299
|
typographyType?: TypographyAnchorType;
|
|
@@ -2311,52 +3309,6 @@ declare const Typography: {
|
|
|
2311
3309
|
displayName: string;
|
|
2312
3310
|
};
|
|
2313
3311
|
|
|
2314
|
-
declare const ICON_SIZES: ["small", "medium", "large", "inherit"];
|
|
2315
|
-
type IconSize = (typeof ICON_SIZES)[number];
|
|
2316
|
-
type IconProps = BaseComponentProps<SVGSVGElement, {
|
|
2317
|
-
/**Ikonet importert fra `@norges-domstoler/dds-components`. */
|
|
2318
|
-
icon: SvgIcon;
|
|
2319
|
-
/**Størrelsen på ikonet.
|
|
2320
|
-
* @default "medium"
|
|
2321
|
-
*/
|
|
2322
|
-
iconSize?: IconSize;
|
|
2323
|
-
/**Fargen på ikonet.
|
|
2324
|
-
* @default "currentcolor"
|
|
2325
|
-
*/
|
|
2326
|
-
color?: TextColor;
|
|
2327
|
-
}, Omit<HTMLAttributes<SVGSVGElement>, 'color'>>;
|
|
2328
|
-
declare function Icon(props: IconProps): react.JSX.Element;
|
|
2329
|
-
declare namespace Icon {
|
|
2330
|
-
var displayName: string;
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
|
-
interface CommonInputProps {
|
|
2334
|
-
/**Ledetekst. */
|
|
2335
|
-
label?: string;
|
|
2336
|
-
/** Innhold etter ledetekst, f.eks. knapp som viser ekstra info e.l. */
|
|
2337
|
-
afterLabelContent?: ReactNode;
|
|
2338
|
-
/**Bredde for inputfeltet. Kan settes per brekkpunkt, manglende brekkpunter får da default bredde. */
|
|
2339
|
-
width?: ResponsiveProps['width'];
|
|
2340
|
-
/**Hjelpetekst. */
|
|
2341
|
-
tip?: string;
|
|
2342
|
-
/**Feilmelding. Setter også error state. */
|
|
2343
|
-
errorMessage?: string;
|
|
2344
|
-
}
|
|
2345
|
-
declare const INPUT_SIZES: ["xsmall", "small", "medium"];
|
|
2346
|
-
type InputSize = (typeof INPUT_SIZES)[number];
|
|
2347
|
-
type InputProps = CommonInputProps & {
|
|
2348
|
-
/**Størrelse på inputfeltet.
|
|
2349
|
-
* @default "medium"
|
|
2350
|
-
*/
|
|
2351
|
-
componentSize?: InputSize;
|
|
2352
|
-
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
2353
|
-
interface InputIconProps {
|
|
2354
|
-
/** Ikonet som vises i komponenten. */
|
|
2355
|
-
icon?: SvgIcon;
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
declare const defaultTypographyType: TypographyBodyType;
|
|
2359
|
-
declare const defaultTypographyTypeClassName: HyphenTypographyType;
|
|
2360
3312
|
declare const getElementType: (element: TypographyType) => ElementType;
|
|
2361
3313
|
declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
|
|
2362
3314
|
declare const isLegend: (as: ElementType) => boolean;
|
|
@@ -2368,7 +3320,7 @@ declare const getColorCn: (color?: TextColor) => string | null;
|
|
|
2368
3320
|
|
|
2369
3321
|
type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, BaseTypographyProps, Omit<ComponentProps<'caption'>, 'color'>>;
|
|
2370
3322
|
declare const Caption: {
|
|
2371
|
-
({ id, className, htmlProps, children, ...rest }: CaptionProps): react_jsx_runtime.JSX.Element;
|
|
3323
|
+
({ id, className, style, htmlProps, children, ...rest }: CaptionProps): react_jsx_runtime.JSX.Element;
|
|
2372
3324
|
displayName: string;
|
|
2373
3325
|
};
|
|
2374
3326
|
|
|
@@ -2380,11 +3332,11 @@ type HeadingProps = BaseComponentPropsWithChildren<HTMLHeadingElement, {
|
|
|
2380
3332
|
typographyType?: TypographyHeadingType;
|
|
2381
3333
|
} & BaseTypographyProps, Omit<HTMLAttributes<HTMLHeadingElement>, 'color'>>;
|
|
2382
3334
|
declare const Heading: {
|
|
2383
|
-
({ id, className, htmlProps, children, typographyType, level, ...rest }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
3335
|
+
({ id, className, style, htmlProps, children, typographyType, level, ...rest }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
2384
3336
|
displayName: string;
|
|
2385
3337
|
};
|
|
2386
3338
|
|
|
2387
|
-
type PickedHTMLAttributes$
|
|
3339
|
+
type PickedHTMLAttributes$3 = Pick<LabelHTMLAttributes<HTMLLabelElement>, 'htmlFor'>;
|
|
2388
3340
|
interface BaseLabelProps {
|
|
2389
3341
|
/** Om input knyttet til ledeteksten er påkrevd; påvirker styling. */
|
|
2390
3342
|
showRequiredStyling?: boolean;
|
|
@@ -2393,9 +3345,9 @@ interface BaseLabelProps {
|
|
|
2393
3345
|
/**Innhold som står etter ledeteksten (knapp med ekstra info e.l.). */
|
|
2394
3346
|
afterLabelContent?: ReactNode;
|
|
2395
3347
|
}
|
|
2396
|
-
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & BaseTypographyProps & PickedHTMLAttributes$
|
|
3348
|
+
type LabelProps = BaseComponentPropsWithChildren<HTMLLabelElement, BaseLabelProps & BaseTypographyProps & PickedHTMLAttributes$3, Omit<LabelHTMLAttributes<HTMLLabelElement>, keyof PickedHTMLAttributes$3 | 'color'>>;
|
|
2397
3349
|
declare const Label: {
|
|
2398
|
-
({ showRequiredStyling, readOnly, id, className, htmlProps, children, afterLabelContent, ...rest }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
3350
|
+
({ showRequiredStyling, readOnly, id, className, style, htmlProps, children, afterLabelContent, ...rest }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
2399
3351
|
displayName: string;
|
|
2400
3352
|
};
|
|
2401
3353
|
|
|
@@ -2404,11 +3356,11 @@ type LegendProps = BaseComponentPropsWithChildren<HTMLLegendElement, BaseTypogra
|
|
|
2404
3356
|
typographyType?: TypographyHeadingType;
|
|
2405
3357
|
}, Omit<HTMLAttributes<HTMLLegendElement>, 'color'>>;
|
|
2406
3358
|
declare const Legend: {
|
|
2407
|
-
({ id, className, htmlProps, typographyType, ...rest }: LegendProps): react_jsx_runtime.JSX.Element;
|
|
3359
|
+
({ id, className, style, htmlProps, typographyType, ...rest }: LegendProps): react_jsx_runtime.JSX.Element;
|
|
2408
3360
|
displayName: string;
|
|
2409
3361
|
};
|
|
2410
3362
|
|
|
2411
|
-
type PickedHTMLAttributes$
|
|
3363
|
+
type PickedHTMLAttributes$2 = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href' | 'target'>;
|
|
2412
3364
|
type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
2413
3365
|
/**Spesifiserer om lenken fører til et eksternt nettsted eller åpnes i nytt vindu. Påvirker styling og setter `target` prop. */
|
|
2414
3366
|
external?: boolean;
|
|
@@ -2416,18 +3368,20 @@ type LinkProps<T extends ElementType = 'a'> = PolymorphicBaseComponentProps<T, {
|
|
|
2416
3368
|
withVisited?: boolean;
|
|
2417
3369
|
/**Spesifiserer typografistil basert på utvalget for brødtekst. Arver hvis ikke oppgitt. */
|
|
2418
3370
|
typographyType?: TypographyBodyType;
|
|
2419
|
-
} & BaseTypographyProps & PickedHTMLAttributes$
|
|
3371
|
+
} & BaseTypographyProps & PickedHTMLAttributes$2>;
|
|
2420
3372
|
declare const Link: {
|
|
2421
3373
|
<T extends ElementType = "a">({ id, className, htmlProps, children, typographyType, withMargins, withVisited, external, target, style, color, as: propAs, ...rest }: LinkProps<T>): react_jsx_runtime.JSX.Element;
|
|
2422
3374
|
displayName: string;
|
|
2423
3375
|
};
|
|
2424
3376
|
|
|
2425
3377
|
type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
|
|
2426
|
-
/**Spesifiserer typografistil basert på utvalget for brødtekst og ingress.
|
|
3378
|
+
/** Spesifiserer typografistil basert på utvalget for brødtekst og ingress.
|
|
3379
|
+
* @default 'BodyLongMedium'
|
|
3380
|
+
*/
|
|
2427
3381
|
typographyType?: TypographyBodyType | TypographyLeadType;
|
|
2428
3382
|
} & BaseTypographyProps, Omit<HTMLAttributes<HTMLParagraphElement>, 'color'>>;
|
|
2429
3383
|
declare const Paragraph: {
|
|
2430
|
-
({ id, className, htmlProps, children, typographyType, ...rest }: ParagraphProps): react_jsx_runtime.JSX.Element;
|
|
3384
|
+
({ id, className, style, htmlProps, children, typographyType, ...rest }: ParagraphProps): react_jsx_runtime.JSX.Element;
|
|
2431
3385
|
displayName: string;
|
|
2432
3386
|
};
|
|
2433
3387
|
|
|
@@ -2438,13 +3392,13 @@ type AccordionHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonElemen
|
|
|
2438
3392
|
bold?: boolean;
|
|
2439
3393
|
}, ButtonHTMLAttributes<HTMLButtonElement>>, 'id'>;
|
|
2440
3394
|
declare const AccordionHeader: {
|
|
2441
|
-
({ children, className, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3395
|
+
({ children, className, style, htmlProps, typographyType, bold, ...rest }: AccordionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2442
3396
|
displayName: string;
|
|
2443
3397
|
};
|
|
2444
3398
|
|
|
2445
3399
|
type AccordionBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement>, 'id'>;
|
|
2446
3400
|
declare const AccordionBody: {
|
|
2447
|
-
({ children, className, htmlProps, ...rest }: AccordionBodyProps): react_jsx_runtime.JSX.Element;
|
|
3401
|
+
({ children, className, style, htmlProps, ...rest }: AccordionBodyProps): react_jsx_runtime.JSX.Element;
|
|
2448
3402
|
displayName: string;
|
|
2449
3403
|
};
|
|
2450
3404
|
|
|
@@ -2470,56 +3424,17 @@ declare const Breadcrumb: {
|
|
|
2470
3424
|
displayName: string;
|
|
2471
3425
|
};
|
|
2472
3426
|
|
|
2473
|
-
type BreadcrumbsProps =
|
|
3427
|
+
type BreadcrumbsProps = BaseComponentProps<HTMLElement, {
|
|
2474
3428
|
/**
|
|
2475
3429
|
* Spesifiserer ved hvilket brekkpunkt og nedover versjonen for små skjermer skal vises.
|
|
2476
3430
|
* Trunkerer barn unntatt første og siste; trunkerte barn er tilgjengelige ved å trykke på trunkeringsknappen.
|
|
2477
3431
|
*/
|
|
2478
3432
|
smallScreenBreakpoint?: Breakpoint;
|
|
3433
|
+
/**`<Breadcrumb> barn.` */
|
|
3434
|
+
children?: ReactNode;
|
|
2479
3435
|
}>;
|
|
2480
3436
|
declare const Breadcrumbs: {
|
|
2481
|
-
({ children, smallScreenBreakpoint, id, className, htmlProps, ...rest }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
2482
|
-
displayName: string;
|
|
2483
|
-
};
|
|
2484
|
-
|
|
2485
|
-
declare const BUTTON_SIZES: ["xsmall", "small", "medium", "large"];
|
|
2486
|
-
type ButtonPurpose = 'primary' | 'secondary' | 'danger' | 'tertiary';
|
|
2487
|
-
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
2488
|
-
type IconPosition = 'left' | 'right';
|
|
2489
|
-
type PickedHTMLAttributes$2 = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onFocus' | 'onBlur' | 'type'>;
|
|
2490
|
-
type ButtonProps = BaseComponentProps<HTMLButtonElement, {
|
|
2491
|
-
/** Størrelsen på knappen.
|
|
2492
|
-
* @default "medium"
|
|
2493
|
-
*/
|
|
2494
|
-
size?: ButtonSize;
|
|
2495
|
-
/**Innhold i knappen (unntatt ikon). */
|
|
2496
|
-
children?: ReactNode;
|
|
2497
|
-
/**Bestemmer farger basert på formål.
|
|
2498
|
-
* @default "primary"
|
|
2499
|
-
*/
|
|
2500
|
-
purpose?: ButtonPurpose;
|
|
2501
|
-
/** Posisjonen til ikonet i forhold til teksten.
|
|
2502
|
-
* @default "left"
|
|
2503
|
-
*/
|
|
2504
|
-
iconPosition?: IconPosition;
|
|
2505
|
-
/**Indikerer en loading-knapp. */
|
|
2506
|
-
loading?: boolean;
|
|
2507
|
-
/** Tooltip som vises ved loading.
|
|
2508
|
-
* @default "Lagring pågår"
|
|
2509
|
-
*/
|
|
2510
|
-
loadingTooltip?: string;
|
|
2511
|
-
/**Ikonet som ligger i knappen. */
|
|
2512
|
-
icon?: SvgIcon;
|
|
2513
|
-
/**Knapp med full bredde. */
|
|
2514
|
-
fullWidth?: boolean;
|
|
2515
|
-
/**URL for knapper som skal brukes som lenke. Knappen blir til et `<a>`-element. */
|
|
2516
|
-
href?: string;
|
|
2517
|
-
/**Nativt `target`-attributt. Kan settes når knappen er et `<a>`-element. */
|
|
2518
|
-
target?: string;
|
|
2519
|
-
} & PickedHTMLAttributes$2, Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes$2>>;
|
|
2520
|
-
|
|
2521
|
-
declare const Button: {
|
|
2522
|
-
({ children, purpose, size, iconPosition, href, target, loading, loadingTooltip, fullWidth, icon, onClick, onFocus, onBlur, id, ref, className, htmlProps, ...rest }: ButtonProps): react_jsx_runtime.JSX.Element | undefined;
|
|
3437
|
+
({ children, smallScreenBreakpoint, id, className, style, htmlProps, ...rest }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
2523
3438
|
displayName: string;
|
|
2524
3439
|
};
|
|
2525
3440
|
|
|
@@ -2543,7 +3458,7 @@ type ButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2543
3458
|
role?: AriaRole;
|
|
2544
3459
|
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedHTMLAttributes$1>>;
|
|
2545
3460
|
declare const ButtonGroup: {
|
|
2546
|
-
({ children, id, className, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
3461
|
+
({ children, id, className, style, htmlProps, direction, buttonSize, role, ...rest }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
2547
3462
|
displayName: string;
|
|
2548
3463
|
};
|
|
2549
3464
|
|
|
@@ -2556,6 +3471,8 @@ interface SelectionControlCommonProps {
|
|
|
2556
3471
|
error?: boolean;
|
|
2557
3472
|
/**Inputelementet blir `readonly` - den kan ikke interageres med. Brukes bl.a. til å presentere input brukeren har fylt ut andre steder. */
|
|
2558
3473
|
readOnly?: boolean;
|
|
3474
|
+
/**Barn. Brukes når komponenten skal ha unik layout eller lignende. */
|
|
3475
|
+
children?: ReactNode;
|
|
2559
3476
|
}
|
|
2560
3477
|
interface SelectionControlGroupCommonProps {
|
|
2561
3478
|
/**Ledetekst for gruppen. */
|
|
@@ -2581,10 +3498,10 @@ type CheckboxProps = BaseComponentProps<HTMLInputElement, SelectionControlCommon
|
|
|
2581
3498
|
/**Brukes ved nøstet struktur der alle `<Checkbox>` som hører til en gruppe kan bli valgt ved å trykke på en forelder `<Checkbox>`.
|
|
2582
3499
|
* Hvis enkelte `<Checkbox>` blir valgt men ikke alle, skal forelder `<Checkbox>` få tilstanden `indeterminate` - verken valgt eller ikke. */
|
|
2583
3500
|
indeterminate?: boolean;
|
|
2584
|
-
} & CheckboxPickedHTMLAttributes
|
|
3501
|
+
} & CheckboxPickedHTMLAttributes & Pick<ComponentProps<'input'>, 'required'>, InputHTMLAttributes<HTMLInputElement>>;
|
|
2585
3502
|
|
|
2586
3503
|
declare const Checkbox: {
|
|
2587
|
-
({ id, name, label, error, disabled, readOnly, indeterminate, "aria-describedby": ariaDescribedby, className, htmlProps, children, ...rest }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
3504
|
+
({ id, name, label, error, disabled, readOnly, indeterminate, "aria-describedby": ariaDescribedby, className, htmlProps, style, children, ...rest }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
2588
3505
|
displayName: string;
|
|
2589
3506
|
};
|
|
2590
3507
|
|
|
@@ -2597,6 +3514,10 @@ declare const CheckboxGroup: {
|
|
|
2597
3514
|
displayName: string;
|
|
2598
3515
|
};
|
|
2599
3516
|
|
|
3517
|
+
type RadioPickedInputHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'readOnly' | 'checked' | 'value' | 'required' | 'onChange' | 'aria-describedby'>;
|
|
3518
|
+
type RadioButtonProps = BaseComponentProps<HTMLInputElement, SelectionControlCommonProps & RadioPickedInputHTMLAttributes>;
|
|
3519
|
+
type RadioValue = RadioPickedInputHTMLAttributes['value'];
|
|
3520
|
+
|
|
2600
3521
|
type CardAppearance = 'filled' | 'border';
|
|
2601
3522
|
type BaseCardProps<T extends HTMLElement> = BaseComponentPropsWithChildren<T, {
|
|
2602
3523
|
/** Utseende på komponenten.
|
|
@@ -2612,7 +3533,7 @@ type InfoCardProps = BaseCardProps<HTMLDivElement> & {
|
|
|
2612
3533
|
};
|
|
2613
3534
|
type NavigationCardProps = BaseCardProps<HTMLAnchorElement> & {
|
|
2614
3535
|
cardType: 'navigation';
|
|
2615
|
-
} & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'target'>;
|
|
3536
|
+
} & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'target' | 'onClick'>;
|
|
2616
3537
|
type ExpandableCardProps = BaseCardProps<HTMLDivElement> & {
|
|
2617
3538
|
cardType: 'expandable';
|
|
2618
3539
|
};
|
|
@@ -2628,21 +3549,16 @@ type CardSelectableProps = BaseComponentPropsWithChildren<HTMLInputElement, Pick
|
|
|
2628
3549
|
left?: Property.Left;
|
|
2629
3550
|
top?: Property.Top;
|
|
2630
3551
|
};
|
|
2631
|
-
} &
|
|
3552
|
+
} & RadioPickedInputHTMLAttributes & CheckboxPickedHTMLAttributes>;
|
|
2632
3553
|
|
|
2633
3554
|
declare const Card: {
|
|
2634
3555
|
(props: CardProps): react_jsx_runtime.JSX.Element;
|
|
2635
3556
|
displayName: string;
|
|
2636
3557
|
};
|
|
2637
3558
|
|
|
2638
|
-
type CardExpandableProps = BaseComponentPropsWithChildren<HTMLDivElement,
|
|
2639
|
-
/**Spesifiserer om body skal være utvidet ved innlastning. */
|
|
2640
|
-
isExpanded?: boolean;
|
|
2641
|
-
/**For å lytte til endringer i expanded-state. */
|
|
2642
|
-
onChange?: (expanded: boolean) => void;
|
|
2643
|
-
}>;
|
|
3559
|
+
type CardExpandableProps = BaseComponentPropsWithChildren<HTMLDivElement, Pick<AccordionConfig, 'isExpanded' | 'isInitiallyExpanded' | 'onChange'>>;
|
|
2644
3560
|
declare const CardExpandable: {
|
|
2645
|
-
({ isExpanded, onChange, id, children, className, htmlProps, ...rest }: CardExpandableProps): react_jsx_runtime.JSX.Element;
|
|
3561
|
+
({ isInitiallyExpanded, isExpanded, onChange, id, children, className, style, htmlProps, ...rest }: CardExpandableProps): react_jsx_runtime.JSX.Element;
|
|
2646
3562
|
displayName: string;
|
|
2647
3563
|
};
|
|
2648
3564
|
|
|
@@ -2655,7 +3571,7 @@ type CardExpandableHeaderProps = Omit<BaseComponentPropsWithChildren<HTMLButtonE
|
|
|
2655
3571
|
bold?: boolean;
|
|
2656
3572
|
}, ButtonHTMLAttributes<HTMLButtonElement>>, 'id'>;
|
|
2657
3573
|
declare const CardExpandableHeader: {
|
|
2658
|
-
({ children, className, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3574
|
+
({ children, className, style, htmlProps, padding, typographyType, bold, ...rest }: CardExpandableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2659
3575
|
displayName: string;
|
|
2660
3576
|
};
|
|
2661
3577
|
|
|
@@ -2664,7 +3580,7 @@ type CardExpandableBodyProps = Omit<BaseComponentPropsWithChildren<HTMLDivElemen
|
|
|
2664
3580
|
padding?: Property.Padding<string>;
|
|
2665
3581
|
}>, 'id'>;
|
|
2666
3582
|
declare const CardExpandableBody: {
|
|
2667
|
-
({ children, className, htmlProps, padding, ...rest }: CardExpandableBodyProps): react_jsx_runtime.JSX.Element;
|
|
3583
|
+
({ children, className, style, htmlProps, padding, ...rest }: CardExpandableBodyProps): react_jsx_runtime.JSX.Element;
|
|
2668
3584
|
displayName: string;
|
|
2669
3585
|
};
|
|
2670
3586
|
|
|
@@ -2690,18 +3606,18 @@ type CardSelectableGroupProps<T extends string | number> = BaseComponentPropsWit
|
|
|
2690
3606
|
defaultValue?: T | undefined;
|
|
2691
3607
|
}, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
2692
3608
|
declare const CardSelectableGroup: {
|
|
2693
|
-
<T extends string | number = string>({ name, cardType, errorMessage, disabled, readOnly, value, defaultValue, children, required, onChange, id, tipId, className,
|
|
3609
|
+
<T extends string | number = string>({ name, cardType, errorMessage, disabled, readOnly, value, defaultValue, children, required, onChange, id, tipId, className, style, htmlProps, ...rest }: CardSelectableGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
2694
3610
|
displayName: string;
|
|
2695
3611
|
};
|
|
2696
3612
|
|
|
2697
3613
|
type ChipProps = BaseComponentProps<HTMLDivElement, {
|
|
2698
3614
|
/** Teksten som vises i komponenten. */
|
|
2699
|
-
|
|
3615
|
+
children?: string;
|
|
2700
3616
|
/** Ekstra logikk når `<Chip>` lukkes. */
|
|
2701
3617
|
onClose?: () => void;
|
|
2702
3618
|
}>;
|
|
2703
3619
|
declare const Chip: {
|
|
2704
|
-
({
|
|
3620
|
+
({ children, onClose, id, className, style, htmlProps, ...rest }: ChipProps): react_jsx_runtime.JSX.Element | null;
|
|
2705
3621
|
displayName: string;
|
|
2706
3622
|
};
|
|
2707
3623
|
|
|
@@ -2711,8 +3627,11 @@ declare const ChipGroup: {
|
|
|
2711
3627
|
displayName: string;
|
|
2712
3628
|
};
|
|
2713
3629
|
|
|
2714
|
-
type ContrastProps<T extends
|
|
2715
|
-
declare const Contrast:
|
|
3630
|
+
type ContrastProps<T extends ElementType = 'div'> = BoxProps<T>;
|
|
3631
|
+
declare const Contrast: {
|
|
3632
|
+
<T extends ElementType = "div">({ id, className, style, htmlProps, ...rest }: ContrastProps<T>): react_jsx_runtime.JSX.Element;
|
|
3633
|
+
displayName: string;
|
|
3634
|
+
};
|
|
2716
3635
|
|
|
2717
3636
|
type CookieBannerCheckboxProps = Omit<CheckboxProps, 'label' | 'children'> & {
|
|
2718
3637
|
/**Header - kort oppsummering av den spesifikke typen informasjonskapsel. */
|
|
@@ -2720,7 +3639,7 @@ type CookieBannerCheckboxProps = Omit<CheckboxProps, 'label' | 'children'> & {
|
|
|
2720
3639
|
/**Detaljer rundt den spesifikke typen informasjonskapsel. */
|
|
2721
3640
|
description: string;
|
|
2722
3641
|
};
|
|
2723
|
-
declare function CookieBannerCheckbox({ headerText, description, id, className, htmlProps, ...rest }: CookieBannerCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
3642
|
+
declare function CookieBannerCheckbox({ headerText, description, id, className, style, htmlProps, ...rest }: CookieBannerCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
2724
3643
|
declare namespace CookieBannerCheckbox {
|
|
2725
3644
|
var displayName: string;
|
|
2726
3645
|
}
|
|
@@ -2737,7 +3656,7 @@ type CookieBannerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2737
3656
|
/**Brekkpunkt for sammentrukket variant; Brukes på siden med detaljer om informasjonskapsler. */
|
|
2738
3657
|
collapsedBreakpoint?: Breakpoint;
|
|
2739
3658
|
} & Pick<ResponsiveProps, 'position' | 'top' | 'bottom' | 'left' | 'right' | 'width' | 'maxHeight'>>;
|
|
2740
|
-
declare function CookieBanner({ headerText, description, buttons, checkboxes, id, className, htmlProps, maxHeight, width, children, collapsedBreakpoint, ...rest }: CookieBannerProps): react_jsx_runtime.JSX.Element;
|
|
3659
|
+
declare function CookieBanner({ headerText, description, buttons, checkboxes, id, className, style, htmlProps, maxHeight, width, children, collapsedBreakpoint, ...rest }: CookieBannerProps): react_jsx_runtime.JSX.Element;
|
|
2741
3660
|
declare namespace CookieBanner {
|
|
2742
3661
|
var displayName: string;
|
|
2743
3662
|
}
|
|
@@ -2748,6 +3667,31 @@ declare namespace Calendar {
|
|
|
2748
3667
|
var displayName: string;
|
|
2749
3668
|
}
|
|
2750
3669
|
|
|
3670
|
+
interface CommonInputProps {
|
|
3671
|
+
/**Ledetekst. */
|
|
3672
|
+
label?: string;
|
|
3673
|
+
/** Innhold etter ledetekst, f.eks. knapp som viser ekstra info e.l. */
|
|
3674
|
+
afterLabelContent?: ReactNode;
|
|
3675
|
+
/**Bredde for inputfeltet. Kan settes per brekkpunkt, manglende brekkpunter får da default bredde. */
|
|
3676
|
+
width?: ResponsiveProps['width'];
|
|
3677
|
+
/**Hjelpetekst. */
|
|
3678
|
+
tip?: string;
|
|
3679
|
+
/**Feilmelding. Setter også error state. */
|
|
3680
|
+
errorMessage?: string;
|
|
3681
|
+
}
|
|
3682
|
+
declare const INPUT_SIZES: ["xsmall", "small", "medium"];
|
|
3683
|
+
type InputSize = (typeof INPUT_SIZES)[number];
|
|
3684
|
+
type InputProps = CommonInputProps & {
|
|
3685
|
+
/**Størrelse på inputfeltet.
|
|
3686
|
+
* @default "medium"
|
|
3687
|
+
*/
|
|
3688
|
+
componentSize?: InputSize;
|
|
3689
|
+
} & Omit<ComponentPropsWithRef<'input'>, 'width' | 'height'>;
|
|
3690
|
+
interface InputIconProps {
|
|
3691
|
+
/** Ikonet som vises i komponenten. */
|
|
3692
|
+
icon?: SvgIcon;
|
|
3693
|
+
}
|
|
3694
|
+
|
|
2751
3695
|
type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
|
|
2752
3696
|
buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
|
|
2753
3697
|
buttonOnClick?: () => void;
|
|
@@ -2811,7 +3755,7 @@ type DescriptionListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
|
2811
3755
|
direction?: Direction$1;
|
|
2812
3756
|
}>;
|
|
2813
3757
|
declare const DescriptionList: {
|
|
2814
|
-
({ appearance, direction, children, id, className, htmlProps, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
|
|
3758
|
+
({ appearance, direction, children, id, className, style, htmlProps, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
|
|
2815
3759
|
displayName: string;
|
|
2816
3760
|
};
|
|
2817
3761
|
|
|
@@ -2826,7 +3770,7 @@ type DescriptionListDescProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
|
2826
3770
|
icon?: SvgIcon;
|
|
2827
3771
|
}>;
|
|
2828
3772
|
declare const DescriptionListDesc: {
|
|
2829
|
-
({ children, icon, id, className, htmlProps, ...rest }: DescriptionListDescProps): react_jsx_runtime.JSX.Element;
|
|
3773
|
+
({ children, icon, id, className, style, htmlProps, ...rest }: DescriptionListDescProps): react_jsx_runtime.JSX.Element;
|
|
2830
3774
|
displayName: string;
|
|
2831
3775
|
};
|
|
2832
3776
|
|
|
@@ -2839,7 +3783,7 @@ type DescriptionListGroupProps = BaseComponentPropsWithChildren<HTMLDivElement,
|
|
|
2839
3783
|
maxWidth?: Property.MaxWidth<string>;
|
|
2840
3784
|
}>;
|
|
2841
3785
|
declare const DescriptionListGroup: {
|
|
2842
|
-
({ children, margin, minWidth, maxWidth, id, className, htmlProps, ...rest }: DescriptionListGroupProps): react_jsx_runtime.JSX.Element;
|
|
3786
|
+
({ children, margin, minWidth, maxWidth, id, className, style, htmlProps, ...rest }: DescriptionListGroupProps): react_jsx_runtime.JSX.Element;
|
|
2843
3787
|
displayName: string;
|
|
2844
3788
|
};
|
|
2845
3789
|
|
|
@@ -2864,11 +3808,11 @@ type DetailListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
|
|
|
2864
3808
|
smallScreenBreakpoint?: Breakpoint;
|
|
2865
3809
|
}>;
|
|
2866
3810
|
declare const DetailList: {
|
|
2867
|
-
({ id, className, htmlProps, withDividers, striped, size, smallScreenBreakpoint, ...rest }: DetailListProps): react_jsx_runtime.JSX.Element;
|
|
3811
|
+
({ id, className, style, htmlProps, withDividers, striped, size, smallScreenBreakpoint, ...rest }: DetailListProps): react_jsx_runtime.JSX.Element;
|
|
2868
3812
|
displayName: string;
|
|
2869
3813
|
};
|
|
2870
3814
|
|
|
2871
|
-
type DetailListDescProps = ComponentPropsWithRef<'dd'>;
|
|
3815
|
+
type DetailListDescProps = ComponentPropsWithRef<'dd'> & Pick<ResponsiveProps, 'textAlign'>;
|
|
2872
3816
|
declare const DetailListDesc: {
|
|
2873
3817
|
({ className, ...rest }: DetailListDescProps): react_jsx_runtime.JSX.Element;
|
|
2874
3818
|
displayName: string;
|
|
@@ -2893,12 +3837,11 @@ type DividerProps = BaseComponentProps<HTMLHRElement, {
|
|
|
2893
3837
|
*/
|
|
2894
3838
|
color?: DividerColor;
|
|
2895
3839
|
}, Omit<HTMLAttributes<HTMLHRElement>, 'color'>>;
|
|
2896
|
-
declare const Divider: ({ color, id, className, htmlProps, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
|
|
3840
|
+
declare const Divider: ({ color, id, className, style, htmlProps, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
|
|
2897
3841
|
|
|
2898
3842
|
declare const DRAWER_SIZES: ["small", "medium", "large"];
|
|
2899
3843
|
type DrawerSize = (typeof DRAWER_SIZES)[number];
|
|
2900
3844
|
type DrawerPlacement = 'left' | 'right';
|
|
2901
|
-
type WidthProps = Pick<ResponsiveProps, 'minWidth' | 'maxWidth' | 'width'>;
|
|
2902
3845
|
type DrawerProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
2903
3846
|
/**Størrelsen på `<Drawer>`.
|
|
2904
3847
|
* @default "small"
|
|
@@ -2915,15 +3858,13 @@ type DrawerProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
2915
3858
|
* @default themeProviderRef
|
|
2916
3859
|
*/
|
|
2917
3860
|
parentElement?: HTMLElement;
|
|
2918
|
-
/**Custom props for breddehåndtering ved behov. Kan settes per brekkpunkt eller samme verdi for alle. */
|
|
2919
|
-
widthProps?: WidthProps;
|
|
2920
3861
|
/**
|
|
2921
3862
|
* Om `<Drawer>` skal vises med backdrop som gråer ut bakgrunnen.
|
|
2922
3863
|
*/
|
|
2923
3864
|
withBackdrop?: boolean;
|
|
2924
|
-
}
|
|
3865
|
+
} & Pick<ResponsiveProps, 'minWidth' | 'maxWidth' | 'width'>>, 'id'>;
|
|
2925
3866
|
declare const Drawer: {
|
|
2926
|
-
({ children, header, placement, parentElement, size, className, htmlProps,
|
|
3867
|
+
({ children, header, placement, parentElement, size, className, style, htmlProps, maxWidth, minWidth, width, withBackdrop, ref, ...rest }: DrawerProps): react.ReactPortal | null;
|
|
2927
3868
|
displayName: string;
|
|
2928
3869
|
};
|
|
2929
3870
|
|
|
@@ -2962,9 +3903,9 @@ type EmptyContentProps = {
|
|
|
2962
3903
|
*/
|
|
2963
3904
|
headerHeadingLevel?: HeadingLevel;
|
|
2964
3905
|
/**Melding - beskrivelse og forklaring på hvordan brukeren kan få innhold. Kan inneholde lenker og andre interaktive elementer. */
|
|
2965
|
-
|
|
2966
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
2967
|
-
declare function EmptyContent({ headerText,
|
|
3906
|
+
children: ReactNode;
|
|
3907
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
3908
|
+
declare function EmptyContent({ headerText, children, headerHeadingLevel, ...rest }: EmptyContentProps): react_jsx_runtime.JSX.Element;
|
|
2968
3909
|
declare namespace EmptyContent {
|
|
2969
3910
|
var displayName: string;
|
|
2970
3911
|
}
|
|
@@ -2992,7 +3933,7 @@ type FavStarProps = BaseComponentPropsWithChildren<HTMLElement, {
|
|
|
2992
3933
|
size?: ComponentSize;
|
|
2993
3934
|
}, Omit<HTMLAttributes<HTMLElement>, 'onChange'>>;
|
|
2994
3935
|
declare const FavStar: {
|
|
2995
|
-
({ id, className, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): react_jsx_runtime.JSX.Element;
|
|
3936
|
+
({ id, className, style, onChange, checked: checkedProp, defaultChecked, size, htmlProps, ...rest }: FavStarProps): react_jsx_runtime.JSX.Element;
|
|
2996
3937
|
displayName: string;
|
|
2997
3938
|
};
|
|
2998
3939
|
|
|
@@ -3062,13 +4003,13 @@ type FieldsetProps = BaseComponentPropsWithChildren<HTMLFieldSetElement, {
|
|
|
3062
4003
|
disabled?: boolean;
|
|
3063
4004
|
}>;
|
|
3064
4005
|
declare const Fieldset: {
|
|
3065
|
-
({ id, className, htmlProps, ...rest }: FieldsetProps): react_jsx_runtime.JSX.Element;
|
|
4006
|
+
({ id, className, style, htmlProps, ...rest }: FieldsetProps): react_jsx_runtime.JSX.Element;
|
|
3066
4007
|
displayName: string;
|
|
3067
4008
|
};
|
|
3068
4009
|
|
|
3069
4010
|
type FieldsetGroupProps = BaseComponentPropsWithChildren<HTMLDivElement>;
|
|
3070
4011
|
declare const FieldsetGroup: {
|
|
3071
|
-
({ id, className, htmlProps, ...rest }: FieldsetGroupProps): react_jsx_runtime.JSX.Element;
|
|
4012
|
+
({ id, className, style, htmlProps, ...rest }: FieldsetGroupProps): react_jsx_runtime.JSX.Element;
|
|
3072
4013
|
displayName: string;
|
|
3073
4014
|
};
|
|
3074
4015
|
|
|
@@ -3093,7 +4034,7 @@ type FileUploaderHookProps = {
|
|
|
3093
4034
|
value: FileList | undefined;
|
|
3094
4035
|
/**Callback for når fil-listen endres. */
|
|
3095
4036
|
onChange: (newFiles: FileList) => void;
|
|
3096
|
-
/**
|
|
4037
|
+
/**Filendelser eller mime-typer filopplasteren skal akseptere. */
|
|
3097
4038
|
accept: Array<FileUploaderAccept> | undefined;
|
|
3098
4039
|
/**Om filopplasteren er avslått eller ikke. */
|
|
3099
4040
|
disabled?: boolean;
|
|
@@ -3164,15 +4105,15 @@ declare const FormSummary: (props: FormSummaryProps) => react_jsx_runtime.JSX.El
|
|
|
3164
4105
|
|
|
3165
4106
|
type InputMessageType = 'error' | 'tip';
|
|
3166
4107
|
type InputMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
3167
|
-
/**
|
|
3168
|
-
|
|
4108
|
+
/**Innhold. */
|
|
4109
|
+
children?: ReactNode;
|
|
3169
4110
|
/** Formålet med meldingen. Påvirker styling.
|
|
3170
4111
|
* @default "error"
|
|
3171
4112
|
*/
|
|
3172
4113
|
messageType: InputMessageType;
|
|
3173
4114
|
} & Pick<ResponsiveProps, 'margin' | 'marginInline' | 'marginBlock'>>;
|
|
3174
4115
|
declare const InputMessage: {
|
|
3175
|
-
({
|
|
4116
|
+
({ messageType, id, className, style, htmlProps, children, ...rest }: InputMessageProps): react_jsx_runtime.JSX.Element;
|
|
3176
4117
|
displayName: string;
|
|
3177
4118
|
};
|
|
3178
4119
|
interface RenderInputMessageProps {
|
|
@@ -3211,10 +4152,11 @@ declare function FormSummaryEmptyValue(): react_jsx_runtime.JSX.Element;
|
|
|
3211
4152
|
type FormSummaryErrorProps = Omit<InputMessageProps, 'messageType' | 'message'>;
|
|
3212
4153
|
declare function FormSummaryError({ ...props }: FormSummaryErrorProps): react_jsx_runtime.JSX.Element;
|
|
3213
4154
|
|
|
3214
|
-
|
|
3215
|
-
type
|
|
3216
|
-
|
|
3217
|
-
|
|
4155
|
+
declare const G_MESSAGE_PURPOSES: ["info", "warning", "danger"];
|
|
4156
|
+
type GlobalMessagePurpose = (typeof G_MESSAGE_PURPOSES)[number];
|
|
4157
|
+
type GlobalMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
4158
|
+
/**Melding. */
|
|
4159
|
+
children?: ReactNode;
|
|
3218
4160
|
/**Formålet med meldingen. Påvirker styling.
|
|
3219
4161
|
* @default "info"
|
|
3220
4162
|
*/
|
|
@@ -3225,7 +4167,7 @@ type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3225
4167
|
onClose?: () => void;
|
|
3226
4168
|
}>;
|
|
3227
4169
|
declare const GlobalMessage: {
|
|
3228
|
-
({
|
|
4170
|
+
({ purpose, closable, onClose, children, id, className, style, htmlProps, ...rest }: GlobalMessageProps): react_jsx_runtime.JSX.Element | null;
|
|
3229
4171
|
displayName: string;
|
|
3230
4172
|
};
|
|
3231
4173
|
|
|
@@ -3332,9 +4274,9 @@ declare const InternalHeader: {
|
|
|
3332
4274
|
};
|
|
3333
4275
|
|
|
3334
4276
|
type ListType = 'ordered' | 'unordered';
|
|
3335
|
-
type ListTypographyType =
|
|
4277
|
+
type ListTypographyType = TypographyBodyLongType | 'inherit';
|
|
3336
4278
|
type ListProps = BaseComponentPropsWithChildren<HTMLUListElement | HTMLOListElement, {
|
|
3337
|
-
/**Spesifiserer om komponenten skal returnere `<ul
|
|
4279
|
+
/**Spesifiserer om komponenten skal returnere `<ul>` (punktliste) eller `<ol>` (nummerert liste).
|
|
3338
4280
|
* @default "unordered"
|
|
3339
4281
|
*/
|
|
3340
4282
|
listType?: ListType;
|
|
@@ -3344,7 +4286,7 @@ type ListProps = BaseComponentPropsWithChildren<HTMLUListElement | HTMLOListElem
|
|
|
3344
4286
|
typographyType?: ListTypographyType;
|
|
3345
4287
|
}>;
|
|
3346
4288
|
declare const List: {
|
|
3347
|
-
({ listType, typographyType, children, id, className, htmlProps, ...rest }: ListProps): react_jsx_runtime.JSX.Element;
|
|
4289
|
+
({ listType, typographyType, children, id, className, style, htmlProps, ...rest }: ListProps): react_jsx_runtime.JSX.Element;
|
|
3348
4290
|
displayName: string;
|
|
3349
4291
|
};
|
|
3350
4292
|
|
|
@@ -3354,11 +4296,12 @@ declare const ListItem: {
|
|
|
3354
4296
|
displayName: string;
|
|
3355
4297
|
};
|
|
3356
4298
|
|
|
3357
|
-
|
|
4299
|
+
declare const L_MESSAGE_PURPOSES: ["info", "success", "warning", "danger", "tips"];
|
|
4300
|
+
type LocalMessagePurpose = (typeof L_MESSAGE_PURPOSES)[number];
|
|
3358
4301
|
type LocalMessageLayout = 'horisontal' | 'vertical';
|
|
3359
|
-
type LocalMessageProps =
|
|
3360
|
-
/**
|
|
3361
|
-
|
|
4302
|
+
type LocalMessageProps = BaseComponentProps<HTMLDivElement, {
|
|
4303
|
+
/**Innhold i meldingen. */
|
|
4304
|
+
children?: ReactNode;
|
|
3362
4305
|
/**Formålet med meldingen. Påvirker styling.
|
|
3363
4306
|
* @default "info"
|
|
3364
4307
|
*/
|
|
@@ -3373,7 +4316,7 @@ type LocalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3373
4316
|
layout?: LocalMessageLayout;
|
|
3374
4317
|
} & Pick<ResponsiveProps, 'width'>>;
|
|
3375
4318
|
declare const LocalMessage: {
|
|
3376
|
-
({
|
|
4319
|
+
({ purpose, closable, onClose, width, layout, children, id, className, style, htmlProps, ...rest }: LocalMessageProps): react_jsx_runtime.JSX.Element;
|
|
3377
4320
|
displayName: string;
|
|
3378
4321
|
};
|
|
3379
4322
|
|
|
@@ -3396,7 +4339,7 @@ type ModalProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3396
4339
|
scrollable?: boolean;
|
|
3397
4340
|
}>;
|
|
3398
4341
|
declare const Modal: {
|
|
3399
|
-
({ isOpen, parentElement, children, header, onClose, id, triggerRef, initialFocusRef, scrollable, className, htmlProps, ref, ...rest }: ModalProps): react.ReactPortal | null;
|
|
4342
|
+
({ isOpen, parentElement, children, header, onClose, id, triggerRef, initialFocusRef, scrollable, className, style, htmlProps, ref, ...rest }: ModalProps): react.ReactPortal | null;
|
|
3400
4343
|
displayName: string;
|
|
3401
4344
|
};
|
|
3402
4345
|
|
|
@@ -3404,10 +4347,10 @@ type ModalBodyProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3404
4347
|
/**Gjør at innholdet kan scrolles. Det må eventuelt settes (max)bredde og (max)høyde styling på både denne subkomponenten og `<Modal />`. */
|
|
3405
4348
|
scrollable?: boolean;
|
|
3406
4349
|
/**Høyde på container. Kan resultere i scrolling. */
|
|
3407
|
-
height?:
|
|
4350
|
+
height?: ResponsiveProps['height'];
|
|
3408
4351
|
}>;
|
|
3409
4352
|
declare const ModalBody: {
|
|
3410
|
-
({ children, id, className, scrollable, htmlProps, height, ...rest }: ModalBodyProps): react_jsx_runtime.JSX.Element;
|
|
4353
|
+
({ children, id, className, style, scrollable, htmlProps, height, ...rest }: ModalBodyProps): react_jsx_runtime.JSX.Element;
|
|
3411
4354
|
displayName: string;
|
|
3412
4355
|
};
|
|
3413
4356
|
|
|
@@ -3418,24 +4361,14 @@ declare const ModalActions: {
|
|
|
3418
4361
|
};
|
|
3419
4362
|
|
|
3420
4363
|
declare const OverflowMenu: {
|
|
3421
|
-
({ placement, offset, className, htmlProps, ref, ...rest }: OverflowMenuProps): react_jsx_runtime.JSX.Element;
|
|
4364
|
+
({ placement, offset, className, htmlProps, ref, style, ...rest }: OverflowMenuProps): react_jsx_runtime.JSX.Element;
|
|
3422
4365
|
displayName: string;
|
|
3423
4366
|
};
|
|
3424
4367
|
|
|
3425
|
-
type
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
* @default "default"
|
|
3430
|
-
*/
|
|
3431
|
-
purpose?: 'default' | 'danger';
|
|
3432
|
-
} & ComponentPropsWithRef<T>;
|
|
3433
|
-
type OverflowMenuButtonProps = OverflowMenuListItemBaseProps<'button'> & Pick<ButtonProps, 'loading' | 'loadingTooltip'> & {
|
|
3434
|
-
/**Asynkron `onClick` event; håndterer loading status, slik at menyen ikke lukker seg under loading. */
|
|
3435
|
-
onClickAsync?: MouseEventHandler<HTMLButtonElement>;
|
|
3436
|
-
};
|
|
3437
|
-
type OverflowMenuLinkProps = OverflowMenuListItemBaseProps<'a'>;
|
|
3438
|
-
type OverflowMenuSpanProps = OverflowMenuListItemBaseProps<'span'>;
|
|
4368
|
+
type OverflowMenuButtonProps = Omit<DropdownItemProps<typeof StylelessButton>, 'as'>;
|
|
4369
|
+
type OverflowMenuLinkProps = Omit<DropdownItemProps<'a'>, keyof DropdownItemButtonProps | 'as'>;
|
|
4370
|
+
type OverflowMenuSpanProps = Omit<DropdownItemProps<'span'>, keyof DropdownItemButtonProps | 'as'>;
|
|
4371
|
+
type OverflowMenuToggleProps = Omit<DropdownItemProps<typeof Toggle>, keyof DropdownItemButtonProps | 'as' | 'purpose' | 'icon'>;
|
|
3439
4372
|
type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
3440
4373
|
/**Plassering av menyen i forhold til anchor-elementet.
|
|
3441
4374
|
* @default "bottom-end"
|
|
@@ -3448,18 +4381,23 @@ type OverflowMenuProps = Omit<BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3448
4381
|
}>, 'id'>;
|
|
3449
4382
|
|
|
3450
4383
|
declare const OverflowMenuButton: {
|
|
3451
|
-
({
|
|
4384
|
+
({ onClick, onClickAsync, purpose, loading, ref, ...rest }: OverflowMenuButtonProps): react_jsx_runtime.JSX.Element;
|
|
3452
4385
|
displayName: string;
|
|
3453
4386
|
};
|
|
3454
4387
|
|
|
3455
4388
|
declare const OverflowMenuLink: {
|
|
3456
|
-
({
|
|
4389
|
+
({ onClick, ref, ...rest }: OverflowMenuLinkProps): react_jsx_runtime.JSX.Element;
|
|
4390
|
+
displayName: string;
|
|
4391
|
+
};
|
|
4392
|
+
|
|
4393
|
+
declare const OverflowMenuToggle: {
|
|
4394
|
+
({ ref, ...rest }: OverflowMenuToggleProps): react_jsx_runtime.JSX.Element;
|
|
3457
4395
|
displayName: string;
|
|
3458
4396
|
};
|
|
3459
4397
|
|
|
3460
4398
|
type OverflowMenuDividerProps = Omit<DividerProps, 'color'>;
|
|
3461
4399
|
declare const OverflowMenuDivider: {
|
|
3462
|
-
({ id, className, htmlProps, ...rest }: OverflowMenuDividerProps): react_jsx_runtime.JSX.Element;
|
|
4400
|
+
({ id, className, style, htmlProps, ...rest }: OverflowMenuDividerProps): react_jsx_runtime.JSX.Element;
|
|
3463
4401
|
displayName: string;
|
|
3464
4402
|
};
|
|
3465
4403
|
|
|
@@ -3467,13 +4405,13 @@ type OverflowMenuListProps = StylelessListProps;
|
|
|
3467
4405
|
declare const OverflowMenuList: (props: OverflowMenuListProps) => react_jsx_runtime.JSX.Element;
|
|
3468
4406
|
|
|
3469
4407
|
declare const OverflowMenuSpan: {
|
|
3470
|
-
(
|
|
4408
|
+
(props: OverflowMenuSpanProps): react_jsx_runtime.JSX.Element;
|
|
3471
4409
|
displayName: string;
|
|
3472
4410
|
};
|
|
3473
4411
|
|
|
3474
4412
|
type OverflowMenuListHeaderProps = ComponentPropsWithRef<'h2'>;
|
|
3475
4413
|
declare const OverflowMenuListHeader: {
|
|
3476
|
-
(
|
|
4414
|
+
(props: OverflowMenuListHeaderProps): react_jsx_runtime.JSX.Element;
|
|
3477
4415
|
displayName: string;
|
|
3478
4416
|
};
|
|
3479
4417
|
|
|
@@ -3544,7 +4482,7 @@ type PaginationProps = BaseComponentProps<HTMLElement, {
|
|
|
3544
4482
|
smallScreenBreakpoint?: Breakpoint;
|
|
3545
4483
|
}, Omit<HTMLAttributes<HTMLElement>, 'onChange'>>;
|
|
3546
4484
|
declare const Pagination: {
|
|
3547
|
-
({ itemsAmount, defaultItemsPerPage, defaultActivePage, activePage: activePageProp, withPagination, withCounter, withSelect, selectOptions, smallScreenBreakpoint, onChange, onSelectOptionChange, id, className, htmlProps, ref, ...rest }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
4485
|
+
({ itemsAmount, defaultItemsPerPage, defaultActivePage, activePage: activePageProp, withPagination, withCounter, withSelect, selectOptions, smallScreenBreakpoint, onChange, onSelectOptionChange, id, className, style, htmlProps, ref, ...rest }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
3548
4486
|
displayName: string;
|
|
3549
4487
|
};
|
|
3550
4488
|
|
|
@@ -3640,7 +4578,7 @@ type PopoverProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
3640
4578
|
onClose?: () => void;
|
|
3641
4579
|
}>;
|
|
3642
4580
|
declare const Popover: {
|
|
3643
|
-
({ id, header, withCloseButton, onBlur, children, placement, parentElement, portal, offset, sizeProps, returnFocusOnBlur, className, htmlProps, anchorRef, isOpen: propIsOpen, onClose: propOnClose, ref, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element | null;
|
|
4581
|
+
({ id, header, withCloseButton, onBlur, children, placement, parentElement, portal, offset, sizeProps, returnFocusOnBlur, className, htmlProps, anchorRef, isOpen: propIsOpen, onClose: propOnClose, style, ref, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element | null;
|
|
3644
4582
|
displayName: string;
|
|
3645
4583
|
};
|
|
3646
4584
|
|
|
@@ -3788,7 +4726,7 @@ declare const SearchAutocompleteWrapper: {
|
|
|
3788
4726
|
displayName: string;
|
|
3789
4727
|
};
|
|
3790
4728
|
|
|
3791
|
-
type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement,
|
|
4729
|
+
type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement, {
|
|
3792
4730
|
/**Forslag som vises i listen. */
|
|
3793
4731
|
suggestions?: Array<string>;
|
|
3794
4732
|
/** Om listen skal vises. */
|
|
@@ -3801,7 +4739,7 @@ type SearchSuggestionsProps = BaseComponentProps<HTMLDivElement, Pick<SearchProp
|
|
|
3801
4739
|
searchId: string;
|
|
3802
4740
|
}>;
|
|
3803
4741
|
declare const SearchSuggestions: {
|
|
3804
|
-
({ id, searchId, className, htmlProps, suggestions, showSuggestions,
|
|
4742
|
+
({ id, searchId, className, style, htmlProps, suggestions, showSuggestions, onSuggestionClick, maxSuggestions, ...rest }: SearchSuggestionsProps): react_jsx_runtime.JSX.Element;
|
|
3805
4743
|
displayName: string;
|
|
3806
4744
|
};
|
|
3807
4745
|
|
|
@@ -3837,7 +4775,7 @@ type SelectProps<Option = unknown, IsMulti extends boolean = false> = {
|
|
|
3837
4775
|
ref?: SelectForwardRefType<Option, IsMulti>;
|
|
3838
4776
|
} & CommonInputProps & InputIconProps & Pick<HTMLAttributes<HTMLInputElement>, 'aria-required'> & WrappedReactSelectProps<Option, IsMulti, GroupBase<Option>>;
|
|
3839
4777
|
type SelectForwardRefType<Option, IsMulti extends boolean> = Ref<SelectInstance<Option, IsMulti, GroupBase<Option>>>;
|
|
3840
|
-
declare function Select<Option = unknown, IsMulti extends boolean = false>({ id, label, componentSize, errorMessage, tip, 'aria-required': ariaRequired, readOnly, options, isMulti, value, icon, defaultValue, width, closeMenuOnSelect, className, style, isDisabled, isClearable, placeholder, menuPortalTarget, customOptionElement, customSingleValueElement, 'data-testid': dataTestId, onKeyDown, openMenuOnClick, ref, instanceId, afterLabelContent, ...rest }: SelectProps<Option, IsMulti>): react_jsx_runtime.JSX.Element;
|
|
4778
|
+
declare function Select<Option = unknown, IsMulti extends boolean = false>({ id, label, componentSize, errorMessage, tip, 'aria-required': ariaRequired, readOnly, options, isMulti, value, icon, defaultValue, width, closeMenuOnSelect, className, style, isDisabled, isClearable, placeholder, menuPortalTarget, customOptionElement, customSingleValueElement, 'data-testid': dataTestId, onKeyDown, openMenuOnClick, ref, instanceId, afterLabelContent, hideSelectedOptions, ...rest }: SelectProps<Option, IsMulti>): react_jsx_runtime.JSX.Element;
|
|
3841
4779
|
declare namespace Select {
|
|
3842
4780
|
var displayName: string;
|
|
3843
4781
|
}
|
|
@@ -3849,20 +4787,11 @@ type NativeSelectProps = {
|
|
|
3849
4787
|
readOnly?: InputProps['readOnly'];
|
|
3850
4788
|
} & CommonInputProps & Pick<InputProps, 'componentSize'> & InputIconProps & ComponentPropsWithRef<'select'>;
|
|
3851
4789
|
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) => react_jsx_runtime.JSX.Element;
|
|
3852
|
-
type NativeSelectPlaceholderProps = ComponentPropsWithRef<'option'>;
|
|
3853
|
-
declare const NativeSelectPlaceholder: {
|
|
3854
|
-
({ children, value, ...rest }: NativeSelectPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
3855
|
-
displayName: string;
|
|
3856
|
-
};
|
|
3857
4790
|
|
|
3858
4791
|
declare const createSelectOptions: <TValue extends string | number>(...args: Array<TValue>) => Array<SelectOption<TValue>>;
|
|
3859
4792
|
|
|
3860
|
-
type PickedInputHTMLAttributes$1 = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'readOnly' | 'checked' | 'value' | 'required' | 'onChange' | 'aria-describedby'>;
|
|
3861
|
-
type RadioButtonProps = BaseComponentPropsWithChildren<HTMLInputElement, SelectionControlCommonProps & PickedInputHTMLAttributes$1, Omit<InputHTMLAttributes<HTMLInputElement>, keyof PickedInputHTMLAttributes$1>>;
|
|
3862
|
-
type RadioValue = PickedInputHTMLAttributes$1['value'];
|
|
3863
|
-
|
|
3864
4793
|
declare const RadioButton: {
|
|
3865
|
-
({ id, name, label, disabled, readOnly, error, checked, value, children, required, onChange, "aria-describedby": ariaDescribedby, className, htmlProps, ...rest }: RadioButtonProps): react_jsx_runtime.JSX.Element;
|
|
4794
|
+
({ id, name, label, disabled, readOnly, error, checked, value, children, required, onChange, "aria-describedby": ariaDescribedby, className, htmlProps, style, ...rest }: RadioButtonProps): react_jsx_runtime.JSX.Element;
|
|
3866
4795
|
displayName: string;
|
|
3867
4796
|
};
|
|
3868
4797
|
|
|
@@ -3879,7 +4808,7 @@ type RadioButtonGroupProps<T extends string | number> = BaseComponentPropsWithCh
|
|
|
3879
4808
|
defaultValue?: T | undefined;
|
|
3880
4809
|
}, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
3881
4810
|
declare const RadioButtonGroup: {
|
|
3882
|
-
<T extends string | number = string>({ name, label, groupId, errorMessage, tip, disabled, readOnly, direction, value, defaultValue, children, required, onChange, id, className, htmlProps, ...rest }: RadioButtonGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
4811
|
+
<T extends string | number = string>({ name, label, groupId, errorMessage, tip, disabled, readOnly, direction, value, defaultValue, children, required, onChange, id, className, style, htmlProps, ...rest }: RadioButtonGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
3883
4812
|
displayName: string;
|
|
3884
4813
|
};
|
|
3885
4814
|
|
|
@@ -3908,7 +4837,7 @@ type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
|
|
|
3908
4837
|
top?: Property.Top;
|
|
3909
4838
|
}>;
|
|
3910
4839
|
declare const SkipToContent: {
|
|
3911
|
-
({ text, top, id, className, htmlProps, ...rest }: SkipToContentProps): react_jsx_runtime.JSX.Element;
|
|
4840
|
+
({ text, top, id, className, htmlProps, style, ...rest }: SkipToContentProps): react_jsx_runtime.JSX.Element;
|
|
3912
4841
|
displayName: string;
|
|
3913
4842
|
};
|
|
3914
4843
|
|
|
@@ -3918,7 +4847,7 @@ type SpinnerProps = BaseComponentProps<SVGElement, {
|
|
|
3918
4847
|
*/
|
|
3919
4848
|
color?: TextColor;
|
|
3920
4849
|
/**Størrelse; Setter høyde og bredde på spinneren.
|
|
3921
|
-
* @default "var(--dds-icon-
|
|
4850
|
+
* @default "var(--dds-size-icon-medium)"
|
|
3922
4851
|
*/
|
|
3923
4852
|
size?: Property.Width;
|
|
3924
4853
|
/**Tekst som vises ved hover.
|
|
@@ -4119,7 +5048,7 @@ type TabsProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
4119
5048
|
addTabButtonProps?: Omit<AddTabButtonProps, 'index'>;
|
|
4120
5049
|
} & Pick<ResponsiveProps, 'width'>, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
4121
5050
|
declare const Tabs: {
|
|
4122
|
-
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, htmlProps, ...rest }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
5051
|
+
({ id, activeTab, onChange, tabContentDirection, size, addTabButtonProps, width, children, className, style, htmlProps, ...rest }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
4123
5052
|
displayName: string;
|
|
4124
5053
|
};
|
|
4125
5054
|
|
|
@@ -4143,7 +5072,7 @@ type TabProps = BaseComponentPropsWithChildren<HTMLButtonElement, {
|
|
|
4143
5072
|
width?: CSS.Properties['width'];
|
|
4144
5073
|
} & PickedAttributes, Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof PickedAttributes>>;
|
|
4145
5074
|
declare const Tab: {
|
|
4146
|
-
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, width, ref, ...rest }: TabProps): react_jsx_runtime.JSX.Element;
|
|
5075
|
+
({ active, icon, children, focus, setFocus, index, onClick, onKeyDown, id, className, htmlProps, style, width, ref, ...rest }: TabProps): react_jsx_runtime.JSX.Element;
|
|
4147
5076
|
displayName: string;
|
|
4148
5077
|
};
|
|
4149
5078
|
|
|
@@ -4162,7 +5091,7 @@ type TabPanelProps = BaseComponentPropsWithChildren<HTMLDivElement, {
|
|
|
4162
5091
|
padding?: ResponsiveProps['padding'];
|
|
4163
5092
|
}>;
|
|
4164
5093
|
declare const TabPanel: {
|
|
4165
|
-
({ active, children, id, className, htmlProps, padding, ...rest }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
5094
|
+
({ active, children, id, className, style, htmlProps, padding, ...rest }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
4166
5095
|
displayName: string;
|
|
4167
5096
|
};
|
|
4168
5097
|
|
|
@@ -4172,17 +5101,14 @@ declare const TabPanels: {
|
|
|
4172
5101
|
displayName: string;
|
|
4173
5102
|
};
|
|
4174
5103
|
|
|
4175
|
-
|
|
5104
|
+
declare const TAG_PURPOSES: ["success", "info", "danger", "warning", "default"];
|
|
5105
|
+
type TagPurpose = (typeof TAG_PURPOSES)[number];
|
|
4176
5106
|
type TagAppearance = 'default' | 'strong';
|
|
4177
|
-
type TagProps =
|
|
4178
|
-
/**
|
|
4179
|
-
* Innholdet til `<Tag>.` Kan brukes istedenfor `text`.
|
|
4180
|
-
*/
|
|
4181
|
-
children?: ReactNode;
|
|
5107
|
+
type TagProps = BaseComponentProps<HTMLSpanElement, {
|
|
4182
5108
|
/**
|
|
4183
|
-
*
|
|
5109
|
+
* Innholdet til `<Tag>.`
|
|
4184
5110
|
*/
|
|
4185
|
-
|
|
5111
|
+
children?: string;
|
|
4186
5112
|
/**
|
|
4187
5113
|
* Formål med status eller kategorisering. Påvirker styling.
|
|
4188
5114
|
* @default "default"
|
|
@@ -4200,7 +5126,7 @@ type TagProps = BaseComponentPropsWithChildren<HTMLSpanElement, {
|
|
|
4200
5126
|
withIcon?: boolean;
|
|
4201
5127
|
}>;
|
|
4202
5128
|
declare const Tag: {
|
|
4203
|
-
({
|
|
5129
|
+
({ purpose, appearance, id, className, style, children, htmlProps, withIcon, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
|
|
4204
5130
|
displayName: string;
|
|
4205
5131
|
};
|
|
4206
5132
|
|
|
@@ -4236,45 +5162,6 @@ declare const TextInput: {
|
|
|
4236
5162
|
displayName: string;
|
|
4237
5163
|
};
|
|
4238
5164
|
|
|
4239
|
-
declare const TOGGLE_SIZES: ["medium", "large"];
|
|
4240
|
-
type ToggleSize = (typeof TOGGLE_SIZES)[number];
|
|
4241
|
-
type ToggleProps = BaseComponentProps<HTMLElement, {
|
|
4242
|
-
/**Ledetekst; tillater bruk av f.eks. `<VisuallyHidden>` for usynlig tekst. */
|
|
4243
|
-
children?: ReactNode;
|
|
4244
|
-
/**
|
|
4245
|
-
* Callback som blir kalt når brukeren endrer toggle-verdien.
|
|
4246
|
-
*/
|
|
4247
|
-
onChange?: (checked: boolean) => void;
|
|
4248
|
-
/**
|
|
4249
|
-
* Om toggle er av eller på.
|
|
4250
|
-
*/
|
|
4251
|
-
checked?: boolean;
|
|
4252
|
-
/**
|
|
4253
|
-
* Den initielle verdien når komponenten brukes uncontrolled.
|
|
4254
|
-
* @default false
|
|
4255
|
-
*/
|
|
4256
|
-
defaultChecked?: boolean;
|
|
4257
|
-
/**Spesifiserer om input er `disabled`. */
|
|
4258
|
-
disabled?: boolean;
|
|
4259
|
-
/**
|
|
4260
|
-
* Inputelementet blir `readonly` - den kan ikke interageres med. Brukes bl.a. til å presentere input brukeren har fylt ut andre steder.
|
|
4261
|
-
*/
|
|
4262
|
-
readOnly?: boolean;
|
|
4263
|
-
/**
|
|
4264
|
-
* Indikerer at verdien prosesseres; viser loading-tilstand og setter `disabled`.
|
|
4265
|
-
*/
|
|
4266
|
-
isLoading?: boolean;
|
|
4267
|
-
/**
|
|
4268
|
-
* Størrelse.
|
|
4269
|
-
* @default "medium"
|
|
4270
|
-
*/
|
|
4271
|
-
size?: ToggleSize;
|
|
4272
|
-
}, Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'checked' | 'defaultChecked'>>;
|
|
4273
|
-
declare const Toggle: {
|
|
4274
|
-
({ id, children, size, checked: checkedProp, defaultChecked, onChange, disabled, readOnly, isLoading, className, htmlProps, ...rest }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
4275
|
-
displayName: string;
|
|
4276
|
-
};
|
|
4277
|
-
|
|
4278
5165
|
type ToggleBarValue = string | number | null | undefined;
|
|
4279
5166
|
declare const TOGGLE_BAR_SIZES: ["xsmall", "small", "medium", "large"];
|
|
4280
5167
|
type ToggleBarSize = (typeof TOGGLE_BAR_SIZES)[number];
|
|
@@ -4293,7 +5180,7 @@ type ToggleBarProps<T extends string | number> = BaseComponentPropsWithChildren<
|
|
|
4293
5180
|
name?: string;
|
|
4294
5181
|
/**Bredden til komponenten. Bredden fordeles likt mellom barna. */
|
|
4295
5182
|
width?: ResponsiveProps['width'];
|
|
4296
|
-
},
|
|
5183
|
+
}, InputHTMLAttributes<HTMLInputElement>>;
|
|
4297
5184
|
|
|
4298
5185
|
declare const ToggleBar: {
|
|
4299
5186
|
<T extends string | number = string>(props: ToggleBarProps<T>): react_jsx_runtime.JSX.Element;
|
|
@@ -4301,15 +5188,14 @@ declare const ToggleBar: {
|
|
|
4301
5188
|
};
|
|
4302
5189
|
|
|
4303
5190
|
declare const typographyTypes: Record<ToggleBarSize, StaticTypographyType>;
|
|
4304
|
-
type PickedInputHTMLAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'checked' | 'value' | 'onChange' | 'aria-label' | 'aria-labelledby'>;
|
|
4305
5191
|
type ToggleRadioProps = BaseComponentProps<HTMLInputElement, {
|
|
4306
5192
|
/**Ledetekst som vises i komponenten. */
|
|
4307
5193
|
label?: string;
|
|
4308
5194
|
/**Ikonet som vises i komponenten. */
|
|
4309
5195
|
icon?: SvgIcon;
|
|
4310
|
-
} &
|
|
5196
|
+
} & Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'checked' | 'value' | 'onChange' | 'aria-label' | 'aria-labelledby'>>;
|
|
4311
5197
|
declare const ToggleRadio: {
|
|
4312
|
-
({ value, name, onChange, checked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, icon, label, htmlProps, className, id, ...rest }: ToggleRadioProps): react_jsx_runtime.JSX.Element;
|
|
5198
|
+
({ value, name, onChange, checked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, icon, label, htmlProps, className, style, id, ...rest }: ToggleRadioProps): react_jsx_runtime.JSX.Element;
|
|
4313
5199
|
displayName: string;
|
|
4314
5200
|
};
|
|
4315
5201
|
|
|
@@ -4323,10 +5209,10 @@ type ToggleButtonProps = BaseComponentProps<HTMLInputElement, {
|
|
|
4323
5209
|
* @default 'small'
|
|
4324
5210
|
*/
|
|
4325
5211
|
size?: (typeof TOGGLE_BUTTON_SIZES)[number];
|
|
4326
|
-
} & CheckboxPickedHTMLAttributes,
|
|
5212
|
+
} & CheckboxPickedHTMLAttributes, InputHTMLAttributes<HTMLInputElement>>;
|
|
4327
5213
|
|
|
4328
5214
|
declare const ToggleButton: {
|
|
4329
|
-
({ id, label, icon, size, className, htmlProps, ...rest }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
5215
|
+
({ id, label, icon, size, className, style, htmlProps, ...rest }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
4330
5216
|
displayName: string;
|
|
4331
5217
|
};
|
|
4332
5218
|
|
|
@@ -4375,8 +5261,8 @@ declare const Tooltip: {
|
|
|
4375
5261
|
|
|
4376
5262
|
type VisuallyHiddenProps<T extends ElementType = 'span'> = PolymorphicBaseComponentProps<T>;
|
|
4377
5263
|
declare const VisuallyHidden: {
|
|
4378
|
-
<T extends ElementType = "span">({ id, as: asProp, className, htmlProps, ...rest }: VisuallyHiddenProps<T>): react_jsx_runtime.JSX.Element;
|
|
5264
|
+
<T extends ElementType = "span">({ id, as: asProp, className, style, htmlProps, ...rest }: VisuallyHiddenProps<T>): react_jsx_runtime.JSX.Element;
|
|
4379
5265
|
displayName: string;
|
|
4380
5266
|
};
|
|
4381
5267
|
|
|
4382
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDown, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, BuildCircledIcon, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLargeLeftIcon, ChevronLargeRightIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, type DdsTheme, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FilterListOffIcon, FilterOffIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, type FooterLeftProps, FooterList, FooterListGroup, type FooterListGroupProps, FooterListHeader, type FooterListHeaderProps, type FooterListProps, FooterLogo, type FooterLogoProps, type FooterProps, FooterSocialsGroup, type FooterSocialsGroupProps, FooterSocialsList, type FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, type FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, type HStackProps, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassBottomIcon, HourglassDisabledIcon, HourglassEmptyIcon, HourglassFullIcon, HourglassTopIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, Label, type LabelProps, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LibraryAddIcon, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NativeSelectPlaceholder, type NativeSelectPlaceholderProps, type NativeSelectProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuListItemBaseProps, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PropertyIcon, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, type RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SvgWrapper, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, type TabSize, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThemeContext, ThemeProvider, type ThemeProviderProps, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createSelectOptions, createSizes, dateValueToNativeDate, defaultTypographyType, defaultTypographyTypeClassName, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|
|
5268
|
+
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, type AccordionProps, AddTabButton, type AddTabButtonProps, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, type AnimatedChevronUpDownIconStates, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, type BackLinkProps, Backdrop, BarChartBoxedIcon, BarChartIcon, type BaseComponentProps, type BaseComponentPropsWithChildren, type BaseItemProps, type BaseLabelProps, type BaseTypographyProps, BlockIcon, BookIcon, type BorderColor, type BorderRadius, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, BuildIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonPurpose, type ButtonSize, Calendar, CalendarIcon, CalendarMonthIcon, type CalendarProps, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, type Callback, Caption, type CaptionProps, Card, CardExpandable, CardExpandableBody, type CardExpandableBodyProps, CardExpandableHeader, type CardExpandableHeaderProps, type CardExpandableProps, type CardProps, CardSelectable, CardSelectableGroup, type CardSelectableGroupProps, type CardSelectableProps, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxPickedHTMLAttributes, type CheckboxProps, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, type CollapsibleTableProps, CollapsibleRow as CollapsibleTableRow, type ColumnsOccupied, CommentIcon, Contrast, type ContrastProps, CookieBanner, CookieBannerCheckbox, type CookieBannerCheckboxProps, type CookieBannerProps, CopyIcon, CourtIcon, DatePicker, type DatePickerProps, DateRangeIcon, DdsProvider, type DdsProviderProps, DeathsIcon, DescriptionList, type DescriptionListAppearance, DescriptionListDesc, type DescriptionListDescProps, DescriptionListGroup, type DescriptionListGroupProps, type DescriptionListProps, DescriptionListTerm, type DescriptionListTermProps, DetailList, DetailListDesc, type DetailListDescProps, type DetailListProps, DetailListRow, type DetailListRowProps, type DetailListSize, DetailListTerm, type DetailListTermProps, type Direction$1 as Direction, Divider, type DividerColor, type DividerProps, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, type DrawerGroupProps, type DrawerPlacement, type DrawerProps, type DrawerSize, DropdownHeader, DropdownItem, type DropdownItemButtonProps, type DropdownItemCustomProps, type DropdownItemProps, ELEVATIONS, EditIcon, ElementAs, type Elevation, EmptyContent, type EmptyContentProps, ErrorIcon, ExclaimIcon, ExpandIcon, type ExtractStrict, FacebookIcon, FamilyIcon, FavStar, type FavStarProps, Feedback, FeedbackIcon, type FeedbackProps, Fieldset, FieldsetGroup, type FieldsetGroupProps, type FieldsetProps, FileAddIcon, FileIcon, type FileList, FileShieldedIcon, FileTextIcon, FileUploader, type FileUploaderAccept, type FileUploaderProps, FilterIcon, FilterListIcon, FindInPageIcon, FlickrIcon, type FloatingStyles, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, type FooterLeftProps, FooterList, FooterListGroup, type FooterListGroupProps, FooterListHeader, type FooterListHeaderProps, type FooterListProps, FooterLogo, type FooterLogoProps, type FooterProps, FooterSocialsGroup, type FooterSocialsGroupProps, FooterSocialsList, type FooterSocialsListProps, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, type FormSummaryProps, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, type GlobalMessageProps, type GlobalMessagePurpose, Grid, GridChild, type GridChildProps, type GridProps, GuardianIcon, HStack, type HStackProps, Heading, type HeadingLevel, type HeadingProps, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, type HyphenTypographyType, Icon, type IconPosition, type IconProps, type IconSize, ImageIcon, InfoIcon, InlineButton, type InlineButtonProps, InlineEditInput, type InlineEditInputProps, InlineEditSelect, type InlineEditSelectProps, InlineEditTextArea, type InlineEditTextAreaProps, type InlineElement, InputMessage, type InputMessageProps, type InputMessageType, InstagramIcon, InternalHeader, type InternalHeaderProps, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, type LabelProps, LagmannsrettIcon, LanguageIcon, type Layout, Legend, type LegendProps, LineChartIcon, Link, LinkIcon, LinkOffIcon, type LinkProps, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, type ListItemProps, type ListProps, type ListType, type ListTypographyType, LocalMessage, type LocalMessageLayout, type LocalMessageProps, type LocalMessagePurpose, LocationIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MenuIcon, MinusCirledIcon, MinusIcon, Modal, ModalActions, type ModalActionsProps, ModalBody, type ModalBodyProps, type ModalProps, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, type NativeSelectProps, NotarialIcon, NotificationsIcon, NotificationsOffIcon, type Nullable, OnlineMeetingIcon, OpenExternalIcon, type OtherTypographyType, OverflowMenu, OverflowMenuButton, type OverflowMenuButtonProps, OverflowMenuDivider, OverflowMenuGroup, type OverflowMenuGroupProps, OverflowMenuLink, type OverflowMenuLinkProps, OverflowMenuList, OverflowMenuListHeader, type OverflowMenuProps, OverflowMenuSpan, type OverflowMenuSpanProps, OverflowMenuToggle, type OverflowMenuToggleProps, Pagination, type PaginationOption, type PaginationProps, Paper, type PaperBackground, type PaperBorder, type PaperBorderRadius, type PaperElevation, type PaperProps, Paragraph, type ParagraphProps, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, type PhoneInputProps, type PhoneInputValue, PinIcon, type Placement, PlusCircledIcon, PlusIcon, type PolymorphicBaseComponentProps, type PolymorphicProps, Popover, PopoverGroup, type PopoverGroupProps, type PopoverProps, type PopoverSizeProps, PowerOfAttorneyIcon, PrintIcon, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressTracker, ProgressTrackerItem, type ProgressTrackerItemProps, type ProgressTrackerProps, PublishIcon, type Purpose, QuestionAnswerIcon, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonProps, type RadioValue, type Rating, ReceiptIcon, RedoIcon, RefreshIcon, type RemoteFile, ReplayIcon, type ResponsiveProps, type ResponsiveStackProps, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, type SearchAutocompleteWrapperProps, type SearchButtonProps, type SearchData, SearchIcon, type SearchProps, type SearchSize, SearchSuggestions, type SearchSuggestionsProps, SectionIcon, Select, type SelectForwardRefType, type SelectOption, type SelectProps, SettingsIcon, ShowHide, type ShowHideProps, type Size, Skeleton, type SkeletonAppearance, type SkeletonProps, SkipToContent, type SkipToContentProps, SmsIcon, type SortOrder, type SpacingScale, Spinner, type SpinnerProps, SplitButton, type SplitButtonPrimaryActionProps, type SplitButtonProps, type SplitButtonPurpose, type SplitButtonSecondaryActionsProps, StarFilledIcon, StarHalfFilled, StarIcon, type StaticTypographyType, StylelessButton, type StylelessButtonProps, StylelessList, type StylelessListProps, StylelessOList, type StylelessOListProps, type SvgIcon, type SvgProps, SyncIcon, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, type TabSize, Table, Body as TableBody, type TableBodyProps, Cell as TableCell, type TableCellLayout, type TableCellProps, type TableCellType, Foot as TableFoot, type TableFootProps, Head as TableHead, type TableHeadProps, type TableProps, Row as TableRow, type TableRowProps, type TableRowType, type TableSize, SortCell as TableSortCell, type TableSortCellProps, TableWrapper, Tabs, type TabsProps, Tag, type TagAppearance, type TagProps, type TagPurpose, type TextAffixProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, type TimePickerProps, TingrettIcon, TipIcon, Toggle, ToggleBar, type ToggleBarProps, type ToggleBarSize, type ToggleBarValue, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToggleRadio, type ToggleRadioProps, type ToggleSize, Tooltip, type TooltipProps, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, type TypographyAnchorType, type TypographyBodyLongType, type TypographyBodyShortType, type TypographyBodyType, type TypographyComponentProps, type TypographyHeadingType, type TypographyLabelType, type TypographyLeadType, type TypographyProps, type TypographyType, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, type UseControllableGroupStateProps, type UseControllableStateProps, type UseFloatPositionOptions, VStack, type VStackProps, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, type VisuallyHiddenProps, WarningIcon, WebexIcon, type WeightedSearchData, type WithRequiredIf, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, countryOptions, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, getLiteralScreenSize, getTypographyCn, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, index as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, typographyTypes, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize, visibilityTransition };
|