mainstack-design-system 0.7.23 → 0.7.24

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 (446) hide show
  1. package/build/index.d.ts +1398 -0
  2. package/package.json +3 -3
  3. package/build/src/app.d.ts +0 -1
  4. package/build/src/assets/themes/baseThemes.d.ts +0 -2
  5. package/build/src/components/AccordionItem/index.d.ts +0 -14
  6. package/build/src/components/Animations/Loader.d.ts +0 -8
  7. package/build/src/components/Avatars/index.d.ts +0 -15
  8. package/build/src/components/Button/IconButton.d.ts +0 -12
  9. package/build/src/components/Button/index.d.ts +0 -31
  10. package/build/src/components/InputFields/Input.d.ts +0 -23
  11. package/build/src/components/InputFields/MarkdownEditor.d.ts +0 -20
  12. package/build/src/components/InputFields/SearchInput.d.ts +0 -19
  13. package/build/src/components/InputFields/SelectInput/CountrySelect.d.ts +0 -14
  14. package/build/src/components/InputFields/SelectInput/PhoneNumberInput.d.ts +0 -13
  15. package/build/src/components/InputFields/SelectInput/SelectInput.d.ts +0 -33
  16. package/build/src/components/InputFields/SelectInput/index.d.ts +0 -8
  17. package/build/src/components/InputFields/TextArea.d.ts +0 -20
  18. package/build/src/components/InputFields/UrlInput.d.ts +0 -12
  19. package/build/src/components/InputFields/UsernameInput.d.ts +0 -21
  20. package/build/src/components/Tiles/index.d.ts +0 -17
  21. package/build/src/components/Typography/Display.d.ts +0 -18
  22. package/build/src/components/Typography/Heading.d.ts +0 -18
  23. package/build/src/components/Typography/Paragraph.d.ts +0 -18
  24. package/build/src/components/Typography/Subtitle.d.ts +0 -18
  25. package/build/src/components/Uploader/FileUploader.d.ts +0 -15
  26. package/build/src/components/Uploader/ImageUploader.d.ts +0 -16
  27. package/build/src/components/cards/MultipurposeCard.d.ts +0 -16
  28. package/build/src/components/cards/SimpleCard.d.ts +0 -11
  29. package/build/src/components/controls/Chip.d.ts +0 -9
  30. package/build/src/components/controls/DoubleTab.d.ts +0 -12
  31. package/build/src/components/controls/Pagination.d.ts +0 -11
  32. package/build/src/components/controls/RadioButton.d.ts +0 -8
  33. package/build/src/components/controls/RectangleCheckButton.d.ts +0 -8
  34. package/build/src/components/controls/RoundCheckButton.d.ts +0 -8
  35. package/build/src/components/controls/Slider.d.ts +0 -11
  36. package/build/src/components/controls/Stepper.d.ts +0 -15
  37. package/build/src/components/controls/TabMenu.d.ts +0 -12
  38. package/build/src/components/controls/ToggleButton.d.ts +0 -15
  39. package/build/src/components/index.d.ts +0 -44
  40. package/build/src/components/notifications/Banner.d.ts +0 -12
  41. package/build/src/components/notifications/ClickTooltip.d.ts +0 -22
  42. package/build/src/components/notifications/HoverTooltip.d.ts +0 -7
  43. package/build/src/components/notifications/Snackbar.d.ts +0 -12
  44. package/build/src/components/notifications/Tag.d.ts +0 -11
  45. package/build/src/components/styleGuide/Colors.d.ts +0 -166
  46. package/build/src/hooks/useImageUpload.d.ts +0 -17
  47. package/build/src/icons/AccountBalanceIcon.d.ts +0 -4
  48. package/build/src/icons/AccountBalanceWalletFilledIcon.d.ts +0 -4
  49. package/build/src/icons/AccountBalanceWalletIcon.d.ts +0 -4
  50. package/build/src/icons/AccountCircleFilledIcon.d.ts +0 -4
  51. package/build/src/icons/AccountCircleIcon.d.ts +0 -4
  52. package/build/src/icons/AddAPhotoIcon.d.ts +0 -4
  53. package/build/src/icons/AddBusinessFilledIcon.d.ts +0 -4
  54. package/build/src/icons/AddBusinessIcon.d.ts +0 -4
  55. package/build/src/icons/AddCircleFilledIcon.d.ts +0 -4
  56. package/build/src/icons/AddCircleIcon.d.ts +0 -4
  57. package/build/src/icons/AddIcon.d.ts +0 -4
  58. package/build/src/icons/AddPhotoAlternateIcon.d.ts +0 -4
  59. package/build/src/icons/AddShoppingCartIcon.d.ts +0 -4
  60. package/build/src/icons/AddToSocialsIcon.d.ts +0 -4
  61. package/build/src/icons/AddsClickIcon.d.ts +0 -4
  62. package/build/src/icons/AdminPanelSettingsIcon.d.ts +0 -4
  63. package/build/src/icons/AirplaneModeActiveIcon.d.ts +0 -4
  64. package/build/src/icons/AlarmIcon.d.ts +0 -4
  65. package/build/src/icons/AllInboxIcon.d.ts +0 -4
  66. package/build/src/icons/AnimationIcon.d.ts +0 -4
  67. package/build/src/icons/ApartmentIcon.d.ts +0 -4
  68. package/build/src/icons/AppsFilledIcon.d.ts +0 -4
  69. package/build/src/icons/AppsIcon.d.ts +0 -4
  70. package/build/src/icons/ArchiveIcon.d.ts +0 -4
  71. package/build/src/icons/ArrowBackIcon.d.ts +0 -4
  72. package/build/src/icons/ArrowCircleDownFilledIcon.d.ts +0 -4
  73. package/build/src/icons/ArrowCircleUpFilledIcon.d.ts +0 -4
  74. package/build/src/icons/ArrowDropDownIcon.d.ts +0 -4
  75. package/build/src/icons/ArrowDropUpIcon.d.ts +0 -4
  76. package/build/src/icons/ArrowForwardIcon.d.ts +0 -4
  77. package/build/src/icons/ArtTrackIcon.d.ts +0 -4
  78. package/build/src/icons/ArticleFilledIcon.d.ts +0 -4
  79. package/build/src/icons/ArticleIcon.d.ts +0 -4
  80. package/build/src/icons/AttachMoneyIcon.d.ts +0 -4
  81. package/build/src/icons/AttachmentIcon.d.ts +0 -4
  82. package/build/src/icons/AudioFileFilledIcon.d.ts +0 -4
  83. package/build/src/icons/AudioFileIcon.d.ts +0 -4
  84. package/build/src/icons/AutoAwesomeMosaicFilledIcon.d.ts +0 -4
  85. package/build/src/icons/AutoAwesomeMosaicIcon.d.ts +0 -4
  86. package/build/src/icons/AutoFixFilledIcon.d.ts +0 -4
  87. package/build/src/icons/AutoFixIcon.d.ts +0 -4
  88. package/build/src/icons/AutoGraphIcon.d.ts +0 -4
  89. package/build/src/icons/AwardStarFilledIcon.d.ts +0 -4
  90. package/build/src/icons/AwardStarIcon.d.ts +0 -4
  91. package/build/src/icons/BarChartFilledIcon.d.ts +0 -4
  92. package/build/src/icons/BlockIcon.d.ts +0 -4
  93. package/build/src/icons/BoltFilledIcon.d.ts +0 -4
  94. package/build/src/icons/BoltIcon.d.ts +0 -4
  95. package/build/src/icons/Book5FilledIcon.d.ts +0 -4
  96. package/build/src/icons/BookOnlineIcon.d.ts +0 -4
  97. package/build/src/icons/BugReportIcon.d.ts +0 -4
  98. package/build/src/icons/BusinessCenterFilledIcon.d.ts +0 -4
  99. package/build/src/icons/BusinessCenterIcon.d.ts +0 -4
  100. package/build/src/icons/CalendarMonthFilledIcon.d.ts +0 -4
  101. package/build/src/icons/CalendarMonthIcon.d.ts +0 -4
  102. package/build/src/icons/CalendarTodayIcon.d.ts +0 -4
  103. package/build/src/icons/CallMadeIcon.d.ts +0 -4
  104. package/build/src/icons/CallMissedIcon.d.ts +0 -4
  105. package/build/src/icons/CallMissedOutgoingIcon.d.ts +0 -4
  106. package/build/src/icons/CallRecievedIcon.d.ts +0 -4
  107. package/build/src/icons/CampaignFilledIcon.d.ts +0 -4
  108. package/build/src/icons/CampaignIcon.d.ts +0 -4
  109. package/build/src/icons/CancelFilledIcon.d.ts +0 -4
  110. package/build/src/icons/CancelIcon.d.ts +0 -4
  111. package/build/src/icons/CaptivePortalIcon.d.ts +0 -4
  112. package/build/src/icons/CardLayoutIcon.d.ts +0 -4
  113. package/build/src/icons/CasesFilledIcon.d.ts +0 -4
  114. package/build/src/icons/CasesIcon.d.ts +0 -4
  115. package/build/src/icons/CategoryIcon.d.ts +0 -4
  116. package/build/src/icons/ChairIcon.d.ts +0 -4
  117. package/build/src/icons/ChangeCircleIcon.d.ts +0 -4
  118. package/build/src/icons/ChatBubbleFilledIcon.d.ts +0 -4
  119. package/build/src/icons/ChatBubbleIcon.d.ts +0 -4
  120. package/build/src/icons/ChatFilledIcon.d.ts +0 -4
  121. package/build/src/icons/ChatIcon.d.ts +0 -4
  122. package/build/src/icons/CheckCircleFilledIcon.d.ts +0 -4
  123. package/build/src/icons/CheckCircleIcon.d.ts +0 -4
  124. package/build/src/icons/CheckIcon.d.ts +0 -4
  125. package/build/src/icons/ChevronLeftIcon.d.ts +0 -3
  126. package/build/src/icons/ChevronRightIcon.d.ts +0 -3
  127. package/build/src/icons/CloseIcon.d.ts +0 -4
  128. package/build/src/icons/CloudUploadIcon.d.ts +0 -4
  129. package/build/src/icons/CodeIcon.d.ts +0 -4
  130. package/build/src/icons/CoffeeIcon.d.ts +0 -4
  131. package/build/src/icons/CollectionsBookmarkIcon.d.ts +0 -4
  132. package/build/src/icons/ColorPickerIcon.d.ts +0 -4
  133. package/build/src/icons/CommentCircleAltChatMessageIcon.d.ts +0 -4
  134. package/build/src/icons/CompareArrowsIcon.d.ts +0 -4
  135. package/build/src/icons/ConfirmationNumberIcon.d.ts +0 -4
  136. package/build/src/icons/ContactMailFilledIcon.d.ts +0 -4
  137. package/build/src/icons/ContactMailIcon.d.ts +0 -3
  138. package/build/src/icons/ContactPageIcon.d.ts +0 -4
  139. package/build/src/icons/ContactPhoneFilledIcon.d.ts +0 -4
  140. package/build/src/icons/ContactPhoneIcon.d.ts +0 -4
  141. package/build/src/icons/ContactSupportIcon.d.ts +0 -4
  142. package/build/src/icons/ContactsIcon.d.ts +0 -4
  143. package/build/src/icons/ContentCopyIcon.d.ts +0 -4
  144. package/build/src/icons/CopyIcon.d.ts +0 -4
  145. package/build/src/icons/CourseFilledIcon.d.ts +0 -4
  146. package/build/src/icons/CourseIcon.d.ts +0 -4
  147. package/build/src/icons/CreditCardFilledIcon.d.ts +0 -4
  148. package/build/src/icons/CreditCardIcon.d.ts +0 -4
  149. package/build/src/icons/CurrencyExchangeIcon.d.ts +0 -4
  150. package/build/src/icons/DarkModeIcon.d.ts +0 -4
  151. package/build/src/icons/DashboardFilledIcon.d.ts +0 -4
  152. package/build/src/icons/DashboardIcon.d.ts +0 -4
  153. package/build/src/icons/DatabaseFilledIcon.d.ts +0 -4
  154. package/build/src/icons/DeleteIcon.d.ts +0 -4
  155. package/build/src/icons/DescriptionIcon.d.ts +0 -4
  156. package/build/src/icons/DesktopMacIcon.d.ts +0 -4
  157. package/build/src/icons/DevicesIcon.d.ts +0 -4
  158. package/build/src/icons/DiamondFilledIcon.d.ts +0 -4
  159. package/build/src/icons/DiamondIcon.d.ts +0 -4
  160. package/build/src/icons/DigitalProductsIcon.d.ts +0 -4
  161. package/build/src/icons/DiscountIcon.d.ts +0 -4
  162. package/build/src/icons/Diversity1Icon.d.ts +0 -4
  163. package/build/src/icons/Diversity2Icon.d.ts +0 -4
  164. package/build/src/icons/Diversity3Icon.d.ts +0 -4
  165. package/build/src/icons/DnsIcon.d.ts +0 -4
  166. package/build/src/icons/DoNotDisturbOnFilledIcon.d.ts +0 -4
  167. package/build/src/icons/DoNotDisturbOnIcon.d.ts +0 -4
  168. package/build/src/icons/DomainAddIcon.d.ts +0 -4
  169. package/build/src/icons/DomainIcon.d.ts +0 -4
  170. package/build/src/icons/DomainVerificationIcon.d.ts +0 -4
  171. package/build/src/icons/DownloadIcon.d.ts +0 -4
  172. package/build/src/icons/DraftsIcon.d.ts +0 -4
  173. package/build/src/icons/DragHandleIcon.d.ts +0 -4
  174. package/build/src/icons/DragIndicatorIcon.d.ts +0 -4
  175. package/build/src/icons/EditFilledIcon.d.ts +0 -4
  176. package/build/src/icons/EditIcon.d.ts +0 -4
  177. package/build/src/icons/EmojiEventsFilledIcon.d.ts +0 -4
  178. package/build/src/icons/EmojiEventsIcon.d.ts +0 -4
  179. package/build/src/icons/EmojiFoodBeverageIcon.d.ts +0 -4
  180. package/build/src/icons/EmojiIcon.d.ts +0 -4
  181. package/build/src/icons/EmptyIcon.d.ts +0 -4
  182. package/build/src/icons/EncryptedIcon.d.ts +0 -4
  183. package/build/src/icons/EnterpriseFilledIcon.d.ts +0 -4
  184. package/build/src/icons/EnterpriseIcon.d.ts +0 -4
  185. package/build/src/icons/EqualIcon.d.ts +0 -4
  186. package/build/src/icons/ErrorFilledIcon.d.ts +0 -4
  187. package/build/src/icons/ErrorIcon.d.ts +0 -4
  188. package/build/src/icons/EventFilledIcon.d.ts +0 -4
  189. package/build/src/icons/EventIcon.d.ts +0 -4
  190. package/build/src/icons/EventTicketIcon.d.ts +0 -4
  191. package/build/src/icons/ExpandLessIcon.d.ts +0 -4
  192. package/build/src/icons/ExpandMoreIcon.d.ts +0 -4
  193. package/build/src/icons/FastActionPricingIcon.d.ts +0 -4
  194. package/build/src/icons/FeedFilledIcon.d.ts +0 -4
  195. package/build/src/icons/FeedIcon.d.ts +0 -4
  196. package/build/src/icons/FilePresentIcon.d.ts +0 -4
  197. package/build/src/icons/FilterListIcon.d.ts +0 -4
  198. package/build/src/icons/FingerprintIcon.d.ts +0 -4
  199. package/build/src/icons/FitbitArrowDownIcon.d.ts +0 -4
  200. package/build/src/icons/FitbitArrowUpwardIcon.d.ts +0 -4
  201. package/build/src/icons/FlagIcon.d.ts +0 -4
  202. package/build/src/icons/FootPrintIcon.d.ts +0 -4
  203. package/build/src/icons/FormatAlignCenterIcon.d.ts +0 -4
  204. package/build/src/icons/FormatAlignJustifyIcon.d.ts +0 -4
  205. package/build/src/icons/FormatAlignLeftIcon.d.ts +0 -4
  206. package/build/src/icons/FormatAlignRightIcon.d.ts +0 -4
  207. package/build/src/icons/FormatBoldIcon.d.ts +0 -4
  208. package/build/src/icons/FormatItalicIcon.d.ts +0 -4
  209. package/build/src/icons/FormatListBulletedIcon.d.ts +0 -4
  210. package/build/src/icons/FormatListNumberedIcon.d.ts +0 -4
  211. package/build/src/icons/FormatSizeIcon.d.ts +0 -4
  212. package/build/src/icons/FormatUnderlineIcon.d.ts +0 -4
  213. package/build/src/icons/ForumIcon.d.ts +0 -4
  214. package/build/src/icons/ForwardToInboxIcon.d.ts +0 -4
  215. package/build/src/icons/GalleryThumbnailIcon.d.ts +0 -4
  216. package/build/src/icons/GooglePayIcon.d.ts +0 -4
  217. package/build/src/icons/GppBadFilledIcon.d.ts +0 -4
  218. package/build/src/icons/GppBadIcon.d.ts +0 -4
  219. package/build/src/icons/GppMaybeFilledIcon.d.ts +0 -4
  220. package/build/src/icons/GppMaybeIcon.d.ts +0 -4
  221. package/build/src/icons/GridViewIcon.d.ts +0 -4
  222. package/build/src/icons/GroupFilledIcon.d.ts +0 -4
  223. package/build/src/icons/GroupIcon.d.ts +0 -4
  224. package/build/src/icons/HeadphonesIcon.d.ts +0 -4
  225. package/build/src/icons/HomeFilledIcon.d.ts +0 -4
  226. package/build/src/icons/HomeIcon.d.ts +0 -4
  227. package/build/src/icons/HomePinIcon.d.ts +0 -4
  228. package/build/src/icons/HourGlassEmptyIcon.d.ts +0 -4
  229. package/build/src/icons/HourGlassTopIcon.d.ts +0 -4
  230. package/build/src/icons/HubIcon.d.ts +0 -4
  231. package/build/src/icons/IdCardIcon.d.ts +0 -4
  232. package/build/src/icons/InfoFilledIcon.d.ts +0 -4
  233. package/build/src/icons/InfoGradientFilledIcon.d.ts +0 -4
  234. package/build/src/icons/InfoIcon.d.ts +0 -4
  235. package/build/src/icons/InsertChartFilledIcon.d.ts +0 -4
  236. package/build/src/icons/InsertChartIcon.d.ts +0 -4
  237. package/build/src/icons/IntegrationsIcon.d.ts +0 -4
  238. package/build/src/icons/InventoryIcon.d.ts +0 -4
  239. package/build/src/icons/IosShareIcon.d.ts +0 -4
  240. package/build/src/icons/KeyIcon.d.ts +0 -4
  241. package/build/src/icons/KeyOffIcon.d.ts +0 -4
  242. package/build/src/icons/KeyboardBackspaceIcon.d.ts +0 -4
  243. package/build/src/icons/LabelIcon.d.ts +0 -4
  244. package/build/src/icons/LanguageIcon.d.ts +0 -4
  245. package/build/src/icons/LibraryMusicIcon.d.ts +0 -4
  246. package/build/src/icons/LinkIcon.d.ts +0 -4
  247. package/build/src/icons/LinkOffIcon.d.ts +0 -4
  248. package/build/src/icons/LocalActivityIcon.d.ts +0 -4
  249. package/build/src/icons/LocalFloristFilledIcon.d.ts +0 -4
  250. package/build/src/icons/LocalFloristIcon.d.ts +0 -4
  251. package/build/src/icons/LocationOnIcon.d.ts +0 -4
  252. package/build/src/icons/LockIcon.d.ts +0 -4
  253. package/build/src/icons/LoginIcon.d.ts +0 -4
  254. package/build/src/icons/LogoutIcon.d.ts +0 -4
  255. package/build/src/icons/MailIcon.d.ts +0 -4
  256. package/build/src/icons/MarkUnreadChatIcon.d.ts +0 -4
  257. package/build/src/icons/MasterClassIcon.d.ts +0 -4
  258. package/build/src/icons/MediaLinkFilledIcon.d.ts +0 -4
  259. package/build/src/icons/MediaLinkIcon.d.ts +0 -4
  260. package/build/src/icons/MenuIcon.d.ts +0 -4
  261. package/build/src/icons/MenuOpenIcon.d.ts +0 -4
  262. package/build/src/icons/MilitaryTechFilledIcon.d.ts +0 -4
  263. package/build/src/icons/MilitaryTechIcon.d.ts +0 -4
  264. package/build/src/icons/MonitoringIcon.d.ts +0 -4
  265. package/build/src/icons/MoreHorizontalIcon.d.ts +0 -4
  266. package/build/src/icons/MoreHorizontalSmallIcon.d.ts +0 -4
  267. package/build/src/icons/MoreVerticalIcon.d.ts +0 -4
  268. package/build/src/icons/NotificationsFilledIcon.d.ts +0 -4
  269. package/build/src/icons/NotificationsIcon.d.ts +0 -4
  270. package/build/src/icons/OpenInNewIcon.d.ts +0 -4
  271. package/build/src/icons/OthersIcon.d.ts +0 -4
  272. package/build/src/icons/PageViewIcon.d.ts +0 -4
  273. package/build/src/icons/PaidFilledIcon.d.ts +0 -4
  274. package/build/src/icons/PaidIcon.d.ts +0 -4
  275. package/build/src/icons/PaletteFilledIcon.d.ts +0 -4
  276. package/build/src/icons/PaletteIcon.d.ts +0 -4
  277. package/build/src/icons/PauseIcon.d.ts +0 -4
  278. package/build/src/icons/PayInTranchesIcon.d.ts +0 -4
  279. package/build/src/icons/PaymentsFilledIcon.d.ts +0 -4
  280. package/build/src/icons/PaymentsIcon.d.ts +0 -4
  281. package/build/src/icons/PendingActionsIcon.d.ts +0 -4
  282. package/build/src/icons/PercentIcon.d.ts +0 -4
  283. package/build/src/icons/PermMediaIcon.d.ts +0 -4
  284. package/build/src/icons/PersonAddIcon.d.ts +0 -4
  285. package/build/src/icons/PersonBookFilledIcon.d.ts +0 -4
  286. package/build/src/icons/PersonBookIcon.d.ts +0 -4
  287. package/build/src/icons/PersonFilledIcon.d.ts +0 -4
  288. package/build/src/icons/PersonIcon.d.ts +0 -4
  289. package/build/src/icons/PhotoCameraIcon.d.ts +0 -4
  290. package/build/src/icons/PhotoFilledIcon.d.ts +0 -4
  291. package/build/src/icons/PhotoIcon.d.ts +0 -4
  292. package/build/src/icons/PhotoLibraryFilledIcon.d.ts +0 -4
  293. package/build/src/icons/PhotoLibraryIcon.d.ts +0 -4
  294. package/build/src/icons/PictureAsPdfFilledIcon.d.ts +0 -4
  295. package/build/src/icons/PictureAsPdfIcon.d.ts +0 -4
  296. package/build/src/icons/PlayArrowIcon.d.ts +0 -4
  297. package/build/src/icons/PlayCircleFilledIcon.d.ts +0 -4
  298. package/build/src/icons/PlayCircleIcon.d.ts +0 -4
  299. package/build/src/icons/PowerRoundedIcon.d.ts +0 -4
  300. package/build/src/icons/PreviewIcon.d.ts +0 -4
  301. package/build/src/icons/PublicIcon.d.ts +0 -4
  302. package/build/src/icons/PublishIcon.d.ts +0 -4
  303. package/build/src/icons/PushPinFilledIcon.d.ts +0 -4
  304. package/build/src/icons/PushPinIcon.d.ts +0 -4
  305. package/build/src/icons/QrCode2Icon.d.ts +0 -4
  306. package/build/src/icons/QuestionMarkIcon.d.ts +0 -4
  307. package/build/src/icons/RadioButtonCheckedIcon.d.ts +0 -4
  308. package/build/src/icons/RadioButtonUncheckedIcon.d.ts +0 -4
  309. package/build/src/icons/RecieptLongFilledIcon.d.ts +0 -4
  310. package/build/src/icons/RecieptLongIcon.d.ts +0 -4
  311. package/build/src/icons/RecordVoiceOverIcon.d.ts +0 -4
  312. package/build/src/icons/RedeemIcon.d.ts +0 -4
  313. package/build/src/icons/RedoIcon.d.ts +0 -4
  314. package/build/src/icons/RemoveIcon.d.ts +0 -4
  315. package/build/src/icons/RemoveRoadIcon.d.ts +0 -4
  316. package/build/src/icons/ReportFilledIcon.d.ts +0 -4
  317. package/build/src/icons/ReportIcon.d.ts +0 -4
  318. package/build/src/icons/ReviewsIcon.d.ts +0 -4
  319. package/build/src/icons/SavingsFilledIcon.d.ts +0 -4
  320. package/build/src/icons/SavingsIcon.d.ts +0 -4
  321. package/build/src/icons/ScheduleIcon.d.ts +0 -4
  322. package/build/src/icons/ScheduleSendIcon.d.ts +0 -4
  323. package/build/src/icons/SearchNormalIcon.d.ts +0 -4
  324. package/build/src/icons/SellIcon.d.ts +0 -4
  325. package/build/src/icons/SendIcon.d.ts +0 -4
  326. package/build/src/icons/ServicesIcon.d.ts +0 -4
  327. package/build/src/icons/SettingsFilledIcon.d.ts +0 -4
  328. package/build/src/icons/SettingsIcon.d.ts +0 -4
  329. package/build/src/icons/ShareIcon.d.ts +0 -4
  330. package/build/src/icons/ShareWithContactsIcon.d.ts +0 -4
  331. package/build/src/icons/ShareWithSocialsIcon.d.ts +0 -4
  332. package/build/src/icons/ShoppingCartFilledIcon.d.ts +0 -4
  333. package/build/src/icons/ShoppingCartIcon.d.ts +0 -4
  334. package/build/src/icons/ShuffleIcon.d.ts +0 -4
  335. package/build/src/icons/SmartPhoneIcon.d.ts +0 -4
  336. package/build/src/icons/SocialLeaderboardIcon.d.ts +0 -4
  337. package/build/src/icons/StarFilledIcon.d.ts +0 -4
  338. package/build/src/icons/StarHalfIcon.d.ts +0 -4
  339. package/build/src/icons/StarIcon.d.ts +0 -4
  340. package/build/src/icons/StoreFrontFilledIcon.d.ts +0 -4
  341. package/build/src/icons/StoreFrontIcon.d.ts +0 -4
  342. package/build/src/icons/StrikeThroughSIcon.d.ts +0 -4
  343. package/build/src/icons/StyleIcon.d.ts +0 -4
  344. package/build/src/icons/SubscriptionIcon.d.ts +0 -4
  345. package/build/src/icons/SubscriptionsFilledIcon.d.ts +0 -4
  346. package/build/src/icons/SubscriptionsIcon.d.ts +0 -4
  347. package/build/src/icons/SupervisorAccountIcon.d.ts +0 -4
  348. package/build/src/icons/SwitchAccountFilledIcon.d.ts +0 -4
  349. package/build/src/icons/SwitchAccountIcon.d.ts +0 -4
  350. package/build/src/icons/SyncSavedLocallyIcon.d.ts +0 -4
  351. package/build/src/icons/TabletIcon.d.ts +0 -4
  352. package/build/src/icons/ThumbDownFilledIcon.d.ts +0 -4
  353. package/build/src/icons/ThumbDownIcon.d.ts +0 -4
  354. package/build/src/icons/ThumbUpFilledIcon.d.ts +0 -4
  355. package/build/src/icons/ThumbUpIcon.d.ts +0 -4
  356. package/build/src/icons/TocIcon.d.ts +0 -4
  357. package/build/src/icons/TrainingsIcon.d.ts +0 -4
  358. package/build/src/icons/TrashDeleteBinIcon.d.ts +0 -4
  359. package/build/src/icons/TrendingUpIcon.d.ts +0 -4
  360. package/build/src/icons/UndoIcon.d.ts +0 -4
  361. package/build/src/icons/UnfoldMoreIcon.d.ts +0 -4
  362. package/build/src/icons/UploadIcon.d.ts +0 -4
  363. package/build/src/icons/VerifiedIcon.d.ts +0 -4
  364. package/build/src/icons/VideoCamIcon.d.ts +0 -4
  365. package/build/src/icons/VideoFileIcon.d.ts +0 -4
  366. package/build/src/icons/ViewAgendaIcon.d.ts +0 -4
  367. package/build/src/icons/ViewArrayIcon.d.ts +0 -4
  368. package/build/src/icons/ViewCarouselIcon.d.ts +0 -4
  369. package/build/src/icons/ViewCozyIcon.d.ts +0 -4
  370. package/build/src/icons/ViewModuleIcon.d.ts +0 -4
  371. package/build/src/icons/VisibilityIcon.d.ts +0 -4
  372. package/build/src/icons/VisibilityOffIcon.d.ts +0 -4
  373. package/build/src/icons/VolunteerActivismFilledIcon.d.ts +0 -4
  374. package/build/src/icons/VolunteerActivismIcon.d.ts +0 -4
  375. package/build/src/icons/WBSunnyIcon.d.ts +0 -4
  376. package/build/src/icons/WarningFilledIcon.d.ts +0 -4
  377. package/build/src/icons/WarningIcon.d.ts +0 -4
  378. package/build/src/icons/WebinarsIcon.d.ts +0 -4
  379. package/build/src/icons/WidgetsFilledIcon.d.ts +0 -4
  380. package/build/src/icons/WidgetsIcon.d.ts +0 -4
  381. package/build/src/icons/WorkshopsIcon.d.ts +0 -4
  382. package/build/src/icons/index.d.ts +0 -334
  383. package/build/src/index.d.ts +0 -3
  384. package/build/src/pages/Home.d.ts +0 -2
  385. package/build/src/pages/Login.d.ts +0 -2
  386. package/build/src/pages/Page404.d.ts +0 -2
  387. package/build/src/pages/index.d.ts +0 -2
  388. package/build/src/routes/index.d.ts +0 -6
  389. package/build/src/stories/Accordion/Accordion.stories.d.ts +0 -13
  390. package/build/src/stories/Accordion/AccordionWrapper.d.ts +0 -4
  391. package/build/src/stories/Avatars/Avatar.stories.d.ts +0 -12
  392. package/build/src/stories/Buttons/Button.stories.d.ts +0 -17
  393. package/build/src/stories/Buttons/IconButton.stories.d.ts +0 -13
  394. package/build/src/stories/Buttons/IconButtonWrapper.d.ts +0 -4
  395. package/build/src/stories/InputFields/InputFields.stories.d.ts +0 -11
  396. package/build/src/stories/InputFields/MarkdownEditor.stories.d.ts +0 -8
  397. package/build/src/stories/InputFields/SearchInput.d.ts +0 -4
  398. package/build/src/stories/InputFields/SearchInput.stories.d.ts +0 -7
  399. package/build/src/stories/InputFields/Select/CountrySelect.stories.d.ts +0 -7
  400. package/build/src/stories/InputFields/Select/CountrySelectWrapper.d.ts +0 -4
  401. package/build/src/stories/InputFields/Select/CreatableSelect.stories.d.ts +0 -8
  402. package/build/src/stories/InputFields/Select/CreatableSelectWrapper.d.ts +0 -4
  403. package/build/src/stories/InputFields/Select/PhoneNumberInput.stories.d.ts +0 -9
  404. package/build/src/stories/InputFields/Select/PhoneNumberInputWrapper.d.ts +0 -4
  405. package/build/src/stories/InputFields/Select/Select.stories.d.ts +0 -8
  406. package/build/src/stories/InputFields/Select/SelectWrapper.d.ts +0 -4
  407. package/build/src/stories/InputFields/TextArea.stories.d.ts +0 -7
  408. package/build/src/stories/InputFields/UrlInput.stories.d.ts +0 -14
  409. package/build/src/stories/InputFields/UsernameInput.stories.d.ts +0 -7
  410. package/build/src/stories/Tiles/Tile.stories.d.ts +0 -16
  411. package/build/src/stories/Tiles/TileWrapper.d.ts +0 -4
  412. package/build/src/stories/Typography/DisplayText.stories.d.ts +0 -12
  413. package/build/src/stories/Typography/HeadingText.stories.d.ts +0 -18
  414. package/build/src/stories/Typography/ParagraphText.stories.d.ts +0 -14
  415. package/build/src/stories/Typography/SubtitleText.stories.d.ts +0 -19
  416. package/build/src/stories/Uploaders/FileUploadWrapper.d.ts +0 -4
  417. package/build/src/stories/Uploaders/FileUploader.stories.d.ts +0 -7
  418. package/build/src/stories/Uploaders/ImageUploadWrapper.d.ts +0 -4
  419. package/build/src/stories/Uploaders/ImageUploader.stories.d.ts +0 -7
  420. package/build/src/stories/cards/MultipurposeCard.stories.d.ts +0 -9
  421. package/build/src/stories/cards/SimpleCard.stories.d.ts +0 -8
  422. package/build/src/stories/colors/index.d.ts +0 -3
  423. package/build/src/stories/controls/Chip.stories.d.ts +0 -10
  424. package/build/src/stories/controls/DoubleTab.stories.d.ts +0 -7
  425. package/build/src/stories/controls/DoubleTabWrapper.d.ts +0 -4
  426. package/build/src/stories/controls/Pagination.stories.d.ts +0 -7
  427. package/build/src/stories/controls/PaginationWrapper.d.ts +0 -4
  428. package/build/src/stories/controls/RadioButton.stories.d.ts +0 -11
  429. package/build/src/stories/controls/RectangleCheckButton.stories.d.ts +0 -10
  430. package/build/src/stories/controls/RoundCheckButton.stories.d.ts +0 -10
  431. package/build/src/stories/controls/Slider.stories.d.ts +0 -7
  432. package/build/src/stories/controls/Stepper.stories.d.ts +0 -7
  433. package/build/src/stories/controls/StepperDemoCmp.d.ts +0 -4
  434. package/build/src/stories/controls/TabMenu.stories.d.ts +0 -7
  435. package/build/src/stories/controls/TabMenuWrapper.d.ts +0 -4
  436. package/build/src/stories/controls/ToggleButton.stories.d.ts +0 -10
  437. package/build/src/stories/icons/index.d.ts +0 -334
  438. package/build/src/stories/notifications/Banner.stories.d.ts +0 -14
  439. package/build/src/stories/notifications/ClickTooltip.stories.d.ts +0 -14
  440. package/build/src/stories/notifications/ClickTooltipWrapper.d.ts +0 -4
  441. package/build/src/stories/notifications/HoverTooltip.stories.d.ts +0 -9
  442. package/build/src/stories/notifications/HoverTooltipWrapper.d.ts +0 -4
  443. package/build/src/stories/notifications/Snackbar.stories.d.ts +0 -22
  444. package/build/src/stories/notifications/SnackbarWrapper.d.ts +0 -2
  445. package/build/src/stories/notifications/Tag.stories.d.ts +0 -9
  446. package/build/src/utils/countries-flag.json.d.ts +0 -1755
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.7.23",
3
+ "version": "0.7.24",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
- "types": "build/src/index.d.ts",
6
+ "types": "build/index.d.ts",
7
7
  "files": [
8
8
  "build",
9
9
  "!/storybook-static",
@@ -95,7 +95,7 @@
95
95
  "husky": "^8.0.3",
96
96
  "storybook": "^7.5.3",
97
97
  "vite": "^4.1.0",
98
- "vite-plugin-dts": "^3.7.0",
98
+ "vite-plugin-dts": "^4.5.3",
99
99
  "vite-plugin-lib-inject-css": "^1.3.0"
100
100
  },
