@alfalab/core-components-steps 1.5.0 → 1.5.1

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/Component.js CHANGED
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
18
18
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
19
19
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
20
20
 
21
- var styles = {"component":"steps__component_1o289","vertical":"steps__vertical_1o289"};
21
+ var styles = {"component":"steps__component_1yc4g","vertical":"steps__vertical_1yc4g"};
22
22
  require('./index.css')
23
23
 
24
24
  var Steps = function (_a) {
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
17
17
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
 
20
- var styles = {"step":"steps__step_1fcm4","vertical":"steps__vertical_1fcm4","interactive":"steps__interactive_1fcm4","disabled":"steps__disabled_1fcm4","text":"steps__text_1fcm4","indicator":"steps__indicator_1fcm4","option":"steps__option_1fcm4","dash":"steps__dash_1fcm4","completed":"steps__completed_1fcm4","focused":"steps__focused_1fcm4","selected":"steps__selected_1fcm4","checkbox":"steps__checkbox_1fcm4","dot":"steps__dot_1fcm4","error":"steps__error_1fcm4","unordered":"steps__unordered_1fcm4","completedIndicator":"steps__completedIndicator_1fcm4"};
20
+ var styles = {"step":"steps__step_2yi0h","vertical":"steps__vertical_2yi0h","interactive":"steps__interactive_2yi0h","disabled":"steps__disabled_2yi0h","text":"steps__text_2yi0h","indicator":"steps__indicator_2yi0h","option":"steps__option_2yi0h","dash":"steps__dash_2yi0h","completed":"steps__completed_2yi0h","focused":"steps__focused_2yi0h","selected":"steps__selected_2yi0h","checkbox":"steps__checkbox_2yi0h","dot":"steps__dot_2yi0h","error":"steps__error_2yi0h","unordered":"steps__unordered_2yi0h","completedIndicator":"steps__completedIndicator_2yi0h"};
21
21
  require('./index.css')
22
22
 
23
23
  var Step = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yc90 */
1
+ /* hash: k7srz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -30,26 +30,26 @@
30
30
  } :root {
31
31
  --steps-option-svg-color: var(--color-light-status-positive);
32
32
  --steps-dash-border: 2px solid var(--color-light-status-positive);
33
- } .steps__step_1fcm4 {
33
+ } .steps__step_2yi0h {
34
34
  display: flex;
35
35
  outline: none
36
- } .steps__step_1fcm4:not(.steps__vertical_1fcm4) {
36
+ } .steps__step_2yi0h:not(.steps__vertical_2yi0h) {
37
37
  align-items: center;
38
- } .steps__step_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
38
+ } .steps__step_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
39
39
  cursor: pointer;
40
- } .steps__step_1fcm4.steps__disabled_1fcm4:hover .steps__text_1fcm4 {
40
+ } .steps__step_2yi0h.steps__disabled_2yi0h:hover .steps__text_2yi0h {
41
41
  background: unset;
42
- } .steps__step_1fcm4.steps__disabled_1fcm4 .steps__indicator_1fcm4 {
42
+ } .steps__step_2yi0h.steps__disabled_2yi0h .steps__indicator_2yi0h {
43
43
  cursor: unset;
44
- } .steps__indicator_1fcm4 {
44
+ } .steps__indicator_2yi0h {
45
45
  cursor: pointer;
46
46
  display: flex;
47
47
  align-items: center;
48
48
  margin-right: var(--gap-2xs)
49
- } .steps__indicator_1fcm4.steps__vertical_1fcm4 {
49
+ } .steps__indicator_2yi0h.steps__vertical_2yi0h {
50
50
  flex-direction: column;
51
51
  margin-right: var(--gap-xs);
52
- } .steps__option_1fcm4 {
52
+ } .steps__option_2yi0h {
53
53
  font-size: 14px;
54
54
  line-height: 20px;
55
55
  font-weight: 700;
@@ -62,25 +62,25 @@
62
62
  min-width: 24px;
63
63
  height: 24px;
64
64
  border-radius: var(--border-radius-circle)
65
- } .steps__option_1fcm4.steps__vertical_1fcm4 {
65
+ } .steps__option_2yi0h.steps__vertical_2yi0h {
66
66
  margin-top: var(--gap-xs);
67
- } .steps__dash_1fcm4 {
67
+ } .steps__dash_2yi0h {
68
68
  flex: 1 1 auto;
69
69
  min-width: 24px;
70
70
  border-top: 2px solid var(--color-light-neutral-translucent-300);
71
71
  margin-right: var(--gap-xs)
72
- } .steps__dash_1fcm4.steps__completed_1fcm4 {
72
+ } .steps__dash_2yi0h.steps__completed_2yi0h {
73
73
  border-top: var(--steps-dash-border);
74
- } .steps__dash_1fcm4.steps__vertical_1fcm4 {
74
+ } .steps__dash_2yi0h.steps__vertical_2yi0h {
75
75
  min-width: unset;
76
76
  min-height: 24px;
77
77
  margin-right: 0;
78
78
  margin-top: var(--gap-xs);
79
79
  border-left: 2px solid var(--color-light-neutral-translucent-300);
80
80
  border-top: none;
81
- } .steps__dash_1fcm4.steps__completed_1fcm4.steps__vertical_1fcm4 {
81
+ } .steps__dash_2yi0h.steps__completed_2yi0h.steps__vertical_2yi0h {
82
82
  border-left: var(--steps-dash-border);
83
- } .steps__text_1fcm4 {
83
+ } .steps__text_2yi0h {
84
84
  font-size: 16px;
85
85
  line-height: 24px;
86
86
  font-weight: 400;
@@ -90,19 +90,19 @@
90
90
  color: var(--color-light-text-primary);
91
91
  border-radius: var(--gap-xs);
92
92
  height: min-content
93
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
93
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
94
94
  background: var(--color-light-transparent-default-hover);
95
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):active {
95
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):active {
96
96
  background: var(--color-light-transparent-default-press);
97
- } .steps__focused_1fcm4 {
97
+ } .steps__focused_2yi0h {
98
98
  outline: var(--gap-3xs) solid var(--focus-color);
99
99
  outline-offset: var(--gap-3xs);
100
- } .steps__selected_1fcm4 .steps__text_1fcm4 {
100
+ } .steps__selected_2yi0h .steps__text_2yi0h {
101
101
  color: var(--color-light-text-primary);
102
- } .steps__selected_1fcm4 .steps__option_1fcm4 {
102
+ } .steps__selected_2yi0h .steps__option_2yi0h {
103
103
  color: var(--color-light-text-primary-inverted);
104
104
  background: var(--color-light-neutral-1500);
105
- } .steps__checkbox_1fcm4 {
105
+ } .steps__checkbox_2yi0h {
106
106
  display: flex;
107
107
  justify-content: center;
108
108
  align-items: center;
@@ -110,18 +110,18 @@
110
110
  width: 20px;
111
111
  height: 20px;
112
112
  border: 2px solid var(--color-light-neutral-translucent-300);
113
- } .steps__dot_1fcm4 {
113
+ } .steps__dot_2yi0h {
114
114
  width: 10px;
115
115
  height: 10px;
116
116
  border-radius: var(--border-radius-circle);
117
117
  background: var(--color-light-neutral-translucent-300);
118
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 {
118
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h {
119
119
  border: 2px solid var(--color-light-neutral-1500)
120
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 .steps__dot_1fcm4 {
120
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h .steps__dot_2yi0h {
121
121
  background: var(--color-light-neutral-1500);
122
- } .steps__option_1fcm4:not(.steps__error_1fcm4).steps__unordered_1fcm4 {
122
+ } .steps__option_2yi0h:not(.steps__error_2yi0h).steps__unordered_2yi0h {
123
123
  background: unset;
124
- } .steps__completedIndicator_1fcm4 > [class*='positive'] {
124
+ } .steps__completedIndicator_2yi0h > [class*='positive'] {
125
125
  color: var(--steps-option-svg-color);
126
126
  background-color: var(--steps-option-svg-color);
127
127
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"component":"steps__component_11fe7"};
14
+ var styles = {"component":"steps__component_qiryz"};
15
15
  require('./index.css')
16
16
 
17
17
  var StepIndicator = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: dzm0y */
2
- .steps__component_11fe7 {
1
+ /* hash: yw9u7 */
2
+ .steps__component_qiryz {
3
3
  padding: 0;
4
4
  }
package/esm/Component.js CHANGED
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/ExclamationCircleMIcon';
9
9
  import './components/step-indicator/Component.js';
10
10
  import '@alfalab/core-components-badge/esm';
11
11
 
12
- var styles = {"component":"steps__component_1o289","vertical":"steps__vertical_1o289"};
12
+ var styles = {"component":"steps__component_1yc4g","vertical":"steps__vertical_1yc4g"};
13
13
  require('./index.css')
14
14
 
15
15
  var Steps = function (_a) {
@@ -8,7 +8,7 @@ import { ExclamationCircleMIcon } from '@alfalab/icons-glyph/ExclamationCircleMI
8
8
  import { StepIndicator } from '../step-indicator/Component.js';
9
9
  import '@alfalab/core-components-badge/esm';
10
10
 
11
- var styles = {"step":"steps__step_1fcm4","vertical":"steps__vertical_1fcm4","interactive":"steps__interactive_1fcm4","disabled":"steps__disabled_1fcm4","text":"steps__text_1fcm4","indicator":"steps__indicator_1fcm4","option":"steps__option_1fcm4","dash":"steps__dash_1fcm4","completed":"steps__completed_1fcm4","focused":"steps__focused_1fcm4","selected":"steps__selected_1fcm4","checkbox":"steps__checkbox_1fcm4","dot":"steps__dot_1fcm4","error":"steps__error_1fcm4","unordered":"steps__unordered_1fcm4","completedIndicator":"steps__completedIndicator_1fcm4"};
11
+ var styles = {"step":"steps__step_2yi0h","vertical":"steps__vertical_2yi0h","interactive":"steps__interactive_2yi0h","disabled":"steps__disabled_2yi0h","text":"steps__text_2yi0h","indicator":"steps__indicator_2yi0h","option":"steps__option_2yi0h","dash":"steps__dash_2yi0h","completed":"steps__completed_2yi0h","focused":"steps__focused_2yi0h","selected":"steps__selected_2yi0h","checkbox":"steps__checkbox_2yi0h","dot":"steps__dot_2yi0h","error":"steps__error_2yi0h","unordered":"steps__unordered_2yi0h","completedIndicator":"steps__completedIndicator_2yi0h"};
12
12
  require('./index.css')
13
13
 
14
14
  var Step = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yc90 */
1
+ /* hash: k7srz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -30,26 +30,26 @@
30
30
  } :root {
31
31
  --steps-option-svg-color: var(--color-light-status-positive);
32
32
  --steps-dash-border: 2px solid var(--color-light-status-positive);
33
- } .steps__step_1fcm4 {
33
+ } .steps__step_2yi0h {
34
34
  display: flex;
35
35
  outline: none
36
- } .steps__step_1fcm4:not(.steps__vertical_1fcm4) {
36
+ } .steps__step_2yi0h:not(.steps__vertical_2yi0h) {
37
37
  align-items: center;
38
- } .steps__step_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
38
+ } .steps__step_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
39
39
  cursor: pointer;
40
- } .steps__step_1fcm4.steps__disabled_1fcm4:hover .steps__text_1fcm4 {
40
+ } .steps__step_2yi0h.steps__disabled_2yi0h:hover .steps__text_2yi0h {
41
41
  background: unset;
42
- } .steps__step_1fcm4.steps__disabled_1fcm4 .steps__indicator_1fcm4 {
42
+ } .steps__step_2yi0h.steps__disabled_2yi0h .steps__indicator_2yi0h {
43
43
  cursor: unset;
44
- } .steps__indicator_1fcm4 {
44
+ } .steps__indicator_2yi0h {
45
45
  cursor: pointer;
46
46
  display: flex;
47
47
  align-items: center;
48
48
  margin-right: var(--gap-2xs)
49
- } .steps__indicator_1fcm4.steps__vertical_1fcm4 {
49
+ } .steps__indicator_2yi0h.steps__vertical_2yi0h {
50
50
  flex-direction: column;
51
51
  margin-right: var(--gap-xs);
52
- } .steps__option_1fcm4 {
52
+ } .steps__option_2yi0h {
53
53
  font-size: 14px;
54
54
  line-height: 20px;
55
55
  font-weight: 700;
@@ -62,25 +62,25 @@
62
62
  min-width: 24px;
63
63
  height: 24px;
64
64
  border-radius: var(--border-radius-circle)
65
- } .steps__option_1fcm4.steps__vertical_1fcm4 {
65
+ } .steps__option_2yi0h.steps__vertical_2yi0h {
66
66
  margin-top: var(--gap-xs);
67
- } .steps__dash_1fcm4 {
67
+ } .steps__dash_2yi0h {
68
68
  flex: 1 1 auto;
69
69
  min-width: 24px;
70
70
  border-top: 2px solid var(--color-light-neutral-translucent-300);
71
71
  margin-right: var(--gap-xs)
72
- } .steps__dash_1fcm4.steps__completed_1fcm4 {
72
+ } .steps__dash_2yi0h.steps__completed_2yi0h {
73
73
  border-top: var(--steps-dash-border);
74
- } .steps__dash_1fcm4.steps__vertical_1fcm4 {
74
+ } .steps__dash_2yi0h.steps__vertical_2yi0h {
75
75
  min-width: unset;
76
76
  min-height: 24px;
77
77
  margin-right: 0;
78
78
  margin-top: var(--gap-xs);
79
79
  border-left: 2px solid var(--color-light-neutral-translucent-300);
80
80
  border-top: none;
81
- } .steps__dash_1fcm4.steps__completed_1fcm4.steps__vertical_1fcm4 {
81
+ } .steps__dash_2yi0h.steps__completed_2yi0h.steps__vertical_2yi0h {
82
82
  border-left: var(--steps-dash-border);
83
- } .steps__text_1fcm4 {
83
+ } .steps__text_2yi0h {
84
84
  font-size: 16px;
85
85
  line-height: 24px;
86
86
  font-weight: 400;
@@ -90,19 +90,19 @@
90
90
  color: var(--color-light-text-primary);
91
91
  border-radius: var(--gap-xs);
92
92
  height: min-content
93
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
93
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
94
94
  background: var(--color-light-transparent-default-hover);
95
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):active {
95
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):active {
96
96
  background: var(--color-light-transparent-default-press);
97
- } .steps__focused_1fcm4 {
97
+ } .steps__focused_2yi0h {
98
98
  outline: var(--gap-3xs) solid var(--focus-color);
99
99
  outline-offset: var(--gap-3xs);
100
- } .steps__selected_1fcm4 .steps__text_1fcm4 {
100
+ } .steps__selected_2yi0h .steps__text_2yi0h {
101
101
  color: var(--color-light-text-primary);
102
- } .steps__selected_1fcm4 .steps__option_1fcm4 {
102
+ } .steps__selected_2yi0h .steps__option_2yi0h {
103
103
  color: var(--color-light-text-primary-inverted);
104
104
  background: var(--color-light-neutral-1500);
105
- } .steps__checkbox_1fcm4 {
105
+ } .steps__checkbox_2yi0h {
106
106
  display: flex;
107
107
  justify-content: center;
108
108
  align-items: center;
@@ -110,18 +110,18 @@
110
110
  width: 20px;
111
111
  height: 20px;
112
112
  border: 2px solid var(--color-light-neutral-translucent-300);
113
- } .steps__dot_1fcm4 {
113
+ } .steps__dot_2yi0h {
114
114
  width: 10px;
115
115
  height: 10px;
116
116
  border-radius: var(--border-radius-circle);
117
117
  background: var(--color-light-neutral-translucent-300);
118
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 {
118
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h {
119
119
  border: 2px solid var(--color-light-neutral-1500)
120
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 .steps__dot_1fcm4 {
120
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h .steps__dot_2yi0h {
121
121
  background: var(--color-light-neutral-1500);
122
- } .steps__option_1fcm4:not(.steps__error_1fcm4).steps__unordered_1fcm4 {
122
+ } .steps__option_2yi0h:not(.steps__error_2yi0h).steps__unordered_2yi0h {
123
123
  background: unset;
124
- } .steps__completedIndicator_1fcm4 > [class*='positive'] {
124
+ } .steps__completedIndicator_2yi0h > [class*='positive'] {
125
125
  color: var(--steps-option-svg-color);
126
126
  background-color: var(--steps-option-svg-color);
127
127
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Badge } from '@alfalab/core-components-badge/esm';
4
4
 
5
- var styles = {"component":"steps__component_11fe7"};
5
+ var styles = {"component":"steps__component_qiryz"};
6
6
  require('./index.css')
7
7
 
8
8
  var StepIndicator = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: dzm0y */
2
- .steps__component_11fe7 {
1
+ /* hash: yw9u7 */
2
+ .steps__component_qiryz {
3
3
  padding: 0;
4
4
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: j4zlv */
1
+ /* hash: 29j93 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .steps__component_1o289 {
17
+ } .steps__component_1yc4g {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_1o289.steps__vertical_1o289 {
21
+ } .steps__component_1yc4g.steps__vertical_1yc4g {
22
22
  flex-direction: column;
23
23
  align-items: flex-start;
24
24
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: j4zlv */
1
+ /* hash: 29j93 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .steps__component_1o289 {
17
+ } .steps__component_1yc4g {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_1o289.steps__vertical_1o289 {
21
+ } .steps__component_1yc4g.steps__vertical_1yc4g {
22
22
  flex-direction: column;
23
23
  align-items: flex-start;
24
24
  }
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/ExclamationCircleMIcon';
8
8
  import './components/step-indicator/Component.js';
9
9
  import '@alfalab/core-components-badge/modern';
10
10
 
11
- const styles = {"component":"steps__component_1o289","vertical":"steps__vertical_1o289"};
11
+ const styles = {"component":"steps__component_1yc4g","vertical":"steps__vertical_1yc4g"};
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, checkIsStepDisabled, checkIsStepError, checkIsStepWarning, checkIsStepWaiting, checkIsStepPositive, checkIsStepCustom, onChange, dataTestId, }) => {
@@ -7,7 +7,7 @@ import { ExclamationCircleMIcon } from '@alfalab/icons-glyph/ExclamationCircleMI
7
7
  import { StepIndicator } from '../step-indicator/Component.js';
8
8
  import '@alfalab/core-components-badge/modern';
9
9
 
10
- const styles = {"step":"steps__step_1fcm4","vertical":"steps__vertical_1fcm4","interactive":"steps__interactive_1fcm4","disabled":"steps__disabled_1fcm4","text":"steps__text_1fcm4","indicator":"steps__indicator_1fcm4","option":"steps__option_1fcm4","dash":"steps__dash_1fcm4","completed":"steps__completed_1fcm4","focused":"steps__focused_1fcm4","selected":"steps__selected_1fcm4","checkbox":"steps__checkbox_1fcm4","dot":"steps__dot_1fcm4","error":"steps__error_1fcm4","unordered":"steps__unordered_1fcm4","completedIndicator":"steps__completedIndicator_1fcm4"};
10
+ const styles = {"step":"steps__step_2yi0h","vertical":"steps__vertical_2yi0h","interactive":"steps__interactive_2yi0h","disabled":"steps__disabled_2yi0h","text":"steps__text_2yi0h","indicator":"steps__indicator_2yi0h","option":"steps__option_2yi0h","dash":"steps__dash_2yi0h","completed":"steps__completed_2yi0h","focused":"steps__focused_2yi0h","selected":"steps__selected_2yi0h","checkbox":"steps__checkbox_2yi0h","dot":"steps__dot_2yi0h","error":"steps__error_2yi0h","unordered":"steps__unordered_2yi0h","completedIndicator":"steps__completedIndicator_2yi0h"};
11
11
  require('./index.css')
12
12
 
13
13
  const Step = ({ children, stepNumber, isSelected, disabled, ordered, isPositive, isError, isWarning, isWaiting, customStepIndicator, isStepCompleted, onClick, interactive, isVerticalAlign, isNotLastStep, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1yc90 */
1
+ /* hash: k7srz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -30,26 +30,26 @@
30
30
  } :root {
31
31
  --steps-option-svg-color: var(--color-light-status-positive);
32
32
  --steps-dash-border: 2px solid var(--color-light-status-positive);
33
- } .steps__step_1fcm4 {
33
+ } .steps__step_2yi0h {
34
34
  display: flex;
35
35
  outline: none
36
- } .steps__step_1fcm4:not(.steps__vertical_1fcm4) {
36
+ } .steps__step_2yi0h:not(.steps__vertical_2yi0h) {
37
37
  align-items: center;
38
- } .steps__step_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
38
+ } .steps__step_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
39
39
  cursor: pointer;
40
- } .steps__step_1fcm4.steps__disabled_1fcm4:hover .steps__text_1fcm4 {
40
+ } .steps__step_2yi0h.steps__disabled_2yi0h:hover .steps__text_2yi0h {
41
41
  background: unset;
42
- } .steps__step_1fcm4.steps__disabled_1fcm4 .steps__indicator_1fcm4 {
42
+ } .steps__step_2yi0h.steps__disabled_2yi0h .steps__indicator_2yi0h {
43
43
  cursor: unset;
44
- } .steps__indicator_1fcm4 {
44
+ } .steps__indicator_2yi0h {
45
45
  cursor: pointer;
46
46
  display: flex;
47
47
  align-items: center;
48
48
  margin-right: var(--gap-2xs)
49
- } .steps__indicator_1fcm4.steps__vertical_1fcm4 {
49
+ } .steps__indicator_2yi0h.steps__vertical_2yi0h {
50
50
  flex-direction: column;
51
51
  margin-right: var(--gap-xs);
52
- } .steps__option_1fcm4 {
52
+ } .steps__option_2yi0h {
53
53
  font-size: 14px;
54
54
  line-height: 20px;
55
55
  font-weight: 700;
@@ -62,25 +62,25 @@
62
62
  min-width: 24px;
63
63
  height: 24px;
64
64
  border-radius: var(--border-radius-circle)
65
- } .steps__option_1fcm4.steps__vertical_1fcm4 {
65
+ } .steps__option_2yi0h.steps__vertical_2yi0h {
66
66
  margin-top: var(--gap-xs);
67
- } .steps__dash_1fcm4 {
67
+ } .steps__dash_2yi0h {
68
68
  flex: 1 1 auto;
69
69
  min-width: 24px;
70
70
  border-top: 2px solid var(--color-light-neutral-translucent-300);
71
71
  margin-right: var(--gap-xs)
72
- } .steps__dash_1fcm4.steps__completed_1fcm4 {
72
+ } .steps__dash_2yi0h.steps__completed_2yi0h {
73
73
  border-top: var(--steps-dash-border);
74
- } .steps__dash_1fcm4.steps__vertical_1fcm4 {
74
+ } .steps__dash_2yi0h.steps__vertical_2yi0h {
75
75
  min-width: unset;
76
76
  min-height: 24px;
77
77
  margin-right: 0;
78
78
  margin-top: var(--gap-xs);
79
79
  border-left: 2px solid var(--color-light-neutral-translucent-300);
80
80
  border-top: none;
81
- } .steps__dash_1fcm4.steps__completed_1fcm4.steps__vertical_1fcm4 {
81
+ } .steps__dash_2yi0h.steps__completed_2yi0h.steps__vertical_2yi0h {
82
82
  border-left: var(--steps-dash-border);
83
- } .steps__text_1fcm4 {
83
+ } .steps__text_2yi0h {
84
84
  font-size: 16px;
85
85
  line-height: 24px;
86
86
  font-weight: 400;
@@ -90,19 +90,19 @@
90
90
  color: var(--color-light-text-primary);
91
91
  border-radius: var(--gap-xs);
92
92
  height: min-content
93
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):hover {
93
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
94
94
  background: var(--color-light-transparent-default-hover);
95
- } .steps__text_1fcm4.steps__interactive_1fcm4:not(.steps__disabled_1fcm4):active {
95
+ } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):active {
96
96
  background: var(--color-light-transparent-default-press);
97
- } .steps__focused_1fcm4 {
97
+ } .steps__focused_2yi0h {
98
98
  outline: var(--gap-3xs) solid var(--focus-color);
99
99
  outline-offset: var(--gap-3xs);
100
- } .steps__selected_1fcm4 .steps__text_1fcm4 {
100
+ } .steps__selected_2yi0h .steps__text_2yi0h {
101
101
  color: var(--color-light-text-primary);
102
- } .steps__selected_1fcm4 .steps__option_1fcm4 {
102
+ } .steps__selected_2yi0h .steps__option_2yi0h {
103
103
  color: var(--color-light-text-primary-inverted);
104
104
  background: var(--color-light-neutral-1500);
105
- } .steps__checkbox_1fcm4 {
105
+ } .steps__checkbox_2yi0h {
106
106
  display: flex;
107
107
  justify-content: center;
108
108
  align-items: center;
@@ -110,18 +110,18 @@
110
110
  width: 20px;
111
111
  height: 20px;
112
112
  border: 2px solid var(--color-light-neutral-translucent-300);
113
- } .steps__dot_1fcm4 {
113
+ } .steps__dot_2yi0h {
114
114
  width: 10px;
115
115
  height: 10px;
116
116
  border-radius: var(--border-radius-circle);
117
117
  background: var(--color-light-neutral-translucent-300);
118
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 {
118
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h {
119
119
  border: 2px solid var(--color-light-neutral-1500)
120
- } .steps__selected_1fcm4 .steps__checkbox_1fcm4 .steps__dot_1fcm4 {
120
+ } .steps__selected_2yi0h .steps__checkbox_2yi0h .steps__dot_2yi0h {
121
121
  background: var(--color-light-neutral-1500);
122
- } .steps__option_1fcm4:not(.steps__error_1fcm4).steps__unordered_1fcm4 {
122
+ } .steps__option_2yi0h:not(.steps__error_2yi0h).steps__unordered_2yi0h {
123
123
  background: unset;
124
- } .steps__completedIndicator_1fcm4 > [class*='positive'] {
124
+ } .steps__completedIndicator_2yi0h > [class*='positive'] {
125
125
  color: var(--steps-option-svg-color);
126
126
  background-color: var(--steps-option-svg-color);
127
127
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Badge } from '@alfalab/core-components-badge/modern';
4
4
 
5
- const styles = {"component":"steps__component_11fe7"};
5
+ const styles = {"component":"steps__component_qiryz"};
6
6
  require('./index.css')
7
7
 
8
8
  const StepIndicator = ({ content, iconColor, className }) => (React.createElement(Badge, { size: 'l', view: 'icon', iconColor: iconColor, className: cn(styles.component, className), content: content }));
@@ -1,4 +1,4 @@
1
- /* hash: dzm0y */
2
- .steps__component_11fe7 {
1
+ /* hash: yw9u7 */
2
+ .steps__component_qiryz {
3
3
  padding: 0;
4
4
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: j4zlv */
1
+ /* hash: 29j93 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .steps__component_1o289 {
17
+ } .steps__component_1yc4g {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_1o289.steps__vertical_1o289 {
21
+ } .steps__component_1yc4g.steps__vertical_1yc4g {
22
22
  flex-direction: column;
23
23
  align-items: flex-start;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-steps",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-badge": "^5.5.0",
17
+ "@alfalab/core-components-badge": "^5.5.1",
18
18
  "@alfalab/hooks": "^1.13.0",
19
19
  "@alfalab/icons-glyph": "^2.139.0",
20
20
  "classnames": "^2.3.1",