@telia/teddy 0.7.51 → 0.7.52
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/dist/components/avatar/avatar-root.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +1 -1
- package/dist/components/card/card-link.d.ts +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +4 -4
- package/dist/components/channel-button/index.d.ts +4 -4
- package/dist/components/checkbox/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox-card-group/checkbox-card-group-content.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-content.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.js +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.cjs +1 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.js +1 -0
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +1 -1
- package/dist/components/dashed-button/dashed-button-root.d.ts +6 -6
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +3 -3
- package/dist/components/flip-card/flip-card-trigger.d.ts +2 -2
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/modal/modal-close.cjs +1 -0
- package/dist/components/modal/modal-close.js +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notification/notification-icon.d.ts +2 -2
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/components/scroll-area/index.d.ts +3 -3
- package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
- package/dist/components/step-by-step/index.cjs +19 -0
- package/dist/components/step-by-step/index.d.ts +30 -0
- package/dist/components/step-by-step/index.js +19 -0
- package/dist/components/step-by-step/step-by-step-content.cjs +23 -0
- package/dist/components/step-by-step/step-by-step-content.d.ts +8 -0
- package/dist/components/step-by-step/step-by-step-content.js +23 -0
- package/dist/components/step-by-step/step-by-step-description.cjs +17 -0
- package/dist/components/step-by-step/step-by-step-description.d.ts +33 -0
- package/dist/components/step-by-step/step-by-step-description.js +17 -0
- package/dist/components/step-by-step/step-by-step-icon.cjs +29 -0
- package/dist/components/step-by-step/step-by-step-icon.d.ts +24 -0
- package/dist/components/step-by-step/step-by-step-icon.js +29 -0
- package/dist/components/step-by-step/step-by-step-root.cjs +70 -0
- package/dist/components/step-by-step/step-by-step-root.d.ts +71 -0
- package/dist/components/step-by-step/step-by-step-root.js +70 -0
- package/dist/components/step-by-step/step-by-step-step.cjs +36 -0
- package/dist/components/step-by-step/step-by-step-step.d.ts +24 -0
- package/dist/components/step-by-step/step-by-step-step.js +36 -0
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/tabs/tabs-scroll.d.ts +1 -1
- package/dist/components/tabs/tabs-trigger.d.ts +1 -1
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/top-row-buttons/top-row-buttons.d.ts +1 -1
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +214 -1
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type StepIconProps = {
|
|
4
|
+
readonly className?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Number to display inside the icon circle.
|
|
7
|
+
*/
|
|
8
|
+
readonly number?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Image source for displaying an image inside the icon circle.
|
|
11
|
+
*/
|
|
12
|
+
readonly imageSrc?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Custom icon element to render inside the circle (e.g. <Icon name="..." />).
|
|
15
|
+
*/
|
|
16
|
+
readonly children?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The visual icon circle for a step. Renders as a button in interactive mode.
|
|
20
|
+
*/
|
|
21
|
+
export declare function StepIcon({ className, children, number, imageSrc }: StepIconProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare namespace StepIcon {
|
|
23
|
+
var displayName: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { RootContext, s as styles, rootClassName } from "./step-by-step-root.js";
|
|
5
|
+
import { StepContext } from "./step-by-step-step.js";
|
|
6
|
+
function StepIcon({ className, children, number, imageSrc }) {
|
|
7
|
+
const { interactive, opened, index, onSelect } = React__default.useContext(StepContext);
|
|
8
|
+
const { standalone } = React__default.useContext(RootContext);
|
|
9
|
+
const classes = clsx(
|
|
10
|
+
styles[`${rootClassName}__icon-circle`],
|
|
11
|
+
{
|
|
12
|
+
[styles[`${rootClassName}__icon-circle--interactive`]]: interactive,
|
|
13
|
+
[styles[`${rootClassName}__icon-circle--highlighted`]]: opened && !standalone
|
|
14
|
+
},
|
|
15
|
+
className
|
|
16
|
+
);
|
|
17
|
+
const content = children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18
|
+
imageSrc && /* @__PURE__ */ jsx("img", { className: styles[`${rootClassName}__image`], src: imageSrc, alt: "" }),
|
|
19
|
+
number !== void 0 && /* @__PURE__ */ jsx("span", { className: styles[`${rootClassName}__number`], children: number })
|
|
20
|
+
] });
|
|
21
|
+
if (interactive) {
|
|
22
|
+
return /* @__PURE__ */ jsx("button", { type: "button", className: classes, onClick: () => onSelect(index), "aria-expanded": opened, children: content });
|
|
23
|
+
}
|
|
24
|
+
return /* @__PURE__ */ jsx("div", { className: classes, children: content });
|
|
25
|
+
}
|
|
26
|
+
StepIcon.displayName = "StepByStep.Icon";
|
|
27
|
+
export {
|
|
28
|
+
StepIcon
|
|
29
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const styles = {
|
|
7
|
+
"teddy-step-by-step": "_teddy-step-by-step_1nyec_1",
|
|
8
|
+
"teddy-step-by-step--interactive": "_teddy-step-by-step--interactive_1nyec_8",
|
|
9
|
+
"teddy-step-by-step__content": "_teddy-step-by-step__content_1nyec_8",
|
|
10
|
+
"teddy-step-by-step--dashed": "_teddy-step-by-step--dashed_1nyec_11",
|
|
11
|
+
"teddy-step-by-step__step-wrapper": "_teddy-step-by-step__step-wrapper_1nyec_11",
|
|
12
|
+
"teddy-step-by-step__icon-circle": "_teddy-step-by-step__icon-circle_1nyec_17",
|
|
13
|
+
"teddy-step-by-step__icon-circle--highlighted": "_teddy-step-by-step__icon-circle--highlighted_1nyec_22",
|
|
14
|
+
"teddy-step-by-step__text": "_teddy-step-by-step__text_1nyec_44",
|
|
15
|
+
"teddy-step-by-step__number": "_teddy-step-by-step__number_1nyec_71",
|
|
16
|
+
"teddy-step-by-step__heading": "_teddy-step-by-step__heading_1nyec_87",
|
|
17
|
+
"teddy-step-by-step__image": "_teddy-step-by-step__image_1nyec_104",
|
|
18
|
+
"teddy-step-by-step__content--open": "_teddy-step-by-step__content--open_1nyec_118",
|
|
19
|
+
"teddy-step-by-step-height-open": "_teddy-step-by-step-height-open_1nyec_1",
|
|
20
|
+
"teddy-step-by-step__content--closed": "_teddy-step-by-step__content--closed_1nyec_123",
|
|
21
|
+
"teddy-step-by-step-height-close": "_teddy-step-by-step-height-close_1nyec_1",
|
|
22
|
+
"teddy-step-by-step--lg": "_teddy-step-by-step--lg_1nyec_130",
|
|
23
|
+
"teddy-step-by-step--md": "_teddy-step-by-step--md_1nyec_145",
|
|
24
|
+
"teddy-step-by-step--sm": "_teddy-step-by-step--sm_1nyec_160",
|
|
25
|
+
"teddy-step-by-step--xs": "_teddy-step-by-step--xs_1nyec_175"
|
|
26
|
+
};
|
|
27
|
+
const rootClassName = "teddy-step-by-step";
|
|
28
|
+
const RootContext = React.createContext({
|
|
29
|
+
interactive: false,
|
|
30
|
+
selectedIndex: 0,
|
|
31
|
+
onSelect: () => {
|
|
32
|
+
},
|
|
33
|
+
standalone: false
|
|
34
|
+
});
|
|
35
|
+
const Root = React.forwardRef(
|
|
36
|
+
({
|
|
37
|
+
className,
|
|
38
|
+
children,
|
|
39
|
+
interactive = false,
|
|
40
|
+
selectedIndex: selectedIndexProp,
|
|
41
|
+
onSelect: onSelectProp,
|
|
42
|
+
size = "lg",
|
|
43
|
+
borders = "solid",
|
|
44
|
+
standalone = false,
|
|
45
|
+
...props
|
|
46
|
+
}, forwardRef) => {
|
|
47
|
+
const [localSelectedIndex, setLocalSelectedIndex] = React.useState(0);
|
|
48
|
+
const selectedIndex = selectedIndexProp ?? localSelectedIndex;
|
|
49
|
+
const onSelect = onSelectProp ?? setLocalSelectedIndex;
|
|
50
|
+
const classes = clsx(
|
|
51
|
+
styles[rootClassName],
|
|
52
|
+
styles[`${rootClassName}--${size}`],
|
|
53
|
+
{
|
|
54
|
+
[styles[`${rootClassName}--interactive`]]: interactive,
|
|
55
|
+
[styles[`${rootClassName}--dashed`]]: borders === "dashed"
|
|
56
|
+
},
|
|
57
|
+
className
|
|
58
|
+
);
|
|
59
|
+
const contextValue = React.useMemo(
|
|
60
|
+
() => ({ interactive, selectedIndex, onSelect, standalone }),
|
|
61
|
+
[interactive, selectedIndex, onSelect, standalone]
|
|
62
|
+
);
|
|
63
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RootContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx("ul", { ...props, ref: forwardRef, className: classes, children }) });
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
Root.displayName = "StepByStep";
|
|
67
|
+
exports.Root = Root;
|
|
68
|
+
exports.RootContext = RootContext;
|
|
69
|
+
exports.rootClassName = rootClassName;
|
|
70
|
+
exports.styles = styles;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const rootClassName = "teddy-step-by-step";
|
|
4
|
+
export type RootContextValue = {
|
|
5
|
+
interactive: boolean;
|
|
6
|
+
selectedIndex: number;
|
|
7
|
+
onSelect: (index: number) => void;
|
|
8
|
+
standalone: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const RootContext: React.Context<RootContextValue>;
|
|
11
|
+
export type RootProps = Omit<React.ComponentPropsWithoutRef<'ul'>, 'onSelect'> & {
|
|
12
|
+
/**
|
|
13
|
+
* Whether steps can be clicked to expand/collapse their content.
|
|
14
|
+
*/
|
|
15
|
+
interactive?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Index of the active step (controlled). Starts at 0.
|
|
18
|
+
*/
|
|
19
|
+
selectedIndex?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Callback fired when a step is selected (controlled mode).
|
|
22
|
+
*/
|
|
23
|
+
onSelect?: (index: number) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Size of the step icon element.
|
|
26
|
+
* @default 'lg'
|
|
27
|
+
*/
|
|
28
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
29
|
+
/**
|
|
30
|
+
* Style of the connector line between steps.
|
|
31
|
+
* @default 'solid'
|
|
32
|
+
*/
|
|
33
|
+
borders?: 'solid' | 'dashed';
|
|
34
|
+
/**
|
|
35
|
+
* When true, all step icons are rendered in their default (non-highlighted) state
|
|
36
|
+
* regardless of the selected index.
|
|
37
|
+
*/
|
|
38
|
+
standalone?: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The root container for a list of steps.
|
|
42
|
+
*/
|
|
43
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "onSelect"> & {
|
|
44
|
+
/**
|
|
45
|
+
* Whether steps can be clicked to expand/collapse their content.
|
|
46
|
+
*/
|
|
47
|
+
interactive?: boolean | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Index of the active step (controlled). Starts at 0.
|
|
50
|
+
*/
|
|
51
|
+
selectedIndex?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired when a step is selected (controlled mode).
|
|
54
|
+
*/
|
|
55
|
+
onSelect?: ((index: number) => void) | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Size of the step icon element.
|
|
58
|
+
* @default 'lg'
|
|
59
|
+
*/
|
|
60
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Style of the connector line between steps.
|
|
63
|
+
* @default 'solid'
|
|
64
|
+
*/
|
|
65
|
+
borders?: "solid" | "dashed" | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* When true, all step icons are rendered in their default (non-highlighted) state
|
|
68
|
+
* regardless of the selected index.
|
|
69
|
+
*/
|
|
70
|
+
standalone?: boolean | undefined;
|
|
71
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useState } from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
const styles = {
|
|
5
|
+
"teddy-step-by-step": "_teddy-step-by-step_1nyec_1",
|
|
6
|
+
"teddy-step-by-step--interactive": "_teddy-step-by-step--interactive_1nyec_8",
|
|
7
|
+
"teddy-step-by-step__content": "_teddy-step-by-step__content_1nyec_8",
|
|
8
|
+
"teddy-step-by-step--dashed": "_teddy-step-by-step--dashed_1nyec_11",
|
|
9
|
+
"teddy-step-by-step__step-wrapper": "_teddy-step-by-step__step-wrapper_1nyec_11",
|
|
10
|
+
"teddy-step-by-step__icon-circle": "_teddy-step-by-step__icon-circle_1nyec_17",
|
|
11
|
+
"teddy-step-by-step__icon-circle--highlighted": "_teddy-step-by-step__icon-circle--highlighted_1nyec_22",
|
|
12
|
+
"teddy-step-by-step__text": "_teddy-step-by-step__text_1nyec_44",
|
|
13
|
+
"teddy-step-by-step__number": "_teddy-step-by-step__number_1nyec_71",
|
|
14
|
+
"teddy-step-by-step__heading": "_teddy-step-by-step__heading_1nyec_87",
|
|
15
|
+
"teddy-step-by-step__image": "_teddy-step-by-step__image_1nyec_104",
|
|
16
|
+
"teddy-step-by-step__content--open": "_teddy-step-by-step__content--open_1nyec_118",
|
|
17
|
+
"teddy-step-by-step-height-open": "_teddy-step-by-step-height-open_1nyec_1",
|
|
18
|
+
"teddy-step-by-step__content--closed": "_teddy-step-by-step__content--closed_1nyec_123",
|
|
19
|
+
"teddy-step-by-step-height-close": "_teddy-step-by-step-height-close_1nyec_1",
|
|
20
|
+
"teddy-step-by-step--lg": "_teddy-step-by-step--lg_1nyec_130",
|
|
21
|
+
"teddy-step-by-step--md": "_teddy-step-by-step--md_1nyec_145",
|
|
22
|
+
"teddy-step-by-step--sm": "_teddy-step-by-step--sm_1nyec_160",
|
|
23
|
+
"teddy-step-by-step--xs": "_teddy-step-by-step--xs_1nyec_175"
|
|
24
|
+
};
|
|
25
|
+
const rootClassName = "teddy-step-by-step";
|
|
26
|
+
const RootContext = React__default.createContext({
|
|
27
|
+
interactive: false,
|
|
28
|
+
selectedIndex: 0,
|
|
29
|
+
onSelect: () => {
|
|
30
|
+
},
|
|
31
|
+
standalone: false
|
|
32
|
+
});
|
|
33
|
+
const Root = React__default.forwardRef(
|
|
34
|
+
({
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
interactive = false,
|
|
38
|
+
selectedIndex: selectedIndexProp,
|
|
39
|
+
onSelect: onSelectProp,
|
|
40
|
+
size = "lg",
|
|
41
|
+
borders = "solid",
|
|
42
|
+
standalone = false,
|
|
43
|
+
...props
|
|
44
|
+
}, forwardRef) => {
|
|
45
|
+
const [localSelectedIndex, setLocalSelectedIndex] = useState(0);
|
|
46
|
+
const selectedIndex = selectedIndexProp ?? localSelectedIndex;
|
|
47
|
+
const onSelect = onSelectProp ?? setLocalSelectedIndex;
|
|
48
|
+
const classes = clsx(
|
|
49
|
+
styles[rootClassName],
|
|
50
|
+
styles[`${rootClassName}--${size}`],
|
|
51
|
+
{
|
|
52
|
+
[styles[`${rootClassName}--interactive`]]: interactive,
|
|
53
|
+
[styles[`${rootClassName}--dashed`]]: borders === "dashed"
|
|
54
|
+
},
|
|
55
|
+
className
|
|
56
|
+
);
|
|
57
|
+
const contextValue = React__default.useMemo(
|
|
58
|
+
() => ({ interactive, selectedIndex, onSelect, standalone }),
|
|
59
|
+
[interactive, selectedIndex, onSelect, standalone]
|
|
60
|
+
);
|
|
61
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("ul", { ...props, ref: forwardRef, className: classes, children }) });
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
Root.displayName = "StepByStep";
|
|
65
|
+
export {
|
|
66
|
+
Root,
|
|
67
|
+
RootContext,
|
|
68
|
+
rootClassName,
|
|
69
|
+
styles as s
|
|
70
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const components_stepByStep_stepByStepRoot = require("./step-by-step-root.cjs");
|
|
7
|
+
const StepContext = React.createContext({
|
|
8
|
+
index: 0,
|
|
9
|
+
opened: false,
|
|
10
|
+
interactive: false,
|
|
11
|
+
onSelect: () => {
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const Step = React.forwardRef(
|
|
15
|
+
({ className, children, index = 0, ...props }, forwardRef) => {
|
|
16
|
+
const { interactive, selectedIndex, onSelect } = React.useContext(components_stepByStep_stepByStepRoot.RootContext);
|
|
17
|
+
const opened = selectedIndex === index;
|
|
18
|
+
const classes = clsx(
|
|
19
|
+
components_stepByStep_stepByStepRoot.styles[`${components_stepByStep_stepByStepRoot.rootClassName}__step-wrapper`],
|
|
20
|
+
{
|
|
21
|
+
[components_stepByStep_stepByStepRoot.styles[`${components_stepByStep_stepByStepRoot.rootClassName}__step--opened`]]: opened,
|
|
22
|
+
[components_stepByStep_stepByStepRoot.styles[`${components_stepByStep_stepByStepRoot.rootClassName}__step--closed`]]: !opened,
|
|
23
|
+
[components_stepByStep_stepByStepRoot.styles[`${components_stepByStep_stepByStepRoot.rootClassName}__step--touched`]]: true
|
|
24
|
+
},
|
|
25
|
+
className
|
|
26
|
+
);
|
|
27
|
+
const contextValue = React.useMemo(
|
|
28
|
+
() => ({ index, opened, interactive, onSelect }),
|
|
29
|
+
[index, opened, interactive, onSelect]
|
|
30
|
+
);
|
|
31
|
+
return /* @__PURE__ */ jsxRuntime.jsx(StepContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx("li", { ...props, ref: forwardRef, className: classes, children }) });
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
Step.displayName = "StepByStep.Step";
|
|
35
|
+
exports.Step = Step;
|
|
36
|
+
exports.StepContext = StepContext;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type StepContextValue = {
|
|
4
|
+
index: number;
|
|
5
|
+
opened: boolean;
|
|
6
|
+
interactive: boolean;
|
|
7
|
+
onSelect: (index: number) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const StepContext: React.Context<StepContextValue>;
|
|
10
|
+
export type StepProps = React.ComponentPropsWithoutRef<'li'> & {
|
|
11
|
+
/**
|
|
12
|
+
* Zero-based index of this step. Required for interactive mode.
|
|
13
|
+
*/
|
|
14
|
+
index?: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* A single step wrapper within a StepByStep list.
|
|
18
|
+
*/
|
|
19
|
+
export declare const Step: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
20
|
+
/**
|
|
21
|
+
* Zero-based index of this step. Required for interactive mode.
|
|
22
|
+
*/
|
|
23
|
+
index?: number | undefined;
|
|
24
|
+
} & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { RootContext, s as styles, rootClassName } from "./step-by-step-root.js";
|
|
5
|
+
const StepContext = React__default.createContext({
|
|
6
|
+
index: 0,
|
|
7
|
+
opened: false,
|
|
8
|
+
interactive: false,
|
|
9
|
+
onSelect: () => {
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const Step = React__default.forwardRef(
|
|
13
|
+
({ className, children, index = 0, ...props }, forwardRef) => {
|
|
14
|
+
const { interactive, selectedIndex, onSelect } = React__default.useContext(RootContext);
|
|
15
|
+
const opened = selectedIndex === index;
|
|
16
|
+
const classes = clsx(
|
|
17
|
+
styles[`${rootClassName}__step-wrapper`],
|
|
18
|
+
{
|
|
19
|
+
[styles[`${rootClassName}__step--opened`]]: opened,
|
|
20
|
+
[styles[`${rootClassName}__step--closed`]]: !opened,
|
|
21
|
+
[styles[`${rootClassName}__step--touched`]]: true
|
|
22
|
+
},
|
|
23
|
+
className
|
|
24
|
+
);
|
|
25
|
+
const contextValue = React__default.useMemo(
|
|
26
|
+
() => ({ index, opened, interactive, onSelect }),
|
|
27
|
+
[index, opened, interactive, onSelect]
|
|
28
|
+
);
|
|
29
|
+
return /* @__PURE__ */ jsx(StepContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("li", { ...props, ref: forwardRef, className: classes, children }) });
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
Step.displayName = "StepByStep.Step";
|
|
33
|
+
export {
|
|
34
|
+
Step,
|
|
35
|
+
StepContext
|
|
36
|
+
};
|
|
@@ -10,7 +10,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
10
10
|
loading?: boolean | undefined;
|
|
11
11
|
fullWidth?: boolean | undefined;
|
|
12
12
|
size?: "sm" | "md" | "lg" | undefined;
|
|
13
|
-
variant?: "
|
|
13
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
14
14
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
iconOnly: true;
|
|
@@ -22,7 +22,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
22
22
|
loading?: boolean | undefined;
|
|
23
23
|
fullWidth?: boolean | undefined;
|
|
24
24
|
size?: "sm" | "md" | "lg" | undefined;
|
|
25
|
-
variant?: "
|
|
25
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
26
26
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
iconOnly?: false | undefined;
|
|
@@ -5,7 +5,7 @@ export type ScrollProps = React.ComponentPropsWithoutRef<typeof ScrollArea>;
|
|
|
5
5
|
export declare const ScrollContext: React.Context<boolean>;
|
|
6
6
|
/** */
|
|
7
7
|
export declare const Scroll: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-scroll-area').ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
8
|
-
variant?: ("button" | "
|
|
8
|
+
variant?: ("button" | "hidden" | "scrollbar") | undefined;
|
|
9
9
|
scrollBehavior?: "auto" | "smooth" | undefined;
|
|
10
10
|
viewPortClassName?: string | undefined;
|
|
11
11
|
barClassName?: string | undefined;
|
|
@@ -8,7 +8,7 @@ export type TriggerProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
8
8
|
disabled?: TabsPrimitive.TabsTriggerProps['disabled'];
|
|
9
9
|
};
|
|
10
10
|
/** The button that activates its associated content.*/
|
|
11
|
-
export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref">, "
|
|
11
|
+
export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref">, "value" | "disabled"> & {
|
|
12
12
|
/** A unique value that associates the trigger with a content. */
|
|
13
13
|
value: TabsPrimitive.TabsTriggerProps['value'];
|
|
14
14
|
/** When true, prevents the user from interacting with the tab. */
|
|
@@ -37,7 +37,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
37
37
|
loading?: boolean | undefined;
|
|
38
38
|
fullWidth?: boolean | undefined;
|
|
39
39
|
size?: "sm" | "md" | "lg" | undefined;
|
|
40
|
-
variant?: "
|
|
40
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
41
41
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
iconOnly: true;
|
|
@@ -49,7 +49,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
49
49
|
loading?: boolean | undefined;
|
|
50
50
|
fullWidth?: boolean | undefined;
|
|
51
51
|
size?: "sm" | "md" | "lg" | undefined;
|
|
52
|
-
variant?: "
|
|
52
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
53
53
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
54
54
|
} & {
|
|
55
55
|
iconOnly?: false | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
11
11
|
loading?: boolean | undefined;
|
|
12
12
|
fullWidth?: boolean | undefined;
|
|
13
13
|
size?: "sm" | "md" | "lg" | undefined;
|
|
14
|
-
variant?: "
|
|
14
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
15
15
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
iconOnly: true;
|
|
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
23
23
|
loading?: boolean | undefined;
|
|
24
24
|
fullWidth?: boolean | undefined;
|
|
25
25
|
size?: "sm" | "md" | "lg" | undefined;
|
|
26
|
-
variant?: "
|
|
26
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
27
27
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
28
28
|
} & {
|
|
29
29
|
iconOnly?: false | undefined;
|
|
@@ -29,8 +29,8 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHT
|
|
|
29
29
|
Input: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLButtonElement>>;
|
|
30
30
|
Thumb: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchThumbProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
31
31
|
Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
32
|
-
name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
33
|
-
size?: ("
|
|
32
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sidepanel-hide" | "sidepanel-show" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
33
|
+
size?: ("xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl") | undefined;
|
|
34
34
|
title?: string | undefined;
|
|
35
35
|
children?: React.ReactNode;
|
|
36
36
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -17,7 +17,7 @@ export declare const Tooltip: typeof Root & {
|
|
|
17
17
|
}>) => void) | undefined;
|
|
18
18
|
side?: "top" | "bottom" | "left" | "right" | undefined;
|
|
19
19
|
sideOffset?: number | undefined;
|
|
20
|
-
align?: "
|
|
20
|
+
align?: "center" | "end" | "start" | undefined;
|
|
21
21
|
alignOffset?: number | undefined;
|
|
22
22
|
arrowPadding?: number | undefined;
|
|
23
23
|
avoidCollisions?: boolean | undefined;
|
|
@@ -36,7 +36,7 @@ declare const TopRowButtons: React.ForwardRefExoticComponent<Omit<React.Detailed
|
|
|
36
36
|
} & React.RefAttributes<HTMLDivElement>> & {
|
|
37
37
|
Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
38
38
|
/** Icon name from the Teddy icon set */
|
|
39
|
-
icon?: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
39
|
+
icon?: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sidepanel-hide" | "sidepanel-show" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "visible" | "volume" | "zoom-out" | "zoom" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "add" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "infinite" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "reverse" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "help" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view" | undefined;
|
|
40
40
|
/** Emoji to display instead of an icon */
|
|
41
41
|
emoji?: string | undefined;
|
|
42
42
|
/** Visible label text */
|
package/dist/main.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_stepByStep_index = require("./components/step-by-step/index.cjs");
|
|
3
4
|
const components_topRowButtons_topRowButtons = require("./components/top-row-buttons/top-row-buttons.cjs");
|
|
4
5
|
const components_dashedButton_dashedButtonRoot = require("./components/dashed-button/dashed-button-root.cjs");
|
|
5
6
|
const components_shoppingCart_index = require("./components/shopping-cart/index.cjs");
|
|
@@ -78,6 +79,7 @@ const components_shoppingCart_types = require("./components/shopping-cart/types.
|
|
|
78
79
|
const sonner = require("sonner");
|
|
79
80
|
const components_input_inputGroup = require("./components/input/input-group.cjs");
|
|
80
81
|
const components_textarea_textareaGroup = require("./components/textarea/textarea-group.cjs");
|
|
82
|
+
exports.StepByStep = components_stepByStep_index.StepByStep;
|
|
81
83
|
exports.TopRowButtons = components_topRowButtons_topRowButtons.TopRowButtons;
|
|
82
84
|
exports.DashedButton = components_dashedButton_dashedButtonRoot.DashedButton;
|
|
83
85
|
exports.ShoppingCart = components_shoppingCart_index.ShoppingCart;
|
package/dist/main.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StepByStep } from "./components/step-by-step/index.js";
|
|
1
2
|
import { TopRowButtons } from "./components/top-row-buttons/top-row-buttons.js";
|
|
2
3
|
import { DashedButton } from "./components/dashed-button/dashed-button-root.js";
|
|
3
4
|
import { ShoppingCart } from "./components/shopping-cart/index.js";
|
|
@@ -135,6 +136,7 @@ export {
|
|
|
135
136
|
Skeleton,
|
|
136
137
|
Slider,
|
|
137
138
|
Spinner,
|
|
139
|
+
StepByStep,
|
|
138
140
|
StepIndicator,
|
|
139
141
|
Table,
|
|
140
142
|
Tabs,
|