@alfalab/core-components-steps 1.5.1 → 1.6.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.
Files changed (46) hide show
  1. package/Component.d.ts +10 -0
  2. package/Component.js +4 -11
  3. package/components/step/Component.d.ts +10 -0
  4. package/components/step/Component.js +10 -4
  5. package/components/step/index.css +44 -34
  6. package/components/step/index.js +0 -9
  7. package/components/step-indicator/Component.js +1 -1
  8. package/components/step-indicator/index.css +2 -2
  9. package/components/step-indicator/index.js +0 -3
  10. package/cssm/Component.d.ts +10 -0
  11. package/cssm/Component.js +3 -12
  12. package/cssm/components/step/Component.d.ts +10 -0
  13. package/cssm/components/step/Component.js +9 -4
  14. package/cssm/components/step/index.js +0 -11
  15. package/cssm/components/step/index.module.css +20 -10
  16. package/cssm/components/step-indicator/index.js +0 -4
  17. package/cssm/index.js +0 -13
  18. package/cssm/index.module.css +1 -1
  19. package/esm/Component.d.ts +10 -0
  20. package/esm/Component.js +4 -11
  21. package/esm/components/step/Component.d.ts +10 -0
  22. package/esm/components/step/Component.js +10 -4
  23. package/esm/components/step/index.css +44 -34
  24. package/esm/components/step/index.js +0 -9
  25. package/esm/components/step-indicator/Component.js +1 -1
  26. package/esm/components/step-indicator/index.css +2 -2
  27. package/esm/components/step-indicator/index.js +0 -3
  28. package/esm/index.css +4 -4
  29. package/esm/index.js +0 -10
  30. package/index.css +4 -4
  31. package/index.js +0 -10
  32. package/modern/Component.d.ts +10 -0
  33. package/modern/Component.js +3 -9
  34. package/modern/components/step/Component.d.ts +10 -0
  35. package/modern/components/step/Component.js +10 -4
  36. package/modern/components/step/index.css +44 -34
  37. package/modern/components/step/index.js +0 -8
  38. package/modern/components/step-indicator/Component.js +1 -1
  39. package/modern/components/step-indicator/index.css +2 -2
  40. package/modern/components/step-indicator/index.js +0 -3
  41. package/modern/index.css +4 -4
  42. package/modern/index.js +0 -9
  43. package/package.json +2 -2
  44. package/src/Component.tsx +16 -0
  45. package/src/components/step/Component.tsx +30 -4
  46. package/src/components/step/index.module.css +23 -3
@@ -1,12 +1,12 @@
1
- /* hash: k7srz */
2
- :root {
1
+ /* hash: 1hf3o */
2
+ :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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
5
- --color-light-neutral-1500: #0e0e0e;
5
+ --color-light-neutral-translucent-1300: rgba(3, 3, 6, 0.88);
6
6
  --color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
7
7
  --color-light-status-positive: #0cc44d;
8
- --color-light-text-primary: #0e0e0e;
9
- --color-light-text-primary-inverted: #fff;
8
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
9
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
10
10
  --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06);
