@veracity/vui 2.17.0-beta.0 → 2.17.0
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/cjs/box/box.d.ts.map +1 -1
- package/dist/cjs/button/buttonIcon.d.ts.map +1 -1
- package/dist/cjs/button/buttonText.d.ts.map +1 -1
- package/dist/cjs/button/buttons.d.ts.map +1 -1
- package/dist/cjs/core/media.d.ts.map +1 -1
- package/dist/cjs/core/vuiProvider/vuiProvider.d.ts.map +1 -1
- package/dist/cjs/icon/icon.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/notification/notification.d.ts.map +1 -1
- package/dist/cjs/notification/notificationButton.d.ts.map +1 -1
- package/dist/cjs/notification/notificationIcon.d.ts.map +1 -1
- package/dist/cjs/notification/notificationText.d.ts.map +1 -1
- package/dist/cjs/notification/notificationTitle.d.ts.map +1 -1
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.d.ts +85 -0
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.d.ts.map +1 -0
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.js +88 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.d.ts +85 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.d.ts.map +1 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.js +88 -0
- package/dist/cjs/p/p.d.ts.map +1 -1
- package/dist/cjs/portal/portal.d.ts.map +1 -1
- package/dist/cjs/step/index.d.ts +4 -0
- package/dist/cjs/step/index.d.ts.map +1 -0
- package/dist/cjs/{stepperIndicator → step}/index.js +4 -4
- package/dist/cjs/step/stepIndicator.d.ts +7 -0
- package/dist/cjs/step/stepIndicator.d.ts.map +1 -0
- package/dist/cjs/{stepperIndicator/stepperIndicator.js → step/stepIndicator.js} +6 -6
- package/dist/cjs/step/stepIndicatorTypes.d.ts +10 -0
- package/dist/cjs/step/stepIndicatorTypes.d.ts.map +1 -0
- package/dist/cjs/step/theme.d.ts.map +1 -0
- package/dist/cjs/stepperHorizontal/stepHorizontal.d.ts.map +1 -1
- package/dist/cjs/stepperHorizontal/stepHorizontal.js +2 -2
- package/dist/cjs/stepperHorizontal/stepperHorizontalTypes.d.ts +4 -4
- package/dist/cjs/stepperHorizontal/stepperHorizontalTypes.d.ts.map +1 -1
- package/dist/cjs/stepperVertical/stepVertical.js +2 -2
- package/dist/cjs/stepperVertical/stepperVerticalTypes.d.ts +4 -4
- package/dist/cjs/stepperVertical/stepperVerticalTypes.d.ts.map +1 -1
- package/dist/cjs/t/t.d.ts.map +1 -1
- package/dist/cjs/theme/components.d.ts +1 -1
- package/dist/cjs/theme/components.js +4 -4
- package/dist/cjs/theme/defaultTheme.d.ts +1 -1
- package/dist/cjs/theme/foundations/colors.js +1 -1
- package/dist/cjs/toast/useToast.d.ts.map +1 -1
- package/dist/esm/box/box.d.ts.map +1 -1
- package/dist/esm/button/buttonIcon.d.ts.map +1 -1
- package/dist/esm/button/buttonText.d.ts.map +1 -1
- package/dist/esm/button/buttons.d.ts.map +1 -1
- package/dist/esm/core/media.d.ts.map +1 -1
- package/dist/esm/core/vuiProvider/vuiProvider.d.ts.map +1 -1
- package/dist/esm/icon/icon.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/notification/notification.d.ts.map +1 -1
- package/dist/esm/notification/notificationButton.d.ts.map +1 -1
- package/dist/esm/notification/notificationIcon.d.ts.map +1 -1
- package/dist/esm/notification/notificationText.d.ts.map +1 -1
- package/dist/esm/notification/notificationTitle.d.ts.map +1 -1
- package/dist/esm/p/p.d.ts.map +1 -1
- package/dist/esm/portal/portal.d.ts.map +1 -1
- package/dist/esm/step/index.d.ts +4 -0
- package/dist/esm/step/index.d.ts.map +1 -0
- package/dist/esm/step/index.js +3 -0
- package/dist/esm/step/stepIndicator.d.ts +7 -0
- package/dist/esm/step/stepIndicator.d.ts.map +1 -0
- package/dist/esm/step/stepIndicator.js +26 -0
- package/dist/esm/step/stepIndicatorTypes.d.ts +10 -0
- package/dist/esm/step/stepIndicatorTypes.d.ts.map +1 -0
- package/dist/esm/step/theme.d.ts.map +1 -0
- package/dist/esm/stepperHorizontal/stepHorizontal.d.ts.map +1 -1
- package/dist/esm/stepperHorizontal/stepHorizontal.js +2 -2
- package/dist/esm/stepperHorizontal/stepperHorizontalTypes.d.ts +4 -4
- package/dist/esm/stepperHorizontal/stepperHorizontalTypes.d.ts.map +1 -1
- package/dist/esm/stepperVertical/stepVertical.js +2 -2
- package/dist/esm/stepperVertical/stepperVerticalTypes.d.ts +4 -4
- package/dist/esm/stepperVertical/stepperVerticalTypes.d.ts.map +1 -1
- package/dist/esm/t/t.d.ts.map +1 -1
- package/dist/esm/theme/components.d.ts +1 -1
- package/dist/esm/theme/components.js +2 -2
- package/dist/esm/theme/defaultTheme.d.ts +1 -1
- package/dist/esm/theme/foundations/colors.js +1 -1
- package/dist/esm/toast/useToast.d.ts.map +1 -1
- package/package.json +7 -8
- package/src/box/box.tsx +0 -2
- package/src/button/buttonIcon.tsx +0 -2
- package/src/button/buttonText.tsx +0 -2
- package/src/button/buttons.tsx +0 -2
- package/src/core/media.tsx +1 -1
- package/src/core/vuiProvider/vuiProvider.tsx +1 -1
- package/src/icon/icon.tsx +0 -2
- package/src/index.ts +1 -1
- package/src/notification/notification.tsx +0 -2
- package/src/notification/notificationButton.tsx +0 -2
- package/src/notification/notificationIcon.tsx +0 -2
- package/src/notification/notificationText.tsx +0 -2
- package/src/notification/notificationTitle.tsx +0 -2
- package/src/p/p.tsx +0 -2
- package/src/portal/portal.tsx +1 -1
- package/src/step/index.ts +3 -0
- package/src/{stepperIndicator/stepperIndicator.tsx → step/stepIndicator.tsx} +7 -9
- package/src/step/stepIndicatorTypes.ts +12 -0
- package/src/stepperHorizontal/stepHorizontal.tsx +2 -4
- package/src/stepperHorizontal/stepperHorizontalTypes.ts +4 -4
- package/src/stepperVertical/stepVertical.tsx +2 -2
- package/src/stepperVertical/stepperVerticalTypes.ts +4 -4
- package/src/svg/svg.tsx +1 -1
- package/src/t/t.tsx +0 -2
- package/src/theme/components.ts +2 -2
- package/src/theme/foundations/colors.ts +1 -1
- package/src/toast/useToast.tsx +1 -1
- package/.eslintrc.cjs +0 -12
- package/.turbo/turbo-build.log +0 -5
- package/.turbo/turbo-lint.log +0 -15
- package/dist/cjs/stepperIndicator/index.d.ts +0 -4
- package/dist/cjs/stepperIndicator/index.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/stepperIndicator.d.ts +0 -7
- package/dist/cjs/stepperIndicator/stepperIndicator.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/stepperIndicatorTypes.d.ts +0 -10
- package/dist/cjs/stepperIndicator/stepperIndicatorTypes.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/theme.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/index.d.ts +0 -4
- package/dist/esm/stepperIndicator/index.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/index.js +0 -3
- package/dist/esm/stepperIndicator/stepperIndicator.d.ts +0 -7
- package/dist/esm/stepperIndicator/stepperIndicator.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/stepperIndicator.js +0 -26
- package/dist/esm/stepperIndicator/stepperIndicatorTypes.d.ts +0 -10
- package/dist/esm/stepperIndicator/stepperIndicatorTypes.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/theme.d.ts.map +0 -1
- package/src/stepperIndicator/index.ts +0 -3
- package/src/stepperIndicator/stepperIndicatorTypes.ts +0 -12
- package/tsconfig.json +0 -10
- package/tsconfig.legacy.json +0 -9
- /package/dist/cjs/{stepperIndicator/stepperIndicatorTypes.js → step/stepIndicatorTypes.js} +0 -0
- /package/dist/cjs/{stepperIndicator → step}/theme.d.ts +0 -0
- /package/dist/cjs/{stepperIndicator → step}/theme.js +0 -0
- /package/dist/esm/{stepperIndicator/stepperIndicatorTypes.js → step/stepIndicatorTypes.js} +0 -0
- /package/dist/esm/{stepperIndicator → step}/theme.d.ts +0 -0
- /package/dist/esm/{stepperIndicator → step}/theme.js +0 -0
- /package/src/{readme.md → README.md} +0 -0
- /package/src/{stepperIndicator → step}/theme.ts +0 -0
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { BoxProps } from '../box';
|
|
3
3
|
import { ChildrenProp } from '../core';
|
|
4
4
|
import { IconProp } from '../icon';
|
|
5
|
-
import {
|
|
5
|
+
import { StepIndicatorVariant } from '../step/stepIndicatorTypes';
|
|
6
6
|
import { SystemProps } from '../system';
|
|
7
7
|
import { ThemingProps } from '../theme';
|
|
8
8
|
export type StepHorizontalSize = 'md' | 'sm' | undefined;
|
|
@@ -15,13 +15,13 @@ export type StepHorizontalProps = SystemProps & ChildrenProp & {
|
|
|
15
15
|
title?: ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
-
variant?:
|
|
18
|
+
variant?: StepIndicatorVariant;
|
|
19
19
|
};
|
|
20
20
|
export type StepHorizontalTailProps = BoxProps & {
|
|
21
|
-
variant?:
|
|
21
|
+
variant?: StepIndicatorVariant;
|
|
22
22
|
};
|
|
23
23
|
export type StepHorizontalTitleProps = BoxProps & {
|
|
24
24
|
size?: StepHorizontalSize;
|
|
25
|
-
variant?:
|
|
25
|
+
variant?: StepIndicatorVariant;
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=stepperHorizontalTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepperHorizontalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepperHorizontalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OA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AChD,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA"}
|
|
@@ -7,7 +7,7 @@ exports.StepVertical = exports.StepVerticalBase = void 0;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const box_1 = require("../box");
|
|
9
9
|
const core_1 = require("../core");
|
|
10
|
-
const
|
|
10
|
+
const step_1 = require("../step");
|
|
11
11
|
const utils_1 = require("../utils");
|
|
12
12
|
const consts_1 = require("./consts");
|
|
13
13
|
const context_1 = require("./context");
|
|
@@ -24,7 +24,7 @@ exports.StepVerticalBase = core_1.styled.divBox `
|
|
|
24
24
|
exports.StepVertical = (0, core_1.vui)(({ icon, number, size: propSize = 'md', description, title, className, variant, children }, ref) => {
|
|
25
25
|
const context = (0, context_1.useStepperVerticalContext)();
|
|
26
26
|
const size = (context === null || context === void 0 ? void 0 : context.size) || propSize;
|
|
27
|
-
return ((0, jsx_runtime_1.jsxs)(exports.StepVerticalBase, { className: (0, utils_1.cs)(consts_1.stepClassName, className), ref: ref, children: [(0, jsx_runtime_1.jsx)(stepVerticalTail_1.default, { size: size, variant: variant }), (0, jsx_runtime_1.jsx)(box_1.Box, { flex: `0 0 ${size === 'md' ? 40 : 30}px`, children: (0, jsx_runtime_1.jsx)(
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)(exports.StepVerticalBase, { className: (0, utils_1.cs)(consts_1.stepClassName, className), ref: ref, children: [(0, jsx_runtime_1.jsx)(stepVerticalTail_1.default, { size: size, variant: variant }), (0, jsx_runtime_1.jsx)(box_1.Box, { flex: `0 0 ${size === 'md' ? 40 : 30}px`, children: (0, jsx_runtime_1.jsx)(step_1.StepIndicator, { icon: icon, number: number, size: size, variant: variant }) }), (0, jsx_runtime_1.jsxs)(box_1.Box, { flex: "1", flexDirection: "column", children: [!!title && ((0, jsx_runtime_1.jsx)(stepVerticalTitle_1.default, { size: size, variant: variant, children: title })), !!description && ((0, jsx_runtime_1.jsx)(box_1.Box, { color: "sandstone.45", fontSize: `${size === 'md' ? 14 : 12}px`, children: description })), (0, jsx_runtime_1.jsx)(box_1.Box, { children: children })] })] }));
|
|
28
28
|
});
|
|
29
29
|
exports.StepVertical.displayName = 'StepVertical';
|
|
30
30
|
exports.default = exports.StepVertical;
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { BoxProps } from '../box';
|
|
3
3
|
import { ChildrenProp } from '../core';
|
|
4
4
|
import { IconProp } from '../icon';
|
|
5
|
-
import {
|
|
5
|
+
import { StepIndicatorVariant } from '../step/stepIndicatorTypes';
|
|
6
6
|
import { SystemProps } from '../system';
|
|
7
7
|
import { ThemingProps } from '../theme';
|
|
8
8
|
export type StepVerticalSize = 'md' | 'sm' | undefined;
|
|
@@ -15,14 +15,14 @@ export type StepVerticalProps = SystemProps & ChildrenProp & {
|
|
|
15
15
|
title?: ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
-
variant?:
|
|
18
|
+
variant?: StepIndicatorVariant;
|
|
19
19
|
};
|
|
20
20
|
export type StepVerticalTailProps = BoxProps & {
|
|
21
21
|
size?: StepVerticalSize;
|
|
22
|
-
variant?:
|
|
22
|
+
variant?: StepIndicatorVariant;
|
|
23
23
|
};
|
|
24
24
|
export type StepVerticalTitleProps = BoxProps & {
|
|
25
25
|
size?: StepVerticalSize;
|
|
26
|
-
variant?:
|
|
26
|
+
variant?: StepIndicatorVariant;
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=stepperVerticalTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepperVerticalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperVertical/stepperVerticalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC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AAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG;IAC9C,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA"}
|
package/dist/cjs/t/t.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t.d.ts","sourceRoot":"","sources":["../../../src/t/t.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t.d.ts","sourceRoot":"","sources":["../../../src/t/t.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,KAAK,gIAEjB,CAAA;AAED,mDAAmD;AACnD,eAAO,MAAM,CAAC,gDAkBZ,CAAA;AAIF,eAAe,CAAC,CAAA"}
|
|
@@ -42,8 +42,8 @@ const theme_35 = __importDefault(require("../select/theme"));
|
|
|
42
42
|
const theme_36 = __importDefault(require("../sidemenu/theme"));
|
|
43
43
|
const theme_37 = __importDefault(require("../skeleton/theme"));
|
|
44
44
|
const theme_38 = __importDefault(require("../spinner/theme"));
|
|
45
|
-
const theme_39 = __importDefault(require("../
|
|
46
|
-
const theme_40 = __importDefault(require("../
|
|
45
|
+
const theme_39 = __importDefault(require("../step/theme"));
|
|
46
|
+
const theme_40 = __importDefault(require("../stepperHorizontal/theme"));
|
|
47
47
|
const theme_41 = __importDefault(require("../stepperVertical/theme"));
|
|
48
48
|
const theme_42 = __importDefault(require("../switch/theme"));
|
|
49
49
|
const theme_43 = __importDefault(require("../t/theme"));
|
|
@@ -96,8 +96,8 @@ exports.default = {
|
|
|
96
96
|
Select: theme_35.default,
|
|
97
97
|
Sidemenu: theme_36.default,
|
|
98
98
|
Skeleton: theme_37.default,
|
|
99
|
-
|
|
100
|
-
StepperHorizontal:
|
|
99
|
+
StepIndicator: theme_39.default,
|
|
100
|
+
StepperHorizontal: theme_40.default,
|
|
101
101
|
StepperVertical: theme_41.default,
|
|
102
102
|
Spinner: theme_38.default,
|
|
103
103
|
Switch: theme_42.default,
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.disabled = exports.yellow = exports.red = exports.prussian = exports.pink = exports.grey = exports.green = exports.blue = exports.warmGrey = exports.terracotta = exports.sunflower = exports.skyBlue = exports.sandstone = exports.seaBlue = exports.landGreen = exports.energyRed = exports.earth = exports.digiGreen = exports.darkBlue = exports.focusColor = void 0;
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
28
28
|
// @ts-ignore - the missing types have to be added into the onedesign-tokens package
|
|
29
|
-
const oneDesignButtonTokens = __importStar(require("../../onedesign-tokens/dist/js/rem/button
|
|
29
|
+
const oneDesignButtonTokens = __importStar(require("../../onedesign-tokens/dist/js/rem/button"));
|
|
30
30
|
const buttonTypePrimaryDefaultBorderColorDark = oneDesignButtonTokens.buttonTypePrimaryDefaultBorderColorDark;
|
|
31
31
|
const buttonTypePrimaryDefaultBorderColorLight = oneDesignButtonTokens.buttonTypePrimaryDefaultBorderColorLight;
|
|
32
32
|
const buttonTypePrimaryDefaultBackgroundColorDark = oneDesignButtonTokens.buttonTypePrimaryDefaultBackgroundColorDark;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../src/toast/useToast.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../src/toast/useToast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAc,MAAM,eAAe,CAAA;AAEvE,eAAO,MAAM,eAAe,SAAS,CAAA;AACrC,eAAO,MAAM,iBAAiB,OAAO,CAAA;AACrC,eAAO,MAAM,iBAAiB,OAAO,CAAA;AAWrC,eAAO,MAAM,QAAQ;0BAKU,YAAY,KAAG,IAAI;oBAFzB,MAAM;qBAqCL,SAAS,aAAY,aAAa;wBAE/B,SAAS,aAAY,aAAa;wBAElC,SAAS,aAAY,aAAa;sBAEpC,SAAS,aAAY,aAAa;wBAEhC,SAAS,aAAY,aAAa;CAI9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/box/box.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/box/box.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,eAAO,MAAM,OAAO,+HAInB,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,GAAG,iDAiCd,CAAA;AAGF,eAAe,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonIcon.d.ts","sourceRoot":"","sources":["../../../src/button/buttonIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonIcon.d.ts","sourceRoot":"","sources":["../../../src/button/buttonIcon.tsx"],"names":[],"mappings":"AACA,OAAa,EAAY,SAAS,EAAE,MAAM,SAAS,CAAA;AAMnD,0CAA0C;AAC1C,eAAO,MAAM,UAAU,kDAMrB,CAAA;AAGF,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonText.d.ts","sourceRoot":"","sources":["../../../src/button/buttonText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonText.d.ts","sourceRoot":"","sources":["../../../src/button/buttonText.tsx"],"names":[],"mappings":"AACA,OAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,6CAA6C;AAC7C,eAAO,MAAM,UAAU,gDAKrB,CAAA;AAIF,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../src/button/buttons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../src/button/buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE7D,eAAO,MAAM,SAAS,uDAEpB,CAAA;AAEF,eAAO,MAAM,UAAU,2DAErB,CAAA;AAEF,eAAO,MAAM,WAAW,2DAEtB,CAAA;AAEF,eAAO,MAAM,SAAS,uDAEpB,CAAA;AAEF,eAAO,MAAM,YAAY,uDAEvB,CAAA;AAEF,eAAO,MAAM,UAAU,2DAErB,CAAA;AAEF,eAAO,MAAM,UAAU,uDAErB,CAAA;AAEF,eAAO,MAAM,UAAU,uDAErB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/core/media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/core/media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;AAEjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,gFAAgF;AAChF,eAAO,MAAM,YAAY,aAAc,WAAW,YAAY,WAAW,aAAa,YAAY,OAAO,CAAC,WACN,CAAA;AAEpG,gEAAgE;AAChE,eAAO,MAAM,SAAS,UAAW,WAAW,aAAa,YAAY,OAAO,CAAC,WAE5E,CAAA;AAED,iEAAiE;AACjE,eAAO,MAAM,OAAO,UAAW,WAAW,aAAa,YAAY,OAAO,CAAC,WACzB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,GAAG,YAAY,CAejE,CAAA;AAyBD,6EAA6E;AAC7E,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,WAIzC;AAED,wFAAwF;AACxF,wBAAgB,KAAK,CAAC,KAAK,EAAE,WAAW,WAIvC;AAED,qFAAqF;AACrF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,WAKtE;AAED,wCAAwC;AACxC,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vuiProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/vuiProvider.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"vuiProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/vuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAA;AAKtC,OAAqB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAOvC,KAAK,gBAAgB,GAAG;IACtB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wDAAwD;IACxD,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,oGAAoG;AACpG,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,GAAG,YAAY,CAgCpD,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,4FAA4F;AAC5F,eAAO,MAAM,IAAI,kDAgCf,CAAA;AAGF,eAAe,IAAI,CAAA"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export * from './radio';
|
|
|
43
43
|
export * from './select';
|
|
44
44
|
export * from './sidemenu';
|
|
45
45
|
export * from './skeleton';
|
|
46
|
-
export * from './
|
|
46
|
+
export * from './step';
|
|
47
47
|
export * from './stepperHorizontal';
|
|
48
48
|
export * from './stepperVertical';
|
|
49
49
|
export * from './spinner';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AA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* from './select';
|
|
44
44
|
export * from './sidemenu';
|
|
45
45
|
export * from './skeleton';
|
|
46
|
-
export * from './
|
|
46
|
+
export * from './step';
|
|
47
47
|
export * from './stepperHorizontal';
|
|
48
48
|
export * from './stepperVertical';
|
|
49
49
|
export * from './spinner';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/notification/notification.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/notification/notification.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAEnD;;;GAGG;AACH,eAAO,MAAM,YAAY;YAgEf,yBAAyB;UAC3B,uBAAuB;UACvB,uBAAuB;WACtB,wBAAwB;CAChC,CAAA;AAQD,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationButton.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationButton.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationButton.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAM/C,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,uDAsB7B,CAAA;AAGF,eAAe,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationIcon.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationIcon.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationIcon.tsx"],"names":[],"mappings":"AACA,OAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAKzC,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,kDAuB3B,CAAA;AAIF,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationText.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationText.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationText.tsx"],"names":[],"mappings":"AACA,OAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,6CAA6C;AAC7C,eAAO,MAAM,gBAAgB,6CAiB3B,CAAA;AAGF,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationTitle.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationTitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationTitle.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAK,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,gDAO5B,CAAA;AAGF,eAAe,iBAAiB,CAAA"}
|
package/dist/esm/p/p.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/p/p.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/p/p.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,KAAK,6HAEjB,CAAA;AAED,oCAAoC;AACpC,eAAO,MAAM,CAAC,6CAgBZ,CAAA;AAGF,eAAe,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../src/portal/portal.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../src/portal/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,GAAG,YAAY,CAajD,CAAA;AAID,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/step/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StepIndicatorProps } from './stepIndicatorTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Implements stepper indicator **
|
|
4
|
+
*/
|
|
5
|
+
export declare const StepIndicator: import("../core").VuiComponent<"div", StepIndicatorProps>;
|
|
6
|
+
export default StepIndicator;
|
|
7
|
+
//# sourceMappingURL=stepIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepIndicator.d.ts","sourceRoot":"","sources":["../../../src/step/stepIndicator.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AASzD;;GAEG;AACH,eAAO,MAAM,aAAa,2DAmCxB,CAAA;AAIF,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Box from '../box';
|
|
3
|
+
import Button from '../button';
|
|
4
|
+
import { useStyleConfig, vui } from '../core';
|
|
5
|
+
import Icon from '../icon';
|
|
6
|
+
import T from '../t';
|
|
7
|
+
import { cs } from '../utils';
|
|
8
|
+
const Content = ({ number, variant, size }) => {
|
|
9
|
+
if (typeof number === 'undefined')
|
|
10
|
+
return null;
|
|
11
|
+
if (variant === 'completed')
|
|
12
|
+
return _jsx(Icon, { name: "falCheck", size: size });
|
|
13
|
+
if (variant === 'error')
|
|
14
|
+
return _jsx(Icon, { name: "falTimes", size: size });
|
|
15
|
+
return _jsx(T, { fontWeight: 600, children: number });
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Implements stepper indicator **
|
|
19
|
+
*/
|
|
20
|
+
export const StepIndicator = vui((props, ref) => {
|
|
21
|
+
const { icon, number, className, size, variant, ...rest } = props;
|
|
22
|
+
const styles = useStyleConfig('StepIndicator', props);
|
|
23
|
+
return icon ? (_jsx(Button, { className: cs('vui-stepIndicator', className), icon: icon, ref: ref, ...styles.icon, ...rest, isRound: true, minW: "auto", pointerEvents: "none", size: size })) : (_jsxs(Button, { className: cs('vui-stepIndicator', className), ref: ref, ...styles.button, ...rest, isRound: true, minW: "auto", outline: "6px solid white", pointerEvents: "none", position: "relative", size: size, children: [_jsx(Box, { mx: 0.5, position: "relative" }), _jsx(Box, { fontSize: `${size === 'md' ? 16 : 13}px`, mx: 0.5, position: "absolute", children: _jsx(Content, { number: number, size: size, variant: variant }) })] }));
|
|
24
|
+
});
|
|
25
|
+
StepIndicator.displayName = 'StepIndicator';
|
|
26
|
+
export default StepIndicator;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconProp } from '../icon';
|
|
2
|
+
import { SystemProps } from '../system';
|
|
3
|
+
import { ThemingProps } from '../theme';
|
|
4
|
+
export type StepIndicatorProps = SystemProps & ThemingProps<'StepIndicator'> & {
|
|
5
|
+
icon?: IconProp;
|
|
6
|
+
className?: string;
|
|
7
|
+
number?: number;
|
|
8
|
+
};
|
|
9
|
+
export type StepIndicatorVariant = 'active' | 'completed' | 'optional' | 'pending' | 'error';
|
|
10
|
+
//# sourceMappingURL=stepIndicatorTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepIndicatorTypes.d.ts","sourceRoot":"","sources":["../../../src/step/stepIndicatorTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAC1C,YAAY,CAAC,eAAe,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAEH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/step/theme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,wBAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepHorizontal.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepHorizontal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stepHorizontal.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepHorizontal.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,eAAO,MAAM,kBAAkB,+HAK9B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,4DA0B1B,CAAA;AAID,eAAe,cAAc,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '../box';
|
|
3
3
|
import { styled, vui } from '../core';
|
|
4
|
-
import {
|
|
4
|
+
import { StepIndicator } from '../step';
|
|
5
5
|
import { cs } from '../utils';
|
|
6
6
|
import { stepClassName } from './consts';
|
|
7
7
|
import { useStepperHorizontalContext } from './context';
|
|
@@ -19,7 +19,7 @@ export const StepHorizontalBase = styled.divBox `
|
|
|
19
19
|
export const StepHorizontal = vui(({ icon, number, size: propSize = 'md', description, title, className, variant, children }, ref) => {
|
|
20
20
|
const context = useStepperHorizontalContext();
|
|
21
21
|
const size = context?.size || propSize;
|
|
22
|
-
return (_jsxs(StepHorizontalBase, { className: cs(stepClassName, className), ref: ref, children: [_jsx(StepHorizontalTail, { size: size, variant: variant }), _jsx(Box, { display: "block", textAlign: "center", children: _jsx(
|
|
22
|
+
return (_jsxs(StepHorizontalBase, { className: cs(stepClassName, className), ref: ref, children: [_jsx(StepHorizontalTail, { size: size, variant: variant }), _jsx(Box, { display: "block", textAlign: "center", children: _jsx(StepIndicator, { icon: icon, number: number, size: size, variant: variant }) }), _jsxs(Box, { display: "block", textAlign: "center", children: [!!title && (_jsx(StepHorizontalTitle, { size: size, variant: variant, children: title })), !!description && (_jsx(Box, { color: "sandstone.45", display: "block", fontSize: `${size === 'md' ? 14 : 12}px`, textAlign: "center", children: description })), _jsx(Box, { display: "block", children: children })] })] }));
|
|
23
23
|
});
|
|
24
24
|
StepHorizontal.displayName = 'StepHorizontal';
|
|
25
25
|
export default StepHorizontal;
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { BoxProps } from '../box';
|
|
3
3
|
import { ChildrenProp } from '../core';
|
|
4
4
|
import { IconProp } from '../icon';
|
|
5
|
-
import {
|
|
5
|
+
import { StepIndicatorVariant } from '../step/stepIndicatorTypes';
|
|
6
6
|
import { SystemProps } from '../system';
|
|
7
7
|
import { ThemingProps } from '../theme';
|
|
8
8
|
export type StepHorizontalSize = 'md' | 'sm' | undefined;
|
|
@@ -15,13 +15,13 @@ export type StepHorizontalProps = SystemProps & ChildrenProp & {
|
|
|
15
15
|
title?: ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
-
variant?:
|
|
18
|
+
variant?: StepIndicatorVariant;
|
|
19
19
|
};
|
|
20
20
|
export type StepHorizontalTailProps = BoxProps & {
|
|
21
|
-
variant?:
|
|
21
|
+
variant?: StepIndicatorVariant;
|
|
22
22
|
};
|
|
23
23
|
export type StepHorizontalTitleProps = BoxProps & {
|
|
24
24
|
size?: StepHorizontalSize;
|
|
25
|
-
variant?:
|
|
25
|
+
variant?: StepIndicatorVariant;
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=stepperHorizontalTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepperHorizontalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepperHorizontalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"stepperHorizontalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepperHorizontalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAA;AAExD,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,YAAY,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAAA;AAEnG,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAC3C,YAAY,GAAG;IACb,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG;IAC/C,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG;IAChD,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '../box';
|
|
3
3
|
import { styled, vui } from '../core';
|
|
4
|
-
import {
|
|
4
|
+
import { StepIndicator } from '../step';
|
|
5
5
|
import { cs } from '../utils';
|
|
6
6
|
import { stepClassName } from './consts';
|
|
7
7
|
import { useStepperVerticalContext } from './context';
|
|
@@ -18,7 +18,7 @@ export const StepVerticalBase = styled.divBox `
|
|
|
18
18
|
export const StepVertical = vui(({ icon, number, size: propSize = 'md', description, title, className, variant, children }, ref) => {
|
|
19
19
|
const context = useStepperVerticalContext();
|
|
20
20
|
const size = context?.size || propSize;
|
|
21
|
-
return (_jsxs(StepVerticalBase, { className: cs(stepClassName, className), ref: ref, children: [_jsx(StepVerticalTail, { size: size, variant: variant }), _jsx(Box, { flex: `0 0 ${size === 'md' ? 40 : 30}px`, children: _jsx(
|
|
21
|
+
return (_jsxs(StepVerticalBase, { className: cs(stepClassName, className), ref: ref, children: [_jsx(StepVerticalTail, { size: size, variant: variant }), _jsx(Box, { flex: `0 0 ${size === 'md' ? 40 : 30}px`, children: _jsx(StepIndicator, { icon: icon, number: number, size: size, variant: variant }) }), _jsxs(Box, { flex: "1", flexDirection: "column", children: [!!title && (_jsx(StepVerticalTitle, { size: size, variant: variant, children: title })), !!description && (_jsx(Box, { color: "sandstone.45", fontSize: `${size === 'md' ? 14 : 12}px`, children: description })), _jsx(Box, { children: children })] })] }));
|
|
22
22
|
});
|
|
23
23
|
StepVertical.displayName = 'StepVertical';
|
|
24
24
|
export default StepVertical;
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { BoxProps } from '../box';
|
|
3
3
|
import { ChildrenProp } from '../core';
|
|
4
4
|
import { IconProp } from '../icon';
|
|
5
|
-
import {
|
|
5
|
+
import { StepIndicatorVariant } from '../step/stepIndicatorTypes';
|
|
6
6
|
import { SystemProps } from '../system';
|
|
7
7
|
import { ThemingProps } from '../theme';
|
|
8
8
|
export type StepVerticalSize = 'md' | 'sm' | undefined;
|
|
@@ -15,14 +15,14 @@ export type StepVerticalProps = SystemProps & ChildrenProp & {
|
|
|
15
15
|
title?: ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
-
variant?:
|
|
18
|
+
variant?: StepIndicatorVariant;
|
|
19
19
|
};
|
|
20
20
|
export type StepVerticalTailProps = BoxProps & {
|
|
21
21
|
size?: StepVerticalSize;
|
|
22
|
-
variant?:
|
|
22
|
+
variant?: StepIndicatorVariant;
|
|
23
23
|
};
|
|
24
24
|
export type StepVerticalTitleProps = BoxProps & {
|
|
25
25
|
size?: StepVerticalSize;
|
|
26
|
-
variant?:
|
|
26
|
+
variant?: StepIndicatorVariant;
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=stepperVerticalTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepperVerticalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperVertical/stepperVerticalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"stepperVerticalTypes.d.ts","sourceRoot":"","sources":["../../../src/stepperVertical/stepperVerticalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAA;AAEtD,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,YAAY,CAAA;AAE/F,MAAM,MAAM,iBAAiB,GAAG,WAAW,GACzC,YAAY,GAAG;IACb,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAEH,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG;IAC9C,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA"}
|
package/dist/esm/t/t.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t.d.ts","sourceRoot":"","sources":["../../../src/t/t.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t.d.ts","sourceRoot":"","sources":["../../../src/t/t.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,KAAK,gIAEjB,CAAA;AAED,mDAAmD;AACnD,eAAO,MAAM,CAAC,gDAkBZ,CAAA;AAIF,eAAe,CAAC,CAAA"}
|
|
@@ -37,8 +37,8 @@ import Select from '../select/theme';
|
|
|
37
37
|
import Sidemenu from '../sidemenu/theme';
|
|
38
38
|
import Skeleton from '../skeleton/theme';
|
|
39
39
|
import Spinner from '../spinner/theme';
|
|
40
|
+
import StepIndicator from '../step/theme';
|
|
40
41
|
import StepperHorizontal from '../stepperHorizontal/theme';
|
|
41
|
-
import StepperIndicator from '../stepperIndicator/theme';
|
|
42
42
|
import StepperVertical from '../stepperVertical/theme';
|
|
43
43
|
import Switch from '../switch/theme';
|
|
44
44
|
import T from '../t/theme';
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
91
91
|
Select,
|
|
92
92
|
Sidemenu,
|
|
93
93
|
Skeleton,
|
|
94
|
-
|
|
94
|
+
StepIndicator,
|
|
95
95
|
StepperHorizontal,
|
|
96
96
|
StepperVertical,
|
|
97
97
|
Spinner,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
2
2
|
// @ts-ignore - the missing types have to be added into the onedesign-tokens package
|
|
3
|
-
import * as oneDesignButtonTokens from '../../onedesign-tokens/dist/js/rem/button
|
|
3
|
+
import * as oneDesignButtonTokens from '../../onedesign-tokens/dist/js/rem/button';
|
|
4
4
|
const buttonTypePrimaryDefaultBorderColorDark = oneDesignButtonTokens.buttonTypePrimaryDefaultBorderColorDark;
|
|
5
5
|
const buttonTypePrimaryDefaultBorderColorLight = oneDesignButtonTokens.buttonTypePrimaryDefaultBorderColorLight;
|
|
6
6
|
const buttonTypePrimaryDefaultBackgroundColorDark = oneDesignButtonTokens.buttonTypePrimaryDefaultBackgroundColorDark;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../src/toast/useToast.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../../src/toast/useToast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAc,MAAM,eAAe,CAAA;AAEvE,eAAO,MAAM,eAAe,SAAS,CAAA;AACrC,eAAO,MAAM,iBAAiB,OAAO,CAAA;AACrC,eAAO,MAAM,iBAAiB,OAAO,CAAA;AAWrC,eAAO,MAAM,QAAQ;0BAKU,YAAY,KAAG,IAAI;oBAFzB,MAAM;qBAqCL,SAAS,aAAY,aAAa;wBAE/B,SAAS,aAAY,aAAa;wBAElC,SAAS,aAAY,aAAa;sBAEpC,SAAS,aAAY,aAAa;wBAEhC,SAAS,aAAY,aAAa;CAI9D,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veracity/vui",
|
|
3
|
-
"version": "2.17.0
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -12,14 +12,9 @@
|
|
|
12
12
|
"build": "tsc -p tsconfig.json && tsc -p tsconfig.legacy.json",
|
|
13
13
|
"dev": "tsc --watch -p tsconfig.json",
|
|
14
14
|
"eslint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
15
|
-
"prepublish": "rimraf README.md",
|
|
16
15
|
"lint": "npm run eslint && npm run tslint",
|
|
17
16
|
"tslint": "tsc --noEmit"
|
|
18
17
|
},
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "https://dnvgl-one.visualstudio.com/DefaultCollection/Veracity/_git/WEB-VUI"
|
|
22
|
-
},
|
|
23
18
|
"dependencies": {
|
|
24
19
|
"@tippyjs/react": "4.2.6",
|
|
25
20
|
"@types/styled-components": "5.1.24",
|
|
@@ -32,7 +27,7 @@
|
|
|
32
27
|
"tippy.js": "6.3.7"
|
|
33
28
|
},
|
|
34
29
|
"devDependencies": {
|
|
35
|
-
"@types/node": "^
|
|
30
|
+
"@types/node": "^18.17.16",
|
|
36
31
|
"@types/react": "^18.2.14",
|
|
37
32
|
"@types/react-dom": "^18.2.6",
|
|
38
33
|
"@veracity/eslint-config": "*",
|
|
@@ -44,5 +39,9 @@
|
|
|
44
39
|
"peerDependencies": {
|
|
45
40
|
"react": "^17.0.0 || ^18.0.0",
|
|
46
41
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
47
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"src"
|
|
46
|
+
]
|
|
48
47
|
}
|
package/src/box/box.tsx
CHANGED