@salutejs/sdds-cs 0.228.0-canary.1696.12711678920.0 → 0.228.0-canary.1699.12742131493.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,6 @@ import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/componen
67
67
  import { ComponentProps } from 'react';
68
68
  import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
69
69
  import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
70
- import { CustomCounterProps } from '@salutejs/plasma-new-hope/types/components/Counter/Counter.types';
71
70
  import { CustomHeaderTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
72
71
  import { CustomHorizontalTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
73
72
  import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
@@ -769,32 +768,8 @@ fit: PolymorphicClassName;
769
768
  focused: {
770
769
  true: PolymorphicClassName;
771
770
  };
772
- }> & ((HTMLAttributes<HTMLDivElement> & {
773
- size?: string | undefined;
774
- name?: string | undefined;
775
- url?: string | undefined;
776
- customText?: string | undefined;
777
- status?: "active" | "inactive" | undefined;
778
- isScalable?: boolean | undefined;
779
- focused?: boolean | undefined;
780
- statusLabels?: StatusLabels | undefined;
781
- hasExtra?: boolean | undefined;
782
- type?: "badge" | "counter" | undefined;
783
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
784
- } & {
785
- badgeView?: string | undefined;
786
- pilled?: boolean | undefined;
787
- text?: string | undefined;
788
- customColor?: string | undefined;
789
- customBackgroundColor?: string | undefined;
790
- contentLeft?: ReactNode;
791
- contentRight?: ReactNode;
792
- } & {
793
- counterView?: undefined;
794
- count?: undefined;
795
- maxCount?: undefined;
796
- } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
797
- size?: string | undefined;
771
+ }> & HTMLAttributes<HTMLDivElement> & {
772
+ size: "s" | "m" | "l" | "xxl" | "fit";
798
773
  name?: string | undefined;
799
774
  url?: string | undefined;
800
775
  customText?: string | undefined;
@@ -802,22 +777,7 @@ status?: "active" | "inactive" | undefined;
802
777
  isScalable?: boolean | undefined;
803
778
  focused?: boolean | undefined;
804
779
  statusLabels?: StatusLabels | undefined;
805
- hasExtra?: boolean | undefined;
806
- type?: "badge" | "counter" | undefined;
807
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
808
- } & {
809
- counterView?: string | undefined;
810
- count?: number | undefined;
811
- maxCount?: number | undefined;
812
- } & {
813
- badgeView?: undefined;
814
- pilled?: undefined;
815
- text?: undefined;
816
- customColor?: undefined;
817
- customBackgroundColor?: undefined;
818
- contentLeft?: undefined;
819
- contentRight?: undefined;
820
- } & RefAttributes<HTMLDivElement>))>;
780
+ } & RefAttributes<HTMLDivElement>>;
821
781
 
822
782
  // @public (undocumented)
823
783
  export const AvatarGroup: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
@@ -859,9 +819,11 @@ view?: string | undefined;
859
819
  contentLeft?: ReactNode;
860
820
  contentRight?: undefined;
