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