@salutejs/sdds-finportal 0.159.1-canary.1524.11717413596.0 → 0.159.1-canary.1524.11735876298.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,12 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.Badge = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _isDraft = /*#__PURE__*/require("../../helpers/isDraft");
|
9
8
|
var _Badge = /*#__PURE__*/require("./Badge.config");
|
10
|
-
var
|
11
|
-
// INFO: После всех изменений draft станет основной конфигурацией
|
12
|
-
|
13
|
-
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.badgeConfig, /*#__PURE__*/(0, _isDraft.IS_DRAFT)() ? _BadgeConfig.config : _Badge.config);
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.badgeConfig, _Badge.config);
|
14
10
|
|
15
11
|
/**
|
16
12
|
* Компонент Badge.
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import { badgeConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
-
import { IS_DRAFT } from '../../helpers/isDraft';
|
3
2
|
import { config } from './Badge.config';
|
4
|
-
|
5
|
-
import { config as draft } from './Badge.config.draft';
|
6
|
-
var mergedConfig = /*#__PURE__*/mergeConfig(badgeConfig, /*#__PURE__*/IS_DRAFT() ? draft : config);
|
3
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(badgeConfig, config);
|
7
4
|
|
8
5
|
/**
|
9
6
|
* Компонент Badge.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.159.1-canary.1524.
|
3
|
+
"version": "0.159.1-canary.1524.11735876298.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",
|
@@ -96,5 +96,5 @@
|
|
96
96
|
"Vasiliy Loginevskiy"
|
97
97
|
],
|
98
98
|
"sideEffects": false,
|
99
|
-
"gitHead": "
|
99
|
+
"gitHead": "3972d6afc41280d349b817be0bd7b8c08a87a1d9"
|
100
100
|
}
|
package/helpers/isDraft.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const IS_DRAFT: () => boolean;
|