@salutejs/plasma-web 1.401.0-canary.1421.10946935893.0 → 1.401.0-canary.1437.10948458812.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/api/plasma-web.api.md +226 -6
  2. package/components/Attach/Attach.config.d.ts +27 -0
  3. package/components/Attach/Attach.config.js +36 -0
  4. package/components/Attach/Attach.d.ts +224 -0
  5. package/components/Attach/Attach.js +14 -0
  6. package/components/Attach/index.d.ts +1 -0
  7. package/components/Attach/index.js +12 -0
  8. package/components/Cell/Cell.d.ts +2 -2
  9. package/components/DatePicker/DatePicker.d.ts +0 -1
  10. package/components/Slider/Slider.d.ts +1 -3
  11. package/css/cjs/components/Attach/Attach.config.js +35 -0
  12. package/css/cjs/components/Attach/Attach.config.js.map +1 -0
  13. package/css/cjs/components/Attach/Attach.config_1abu8vf.css +14 -0
  14. package/css/cjs/components/Attach/Attach.css +14 -0
  15. package/css/cjs/components/Attach/Attach.js +16 -0
  16. package/css/cjs/components/Attach/Attach.js.map +1 -0
  17. package/css/cjs/index.css +15 -0
  18. package/css/cjs/index.js +2 -0
  19. package/css/cjs/index.js.map +1 -1
  20. package/css/es/components/Attach/Attach.config.js +31 -0
  21. package/css/es/components/Attach/Attach.config.js.map +1 -0
  22. package/css/es/components/Attach/Attach.config_1abu8vf.css +14 -0
  23. package/css/es/components/Attach/Attach.css +14 -0
  24. package/css/es/components/Attach/Attach.js +12 -0
  25. package/css/es/components/Attach/Attach.js.map +1 -0
  26. package/css/es/index.css +15 -0
  27. package/css/es/index.js +1 -0
  28. package/css/es/index.js.map +1 -1
  29. package/css/index.d.ts +2 -0
  30. package/es/components/Attach/Attach.config.js +30 -0
  31. package/es/components/Attach/Attach.js +8 -0
  32. package/es/components/Attach/index.js +1 -0
  33. package/es/index.js +2 -1
  34. package/index.d.ts +1 -0
  35. package/index.js +11 -0
  36. package/package.json +3 -3
  37. package/temp/plasma-web.api.md +226 -6
@@ -35,6 +35,7 @@ import { AudioPlayerProps } from '@salutejs/plasma-hope';
35
35
  import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
36
36
  import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
37
37
  import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
38
+ import { BaseAttachProps } from '@salutejs/plasma-new-hope/types/components/Attach/Attach.types';
38
39
  import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
