@salutejs/sdds-finportal 0.225.2-canary.1731.13045847317.0 → 0.225.2-canary.1732.13046307319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
94
94
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
95
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
96
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
-
import
|
97
|
+
import { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
98
98
|
import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
|
99
99
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
100
100
|
import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
@@ -136,7 +136,6 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
136
136
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
137
137
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
138
138
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
139
|
-
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
140
139
|
import { JSXElementConstructor } from 'react';
|
141
140
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
142
141
|
import { LabelProps } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
@@ -198,6 +197,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
198
197
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
199
198
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
200
199
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
200
|
+
import { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
|
201
201
|
import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
202
202
|
import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
203
203
|
import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
|
@@ -1662,6 +1662,13 @@ default: PolymorphicClassName;
|
|
1662
1662
|
hoverIndex?: number | undefined;
|
1663
1663
|
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "size" | "view"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
1664
1664
|
|
1665
|
+
export { DropdownItemOption }
|
1666
|
+
|
1667
|
+
// Warning: (ae-forgotten-export) The symbol "DropdownNewHope" needs to be exported by the entry point index.d.ts
|
1668
|
+
//
|
1669
|
+
// @public (undocumented)
|
1670
|
+
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
1671
|
+
|
1665
1672
|
// @public (undocumented)
|
1666
1673
|
export const Dropzone: FunctionComponent<PropsType< {
|
1667
1674
|
view: {
|
@@ -3125,10 +3132,15 @@ export { SegmentProvider }
|
|
3125
3132
|
|
3126
3133
|
export { SegmentProviderProps }
|
3127
3134
|
|
3128
|
-
//
|
3135
|
+
// @public (undocumented)
|
3136
|
+
export const Select: <K extends SelectItemOption>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3137
|
+
|
3138
|
+
export { SelectItemOption }
|
3139
|
+
|
3140
|
+
// Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
|
3129
3141
|
//
|
3130
3142
|
// @public (undocumented)
|
3131
|
-
export
|
3143
|
+
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectProps_2<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
3132
3144
|
|
3133
3145
|
// @public
|
3134
3146
|
export const Sheet: FunctionComponent<PropsType< {
|
@@ -1,5 +1,44 @@
|
|
1
1
|
import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
|
2
|
-
import React from 'react';
|
2
|
+
import React, { ComponentProps } from 'react';
|
3
|
+
declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
};
|
10
|
+
view: {
|
11
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
};
|
13
|
+
}> & {
|
14
|
+
items: DropdownItemOption[];
|
15
|
+
alwaysOpened?: boolean | undefined;
|
16
|
+
children?: React.ReactNode;
|
17
|
+
itemRole?: string | undefined;
|
18
|
+
onHover?: ((index: number) => void) | undefined;
|
19
|
+
onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
20
|
+
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
|
21
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
|
22
|
+
offset?: [number, number] | undefined;
|
23
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
24
|
+
hasArrow?: boolean | undefined;
|
25
|
+
closeOnSelect?: boolean | undefined;
|
26
|
+
closeOnOverlayClick?: boolean | undefined;
|
27
|
+
onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
|
28
|
+
size?: string | undefined;
|
29
|
+
view?: string | undefined;
|
30
|
+
variant?: "normal" | "tight" | undefined;
|
31
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
32
|
+
renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
|
33
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
34
|
+
beforeList?: React.ReactNode;
|
35
|
+
afterList?: React.ReactNode;
|
36
|
+
onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
37
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
38
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
39
|
+
hoverIndex?: number | undefined;
|
40
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
41
|
+
export declare type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
3
42
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
43
|
size: {
|
5
44
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -327,6 +327,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
327
327
|
hasItems?: boolean | undefined;
|
328
328
|
isOpen?: boolean | undefined;
|
329
329
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
330
|
-
declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
330
|
+
export declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
331
331
|
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
332
332
|
export { Select };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.225.2-canary.
|
3
|
+
"version": "0.225.2-canary.1732.13046307319.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",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"@salutejs/plasma-colors": "0.14.0",
|
40
40
|
"@salutejs/plasma-core": "1.191.0",
|
41
41
|
"@salutejs/plasma-cy-utils": "0.122.0",
|
42
|
-
"@salutejs/plasma-icons": "1.210.
|
42
|
+
"@salutejs/plasma-icons": "1.210.0",
|
43
43
|
"@salutejs/plasma-sb-utils": "0.191.0",
|
44
44
|
"@storybook/addon-docs": "7.6.17",
|
45
45
|
"@storybook/addon-essentials": "7.6.17",
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Vasiliy Loginevskiy"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "986496e64b2373769ed02d341e703820d58dd4ac"
|
99
99
|
}
|
@@ -94,7 +94,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
94
94
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
95
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
96
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
-
import
|
97
|
+
import { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
98
98
|
import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
|
99
99
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
100
100
|
import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
@@ -136,7 +136,6 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
136
136
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
137
137
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
138
138
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
139
|
-
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
140
139
|
import { JSXElementConstructor } from 'react';
|
141
140
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
142
141
|
import { LabelProps } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
@@ -198,6 +197,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
198
197
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
199
198
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
200
199
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
200
|
+
import { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
|
201
201
|
import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
202
202
|
import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
203
203
|
import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
|
@@ -1662,6 +1662,13 @@ default: PolymorphicClassName;
|
|
1662
1662
|
hoverIndex?: number | undefined;
|
1663
1663
|
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "size" | "view"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
1664
1664
|
|
1665
|
+
export { DropdownItemOption }
|
1666
|
+
|
1667
|
+
// Warning: (ae-forgotten-export) The symbol "DropdownNewHope" needs to be exported by the entry point index.d.ts
|
1668
|
+
//
|
1669
|
+
// @public (undocumented)
|
1670
|
+
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
1671
|
+
|
1665
1672
|
// @public (undocumented)
|
1666
1673
|
export const Dropzone: FunctionComponent<PropsType< {
|
1667
1674
|
view: {
|
@@ -3125,10 +3132,15 @@ export { SegmentProvider }
|
|
3125
3132
|
|
3126
3133
|
export { SegmentProviderProps }
|
3127
3134
|
|
3128
|
-
//
|
3135
|
+
// @public (undocumented)
|
3136
|
+
export const Select: <K extends SelectItemOption>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3137
|
+
|
3138
|
+
export { SelectItemOption }
|
3139
|
+
|
3140
|
+
// Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
|
3129
3141
|
//
|
3130
3142
|
// @public (undocumented)
|
3131
|
-
export
|
3143
|
+
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectProps_2<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
3132
3144
|
|
3133
3145
|
// @public
|
3134
3146
|
export const Sheet: FunctionComponent<PropsType< {
|