@salutejs/sdds-finportal 0.226.0-canary.1719.12951148116.0 → 0.226.0-canary.1720.13005615941.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 +2 -2
- package/components/DatePicker/DatePicker.d.ts +2 -0
- package/components/Toast/Toast.config.d.ts +0 -10
- package/components/Toast/Toast.config.js +6 -16
- package/components/Toast/Toast.d.ts +0 -2
- package/es/components/Toast/Toast.config.js +6 -16
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +2 -2
@@ -1444,6 +1444,7 @@ true: PolymorphicClassName;
|
|
1444
1444
|
}> & DatePickerVariationProps & {
|
1445
1445
|
requiredPlacement?: "right" | "left" | undefined;
|
1446
1446
|
required?: boolean | undefined;
|
1447
|
+
value?: Date | null | undefined;
|
1447
1448
|
defaultDate?: Date | undefined;
|
1448
1449
|
placeholder?: string | undefined;
|
1449
1450
|
name?: string | undefined;
|
@@ -1492,6 +1493,7 @@ true: PolymorphicClassName;
|
|
1492
1493
|
}> & DatePickerVariationProps & {
|
1493
1494
|
requiredPlacement?: "right" | "left" | undefined;
|
1494
1495
|
required?: boolean | undefined;
|
1496
|
+
value?: [Date | null | undefined, Date | null | undefined] | undefined;
|
1495
1497
|
defaultFirstDate?: Date | undefined;
|
1496
1498
|
defaultSecondDate?: Date | undefined;
|
1497
1499
|
name?: string | undefined;
|
@@ -4253,8 +4255,6 @@ export { textXSBold }
|
|
4253
4255
|
export const Toast: FunctionComponent<PropsType< {
|
4254
4256
|
view: {
|
4255
4257
|
default: PolymorphicClassName;
|
4256
|
-
positive: PolymorphicClassName;
|
4257
|
-
negative: PolymorphicClassName;
|
4258
4258
|
dark: PolymorphicClassName;
|
4259
4259
|
light: PolymorphicClassName;
|
4260
4260
|
};
|
@@ -18,6 +18,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
18
18
|
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
19
19
|
requiredPlacement?: "right" | "left" | undefined;
|
20
20
|
required?: boolean | undefined;
|
21
|
+
value?: Date | null | undefined;
|
21
22
|
defaultDate?: Date | undefined;
|
22
23
|
placeholder?: string | undefined;
|
23
24
|
name?: string | undefined;
|
@@ -56,6 +57,7 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
56
57
|
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
57
58
|
requiredPlacement?: "right" | "left" | undefined;
|
58
59
|
required?: boolean | undefined;
|
60
|
+
value?: [Date | null | undefined, Date | null | undefined] | undefined;
|
59
61
|
defaultFirstDate?: Date | undefined;
|
60
62
|
defaultSecondDate?: Date | undefined;
|
61
63
|
name?: string | undefined;
|
@@ -7,17 +7,7 @@ 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
|
-
*/
|
16
10
|
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
/**
|
18
|
-
* @deprecated
|
19
|
-
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
20
|
-
*/
|
21
11
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
12
|
};
|
23
13
|
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;
|
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,27 +16,17 @@ 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
|
-
|
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)
|
19
|
+
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__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),
|
20
|
+
light: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__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)
|
31
21
|
},
|
32
22
|
size: {
|
33
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(
|
23
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__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.leftContentMargin, _styledComponents.toastTokens.closeIconMargin)
|
34
24
|
},
|
35
25
|
closeIconType: {
|
36
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
26
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.5rem;\n "])), _styledComponents.toastTokens.closeIconButtonSize, _styledComponents.toastTokens.closeIconSize)
|
37
27
|
},
|
38
28
|
pilled: {
|
39
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
29
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__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.leftContentMargin, _styledComponents.toastTokens.closeIconMargin)
|
40
30
|
}
|
41
31
|
}
|
42
32
|
};
|
@@ -3,8 +3,6 @@ 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;
|
8
6
|
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
7
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
8
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
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,27 +10,17 @@ 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
|
-
|
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)
|
13
|
+
dark: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__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),
|
14
|
+
light: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__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)
|
25
15
|
},
|
26
16
|
size: {
|
27
|
-
m: /*#__PURE__*/css(
|
17
|
+
m: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__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.leftContentMargin, toastTokens.closeIconMargin)
|
28
18
|
},
|
29
19
|
closeIconType: {
|
30
|
-
"default": /*#__PURE__*/css(
|
20
|
+
"default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.5rem;\n "])), toastTokens.closeIconButtonSize, toastTokens.closeIconSize)
|
31
21
|
},
|
32
22
|
pilled: {
|
33
|
-
"true": /*#__PURE__*/css(
|
23
|
+
"true": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__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.leftContentMargin, toastTokens.closeIconMargin)
|
34
24
|
}
|
35
25
|
}
|
36
26
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.226.0-canary.
|
3
|
+
"version": "0.226.0-canary.1720.13005615941.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.249.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.249.0-canary.1720.13005615941.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": "3a9104465b3cd0e061a518b4ce51836fd0d47b1d"
|
99
99
|
}
|
@@ -1444,6 +1444,7 @@ true: PolymorphicClassName;
|
|
1444
1444
|
}> & DatePickerVariationProps & {
|
1445
1445
|
requiredPlacement?: "right" | "left" | undefined;
|
1446
1446
|
required?: boolean | undefined;
|
1447
|
+
value?: Date | null | undefined;
|
1447
1448
|
defaultDate?: Date | undefined;
|
1448
1449
|
placeholder?: string | undefined;
|
1449
1450
|
name?: string | undefined;
|
@@ -1492,6 +1493,7 @@ true: PolymorphicClassName;
|
|
1492
1493
|
}> & DatePickerVariationProps & {
|
1493
1494
|
requiredPlacement?: "right" | "left" | undefined;
|
1494
1495
|
required?: boolean | undefined;
|
1496
|
+
value?: [Date | null | undefined, Date | null | undefined] | undefined;
|
1495
1497
|
defaultFirstDate?: Date | undefined;
|
1496
1498
|
defaultSecondDate?: Date | undefined;
|
1497
1499
|
name?: string | undefined;
|
@@ -4253,8 +4255,6 @@ export { textXSBold }
|
|
4253
4255
|
export const Toast: FunctionComponent<PropsType< {
|
4254
4256
|
view: {
|
4255
4257
|
default: PolymorphicClassName;
|
4256
|
-
positive: PolymorphicClassName;
|
4257
|
-
negative: PolymorphicClassName;
|
4258
4258
|
dark: PolymorphicClassName;
|
4259
4259
|
light: PolymorphicClassName;
|
4260
4260
|
};
|