@alfalab/core-components-steps 1.3.0 → 1.3.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_6608t","vertical":"steps__vertical_6608t"};
21
+ var styles = {"component":"steps__component_1xk4u","vertical":"steps__vertical_1xk4u"};
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_yj7ed","vertical":"steps__vertical_yj7ed","interactive":"steps__interactive_yj7ed","disabled":"steps__disabled_yj7ed","text":"steps__text_yj7ed","indicator":"steps__indicator_yj7ed","option":"steps__option_yj7ed","dash":"steps__dash_yj7ed","completed":"steps__completed_yj7ed","focused":"steps__focused_yj7ed","selected":"steps__selected_yj7ed","checkbox":"steps__checkbox_yj7ed","dot":"steps__dot_yj7ed","error":"steps__error_yj7ed","unordered":"steps__unordered_yj7ed","completedIndicator":"steps__completedIndicator_yj7ed"};
20
+ var styles = {"step":"steps__step_enyr3","vertical":"steps__vertical_enyr3","interactive":"steps__interactive_enyr3","disabled":"steps__disabled_enyr3","text":"steps__text_enyr3","indicator":"steps__indicator_enyr3","option":"steps__option_enyr3","dash":"steps__dash_enyr3","completed":"steps__completed_enyr3","focused":"steps__focused_enyr3","selected":"steps__selected_enyr3","checkbox":"steps__checkbox_enyr3","dot":"steps__dot_enyr3","error":"steps__error_enyr3","unordered":"steps__unordered_enyr3","completedIndicator":"steps__completedIndicator_enyr3"};
21
21
  require('./index.css')
22
22
 
23
23
  var Step = function (_a) {
@@ -1,15 +1,15 @@
1
- /* hash: j7y5q */
1
+ /* hash: 18k6n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-link: #0072ef;
5
- --color-light-border-primary: #dcdcdd;
6
- --color-light-graphic-positive: #2fc26e;
4
+ --color-light-border-link: #2288fa;
5
+ --color-light-border-primary: #d5d6dc;
6
+ --color-light-graphic-positive: #0cc44d;
7
7
  --color-light-graphic-primary: #0e0e0e;
8
8
  --color-light-graphic-primary-inverted: #fff;
9
- --color-light-graphic-quaternary: #dcdcdd;
9
+ --color-light-graphic-quaternary: #e7e8ec;
10
10
  --color-light-text-primary: #0e0e0e; /* 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 */
11
- --color-light-bg-primary-inverted-alpha-7: rgba(18, 18, 18, 0.07);
12
- --color-light-bg-primary-inverted-alpha-15: rgba(18, 18, 18, 0.15);
11
+ --color-light-bg-primary-inverted-alpha-7: rgba(14, 14, 14, 0.07);
12
+ --color-light-bg-primary-inverted-alpha-15: rgba(14, 14, 14, 0.15);
13
13
  } :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
14
  } :root {
15
15
  } :root {
@@ -31,26 +31,26 @@
31
31
  } :root {
32
32
  --steps-option-svg-color: var(--color-light-graphic-positive);
33
33
  --steps-dash-border: 2px solid var(--color-light-graphic-positive);
34
- } .steps__step_yj7ed {
34
+ } .steps__step_enyr3 {
35
35
  display: flex;
36
36
  outline: none
37
- } .steps__step_yj7ed:not(.steps__vertical_yj7ed) {
37
+ } .steps__step_enyr3:not(.steps__vertical_enyr3) {
38
38
  align-items: center;
39
- } .steps__step_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
39
+ } .steps__step_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
40
40
  cursor: pointer;
