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.
- package/dist/components/InputTextField/InputTextField.d.ts +1 -0
- package/dist/components/OtpInput/OtpInput.d.ts +3 -2
- package/dist/components/RangeSlider/RangeSlider.d.ts +1 -0
- package/dist/components/Stepper/Stepper.d.ts +6 -4
- package/dist/components/Tabs/Tabs.d.ts +1 -0
- package/dist/index.d.ts +11 -6
- package/dist/index.esm.js +62 -48
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +62 -48
- package/dist/index.js.map +1 -1
- package/dist/theme/colors/colors.scss +54 -51
- package/package.json +71 -71
- package/dist/components/RightDrawer/RightDrawer.d.ts +0 -12
- package/dist/components/RightDrawer/index.d.ts +0 -1
|
@@ -7,11 +7,12 @@ interface OTPInputProps {
|
|
|
7
7
|
onResend: () => void;
|
|
8
8
|
resendDelay?: number;
|
|
9
9
|
error?: boolean;
|
|
10
|
-
errorText?:
|
|
11
|
-
resendText:
|
|
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;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './Stepper.module.scss';
|
|
3
|
-
interface
|
|
3
|
+
interface StepperData {
|
|
4
4
|
name: string;
|
|
5
5
|
id: number;
|
|
6
6
|
component?: React.ReactNode;
|
|
7
7
|
status?: string;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
10
|
-
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<
|
|
23
|
+
declare const Stepper: React.FC<StepperInterface>;
|
|
22
24
|
export default Stepper;
|
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?:
|
|
203
|
-
resendText:
|
|
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
|
|
378
|
+
interface StepperData {
|
|
376
379
|
name: string;
|
|
377
380
|
id: number;
|
|
378
381
|
component?: React.ReactNode;
|
|
379
382
|
status?: string;
|
|
380
383
|
}
|
|
381
|
-
interface
|
|
382
|
-
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<
|
|
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 };
|