861
821
  } & {
822
+ children?: ReactNode;
823
+ } & {
862
824
  clear?: true | undefined;
863
- pilled?: undefined;
864
- transparent?: undefined;
825
+ pilled?: false | undefined;
826
+ transparent?: false | undefined;
865
827
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
866
828
  text?: string | undefined;
867
829
  customColor?: string | undefined;
@@ -873,9 +835,27 @@ view?: string | undefined;
873
835
  contentLeft?: ReactNode;
874
836
  contentRight?: undefined;
875
837
  } & {
876
- pilled?: boolean | undefined;
838
+ children?: ReactNode;
839
+ } & {
840
+ pilled?: true | undefined;
877
841
  transparent?: boolean | undefined;
878
- clear?: undefined;
842
+ clear?: false | undefined;
843
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
844
+ text?: string | undefined;
845
+ customColor?: string | undefined;
846
+ customBackgroundColor?: string | undefined;
847
+ maxWidth?: Property.Width<string | number> | undefined;
848
+ size?: string | undefined;
849
+ view?: string | undefined;
850
+ } & {
851
+ contentLeft?: ReactNode;
852
+ contentRight?: undefined;
853
+ } & {
854
+ children?: ReactNode;
855
+ } & {
856
+ pilled?: boolean | undefined;
857
+ transparent?: true | undefined;
858
+ clear?: false | undefined;
879
859
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
880
860
  text?: string | undefined;
881
861
  customColor?: string | undefined;
@@ -887,9 +867,11 @@ view?: string | undefined;
887
867
  contentLeft?: undefined;
888
868
  contentRight?: ReactNode;
889
869
  } & {
870
+ children?: ReactNode;
871
+ } & {
890
872
  clear?: true | undefined;
891
- pilled?: undefined;
892
- transparent?: undefined;
873
+ pilled?: false | undefined;
874
+ transparent?: false | undefined;
893
875
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
894
876
  text?: string | undefined;
895
877
  customColor?: string | undefined;
@@ -901,9 +883,27 @@ view?: string | undefined;
901
883
  contentLeft?: undefined;
902
884
  contentRight?: ReactNode;
903
885
  } & {
904
- pilled?: boolean | undefined;
886
+ children?: ReactNode;
887
+ } & {
888
+ pilled?: true | undefined;
905
889
  transparent?: boolean | undefined;
906
- clear?: undefined;
890
+ clear?: false | undefined;
891
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
892
+ text?: string | undefined;
893
+ customColor?: string | undefined;
894
+ customBackgroundColor?: string | undefined;
895
+ maxWidth?: Property.Width<string | number> | undefined;
896
+ size?: string | undefined;
897
+ view?: string | undefined;
898
+ } & {
899
+ contentLeft?: undefined;
900
+ contentRight?: ReactNode;
901
+ } & {
902
+ children?: ReactNode;
903
+ } & {
904
+ pilled?: boolean | undefined;
905
+ transparent?: true | undefined;
906
+ clear?: false | undefined;
907
907
  } & RefAttributes<HTMLDivElement>))>;
908
908
 
909
909
  export { BadgeProps }
@@ -1284,7 +1284,12 @@ negative: PolymorphicClassName;
1284
1284
  size: {
1285
1285
  s: PolymorphicClassName;
1286
1286
  };
1287
- }> & HTMLAttributes<HTMLDivElement> & CustomCounterProps & RefAttributes<HTMLDivElement>>;
1287
+ }> & HTMLAttributes<HTMLDivElement> & {
1288
+ count: number;
1289
+ maxCount?: number | undefined;
1290
+ size?: string | undefined;
1291
+ view?: string | undefined;
1292
+ } & RefAttributes<HTMLDivElement>>;
1288
1293
 
1289
1294
  export { CounterProps }
1290
1295
 
@@ -2422,6 +2427,7 @@ value?: number | undefined;
2422
2427
  min?: number | undefined;
2423
2428
  max?: number | undefined;
2424
2429
  step?: number | undefined;
2430
+ precision?: number | undefined;
2425
2431
  isLoading?: boolean | undefined;
2426
2432
  loader?: ReactNode;
2427
2433
  size?: string | undefined;
@@ -2442,11 +2448,12 @@ onDecrement?: ((value: number) => void) | undefined;
2442
2448
  } & {
2443
2449
  segmentation?: "clear" | undefined;
2444
2450
  inputBackgroundType?: undefined;
2445
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
2451
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
2446
2452
  value?: number | undefined;
2447
2453
  min?: number | undefined;
2448
2454
  max?: number | undefined;
2449
2455
  step?: number | undefined;
2456
+ precision?: number | undefined;
2450
2457
  isLoading?: boolean | undefined;
2451
2458
  loader?: ReactNode;
2452
2459
  size?: string | undefined;
@@ -2467,7 +2474,7 @@ onDecrement?: ((value: number) => void) | undefined;
2467
2474
  } & {
2468
2475
  segmentation?: string | undefined;
2469
2476
  inputBackgroundType?: string | undefined;
2470
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "onChange" | "value"> & RefAttributes<HTMLInputElement>))>;
2477
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
2471
2478
 
2472
2479
  export { numberInputClasses }
2473
2480
 
@@ -23,8 +23,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
23
23
  focused: {
24
24
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
25
  };
