hplx-react-elements-dev 1.2.9 → 1.2.11

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.
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { StepperProps } from "../types";
3
+ declare const Stepper: ({ data, height, time, startOver, showPause, children, }: StepperProps) => JSX.Element;
4
+ export default Stepper;
@@ -155,13 +155,14 @@ export interface TextAreaFieldProps {
155
155
  type badgesizeType = "sm" | "md" | "lg";
156
156
  type badgeiconType = "Left" | "Right" | "Only";
157
157
  type badgecolourType = "Gray" | "Primary" | "Error" | "Warning" | "Success" | "BlueGray" | "Default" | "Blue" | "Indigo" | "Purple" | "Pink" | "Rose" | "Orange";
158
- type iconFileType = "hx_close" | "avatar" | 'icon_src_url';
158
+ type iconFileType = "hx_close" | "avatar" | "icon_src_url";
159
159
  export interface BadgeType {
160
160
  colour: badgecolourType;
161
161
  size: badgesizeType;
162
162
  icon?: badgeiconType;
163
163
  iconFile?: iconFileType;
164
164
  iconSrc?: string;
165
+ iconStyles?: any;
165
166
  textField: string;
166
167
  onClick?: () => void;
167
168
  onLeftIconClick?: () => void;
@@ -196,7 +197,7 @@ export interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAtt
196
197
  size: buttonSizeType;
197
198
  icon?: iconType;
198
199
  iconFile?: string;
199
- textField: string;
200
+ textField?: string;
200
201
  }
201
202
  export type checkboxSizeType = "sm" | "md";
202
203
  export interface CheckboxProps {
@@ -566,4 +567,16 @@ export interface MultiDateRangePickerProps {
566
567
  onApply?: (date: DateRange) => void;
567
568
  onCancel?: (date: DateRange) => void;
568
569
  }
570
+ export interface StepperProps {
571
+ data: Array<{
572
+ image: string;
573
+ title: string;
574
+ details: string;
575
+ }>;
576
+ height?: number;
577
+ time?: number;
578
+ startOver?: boolean;
579
+ children?: ReactNode;
580
+ showPause?: boolean;
581
+ }
569
582
  export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.2.9",
12
+ "version": "1.2.11",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",