@ovapos/ui 1.0.0

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 (363) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +17 -0
  2. package/dist/components/Accordion/index.d.ts +1 -0
  3. package/dist/components/AddressAutocomplete/AddressAutocomplete.d.ts +12 -0
  4. package/dist/components/AddressAutocomplete/AddressAutocomplete.types.d.ts +26 -0
  5. package/dist/components/AddressAutocomplete/AddressAutocomplete.utils.d.ts +3 -0
  6. package/dist/components/AddressAutocomplete/index.d.ts +1 -0
  7. package/dist/components/AlertBox/AlertBox.d.ts +10 -0
  8. package/dist/components/AlertBox/index.d.ts +2 -0
  9. package/dist/components/AreaChart/AreaChart.d.ts +7 -0
  10. package/dist/components/AreaChart/index.d.ts +1 -0
  11. package/dist/components/Avatar/Avatar.d.ts +17 -0
  12. package/dist/components/Avatar/index.d.ts +1 -0
  13. package/dist/components/BarChart/BarChart.d.ts +8 -0
  14. package/dist/components/BarChart/BarChart.types.d.ts +4 -0
  15. package/dist/components/BarChart/index.d.ts +1 -0
  16. package/dist/components/Button/Button.d.ts +28 -0
  17. package/dist/components/Button/index.d.ts +2 -0
  18. package/dist/components/Calendar/Calendar.d.ts +13 -0
  19. package/dist/components/Calendar/index.d.ts +1 -0
  20. package/dist/components/Card/Card.d.ts +28 -0
  21. package/dist/components/Card/index.d.ts +1 -0
  22. package/dist/components/Carousel/Carousel.d.ts +3 -0
  23. package/dist/components/Carousel/Carousel.types.d.ts +16 -0
  24. package/dist/components/Carousel/Item.d.ts +8 -0
  25. package/dist/components/Carousel/index.d.ts +3 -0
  26. package/dist/components/Carousel/store.d.ts +11 -0
  27. package/dist/components/CarouselNavigation/CarouselNavigation..d.ts +9 -0
  28. package/dist/components/CarouselNavigation/index.d.ts +1 -0
  29. package/dist/components/Chip/Chip.d.ts +15 -0
  30. package/dist/components/Chip/index.d.ts +1 -0
  31. package/dist/components/ConfirmationPopover/ConfirmationPopover.d.ts +11 -0
  32. package/dist/components/ConfirmationPopover/index.d.ts +1 -0
  33. package/dist/components/ContactsList/ContactList.types.d.ts +7 -0
  34. package/dist/components/ContactsList/ContactsList.d.ts +13 -0
  35. package/dist/components/ContactsList/index.d.ts +1 -0
  36. package/dist/components/Container/Container.d.ts +9 -0
  37. package/dist/components/Container/index.d.ts +1 -0
  38. package/dist/components/CookieBanner/CookieBanner.constants.d.ts +3 -0
  39. package/dist/components/CookieBanner/CookieBanner.d.ts +5 -0
  40. package/dist/components/CookieBanner/index.d.ts +1 -0
  41. package/dist/components/DateBox/DateBox.d.ts +8 -0
  42. package/dist/components/DateBox/index.d.ts +1 -0
  43. package/dist/components/DatePicker/DatePicker.d.ts +12 -0
  44. package/dist/components/DatePicker/index.d.ts +1 -0
  45. package/dist/components/DateSelector/DateSelector.d.ts +17 -0
  46. package/dist/components/DateSelector/DateSelector.types.d.ts +1 -0
  47. package/dist/components/DateSelector/index.d.ts +1 -0
  48. package/dist/components/Description/Description.d.ts +13 -0
  49. package/dist/components/Description/index.d.ts +1 -0
  50. package/dist/components/DnD/DnD.constants.d.ts +6 -0
  51. package/dist/components/DnD/DnD.hooks.d.ts +4 -0
  52. package/dist/components/DnD/DnD.types.d.ts +13 -0
  53. package/dist/components/DnD/DnDContext.d.ts +4 -0
  54. package/dist/components/DnD/DnDProvider.d.ts +5 -0
  55. package/dist/components/DnD/Draggable/Draggable.d.ts +8 -0
  56. package/dist/components/DnD/Draggable/index.d.ts +1 -0
  57. package/dist/components/DnD/Droppable.d.ts +9 -0
  58. package/dist/components/DnD/index.d.ts +5 -0
  59. package/dist/components/DonutChart/DonutChart.constants.d.ts +1 -0
  60. package/dist/components/DonutChart/DonutChart.d.ts +12 -0
  61. package/dist/components/DonutChart/DonutChart.types.d.ts +5 -0
  62. package/dist/components/DonutChart/index.d.ts +1 -0
  63. package/dist/components/Drawer/Drawer.d.ts +15 -0
  64. package/dist/components/Drawer/Drawer.types.d.ts +19 -0
  65. package/dist/components/Drawer/Store.d.ts +11 -0
  66. package/dist/components/Drawer/Wrapper.d.ts +9 -0
  67. package/dist/components/Drawer/index.d.ts +3 -0
  68. package/dist/components/DropDown/DropDown.d.ts +4 -0
  69. package/dist/components/DropDown/DropDown.types.d.ts +24 -0
  70. package/dist/components/DropDown/DropDownMenuItem.d.ts +8 -0
  71. package/dist/components/DropDown/index.d.ts +1 -0
  72. package/dist/components/FAQ/FAQ.d.ts +7 -0
  73. package/dist/components/FAQ/FAQ.types.d.ts +5 -0
  74. package/dist/components/FAQ/index.d.ts +1 -0
  75. package/dist/components/FileIcon/FileIcon.d.ts +9 -0
  76. package/dist/components/FileIcon/index.d.ts +1 -0
  77. package/dist/components/Flex/Column/Column.d.ts +3 -0
  78. package/dist/components/Flex/Column/index.d.ts +1 -0
  79. package/dist/components/Flex/Flex.d.ts +9 -0
  80. package/dist/components/Flex/Flex.types.d.ts +30 -0
  81. package/dist/components/Flex/Row/Row.d.ts +3 -0
  82. package/dist/components/Flex/Row/index.d.ts +1 -0
  83. package/dist/components/Flex/index.d.ts +1 -0
  84. package/dist/components/FreeCountdown/FreeCountdown.d.ts +5 -0
  85. package/dist/components/FreeCountdown/index.d.ts +1 -0
  86. package/dist/components/Grid/Grid.d.ts +10 -0
  87. package/dist/components/Grid/index.d.ts +1 -0
  88. package/dist/components/Header/Header.d.ts +12 -0
  89. package/dist/components/Header/Header.types.d.ts +5 -0
  90. package/dist/components/Header/index.d.ts +1 -0
  91. package/dist/components/Heading/Heading.d.ts +8 -0
  92. package/dist/components/Heading/index.d.ts +1 -0
  93. package/dist/components/IconButton/IconButton.d.ts +22 -0
  94. package/dist/components/IconButton/index.d.ts +1 -0
  95. package/dist/components/IconLink/IconLink.d.ts +13 -0
  96. package/dist/components/IconLink/index.d.ts +1 -0
  97. package/dist/components/Input/AutoComplete/AutoComplete.d.ts +4 -0
  98. package/dist/components/Input/Checkbox/Checkbox.d.ts +4 -0
  99. package/dist/components/Input/Checkbox/index.d.ts +1 -0
  100. package/dist/components/Input/DnD/DnD.d.ts +4 -0
  101. package/dist/components/Input/DnD/DnDSelectedFile.d.ts +7 -0
  102. package/dist/components/Input/DnD/index.d.ts +1 -0
  103. package/dist/components/Input/Input.d.ts +3 -0
  104. package/dist/components/Input/Input.types.d.ts +76 -0
  105. package/dist/components/Input/Input.utils.d.ts +2 -0
  106. package/dist/components/Input/NumberSteps/NumberSteps.d.ts +3 -0
  107. package/dist/components/Input/NumberSteps/index.d.ts +1 -0
  108. package/dist/components/Input/RadioInput/RadioInput.d.ts +4 -0
  109. package/dist/components/Input/RadioInput/index.d.ts +1 -0
  110. package/dist/components/Input/Select.d.ts +4 -0
  111. package/dist/components/Input/Slider/Slider.d.ts +4 -0
  112. package/dist/components/Input/Slider/index.d.ts +1 -0
  113. package/dist/components/Input/TextArea/TextArea.d.ts +4 -0
  114. package/dist/components/Input/TextArea/index.d.ts +1 -0
  115. package/dist/components/Input/index.d.ts +1 -0
  116. package/dist/components/Link/Link.d.ts +3 -0
  117. package/dist/components/Link/Link.types.d.ts +11 -0
  118. package/dist/components/Link/index.d.ts +1 -0
  119. package/dist/components/ListItem/ListItem.d.ts +19 -0
  120. package/dist/components/ListItem/index.d.ts +1 -0
  121. package/dist/components/Loading/Loading.d.ts +2 -0
  122. package/dist/components/Loading/index.d.ts +1 -0
  123. package/dist/components/LoadingItem/LoadingItem.d.ts +9 -0
  124. package/dist/components/LoadingItem/index.d.ts +1 -0
  125. package/dist/components/MethodSelection/MethodSelection.d.ts +3 -0
  126. package/dist/components/MethodSelection/MethodSelection.types.d.ts +16 -0
  127. package/dist/components/MethodSelection/index.d.ts +1 -0
  128. package/dist/components/Modal/Modal.d.ts +12 -0
  129. package/dist/components/Modal/Store.d.ts +11 -0
  130. package/dist/components/Modal/Wrapper.d.ts +9 -0
  131. package/dist/components/Modal/index.d.ts +2 -0
  132. package/dist/components/Numpad/Numpad.d.ts +8 -0
  133. package/dist/components/Numpad/index.d.ts +1 -0
  134. package/dist/components/OTPInput/OTPInput.d.ts +8 -0
  135. package/dist/components/OTPInput/index.d.ts +1 -0
  136. package/dist/components/Padding/Padding.d.ts +9 -0
  137. package/dist/components/Padding/index.d.ts +1 -0
  138. package/dist/components/PageLoading/PageLoading.d.ts +2 -0
  139. package/dist/components/PageLoading/index.d.ts +1 -0
  140. package/dist/components/Portal/PortalAround.d.ts +20 -0
  141. package/dist/components/Portal/index.d.ts +1 -0
  142. package/dist/components/Progress/Progress.d.ts +9 -0
  143. package/dist/components/Progress/index.d.ts +1 -0
  144. package/dist/components/ProgressCard/ProgressCard.d.ts +12 -0
  145. package/dist/components/ProgressCard/index.d.ts +1 -0
  146. package/dist/components/Quantity/Quantity.d.ts +10 -0
  147. package/dist/components/Quantity/index.d.ts +1 -0
  148. package/dist/components/SVGIcon/SVGIcon.d.ts +12 -0
  149. package/dist/components/SVGIcon/SVGIcon.types.d.ts +10 -0
  150. package/dist/components/SVGIcon/index.d.ts +2 -0
  151. package/dist/components/Section/Section.d.ts +10 -0
  152. package/dist/components/Section/index.d.ts +1 -0
  153. package/dist/components/Sidebar/Parent.d.ts +10 -0
  154. package/dist/components/Sidebar/Sidebar.d.ts +16 -0
  155. package/dist/components/Sidebar/Sidebar.types.d.ts +12 -0
  156. package/dist/components/Sidebar/index.d.ts +1 -0
  157. package/dist/components/Table/Table.d.ts +22 -0
  158. package/dist/components/Table/index.d.ts +2 -0
  159. package/dist/components/Text/Text.d.ts +3 -0
  160. package/dist/components/Text/Text.types.d.ts +15 -0
  161. package/dist/components/Text/index.d.ts +1 -0
  162. package/dist/components/TextBanner/TextBanner.d.ts +8 -0
  163. package/dist/components/TextBanner/index.d.ts +1 -0
  164. package/dist/components/TimePicker/TimePicker.d.ts +3 -0
  165. package/dist/components/TimePicker/TimePicker.types.d.ts +13 -0
  166. package/dist/components/TimePicker/index.d.ts +1 -0
  167. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +10 -0
  168. package/dist/components/ToggleSwitch/index.d.ts +1 -0
  169. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  170. package/dist/components/Tooltip/Tooltip.types.d.ts +10 -0
  171. package/dist/components/Tooltip/TooltipPortal.d.ts +5 -0
  172. package/dist/components/Tooltip/TooltipWrapper.d.ts +3 -0
  173. package/dist/components/Tooltip/index.d.ts +1 -0
  174. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +6 -0
  175. package/dist/components/VisuallyHidden/index.d.ts +1 -0
  176. package/dist/constants/email.d.ts +1 -0
  177. package/dist/constants/image.d.ts +1 -0
  178. package/dist/constants/responsive.d.ts +12 -0
  179. package/dist/icons/AlertCircle.d.ts +3 -0
  180. package/dist/icons/AlignLeft.d.ts +3 -0
  181. package/dist/icons/AnnotationHeart.d.ts +3 -0
  182. package/dist/icons/Award.d.ts +3 -0
  183. package/dist/icons/BagCheck.d.ts +3 -0
  184. package/dist/icons/Bakery.d.ts +3 -0
  185. package/dist/icons/BankNote.d.ts +3 -0
  186. package/dist/icons/BarChart.d.ts +3 -0
  187. package/dist/icons/BeerMug.d.ts +3 -0
  188. package/dist/icons/Bell.d.ts +3 -0
  189. package/dist/icons/BellRinging.d.ts +3 -0
  190. package/dist/icons/BookOpen.d.ts +3 -0
  191. package/dist/icons/Bookmark.d.ts +3 -0
  192. package/dist/icons/BookmarkCheck.d.ts +3 -0
  193. package/dist/icons/Branch.d.ts +3 -0
  194. package/dist/icons/Building07.d.ts +3 -0
  195. package/dist/icons/Calendar.d.ts +3 -0
  196. package/dist/icons/CalendarPlus.d.ts +3 -0
  197. package/dist/icons/Camera.d.ts +3 -0
  198. package/dist/icons/Car.d.ts +3 -0
  199. package/dist/icons/Check.d.ts +3 -0
  200. package/dist/icons/CheckCircle.d.ts +3 -0
  201. package/dist/icons/CheckCircleBroken.d.ts +3 -0
  202. package/dist/icons/CheckSquare.d.ts +3 -0
  203. package/dist/icons/CheckSquareBroken.d.ts +3 -0
  204. package/dist/icons/Chef.d.ts +3 -0
  205. package/dist/icons/ChevronDown.d.ts +3 -0
  206. package/dist/icons/ChevronDownDouble.d.ts +3 -0
  207. package/dist/icons/ChevronLeft.d.ts +3 -0
  208. package/dist/icons/ChevronLeftDouble.d.ts +3 -0
  209. package/dist/icons/ChevronRight.d.ts +3 -0
  210. package/dist/icons/ChevronRightDouble.d.ts +3 -0
  211. package/dist/icons/ChevronUp.d.ts +3 -0
  212. package/dist/icons/ChevronUpDouble.d.ts +3 -0
  213. package/dist/icons/Circle.d.ts +3 -0
  214. package/dist/icons/ClapperboardPlay.d.ts +3 -0
  215. package/dist/icons/Clock.d.ts +3 -0
  216. package/dist/icons/Close.d.ts +3 -0
  217. package/dist/icons/CloudLightning.d.ts +3 -0
  218. package/dist/icons/CoctailGlass.d.ts +3 -0
  219. package/dist/icons/CoffeeMug.d.ts +3 -0
  220. package/dist/icons/Columns.d.ts +3 -0
  221. package/dist/icons/ColumnsThree.d.ts +3 -0
  222. package/dist/icons/Copy.d.ts +3 -0
  223. package/dist/icons/CornerDownLeft.d.ts +3 -0
  224. package/dist/icons/CpuChip.d.ts +3 -0
  225. package/dist/icons/CreditCard.d.ts +3 -0
  226. package/dist/icons/Croissant.d.ts +3 -0
  227. package/dist/icons/Data.d.ts +3 -0
  228. package/dist/icons/Dataflow.d.ts +3 -0
  229. package/dist/icons/Dataflow2.d.ts +3 -0
  230. package/dist/icons/Delete.d.ts +3 -0
  231. package/dist/icons/Delivery.d.ts +3 -0
  232. package/dist/icons/DeliveryScooter.d.ts +3 -0
  233. package/dist/icons/DotsDrag.d.ts +3 -0
  234. package/dist/icons/DotsGrid.d.ts +3 -0
  235. package/dist/icons/DotsHorizontal.d.ts +3 -0
  236. package/dist/icons/DotsVertical.d.ts +3 -0
  237. package/dist/icons/Download.d.ts +3 -0
  238. package/dist/icons/Edit.d.ts +3 -0
  239. package/dist/icons/Eye.d.ts +3 -0
  240. package/dist/icons/EyeOff.d.ts +3 -0
  241. package/dist/icons/Facebook.d.ts +3 -0
  242. package/dist/icons/File.d.ts +3 -0
  243. package/dist/icons/FileCheck.d.ts +3 -0
  244. package/dist/icons/FilePlus.d.ts +3 -0
  245. package/dist/icons/Folder.d.ts +3 -0
  246. package/dist/icons/FolderPlus.d.ts +3 -0
  247. package/dist/icons/ForkKnife.d.ts +3 -0
  248. package/dist/icons/Globe.d.ts +3 -0
  249. package/dist/icons/Grid.d.ts +3 -0
  250. package/dist/icons/Home.d.ts +3 -0
  251. package/dist/icons/HourglassHalf.d.ts +3 -0
  252. package/dist/icons/Image.d.ts +3 -0
  253. package/dist/icons/InfoCircle.d.ts +3 -0
  254. package/dist/icons/Instagram.d.ts +3 -0
  255. package/dist/icons/LineChartUp.d.ts +3 -0
  256. package/dist/icons/Link.d.ts +3 -0
  257. package/dist/icons/LinkHorizontal.d.ts +3 -0
  258. package/dist/icons/Linkedin.d.ts +3 -0
  259. package/dist/icons/List.d.ts +3 -0
  260. package/dist/icons/LoadingIcon.d.ts +3 -0
  261. package/dist/icons/Lock.d.ts +3 -0
  262. package/dist/icons/LogOut.d.ts +3 -0
  263. package/dist/icons/Mail.d.ts +3 -0
  264. package/dist/icons/MarkerPin.d.ts +3 -0
  265. package/dist/icons/MarkerPinSimple.d.ts +3 -0
  266. package/dist/icons/Mastercard.d.ts +3 -0
  267. package/dist/icons/Meal.d.ts +3 -0
  268. package/dist/icons/Menu.d.ts +3 -0
  269. package/dist/icons/MessageChatCircle.d.ts +3 -0
  270. package/dist/icons/MessageCircle.d.ts +3 -0
  271. package/dist/icons/MessageHeartSquare.d.ts +3 -0
  272. package/dist/icons/MessageTextCircle.d.ts +3 -0
  273. package/dist/icons/Minus.d.ts +3 -0
  274. package/dist/icons/MobilePhone.d.ts +3 -0
  275. package/dist/icons/Monitor.d.ts +3 -0
  276. package/dist/icons/Monitor02.d.ts +3 -0
  277. package/dist/icons/Moon.d.ts +3 -0
  278. package/dist/icons/NoImage.d.ts +3 -0
  279. package/dist/icons/Package.d.ts +3 -0
  280. package/dist/icons/PackageCheck.d.ts +3 -0
  281. package/dist/icons/PackagePlus.d.ts +3 -0
  282. package/dist/icons/Paperclip.d.ts +3 -0
  283. package/dist/icons/Phone.d.ts +3 -0
  284. package/dist/icons/Play.d.ts +3 -0
  285. package/dist/icons/PlayCircle.d.ts +3 -0
  286. package/dist/icons/PlaySquare.d.ts +3 -0
  287. package/dist/icons/Plus.d.ts +3 -0
  288. package/dist/icons/Printer.d.ts +3 -0
  289. package/dist/icons/QrCode.d.ts +3 -0
  290. package/dist/icons/ReceiptCheck.d.ts +3 -0
  291. package/dist/icons/Refresh.d.ts +3 -0
  292. package/dist/icons/RefreshCw.d.ts +3 -0
  293. package/dist/icons/Ruler.d.ts +3 -0
  294. package/dist/icons/Save.d.ts +3 -0
  295. package/dist/icons/Screen.d.ts +3 -0
  296. package/dist/icons/Search.d.ts +3 -0
  297. package/dist/icons/Send.d.ts +3 -0
  298. package/dist/icons/Server.d.ts +3 -0
  299. package/dist/icons/ServingDome.d.ts +3 -0
  300. package/dist/icons/Settings.d.ts +3 -0
  301. package/dist/icons/Share.d.ts +3 -0
  302. package/dist/icons/Shield.d.ts +3 -0
  303. package/dist/icons/ShieldDollar.d.ts +3 -0
  304. package/dist/icons/Shop.d.ts +3 -0
  305. package/dist/icons/ShoppingBag.d.ts +3 -0
  306. package/dist/icons/ShoppingCart.d.ts +3 -0
  307. package/dist/icons/Stars.d.ts +3 -0
  308. package/dist/icons/SwitchVertical.d.ts +3 -0
  309. package/dist/icons/Tablet.d.ts +3 -0
  310. package/dist/icons/Target.d.ts +3 -0
  311. package/dist/icons/Tea.d.ts +3 -0
  312. package/dist/icons/Telegram.d.ts +3 -0
  313. package/dist/icons/ThumbsUp.d.ts +3 -0
  314. package/dist/icons/Tiktok.d.ts +3 -0
  315. package/dist/icons/Translate.d.ts +3 -0
  316. package/dist/icons/Trash.d.ts +3 -0
  317. package/dist/icons/UploadCloud.d.ts +3 -0
  318. package/dist/icons/User.d.ts +3 -0
  319. package/dist/icons/UserCheck.d.ts +3 -0
  320. package/dist/icons/UserCircle.d.ts +3 -0
  321. package/dist/icons/UserPlus.d.ts +3 -0
  322. package/dist/icons/UserX.d.ts +3 -0
  323. package/dist/icons/Users.d.ts +3 -0
  324. package/dist/icons/Visa.d.ts +3 -0
  325. package/dist/icons/VolumeMax.d.ts +3 -0
  326. package/dist/icons/VolumeMinus.d.ts +3 -0
  327. package/dist/icons/VolumePlus.d.ts +3 -0
  328. package/dist/icons/VolumeX.d.ts +3 -0
  329. package/dist/icons/Whatsapp.d.ts +3 -0
  330. package/dist/icons/Wifi.d.ts +3 -0
  331. package/dist/icons/XTwitter.d.ts +3 -0
  332. package/dist/icons/Youtube.d.ts +3 -0
  333. package/dist/icons/index.d.ts +154 -0
  334. package/dist/icons/index.esm.js +2 -0
  335. package/dist/icons/index.esm.js.map +1 -0
  336. package/dist/icons/index.js +2 -0
  337. package/dist/icons/index.js.map +1 -0
  338. package/dist/index.d.ts +81 -0
  339. package/dist/index.esm.js +2 -0
  340. package/dist/index.esm.js.map +1 -0
  341. package/dist/index.js +2 -0
  342. package/dist/index.js.map +1 -0
  343. package/dist/models/form.d.ts +3 -0
  344. package/dist/models/modal.d.ts +17 -0
  345. package/dist/models/ui.d.ts +27 -0
  346. package/dist/styles/scss/animations.scss +130 -0
  347. package/dist/styles/scss/colors.scss +150 -0
  348. package/dist/styles/scss/functions/toRem.scss +13 -0
  349. package/dist/styles/scss/mixins.scss +310 -0
  350. package/dist/styles/scss/responsive.scss +40 -0
  351. package/dist/styles/scss/utils.scss +6 -0
  352. package/dist/styles/scss/variables.scss +337 -0
  353. package/dist/styles/ui.css +2 -0
  354. package/dist/styles/ui.css.map +1 -0
  355. package/dist/utils/icon.d.ts +2 -0
  356. package/dist/utils/image.d.ts +1 -0
  357. package/dist/utils/input.d.ts +1 -0
  358. package/dist/utils/storage.d.ts +7 -0
  359. package/dist/utils/styling.d.ts +2 -0
  360. package/dist/utils/styling.types.d.ts +6 -0
  361. package/dist/utils/table.d.ts +1 -0
  362. package/dist/utils/view.d.ts +3 -0
  363. package/package.json +77 -0