26
- }>, (import("react").HTMLAttributes<HTMLDivElement> & {
27
- size?: string | undefined;
26
+ }>, import("react").HTMLAttributes<HTMLDivElement> & {
27
+ size: "s" | "m" | "l" | "xxl" | "fit";
28
28
  name?: string | undefined;
29
29
  url?: string | undefined;
30
30
  customText?: string | undefined;
@@ -32,46 +32,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
32
32
  isScalable?: boolean | undefined;
33
33
  focused?: boolean | undefined;
34
34
  statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
35
- hasExtra?: boolean | undefined;
36
- type?: "badge" | "counter" | undefined;
37
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
38
- } & {
39
- badgeView?: string | undefined;
40
- pilled?: boolean | undefined;
41
- text?: string | undefined;
42
- customColor?: string | undefined;
43
- customBackgroundColor?: string | undefined;
44
- contentLeft?: import("react").ReactNode;
45
- contentRight?: import("react").ReactNode;
46
- } & {
47
- counterView?: undefined;
48
- count?: undefined;
49
- maxCount?: undefined;
50
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
51
- size?: string | undefined;
52
- name?: string | undefined;
53
- url?: string | undefined;
54
- customText?: string | undefined;
55
- status?: "active" | "inactive" | undefined;
56
- isScalable?: boolean | undefined;
57
- focused?: boolean | undefined;
58
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
59
- hasExtra?: boolean | undefined;
60
- type?: "badge" | "counter" | undefined;
61
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
62
- } & {
63
- counterView?: string | undefined;
64
- count?: number | undefined;
65
- maxCount?: number | undefined;
66
- } & {
67
- badgeView?: undefined;
68
- pilled?: undefined;
69
- text?: undefined;
70
- customColor?: undefined;
71
- customBackgroundColor?: undefined;
72
- contentLeft?: undefined;
73
- contentRight?: undefined;
74
- } & import("react").RefAttributes<HTMLDivElement>)>;
35
+ } & import("react").RefAttributes<HTMLDivElement>>;
75
36
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
76
37
  view: {
77
38
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -84,32 +45,8 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
84
45
  focused: {
85
46
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
86
47
  };
87
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
88
- size?: string | undefined;
89
- name?: string | undefined;
90
- url?: string | undefined;
91
- customText?: string | undefined;
92
- status?: "active" | "inactive" | undefined;
93
- isScalable?: boolean | undefined;
94
- focused?: boolean | undefined;
95
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
96
- hasExtra?: boolean | undefined;
97
- type?: "badge" | "counter" | undefined;
98
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
99
- } & {
100
- badgeView?: string | undefined;
101
- pilled?: boolean | undefined;
102
- text?: string | undefined;
103
- customColor?: string | undefined;
104
- customBackgroundColor?: string | undefined;
105
- contentLeft?: import("react").ReactNode;
106
- contentRight?: import("react").ReactNode;
107
- } & {
108
- counterView?: undefined;
109
- count?: undefined;
110
- maxCount?: undefined;
111
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
112
- size?: string | undefined;
48
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
49
+ size: "s" | "m" | "l" | "xxl" | "fit";
113
50
  name?: string | undefined;
114
51
  url?: string | undefined;
115
52
  customText?: string | undefined;
@@ -117,20 +54,5 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
117
54
  isScalable?: boolean | undefined;
118
55
  focused?: boolean | undefined;
119
56
  statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
120
- hasExtra?: boolean | undefined;
121
- type?: "badge" | "counter" | undefined;
122
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
123
- } & {
124
- counterView?: string | undefined;
125
- count?: number | undefined;
126
- maxCount?: number | undefined;
127
- } & {
128
- badgeView?: undefined;
129
- pilled?: undefined;
130
- text?: undefined;
131
- customColor?: undefined;
132
- customBackgroundColor?: undefined;
133
- contentLeft?: undefined;
134
- contentRight?: undefined;
135
- } & import("react").RefAttributes<HTMLDivElement>))>;
57
+ } & import("react").RefAttributes<HTMLDivElement>>;
136
58
  export { Avatar, mergedConfig };
