@salutejs/sdds-finportal 0.147.0-canary.1511.11518967304.0 → 0.147.1-canary.1512.11549467998.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/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/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
@@ -221,6 +221,7 @@ import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
|
221
221
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
222
222
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
223
223
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
224
|
+
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
224
225
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
225
226
|
|
226
227
|
// @public (undocumented)
|
@@ -5148,6 +5149,14 @@ export { useSegment }
|
|
5148
5149
|
|
5149
5150
|
export { useToast }
|
5150
5151
|
|
5152
|
+
// @public (undocumented)
|
5153
|
+
export const ViewContainer: FunctionComponent<PropsType< {
|
5154
|
+
view: {
|
5155
|
+
onDark: PolymorphicClassName;
|
5156
|
+
onLight: PolymorphicClassName;
|
5157
|
+
};
|
5158
|
+
}> & HTMLAttributes<HTMLDivElement> & ViewContainerCustomProps & RefAttributes<HTMLAnchorElement>>;
|
5159
|
+
|
5151
5160
|
export { withSkeleton }
|
5152
5161
|
|
5153
5162
|
|
@@ -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");
|
@@ -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.147.
|
3
|
+
"version": "0.147.1-canary.1512.11549467998.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.174.
|
23
|
-
"@salutejs/sdds-themes": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.174.1-canary.1512.11549467998.0",
|
23
|
+
"@salutejs/sdds-themes": "0.25.0-dev.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": "431fc4103184d231a0fe853eacd5061ea45edd9a"
|
98
98
|
}
|
@@ -221,6 +221,7 @@ import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
|
221
221
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
222
222
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
223
223
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
224
|
+
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
224
225
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
225
226
|
|
226
227
|
// @public (undocumented)
|
@@ -5148,6 +5149,14 @@ export { useSegment }
|
|
5148
5149
|
|
5149
5150
|
export { useToast }
|
5150
5151
|
|
5152
|
+
// @public (undocumented)
|
5153
|
+
export const ViewContainer: FunctionComponent<PropsType< {
|
5154
|
+
view: {
|
5155
|
+
onDark: PolymorphicClassName;
|
5156
|
+
onLight: PolymorphicClassName;
|
5157
|
+
};
|
5158
|
+
}> & HTMLAttributes<HTMLDivElement> & ViewContainerCustomProps & RefAttributes<HTMLAnchorElement>>;
|
5159
|
+
|
5151
5160
|
export { withSkeleton }
|
5152
5161
|
|
5153
5162
|
|