@instincthub/react-ui 0.1.49 → 0.1.51

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 (245) hide show
  1. package/README.md +23 -8
  2. package/dist/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx.mjs.js +2 -2
  3. package/dist/node_modules/.pnpm/xlsx@https___cdn.sheetjs.com_xlsx-0.20.3_xlsx-0.20.3.tgz/node_modules/xlsx/xlsx.mjs.js.map +1 -1
  4. package/dist/src/assets/css/forms/forms-index.css +1 -0
  5. package/dist/src/assets/css/forms/input-fields.css +163 -11
  6. package/dist/src/assets/css/forms/s3-multi-uploader.css +208 -0
  7. package/dist/src/components/auth/LoginForm.js +1 -1
  8. package/dist/src/components/auth/ReactClientProviders.js +1 -1
  9. package/dist/src/components/forms/ChipsInput.js +1 -1
  10. package/dist/src/components/forms/PhoneNumberInput.js +1 -1
  11. package/dist/src/components/forms/SearchFieldDB.js +1 -1
  12. package/dist/src/components/forms/SearchObjectsFromDB.js +1 -1
  13. package/dist/src/components/forms/SearchableDropdown.js +1 -1
  14. package/dist/src/components/forms/uploads/S3MultiUploader.js +2 -0
  15. package/dist/src/components/forms/uploads/S3MultiUploader.js.map +1 -0
  16. package/dist/src/components/lib/index.js +1 -1
  17. package/dist/src/components/lib/index.js.map +1 -1
  18. package/dist/src/components/lib/phoneUtils.js +2 -0
  19. package/dist/src/components/lib/phoneUtils.js.map +1 -0
  20. package/dist/src/components/navbar/ChannelListAvatar.js +1 -1
  21. package/dist/src/components/navbar/ResponsiveNavbar.js +1 -1
  22. package/dist/src/components/navbar/SideNavbar.js +1 -1
  23. package/dist/src/components/status/ModalExamples.js +1 -1
  24. package/dist/src/components/ui/ComponentLists.js +1 -1
  25. package/dist/src/components/ui/pagination/Pagination.js +1 -1
  26. package/dist/src/components/ui/pagination/PaginationDemo.js +1 -1
  27. package/dist/src/components/ui/tables/IHubTable.js +1 -1
  28. package/dist/src/components/ui/tables/IHubTableServer.js +1 -1
  29. package/dist/src/components/ui/tables/utils/exportValues.js +2 -0
  30. package/dist/src/components/ui/tables/utils/exportValues.js.map +1 -0
  31. package/dist/src/components/ui/tables/utils/exportWriters.js +2 -0
  32. package/dist/src/components/ui/tables/utils/exportWriters.js.map +1 -0
  33. package/dist/src/components/ui/tables/utils/tableExport.js +2 -0
  34. package/dist/src/components/ui/tables/utils/tableExport.js.map +1 -0
  35. package/dist/src/index.js +1 -1
  36. package/dist/src/types/__examples__/.next/types/app/components/forms/layout.d.ts +13 -0
  37. package/dist/src/types/__examples__/.next/types/app/components/forms/phone-number-input/page.d.ts +13 -0
  38. package/dist/src/types/__examples__/.next/types/app/components/layout.d.ts +13 -0
  39. package/dist/src/types/__examples__/.next/types/app/components/page.d.ts +13 -0
  40. package/dist/src/types/__examples__/.next/types/app/components/ui/s3-multi-uploader/page.d.ts +13 -0
  41. package/dist/src/types/__examples__/.next/types/app/layout.d.ts +13 -0
  42. package/dist/src/types/__examples__/.next/types/app/page.d.ts +13 -0
  43. package/dist/src/types/__examples__/.next/types/validator.d.ts +1 -0
  44. package/dist/src/types/__examples__/next.config.d.ts +3 -0
  45. package/dist/src/types/__examples__/src/app/api/auth/[...nextauth]/route.d.ts +1 -0
  46. package/dist/src/types/__examples__/src/app/api/auth/login/route.d.ts +2 -0
  47. package/dist/src/types/__examples__/src/app/api/components/docs/route.d.ts +14 -0
  48. package/dist/src/types/__examples__/src/app/api/components/recommend/route.d.ts +14 -0
  49. package/dist/src/types/__examples__/src/app/api/components/search/route.d.ts +50 -0
  50. package/dist/src/types/__examples__/src/app/api/fallback/route.d.ts +34 -0
  51. package/dist/src/types/__examples__/src/app/api/generate/route.d.ts +14 -0
  52. package/dist/src/types/__examples__/src/app/api/help/route.d.ts +14 -0
  53. package/dist/src/types/__examples__/src/app/api/mcp/route.d.ts +10 -0
  54. package/dist/src/types/__examples__/src/app/auth/layout.d.ts +4 -0
  55. package/dist/src/types/__examples__/src/app/auth/login/page.d.ts +2 -0
  56. package/dist/src/types/__examples__/src/app/auth/password-match/page.d.ts +1 -0
  57. package/dist/src/types/__examples__/src/app/code-display/layout.d.ts +4 -0
  58. package/dist/src/types/__examples__/src/app/code-display/page.d.ts +3 -0
  59. package/dist/src/types/__examples__/src/app/components/auth/client-detector/page.d.ts +1 -0
  60. package/dist/src/types/__examples__/src/app/components/auth/login-form/page.d.ts +2 -0
  61. package/dist/src/types/__examples__/src/app/components/auth/signup-form/page.d.ts +1 -0
  62. package/dist/src/types/__examples__/src/app/components/auth/username-email-checker/page.d.ts +1 -0
  63. package/dist/src/types/__examples__/src/app/components/charts/page.d.ts +1 -0
  64. package/dist/src/types/__examples__/src/app/components/forms/action-dropdown/page.d.ts +1 -0
  65. package/dist/src/types/__examples__/src/app/components/forms/animated-box/page.d.ts +1 -0
  66. package/dist/src/types/__examples__/src/app/components/forms/checkboxes/page.d.ts +1 -0
  67. package/dist/src/types/__examples__/src/app/components/forms/chips-input/page.d.ts +1 -0
  68. package/dist/src/types/__examples__/src/app/components/forms/date-input/page.d.ts +1 -0
  69. package/dist/src/types/__examples__/src/app/components/forms/date-input-picker/page.d.ts +1 -0
  70. package/dist/src/types/__examples__/src/app/components/forms/date-range-picker/page.d.ts +1 -0
  71. package/dist/src/types/__examples__/src/app/components/forms/drop-file/page.d.ts +1 -0
  72. package/dist/src/types/__examples__/src/app/components/forms/email-list/page.d.ts +1 -0
  73. package/dist/src/types/__examples__/src/app/components/forms/file-uploader/page.d.ts +1 -0
  74. package/dist/src/types/__examples__/src/app/components/forms/filter-array/page.d.ts +1 -0
  75. package/dist/src/types/__examples__/src/app/components/forms/filter-objects/page.d.ts +1 -0
  76. package/dist/src/types/__examples__/src/app/components/forms/form-error/page.d.ts +1 -0
  77. package/dist/src/types/__examples__/src/app/components/forms/input-amount/page.d.ts +1 -0
  78. package/dist/src/types/__examples__/src/app/components/forms/input-number/page.d.ts +1 -0
  79. package/dist/src/types/__examples__/src/app/components/forms/input-text/page.d.ts +1 -0
  80. package/dist/src/types/__examples__/src/app/components/forms/input-textarea/page.d.ts +1 -0
  81. package/dist/src/types/__examples__/src/app/components/forms/layout.d.ts +4 -0
  82. package/dist/src/types/__examples__/src/app/components/forms/message-display/page.d.ts +1 -0
  83. package/dist/src/types/__examples__/src/app/components/forms/multiple-email/page.d.ts +1 -0
  84. package/dist/src/types/__examples__/src/app/components/forms/password-field/page.d.ts +1 -0
  85. package/dist/src/types/__examples__/src/app/components/forms/phone-number-input/page.d.ts +1 -0
  86. package/dist/src/types/__examples__/src/app/components/forms/radio-button/page.d.ts +1 -0
  87. package/dist/src/types/__examples__/src/app/components/forms/search-field/page.d.ts +1 -0
  88. package/dist/src/types/__examples__/src/app/components/forms/search-objects-from-db/page.d.ts +1 -0
  89. package/dist/src/types/__examples__/src/app/components/forms/searchable-dropdown/page.d.ts +1 -0
  90. package/dist/src/types/__examples__/src/app/components/forms/time-picker/page.d.ts +1 -0
  91. package/dist/src/types/__examples__/src/app/components/forms/toggle-button/page.d.ts +1 -0
  92. package/dist/src/types/__examples__/src/app/components/forms/uploads/ihub-file-uploader/page.d.ts +1 -0
  93. package/dist/src/types/__examples__/src/app/components/layout.d.ts +4 -0
  94. package/dist/src/types/__examples__/src/app/components/navbars/breadcrumb/page.d.ts +1 -0
  95. package/dist/src/types/__examples__/src/app/components/navbars/responsive-navbar/page.d.ts +2 -0
  96. package/dist/src/types/__examples__/src/app/components/navbars/sidenav/page.d.ts +2 -0
  97. package/dist/src/types/__examples__/src/app/components/navbars/tabs/page.d.ts +1 -0
  98. package/dist/src/types/__examples__/src/app/components/page.d.ts +1 -0
  99. package/dist/src/types/__examples__/src/app/components/ui/actions/page.d.ts +1 -0
  100. package/dist/src/types/__examples__/src/app/components/ui/badges/page.d.ts +1 -0
  101. package/dist/src/types/__examples__/src/app/components/ui/card-grid/page.d.ts +1 -0
  102. package/dist/src/types/__examples__/src/app/components/ui/card-list/page.d.ts +1 -0
  103. package/dist/src/types/__examples__/src/app/components/ui/cards/page.d.ts +1 -0
  104. package/dist/src/types/__examples__/src/app/components/ui/color-picker/page.d.ts +1 -0
  105. package/dist/src/types/__examples__/src/app/components/ui/content-view-or-edit/page.d.ts +1 -0
  106. package/dist/src/types/__examples__/src/app/components/ui/content-viewer/page.d.ts +1 -0
  107. package/dist/src/types/__examples__/src/app/components/ui/create-button/page.d.ts +1 -0
  108. package/dist/src/types/__examples__/src/app/components/ui/dangerous-renderer/page.d.ts +1 -0
  109. package/dist/src/types/__examples__/src/app/components/ui/dialogs/page.d.ts +1 -0
  110. package/dist/src/types/__examples__/src/app/components/ui/dropdowns/page.d.ts +1 -0
  111. package/dist/src/types/__examples__/src/app/components/ui/ihub-text-editor/page.d.ts +1 -0
  112. package/dist/src/types/__examples__/src/app/components/ui/modals/page.d.ts +1 -0
  113. package/dist/src/types/__examples__/src/app/components/ui/or-divider/page.d.ts +1 -0
  114. package/dist/src/types/__examples__/src/app/components/ui/pagination/page.d.ts +1 -0
  115. package/dist/src/types/__examples__/src/app/components/ui/random-gradient-image/page.d.ts +1 -0
  116. package/dist/src/types/__examples__/src/app/components/ui/s3-multi-uploader/page.d.ts +1 -0
  117. package/dist/src/types/__examples__/src/app/components/ui/table-examples/page.d.ts +1 -0
  118. package/dist/src/types/__examples__/src/app/components/ui/table-server-examples/page.d.ts +1 -0
  119. package/dist/src/types/__examples__/src/app/components/ui/text-editor/page.d.ts +1 -0
  120. package/dist/src/types/__examples__/src/app/cursors/page.d.ts +2 -0
  121. package/dist/src/types/__examples__/src/app/examples/page.d.ts +1 -0
  122. package/dist/src/types/__examples__/src/app/layout.d.ts +11 -0
  123. package/dist/src/types/__examples__/src/app/libs/examples/loadscript/page.d.ts +8 -0
  124. package/dist/src/types/__examples__/src/app/libs/examples/modals/page.d.ts +1 -0
  125. package/dist/src/types/__examples__/src/app/libs/examples/paystacks/page.d.ts +1 -0
  126. package/dist/src/types/__examples__/src/app/libs/page.d.ts +1 -0
  127. package/dist/src/types/__examples__/src/app/page.d.ts +1 -0
  128. package/dist/src/types/__examples__/src/components/ComponentListing.d.ts +1 -0
  129. package/dist/src/types/__examples__/src/components/Forms.d.ts +2 -0
  130. package/dist/src/types/__examples__/src/components/Modals.d.ts +1 -0
  131. package/dist/src/types/__examples__/src/components/TestComponent.d.ts +1 -0
  132. package/dist/src/types/__examples__/src/components/TestPage.d.ts +2 -0
  133. package/dist/src/types/__examples__/src/components/auth/ClientDetectorExample.d.ts +3 -0
  134. package/dist/src/types/__examples__/src/components/auth/IsUsernameEmailTakenExample.d.ts +3 -0
  135. package/dist/src/types/__examples__/src/components/auth/LoginFormExample.d.ts +4 -0
  136. package/dist/src/types/__examples__/src/components/auth/SignUpFormExample.d.ts +3 -0
  137. package/dist/src/types/__examples__/src/components/auths/LoginExample.d.ts +4 -0
  138. package/dist/src/types/__examples__/src/components/auths/PasswordsMatchExample.d.ts +2 -0
  139. package/dist/src/types/__examples__/src/components/forms/ActionDropdownExample.d.ts +3 -0
  140. package/dist/src/types/__examples__/src/components/forms/AnimatedBoxExample.d.ts +3 -0
  141. package/dist/src/types/__examples__/src/components/forms/CheckboxesFieldExamples.d.ts +3 -0
  142. package/dist/src/types/__examples__/src/components/forms/ChipsInputExample.d.ts +6 -0
  143. package/dist/src/types/__examples__/src/components/forms/DateInputExample.d.ts +3 -0
  144. package/dist/src/types/__examples__/src/components/forms/DateInputPickerExample.d.ts +3 -0
  145. package/dist/src/types/__examples__/src/components/forms/DateInputPickerTimeExample.d.ts +10 -0
  146. package/dist/src/types/__examples__/src/components/forms/DateRangePickerExample.d.ts +3 -0
  147. package/dist/src/types/__examples__/src/components/forms/DateTimePickerExample.d.ts +3 -0
  148. package/dist/src/types/__examples__/src/components/forms/DropFileExample.d.ts +3 -0
  149. package/dist/src/types/__examples__/src/components/forms/EmailListExample.d.ts +3 -0
  150. package/dist/src/types/__examples__/src/components/forms/FileUploaderExample.d.ts +3 -0
  151. package/dist/src/types/__examples__/src/components/forms/FilterArrayExample.d.ts +3 -0
  152. package/dist/src/types/__examples__/src/components/forms/FilterObjectsExample.d.ts +3 -0
  153. package/dist/src/types/__examples__/src/components/forms/FormErrorExample.d.ts +3 -0
  154. package/dist/src/types/__examples__/src/components/forms/InputAmountExample.d.ts +3 -0
  155. package/dist/src/types/__examples__/src/components/forms/InputNumberExample.d.ts +3 -0
  156. package/dist/src/types/__examples__/src/components/forms/InputTextExample.d.ts +3 -0
  157. package/dist/src/types/__examples__/src/components/forms/InputTextareaExample.d.ts +3 -0
  158. package/dist/src/types/__examples__/src/components/forms/MessageDisplayExample.d.ts +3 -0
  159. package/dist/src/types/__examples__/src/components/forms/MultipleEmailExample.d.ts +3 -0
  160. package/dist/src/types/__examples__/src/components/forms/PasswordFieldExample.d.ts +3 -0
  161. package/dist/src/types/__examples__/src/components/forms/PhoneNumberInputExample.d.ts +3 -0
  162. package/dist/src/types/__examples__/src/components/forms/RadioButtonExample.d.ts +6 -0
  163. package/dist/src/types/__examples__/src/components/forms/SearchFieldExample.d.ts +3 -0
  164. package/dist/src/types/__examples__/src/components/forms/SearchObjectsFromDBExample.d.ts +1 -0
  165. package/dist/src/types/__examples__/src/components/forms/SearchableDropdownExample.d.ts +3 -0
  166. package/dist/src/types/__examples__/src/components/forms/SignUpFormExample.d.ts +6 -0
  167. package/dist/src/types/__examples__/src/components/forms/SubmitBtnExample.d.ts +3 -0
  168. package/dist/src/types/__examples__/src/components/forms/TextFieldExample.d.ts +3 -0
  169. package/dist/src/types/__examples__/src/components/forms/TimePickerExample.d.ts +3 -0
  170. package/dist/src/types/__examples__/src/components/forms/ToggleButtonExample.d.ts +1 -0
  171. package/dist/src/types/__examples__/src/components/forms/uploads/IhubFileUploaderDocs.d.ts +3 -0
  172. package/dist/src/types/__examples__/src/components/forms/uploads/IhubFileUploaderSample.d.ts +6 -0
  173. package/dist/src/types/__examples__/src/components/navbars/BreadcrumbExample.d.ts +1 -0
  174. package/dist/src/types/__examples__/src/components/navbars/CursorProviders.d.ts +1 -0
  175. package/dist/src/types/__examples__/src/components/navbars/MainFooter.d.ts +2 -0
  176. package/dist/src/types/__examples__/src/components/navbars/MainNavigation.d.ts +2 -0
  177. package/dist/src/types/__examples__/src/components/navbars/PageNavigation.d.ts +2 -0
  178. package/dist/src/types/__examples__/src/components/navbars/ResponsiveNavbarControlledExample.d.ts +1 -0
  179. package/dist/src/types/__examples__/src/components/navbars/ResponsiveNavbarExample.d.ts +2 -0
  180. package/dist/src/types/__examples__/src/components/navbars/SideNavbarExample.d.ts +3 -0
  181. package/dist/src/types/__examples__/src/components/navbars/TabsExample.d.ts +1 -0
  182. package/dist/src/types/__examples__/src/components/tabs/TabsDemo.d.ts +2 -0
  183. package/dist/src/types/__examples__/src/components/tabs/TabsExample.d.ts +3 -0
  184. package/dist/src/types/__examples__/src/components/tabs/VerticalTabsExample.d.ts +3 -0
  185. package/dist/src/types/__examples__/src/components/ui/ActionExamples.d.ts +2 -0
  186. package/dist/src/types/__examples__/src/components/ui/BadgeExamples.d.ts +3 -0
  187. package/dist/src/types/__examples__/src/components/ui/CardExamples.d.ts +1 -0
  188. package/dist/src/types/__examples__/src/components/ui/CardGridExample.d.ts +3 -0
  189. package/dist/src/types/__examples__/src/components/ui/CardListExample.d.ts +3 -0
  190. package/dist/src/types/__examples__/src/components/ui/ChartExamples.d.ts +3 -0
  191. package/dist/src/types/__examples__/src/components/ui/CodebaseLink.d.ts +4 -0
  192. package/dist/src/types/__examples__/src/components/ui/ColorPickerExample.d.ts +3 -0
  193. package/dist/src/types/__examples__/src/components/ui/ContentFormTextEditor.d.ts +1 -0
  194. package/dist/src/types/__examples__/src/components/ui/ContentViewOrEditExample.d.ts +3 -0
  195. package/dist/src/types/__examples__/src/components/ui/ContentViewOrEditSample.d.ts +1 -0
  196. package/dist/src/types/__examples__/src/components/ui/ContentViewerExample.d.ts +3 -0
  197. package/dist/src/types/__examples__/src/components/ui/CreateButtonExample.d.ts +3 -0
  198. package/dist/src/types/__examples__/src/components/ui/CustomTextEditorExample.d.ts +3 -0
  199. package/dist/src/types/__examples__/src/components/ui/DangerousRendererExample.d.ts +1 -0
  200. package/dist/src/types/__examples__/src/components/ui/DialogExample.d.ts +3 -0
  201. package/dist/src/types/__examples__/src/components/ui/DropdownExamples.d.ts +2 -0
  202. package/dist/src/types/__examples__/src/components/ui/IHubTextEditorExample.d.ts +3 -0
  203. package/dist/src/types/__examples__/src/components/ui/ListStylesDemo.d.ts +1 -0
  204. package/dist/src/types/__examples__/src/components/ui/ListStylesDemoTwo.d.ts +1 -0
  205. package/dist/src/types/__examples__/src/components/ui/OrDividerExample.d.ts +3 -0
  206. package/dist/src/types/__examples__/src/components/ui/PaginationExample.d.ts +3 -0
  207. package/dist/src/types/__examples__/src/components/ui/RandomGradientImageExample.d.ts +3 -0
  208. package/dist/src/types/__examples__/src/components/ui/S3MultiUploaderExample.d.ts +3 -0
  209. package/dist/src/types/__examples__/src/components/ui/StatusIconExample.d.ts +3 -0
  210. package/dist/src/types/__examples__/src/components/ui/TableExamples.d.ts +3 -0
  211. package/dist/src/types/__examples__/src/components/ui/TableServerExamples.d.ts +1 -0
  212. package/dist/src/types/__examples__/src/lib/api.d.ts +29 -0
  213. package/dist/src/types/__examples__/src/lib/hooks.d.ts +76 -0
  214. package/dist/src/types/__examples__/src/types/components.d.ts +144 -0
  215. package/dist/src/types/assets/svgs/SVGs.d.ts +36 -0
  216. package/dist/src/types/components/forms/PhoneNumberInput.d.ts +56 -13
  217. package/dist/src/types/components/forms/index.d.ts +1 -0
  218. package/dist/src/types/components/forms/uploads/S3MultiUploader.d.ts +19 -0
  219. package/dist/src/types/components/lib/index.d.ts +1 -0
  220. package/dist/src/types/components/lib/phoneUtils.d.ts +99 -0
  221. package/dist/src/types/components/lib/redux/slices/channelSlice/channelDetails.d.ts +1 -1
  222. package/dist/src/types/components/lib/redux/slices/channelSlice/instructorChannelList.d.ts +1 -1
  223. package/dist/src/types/components/lib/redux/slices/courseSlice/courseDetails.d.ts +1 -1
  224. package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterDuration.d.ts +2 -2
  225. package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterLevel.d.ts +2 -2
  226. package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterSubject.d.ts +2 -2
  227. package/dist/src/types/components/lib/redux/slices/courseSlice/courseModules.d.ts +3 -3
  228. package/dist/src/types/components/lib/redux/slices/courseSlice/courseOverview.d.ts +1 -1
  229. package/dist/src/types/components/lib/redux/slices/courseSlice/courseSearch.d.ts +1 -1
  230. package/dist/src/types/components/lib/redux/slices/courseSlice/stepContent.d.ts +1 -1
  231. package/dist/src/types/components/lib/redux/slices/courseSlice/stepQuestions.d.ts +6 -6
  232. package/dist/src/types/components/lib/redux/slices/courseSlice/videoTimestamp.d.ts +1 -1
  233. package/dist/src/types/components/lib/redux/slices/courseSlice/videoTimestampObject.d.ts +1 -1
  234. package/dist/src/types/components/lib/redux/slices/navigationSlice/IPAdress.d.ts +1 -1
  235. package/dist/src/types/components/navbar/ResponsiveNavbar.d.ts +2 -0
  236. package/dist/src/types/components/ui/tables/IHubTable.d.ts +5 -8
  237. package/dist/src/types/components/ui/tables/IHubTableServer.d.ts +5 -8
  238. package/dist/src/types/components/ui/tables/utils/exportValues.d.ts +32 -0
  239. package/dist/src/types/components/ui/tables/utils/exportWriters.d.ts +17 -0
  240. package/dist/src/types/components/ui/tables/utils/tableExport.d.ts +42 -0
  241. package/dist/src/types/index.d.ts +4 -0
  242. package/dist/src/types/types/index.d.ts +111 -5
  243. package/dist/tsconfig.build.tsbuildinfo +1 -1
  244. package/dist/tsconfig.tsbuildinfo +1 -0
  245. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const PhoneNumberInputExample: React.FC;
