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