@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.
@@ -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 { Price } from '@salutejs/plasma-hope';
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
- export { Price }
1689
-
1690
- export { PriceProps }
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,8 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ };
5
+ variations: {
6
+ view: {};
7
+ };
8
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var config = exports.config = {
8
+ defaults: {
9
+ view: 'default'
10
+ },
11
+ variations: {
12
+ view: {}
13
+ }
14
+ };
@@ -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 '@salutejs/plasma-hope';
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 _plasmaHope.Price;
9
+ return _Price.Price;
10
10
  }
11
11
  });
12
- var _plasmaHope = /*#__PURE__*/require("@salutejs/plasma-hope");
12
+ var _Price = /*#__PURE__*/require("./Price");
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var config = {
6
+ defaults: {
7
+ view: 'default'
8
+ },
9
+ variations: {
10
+ view: {}
11
+ }
12
+ };
13
+
14
+ exports.config = config;
15
+ //# sourceMappingURL=Price.config.js.map
@@ -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;
@@ -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,11 @@
1
+ var config = {
2
+ defaults: {
3
+ view: 'default'
4
+ },
5
+ variations: {
6
+ view: {}
7
+ }
8
+ };
9
+
10
+ export { config };
11
+ //# sourceMappingURL=Price.config.js.map
@@ -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';
@@ -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,8 @@
1
+ export var config = {
2
+ defaults: {
3
+ view: 'default'
4
+ },
5
+ variations: {
6
+ view: {}
7
+ }
8
+ };
@@ -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 '@salutejs/plasma-hope';
1
+ export { Price } from './Price';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.353.0-dev.0",
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.107.0-dev.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": "9468671778f8fc80b34939c80ca1ad455835ac28"
113
+ "gitHead": "21475f3977f5a131b633728e01597c2785c7fb71"
114
114
  }