dhre-ui-kit 2.0.16 → 2.0.18

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.
Files changed (193) hide show
  1. package/lib/assets/images/NakheelLoader.d.ts +198 -0
  2. package/lib/assets/images/NakheelLoaderDark.d.ts +56 -0
  3. package/lib/assets/images/defaultLoader.d.ts +224 -0
  4. package/lib/assets/images/loaderDark.d.ts +198 -0
  5. package/lib/assets/images/loaderLight.d.ts +198 -0
  6. package/lib/assets/index.d.ts +22 -0
  7. package/lib/components/ContactModel/ContactModel.d.ts +11 -0
  8. package/lib/components/ContactModel/index.d.ts +1 -0
  9. package/lib/components/OutOfOffice/OurOffices.d.ts +17 -0
  10. package/lib/components/OutOfOffice/index.d.ts +1 -0
  11. package/lib/components/accordion/Accordion.d.ts +4 -0
  12. package/lib/components/accordion/Accordion.interface.d.ts +18 -0
  13. package/lib/components/accordion/Accordion.styles.d.ts +23 -0
  14. package/lib/components/accordion/Accordion.test.d.ts +1 -0
  15. package/lib/components/accordion/index.d.ts +1 -0
  16. package/lib/components/appointment-card/appointment-card.interface.d.ts +27 -0
  17. package/lib/components/appointment-card/index.d.ts +4 -0
  18. package/lib/components/appointment-card/styles.d.ts +74 -0
  19. package/lib/components/badge/Badge.d.ts +13 -0
  20. package/lib/components/badge/Badge.styles.d.ts +16 -0
  21. package/lib/components/badge/Badge.test.d.ts +1 -0
  22. package/lib/components/badge/index.d.ts +1 -0
  23. package/lib/components/bottomDrawer/BottomDrawer.d.ts +4 -0
  24. package/lib/components/bottomDrawer/BottomDrawer.interface.d.ts +30 -0
  25. package/lib/components/bottomDrawer/BottomDrawer.styles.d.ts +53 -0
  26. package/lib/components/bottomDrawer/BottomDrawer.test.d.ts +1 -0
  27. package/lib/components/bottomDrawer/index.d.ts +1 -0
  28. package/lib/components/button/Button.d.ts +4 -0
  29. package/lib/components/button/Button.interface.d.ts +20 -0
  30. package/lib/components/button/Button.styles.d.ts +69 -0
  31. package/lib/components/button/Button.test.d.ts +1 -0
  32. package/lib/components/button/index.d.ts +1 -0
  33. package/lib/components/cards/Cards.d.ts +4 -0
  34. package/lib/components/cards/Cards.interface.d.ts +12 -0
  35. package/lib/components/cards/Cards.styles.d.ts +54 -0
  36. package/lib/components/cards/Cards.test.d.ts +1 -0
  37. package/lib/components/cards/index.d.ts +1 -0
  38. package/lib/components/checkBox/CheckBox.d.ts +4 -0
  39. package/lib/components/checkBox/CheckBox.interface.d.ts +16 -0
  40. package/lib/components/checkBox/CheckBox.styles.d.ts +30 -0
  41. package/lib/components/checkBox/CheckBox.test.d.ts +1 -0
  42. package/lib/components/checkBox/index.d.ts +1 -0
  43. package/lib/components/countryPicker/CountryPicker.d.ts +20 -0
  44. package/lib/components/countryPicker/index.d.ts +1 -0
  45. package/lib/components/customDocumentPicker/CustomDocumentPicker.d.ts +4 -0
  46. package/lib/components/customDocumentPicker/CustomDocumentPicker.interface.d.ts +16 -0
  47. package/lib/components/customDocumentPicker/CustomDocumentPicker.styles.d.ts +30 -0
  48. package/lib/components/customDocumentPicker/index.d.ts +1 -0
  49. package/lib/components/customDropdown/CustomDropdown.d.ts +4 -0
  50. package/lib/components/customDropdown/CustomDropdown.interface.d.ts +26 -0
  51. package/lib/components/customDropdown/CustomDropdown.styles.d.ts +37 -0
  52. package/lib/components/customDropdown/CustomDropdown.test.d.ts +1 -0
  53. package/lib/components/customDropdown/index.d.ts +1 -0
  54. package/lib/components/customHeader/CustomHeader.d.ts +4 -0
  55. package/lib/components/customHeader/CustomHeader.interface.d.ts +10 -0
  56. package/lib/components/customHeader/CustomHeader.styles.d.ts +21 -0
  57. package/lib/components/customHeader/CustomHeader.test.d.ts +1 -0
  58. package/lib/components/customHeader/index.d.ts +1 -0
  59. package/lib/components/customIcon/CustomIcon.d.ts +4 -0
  60. package/lib/components/customIcon/CustomIcon.interface.d.ts +11 -0
  61. package/lib/components/customIcon/CustomIcon.styles.d.ts +10 -0
  62. package/lib/components/customIcon/CustomIcon.test.d.ts +1 -0
  63. package/lib/components/customIcon/index.d.ts +1 -0
  64. package/lib/components/customInputText/CustomInputText.d.ts +4 -0
  65. package/lib/components/customInputText/CustomInputText.interface.d.ts +19 -0
  66. package/lib/components/customInputText/CustomInputText.styles.d.ts +168 -0
  67. package/lib/components/customInputText/CustomInputText.test.d.ts +1 -0
  68. package/lib/components/customInputText/index.d.ts +1 -0
  69. package/lib/components/customLoader/CustomLoader.d.ts +4 -0
  70. package/lib/components/customLoader/CustomLoader.inteface.d.ts +9 -0
  71. package/lib/components/customLoader/CustomLoader.styles.d.ts +40 -0
  72. package/lib/components/customLoader/index.d.ts +1 -0
  73. package/lib/components/customSearchBar/CustomSearchBar.d.ts +4 -0
  74. package/lib/components/customSearchBar/CustomSearchBar.interface.d.ts +24 -0
  75. package/lib/components/customSearchBar/CustomSearchBar.styles.d.ts +143 -0
  76. package/lib/components/customSearchBar/CustomSearchBar.test.d.ts +1 -0
  77. package/lib/components/customSearchBar/index.d.ts +1 -0
  78. package/lib/components/customSlideButton/custom-slide-button.interface.d.ts +18 -0
  79. package/lib/components/customSlideButton/index.d.ts +4 -0
  80. package/lib/components/customSlideButton/styles.d.ts +34 -0
  81. package/lib/components/customSwitchBtn/customSwitchBtn.d.ts +4 -0
  82. package/lib/components/customSwitchBtn/customSwitchBtn.interface.d.ts +14 -0
  83. package/lib/components/customSwitchBtn/customSwitchBtn.styles.d.ts +26 -0
  84. package/lib/components/customSwitchBtn/index.d.ts +1 -0
  85. package/lib/components/customText/CustomText.d.ts +11 -0
  86. package/lib/components/customText/index.d.ts +1 -0
  87. package/lib/components/customTooltip/CustomTooltip.d.ts +4 -0
  88. package/lib/components/customTooltip/CustomTooltip.interface.d.ts +16 -0
  89. package/lib/components/customTooltip/CustomTooltip.test.d.ts +1 -0
  90. package/lib/components/customTooltip/index.d.ts +1 -0
  91. package/lib/components/customTypography/CustomTypography.d.ts +10 -0
  92. package/lib/components/customTypography/CustomTypography.test.d.ts +1 -0
  93. package/lib/components/customTypography/index.d.ts +1 -0
  94. package/lib/components/dateRangePicker/DateRangePicker.d.ts +4 -0
  95. package/lib/components/dateRangePicker/DateRangePicker.interface.d.ts +12 -0
  96. package/lib/components/dateRangePicker/DateRangePicker.styles.d.ts +136 -0
  97. package/lib/components/dateRangePicker/index.d.ts +1 -0
  98. package/lib/components/dropDown/DropDown.d.ts +33 -0
  99. package/lib/components/dropDown/index.d.ts +1 -0
  100. package/lib/components/feedback/feedback.d.ts +14 -0
  101. package/lib/components/feedback/feedback.style.d.ts +49 -0
  102. package/lib/components/feedback/index.d.ts +1 -0
  103. package/lib/components/fileUpload/FileUpload.d.ts +13 -0
  104. package/lib/components/fileUpload/FileUpload.styles.d.ts +37 -0
  105. package/lib/components/fileUpload/FileUpload.test.d.ts +1 -0
  106. package/lib/components/fileUpload/index.d.ts +1 -0
  107. package/lib/components/horizontalLine/Line.d.ts +7 -0
  108. package/lib/components/horizontalLine/index.d.ts +1 -0
  109. package/lib/components/loitte/index.d.ts +1 -0
  110. package/lib/components/loitte/loitte.d.ts +6 -0
  111. package/lib/components/notificationBandge/NotificationBandge.d.ts +4 -0
  112. package/lib/components/notificationBandge/NotificationBandge.interface.d.ts +5 -0
  113. package/lib/components/notificationBandge/NotificationBandge.styles.d.ts +144 -0
  114. package/lib/components/notificationBandge/index.d.ts +1 -0
  115. package/lib/components/otp/index.d.ts +4 -0
  116. package/lib/components/otp/otp.interface.d.ts +27 -0
  117. package/lib/components/otp/styles.d.ts +40 -0
  118. package/lib/components/pdfView/PdfView.d.ts +4 -0
  119. package/lib/components/pdfView/PdfView.test.d.ts +1 -0
  120. package/lib/components/pdfView/index.d.ts +1 -0
  121. package/lib/components/popup/PopUp.d.ts +4 -0
  122. package/lib/components/popup/PopUp.interface.d.ts +9 -0
  123. package/lib/components/popup/PopUp.styles.d.ts +46 -0
  124. package/lib/components/popup/PopUp.test.d.ts +1 -0
  125. package/lib/components/popup/index.d.ts +1 -0
  126. package/lib/components/progressBar/ProgressBar.d.ts +24 -0
  127. package/lib/components/progressBar/ProgressBar.test.d.ts +1 -0
  128. package/lib/components/progressBar/index.d.ts +1 -0
  129. package/lib/components/property-details/index.d.ts +4 -0
  130. package/lib/components/property-details/property-details.interface.d.ts +15 -0
  131. package/lib/components/property-details/styles.d.ts +26 -0
  132. package/lib/components/property360View/Property360View.d.ts +5 -0
  133. package/lib/components/property360View/Property360View.test.d.ts +1 -0
  134. package/lib/components/property360View/index.d.ts +1 -0
  135. package/lib/components/radio-button-group/RadioButtonGroup.interface.d.ts +13 -0
  136. package/lib/components/radio-button-group/index.d.ts +4 -0
  137. package/lib/components/radio-button-group/styles.d.ts +24 -0
  138. package/lib/components/rating/index.d.ts +1 -0
  139. package/lib/components/rating/rating.d.ts +14 -0
  140. package/lib/components/rating/rating.styles.d.ts +10 -0
  141. package/lib/components/rating/rating.test.d.ts +1 -0
  142. package/lib/components/scrollList/category.d.ts +63 -0
  143. package/lib/components/scrollList/index.d.ts +1 -0
  144. package/lib/components/singleSelectionTag/TagSingleSelection.d.ts +49 -0
  145. package/lib/components/singleSelectionTag/index.d.ts +1 -0
  146. package/lib/components/stepper/index.d.ts +4 -0
  147. package/lib/components/stepper/stepper.interface.d.ts +23 -0
  148. package/lib/components/stepper/styles.d.ts +79 -0
  149. package/lib/components/swipableList/SwipableList.d.ts +4 -0
  150. package/lib/components/swipableList/SwipableList.interface.d.ts +49 -0
  151. package/lib/components/swipableList/SwipableList.styles.d.ts +19 -0
  152. package/lib/components/swipableList/SwipableList.test.d.ts +1 -0
  153. package/lib/components/swipableList/index.d.ts +1 -0
  154. package/lib/components/tabs/Tabs.d.ts +11 -0
  155. package/lib/components/tabs/Tabs.interface.d.ts +10 -0
  156. package/lib/components/tabs/Tabs.styles.d.ts +22 -0
  157. package/lib/components/tabs/index.d.ts +1 -0
  158. package/lib/components/tags/Tags.d.ts +4 -0
  159. package/lib/components/tags/Tags.interface.d.ts +11 -0
  160. package/lib/components/tags/Tags.styles.d.ts +31 -0
  161. package/lib/components/tags/Tags.test.d.ts +1 -0
  162. package/lib/components/tags/index.d.ts +1 -0
  163. package/lib/components/textInput/Textinput.d.ts +27 -0
  164. package/lib/components/textInput/index.d.ts +1 -0
  165. package/lib/components/toast/Toast.d.ts +4 -0
  166. package/lib/components/toast/Toast.interface.d.ts +17 -0
  167. package/lib/components/toast/Toast.styles.d.ts +55 -0
  168. package/lib/components/toast/Toast.test.d.ts +1 -0
  169. package/lib/components/toast/ToastService.d.ts +8 -0
  170. package/lib/components/toast/index.d.ts +1 -0
  171. package/lib/components/toggleButton/ToggleButton.d.ts +11 -0
  172. package/lib/components/toggleButton/ToggleButton.styles.d.ts +35 -0
  173. package/lib/components/toggleButton/ToggleButton.test.d.ts +1 -0
  174. package/lib/components/toggleButton/index.d.ts +1 -0
  175. package/lib/components/topic/Topic.d.ts +15 -0
  176. package/lib/components/topic/index.d.ts +1 -0
  177. package/lib/index.d.ts +56 -1220
  178. package/lib/index.js +42 -35
  179. package/lib/index.js.map +1 -1
  180. package/lib/index.mjs +44 -37
  181. package/lib/index.mjs.map +1 -1
  182. package/lib/theme/ThemeContext.d.ts +11 -0
  183. package/lib/theme/colors.d.ts +181 -0
  184. package/lib/theme/fonts.d.ts +12 -0
  185. package/lib/theme/themes.d.ts +163 -0
  186. package/lib/theme/withThemeProvider.d.ts +2 -0
  187. package/lib/utils/appEnum.d.ts +98 -0
  188. package/lib/utils/commonStyles.d.ts +15 -0
  189. package/lib/utils/constants.d.ts +19 -0
  190. package/lib/utils/deviceUtils.d.ts +7 -0
  191. package/lib/utils/regex.d.ts +1 -0
  192. package/lib/utils/stylehelper.d.ts +5 -0
  193. package/package.json +2 -2
