@salutejs/plasma-web 1.353.0-dev.0 → 1.354.0-canary.1307.9993170100.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +5 -5
- package/components/Price/Price.config.d.ts +8 -0
- package/components/Price/Price.config.js +14 -0
- package/components/Price/Price.d.ts +7 -0
- package/components/Price/Price.js +15 -0
- package/components/Price/index.d.ts +1 -2
- package/components/Price/index.js +2 -2
- package/css/cjs/components/Price/Price.config.js +15 -0
- package/css/cjs/components/Price/Price.config.js.map +1 -0
- package/css/cjs/components/Price/Price.js +17 -0
- package/css/cjs/components/Price/Price.js.map +1 -0
- package/css/cjs/index.js +2 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Price/Price.config.js +11 -0
- package/css/es/components/Price/Price.config.js.map +1 -0
- package/css/es/components/Price/Price.js +13 -0
- package/css/es/components/Price/Price.js.map +1 -0
- package/css/es/index.js +1 -0
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Price/Price.config.js +8 -0
- package/es/components/Price/Price.js +9 -0
- package/es/components/Price/index.js +1 -1
- package/package.json +3 -3
- package/temp/plasma-web.api.md +2404 -0
package/api/plasma-web.api.md
CHANGED
@@ -190,8 +190,7 @@ import { PortalProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
190
190
|
import { PreviewGallery } from '@salutejs/plasma-hope';
|
191
191
|
import { PreviewGalleryItemProps } from '@salutejs/plasma-hope';
|
192
192
|
import { PreviewGalleryProps } from '@salutejs/plasma-hope';
|
193
|
-
import {
|
194
|
-
import { PriceProps } from '@salutejs/plasma-hope';
|
193
|
+
import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
|
195
194
|
import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
|
196
195
|
import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
|
197
196
|
import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -1685,9 +1684,10 @@ export { PreviewGalleryItemProps }
|
|
1685
1684
|
|
1686
1685
|
export { PreviewGalleryProps }
|
1687
1686
|
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1687
|
+
// @public
|
1688
|
+
export const Price: FunctionComponent<PropsType< {
|
1689
|
+
view: {};
|
1690
|
+
}> & PriceProps & RefAttributes<HTMLDivElement>>;
|
1691
1691
|
|
1692
1692
|
// @public (undocumented)
|
1693
1693
|
export const Progress: FunctionComponent<PropsType< {
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
/**
|
3
|
+
* Компонент для отображения цены / стоимости / суммы.
|
4
|
+
*/
|
5
|
+
export declare const Price: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
6
|
+
view: {};
|
7
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Price/Price.types").PriceProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Price = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _Price = /*#__PURE__*/require("./Price.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.priceConfig, _Price.config);
|
10
|
+
var PriceComponent = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Компонент для отображения цены / стоимости / суммы.
|
14
|
+
*/
|
15
|
+
var Price = exports.Price = PriceComponent;
|
@@ -1,2 +1 @@
|
|
1
|
-
export { Price } from '
|
2
|
-
export type { PriceProps } from '@salutejs/plasma-hope';
|
1
|
+
export { Price } from './Price';
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
Object.defineProperty(exports, "Price", {
|
7
7
|
enumerable: true,
|
8
8
|
get: function get() {
|
9
|
-
return
|
9
|
+
return _Price.Price;
|
10
10
|
}
|
11
11
|
});
|
12
|
-
var
|
12
|
+
var _Price = /*#__PURE__*/require("./Price");
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Price.config.js","sources":["../../../../src-css/components/Price/Price.config.ts"],"sourcesContent":["export const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {},\n },\n};\n"],"names":["config","defaults","view","variations"],"mappings":";;;;AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE,EAAC;AACX,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
+
var Price_config = require('./Price.config.js');
|
7
|
+
|
8
|
+
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.priceConfig, Price_config.config);
|
9
|
+
var PriceComponent = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Компонент для отображения цены / стоимости / суммы.
|
13
|
+
*/
|
14
|
+
var Price = PriceComponent;
|
15
|
+
|
16
|
+
exports.Price = Price;
|
17
|
+
//# sourceMappingURL=Price.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Price.js","sources":["../../../../src-css/components/Price/Price.ts"],"sourcesContent":["import { priceConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Price.config';\n\nconst mergedConfig = mergeConfig(priceConfig, config);\nconst PriceComponent = component(mergedConfig);\n\n/**\n * Компонент для отображения цены / стоимости / суммы.\n */\nexport const Price = PriceComponent;\n"],"names":["mergedConfig","mergeConfig","priceConfig","config","PriceComponent","component","Price"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,yBAAW,EAAEC,mBAAM,CAAC,CAAA;AACrD,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;;AAE9C;AACA;AACA;AACO,IAAMM,KAAK,GAAGF;;;;"}
|
package/css/cjs/index.js
CHANGED
@@ -33,6 +33,7 @@ var Notification = require('./components/Notification/Notification.js');
|
|
33
33
|
var Pagination = require('./components/Pagination/Pagination.js');
|
34
34
|
var Popover = require('./components/Popover/Popover.js');
|
35
35
|
var PopupBase = require('./components/PopupBase/PopupBase.js');
|
36
|
+
var Price = require('./components/Price/Price.js');
|
36
37
|
var Progress = require('./components/Progress/Progress.js');
|
37
38
|
var Radiobox = require('./components/Radiobox/Radiobox.js');
|
38
39
|
var Range = require('./components/Range/Range.js');
|
@@ -234,6 +235,7 @@ exports.NotificationsProvider = Notification.NotificationsProvider;
|
|
234
235
|
exports.Pagination = Pagination.Pagination;
|
235
236
|
exports.Popover = Popover.Popover;
|
236
237
|
exports.PopupBase = PopupBase.PopupBase;
|
238
|
+
exports.Price = Price.Price;
|
237
239
|
exports.Progress = Progress.Progress;
|
238
240
|
exports.Radiobox = Radiobox.Radiobox;
|
239
241
|
exports.Range = Range.Range;
|
package/css/cjs/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Price.config.js","sources":["../../../../src-css/components/Price/Price.config.ts"],"sourcesContent":["export const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {},\n },\n};\n"],"names":["config","defaults","view","variations"],"mappings":"AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE,EAAC;AACX,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { component, mergeConfig, priceConfig } from '@salutejs/plasma-new-hope';
|
2
|
+
import { config } from './Price.config.js';
|
3
|
+
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(priceConfig, config);
|
5
|
+
var PriceComponent = /*#__PURE__*/component(mergedConfig);
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Компонент для отображения цены / стоимости / суммы.
|
9
|
+
*/
|
10
|
+
var Price = PriceComponent;
|
11
|
+
|
12
|
+
export { Price };
|
13
|
+
//# sourceMappingURL=Price.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Price.js","sources":["../../../../src-css/components/Price/Price.ts"],"sourcesContent":["import { priceConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Price.config';\n\nconst mergedConfig = mergeConfig(priceConfig, config);\nconst PriceComponent = component(mergedConfig);\n\n/**\n * Компонент для отображения цены / стоимости / суммы.\n */\nexport const Price = PriceComponent;\n"],"names":["mergedConfig","mergeConfig","priceConfig","config","PriceComponent","component","Price"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,WAAW,EAAEC,MAAM,CAAC,CAAA;AACrD,IAAMC,cAAc,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;;AAE9C;AACA;AACA;AACO,IAAMM,KAAK,GAAGF;;;;"}
|
package/css/es/index.js
CHANGED
@@ -29,6 +29,7 @@ export { Notification, NotificationsProvider } from './components/Notification/N
|
|
29
29
|
export { Pagination } from './components/Pagination/Pagination.js';
|
30
30
|
export { Popover } from './components/Popover/Popover.js';
|
31
31
|
export { PopupBase } from './components/PopupBase/PopupBase.js';
|
32
|
+
export { Price } from './components/Price/Price.js';
|
32
33
|
export { Progress } from './components/Progress/Progress.js';
|
33
34
|
export { Radiobox } from './components/Radiobox/Radiobox.js';
|
34
35
|
export { Range } from './components/Range/Range.js';
|
package/css/es/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/css/index.d.ts
CHANGED
@@ -27,6 +27,7 @@ export * from '../components/Pagination';
|
|
27
27
|
export * from '../components/Popover';
|
28
28
|
export * from '../components/PopupBase';
|
29
29
|
export * from '../components/Portal';
|
30
|
+
export * from '../components/Price';
|
30
31
|
export * from '../components/Progress';
|
31
32
|
export * from '../components/Radiobox';
|
32
33
|
export * from '../components/Range';
|
@@ -73,6 +74,7 @@ export * from '../components/Pagination';
|
|
73
74
|
export * from '../components/Popover';
|
74
75
|
export * from '../components/PopupBase';
|
75
76
|
export * from '../components/Portal';
|
77
|
+
export * from '../components/Price';
|
76
78
|
export * from '../components/Progress';
|
77
79
|
export * from '../components/Radiobox';
|
78
80
|
export * from '../components/Range';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { priceConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
+
import { config } from './Price.config';
|
3
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(priceConfig, config);
|
4
|
+
var PriceComponent = /*#__PURE__*/component(mergedConfig);
|
5
|
+
|
6
|
+
/**
|
7
|
+
* Компонент для отображения цены / стоимости / суммы.
|
8
|
+
*/
|
9
|
+
export var Price = PriceComponent;
|
@@ -1 +1 @@
|
|
1
|
-
export { Price } from '
|
1
|
+
export { Price } from './Price';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.354.0-canary.1307.9993170100.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.163.0-dev.0",
|
23
23
|
"@salutejs/plasma-hope": "1.289.0-dev.0",
|
24
|
-
"@salutejs/plasma-new-hope": "0.
|
24
|
+
"@salutejs/plasma-new-hope": "0.108.0-canary.1307.9993170100.0",
|
25
25
|
"@salutejs/plasma-tokens-b2b": "1.41.0",
|
26
26
|
"@salutejs/plasma-tokens-b2c": "0.51.0",
|
27
27
|
"@salutejs/plasma-tokens-web": "1.56.0",
|
@@ -110,5 +110,5 @@
|
|
110
110
|
"Fanil Zubairov"
|
111
111
|
],
|
112
112
|
"sideEffects": false,
|
113
|
-
"gitHead": "
|
113
|
+
"gitHead": "21475f3977f5a131b633728e01597c2785c7fb71"
|
114
114
|
}
|