master-components-react-ts 2.10.2 → 2.10.4
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/assets/Icons/IconCheckmark.d.ts +3 -0
- package/dist/assets/Icons/index.d.ts +1 -0
- package/dist/components/FileUploader/FileUploader.types.d.ts +0 -1
- package/dist/components/StepIndicator/StepIndicator.d.ts +3 -0
- package/dist/components/StepIndicator/StepIndicator.types.d.ts +14 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2110 -2051
- package/package.json +1 -1
|
@@ -4,4 +4,7 @@ interface IconCheckmarkProps {
|
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const IconCheckmark: ({ width, height, color }: IconCheckmarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const IconCheckmarkGreen: ({ filled }: {
|
|
8
|
+
filled?: boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -4,6 +4,7 @@ export { IconSearch } from './IconSearch';
|
|
|
4
4
|
export { IconClose } from './IconClose';
|
|
5
5
|
export { IconCloseCircle } from './IconCloseCircle';
|
|
6
6
|
export { IconCheckmark } from './IconCheckmark';
|
|
7
|
+
export { IconCheckmarkGreen } from './IconCheckmark';
|
|
7
8
|
export { IconMinus } from './IconMinus';
|
|
8
9
|
export { IconRadioChecked } from './IconRadioChecked';
|
|
9
10
|
export { IconRadioUnchecked } from './IconRadioUnchecked';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type DescriptionDataType = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
show?: boolean;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
export interface StepIndicatorProps {
|
|
8
|
+
totalSteps: number;
|
|
9
|
+
currentStep: number;
|
|
10
|
+
completedSteps?: number[];
|
|
11
|
+
filled?: boolean;
|
|
12
|
+
descriptionData?: DescriptionDataType[];
|
|
13
|
+
onStepClick?: (step: number, description: DescriptionDataType | null) => void;
|
|
14
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -51,3 +51,6 @@ export type { ColourPickerProps } from './components/ColourPicker/ColourPicker.t
|
|
|
51
51
|
export { default as Tabs } from './components/Tabs/Tabs';
|
|
52
52
|
export type { TabType } from './components/Tabs/Tabs.types';
|
|
53
53
|
export type { TabsProps } from './components/Tabs/Tabs.types';
|
|
54
|
+
export { default as StepIndicator } from './components/StepIndicator/StepIndicator';
|
|
55
|
+
export type { StepIndicatorProps } from './components/StepIndicator/StepIndicator.types';
|
|
56
|
+
export type { DescriptionDataType } from './components/StepIndicator/StepIndicator.types';
|