11
11
  --color-light-transparent-default-press: rgba(30, 43, 68, 0.08); /* 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 */
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 */
@@ -30,26 +30,26 @@
30
30
  } :root {
31
31
  --steps-option-svg-color: var(--color-light-status-positive);
32
32
  --steps-dash-border: 2px solid var(--color-light-status-positive);
33
- } .steps__step_2yi0h {
33
+ } .steps__step_1ohj2 {
34
34
  display: flex;
35
35
  outline: none
36
- } .steps__step_2yi0h:not(.steps__vertical_2yi0h) {
36
+ } .steps__step_1ohj2:not(.steps__vertical_1ohj2) {
37
37
  align-items: center;
38
- } .steps__step_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
38
+ } .steps__step_1ohj2.steps__interactive_1ohj2:not(.steps__disabled_1ohj2):hover {
39
39
  cursor: pointer;
40
- } .steps__step_2yi0h.steps__disabled_2yi0h:hover .steps__text_2yi0h {
40
+ } .steps__step_1ohj2.steps__disabled_1ohj2:hover .steps__text_1ohj2 {
41
41
  background: unset;
42
- } .steps__step_2yi0h.steps__disabled_2yi0h .steps__indicator_2yi0h {
42
+ } .steps__step_1ohj2.steps__disabled_1ohj2 .steps__indicator_1ohj2 {
43
43
  cursor: unset;
44
- } .steps__indicator_2yi0h {
44
+ } .steps__indicator_1ohj2 {
45
45
  cursor: pointer;
46
46
  display: flex;
47
47
  align-items: center;
48
48
  margin-right: var(--gap-2xs)
49
- } .steps__indicator_2yi0h.steps__vertical_2yi0h {
49
+ } .steps__indicator_1ohj2.steps__vertical_1ohj2 {
50
50
  flex-direction: column;
51
51
  margin-right: var(--gap-xs);
52
- } .steps__option_2yi0h {
52
+ } .steps__option_1ohj2 {
53
53
  font-size: 14px;
54
54
  line-height: 20px;
55
55
  font-weight: 700;
@@ -62,25 +62,33 @@
62
62
  min-width: 24px;
63
63
  height: 24px;
64
64
  border-radius: var(--border-radius-circle)
65
- } .steps__option_2yi0h.steps__vertical_2yi0h {
65
+ } .steps__option_1ohj2.steps__vertical_1ohj2 {
66
66
  margin-top: var(--gap-xs);
67
- } .steps__dash_2yi0h {
67
+ } .steps__dash_1ohj2 {
68
68
  flex: 1 1 auto;
69
69
  min-width: 24px;
70
70
  border-top: 2px solid var(--color-light-neutral-translucent-300);
71
71
  margin-right: var(--gap-xs)
72
- } .steps__dash_2yi0h.steps__completed_2yi0h {
72
+ } .steps__dash_1ohj2.steps__size-16_1ohj2 {
73
+ min-width: 16px;
74
+ } .steps__dash_1ohj2.steps__size-8_1ohj2 {
75
+ min-width: 8px;
76
+ } .steps__dash_1ohj2.steps__completed_1ohj2 {
73
77
  border-top: var(--steps-dash-border);
74
- } .steps__dash_2yi0h.steps__vertical_2yi0h {
78
+ } .steps__dash_1ohj2.steps__vertical_1ohj2 {
75
79
  min-width: unset;
76
80
  min-height: 24px;
77
81
  margin-right: 0;
78
82
  margin-top: var(--gap-xs);
79
83
  border-left: 2px solid var(--color-light-neutral-translucent-300);
80
- border-top: none;
81
- } .steps__dash_2yi0h.steps__completed_2yi0h.steps__vertical_2yi0h {
84
+ border-top: none
85
+ } .steps__dash_1ohj2.steps__vertical_1ohj2.steps__size-16_1ohj2 {
86
+ min-height: 16px;
87
+ } .steps__dash_1ohj2.steps__vertical_1ohj2.steps__size-8_1ohj2 {
88
+ min-height: 8px;
89
+ } .steps__dash_1ohj2.steps__completed_1ohj2.steps__vertical_1ohj2 {
82
90
  border-left: var(--steps-dash-border);
83
- } .steps__text_2yi0h {
91
+ } .steps__text_1ohj2 {
84
92
  font-size: 16px;
85
93
  line-height: 24px;
86
94
  font-weight: 400;
@@ -90,19 +98,19 @@
90
98
  color: var(--color-light-text-primary);
91
99
  border-radius: var(--gap-xs);
92
100
  height: min-content
93
- } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):hover {
101
+ } .steps__text_1ohj2.steps__interactive_1ohj2:not(.steps__disabled_1ohj2):hover {
94
102
  background: var(--color-light-transparent-default-hover);
95
- } .steps__text_2yi0h.steps__interactive_2yi0h:not(.steps__disabled_2yi0h):active {
103
+ } .steps__text_1ohj2.steps__interactive_1ohj2:not(.steps__disabled_1ohj2):active {
96
104
  background: var(--color-light-transparent-default-press);
97
- } .steps__focused_2yi0h {
105
+ } .steps__focused_1ohj2 {
98
106
  outline: var(--gap-3xs) solid var(--focus-color);
99
107
  outline-offset: var(--gap-3xs);
100
- } .steps__selected_2yi0h .steps__text_2yi0h {
108
+ } .steps__selected_1ohj2 .steps__text_1ohj2 {
101
109
  color: var(--color-light-text-primary);
102
- } .steps__selected_2yi0h .steps__option_2yi0h {
110
+ } .steps__selected_1ohj2 .steps__option_1ohj2 {
103
111
  color: var(--color-light-text-primary-inverted);
104
- background: var(--color-light-neutral-1500);
105
- } .steps__checkbox_2yi0h {
112
+ background: var(--color-light-neutral-translucent-1300);
113
+ } .steps__checkbox_1ohj2 {
106
114
  display: flex;
107
115
  justify-content: center;
108
116
  align-items: center;
@@ -110,18 +118,20 @@
110
118
  width: 20px;
111
119
  height: 20px;
112
120
  border: 2px solid var(--color-light-neutral-translucent-300);
113
- } .steps__dot_2yi0h {
121
+ } .steps__dot_1ohj2 {
114
122
  width: 10px;
115
123
  height: 10px;
116
124
  border-radius: var(--border-radius-circle);
117
125
  background: var(--color-light-neutral-translucent-300);
118
- } .steps__selected_2yi0h .steps__checkbox_2yi0h {
119
- border: 2px solid var(--color-light-neutral-1500)
120
- } .steps__selected_2yi0h .steps__checkbox_2yi0h .steps__dot_2yi0h {
121
- background: var(--color-light-neutral-1500);
122
- } .steps__option_2yi0h:not(.steps__error_2yi0h).steps__unordered_2yi0h {
126
+ } .steps__selected_1ohj2 .steps__checkbox_1ohj2 {
127
+ border: 2px solid var(--color-light-neutral-translucent-1300)
128
+ } .steps__selected_1ohj2 .steps__checkbox_1ohj2 .steps__dot_1ohj2 {
129
+ background: var(--color-light-neutral-translucent-1300);
130
+ } .steps__option_1ohj2:not(.steps__error_1ohj2).steps__unordered_1ohj2 {
123
131
  background: unset;
124
- } .steps__completedIndicator_2yi0h > [class*='positive'] {
132
+ } .steps__completedIndicator_1ohj2 > [class*='positive'] {
125
133
  color: var(--steps-option-svg-color);
126
134
  background-color: var(--steps-option-svg-color);
135
+ } .steps__fullWidth_1ohj2 {
136
+ width: 100%;
127
137
  }