@@ -0,0 +1,3 @@
1
+ export interface FormErrors {
2
+ [key: string]: string;
3
+ }
@@ -0,0 +1,17 @@
1
+ import { JSXElementConstructor, LazyExoticComponent, ReactElement } from "react";
2
+ export interface ModalParams {
3
+ closeModal?: () => void;
4
+ onClose?: () => void;
5
+ [key: string]: any;
6
+ }
7
+ export interface ModalType {
8
+ id: string;
9
+ params?: ModalParams;
10
+ }
11
+ export interface ModalComponentProps {
12
+ params: ModalParams;
13
+ }
14
+ export type ModalComponent = JSXElementConstructor<ModalComponentProps> | LazyExoticComponent<({ params }: ModalComponentProps) => ReactElement>;
15
+ export interface ModalsMap {
16
+ [key: string]: ModalComponent;
17
+ }
@@ -0,0 +1,27 @@
1
+ export type SIZE = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "xxxxl";
2
+ export type SIZE_LONG = "xsmall" | "small" | "medium" | "large";
3
+ export declare enum UIElementType {
4
+ PRIMARY = "primary",
5
+ SECONDARY = "secondary",
6
+ DANGER = "danger",
7
+ SUCCESS = "success",
8
+ WARNING = "warning",
9
+ INFO = "info",
10
+ LIGHT = "light",
11
+ DEFAULT = "default",
12
+ DARK = "dark",
13
+ LIGHT_PRIMARY = "lightPrimary",
14
+ LIGHT_SUCCESS = "lightSuccess",
15
+ LIGHT_WARNING = "lightWarning",
16
+ LIGHT_INFO = "lightInfo",
17
+ LIGHT_DANGER = "lightDanger",
18
+ LIGHT_DARK = "lightDark",
19
+ LIGHT_SECONDARY = "lightSecondary",
20
+ WHITE_TEXT = "whiteText",
21
+ BORDERED_PRIMARY = "borderedPrimary",
22
+ BORDERED_SECONDARY = "borderedSecondary",
23
+ NO_STYLE = "noStyle"
24
+ }
25
+ export interface DivElementMap {
26
+ [key: string]: HTMLDivElement | null;
27
+ }
@@ -0,0 +1,130 @@
1
+ @keyframes flexWide {
2
+ from {
3
+ flex: 0;
4
+ }
5
+
6
+ to {
7
+ flex: 1;
8
+ }
9
+ }
10
+
11
+ @keyframes slidein {
12
+ from {
13
+ transform: translateX(0%);
14
+ }
15
+ to {
16
+ transform: translateX(-100%);
17
+ }
18
+ }
19
+
20
+ @keyframes fadeInOut {
21
+ 0% {
22
+ opacity: 0.5;
23
+ }
24
+ 50% {
25
+ opacity: 1;
26
+ }
27
+ 100% {
28
+ opacity: 0.5;
29
+ }
30
+ }
31
+
32
+ @keyframes heightAnimation {
33
+ 0% {
34
+ height: 0%;
35
+ }
36
+
37
+ 100% {
38
+ height: 100%;
39
+ }
40
+ }
41
+
42
+ @keyframes fadein {
43
+ from {
44
+ opacity: 0;
45
+ }
46
+ to {
47
+ opacity: 1;
48
+ }
49
+ }
50
+
51
+ /* Firefox < 16 */
52
+ @-moz-keyframes fadein {
53
+ from {
54
+ opacity: 0;
55
+ }
56
+ to {
57
+ opacity: 1;
58
+ }
59
+ }
60
+
61
+ /* Safari, Chrome and Opera > 12.1 */
62
+ @-webkit-keyframes fadein {
63
+ from {
64
+ opacity: 0;
65
+ }
66
+ to {
67
+ opacity: 1;
68
+ }
69
+ }
70
+
71
+ /* Internet Explorer */
72
+ @-ms-keyframes fadein {
73
+ from {
74
+ opacity: 0;
75
+ }
76
+ to {
77
+ opacity: 1;
78
+ }
79
+ }
80
+
81
+ @keyframes floatAnimation {
82
+ 0% {
83
+ transform: translateY(0);
84
+ }
85
+ 100% {
86
+ transform: translateY(-20px);
87
+ }
88
+ }
89
+
90
+ @keyframes bottomSheet {
91
+ from {
92
+ transform: translate(0, 100%);
93
+ }
94
+ to {
95
+ transform: translate(0, 0);
96
+ }
97
+ }
98
+
99
+ @keyframes slideRightToLeft {
100
+ from {
101
+ transform: translateX(100%);
102
+ }
103
+ to {
104
+ transform: translateX(0%);
105
+ }
106
+ }
107
+
108
+ @keyframes rotation {
109
+ 0% {
110
+ transform: rotate(0deg);
111
+ }
112
+ 100% {
113
+ transform: rotate(360deg);
114
+ }
115
+ }
116
+
117
+ @keyframes pulse {
118
+ 0% {
119
+ transform: scale(1);
120
+ opacity: 1;
121
+ }
122
+ 50% {
123
+ transform: scale(1.3);
124
+ opacity: 0.7;
125
+ }
126
+ 100% {
127
+ transform: scale(1);
128
+ opacity: 1;
129
+ }
130
+ }
@@ -0,0 +1,150 @@
1
+ $color-gray-50: #fafafa;
2
+ $color-gray-100: #f5f8fa;
3
+ $color-gray-200: #eff2f5;
4
+ $color-gray-300: #e4e6ef;
5
+ $color-gray-400: #b5b5c3;
6
+ $color-gray-500: #a1a5b7;
7
+ $color-gray-600: #7e8299;
8
+ $color-gray-700: #5e6278;
9
+ $color-gray-800: #3f4254;
10
+ $color-gray-900: #181c32;
11
+ $color-border: $color-gray-200;
12
+ $color-border-dashed: $color-gray-300;
13
+ $color-blue: #009ef6;
14
+ $color-indigo: #6610f2;
15
+ $color-purple: #6f42c1;
16
+ $color-pink: #d63384;
17
+ $color-red: #dc3545;
18
+ $color-orange: #fd7e14;
19
+ $color-yellow: #ffc107;
20
+ $color-green: #198754;
21
+ $color-teal: #20c997;
22
+ $color-cyan: #0dcaf0;
23
+ $color-gray: #7e8299;
24
+ $color-gray-dark: $color-gray-800;
25
+ $color-white: #ffffff;
26
+ $color-black: #000000;
27
+ // THEME COLORS
28
+ $color-light: $color-gray-100;
29
+ $color-light-active: $color-gray-300;
30
+ $color-light-inverse: $color-gray-600;
31
+ $color-primary: var(--ovapos-color-primary, #2d3436);
32
+ $color-primary-light: var(--ovapos-color-primary-light, #f5f8fa);
33
+ $color-primary-active: var(--ovapos-color-primary-active, #212526);
34
+ $color-primary-inverse: var(--ovapos-color-primary-inverse, $color-white);
35
+ $color-secondary: var(--ovapos-color-secondary, #16a085);
36
+ $color-secondary-inverse: $color-white;
37
+ $color-secondary-active: var(--ovapos-color-secondary-active, #0bb7af);
38
+ $color-secondary-light: rgba($color-secondary, 0.1);
39
+ $color-secondary-extra-light: var(--ovapos-color-secondary-extra-light, #dcfdfd);
40
+ $color-success: #1bc5bd;
41
+ $color-success-light: #c9f7f5;
42
+ $color-success-active: #0bb7af;
43
+ $color-success-inverse: $color-white;
44
+ $color-info: #7239ea;
45
+ $color-info-inverse: $color-white;
46
+ $color-info-light: #f8f5ff;
47
+ $color-info-active: #5014d0;
48
+ $color-warning: #ffc700;
49
+ $color-warning-inverse: $color-white;
50
+ $color-warning-light: #fff8dd;
51
+ $color-warning-active: #f1bc00;
52
+ $color-danger: #f1416c;
53
+ $color-danger-inverse: $color-white;
54
+ $color-dark: $color-gray-900;
55
+ $color-dark-inverse: $color-white;
56
+ $color-dark-light: $color-gray-200;
57
+ $color-dark-active: #131628;
58
+ $color-danger-light: #fff5f8;
59
+ $color-danger-active: #d9214e;
60
+ $color-link: #1b84ff;
61
+ $color-link-active: #056ee9;
62
+ $color-link-light: #e9f3ff;
63
+ $color-link-inverse: #ffffff;
64
+ // END THEME COLORS
65
+ $color-light-rgb: 245, 248, 250;
66
+ $color-primary-rgb: 4, 200, 200;
67
+ $color-success-rgb: 0, 158, 247;
68
+ $color-info-rgb: 114, 57, 234;
69
+ $color-warning-rgb: 255, 199, 0;
70
+ $color-danger-rgb: 241, 65, 108;
71
+ $color-dark-rgb: 24, 28, 50;
72
+ $color-white-rgb: 255, 255, 255;
73
+ $color-black-rgb: 0, 0, 0;
74
+ $color-body-color-rgb: 24, 28, 50;
75
+ $color-body-bg-rgb: 255, 255, 255;
76
+ $color-body-bg: #f3f6f9;
77
+ $color-link-hover: #36d3d3;
78
+ $color-sidebar-bg: $color-white;
79
+
80
+ /* Text */
81
+ $color-text-muted: $color-gray-500;
82
+ $color-body-text: $color-gray-900;
83
+ $color-message-bg: $color-white;
84
+ $color-active-message-bg: $color-secondary-extra-light;
85
+
86
+ /* Input */
87
+ $color-input-plaintext: $color-gray-700;
88
+ $color-input-bg: $color-white;
89
+ $color-input-disabled-bg: $color-gray-50;
90
+ $color-input-disabled-border: $color-gray-300;
91
+ $color-input: $color-gray-700;
92
+ $color-input-border: $color-gray-300;
93
+ $color-input-focus-bg: $color-white;
94
+ $color-input-focus-border: $color-gray-400;
95
+ $color-input-focus: $color-gray-700;
96
+ $color-input-solid-bg: $color-gray-100;
97
+ $color-input-solid-bg-focus: #eef3f7;
98
+ $color-input-solid-placeholder: $color-gray-500;
99
+ $color-input-solid: $color-gray-700;
100
+
101
+ /* Button */
102
+ $btn-disabled-color: $color-white;
103
+ $btn-disabled-bg: $color-primary;
104
+ $btn-disabled-border-color: $color-primary;
105
+ $btn-color: $color-body-text;
106
+
107
+ $color-tooltip: $color-gray-800;
108
+ $color-tooltip-bg: $color-white;
109
+
110
+ /* TABLE */
111
+ $color-table: $color-gray-900;
112
+ $color-table-bg: transparent;
113
+ $color-table-border: $color-gray-200;
114
+ $color-table-accent-bg: transparent;
115
+ $color-table-striped: $color-gray-900;
116
+ $color-table-striped-bg: rgba(245, 248, 250, 0.75);
117
+ $color-table-active: $color-gray-900;
118
+ $color-table-active-bg: $color-gray-100;
119
+ $color-table-hover: $color-gray-900;
120
+ $color-table-hover-bg: $color-gray-100;
121
+ $color-table-caption: $color-gray-500;
122
+ $color-table-loading-message-bg: $color-white;
123
+ $color-table-loading-message: $color-gray-700;
124
+
125
+ /* Modal */
126
+ $color-modal-divider: $color-gray-200;
127
+
128
+ /* Bagde */
129
+ $color-badge: $color-gray-100;
130
+ $color-badge-text: $color-gray-500;
131
+
132
+ /* Menu */
133
+ $menu-dropdown-bg-color: $color-white;
134
+ $color-divider: $color-gray-200;
135
+ $color-darker-divider: $color-gray-400;
136
+
137
+ /* Notification */
138
+ $color-unseen-notification: $color-gray-200;
139
+
140
+ /* BRANDS */
141
+ $color-whatsapp: #25d366;
142
+
143
+ /* Overlay */
144
+ $color-overlay-bg: rgba(
145
+ $color: $color-black,
146
+ $alpha: 0.5,
147
+ );
148
+
149
+ /* CARD */
150
+ $color-card-border: #f1f1f4;
@@ -0,0 +1,13 @@
1
+ @use "sass:list";
2
+ @use "sass:math";
3
+
4
+ @use "../variables" as variables;
5
+
6
+ @function toRem($value...) {
7
+ $result: ();
8
+
9
+ @each $val in $value {
10
+ $result: list.append($result, math.div($val, variables.$base-font-size) * 1rem);
11
+ }
12
+ @return $result;
13
+ }
@@ -0,0 +1,310 @@
1
+ @use "./colors.scss" as *;
2
+ @use "./variables.scss" as *;
3
+ @use "./functions/toRem.scss" as functions;
4
+ @use "./responsive.scss" as *;
5
+ @use "sass:list";
6
+ @use "sass:map";
7
+
8
+ @mixin flexCentered {
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ }
13
+
14
+ @mixin noSelection {
15
+ -webkit-touch-callout: none; /* iOS Safari */
16
+ -webkit-user-select: none; /* Safari */
17
+ -khtml-user-select: none; /* Konqueror HTML */
18
+ -moz-user-select: none; /* Old versions of Firefox */
19
+ -ms-user-select: none; /* Internet Explorer/Edge */
20
+ user-select: none; /* Non-prefixed version, currently
21
+ supported by Chrome, Edge, Opera and Firefox */
22
+ }
23
+
24
+ @mixin thickScrollbar {
25
+ scrollbar-color: rgba($color: $color-primary, $alpha: 0.3) transparent;
26
+
27
+ &::-webkit-scrollbar {
28
+ height: 8px;
29
+ width: 8px;
30
+ }
31
+
32
+ &::-webkit-scrollbar-thumb {
33
+ background: rgba($color: $color-primary, $alpha: 0.3);
34
+ }
35
+ }
36
+
37
+ @mixin cardStyle($margin-bottom: $card-margin-bottom) {
38
+ background-color: $color-white;
39
+ border-radius: $card-border-radius;
40
+ margin-bottom: $margin-bottom;
41
+ box-shadow: $card-box-shadow;
42
+ border: 1px solid $color-card-border;
43
+ }
44
+
45
+ /* RESPONSIVE */
46
+
47
+ $xxs: 375px;
48
+ $xs: 430px;
49
+ $sm: 580px;
50
+ $msm: 660px;
51
+ $md: 768px;
52
+ $lm: 844px;
53
+ $lg: 1024px;
54
+ $xl: 1200px;
55
+ $xxl: 1440px;
56
+
57
+ @mixin media-xxl-down {
58
+ @media (max-width: #{$xxl}) {
59
+ @content;
60
+ }
61
+ }
62
+
63
+ @mixin media-xl-down {
64
+ @media (max-width: #{$xl}) {
65
+ @content;
66
+ }
67
+ }
68
+
69
+ @mixin media-lg-down {
70
+ @media (max-width: #{$lg}) {
71
+ @content;
72
+ }
73
+ }
74
+
75
+ @mixin media-lm-down {
76
+ @media (max-width: #{$lm}) {
77
+ @content;
78
+ }
79
+ }
80
+
81
+ @mixin media-md-down {
82
+ @media (max-width: #{$md}) {
83
+ @content;
84
+ }
85
+ }
86
+
87
+ @mixin media-msm-down {
88
+ @media (max-width: #{$msm}) {
89
+ @content;
90
+ }
91
+ }
92
+
93
+ @mixin media-xs-down {
94
+ @media (max-width: #{$xs}) {
95
+ @content;
96
+ }
97
+ }
98
+
99
+ @mixin media-xxs-down {
100
+ @media (max-width: #{$xxs}) {
101
+ @content;
102
+ }
103
+ }
104
+
105
+ @mixin media-xxl-up {
106
+ @media (min-width: #{$xxl}) {
107
+ @content;
108
+ }
109
+ }
110
+
111
+ @mixin media-xl-up {
112
+ @media (min-width: #{$xl}) {
113
+ @content;
114
+ }
115
+ }
116
+
117
+ @mixin media-lg-up {
118
+ @media (min-width: #{$lg}) {
119
+ @content;
120
+ }
121
+ }
122
+
123
+ @mixin media-lm-up {
124
+ @media (min-width: #{$lm}) {
125
+ @content;
126
+ }
127
+ }
128
+
129
+ @mixin media-md-up {
130
+ @media (min-width: #{$md}) {
131
+ @content;
132
+ }
133
+ }
134
+
135
+ @mixin media-sm-up {
136
+ @media (min-width: #{$sm}) {
137
+ @content;
138
+ }
139
+ }
140
+
141
+ @mixin media-xs-up {
142
+ @media (min-width: #{$xs}) {
143
+ @content;
144
+ }
145
+ }
146
+
147
+ @mixin media-xxs-up {
148
+ @media (min-width: #{$xxs}) {
149
+ @content;
150
+ }
151
+ }
152
+
153
+ @mixin apply-ui-type-styles($styles) {
154
+ background-color: list.nth($styles, 1);
155
+ color: list.nth($styles, 2);
156
+ transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
157
+
158
+ i {
159
+ color: list.nth($styles, 2);
160
+ }
161
+
162
+ svg {
163
+ stroke: list.nth($styles, 2) !important;
164
+ transition: stroke 0.2s ease-in-out;
165
+
166
+ path {
167
+ stroke: list.nth($styles, 2) !important;
168
+ transition: stroke 0.2s ease-in-out;
169
+ }
170
+ }
171
+
172
+ .action {
173
+ background-color: list.nth($styles, 3);
174
+
175
+ svg {
176
+ stroke: list.nth($styles, 4) !important;
177
+ transition: stroke 0.2s ease-in-out;
178
+
179
+ path {
180
+ stroke: list.nth($styles, 4) !important;
181
+ transition: stroke 0.2s ease-in-out;
182
+ }
183
+ }
184
+ }
185
+
186
+ &:hover,
187
+ &.active {
188
+ background-color: list.nth($styles, 3);
189
+ color: list.nth($styles, 4);
190
+
191
+ svg {
192
+ stroke: list.nth($styles, 4) !important;
193
+
194
+ path {
195
+ stroke: list.nth($styles, 4) !important;
196
+ }
197
+ }
198
+
199
+ .action {
200
+ background-color: list.nth($styles, 1);
201
+
202
+ svg {
203
+ stroke: list.nth($styles, 2) !important;
204
+
205
+ path {
206
+ stroke: list.nth($styles, 2) !important;
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
212
+
213
+ @mixin gradientUnderline($color) {
214
+ background: $color;
215
+ background-position: 0 100%;
216
+ background-size: 100% 2px;
217
+ background-repeat: repeat-x;
218
+ }
219
+
220
+ @mixin maxLine($lineCount) {
221
+ display: -webkit-box;
222
+ line-clamp: $lineCount;
223
+ -webkit-line-clamp: $lineCount;
224
+ -webkit-box-orient: vertical;
225
+ }
226
+
227
+ @mixin avatar-size($size) {
228
+ width: functions.toRem(map.get($avatar-sizes, $size));
229
+ height: functions.toRem(map.get($avatar-sizes, $size));
230
+ }
231
+
232
+ // Headings with responsive font sizes
233
+ @mixin heading($default, $xl: null, $lg: null, $md: null, $sm: null) {
234
+ font-size: $default;
235
+ margin-bottom: 1rem;
236
+ line-height: calc($default * 1.5);
237
+
238
+ @if $xl {
239
+ @include media-xl-down {
240
+ font-size: $xl;
241
+ line-height: calc($xl * 1.5);
242
+ }
243
+ }
244
+ @if $lg {
245
+ @include media-lg-down {
246
+ font-size: $lg;
247
+ line-height: calc($lg * 1.5);
248
+ }
249
+ }
250
+ @if $md {
251
+ @include media-md-down {
252
+ font-size: $md;
253
+ line-height: calc($md * 1.5);
254
+ }
255
+ }
256
+ @if $sm {
257
+ @include media(down, mobile-md) {
258
+ font-size: $sm;
259
+ line-height: calc($sm * 1.5);
260
+ }
261
+ }
262
+ }
263
+
264
+ @mixin inputStyles() {
265
+ background-color: $color-input-solid-bg;
266
+ color: $color-input-solid;
267
+ border: 1px solid $color-input-border;
268
+ border-color: $color-input-solid-bg;
269
+ box-shadow: none;
270
+ transition: color 0.2s ease;
271
+ min-height: toRem(50px);
272
+ padding: 0.825rem 1.5rem;
273
+ font-size: 1.15rem;
274
+ border-radius: $input-border-radius;
275
+ display: block;
276
+ width: 100%;
277
+ font-weight: 500;
278
+ line-height: 1.5;
279
+ background-clip: padding-box;
280
+ appearance: none;
281
+
282
+ &[type="number"] {
283
+ -moz-appearance: textfield; /* Firefox */
284
+ }
285
+
286
+ &::-webkit-outer-spin-button,
287
+ &::-webkit-inner-spin-button {
288
+ -webkit-appearance: none;
289
+ margin: 0;
290
+ }
291
+
292
+ &::placeholder {
293
+ color: $color-input-solid-placeholder;
294
+ opacity: 1;
295
+ }
296
+
297
+ &:focus {
298
+ background-color: $color-input-solid-bg-focus;
299
+ border-color: $color-input-solid-bg-focus;
300
+ color: $color-input-solid;
301
+ transition: color 0.2s ease;
302
+ outline: 0;
303
+ }
304
+
305
+ &:disabled {
306
+ background-color: $color-input-disabled-bg;
307
+ border-color: $color-input-disabled-border;
308
+ cursor: not-allowed;
309
+ }
310
+ }
@@ -0,0 +1,40 @@
1
+ @use "sass:map";
2
+
3
+ $breakpoints: (
4
+ mobile-xxs: 320px,
5
+ mobile-xs: 375px,
6
+ mobile-sm: 480px,
7
+ mobile-md: 576px,
8
+ tablet-sm: 768px,
9
+ tablet-md: 992px,
10
+ tablet-lg: 1024px,
11
+ desktop-sm: 1200px,
12
+ desktop-md: 1440px,
13
+ desktop-lg: 1536px,
14
+ desktop-xl: 1920px,
15
+ );
16
+
17
+ // Enhanced media query mixin
18
+ @mixin media($type, $start, $end: null) {
19
+ $start-value: map.get($breakpoints, $start);
20
+ $end-value: null;
21
+ @if $end {
22
+ $end-value: map.get($breakpoints, $end);
23
+ }
24
+
25
+ @if $type == "range" and $start-value and $end-value {
26
+ @media (min-width: #{$start-value}) and (max-width: #{$end-value}) {
27
+ @content;
28
+ }
29
+ } @else if $type == "down" and $start-value {
30
+ @media (max-width: #{$start-value}) {
31
+ @content;
32
+ }
33
+ } @else if $type == "up" and $start-value {
34
+ @media (min-width: #{$start-value}) {
35
+ @content;
36
+ }
37
+ } @else {
38
+ @error "Invalid type `#{$type}` or breakpoint `#{$start}` or `#{$end}`.";
39
+ }
40
+ }
@@ -0,0 +1,6 @@
1
+ @forward "./colors.scss";
2
+ @forward "./functions/toRem.scss";
3
+ @forward "./variables.scss";
4
+ @forward "./mixins";
5
+ @forward "./animations";
6
+ @forward "./responsive.scss";