@@ -31,10 +31,12 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
31
31
  } & {
32
32
  contentLeft?: import("react").ReactNode;
33
33
  contentRight?: undefined;
34
+ } & {
35
+ children?: import("react").ReactNode;
34
36
  } & {
35
37
  clear?: true | undefined;
36
- pilled?: undefined;
37
- transparent?: undefined;
38
+ pilled?: false | undefined;
39
+ transparent?: false | undefined;
38
40
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
39
41
  text?: string | undefined;
40
42
  customColor?: string | undefined;
@@ -46,9 +48,27 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
46
48
  contentLeft?: import("react").ReactNode;
47
49
  contentRight?: undefined;
48
50
  } & {
49
- pilled?: boolean | undefined;
51
+ children?: import("react").ReactNode;
52
+ } & {
53
+ pilled?: true | undefined;
50
54
  transparent?: boolean | undefined;
51
- clear?: undefined;
55
+ clear?: false | undefined;
56
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
57
+ text?: string | undefined;
58
+ customColor?: string | undefined;
59
+ customBackgroundColor?: string | undefined;
60
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
61
+ size?: string | undefined;
62
+ view?: string | undefined;
63
+ } & {
64
+ contentLeft?: import("react").ReactNode;
65
+ contentRight?: undefined;
66
+ } & {
67
+ children?: import("react").ReactNode;
68
+ } & {
69
+ pilled?: boolean | undefined;
70
+ transparent?: true | undefined;
71
+ clear?: false | undefined;
52
72
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
53
73
  text?: string | undefined;
54
74
  customColor?: string | undefined;
@@ -59,10 +79,12 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
59
79
  } & {
60
80
  contentLeft?: undefined;
61
81
  contentRight?: import("react").ReactNode;
82
+ } & {
83
+ children?: import("react").ReactNode;
62
84
  } & {
63
85
  clear?: true | undefined;
64
- pilled?: undefined;
65
- transparent?: undefined;
86
+ pilled?: false | undefined;
87
+ transparent?: false | undefined;
66
88
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
67
89
  text?: string | undefined;
68
90
  customColor?: string | undefined;
@@ -74,7 +96,25 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
74
96
  contentLeft?: undefined;
75
97
  contentRight?: import("react").ReactNode;
76
98
  } & {
77
- pilled?: boolean | undefined;
99
+ children?: import("react").ReactNode;
100
+ } & {
101
+ pilled?: true | undefined;
78
102
  transparent?: boolean | undefined;
79
- clear?: undefined;
103
+ clear?: false | undefined;
104
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
105
+ text?: string | undefined;
106
+ customColor?: string | undefined;
107
+ customBackgroundColor?: string | undefined;
108
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
109
+ size?: string | undefined;
110
+ view?: string | undefined;
111
+ } & {
112
+ contentLeft?: undefined;
113
+ contentRight?: import("react").ReactNode;
114
+ } & {
115
+ children?: import("react").ReactNode;
116
+ } & {
117
+ pilled?: boolean | undefined;
118
+ transparent?: true | undefined;
119
+ clear?: false | undefined;
80
120
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -12,4 +12,9 @@ export declare const Counter: import("react").FunctionComponent<import("@salutej
12
12
  size: {
13
13
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/Counter/Counter.types").CustomCounterProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
16
+ count: number;
17
+ maxCount?: number | undefined;
18
+ size?: string | undefined;
19
+ view?: string | undefined;
20
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -24,6 +24,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
24
24
  min?: number | undefined;
25
25
  max?: number | undefined;
26
26
  step?: number | undefined;
27
+ precision?: number | undefined;
27
28
  isLoading?: boolean | undefined;
28
29
  loader?: import("react").ReactNode;
29
30
  size?: string | undefined;
@@ -44,11 +45,12 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
44
45
  } & {
45
46
  segmentation?: "clear" | undefined;
46
47
  inputBackgroundType?: undefined;
47
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
48
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
48
49
  value?: number | undefined;
49
50
  min?: number | undefined;
50
51
  max?: number | undefined;
51
52
  step?: number | undefined;
53
+ precision?: number | undefined;
52
54
  isLoading?: boolean | undefined;
53
55
  loader?: import("react").ReactNode;
54
56
  size?: string | undefined;
@@ -69,4 +71,4 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
69
71
  } & {
70
72
  segmentation?: string | undefined;
71
73
  inputBackgroundType?: string | undefined;
72
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
74
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.228.0-canary.1696.12711678920.0",
3
+ "version": "0.228.0-canary.1699.12742131493.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@
52
52
  "directory": "packages/sdds-cs"
53
53
  },
54
54
  "dependencies": {
55
- "@salutejs/plasma-new-hope": "0.239.0-canary.1696.12711678920.0",
55
+ "@salutejs/plasma-new-hope": "0.239.0-canary.1699.12742131493.0",
56
56
  "@salutejs/sdds-themes": "0.31.0"
57
57
  },
58
58
  "peerDependencies": {
@@ -144,5 +144,5 @@
144
144
  "Anton Vinogradov"
145
145
  ],
146
146
  "sideEffects": false,
147
- "gitHead": "79465aa968c16930ab25c6c4f4c2cdecac1ed813"
147
+ "gitHead": "c3741cc3651146374ae4564cce5d5fddfb0b5941"
148
148
  }