@salutejs/sdds-cs 0.247.0-canary.1738.13152664719.0 → 0.247.0-canary.1749.13151026394.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,8 +61,7 @@ import { ColCount } from '@salutejs/plasma-new-hope/styled-components';
61
61
  import { ColOffsetProps } from '@salutejs/plasma-new-hope/styled-components';
62
62
  import { ColProps } from '@salutejs/plasma-new-hope/styled-components';
63
63
  import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
64
- import { ItemOption as ComboboxItemOption } from '@salutejs/plasma-new-hope';
65
- import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
64
+ import type { ComboboxProps } from '@salutejs/plasma-new-hope';
66
65
  import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
67
66
  import { ComponentProps } from 'react';
68
67
  import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -95,7 +94,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
95
94
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
96
95
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
97
96
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
98
- import { DropdownItemOption } from '@salutejs/plasma-new-hope';
97
+ import type { DropdownItemOption } from '@salutejs/plasma-new-hope';
99
98
  import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
100
99
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
101
100
  import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
@@ -136,6 +135,8 @@ import { ImgHTMLAttributes } from 'react';
136
135
  import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
137
136
  import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
138
137
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
138
+ import type { ItemOption } from '@salutejs/plasma-new-hope';
139
+ import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
139
140
  import { JSXElementConstructor } from 'react';
140
141
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
141
142
  import { LabelProps } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -172,7 +173,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
172
173
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
173
174
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
174
175
  import { Property } from 'csstype';
175
- import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
176
+ import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
176
177
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
177
178
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
178
179
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -194,7 +195,6 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
194
195
  import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