41
- } .steps__step_yj7ed.steps__disabled_yj7ed:hover .steps__text_yj7ed {
41
+ } .steps__step_enyr3.steps__disabled_enyr3:hover .steps__text_enyr3 {
42
42
  background: unset;
43
- } .steps__step_yj7ed.steps__disabled_yj7ed .steps__indicator_yj7ed {
43
+ } .steps__step_enyr3.steps__disabled_enyr3 .steps__indicator_enyr3 {
44
44
  cursor: unset;
45
- } .steps__indicator_yj7ed {
45
+ } .steps__indicator_enyr3 {
46
46
  cursor: pointer;
47
47
  display: flex;
48
48
  align-items: center;
49
49
  margin-right: var(--gap-2xs)
50
- } .steps__indicator_yj7ed.steps__vertical_yj7ed {
50
+ } .steps__indicator_enyr3.steps__vertical_enyr3 {
51
51
  flex-direction: column;
52
52
  margin-right: var(--gap-xs);
53
- } .steps__option_yj7ed {
53
+ } .steps__option_enyr3 {
54
54
  font-size: 14px;
55
55
  line-height: 20px;
56
56
  font-weight: 700;
@@ -63,25 +63,25 @@
63
63
  min-width: 24px;
64
64
  height: 24px;
65
65
  border-radius: var(--border-radius-circle)
66
- } .steps__option_yj7ed.steps__vertical_yj7ed {
66
+ } .steps__option_enyr3.steps__vertical_enyr3 {
67
67
  margin-top: var(--gap-xs);
68
- } .steps__dash_yj7ed {
68
+ } .steps__dash_enyr3 {
69
69
  flex: 1 1 auto;
70
70
  min-width: 24px;
71
71
  border-top: 2px solid var(--color-light-border-primary);
72
72
  margin-right: var(--gap-xs)
73
- } .steps__dash_yj7ed.steps__completed_yj7ed {
73
+ } .steps__dash_enyr3.steps__completed_enyr3 {
74
74
  border-top: var(--steps-dash-border);
75
- } .steps__dash_yj7ed.steps__vertical_yj7ed {
75
+ } .steps__dash_enyr3.steps__vertical_enyr3 {
76
76
  min-width: unset;
77
77
  min-height: 24px;
78
78
  margin-right: 0;
79
79
  margin-top: var(--gap-xs);
80
80
  border-left: 2px solid var(--color-light-border-primary);
81
81
  border-top: none;
82
- } .steps__dash_yj7ed.steps__completed_yj7ed.steps__vertical_yj7ed {
82
+ } .steps__dash_enyr3.steps__completed_enyr3.steps__vertical_enyr3 {
83
83
  border-left: var(--steps-dash-border);
84
- } .steps__text_yj7ed {
84
+ } .steps__text_enyr3 {
85
85
  font-size: 16px;
86
86
  line-height: 24px;
87
87
  font-weight: 400;
@@ -91,19 +91,19 @@
91
91
  color: var(--color-light-text-primary);
92
92
  border-radius: var(--gap-xs);
93
93
  height: min-content
94
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
94
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
95
95
  background: var(--color-light-bg-primary-inverted-alpha-7);
96
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):active {
96
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):active {
97
97
  background: var(--color-light-bg-primary-inverted-alpha-15);
98
- } .steps__focused_yj7ed {
98
+ } .steps__focused_enyr3 {
99
99
  outline: var(--gap-3xs) solid var(--focus-color);
100
100
  outline-offset: var(--gap-3xs);
101
- } .steps__selected_yj7ed .steps__text_yj7ed {
101
+ } .steps__selected_enyr3 .steps__text_enyr3 {
102
102
  color: var(--color-light-graphic-primary);
103
- } .steps__selected_yj7ed .steps__option_yj7ed {
103
+ } .steps__selected_enyr3 .steps__option_enyr3 {
104
104
  color: var(--color-light-graphic-primary-inverted);
105
105
  background: var(--color-light-graphic-primary);
106
- } .steps__checkbox_yj7ed {
106
+ } .steps__checkbox_enyr3 {
107
107
  display: flex;
108
108
  justify-content: center;
109
109
  align-items: center;
@@ -111,18 +111,18 @@
111
111
  width: 20px;
112
112
  height: 20px;
113
113
  border: 2px solid var(--color-light-graphic-quaternary);
114
- } .steps__dot_yj7ed {
114
+ } .steps__dot_enyr3 {
115
115
  width: 10px;
116
116
  height: 10px;
117
117
  border-radius: var(--border-radius-circle);
118
118
  background: var(--color-light-graphic-quaternary);
119
- } .steps__selected_yj7ed .steps__checkbox_yj7ed {
119
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 {
120
120
  border: 2px solid var(--color-light-graphic-primary)
121
- } .steps__selected_yj7ed .steps__checkbox_yj7ed .steps__dot_yj7ed {
121
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 .steps__dot_enyr3 {
122
122
  background: var(--color-light-graphic-primary);
123
- } .steps__option_yj7ed:not(.steps__error_yj7ed).steps__unordered_yj7ed {
123
+ } .steps__option_enyr3:not(.steps__error_enyr3).steps__unordered_enyr3 {
124
124
  background: unset;
125
- } .steps__completedIndicator_yj7ed > [class*='positive'] {
125
+ } .steps__completedIndicator_enyr3 > [class*='positive'] {
126
126
  color: var(--steps-option-svg-color);
127
127
  background-color: var(--steps-option-svg-color);
128
128
  }
@@ -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_ol3rw"};
14
+ var styles = {"component":"steps__component_1duub"};
15
15
  require('./index.css')
16
16
 
17
17
  var StepIndicator = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: vggs8 */
2
- .steps__component_ol3rw {
1
+ /* hash: 1kspa */
2
+ .steps__component_1duub {
3
3
  padding: 0;
4
4
  }
@@ -1,14 +1,14 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-border-link: #0072ef;
4
- --color-light-border-primary: #dcdcdd;
5
- --color-light-graphic-positive: #2fc26e;
3
+ --color-light-border-link: #2288fa;
4
+ --color-light-border-primary: #d5d6dc;
5
+ --color-light-graphic-positive: #0cc44d;
6
6
  --color-light-graphic-primary: #0e0e0e;
7
7
  --color-light-graphic-primary-inverted: #fff;
8
- --color-light-graphic-quaternary: #dcdcdd;
8
+ --color-light-graphic-quaternary: #e7e8ec;
9
9
  --color-light-text-primary: #0e0e0e; /* 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 */
10
- --color-light-bg-primary-inverted-alpha-7: rgba(18, 18, 18, 0.07);
11
- --color-light-bg-primary-inverted-alpha-15: rgba(18, 18, 18, 0.15);
10
+ --color-light-bg-primary-inverted-alpha-7: rgba(14, 14, 14, 0.07);
11
+ --color-light-bg-primary-inverted-alpha-15: rgba(14, 14, 14, 0.15);
12
12
  } :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 */
13
13
  } :root {
14
14
  } :root {
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_6608t","vertical":"steps__vertical_6608t"};
12
+ var styles = {"component":"steps__component_1xk4u","vertical":"steps__vertical_1xk4u"};
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_yj7ed","vertical":"steps__vertical_yj7ed","interactive":"steps__interactive_yj7ed","disabled":"steps__disabled_yj7ed","text":"steps__text_yj7ed","indicator":"steps__indicator_yj7ed","option":"steps__option_yj7ed","dash":"steps__dash_yj7ed","completed":"steps__completed_yj7ed","focused":"steps__focused_yj7ed","selected":"steps__selected_yj7ed","checkbox":"steps__checkbox_yj7ed","dot":"steps__dot_yj7ed","error":"steps__error_yj7ed","unordered":"steps__unordered_yj7ed","completedIndicator":"steps__completedIndicator_yj7ed"};
11
+ var styles = {"step":"steps__step_enyr3","vertical":"steps__vertical_enyr3","interactive":"steps__interactive_enyr3","disabled":"steps__disabled_enyr3","text":"steps__text_enyr3","indicator":"steps__indicator_enyr3","option":"steps__option_enyr3","dash":"steps__dash_enyr3","completed":"steps__completed_enyr3","focused":"steps__focused_enyr3","selected":"steps__selected_enyr3","checkbox":"steps__checkbox_enyr3","dot":"steps__dot_enyr3","error":"steps__error_enyr3","unordered":"steps__unordered_enyr3","completedIndicator":"steps__completedIndicator_enyr3"};
12
12
  require('./index.css')
13
13
 
14
14
  var Step = function (_a) {
@@ -1,15 +1,15 @@
1
- /* hash: j7y5q */
1
+ /* hash: 18k6n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-link: #0072ef;
5
- --color-light-border-primary: #dcdcdd;
6
- --color-light-graphic-positive: #2fc26e;
4
+ --color-light-border-link: #2288fa;
5
+ --color-light-border-primary: #d5d6dc;
6
+ --color-light-graphic-positive: #0cc44d;
7
7
  --color-light-graphic-primary: #0e0e0e;
8
8
  --color-light-graphic-primary-inverted: #fff;
9
- --color-light-graphic-quaternary: #dcdcdd;
9
+ --color-light-graphic-quaternary: #e7e8ec;
10
10
  --color-light-text-primary: #0e0e0e; /* 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 */
11
- --color-light-bg-primary-inverted-alpha-7: rgba(18, 18, 18, 0.07);
12
- --color-light-bg-primary-inverted-alpha-15: rgba(18, 18, 18, 0.15);
11
+ --color-light-bg-primary-inverted-alpha-7: rgba(14, 14, 14, 0.07);
12
+ --color-light-bg-primary-inverted-alpha-15: rgba(14, 14, 14, 0.15);
13
13
  } :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
14
  } :root {
15
15
  } :root {
@@ -31,26 +31,26 @@
31
31
  } :root {
32
32
  --steps-option-svg-color: var(--color-light-graphic-positive);
33
33
  --steps-dash-border: 2px solid var(--color-light-graphic-positive);
34
- } .steps__step_yj7ed {
34
+ } .steps__step_enyr3 {
35
35
  display: flex;
36
36
  outline: none
37
- } .steps__step_yj7ed:not(.steps__vertical_yj7ed) {
37
+ } .steps__step_enyr3:not(.steps__vertical_enyr3) {
38
38
  align-items: center;
39
- } .steps__step_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
39
+ } .steps__step_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
40
40
  cursor: pointer;
