dhre-component-lib 0.3.4 → 0.3.6

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.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import "./InputTextField.module.scss";
2
3
  export interface CustomInputFieldProps {
3
4
  label?: string;
4
5
  value?: string;
@@ -7,11 +7,12 @@ interface OTPInputProps {
7
7
  onResend: () => void;
8
8
  resendDelay?: number;
9
9
  error?: boolean;
10
- errorText?: string;
11
- resendText: string;
10
+ errorText?: React.ReactNode;
11
+ resendText: React.ReactNode;
12
12
  showResendButton?: boolean;
13
13
  className?: string;
14
14
  inputClassName?: string;
15
+ icon: React.ReactNode;
15
16
  }
16
17
  declare const OTPInput: React.FC<OTPInputProps>;
17
18
  export default OTPInput;
@@ -8,6 +8,7 @@ interface rangeSlider {
8
8
  text2: string;
9
9
  getSliderValue?: React.ChangeEventHandler<HTMLInputElement>;
10
10
  value?: string;
11
+ rangeMultiples?: number;
11
12
  }
12
13
  declare const RangeSlider: (props: rangeSlider) => React.JSX.Element;
13
14
  export default RangeSlider;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import './Stepper.module.scss';
3
- interface stepperData {
3
+ interface StepperData {
4
4
  name: string;
5
5
  id: number;
6
6
  component?: React.ReactNode;
7
7
  status?: string;
8
8
  }
9
- interface stepperInterface {
10
- stepperData: stepperData[];
9
+ interface StepperInterface {
10
+ stepperData: StepperData[];
11
11
  type: string;
12
12
  showLabelIndex: boolean;
13
13
  currentStep?: number;
@@ -17,6 +17,8 @@ interface stepperInterface {
17
17
  statusIcon?: React.ReactNode;
18
18
  component?: React.ReactNode;
19
19
  submittedDate?: React.ReactNode;
20
+ dividerWidth?: string;
21
+ variant?: any;
20
22
  }
21
- declare const Stepper: React.FC<stepperInterface>;
23
+ declare const Stepper: React.FC<StepperInterface>;
22
24
  export default Stepper;
@@ -8,6 +8,7 @@ interface TabsProps {
8
8
  tabs: Tab[];
9
9
  onTabChange: (selectedTab: Tab) => void;
10
10
  selectedTabValue?: string;
11
+ dot?: boolean;
11
12
  }
12
13
  declare const Tabs: React.FC<TabsProps>;
13
14
  export default Tabs;
package/dist/index.d.ts CHANGED
@@ -199,11 +199,12 @@ interface OTPInputProps {
199
199
  onResend: () => void;
200
200
  resendDelay?: number;
201
201
  error?: boolean;
202
- errorText?: string;
203
- resendText: string;
202
+ errorText?: React.ReactNode;
203
+ resendText: React.ReactNode;
204
204
  showResendButton?: boolean;
205
205
  className?: string;
206
206
  inputClassName?: string;
207
+ icon: React.ReactNode;
207
208
  }
208
209
  declare const OTPInput: React.FC<OTPInputProps>;
209
210
 
@@ -272,6 +273,7 @@ interface TabsProps {
272
273
  tabs: Tab[];
273
274
  onTabChange: (selectedTab: Tab) => void;
274
275
  selectedTabValue?: string;
276
+ dot?: boolean;
275
277
  }
276
278
  declare const Tabs: React.FC<TabsProps>;
277
279
 
@@ -358,6 +360,7 @@ interface rangeSlider {
358
360
  text2: string;
359
361
  getSliderValue?: React.ChangeEventHandler<HTMLInputElement>;
360
362
  value?: string;
363
+ rangeMultiples?: number;
361
364
  }
362
365
  declare const RangeSlider: (props: rangeSlider) => React.JSX.Element;
363
366
 
@@ -372,14 +375,14 @@ interface CarouselItems {
372
375
  }
373
376
  declare const Carousel: React.FC<CarouselProps>;
374
377
 
375
- interface stepperData {
378
+ interface StepperData {
376
379
  name: string;
377
380
  id: number;
378
381
  component?: React.ReactNode;
379
382
  status?: string;
380
383
  }
381
- interface stepperInterface {
382
- stepperData: stepperData[];
384
+ interface StepperInterface {
385
+ stepperData: StepperData[];
383
386
  type: string;
384
387
  showLabelIndex: boolean;
385
388
  currentStep?: number;
@@ -389,7 +392,9 @@ interface stepperInterface {
389
392
  statusIcon?: React.ReactNode;
390
393
  component?: React.ReactNode;
391
394
  submittedDate?: React.ReactNode;
395
+ dividerWidth?: string;
396
+ variant?: any;
392
397
  }
393
- declare const Stepper: React.FC<stepperInterface>;
398
+ declare const Stepper: React.FC<StepperInterface>;
394
399
 
395
400
  export { Accordion as Accordian, Avatar, Badge, Breadcrumb as BreadCrumb, Button, ButtonCategory, Carousel, Checkbox, CircularProgress, GetDirectionAction as Directions, CustomDivider as Divider, Drawer, Dropdown, MapComponent as GoogleMap, HoverOptionsWrapper, CustomInputField as InputTextField, Link, MediaType, Menu, Modal, OTPInput as OtpInput, Progress, CustomRadioButton as RadioButton, RangeSlider, Search, Stepper, Tabs, TextArea, Toast, ToastStatus, ToggleSwitch, Typography, PdfView as default };