@salutejs/plasma-core 1.149.0-dev.0 → 1.149.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/CHANGELOG.md +201 -0
- package/package.json +3 -3
- package/temp/plasma-core.api.md +1474 -0
|
@@ -0,0 +1,1474 @@
|
|
|
1
|
+
## API Report File for "@salutejs/plasma-core"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { applyHyphens } from '@salutejs/plasma-typo';
|
|
10
|
+
import { applySpacing } from '@salutejs/plasma-typo';
|
|
11
|
+
import { BreakWordProps } from '@salutejs/plasma-typo';
|
|
12
|
+
import { BreakWordProps as BreakWordProps_2 } from '@salutejs/plasma-typo/lib/cjs/mixins/applyHyphens';
|
|
13
|
+
import { Context } from 'react';
|
|
14
|
+
import { CSSObject } from 'styled-components';
|
|
15
|
+
import { CSSProperties } from 'react';
|
|
16
|
+
import { DefaultTheme } from 'styled-components';
|
|
17
|
+
import { DraggableData } from 'react-draggable';
|
|
18
|
+
import { FC } from 'react';
|
|
19
|
+
import { FlattenInterpolation } from 'styled-components';
|
|
20
|
+
import { FlattenSimpleInterpolation } from 'styled-components';
|
|
21
|
+
import { FunctionComponent } from 'react';
|
|
22
|
+
import { HTMLAttributes } from 'react';
|
|
23
|
+
import { InterpolationFunction } from 'styled-components';
|
|
24
|
+
import { MutableRefObject } from 'react';
|
|
25
|
+
import { PropsWithChildren } from 'react';
|
|
26
|
+
import { default as React_2 } from 'react';
|
|
27
|
+
import { ReactNode } from 'react';
|
|
28
|
+
import { RefObject } from 'react';
|
|
29
|
+
import { spacing } from '@salutejs/plasma-typo';
|
|
30
|
+
import { SpacingProps } from '@salutejs/plasma-typo';
|
|
31
|
+
import { SpacingProps as SpacingProps_2 } from '@salutejs/plasma-typo/lib/cjs/mixins/applySpacing';
|
|
32
|
+
import { StyledComponent } from 'styled-components';
|
|
33
|
+
import type { SyntheticEvent } from 'react';
|
|
34
|
+
import { ThemedStyledProps } from 'styled-components';
|
|
35
|
+
import { ThemeProps as ThemeProps_2 } from 'styled-components';
|
|
36
|
+
import { useEffect } from 'react';
|
|
37
|
+
|
|
38
|
+
// @public (undocumented)
|
|
39
|
+
export const accent = "var(--plasma-colors-accent)";
|
|
40
|
+
|
|
41
|
+
// Warning: (ae-forgotten-export) The symbol "OutlineProps" needs to be exported by the entry point index.d.ts
|
|
42
|
+
//
|
|
43
|
+
// @public
|
|
44
|
+
export const addFocus: InterpolationFunction<ThemeProps['theme'] & FocusProps & OutlinedProps & OutlineProps>;
|
|
45
|
+
|
|
46
|
+
// @public
|
|
47
|
+
export const animatedScrollToX: (elem: Element, pos: number, duration?: number, timingFunction?: TimingFunction) => void;
|
|
48
|
+
|
|
49
|
+
// @public
|
|
50
|
+
export const animatedScrollToY: (elem: Element, pos: number, duration?: number, timingFunction?: TimingFunction) => void;
|
|
51
|
+
|
|
52
|
+
// @public (undocumented)
|
|
53
|
+
export const applyBlur: InterpolationFunction<BlurProps>;
|
|
54
|
+
|
|
55
|
+
// @public
|
|
56
|
+
export const applyDisabled: InterpolationFunction<DisabledProps & {
|
|
57
|
+
$disabled?: boolean;
|
|
58
|
+
}>;
|
|
59
|
+
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
export const applyEllipsis: () => FlattenSimpleInterpolation;
|
|
62
|
+
|
|
63
|
+
export { applyHyphens }
|
|
64
|
+
|
|
65
|
+
// @public (undocumented)
|
|
66
|
+
export const applyMaxLines: InterpolationFunction<MaxLinesProps>;
|
|
67
|
+
|
|
68
|
+
// @public (undocumented)
|
|
69
|
+
export const applyNoSelect: () => FlattenSimpleInterpolation;
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export const applyRoundness: InterpolationFunction<RoundnessProps>;
|
|
73
|
+
|
|
74
|
+
// @public (undocumented)
|
|
75
|
+
export const applyScrollSnap: InterpolationFunction<ScrollSnapProps>;
|
|
76
|
+
|
|
77
|
+
// @public (undocumented)
|
|
78
|
+
export const applySkeletonGradient: InterpolationFunction<SkeletonGradientProps>;
|
|
79
|
+
|
|
80
|
+
export { applySpacing }
|
|
81
|
+
|
|
82
|
+
// @public (undocumented)
|
|
83
|
+
export const applyTextAreaCssProperties: InterpolationFunction<Pick<TextAreaProps, 'height' | 'width'>>;
|
|
84
|
+
|
|
85
|
+
// @public
|
|
86
|
+
export const applyView: InterpolationFunction<ViewProps>;
|
|
87
|
+
|
|
88
|
+
// @public (undocumented)
|
|
89
|
+
export interface AsProps<T = any> {
|
|
90
|
+
as?: keyof JSX.IntrinsicElements | React.ComponentType<T>;
|
|
91
|
+
forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType<T>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// @public (undocumented)
|
|
95
|
+
export const background = "var(--plasma-colors-background)";
|
|
96
|
+
|
|
97
|
+
// @public (undocumented)
|
|
98
|
+
export const backgroundPrimary = "var(--plasma-colors-background-primary)";
|
|
99
|
+
|
|
100
|
+
// @public (undocumented)
|
|
101
|
+
export const backgroundSecondary = "var(--plasma-colors-background-secondary)";
|
|
102
|
+
|
|
103
|
+
// @public (undocumented)
|
|
104
|
+
export const backgroundTertiary = "var(--plasma-colors-background-tertiary)";
|
|
105
|
+
|
|
106
|
+
// @public
|
|
107
|
+
export const Badge: React_2.FC<BadgeProps>;
|
|
108
|
+
|
|
109
|
+
// Warning: (ae-forgotten-export) The symbol "StyledBadgeProps" needs to be exported by the entry point index.d.ts
|
|
110
|
+
//
|
|
111
|
+
// @public (undocumented)
|
|
112
|
+
export interface BadgeProps extends StyledBadgeProps, React_2.HTMLAttributes<HTMLDivElement> {
|
|
113
|
+
contentLeft?: React_2.ReactElement;
|
|
114
|
+
text?: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// @public (undocumented)
|
|
118
|
+
export type BadgeSize = keyof typeof badgeSizes;
|
|
119
|
+
|
|
120
|
+
// @public
|
|
121
|
+
export const badgeSizes: {
|
|
122
|
+
l: {
|
|
123
|
+
textMarginX: string;
|
|
124
|
+
textMarginLeftAfterContent: string;
|
|
125
|
+
};
|
|
126
|
+
s: {
|
|
127
|
+
textMarginX: string;
|
|
128
|
+
textMarginLeftAfterContent: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// @public (undocumented)
|
|
133
|
+
export const BaseboxContent: StyledComponent<"div", any, {}, never>;
|
|
134
|
+
|
|
135
|
+
// @public (undocumented)
|
|
136
|
+
export const BaseboxContentWrapper: StyledComponent<"label", any, {}, never>;
|
|
137
|
+
|
|
138
|
+
// @public (undocumented)
|
|
139
|
+
export const BaseboxDescription: StyledComponent<"div", any, SpacingProps_2 & BreakWordProps_2 & {
|
|
140
|
+
singleLine?: boolean | undefined;
|
|
141
|
+
}, never>;
|
|
142
|
+
|
|
143
|
+
// @public (undocumented)
|
|
144
|
+
export const BaseboxInput: StyledComponent<"input", any, {}, never>;
|
|
145
|
+
|
|
146
|
+
// @public (undocumented)
|
|
147
|
+
export const BaseboxLabel: StyledComponent<"div", any, SpacingProps_2 & BreakWordProps_2 & {
|
|
148
|
+
singleLine?: boolean | undefined;
|
|
149
|
+
}, never>;
|
|
150
|
+
|
|
151
|
+
// Warning: (ae-forgotten-export) The symbol "ControlProps" needs to be exported by the entry point index.d.ts
|
|
152
|
+
//
|
|
153
|
+
// @public (undocumented)
|
|
154
|
+
export interface BaseboxProps extends ControlProps, InputHTMLAttributes<HTMLInputElement> {
|
|
155
|
+
// (undocumented)
|
|
156
|
+
children?: never;
|
|
157
|
+
singleLine?: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// @public (undocumented)
|
|
161
|
+
export const BaseboxRoot: StyledComponent<"div", any, {}, never>;
|
|
162
|
+
|
|
163
|
+
// @public (undocumented)
|
|
164
|
+
export const BaseboxTrigger: StyledComponent<"div", any, {}, never>;
|
|
165
|
+
|
|
166
|
+
// @public (undocumented)
|
|
167
|
+
export interface BasicProps extends AsProps, HTMLAttributes<HTMLDivElement> {
|
|
168
|
+
animatedScrollByIndex?: boolean;
|
|
169
|
+
axis: ScrollAxis;
|
|
170
|
+
debounceMs?: number;
|
|
171
|
+
index: number;
|
|
172
|
+
listAriaLabel?: string;
|
|
173
|
+
listRole?: string;
|
|
174
|
+
paddingEnd?: string;
|
|
175
|
+
paddingStart?: string;
|
|
176
|
+
// Warning: (ae-forgotten-export) The symbol "ScrollAlign" needs to be exported by the entry point index.d.ts
|
|
177
|
+
scrollAlign?: ScrollAlign;
|
|
178
|
+
scrollSnapType?: SnapType;
|
|
179
|
+
throttleMs?: number;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// @public (undocumented)
|
|
183
|
+
export const black = "var(--plasma-colors-black)";
|
|
184
|
+
|
|
185
|
+
// @public (undocumented)
|
|
186
|
+
export const blackPrimary = "var(--plasma-colors-black-primary)";
|
|
187
|
+
|
|
188
|
+
// @public (undocumented)
|
|
189
|
+
export const blackSecondary = "var(--plasma-colors-black-secondary)";
|
|
190
|
+
|
|
191
|
+
// @public (undocumented)
|
|
192
|
+
export const blackTertiary = "var(--plasma-colors-black-tertiary)";
|
|
193
|
+
|
|
194
|
+
// @public (undocumented)
|
|
195
|
+
export interface BlurProps {
|
|
196
|
+
blur?: keyof typeof blurs;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// @public (undocumented)
|
|
200
|
+
export const blurs: {
|
|
201
|
+
small: string;
|
|
202
|
+
medium: string;
|
|
203
|
+
large: string;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
// @public (undocumented)
|
|
207
|
+
export const Body1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
208
|
+
|
|
209
|
+
// @public (undocumented)
|
|
210
|
+
export const body1: CSSObject;
|
|
211
|
+
|
|
212
|
+
// @public (undocumented)
|
|
213
|
+
export const Body2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
214
|
+
|
|
215
|
+
// @public (undocumented)
|
|
216
|
+
export const body2: CSSObject;
|
|
217
|
+
|
|
218
|
+
// @public (undocumented)
|
|
219
|
+
export const Body3: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
220
|
+
|
|
221
|
+
// @public (undocumented)
|
|
222
|
+
export const body3: CSSObject;
|
|
223
|
+
|
|
224
|
+
export { BreakWordProps }
|
|
225
|
+
|
|
226
|
+
// @public @deprecated
|
|
227
|
+
export const Button: React_2.ForwardRefExoticComponent<Omit<any, "ref"> & React_2.RefAttributes<any>>;
|
|
228
|
+
|
|
229
|
+
// @public (undocumented)
|
|
230
|
+
export const Button1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
231
|
+
|
|
232
|
+
// @public (undocumented)
|
|
233
|
+
export const button1: CSSObject;
|
|
234
|
+
|
|
235
|
+
// @public (undocumented)
|
|
236
|
+
export const Button2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
237
|
+
|
|
238
|
+
// @public (undocumented)
|
|
239
|
+
export const button2: CSSObject;
|
|
240
|
+
|
|
241
|
+
// @public (undocumented)
|
|
242
|
+
export const buttonAccent = "var(--plasma-colors-button-accent)";
|
|
243
|
+
|
|
244
|
+
// @public (undocumented)
|
|
245
|
+
export const buttonChecked = "var(--plasma-colors-button-checked)";
|
|
246
|
+
|
|
247
|
+
// @public (undocumented)
|
|
248
|
+
export type ButtonContentProps =
|
|
249
|
+
/**
|
|
250
|
+
* С текстом и/или контентом слева.
|
|
251
|
+
*/
|
|
252
|
+
{
|
|
253
|
+
text?: React.ReactNode;
|
|
254
|
+
contentLeft?: React.ReactNode;
|
|
255
|
+
contentRight?: never;
|
|
256
|
+
children?: never;
|
|
257
|
+
isLoading?: boolean;
|
|
258
|
+
loader?: React.ReactNode;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* С текстом и/или контентом справа.
|
|
262
|
+
*/
|
|
263
|
+
| {
|
|
264
|
+
text?: React.ReactNode;
|
|
265
|
+
contentLeft?: never;
|
|
266
|
+
contentRight?: React.ReactNode;
|
|
267
|
+
children?: never;
|
|
268
|
+
isLoading?: boolean;
|
|
269
|
+
loader?: React.ReactNode;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Через ``children``.
|
|
273
|
+
*/
|
|
274
|
+
| {
|
|
275
|
+
text?: never;
|
|
276
|
+
contentLeft?: never;
|
|
277
|
+
contentRight?: never;
|
|
278
|
+
children?: React.ReactNode;
|
|
279
|
+
isLoading?: boolean;
|
|
280
|
+
loader?: React.ReactNode;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
// @public (undocumented)
|
|
284
|
+
export const buttonCritical = "var(--plasma-colors-button-critical)";
|
|
285
|
+
|
|
286
|
+
// @public (undocumented)
|
|
287
|
+
export const buttonFocused = "var(--plasma-colors-button-focused)";
|
|
288
|
+
|
|
289
|
+
// @public (undocumented)
|
|
290
|
+
export const buttonPrimary = "var(--plasma-colors-button-primary)";
|
|
291
|
+
|
|
292
|
+
// @public
|
|
293
|
+
export interface ButtonProps<T = HTMLElement> extends Partial<PinProps>, FocusProps, OutlinedProps, DisabledProps, ShiftProps, AsProps, Omit<React.AnchorHTMLAttributes<T>, 'type'>, React.ButtonHTMLAttributes<T> {
|
|
294
|
+
// @deprecated
|
|
295
|
+
blur?: keyof typeof blurs;
|
|
296
|
+
square?: boolean;
|
|
297
|
+
stretch?: boolean;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// Warning: (ae-forgotten-export) The symbol "StyledButtonProps" needs to be exported by the entry point index.d.ts
|
|
301
|
+
//
|
|
302
|
+
// @public
|
|
303
|
+
export const ButtonRoot: StyledComponent<"button", any, StyledButtonProps, never>;
|
|
304
|
+
|
|
305
|
+
// @public (undocumented)
|
|
306
|
+
export const buttonSecondary = "var(--plasma-colors-button-secondary)";
|
|
307
|
+
|
|
308
|
+
// @public
|
|
309
|
+
export interface ButtonSizeProps<S = keyof typeof buttonSizes> {
|
|
310
|
+
size: S;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Warning: (ae-forgotten-export) The symbol "ButtonSizes" needs to be exported by the entry point index.d.ts
|
|
314
|
+
//
|
|
315
|
+
// @public
|
|
316
|
+
export const buttonSizes: ButtonSizes;
|
|
317
|
+
|
|
318
|
+
// @public (undocumented)
|
|
319
|
+
export const buttonSuccess = "var(--plasma-colors-button-success)";
|
|
320
|
+
|
|
321
|
+
// Warning: (ae-forgotten-export) The symbol "ButtonTypography" needs to be exported by the entry point index.d.ts
|
|
322
|
+
//
|
|
323
|
+
// @public
|
|
324
|
+
export const buttonTypography: ButtonTypography;
|
|
325
|
+
|
|
326
|
+
// @public (undocumented)
|
|
327
|
+
export interface ButtonViewProps<V = keyof typeof buttonViews> {
|
|
328
|
+
view: V;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export const buttonViews: {
|
|
333
|
+
primary: {
|
|
334
|
+
backgroundColor: string;
|
|
335
|
+
color: string;
|
|
336
|
+
};
|
|
337
|
+
secondary: {
|
|
338
|
+
backgroundColor: string;
|
|
339
|
+
color: string;
|
|
340
|
+
};
|
|
341
|
+
success: {
|
|
342
|
+
backgroundColor: string;
|
|
343
|
+
color: string;
|
|
344
|
+
};
|
|
345
|
+
warning: {
|
|
346
|
+
backgroundColor: string;
|
|
347
|
+
color: string;
|
|
348
|
+
};
|
|
349
|
+
critical: {
|
|
350
|
+
backgroundColor: string;
|
|
351
|
+
color: string;
|
|
352
|
+
};
|
|
353
|
+
checked: {
|
|
354
|
+
backgroundColor: string;
|
|
355
|
+
color: string;
|
|
356
|
+
};
|
|
357
|
+
overlay: {
|
|
358
|
+
backgroundColor: string;
|
|
359
|
+
color: string;
|
|
360
|
+
};
|
|
361
|
+
clear: {
|
|
362
|
+
backgroundColor: string;
|
|
363
|
+
color: string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
// @public (undocumented)
|
|
368
|
+
export const buttonWarning = "var(--plasma-colors-button-warning)";
|
|
369
|
+
|
|
370
|
+
// @public
|
|
371
|
+
export const canUseDOM: boolean;
|
|
372
|
+
|
|
373
|
+
// @public (undocumented)
|
|
374
|
+
export const Caption: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
375
|
+
|
|
376
|
+
// @public (undocumented)
|
|
377
|
+
export const caption: CSSObject;
|
|
378
|
+
|
|
379
|
+
// @public
|
|
380
|
+
export const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
381
|
+
|
|
382
|
+
// @public
|
|
383
|
+
export const CardBody: StyledComponent<"div", any, CardBodyProps, never>;
|
|
384
|
+
|
|
385
|
+
// Warning: (ae-forgotten-export) The symbol "ViewProps_2" needs to be exported by the entry point index.d.ts
|
|
386
|
+
// Warning: (ae-forgotten-export) The symbol "LinesProps" needs to be exported by the entry point index.d.ts
|
|
387
|
+
//
|
|
388
|
+
// @public (undocumented)
|
|
389
|
+
export const CardBody1: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2 & LinesProps, never>;
|
|
390
|
+
|
|
391
|
+
// @public (undocumented)
|
|
392
|
+
export const CardBody2: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2 & LinesProps, never>;
|
|
393
|
+
|
|
394
|
+
// @public (undocumented)
|
|
395
|
+
export interface CardBodyProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
// @public
|
|
399
|
+
export const CardContent: StyledComponent<"div", any, {} & CardContentProps, never>;
|
|
400
|
+
|
|
401
|
+
// Warning: (ae-forgotten-export) The symbol "CoverProps" needs to be exported by the entry point index.d.ts
|
|
402
|
+
// Warning: (ae-forgotten-export) The symbol "NoCoverProps" needs to be exported by the entry point index.d.ts
|
|
403
|
+
// Warning: (ae-forgotten-export) The symbol "OtherProps" needs to be exported by the entry point index.d.ts
|
|
404
|
+
//
|
|
405
|
+
// @public (undocumented)
|
|
406
|
+
export type CardContentProps = (CoverProps | NoCoverProps) & OtherProps & React_2.HTMLAttributes<HTMLDivElement>;
|
|
407
|
+
|
|
408
|
+
// @public (undocumented)
|
|
409
|
+
export const CardFootnote1: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2, never>;
|
|
410
|
+
|
|
411
|
+
// @public (undocumented)
|
|
412
|
+
export const CardFootnote2: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2, never>;
|
|
413
|
+
|
|
414
|
+
// @public (undocumented)
|
|
415
|
+
export const CardHeadline1: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2, never>;
|
|
416
|
+
|
|
417
|
+
// @public (undocumented)
|
|
418
|
+
export const CardHeadline2: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2, never>;
|
|
419
|
+
|
|
420
|
+
// @public (undocumented)
|
|
421
|
+
export const CardHeadline3: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2, never>;
|
|
422
|
+
|
|
423
|
+
// @public
|
|
424
|
+
export const CardMedia: React_2.FC<CardMediaProps>;
|
|
425
|
+
|
|
426
|
+
// @public (undocumented)
|
|
427
|
+
export type CardMediaProps = ImageBaseProps & {
|
|
428
|
+
disabled?: boolean;
|
|
429
|
+
placeholder?: string;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
// @public (undocumented)
|
|
433
|
+
export const CardParagraph1: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2 & LinesProps, never>;
|
|
434
|
+
|
|
435
|
+
// @public (undocumented)
|
|
436
|
+
export const CardParagraph2: StyledComponent<"div", any, SpacingProps & BreakWordProps & ViewProps_2 & LinesProps, never>;
|
|
437
|
+
|
|
438
|
+
// @public (undocumented)
|
|
439
|
+
export const CardPrice: React_2.FC<CardPriceProps>;
|
|
440
|
+
|
|
441
|
+
// @public (undocumented)
|
|
442
|
+
export interface CardPriceProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
443
|
+
// (undocumented)
|
|
444
|
+
count?: number;
|
|
445
|
+
// (undocumented)
|
|
446
|
+
currency?: PriceProps['currency'];
|
|
447
|
+
// (undocumented)
|
|
448
|
+
oldPrice?: number;
|
|
449
|
+
// (undocumented)
|
|
450
|
+
price: number;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Warning: (ae-forgotten-export) The symbol "ScaleOnFocusProps" needs to be exported by the entry point index.d.ts
|
|
454
|
+
//
|
|
455
|
+
// @public (undocumented)
|
|
456
|
+
export interface CardProps extends DisabledProps, FocusProps, OutlinedProps, ScaleOnFocusProps, Partial<RoundnessProps>, React_2.HTMLAttributes<HTMLDivElement> {
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// @public
|
|
460
|
+
export const Carousel: StyledComponent<"div", any, Pick<CarouselProps, "axis" | "scrollSnapType">, never>;
|
|
461
|
+
|
|
462
|
+
// @public
|
|
463
|
+
export const CarouselGridWrapper: StyledComponent<"div", any, {}, never>;
|
|
464
|
+
|
|
465
|
+
// @public (undocumented)
|
|
466
|
+
export const CarouselItem: React_2.FC<CarouselItemProps>;
|
|
467
|
+
|
|
468
|
+
// @public (undocumented)
|
|
469
|
+
export type CarouselItemProps = ScrollSnapProps & AsProps & React_2.HTMLAttributes<HTMLDivElement>;
|
|
470
|
+
|
|
471
|
+
// @public
|
|
472
|
+
export const CarouselItemVirtual: ({ left, top, children, style, ...rest }: CarouselItemVirtualProps) => JSX.Element;
|
|
473
|
+
|
|
474
|
+
// @public (undocumented)
|
|
475
|
+
export type CarouselItemVirtualProps = AsProps & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
476
|
+
left?: number;
|
|
477
|
+
top?: number;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
// @public (undocumented)
|
|
481
|
+
export interface CarouselLiteProps extends AsProps, HTMLAttributes<HTMLDivElement> {
|
|
482
|
+
axis: ScrollAxis;
|
|
483
|
+
index: number;
|
|
484
|
+
listAriaLabel?: string;
|
|
485
|
+
listRole?: string;
|
|
486
|
+
paddingEnd?: string;
|
|
487
|
+
paddingStart?: string;
|
|
488
|
+
scrollAlign?: ScrollAlign;
|
|
489
|
+
scrollMode?: 'scroll' | 'translate';
|
|
490
|
+
scrollSnapType?: SnapType;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
// Warning: (ae-forgotten-export) The symbol "DetectionProps" needs to be exported by the entry point index.d.ts
|
|
494
|
+
// Warning: (ae-forgotten-export) The symbol "NoDetectionProps" needs to be exported by the entry point index.d.ts
|
|
495
|
+
//
|
|
496
|
+
// @public (undocumented)
|
|
497
|
+
export type CarouselProps = BasicProps & (DetectionProps | NoDetectionProps);
|
|
498
|
+
|
|
499
|
+
// @public (undocumented)
|
|
500
|
+
export type CarouselTemplateProps = Omit<BasicProps, Exclude<keyof UseCarouselOptions, 'axis'>>;
|
|
501
|
+
|
|
502
|
+
// @public
|
|
503
|
+
export const CarouselTrack: StyledComponent<"div", any, Pick<CarouselProps, "axis" | "paddingStart" | "paddingEnd"> & {
|
|
504
|
+
virtualSize?: number | undefined;
|
|
505
|
+
liteMode?: boolean | undefined;
|
|
506
|
+
}, never>;
|
|
507
|
+
|
|
508
|
+
// @public (undocumented)
|
|
509
|
+
export type CarouselVirtualProps = {
|
|
510
|
+
virtualSize: number;
|
|
511
|
+
} & Omit<CarouselTemplateProps, 'paddingStart' | 'paddingEnd' | 'scrollSnapType'>;
|
|
512
|
+
|
|
513
|
+
// @public
|
|
514
|
+
export const convertRoundnessMatrix: (matrixKey?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined, r?: string | undefined, h?: string | undefined) => string | undefined;
|
|
515
|
+
|
|
516
|
+
// @public
|
|
517
|
+
export function createButton<T extends HTMLElement, P extends ButtonProps>(Root?: StyledComponent<"button", any, StyledButtonProps, never>): React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<T>>;
|
|
518
|
+
|
|
519
|
+
// @public
|
|
520
|
+
export function createTabsController<T extends HTMLDivElement, P extends TabsControllerProps>(ListComponent?: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>, ItemComponent?: FunctionComponent<TabItemProps>): React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<T>>;
|
|
521
|
+
|
|
522
|
+
// @public (undocumented)
|
|
523
|
+
export const critical = "var(--plasma-colors-critical)";
|
|
524
|
+
|
|
525
|
+
// @public (undocumented)
|
|
526
|
+
export const dark01 = "var(--plasma-colors-dark01)";
|
|
527
|
+
|
|
528
|
+
// @public (undocumented)
|
|
529
|
+
export const dark02 = "var(--plasma-colors-dark02)";
|
|
530
|
+
|
|
531
|
+
// @public (undocumented)
|
|
532
|
+
export const dark03 = "var(--plasma-colors-dark03)";
|
|
533
|
+
|
|
534
|
+
// @public (undocumented)
|
|
535
|
+
export interface DisabledProps {
|
|
536
|
+
disabled?: boolean;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// @public (undocumented)
|
|
540
|
+
export const Display1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
541
|
+
|
|
542
|
+
// @public (undocumented)
|
|
543
|
+
export const display1: CSSObject;
|
|
544
|
+
|
|
545
|
+
// @public (undocumented)
|
|
546
|
+
export const Display2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
547
|
+
|
|
548
|
+
// @public (undocumented)
|
|
549
|
+
export const display2: CSSObject;
|
|
550
|
+
|
|
551
|
+
// @public (undocumented)
|
|
552
|
+
export const Display3: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
553
|
+
|
|
554
|
+
// @public (undocumented)
|
|
555
|
+
export const display3: CSSObject;
|
|
556
|
+
|
|
557
|
+
// Warning: (ae-forgotten-export) The symbol "SliderBaseProps" needs to be exported by the entry point index.d.ts
|
|
558
|
+
//
|
|
559
|
+
// @public (undocumented)
|
|
560
|
+
export interface DoubleSliderProps extends SliderBaseProps {
|
|
561
|
+
ariaLabel?: string[];
|
|
562
|
+
multipleStepSize?: number;
|
|
563
|
+
onChange?(value: number[]): void;
|
|
564
|
+
onChangeCommitted(value: number[]): void;
|
|
565
|
+
value: number[];
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
// @public (undocumented)
|
|
569
|
+
export const endAnimationClass = "popup-base-end-animation";
|
|
570
|
+
|
|
571
|
+
// @public (undocumented)
|
|
572
|
+
export const endTransitionClass = "popup-base-end-transition";
|
|
573
|
+
|
|
574
|
+
// @public (undocumented)
|
|
575
|
+
export const extractTextFrom: (textSource?: string | number | null | ReactNode) => string;
|
|
576
|
+
|
|
577
|
+
// @public (undocumented)
|
|
578
|
+
export const Fade: StyledComponent<"div", any, {
|
|
579
|
+
placement?: "top" | "bottom" | undefined;
|
|
580
|
+
}, never>;
|
|
581
|
+
|
|
582
|
+
// @public (undocumented)
|
|
583
|
+
export const fieldBackgroundStatuses: {
|
|
584
|
+
success: string;
|
|
585
|
+
warning: string;
|
|
586
|
+
error: string;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
// @public
|
|
590
|
+
const FieldContent: StyledComponent<"div", any, {
|
|
591
|
+
pos: 'left' | 'right';
|
|
592
|
+
}, never>;
|
|
593
|
+
export { FieldContent }
|
|
594
|
+
export { FieldContent as TextFieldContent }
|
|
595
|
+
|
|
596
|
+
// @public
|
|
597
|
+
const FieldHelper: StyledComponent<"span", any, {}, never>;
|
|
598
|
+
export { FieldHelper }
|
|
599
|
+
export { FieldHelper as TextFieldHelper }
|
|
600
|
+
|
|
601
|
+
// @public
|
|
602
|
+
const FieldPlaceholder: StyledComponent<"label", any, {}, never>;
|
|
603
|
+
export { FieldPlaceholder }
|
|
604
|
+
export { FieldPlaceholder as TextFieldPlaceholder }
|
|
605
|
+
|
|
606
|
+
// @public (undocumented)
|
|
607
|
+
export interface FieldProps {
|
|
608
|
+
// (undocumented)
|
|
609
|
+
$isFocused?: boolean;
|
|
610
|
+
contentLeft?: React.ReactElement;
|
|
611
|
+
contentRight?: React.ReactElement;
|
|
612
|
+
helperText?: string;
|
|
613
|
+
label?: string | number;
|
|
614
|
+
size?: 'm' | 'l';
|
|
615
|
+
status?: keyof typeof fieldStatuses;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// Warning: (ae-forgotten-export) The symbol "FieldRootProps" needs to be exported by the entry point index.d.ts
|
|
619
|
+
//
|
|
620
|
+
// @public
|
|
621
|
+
const FieldRoot: StyledComponent<"div", any, FieldRootProps, never>;
|
|
622
|
+
export { FieldRoot }
|
|
623
|
+
export { FieldRoot as TextFieldRoot }
|
|
624
|
+
|
|
625
|
+
// @public (undocumented)
|
|
626
|
+
export const fieldStatuses: {
|
|
627
|
+
success: string;
|
|
628
|
+
warning: string;
|
|
629
|
+
error: string;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
// @public (undocumented)
|
|
633
|
+
export interface FocusProps {
|
|
634
|
+
focused?: boolean;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
// @public (undocumented)
|
|
638
|
+
export const Footnote1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
639
|
+
|
|
640
|
+
// @public (undocumented)
|
|
641
|
+
export const footnote1: CSSObject;
|
|
642
|
+
|
|
643
|
+
// @public (undocumented)
|
|
644
|
+
export const Footnote2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
645
|
+
|
|
646
|
+
// @public (undocumented)
|
|
647
|
+
export const footnote2: CSSObject;
|
|
648
|
+
|
|
649
|
+
// @public
|
|
650
|
+
export const formatCurrency: (value: number, currency: string, minimumFractionDigits: number) => string;
|
|
651
|
+
|
|
652
|
+
// @public
|
|
653
|
+
export const getButtonSizesMixin: (sizes: ButtonSizes, typos: ButtonTypography) => ({ size, pin, outlined, focused, $isContentLeft: isContentLeft, $isContentRight: isContentRight, shiftLeft, shiftRight, square, stretch, theme, }: ThemeProps & StyledButtonProps) => FlattenInterpolation<ThemedStyledProps<ThemeProviderContextBase & FocusProps & OutlinedProps & OutlineProps, any>>;
|
|
654
|
+
|
|
655
|
+
// @public (undocumented)
|
|
656
|
+
export const gradient = "var(--plasma-colors-gradient)";
|
|
657
|
+
|
|
658
|
+
// @public (undocumented)
|
|
659
|
+
export const H1: StyledComponent<"h1", any, SpacingProps & BreakWordProps, never>;
|
|
660
|
+
|
|
661
|
+
// @public (undocumented)
|
|
662
|
+
export const H2: StyledComponent<"h2", any, SpacingProps & BreakWordProps, never>;
|
|
663
|
+
|
|
664
|
+
// @public (undocumented)
|
|
665
|
+
export const H3: StyledComponent<"h3", any, SpacingProps & BreakWordProps, never>;
|
|
666
|
+
|
|
667
|
+
// @public (undocumented)
|
|
668
|
+
export const H4: StyledComponent<"h4", any, SpacingProps & BreakWordProps, never>;
|
|
669
|
+
|
|
670
|
+
// @public (undocumented)
|
|
671
|
+
export const Headline1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
672
|
+
|
|
673
|
+
// @public (undocumented)
|
|
674
|
+
export const headline1: CSSObject;
|
|
675
|
+
|
|
676
|
+
// @public (undocumented)
|
|
677
|
+
export const Headline2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
678
|
+
|
|
679
|
+
// @public (undocumented)
|
|
680
|
+
export const headline2: CSSObject;
|
|
681
|
+
|
|
682
|
+
// @public (undocumented)
|
|
683
|
+
export const Headline3: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
684
|
+
|
|
685
|
+
// @public (undocumented)
|
|
686
|
+
export const headline3: CSSObject;
|
|
687
|
+
|
|
688
|
+
// @public (undocumented)
|
|
689
|
+
export const Headline4: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
690
|
+
|
|
691
|
+
// @public (undocumented)
|
|
692
|
+
export const headline4: CSSObject;
|
|
693
|
+
|
|
694
|
+
// @public
|
|
695
|
+
const Image_2: FC<ImageProps>;
|
|
696
|
+
export { Image_2 as Image }
|
|
697
|
+
|
|
698
|
+
// Warning: (ae-forgotten-export) The symbol "HeightProps" needs to be exported by the entry point index.d.ts
|
|
699
|
+
// Warning: (ae-forgotten-export) The symbol "RatioProps" needs to be exported by the entry point index.d.ts
|
|
700
|
+
// Warning: (ae-forgotten-export) The symbol "CustomRatioProps" needs to be exported by the entry point index.d.ts
|
|
701
|
+
//
|
|
702
|
+
// @public (undocumented)
|
|
703
|
+
export type ImageBaseProps = (HeightProps | RatioProps | CustomRatioProps) & React_2.ImgHTMLAttributes<HTMLImageElement> & {
|
|
704
|
+
src: string;
|
|
705
|
+
alt?: string;
|
|
706
|
+
base?: 'div' | 'img';
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
// @public (undocumented)
|
|
710
|
+
export type ImageProps = ImageBaseProps & {
|
|
711
|
+
children?: never;
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
// Warning: (ae-forgotten-export) The symbol "StyledInputProps" needs to be exported by the entry point index.d.ts
|
|
715
|
+
//
|
|
716
|
+
// @public
|
|
717
|
+
const Input: StyledComponent<"input", any, StyledInputProps, never>;
|
|
718
|
+
export { Input }
|
|
719
|
+
export { Input as TextFieldInput }
|
|
720
|
+
|
|
721
|
+
// @public (undocumented)
|
|
722
|
+
export interface InputHTMLAttributes<T> extends DisabledProps, React_2.InputHTMLAttributes<T> {
|
|
723
|
+
checked?: boolean;
|
|
724
|
+
maxLength?: number;
|
|
725
|
+
minLength?: number;
|
|
726
|
+
name?: string;
|
|
727
|
+
onBlur?: React_2.InputHTMLAttributes<T>['onBlur'];
|
|
728
|
+
onChange?: React_2.InputHTMLAttributes<T>['onChange'];
|
|
729
|
+
onFocus?: React_2.InputHTMLAttributes<T>['onFocus'];
|
|
730
|
+
placeholder?: string;
|
|
731
|
+
readOnly?: boolean;
|
|
732
|
+
required?: boolean;
|
|
733
|
+
type?: string;
|
|
734
|
+
value?: string | ReadonlyArray<string> | number;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
// @public (undocumented)
|
|
738
|
+
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
739
|
+
htmlSize?: InputHTMLAttributes<HTMLInputElement>['size'];
|
|
740
|
+
}
|
|
741
|
+
export { InputProps }
|
|
742
|
+
export { InputProps as TextFieldProps }
|
|
743
|
+
|
|
744
|
+
// @public (undocumented)
|
|
745
|
+
export const inverse = "var(--plasma-colors-inverse)";
|
|
746
|
+
|
|
747
|
+
// @public (undocumented)
|
|
748
|
+
export const IS_REACT_18: boolean;
|
|
749
|
+
|
|
750
|
+
// @public
|
|
751
|
+
export const LineSkeleton: React_2.FC<LineSkeletonProps & React_2.HTMLAttributes<HTMLDivElement>>;
|
|
752
|
+
|
|
753
|
+
// Warning: (ae-forgotten-export) The symbol "TextSizeProps" needs to be exported by the entry point index.d.ts
|
|
754
|
+
//
|
|
755
|
+
// @public (undocumented)
|
|
756
|
+
export interface LineSkeletonProps extends TextSizeProps, Partial<RoundnessProps> {
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
// @public (undocumented)
|
|
760
|
+
export interface MaxLinesProps {
|
|
761
|
+
maxLines?: number;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
// @public
|
|
765
|
+
export const ModalBase: FC<ModalBaseProps>;
|
|
766
|
+
|
|
767
|
+
// @public (undocumented)
|
|
768
|
+
export const modalBaseOverlayClass = "modal-base-overlay";
|
|
769
|
+
|
|
770
|
+
// @public (undocumented)
|
|
771
|
+
export interface ModalBaseProps extends PopupBaseProps {
|
|
772
|
+
closeOnEsc?: boolean;
|
|
773
|
+
closeOnOverlayClick?: boolean;
|
|
774
|
+
focusAfterRef?: React.RefObject<HTMLElement>;
|
|
775
|
+
initialFocusRef?: React.RefObject<HTMLElement>;
|
|
776
|
+
onClose?: () => void;
|
|
777
|
+
onEscKeyDown?: (event: KeyboardEvent) => void;
|
|
778
|
+
onOverlayClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
779
|
+
withBlur?: boolean;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
// @public (undocumented)
|
|
783
|
+
export type ModalBaseRootProps = PopupRootProps & Pick<ModalBaseProps, 'initialFocusRef' | 'focusAfterRef' | 'onClose'>;
|
|
784
|
+
|
|
785
|
+
// @public
|
|
786
|
+
export const ModalOverlay: FC<ModalOverlayProps>;
|
|
787
|
+
|
|
788
|
+
// @public (undocumented)
|
|
789
|
+
export type ModalOverlayProps = Pick<PopupRootProps, 'id' | 'zIndex'> & Pick<ModalBaseProps, 'withBlur' | 'closeOnOverlayClick' | 'onOverlayClick' | 'onClose'>;
|
|
790
|
+
|
|
791
|
+
// @public (undocumented)
|
|
792
|
+
export const monthLongName: (val: number) => string;
|
|
793
|
+
|
|
794
|
+
// @public (undocumented)
|
|
795
|
+
export const monthShortName: (val: number) => string;
|
|
796
|
+
|
|
797
|
+
// @public (undocumented)
|
|
798
|
+
export interface OutlinedProps {
|
|
799
|
+
outlined?: boolean;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
// @public (undocumented)
|
|
803
|
+
export const overlay = "var(--plasma-colors-overlay)";
|
|
804
|
+
|
|
805
|
+
// @public (undocumented)
|
|
806
|
+
export const P: StyledComponent<"p", any, SpacingProps & BreakWordProps, never>;
|
|
807
|
+
|
|
808
|
+
// @public (undocumented)
|
|
809
|
+
export const P1: StyledComponent<"p", any, SpacingProps & BreakWordProps, never>;
|
|
810
|
+
|
|
811
|
+
// @public (undocumented)
|
|
812
|
+
export const P2: StyledComponent<"p", any, SpacingProps & BreakWordProps, never>;
|
|
813
|
+
|
|
814
|
+
// @public (undocumented)
|
|
815
|
+
export const padZeroNumber: (value: number) => string;
|
|
816
|
+
|
|
817
|
+
// @public
|
|
818
|
+
export const PaginationDot: StyledComponent<"li", any, PaginationDotProps, never>;
|
|
819
|
+
|
|
820
|
+
// @public (undocumented)
|
|
821
|
+
export interface PaginationDotProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
822
|
+
isActive: boolean;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
// @public
|
|
826
|
+
export const PaginationDots: StyledComponent<"ul", any, {
|
|
827
|
+
'aria-hidden': boolean | "true" | "false";
|
|
828
|
+
}, "aria-hidden">;
|
|
829
|
+
|
|
830
|
+
// @public (undocumented)
|
|
831
|
+
export const paragraph = "var(--plasma-colors-paragraph)";
|
|
832
|
+
|
|
833
|
+
// @public (undocumented)
|
|
834
|
+
export const paragraph1: CSSObject;
|
|
835
|
+
|
|
836
|
+
// @public (undocumented)
|
|
837
|
+
export const paragraph2: CSSObject;
|
|
838
|
+
|
|
839
|
+
// @public (undocumented)
|
|
840
|
+
export const ParagraphText1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
841
|
+
|
|
842
|
+
// @public (undocumented)
|
|
843
|
+
export const ParagraphText2: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
844
|
+
|
|
845
|
+
// @public
|
|
846
|
+
export type PickOptional<T, K extends keyof T> = Partial<Pick<T, K>>;
|
|
847
|
+
|
|
848
|
+
// @public (undocumented)
|
|
849
|
+
export interface PinProps {
|
|
850
|
+
// Warning: (ae-forgotten-export) The symbol "Pin" needs to be exported by the entry point index.d.ts
|
|
851
|
+
pin: Pin;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
// @public @deprecated
|
|
855
|
+
export const Popup: React_2.NamedExoticComponent<PopupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
856
|
+
|
|
857
|
+
// @public
|
|
858
|
+
export const PopupBase: React_2.ForwardRefExoticComponent<PopupBaseProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
859
|
+
|
|
860
|
+
// Warning: (ae-forgotten-export) The symbol "BasicPopupBasePlacement" needs to be exported by the entry point index.d.ts
|
|
861
|
+
// Warning: (ae-forgotten-export) The symbol "MixedPopupBasePlacement" needs to be exported by the entry point index.d.ts
|
|
862
|
+
//
|
|
863
|
+
// @public (undocumented)
|
|
864
|
+
export type PopupBasePlacement = BasicPopupBasePlacement | MixedPopupBasePlacement;
|
|
865
|
+
|
|
866
|
+
// @public (undocumented)
|
|
867
|
+
export interface PopupBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
868
|
+
children?: React.ReactNode;
|
|
869
|
+
frame?: 'document' | string | React.RefObject<HTMLElement>;
|
|
870
|
+
isOpen: boolean;
|
|
871
|
+
// (undocumented)
|
|
872
|
+
offset?: [number, number] | [string, string];
|
|
873
|
+
overlay?: React.ReactNode;
|
|
874
|
+
// (undocumented)
|
|
875
|
+
placement?: PopupBasePlacement;
|
|
876
|
+
popupInfo?: PopupInfo;
|
|
877
|
+
withAnimation?: boolean;
|
|
878
|
+
zIndex?: string;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
// @public (undocumented)
|
|
882
|
+
export const PopupBaseProvider: FC<PropsWithChildren>;
|
|
883
|
+
|
|
884
|
+
// @public (undocumented)
|
|
885
|
+
export const popupBaseRootClass = "popup-base-root";
|
|
886
|
+
|
|
887
|
+
// @public (undocumented)
|
|
888
|
+
export interface PopupContextType {
|
|
889
|
+
// (undocumented)
|
|
890
|
+
items: PopupInfo[];
|
|
891
|
+
// (undocumented)
|
|
892
|
+
register: (info: PopupInfo) => void;
|
|
893
|
+
// (undocumented)
|
|
894
|
+
unregister: (id: string) => void;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
// @public (undocumented)
|
|
898
|
+
export interface PopupInfo {
|
|
899
|
+
// (undocumented)
|
|
900
|
+
id: string;
|
|
901
|
+
// (undocumented)
|
|
902
|
+
info?: Record<string, any>;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
// @public (undocumented)
|
|
906
|
+
export interface PopupProps extends HTMLAttributes<HTMLDivElement> {
|
|
907
|
+
children?: ReactNode;
|
|
908
|
+
disclosure?: ReactNode;
|
|
909
|
+
isOpen?: boolean;
|
|
910
|
+
onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
|
|
911
|
+
// Warning: (ae-forgotten-export) The symbol "PopupPlacement" needs to be exported by the entry point index.d.ts
|
|
912
|
+
// Warning: (ae-forgotten-export) The symbol "PopupBasicPlacement" needs to be exported by the entry point index.d.ts
|
|
913
|
+
placement?: PopupPlacement | Array<PopupBasicPlacement>;
|
|
914
|
+
trigger: 'hover' | 'click';
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// @public (undocumented)
|
|
918
|
+
export interface PopupRootProps extends Omit<PopupBaseProps, 'isOpen' | 'overlay'> {
|
|
919
|
+
// Warning: (ae-forgotten-export) The symbol "PopupAnimationInfo" needs to be exported by the entry point index.d.ts
|
|
920
|
+
animationInfo: PopupAnimationInfo;
|
|
921
|
+
// (undocumented)
|
|
922
|
+
id: string;
|
|
923
|
+
// (undocumented)
|
|
924
|
+
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
// @public
|
|
928
|
+
export const Price: React_2.FC<PriceProps>;
|
|
929
|
+
|
|
930
|
+
// @public (undocumented)
|
|
931
|
+
export interface PriceProps extends React_2.HTMLAttributes<HTMLSpanElement>, AsProps {
|
|
932
|
+
children: number;
|
|
933
|
+
currency?: 'rub' | 'usd' | 'eur';
|
|
934
|
+
minimumFractionDigits?: number;
|
|
935
|
+
periodicity?: '/ день' | '/ неделя' | '/ месяц' | '/ год' | React_2.ReactElement;
|
|
936
|
+
stroke?: boolean;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
// @public (undocumented)
|
|
940
|
+
export const primary = "var(--plasma-colors-primary)";
|
|
941
|
+
|
|
942
|
+
// @public (undocumented)
|
|
943
|
+
export const RadioGroup: React_2.ForwardRefExoticComponent<RadioGroupProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
944
|
+
|
|
945
|
+
// @public (undocumented)
|
|
946
|
+
export interface RadioGroupProps {
|
|
947
|
+
// (undocumented)
|
|
948
|
+
children: React_2.ReactNode;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
// @public
|
|
952
|
+
export const radiuses: {
|
|
953
|
+
250: number;
|
|
954
|
+
32: number;
|
|
955
|
+
28: number;
|
|
956
|
+
24: number;
|
|
957
|
+
20: number;
|
|
958
|
+
18: number;
|
|
959
|
+
16: number;
|
|
960
|
+
14: number;
|
|
961
|
+
12: number;
|
|
962
|
+
8: number;
|
|
963
|
+
0: number;
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
// Warning: (ae-forgotten-export) The symbol "ratios" needs to be exported by the entry point index.d.ts
|
|
967
|
+
//
|
|
968
|
+
// @public (undocumented)
|
|
969
|
+
export type Ratio = keyof typeof ratios;
|
|
970
|
+
|
|
971
|
+
// @public
|
|
972
|
+
export const RectSkeleton: React_2.FC<RectSkeletonProps & React_2.HTMLAttributes<HTMLDivElement>>;
|
|
973
|
+
|
|
974
|
+
// @public (undocumented)
|
|
975
|
+
export interface RectSkeletonProps extends Partial<RoundnessProps> {
|
|
976
|
+
// (undocumented)
|
|
977
|
+
height: string | number;
|
|
978
|
+
// (undocumented)
|
|
979
|
+
width: string | number;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
// @public (undocumented)
|
|
983
|
+
export type Roundness = keyof typeof radiuses;
|
|
984
|
+
|
|
985
|
+
// @public (undocumented)
|
|
986
|
+
export interface RoundnessProps {
|
|
987
|
+
roundness: Roundness;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
// @public (undocumented)
|
|
991
|
+
export function safeFlushSync(fn: () => void): void;
|
|
992
|
+
|
|
993
|
+
// @public (undocumented)
|
|
994
|
+
export const safeUseId: () => string;
|
|
995
|
+
|
|
996
|
+
// @public (undocumented)
|
|
997
|
+
export type ScrollAxis = 'x' | 'y';
|
|
998
|
+
|
|
999
|
+
// @public (undocumented)
|
|
1000
|
+
export interface ScrollSnapProps {
|
|
1001
|
+
// (undocumented)
|
|
1002
|
+
scrollSnapAlign?: SnapAlign;
|
|
1003
|
+
// (undocumented)
|
|
1004
|
+
scrollSnapStop?: SnapStop;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
// @public (undocumented)
|
|
1008
|
+
export const secondary = "var(--plasma-colors-secondary)";
|
|
1009
|
+
|
|
1010
|
+
// Warning: (ae-forgotten-export) The symbol "SetRef" needs to be exported by the entry point index.d.ts
|
|
1011
|
+
//
|
|
1012
|
+
// @public (undocumented)
|
|
1013
|
+
export const setRef: SetRef;
|
|
1014
|
+
|
|
1015
|
+
// @public (undocumented)
|
|
1016
|
+
export const shadows: {
|
|
1017
|
+
tiny: string;
|
|
1018
|
+
small: string;
|
|
1019
|
+
medium: string;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
// @public
|
|
1023
|
+
export interface ShiftProps {
|
|
1024
|
+
shiftLeft?: boolean;
|
|
1025
|
+
shiftRight?: boolean;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
// @public (undocumented)
|
|
1029
|
+
export interface SingleSliderProps extends SliderBaseProps {
|
|
1030
|
+
ariaLabel?: string;
|
|
1031
|
+
multipleStepSize?: number;
|
|
1032
|
+
onChange?(value: number): void;
|
|
1033
|
+
onChangeCommitted(value: number): void;
|
|
1034
|
+
value: number;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
// @public (undocumented)
|
|
1038
|
+
export const skeletonGradient = "var(--plasma-colors-skeleton-gradient)";
|
|
1039
|
+
|
|
1040
|
+
// @public (undocumented)
|
|
1041
|
+
export const skeletonGradientLighter = "var(--plasma-colors-skeleton-gradient-lighter)";
|
|
1042
|
+
|
|
1043
|
+
// @public (undocumented)
|
|
1044
|
+
export interface SkeletonGradientProps {
|
|
1045
|
+
// (undocumented)
|
|
1046
|
+
lighter?: boolean;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
// Warning: (ae-forgotten-export) The symbol "SliderInternalProps" needs to be exported by the entry point index.d.ts
|
|
1050
|
+
//
|
|
1051
|
+
// @public (undocumented)
|
|
1052
|
+
export const Slider: FC<SliderProps & SliderInternalProps>;
|
|
1053
|
+
|
|
1054
|
+
// @public
|
|
1055
|
+
export const SliderCore: React_2.FC<SliderProps & SliderInternalProps>;
|
|
1056
|
+
|
|
1057
|
+
// @public (undocumented)
|
|
1058
|
+
export type SliderProps = SingleSliderProps | DoubleSliderProps;
|
|
1059
|
+
|
|
1060
|
+
// @public (undocumented)
|
|
1061
|
+
export type SliderSettings = Partial<{
|
|
1062
|
+
indent: number;
|
|
1063
|
+
fontSizeMultiplier: number;
|
|
1064
|
+
backgroundColor: string;
|
|
1065
|
+
fillColor: string;
|
|
1066
|
+
}>;
|
|
1067
|
+
|
|
1068
|
+
// @public (undocumented)
|
|
1069
|
+
export interface SmartPaginationDotsProps {
|
|
1070
|
+
// (undocumented)
|
|
1071
|
+
index: number;
|
|
1072
|
+
// (undocumented)
|
|
1073
|
+
items: Array<{
|
|
1074
|
+
id: number | string;
|
|
1075
|
+
}>;
|
|
1076
|
+
// (undocumented)
|
|
1077
|
+
visibleItems?: number;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
// @public (undocumented)
|
|
1081
|
+
export type SnapAlign = 'start' | 'center' | 'end';
|
|
1082
|
+
|
|
1083
|
+
// @public (undocumented)
|
|
1084
|
+
export type SnapStop = 'normal' | 'always';
|
|
1085
|
+
|
|
1086
|
+
// @public (undocumented)
|
|
1087
|
+
export type SnapType = 'mandatory' | 'proximity' | 'none';
|
|
1088
|
+
|
|
1089
|
+
export { spacing }
|
|
1090
|
+
|
|
1091
|
+
export { SpacingProps }
|
|
1092
|
+
|
|
1093
|
+
// @public (undocumented)
|
|
1094
|
+
export const speechBubbleReceived = "var(--plasma-colors-speech-bubble-received)";
|
|
1095
|
+
|
|
1096
|
+
// @public (undocumented)
|
|
1097
|
+
export const speechBubbleSent = "var(--plasma-colors-speech-bubble-sent)";
|
|
1098
|
+
|
|
1099
|
+
// @public
|
|
1100
|
+
export const Spinner: React_2.FC<SpinnerProps>;
|
|
1101
|
+
|
|
1102
|
+
// @public (undocumented)
|
|
1103
|
+
export interface SpinnerProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1104
|
+
// (undocumented)
|
|
1105
|
+
color?: string;
|
|
1106
|
+
// (undocumented)
|
|
1107
|
+
deviceScale?: number;
|
|
1108
|
+
// (undocumented)
|
|
1109
|
+
size?: number | string;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
// @public (undocumented)
|
|
1113
|
+
export const SSRContext: React_2.Context<{
|
|
1114
|
+
uniqId: number | null;
|
|
1115
|
+
}>;
|
|
1116
|
+
|
|
1117
|
+
// @public
|
|
1118
|
+
export const SSRProvider: ({ children }: {
|
|
1119
|
+
children: ReactNode;
|
|
1120
|
+
}) => JSX.Element;
|
|
1121
|
+
|
|
1122
|
+
// Warning: (ae-forgotten-export) The symbol "StyledRootProps" needs to be exported by the entry point index.d.ts
|
|
1123
|
+
//
|
|
1124
|
+
// @public (undocumented)
|
|
1125
|
+
export const StyledCard: StyledComponent<"div", any, SpacingProps_2 & BreakWordProps_2 & StyledRootProps, never>;
|
|
1126
|
+
|
|
1127
|
+
// @public (undocumented)
|
|
1128
|
+
export const StyledTabs: StyledComponent<"div", any, TabsProps, never>;
|
|
1129
|
+
|
|
1130
|
+
// @public (undocumented)
|
|
1131
|
+
export const StyledWrapper: StyledComponent<"div", any, TabsProps, never>;
|
|
1132
|
+
|
|
1133
|
+
// @public (undocumented)
|
|
1134
|
+
export const success = "var(--plasma-colors-success)";
|
|
1135
|
+
|
|
1136
|
+
// @public (undocumented)
|
|
1137
|
+
export const surfaceCard = "var(--plasma-colors-surface-card)";
|
|
1138
|
+
|
|
1139
|
+
// @public (undocumented)
|
|
1140
|
+
export const surfaceLiquid01 = "var(--plasma-colors-surface-liquid01)";
|
|
1141
|
+
|
|
1142
|
+
// @public (undocumented)
|
|
1143
|
+
export const surfaceLiquid02 = "var(--plasma-colors-surface-liquid02)";
|
|
1144
|
+
|
|
1145
|
+
// @public (undocumented)
|
|
1146
|
+
export const surfaceLiquid03 = "var(--plasma-colors-surface-liquid03)";
|
|
1147
|
+
|
|
1148
|
+
// @public (undocumented)
|
|
1149
|
+
export const surfaceSolid01 = "var(--plasma-colors-surface-solid01)";
|
|
1150
|
+
|
|
1151
|
+
// @public (undocumented)
|
|
1152
|
+
export const surfaceSolid02 = "var(--plasma-colors-surface-solid02)";
|
|
1153
|
+
|
|
1154
|
+
// @public (undocumented)
|
|
1155
|
+
export const surfaceSolid03 = "var(--plasma-colors-surface-solid03)";
|
|
1156
|
+
|
|
1157
|
+
// @public
|
|
1158
|
+
export const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
1159
|
+
|
|
1160
|
+
// Warning: (ae-forgotten-export) The symbol "PressedProps" needs to be exported by the entry point index.d.ts
|
|
1161
|
+
//
|
|
1162
|
+
// @public (undocumented)
|
|
1163
|
+
export interface SwitchProps extends ControlProps, DisabledProps, PressedProps, FocusProps, OutlinedProps, Omit<React_2.LabelHTMLAttributes<HTMLLabelElement>, 'onChange' | 'onFocus' | 'onBlur'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'value' | 'checked' | 'disabled' | 'readOnly' | 'onChange' | 'onFocus' | 'onBlur'> {
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
// Warning: (ae-forgotten-export) The symbol "SynthesizeFocus" needs to be exported by the entry point index.d.ts
|
|
1167
|
+
//
|
|
1168
|
+
// @public (undocumented)
|
|
1169
|
+
export const syntheticFocus: SynthesizeFocus;
|
|
1170
|
+
|
|
1171
|
+
// @public
|
|
1172
|
+
export const TabItem: React_2.ForwardRefExoticComponent<TabItemProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1173
|
+
|
|
1174
|
+
// @public (undocumented)
|
|
1175
|
+
export interface TabItemProps extends AsProps, React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1176
|
+
contentLeft?: React_2.ReactNode;
|
|
1177
|
+
isActive?: boolean;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
// @public
|
|
1181
|
+
export const Tabs: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1182
|
+
|
|
1183
|
+
// Warning: (ae-forgotten-export) The symbol "TabItemRefs" needs to be exported by the entry point index.d.ts
|
|
1184
|
+
//
|
|
1185
|
+
// @public (undocumented)
|
|
1186
|
+
export const TabsContext: Context<TabItemRefs | null>;
|
|
1187
|
+
|
|
1188
|
+
// @public (undocumented)
|
|
1189
|
+
export interface TabsControllerProps extends TabsProps {
|
|
1190
|
+
// (undocumented)
|
|
1191
|
+
autoscroll?: boolean;
|
|
1192
|
+
// (undocumented)
|
|
1193
|
+
children?: never;
|
|
1194
|
+
// (undocumented)
|
|
1195
|
+
index: number;
|
|
1196
|
+
// (undocumented)
|
|
1197
|
+
items: Array<{
|
|
1198
|
+
label: string;
|
|
1199
|
+
contentLeft?: ReactNode;
|
|
1200
|
+
}>;
|
|
1201
|
+
// (undocumented)
|
|
1202
|
+
onIndexChange: (index: number) => void;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
// @public (undocumented)
|
|
1206
|
+
export interface TabsProps extends AsProps, DisabledProps, React_2.HTMLAttributes<HTMLDivElement> {
|
|
1207
|
+
stretch?: boolean;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
// @public (undocumented)
|
|
1211
|
+
export const tertiary = "var(--plasma-colors-tertiary)";
|
|
1212
|
+
|
|
1213
|
+
// @public (undocumented)
|
|
1214
|
+
export const text = "var(--plasma-colors-text)";
|
|
1215
|
+
|
|
1216
|
+
// @public
|
|
1217
|
+
const TextArea: StyledComponent<"textarea", any, Pick<TextAreaProps, "height" | "width" | "status" | "rows" | "cols" | "resize">, never>;
|
|
1218
|
+
export { TextArea }
|
|
1219
|
+
export { TextArea as TextFieldTextarea }
|
|
1220
|
+
|
|
1221
|
+
// @public (undocumented)
|
|
1222
|
+
export interface TextareaHTMLAttributes<T> extends DisabledProps, React_2.TextareaHTMLAttributes<T> {
|
|
1223
|
+
// (undocumented)
|
|
1224
|
+
autoComplete?: string;
|
|
1225
|
+
// (undocumented)
|
|
1226
|
+
autoFocus?: boolean;
|
|
1227
|
+
// (undocumented)
|
|
1228
|
+
cols?: number;
|
|
1229
|
+
// (undocumented)
|
|
1230
|
+
dirName?: string;
|
|
1231
|
+
// (undocumented)
|
|
1232
|
+
form?: string;
|
|
1233
|
+
maxLength?: number;
|
|
1234
|
+
minLength?: number;
|
|
1235
|
+
name?: string;
|
|
1236
|
+
onBlur?: React_2.TextareaHTMLAttributes<T>['onBlur'];
|
|
1237
|
+
onChange?: React_2.TextareaHTMLAttributes<T>['onChange'];
|
|
1238
|
+
onFocus?: React_2.TextareaHTMLAttributes<T>['onFocus'];
|
|
1239
|
+
placeholder?: string;
|
|
1240
|
+
readOnly?: boolean;
|
|
1241
|
+
required?: boolean;
|
|
1242
|
+
// (undocumented)
|
|
1243
|
+
rows?: number;
|
|
1244
|
+
value?: string | ReadonlyArray<string> | number;
|
|
1245
|
+
// (undocumented)
|
|
1246
|
+
wrap?: string;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
// @public (undocumented)
|
|
1250
|
+
export interface TextAreaProps extends Omit<FieldProps, 'contentLeft'>, TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1251
|
+
height?: number | CSSProperties['height'];
|
|
1252
|
+
resize?: TextareaResize;
|
|
1253
|
+
width?: number | CSSProperties['width'];
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
// @public (undocumented)
|
|
1257
|
+
export type TextareaResize = 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1258
|
+
|
|
1259
|
+
// @public
|
|
1260
|
+
export const TextSkeleton: React_2.FC<TextSkeletonProps & React_2.HTMLAttributes<HTMLDivElement>>;
|
|
1261
|
+
|
|
1262
|
+
// @public (undocumented)
|
|
1263
|
+
export interface TextSkeletonProps extends TextSizeProps, Partial<RoundnessProps> {
|
|
1264
|
+
lines: number;
|
|
1265
|
+
width?: string | number;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
// @public (undocumented)
|
|
1269
|
+
export type ThemeProps = ThemeProps_2<ThemeProviderContextBase>;
|
|
1270
|
+
|
|
1271
|
+
// @public (undocumented)
|
|
1272
|
+
export interface ThemeProviderContextBase extends DefaultTheme {
|
|
1273
|
+
// (undocumented)
|
|
1274
|
+
deviceScale?: number;
|
|
1275
|
+
lowPerformance?: boolean;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
// @public (undocumented)
|
|
1279
|
+
export const ThumbBase: StyledComponent<"div", any, {
|
|
1280
|
+
disabled?: boolean | undefined;
|
|
1281
|
+
}, never>;
|
|
1282
|
+
|
|
1283
|
+
// Warning: (ae-forgotten-export) The symbol "tfs" needs to be exported by the entry point index.d.ts
|
|
1284
|
+
//
|
|
1285
|
+
// @public (undocumented)
|
|
1286
|
+
export type TimingFunction = keyof typeof tfs;
|
|
1287
|
+
|
|
1288
|
+
// @public
|
|
1289
|
+
export const Toast: React_2.FC<ToastProps>;
|
|
1290
|
+
|
|
1291
|
+
// @public (undocumented)
|
|
1292
|
+
export type ToastPosition = 'top' | 'bottom';
|
|
1293
|
+
|
|
1294
|
+
// @public (undocumented)
|
|
1295
|
+
export type ToastProps = {
|
|
1296
|
+
role?: ToastRole;
|
|
1297
|
+
text: string;
|
|
1298
|
+
contentLeft?: ReactNode;
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
// @public (undocumented)
|
|
1302
|
+
export const ToastProvider: ({ children }: {
|
|
1303
|
+
children: ReactNode;
|
|
1304
|
+
}) => JSX.Element;
|
|
1305
|
+
|
|
1306
|
+
// @public
|
|
1307
|
+
export const toCssSize: (value: string | number) => string;
|
|
1308
|
+
|
|
1309
|
+
// @public
|
|
1310
|
+
export const transformStyles: (styles: CSSObject) => string;
|
|
1311
|
+
|
|
1312
|
+
// @public (undocumented)
|
|
1313
|
+
export const transparent = "var(--plasma-colors-transparent)";
|
|
1314
|
+
|
|
1315
|
+
// Warning: (ae-forgotten-export) The symbol "typography" needs to be exported by the entry point index.d.ts
|
|
1316
|
+
//
|
|
1317
|
+
// @public (undocumented)
|
|
1318
|
+
export type TypographyTypes = keyof typeof typography;
|
|
1319
|
+
|
|
1320
|
+
// @public (undocumented)
|
|
1321
|
+
export const Underline: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
|
|
1322
|
+
|
|
1323
|
+
// @public (undocumented)
|
|
1324
|
+
export const underline: CSSObject;
|
|
1325
|
+
|
|
1326
|
+
// Warning: (ae-forgotten-export) The symbol "UseCarouselHookResult" needs to be exported by the entry point index.d.ts
|
|
1327
|
+
//
|
|
1328
|
+
// @public (undocumented)
|
|
1329
|
+
export const useCarousel: ({ index, axis, detectActive, detectThreshold, scrollAlign, scaleCallback, scaleResetCallback, onIndexChange, onDetectActiveItem, animatedScrollByIndex, throttleMs, debounceMs, }: UseCarouselOptions) => UseCarouselHookResult;
|
|
1330
|
+
|
|
1331
|
+
// @public (undocumented)
|
|
1332
|
+
export function useCarouselLite({ index, axis, scrollAlign, scrollMode, }: UseCarouselLiteOptions): {
|
|
1333
|
+
scrollRef: MutableRefObject<HTMLElement | null>;
|
|
1334
|
+
trackRef: MutableRefObject<HTMLElement | null>;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
// @public (undocumented)
|
|
1338
|
+
export type UseCarouselLiteOptions = Pick<CarouselLiteProps, 'index' | 'axis' | 'scrollAlign' | 'scrollMode'>;
|
|
1339
|
+
|
|
1340
|
+
// @public (undocumented)
|
|
1341
|
+
export type UseCarouselOptions = Pick<CarouselProps, 'index' | 'axis' | 'detectActive' | 'detectThreshold' | 'scrollAlign' | 'scaleCallback' | 'scaleResetCallback' | 'onIndexChange' | 'onDetectActiveItem' | 'animatedScrollByIndex' | 'throttleMs' | 'debounceMs'>;
|
|
1342
|
+
|
|
1343
|
+
// @public (undocumented)
|
|
1344
|
+
export function useDebouncedFunction(func: (...args: any) => any, delay: number, cleanUp?: boolean): (...args: any[]) => void;
|
|
1345
|
+
|
|
1346
|
+
// @public
|
|
1347
|
+
export const useFocusTrap: (active?: boolean, firstFocusSelector?: string | RefObject<HTMLElement> | undefined, focusAfterNode?: RefObject<HTMLElement> | undefined) => (instance: HTMLElement | null) => void;
|
|
1348
|
+
|
|
1349
|
+
// Warning: (ae-forgotten-export) The symbol "UseForkRefHook" needs to be exported by the entry point index.d.ts
|
|
1350
|
+
//
|
|
1351
|
+
// @public
|
|
1352
|
+
export const useForkRef: UseForkRefHook;
|
|
1353
|
+
|
|
1354
|
+
// @public
|
|
1355
|
+
export const useIsomorphicLayoutEffect: typeof useEffect;
|
|
1356
|
+
|
|
1357
|
+
// @public (undocumented)
|
|
1358
|
+
export const usePaginationDots: ({ items, index, visibleItems }: SmartPaginationDotsProps) => {
|
|
1359
|
+
sliced: {
|
|
1360
|
+
id: number | string;
|
|
1361
|
+
}[];
|
|
1362
|
+
activeId: string | number;
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
// @public (undocumented)
|
|
1366
|
+
export const usePopupBaseContext: () => PopupContextType;
|
|
1367
|
+
|
|
1368
|
+
// @public
|
|
1369
|
+
export const useResizeObserver: <T extends HTMLElement>(ref: MutableRefObject<T | null>, callback: (element: T) => void) => void;
|
|
1370
|
+
|
|
1371
|
+
// @public (undocumented)
|
|
1372
|
+
export const useToast: () => {
|
|
1373
|
+
showToast: ShowToast;
|
|
1374
|
+
hideToast: () => void;
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
// @public (undocumented)
|
|
1378
|
+
export function useUniqId(): string;
|
|
1379
|
+
|
|
1380
|
+
// @public (undocumented)
|
|
1381
|
+
export type View = keyof typeof views;
|
|
1382
|
+
|
|
1383
|
+
// @public (undocumented)
|
|
1384
|
+
export interface ViewProps {
|
|
1385
|
+
view: View;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
// @public
|
|
1389
|
+
export const views: {
|
|
1390
|
+
accent: {
|
|
1391
|
+
backgroundColor: string;
|
|
1392
|
+
color: string;
|
|
1393
|
+
};
|
|
1394
|
+
primary: {
|
|
1395
|
+
backgroundColor: string;
|
|
1396
|
+
color: string;
|
|
1397
|
+
};
|
|
1398
|
+
secondary: {
|
|
1399
|
+
backgroundColor: string;
|
|
1400
|
+
color: string;
|
|
1401
|
+
};
|
|
1402
|
+
success: {
|
|
1403
|
+
backgroundColor: string;
|
|
1404
|
+
color: string;
|
|
1405
|
+
};
|
|
1406
|
+
warning: {
|
|
1407
|
+
backgroundColor: string;
|
|
1408
|
+
color: string;
|
|
1409
|
+
};
|
|
1410
|
+
critical: {
|
|
1411
|
+
backgroundColor: string;
|
|
1412
|
+
color: string;
|
|
1413
|
+
};
|
|
1414
|
+
checked: {
|
|
1415
|
+
backgroundColor: string;
|
|
1416
|
+
color: string;
|
|
1417
|
+
};
|
|
1418
|
+
clear: {
|
|
1419
|
+
backgroundColor: string;
|
|
1420
|
+
color: string;
|
|
1421
|
+
};
|
|
1422
|
+
overlay: {
|
|
1423
|
+
backgroundColor: string;
|
|
1424
|
+
color: string;
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
// @public (undocumented)
|
|
1429
|
+
export const voicePhraseGradient = "var(--plasma-colors-voice-phrase-gradient)";
|
|
1430
|
+
|
|
1431
|
+
// @public (undocumented)
|
|
1432
|
+
export const warning = "var(--plasma-colors-warning)";
|
|
1433
|
+
|
|
1434
|
+
// @public (undocumented)
|
|
1435
|
+
export const white = "var(--plasma-colors-white)";
|
|
1436
|
+
|
|
1437
|
+
// @public (undocumented)
|
|
1438
|
+
export const whitePrimary = "var(--plasma-colors-white-primary)";
|
|
1439
|
+
|
|
1440
|
+
// @public (undocumented)
|
|
1441
|
+
export const whiteSecondary = "var(--plasma-colors-white-secondary)";
|
|
1442
|
+
|
|
1443
|
+
// @public (undocumented)
|
|
1444
|
+
export const whiteTertiary = "var(--plasma-colors-white-tertiary)";
|
|
1445
|
+
|
|
1446
|
+
// @public (undocumented)
|
|
1447
|
+
export const withAutoFocus: <P extends object>(Component: React_2.ComponentType<P>) => React_2.FC<P & WithAutoFocusProps>;
|
|
1448
|
+
|
|
1449
|
+
// @public (undocumented)
|
|
1450
|
+
export interface WithAutoFocusProps {
|
|
1451
|
+
// (undocumented)
|
|
1452
|
+
autoFocus?: boolean | null;
|
|
1453
|
+
// (undocumented)
|
|
1454
|
+
preventScroll?: boolean;
|
|
1455
|
+
// (undocumented)
|
|
1456
|
+
tabIndex?: number;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
// @public
|
|
1460
|
+
export const withSkeleton: <P extends WithSkeletonProps>(Component: React_2.FC<P>) => React_2.FC<P>;
|
|
1461
|
+
|
|
1462
|
+
// @public (undocumented)
|
|
1463
|
+
export interface WithSkeletonProps {
|
|
1464
|
+
skeleton?: boolean;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
// Warnings were encountered during analysis:
|
|
1468
|
+
//
|
|
1469
|
+
// components/Toast/Toast.d.ts:4:5 - (ae-forgotten-export) The symbol "ToastRole" needs to be exported by the entry point index.d.ts
|
|
1470
|
+
// components/Toast/useToast.d.ts:2:5 - (ae-forgotten-export) The symbol "ShowToast" needs to be exported by the entry point index.d.ts
|
|
1471
|
+
|
|
1472
|
+
// (No @packageDocumentation comment for this package)
|
|
1473
|
+
|
|
1474
|
+
```
|