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.
@@ -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';
@@ -21,7 +21,6 @@ export interface FileUploaderProps extends Omit<React.InputHTMLAttributes<HTMLIn
21
21
  withFilesBlock?: boolean;
22
22
  maxSize?: number;
23
23
  multiple?: boolean;
24
- maxFiles?: number;
25
24
  acceptedFileFormats?: string[];
26
25
  onMaxFilesError?: (error: {
27
26
  Error: string;
@@ -0,0 +1,3 @@
1
+ import { StepIndicatorProps } from './StepIndicator.types';
2
+ declare const StepIndicator: ({ totalSteps, currentStep, completedSteps, descriptionData, onStepClick, filled }: StepIndicatorProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default StepIndicator;
@@ -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';