@hh.ru/magritte-ui-stepper 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Content.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { type PropsWithChildren, type FC } from 'react';
2
+ interface ContentProps {
3
+ onClick?: VoidFunction;
4
+ }
5
+ export declare const StepperContent: FC<PropsWithChildren<ContentProps>>;
6
+ export {};
package/Content.js ADDED
@@ -0,0 +1,24 @@
1
+ import './index.css';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, Fragment } from 'react';
4
+ import classnames from 'classnames';
5
+ import { useDisabled } from '@hh.ru/magritte-common-use-disabled';
6
+ import { s as styles } from './stepper-CV0xwEd1.js';
7
+
8
+ const StepperContent = forwardRef(({ children, onClick }, ref) => {
9
+ const Wrapper = onClick ? 'button' : Fragment;
10
+ const isDisabled = useDisabled();
11
+ const wrapperProps = onClick
12
+ ? {
13
+ className: styles.stepButton,
14
+ onClick,
15
+ disabled: isDisabled || undefined,
16
+ 'data-qa': 'magritte-stepper-step-content',
17
+ }
18
+ : {};
19
+ 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 }) }));
20
+ });
21
+ StepperContent.displayName = 'StepperContent';
22
+
23
+ export { StepperContent };
24
+ //# sourceMappingURL=Content.js.map
package/Content.js.map ADDED
@@ -0,0 +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,UAAE;YACI,SAAS,EAAE,MAAM,CAAC,UAAU;YAC5B,OAAO;YACP,QAAQ,EAAE,UAAU,IAAI,SAAS;AACjC,YAAA,SAAS,EAAE,+BAA+B;AAC7C,SAAA;UACD,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.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import type { FC, PropsWithChildren } from 'react';
2
+ export declare const StepperMarker: FC<PropsWithChildren>;
package/Marker.js ADDED
@@ -0,0 +1,18 @@
1
+ import './index.css';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import classnames from 'classnames';
4
+ import { useDisabled } from '@hh.ru/magritte-common-use-disabled';
5
+ import { isIconComponent } from '@hh.ru/magritte-ui-icon';
6
+ import { s as styles } from './stepper-CV0xwEd1.js';
7
+
8
+ const StepperMarker = ({ children }) => {
9
+ const isDisabled = useDisabled();
10
+ const isIcon = isIconComponent(children);
11
+ return (jsx("div", { className: classnames(styles.markerContainer, {
12
+ [styles.markerContainerDisabled]: isDisabled,
13
+ [styles.markerContainerWithIcon]: isIcon,
14
+ }), role: "img", children: jsx("div", { className: styles.markerWrapper, children: children }) }));
15
+ };
16
+
17
+ export { StepperMarker };
18
+ //# sourceMappingURL=Marker.js.map
package/Marker.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Marker.js","sources":["../src/Marker.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport classnames from 'classnames';\n\nimport { useDisabled } from '@hh.ru/magritte-common-use-disabled';\nimport { isIconComponent } from '@hh.ru/magritte-ui-icon';\n\nimport styles from './stepper.less';\n\nexport const StepperMarker: FC<PropsWithChildren> = ({ children }) => {\n const isDisabled = useDisabled();\n const isIcon = isIconComponent(children);\n\n return (\n <div\n className={classnames(styles.markerContainer, {\n [styles.markerContainerDisabled]: isDisabled,\n [styles.markerContainerWithIcon]: isIcon,\n })}\n role=\"img\"\n >\n <div className={styles.markerWrapper}>{children}</div>\n </div>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;MAQa,aAAa,GAA0B,CAAC,EAAE,QAAQ,EAAE,KAAI;AACjE,IAAA,MAAM,UAAU,GAAG,WAAW,EAAE,CAAC;AACjC,IAAA,MAAM,MAAM,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IAEzC,QACIA,aACI,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,eAAe,EAAE;AAC1C,YAAA,CAAC,MAAM,CAAC,uBAAuB,GAAG,UAAU;AAC5C,YAAA,CAAC,MAAM,CAAC,uBAAuB,GAAG,MAAM;AAC3C,SAAA,CAAC,EACF,IAAI,EAAC,KAAK,EAAA,QAAA,EAEVA,aAAK,SAAS,EAAE,MAAM,CAAC,aAAa,EAAG,QAAA,EAAA,QAAQ,EAAO,CAAA,EAAA,CACpD,EACR;AACN;;;;"}
package/Step.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ import { type ForwardRefExoticComponent, type RefAttributes, type ReactNode } from 'react';
2
+ export interface StepExternalProps {
3
+ 'data-qa'?: string;
4
+ /** Флаг отключающий шаг */
5
+ disabled?: boolean;
6
+ /** Оформление шага (цвет полосы сверху или слева от шага) */
7
+ style?: 'neutral' | 'positive' | 'warning' | 'negative';
8
+ /** Обработчик клика */
9
+ onClick?: (isSelected: boolean) => void | null;
10
+ children?: ReactNode;
11
+ }
12
+ export type StepProps = {
13
+ selected?: boolean;
14
+ } & StepExternalProps;
15
+ export declare const StepperStep: ForwardRefExoticComponent<StepExternalProps & RefAttributes<HTMLElement>>;
package/Step.js ADDED
@@ -0,0 +1,26 @@
1
+ import './index.css';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, isValidElement, Children, cloneElement } from 'react';
4
+ import classnames from 'classnames';
5
+ import { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';
6
+ import { StepperContent } from './Content.js';
7
+ import { s as styles } from './stepper-CV0xwEd1.js';
8
+
9
+ const StepperStep = forwardRef(({ 'data-qa': dataQa = 'magritte-stepper-step', disabled = false, children, onClick, selected, style = 'neutral', }, ref) => {
10
+ const isDisabled = !!(useDisabled() || disabled);
11
+ const hasContent = Array.isArray(children) &&
12
+ isValidElement(children[1]) &&
13
+ children[1]?.type === StepperContent;
14
+ return (jsx(DisabledContext.Provider, { value: isDisabled, children: jsx("li", { className: classnames(styles.step, styles[`step-style-${style}`], {
15
+ [styles.disabledStep]: isDisabled,
16
+ [styles.stepNoContent]: !hasContent,
17
+ }), "aria-current": selected ? 'step' : undefined, "aria-disabled": isDisabled, "data-qa": dataQa, ref: ref, children: Children.map(children, (child) => isValidElement(child) && child?.type === StepperContent
18
+ ? cloneElement(child, {
19
+ onClick: onClick ? () => onClick(!!selected) : undefined,
20
+ })
21
+ : child) }) }));
22
+ });
23
+ StepperStep.displayName = 'StepperStep';
24
+
25
+ export { StepperStep };
26
+ //# sourceMappingURL=Step.js.map
package/Step.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Step.js","sources":["../src/Step.tsx"],"sourcesContent":["import {\n type LegacyRef,\n type ForwardRefExoticComponent,\n type RefAttributes,\n type ReactNode,\n isValidElement,\n cloneElement,\n forwardRef,\n Children,\n ReactElement,\n} from 'react';\nimport classnames from 'classnames';\n\nimport { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';\nimport { StepperContent } from '@hh.ru/magritte-ui-stepper/Content';\n\nimport styles from './stepper.less';\n\nexport interface StepExternalProps {\n 'data-qa'?: string;\n /** Флаг отключающий шаг */\n disabled?: boolean;\n /** Оформление шага (цвет полосы сверху или слева от шага) */\n style?: 'neutral' | 'positive' | 'warning' | 'negative';\n /** Обработчик клика */\n onClick?: (isSelected: boolean) => void | null;\n children?: ReactNode;\n}\n\nexport type StepProps = {\n selected?: boolean;\n} & StepExternalProps;\n\nexport const StepperStep = forwardRef<HTMLElement, StepProps>(\n (\n {\n 'data-qa': dataQa = 'magritte-stepper-step',\n disabled = false,\n children,\n onClick,\n selected,\n style = 'neutral',\n },\n ref\n ) => {\n const isDisabled = !!(useDisabled() || disabled);\n const hasContent =\n Array.isArray(children) &&\n isValidElement(children[1] as null) &&\n (children[1] as ReactElement)?.type === StepperContent;\n\n return (\n <DisabledContext.Provider value={isDisabled}>\n <li\n className={classnames(styles.step, styles[`step-style-${style}`], {\n [styles.disabledStep]: isDisabled,\n [styles.stepNoContent]: !hasContent,\n })}\n aria-current={selected ? 'step' : undefined}\n aria-disabled={isDisabled}\n data-qa={dataQa}\n ref={ref as LegacyRef<HTMLLIElement>}\n >\n {Children.map(children, (child) =>\n isValidElement(child) && child?.type === StepperContent\n ? cloneElement(child as ReactElement, {\n onClick: onClick ? () => onClick(!!selected) : undefined,\n })\n : child\n )}\n </li>\n </DisabledContext.Provider>\n );\n }\n) as ForwardRefExoticComponent<StepExternalProps & RefAttributes<HTMLElement>>;\n\nStepperStep.displayName = 'StepperStep';\n"],"names":["_jsx"],"mappings":";;;;;;;AAiCO,MAAM,WAAW,GAAG,UAAU,CACjC,CACI,EACI,SAAS,EAAE,MAAM,GAAG,uBAAuB,EAC3C,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,GAAG,SAAS,GACpB,EACD,GAAG,KACH;IACA,MAAM,UAAU,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,QAAQ,CAAC,CAAC;AACjD,IAAA,MAAM,UAAU,GACZ,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;AACvB,QAAA,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAS,CAAC;AAClC,QAAA,QAAQ,CAAC,CAAC,CAAkB,EAAE,IAAI,KAAK,cAAc,CAAC;IAE3D,QACIA,GAAC,CAAA,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,UAAU,EAAA,QAAA,EACvCA,GACI,CAAA,IAAA,EAAA,EAAA,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAc,WAAA,EAAA,KAAK,CAAE,CAAA,CAAC,EAAE;AAC9D,gBAAA,CAAC,MAAM,CAAC,YAAY,GAAG,UAAU;AACjC,gBAAA,CAAC,MAAM,CAAC,aAAa,GAAG,CAAC,UAAU;AACtC,aAAA,CAAC,kBACY,QAAQ,GAAG,MAAM,GAAG,SAAS,mBAC5B,UAAU,EAAA,SAAA,EAChB,MAAM,EACf,GAAG,EAAE,GAA+B,EAAA,QAAA,EAEnC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,KAC1B,cAAc,CAAC,KAAK,CAAC,IAAI,KAAK,EAAE,IAAI,KAAK,cAAc;AACnD,kBAAE,YAAY,CAAC,KAAqB,EAAE;AAChC,oBAAA,OAAO,EAAE,OAAO,GAAG,MAAM,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,SAAS;iBAC3D,CAAC;AACJ,kBAAE,KAAK,CACd,EACA,CAAA,EAAA,CACkB,EAC7B;AACN,CAAC,EAC0E;AAE/E,WAAW,CAAC,WAAW,GAAG,aAAa;;;;"}
package/Stepper.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ import { type FC, type ReactElement } from 'react';
2
+ import type { StepExternalProps } from '@hh.ru/magritte-ui-stepper/Step';
3
+ export interface StepperProps {
4
+ /** Выбранный шаг */
5
+ selectedStep?: null | number;
6
+ /** Обработчик клика по шагу */
7
+ onStepClick?: (step: number, isSelected: boolean) => void;
8
+ /** Ориентация компонента */
9
+ orientation?: 'vertical' | 'horizontal';
10
+ 'data-qa'?: string;
11
+ 'aria-label'?: string;
12
+ children: ReactElement<StepExternalProps>[] | ReactElement<StepExternalProps>;
13
+ /** Флаг отключающий компонент (все шаги) */
14
+ disabled?: boolean;
15
+ }
16
+ export declare const Stepper: FC<StepperProps>;
package/Stepper.js ADDED
@@ -0,0 +1,36 @@
1
+ import './index.css';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, Children, cloneElement, Fragment } from 'react';
4
+ import classnames from 'classnames';
5
+ import { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';
6
+ import { s as styles } from './stepper-CV0xwEd1.js';
7
+
8
+ const Stepper = forwardRef(({ selectedStep = null, onStepClick, orientation = 'vertical', 'data-qa': dataQa = 'magritte-stepper', 'aria-label': ariaLabel, disabled, children, }, ref) => {
9
+ const isDisabled = !!(useDisabled() || disabled);
10
+ const classes = {
11
+ className: classnames(styles.stepper, {
12
+ [styles.stepperVertical]: orientation === 'vertical',
13
+ [styles.stepperHorizontal]: orientation !== 'vertical',
14
+ }),
15
+ };
16
+ const Wrapper = onStepClick ? 'nav' : Fragment;
17
+ const outerWrapperProps = {
18
+ ref: ref,
19
+ 'data-qa': dataQa,
20
+ 'aria-label': ariaLabel,
21
+ 'aria-disabled': isDisabled || undefined,
22
+ };
23
+ return (jsx(DisabledContext.Provider, { value: isDisabled, children: jsx(Wrapper, { ...(onStepClick ? { ...outerWrapperProps, ...classes } : {}), children: jsx("ol", { ...(!onStepClick ? outerWrapperProps : {}), ...classes, children: Children.map(children, (children, index) => cloneElement(children, {
24
+ selected: selectedStep === index,
25
+ onClick: onStepClick
26
+ ? (isSelected) => {
27
+ children.props.onClick?.(isSelected);
28
+ onStepClick(index, isSelected);
29
+ }
30
+ : children.props.onClick,
31
+ })) }) }) }));
32
+ });
33
+ Stepper.displayName = 'Stepper';
34
+
35
+ export { Stepper };
36
+ //# sourceMappingURL=Stepper.js.map
package/Stepper.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stepper.js","sources":["../src/Stepper.tsx"],"sourcesContent":["import { type FC, type ReactElement, Children, cloneElement, forwardRef, Fragment, type LegacyRef } from 'react';\nimport classnames from 'classnames';\n\nimport { useDisabled, DisabledContext } from '@hh.ru/magritte-common-use-disabled';\nimport type { StepExternalProps, StepProps } from '@hh.ru/magritte-ui-stepper/Step';\n\nimport styles from './stepper.less';\n\nexport interface StepperProps {\n /** Выбранный шаг */\n selectedStep?: null | number;\n /** Обработчик клика по шагу */\n onStepClick?: (step: number, isSelected: boolean) => void;\n /** Ориентация компонента */\n orientation?: 'vertical' | 'horizontal';\n 'data-qa'?: string;\n 'aria-label'?: string;\n children: ReactElement<StepExternalProps>[] | ReactElement<StepExternalProps>;\n /** Флаг отключающий компонент (все шаги) */\n disabled?: boolean;\n}\n\nexport const Stepper: FC<StepperProps> = forwardRef<HTMLElement, StepperProps>(\n (\n {\n selectedStep = null,\n onStepClick,\n orientation = 'vertical',\n 'data-qa': dataQa = 'magritte-stepper',\n 'aria-label': ariaLabel,\n disabled,\n children,\n },\n ref\n ) => {\n const isDisabled = !!(useDisabled() || disabled);\n const classes = {\n className: classnames(styles.stepper, {\n [styles.stepperVertical]: orientation === 'vertical',\n [styles.stepperHorizontal]: orientation !== 'vertical',\n }),\n };\n const Wrapper = onStepClick ? 'nav' : Fragment;\n const outerWrapperProps = {\n ref: ref as LegacyRef<HTMLOListElement>,\n 'data-qa': dataQa,\n 'aria-label': ariaLabel,\n 'aria-disabled': isDisabled || undefined,\n };\n return (\n <DisabledContext.Provider value={isDisabled}>\n <Wrapper {...(onStepClick ? { ...outerWrapperProps, ...classes } : {})}>\n <ol {...(!onStepClick ? outerWrapperProps : {})} {...classes}>\n {Children.map(children, (children, index) =>\n cloneElement(children as ReactElement<StepProps>, {\n selected: selectedStep === index,\n onClick: onStepClick\n ? (isSelected: boolean) => {\n children.props.onClick?.(isSelected);\n onStepClick(index, isSelected);\n }\n : children.props.onClick,\n })\n )}\n </ol>\n </Wrapper>\n </DisabledContext.Provider>\n );\n }\n);\n\nStepper.displayName = 'Stepper';\n"],"names":["_jsx"],"mappings":";;;;;;AAsBO,MAAM,OAAO,GAAqB,UAAU,CAC/C,CACI,EACI,YAAY,GAAG,IAAI,EACnB,WAAW,EACX,WAAW,GAAG,UAAU,EACxB,SAAS,EAAE,MAAM,GAAG,kBAAkB,EACtC,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,QAAQ,GACX,EACD,GAAG,KACH;IACA,MAAM,UAAU,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,QAAQ,CAAC,CAAC;AACjD,IAAA,MAAM,OAAO,GAAG;AACZ,QAAA,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,OAAO,EAAE;AAClC,YAAA,CAAC,MAAM,CAAC,eAAe,GAAG,WAAW,KAAK,UAAU;AACpD,YAAA,CAAC,MAAM,CAAC,iBAAiB,GAAG,WAAW,KAAK,UAAU;SACzD,CAAC;KACL,CAAC;IACF,MAAM,OAAO,GAAG,WAAW,GAAG,KAAK,GAAG,QAAQ,CAAC;AAC/C,IAAA,MAAM,iBAAiB,GAAG;AACtB,QAAA,GAAG,EAAE,GAAkC;AACvC,QAAA,SAAS,EAAE,MAAM;AACjB,QAAA,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,UAAU,IAAI,SAAS;KAC3C,CAAC;AACF,IAAA,QACIA,GAAA,CAAC,eAAe,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,UAAU,EAAA,QAAA,EACvCA,GAAC,CAAA,OAAO,EAAK,EAAA,IAAC,WAAW,GAAG,EAAE,GAAG,iBAAiB,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,GAAC,QAAA,EAClEA,GAAQ,CAAA,IAAA,EAAA,EAAA,IAAC,CAAC,WAAW,GAAG,iBAAiB,GAAG,EAAE,GAAC,GAAM,OAAO,EACvD,QAAA,EAAA,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,KAAK,KACpC,YAAY,CAAC,QAAmC,EAAE;oBAC9C,QAAQ,EAAE,YAAY,KAAK,KAAK;AAChC,oBAAA,OAAO,EAAE,WAAW;AAChB,0BAAE,CAAC,UAAmB,KAAI;4BACpB,QAAQ,CAAC,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,CAAC;AACrC,4BAAA,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;yBAClC;AACH,0BAAE,QAAQ,CAAC,KAAK,CAAC,OAAO;AAC/B,iBAAA,CAAC,CACL,EAAA,CACA,EACC,CAAA,EAAA,CACa,EAC7B;AACN,CAAC,EACH;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS;;;;"}
package/index.css ADDED
@@ -0,0 +1,173 @@
1
+ :root{
2
+ --magritte-color-background-state-secondary-hovered-v22-1-0:#F1F4F9;
3
+ --magritte-color-stroke-neutral-v22-1-0:#DCE3EB;
4
+ --magritte-color-stroke-positive-v22-1-0:#0dc267;
5
+ --magritte-color-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
6
+ }
7
+ .magritte-night-theme{
8
+ --magritte-color-background-state-secondary-hovered-v22-1-0:#303030;
9
+ --magritte-color-stroke-neutral-v22-1-0:#303030;
10
+ --magritte-color-stroke-positive-v22-1-0:#10b55f;
11
+ --magritte-color-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
12
+ }
13
+ .magritte-zp-day-theme{
14
+ --magritte-color-background-state-secondary-hovered-v22-1-0:#F1F4F9;
15
+ --magritte-color-stroke-neutral-v22-1-0:#DCE3EB;
16
+ --magritte-color-stroke-positive-v22-1-0:#0dc267;
17
+ --magritte-color-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
18
+ }
19
+ .magritte-stepper___bf9CG_1-0-1{
20
+ display:flex;
21
+ flex:1 1;
22
+ list-style:none;
23
+ }
24
+ .magritte-stepper-horizontal___54ih5_1-0-1{
25
+ flex-direction:row;
26
+ }
27
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-step___7YXV2_1-0-1{
28
+ flex-direction:column;
29
+ }
30
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-container___ZuSOj_1-0-1{
31
+ flex-direction:row;
32
+ padding:0 12px 0 0;
33
+ }
34
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-container___ZuSOj_1-0-1.magritte-marker-container-with-icon___rBC1i_1-0-1{
35
+ padding:0 8px 0 0;
36
+ }
37
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
38
+ border-width:0;
39
+ border-top-width:1px;
40
+ }
41
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-wrapper___m-Hsn_1-0-1{
42
+ padding:0 12px 0 0;
43
+ }
44
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-container-with-icon___rBC1i_1-0-1 .magritte-marker-wrapper___m-Hsn_1-0-1{
45
+ padding:0 8px 0 0;
46
+ }
47
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-content-container___KPIiS_1-0-1{
48
+ padding:8px 24px 0 0;
49
+ }
50
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-marker-container-with-icon___rBC1i_1-0-1 + .magritte-content-container___KPIiS_1-0-1{
51
+ padding:12px 24px 0 0;
52
+ }
53
+ .magritte-stepper-horizontal___54ih5_1-0-1 .magritte-step___7YXV2_1-0-1:last-of-type .magritte-content-container___KPIiS_1-0-1{
54
+ padding-right:0;
55
+ }
56
+ .magritte-content-container___KPIiS_1-0-1{
57
+ order:2;
58
+ }
59
+ .magritte-stepper-vertical___032Tm_1-0-1{
60
+ flex-direction:column;
61
+ }
62
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-step___7YXV2_1-0-1{
63
+ flex-direction:row;
64
+ }
65
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-content-container___KPIiS_1-0-1,
66
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-step-button___xSXUO_1-0-1{
67
+ flex:1 1;
68
+ }
69
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-marker-container___ZuSOj_1-0-1{
70
+ flex-direction:column;
71
+ padding:4px 0 8px;
72
+ }
73
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-marker-container___ZuSOj_1-0-1.magritte-marker-container-with-icon___rBC1i_1-0-1{
74
+ padding-bottom:4px;
75
+ }
76
+ .magritte-stepper-vertical___032Tm_1-0-1.magritte-stepper-no-content___AEmtQ_1-0-1 .magritte-marker-container___ZuSOj_1-0-1{
77
+ padding-right:0;
78
+ }
79
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
80
+ border-width:0;
81
+ border-left-width:1px;
82
+ }
83
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-marker-wrapper___m-Hsn_1-0-1{
84
+ padding:0 0 12px;
85
+ }
86
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-marker-container-with-icon___rBC1i_1-0-1 .magritte-marker-wrapper___m-Hsn_1-0-1{
87
+ padding:0 0 8px;
88
+ }
89
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-content-container___KPIiS_1-0-1{
90
+ padding:0 0 24px 12px;
91
+ }
92
+ .magritte-stepper-vertical___032Tm_1-0-1 .magritte-step___7YXV2_1-0-1:last-of-type .magritte-content-container___KPIiS_1-0-1{
93
+ padding-bottom:0;
94
+ }
95
+ .magritte-step___7YXV2_1-0-1:last-of-type.magritte-step-no-content___mTIaO_1-0-1{
96
+ flex:0 0;
97
+ }
98
+ .magritte-step___7YXV2_1-0-1:last-of-type.magritte-step-no-content___mTIaO_1-0-1 .magritte-marker-container___ZuSOj_1-0-1,
99
+ .magritte-step___7YXV2_1-0-1:last-of-type.magritte-step-no-content___mTIaO_1-0-1 .magritte-marker-wrapper___m-Hsn_1-0-1{
100
+ padding:0;
101
+ }
102
+ .magritte-step___7YXV2_1-0-1{
103
+ display:flex;
104
+ flex:1 1;
105
+ }
106
+ .magritte-marker-container___ZuSOj_1-0-1{
107
+ order:1;
108
+ display:flex;
109
+ align-items:center;
110
+ }
111
+ .magritte-marker-container-disabled___lJ-PA_1-0-1{
112
+ opacity:0.5;
113
+ }
114
+ .magritte-step___7YXV2_1-0-1:not(:last-of-type) .magritte-marker-container___ZuSOj_1-0-1::after{
115
+ flex:1 1;
116
+ content:'';
117
+ border-style:solid;
118
+ }
119
+ .magritte-step-style-neutral___061j4_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
120
+ border-color:var(--magritte-color-stroke-neutral-v22-1-0);
121
+ }
122
+ .magritte-step-style-positive___9jcvm_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
123
+ border-color:var(--magritte-color-stroke-positive-v22-1-0);
124
+ }
125
+ .magritte-step-style-warning___NboIv_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
126
+ border-color:var(--magritte-color-stroke-neutral-v22-1-0);
127
+ }
128
+ .magritte-step-style-negative___w1AbF_1-0-1 .magritte-marker-container___ZuSOj_1-0-1::after{
129
+ border-color:var(--magritte-color-stroke-neutral-v22-1-0);
130
+ }
131
+ .magritte-marker-wrapper___m-Hsn_1-0-1{
132
+ display:flex;
133
+ flex:0 0;
134
+ }
135
+ .magritte-marker-divider-wrapper___PGB27_1-0-1{
136
+ display:inline-block;
137
+ flex:1 1;
138
+ }
139
+ .magritte-content-container___KPIiS_1-0-1,
140
+ .magritte-step-button___xSXUO_1-0-1{
141
+ display:flex;
142
+ flex-direction:column;
143
+ align-items:flex-start;
144
+ gap:12px;
145
+ }
146
+ .magritte-content-interactive___Cd9wI_1-0-1{
147
+ align-items:stretch;
148
+ }
149
+ .magritte-step-button___xSXUO_1-0-1{
150
+ margin:-4px -8px;
151
+ padding:4px 8px;
152
+ border-radius:12px;
153
+ cursor:default;
154
+ }
155
+ .magritte-step-button___xSXUO_1-0-1:not(:disabled){
156
+ cursor:pointer;
157
+ }
158
+ @media (min-width: 1020px){
159
+ body.magritte-old-layout .magritte-step-button___xSXUO_1-0-1:hover:not(:disabled){
160
+ background-color:var(--magritte-color-background-state-secondary-hovered-v22-1-0);
161
+ }
162
+ }
163
+ @media (min-width: 1024px){
164
+ body:not(.magritte-old-layout) .magritte-step-button___xSXUO_1-0-1:hover:not(:disabled){
165
+ background-color:var(--magritte-color-background-state-secondary-hovered-v22-1-0);
166
+ }
167
+ }
168
+ .magritte-step-button___xSXUO_1-0-1:active:not(:disabled){
169
+ background-color:var(--magritte-color-background-state-secondary-hovered-v22-1-0);
170
+ }
171
+ .magritte-step-button___xSXUO_1-0-1.focus-visible{
172
+ outline:4px solid var(--magritte-color-stroke-state-focused-accessible-v22-1-0);
173
+ }
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from '@hh.ru/magritte-ui-stepper/Stepper';
2
+ export { StepperStep, type StepExternalProps as StepperStepProps } from '@hh.ru/magritte-ui-stepper/Step';
3
+ export { StepperContent } from '@hh.ru/magritte-ui-stepper/Content';
4
+ export { StepperMarker } from '@hh.ru/magritte-ui-stepper/Marker';
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ import './index.css';
2
+ export { Stepper } from './Stepper.js';
3
+ export { StepperStep } from './Step.js';
4
+ export { StepperContent } from './Content.js';
5
+ export { StepperMarker } from './Marker.js';
6
+ import 'react/jsx-runtime';
7
+ import 'react';
8
+ import 'classnames';
9
+ import '@hh.ru/magritte-common-use-disabled';
10
+ import './stepper-CV0xwEd1.js';
11
+ import '@hh.ru/magritte-ui-icon';
12
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,7 @@
1
+ import { ForwardRefExoticComponent } from 'react';
2
+ export { type StepperProps } from '@hh.ru/magritte-ui-stepper/Stepper';
3
+ export { type StepExternalProps as StepperStepProps } from '@hh.ru/magritte-ui-stepper/Step';
4
+ export declare const Step: ForwardRefExoticComponent<Record<string, unknown>>;
5
+ export declare const StepperStep: ForwardRefExoticComponent<Record<string, unknown>>;
6
+ export declare const StepperContent: ForwardRefExoticComponent<Record<string, unknown>>;
7
+ export declare const StepperMarker: ForwardRefExoticComponent<Record<string, unknown>>;
package/index.mock.js ADDED
@@ -0,0 +1,48 @@
1
+ import './index.css';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+
5
+ function enhance(mockComponent, staticProps) {
6
+ // удаляем внутренний свойства реакта, чтобы не перезаписать ими mockComponent
7
+ delete staticProps.type;
8
+ delete staticProps.$$typeof;
9
+ delete staticProps.render;
10
+ for (const prop in staticProps) {
11
+ mockComponent[prop] = staticProps[prop];
12
+ }
13
+ }
14
+ const MockComponent = ({ style, ...props }) => (
15
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
16
+ // @ts-ignore
17
+ // eslint-disable-next-line react/jsx-no-undef
18
+ jsx("magritte-component-mock", { "style-data": style, ...props }));
19
+ /**
20
+ * Возвращает mock React компонента
21
+ */
22
+ const mockComponent = (componentName, staticProps = {}, { withChildren, innerDependence, WrapperComponent } = {}) => {
23
+ const mockWrapper = forwardRef(({ children, ...props }, ref) => {
24
+ const mock = (
25
+ // eslint-disable-next-line react/jsx-no-undef
26
+ jsxs(MockComponent, { ...props, _component: componentName, children: [innerDependence ? innerDependence(props, ref) : null, withChildren ? children : null] }));
27
+ return WrapperComponent ? jsx(WrapperComponent, { ...props, children: mock }) : mock;
28
+ });
29
+ staticProps && enhance(mockWrapper, staticProps);
30
+ mockWrapper.displayName = 'magritte-ref';
31
+ return mockWrapper;
32
+ };
33
+
34
+ const Step = mockComponent('Stepper', undefined, {
35
+ withChildren: true,
36
+ });
37
+ const StepperStep = mockComponent('StepperStep', undefined, {
38
+ withChildren: true,
39
+ });
40
+ const StepperContent = mockComponent('StepperContent', undefined, {
41
+ withChildren: true,
42
+ });
43
+ const StepperMarker = mockComponent('StepperMarker', undefined, {
44
+ withChildren: true,
45
+ });
46
+
47
+ export { Step, StepperContent, StepperMarker, StepperStep };
48
+ //# sourceMappingURL=index.mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mock.js","sources":["../../mock-component/lib/setupMockComponent.js","../src/index.mock.ts"],"sourcesContent":["import { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\n\nfunction enhance(mockComponent, staticProps) {\n // удаляем внутренний свойства реакта, чтобы не перезаписать ими mockComponent\n delete staticProps.type;\n delete staticProps.$$typeof;\n delete staticProps.render;\n for (const prop in staticProps) {\n mockComponent[prop] = staticProps[prop];\n }\n}\nconst MockComponent = ({ style, ...props }) => (\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n// eslint-disable-next-line react/jsx-no-undef\njsx(\"magritte-component-mock\", { \"style-data\": style, ...props }));\nconst MockComponentRenderProp = ({ style, ...props }) => (\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n// eslint-disable-next-line react/jsx-no-undef\njsx(\"magritte-component-mock-render-prop\", { \"style-data\": style, ...props }));\n/**\n * Возвращает mock React компонента\n */\nconst mockComponent = (componentName, staticProps = {}, { withChildren, innerDependence, WrapperComponent } = {}) => {\n const mockWrapper = forwardRef(({ children, ...props }, ref) => {\n const mock = (\n // eslint-disable-next-line react/jsx-no-undef\n jsxs(MockComponent, { ...props, _component: componentName, children: [innerDependence ? innerDependence(props, ref) : null, withChildren ? children : null] }));\n return WrapperComponent ? jsx(WrapperComponent, { ...props, children: mock }) : mock;\n });\n staticProps && enhance(mockWrapper, staticProps);\n mockWrapper.displayName = 'magritte-ref';\n return mockWrapper;\n};\n/**\n * Возвращает mock React компонента, который рендерит переданный в него пропс render\n *\n * @param {String} componentName наименование компонента\n * @param {Object} [staticProps] объект со свойствами, которыми необходимо усилить mock\n * @param {Object} [options] параметры мока\n * @param {boolean} [options.withChildren] флаг отвечает за рендеринг children компонента\n * @param {React.Component} [options.innerDependence] Реакт компонент, который рендерится внутри мока.\n * Необходим, когда mock компоненту требуется иметь\n * дополнительные элементы\n */\nconst mockComponentRenderProp = (componentName, staticProps, { withChildren, innerDependence, renderArguments } = { renderArguments: [] }) => {\n const mockWrapper = ({ render, children, ...props }) => (jsxs(MockComponentRenderProp, { ...props, _component: componentName, children: [innerDependence ? innerDependence(props) : null, withChildren ? children : null, render?.(...(renderArguments || []))] }));\n staticProps && enhance(mockWrapper, staticProps);\n mockWrapper.displayName = 'magritte-component-mock-render-prop';\n return mockWrapper;\n};\n\nexport { mockComponent, mockComponentRenderProp };\n//# sourceMappingURL=setupMockComponent.js.map\n","import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport { type StepperProps } from '@hh.ru/magritte-ui-stepper/Stepper';\nexport { type StepExternalProps as StepperStepProps } from '@hh.ru/magritte-ui-stepper/Step';\n\nexport const Step: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('Stepper', undefined, {\n withChildren: true,\n});\n\nexport const StepperStep: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('StepperStep', undefined, {\n withChildren: true,\n});\n\nexport const StepperContent: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'StepperContent',\n undefined,\n {\n withChildren: true,\n }\n);\n\nexport const StepperMarker: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'StepperMarker',\n undefined,\n {\n withChildren: true,\n }\n);\n"],"names":[],"mappings":";;;AAGA,SAAS,OAAO,CAAC,aAAa,EAAE,WAAW,EAAE;AAC7C;AACA,IAAI,OAAO,WAAW,CAAC,IAAI,CAAC;AAC5B,IAAI,OAAO,WAAW,CAAC,QAAQ,CAAC;AAChC,IAAI,OAAO,WAAW,CAAC,MAAM,CAAC;AAC9B,IAAI,KAAK,MAAM,IAAI,IAAI,WAAW,EAAE;AACpC,QAAQ,aAAa,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;AAChD,KAAK;AACL,CAAC;AACD,MAAM,aAAa,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE;AAC1C;AACA;AACA;AACA,GAAG,CAAC,yBAAyB,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC;AAMnE;AACA;AACA;AACA,MAAM,aAAa,GAAG,CAAC,aAAa,EAAE,WAAW,GAAG,EAAE,EAAE,EAAE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAG,EAAE,KAAK;AACrH,IAAI,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAK;AACpE,QAAQ,MAAM,IAAI;AAClB;AACA,QAAQ,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AACxK,QAAQ,OAAO,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,EAAE,EAAE,GAAG,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;AAC7F,KAAK,CAAC,CAAC;AACP,IAAI,WAAW,IAAI,OAAO,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AACrD,IAAI,WAAW,CAAC,WAAW,GAAG,cAAc,CAAC;AAC7C,IAAI,OAAO,WAAW,CAAC;AACvB,CAAC;;MC5BY,IAAI,GAAuD,aAAa,CAAC,SAAS,EAAE,SAAS,EAAE;AACxG,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;MAEU,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;MAEU,cAAc,GAAuD,aAAa,CAC3F,gBAAgB,EAChB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EACH;MAEW,aAAa,GAAuD,aAAa,CAC1F,eAAe,EACf,SAAS,EACT;AACI,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA;;;;"}
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@hh.ru/magritte-ui-stepper",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "sideEffects": [
7
+ "index.css"
8
+ ],
9
+ "scripts": {
10
+ "build": "yarn root:build $(pwd)",
11
+ "build-test-branch": "yarn root:build-test-branch $(pwd)",
12
+ "prepack": "yarn root:prepack $(pwd)",
13
+ "postpublish": "yarn root:postpublish $(pwd)",
14
+ "stylelint-check": "yarn root:stylelint-check $(pwd)",
15
+ "eslint-check": "yarn root:eslint-check $(pwd)",
16
+ "ts-config": "yarn root:ts-config $(pwd)",
17
+ "ts-check": "yarn root:ts-check $(pwd)",
18
+ "test": "yarn root:test $(pwd)",
19
+ "watch": "yarn root:watch $(pwd)"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "@hh.ru/magritte-common-use-disabled": "1.0.12",
26
+ "@hh.ru/magritte-design-tokens": "22.1.0",
27
+ "@hh.ru/magritte-ui-breakpoint": "6.0.0",
28
+ "@hh.ru/magritte-ui-icon": "12.0.0"
29
+ },
30
+ "peerDependencies": {
31
+ "classnames": ">=2.3.2",
32
+ "react": ">=18.2.0"
33
+ },
34
+ "gitHead": "b33df89ee2467f582ff290503045fd6382aecd60"
35
+ }
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ var styles = {"stepper":"magritte-stepper___bf9CG_1-0-1","stepper-horizontal":"magritte-stepper-horizontal___54ih5_1-0-1","stepperHorizontal":"magritte-stepper-horizontal___54ih5_1-0-1","step":"magritte-step___7YXV2_1-0-1","marker-container":"magritte-marker-container___ZuSOj_1-0-1","markerContainer":"magritte-marker-container___ZuSOj_1-0-1","marker-container-with-icon":"magritte-marker-container-with-icon___rBC1i_1-0-1","markerContainerWithIcon":"magritte-marker-container-with-icon___rBC1i_1-0-1","marker-wrapper":"magritte-marker-wrapper___m-Hsn_1-0-1","markerWrapper":"magritte-marker-wrapper___m-Hsn_1-0-1","content-container":"magritte-content-container___KPIiS_1-0-1","contentContainer":"magritte-content-container___KPIiS_1-0-1","stepper-vertical":"magritte-stepper-vertical___032Tm_1-0-1","stepperVertical":"magritte-stepper-vertical___032Tm_1-0-1","step-button":"magritte-step-button___xSXUO_1-0-1","stepButton":"magritte-step-button___xSXUO_1-0-1","stepper-no-content":"magritte-stepper-no-content___AEmtQ_1-0-1","stepperNoContent":"magritte-stepper-no-content___AEmtQ_1-0-1","step-no-content":"magritte-step-no-content___mTIaO_1-0-1","stepNoContent":"magritte-step-no-content___mTIaO_1-0-1","marker-container-disabled":"magritte-marker-container-disabled___lJ-PA_1-0-1","markerContainerDisabled":"magritte-marker-container-disabled___lJ-PA_1-0-1","step-style-neutral":"magritte-step-style-neutral___061j4_1-0-1","stepStyleNeutral":"magritte-step-style-neutral___061j4_1-0-1","step-style-positive":"magritte-step-style-positive___9jcvm_1-0-1","stepStylePositive":"magritte-step-style-positive___9jcvm_1-0-1","step-style-warning":"magritte-step-style-warning___NboIv_1-0-1","stepStyleWarning":"magritte-step-style-warning___NboIv_1-0-1","step-style-negative":"magritte-step-style-negative___w1AbF_1-0-1","stepStyleNegative":"magritte-step-style-negative___w1AbF_1-0-1","marker-divider-wrapper":"magritte-marker-divider-wrapper___PGB27_1-0-1","markerDividerWrapper":"magritte-marker-divider-wrapper___PGB27_1-0-1","content-interactive":"magritte-content-interactive___Cd9wI_1-0-1","contentInteractive":"magritte-content-interactive___Cd9wI_1-0-1"};
3
+
4
+ export { styles as s };
5
+ //# sourceMappingURL=stepper-CV0xwEd1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper-CV0xwEd1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}