hplx-react-elements-dev 1.2.10 → 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,7 +155,7 @@ 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;
@@ -197,7 +197,7 @@ export interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAtt
197
197
  size: buttonSizeType;
198
198
  icon?: iconType;
199
199
  iconFile?: string;
200
- textField: string;
200
+ textField?: string;
201
201
  }
202
202
  export type checkboxSizeType = "sm" | "md";
203
203
  export interface CheckboxProps {
@@ -567,4 +567,16 @@ export interface MultiDateRangePickerProps {
567
567
  onApply?: (date: DateRange) => void;
568
568
  onCancel?: (date: DateRange) => void;
569
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
+ }
570
582
  export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.2.10",
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",