39
40
  import { BaseCallbackChangeInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
40
41
  import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
@@ -390,6 +391,228 @@ export { arrayItemSwapping }
390
391
 
391
392
  export { AsProps }
392
393
 
394
+ // @public
395
+ export const Attach: FunctionComponent<PropsType< {
396
+ view: {
397
+ default: PolymorphicClassName;
398
+ accent: PolymorphicClassName;
399
+ secondary: PolymorphicClassName;
400
+ clear: PolymorphicClassName;
401
+ success: PolymorphicClassName;
402
+ warning: PolymorphicClassName;
403
+ critical: PolymorphicClassName;
404
+ dark: PolymorphicClassName;
405
+ black: PolymorphicClassName;
406
+ white: PolymorphicClassName;
407
+ };
408
+ size: {
409
+ l: PolymorphicClassName;
410
+ m: PolymorphicClassName;
411
+ s: PolymorphicClassName;
412
+ xs: PolymorphicClassName;
413
+ };
414
+ }> & ((HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
415
+ text?: string | undefined;
416
+ contentLeft?: ReactNode;
417
+ contentPlacing?: ("default" | "relaxed") | undefined;
418
+ isLoading?: boolean | undefined;
419
+ loader?: ReactNode;
420
+ stretch?: boolean | undefined;
421
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
422
+ square?: boolean | undefined;
423
+ focused?: boolean | undefined;
424
+ disabled?: boolean | undefined;
425
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
426
+ view?: string | undefined;
427
+ size?: string | undefined;
428
+ outlined?: boolean | undefined;
429
+ shiftLeft?: boolean | undefined;
430
+ shiftRight?: boolean | undefined;
431
+ blur?: "small" | "medium" | "large" | undefined;
432
+ } & {
433
+ value?: string | number | undefined;
434
+ contentRight?: undefined;
435
+ } & BaseAttachProps & {
436
+ buttonType?: "button" | undefined;
437
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
438
+ text?: string | undefined;
439
+ contentLeft?: ReactNode;
440
+ contentPlacing?: ("default" | "relaxed") | undefined;
441
+ isLoading?: boolean | undefined;
442
+ loader?: ReactNode;
443
+ stretch?: boolean | undefined;
444
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
445
+ square?: boolean | undefined;
446
+ focused?: boolean | undefined;
447
+ disabled?: boolean | undefined;
448
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
449
+ view?: string | undefined;
450
+ size?: string | undefined;
451
+ outlined?: boolean | undefined;
452
+ shiftLeft?: boolean | undefined;
453
+ shiftRight?: boolean | undefined;
454
+ blur?: "small" | "medium" | "large" | undefined;
455
+ } & {
456
+ value?: string | number | undefined;
457
+ contentRight?: undefined;
458
+ } & BaseAttachProps & {
459
+ buttonType?: "button" | undefined;
460
+ } & {
461
+ value?: undefined;
462
+ contentRight?: ReactNode;
463
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
464
+ text?: string | undefined;
465
+ contentLeft?: ReactNode;
466
+ contentPlacing?: ("default" | "relaxed") | undefined;
467
+ isLoading?: boolean | undefined;
468
+ loader?: ReactNode;
469
+ stretch?: boolean | undefined;
470
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
471
+ square?: boolean | undefined;
472
+ focused?: boolean | undefined;
473
+ disabled?: boolean | undefined;
474
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
475
+ view?: string | undefined;
476
+ size?: string | undefined;
477
+ outlined?: boolean | undefined;
478
+ shiftLeft?: boolean | undefined;
479
+ shiftRight?: boolean | undefined;
480
+ blur?: "small" | "medium" | "large" | undefined;
481
+ } & {
482
+ value?: string | number | undefined;
483
+ contentRight?: undefined;
484
+ } & BaseAttachProps & {
485
+ buttonType?: "iconButton" | undefined;
486
+ icon?: ReactNode;
487
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
488
+ text?: string | undefined;
489
+ contentLeft?: ReactNode;
490
+ contentPlacing?: ("default" | "relaxed") | undefined;
491
+ isLoading?: boolean | undefined;
492
+ loader?: ReactNode;
493
+ stretch?: boolean | undefined;
494
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
495
+ square?: boolean | undefined;
496
+ focused?: boolean | undefined;
497
+ disabled?: boolean | undefined;
498
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
499
+ view?: string | undefined;
500
+ size?: string | undefined;
501
+ outlined?: boolean | undefined;
502
+ shiftLeft?: boolean | undefined;
503
+ shiftRight?: boolean | undefined;
504
+ blur?: "small" | "medium" | "large" | undefined;
505
+ } & {
506
+ value?: string | number | undefined;
507
+ contentRight?: undefined;
508
+ } & BaseAttachProps & {
509
+ buttonType?: "iconButton" | undefined;
510
+ icon?: ReactNode;
511
+ } & {
512
+ value?: undefined;
513
+ contentRight?: ReactNode;
514
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
515
+ text?: string | undefined;
516
+ contentLeft?: ReactNode;
517
+ contentPlacing?: ("default" | "relaxed") | undefined;
518
+ isLoading?: boolean | undefined;
519
+ loader?: ReactNode;
520
+ stretch?: boolean | undefined;
521
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
522
+ square?: boolean | undefined;
523
+ focused?: boolean | undefined;
524
+ disabled?: boolean | undefined;
525
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
526
+ view?: string | undefined;
527
+ size?: string | undefined;
528
+ outlined?: boolean | undefined;
529
+ shiftLeft?: boolean | undefined;
530
+ shiftRight?: boolean | undefined;
531
+ blur?: "small" | "medium" | "large" | undefined;
532
+ } & {
533
+ value?: undefined;
534
+ contentRight?: ReactNode;
535
+ } & BaseAttachProps & {
536
+ buttonType?: "button" | undefined;
537
+ } & {
538
+ value?: string | number | undefined;
539
+ contentRight?: undefined;
540
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
541
+ text?: string | undefined;
542
+ contentLeft?: ReactNode;
543
+ contentPlacing?: ("default" | "relaxed") | undefined;
544
+ isLoading?: boolean | undefined;
545
+ loader?: ReactNode;
546
+ stretch?: boolean | undefined;
547
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
548
+ square?: boolean | undefined;
549
+ focused?: boolean | undefined;
550
+ disabled?: boolean | undefined;
551
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
552
+ view?: string | undefined;
553
+ size?: string | undefined;
554
+ outlined?: boolean | undefined;
555
+ shiftLeft?: boolean | undefined;
556
+ shiftRight?: boolean | undefined;
557
+ blur?: "small" | "medium" | "large" | undefined;
558
+ } & {
559
+ value?: undefined;
560
+ contentRight?: ReactNode;
561
+ } & BaseAttachProps & {
562
+ buttonType?: "button" | undefined;
563
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
564
+ text?: string | undefined;
565
+ contentLeft?: ReactNode;
566
+ contentPlacing?: ("default" | "relaxed") | undefined;
567
+ isLoading?: boolean | undefined;
568
+ loader?: ReactNode;
569
+ stretch?: boolean | undefined;
570
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
571
+ square?: boolean | undefined;
572
+ focused?: boolean | undefined;
573
+ disabled?: boolean | undefined;
574
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
575
+ view?: string | undefined;
576
+ size?: string | undefined;
577
+ outlined?: boolean | undefined;
578
+ shiftLeft?: boolean | undefined;
579
+ shiftRight?: boolean | undefined;
580
+ blur?: "small" | "medium" | "large" | undefined;
581
+ } & {
582
+ value?: undefined;
583
+ contentRight?: ReactNode;
584
+ } & BaseAttachProps & {
585
+ buttonType?: "iconButton" | undefined;
586
+ icon?: ReactNode;
587
+ } & {
588
+ value?: string | number | undefined;
589
+ contentRight?: undefined;
590
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
591
+ text?: string | undefined;
592
+ contentLeft?: ReactNode;
593
+ contentPlacing?: ("default" | "relaxed") | undefined;
594
+ isLoading?: boolean | undefined;
595
+ loader?: ReactNode;
596
+ stretch?: boolean | undefined;
597
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
598
+ square?: boolean | undefined;
599
+ focused?: boolean | undefined;
600
+ disabled?: boolean | undefined;
601
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
602
+ view?: string | undefined;
603
+ size?: string | undefined;
604
+ outlined?: boolean | undefined;
605
+ shiftLeft?: boolean | undefined;
606
+ shiftRight?: boolean | undefined;
607
+ blur?: "small" | "medium" | "large" | undefined;
608
+ } & {
609
+ value?: undefined;
610
+ contentRight?: ReactNode;
611
+ } & BaseAttachProps & {
612
+ buttonType?: "iconButton" | undefined;
613
+ icon?: ReactNode;
614
+ } & RefAttributes<HTMLDivElement>))>;
615
+
393
616
  export { AudioPlayer }
