@alfalab/core-components 46.0.0-beta.2 → 46.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bottom-sheet/component.js +9 -3
- package/bottom-sheet/cssm/component.js +9 -3
- package/bottom-sheet/esm/component.js +10 -4
- package/bottom-sheet/modern/component.js +9 -4
- package/calendar-range/utils.js +3 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/package.json +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/steps/Component.js +9 -8
- package/steps/cssm/Component.js +9 -8
- package/steps/esm/Component.js +10 -9
- package/steps/modern/Component.js +10 -9
- package/themes/compiled/mobile-dark-bluetint.css +67 -67
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +1 -1
- package/typography/title-mobile/component.js +1 -1
- package/typography/title-responsive/component.js +1 -1
- /package/confirmation/{countdown-section-756d249f.d.ts → countdown-section-f9e4f884.d.ts} +0 -0
- /package/confirmation/{countdown-section-756d249f.js → countdown-section-f9e4f884.js} +0 -0
- /package/confirmation/esm/{countdown-section-7dc1e811.d.ts → countdown-section-540da1e3.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-7dc1e811.js → countdown-section-540da1e3.js} +0 -0
- /package/confirmation/modern/{countdown-section-eccb06b6.d.ts → countdown-section-d3385b29.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-eccb06b6.js → countdown-section-d3385b29.js} +0 -0
- /package/modal/esm/{layout.module-912924e9.js → layout.module-ed84e654.js} +0 -0
- /package/modal/{layout.module-e38411cc.js → layout.module-74d56d9e.js} +0 -0
- /package/modal/modern/{layout.module-020e2ced.js → layout.module-169c9cd4.js} +0 -0
- /package/select/esm/{hook-ec5dced0.d.ts → hook-43f97773.d.ts} +0 -0
- /package/select/esm/{hook-ec5dced0.js → hook-43f97773.js} +0 -0
- /package/select/{hook-24546f56.d.ts → hook-47df637e.d.ts} +0 -0
- /package/select/{hook-24546f56.js → hook-47df637e.js} +0 -0
- /package/select/modern/{hook-b714aff5.d.ts → hook-72d63281.d.ts} +0 -0
- /package/select/modern/{hook-b714aff5.js → hook-72d63281.js} +0 -0
- /package/side-panel/esm/{layout.module-bde8ec44.js → layout.module-72cc1a7a.js} +0 -0
- /package/side-panel/{layout.module-a60d58a0.js → layout.module-cfb65ab1.js} +0 -0
- /package/side-panel/modern/{layout.module-f1c80687.js → layout.module-3503b091.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-185adec6.d.ts → getDataTestId-f4dc32c7.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-185adec6.js → getDataTestId-f4dc32c7.js} +0 -0
- /package/toast-plate/{getDataTestId-3138baed.d.ts → getDataTestId-442368bd.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-3138baed.js → getDataTestId-442368bd.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-3a028081.d.ts → getDataTestId-16038735.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-3a028081.js → getDataTestId-16038735.js} +0 -0
- /package/typography/{colors.module-eb3d91ee.js → colors.module-95ea7fc4.js} +0 -0
- /package/typography/{common.module-a8409ce9.js → common.module-ae53b4de.js} +0 -0
- /package/typography/esm/{colors.module-457deb40.js → colors.module-2b53143b.js} +0 -0
- /package/typography/esm/{common.module-99428575.js → common.module-1373fada.js} +0 -0
- /package/typography/modern/{colors.module-a0d2e648.js → colors.module-5db1b616.js} +0 -0
- /package/typography/modern/{common.module-5bbb2813.js → common.module-49874e31.js} +0 -0
|
@@ -8,7 +8,7 @@ import '../../../shared/modern';
|
|
|
8
8
|
import '../Context.js';
|
|
9
9
|
import '../ResponsiveContext.js';
|
|
10
10
|
import '../components/controls/Component.js';
|
|
11
|
-
import '../layout.module-
|
|
11
|
+
import '../layout.module-3503b091.js';
|
|
12
12
|
import '../components/footer/Component.mobile.js';
|
|
13
13
|
import '../components/footer/Component.js';
|
|
14
14
|
import '../components/header/Component.js';
|
package/steps/Component.js
CHANGED
|
@@ -15,26 +15,27 @@ require('./index.css');
|
|
|
15
15
|
var Steps = function (_a) {
|
|
16
16
|
var _b;
|
|
17
17
|
var className = _a.className, children = _a.children, _c = _a.defaultActiveStep, defaultActiveStep = _c === void 0 ? 1 : _c, activeStepProp = _a.activeStep, _d = _a.isMarkCompletedSteps, isMarkCompletedSteps = _d === void 0 ? true : _d, _e = _a.isVerticalAlign, isVerticalAlign = _e === void 0 ? false : _e, _f = _a.ordered, ordered = _f === void 0 ? true : _f, _g = _a.interactive, interactive = _g === void 0 ? true : _g, _h = _a.fullWidth, fullWidth = _h === void 0 ? false : _h, _j = _a.minSpaceBetweenSteps, minSpaceBetweenSteps = _j === void 0 ? 24 : _j, checkIsStepDisabled = _a.checkIsStepDisabled, checkIsStepError = _a.checkIsStepError, checkIsStepWarning = _a.checkIsStepWarning, checkIsStepWaiting = _a.checkIsStepWaiting, checkIsStepPositive = _a.checkIsStepPositive, checkIsStepCustom = _a.checkIsStepCustom, onChange = _a.onChange, dataTestId = _a.dataTestId;
|
|
18
|
-
var
|
|
19
|
-
var _k = React.useState(defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
18
|
+
var _k = React.useState(activeStepProp || defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
20
19
|
var stepsLength = React__default.default.Children.count(children);
|
|
21
|
-
|
|
22
|
-
if (
|
|
23
|
-
setActiveStep(
|
|
20
|
+
React.useEffect(function () {
|
|
21
|
+
if (activeStepProp) {
|
|
22
|
+
setActiveStep(activeStepProp);
|
|
24
23
|
}
|
|
24
|
+
}, [activeStepProp]);
|
|
25
|
+
var handleStepClick = function (stepNumber) {
|
|
26
|
+
setActiveStep(stepNumber);
|
|
25
27
|
if (onChange) {
|
|
26
28
|
onChange(stepNumber);
|
|
27
29
|
}
|
|
28
30
|
};
|
|
29
31
|
if (!stepsLength)
|
|
30
32
|
return null;
|
|
31
|
-
var visibleActiveStep = uncontrolled ? activeStep : activeStepProp;
|
|
32
33
|
return (React__default.default.createElement("div", { className: cn__default.default(className, styles.component, (_b = {},
|
|
33
34
|
_b[styles.vertical] = isVerticalAlign,
|
|
34
35
|
_b)), "data-test-id": dataTestId }, React__default.default.Children.map(children, function (step, index) {
|
|
35
36
|
var stepNumber = index + 1;
|
|
36
|
-
var isSelected = stepNumber ===
|
|
37
|
-
var isStepCompleted = isMarkCompletedSteps && stepNumber <
|
|
37
|
+
var isSelected = stepNumber === activeStep;
|
|
38
|
+
var isStepCompleted = isMarkCompletedSteps && stepNumber < activeStep;
|
|
38
39
|
var disabled = checkIsStepDisabled ? checkIsStepDisabled(stepNumber) : false;
|
|
39
40
|
var isPositive = checkIsStepPositive ? checkIsStepPositive(stepNumber) : false;
|
|
40
41
|
var isError = checkIsStepError ? checkIsStepError(stepNumber) : false;
|
package/steps/cssm/Component.js
CHANGED
|
@@ -14,26 +14,27 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
|
14
14
|
var Steps = function (_a) {
|
|
15
15
|
var _b;
|
|
16
16
|
var className = _a.className, children = _a.children, _c = _a.defaultActiveStep, defaultActiveStep = _c === void 0 ? 1 : _c, activeStepProp = _a.activeStep, _d = _a.isMarkCompletedSteps, isMarkCompletedSteps = _d === void 0 ? true : _d, _e = _a.isVerticalAlign, isVerticalAlign = _e === void 0 ? false : _e, _f = _a.ordered, ordered = _f === void 0 ? true : _f, _g = _a.interactive, interactive = _g === void 0 ? true : _g, _h = _a.fullWidth, fullWidth = _h === void 0 ? false : _h, _j = _a.minSpaceBetweenSteps, minSpaceBetweenSteps = _j === void 0 ? 24 : _j, checkIsStepDisabled = _a.checkIsStepDisabled, checkIsStepError = _a.checkIsStepError, checkIsStepWarning = _a.checkIsStepWarning, checkIsStepWaiting = _a.checkIsStepWaiting, checkIsStepPositive = _a.checkIsStepPositive, checkIsStepCustom = _a.checkIsStepCustom, onChange = _a.onChange, dataTestId = _a.dataTestId;
|
|
17
|
-
var
|
|
18
|
-
var _k = React.useState(defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
17
|
+
var _k = React.useState(activeStepProp || defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
19
18
|
var stepsLength = React__default.default.Children.count(children);
|
|
20
|
-
|
|
21
|
-
if (
|
|
22
|
-
setActiveStep(
|
|
19
|
+
React.useEffect(function () {
|
|
20
|
+
if (activeStepProp) {
|
|
21
|
+
setActiveStep(activeStepProp);
|
|
23
22
|
}
|
|
23
|
+
}, [activeStepProp]);
|
|
24
|
+
var handleStepClick = function (stepNumber) {
|
|
25
|
+
setActiveStep(stepNumber);
|
|
24
26
|
if (onChange) {
|
|
25
27
|
onChange(stepNumber);
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
if (!stepsLength)
|
|
29
31
|
return null;
|
|
30
|
-
var visibleActiveStep = uncontrolled ? activeStep : activeStepProp;
|
|
31
32
|
return (React__default.default.createElement("div", { className: cn__default.default(className, styles__default.default.component, (_b = {},
|
|
32
33
|
_b[styles__default.default.vertical] = isVerticalAlign,
|
|
33
34
|
_b)), "data-test-id": dataTestId }, React__default.default.Children.map(children, function (step, index) {
|
|
34
35
|
var stepNumber = index + 1;
|
|
35
|
-
var isSelected = stepNumber ===
|
|
36
|
-
var isStepCompleted = isMarkCompletedSteps && stepNumber <
|
|
36
|
+
var isSelected = stepNumber === activeStep;
|
|
37
|
+
var isStepCompleted = isMarkCompletedSteps && stepNumber < activeStep;
|
|
37
38
|
var disabled = checkIsStepDisabled ? checkIsStepDisabled(stepNumber) : false;
|
|
38
39
|
var isPositive = checkIsStepPositive ? checkIsStepPositive(stepNumber) : false;
|
|
39
40
|
var isError = checkIsStepError ? checkIsStepError(stepNumber) : false;
|
package/steps/esm/Component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Step } from './components/step/Component.js';
|
|
4
4
|
import 'tslib';
|
|
@@ -15,26 +15,27 @@ require('./index.css');
|
|
|
15
15
|
var Steps = function (_a) {
|
|
16
16
|
var _b;
|
|
17
17
|
var className = _a.className, children = _a.children, _c = _a.defaultActiveStep, defaultActiveStep = _c === void 0 ? 1 : _c, activeStepProp = _a.activeStep, _d = _a.isMarkCompletedSteps, isMarkCompletedSteps = _d === void 0 ? true : _d, _e = _a.isVerticalAlign, isVerticalAlign = _e === void 0 ? false : _e, _f = _a.ordered, ordered = _f === void 0 ? true : _f, _g = _a.interactive, interactive = _g === void 0 ? true : _g, _h = _a.fullWidth, fullWidth = _h === void 0 ? false : _h, _j = _a.minSpaceBetweenSteps, minSpaceBetweenSteps = _j === void 0 ? 24 : _j, checkIsStepDisabled = _a.checkIsStepDisabled, checkIsStepError = _a.checkIsStepError, checkIsStepWarning = _a.checkIsStepWarning, checkIsStepWaiting = _a.checkIsStepWaiting, checkIsStepPositive = _a.checkIsStepPositive, checkIsStepCustom = _a.checkIsStepCustom, onChange = _a.onChange, dataTestId = _a.dataTestId;
|
|
18
|
-
var
|
|
19
|
-
var _k = useState(defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
18
|
+
var _k = useState(activeStepProp || defaultActiveStep), activeStep = _k[0], setActiveStep = _k[1];
|
|
20
19
|
var stepsLength = React.Children.count(children);
|
|
21
|
-
|
|
22
|
-
if (
|
|
23
|
-
setActiveStep(
|
|
20
|
+
useEffect(function () {
|
|
21
|
+
if (activeStepProp) {
|
|
22
|
+
setActiveStep(activeStepProp);
|
|
24
23
|
}
|
|
24
|
+
}, [activeStepProp]);
|
|
25
|
+
var handleStepClick = function (stepNumber) {
|
|
26
|
+
setActiveStep(stepNumber);
|
|
25
27
|
if (onChange) {
|
|
26
28
|
onChange(stepNumber);
|
|
27
29
|
}
|
|
28
30
|
};
|
|
29
31
|
if (!stepsLength)
|
|
30
32
|
return null;
|
|
31
|
-
var visibleActiveStep = uncontrolled ? activeStep : activeStepProp;
|
|
32
33
|
return (React.createElement("div", { className: cn(className, styles.component, (_b = {},
|
|
33
34
|
_b[styles.vertical] = isVerticalAlign,
|
|
34
35
|
_b)), "data-test-id": dataTestId }, React.Children.map(children, function (step, index) {
|
|
35
36
|
var stepNumber = index + 1;
|
|
36
|
-
var isSelected = stepNumber ===
|
|
37
|
-
var isStepCompleted = isMarkCompletedSteps && stepNumber <
|
|
37
|
+
var isSelected = stepNumber === activeStep;
|
|
38
|
+
var isStepCompleted = isMarkCompletedSteps && stepNumber < activeStep;
|
|
38
39
|
var disabled = checkIsStepDisabled ? checkIsStepDisabled(stepNumber) : false;
|
|
39
40
|
var isPositive = checkIsStepPositive ? checkIsStepPositive(stepNumber) : false;
|
|
40
41
|
var isError = checkIsStepError ? checkIsStepError(stepNumber) : false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Step } from './components/step/Component.js';
|
|
4
4
|
import '@alfalab/hooks';
|
|
@@ -12,26 +12,27 @@ const styles = {"component":"steps__component_1n1l2","vertical":"steps__vertical
|
|
|
12
12
|
require('./index.css');
|
|
13
13
|
|
|
14
14
|
const Steps = ({ className, children, defaultActiveStep = 1, activeStep: activeStepProp, isMarkCompletedSteps = true, isVerticalAlign = false, ordered = true, interactive = true, fullWidth = false, minSpaceBetweenSteps = 24, checkIsStepDisabled, checkIsStepError, checkIsStepWarning, checkIsStepWaiting, checkIsStepPositive, checkIsStepCustom, onChange, dataTestId, }) => {
|
|
15
|
-
const
|
|
16
|
-
const [activeStep, setActiveStep] = useState(defaultActiveStep);
|
|
15
|
+
const [activeStep, setActiveStep] = useState(activeStepProp || defaultActiveStep);
|
|
17
16
|
const stepsLength = React.Children.count(children);
|
|
18
|
-
|
|
19
|
-
if (
|
|
20
|
-
setActiveStep(
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (activeStepProp) {
|
|
19
|
+
setActiveStep(activeStepProp);
|
|
21
20
|
}
|
|
21
|
+
}, [activeStepProp]);
|
|
22
|
+
const handleStepClick = (stepNumber) => {
|
|
23
|
+
setActiveStep(stepNumber);
|
|
22
24
|
if (onChange) {
|
|
23
25
|
onChange(stepNumber);
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
28
|
if (!stepsLength)
|
|
27
29
|
return null;
|
|
28
|
-
const visibleActiveStep = uncontrolled ? activeStep : activeStepProp;
|
|
29
30
|
return (React.createElement("div", { className: cn(className, styles.component, {
|
|
30
31
|
[styles.vertical]: isVerticalAlign,
|
|
31
32
|
}), "data-test-id": dataTestId }, React.Children.map(children, (step, index) => {
|
|
32
33
|
const stepNumber = index + 1;
|
|
33
|
-
const isSelected = stepNumber ===
|
|
34
|
-
const isStepCompleted = isMarkCompletedSteps && stepNumber <
|
|
34
|
+
const isSelected = stepNumber === activeStep;
|
|
35
|
+
const isStepCompleted = isMarkCompletedSteps && stepNumber < activeStep;
|
|
35
36
|
const disabled = checkIsStepDisabled ? checkIsStepDisabled(stepNumber) : false;
|
|
36
37
|
const isPositive = checkIsStepPositive ? checkIsStepPositive(stepNumber) : false;
|
|
37
38
|
const isError = checkIsStepError ? checkIsStepError(stepNumber) : false;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
.
|
|
2
|
-
background: #e7e8ea;
|
|
3
|
-
} .card-image__loaded_bvs5x {
|
|
4
|
-
background: transparent
|
|
5
|
-
}.badge__component_1x6bo.badge__background-accent_1x6bo {
|
|
1
|
+
.badge__component_1x6bo.badge__background-accent_1x6bo {
|
|
6
2
|
background-color: #f83a2a;
|
|
7
3
|
color: rgba(255, 255, 255, 0.94);
|
|
8
4
|
} .badge__component_1x6bo.badge__background-specialbg-secondary-transparent_1x6bo {
|
|
@@ -77,6 +73,10 @@
|
|
|
77
73
|
} .backdrop__exitActive_14p7c,
|
|
78
74
|
.backdrop__exitDone_14p7c {
|
|
79
75
|
background-color: transparent;
|
|
76
|
+
}.card-image__cardImage_bvs5x {
|
|
77
|
+
background: #e7e8ea;
|
|
78
|
+
} .card-image__loaded_bvs5x {
|
|
79
|
+
background: transparent
|
|
80
80
|
}.divider__component_wc83h {
|
|
81
81
|
border-bottom: 1px solid #353539;
|
|
82
82
|
}.dropzone__component_14isj {
|
|
@@ -193,7 +193,8 @@
|
|
|
193
193
|
color: rgba(255, 255, 255, 0.94)
|
|
194
194
|
} .indicator__grey_1nsoq.indicator__border_1nsoq {
|
|
195
195
|
outline: 2px solid #121213;
|
|
196
|
-
}
|
|
196
|
+
}@keyframes loader__blink_1pw7m {
|
|
197
|
+
}.link__primary_ntmi4 {
|
|
197
198
|
color: rgba(255, 255, 255, 0.94);
|
|
198
199
|
border-bottom-color: rgba(255, 255, 255, 0.94)
|
|
199
200
|
} @media (hover: hover) {
|
|
@@ -259,8 +260,7 @@
|
|
|
259
260
|
}
|
|
260
261
|
} .link__defaultView_1qr6m:active {
|
|
261
262
|
color: #2453b4;
|
|
262
|
-
}
|
|
263
|
-
}.progress-bar__container_1s9v6 {
|
|
263
|
+
}.progress-bar__container_1s9v6 {
|
|
264
264
|
background: rgba(222, 222, 238, 0.13)
|
|
265
265
|
} .progress-bar__filled_1s9v6.progress-bar__positive_1s9v6 {
|
|
266
266
|
background: #17d055;
|
|
@@ -278,7 +278,17 @@
|
|
|
278
278
|
background: #fff;
|
|
279
279
|
} .progress-bar__filled_1s9v6.progress-bar__accent_1s9v6 {
|
|
280
280
|
background: #f83a2a;
|
|
281
|
-
}.
|
|
281
|
+
}.scrollbar__component_1qo42 .scrollbar:before {
|
|
282
|
+
background-color: rgba(228, 228, 251, 0.28);
|
|
283
|
+
} .scrollbar__component_1qo42.dragging .track .scrollbar.visible:before {
|
|
284
|
+
background-color: rgba(238, 238, 254, 0.46);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.scrollbar__component_1jt2a .scrollbar:before {
|
|
288
|
+
background-color: rgba(9, 12, 37, 0.28);
|
|
289
|
+
} .scrollbar__component_1jt2a.dragging .track .scrollbar.visible:before {
|
|
290
|
+
background-color: rgba(4, 4, 21, 0.47);
|
|
291
|
+
}.skeleton__component_zlc0o {
|
|
282
292
|
color: transparent;
|
|
283
293
|
background: rgba(214, 214, 229, 0.07)
|
|
284
294
|
} .skeleton__component_zlc0o:before {
|
|
@@ -290,17 +300,25 @@
|
|
|
290
300
|
100% {
|
|
291
301
|
background: rgba(222, 222, 238, 0.13);
|
|
292
302
|
}
|
|
293
|
-
}.
|
|
294
|
-
background
|
|
295
|
-
} .
|
|
296
|
-
background
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
303
|
+
}.slider__component_jbeda .noUi-base:hover .noUi-connects {
|
|
304
|
+
background: rgba(222, 222, 238, 0.13);
|
|
305
|
+
} .slider__component_jbeda .noUi-base:hover .noUi-connect {
|
|
306
|
+
background: #f83a2a;
|
|
307
|
+
} .slider__component_jbeda .noUi-handle:hover .noUi-touch-area {
|
|
308
|
+
background: #ff503e;
|
|
309
|
+
} .slider__component_jbeda .noUi-handle:active .noUi-touch-area {
|
|
310
|
+
background: #fd624e;
|
|
311
|
+
} .slider__component_jbeda .noUi-connects {
|
|
312
|
+
background: rgba(222, 222, 238, 0.13);
|
|
313
|
+
} .slider__component_jbeda .noUi-connect {
|
|
314
|
+
background: #f83a2a;
|
|
315
|
+
} .slider__component_jbeda .noUi-handle {
|
|
316
|
+
border: 2px solid transparent;
|
|
317
|
+
} .slider__component_jbeda .noUi-touch-area {
|
|
318
|
+
background: #f83a2a;
|
|
319
|
+
} .slider__component_jbeda .noUi-pips {
|
|
320
|
+
color: rgba(238, 238, 251, 0.55);
|
|
321
|
+
}.segmented-control__wrapper_z5389 {
|
|
304
322
|
background-color: rgba(225, 225, 248, 0.09);
|
|
305
323
|
} .segmented-control__segment_z5389.segmented-control__selected_z5389 {
|
|
306
324
|
color: rgba(255, 255, 255, 0.94);
|
|
@@ -334,24 +352,6 @@
|
|
|
334
352
|
color: rgba(3, 3, 6, 0.88)
|
|
335
353
|
} .segmented-control__segment_1j9aq:not(:first-child):before {
|
|
336
354
|
background-color: rgba(15, 25, 55, 0.1);
|
|
337
|
-
}.slider__component_jbeda .noUi-base:hover .noUi-connects {
|
|
338
|
-
background: rgba(222, 222, 238, 0.13);
|
|
339
|
-
} .slider__component_jbeda .noUi-base:hover .noUi-connect {
|
|
340
|
-
background: #f83a2a;
|
|
341
|
-
} .slider__component_jbeda .noUi-handle:hover .noUi-touch-area {
|
|
342
|
-
background: #ff503e;
|
|
343
|
-
} .slider__component_jbeda .noUi-handle:active .noUi-touch-area {
|
|
344
|
-
background: #fd624e;
|
|
345
|
-
} .slider__component_jbeda .noUi-connects {
|
|
346
|
-
background: rgba(222, 222, 238, 0.13);
|
|
347
|
-
} .slider__component_jbeda .noUi-connect {
|
|
348
|
-
background: #f83a2a;
|
|
349
|
-
} .slider__component_jbeda .noUi-handle {
|
|
350
|
-
border: 2px solid transparent;
|
|
351
|
-
} .slider__component_jbeda .noUi-touch-area {
|
|
352
|
-
background: #f83a2a;
|
|
353
|
-
} .slider__component_jbeda .noUi-pips {
|
|
354
|
-
color: rgba(238, 238, 251, 0.55);
|
|
355
355
|
}.spinner__component_15bi5 {
|
|
356
356
|
color: #fff;
|
|
357
357
|
}
|
|
@@ -359,6 +359,34 @@
|
|
|
359
359
|
}
|
|
360
360
|
.spinner__component_1b5um {
|
|
361
361
|
color: #121213;
|
|
362
|
+
}.status-badge__positive-checkmark_77dqz {
|
|
363
|
+
background-color: #17d055;
|
|
364
|
+
} .status-badge__negative-cross_77dqz,
|
|
365
|
+
.status-badge__negative-alert_77dqz,
|
|
366
|
+
.status-badge__negative-block_77dqz {
|
|
367
|
+
background-color: #ff4837;
|
|
368
|
+
} .status-badge__attention-alert_77dqz {
|
|
369
|
+
background-color: #fda136;
|
|
370
|
+
} .status-badge__neutral-information_77dqz,
|
|
371
|
+
.status-badge__neutral-operation_77dqz,
|
|
372
|
+
.status-badge__neutral-cross_77dqz {
|
|
373
|
+
background-color: #898991;
|
|
374
|
+
}
|
|
375
|
+
.status-badge__component_dkjbi {
|
|
376
|
+
color: #fff;
|
|
377
|
+
}
|
|
378
|
+
.status-badge__positive-checkmark_1ez6y {
|
|
379
|
+
background-color: #0cc44d;
|
|
380
|
+
} .status-badge__negative-cross_1ez6y,
|
|
381
|
+
.status-badge__negative-alert_1ez6y,
|
|
382
|
+
.status-badge__negative-block_1ez6y {
|
|
383
|
+
background-color: #ff4837;
|
|
384
|
+
} .status-badge__attention-alert_1ez6y {
|
|
385
|
+
background-color: #fa9313;
|
|
386
|
+
} .status-badge__neutral-information_1ez6y,
|
|
387
|
+
.status-badge__neutral-operation_1ez6y,
|
|
388
|
+
.status-badge__neutral-cross_1ez6y {
|
|
389
|
+
background-color: #898991;
|
|
362
390
|
}.status__soft_1keqd.status__green_1keqd {
|
|
363
391
|
background: #d1f1d7;
|
|
364
392
|
color: #0d9336;
|
|
@@ -396,32 +424,4 @@
|
|
|
396
424
|
background: #09b9be;
|
|
397
425
|
} .status__contrast_1keqd.status__purple_1keqd {
|
|
398
426
|
background: #897eff;
|
|
399
|
-
}
|
|
400
|
-
background-color: #17d055;
|
|
401
|
-
} .status-badge__negative-cross_77dqz,
|
|
402
|
-
.status-badge__negative-alert_77dqz,
|
|
403
|
-
.status-badge__negative-block_77dqz {
|
|
404
|
-
background-color: #ff4837;
|
|
405
|
-
} .status-badge__attention-alert_77dqz {
|
|
406
|
-
background-color: #fda136;
|
|
407
|
-
} .status-badge__neutral-information_77dqz,
|
|
408
|
-
.status-badge__neutral-operation_77dqz,
|
|
409
|
-
.status-badge__neutral-cross_77dqz {
|
|
410
|
-
background-color: #898991;
|
|
411
|
-
}
|
|
412
|
-
.status-badge__component_dkjbi {
|
|
413
|
-
color: #fff;
|
|
414
|
-
}
|
|
415
|
-
.status-badge__positive-checkmark_1ez6y {
|
|
416
|
-
background-color: #0cc44d;
|
|
417
|
-
} .status-badge__negative-cross_1ez6y,
|
|
418
|
-
.status-badge__negative-alert_1ez6y,
|
|
419
|
-
.status-badge__negative-block_1ez6y {
|
|
420
|
-
background-color: #ff4837;
|
|
421
|
-
} .status-badge__attention-alert_1ez6y {
|
|
422
|
-
background-color: #fa9313;
|
|
423
|
-
} .status-badge__neutral-information_1ez6y,
|
|
424
|
-
.status-badge__neutral-operation_1ez6y,
|
|
425
|
-
.status-badge__neutral-cross_1ez6y {
|
|
426
|
-
background-color: #898991;
|
|
427
|
-
}
|
|
427
|
+
}
|
|
@@ -4,7 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsIconButton = require('../../../icon-button');
|
|
7
|
-
var getDataTestId = require('../../getDataTestId-
|
|
7
|
+
var getDataTestId = require('../../getDataTestId-442368bd.js');
|
|
8
8
|
require('@alfalab/hooks');
|
|
9
9
|
var coreComponentsStatusBadge = require('../../../status-badge');
|
|
10
10
|
var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
|
|
@@ -6,7 +6,7 @@ import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
|
6
6
|
import './components/base-toast-plate/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../../icon-button/esm';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-f4dc32c7.js';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../../status-badge/esm';
|
|
12
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { IconButton } from '../../../../icon-button/esm';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-f4dc32c7.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import { StatusBadge } from '../../../../status-badge/esm';
|
|
8
8
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../../icon-button/esm';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-f4dc32c7.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-f4dc32c7.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '../getDataTestId-
|
|
7
|
+
import '../getDataTestId-f4dc32c7.js';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../../../status-badge/esm';
|
|
10
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-f4dc32c7";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
package/toast-plate/esm/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import './desktop/Component.desktop.js';
|
|
|
6
6
|
import './components/base-toast-plate/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../../icon-button/esm';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-f4dc32c7.js';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../../status-badge/esm';
|
|
12
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-f4dc32c7.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '../getDataTestId-
|
|
7
|
+
import '../getDataTestId-f4dc32c7.js';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../../../status-badge/esm';
|
|
10
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-442368bd";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -5,7 +5,7 @@ import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../icon-button/modern';
|
|
8
|
-
import './getDataTestId-
|
|
8
|
+
import './getDataTestId-16038735.js';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../status-badge/modern';
|
|
11
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { IconButton } from '../../../../icon-button/modern';
|
|
4
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-16038735.js';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import { StatusBadge } from '../../../../status-badge/modern';
|
|
7
7
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ export { BaseToastPlate } from './component.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../../icon-button/modern';
|
|
5
|
-
import '../../getDataTestId-
|
|
5
|
+
import '../../getDataTestId-16038735.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '../getDataTestId-
|
|
5
|
+
import '../getDataTestId-16038735.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-16038735.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-16038735";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -5,7 +5,7 @@ import './desktop/Component.desktop.js';
|
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../icon-button/modern';
|
|
8
|
-
import './getDataTestId-
|
|
8
|
+
import './getDataTestId-16038735.js';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../status-badge/modern';
|
|
11
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '../getDataTestId-
|
|
5
|
+
import '../getDataTestId-16038735.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-16038735.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -9,10 +9,10 @@ import 'classnames';
|
|
|
9
9
|
import './hooks/use-skeleton.js';
|
|
10
10
|
import '../../skeleton/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
-
import './colors.module-
|
|
12
|
+
import './colors.module-2b53143b.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-1373fada.js';
|
|
16
16
|
import '../../mq/esm';
|
|
17
17
|
|
|
18
18
|
var Typography = {
|
package/typography/esm/index.js
CHANGED
|
@@ -8,11 +8,11 @@ import 'classnames';
|
|
|
8
8
|
import './hooks/use-skeleton.js';
|
|
9
9
|
import '../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-
|
|
11
|
+
import './colors.module-2b53143b.js';
|
|
12
12
|
import './title/index.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-1373fada.js';
|
|
16
16
|
import './title-mobile/component.js';
|
|
17
17
|
import './title-responsive/component.js';
|
|
18
18
|
import '../../mq/esm';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-2b53143b.js';
|
|
7
7
|
import '../../../skeleton/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|