@hh.ru/magritte-ui-stepper 1.0.6 → 1.0.8
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/Content.js +2 -1
- package/Content.js.map +1 -1
- package/Marker.js +1 -1
- package/Step.js +1 -1
- package/Stepper.js +1 -1
- package/index.css +48 -46
- package/index.js +1 -1
- package/package.json +2 -2
- package/stepper-Bq7A6DHr.js +5 -0
- package/stepper-Bq7A6DHr.js.map +1 -0
- package/stepper-DlDLsu_D.js +0 -5
- package/stepper-DlDLsu_D.js.map +0 -1
package/Content.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef, Fragment } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { useDisabled } from '@hh.ru/magritte-common-use-disabled';
|
|
6
|
-
import { s as styles } from './stepper-
|
|
6
|
+
import { s as styles } from './stepper-Bq7A6DHr.js';
|
|
7
7
|
|
|
8
8
|
const StepperContent = forwardRef(({ children, onClick }, ref) => {
|
|
9
9
|
const Wrapper = onClick ? 'button' : Fragment;
|
|
@@ -14,6 +14,7 @@ const StepperContent = forwardRef(({ children, onClick }, ref) => {
|
|
|
14
14
|
onClick,
|
|
15
15
|
disabled: isDisabled || undefined,
|
|
16
16
|
'data-qa': 'magritte-stepper-step-content',
|
|
17
|
+
type: 'button',
|
|
17
18
|
}
|
|
18
19
|
: {};
|
|
19
20
|
return (jsx("div", { className: classnames(styles.contentContainer, { [styles.contentInteractive]: onClick }), ref: ref, ...(onClick ? {} : { 'data-qa': 'magritte-stepper-step-content' }), children: jsx(Wrapper, { ...wrapperProps, children: children }) }));
|
package/Content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.js","sources":["../src/Content.tsx"],"sourcesContent":["import {\n type PropsWithChildren,\n type FC,\n type LegacyRef,\n type ForwardRefExoticComponent,\n type RefAttributes,\n Fragment,\n forwardRef,\n} from 'react';\nimport classNames from 'classnames';\n\nimport { useDisabled } from '@hh.ru/magritte-common-use-disabled';\n\nimport styles from './stepper.less';\n\ninterface ContentProps {\n onClick?: VoidFunction;\n}\n\nexport const StepperContent: FC<PropsWithChildren<ContentProps>> = forwardRef<\n HTMLElement,\n PropsWithChildren<ContentProps>\n>(({ children, onClick }, ref) => {\n const Wrapper = onClick ? 'button' : Fragment;\n const isDisabled = useDisabled();\n const wrapperProps = onClick\n ? {\n className: styles.stepButton,\n onClick,\n disabled: isDisabled || undefined,\n 'data-qa': 'magritte-stepper-step-content',\n }\n : {};\n\n return (\n <div\n className={classNames(styles.contentContainer, { [styles.contentInteractive]: onClick })}\n ref={ref as LegacyRef<HTMLDivElement>}\n {...(onClick ? {} : { 'data-qa': 'magritte-stepper-step-content' })}\n >\n <Wrapper {...wrapperProps}>{children}</Wrapper>\n </div>\n );\n}) as ForwardRefExoticComponent<PropsWithChildren & RefAttributes<HTMLElement>>;\n\nStepperContent.displayName = 'StepperContent';\n"],"names":["_jsx","classNames"],"mappings":";;;;;;AAmBO,MAAM,cAAc,GAAwC,UAAU,CAG3E,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,GAAG,KAAI;IAC7B,MAAM,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9C,IAAA,MAAM,UAAU,GAAG,WAAW,EAAE,CAAC;IACjC,MAAM,YAAY,GAAG,OAAO;AACxB,
|
|
1
|
+
{"version":3,"file":"Content.js","sources":["../src/Content.tsx"],"sourcesContent":["import {\n type PropsWithChildren,\n type FC,\n type LegacyRef,\n type ForwardRefExoticComponent,\n type RefAttributes,\n Fragment,\n forwardRef,\n} from 'react';\nimport classNames from 'classnames';\n\nimport { useDisabled } from '@hh.ru/magritte-common-use-disabled';\n\nimport styles from './stepper.less';\n\ninterface ContentProps {\n onClick?: VoidFunction;\n}\n\nexport const StepperContent: FC<PropsWithChildren<ContentProps>> = forwardRef<\n HTMLElement,\n PropsWithChildren<ContentProps>\n>(({ children, onClick }, ref) => {\n const Wrapper = onClick ? 'button' : Fragment;\n const isDisabled = useDisabled();\n const wrapperProps = onClick\n ? ({\n className: styles.stepButton,\n onClick,\n disabled: isDisabled || undefined,\n 'data-qa': 'magritte-stepper-step-content',\n type: 'button',\n } as const)\n : {};\n\n return (\n <div\n className={classNames(styles.contentContainer, { [styles.contentInteractive]: onClick })}\n ref={ref as LegacyRef<HTMLDivElement>}\n {...(onClick ? {} : { 'data-qa': 'magritte-stepper-step-content' })}\n >\n <Wrapper {...wrapperProps}>{children}</Wrapper>\n </div>\n );\n}) as ForwardRefExoticComponent<PropsWithChildren & RefAttributes<HTMLElement>>;\n\nStepperContent.displayName = 'StepperContent';\n"],"names":["_jsx","classNames"],"mappings":";;;;;;AAmBO,MAAM,cAAc,GAAwC,UAAU,CAG3E,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,GAAG,KAAI;IAC7B,MAAM,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9C,IAAA,MAAM,UAAU,GAAG,WAAW,EAAE,CAAC;IACjC,MAAM,YAAY,GAAG,OAAO;AACxB,UAAG;YACG,SAAS,EAAE,MAAM,CAAC,UAAU;YAC5B,OAAO;YACP,QAAQ,EAAE,UAAU,IAAI,SAAS;AACjC,YAAA,SAAS,EAAE,+BAA+B;AAC1C,YAAA,IAAI,EAAE,QAAQ;AACP,SAAA;UACX,EAAE,CAAC;IAET,QACIA,aACI,SAAS,EAAEC,UAAU,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,CAAC,MAAM,CAAC,kBAAkB,GAAG,OAAO,EAAE,CAAC,EACxF,GAAG,EAAE,GAAgC,EAAA,IAChC,OAAO,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,+BAA+B,EAAE,GAAC,QAAA,EAEnED,GAAC,CAAA,OAAO,EAAK,EAAA,GAAA,YAAY,YAAG,QAAQ,EAAA,CAAW,EAC7C,CAAA,EACR;AACN,CAAC,EAA+E;AAEhF,cAAc,CAAC,WAAW,GAAG,gBAAgB;;;;"}
|
package/Marker.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { useDisabled } from '@hh.ru/magritte-common-use-disabled';
|
|
5
5
|
import { isIconElement } from '@hh.ru/magritte-ui-icon';
|
|
6
|
-
import { s as styles } from './stepper-
|
|
6
|
+
import { s as styles } from './stepper-Bq7A6DHr.js';
|
|
7
7
|
|
|
8
8
|
const StepperMarker = ({ children }) => {
|
|
9
9
|
const isDisabled = useDisabled();
|
package/Step.js
CHANGED
|
@@ -4,7 +4,7 @@ import { forwardRef, isValidElement, Children, cloneElement } from 'react';
|
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';
|
|
6
6
|
import { StepperContent } from './Content.js';
|
|
7
|
-
import { s as styles } from './stepper-
|
|
7
|
+
import { s as styles } from './stepper-Bq7A6DHr.js';
|
|
8
8
|
|
|
9
9
|
const StepperStep = forwardRef(({ 'data-qa': dataQa = 'magritte-stepper-step', disabled = false, children, onClick, selected, style = 'neutral', }, ref) => {
|
|
10
10
|
const isDisabled = !!(useDisabled() || disabled);
|
package/Stepper.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef, Children, cloneElement, Fragment } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';
|
|
6
|
-
import { s as styles } from './stepper-
|
|
6
|
+
import { s as styles } from './stepper-Bq7A6DHr.js';
|
|
7
7
|
|
|
8
8
|
const Stepper = forwardRef(({ selectedStep = null, onStepClick, orientation = 'vertical', 'data-qa': dataQa = 'magritte-stepper', 'aria-label': ariaLabel, disabled, children, }, ref) => {
|
|
9
9
|
const isDisabled = !!(useDisabled() || disabled);
|
package/index.css
CHANGED
|
@@ -18,158 +18,160 @@
|
|
|
18
18
|
--magritte-color-stroke-positive-v23-1-0:#0dc267;
|
|
19
19
|
--magritte-color-stroke-state-focused-accessible-v23-1-0:#0070ff7a;
|
|
20
20
|
}
|
|
21
|
-
.magritte-stepper___bf9CG_1-0-
|
|
21
|
+
.magritte-stepper___bf9CG_1-0-8{
|
|
22
22
|
display:flex;
|
|
23
23
|
flex:1 1;
|
|
24
24
|
list-style:none;
|
|
25
25
|
}
|
|
26
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
26
|
+
.magritte-stepper-horizontal___54ih5_1-0-8{
|
|
27
27
|
flex-direction:row;
|
|
28
28
|
}
|
|
29
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
29
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-step___7YXV2_1-0-8{
|
|
30
30
|
flex-direction:column;
|
|
31
31
|
}
|
|
32
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
32
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-container___ZuSOj_1-0-8{
|
|
33
33
|
flex-direction:row;
|
|
34
34
|
padding:0 12px 0 0;
|
|
35
35
|
}
|
|
36
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
36
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-container___ZuSOj_1-0-8.magritte-marker-container-with-icon___rBC1i_1-0-8{
|
|
37
37
|
padding:0 8px 0 0;
|
|
38
38
|
}
|
|
39
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
39
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
40
40
|
border-width:0;
|
|
41
41
|
border-top-width:1px;
|
|
42
42
|
}
|
|
43
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
43
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
44
44
|
padding:0 12px 0 0;
|
|
45
45
|
}
|
|
46
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
46
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-container-with-icon___rBC1i_1-0-8 .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
47
47
|
padding:0 8px 0 0;
|
|
48
48
|
}
|
|
49
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
49
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-content-container___KPIiS_1-0-8{
|
|
50
50
|
padding:8px 24px 0 0;
|
|
51
51
|
}
|
|
52
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
52
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-marker-container-with-icon___rBC1i_1-0-8 + .magritte-content-container___KPIiS_1-0-8{
|
|
53
53
|
padding:12px 24px 0 0;
|
|
54
54
|
}
|
|
55
|
-
.magritte-stepper-horizontal___54ih5_1-0-
|
|
55
|
+
.magritte-stepper-horizontal___54ih5_1-0-8 .magritte-step___7YXV2_1-0-8:last-of-type .magritte-content-container___KPIiS_1-0-8{
|
|
56
56
|
padding-right:0;
|
|
57
57
|
}
|
|
58
|
-
.magritte-content-container___KPIiS_1-0-
|
|
58
|
+
.magritte-content-container___KPIiS_1-0-8{
|
|
59
59
|
order:2;
|
|
60
60
|
}
|
|
61
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
61
|
+
.magritte-stepper-vertical___032Tm_1-0-8{
|
|
62
62
|
flex-direction:column;
|
|
63
63
|
}
|
|
64
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
64
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-step___7YXV2_1-0-8{
|
|
65
65
|
flex-direction:row;
|
|
66
66
|
}
|
|
67
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
68
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
67
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-content-container___KPIiS_1-0-8,
|
|
68
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-step-button___xSXUO_1-0-8{
|
|
69
69
|
flex:1 1;
|
|
70
70
|
}
|
|
71
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
71
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-marker-container___ZuSOj_1-0-8{
|
|
72
72
|
flex-direction:column;
|
|
73
73
|
padding:4px 0 8px;
|
|
74
74
|
}
|
|
75
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
75
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-marker-container___ZuSOj_1-0-8.magritte-marker-container-with-icon___rBC1i_1-0-8{
|
|
76
76
|
padding-bottom:4px;
|
|
77
77
|
}
|
|
78
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
78
|
+
.magritte-stepper-vertical___032Tm_1-0-8.magritte-stepper-no-content___AEmtQ_1-0-8 .magritte-marker-container___ZuSOj_1-0-8{
|
|
79
79
|
padding-right:0;
|
|
80
80
|
}
|
|
81
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
81
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
82
82
|
border-width:0;
|
|
83
83
|
border-left-width:1px;
|
|
84
84
|
}
|
|
85
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
85
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
86
86
|
padding:0 0 12px;
|
|
87
87
|
}
|
|
88
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
88
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-marker-container-with-icon___rBC1i_1-0-8 .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
89
89
|
padding:0 0 8px;
|
|
90
90
|
}
|
|
91
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
91
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-content-container___KPIiS_1-0-8{
|
|
92
92
|
padding:0 0 24px 12px;
|
|
93
93
|
}
|
|
94
|
-
.magritte-stepper-vertical___032Tm_1-0-
|
|
94
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-step___7YXV2_1-0-8:last-of-type .magritte-content-container___KPIiS_1-0-8,
|
|
95
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-step___7YXV2_1-0-8:last-of-type .magritte-marker-container___ZuSOj_1-0-8,
|
|
96
|
+
.magritte-stepper-vertical___032Tm_1-0-8 .magritte-step___7YXV2_1-0-8:last-of-type .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
95
97
|
padding-bottom:0;
|
|
96
98
|
}
|
|
97
|
-
.magritte-step___7YXV2_1-0-
|
|
99
|
+
.magritte-step___7YXV2_1-0-8:last-of-type.magritte-step-no-content___mTIaO_1-0-8{
|
|
98
100
|
flex:0 0;
|
|
99
101
|
}
|
|
100
|
-
.magritte-step___7YXV2_1-0-
|
|
101
|
-
.magritte-step___7YXV2_1-0-
|
|
102
|
+
.magritte-step___7YXV2_1-0-8:last-of-type.magritte-step-no-content___mTIaO_1-0-8 .magritte-marker-container___ZuSOj_1-0-8,
|
|
103
|
+
.magritte-step___7YXV2_1-0-8:last-of-type.magritte-step-no-content___mTIaO_1-0-8 .magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
102
104
|
padding:0;
|
|
103
105
|
}
|
|
104
|
-
.magritte-step___7YXV2_1-0-
|
|
106
|
+
.magritte-step___7YXV2_1-0-8{
|
|
105
107
|
display:flex;
|
|
106
108
|
flex:1 1;
|
|
107
109
|
}
|
|
108
|
-
.magritte-marker-container___ZuSOj_1-0-
|
|
110
|
+
.magritte-marker-container___ZuSOj_1-0-8{
|
|
109
111
|
order:1;
|
|
110
112
|
display:flex;
|
|
111
113
|
align-items:center;
|
|
112
114
|
}
|
|
113
|
-
.magritte-marker-container-disabled___lJ-PA_1-0-
|
|
115
|
+
.magritte-marker-container-disabled___lJ-PA_1-0-8{
|
|
114
116
|
opacity:0.5;
|
|
115
117
|
}
|
|
116
|
-
.magritte-step___7YXV2_1-0-
|
|
118
|
+
.magritte-step___7YXV2_1-0-8:not(:last-of-type) .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
117
119
|
flex:1 1;
|
|
118
120
|
content:'';
|
|
119
121
|
border-style:solid;
|
|
120
122
|
}
|
|
121
|
-
.magritte-step-style-neutral___061j4_1-0-
|
|
123
|
+
.magritte-step-style-neutral___061j4_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
122
124
|
border-color:var(--magritte-color-stroke-neutral-v23-1-0);
|
|
123
125
|
}
|
|
124
|
-
.magritte-step-style-positive___9jcvm_1-0-
|
|
126
|
+
.magritte-step-style-positive___9jcvm_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
125
127
|
border-color:var(--magritte-color-stroke-positive-v23-1-0);
|
|
126
128
|
}
|
|
127
|
-
.magritte-step-style-warning___NboIv_1-0-
|
|
129
|
+
.magritte-step-style-warning___NboIv_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
128
130
|
border-color:var(--magritte-color-stroke-neutral-v23-1-0);
|
|
129
131
|
}
|
|
130
|
-
.magritte-step-style-negative___w1AbF_1-0-
|
|
132
|
+
.magritte-step-style-negative___w1AbF_1-0-8 .magritte-marker-container___ZuSOj_1-0-8::after{
|
|
131
133
|
border-color:var(--magritte-color-stroke-neutral-v23-1-0);
|
|
132
134
|
}
|
|
133
|
-
.magritte-marker-wrapper___m-Hsn_1-0-
|
|
135
|
+
.magritte-marker-wrapper___m-Hsn_1-0-8{
|
|
134
136
|
display:flex;
|
|
135
137
|
flex:0 0;
|
|
136
138
|
}
|
|
137
|
-
.magritte-marker-divider-wrapper___PGB27_1-0-
|
|
139
|
+
.magritte-marker-divider-wrapper___PGB27_1-0-8{
|
|
138
140
|
display:inline-block;
|
|
139
141
|
flex:1 1;
|
|
140
142
|
}
|
|
141
|
-
.magritte-content-container___KPIiS_1-0-
|
|
142
|
-
.magritte-step-button___xSXUO_1-0-
|
|
143
|
+
.magritte-content-container___KPIiS_1-0-8,
|
|
144
|
+
.magritte-step-button___xSXUO_1-0-8{
|
|
143
145
|
display:flex;
|
|
144
146
|
flex-direction:column;
|
|
145
147
|
align-items:flex-start;
|
|
146
148
|
gap:12px;
|
|
147
149
|
}
|
|
148
|
-
.magritte-content-interactive___Cd9wI_1-0-
|
|
150
|
+
.magritte-content-interactive___Cd9wI_1-0-8{
|
|
149
151
|
align-items:stretch;
|
|
150
152
|
}
|
|
151
|
-
.magritte-step-button___xSXUO_1-0-
|
|
153
|
+
.magritte-step-button___xSXUO_1-0-8{
|
|
152
154
|
margin:-4px -8px;
|
|
153
155
|
padding:4px 8px;
|
|
154
156
|
border-radius:12px;
|
|
155
157
|
cursor:default;
|
|
156
158
|
}
|
|
157
|
-
.magritte-step-button___xSXUO_1-0-
|
|
159
|
+
.magritte-step-button___xSXUO_1-0-8:not(:disabled){
|
|
158
160
|
cursor:pointer;
|
|
159
161
|
}
|
|
160
162
|
@media (min-width: 1020px){
|
|
161
|
-
body.magritte-old-layout .magritte-step-button___xSXUO_1-0-
|
|
163
|
+
body.magritte-old-layout .magritte-step-button___xSXUO_1-0-8:hover:not(:disabled){
|
|
162
164
|
background-color:var(--magritte-color-background-state-secondary-hovered-v23-1-0);
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
@media (min-width: 1024px){
|
|
166
|
-
body:not(.magritte-old-layout) .magritte-step-button___xSXUO_1-0-
|
|
168
|
+
body:not(.magritte-old-layout) .magritte-step-button___xSXUO_1-0-8:hover:not(:disabled){
|
|
167
169
|
background-color:var(--magritte-color-background-state-secondary-hovered-v23-1-0);
|
|
168
170
|
}
|
|
169
171
|
}
|
|
170
|
-
.magritte-step-button___xSXUO_1-0-
|
|
172
|
+
.magritte-step-button___xSXUO_1-0-8:active:not(:disabled){
|
|
171
173
|
background-color:var(--magritte-color-background-state-secondary-hovered-v23-1-0);
|
|
172
174
|
}
|
|
173
|
-
.magritte-step-button___xSXUO_1-0-
|
|
175
|
+
.magritte-step-button___xSXUO_1-0-8.focus-visible{
|
|
174
176
|
outline:4px solid var(--magritte-color-stroke-state-focused-accessible-v23-1-0);
|
|
175
177
|
}
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-stepper",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"classnames": ">=2.3.2",
|
|
32
32
|
"react": ">=18.2.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "78df51eeb8a8e4c457575ce8923eef046c2b67d4"
|
|
35
35
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"stepper":"magritte-stepper___bf9CG_1-0-8","stepper-horizontal":"magritte-stepper-horizontal___54ih5_1-0-8","stepperHorizontal":"magritte-stepper-horizontal___54ih5_1-0-8","step":"magritte-step___7YXV2_1-0-8","marker-container":"magritte-marker-container___ZuSOj_1-0-8","markerContainer":"magritte-marker-container___ZuSOj_1-0-8","marker-container-with-icon":"magritte-marker-container-with-icon___rBC1i_1-0-8","markerContainerWithIcon":"magritte-marker-container-with-icon___rBC1i_1-0-8","marker-wrapper":"magritte-marker-wrapper___m-Hsn_1-0-8","markerWrapper":"magritte-marker-wrapper___m-Hsn_1-0-8","content-container":"magritte-content-container___KPIiS_1-0-8","contentContainer":"magritte-content-container___KPIiS_1-0-8","stepper-vertical":"magritte-stepper-vertical___032Tm_1-0-8","stepperVertical":"magritte-stepper-vertical___032Tm_1-0-8","step-button":"magritte-step-button___xSXUO_1-0-8","stepButton":"magritte-step-button___xSXUO_1-0-8","stepper-no-content":"magritte-stepper-no-content___AEmtQ_1-0-8","stepperNoContent":"magritte-stepper-no-content___AEmtQ_1-0-8","step-no-content":"magritte-step-no-content___mTIaO_1-0-8","stepNoContent":"magritte-step-no-content___mTIaO_1-0-8","marker-container-disabled":"magritte-marker-container-disabled___lJ-PA_1-0-8","markerContainerDisabled":"magritte-marker-container-disabled___lJ-PA_1-0-8","step-style-neutral":"magritte-step-style-neutral___061j4_1-0-8","stepStyleNeutral":"magritte-step-style-neutral___061j4_1-0-8","step-style-positive":"magritte-step-style-positive___9jcvm_1-0-8","stepStylePositive":"magritte-step-style-positive___9jcvm_1-0-8","step-style-warning":"magritte-step-style-warning___NboIv_1-0-8","stepStyleWarning":"magritte-step-style-warning___NboIv_1-0-8","step-style-negative":"magritte-step-style-negative___w1AbF_1-0-8","stepStyleNegative":"magritte-step-style-negative___w1AbF_1-0-8","marker-divider-wrapper":"magritte-marker-divider-wrapper___PGB27_1-0-8","markerDividerWrapper":"magritte-marker-divider-wrapper___PGB27_1-0-8","content-interactive":"magritte-content-interactive___Cd9wI_1-0-8","contentInteractive":"magritte-content-interactive___Cd9wI_1-0-8"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=stepper-Bq7A6DHr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper-Bq7A6DHr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/stepper-DlDLsu_D.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"stepper":"magritte-stepper___bf9CG_1-0-6","stepper-horizontal":"magritte-stepper-horizontal___54ih5_1-0-6","stepperHorizontal":"magritte-stepper-horizontal___54ih5_1-0-6","step":"magritte-step___7YXV2_1-0-6","marker-container":"magritte-marker-container___ZuSOj_1-0-6","markerContainer":"magritte-marker-container___ZuSOj_1-0-6","marker-container-with-icon":"magritte-marker-container-with-icon___rBC1i_1-0-6","markerContainerWithIcon":"magritte-marker-container-with-icon___rBC1i_1-0-6","marker-wrapper":"magritte-marker-wrapper___m-Hsn_1-0-6","markerWrapper":"magritte-marker-wrapper___m-Hsn_1-0-6","content-container":"magritte-content-container___KPIiS_1-0-6","contentContainer":"magritte-content-container___KPIiS_1-0-6","stepper-vertical":"magritte-stepper-vertical___032Tm_1-0-6","stepperVertical":"magritte-stepper-vertical___032Tm_1-0-6","step-button":"magritte-step-button___xSXUO_1-0-6","stepButton":"magritte-step-button___xSXUO_1-0-6","stepper-no-content":"magritte-stepper-no-content___AEmtQ_1-0-6","stepperNoContent":"magritte-stepper-no-content___AEmtQ_1-0-6","step-no-content":"magritte-step-no-content___mTIaO_1-0-6","stepNoContent":"magritte-step-no-content___mTIaO_1-0-6","marker-container-disabled":"magritte-marker-container-disabled___lJ-PA_1-0-6","markerContainerDisabled":"magritte-marker-container-disabled___lJ-PA_1-0-6","step-style-neutral":"magritte-step-style-neutral___061j4_1-0-6","stepStyleNeutral":"magritte-step-style-neutral___061j4_1-0-6","step-style-positive":"magritte-step-style-positive___9jcvm_1-0-6","stepStylePositive":"magritte-step-style-positive___9jcvm_1-0-6","step-style-warning":"magritte-step-style-warning___NboIv_1-0-6","stepStyleWarning":"magritte-step-style-warning___NboIv_1-0-6","step-style-negative":"magritte-step-style-negative___w1AbF_1-0-6","stepStyleNegative":"magritte-step-style-negative___w1AbF_1-0-6","marker-divider-wrapper":"magritte-marker-divider-wrapper___PGB27_1-0-6","markerDividerWrapper":"magritte-marker-divider-wrapper___PGB27_1-0-6","content-interactive":"magritte-content-interactive___Cd9wI_1-0-6","contentInteractive":"magritte-content-interactive___Cd9wI_1-0-6"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=stepper-DlDLsu_D.js.map
|
package/stepper-DlDLsu_D.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepper-DlDLsu_D.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|