dhre-ui-kit 0.0.99 → 0.0.101
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/lib/index.d.ts +178 -40
- package/lib/index.js +57 -13
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +48 -14
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -380,6 +380,50 @@ const DHRE_COLORS_PRIMARY = {
|
|
|
380
380
|
DH_GREY_75: "#868D93",
|
|
381
381
|
DH_GREY_100: "#5B6770"
|
|
382
382
|
};
|
|
383
|
+
const DHRE_COLORS_SECONDARY = {
|
|
384
|
+
//LIGHT SKY
|
|
385
|
+
DH_LIGHT_SKY_25: "#EBF6F9",
|
|
386
|
+
DH_LIGHT_SKY_50: "#D7ECF3",
|
|
387
|
+
DH_LIGHT_SKY_75: "#C3E3EC",
|
|
388
|
+
DH_LIGHT_SKY_100: "#A4DBE8",
|
|
389
|
+
DH_BIEGE_25: "#F0EDEB",
|
|
390
|
+
DH_BIEGE_50: "#E1DCD6",
|
|
391
|
+
DH_BIEGE_75: "#D2CBC2",
|
|
392
|
+
DH_BIEGE_100: "#C5B9AC",
|
|
393
|
+
DH_GREEN_DARK_0: "#F5FFF8",
|
|
394
|
+
DH_GREEN_DARK_100: "#EEFDF2",
|
|
395
|
+
DH_GREEN_DARK_200: "#E2F9E8",
|
|
396
|
+
DH_GREEN_DARK_300: "#D0F2DA",
|
|
397
|
+
DH_GREEN_DARK_400: "#B7E9C6",
|
|
398
|
+
DH_GREEN_DARK_500: "#98DDAC",
|
|
399
|
+
DH_GREEN_DARK_600: "#72CD8D",
|
|
400
|
+
DH_GREEN_DARK_700: "#4BB86C",
|
|
401
|
+
DH_GREEN_DARK_800: "#28A04C",
|
|
402
|
+
DH_GREEN_DARK_900: "#0E8732",
|
|
403
|
+
DH_GREEN_DARK: "#2F5A3C",
|
|
404
|
+
DH_BLUE_DARK_0: "#F5FCFF",
|
|
405
|
+
DH_BLUE_DARK_100: "#EEF8FD",
|
|
406
|
+
DH_BLUE_DARK_200: "#E2F1F9",
|
|
407
|
+
DH_BLUE_DARK_300: "#D0E7F2",
|
|
408
|
+
DH_BLUE_DARK_400: "#B7D9E9",
|
|
409
|
+
DH_BLUE_DARK_500: "#98C7DD",
|
|
410
|
+
DH_BLUE_DARK_600: "#72B0CD",
|
|
411
|
+
DH_BLUE_DARK_700: "#4B95B8",
|
|
412
|
+
DH_BLUE_DARK_800: "#4B95B8",
|
|
413
|
+
DH_BLUE_DARK_900: "#0E6187",
|
|
414
|
+
DH_BLUE_DARK: "#2C576B",
|
|
415
|
+
DH_BLUE_0: "#F5F9FF",
|
|
416
|
+
DH_BLUE_100: "#E2EDFE",
|
|
417
|
+
DH_BLUE_200: "#C1D9FB",
|
|
418
|
+
DH_BLUE_300: "#9BC1F6",
|
|
419
|
+
DH_BLUE_400: "#73A6ED",
|
|
420
|
+
DH_BLUE_500: "#4C8AE0",
|
|
421
|
+
DH_BLUE_600: "#276CCD",
|
|
422
|
+
DH_BLUE_700: "#1B5CB8",
|
|
423
|
+
DH_BLUE_800: "#134EA0",
|
|
424
|
+
DH_BLUE_900: "#0E4087",
|
|
425
|
+
DH_BLUE: "#4686E0"
|
|
426
|
+
};
|
|
383
427
|
const DHRE_COLORS_ALERT = {
|
|
384
428
|
DH_SUCCESS_GREEN_0: "#F5FFFA",
|
|
385
429
|
DH_SUCCESS_GREEN_100: "#DFFEEE",
|
|
@@ -2389,24 +2433,14 @@ const CustomHeader = ({
|
|
|
2389
2433
|
onLeftPress,
|
|
2390
2434
|
onRightPress
|
|
2391
2435
|
}) => {
|
|
2392
|
-
return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer },
|
|
2393
|
-
width: moderateScale(24),
|
|
2394
|
-
height: moderateScale(24),
|
|
2395
|
-
onPress: onLeftPress,
|
|
2396
|
-
style: styles$k.leftIconStyle
|
|
2397
|
-
}), /* @__PURE__ */ React__default.createElement(
|
|
2436
|
+
return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, /* @__PURE__ */ React__default.createElement(
|
|
2398
2437
|
CustomTypography,
|
|
2399
2438
|
{
|
|
2400
2439
|
variant: "B2_REGULAR",
|
|
2401
2440
|
text: title,
|
|
2402
2441
|
style: styles$k.headerTitle
|
|
2403
2442
|
}
|
|
2404
|
-
))
|
|
2405
|
-
width: moderateScale(24),
|
|
2406
|
-
height: moderateScale(24),
|
|
2407
|
-
onPress: onRightPress,
|
|
2408
|
-
style: styles$k.rightIconStyle
|
|
2409
|
-
}));
|
|
2443
|
+
)));
|
|
2410
2444
|
};
|
|
2411
2445
|
|
|
2412
2446
|
const styles$j = StyleSheet.create({
|
|
@@ -3917,7 +3951,7 @@ const OTPInput = React__default.forwardRef(
|
|
|
3917
3951
|
onComplete?.(otp);
|
|
3918
3952
|
}
|
|
3919
3953
|
}, [otp]);
|
|
3920
|
-
return /* @__PURE__ */ React__default.createElement(View, { style: { ...otpContainerStyle } }, /* @__PURE__ */ React__default.createElement(
|
|
3954
|
+
return /* @__PURE__ */ React__default.createElement(View, { style: { ...otpContainerStyle }, testID: testId }, /* @__PURE__ */ React__default.createElement(
|
|
3921
3955
|
CustomTypography,
|
|
3922
3956
|
{
|
|
3923
3957
|
text: "OTP",
|
|
@@ -4244,5 +4278,5 @@ const copyToClipboard = (textToCopy) => {
|
|
|
4244
4278
|
Clipboard.setString(textToCopy);
|
|
4245
4279
|
};
|
|
4246
4280
|
|
|
4247
|
-
export { Accordion, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, index$2 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, TagsComponent as SingleSelectionTags, Star as StarRating, index$1 as Stepper, SwipableList, Tabs$1 as Tabs, Tags, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, Topic$1 as Topic, copyToClipboard, theme as default, horizontalScale, moderateScale, toastService, verticalScale };
|
|
4281
|
+
export { Accordion, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, index$2 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, index$1 as Stepper, SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width$1 as width };
|
|
4248
4282
|
//# sourceMappingURL=index.mjs.map
|