@salutejs/sdds-finportal 0.143.0-canary.1484.11388945571.0 → 0.143.0-canary.1488.11387414081.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +9 -0
- package/components/Accordion/Accordion.config.js +2 -2
- package/components/ViewContainer/ViewContainer.config.d.ts +8 -0
- package/components/ViewContainer/ViewContainer.config.js +18 -0
- package/components/ViewContainer/ViewContainer.d.ts +7 -0
- package/components/ViewContainer/ViewContainer.js +10 -0
- package/components/ViewContainer/index.d.ts +1 -0
- package/components/ViewContainer/index.js +12 -0
- package/es/components/Accordion/Accordion.config.js +2 -2
- package/es/components/ViewContainer/ViewContainer.config.js +12 -0
- package/es/components/ViewContainer/ViewContainer.js +4 -0
- package/es/components/ViewContainer/index.js +1 -0
- package/es/index.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +11 -0
- package/package.json +4 -4
- package/temp/sdds-finportal.api.md +9 -0
@@ -220,6 +220,7 @@ import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
|
220
220
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
221
221
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
222
222
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
223
|
+
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
223
224
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
224
225
|
|
225
226
|
// @public (undocumented)
|
@@ -3549,6 +3550,14 @@ export { useSegment }
|
|
3549
3550
|
|
3550
3551
|
export { useToast }
|
3551
3552
|
|
3553
|
+
// @public (undocumented)
|
3554
|
+
export const ViewContainer: FunctionComponent<PropsType< {
|
3555
|
+
view: {
|
3556
|
+
onDark: PolymorphicClassName;
|
3557
|
+
onLight: PolymorphicClassName;
|
3558
|
+
};
|
3559
|
+
}> & HTMLAttributes<HTMLDivElement> & ViewContainerCustomProps & RefAttributes<HTMLAnchorElement>>;
|
3560
|
+
|
3552
3561
|
export { withSkeleton }
|
3553
3562
|
|
3554
3563
|
|
@@ -14,8 +14,8 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n
|
18
|
-
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemPaddingHorizontal, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom),
|
18
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionItemBorderRadius, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom)
|
19
19
|
},
|
20
20
|
size: {
|
21
21
|
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.0625rem;\n ", ": 1.25rem;\n ", ": 0.5rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemPaddingHorizontal, _styledComponents.accordionTokens.accordionItemGap, _styledComponents.accordionTokens.accordionItemBorderRadius, _styledComponents.accordionTokens.accordionItemTitleFontFamily, _styledComponents.accordionTokens.accordionItemTitleFontSize, _styledComponents.accordionTokens.accordionItemTitleFontStyle, _styledComponents.accordionTokens.accordionItemTitleFontWeight, _styledComponents.accordionTokens.accordionItemTitleLetterSpacing, _styledComponents.accordionTokens.accordionItemTitleLineHeight, _styledComponents.accordionTokens.accordionItemTextFontFamily, _styledComponents.accordionTokens.accordionItemTextFontSize, _styledComponents.accordionTokens.accordionItemTextFontStyle, _styledComponents.accordionTokens.accordionItemTextFontWeight, _styledComponents.accordionTokens.accordionItemTextLetterSpacing, _styledComponents.accordionTokens.accordionItemTextLineHeight),
|
@@ -0,0 +1,18 @@
|
|
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 _sdds_finportal = /*#__PURE__*/require("@salutejs/sdds-themes/tokens/sdds_finportal");
|
9
|
+
var _templateObject, _templateObject2;
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
11
|
+
var config = exports.config = {
|
12
|
+
variations: {
|
13
|
+
view: {
|
14
|
+
onDark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", "\n "])), _sdds_finportal.viewContainer.dark),
|
15
|
+
onLight: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", "\n "])), _sdds_finportal.viewContainer.light)
|
16
|
+
}
|
17
|
+
}
|
18
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const ViewContainer: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
+
view: {
|
4
|
+
onDark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
onLight: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
};
|
7
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer").ViewContainerCustomProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.ViewContainer = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _ViewContainer = /*#__PURE__*/require("./ViewContainer.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.viewContainerConfig, _ViewContainer.config);
|
10
|
+
var ViewContainer = exports.ViewContainer = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ViewContainer } from './ViewContainer';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "ViewContainer", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _ViewContainer.ViewContainer;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
var _ViewContainer = /*#__PURE__*/require("./ViewContainer");
|
@@ -8,8 +8,8 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n
|
12
|
-
clear: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n
|
11
|
+
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemPaddingHorizontal, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom),
|
12
|
+
clear: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom)
|
13
13
|
},
|
14
14
|
size: {
|
15
15
|
l: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.0625rem;\n ", ": 1.25rem;\n ", ": 0.5rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemPaddingHorizontal, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight),
|
@@ -0,0 +1,12 @@
|
|
1
|
+
var _templateObject, _templateObject2;
|
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 } from '@salutejs/plasma-new-hope/styled-components';
|
4
|
+
import { viewContainer } from '@salutejs/sdds-themes/tokens/sdds_finportal';
|
5
|
+
export var config = {
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
onDark: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", "\n "])), viewContainer.dark),
|
9
|
+
onLight: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", "\n "])), viewContainer.light)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { viewContainerConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
+
import { config } from './ViewContainer.config';
|
3
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(viewContainerConfig, config);
|
4
|
+
export var ViewContainer = /*#__PURE__*/component(mergedConfig);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ViewContainer } from './ViewContainer';
|
package/es/index.js
CHANGED
@@ -54,5 +54,6 @@ export * from './components/Select';
|
|
54
54
|
export * from './components/Autocomplete';
|
55
55
|
export * from './components/EmptyState';
|
56
56
|
export * from './components/Attach';
|
57
|
+
export * from './components/ViewContainer';
|
57
58
|
export * from './mixins';
|
58
59
|
export * from './tokens';
|
package/index.d.ts
CHANGED
@@ -54,5 +54,6 @@ export * from './components/Select';
|
|
54
54
|
export * from './components/Autocomplete';
|
55
55
|
export * from './components/EmptyState';
|
56
56
|
export * from './components/Attach';
|
57
|
+
export * from './components/ViewContainer';
|
57
58
|
export * from './mixins';
|
58
59
|
export * from './tokens';
|
package/index.js
CHANGED
@@ -619,6 +619,17 @@ Object.keys(_Attach).forEach(function (key) {
|
|
619
619
|
}
|
620
620
|
});
|
621
621
|
});
|
622
|
+
var _ViewContainer = /*#__PURE__*/require("./components/ViewContainer");
|
623
|
+
Object.keys(_ViewContainer).forEach(function (key) {
|
624
|
+
if (key === "default" || key === "__esModule") return;
|
625
|
+
if (key in exports && exports[key] === _ViewContainer[key]) return;
|
626
|
+
Object.defineProperty(exports, key, {
|
627
|
+
enumerable: true,
|
628
|
+
get: function get() {
|
629
|
+
return _ViewContainer[key];
|
630
|
+
}
|
631
|
+
});
|
632
|
+
});
|
622
633
|
var _mixins = /*#__PURE__*/require("./mixins");
|
623
634
|
Object.keys(_mixins).forEach(function (key) {
|
624
635
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.143.0-canary.
|
3
|
+
"version": "0.143.0-canary.1488.11387414081.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,8 +19,8 @@
|
|
19
19
|
"directory": "packages/sdds-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.170.0-canary.
|
23
|
-
"@salutejs/sdds-themes": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.170.0-canary.1488.11387414081.0",
|
23
|
+
"@salutejs/sdds-themes": "0.24.0-canary.1488.11387414081.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
26
26
|
"react": ">=16.13.1",
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "ec5fc577f54f08798fb54a656f568539470563e8"
|
98
98
|
}
|
@@ -220,6 +220,7 @@ import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
|
220
220
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
221
221
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
222
222
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
223
|
+
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
223
224
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
224
225
|
|
225
226
|
// @public (undocumented)
|
@@ -3549,6 +3550,14 @@ export { useSegment }
|
|
3549
3550
|
|
3550
3551
|
export { useToast }
|
3551
3552
|
|
3553
|
+
// @public (undocumented)
|
3554
|
+
export const ViewContainer: FunctionComponent<PropsType< {
|
3555
|
+
view: {
|
3556
|
+
onDark: PolymorphicClassName;
|
3557
|
+
onLight: PolymorphicClassName;
|
3558
|
+
};
|
3559
|
+
}> & HTMLAttributes<HTMLDivElement> & ViewContainerCustomProps & RefAttributes<HTMLAnchorElement>>;
|
3560
|
+
|
3552
3561
|
export { withSkeleton }
|
3553
3562
|
|
3554
3563
|
|