@salutejs/plasma-asdk 0.379.0-next-sbcom.0 → 0.379.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-asdk",
3
- "version": "0.379.0-next-sbcom.0",
3
+ "version": "0.379.0",
4
4
  "description": "Salute Design System / React UI kit for Assistant web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "publishConfig": {
@@ -27,10 +27,10 @@
27
27
  "styled-components": "^5.1.1"
28
28
  },
29
29
  "dependencies": {
30
- "@salutejs/plasma-new-hope": "0.365.0-next-sbcom.0",
31
- "@salutejs/plasma-tokens": "1.140.0-next-sbcom.0",
32
- "@salutejs/plasma-tokens-b2b": "1.56.0-next-sbcom.0",
33
- "@salutejs/plasma-typo": "0.44.0-next-sbcom.0"
30
+ "@salutejs/plasma-new-hope": "0.365.0",
31
+ "@salutejs/plasma-tokens": "1.140.0",
32
+ "@salutejs/plasma-tokens-b2b": "1.56.0",
33
+ "@salutejs/plasma-typo": "0.44.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@babel/cli": "7.24.1",
@@ -41,10 +41,10 @@
41
41
  "@babel/preset-react": "7.24.1",
42
42
  "@babel/preset-typescript": "7.24.1",
43
43
  "@salutejs/plasma-colors": "0.16.0",
44
- "@salutejs/plasma-core": "1.228.0-next-sbcom.0",
45
- "@salutejs/plasma-cy-utils": "0.158.0-next-sbcom.0",
46
- "@salutejs/plasma-icons": "1.239.0-next-sbcom.0",
47
- "@salutejs/plasma-sb-utils": "0.229.0-next-sbcom.0",
44
+ "@salutejs/plasma-core": "1.228.0",
45
+ "@salutejs/plasma-cy-utils": "0.158.0",
46
+ "@salutejs/plasma-icons": "1.239.0",
47
+ "@salutejs/plasma-sb-utils": "0.229.0",
48
48
  "@types/node": "16.7.13",
49
49
  "@types/react": "18.0.28",
50
50
  "@types/react-dom": "18.0.11",
@@ -83,5 +83,5 @@
83
83
  "salute.developers@gmail.com"
84
84
  ],
85
85
  "sideEffects": false,
86
- "gitHead": "b4deff4ede7810356429ce54232858a7bbd21dad"
86
+ "gitHead": "11abf991079928e06b77546d823d7259d0365187"
87
87
  }