195
196
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
196
197
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
197
- import { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
198
198
  import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
199
199
  import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
200
200
  import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
@@ -1281,16 +1281,10 @@ export { ColProps }
1281
1281
 
1282
1282
  export { ColSizeProps }
1283
1283
 
1284
- // @public (undocumented)
1285
- export const Combobox: <T extends ComboboxItemOption>(props: ComboboxProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1286
-
1287
- export { ComboboxItemOption }
1288
-
1289
- // Warning: (ae-forgotten-export) The symbol "PropsFromConfig" needs to be exported by the entry point index.d.ts
1290
- // Warning: (ae-forgotten-export) The symbol "ComboboxNew" needs to be exported by the entry point index.d.ts
1284
+ // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
1291
1285
  //
1292
1286
  // @public (undocumented)
1293
- export type ComboboxProps<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps_2<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1287
+ export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1294
1288
 
1295
1289
  // @public
1296
1290
  export const Counter: FunctionComponent<PropsType< {
@@ -1540,13 +1534,6 @@ default: PolymorphicClassName;
1540
1534
  hoverIndex?: number | undefined;
1541
1535
  } & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "size" | "view"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1542
1536
 
1543
- export { DropdownItemOption }
1544
-
1545
- // Warning: (ae-forgotten-export) The symbol "DropdownNewHope" needs to be exported by the entry point index.d.ts
1546
- //
1547
- // @public (undocumented)
1548
- export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
1549
-
1550
1537
  // @public (undocumented)
1551
1538
  export const Dropzone: FunctionComponent<PropsType< {
1552
1539
  view: {
@@ -1633,7 +1620,7 @@ m: PolymorphicClassName;
1633
1620
  s: PolymorphicClassName;
1634
1621
  xs: PolymorphicClassName;
1635
1622
  };
1636
- }> & Props & RefAttributes<HTMLDivElement>>;
1623
+ }> & Props_2 & RefAttributes<HTMLDivElement>>;
1637
1624
 
1638
1625
  // @public (undocumented)
1639
1626
  export const Flow: FunctionComponent<PropsType< {}> & FlowProps & {
@@ -2819,15 +2806,10 @@ export { SegmentProvider }
2819
2806
 
2820
2807
  export { SegmentProviderProps }
2821
2808
 
2822
- // @public (undocumented)
2823
- export const Select: <K extends SelectItemOption>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
2824
-
2825
- export { SelectItemOption }
2826
-
2827
- // Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
2809
+ // Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
2828
2810
  //
2829
2811
  // @public (undocumented)
2830
- export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectProps_2<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
2812
+ export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
2831
2813
 
2832
2814
  // @public
2833
2815
  export const Sheet: FunctionComponent<PropsType< {
@@ -1149,6 +1149,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1149
1149
  hintContentLeft?: undefined;
1150
1150
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1151
1151
  declare type PropsFromConfig = keyof typeof config['variations'];
1152
- export declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1152
+ declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1153
1153
  declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
1154
1154
  export { Combobox };
@@ -1,3 +1 @@
1
1
  export { Combobox } from './Combobox';
2
- export type { Props as ComboboxProps } from './Combobox';
3
- export type { ItemOption as ComboboxItemOption } from '@salutejs/plasma-new-hope';
@@ -1,41 +1,5 @@
1
1
  import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
2
- import React, { ComponentProps } from 'react';
3
- declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
4
- size: {
5
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
6
- };
7
- view: {
8
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
- };
10
- }> & {
11
- items: DropdownItemOption[];
12
- alwaysOpened?: boolean | undefined;
13
- children?: React.ReactNode;
14
- itemRole?: string | undefined;
15
- onHover?: ((index: number) => void) | undefined;
16
- onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
17
- trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
18
- placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
19
- offset?: [number, number] | undefined;
20
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
21
- hasArrow?: boolean | undefined;
22
- closeOnSelect?: boolean | undefined;
23
- closeOnOverlayClick?: boolean | undefined;
24
- onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
25
- size?: string | undefined;
26
- view?: string | undefined;
27
- variant?: "normal" | "tight" | undefined;
28
- portal?: string | React.RefObject<HTMLElement> | undefined;
29
- renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
30
- zIndex?: import("csstype").Property.ZIndex | undefined;
31
- beforeList?: React.ReactNode;
32
- afterList?: React.ReactNode;
33
- onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
34
- listOverflow?: import("csstype").Property.Overflow | undefined;
35
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
36
- hoverIndex?: number | undefined;
37
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
38
- export declare type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
2
+ import React from 'react';
39
3
  declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
40
4
  size: {
41
5
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -1,3 +1 @@
1
1
  export { Dropdown } from './Dropdown';
2
- export type { DropdownProps } from './Dropdown';
3
- export type { DropdownItemOption } from '@salutejs/plasma-new-hope';
@@ -307,6 +307,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
307
307
  hasItems?: boolean | undefined;
308
308
  isOpen?: boolean | undefined;
309
309
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
310
- export declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
310
+ declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
311
311
  declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
312
312
  export { Select };
@@ -1,3 +1 @@
1
1
  export { Select } from './Select';
2
- export type { SelectProps } from './Select';
3
- export type { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.247.0-canary.1738.13152664719.0",
3
+ "version": "0.247.0-canary.1749.13151026394.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",
@@ -30,7 +30,7 @@
30
30
  "directory": "packages/sdds-cs"
31
31
  },
32
32
  "dependencies": {
33
- "@salutejs/plasma-new-hope": "0.258.0-canary.1738.13152664719.0",
33
+ "@salutejs/plasma-new-hope": "0.257.0-dev.0",
34
34
  "@salutejs/sdds-themes": "0.31.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -56,7 +56,7 @@
56
56
  "@salutejs/plasma-colors": "0.14.0",
57
57
  "@salutejs/plasma-core": "1.191.0",
58
58
  "@salutejs/plasma-cy-utils": "0.122.0",
59
- "@salutejs/plasma-icons": "1.210.1-dev.0",
59
+ "@salutejs/plasma-icons": "1.211.0-canary.1749.13151026394.0",
60
60
  "@salutejs/plasma-sb-utils": "0.191.0",
61
61
  "@storybook/addon-docs": "7.6.17",
62
62
  "@storybook/addon-essentials": "7.6.17",
@@ -123,5 +123,5 @@
123
123
  "Anton Vinogradov"
124
124
  ],
125
125
  "sideEffects": false,
126
- "gitHead": "ca5468cb753fcbbbd3a0bae0cb32a882ad9974d0"
126
+ "gitHead": "3655e42ed2d6f598889648b69c349a1c71bb3979"
127
127
  }