394
617
 
395
618
  export { AudioPlayerProps }
@@ -859,7 +1082,7 @@ xs: PolymorphicClassName;
859
1082
  };
860
1083
  }> & (({
861
1084
  size?: string | undefined;
862
- view: string;
1085
+ view?: string | undefined;
863
1086
  contentLeft?: ReactNode;
864
1087
  contentRight?: ReactNode;
865
1088
  alignContentLeft?: AlignProp | undefined;
@@ -874,7 +1097,7 @@ label?: string | undefined;
874
1097
  children?: undefined;
875
1098
  } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>) | ({
876
1099
  size?: string | undefined;
877
- view: string;
1100
+ view?: string | undefined;
878
1101
  contentLeft?: ReactNode;
879
1102
  contentRight?: ReactNode;
880
1103
  alignContentLeft?: AlignProp | undefined;
@@ -1339,7 +1562,6 @@ true: PolymorphicClassName;
1339
1562
  }> & DatePickerdVariationProps & {
1340
1563
  defaultFirstDate?: Date | undefined;
1341
1564
  defaultSecondDate?: Date | undefined;
1342
- name?: string | undefined;
1343
1565
  onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1344
1566
  onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1345
1567
  } & {
@@ -2516,9 +2738,7 @@ s: PolymorphicClassName;
2516
2738
  disabled: {
2517
2739
  true: PolymorphicClassName;
2518
2740
  };
2519
- }> & ((SingleSliderProps & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "value"> & {
2520
- value?: number[] | undefined;
2521
- } & RefAttributes<HTMLDivElement>))>;
2741
+ }> & ((SingleSliderProps & RefAttributes<HTMLDivElement>) | (DoubleSliderProps & RefAttributes<HTMLDivElement>))>;
2522
2742
 
2523
2743
  export { SliderProps }
2524
2744