@alfalab/core-components-steps 3.0.1 → 3.0.2-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 +38 -35
- 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 +38 -35
- 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 +38 -35
- 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 +5 -5
|
@@ -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_1coe1 {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1coe1.steps__horizontal_1coe1 {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1coe1:not(.steps__vertical_1coe1) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1coe1:last-of-type .steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1coe1.steps__disabled_1coe1:hover .steps__text_1coe1 {
|
|
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_1coe1.steps__disabled_1coe1 .steps__indicator_1coe1 {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1coe1 {
|
|
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_1coe1.steps__completed_1coe1 {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1coe1.steps__vertical_1coe1 {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,23 +104,24 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1coe1.steps__completed_1coe1.steps__vertical_1coe1 {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-24_1coe1 {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-32_1coe1 {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__text_1coe1 {
|
|
118
120
|
font-size: 16px;
|
|
119
121
|
line-height: 24px;
|
|
120
122
|
font-weight: 400;
|
|
121
|
-
|
|
123
|
+
letter-spacing: -0.24px;
|
|
124
|
+
font-family: var(--font-family-alfasans);
|
|
122
125
|
|
|
123
126
|
transition: background 0.2s;
|
|
124
127
|
padding: var(--gap-8);
|
|
@@ -127,24 +130,24 @@
|
|
|
127
130
|
height: -moz-min-content;
|
|
128
131
|
height: min-content;
|
|
129
132
|
}
|
|
130
|
-
.
|
|
133
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
131
134
|
background: var(--color-light-transparent-default-hover);
|
|
132
135
|
}
|
|
133
|
-
.
|
|
136
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):active {
|
|
134
137
|
background: var(--color-light-transparent-default-press);
|
|
135
138
|
}
|
|
136
|
-
.
|
|
139
|
+
.steps__focused_1coe1 {
|
|
137
140
|
outline: var(--gap-2) solid var(--focus-color);
|
|
138
141
|
outline-offset: var(--gap-2);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__selected_1coe1 .steps__text_1coe1 {
|
|
141
144
|
color: var(--color-light-text-primary);
|
|
142
145
|
}
|
|
143
|
-
.
|
|
146
|
+
.steps__selected_1coe1 .steps__option_1coe1 {
|
|
144
147
|
color: var(--color-light-text-primary-inverted);
|
|
145
148
|
background: var(--color-light-neutral-translucent-1300);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__checkbox_1coe1 {
|
|
148
151
|
display: flex;
|
|
149
152
|
justify-content: center;
|
|
150
153
|
align-items: center;
|
|
@@ -153,26 +156,26 @@
|
|
|
153
156
|
height: 20px;
|
|
154
157
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
155
158
|
}
|
|
156
|
-
.
|
|
159
|
+
.steps__dot_1coe1 {
|
|
157
160
|
width: 10px;
|
|
158
161
|
height: 10px;
|
|
159
162
|
border-radius: var(--border-radius-circle);
|
|
160
163
|
background: var(--color-light-neutral-translucent-300);
|
|
161
164
|
}
|
|
162
|
-
.
|
|
165
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 {
|
|
163
166
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
164
167
|
}
|
|
165
|
-
.
|
|
168
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 .steps__dot_1coe1 {
|
|
166
169
|
background: var(--color-light-neutral-translucent-1300);
|
|
167
170
|
}
|
|
168
|
-
.
|
|
171
|
+
.steps__option_1coe1:not(.steps__error_1coe1).steps__unordered_1coe1 {
|
|
169
172
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
170
173
|
background: initial;
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__completedIndicator_1coe1 > [class*='positive'] {
|
|
173
176
|
color: var(--steps-option-svg-color);
|
|
174
177
|
background-color: var(--steps-option-svg-color);
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__fullWidth_1coe1 {
|
|
177
180
|
width: 100%;
|
|
178
181
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"step":"
|
|
5
|
+
var styles = {"step":"steps__step_1coe1","horizontal":"steps__horizontal_1coe1","vertical":"steps__vertical_1coe1","textWrapper":"steps__textWrapper_1coe1","interactive":"steps__interactive_1coe1","disabled":"steps__disabled_1coe1","text":"steps__text_1coe1","indicator":"steps__indicator_1coe1","option":"steps__option_1coe1","dash":"steps__dash_1coe1","completed":"steps__completed_1coe1","gap-24":"steps__gap-24_1coe1","gap-32":"steps__gap-32_1coe1","focused":"steps__focused_1coe1","selected":"steps__selected_1coe1","checkbox":"steps__checkbox_1coe1","dot":"steps__dot_1coe1","error":"steps__error_1coe1","unordered":"steps__unordered_1coe1","completedIndicator":"steps__completedIndicator_1coe1","fullWidth":"steps__fullWidth_1coe1"};
|
|
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;
|
|
@@ -118,7 +120,8 @@
|
|
|
118
120
|
font-size: 16px;
|
|
119
121
|
line-height: 24px;
|
|
120
122
|
font-weight: 400;
|
|
121
|
-
|
|
123
|
+
letter-spacing: -0.24px;
|
|
124
|
+
font-family: var(--font-family-alfasans);
|
|
122
125
|
|
|
123
126
|
transition: background 0.2s;
|
|
124
127
|
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_1coe1 {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1coe1.steps__horizontal_1coe1 {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1coe1:not(.steps__vertical_1coe1) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1coe1:last-of-type .steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1coe1.steps__disabled_1coe1:hover .steps__text_1coe1 {
|
|
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_1coe1.steps__disabled_1coe1 .steps__indicator_1coe1 {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1coe1 {
|
|
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_1coe1.steps__completed_1coe1 {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1coe1.steps__vertical_1coe1 {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,23 +104,24 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1coe1.steps__completed_1coe1.steps__vertical_1coe1 {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-24_1coe1 {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-32_1coe1 {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__text_1coe1 {
|
|
118
120
|
font-size: 16px;
|
|
119
121
|
line-height: 24px;
|
|
120
122
|
font-weight: 400;
|
|
121
|
-
|
|
123
|
+
letter-spacing: -0.24px;
|
|
124
|
+
font-family: var(--font-family-alfasans);
|
|
122
125
|
|
|
123
126
|
transition: background 0.2s;
|
|
124
127
|
padding: var(--gap-8);
|
|
@@ -127,24 +130,24 @@
|
|
|
127
130
|
height: -moz-min-content;
|
|
128
131
|
height: min-content;
|
|
129
132
|
}
|
|
130
|
-
.
|
|
133
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
131
134
|
background: var(--color-light-transparent-default-hover);
|
|
132
135
|
}
|
|
133
|
-
.
|
|
136
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):active {
|
|
134
137
|
background: var(--color-light-transparent-default-press);
|
|
135
138
|
}
|
|
136
|
-
.
|
|
139
|
+
.steps__focused_1coe1 {
|
|
137
140
|
outline: var(--gap-2) solid var(--focus-color);
|
|
138
141
|
outline-offset: var(--gap-2);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__selected_1coe1 .steps__text_1coe1 {
|
|
141
144
|
color: var(--color-light-text-primary);
|
|
142
145
|
}
|
|
143
|
-
.
|
|
146
|
+
.steps__selected_1coe1 .steps__option_1coe1 {
|
|
144
147
|
color: var(--color-light-text-primary-inverted);
|
|
145
148
|
background: var(--color-light-neutral-translucent-1300);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__checkbox_1coe1 {
|
|
148
151
|
display: flex;
|
|
149
152
|
justify-content: center;
|
|
150
153
|
align-items: center;
|
|
@@ -153,26 +156,26 @@
|
|
|
153
156
|
height: 20px;
|
|
154
157
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
155
158
|
}
|
|
156
|
-
.
|
|
159
|
+
.steps__dot_1coe1 {
|
|
157
160
|
width: 10px;
|
|
158
161
|
height: 10px;
|
|
159
162
|
border-radius: var(--border-radius-circle);
|
|
160
163
|
background: var(--color-light-neutral-translucent-300);
|
|
161
164
|
}
|
|
162
|
-
.
|
|
165
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 {
|
|
163
166
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
164
167
|
}
|
|
165
|
-
.
|
|
168
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 .steps__dot_1coe1 {
|
|
166
169
|
background: var(--color-light-neutral-translucent-1300);
|
|
167
170
|
}
|
|
168
|
-
.
|
|
171
|
+
.steps__option_1coe1:not(.steps__error_1coe1).steps__unordered_1coe1 {
|
|
169
172
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
170
173
|
background: initial;
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__completedIndicator_1coe1 > [class*='positive'] {
|
|
173
176
|
color: var(--steps-option-svg-color);
|
|
174
177
|
background-color: var(--steps-option-svg-color);
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__fullWidth_1coe1 {
|
|
177
180
|
width: 100%;
|
|
178
181
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"step":"
|
|
3
|
+
var styles = {"step":"steps__step_1coe1","horizontal":"steps__horizontal_1coe1","vertical":"steps__vertical_1coe1","textWrapper":"steps__textWrapper_1coe1","interactive":"steps__interactive_1coe1","disabled":"steps__disabled_1coe1","text":"steps__text_1coe1","indicator":"steps__indicator_1coe1","option":"steps__option_1coe1","dash":"steps__dash_1coe1","completed":"steps__completed_1coe1","gap-24":"steps__gap-24_1coe1","gap-32":"steps__gap-32_1coe1","focused":"steps__focused_1coe1","selected":"steps__selected_1coe1","checkbox":"steps__checkbox_1coe1","dot":"steps__dot_1coe1","error":"steps__error_1coe1","unordered":"steps__unordered_1coe1","completedIndicator":"steps__completedIndicator_1coe1","fullWidth":"steps__fullWidth_1coe1"};
|
|
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_i874x {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i874x.steps__vertical_i874x {
|
|
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_i874x","vertical":"steps__vertical_i874x"};
|
|
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_i874x {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i874x.steps__vertical_i874x {
|
|
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_i874x","vertical":"steps__vertical_i874x"};
|
|
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_1coe1 {
|
|
37
38
|
display: flex;
|
|
38
39
|
outline: none;
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.steps__step_1coe1.steps__horizontal_1coe1 {
|
|
41
42
|
flex-grow: 1;
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.steps__step_1coe1:not(.steps__vertical_1coe1) {
|
|
44
45
|
align-items: center;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.steps__step_1coe1:last-of-type .steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
47
48
|
margin-bottom: var(--gap-0);
|
|
48
49
|
}
|
|
49
|
-
.
|
|
50
|
+
.steps__step_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
}
|
|
52
|
-
.
|
|
53
|
+
.steps__step_1coe1.steps__disabled_1coe1:hover .steps__text_1coe1 {
|
|
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_1coe1.steps__disabled_1coe1 .steps__indicator_1coe1 {
|
|
57
58
|
cursor: inherit;
|
|
58
59
|
}
|
|
59
|
-
.
|
|
60
|
+
.steps__indicator_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
66
67
|
flex-direction: column;
|
|
67
68
|
margin-right: var(--gap-8);
|
|
68
69
|
}
|
|
69
|
-
.
|
|
70
|
+
.steps__option_1coe1 {
|
|
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_1coe1.steps__vertical_1coe1 {
|
|
85
87
|
margin-top: var(--gap-8);
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.steps__dash_1coe1 {
|
|
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_1coe1.steps__completed_1coe1 {
|
|
94
96
|
border-top: var(--steps-dash-border);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.steps__dash_1coe1.steps__vertical_1coe1 {
|
|
97
99
|
min-width: 0;
|
|
98
100
|
min-width: initial;
|
|
99
101
|
min-height: 8px;
|
|
@@ -102,23 +104,24 @@
|
|
|
102
104
|
border-left: 2px solid var(--color-light-neutral-translucent-300);
|
|
103
105
|
border-top: none;
|
|
104
106
|
}
|
|
105
|
-
.
|
|
107
|
+
.steps__dash_1coe1.steps__completed_1coe1.steps__vertical_1coe1 {
|
|
106
108
|
border-left: var(--steps-dash-border);
|
|
107
109
|
}
|
|
108
|
-
.
|
|
110
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1 {
|
|
109
111
|
min-height: 48px;
|
|
110
112
|
}
|
|
111
|
-
.
|
|
113
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-24_1coe1 {
|
|
112
114
|
margin-bottom: var(--gap-8);
|
|
113
115
|
}
|
|
114
|
-
.
|
|
116
|
+
.steps__textWrapper_1coe1.steps__vertical_1coe1.steps__gap-32_1coe1 {
|
|
115
117
|
margin-bottom: var(--gap-16);
|
|
116
118
|
}
|
|
117
|
-
.
|
|
119
|
+
.steps__text_1coe1 {
|
|
118
120
|
font-size: 16px;
|
|
119
121
|
line-height: 24px;
|
|
120
122
|
font-weight: 400;
|
|
121
|
-
|
|
123
|
+
letter-spacing: -0.24px;
|
|
124
|
+
font-family: var(--font-family-alfasans);
|
|
122
125
|
|
|
123
126
|
transition: background 0.2s;
|
|
124
127
|
padding: var(--gap-8);
|
|
@@ -127,24 +130,24 @@
|
|
|
127
130
|
height: -moz-min-content;
|
|
128
131
|
height: min-content;
|
|
129
132
|
}
|
|
130
|
-
.
|
|
133
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):hover {
|
|
131
134
|
background: var(--color-light-transparent-default-hover);
|
|
132
135
|
}
|
|
133
|
-
.
|
|
136
|
+
.steps__text_1coe1.steps__interactive_1coe1:not(.steps__disabled_1coe1):active {
|
|
134
137
|
background: var(--color-light-transparent-default-press);
|
|
135
138
|
}
|
|
136
|
-
.
|
|
139
|
+
.steps__focused_1coe1 {
|
|
137
140
|
outline: var(--gap-2) solid var(--focus-color);
|
|
138
141
|
outline-offset: var(--gap-2);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
.steps__selected_1coe1 .steps__text_1coe1 {
|
|
141
144
|
color: var(--color-light-text-primary);
|
|
142
145
|
}
|
|
143
|
-
.
|
|
146
|
+
.steps__selected_1coe1 .steps__option_1coe1 {
|
|
144
147
|
color: var(--color-light-text-primary-inverted);
|
|
145
148
|
background: var(--color-light-neutral-translucent-1300);
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
.steps__checkbox_1coe1 {
|
|
148
151
|
display: flex;
|
|
149
152
|
justify-content: center;
|
|
150
153
|
align-items: center;
|
|
@@ -153,26 +156,26 @@
|
|
|
153
156
|
height: 20px;
|
|
154
157
|
border: 2px solid var(--color-light-neutral-translucent-300);
|
|
155
158
|
}
|
|
156
|
-
.
|
|
159
|
+
.steps__dot_1coe1 {
|
|
157
160
|
width: 10px;
|
|
158
161
|
height: 10px;
|
|
159
162
|
border-radius: var(--border-radius-circle);
|
|
160
163
|
background: var(--color-light-neutral-translucent-300);
|
|
161
164
|
}
|
|
162
|
-
.
|
|
165
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 {
|
|
163
166
|
border: 2px solid var(--color-light-neutral-translucent-1300);
|
|
164
167
|
}
|
|
165
|
-
.
|
|
168
|
+
.steps__selected_1coe1 .steps__checkbox_1coe1 .steps__dot_1coe1 {
|
|
166
169
|
background: var(--color-light-neutral-translucent-1300);
|
|
167
170
|
}
|
|
168
|
-
.
|
|
171
|
+
.steps__option_1coe1:not(.steps__error_1coe1).steps__unordered_1coe1 {
|
|
169
172
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
170
173
|
background: initial;
|
|
171
174
|
}
|
|
172
|
-
.
|
|
175
|
+
.steps__completedIndicator_1coe1 > [class*='positive'] {
|
|
173
176
|
color: var(--steps-option-svg-color);
|
|
174
177
|
background-color: var(--steps-option-svg-color);
|
|
175
178
|
}
|
|
176
|
-
.
|
|
179
|
+
.steps__fullWidth_1coe1 {
|
|
177
180
|
width: 100%;
|
|
178
181
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"step":"
|
|
3
|
+
const styles = {"step":"steps__step_1coe1","horizontal":"steps__horizontal_1coe1","vertical":"steps__vertical_1coe1","textWrapper":"steps__textWrapper_1coe1","interactive":"steps__interactive_1coe1","disabled":"steps__disabled_1coe1","text":"steps__text_1coe1","indicator":"steps__indicator_1coe1","option":"steps__option_1coe1","dash":"steps__dash_1coe1","completed":"steps__completed_1coe1","gap-24":"steps__gap-24_1coe1","gap-32":"steps__gap-32_1coe1","focused":"steps__focused_1coe1","selected":"steps__selected_1coe1","checkbox":"steps__checkbox_1coe1","dot":"steps__dot_1coe1","error":"steps__error_1coe1","unordered":"steps__unordered_1coe1","completedIndicator":"steps__completedIndicator_1coe1","fullWidth":"steps__fullWidth_1coe1"};
|
|
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_i874x {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.steps__component_i874x.steps__vertical_i874x {
|
|
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_i874x","vertical":"steps__vertical_i874x"};
|
|
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;
|
|
@@ -108,7 +109,8 @@
|
|
|
108
109
|
font-size: 16px;
|
|
109
110
|
line-height: 24px;
|
|
110
111
|
font-weight: 400;
|
|
111
|
-
|
|
112
|
+
letter-spacing: -0.24px;
|
|
113
|
+
font-family: var(--font-family-alfasans);
|
|
112
114
|
|
|
113
115
|
transition: background 0.2s;
|
|
114
116
|
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.2-alfasans",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@alfalab/core-components-badge": "
|
|
14
|
-
"@alfalab/core-components-shared": "
|
|
13
|
+
"@alfalab/core-components-badge": "7.0.1-alfasans",
|
|
14
|
+
"@alfalab/core-components-shared": "2.1.0-alfasans",
|
|
15
15
|
"@alfalab/hooks": "^1.13.1",
|
|
16
16
|
"@alfalab/icons-glyph": "^2.260.0",
|
|
17
17
|
"classnames": "^2.5.1",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"access": "public",
|
|
26
26
|
"directory": "dist"
|
|
27
27
|
},
|
|
28
|
-
"themesVersion": "15.0.1",
|
|
29
|
-
"varsVersion": "11.0.1"
|
|
28
|
+
"themesVersion": "15.0.1-alfasans",
|
|
29
|
+
"varsVersion": "11.0.1-alfasans"
|
|
30
30
|
}
|