41
- } .steps__step_yj7ed.steps__disabled_yj7ed:hover .steps__text_yj7ed {
41
+ } .steps__step_enyr3.steps__disabled_enyr3:hover .steps__text_enyr3 {
42
42
  background: unset;
43
- } .steps__step_yj7ed.steps__disabled_yj7ed .steps__indicator_yj7ed {
43
+ } .steps__step_enyr3.steps__disabled_enyr3 .steps__indicator_enyr3 {
44
44
  cursor: unset;
45
- } .steps__indicator_yj7ed {
45
+ } .steps__indicator_enyr3 {
46
46
  cursor: pointer;
47
47
  display: flex;
48
48
  align-items: center;
49
49
  margin-right: var(--gap-2xs)
50
- } .steps__indicator_yj7ed.steps__vertical_yj7ed {
50
+ } .steps__indicator_enyr3.steps__vertical_enyr3 {
51
51
  flex-direction: column;
52
52
  margin-right: var(--gap-xs);
53
- } .steps__option_yj7ed {
53
+ } .steps__option_enyr3 {
54
54
  font-size: 14px;
55
55
  line-height: 20px;
56
56
  font-weight: 700;
@@ -63,25 +63,25 @@
63
63
  min-width: 24px;
64
64
  height: 24px;
65
65
  border-radius: var(--border-radius-circle)
66
- } .steps__option_yj7ed.steps__vertical_yj7ed {
66
+ } .steps__option_enyr3.steps__vertical_enyr3 {
67
67
  margin-top: var(--gap-xs);
68
- } .steps__dash_yj7ed {
68
+ } .steps__dash_enyr3 {
69
69
  flex: 1 1 auto;
70
70
  min-width: 24px;
71
71
  border-top: 2px solid var(--color-light-border-primary);
72
72
  margin-right: var(--gap-xs)
73
- } .steps__dash_yj7ed.steps__completed_yj7ed {
73
+ } .steps__dash_enyr3.steps__completed_enyr3 {
74
74
  border-top: var(--steps-dash-border);
75
- } .steps__dash_yj7ed.steps__vertical_yj7ed {
75
+ } .steps__dash_enyr3.steps__vertical_enyr3 {
76
76
  min-width: unset;
77
77
  min-height: 24px;
78
78
  margin-right: 0;
79
79
  margin-top: var(--gap-xs);
80
80
  border-left: 2px solid var(--color-light-border-primary);
81
81
  border-top: none;
82
- } .steps__dash_yj7ed.steps__completed_yj7ed.steps__vertical_yj7ed {
82
+ } .steps__dash_enyr3.steps__completed_enyr3.steps__vertical_enyr3 {
83
83
  border-left: var(--steps-dash-border);
84
- } .steps__text_yj7ed {
84
+ } .steps__text_enyr3 {
85
85
  font-size: 16px;
86
86
  line-height: 24px;
87
87
  font-weight: 400;
@@ -91,19 +91,19 @@
91
91
  color: var(--color-light-text-primary);
92
92
  border-radius: var(--gap-xs);
93
93
  height: min-content
94
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
94
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
95
95
  background: var(--color-light-bg-primary-inverted-alpha-7);
96
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):active {
96
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):active {
97
97
  background: var(--color-light-bg-primary-inverted-alpha-15);
98
- } .steps__focused_yj7ed {
98
+ } .steps__focused_enyr3 {
99
99
  outline: var(--gap-3xs) solid var(--focus-color);
100
100
  outline-offset: var(--gap-3xs);
101
- } .steps__selected_yj7ed .steps__text_yj7ed {
101
+ } .steps__selected_enyr3 .steps__text_enyr3 {
102
102
  color: var(--color-light-graphic-primary);
103
- } .steps__selected_yj7ed .steps__option_yj7ed {
103
+ } .steps__selected_enyr3 .steps__option_enyr3 {
104
104
  color: var(--color-light-graphic-primary-inverted);
105
105
  background: var(--color-light-graphic-primary);
106
- } .steps__checkbox_yj7ed {
106
+ } .steps__checkbox_enyr3 {
107
107
  display: flex;
108
108
  justify-content: center;
109
109
  align-items: center;
@@ -111,18 +111,18 @@
111
111
  width: 20px;
112
112
  height: 20px;
113
113
  border: 2px solid var(--color-light-graphic-quaternary);
114
- } .steps__dot_yj7ed {
114
+ } .steps__dot_enyr3 {
115
115
  width: 10px;
116
116
  height: 10px;
117
117
  border-radius: var(--border-radius-circle);
118
118
  background: var(--color-light-graphic-quaternary);
119
- } .steps__selected_yj7ed .steps__checkbox_yj7ed {
119
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 {
120
120
  border: 2px solid var(--color-light-graphic-primary)
121
- } .steps__selected_yj7ed .steps__checkbox_yj7ed .steps__dot_yj7ed {
121
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 .steps__dot_enyr3 {
122
122
  background: var(--color-light-graphic-primary);
123
- } .steps__option_yj7ed:not(.steps__error_yj7ed).steps__unordered_yj7ed {
123
+ } .steps__option_enyr3:not(.steps__error_enyr3).steps__unordered_enyr3 {
124
124
  background: unset;
125
- } .steps__completedIndicator_yj7ed > [class*='positive'] {
125
+ } .steps__completedIndicator_enyr3 > [class*='positive'] {
126
126
  color: var(--steps-option-svg-color);
127
127
  background-color: var(--steps-option-svg-color);
128
128
  }
@@ -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_ol3rw"};
5
+ var styles = {"component":"steps__component_1duub"};
6
6
  require('./index.css')
7
7
 
8
8
  var StepIndicator = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: vggs8 */
2
- .steps__component_ol3rw {
1
+ /* hash: 1kspa */
2
+ .steps__component_1duub {
3
3
  padding: 0;
4
4
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1456s */
1
+ /* hash: 1llu0 */
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_6608t {
17
+ } .steps__component_1xk4u {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_6608t.steps__vertical_6608t {
21
+ } .steps__component_1xk4u.steps__vertical_1xk4u {
22
22
  flex-direction: column;
23
23
  align-items: flex-start;
24
24
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1456s */
1
+ /* hash: 1llu0 */
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_6608t {
17
+ } .steps__component_1xk4u {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_6608t.steps__vertical_6608t {
21
+ } .steps__component_1xk4u.steps__vertical_1xk4u {
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_6608t","vertical":"steps__vertical_6608t"};
11
+ const styles = {"component":"steps__component_1xk4u","vertical":"steps__vertical_1xk4u"};
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_yj7ed","vertical":"steps__vertical_yj7ed","interactive":"steps__interactive_yj7ed","disabled":"steps__disabled_yj7ed","text":"steps__text_yj7ed","indicator":"steps__indicator_yj7ed","option":"steps__option_yj7ed","dash":"steps__dash_yj7ed","completed":"steps__completed_yj7ed","focused":"steps__focused_yj7ed","selected":"steps__selected_yj7ed","checkbox":"steps__checkbox_yj7ed","dot":"steps__dot_yj7ed","error":"steps__error_yj7ed","unordered":"steps__unordered_yj7ed","completedIndicator":"steps__completedIndicator_yj7ed"};
10
+ const styles = {"step":"steps__step_enyr3","vertical":"steps__vertical_enyr3","interactive":"steps__interactive_enyr3","disabled":"steps__disabled_enyr3","text":"steps__text_enyr3","indicator":"steps__indicator_enyr3","option":"steps__option_enyr3","dash":"steps__dash_enyr3","completed":"steps__completed_enyr3","focused":"steps__focused_enyr3","selected":"steps__selected_enyr3","checkbox":"steps__checkbox_enyr3","dot":"steps__dot_enyr3","error":"steps__error_enyr3","unordered":"steps__unordered_enyr3","completedIndicator":"steps__completedIndicator_enyr3"};
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,15 +1,15 @@
1
- /* hash: j7y5q */
1
+ /* hash: 18k6n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-link: #0072ef;
5
- --color-light-border-primary: #dcdcdd;
6
- --color-light-graphic-positive: #2fc26e;
4
+ --color-light-border-link: #2288fa;
5
+ --color-light-border-primary: #d5d6dc;
6
+ --color-light-graphic-positive: #0cc44d;
7
7
  --color-light-graphic-primary: #0e0e0e;
8
8
  --color-light-graphic-primary-inverted: #fff;
9
- --color-light-graphic-quaternary: #dcdcdd;
9
+ --color-light-graphic-quaternary: #e7e8ec;
10
10
  --color-light-text-primary: #0e0e0e; /* 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 */
11
- --color-light-bg-primary-inverted-alpha-7: rgba(18, 18, 18, 0.07);
12
- --color-light-bg-primary-inverted-alpha-15: rgba(18, 18, 18, 0.15);
11
+ --color-light-bg-primary-inverted-alpha-7: rgba(14, 14, 14, 0.07);
12
+ --color-light-bg-primary-inverted-alpha-15: rgba(14, 14, 14, 0.15);
13
13
  } :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
14
  } :root {
15
15
  } :root {
@@ -31,26 +31,26 @@
31
31
  } :root {
32
32
  --steps-option-svg-color: var(--color-light-graphic-positive);
33
33
  --steps-dash-border: 2px solid var(--color-light-graphic-positive);
34
- } .steps__step_yj7ed {
34
+ } .steps__step_enyr3 {
35
35
  display: flex;
36
36
  outline: none
37
- } .steps__step_yj7ed:not(.steps__vertical_yj7ed) {
37
+ } .steps__step_enyr3:not(.steps__vertical_enyr3) {
38
38
  align-items: center;
39
- } .steps__step_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
39
+ } .steps__step_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
40
40
  cursor: pointer;
41
- } .steps__step_yj7ed.steps__disabled_yj7ed:hover .steps__text_yj7ed {
41
+ } .steps__step_enyr3.steps__disabled_enyr3:hover .steps__text_enyr3 {
42
42
  background: unset;
43
- } .steps__step_yj7ed.steps__disabled_yj7ed .steps__indicator_yj7ed {
43
+ } .steps__step_enyr3.steps__disabled_enyr3 .steps__indicator_enyr3 {
44
44
  cursor: unset;
45
- } .steps__indicator_yj7ed {
45
+ } .steps__indicator_enyr3 {
46
46
  cursor: pointer;
47
47
  display: flex;
48
48
  align-items: center;
49
49
  margin-right: var(--gap-2xs)
50
- } .steps__indicator_yj7ed.steps__vertical_yj7ed {
50
+ } .steps__indicator_enyr3.steps__vertical_enyr3 {
51
51
  flex-direction: column;
52
52
  margin-right: var(--gap-xs);
53
- } .steps__option_yj7ed {
53
+ } .steps__option_enyr3 {
54
54
  font-size: 14px;
55
55
  line-height: 20px;
56
56
  font-weight: 700;
@@ -63,25 +63,25 @@
63
63
  min-width: 24px;
64
64
  height: 24px;
65
65
  border-radius: var(--border-radius-circle)
66
- } .steps__option_yj7ed.steps__vertical_yj7ed {
66
+ } .steps__option_enyr3.steps__vertical_enyr3 {
67
67
  margin-top: var(--gap-xs);
68
- } .steps__dash_yj7ed {
68
+ } .steps__dash_enyr3 {
69
69
  flex: 1 1 auto;
70
70
  min-width: 24px;
71
71
  border-top: 2px solid var(--color-light-border-primary);
72
72
  margin-right: var(--gap-xs)
73
- } .steps__dash_yj7ed.steps__completed_yj7ed {
73
+ } .steps__dash_enyr3.steps__completed_enyr3 {
74
74
  border-top: var(--steps-dash-border);
75
- } .steps__dash_yj7ed.steps__vertical_yj7ed {
75
+ } .steps__dash_enyr3.steps__vertical_enyr3 {
76
76
  min-width: unset;
77
77
  min-height: 24px;
78
78
  margin-right: 0;
79
79
  margin-top: var(--gap-xs);
80
80
  border-left: 2px solid var(--color-light-border-primary);
81
81
  border-top: none;
82
- } .steps__dash_yj7ed.steps__completed_yj7ed.steps__vertical_yj7ed {
82
+ } .steps__dash_enyr3.steps__completed_enyr3.steps__vertical_enyr3 {
83
83
  border-left: var(--steps-dash-border);
84
- } .steps__text_yj7ed {
84
+ } .steps__text_enyr3 {
85
85
  font-size: 16px;
86
86
  line-height: 24px;
87
87
  font-weight: 400;
@@ -91,19 +91,19 @@
91
91
  color: var(--color-light-text-primary);
92
92
  border-radius: var(--gap-xs);
93
93
  height: min-content
94
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):hover {
94
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):hover {
95
95
  background: var(--color-light-bg-primary-inverted-alpha-7);
96
- } .steps__text_yj7ed.steps__interactive_yj7ed:not(.steps__disabled_yj7ed):active {
96
+ } .steps__text_enyr3.steps__interactive_enyr3:not(.steps__disabled_enyr3):active {
97
97
  background: var(--color-light-bg-primary-inverted-alpha-15);
98
- } .steps__focused_yj7ed {
98
+ } .steps__focused_enyr3 {
99
99
  outline: var(--gap-3xs) solid var(--focus-color);
100
100
  outline-offset: var(--gap-3xs);
101
- } .steps__selected_yj7ed .steps__text_yj7ed {
101
+ } .steps__selected_enyr3 .steps__text_enyr3 {
102
102
  color: var(--color-light-graphic-primary);
103
- } .steps__selected_yj7ed .steps__option_yj7ed {
103
+ } .steps__selected_enyr3 .steps__option_enyr3 {
104
104
  color: var(--color-light-graphic-primary-inverted);
105
105
  background: var(--color-light-graphic-primary);
106
- } .steps__checkbox_yj7ed {
106
+ } .steps__checkbox_enyr3 {
107
107
  display: flex;
108
108
  justify-content: center;
109
109
  align-items: center;
@@ -111,18 +111,18 @@
111
111
  width: 20px;
112
112
  height: 20px;
113
113
  border: 2px solid var(--color-light-graphic-quaternary);
114
- } .steps__dot_yj7ed {
114
+ } .steps__dot_enyr3 {
115
115
  width: 10px;
116
116
  height: 10px;
117
117
  border-radius: var(--border-radius-circle);
118
118
  background: var(--color-light-graphic-quaternary);
119
- } .steps__selected_yj7ed .steps__checkbox_yj7ed {
119
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 {
120
120
  border: 2px solid var(--color-light-graphic-primary)
121
- } .steps__selected_yj7ed .steps__checkbox_yj7ed .steps__dot_yj7ed {
121
+ } .steps__selected_enyr3 .steps__checkbox_enyr3 .steps__dot_enyr3 {
122
122
  background: var(--color-light-graphic-primary);
123
- } .steps__option_yj7ed:not(.steps__error_yj7ed).steps__unordered_yj7ed {
123
+ } .steps__option_enyr3:not(.steps__error_enyr3).steps__unordered_enyr3 {
124
124
  background: unset;
125
- } .steps__completedIndicator_yj7ed > [class*='positive'] {
125
+ } .steps__completedIndicator_enyr3 > [class*='positive'] {
126
126
  color: var(--steps-option-svg-color);
127
127
  background-color: var(--steps-option-svg-color);
128
128
  }
@@ -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_ol3rw"};
5
+ const styles = {"component":"steps__component_1duub"};
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: vggs8 */
2
- .steps__component_ol3rw {
1
+ /* hash: 1kspa */
2
+ .steps__component_1duub {
3
3
  padding: 0;
4
4
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1456s */
1
+ /* hash: 1llu0 */
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_6608t {
17
+ } .steps__component_1xk4u {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_6608t.steps__vertical_6608t {
21
+ } .steps__component_1xk4u.steps__vertical_1xk4u {
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.3.0",
3
+ "version": "1.3.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.2.0",
17
+ "@alfalab/core-components-badge": "^5.3.0",
18
18
  "@alfalab/hooks": "^1.13.0",
19
19
  "@alfalab/icons-glyph": "^2.108.0",
20
20
  "classnames": "^2.3.1",