3
+ export default PhoneNumberInputExample;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ /**
3
+ * Example component showing how to use the Radio components in a form
4
+ */
5
+ declare const RadioButtonExample: React.FC;
6
+ export default RadioButtonExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SearchFieldExample: React.FC;
3
+ export default SearchFieldExample;
@@ -0,0 +1 @@
1
+ export default function SearchObjectsFromDBExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SearchableDropdownExample: React.FC;
3
+ export default SearchableDropdownExample;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface SignUpFormExampleProps {
3
+ callbackUrl?: string;
4
+ }
5
+ declare const SignUpFormExample: React.FC<SignUpFormExampleProps>;
6
+ export default SignUpFormExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SubmitBtnExample: React.FC;
3
+ export default SubmitBtnExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const TextFieldExample: React.FC;
3
+ export default TextFieldExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const TimePickerExample: React.FC;
3
+ export default TimePickerExample;
@@ -0,0 +1 @@
1
+ export default function ToggleButtonExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const IhubFileUploaderDocs: React.FC;
3
+ export default IhubFileUploaderDocs;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ /**
3
+ * Example component showcasing the IhubFileUploader in different scenarios
4
+ */
5
+ declare const FileUploaderExample: React.FC;
6
+ export default FileUploaderExample;
@@ -0,0 +1 @@
1
+ export default function BreadcrumbExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function CursorProviders({ children }: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare function MainFooter(): import("react/jsx-runtime").JSX.Element;
2
+ export default MainFooter;
@@ -0,0 +1,2 @@
1
+ declare function MainNavigation(): import("react/jsx-runtime").JSX.Element;
2
+ export default MainNavigation;
@@ -0,0 +1,2 @@
1
+ declare function PageNavigation(): import("react/jsx-runtime").JSX.Element;
2
+ export default PageNavigation;
@@ -0,0 +1 @@
1
+ export default function ResponsiveNavbarControlledExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SearchObjectItemType } from "../../../../types";
2
+ export default function ResponsiveNavbarExample({ params, searchParams, session, }: SearchObjectItemType): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const SideNavbarExample: React.FC;
3
+ export default SideNavbarExample;
@@ -0,0 +1 @@
1
+ export default function TabsExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const TabsDemo: () => import("react/jsx-runtime").JSX.Element;
2
+ export default TabsDemo;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const TabsExample: React.FC;
3
+ export default TabsExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const VerticalTabsExample: React.FC;
3
+ export default VerticalTabsExample;
@@ -0,0 +1,2 @@
1
+ declare const ActionExamples: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ActionExamples;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const BadgeExamples: React.FC;
3
+ export default BadgeExamples;
@@ -0,0 +1 @@
1
+ export default function CardExamples(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CardGridExample: React.FC;
3
+ export default CardGridExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CardListExample: React.FC;
3
+ export default CardListExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ChartExamples: React.FC;
3
+ export default ChartExamples;
@@ -0,0 +1,4 @@
1
+ export default function CodebaseLink({ url, label, }: {
2
+ url: string;
3
+ label?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ColorPickerExample: React.FC;
3
+ export default ColorPickerExample;
@@ -0,0 +1 @@
1
+ export default function ContentFormTextEditor(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ContentViewOrEditExample: React.FC;
3
+ export default ContentViewOrEditExample;
@@ -0,0 +1 @@
1
+ export default function ContentViewOrEditSample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const ContentViewerExample: React.FC;
3
+ export default ContentViewerExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CreateButtonExample: React.FC;
3
+ export default CreateButtonExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const CustomTextEditorExample: React.FC;
3
+ export default CustomTextEditorExample;
@@ -0,0 +1 @@
1
+ export default function DangerousRendererExample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const DialogExample: React.FC;
3
+ export default DialogExample;
@@ -0,0 +1,2 @@
1
+ declare const DropdownExamples: () => import("react/jsx-runtime").JSX.Element;
2
+ export default DropdownExamples;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const IHubTextEditorExample: React.FC;
3
+ export default IHubTextEditorExample;
@@ -0,0 +1 @@
1
+ export default function ListStylesDemo(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function ListStylesDemoTwo(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const OrDividerExample: React.FC;
3
+ export default OrDividerExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const PaginationExample: React.FC;
3
+ export default PaginationExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const RandomGradientImageExample: React.FC;
3
+ export default RandomGradientImageExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const S3MultiUploaderExample: React.FC;
3
+ export default S3MultiUploaderExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const StatusIconExample: React.FC;
3
+ export default StatusIconExample;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const EnhancedTableExample: React.FC;
3
+ export default EnhancedTableExample;
@@ -0,0 +1 @@
1
+ export default function ProgramCoursesPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { ComponentInfo, SearchResult, RecommendationResponse, CodeGenerationResponse, IntegrationHelpResponse, DocsResponse } from '../types/components';
2
+ export declare class ComponentAPI {
3
+ private baseURL;
4
+ constructor(baseURL?: string);
5
+ searchComponents(query: string, category?: string, limit?: number): Promise<SearchResult[]>;
6
+ getComponentDocs(componentName: string, includeExamples?: boolean, includeProps?: boolean): Promise<DocsResponse>;
7
+ getRecommendations(description: string, context?: string, complexity?: 'simple' | 'medium' | 'complex', framework?: string): Promise<RecommendationResponse>;
8
+ generateCode(components: string[], pattern?: string, framework?: string, typescript?: boolean, styling?: 'css' | 'tailwind' | 'styled-components'): Promise<CodeGenerationResponse>;
9
+ getIntegrationHelp(topic: string, framework?: string, version?: string): Promise<IntegrationHelpResponse>;
10
+ getAllComponents(): Promise<ComponentInfo[]>;
11
+ getComponentsByCategory(category: string): Promise<ComponentInfo[]>;
12
+ getCategories(): Promise<string[]>;
13
+ }
14
+ export declare function debounce<T extends (...args: any[]) => void>(func: T, delay: number): (...args: Parameters<T>) => void;
15
+ export declare function highlightText(text: string, query: string): string;
16
+ export declare function formatComponentName(name: string): string;
17
+ export declare function getComponentIcon(component: ComponentInfo): string;
18
+ export declare function getCategoryColor(category: string): string;
19
+ export declare function generateComponentImport(component: ComponentInfo): string;
20
+ export declare function getImportPath(component: ComponentInfo): string;
21
+ export declare function copyToClipboard(text: string): Promise<void>;
22
+ export declare function downloadAsFile(content: string, filename: string, contentType?: string): void;
23
+ export declare function formatFileSize(bytes: number): string;
24
+ export declare function truncateText(text: string, maxLength: number): string;
25
+ export declare function slugify(text: string): string;
26
+ export declare function isValidEmail(email: string): boolean;
27
+ export declare function isValidUrl(url: string): boolean;
28
+ export declare const componentAPI: ComponentAPI;
29
+ export default componentAPI;
@@ -0,0 +1,76 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInfo, SearchResult, RecommendationResponse, CodeGenerationResponse, IntegrationHelpResponse, DocsResponse } from '../types/components';
3
+ export declare function useComponentSearch(initialQuery?: string, initialCategory?: string): {
4
+ query: string;
5
+ category: string | undefined;
6
+ results: SearchResult[];
7
+ loading: boolean;
8
+ error: string | null;
9
+ search: (newQuery: string, newCategory?: string) => void;
10
+ setQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
11
+ setCategory: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
12
+ };
13
+ export declare function useComponentDocs(componentName: string, includeExamples?: boolean, includeProps?: boolean): {
14
+ docs: DocsResponse | null;
15
+ loading: boolean;
16
+ error: string | null;
17
+ refetch: () => void;
18
+ };
19
+ export declare function useComponentRecommendations(description: string, context?: string, complexity?: 'simple' | 'medium' | 'complex', framework?: string): {
20
+ recommendations: RecommendationResponse | null;
21
+ loading: boolean;
22
+ error: string | null;
23
+ refetch: () => void;
24
+ };
25
+ export declare function useCodeGeneration(): {
26
+ generatedCode: CodeGenerationResponse | null;
27
+ loading: boolean;
28
+ error: string | null;
29
+ generateCode: (components: string[], pattern?: string, framework?: string, typescript?: boolean, styling?: 'css' | 'tailwind' | 'styled-components') => Promise<void>;
30
+ clear: () => void;
31
+ };
32
+ export declare function useIntegrationHelp(topic: string, framework?: string): {
33
+ help: IntegrationHelpResponse | null;
34
+ loading: boolean;
35
+ error: string | null;
36
+ refetch: () => void;
37
+ };
38
+ export declare function useComponents(): {
39
+ components: ComponentInfo[];
40
+ categories: string[];
41
+ loading: boolean;
42
+ error: string | null;
43
+ getComponentsByCategory: (category: string) => ComponentInfo[];
44
+ getComponentByName: (name: string) => ComponentInfo | undefined;
45
+ refetch: () => void;
46
+ };
47
+ export declare function useLocalStorage<T>(key: string, initialValue: T): readonly [T, (value: T | ((val: T) => T)) => void, () => void];
48
+ export declare function useFavorites(): {
49
+ favorites: string[];
50
+ addToFavorites: (componentName: string) => void;
51
+ removeFromFavorites: (componentName: string) => void;
52
+ toggleFavorite: (componentName: string) => void;
53
+ isFavorite: (componentName: string) => boolean;
54
+ };
55
+ export declare function useSearchHistory(): {
56
+ searchHistory: string[];
57
+ addToHistory: (query: string) => void;
58
+ removeFromHistory: (query: string) => void;
59
+ clearHistory: () => void;
60
+ };
61
+ export declare function useCopyToClipboard(): {
62
+ copied: boolean;
63
+ copy: (text: string) => Promise<void>;
64
+ };
65
+ export declare function useTheme(): {
66
+ theme: "dark" | "light" | "system";
67
+ toggleTheme: () => void;
68
+ setLightTheme: () => void;
69
+ setDarkTheme: () => void;
70
+ setSystemTheme: () => void;
71
+ };
72
+ export declare function useWindowSize(): {
73
+ width: number;
74
+ height: number;
75
+ };
76
+ export declare function useKeyboardShortcuts(shortcuts: Record<string, () => void>): void;
@@ -0,0 +1,144 @@
1
+ export interface ComponentInfo {
2
+ name: string;
3
+ description: string;
4
+ category: string;
5
+ repo_path: string;
6
+ type: 'component' | 'hook' | 'context' | 'utility';
7
+ tags?: string[];
8
+ }
9
+ export interface SearchResult {
10
+ component: ComponentInfo;
11
+ score: number;
12
+ matchReason: string;
13
+ relevantContext: string[];
14
+ }
15
+ export interface ComponentSearchFilter {
16
+ category?: string;
17
+ type?: 'component' | 'hook' | 'context' | 'utility';
18
+ tags?: string[];
19
+ }
20
+ export interface ComponentCategory {
21
+ name: string;
22
+ description: string;
23
+ components: ComponentInfo[];
24
+ }
25
+ export interface ComponentSummary {
26
+ totalComponents: number;
27
+ categories: Array<{
28
+ name: string;
29
+ count: number;
30
+ description: string;
31
+ }>;
32
+ componentTypes: {
33
+ component: number;
34
+ hook: number;
35
+ context: number;
36
+ utility: number;
37
+ };
38
+ generatedAt: string;
39
+ }
40
+ export interface APIResponse<T> {
41
+ success: boolean;
42
+ data?: T;
43
+ error?: string;
44
+ suggestions?: string[];
45
+ }
46
+ export interface SearchResponse {
47
+ query: string;
48
+ total: number;
49
+ results: Array<{
50
+ component: ComponentInfo;
51
+ relevance: number;
52
+ matchReason: string;
53
+ importPath: string;
54
+ repositoryUrl: string;
55
+ }>;
56
+ categories: string[];
57
+ }
58
+ export interface RecommendationRequest {
59
+ description: string;
60
+ context?: string;
61
+ complexity?: 'simple' | 'medium' | 'complex';
62
+ framework?: string;
63
+ existingComponents?: string[];
64
+ }
65
+ export interface RecommendationResponse {
66
+ recommendations: Array<{
67
+ component: ComponentInfo;
68
+ relevance: number;
69
+ reasoning: string;
70
+ codeExample: string;
71
+ importPath: string;
72
+ repositoryUrl: string;
73
+ }>;
74
+ alternatives: ComponentInfo[];
75
+ implementation: {
76
+ steps: string[];
77
+ codeSnippet: string;
78
+ dependencies: string[];
79
+ };
80
+ }
81
+ export interface CodeGenerationRequest {
82
+ components: string[];
83
+ pattern?: string;
84
+ framework?: string;
85
+ typescript?: boolean;
86
+ styling?: 'css' | 'tailwind' | 'styled-components';
87
+ }
88
+ export interface CodeGenerationResponse {
89
+ imports: string;
90
+ component: string;
91
+ styling: string;
92
+ usage: string;
93
+ explanation: string;
94
+ }
95
+ export interface IntegrationHelpRequest {
96
+ topic: string;
97
+ framework?: string;
98
+ version?: string;
99
+ }
100
+ export interface IntegrationHelpResponse {
101
+ title: string;
102
+ description: string;
103
+ steps: Array<{
104
+ step: number;
105
+ title: string;
106
+ description: string;
107
+ code?: string;
108
+ }>;
109
+ troubleshooting: Array<{
110
+ issue: string;
111
+ solution: string;
112
+ }>;
113
+ relatedComponents: ComponentInfo[];
114
+ }
115
+ export interface DocsRequest {
116
+ component_name: string;
117
+ include_examples?: boolean;
118
+ include_props?: boolean;
119
+ include_styling?: boolean;
120
+ }
121
+ export interface DocsResponse {
122
+ component: ComponentInfo;
123
+ documentation: {
124
+ overview: string;
125
+ usage: string;
126
+ props?: Array<{
127
+ name: string;
128
+ type: string;
129
+ required: boolean;
130
+ description: string;
131
+ default?: string;
132
+ }>;
133
+ examples?: Array<{
134
+ title: string;
135
+ code: string;
136
+ description: string;
137
+ }>;
138
+ styling?: {
139
+ classes: string[];
140
+ customization: string;
141
+ };
142
+ };
143
+ relatedComponents: ComponentInfo[];
144
+ }
@@ -0,0 +1,36 @@
1
+ export namespace SVGs {
2
+ const next: any;
3
+ const previous: any;
4
+ const cloud: any;
5
+ const play: any;
6
+ const email: any;
7
+ const location: any;
8
+ const phone: any;
9
+ const facebook: any;
10
+ const youtube: any;
11
+ const instagram: any;
12
+ const gobackward: any;
13
+ const goforward: any;
14
+ const playF: any;
15
+ const pauseF: any;
16
+ const w_youtube: any;
17
+ const linkedin: any;
18
+ const NotFound: any;
19
+ const visibility: any;
20
+ const visibility_off: any;
21
+ const Trophy: any;
22
+ const chevronUp: any;
23
+ const TrophyCircle: any;
24
+ const climb: any;
25
+ const Vector: any;
26
+ const twitter: any;
27
+ const medal: any;
28
+ const plane: any;
29
+ const squareAndArrow: any;
30
+ const uploads: any;
31
+ const settings: any;
32
+ const highVolume: any;
33
+ const halfVolume: any;
34
+ const muteVolume: any;
35
+ const fullScreen: any;
36
+ }
@@ -1,34 +1,77 @@
1
1
  import React from "react";
2
- interface PhoneNumberInputProps {
2
+ import { PhoneNumberValueType } from "../lib/phoneUtils";
3
+ export interface PhoneNumberInputPropsType {
4
+ /** Initial dial code. Accepts "234", "+234", "+1-242" or an ISO code. */
3
5
  phoneCode?: string;
4
- defaultValues: {
6
+ /**
7
+ * Initial values. `mobile` may already contain a dial code
8
+ * ("+2348031234567") — it is split automatically.
9
+ */
10
+ defaultValues?: {
5
11
  mobile?: string;
12
+ phone_code?: string;
6
13
  [key: string]: any;
7
14
  };
15
+ /** Name of the national number field. Defaults to "mobile". */
8
16
  names?: string;
17
+ /** Name of the dial code field. Defaults to "phone_code". */
18
+ phoneCodeName?: string;
19
+ label?: string;
20
+ placeholder?: string;
21
+ searchPlaceholder?: string;
22
+ noOptionsMessage?: string;
23
+ note?: string;
24
+ required?: boolean;
25
+ disabled?: boolean;
26
+ id?: string;
27
+ className?: string;
28
+ /** Show the "+234 803 123 4567" preview line. Defaults to true. */
29
+ showPreview?: boolean;
30
+ /** ISO codes pinned to the top of the country list, e.g. ["NG", "GB"]. */
31
+ preferredCountries?: string[];
32
+ /**
33
+ * Emit the current value once on mount so the dial code reaches form state
34
+ * even when the user never opens the picker. Defaults to true.
35
+ */
36
+ emitOnMount?: boolean;
37
+ /**
38
+ * Legacy callback. Fired with `{ target: { name, value } }` for both the
39
+ * dial code field and the number field.
40
+ */
9
41
  inputEvent?: (event: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => void;
42
+ /** Preferred callback — receives the fully parsed value. */
43
+ onChange?: (value: PhoneNumberValueType) => void;
44
+ /** Convenience setter that writes both fields into a form state object. */
45
+ setFormData?: React.Dispatch<React.SetStateAction<any>>;
10
46
  }
11
47
  /**
48
+ * Phone number input with a searchable country picker and paste parsing.
12
49
  *
13
50
  * @component
14
51
  * @example
15
52
  * ```jsx
16
53
  * import { PhoneNumberInput } from "@instincthub/react-ui";
17
54
  *
55
+ * const [formData, setFormData] = useState({ mobile: "", phone_code: "" });
56
+ *
18
57
  * <PhoneNumberInput
19
- * phoneCode="234"
20
- * defaultValues={{ mobile: "1234567890" }}
21
- * names="phoneNumber"
22
- * inputEvent={(event) => {
23
- * console.log(event);
58
+ * phoneCode="+234"
59
+ * defaultValues={formData}
60
+ * names="mobile"
61
+ * preferredCountries={["NG", "GB", "US"]}
62
+ * onChange={(value) => {
63
+ * // value.phoneCode -> "+234"
64
+ * // value.nationalNumber -> "8031234567"
65
+ * // value.e164 -> "+2348031234567" <- store this
66
+ * setFormData((prev) => ({ ...prev, ...value }));
24
67
  * }}
25
68
  * />
26
69
  * ```
27
- * Props interface for the PhoneNumberInput component
28
- * @property {string} phoneCode - Default country code
29
- * @property {object} defaultValues - Default values for the input field
30
- * @property {string} names - Name of the input field
31
- * @property {(event: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => void} inputEvent - Callback for input events
70
+ *
71
+ * Search the country list by name ("nigeria"), ISO code ("ng") or dial code
72
+ * ("234" / "+234"). Pasting a full international number
73
+ * ("+234 803 123 4567", "00234...", "2348031234567") selects the country and
74
+ * fills in the remaining digits without truncation.
32
75
  */
33
- declare const PhoneNumberInput: React.FC<PhoneNumberInputProps>;
76
+ declare const PhoneNumberInput: React.FC<PhoneNumberInputPropsType>;
34
77
  export default PhoneNumberInput;
@@ -51,3 +51,4 @@ export { default as SearchableDropdown } from "./SearchableDropdown";
51
51
  export { default as TimePicker } from "./TimePicker";
52
52
  export { default as FileUploader } from "./uploads/FileUploader";
53
53
  export { default as IhubFileUploader } from "./uploads/IhubFileUploader";
54
+ export { default as S3MultiUploader } from "./uploads/S3MultiUploader";