@salutejs/plasma-web 1.497.1-canary.1701.12826370058.0 → 1.498.0-canary.1709.12826458776.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -214,6 +214,7 @@ import { PaginationProps } from '@salutejs/plasma-new-hope/styled-components';
214
214
  import { PanelProps } from '@salutejs/plasma-new-hope/types/components/Panel';
215
215
  import { PickOptional } from '@salutejs/plasma-core';
216
216
  import { PinProps } from '@salutejs/plasma-core';
217
+ import { Placement } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
217
218
  import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
218
219
  import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
219
220
  import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
@@ -270,6 +271,8 @@ import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
270
271
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
271
272
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
272
273
  import { SelectGroup } from '@salutejs/plasma-hope';
274
+ import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
275
+ import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
273
276
  import { MergedSelectProps as SelectProps } from '@salutejs/plasma-new-hope/styled-components';
274
277
  import { SelectProps as SelectPropsHope } from '@salutejs/plasma-hope';
275
278
  import { selectText } from '@salutejs/plasma-hope';
@@ -28,7 +28,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
28
28
  };
29
29
  }> & (({
30
30
  items: ItemOption[];
31
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
31
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
32
32
  placeholder?: string | undefined;
33
33
  helperText?: string | undefined;
34
34
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -63,7 +63,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
63
63
  renderValue?: undefined;
64
64
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
65
65
  items: ItemOption[];
66
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
66
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
67
67
  placeholder?: string | undefined;
68
68
  helperText?: string | undefined;
69
69
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -98,7 +98,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
98
98
  renderValue?: undefined;
99
99
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
100
100
  items: ItemOption[];
101
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
101
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
102
102
  placeholder?: string | undefined;
103
103
  helperText?: string | undefined;
104
104
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -133,7 +133,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
133
133
  renderValue?: ((item: ItemOption) => string) | undefined;
134
134
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
135
135
  items: ItemOption[];
136
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
136
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
137
137
  placeholder?: string | undefined;
138
138
  helperText?: string | undefined;
139
139
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -168,7 +168,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
168
168
  renderValue?: ((item: ItemOption) => string) | undefined;
169
169
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
170
170
  items: ItemOption[];
171
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
171
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
172
172
  placeholder?: string | undefined;
173
173
  helperText?: string | undefined;
174
174
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -203,7 +203,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
203
203
  renderValue?: undefined;
204
204
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
205
205
  items: ItemOption[];
206
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
206
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
207
207
  placeholder?: string | undefined;
208
208
  helperText?: string | undefined;
209
209
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -238,7 +238,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
238
238
  renderValue?: undefined;
239
239
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
240
240
  items: ItemOption[];
241
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
241
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
242
242
  placeholder?: string | undefined;
243
243
  helperText?: string | undefined;
244
244
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -273,7 +273,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
273
273
  renderValue?: ((item: ItemOption) => string) | undefined;
274
274
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
275
275
  items: ItemOption[];
276
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
276
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
277
277
  placeholder?: string | undefined;
278
278
  helperText?: string | undefined;
279
279
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -308,7 +308,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
308
308
  renderValue?: ((item: ItemOption) => string) | undefined;
309
309
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
310
310
  items: ItemOption[];
311
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
311
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
312
312
  placeholder?: string | undefined;
313
313
  helperText?: string | undefined;
314
314
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -343,7 +343,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
343
343
  renderValue?: undefined;
344
344
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
345
345
  items: ItemOption[];
346
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
346
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
347
347
  placeholder?: string | undefined;
348
348
  helperText?: string | undefined;
349
349
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -378,7 +378,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
378
378
  renderValue?: undefined;
379
379
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
380
380
  items: ItemOption[];
381
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
381
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
382
382
  placeholder?: string | undefined;
383
383
  helperText?: string | undefined;
384
384
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -413,7 +413,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
413
413
  renderValue?: ((item: ItemOption) => string) | undefined;
414
414
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
415
415
  items: ItemOption[];
416
- placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
416
+ placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
417
417
  placeholder?: string | undefined;
418
418
  helperText?: string | undefined;
419
419
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -54,7 +54,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
54
54
  children?: undefined;
55
55
  isTargetAmount?: boolean | undefined;
56
56
  renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React.ReactNode) | undefined;
57
- placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
57
+ placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic[] | undefined;
58
58
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
59
59
  variant?: "normal" | "tight" | undefined;
60
60
  zIndex?: import("csstype").Property.ZIndex | undefined;
@@ -94,7 +94,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
94
94
  children?: undefined;
95
95
  isTargetAmount?: boolean | undefined;
96
96
  renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React.ReactNode) | undefined;
97
- placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
97
+ placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic[] | undefined;
98
98
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
99
99
  variant?: "normal" | "tight" | undefined;
100
100
  zIndex?: import("csstype").Property.ZIndex | undefined;
@@ -134,7 +134,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
134
134
  children?: undefined;
135
135
  isTargetAmount?: boolean | undefined;
136
136
  renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React.ReactNode) | undefined;
137
- placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
137
+ placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic[] | undefined;
138
138
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
139
139
  variant?: "normal" | "tight" | undefined;
140
140
  zIndex?: import("csstype").Property.ZIndex | undefined;
@@ -174,7 +174,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
174
174
  children?: undefined;
175
175
  isTargetAmount?: boolean | undefined;
176
176
  renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React.ReactNode) | undefined;
177
- placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
177
+ placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic[] | undefined;
178
178
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
179
179
  variant?: "normal" | "tight" | undefined;
180
180
  zIndex?: import("csstype").Property.ZIndex | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.497.1-canary.1701.12826370058.0",
3
+ "version": "1.498.0-canary.1709.12826458776.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.191.0-dev.0",
23
23
  "@salutejs/plasma-hope": "1.328.1-dev.0",
24
- "@salutejs/plasma-new-hope": "0.241.1-canary.1701.12826370058.0",
24
+ "@salutejs/plasma-new-hope": "0.242.0-canary.1709.12826458776.0",
25
25
  "@salutejs/plasma-themes": "0.28.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.45.0-dev.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.56.0-dev.0",
@@ -111,5 +111,5 @@
111
111
  "Fanil Zubairov"
112
112
  ],
113
113
  "sideEffects": false,
114
- "gitHead": "b2d7178409fdec1678b4da9fa415c1273da54684"
114
+ "gitHead": "6cdd04b6c6123b2dee1d7c75ad4a1ba7dcab5123"
115
115
  }
@@ -214,6 +214,7 @@ import { PaginationProps } from '@salutejs/plasma-new-hope/styled-components';
214
214
  import { PanelProps } from '@salutejs/plasma-new-hope/types/components/Panel';
215
215
  import { PickOptional } from '@salutejs/plasma-core';
216
216
  import { PinProps } from '@salutejs/plasma-core';
217
+ import { Placement } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
217
218
  import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
218
219
  import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
219
220
  import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
@@ -270,6 +271,8 @@ import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
270
271
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
271
272
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
272
273
  import { SelectGroup } from '@salutejs/plasma-hope';
274
+ import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
275
+ import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
273
276
  import { MergedSelectProps as SelectProps } from '@salutejs/plasma-new-hope/styled-components';
274
277
  import { SelectProps as SelectPropsHope } from '@salutejs/plasma-hope';
275
278
  import { selectText } from '@salutejs/plasma-hope';