@alfalab/core-components-steps 3.0.5 → 3.0.6-alfasans
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/components/step/index.css +39 -36
- package/components/step/index.module.css.js +1 -1
- package/components/step-indicator/index.css +1 -1
- package/components/step-indicator/index.module.css.js +1 -1
- package/cssm/components/step/index.module.css +7 -4
- package/esm/components/step/index.css +39 -36
- package/esm/components/step/index.module.css.js +1 -1
- package/esm/components/step-indicator/index.css +1 -1
- package/esm/components/step-indicator/index.module.css.js +1 -1
- package/esm/index.css +2 -2
- package/esm/index.module.css.js +1 -1
- package/index.css +2 -2
- package/index.module.css.js +1 -1
- package/modern/components/step/index.css +39 -36
- package/modern/components/step/index.module.css.js +1 -1
- package/modern/components/step-indicator/index.css +1 -1
- package/modern/components/step-indicator/index.module.css.js +1 -1
- package/modern/index.css +2 -2
- package/modern/index.module.css.js +1 -1
- package/moderncssm/components/step/index.module.css +4 -2
- package/package.json +9 -6
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
--gap-16: var(--gap-m);
|
|
24
24
|
}
|
|
25
25
|
:root {
|
|
26
|
-
--font-family-
|
|
27
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
26
|
+
--font-family-alfasans:
|
|
27
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
28
|
+
Helvetica, sans-serif;
|
|
28
29
|
}
|
|
29
30
|
:root {
|
|
30
31
|
--focus-color: var(--color-light-status-info);
|
|
@@ -33,44 +34,45 @@
|
|
|
33
34
|
--steps-option-svg-color: var(--color-light-status-positive);
|
|
34
35
|
--steps-dash-border: 2px solid var(--color-light-status-positive);
|
|
35
36
|
}
|
|
36
|
-
.
|
|
37
|
+
.steps__step_1cmxz {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1cmxz.steps__horizontal_1cmxz {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1cmxz:not(.steps__vertical_1cmxz) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1cmxz:last-of-type .steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1cmxz.steps__disabled_1cmxz:hover .steps__text_1cmxz {
|
|
53
54
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
54
55
|
background: initial;
|
|
55
56
|
}
|
|
56
|
-
.
|
|
57
|
+
.steps__step_1cmxz.steps__disabled_1cmxz .steps__indicator_1cmxz {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1cmxz {
|
|
60
61
|
cursor: pointer;
|
|
61
62
|
display: flex;
|
|
62
63
|
align-items: center;
|
|
63
64
|
margin-right: var(--gap-4);
|
|
64
65
|
}
|
|
65
|
-
.
|
|
66
|
+
.steps__indicator_1cmxz.steps__vertical_1cmxz {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1cmxz {
|
|
70
71
|
font-size: 14px;
|
|
71
72
|
line-height: 20px;
|
|
72
73
|
font-weight: 700;
|
|
73
|
-
|
|
74
|
+
letter-spacing: 0.47px;
|
|
75
|
+
font-family: var(--font-family-alfasans);
|
|
74
76
|
|
|
75
77
|
display: flex;
|
|
76
78
|
align-items: center;
|
|
@@ -81,19 +83,19 @@
|
|
|
81
83
|
height: 24px;
|
|
82
84
|
border-radius: var(--border-radius-circle);
|
|
83
85
|
}
|
|
84
|
-
.
|
|
86
|
+
.steps__option_1cmxz.steps__vertical_1cmxz {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1cmxz {
|
|
88
90
|
flex: 1 1 auto;
|
|
89
91
|
min-width: 24px;
|
|
90
92
|
border-top: 2px solid var(--color-light-neutral-translucent-300);
|
|
91
93
|
margin-right: var(--gap-8);
|
|
92
94
|
}
|
|
93
|
-
.
|
|
95
|
+
.steps__dash_1cmxz.steps__completed_1cmxz {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1cmxz.steps__vertical_1cmxz {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,26 +104,27 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1cmxz.steps__completed_1cmxz.steps__vertical_1cmxz {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-24_1cmxz {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-32_1cmxz {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__fullWidth_1cmxz {
|
|
118
120
|
width: 100%;
|
|
119
121
|
}
|
|
120
|
-
.
|
|
122
|
+
.steps__text_1cmxz {
|
|
121
123
|
font-size: 16px;
|
|
122
124
|
line-height: 24px;
|
|
123
125
|
font-weight: 400;
|
|
124
|
-
|
|
126
|
+
letter-spacing: -0.24px;
|
|
127
|
+
font-family: var(--font-family-alfasans);
|
|
125
128
|
|
|
126
129
|
transition: background 0.2s;
|
|
127
130
|
padding: var(--gap-8);
|
|
@@ -131,24 +134,24 @@
|
|
|
131
134
|
height: min-content;
|
|
132
135
|
box-sizing: border-box;
|
|
133
136
|
}
|
|
134
|
-
.
|
|
137
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
135
138
|
background: var(--color-light-transparent-default-hover);
|
|
136
139
|
}
|
|
137
|
-
.
|
|
140
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):active {
|
|
138
141
|
background: var(--color-light-transparent-default-press);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__focused_1cmxz {
|
|
141
144
|
outline: var(--gap-2) solid var(--focus-color);
|
|
142
145
|
outline-offset: var(--gap-2);
|
|
143
146
|
}
|
|
144
|
-
.
|
|
147
|
+
.steps__selected_1cmxz .steps__text_1cmxz {
|
|
145
148
|
color: var(--color-light-text-primary);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__selected_1cmxz .steps__option_1cmxz {
|
|
148
151
|
color: var(--color-light-text-primary-inverted);
|
|
149
152
|
background: var(--color-light-neutral-translucent-1300);
|
|
150
153
|
}
|
|
151
|
-
.
|
|
154
|
+
.steps__checkbox_1cmxz {
|
|
152
155
|
display: flex;
|
|
153
156
|
justify-content: center;
|
|
154
157
|
align-items: center;
|
|
@@ -157,25 +160,25 @@
|
|
|
157
160
|
height: 20px;
|
|
158
161
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
159
162
|
}
|
|
160
|
-
.
|
|
163
|
+
.steps__dot_1cmxz {
|
|
161
164
|
width: 10px;
|
|
162
165
|
height: 10px;
|
|
163
166
|
border-radius: var(--border-radius-circle);
|
|
164
167
|
background: var(--color-light-neutral-translucent-300);
|
|
165
168
|
}
|
|
166
|
-
.
|
|
169
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz {
|
|
167
170
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
168
171
|
}
|
|
169
|
-
.
|
|
172
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz .steps__dot_1cmxz {
|
|
170
173
|
background: var(--color-light-neutral-translucent-1300);
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__option_1cmxz:not(.steps__error_1cmxz).steps__unordered_1cmxz {
|
|
173
176
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
174
177
|
background: initial;
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__completedIndicator_1cmxz[class*='positive-checkmark'] {
|
|
177
180
|
background-color: var(--steps-option-svg-color);
|
|
178
181
|
}
|
|
179
|
-
.
|
|
182
|
+
.steps__fullWidth_1cmxz {
|
|
180
183
|
width: 100%;
|
|
181
184
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"step":"
|
|
5
|
+
var styles = {"step":"steps__step_1cmxz","horizontal":"steps__horizontal_1cmxz","vertical":"steps__vertical_1cmxz","textWrapper":"steps__textWrapper_1cmxz","interactive":"steps__interactive_1cmxz","disabled":"steps__disabled_1cmxz","text":"steps__text_1cmxz","indicator":"steps__indicator_1cmxz","option":"steps__option_1cmxz","dash":"steps__dash_1cmxz","completed":"steps__completed_1cmxz","gap-24":"steps__gap-24_1cmxz","gap-32":"steps__gap-32_1cmxz","fullWidth":"steps__fullWidth_1cmxz","focused":"steps__focused_1cmxz","selected":"steps__selected_1cmxz","checkbox":"steps__checkbox_1cmxz","dot":"steps__dot_1cmxz","error":"steps__error_1cmxz","unordered":"steps__unordered_1cmxz","completedIndicator":"steps__completedIndicator_1cmxz"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
--gap-16: var(--gap-m);
|
|
24
24
|
}
|
|
25
25
|
:root {
|
|
26
|
-
--font-family-
|
|
27
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
26
|
+
--font-family-alfasans:
|
|
27
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
28
|
+
Helvetica, sans-serif;
|
|
28
29
|
}
|
|
29
30
|
:root {
|
|
30
31
|
--focus-color: var(--color-light-status-info);
|
|
@@ -70,7 +71,8 @@
|
|
|
70
71
|
font-size: 14px;
|
|
71
72
|
line-height: 20px;
|
|
72
73
|
font-weight: 700;
|
|
73
|
-
|
|
74
|
+
letter-spacing: 0.47px;
|
|
75
|
+
font-family: var(--font-family-alfasans);
|
|
74
76
|
|
|
75
77
|
display: flex;
|
|
76
78
|
align-items: center;
|
|
@@ -121,7 +123,8 @@
|
|
|
121
123
|
font-size: 16px;
|
|
122
124
|
line-height: 24px;
|
|
123
125
|
font-weight: 400;
|
|
124
|
-
|
|
126
|
+
letter-spacing: -0.24px;
|
|
127
|
+
font-family: var(--font-family-alfasans);
|
|
125
128
|
|
|
126
129
|
transition: background 0.2s;
|
|
127
130
|
padding: var(--gap-8);
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
--gap-16: var(--gap-m);
|
|
24
24
|
}
|
|
25
25
|
:root {
|
|
26
|
-
--font-family-
|
|
27
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
26
|
+
--font-family-alfasans:
|
|
27
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
28
|
+
Helvetica, sans-serif;
|
|
28
29
|
}
|
|
29
30
|
:root {
|
|
30
31
|
--focus-color: var(--color-light-status-info);
|
|
@@ -33,44 +34,45 @@
|
|
|
33
34
|
--steps-option-svg-color: var(--color-light-status-positive);
|
|
34
35
|
--steps-dash-border: 2px solid var(--color-light-status-positive);
|
|
35
36
|
}
|
|
36
|
-
.
|
|
37
|
+
.steps__step_1cmxz {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1cmxz.steps__horizontal_1cmxz {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1cmxz:not(.steps__vertical_1cmxz) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1cmxz:last-of-type .steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1cmxz.steps__disabled_1cmxz:hover .steps__text_1cmxz {
|
|
53
54
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
54
55
|
background: initial;
|
|
55
56
|
}
|
|
56
|
-
.
|
|
57
|
+
.steps__step_1cmxz.steps__disabled_1cmxz .steps__indicator_1cmxz {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1cmxz {
|
|
60
61
|
cursor: pointer;
|
|
61
62
|
display: flex;
|
|
62
63
|
align-items: center;
|
|
63
64
|
margin-right: var(--gap-4);
|
|
64
65
|
}
|
|
65
|
-
.
|
|
66
|
+
.steps__indicator_1cmxz.steps__vertical_1cmxz {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1cmxz {
|
|
70
71
|
font-size: 14px;
|
|
71
72
|
line-height: 20px;
|
|
72
73
|
font-weight: 700;
|
|
73
|
-
|
|
74
|
+
letter-spacing: 0.47px;
|
|
75
|
+
font-family: var(--font-family-alfasans);
|
|
74
76
|
|
|
75
77
|
display: flex;
|
|
76
78
|
align-items: center;
|
|
@@ -81,19 +83,19 @@
|
|
|
81
83
|
height: 24px;
|
|
82
84
|
border-radius: var(--border-radius-circle);
|
|
83
85
|
}
|
|
84
|
-
.
|
|
86
|
+
.steps__option_1cmxz.steps__vertical_1cmxz {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1cmxz {
|
|
88
90
|
flex: 1 1 auto;
|
|
89
91
|
min-width: 24px;
|
|
90
92
|
border-top: 2px solid var(--color-light-neutral-translucent-300);
|
|
91
93
|
margin-right: var(--gap-8);
|
|
92
94
|
}
|
|
93
|
-
.
|
|
95
|
+
.steps__dash_1cmxz.steps__completed_1cmxz {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1cmxz.steps__vertical_1cmxz {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,26 +104,27 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1cmxz.steps__completed_1cmxz.steps__vertical_1cmxz {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-24_1cmxz {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-32_1cmxz {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__fullWidth_1cmxz {
|
|
118
120
|
width: 100%;
|
|
119
121
|
}
|
|
120
|
-
.
|
|
122
|
+
.steps__text_1cmxz {
|
|
121
123
|
font-size: 16px;
|
|
122
124
|
line-height: 24px;
|
|
123
125
|
font-weight: 400;
|
|
124
|
-
|
|
126
|
+
letter-spacing: -0.24px;
|
|
127
|
+
font-family: var(--font-family-alfasans);
|
|
125
128
|
|
|
126
129
|
transition: background 0.2s;
|
|
127
130
|
padding: var(--gap-8);
|
|
@@ -131,24 +134,24 @@
|
|
|
131
134
|
height: min-content;
|
|
132
135
|
box-sizing: border-box;
|
|
133
136
|
}
|
|
134
|
-
.
|
|
137
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
135
138
|
background: var(--color-light-transparent-default-hover);
|
|
136
139
|
}
|
|
137
|
-
.
|
|
140
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):active {
|
|
138
141
|
background: var(--color-light-transparent-default-press);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__focused_1cmxz {
|
|
141
144
|
outline: var(--gap-2) solid var(--focus-color);
|
|
142
145
|
outline-offset: var(--gap-2);
|
|
143
146
|
}
|
|
144
|
-
.
|
|
147
|
+
.steps__selected_1cmxz .steps__text_1cmxz {
|
|
145
148
|
color: var(--color-light-text-primary);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__selected_1cmxz .steps__option_1cmxz {
|
|
148
151
|
color: var(--color-light-text-primary-inverted);
|
|
149
152
|
background: var(--color-light-neutral-translucent-1300);
|
|
150
153
|
}
|
|
151
|
-
.
|
|
154
|
+
.steps__checkbox_1cmxz {
|
|
152
155
|
display: flex;
|
|
153
156
|
justify-content: center;
|
|
154
157
|
align-items: center;
|
|
@@ -157,25 +160,25 @@
|
|
|
157
160
|
height: 20px;
|
|
158
161
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
159
162
|
}
|
|
160
|
-
.
|
|
163
|
+
.steps__dot_1cmxz {
|
|
161
164
|
width: 10px;
|
|
162
165
|
height: 10px;
|
|
163
166
|
border-radius: var(--border-radius-circle);
|
|
164
167
|
background: var(--color-light-neutral-translucent-300);
|
|
165
168
|
}
|
|
166
|
-
.
|
|
169
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz {
|
|
167
170
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
168
171
|
}
|
|
169
|
-
.
|
|
172
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz .steps__dot_1cmxz {
|
|
170
173
|
background: var(--color-light-neutral-translucent-1300);
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__option_1cmxz:not(.steps__error_1cmxz).steps__unordered_1cmxz {
|
|
173
176
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
174
177
|
background: initial;
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__completedIndicator_1cmxz[class*='positive-checkmark'] {
|
|
177
180
|
background-color: var(--steps-option-svg-color);
|
|
178
181
|
}
|
|
179
|
-
.
|
|
182
|
+
.steps__fullWidth_1cmxz {
|
|
180
183
|
width: 100%;
|
|
181
184
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"step":"
|
|
3
|
+
var styles = {"step":"steps__step_1cmxz","horizontal":"steps__horizontal_1cmxz","vertical":"steps__vertical_1cmxz","textWrapper":"steps__textWrapper_1cmxz","interactive":"steps__interactive_1cmxz","disabled":"steps__disabled_1cmxz","text":"steps__text_1cmxz","indicator":"steps__indicator_1cmxz","option":"steps__option_1cmxz","dash":"steps__dash_1cmxz","completed":"steps__completed_1cmxz","gap-24":"steps__gap-24_1cmxz","gap-32":"steps__gap-32_1cmxz","fullWidth":"steps__fullWidth_1cmxz","focused":"steps__focused_1cmxz","selected":"steps__selected_1cmxz","checkbox":"steps__checkbox_1cmxz","dot":"steps__dot_1cmxz","error":"steps__error_1cmxz","unordered":"steps__unordered_1cmxz","completedIndicator":"steps__completedIndicator_1cmxz"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/esm/index.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.steps__component_i9n6m {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i9n6m.steps__vertical_i9n6m {
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"
|
|
3
|
+
var styles = {"component":"steps__component_i9n6m","vertical":"steps__vertical_i9n6m"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/index.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.steps__component_i9n6m {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i9n6m.steps__vertical_i9n6m {
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
}
|
package/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"steps__component_i9n6m","vertical":"steps__vertical_i9n6m"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
--gap-16: var(--gap-m);
|
|
24
24
|
}
|
|
25
25
|
:root {
|
|
26
|
-
--font-family-
|
|
27
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
26
|
+
--font-family-alfasans:
|
|
27
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
28
|
+
Helvetica, sans-serif;
|
|
28
29
|
}
|
|
29
30
|
:root {
|
|
30
31
|
--focus-color: var(--color-light-status-info);
|
|
@@ -33,44 +34,45 @@
|
|
|
33
34
|
--steps-option-svg-color: var(--color-light-status-positive);
|
|
34
35
|
--steps-dash-border: 2px solid var(--color-light-status-positive);
|
|
35
36
|
}
|
|
36
|
-
.
|
|
37
|
+
.steps__step_1cmxz {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1cmxz.steps__horizontal_1cmxz {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1cmxz:not(.steps__vertical_1cmxz) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1cmxz:last-of-type .steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1cmxz.steps__disabled_1cmxz:hover .steps__text_1cmxz {
|
|
53
54
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
54
55
|
background: initial;
|
|
55
56
|
}
|
|
56
|
-
.
|
|
57
|
+
.steps__step_1cmxz.steps__disabled_1cmxz .steps__indicator_1cmxz {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1cmxz {
|
|
60
61
|
cursor: pointer;
|
|
61
62
|
display: flex;
|
|
62
63
|
align-items: center;
|
|
63
64
|
margin-right: var(--gap-4);
|
|
64
65
|
}
|
|
65
|
-
.
|
|
66
|
+
.steps__indicator_1cmxz.steps__vertical_1cmxz {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1cmxz {
|
|
70
71
|
font-size: 14px;
|
|
71
72
|
line-height: 20px;
|
|
72
73
|
font-weight: 700;
|
|
73
|
-
|
|
74
|
+
letter-spacing: 0.47px;
|
|
75
|
+
font-family: var(--font-family-alfasans);
|
|
74
76
|
|
|
75
77
|
display: flex;
|
|
76
78
|
align-items: center;
|
|
@@ -81,19 +83,19 @@
|
|
|
81
83
|
height: 24px;
|
|
82
84
|
border-radius: var(--border-radius-circle);
|
|
83
85
|
}
|
|
84
|
-
.
|
|
86
|
+
.steps__option_1cmxz.steps__vertical_1cmxz {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1cmxz {
|
|
88
90
|
flex: 1 1 auto;
|
|
89
91
|
min-width: 24px;
|
|
90
92
|
border-top: 2px solid var(--color-light-neutral-translucent-300);
|
|
91
93
|
margin-right: var(--gap-8);
|
|
92
94
|
}
|
|
93
|
-
.
|
|
95
|
+
.steps__dash_1cmxz.steps__completed_1cmxz {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1cmxz.steps__vertical_1cmxz {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,26 +104,27 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1cmxz.steps__completed_1cmxz.steps__vertical_1cmxz {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-24_1cmxz {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__gap-32_1cmxz {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__textWrapper_1cmxz.steps__vertical_1cmxz.steps__fullWidth_1cmxz {
|
|
118
120
|
width: 100%;
|
|
119
121
|
}
|
|
120
|
-
.
|
|
122
|
+
.steps__text_1cmxz {
|
|
121
123
|
font-size: 16px;
|
|
122
124
|
line-height: 24px;
|
|
123
125
|
font-weight: 400;
|
|
124
|
-
|
|
126
|
+
letter-spacing: -0.24px;
|
|
127
|
+
font-family: var(--font-family-alfasans);
|
|
125
128
|
|
|
126
129
|
transition: background 0.2s;
|
|
127
130
|
padding: var(--gap-8);
|
|
@@ -131,24 +134,24 @@
|
|
|
131
134
|
height: min-content;
|
|
132
135
|
box-sizing: border-box;
|
|
133
136
|
}
|
|
134
|
-
.
|
|
137
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):hover {
|
|
135
138
|
background: var(--color-light-transparent-default-hover);
|
|
136
139
|
}
|
|
137
|
-
.
|
|
140
|
+
.steps__text_1cmxz.steps__interactive_1cmxz:not(.steps__disabled_1cmxz):active {
|
|
138
141
|
background: var(--color-light-transparent-default-press);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__focused_1cmxz {
|
|
141
144
|
outline: var(--gap-2) solid var(--focus-color);
|
|
142
145
|
outline-offset: var(--gap-2);
|
|
143
146
|
}
|
|
144
|
-
.
|
|
147
|
+
.steps__selected_1cmxz .steps__text_1cmxz {
|
|
145
148
|
color: var(--color-light-text-primary);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__selected_1cmxz .steps__option_1cmxz {
|
|
148
151
|
color: var(--color-light-text-primary-inverted);
|
|
149
152
|
background: var(--color-light-neutral-translucent-1300);
|
|
150
153
|
}
|
|
151
|
-
.
|
|
154
|
+
.steps__checkbox_1cmxz {
|
|
152
155
|
display: flex;
|
|
153
156
|
justify-content: center;
|
|
154
157
|
align-items: center;
|
|
@@ -157,25 +160,25 @@
|
|
|
157
160
|
height: 20px;
|
|
158
161
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
159
162
|
}
|
|
160
|
-
.
|
|
163
|
+
.steps__dot_1cmxz {
|
|
161
164
|
width: 10px;
|
|
162
165
|
height: 10px;
|
|
163
166
|
border-radius: var(--border-radius-circle);
|
|
164
167
|
background: var(--color-light-neutral-translucent-300);
|
|
165
168
|
}
|
|
166
|
-
.
|
|
169
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz {
|
|
167
170
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
168
171
|
}
|
|
169
|
-
.
|
|
172
|
+
.steps__selected_1cmxz .steps__checkbox_1cmxz .steps__dot_1cmxz {
|
|
170
173
|
background: var(--color-light-neutral-translucent-1300);
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__option_1cmxz:not(.steps__error_1cmxz).steps__unordered_1cmxz {
|
|
173
176
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
174
177
|
background: initial;
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__completedIndicator_1cmxz[class*='positive-checkmark'] {
|
|
177
180
|
background-color: var(--steps-option-svg-color);
|
|
178
181
|
}
|
|
179
|
-
.
|
|
182
|
+
.steps__fullWidth_1cmxz {
|
|
180
183
|
width: 100%;
|
|
181
184
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"step":"
|
|
3
|
+
const styles = {"step":"steps__step_1cmxz","horizontal":"steps__horizontal_1cmxz","vertical":"steps__vertical_1cmxz","textWrapper":"steps__textWrapper_1cmxz","interactive":"steps__interactive_1cmxz","disabled":"steps__disabled_1cmxz","text":"steps__text_1cmxz","indicator":"steps__indicator_1cmxz","option":"steps__option_1cmxz","dash":"steps__dash_1cmxz","completed":"steps__completed_1cmxz","gap-24":"steps__gap-24_1cmxz","gap-32":"steps__gap-32_1cmxz","fullWidth":"steps__fullWidth_1cmxz","focused":"steps__focused_1cmxz","selected":"steps__selected_1cmxz","checkbox":"steps__checkbox_1cmxz","dot":"steps__dot_1cmxz","error":"steps__error_1cmxz","unordered":"steps__unordered_1cmxz","completedIndicator":"steps__completedIndicator_1cmxz"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/modern/index.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.steps__component_i9n6m {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i9n6m.steps__vertical_i9n6m {
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"component":"
|
|
3
|
+
const styles = {"component":"steps__component_i9n6m","vertical":"steps__vertical_i9n6m"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
font-size: 14px;
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
font-weight: 700;
|
|
54
|
-
|
|
54
|
+
letter-spacing: 0.47px;
|
|
55
|
+
font-family: var(--font-family-alfasans);
|
|
55
56
|
|
|
56
57
|
display: flex;
|
|
57
58
|
align-items: center;
|
|
@@ -112,7 +113,8 @@
|
|
|
112
113
|
font-size: 16px;
|
|
113
114
|
line-height: 24px;
|
|
114
115
|
font-weight: 400;
|
|
115
|
-
|
|
116
|
+
letter-spacing: -0.24px;
|
|
117
|
+
font-family: var(--font-family-alfasans);
|
|
116
118
|
|
|
117
119
|
transition: background 0.2s;
|
|
118
120
|
padding: var(--gap-8);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-steps",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6-alfasans",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,10 +9,13 @@
|
|
|
9
9
|
],
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "rollup -c ../../tools/rollup/rollup.config.mjs --silent"
|
|
14
|
+
},
|
|
12
15
|
"dependencies": {
|
|
13
|
-
"@alfalab/core-components-badge": "
|
|
14
|
-
"@alfalab/core-components-shared": "
|
|
15
|
-
"@alfalab/core-components-status-badge": "
|
|
16
|
+
"@alfalab/core-components-badge": "7.0.2-alfasans",
|
|
17
|
+
"@alfalab/core-components-shared": "2.2.0-alfasans",
|
|
18
|
+
"@alfalab/core-components-status-badge": "3.0.2-alfasans",
|
|
16
19
|
"@alfalab/hooks": "^1.13.1",
|
|
17
20
|
"classnames": "^2.5.1",
|
|
18
21
|
"tslib": "^2.4.0"
|
|
@@ -25,6 +28,6 @@
|
|
|
25
28
|
"access": "public",
|
|
26
29
|
"directory": "dist"
|
|
27
30
|
},
|
|
28
|
-
"themesVersion": "15.0
|
|
29
|
-
"varsVersion": "11.0.2"
|
|
31
|
+
"themesVersion": "15.1.0-alfasans",
|
|
32
|
+
"varsVersion": "11.0.2-alfasans"
|
|
30
33
|
}
|