@@ -1,9 +1 @@
1
1
  export { Step } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/hooks';
5
- import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
6
- import '@alfalab/icons-glyph/ClockMIcon';
7
- import '@alfalab/icons-glyph/ExclamationCircleMIcon';
8
- import '../step-indicator/Component.js';
9
- import '@alfalab/core-components-badge/modern';
@@ -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_qiryz"};
5
+ const styles = {"component":"steps__component_1akb5"};
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: yw9u7 */
2
- .steps__component_qiryz {
1
+ /* hash: 1w3kq */
2
+ .steps__component_1akb5 {
3
3
  padding: 0;
4
4
  }
@@ -1,4 +1 @@
1
1
  export { StepIndicator } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-badge/modern';
package/modern/index.css CHANGED
@@ -1,5 +1,5 @@
1
- /* hash: 29j93 */
2
- :root {
1
+ /* hash: 4o5j9 */
2
+ :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 */ /* 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 */
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 */
5
5
  } :root {
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .steps__component_1yc4g {
17
+ } .steps__component_1n1l2 {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex-direction: row
21
- } .steps__component_1yc4g.steps__vertical_1yc4g {
21
+ } .steps__component_1n1l2.steps__vertical_1n1l2 {
22
22
  flex-direction: column;
23
23
  align-items: flex-start;
24
24
  }
package/modern/index.js CHANGED
@@ -1,10 +1 @@
1
1
  export { Steps } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import './components/step/Component.js';
5
- import '@alfalab/hooks';
6
- import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
7
- import '@alfalab/icons-glyph/ClockMIcon';
8
- import '@alfalab/icons-glyph/ExclamationCircleMIcon';
9
- import './components/step-indicator/Component.js';
10
- import '@alfalab/core-components-badge/modern';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-steps",
3
- "version": "1.5.1",
3
+ "version": "1.6.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-badge": "^5.5.1",
17
+ "@alfalab/core-components-badge": "^5.5.2",
18
18
  "@alfalab/hooks": "^1.13.0",
19
19
  "@alfalab/icons-glyph": "^2.139.0",
20
20
  "classnames": "^2.3.1",
package/src/Component.tsx CHANGED
@@ -50,6 +50,18 @@ export type StepsProps = {
50
50
  */
51
51
  interactive?: boolean;
52
52
 
53
+ /**
54
+ * Растягивание шагов на всю ширину блока для вертикальной ориентации
55
+ * @default false
56
+ */
57
+ fullWidth?: boolean;
58
+
59
+ /**
60
+ * Минимальное расстояние между шагами
61
+ * @default 24
62
+ */
63
+ minSpaceBetweenSteps?: 8 | 16 | 24;
64
+
53
65
  /**
54
66
  * Кастомный метод для управления состоянием disabled шага и
55
67
  * возможностью перехода на этот шаг
@@ -114,6 +126,8 @@ export const Steps: React.FC<StepsProps> = ({
114
126
  isVerticalAlign = false,
115
127
  ordered = true,
116
128
  interactive = true,
129
+ fullWidth = false,
130
+ minSpaceBetweenSteps = 24,
117
131
  checkIsStepDisabled,
118
132
  checkIsStepError,
119
133
  checkIsStepWarning,
@@ -180,6 +194,8 @@ export const Steps: React.FC<StepsProps> = ({
180
194
  isVerticalAlign={isVerticalAlign}
181
195
  isNotLastStep={isNotLastStep}
182
196
  key={stepNumber}
197
+ fullWidth={fullWidth}
198
+ minSpaceBetweenSteps={minSpaceBetweenSteps}
183
199
  >
184
200
  {step}
185
201
  </Step>
@@ -82,6 +82,18 @@ export type StepProps = {
82
82
  */
83
83
  isNotLastStep?: boolean;
84
84
 
85
+ /**
86
+ * Маркер того, что шаг растягивается на всю ширину блока
87
+ * для вертикальной ориентации
88
+ */
89
+ fullWidth?: boolean;
90
+
91
+ /**
92
+ * Минимальное расстояние между шагами
93
+ * @default 24
94
+ */
95
+ minSpaceBetweenSteps?: 8 | 16 | 24;
96
+
85
97
  /**
86
98
  * Обработчик нажатия на текущей шаг
87
99
  * @param stepNumber - номер шага
@@ -89,6 +101,12 @@ export type StepProps = {
89
101
  onClick: (stepNumber: number) => void;
90
102
  };
91
103
 
104
+ const SIZE_TO_CLASSNAME_MAP = {
105
+ 8: 'size-8',
106
+ 16: 'size-16',
107
+ 24: 'size-24',
108
+ };
109
+
92
110
  export const Step: React.FC<StepProps> = ({
93
111
  children,
94
112
  stepNumber,
@@ -105,6 +123,8 @@ export const Step: React.FC<StepProps> = ({
105
123
  interactive,
106
124
  isVerticalAlign,
107
125
  isNotLastStep,
126
+ fullWidth,
127
+ minSpaceBetweenSteps = 24,
108
128
  }) => {
109
129
  const stepRef = useRef<HTMLDivElement>(null);
110
130
 
@@ -166,10 +186,14 @@ export const Step: React.FC<StepProps> = ({
166
186
 
167
187
  const renderDash = () => (
168
188
  <div
169
- className={cn(styles.dash, {
170
- [styles.vertical]: isVerticalAlign,
171
- [styles.completed]: isStepCompleted,
172
- })}
189
+ className={cn(
190
+ styles.dash,
191
+ {
192
+ [styles.vertical]: isVerticalAlign,
193
+ [styles.completed]: isStepCompleted,
194
+ },
195
+ styles[SIZE_TO_CLASSNAME_MAP[minSpaceBetweenSteps]],
196
+ )}
173
197
  />
174
198
  );
175
199
 
@@ -186,6 +210,7 @@ export const Step: React.FC<StepProps> = ({
186
210
  [styles.focused]: focused,
187
211
  [styles.vertical]: isVerticalAlign,
188
212
  [styles.interactive]: interactive,
213
+ [styles.fullWidth]: fullWidth && isVerticalAlign,
189
214
  })}
190
215
  onClick={handleButtonClick}
191
216
  onKeyDown={handleKeyDown}
@@ -211,6 +236,7 @@ export const Step: React.FC<StepProps> = ({
211
236
  <div
212
237
  className={cn(styles.text, {
213
238
  [styles.interactive]: interactive,
239
+ [styles.fullWidth]: fullWidth && isVerticalAlign,
214
240
  })}
215
241
  onClick={handleTextClick}
216
242
  >
@@ -65,6 +65,14 @@
65
65
  border-top: 2px solid var(--color-light-neutral-translucent-300);
66
66
  margin-right: var(--gap-xs);
67
67
 
68
+ &.size-16 {
69
+ min-width: 16px;
70
+ }
71
+
72
+ &.size-8 {
73
+ min-width: 8px;
74
+ }
75
+
68
76
  &.completed {
69
77
  border-top: var(--steps-dash-border);
70
78
  }
@@ -76,6 +84,14 @@
76
84
  margin-top: var(--gap-xs);
77
85
  border-left: 2px solid var(--color-light-neutral-translucent-300);
78
86
  border-top: none;
87
+
88
+ &.size-16 {
89
+ min-height: 16px;
90
+ }
91
+
92
+ &.size-8 {
93
+ min-height: 8px;
94
+ }
79
95
  }
80
96
 
81
97
  &.completed.vertical {
@@ -115,7 +131,7 @@
115
131
 
116
132
  & .option {
117
133
  color: var(--color-light-text-primary-inverted);
118
- background: var(--color-light-neutral-1500);
134
+ background: var(--color-light-neutral-translucent-1300);
119
135
  }
120
136
  }
121
137
 
@@ -137,10 +153,10 @@
137
153
  }
138
154
 
139
155
  .selected .checkbox {
140
- border: 2px solid var(--color-light-neutral-1500);
156
+ border: 2px solid var(--color-light-neutral-translucent-1300);
141
157
 
142
158
  & .dot {
143
- background: var(--color-light-neutral-1500);
159
+ background: var(--color-light-neutral-translucent-1300);
144
160
  }
145
161
  }
146
162
 
@@ -152,3 +168,7 @@
152
168
  color: var(--steps-option-svg-color);
153
169
  background-color: var(--steps-option-svg-color);
154
170
  }
171
+
172
+ .fullWidth {
173
+ width: 100%;
174
+ }