dhre-component-lib 0.9.0 → 0.11.0
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/RadioButton/RadioButtonV2.d.ts +21 -0
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/Stepper/Stepper.d.ts +2 -0
- package/dist/dev/Showcase.d.ts +3 -0
- package/dist/dev/main.d.ts +3 -0
- package/dist/index.d.ts +23 -2
- package/dist/index.esm.js +51 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +50 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./RadioButtonV2.module.scss";
|
|
3
|
+
export interface RadioButtonV2Props {
|
|
4
|
+
/** Radio group name */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Value for this option */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Display label shown beside the circle */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Whether this option is currently selected */
|
|
11
|
+
checked?: boolean;
|
|
12
|
+
/** Disables interaction and applies muted styling */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
15
|
+
/** Input element id — links the label for accessibility */
|
|
16
|
+
id?: string;
|
|
17
|
+
/** Optional extra className on the wrapper */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const RadioButtonV2: React.FC<RadioButtonV2Props>;
|
|
21
|
+
export default RadioButtonV2;
|
|
@@ -8,6 +8,7 @@ interface StepperData {
|
|
|
8
8
|
value?: string;
|
|
9
9
|
img?: React.ReactNode;
|
|
10
10
|
}
|
|
11
|
+
type StepperWeight = "BOLD" | "SEMI_BOLD" | "MEDIUM" | "REGULAR" | "LIGHT";
|
|
11
12
|
interface StepperInterface {
|
|
12
13
|
stepperData: StepperData[];
|
|
13
14
|
type: string;
|
|
@@ -23,6 +24,7 @@ interface StepperInterface {
|
|
|
23
24
|
variant?: any;
|
|
24
25
|
displayRightContent?: boolean;
|
|
25
26
|
isPaymentPlanFlow?: boolean;
|
|
27
|
+
weight?: StepperWeight;
|
|
26
28
|
}
|
|
27
29
|
declare const Stepper: React.FC<StepperInterface>;
|
|
28
30
|
export default Stepper;
|
package/dist/index.d.ts
CHANGED
|
@@ -192,6 +192,25 @@ interface RadioButtonProps {
|
|
|
192
192
|
}
|
|
193
193
|
declare const CustomRadioButton: React.FC<RadioButtonProps>;
|
|
194
194
|
|
|
195
|
+
interface RadioButtonV2Props {
|
|
196
|
+
/** Radio group name */
|
|
197
|
+
name: string;
|
|
198
|
+
/** Value for this option */
|
|
199
|
+
value: string;
|
|
200
|
+
/** Display label shown beside the circle */
|
|
201
|
+
label: string;
|
|
202
|
+
/** Whether this option is currently selected */
|
|
203
|
+
checked?: boolean;
|
|
204
|
+
/** Disables interaction and applies muted styling */
|
|
205
|
+
disabled?: boolean;
|
|
206
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
207
|
+
/** Input element id — links the label for accessibility */
|
|
208
|
+
id?: string;
|
|
209
|
+
/** Optional extra className on the wrapper */
|
|
210
|
+
className?: string;
|
|
211
|
+
}
|
|
212
|
+
declare const RadioButtonV2: React.FC<RadioButtonV2Props>;
|
|
213
|
+
|
|
195
214
|
interface CustomInputFieldProps {
|
|
196
215
|
label?: string;
|
|
197
216
|
value?: any;
|
|
@@ -538,6 +557,7 @@ interface StepperData {
|
|
|
538
557
|
value?: string;
|
|
539
558
|
img?: React.ReactNode;
|
|
540
559
|
}
|
|
560
|
+
type StepperWeight = "BOLD" | "SEMI_BOLD" | "MEDIUM" | "REGULAR" | "LIGHT";
|
|
541
561
|
interface StepperInterface {
|
|
542
562
|
stepperData: StepperData[];
|
|
543
563
|
type: string;
|
|
@@ -553,8 +573,9 @@ interface StepperInterface {
|
|
|
553
573
|
variant?: any;
|
|
554
574
|
displayRightContent?: boolean;
|
|
555
575
|
isPaymentPlanFlow?: boolean;
|
|
576
|
+
weight?: StepperWeight;
|
|
556
577
|
}
|
|
557
578
|
declare const Stepper: React.FC<StepperInterface>;
|
|
558
579
|
|
|
559
|
-
export { Accordion as Accordian, Avatar, Badge, Breadcrumb as BreadCrumb, Button, ButtonCategory, ButtonV2, Carousel, Checkbox, CircularProgress, GetDirectionAction as Directions, CustomDivider as Divider, Drawer, Dropdown, MapComponent as GoogleMap, HoverOptionsWrapper, CustomInputField as InputTextField, Link, MediaType, Menu, Modal, ModalV2, OTPInput as OtpInput, Progress, CustomRadioButton as RadioButton, RangeSlider, Search, SearchV2, Stepper, Tabs, TextArea, Toast, ToastStatus, ToggleSwitch, Typography, PdfView as default };
|
|
560
|
-
export type { ButtonV2Props, ButtonV2Size, ButtonV2Variant, ModalV2Props, SearchV2Props, SearchV2Size, SearchV2Suggestion };
|
|
580
|
+
export { Accordion as Accordian, Avatar, Badge, Breadcrumb as BreadCrumb, Button, ButtonCategory, ButtonV2, Carousel, Checkbox, CircularProgress, GetDirectionAction as Directions, CustomDivider as Divider, Drawer, Dropdown, MapComponent as GoogleMap, HoverOptionsWrapper, CustomInputField as InputTextField, Link, MediaType, Menu, Modal, ModalV2, OTPInput as OtpInput, Progress, CustomRadioButton as RadioButton, RadioButtonV2, RangeSlider, Search, SearchV2, Stepper, Tabs, TextArea, Toast, ToastStatus, ToggleSwitch, Typography, PdfView as default };
|
|
581
|
+
export type { ButtonV2Props, ButtonV2Size, ButtonV2Variant, ModalV2Props, RadioButtonV2Props, SearchV2Props, SearchV2Size, SearchV2Suggestion };
|