@salutejs/sdds-finportal 0.225.2-canary.1732.13046307319.0 → 0.226.0-canary.1719.12951148116.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.
- package/api/sdds-finportal.api.md +6 -16
- package/components/Dropdown/Dropdown.d.ts +1 -40
- package/components/Dropdown/index.d.ts +0 -2
- package/components/Select/Select.d.ts +1 -1
- package/components/Select/index.d.ts +0 -2
- package/components/Toast/Toast.config.d.ts +10 -0
- package/components/Toast/Toast.config.js +16 -6
- package/components/Toast/Toast.d.ts +2 -0
- package/es/components/Toast/Toast.config.js +16 -6
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +6 -16
- package/components/Divider/Divider.config.draft.d.ts +0 -22
- package/components/Divider/Divider.config.draft.js +0 -31
- package/es/components/Divider/Divider.config.draft.js +0 -25
@@ -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 { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
97
|
+
import type { 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,6 +136,7 @@ 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';
|
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';
|
@@ -197,7 +198,6 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
197
198
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
198
199
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
199
200
|
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,13 +1662,6 @@ 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
|
-
|
1672
1665
|
// @public (undocumented)
|
1673
1666
|
export const Dropzone: FunctionComponent<PropsType< {
|
1674
1667
|
view: {
|
@@ -3132,15 +3125,10 @@ export { SegmentProvider }
|
|
3132
3125
|
|
3133
3126
|
export { SegmentProviderProps }
|
3134
3127
|
|
3135
|
-
//
|
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
|
3128
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3141
3129
|
//
|
3142
3130
|
// @public (undocumented)
|
3143
|
-
export
|
3131
|
+
export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3144
3132
|
|
3145
3133
|
// @public
|
3146
3134
|
export const Sheet: FunctionComponent<PropsType< {
|
@@ -4265,6 +4253,8 @@ export { textXSBold }
|
|
4265
4253
|
export const Toast: FunctionComponent<PropsType< {
|
4266
4254
|
view: {
|
4267
4255
|
default: PolymorphicClassName;
|
4256
|
+
positive: PolymorphicClassName;
|
4257
|
+
negative: PolymorphicClassName;
|
4268
4258
|
dark: PolymorphicClassName;
|
4269
4259
|
light: PolymorphicClassName;
|
4270
4260
|
};
|
@@ -1,44 +1,5 @@
|
|
1
1
|
import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
|
2
|
-
import 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'>;
|
2
|
+
import React from 'react';
|
42
3
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
43
4
|
size: {
|
44
5
|
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
|
-
|
330
|
+
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 };
|
@@ -7,7 +7,17 @@ export declare const config: {
|
|
7
7
|
variations: {
|
8
8
|
view: {
|
9
9
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
/**
|
13
|
+
* @deprecated
|
14
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
15
|
+
*/
|
10
16
|
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
/**
|
18
|
+
* @deprecated
|
19
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
20
|
+
*/
|
11
21
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
22
|
};
|
13
23
|
size: {
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.config = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
9
9
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
@@ -16,17 +16,27 @@ var config = exports.config = {
|
|
16
16
|
variations: {
|
17
17
|
view: {
|
18
18
|
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), _styledComponents.toastTokens.color, _styledComponents.toastTokens.background, _styledComponents.toastTokens.closeIconColor, _styledComponents.toastTokens.closeIconColorOnHover),
|
19
|
-
|
20
|
-
|
19
|
+
positive: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n ", ": var(--text-positive);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), _styledComponents.toastTokens.color, _styledComponents.toastTokens.background, _styledComponents.toastTokens.contentLeftColor, _styledComponents.toastTokens.closeIconColor, _styledComponents.toastTokens.closeIconColorOnHover),
|
20
|
+
negative: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n ", ": var(--text-negative);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), _styledComponents.toastTokens.color, _styledComponents.toastTokens.background, _styledComponents.toastTokens.contentLeftColor, _styledComponents.toastTokens.closeIconColor, _styledComponents.toastTokens.closeIconColorOnHover),
|
21
|
+
/**
|
22
|
+
* @deprecated
|
23
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
24
|
+
*/
|
25
|
+
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-surface-solid-primary-brightness);\n\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary);\n "])), _styledComponents.toastTokens.color, _styledComponents.toastTokens.background, _styledComponents.toastTokens.closeIconColor, _styledComponents.toastTokens.closeIconColorOnHover),
|
26
|
+
/**
|
27
|
+
* @deprecated
|
28
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
29
|
+
*/
|
30
|
+
light: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-surface-solid-primary-brightness);\n\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-light-text-secondary);\n "])), _styledComponents.toastTokens.color, _styledComponents.toastTokens.background, _styledComponents.toastTokens.closeIconColor, _styledComponents.toastTokens.closeIconColorOnHover)
|
21
31
|
},
|
22
32
|
size: {
|
23
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(
|
33
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": calc(100vw - 5rem);\n ", ": 0.5625rem 0.75rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.125rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.5rem;\n "])), _styledComponents.toastTokens.borderRadius, _styledComponents.toastTokens.maxWidth, _styledComponents.toastTokens.padding, _styledComponents.toastTokens.fontFamily, _styledComponents.toastTokens.fontSize, _styledComponents.toastTokens.fontStyle, _styledComponents.toastTokens.fontWeight, _styledComponents.toastTokens.letterSpacing, _styledComponents.toastTokens.lineHeight, _styledComponents.toastTokens.contentLeftMargin, _styledComponents.toastTokens.closeIconMargin)
|
24
34
|
},
|
25
35
|
closeIconType: {
|
26
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
36
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.5rem;\n "])), _styledComponents.toastTokens.closeIconButtonSize, _styledComponents.toastTokens.closeIconSize)
|
27
37
|
},
|
28
38
|
pilled: {
|
29
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
39
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.25rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.375rem;\n "])), _styledComponents.toastTokens.pilledBorderRadius, _styledComponents.toastTokens.contentLeftMargin, _styledComponents.toastTokens.closeIconMargin)
|
30
40
|
}
|
31
41
|
}
|
32
42
|
};
|
@@ -3,6 +3,8 @@ export { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
|
3
3
|
export declare const Toast: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
4
|
view: {
|
5
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
8
|
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
9
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
10
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
3
|
import { css, toastTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
@@ -10,17 +10,27 @@ export var config = {
|
|
10
10
|
variations: {
|
11
11
|
view: {
|
12
12
|
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
|
13
|
-
|
14
|
-
|
13
|
+
positive: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n ", ": var(--text-positive);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.contentLeftColor, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
|
14
|
+
negative: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-card-brightness);\n ", ": var(--text-negative);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.contentLeftColor, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
|
15
|
+
/**
|
16
|
+
* @deprecated
|
17
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
18
|
+
*/
|
19
|
+
dark: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-surface-solid-primary-brightness);\n\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
|
20
|
+
/**
|
21
|
+
* @deprecated
|
22
|
+
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
23
|
+
*/
|
24
|
+
light: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-surface-solid-primary-brightness);\n\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-light-text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover)
|
15
25
|
},
|
16
26
|
size: {
|
17
|
-
m: /*#__PURE__*/css(
|
27
|
+
m: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": calc(100vw - 5rem);\n ", ": 0.5625rem 0.75rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.125rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.5rem;\n "])), toastTokens.borderRadius, toastTokens.maxWidth, toastTokens.padding, toastTokens.fontFamily, toastTokens.fontSize, toastTokens.fontStyle, toastTokens.fontWeight, toastTokens.letterSpacing, toastTokens.lineHeight, toastTokens.contentLeftMargin, toastTokens.closeIconMargin)
|
18
28
|
},
|
19
29
|
closeIconType: {
|
20
|
-
"default": /*#__PURE__*/css(
|
30
|
+
"default": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.5rem;\n "])), toastTokens.closeIconButtonSize, toastTokens.closeIconSize)
|
21
31
|
},
|
22
32
|
pilled: {
|
23
|
-
"true": /*#__PURE__*/css(
|
33
|
+
"true": /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.25rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.375rem;\n "])), toastTokens.pilledBorderRadius, toastTokens.contentLeftMargin, toastTokens.closeIconMargin)
|
24
34
|
}
|
25
35
|
}
|
26
36
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.226.0-canary.1719.12951148116.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.249.0-canary.1719.12951148116.0",
|
23
23
|
"@salutejs/sdds-themes": "0.31.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Vasiliy Loginevskiy"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "948aef0496344b4eb08549a4a05ae39eaca108a4"
|
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 { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
97
|
+
import type { 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,6 +136,7 @@ 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';
|
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';
|
@@ -197,7 +198,6 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
197
198
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
198
199
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
199
200
|
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,13 +1662,6 @@ 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
|
-
|
1672
1665
|
// @public (undocumented)
|
1673
1666
|
export const Dropzone: FunctionComponent<PropsType< {
|
1674
1667
|
view: {
|
@@ -3132,15 +3125,10 @@ export { SegmentProvider }
|
|
3132
3125
|
|
3133
3126
|
export { SegmentProviderProps }
|
3134
3127
|
|
3135
|
-
//
|
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
|
3128
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3141
3129
|
//
|
3142
3130
|
// @public (undocumented)
|
3143
|
-
export
|
3131
|
+
export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3144
3132
|
|
3145
3133
|
// @public
|
3146
3134
|
export const Sheet: FunctionComponent<PropsType< {
|
@@ -4265,6 +4253,8 @@ export { textXSBold }
|
|
4265
4253
|
export const Toast: FunctionComponent<PropsType< {
|
4266
4254
|
view: {
|
4267
4255
|
default: PolymorphicClassName;
|
4256
|
+
positive: PolymorphicClassName;
|
4257
|
+
negative: PolymorphicClassName;
|
4268
4258
|
dark: PolymorphicClassName;
|
4269
4259
|
light: PolymorphicClassName;
|
4270
4260
|
};
|
@@ -1,22 +0,0 @@
|
|
1
|
-
export declare const config: {
|
2
|
-
defaults: {
|
3
|
-
view: string;
|
4
|
-
size: string;
|
5
|
-
orientation: string;
|
6
|
-
};
|
7
|
-
variations: {
|
8
|
-
view: {
|
9
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
inverse: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
};
|
14
|
-
size: {
|
15
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
-
};
|
17
|
-
orientation: {
|
18
|
-
horizontal: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
-
vertical: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
-
};
|
21
|
-
};
|
22
|
-
};
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
9
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
|
-
var config = exports.config = {
|
11
|
-
defaults: {
|
12
|
-
view: 'default',
|
13
|
-
size: 'm',
|
14
|
-
orientation: 'horizontal'
|
15
|
-
},
|
16
|
-
variations: {
|
17
|
-
view: {
|
18
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--outline-solid-primary);\n "])), _styledComponents.dividerTokens.background),
|
19
|
-
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-outline-solid-primary);\n "])), _styledComponents.dividerTokens.background),
|
20
|
-
light: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-outline-solid-primary);\n "])), _styledComponents.dividerTokens.background),
|
21
|
-
inverse: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-outline-solid-primary);\n "])), _styledComponents.dividerTokens.background)
|
22
|
-
},
|
23
|
-
size: {
|
24
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), _styledComponents.dividerTokens.borderRadius)
|
25
|
-
},
|
26
|
-
orientation: {
|
27
|
-
horizontal: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), _styledComponents.dividerTokens.baseSideSize),
|
28
|
-
vertical: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), _styledComponents.dividerTokens.baseSideSize)
|
29
|
-
}
|
30
|
-
}
|
31
|
-
};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
2
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
|
-
import { css, dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
|
-
export var config = {
|
5
|
-
defaults: {
|
6
|
-
view: 'default',
|
7
|
-
size: 'm',
|
8
|
-
orientation: 'horizontal'
|
9
|
-
},
|
10
|
-
variations: {
|
11
|
-
view: {
|
12
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--outline-solid-primary);\n "])), dividerTokens.background),
|
13
|
-
dark: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-outline-solid-primary);\n "])), dividerTokens.background),
|
14
|
-
light: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-outline-solid-primary);\n "])), dividerTokens.background),
|
15
|
-
inverse: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-outline-solid-primary);\n "])), dividerTokens.background)
|
16
|
-
},
|
17
|
-
size: {
|
18
|
-
m: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), dividerTokens.borderRadius)
|
19
|
-
},
|
20
|
-
orientation: {
|
21
|
-
horizontal: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), dividerTokens.baseSideSize),
|
22
|
-
vertical: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.0625rem;\n "])), dividerTokens.baseSideSize)
|
23
|
-
}
|
24
|
-
}
|
25
|
-
};
|