101
101
  "description": "<!-- @format -->",
@@ -1 +0,0 @@
1
-
@@ -1,2 +0,0 @@
1
- /** @format */
2
- export declare const theme: Record<string, any>;
@@ -1,14 +0,0 @@
1
- import { AccordionItemProps } from '../../@chakra-ui/react';
2
-
3
- export interface IAccordionItem extends AccordionItemProps {
4
- children?: React.ReactNode;
5
- title: string;
6
- subtitle?: React.ReactNode;
7
- isDraggable?: boolean;
8
- error?: boolean;
9
- maxWidthTitle?: any;
10
- actionButton?: React.ReactNode;
11
- titleTag?: React.ReactNode;
12
- }
13
- declare const AccordionItem: import('../../react').ForwardRefExoticComponent<IAccordionItem & import('../../react').RefAttributes<import('../../@chakra-ui/react').ComponentWithAs<"div", AccordionItemProps>>>;
14
- export default AccordionItem;
@@ -1,8 +0,0 @@
1
- /** @format */
2
- interface ILoader {
3
- width?: string;
4
- height?: string;
5
- color?: string;
6
- }
7
- declare const Loader: ({ width, height, color }: ILoader) => import("react/jsx-runtime").JSX.Element;
8
- export default Loader;
@@ -1,15 +0,0 @@
1
- /** @format */
2
- export interface AvatarProp {
3
- size: "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
4
- }
5
- interface ImageAvatarProp extends AvatarProp {
6
- src?: string;
7
- type: "image";
8
- fallback: "store" | "picture" | "bookings";
9
- }
10
- interface InitialsAvatarProp extends AvatarProp {
11
- name: string;
12
- type: "initials";
13
- }
14
- declare const Avatar: (props: ImageAvatarProp | InitialsAvatarProp) => import("react/jsx-runtime").JSX.Element;
15
- export default Avatar;
@@ -1,12 +0,0 @@
1
- import { ButtonProps } from '../../@chakra-ui/react';
2
-
3
- export interface IconButtonProps extends ButtonProps {
4
- children: React.ReactNode;
5
- size: "small" | "medium" | "large";
6
- bgColor?: string;
7
- textColor?: string;
8
- variant: "primary" | "secondary" | "tertiary" | "outline" | "link";
9
- disabled?: boolean;
10
- }
11
- declare const IconButton: ({ children, size, bgColor, variant, disabled, textColor, onClick, isLoading, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
12
- export default IconButton;
@@ -1,31 +0,0 @@
1
- import { ButtonProps } from '../../@chakra-ui/react';
2
-
3
- export type ButtonVariantType = {
4
- bgColor: string;
5
- color: string;
6
- hoverColor: string;
7
- activeBorderColor: string;
8
- border?: string;
9
- fontSizes?: {
10
- large: string;
11
- medium: string;
12
- small: string;
13
- };
14
- };
15
- export declare const ButtonVariant: Record<string, ButtonVariantType>;
16
- export interface IButtonProps extends ButtonProps {
17
- label?: string | React.ReactNode;
18
- size: "small" | "medium" | "large";
19
- bgColor?: string;
20
- textColor?: string;
21
- variant: "primary" | "secondary" | "tertiary" | "outline" | "link" | "text";
22
- disabled?: boolean;
23
- isLoading?: boolean;
24
- }
25
- interface IButtonPropsWithIcons extends IButtonProps {
26
- hasIcons: true;
27
- icon: React.ReactNode;
28
- icontype: "leading" | "trailing";
29
- }
30
- declare const Button: ({ label, size, bgColor, variant, disabled, textColor, isLoading, onClick, ...props }: IButtonProps | IButtonPropsWithIcons) => import("react/jsx-runtime").JSX.Element;
31
- export default Button;
@@ -1,23 +0,0 @@
1
- import { InputProps } from '../../@chakra-ui/react';
2
-
3
- export interface IInput extends InputProps {
4
- label?: string;
5
- name: string;
6
- value?: any;
7
- id: string;
8
- onChange?: (e?: any) => void;
9
- defaultValue?: any;
10
- placeholder?: string;
11
- type: "text" | "number" | "password" | "email" | "url";
12
- error?: boolean;
13
- errorMessage?: string;
14
- success?: boolean;
15
- successMessage?: string;
16
- hint?: string;
17
- width?: string;
18
- disabled?: boolean;
19
- fontFamily?: string;
20
- leftElement?: JSX.Element | string;
21
- }
22
- declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, disabled, fontFamily, leftElement, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
23
- export default Input;
@@ -1,20 +0,0 @@
1
-
2
- interface IMarkdownEditor {
3
- onChange: (val: string) => void;
4
- border?: string;
5
- placeholder?: string;
6
- onHandleFile: (e: File) => void;
7
- label?: string;
8
- handleGenerateAiDescription?: () => void;
9
- isLoading?: boolean;
10
- hasGenerateWithAi?: boolean;
11
- }
12
- type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
13
- value?: string;
14
- defaultValue?: never;
15
- }) | (IMarkdownEditor & {
16
- defaultValue?: string;
17
- value?: never;
18
- });
19
- declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, ...props }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
20
- export default MarkdownEditor;
@@ -1,19 +0,0 @@
1
- import { InputProps } from '../../@chakra-ui/react';
2
-
3
- export interface ISearchInput extends InputProps {
4
- name: string;
5
- value?: string;
6
- id: string;
7
- onChange?: (e?: any) => void;
8
- defaultValue?: any;
9
- placeholder?: any;
10
- error?: boolean;
11
- errorMessage?: string;
12
- success?: boolean;
13
- successMessage?: string;
14
- hint?: string;
15
- onClear?: any;
16
- fontFamily?: string;
17
- }
18
- declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, fontFamily, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
19
- export default SearchInput;
@@ -1,14 +0,0 @@
1
- /** @format */
2
- export interface ICountrySelectProps {
3
- valueType?: "full" | "code";
4
- options?: any;
5
- label?: string;
6
- placeholder?: string;
7
- onChange?: (e: any) => void;
8
- onBlur?: (e: any) => void;
9
- value?: any;
10
- fontFamily?: string;
11
- disabled?: boolean;
12
- }
13
- declare const CountrySelect: ({ value, onChange, label, valueType, placeholder, options, fontFamily, disabled, }: ICountrySelectProps) => import("react/jsx-runtime").JSX.Element;
14
- export default CountrySelect;
@@ -1,13 +0,0 @@
1
-
2
- export interface IPhoneNumberInputProps {
3
- value?: string;
4
- onChange?: (value: string) => void;
5
- enableSearch?: boolean;
6
- placeholder?: string;
7
- label?: string;
8
- id?: string;
9
- subtext?: string | JSX.Element;
10
- fontFamily?: string;
11
- }
12
- declare const PhoneNumberInput: ({ value, onChange, enableSearch, placeholder, label, id, subtext, fontFamily, }: IPhoneNumberInputProps) => import("react/jsx-runtime").JSX.Element;
13
- export default PhoneNumberInput;
@@ -1,33 +0,0 @@
1
- import { ReactNode } from '../../../react';
2
- import { DropdownIndicatorProps, GroupBase, MultiValueProps, OptionProps, StylesConfig } from '../../../react-select';
3
-
4
- export declare const selectStyles: StylesConfig<any, boolean, GroupBase<any>>;
5
- export type OptionType = {
6
- value: string;
7
- label: string;
8
- };
9
- export interface ISelectInputProps {
10
- label: string;
11
- id: string;
12
- name: string;
13
- placeholder?: string;
14
- onChange?: (e: any) => void;
15
- onInputChange?: (e: any) => void;
16
- onBlur?: (e: any) => void;
17
- options: Array<OptionType>;
18
- value?: any;
19
- defaultValue?: string;
20
- isMulti?: boolean;
21
- hideSelectedOptions?: boolean;
22
- CustomOption?: React.ComponentType<OptionProps<any, boolean, GroupBase<any>>>;
23
- CustomMultiValue?: React.ComponentType<MultiValueProps<any, boolean, GroupBase<any>>>;
24
- disabled?: boolean;
25
- noOptionsMessage?: string;
26
- fontFamily?: string;
27
- openMenuOnFocus?: boolean;
28
- isSearchable?: boolean;
29
- formatOptionLabel?: (arg: any) => ReactNode;
30
- }
31
- export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
32
- export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, isSearchable, formatOptionLabel, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
33
- export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- /** @format */
2
- export { SelectInput } from '../../../SelectInput';
3
- export { CreatableSelectInput } from '../../../SelectInput';
4
- export type { ISelectInputProps } from '../../../SelectInput';
5
- export { default as CountrySelect } from '../../../CountrySelect';
6
- export type { ICountrySelectProps } from '../../../CountrySelect';
7
- export { default as PhoneNumberInput } from '../../../PhoneNumberInput';
8
- export type { IPhoneNumberInputProps } from '../../../PhoneNumberInput';
@@ -1,20 +0,0 @@
1
- import { TextareaProps } from '../../@chakra-ui/react';
2
-
3
- interface ITextArea extends TextareaProps {
4
- label: string;
5
- name: string;
6
- value?: any;
7
- id: string;
8
- onChange?: (e?: any) => void;
9
- defaultValue?: any;
10
- placeholder?: any;
11
- error?: boolean;
12
- errorMessage?: string;
13
- hint?: string;
14
- textLimit?: number;
15
- height?: string;
16
- width?: string;
17
- fontFamily?: string;
18
- }
19
- declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, fontFamily, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
20
- export default TextArea;
@@ -1,12 +0,0 @@
1
- import { InputProps } from '../../@chakra-ui/react';
2
-
3
- interface TUrlInput extends InputProps {
4
- label?: string;
5
- urlLabel: string;
6
- status?: "loading" | "error" | "success" | null;
7
- statusMessage?: string;
8
- success?: boolean;
9
- variant?: "left" | "right";
10
- }
11
- declare const UrlInput: ({ fontFamily, urlLabel, status, statusMessage, label, variant, ...rest }: TUrlInput) => import("react/jsx-runtime").JSX.Element;
12
- export default UrlInput;
@@ -1,21 +0,0 @@
1
- import { InputProps } from '../../@chakra-ui/react';
2
-
3
- interface IInput extends InputProps {
4
- label: string;
5
- name: string;
6
- value?: any;
7
- id: string;
8
- onChange?: (e?: any) => void;
9
- defaultValue?: any;
10
- placeholder?: any;
11
- type?: "text";
12
- errorMessage?: string;
13
- inputLeftMargin?: string;
14
- isChecking?: boolean;
15
- isAvailable?: boolean;
16
- isNotAvailable?: boolean;
17
- width?: string;
18
- usernamePrefix?: string;
19
- }
20
- declare const UsernameInput: ({ label, name, id, value, onChange, defaultValue, placeholder, inputLeftMargin, isChecking, isAvailable, isNotAvailable, errorMessage, width, usernamePrefix, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
21
- export default UsernameInput;
@@ -1,17 +0,0 @@
1
- import { BoxProps } from '../../@chakra-ui/react';
2
- import { ReactNode } from '../../react';
3
-
4
- export interface TileProps extends Omit<BoxProps, "title"> {
5
- isSelected?: boolean;
6
- title?: ReactNode;
7
- image?: string;
8
- subText?: ReactNode;
9
- icon?: JSX.Element;
10
- iconPosition?: "leading" | "trailing" | "top";
11
- hasRadioButton?: boolean;
12
- hasCheckBox?: boolean;
13
- bottomComponent?: ReactNode;
14
- onClick?: () => void;
15
- }
16
- declare const Tile: ({ icon, image, iconPosition, hasRadioButton, hasCheckBox, isSelected, title, subText, onClick, width, bottomComponent, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
17
- export default Tile;
@@ -1,18 +0,0 @@
1
- import { TextProps } from '../../@chakra-ui/react';
2
-
3
- type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m";
4
- type ResponsiveType = {
5
- xl?: DefaultType;
6
- lg?: DefaultType;
7
- md?: DefaultType;
8
- sm?: DefaultType;
9
- base?: DefaultType;
10
- };
11
- interface IDisplay extends TextProps {
12
- children: any;
13
- color?: string;
14
- size: DefaultType | ResponsiveType;
15
- fontFamily?: string;
16
- }
17
- declare const Display: ({ size, color, fontFamily, children, ...props }: IDisplay) => import("react/jsx-runtime").JSX.Element;
18
- export default Display;
@@ -1,18 +0,0 @@
1
- import { TextProps } from '../../@chakra-ui/react';
2
-
3
- type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs" | "4xs" | "5xs";
4
- type ResponsiveType = {
5
- xl?: DefaultType;
6
- lg?: DefaultType;
7
- md?: DefaultType;
8
- sm?: DefaultType;
9
- base?: DefaultType;
10
- };
11
- interface IHeading extends TextProps {
12
- children: any;
13
- color?: string;
14
- size: DefaultType | ResponsiveType;
15
- fontFamily?: string;
16
- }
17
- declare const Heading: ({ size, color, fontFamily, children, ...props }: IHeading) => import("react/jsx-runtime").JSX.Element;
18
- export default Heading;
@@ -1,18 +0,0 @@
1
- import { TextProps } from '../../@chakra-ui/react';
2
-
3
- type DefaultType = "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs";
4
- type ResponsiveType = {
5
- xl?: DefaultType;
6
- lg?: DefaultType;
7
- md?: DefaultType;
8
- sm?: DefaultType;
9
- base?: DefaultType;
10
- };
11
- interface IParagraph extends TextProps {
12
- children: any;
13
- color?: string;
14
- size: DefaultType | ResponsiveType;
15
- fontFamily?: string;
16
- }
17
- declare const Paragraph: ({ size, color, fontFamily, children, ...props }: IParagraph) => import("react/jsx-runtime").JSX.Element;
18
- export default Paragraph;
@@ -1,18 +0,0 @@
1
- import { TextProps } from '../../@chakra-ui/react';
2
-
3
- type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs" | "4xs" | "5xs" | "6xs" | "7xs";
4
- type ResponsiveType = {
5
- xl?: DefaultType;
6
- lg?: DefaultType;
7
- md?: DefaultType;
8
- sm?: DefaultType;
9
- base?: DefaultType;
10
- };
11
- interface ISubtitle extends TextProps {
12
- children: any;
13
- color?: string;
14
- size: DefaultType | ResponsiveType;
15
- fontFamily?: string;
16
- }
17
- declare const Subtitle: ({ size, color, fontFamily, children, ...props }: ISubtitle) => import("react/jsx-runtime").JSX.Element;
18
- export default Subtitle;
@@ -1,15 +0,0 @@
1
- import { ChangeEvent } from '../../react';
2
-
3
- export interface IFileUpload {
4
- file?: File | undefined | null;
5
- onHandleChange: (e: ChangeEvent<HTMLInputElement>) => void;
6
- handleDeleteFile?: () => void;
7
- sizeLimit?: number;
8
- fileActionPopover?: React.ReactNode;
9
- accept?: string;
10
- fileTypeIcon?: JSX.Element;
11
- headerText?: string;
12
- subtitleText?: string;
13
- }
14
- declare const FileUploader: ({ file, onHandleChange, handleDeleteFile, sizeLimit, fileActionPopover, accept, fileTypeIcon, headerText, subtitleText, ...props }: IFileUpload) => import("react/jsx-runtime").JSX.Element;
15
- export default FileUploader;
@@ -1,16 +0,0 @@
1
- import { ChangeEvent } from '../../react';
2
-
3
- export interface IImageUpload {
4
- onHandleChange: (e: ChangeEvent<HTMLInputElement>) => void;
5
- imageArray: string[];
6
- multiple?: boolean;
7
- coverImageIndex?: number;
8
- multiImagePopover?: React.ReactNode;
9
- handleDeleteImage?: (e: any) => void;
10
- handleChangeCoverImage?: (e: any) => void;
11
- accept?: string;
12
- uploadText?: string;
13
- canUploadMultiple?: boolean;
14
- }
15
- declare const ImageUploader: ({ multiple, onHandleChange, imageArray, coverImageIndex, handleDeleteImage, handleChangeCoverImage, multiImagePopover, accept, canUploadMultiple, uploadText, ...props }: IImageUpload) => import("react/jsx-runtime").JSX.Element;
16
- export default ImageUploader;
@@ -1,16 +0,0 @@
1
- /** @format */
2
- /// <reference types="react" />
3
- interface IBigCard {
4
- title: string;
5
- description: string;
6
- variant: "inline" | "block";
7
- icon?: React.ReactNode;
8
- tag?: React.ReactNode;
9
- hasActionButton: boolean;
10
- actionButtonText?: string;
11
- onActionButtonClick?: () => void;
12
- rightElement?: React.ReactNode;
13
- fontFamily?: string;
14
- }
15
- declare const MultipurposeCard: ({ title, description, variant, icon, hasActionButton, rightElement, actionButtonText, onActionButtonClick, tag, fontFamily, }: IBigCard) => import("react/jsx-runtime").JSX.Element;
16
- export default MultipurposeCard;
@@ -1,11 +0,0 @@
1
- /** @format */
2
- /// <reference types="react" />
3
- interface ISmallCard {
4
- title: string;
5
- description: string;
6
- icon?: React.ReactNode;
7
- tag?: React.ReactNode;
8
- fontFamily?: string;
9
- }
10
- declare const SimpleCard: ({ title, description, icon, tag, fontFamily, }: ISmallCard) => import("react/jsx-runtime").JSX.Element;
11
- export default SimpleCard;
@@ -1,9 +0,0 @@
1
- import { FlexProps } from '../../@chakra-ui/react';
2
-
3
- interface Props extends FlexProps {
4
- isChecked: boolean;
5
- label: string;
6
- hasRadio?: boolean;
7
- }
8
- declare const Chip: ({ isChecked, label, hasRadio, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
9
- export default Chip;
@@ -1,12 +0,0 @@
1
- import { TabProps } from '../../@chakra-ui/react';
2
-
3
- export interface DoubleTabProps extends TabProps {
4
- tabIndex?: number;
5
- items: {
6
- name: string;
7
- element: any;
8
- }[];
9
- handleClick?: (index: number) => void;
10
- }
11
- declare const DoubleTab: ({ items, width, tabIndex, handleClick, ...props }: DoubleTabProps) => import("react/jsx-runtime").JSX.Element;
12
- export default DoubleTab;
@@ -1,11 +0,0 @@
1
- /** @format */
2
- export interface PaginationProps {
3
- limit: number;
4
- setLimit: any;
5
- page: number;
6
- setPage: any;
7
- total?: number;
8
- options?: any;
9
- }
10
- declare const Pagination: ({ limit, setLimit, page, setPage, total, options, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
11
- export default Pagination;
@@ -1,8 +0,0 @@
1
- import { RadioProps } from '../../@chakra-ui/react';
2
-
3
- interface Props extends RadioProps {
4
- label?: string;
5
- subtext?: string;
6
- }
7
- declare const RadioButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
- export default RadioButton;
@@ -1,8 +0,0 @@
1
- import { CheckboxProps } from '../../@chakra-ui/react';
2
-
3
- interface Props extends CheckboxProps {
4
- label?: string;
5
- subtext?: string;
6
- }
7
- declare const RectangleCheckButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
- export default RectangleCheckButton;
@@ -1,8 +0,0 @@
1
- import { CheckboxProps } from '../../@chakra-ui/react';
2
-
3
- interface Props extends CheckboxProps {
4
- label?: string;
5
- subtext?: string;
6
- }
7
- declare const RoundCheckButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
- export default RoundCheckButton;
@@ -1,11 +0,0 @@
1
- /** @format */
2
- /// <reference types="react" />
3
- interface ISliderProps {
4
- maxValue: number;
5
- minValue?: number;
6
- sliderValue: number;
7
- setSliderValue: React.Dispatch<React.SetStateAction<number>>;
8
- sliderColor?: string;
9
- }
10
- declare const Slider: ({ maxValue, minValue, sliderValue, setSliderValue, sliderColor, }: ISliderProps) => import("react/jsx-runtime").JSX.Element;
11
- export default Slider;
@@ -1,15 +0,0 @@
1
- import { FlexProps } from '../../@chakra-ui/react';
2
-
3
- export interface StepperProps extends FlexProps {
4
- steps: {
5
- name: string;
6
- id: number;
7
- rightElement?: JSX.Element;
8
- }[];
9
- page: number;
10
- handleStepClick?: (id: number) => void;
11
- color?: string;
12
- bgColor?: string;
13
- }
14
- declare const Stepper: ({ steps, page, handleStepClick, color, bgColor, ...rest }: StepperProps) => import("react/jsx-runtime").JSX.Element;
15
- export default Stepper;
@@ -1,12 +0,0 @@
1
- import { TabProps } from '../../@chakra-ui/react';
2
-
3
- export interface TabMenuProps extends TabProps {
4
- tabIndex?: number;
5
- items: {
6
- name: string;
7
- element: any;
8
- }[];
9
- handleClick?: (index: number) => void;
10
- }
11
- declare const TabMenu: ({ items, width, tabIndex, handleClick, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
12
- export default TabMenu;
@@ -1,15 +0,0 @@
1
- import { SwitchProps, BoxProps } from '../../@chakra-ui/react';
2
-
3
- interface ISwitch extends SwitchProps {
4
- label?: string;
5
- subtext?: string;
6
- refkey?: string;
7
- access?: string;
8
- as?: any;
9
- name?: string;
10
- className?: string;
11
- value?: any;
12
- BoxProp?: BoxProps;
13
- }
14
- declare const ToggleButton: ({ label, subtext, refkey, size, className, value, as, id, onChange, isChecked, name, isDisabled, BoxProp, ...props }: ISwitch) => import("react/jsx-runtime").JSX.Element;
15
- export default ToggleButton;
@@ -1,44 +0,0 @@
1
- /** @format */
2
- export { ChakraProvider as MainstackProvider } from '../@chakra-ui/react';
3
- export { default as Button } from '../Button';
4
- export { default as IconButton } from '../Button/IconButton';
5
- export { default as AccordionItem } from '../AccordionItem';
6
- export { Accordion, AccordionPanel } from '../@chakra-ui/react';
7
- export { default as Avatars } from '../Avatars';
8
- export { default as Chip } from '../controls/Chip';
9
- export { default as DoubleTab } from '../controls/DoubleTab';
10
- export { default as Pagination } from '../controls/Pagination';
11
- export { default as RadioButton } from '../controls/RadioButton';
12
- export { default as RectangleCheckButton } from '../controls/RectangleCheckButton';
13
- export { default as RoundCheckButton } from '../controls/RoundCheckButton';
14
- export { default as Stepper } from '../controls/Stepper';
15
- export { default as TabMenu } from '../controls/TabMenu';
16
- export { default as ToggleButton } from '../controls/ToggleButton';
17
- export { SelectInput } from '../InputFields/SelectInput';
18
- export { CreatableSelectInput } from '../InputFields/SelectInput/SelectInput';
19
- export type { ISelectInputProps } from '../InputFields/SelectInput/SelectInput';
20
- export { default as CountrySelect } from '../InputFields/SelectInput/CountrySelect';
21
- export type { ICountrySelectProps } from '../InputFields/SelectInput/CountrySelect';
22
- export { default as PhoneNumberInput } from '../InputFields/SelectInput/PhoneNumberInput';
23
- export type { IPhoneNumberInputProps } from '../InputFields/SelectInput/PhoneNumberInput';
24
- export { default as Input } from '../InputFields/Input';
25
- export { default as MarkdownEditor } from '../InputFields/MarkdownEditor';
26
- export { default as SearchInput } from '../InputFields/SearchInput';
27
- export { default as TextArea } from '../InputFields/TextArea';
28
- export { default as UsernameInput } from '../InputFields/UsernameInput';
29
- export { default as Banner } from '../notifications/Banner';
30
- export { default as ClickTooltip } from '../notifications/ClickTooltip';
31
- export { default as HoverTooltip } from '../notifications/HoverTooltip';
32
- export { default as Colors } from '../styleGuide/Colors';
33
- export { default as Tiles } from '../Tiles';
34
- export { default as Display } from '../Typography/Display';
35
- export { default as Heading } from '../Typography/Heading';
36
- export { default as Paragraph } from '../Typography/Paragraph';
37
- export { default as Subtitle } from '../Typography/Subtitle';
38
- export { default as FileUploader } from '../Uploader/FileUploader';
39
- export { default as ImageUploader } from '../Uploader/ImageUploader';
40
- export { default as Loader } from '../Animations/Loader';
41
- export { default as UrlInput } from '../InputFields/UrlInput';
42
- export { default as Tag } from '../notifications/Tag';
43
- export { default as Slider } from '../controls/Slider';
44
- export { customSnackbar, CustomSnackbarContainer, SnackbarType, } from '../notifications/Snackbar';