@salutejs/sdds-dfa 0.174.0-canary.1562.11851866538.0 → 0.174.0-canary.1563.11854006780.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -88,10 +88,8 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
88
88
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
89
89
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
90
90
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
91
- import { DropdownItemOption } from '@salutejs/plasma-new-hope/styled-components';
92
91
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
93
- import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
94
- import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
92
+ import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
95
93
  import { dsplL } from '@salutejs/sdds-themes/tokens';
96
94
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
97
95
  import { dsplM } from '@salutejs/sdds-themes/tokens';
@@ -1200,31 +1198,7 @@ xs: PolymorphicClassName;
1200
1198
  view: {
1201
1199
  default: PolymorphicClassName;
1202
1200
  };
1203
- }> & {
1204
- items: DropdownItemOption[];
1205
- alwaysOpened?: boolean | undefined;
1206
- children?: ReactNode;
1207
- itemRole?: string | undefined;
1208
- onHover?: ((index: number) => void) | undefined;
1209
- onItemSelect?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
1210
- trigger?: DropdownTrigger | undefined;
1211
- placement?: DropdownPlacement | undefined;
1212
- offset?: [number, number] | undefined;
1213
- listWidth?: Property.Width<string | number> | undefined;
1214
- hasArrow?: boolean | undefined;
1215
- closeOnSelect?: boolean | undefined;
1216
- closeOnOverlayClick?: boolean | undefined;
1217
- onToggle?: ((isOpen: boolean, event: Event | SyntheticEvent<Element, Event>) => void) | undefined;
1218
- size?: string | undefined;
1219
- view?: string | undefined;
1220
- variant?: "normal" | "tight" | undefined;
1221
- portal?: string | RefObject<HTMLElement> | undefined;
1222
- renderItem?: ((item: DropdownItemOption) => ReactNode) | undefined;
1223
- onItemClick?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
1224
- listOverflow?: Property.Overflow | undefined;
1225
- listHeight?: Property.Height<string | number> | undefined;
1226
- hoverIndex?: number | undefined;
1227
- } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
1201
+ }> & DropdownProps & RefAttributes<HTMLDivElement>>;
1228
1202
 
1229
1203
  // @public (undocumented)
1230
1204
  export const DsplL: FunctionComponent<PropsType< {
@@ -9,29 +9,5 @@ declare const Dropdown: import("react").FunctionComponent<import("@salutejs/plas
9
9
  view: {
10
10
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
11
  };
12
- }> & {
13
- items: import("@salutejs/plasma-new-hope/styled-components").DropdownItemOption[];
14
- alwaysOpened?: boolean | undefined;
15
- children?: import("react").ReactNode;
16
- itemRole?: string | undefined;
17
- onHover?: ((index: number) => void) | undefined;
18
- onItemSelect?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
19
- trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
20
- placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
21
- offset?: [number, number] | undefined;
22
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
23
- hasArrow?: boolean | undefined;
24
- closeOnSelect?: boolean | undefined;
25
- closeOnOverlayClick?: boolean | undefined;
26
- onToggle?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
27
- size?: string | undefined;
28
- view?: string | undefined;
29
- variant?: "normal" | "tight" | undefined;
30
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
31
- renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownItemOption) => import("react").ReactNode) | undefined;
32
- onItemClick?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
33
- listOverflow?: import("csstype").Property.Overflow | undefined;
34
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
35
- hoverIndex?: number | undefined;
36
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
12
+ }> & import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
37
13
  export { Dropdown };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-dfa",
3
- "version": "0.174.0-canary.1562.11851866538.0",
3
+ "version": "0.174.0-canary.1563.11854006780.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS DFA web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-dfa"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.194.0-canary.1562.11851866538.0",
22
+ "@salutejs/plasma-new-hope": "0.193.0",
23
23
  "@salutejs/sdds-themes": "0.27.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -39,7 +39,7 @@
39
39
  "@salutejs/plasma-colors": "0.13.0",
40
40
  "@salutejs/plasma-core": "1.186.0",
41
41
  "@salutejs/plasma-cy-utils": "0.117.0",
42
- "@salutejs/plasma-icons": "1.208.0",
42
+ "@salutejs/plasma-icons": "1.209.0-canary.1563.11854006780.0",
43
43
  "@salutejs/plasma-sb-utils": "0.184.0",
44
44
  "@storybook/addon-docs": "7.6.17",
45
45
  "@storybook/addon-essentials": "7.6.17",
@@ -95,5 +95,5 @@
95
95
  "Anton Vinogradov"
96
96
  ],
97
97
  "sideEffects": false,
98
- "gitHead": "31a26f7b2e4fdc07bee9b216f1d201b67be3a85b"
98
+ "gitHead": "b037b3c50067af911004b6895f4f9b97405a5fa9"
99
99
  }
@@ -88,10 +88,8 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
88
88
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
89
89
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
90
90
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
91
- import { DropdownItemOption } from '@salutejs/plasma-new-hope/styled-components';
92
91
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
93
- import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
94
- import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
92
+ import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
95
93
  import { dsplL } from '@salutejs/sdds-themes/tokens';
96
94
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
97
95
  import { dsplM } from '@salutejs/sdds-themes/tokens';
@@ -1200,31 +1198,7 @@ xs: PolymorphicClassName;
1200
1198
  view: {
1201
1199
  default: PolymorphicClassName;
1202
1200
  };
1203
- }> & {
1204
- items: DropdownItemOption[];
1205
- alwaysOpened?: boolean | undefined;
1206
- children?: ReactNode;
1207
- itemRole?: string | undefined;
1208
- onHover?: ((index: number) => void) | undefined;
1209
- onItemSelect?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
1210
- trigger?: DropdownTrigger | undefined;
1211
- placement?: DropdownPlacement | undefined;
1212
- offset?: [number, number] | undefined;
1213
- listWidth?: Property.Width<string | number> | undefined;
1214
- hasArrow?: boolean | undefined;
1215
- closeOnSelect?: boolean | undefined;
1216
- closeOnOverlayClick?: boolean | undefined;
1217
- onToggle?: ((isOpen: boolean, event: Event | SyntheticEvent<Element, Event>) => void) | undefined;
1218
- size?: string | undefined;
1219
- view?: string | undefined;
1220
- variant?: "normal" | "tight" | undefined;
1221
- portal?: string | RefObject<HTMLElement> | undefined;
1222
- renderItem?: ((item: DropdownItemOption) => ReactNode) | undefined;
1223
- onItemClick?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
1224
- listOverflow?: Property.Overflow | undefined;
1225
- listHeight?: Property.Height<string | number> | undefined;
1226
- hoverIndex?: number | undefined;
1227
- } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
1201
+ }> & DropdownProps & RefAttributes<HTMLDivElement>>;
1228
1202
 
1229
1203
  // @public (undocumented)
1230
1204
  export const DsplL: FunctionComponent<PropsType< {