@salutejs/sdds-finportal 0.168.0-canary.1562.11851866538.0 → 0.168.0-canary.1563.11854006780.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -92,10 +92,8 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
92
92
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
93
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
94
94
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
|
-
import { DropdownItemOption } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
-
import {
|
98
|
-
import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
96
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
99
97
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
100
98
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
101
99
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -1251,31 +1249,7 @@ xs: PolymorphicClassName;
|
|
1251
1249
|
view: {
|
1252
1250
|
default: PolymorphicClassName;
|
1253
1251
|
};
|
1254
|
-
}> &
|
1255
|
-
items: DropdownItemOption[];
|
1256
|
-
alwaysOpened?: boolean | undefined;
|
1257
|
-
children?: ReactNode;
|
1258
|
-
itemRole?: string | undefined;
|
1259
|
-
onHover?: ((index: number) => void) | undefined;
|
1260
|
-
onItemSelect?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
|
1261
|
-
trigger?: DropdownTrigger | undefined;
|
1262
|
-
placement?: DropdownPlacement | undefined;
|
1263
|
-
offset?: [number, number] | undefined;
|
1264
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1265
|
-
hasArrow?: boolean | undefined;
|
1266
|
-
closeOnSelect?: boolean | undefined;
|
1267
|
-
closeOnOverlayClick?: boolean | undefined;
|
1268
|
-
onToggle?: ((isOpen: boolean, event: Event | SyntheticEvent<Element, Event>) => void) | undefined;
|
1269
|
-
size?: string | undefined;
|
1270
|
-
view?: string | undefined;
|
1271
|
-
variant?: "normal" | "tight" | undefined;
|
1272
|
-
portal?: string | RefObject<HTMLElement> | undefined;
|
1273
|
-
renderItem?: ((item: DropdownItemOption) => ReactNode) | undefined;
|
1274
|
-
onItemClick?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
|
1275
|
-
listOverflow?: Property.Overflow | undefined;
|
1276
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1277
|
-
hoverIndex?: number | undefined;
|
1278
|
-
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
1252
|
+
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1279
1253
|
|
1280
1254
|
// @public (undocumented)
|
1281
1255
|
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-finportal",
|
3
|
-
"version": "0.168.0-canary.
|
3
|
+
"version": "0.168.0-canary.1563.11854006780.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal 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-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "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.
|
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",
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "b037b3c50067af911004b6895f4f9b97405a5fa9"
|
98
98
|
}
|
@@ -92,10 +92,8 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
92
92
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
93
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
94
94
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
|
-
import { DropdownItemOption } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
-
import {
|
98
|
-
import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
96
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
99
97
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
100
98
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
101
99
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -1251,31 +1249,7 @@ xs: PolymorphicClassName;
|
|
1251
1249
|
view: {
|
1252
1250
|
default: PolymorphicClassName;
|
1253
1251
|
};
|
1254
|
-
}> &
|
1255
|
-
items: DropdownItemOption[];
|
1256
|
-
alwaysOpened?: boolean | undefined;
|
1257
|
-
children?: ReactNode;
|
1258
|
-
itemRole?: string | undefined;
|
1259
|
-
onHover?: ((index: number) => void) | undefined;
|
1260
|
-
onItemSelect?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
|
1261
|
-
trigger?: DropdownTrigger | undefined;
|
1262
|
-
placement?: DropdownPlacement | undefined;
|
1263
|
-
offset?: [number, number] | undefined;
|
1264
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1265
|
-
hasArrow?: boolean | undefined;
|
1266
|
-
closeOnSelect?: boolean | undefined;
|
1267
|
-
closeOnOverlayClick?: boolean | undefined;
|
1268
|
-
onToggle?: ((isOpen: boolean, event: Event | SyntheticEvent<Element, Event>) => void) | undefined;
|
1269
|
-
size?: string | undefined;
|
1270
|
-
view?: string | undefined;
|
1271
|
-
variant?: "normal" | "tight" | undefined;
|
1272
|
-
portal?: string | RefObject<HTMLElement> | undefined;
|
1273
|
-
renderItem?: ((item: DropdownItemOption) => ReactNode) | undefined;
|
1274
|
-
onItemClick?: ((item: DropdownItemOption, event: SyntheticEvent<Element, Event>) => void) | undefined;
|
1275
|
-
listOverflow?: Property.Overflow | undefined;
|
1276
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1277
|
-
hoverIndex?: number | undefined;
|
1278
|
-
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
1252
|
+
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1279
1253
|
|
1280
1254
|
// @public (undocumented)
|
1281
1255
|
export const DsplL: FunctionComponent<PropsType< {
|