@@ -0,0 +1,198 @@
1
+ export declare const LOADER_LIGHT: {
2
+ v: string;
3
+ fr: number;
4
+ ip: number;
5
+ op: number;
6
+ w: number;
7
+ h: number;
8
+ nm: string;
9
+ ddd: number;
10
+ assets: never[];
11
+ layers: {
12
+ ddd: number;
13
+ ind: number;
14
+ ty: number;
15
+ nm: string;
16
+ sr: number;
17
+ ks: {
18
+ o: {
19
+ a: number;
20
+ k: number;
21
+ ix: number;
22
+ };
23
+ r: {
24
+ a: number;
25
+ k: number;
26
+ ix: number;
27
+ };
28
+ p: {
29
+ a: number;
30
+ k: number[];
31
+ ix: number;
32
+ l: number;
33
+ };
34
+ a: {
35
+ a: number;
36
+ k: number[];
37
+ ix: number;
38
+ l: number;
39
+ };
40
+ s: {
41
+ a: number;
42
+ k: ({
43
+ i: {
44
+ x: number[];
45
+ y: number[];
46
+ };
47
+ o: {
48
+ x: number[];
49
+ y: number[];
50
+ };
51
+ t: number;
52
+ s: number[];
53
+ } | {
54
+ t: number;
55
+ s: number[];
56
+ i?: undefined;
57
+ o?: undefined;
58
+ })[];
59
+ ix: number;
60
+ l: number;
61
+ };
62
+ };
63
+ ao: number;
64
+ shapes: {
65
+ ty: string;
66
+ it: ({
67
+ ind: number;
68
+ ty: string;
69
+ ix: number;
70
+ ks: {
71
+ a: number;
72
+ k: {
73
+ i: number[][];
74
+ o: number[][];
75
+ v: number[][];
76
+ c: boolean;
77
+ };
78
+ ix: number;
79
+ };
80
+ nm: string;
81
+ mn: string;
82
+ hd: boolean;
83
+ mm?: undefined;
84
+ c?: undefined;
85
+ o?: undefined;
86
+ r?: undefined;
87
+ bm?: undefined;
88
+ p?: undefined;
89
+ a?: undefined;
90
+ s?: undefined;
91
+ sk?: undefined;
92
+ sa?: undefined;
93
+ } | {
94
+ ty: string;
95
+ mm: number;
96
+ nm: string;
97
+ mn: string;
98
+ hd: boolean;
99
+ ind?: undefined;
100
+ ix?: undefined;
101
+ ks?: undefined;
102
+ c?: undefined;
103
+ o?: undefined;
104
+ r?: undefined;
105
+ bm?: undefined;
106
+ p?: undefined;
107
+ a?: undefined;
108
+ s?: undefined;
109
+ sk?: undefined;
110
+ sa?: undefined;
111
+ } | {
112
+ ty: string;
113
+ c: {
114
+ a: number;
115
+ k: number[];
116
+ ix: number;
117
+ };
118
+ o: {
119
+ a: number;
120
+ k: number;
121
+ ix: number;
122
+ };
123
+ r: number;
124
+ bm: number;
125
+ nm: string;
126
+ mn: string;
127
+ hd: boolean;
128
+ ind?: undefined;
129
+ ix?: undefined;
130
+ ks?: undefined;
131
+ mm?: undefined;
132
+ p?: undefined;
133
+ a?: undefined;
134
+ s?: undefined;
135
+ sk?: undefined;
136
+ sa?: undefined;
137
+ } | {
138
+ ty: string;
139
+ p: {
140
+ a: number;
141
+ k: number[];
142
+ ix: number;
143
+ };
144
+ a: {
145
+ a: number;
146
+ k: number[];
147
+ ix: number;
148
+ };
149
+ s: {
150
+ a: number;
151
+ k: number[];
152
+ ix: number;
153
+ };
154
+ r: {
155
+ a: number;
156
+ k: number;
157
+ ix: number;
158
+ };
159
+ o: {
160
+ a: number;
161
+ k: number;
162
+ ix: number;
163
+ };
164
+ sk: {
165
+ a: number;
166
+ k: number;
167
+ ix: number;
168
+ };
169
+ sa: {
170
+ a: number;
171
+ k: number;
172
+ ix: number;
173
+ };
174
+ nm: string;
175
+ ind?: undefined;
176
+ ix?: undefined;
177
+ ks?: undefined;
178
+ mn?: undefined;
179
+ hd?: undefined;
180
+ mm?: undefined;
181
+ c?: undefined;
182
+ bm?: undefined;
183
+ })[];
184
+ nm: string;
185
+ np: number;
186
+ cix: number;
187
+ bm: number;
188
+ ix: number;
189
+ mn: string;
190
+ hd: boolean;
191
+ }[];
192
+ ip: number;
193
+ op: number;
194
+ st: number;
195
+ bm: number;
196
+ }[];
197
+ markers: never[];
198
+ };
@@ -0,0 +1,22 @@
1
+ import CalenderDots from './images/calenderDots.svg';
2
+ import SearchIcon from './images/searchIcon.svg';
3
+ import CrossIcon from './images/crossIcon.svg';
4
+ import CaretUp from './images/caretUp.svg';
5
+ import CaretDown from './images/caretDown.svg';
6
+ import CaretLeft from './images/caretLeft.svg';
7
+ import HeaderIcon from './images/dotsThreeVertical.svg';
8
+ import CircleTick from './images/circleTick.svg';
9
+ import ArrowLeft from './images/arrowLeft.svg';
10
+ import BellSimple from './images/bellSimple.svg';
11
+ import UploadFile from './images/uploadFileIcon.svg';
12
+ import CaretRight from './images/caretRight.svg';
13
+ import CheckWhite from './images/checkWhite.svg';
14
+ import FileIcon from './images/fileIcon.svg';
15
+ import Trash from './images/trash.svg';
16
+ import DropDownArrow from './images/dropDownArrow.svg';
17
+ import { LOADER_DARK } from './images/loaderDark';
18
+ import { LOADER_LIGHT } from './images/loaderLight';
19
+ import { DEFAULT_LOADER } from './images/defaultLoader';
20
+ import { NakheelLoader } from './images/NakheelLoader';
21
+ import { NakheelLoaderDark } from './images/NakheelLoaderDark';
22
+ export { CalenderDots, SearchIcon, CrossIcon, CaretUp, CaretDown, CaretLeft, HeaderIcon, CircleTick, ArrowLeft, BellSimple, UploadFile, CaretRight, CheckWhite, FileIcon, Trash, DropDownArrow, LOADER_DARK, LOADER_LIGHT, DEFAULT_LOADER, NakheelLoader, NakheelLoaderDark };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface ContactModalProps {
3
+ phoneNumber: string;
4
+ visible: boolean;
5
+ onClose: () => void;
6
+ isMailOpen: boolean;
7
+ data: string;
8
+ emailSubject: string;
9
+ }
10
+ declare const _default: (props: ContactModalProps) => React.JSX.Element;
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './ContactModel';
@@ -0,0 +1,17 @@
1
+ import React, { ReactElement } from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ import { SvgProps } from 'react-native-svg';
4
+ interface OurOfficesButtonProps {
5
+ leftIcon?: ReactElement<SvgProps>;
6
+ rightIcon?: ReactElement<SvgProps>;
7
+ onPress: () => void;
8
+ title: string;
9
+ description: string;
10
+ containerStyle?: ViewStyle;
11
+ titleVariant?: string;
12
+ descriptionVariant?: string;
13
+ titleColor?: string;
14
+ descriptionColor?: string;
15
+ }
16
+ declare const _default: (props: OurOfficesButtonProps) => React.JSX.Element;
17
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './OurOffices';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AccordionProps } from './Accordion.interface';
3
+ declare const _default: (props: AccordionProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { TextStyle, ViewStyle } from 'react-native';
3
+ export interface AccordionProps {
4
+ title: string;
5
+ testId?: string;
6
+ containerStyle?: ViewStyle;
7
+ titleStyle?: TextStyle;
8
+ headerStyle?: ViewStyle;
9
+ children?: React.ReactNode;
10
+ isOpen: boolean;
11
+ onToggle: () => void;
12
+ optionalElement?: () => React.ReactNode;
13
+ headerComponent?: () => React.ReactNode;
14
+ disabled?: boolean;
15
+ icon?: React.ReactElement;
16
+ titleVariant?: string;
17
+ slideAnimation?: boolean;
18
+ }
@@ -0,0 +1,23 @@
1
+ declare const styles: {
2
+ container: {
3
+ paddingVertical: number;
4
+ borderBottomWidth: number;
5
+ };
6
+ header: {
7
+ flexDirection: "row";
8
+ justifyContent: "space-between";
9
+ alignItems: "center";
10
+ paddingHorizontal: number;
11
+ };
12
+ title: {
13
+ flex: number;
14
+ };
15
+ iconStyle: {
16
+ marginLeft: number;
17
+ };
18
+ content: {
19
+ overflow: "scroll";
20
+ marginTop: number;
21
+ };
22
+ };
23
+ export default styles;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Accordion';
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ export interface AppointmentCardProps {
3
+ isOpen: boolean;
4
+ onToggle: () => void;
5
+ icon: React.ReactElement;
6
+ headerIcon: React.ReactElement;
7
+ title: string;
8
+ headerTitle: string;
9
+ headerSubtitle: string;
10
+ onViewDetailsPress: () => void;
11
+ statusIcon: React.ReactElement;
12
+ infoIcon: React.ReactElement;
13
+ deleteIcon: React.ReactElement;
14
+ editIcon: React.ReactElement;
15
+ onDeletePress: () => void;
16
+ onEditPress: () => void;
17
+ onDirectionPress: () => void;
18
+ data: {
19
+ title: string;
20
+ value: string;
21
+ isLocation?: boolean;
22
+ isStatus?: boolean;
23
+ }[];
24
+ viewText: string;
25
+ info: string;
26
+ directionText: string;
27
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AppointmentCardProps } from './appointment-card.interface';
3
+ declare const _default: (props: AppointmentCardProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,74 @@
1
+ declare const styles: {
2
+ accordionContainer: {
3
+ gap: number;
4
+ marginHorizontal: number;
5
+ marginVertical: number;
6
+ };
7
+ accordionStyle: {
8
+ paddingHorizontal: number;
9
+ borderWidth: number;
10
+ borderRadius: number;
11
+ };
12
+ accordionHeader: {
13
+ paddingHorizontal: number;
14
+ };
15
+ accordionHeaderContent: {
16
+ flex: number;
17
+ flexDirection: "row";
18
+ alignItems: "center";
19
+ columnGap: number;
20
+ };
21
+ accordionText: {
22
+ rowGap: number;
23
+ };
24
+ accordionDetails: {
25
+ paddingTop: number;
26
+ borderTopWidth: number;
27
+ rowGap: number;
28
+ };
29
+ appointmentInfo: {
30
+ flex: number;
31
+ flexDirection: "row";
32
+ flexWrap: "wrap";
33
+ rowGap: number;
34
+ };
35
+ infoColumn: {
36
+ width: "50%";
37
+ rowGap: number;
38
+ };
39
+ infoRow: {
40
+ flexDirection: "row";
41
+ columnGap: number;
42
+ };
43
+ locationInfo: {
44
+ rowGap: number;
45
+ };
46
+ getDirectionsText: {
47
+ textDecorationLine: "underline";
48
+ };
49
+ infoContainer: {
50
+ padding: number;
51
+ flexDirection: "row";
52
+ columnGap: number;
53
+ };
54
+ actionsContainer: {
55
+ borderTopWidth: number;
56
+ paddingTop: number;
57
+ flexDirection: "row";
58
+ };
59
+ viewText: {
60
+ flex: number;
61
+ textDecorationLine: "underline";
62
+ alignSelf: "center";
63
+ textAlign: "left";
64
+ };
65
+ actionIcons: {
66
+ flexDirection: "row";
67
+ columnGap: number;
68
+ };
69
+ iconContainer: {
70
+ width: number;
71
+ height: number;
72
+ };
73
+ };
74
+ export default styles;
@@ -0,0 +1,13 @@
1
+ import React, { ReactElement } from 'react';
2
+ import { ViewStyle, TextStyle } from 'react-native';
3
+ import { SvgProps } from 'react-native-svg';
4
+ interface BadgeProps {
5
+ text?: string;
6
+ style?: ViewStyle;
7
+ iconName?: ReactElement<SvgProps>;
8
+ textStyle?: TextStyle;
9
+ iconStyle?: ViewStyle;
10
+ handleIconPress: () => void;
11
+ }
12
+ declare const _default: (props: BadgeProps) => React.JSX.Element;
13
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const styles: {
2
+ badge: {
3
+ backgroundColor: string;
4
+ borderRadius: number;
5
+ padding: number;
6
+ };
7
+ icon: {
8
+ marginHorizontal: number;
9
+ height: number;
10
+ width: number;
11
+ };
12
+ text: {
13
+ color: string;
14
+ };
15
+ };
16
+ export default styles;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Badge';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { BottomDrawerProps } from './BottomDrawer.interface';
3
+ declare const BottomDrawer: React.FC<BottomDrawerProps>;
4
+ export default BottomDrawer;
@@ -0,0 +1,30 @@
1
+ import { TextStyle, ViewStyle } from 'react-native';
2
+ export interface BottomDrawerProps {
3
+ isModalVisible: boolean;
4
+ toggleModal: () => void;
5
+ isFullScreen?: boolean;
6
+ children: React.ReactNode;
7
+ title: string;
8
+ testID?: string;
9
+ style?: ViewStyle;
10
+ modalContainerStyle?: ViewStyle;
11
+ showBlurView?: boolean;
12
+ leftIcon?: React.ReactElement;
13
+ rightIcon?: React.ReactElement;
14
+ showLeftIcon?: boolean;
15
+ showRightIcon?: boolean;
16
+ onLeftIconPress?: () => void;
17
+ titleStyle?: TextStyle;
18
+ titleVariant?: string;
19
+ showHeader?: boolean;
20
+ showSeparator?: boolean;
21
+ backdropColor?: string;
22
+ backdropOpacity?: number;
23
+ propagateSwipe?: boolean;
24
+ swipeDirection?: string;
25
+ footer?: React.ReactNode;
26
+ rightTitleVariant?: string;
27
+ rightTitle?: string;
28
+ rightTitleStyle?: TextStyle;
29
+ handleRightTitlePress?: () => void;
30
+ }
@@ -0,0 +1,53 @@
1
+ declare const styles: {
2
+ mainContainer: {
3
+ flex: number;
4
+ justifyContent: "flex-end";
5
+ };
6
+ blurView: {
7
+ position: "absolute";
8
+ top: number;
9
+ left: number;
10
+ bottom: number;
11
+ right: number;
12
+ };
13
+ modalContainer: {
14
+ flex: number;
15
+ backgroundColor: string;
16
+ paddingTop: number;
17
+ paddingHorizontal: number;
18
+ };
19
+ separator: {
20
+ height: number;
21
+ width: number;
22
+ alignSelf: "center";
23
+ backgroundColor: string;
24
+ borderRadius: number;
25
+ };
26
+ headerContainer: {
27
+ flexDirection: "row";
28
+ justifyContent: "space-between";
29
+ alignItems: "center";
30
+ marginTop: number;
31
+ };
32
+ title: {
33
+ flex: number;
34
+ color: string;
35
+ textAlign: "left";
36
+ };
37
+ leftIconStyle: {
38
+ marginRight: number;
39
+ };
40
+ rightTitle: {
41
+ color: string;
42
+ textAlign: "right";
43
+ marginRight: number;
44
+ };
45
+ rightIconStyle: {
46
+ marginLeft: number;
47
+ };
48
+ rightSideStyle: {
49
+ flexDirection: "row";
50
+ alignItems: "center";
51
+ };
52
+ };
53
+ export default styles;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './BottomDrawer';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CustomButtonProps } from './Button.interface';
3
+ declare const _default: (props: CustomButtonProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
+ import { SvgProps } from 'react-native-svg';
4
+ export interface CustomButtonProps {
5
+ title: string;
6
+ onPress: () => void;
7
+ containerStyle?: StyleProp<ViewStyle>;
8
+ textStyle?: TextStyle;
9
+ leftIcon?: ReactElement<SvgProps>;
10
+ rightIcon?: ReactElement<SvgProps>;
11
+ iconStyle?: ViewStyle;
12
+ titleColor?: string;
13
+ titleVariant?: string;
14
+ imagePosition?: 'left' | 'right';
15
+ testID?: string;
16
+ disabled?: boolean;
17
+ disabledColor?: string;
18
+ disableButtonTitleColor?: string;
19
+ isLoading?: boolean;
20
+ }
@@ -0,0 +1,69 @@
1
+ declare const styles: {
2
+ mainContainer: {
3
+ marginHorizontal: number;
4
+ };
5
+ button: {
6
+ backgroundColor: string;
7
+ borderRadius: number;
8
+ paddingVertical: number;
9
+ width: "100%";
10
+ paddingHorizontal: number;
11
+ alignItems: "center";
12
+ };
13
+ directionStyle: {
14
+ flexDirection: "row";
15
+ alignItems: "center";
16
+ };
17
+ iconStyle: {
18
+ height: number;
19
+ width: number;
20
+ };
21
+ primary: {
22
+ backgroundColor: string;
23
+ color: string;
24
+ };
25
+ secondary: {
26
+ backgroundColor: string;
27
+ borderColor: string;
28
+ borderWidth: number;
29
+ };
30
+ disable: {
31
+ backgroundColor: string;
32
+ };
33
+ tertiary: {
34
+ backgroundColor: string;
35
+ };
36
+ functionPrimary: {
37
+ backgroundColor: string;
38
+ };
39
+ functionSecondary: {
40
+ backgroundColor: string;
41
+ borderColor: string;
42
+ borderWidth: number;
43
+ };
44
+ functionNotice: {
45
+ backgroundColor: string;
46
+ };
47
+ primaryText: {
48
+ color: string;
49
+ };
50
+ secondaryText: {
51
+ color: string;
52
+ };
53
+ disableText: {
54
+ color: string;
55
+ };
56
+ tertiaryText: {
57
+ color: string;
58
+ };
59
+ functionPrimaryText: {
60
+ color: string;
61
+ };
62
+ functionSecondaryText: {
63
+ color: string;
64
+ };
65
+ functionNoticeText: {
66
+ color: string;
67
+ };
68
+ };
69
+ export default styles;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Button';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardsProps } from './Cards.interface';
3
+ declare const Cards: React.FC<CardsProps>;
4
+ export default Cards;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ export interface CardsProps {
3
+ topLeftTitle?: string;
4
+ subtitle?: string;
5
+ iconTitle?: string;
6
+ iconSource?: ReactNode;
7
+ buttonText?: string;
8
+ title?: string;
9
+ buttonShown?: boolean;
10
+ testID?: string;
11
+ onButtonPress?: () => void;
12
+ }