dhre-ui-kit 0.0.400 → 2.0.2
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 +15 -2
- package/lib/index.js +3156 -251
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3156 -251
- package/lib/index.mjs.map +1 -1
- package/package.json +9 -5
- package/src/assets/fonts/Nakheel-HeadlineBold.otf +0 -0
- package/src/assets/fonts/Nakheel-HeadlineRegular.otf +0 -0
- package/src/assets/fonts/Nakheel-TextBold.otf +0 -0
- package/src/assets/fonts/Nakheel-TextRegular.otf +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ interface CheckBoxProps {
|
|
|
110
110
|
titleStyle?: TextStyle;
|
|
111
111
|
containerStyle?: ViewStyle;
|
|
112
112
|
onPress?: () => void;
|
|
113
|
+
hideCheckbox?: boolean;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
declare const Checkbox: React$1.FC<CheckBoxProps>;
|
|
@@ -261,7 +262,9 @@ declare enum FontStyle {
|
|
|
261
262
|
}
|
|
262
263
|
declare enum Theme {
|
|
263
264
|
SURFACE_PRIMARY = "SURFACE_PRIMARY",
|
|
265
|
+
SURFACE_PRIMARY_NAKHEEL = "SURFACE_PRIMARY_NAKHEEL",
|
|
264
266
|
SURFACE_SECONDARY = "SURFACE_SECONDARY",
|
|
267
|
+
SURFACE_SECONDARY_NAKHEEL = "SURFACE_SECONDARY_NAKHEEL",
|
|
265
268
|
SURFACE_TERTIARY = "SURFACE_TERTIARY",
|
|
266
269
|
SURFACE_STATIC = "SURFACE_STATIC",
|
|
267
270
|
SURFACE_BRAND_STATIC = "SURFACE_BRAND_STATIC",
|
|
@@ -618,7 +621,8 @@ interface MobileNumberInputProps {
|
|
|
618
621
|
}
|
|
619
622
|
declare const CountryDropDown: ({ defaultCountryCode, defaultCallingCode, placeholder, onChangeText, value, containerStyle, inputStyle, countryPickerStyle, callingCodeStyle, getCountryCode, maxLength, errorMessage, label, }: MobileNumberInputProps) => React$1.JSX.Element;
|
|
620
623
|
|
|
621
|
-
|
|
624
|
+
type BaseTextInputProps = Omit<TextInputProps$1, 'ref'>;
|
|
625
|
+
interface CommonTextInputProps extends BaseTextInputProps {
|
|
622
626
|
value?: string;
|
|
623
627
|
placeholderText?: string;
|
|
624
628
|
isSecureTextEntry?: boolean;
|
|
@@ -802,10 +806,18 @@ declare const theme: {
|
|
|
802
806
|
light: string;
|
|
803
807
|
dark: string;
|
|
804
808
|
};
|
|
809
|
+
SURFACE_PRIMARY_NAKHEEL: {
|
|
810
|
+
light: string;
|
|
811
|
+
dark: string;
|
|
812
|
+
};
|
|
805
813
|
SURFACE_SECONDARY: {
|
|
806
814
|
light: string;
|
|
807
815
|
dark: string;
|
|
808
816
|
};
|
|
817
|
+
SURFACE_SECONDARY_NAKHEEL: {
|
|
818
|
+
light: string;
|
|
819
|
+
dark: string;
|
|
820
|
+
};
|
|
809
821
|
SURFACE_TERTIARY: {
|
|
810
822
|
light: string;
|
|
811
823
|
dark: string;
|
|
@@ -1183,4 +1195,5 @@ interface RadioButtonGroupProps {
|
|
|
1183
1195
|
|
|
1184
1196
|
declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
|
|
1185
1197
|
|
|
1186
|
-
export { _default$g as Accordion, AnimationWithImperativeApi as AnimationLoitte, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader,
|
|
1198
|
+
export { _default$g as Accordion, AnimationWithImperativeApi as AnimationLoitte, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, CustomIcon, _default$d as CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$k as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$9 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$6 as FeedbackForm, FileUpload, FontStyle, _default$c as Line, NotificationBandge, OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$5 as SingleSelectionTags, Star as StarRating, _default$3 as Stepper, _default$e as SwipableList, _default$h as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$b as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
|
1199
|
+
export type { CustomHeaderProps, SlideButtonHandle, ToastRef };
|