@@ -1,596 +0,0 @@
1
- ## API Report File for "@salutejs/plasma-asdk"
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 { AnchorHTMLAttributes } from 'react';
10
- import { AsProps } from '@salutejs/plasma-new-hope/styled-components';
11
- import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
12
- import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
13
- import { ButtonHTMLAttributes } from 'react';
14
- import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
15
- import { ComponentProps } from 'react';
16
- import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
17
- import { FunctionComponent } from 'react';
18
- import { HTMLAttributes } from 'react';
19
- import { HtmlHTMLAttributes } from 'react';
20
- import { ImageProps } from '@salutejs/plasma-new-hope';
21
- import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
22
- import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
23
- import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
24
- import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
25
- import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
26
- import { default as React_2 } from 'react';
27
- import { ReactNode } from 'react';
28
- import { RefAttributes } from 'react';
29
- import { SpacingProps } from '@salutejs/plasma-new-hope/styled-components';
30
- import { SSRProvider } from '@salutejs/plasma-new-hope/styled-components';
31
- import { StyledComponent } from 'styled-components';
32
- import { SubtitleProps } from '@salutejs/plasma-new-hope/styled-components';
33
- import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
34
- import { TypographyOldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Old/TypographyOld';
35
- import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
36
-
37
- // @public (undocumented)
38
- export const Body1: FunctionComponent<PropsType< {
39
- size: {
40
- body1: PolymorphicClassName;
41
- };
42
- }> & {
43
- noWrap?: boolean | undefined;
44
- breakWord?: boolean | undefined;
45
- color?: string | undefined;
46
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
47
-
48
- // @public (undocumented)
49
- export const Body2: FunctionComponent<PropsType< {
50
- size: {
51
- body2: PolymorphicClassName;
52
- };
53
- }> & {
54
- noWrap?: boolean | undefined;
55
- breakWord?: boolean | undefined;
56
- color?: string | undefined;
57
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
58
-
59
- // @public (undocumented)
60
- export const BodyL: FunctionComponent<PropsType< {
61
- size: {
62
- l: PolymorphicClassName;
63
- };
64
- }> & {
65
- noWrap?: boolean | undefined;
66
- breakWord?: boolean | undefined;
67
- color?: string | undefined;
68
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
69
-
70
- // @public (undocumented)
71
- export const BodyM: FunctionComponent<PropsType< {
72
- size: {
73
- m: PolymorphicClassName;
74
- };
75
- }> & {
76
- noWrap?: boolean | undefined;
77
- breakWord?: boolean | undefined;
78
- color?: string | undefined;
79
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
80
-
81
- // @public (undocumented)
82
- export const BodyS: FunctionComponent<PropsType< {
83
- size: {
84
- s: PolymorphicClassName;
85
- };
86
- }> & {
87
- noWrap?: boolean | undefined;
88
- breakWord?: boolean | undefined;
89
- color?: string | undefined;
90
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
91
-
92
- // @public (undocumented)
93
- export const BodyXS: FunctionComponent<PropsType< {
94
- size: {
95
- xs: PolymorphicClassName;
96
- };
97
- }> & {
98
- noWrap?: boolean | undefined;
99
- breakWord?: boolean | undefined;
100
- color?: string | undefined;
101
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
102
-
103
- // @public (undocumented)
104
- export const BodyXXS: FunctionComponent<PropsType< {
105
- size: {
106
- xxs: PolymorphicClassName;
107
- };
108
- }> & {
109
- noWrap?: boolean | undefined;
110
- breakWord?: boolean | undefined;
111
- color?: string | undefined;
112
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
113
-
114
- // @public
115
- export const Button: FunctionComponent<PropsType< {
116
- view: {
117
- default: PolymorphicClassName;
118
- primary: PolymorphicClassName;
119
- accent: PolymorphicClassName;
120
- secondary: PolymorphicClassName;
121
- clear: PolymorphicClassName;
122
- success: PolymorphicClassName;
123
- warning: PolymorphicClassName;
124
- critical: PolymorphicClassName;
125
- dark: PolymorphicClassName;
126
- black: PolymorphicClassName;
127
- white: PolymorphicClassName;
128
- };
129
- size: {
130
- xl: PolymorphicClassName;
131
- xlr: PolymorphicClassName;
132
- l: PolymorphicClassName;
133
- lr: PolymorphicClassName;
134
- m: PolymorphicClassName;
135
- mr: PolymorphicClassName;
136
- s: PolymorphicClassName;
137
- sr: PolymorphicClassName;
138
- xs: PolymorphicClassName;
139
- xsr: PolymorphicClassName;
140
- xxs: PolymorphicClassName;
141
- };
142
- disabled: {
143
- true: PolymorphicClassName;
144
- };
145
- focused: {
146
- true: PolymorphicClassName;
147
- };
148
- stretching: {
149
- auto: PolymorphicClassName;
150
- filled: PolymorphicClassName;
151
- fixed: PolymorphicClassName;
152
- };
153
- }> & ((Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps<any> & {
154
- text?: string | undefined;
155
- contentLeft?: ReactNode;
156
- contentPlacing?: ("default" | "relaxed") | undefined;
157
- isLoading?: boolean | undefined;
158
- loader?: ReactNode;
159
- stretch?: boolean | undefined;
160
- stretching?: ("fixed" | "auto" | "filled") | undefined;
161
- square?: boolean | undefined;
162
- focused?: boolean | undefined;
163
- disabled?: boolean | undefined;
164
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
165
- view?: string | undefined;
166
- size?: string | undefined;
167
- outlined?: boolean | undefined;
168
- shiftLeft?: boolean | undefined;
169
- shiftRight?: boolean | undefined;
170
- blur?: "small" | "large" | "medium" | undefined;
171
- } & {
172
- value?: string | number | undefined;
173
- contentRight?: undefined;
174
- } & RefAttributes<HTMLButtonElement>) | (Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps<any> & {
175
- text?: string | undefined;
176
- contentLeft?: ReactNode;
177
- contentPlacing?: ("default" | "relaxed") | undefined;
178
- isLoading?: boolean | undefined;
179
- loader?: ReactNode;
180
- stretch?: boolean | undefined;
181
- stretching?: ("fixed" | "auto" | "filled") | undefined;
182
- square?: boolean | undefined;
183
- focused?: boolean | undefined;
184
- disabled?: boolean | undefined;
185
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
186
- view?: string | undefined;
187
- size?: string | undefined;
188
- outlined?: boolean | undefined;
189
- shiftLeft?: boolean | undefined;
190
- shiftRight?: boolean | undefined;
191
- blur?: "small" | "large" | "medium" | undefined;
192
- } & {
193
- value?: undefined;
194
- contentRight?: ReactNode;
195
- } & RefAttributes<HTMLButtonElement>))>;
196
-
197
- // @public (undocumented)
198
- export const Button1: FunctionComponent<PropsType< {
199
- size: {
200
- button1: PolymorphicClassName;
201
- };
202
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
203
-
204
- // @public (undocumented)
205
- export const Button2: FunctionComponent<PropsType< {
206
- size: {
207
- button2: PolymorphicClassName;
208
- };
209
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
210
-
211
- // Warning: (ae-forgotten-export) The symbol "ButtonComponent" needs to be exported by the entry point index.d.ts
212
- //
213
- // @public (undocumented)
214
- export type ButtonProps = typeof ButtonComponent;
215
-
216
- // @public (undocumented)
217
- export const Caption: FunctionComponent<PropsType< {
218
- size: {
219
- m: PolymorphicClassName;
220
- };
221
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
222
-
223
- // @public
224
- export const Checkbox: FunctionComponent<PropsType< {
225
- size: {
226
- s: PolymorphicClassName;
227
- m: PolymorphicClassName;
228
- };
229
- view: {
230
- accent: PolymorphicClassName;
231
- };
232
- disabled: {
233
- true: PolymorphicClassName;
234
- };
235
- focused: {
236
- true: PolymorphicClassName;
237
- };
238
- }> & CheckboxProps_2 & RefAttributes<HTMLInputElement>>;
239
-
240
- // Warning: (ae-forgotten-export) The symbol "CheckboxComponent" needs to be exported by the entry point index.d.ts
241
- //
242
- // @public (undocumented)
243
- export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
244
-
245
- // @public (undocumented)
246
- export const DsplL: FunctionComponent<PropsType< {
247
- size: {
248
- l: PolymorphicClassName;
249
- };
250
- }> & {
251
- noWrap?: boolean | undefined;
252
- breakWord?: boolean | undefined;
253
- color?: string | undefined;
254
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
255
-
256
- // @public (undocumented)
257
- export const DsplM: FunctionComponent<PropsType< {
258
- size: {
259
- m: PolymorphicClassName;
260
- };
261
- }> & {
262
- noWrap?: boolean | undefined;
263
- breakWord?: boolean | undefined;
264
- color?: string | undefined;
265
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
266
-
267
- // @public (undocumented)
268
- export const DsplS: FunctionComponent<PropsType< {
269
- size: {
270
- s: PolymorphicClassName;
271
- };
272
- }> & {
273
- noWrap?: boolean | undefined;
274
- breakWord?: boolean | undefined;
275
- color?: string | undefined;
276
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
277
-
278
- // @public (undocumented)
279
- export const Footnote1: FunctionComponent<PropsType< {
280
- size: {
281
- footnote1: PolymorphicClassName;
282
- };
283
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
284
-
285
- // @public (undocumented)
286
- export const Footnote2: FunctionComponent<PropsType< {
287
- size: {
288
- footnote2: PolymorphicClassName;
289
- };
290
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
291
-
292
- // @public (undocumented)
293
- export const H1: FunctionComponent<PropsType< {
294
- size: {
295
- h1: PolymorphicClassName;
296
- };
297
- }> & {
298
- noWrap?: boolean | undefined;
299
- breakWord?: boolean | undefined;
300
- color?: string | undefined;
301
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
302
-
303
- // @public (undocumented)
304
- export const H2: FunctionComponent<PropsType< {
305
- size: {
306
- h2: PolymorphicClassName;
307
- };
308
- }> & {
309
- noWrap?: boolean | undefined;
310
- breakWord?: boolean | undefined;
311
- color?: string | undefined;
312
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
313
-
314
- // @public (undocumented)
315
- export const H3: FunctionComponent<PropsType< {
316
- size: {
317
- h3: PolymorphicClassName;
318
- };
319
- }> & {
320
- noWrap?: boolean | undefined;
321
- breakWord?: boolean | undefined;
322
- color?: string | undefined;
323
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
324
-
325
- // @public (undocumented)
326
- export const H4: FunctionComponent<PropsType< {
327
- size: {
328
- h4: PolymorphicClassName;
329
- };
330
- }> & {
331
- noWrap?: boolean | undefined;
332
- breakWord?: boolean | undefined;
333
- color?: string | undefined;
334
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
335
-
336
- // @public (undocumented)
337
- export const H5: FunctionComponent<PropsType< {
338
- size: {
339
- h5: PolymorphicClassName;
340
- };
341
- }> & {
342
- noWrap?: boolean | undefined;
343
- breakWord?: boolean | undefined;
344
- color?: string | undefined;
345
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
346
-
347
- // @public (undocumented)
348
- export const HeaderArrow: FunctionComponent<PropsType<Variants> & ButtonHTMLAttributes<HTMLButtonElement> & {
349
- arrow?: "back" | "minimize" | undefined;
350
- iconSize?: "s" | "m" | "xxs" | "xs" | "l" | "xl" | "xxl" | undefined;
351
- } & RefAttributes<HTMLDivElement>>;
352
-
353
- // @public
354
- export const HeaderContent: ({ children, ...rest }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
355
-
356
- // Warning: (ae-forgotten-export) The symbol "HeaderLogoProps" needs to be exported by the entry point index.d.ts
357
- //
358
- // @public (undocumented)
359
- export const HeaderLogo: FunctionComponent<PropsType<Variants> & HeaderLogoProps & RefAttributes<HTMLDivElement>>;
360
-
361
- // @public (undocumented)
362
- export const HeaderRoot: FunctionComponent<PropsType< {
363
- view: {
364
- default: PolymorphicClassName;
365
- primary: PolymorphicClassName;
366
- };
367
- size: {
368
- l: PolymorphicClassName;
369
- m: PolymorphicClassName;
370
- s: PolymorphicClassName;
371
- };
372
- }> & HtmlHTMLAttributes<HTMLDivElement> & {
373
- size?: string | undefined;
374
- gradientColor?: string | undefined;
375
- view?: string | undefined;
376
- } & RefAttributes<HTMLDivElement>>;
377
-
378
- // @public
379
- export const HeaderTitle: ({ children, ...rest }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
380
-
381
- // @public (undocumented)
382
- export const HeaderTitleWrapper: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
383
- label?: string | undefined;
384
- title?: string | undefined;
385
- subTitle?: string | undefined;
386
- caption?: string | undefined;
387
- children?: ReactNode;
388
- withBigTitle?: boolean | undefined;
389
- } & RefAttributes<HTMLDivElement>>;
390
-
391
- // @public (undocumented)
392
- export const Headline1: FunctionComponent<PropsType< {
393
- size: {
394
- headline1: PolymorphicClassName;
395
- };
396
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
397
-
398
- // @public (undocumented)
399
- export const Headline2: FunctionComponent<PropsType< {
400
- size: {
401
- headline2: PolymorphicClassName;
402
- };
403
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
404
-
405
- // @public (undocumented)
406
- export const Headline3: FunctionComponent<PropsType< {
407
- size: {
408
- headline3: PolymorphicClassName;
409
- };
410
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
411
-
412
- // @public (undocumented)
413
- export const Headline4: FunctionComponent<PropsType< {
414
- size: {
415
- headline4: PolymorphicClassName;
416
- };
417
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
418
-
419
- // @public (undocumented)
420
- export const Headline5: FunctionComponent<PropsType< {
421
- size: {
422
- headline5: PolymorphicClassName;
423
- };
424
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
425
-
426
- // @public
427
- export const Link: FunctionComponent<PropsType< {
428
- view: {
429
- default: PolymorphicClassName;
430
- primary: PolymorphicClassName;
431
- };
432
- disabled: {
433
- true: PolymorphicClassName;
434
- };
435
- focused: {
436
- true: PolymorphicClassName;
437
- };
438
- }> & AnchorHTMLAttributes<HTMLAnchorElement> & LinkCustomProps & RefAttributes<HTMLAnchorElement>>;
439
-
440
- // @public (undocumented)
441
- export const P1: FunctionComponent<PropsType< {
442
- size: {
443
- paragraph1: PolymorphicClassName;
444
- };
445
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
446
-
447
- // @public (undocumented)
448
- export const P2: FunctionComponent<PropsType< {
449
- size: {
450
- paragraph2: PolymorphicClassName;
451
- };
452
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
453
-
454
- // @public
455
- export const Radiobox: FunctionComponent<PropsType< {
456
- size: {
457
- s: PolymorphicClassName;
458
- m: PolymorphicClassName;
459
- };
460
- view: {
461
- accent: PolymorphicClassName;
462
- };
463
- disabled: {
464
- true: PolymorphicClassName;
465
- };
466
- focused: {
467
- true: PolymorphicClassName;
468
- };
469
- }> & Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate"> & RefAttributes<HTMLInputElement>>;
470
-
471
- // Warning: (ae-forgotten-export) The symbol "RadioboxComponent" needs to be exported by the entry point index.d.ts
472
- //
473
- // @public (undocumented)
474
- export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
475
-
476
- export { RadioGroup }
477
-
478
- // @public
479
- export const Spinner: StyledComponent<FunctionComponent<PropsType< {
480
- view: {
481
- accent: PolymorphicClassName;
482
- };
483
- }> & ((HTMLAttributes<HTMLDivElement> & {
484
- width?: undefined;
485
- height?: undefined;
486
- size?: string | undefined;
487
- view?: string | undefined;
488
- } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
489
- width: number;
490
- height: number;
491
- size?: undefined; /**
492
- * @deprecated
493
- */
494
- view?: string | undefined;
495
- } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
496
- width: string;
497
- height: string;
498
- size?: undefined;
499
- view?: string | undefined;
500
- } & RefAttributes<HTMLDivElement>))>, any, {}, never>;
501
-
502
- // @public (undocumented)
503
- export type SpinnerProps = HTMLAttributes<HTMLDivElement> & {
504
- size?: string | number;
505
- view?: string;
506
- color?: string;
507
- deviceScale?: number;
508
- };
509
-
510
- export { SSRProvider }
511
-
512
- // @public (undocumented)
513
- export const Subtitle: FunctionComponent<PropsType< {
514
- size: {
515
- m: PolymorphicClassName;
516
- };
517
- }> & SubtitleProps & RefAttributes<HTMLDivElement>>;
518
-
519
- // @public (undocumented)
520
- export const Switch: FunctionComponent<PropsType< {
521
- size: {
522
- m: PolymorphicClassName;
523
- };
524
- toggleSize: {
525
- l: PolymorphicClassName;
526
- };
527
- view: {
528
- default: PolymorphicClassName;
529
- };
530
- disabled: {
531
- true: PolymorphicClassName;
532
- };
533
- focused: {
534
- true: PolymorphicClassName;
535
- };
536
- }> & SwitchProps_2 & RefAttributes<HTMLInputElement>>;
537
-
538
- // Warning: (ae-forgotten-export) The symbol "SwitchComponent" needs to be exported by the entry point index.d.ts
539
- //
540
- // @public (undocumented)
541
- export type SwitchProps = ComponentProps<typeof SwitchComponent>;
542
-
543
- // @public (undocumented)
544
- export const TextL: FunctionComponent<PropsType< {
545
- size: {
546
- l: PolymorphicClassName;
547
- };
548
- }> & {
549
- noWrap?: boolean | undefined;
550
- breakWord?: boolean | undefined;
551
- color?: string | undefined;
552
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
553
-
554
- // @public (undocumented)
555
- export const TextM: FunctionComponent<PropsType< {
556
- size: {
557
- m: PolymorphicClassName;
558
- };
559
- }> & {
560
- noWrap?: boolean | undefined;
561
- breakWord?: boolean | undefined;
562
- color?: string | undefined;
563
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
564
-
565
- // @public (undocumented)
566
- export const TextS: FunctionComponent<PropsType< {
567
- size: {
568
- s: PolymorphicClassName;
569
- };
570
- }> & {
571
- noWrap?: boolean | undefined;
572
- breakWord?: boolean | undefined;
573
- color?: string | undefined;
574
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
575
-
576
- // @public (undocumented)
577
- export const TextXS: FunctionComponent<PropsType< {
578
- size: {
579
- xs: PolymorphicClassName;
580
- };
581
- }> & {
582
- noWrap?: boolean | undefined;
583
- breakWord?: boolean | undefined;
584
- color?: string | undefined;
585
- } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
586
-
587
- // @public (undocumented)
588
- export const Underline: FunctionComponent<PropsType< {
589
- size: {
590
- m: PolymorphicClassName;
591
- };
592
- }> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
593
-
594
- // (No @packageDocumentation comment for this package)
595
-
596
- ```
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../api-extractor.json",
4
- "projectFolder": "."
5
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Default = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("react"));
8
- var _helpers = /*#__PURE__*/require("../../helpers");
9
- var _ = /*#__PURE__*/require(".");
10
- var _IconPlaceholder, _IconPlaceholder2;
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
- var defaultProps = {
14
- view: 'default',
15
- size: 'l',
16
- disabled: false,
17
- outlined: true,
18
- focused: false,
19
- contentType: 'Text',
20
- isLoading: false,
21
- onClick: function onClick() {},
22
- onFocus: function onFocus() {},
23
- onBlur: function onBlur() {}
24
- };
25
- var text = 'Label';
26
- var Default = exports.Default = function Default() {
27
- return /*#__PURE__*/_react["default"].createElement(_.Button, _extends({
28
- autoFocus: true,
29
- text: text,
30
- contentLeft: _IconPlaceholder || (_IconPlaceholder = /*#__PURE__*/_react["default"].createElement(_helpers.IconPlaceholder, null)),
31
- contentRight: _IconPlaceholder2 || (_IconPlaceholder2 = /*#__PURE__*/_react["default"].createElement(_helpers.IconPlaceholder, null))
32
- }, defaultProps));
33
- };
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Default = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("react"));
8
- var _ = /*#__PURE__*/require(".");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
- var func = function func() {};
12
- var defaultProps = {
13
- name: 'checkbox',
14
- label: 'Label',
15
- description: 'Description',
16
- disabled: false,
17
- size: 'm'
18
- };
19
- var Default = exports.Default = function Default() {
20
- return /*#__PURE__*/_react["default"].createElement(_.Checkbox, _extends({
21
- value: 0,
22
- checked: true,
23
- onChange: func,
24
- onFocus: func,
25
- onBlur: func
26
- }, defaultProps));
27
- };
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Default = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("react"));
8
- var _ = /*#__PURE__*/require(".");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
- var func = function func() {};
11
- var defaultProps = {
12
- name: 'Radiobox',
13
- label: 'Label',
14
- description: 'Description',
15
- disabled: false,
16
- size: 'm'
17
- };
18
- var Default = exports.Default = function Default() {
19
- var name = defaultProps.name,
20
- label = defaultProps.label,
21
- disabled = defaultProps.disabled,
22
- description = defaultProps.description,
23
- size = defaultProps.size;
24
- return /*#__PURE__*/_react["default"].createElement(_.Radiobox, {
25
- name: name,
26
- value: 0,
27
- label: label,
28
- description: description,
29
- disabled: disabled,
30
- checked: true,
31
- size: size,
32
- onChange: func,
33
- onFocus: func,
34
- onBlur: func
35
- });
36
- };
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Default = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("react"));
8
- var _ = /*#__PURE__*/require(".");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
- var func = function func() {};
12
- var defaultProps = {
13
- label: 'Label',
14
- disabled: false
15
- };
16
- var Default = exports.Default = function Default() {
17
- return /*#__PURE__*/_react["default"].createElement(_.Switch, _extends({
18
- value: 0,
19
- checked: true,
20
- onChange: func,
21
- onFocus: func,
22
- onBlur: func
23
- }, defaultProps));
24
- };
@@ -1,26 +0,0 @@
1
- var _IconPlaceholder, _IconPlaceholder2;
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- import React from 'react';
4
- import { IconPlaceholder } from '../../helpers';
5
- import { Button } from '.';
6
- var defaultProps = {
7
- view: 'default',
8
- size: 'l',
9
- disabled: false,
10
- outlined: true,
11
- focused: false,
12
- contentType: 'Text',
13
- isLoading: false,
14
- onClick: function onClick() {},
15
- onFocus: function onFocus() {},
16
- onBlur: function onBlur() {}
17
- };
18
- var text = 'Label';
19
- export var Default = function Default() {
20
- return /*#__PURE__*/React.createElement(Button, _extends({
21
- autoFocus: true,
22
- text: text,
23
- contentLeft: _IconPlaceholder || (_IconPlaceholder = /*#__PURE__*/React.createElement(IconPlaceholder, null)),
24
- contentRight: _IconPlaceholder2 || (_IconPlaceholder2 = /*#__PURE__*/React.createElement(IconPlaceholder, null))
25
- }, defaultProps));
26
- };
@@ -1,20 +0,0 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
- import React from 'react';
3
- import { Checkbox } from '.';
4
- var func = function func() {};
5
- var defaultProps = {
6
- name: 'checkbox',
7
- label: 'Label',
8
- description: 'Description',
9
- disabled: false,
10
- size: 'm'
11
- };
12
- export var Default = function Default() {
13
- return /*#__PURE__*/React.createElement(Checkbox, _extends({
14
- value: 0,
15
- checked: true,
16
- onChange: func,
17
- onFocus: func,
18
- onBlur: func
19
- }, defaultProps));
20
- };
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { Radiobox } from '.';
3
- var func = function func() {};
4
- var defaultProps = {
5
- name: 'Radiobox',
6
- label: 'Label',
7
- description: 'Description',
8
- disabled: false,
9
- size: 'm'
10
- };
11
- export var Default = function Default() {
12
- var name = defaultProps.name,
13
- label = defaultProps.label,
14
- disabled = defaultProps.disabled,
15
- description = defaultProps.description,
16
- size = defaultProps.size;
17
- return /*#__PURE__*/React.createElement(Radiobox, {
18
- name: name,
19
- value: 0,
20
- label: label,
21
- description: description,
22
- disabled: disabled,
23
- checked: true,
24
- size: size,
25
- onChange: func,
26
- onFocus: func,
27
- onBlur: func
28
- });
29
- };
@@ -1,17 +0,0 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
- import React from 'react';
3
- import { Switch } from '.';
4
- var func = function func() {};
5
- var defaultProps = {
6
- label: 'Label',
7
- disabled: false
8
- };
9
- export var Default = function Default() {
10
- return /*#__PURE__*/React.createElement(Switch, _extends({
11
- value: 0,
12
- checked: true,
13
- onChange: func,
14
- onFocus: func,
15
- onBlur: func
16
- }, defaultProps));
17
- };