meticulous-ui 3.7.11 → 3.7.13

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 (1023) hide show
  1. package/cjs/colors/amber.cjs +1 -19
  2. package/cjs/colors/black.cjs +1 -16
  3. package/cjs/colors/blue.cjs +1 -20
  4. package/cjs/colors/blueGray.cjs +1 -15
  5. package/cjs/colors/brown.cjs +1 -16
  6. package/cjs/colors/cider.cjs +1 -15
  7. package/cjs/colors/colorMap.cjs +1 -51
  8. package/cjs/colors/cyan.cjs +1 -19
  9. package/cjs/colors/deepOrange.cjs +1 -19
  10. package/cjs/colors/deepPurple.cjs +1 -19
  11. package/cjs/colors/green.cjs +1 -20
  12. package/cjs/colors/grey.cjs +1 -16
  13. package/cjs/colors/indigo.cjs +1 -20
  14. package/cjs/colors/lightBlue.cjs +1 -19
  15. package/cjs/colors/lightGreen.cjs +1 -19
  16. package/cjs/colors/lime.cjs +1 -19
  17. package/cjs/colors/orange.cjs +1 -20
  18. package/cjs/colors/pink.cjs +1 -20
  19. package/cjs/colors/purple.cjs +1 -20
  20. package/cjs/colors/red.cjs +1 -20
  21. package/cjs/colors/teal.cjs +1 -20
  22. package/cjs/colors/violet.cjs +1 -20
  23. package/cjs/colors/white.cjs +1 -5
  24. package/cjs/colors/yellow.cjs +1 -20
  25. package/cjs/components/Button/Button.cjs +20 -155
  26. package/cjs/components/Button/constants.cjs +1 -33
  27. package/cjs/components/Button/index.cjs +1 -4
  28. package/cjs/components/Carousel/Carousel.cjs +24 -250
  29. package/cjs/components/Carousel/index.cjs +1 -4
  30. package/cjs/components/DatePicker/DatePicker.cjs +48 -373
  31. package/cjs/components/DatePicker/constants.cjs +1 -11
  32. package/cjs/components/DatePicker/index.cjs +1 -4
  33. package/cjs/components/DatePicker/utils.cjs +1 -44
  34. package/cjs/components/Dropdown/Dropdown.cjs +34 -363
  35. package/cjs/components/Dropdown/constants.cjs +1 -5
  36. package/cjs/components/Dropdown/index.cjs +1 -4
  37. package/cjs/components/Glass/Glass.cjs +3 -17
  38. package/cjs/components/Glass/index.cjs +1 -4
  39. package/cjs/components/Icons/Add.cjs +1 -15
  40. package/cjs/components/Icons/AddCircle.cjs +1 -12
  41. package/cjs/components/Icons/AddCircleFilled.cjs +1 -9
  42. package/cjs/components/Icons/ArrowDown.cjs +1 -9
  43. package/cjs/components/Icons/ArrowLeft.cjs +1 -9
  44. package/cjs/components/Icons/ArrowRight.cjs +1 -9
  45. package/cjs/components/Icons/ArrowUp.cjs +1 -9
  46. package/cjs/components/Icons/BagFilled.cjs +1 -9
  47. package/cjs/components/Icons/BagOutline.cjs +1 -12
  48. package/cjs/components/Icons/BellFilled.cjs +1 -12
  49. package/cjs/components/Icons/BellOffFilled.cjs +1 -13
  50. package/cjs/components/Icons/BellOffOutline.cjs +1 -13
  51. package/cjs/components/Icons/BellOutline.cjs +1 -12
  52. package/cjs/components/Icons/BookmarkFilled.cjs +1 -14
  53. package/cjs/components/Icons/BookmarkOutline.cjs +1 -9
  54. package/cjs/components/Icons/BoxCoveredFilled.cjs +1 -14
  55. package/cjs/components/Icons/BoxCoveredOutline.cjs +1 -12
  56. package/cjs/components/Icons/BoxFilled.cjs +1 -13
  57. package/cjs/components/Icons/BoxOutline.cjs +1 -12
  58. package/cjs/components/Icons/CalendarDays.cjs +1 -9
  59. package/cjs/components/Icons/CalendarLinesPen.cjs +1 -9
  60. package/cjs/components/Icons/CartCheckFilled.cjs +1 -13
  61. package/cjs/components/Icons/CartCheckOutline.cjs +1 -14
  62. package/cjs/components/Icons/CartCrossFilled.cjs +1 -13
  63. package/cjs/components/Icons/CartCrossOutline.cjs +1 -14
  64. package/cjs/components/Icons/CartFilled.cjs +1 -13
  65. package/cjs/components/Icons/CartMinusFilled.cjs +1 -13
  66. package/cjs/components/Icons/CartMinusOutline.cjs +1 -15
  67. package/cjs/components/Icons/CartOutline.cjs +1 -14
  68. package/cjs/components/Icons/CartPlusFilled.cjs +1 -13
  69. package/cjs/components/Icons/CartPlusOutline.cjs +1 -14
  70. package/cjs/components/Icons/Check.cjs +1 -9
  71. package/cjs/components/Icons/CheckDouble.cjs +1 -9
  72. package/cjs/components/Icons/ChevronDown.cjs +1 -9
  73. package/cjs/components/Icons/ChevronLeft.cjs +1 -9
  74. package/cjs/components/Icons/ChevronRight.cjs +1 -9
  75. package/cjs/components/Icons/ChevronUp.cjs +1 -9
  76. package/cjs/components/Icons/ClockCircleOutline.cjs +1 -12
  77. package/cjs/components/Icons/ClockSquareOutline.cjs +1 -12
  78. package/cjs/components/Icons/Close.cjs +1 -9
  79. package/cjs/components/Icons/CloseCircleFilled.cjs +1 -9
  80. package/cjs/components/Icons/CloseCircleOutline.cjs +1 -9
  81. package/cjs/components/Icons/CommentBubbleFilled.cjs +1 -14
  82. package/cjs/components/Icons/CommentBubbleOutline.cjs +1 -14
  83. package/cjs/components/Icons/CommentFilled.cjs +1 -14
  84. package/cjs/components/Icons/CommentLineFilled.cjs +1 -14
  85. package/cjs/components/Icons/CommentLineOutline.cjs +1 -14
  86. package/cjs/components/Icons/CommentOutline.cjs +1 -14
  87. package/cjs/components/Icons/ContactDetailsFilled.cjs +1 -12
  88. package/cjs/components/Icons/ContactDetailsOutline.cjs +1 -12
  89. package/cjs/components/Icons/DeliveryTruckFastFilled.cjs +1 -17
  90. package/cjs/components/Icons/DeliveryTruckFastOutline.cjs +1 -17
  91. package/cjs/components/Icons/DeliveryTruckLeftFilled.cjs +4 -12
  92. package/cjs/components/Icons/DeliveryTruckLeftOutline.cjs +5 -12
  93. package/cjs/components/Icons/DeliveryTruckRightFilled.cjs +1 -12
  94. package/cjs/components/Icons/DeliveryTruckRightOutline.cjs +1 -12
  95. package/cjs/components/Icons/DetailsOutline.cjs +1 -12
  96. package/cjs/components/Icons/DiscordConversation.cjs +1 -12
  97. package/cjs/components/Icons/DiscordFilled.cjs +1 -12
  98. package/cjs/components/Icons/DiscordOutline.cjs +1 -13
  99. package/cjs/components/Icons/DoorClosedFilled.cjs +1 -9
  100. package/cjs/components/Icons/DoorClosedOutline.cjs +1 -9
  101. package/cjs/components/Icons/DoorOpenFilled.cjs +1 -9
  102. package/cjs/components/Icons/DoorOpenOutline.cjs +1 -9
  103. package/cjs/components/Icons/DotsHorizontalFilled.cjs +1 -13
  104. package/cjs/components/Icons/DotsHorizontalOutline.cjs +1 -13
  105. package/cjs/components/Icons/DotsVerticalFilled.cjs +1 -13
  106. package/cjs/components/Icons/DotsVerticalOutline.cjs +1 -13
  107. package/cjs/components/Icons/Download.cjs +1 -12
  108. package/cjs/components/Icons/DownloadBoxFilled.cjs +1 -9
  109. package/cjs/components/Icons/DownloadBoxOutline.cjs +1 -13
  110. package/cjs/components/Icons/EditBoxThick.cjs +1 -9
  111. package/cjs/components/Icons/EditBoxThin.cjs +1 -12
  112. package/cjs/components/Icons/EmailFilled.cjs +10 -9
  113. package/cjs/components/Icons/EmailOutline.cjs +13 -9
  114. package/cjs/components/Icons/ExitArrowInOutline.cjs +1 -9
  115. package/cjs/components/Icons/ExitArrowOutOutline.cjs +1 -12
  116. package/cjs/components/Icons/ExitFullScreen.cjs +1 -9
  117. package/cjs/components/Icons/ExitFullScreenThick.cjs +1 -9
  118. package/cjs/components/Icons/EyeClosed.cjs +1 -9
  119. package/cjs/components/Icons/EyeFilled.cjs +1 -12
  120. package/cjs/components/Icons/EyeOutline.cjs +1 -12
  121. package/cjs/components/Icons/FacebookFilled.cjs +2 -9
  122. package/cjs/components/Icons/FacebookMessengerOutline.cjs +1 -12
  123. package/cjs/components/Icons/FacebookOutline.cjs +1 -9
  124. package/cjs/components/Icons/FacebookRoundFilled.cjs +1 -9
  125. package/cjs/components/Icons/Filter.cjs +1 -14
  126. package/cjs/components/Icons/FilterList.cjs +1 -9
  127. package/cjs/components/Icons/FilterThickFilled.cjs +1 -9
  128. package/cjs/components/Icons/FilterThickOutline.cjs +1 -9
  129. package/cjs/components/Icons/FullScreenArrowThick.cjs +1 -9
  130. package/cjs/components/Icons/FullScreenArrowThin.cjs +1 -9
  131. package/cjs/components/Icons/FullScreenExit.cjs +1 -14
  132. package/cjs/components/Icons/FullScreenFilled.cjs +1 -9
  133. package/cjs/components/Icons/FullScreenOutline.cjs +1 -9
  134. package/cjs/components/Icons/HamburgerMenu.cjs +1 -13
  135. package/cjs/components/Icons/HamburgerSpaced.cjs +1 -14
  136. package/cjs/components/Icons/HeartFilled.cjs +1 -9
  137. package/cjs/components/Icons/HeartOutline.cjs +1 -9
  138. package/cjs/components/Icons/Help.cjs +1 -9
  139. package/cjs/components/Icons/HelpCircleFilled.cjs +1 -9
  140. package/cjs/components/Icons/HelpCircleOutline.cjs +1 -13
  141. package/cjs/components/Icons/HomeFilled.cjs +1 -9
  142. package/cjs/components/Icons/HomeOutline.cjs +1 -9
  143. package/cjs/components/Icons/Info.cjs +1 -12
  144. package/cjs/components/Icons/InfoCircleFilled.cjs +1 -9
  145. package/cjs/components/Icons/InfoCircleOutline.cjs +1 -13
  146. package/cjs/components/Icons/InfoSquareFilled.cjs +1 -9
  147. package/cjs/components/Icons/InfoSquareOutline.cjs +1 -13
  148. package/cjs/components/Icons/InstagramOuline.cjs +1 -12
  149. package/cjs/components/Icons/InstagramRoundFilled.cjs +5 -14
  150. package/cjs/components/Icons/KeyFilled.cjs +1 -9
  151. package/cjs/components/Icons/KeyInSquareFilled.cjs +1 -12
  152. package/cjs/components/Icons/KeyInSquareOutline.cjs +1 -13
  153. package/cjs/components/Icons/KeyOutline.cjs +1 -12
  154. package/cjs/components/Icons/KeySideSquareFilled.cjs +1 -12
  155. package/cjs/components/Icons/KeySideSquareOutline.cjs +1 -9
  156. package/cjs/components/Icons/KeySquareFilled.cjs +1 -12
  157. package/cjs/components/Icons/KeySquareOutline.cjs +1 -9
  158. package/cjs/components/Icons/Link.cjs +1 -12
  159. package/cjs/components/Icons/LinkedinFilled.cjs +4 -9
  160. package/cjs/components/Icons/LinkedinOutline.cjs +1 -9
  161. package/cjs/components/Icons/LinkedinRoundFilled.cjs +5 -9
  162. package/cjs/components/Icons/Loading.cjs +1 -12
  163. package/cjs/components/Icons/LocationArrowFilled.cjs +1 -9
  164. package/cjs/components/Icons/LocationArrowOutline.cjs +1 -9
  165. package/cjs/components/Icons/LocationFilled.cjs +1 -14
  166. package/cjs/components/Icons/LocationOutline.cjs +1 -14
  167. package/cjs/components/Icons/LockKeyhole.cjs +1 -9
  168. package/cjs/components/Icons/LockKeyholeOutline.cjs +1 -13
  169. package/cjs/components/Icons/LockKeyholeUnlocked.cjs +1 -9
  170. package/cjs/components/Icons/LockKeyholeUnlockedOutline.cjs +1 -13
  171. package/cjs/components/Icons/MediaPauseCircleFilled.cjs +1 -9
  172. package/cjs/components/Icons/MediaPauseCircleOuline.cjs +1 -13
  173. package/cjs/components/Icons/MediaPauseFilled.cjs +1 -12
  174. package/cjs/components/Icons/MediaPauseOutline.cjs +1 -12
  175. package/cjs/components/Icons/MediaPlayCircleFilled.cjs +1 -9
  176. package/cjs/components/Icons/MediaPlayCircleOutline.cjs +1 -12
  177. package/cjs/components/Icons/MediaPlayFilled.cjs +1 -9
  178. package/cjs/components/Icons/MediaPlayOutline.cjs +1 -9
  179. package/cjs/components/Icons/MediaStopCircleFilled.cjs +1 -9
  180. package/cjs/components/Icons/MediaStopCircleOutline.cjs +1 -12
  181. package/cjs/components/Icons/MediaStopFilled.cjs +1 -9
  182. package/cjs/components/Icons/MediaStopOutline.cjs +1 -9
  183. package/cjs/components/Icons/Minus.cjs +1 -9
  184. package/cjs/components/Icons/MinusCircle.cjs +1 -14
  185. package/cjs/components/Icons/MinusCircleFilled.cjs +1 -14
  186. package/cjs/components/Icons/MoneyBagOutline.cjs +1 -14
  187. package/cjs/components/Icons/MoneyBriefcaseFilled.cjs +1 -9
  188. package/cjs/components/Icons/MoneyBriefcaseOutline.cjs +1 -13
  189. package/cjs/components/Icons/NoEntry.cjs +1 -9
  190. package/cjs/components/Icons/NoEntryFilled.cjs +1 -9
  191. package/cjs/components/Icons/NoEntryOutline.cjs +1 -12
  192. package/cjs/components/Icons/PaymentCardFilled.cjs +1 -13
  193. package/cjs/components/Icons/PaymentCardOutline.cjs +1 -13
  194. package/cjs/components/Icons/PhoneCallingFilled.cjs +1 -13
  195. package/cjs/components/Icons/PhoneCallingOutline.cjs +1 -13
  196. package/cjs/components/Icons/PhoneFilled.cjs +1 -9
  197. package/cjs/components/Icons/PhoneOutline.cjs +1 -9
  198. package/cjs/components/Icons/Pin.cjs +1 -9
  199. package/cjs/components/Icons/PinAddFilled.cjs +1 -14
  200. package/cjs/components/Icons/PinAddOutline.cjs +1 -14
  201. package/cjs/components/Icons/PinCircleFilled.cjs +1 -9
  202. package/cjs/components/Icons/PinCircleOutline.cjs +1 -12
  203. package/cjs/components/Icons/PinFilled.cjs +1 -9
  204. package/cjs/components/Icons/PinOutline.cjs +1 -9
  205. package/cjs/components/Icons/PinSubFilled.cjs +1 -14
  206. package/cjs/components/Icons/PinSubOutline.cjs +1 -14
  207. package/cjs/components/Icons/PinterestFilled.cjs +1 -14
  208. package/cjs/components/Icons/PinterestOutline.cjs +1 -9
  209. package/cjs/components/Icons/ProfileFemaleOutline.cjs +13 -9
  210. package/cjs/components/Icons/ProfileGroupFilled.cjs +1 -12
  211. package/cjs/components/Icons/ProfileMaleFilled.cjs +1 -12
  212. package/cjs/components/Icons/ProfileMaleOutline.cjs +14 -9
  213. package/cjs/components/Icons/RedditFilled.cjs +1 -14
  214. package/cjs/components/Icons/RedditOutline.cjs +1 -14
  215. package/cjs/components/Icons/RedditRoundFilled.cjs +19 -15
  216. package/cjs/components/Icons/RedditRoundOutline.cjs +23 -15
  217. package/cjs/components/Icons/RupeeOutlined.cjs +1 -9
  218. package/cjs/components/Icons/RupeeSign.cjs +1 -9
  219. package/cjs/components/Icons/SaveFilled.cjs +1 -14
  220. package/cjs/components/Icons/SaveOutline.cjs +1 -14
  221. package/cjs/components/Icons/Search.cjs +1 -14
  222. package/cjs/components/Icons/SettingFilled.cjs +1 -9
  223. package/cjs/components/Icons/SettingOutline.cjs +1 -9
  224. package/cjs/components/Icons/ShareAllFilled.cjs +1 -9
  225. package/cjs/components/Icons/ShareAllOutline.cjs +1 -15
  226. package/cjs/components/Icons/ShareBoxOutline.cjs +1 -9
  227. package/cjs/components/Icons/ShareFilled.cjs +1 -12
  228. package/cjs/components/Icons/ShareOutline.cjs +1 -12
  229. package/cjs/components/Icons/ShareThickFilled.cjs +1 -9
  230. package/cjs/components/Icons/ShieldCheckFilled.cjs +1 -9
  231. package/cjs/components/Icons/ShieldCheckOutline.cjs +1 -12
  232. package/cjs/components/Icons/ShieldCrossFilled.cjs +1 -9
  233. package/cjs/components/Icons/ShieldCrossOutline.cjs +1 -12
  234. package/cjs/components/Icons/ShieldFilled.cjs +1 -9
  235. package/cjs/components/Icons/ShieldOutline.cjs +1 -9
  236. package/cjs/components/Icons/ShieldWarningFilled.cjs +1 -9
  237. package/cjs/components/Icons/ShieldWarningOutline.cjs +1 -13
  238. package/cjs/components/Icons/SnapchatFilled.cjs +1 -14
  239. package/cjs/components/Icons/SnapchatOutline.cjs +1 -9
  240. package/cjs/components/Icons/SortBottomToTop.cjs +1 -14
  241. package/cjs/components/Icons/SortHorizontal.cjs +1 -9
  242. package/cjs/components/Icons/SortTopToBottom.cjs +1 -14
  243. package/cjs/components/Icons/SortVertical.cjs +1 -9
  244. package/cjs/components/Icons/StarFilled.cjs +6 -9
  245. package/cjs/components/Icons/StarOutline.cjs +8 -9
  246. package/cjs/components/Icons/TelegramFilled.cjs +3 -12
  247. package/cjs/components/Icons/TelegramOutline.cjs +1 -9
  248. package/cjs/components/Icons/TelegramRoundFilled.cjs +3 -12
  249. package/cjs/components/Icons/ThumbsDownFilled.cjs +1 -9
  250. package/cjs/components/Icons/ThumbsDownOutline.cjs +1 -9
  251. package/cjs/components/Icons/ThumbsUpFilled.cjs +1 -9
  252. package/cjs/components/Icons/ThumbsUpOutline.cjs +1 -9
  253. package/cjs/components/Icons/TiktokBox.cjs +1 -9
  254. package/cjs/components/Icons/TiktokThickFilled.cjs +1 -12
  255. package/cjs/components/Icons/TiktokThinFilled.cjs +1 -12
  256. package/cjs/components/Icons/TrashBigFilled.cjs +1 -14
  257. package/cjs/components/Icons/TrashBigOutline.cjs +1 -14
  258. package/cjs/components/Icons/TrashFilled.cjs +1 -12
  259. package/cjs/components/Icons/TrashLinesFilled.cjs +1 -12
  260. package/cjs/components/Icons/TrashLinesOutline.cjs +1 -15
  261. package/cjs/components/Icons/TrashOutline.cjs +1 -13
  262. package/cjs/components/Icons/Upload.cjs +1 -12
  263. package/cjs/components/Icons/UploadBoxFilled.cjs +1 -9
  264. package/cjs/components/Icons/UploadBoxOutline.cjs +1 -13
  265. package/cjs/components/Icons/VolumeFilled.cjs +1 -15
  266. package/cjs/components/Icons/VolumeMuteFilled.cjs +1 -15
  267. package/cjs/components/Icons/VolumeMuteOutline.cjs +1 -15
  268. package/cjs/components/Icons/VolumeOffFilled.cjs +1 -15
  269. package/cjs/components/Icons/VolumeOffOutline.cjs +1 -15
  270. package/cjs/components/Icons/VolumeOutline.cjs +1 -15
  271. package/cjs/components/Icons/WalletFilled.cjs +1 -14
  272. package/cjs/components/Icons/WalletOutline.cjs +1 -14
  273. package/cjs/components/Icons/Warning.cjs +1 -9
  274. package/cjs/components/Icons/WarningCircleFilled.cjs +1 -9
  275. package/cjs/components/Icons/WarningCircleOutline.cjs +1 -9
  276. package/cjs/components/Icons/WarningSmall.cjs +1 -9
  277. package/cjs/components/Icons/WarningTriangleFilled.cjs +1 -12
  278. package/cjs/components/Icons/WarningTriangleOutline.cjs +1 -9
  279. package/cjs/components/Icons/WhatsappFilled.cjs +1 -14
  280. package/cjs/components/Icons/WhatsappOutline.cjs +1 -9
  281. package/cjs/components/Icons/Youtube.cjs +1 -9
  282. package/cjs/components/Icons/YoutubeFilled.cjs +1 -14
  283. package/cjs/components/Icons/YoutubeRoundFilled.cjs +3 -12
  284. package/cjs/components/Icons/index.cjs +1 -740
  285. package/cjs/components/Image/Image.cjs +13 -69
  286. package/cjs/components/Image/index.cjs +1 -4
  287. package/cjs/components/Input/Checkbox/Checkbox.cjs +9 -130
  288. package/cjs/components/Input/Checkbox/index.cjs +1 -4
  289. package/cjs/components/Input/FileUploader/FileUploader.cjs +22 -182
  290. package/cjs/components/Input/FileUploader/constants.cjs +1 -33
  291. package/cjs/components/Input/FileUploader/index.cjs +1 -4
  292. package/cjs/components/Input/Input/Input.cjs +21 -186
  293. package/cjs/components/Input/Input/index.cjs +1 -4
  294. package/cjs/components/Input/Radio/Radio.cjs +11 -61
  295. package/cjs/components/Input/RadioGroup/RadioGroup.cjs +5 -93
  296. package/cjs/components/Input/RadioGroup/index.cjs +1 -4
  297. package/cjs/components/Input/Textarea/SvgIcon.cjs +1 -16
  298. package/cjs/components/Input/Textarea/Textarea.cjs +20 -199
  299. package/cjs/components/Input/Textarea/index.cjs +1 -4
  300. package/cjs/components/Loader/Loader.cjs +13 -103
  301. package/cjs/components/Loader/constants.cjs +1 -29
  302. package/cjs/components/Loader/index.cjs +1 -4
  303. package/cjs/components/MenuItem/MenuItem.cjs +9 -88
  304. package/cjs/components/Modal/Modal.cjs +31 -181
  305. package/cjs/components/Modal/index.cjs +1 -4
  306. package/cjs/components/OtpInput/OtpInput.cjs +5 -154
  307. package/cjs/components/OtpInput/index.cjs +1 -4
  308. package/cjs/components/PageLoader/PageLoader.cjs +5 -53
  309. package/cjs/components/PageLoader/index.cjs +1 -4
  310. package/cjs/components/Pagination/Pagination.cjs +25 -247
  311. package/cjs/components/Pagination/constants.cjs +1 -41
  312. package/cjs/components/Pagination/index.cjs +1 -4
  313. package/cjs/components/Ripple/Ripple.cjs +1 -45
  314. package/cjs/components/Ripple/index.cjs +1 -4
  315. package/cjs/components/RootComponent/RootComponent.cjs +2 -21
  316. package/cjs/components/RootComponent/index.cjs +1 -4
  317. package/cjs/components/Selectbox/Selectbox.cjs +40 -347
  318. package/cjs/components/Selectbox/index.cjs +1 -4
  319. package/cjs/components/Shimmer/Shimmer.cjs +9 -49
  320. package/cjs/components/Shimmer/index.cjs +1 -4
  321. package/cjs/components/Spinner/Spinner.cjs +7 -56
  322. package/cjs/components/Spinner/index.cjs +1 -4
  323. package/cjs/components/Timer/Timer.cjs +80 -367
  324. package/cjs/components/Timer/components/TimerRing/TimerRing.cjs +1 -57
  325. package/cjs/components/Timer/constants.cjs +1 -25
  326. package/cjs/components/Timer/index.cjs +1 -4
  327. package/cjs/components/Toast/Toast.cjs +40 -266
  328. package/cjs/components/Toast/constants.cjs +1 -39
  329. package/cjs/components/Toast/index.cjs +1 -5
  330. package/cjs/components/Typography/Headings/H1.cjs +3 -27
  331. package/cjs/components/Typography/Headings/H2.cjs +3 -27
  332. package/cjs/components/Typography/Headings/H3.cjs +3 -27
  333. package/cjs/components/Typography/Headings/H4.cjs +3 -27
  334. package/cjs/components/Typography/Headings/H5.cjs +3 -27
  335. package/cjs/components/Typography/Headings/H6.cjs +3 -27
  336. package/cjs/components/Typography/Headings/index.cjs +1 -23
  337. package/cjs/components/Typography/P/P.cjs +4 -34
  338. package/cjs/components/Typography/P/index.cjs +1 -4
  339. package/cjs/components/VideoPlayer/VideoPlayer.cjs +11 -61
  340. package/cjs/components/VideoPlayer/components/Volumebar/Volumebar.cjs +6 -28
  341. package/cjs/components/VideoPlayer/index.cjs +1 -4
  342. package/cjs/components/VideoPlayer/useSpacebarToggle.cjs +1 -56
  343. package/cjs/components/VideoPlayer/useVolumeOverlay.cjs +1 -17
  344. package/cjs/hooks/index.cjs +1 -38
  345. package/cjs/hooks/useCopyToClipboard.cjs +1 -17
  346. package/cjs/hooks/useDebounce.cjs +1 -12
  347. package/cjs/hooks/useEventListener.cjs +1 -17
  348. package/cjs/hooks/useFirstRender.cjs +1 -11
  349. package/cjs/hooks/useIntersectionObserver.cjs +1 -15
  350. package/cjs/hooks/useInterval.cjs +1 -15
  351. package/cjs/hooks/useIsMounted.cjs +1 -14
  352. package/cjs/hooks/useLocalStorage.cjs +1 -30
  353. package/cjs/hooks/useMediaQuery.cjs +1 -14
  354. package/cjs/hooks/useOnlineStatus.cjs +1 -18
  355. package/cjs/hooks/useOutsideClick.cjs +1 -17
  356. package/cjs/hooks/usePrevious.cjs +1 -11
  357. package/cjs/hooks/useSessionStorage.cjs +1 -30
  358. package/cjs/hooks/useThrottle.cjs +1 -17
  359. package/cjs/hooks/useTimeout.cjs +1 -15
  360. package/cjs/hooks/useToggle.cjs +1 -11
  361. package/cjs/hooks/useUnmount.cjs +1 -13
  362. package/cjs/hooks/useWindowSize.cjs +1 -19
  363. package/cjs/index.cjs +1 -379
  364. package/cjs/reactUtils/composeProviders.cjs +1 -7
  365. package/cjs/reactUtils/createContextHook.cjs +1 -13
  366. package/cjs/reactUtils/createPortalNode.cjs +1 -8
  367. package/cjs/reactUtils/index.cjs +1 -16
  368. package/cjs/reactUtils/lazyImport.cjs +1 -9
  369. package/cjs/reactUtils/memoCompare.cjs +1 -5
  370. package/cjs/reactUtils/withErrorBoundary.cjs +1 -33
  371. package/cjs/reactUtils/withSuspense.cjs +1 -11
  372. package/cjs/utils/addDays.cjs +1 -8
  373. package/cjs/utils/announceToScreenReader.cjs +1 -14
  374. package/cjs/utils/auditLog.cjs +1 -18
  375. package/cjs/utils/buildURL.cjs +1 -10
  376. package/cjs/utils/camelCase.cjs +1 -7
  377. package/cjs/utils/cancelablePromise.cjs +1 -19
  378. package/cjs/utils/capFirstLetter.cjs +1 -9
  379. package/cjs/utils/capitalize.cjs +1 -7
  380. package/cjs/utils/captureException.cjs +1 -17
  381. package/cjs/utils/chunk.cjs +1 -10
  382. package/cjs/utils/clamp.cjs +1 -4
  383. package/cjs/utils/clearStorage.cjs +1 -7
  384. package/cjs/utils/compose.cjs +1 -4
  385. package/cjs/utils/copyToClipboard.cjs +1 -17
  386. package/cjs/utils/countdown.cjs +1 -13
  387. package/cjs/utils/createPubSub.cjs +1 -21
  388. package/cjs/utils/debounce.cjs +1 -10
  389. package/cjs/utils/decodeJWT.cjs +1 -11
  390. package/cjs/utils/deepClone.cjs +1 -9
  391. package/cjs/utils/deepFreeze.cjs +1 -10
  392. package/cjs/utils/detectOutsideClick.cjs +1 -12
  393. package/cjs/utils/differenceInDays.cjs +1 -8
  394. package/cjs/utils/downloadFile.cjs +1 -11
  395. package/cjs/utils/fadeIn.cjs +1 -13
  396. package/cjs/utils/fadeOut.cjs +1 -10
  397. package/cjs/utils/fallback.cjs +1 -4
  398. package/cjs/utils/featureGate.cjs +1 -9
  399. package/cjs/utils/filterByKey.cjs +1 -4
  400. package/cjs/utils/flattenObject.cjs +1 -12
  401. package/cjs/utils/focusElement.cjs +1 -8
  402. package/cjs/utils/formatCompactNumber.cjs +1 -10
  403. package/cjs/utils/formatCurrency.cjs +1 -10
  404. package/cjs/utils/formatDate.cjs +1 -12
  405. package/cjs/utils/formatNumber.cjs +1 -7
  406. package/cjs/utils/formatTime.cjs +1 -12
  407. package/cjs/utils/fuzzySearch.cjs +1 -21
  408. package/cjs/utils/generateAriaId.cjs +1 -5
  409. package/cjs/utils/generateInitials.cjs +1 -7
  410. package/cjs/utils/getCurrentPath.cjs +1 -4
  411. package/cjs/utils/getGreetingByTime.cjs +1 -9
  412. package/cjs/utils/getLocalStorage.cjs +1 -11
  413. package/cjs/utils/getQueryParams.cjs +1 -10
  414. package/cjs/utils/getScreenSize.cjs +1 -10
  415. package/cjs/utils/getSessionStorage.cjs +1 -11
  416. package/cjs/utils/getToken.cjs +1 -4
  417. package/cjs/utils/getVariant.cjs +1 -12
  418. package/cjs/utils/groupBy.cjs +1 -9
  419. package/cjs/utils/handleKeyboardNavigation.cjs +1 -29
  420. package/cjs/utils/hasEqualProps.cjs +1 -13
  421. package/cjs/utils/hasPermission.cjs +1 -14
  422. package/cjs/utils/identity.cjs +1 -4
  423. package/cjs/utils/index.cjs +1 -280
  424. package/cjs/utils/isAadhaar.cjs +1 -8
  425. package/cjs/utils/isActiveRoute.cjs +1 -4
  426. package/cjs/utils/isAndroid.cjs +1 -6
  427. package/cjs/utils/isAuthenticated.cjs +1 -20
  428. package/cjs/utils/isDarkMode.cjs +1 -6
  429. package/cjs/utils/isEmail.cjs +1 -7
  430. package/cjs/utils/isEmpty.cjs +1 -9
  431. package/cjs/utils/isEqual.cjs +1 -13
  432. package/cjs/utils/isFeatureEnabled.cjs +1 -12
  433. package/cjs/utils/isGST.cjs +1 -7
  434. package/cjs/utils/isIOS.cjs +1 -6
  435. package/cjs/utils/isMobile.cjs +1 -6
  436. package/cjs/utils/isNonEmptyArray.cjs +1 -4
  437. package/cjs/utils/isOnline.cjs +1 -6
  438. package/cjs/utils/isPAN.cjs +1 -7
  439. package/cjs/utils/isPasswordStrong.cjs +1 -7
  440. package/cjs/utils/isPast.cjs +1 -7
  441. package/cjs/utils/isPhone.cjs +1 -7
  442. package/cjs/utils/isRequired.cjs +1 -9
  443. package/cjs/utils/isSafari.cjs +1 -6
  444. package/cjs/utils/isToday.cjs +1 -8
  445. package/cjs/utils/isURL.cjs +1 -12
  446. package/cjs/utils/kebabCase.cjs +1 -7
  447. package/cjs/utils/keyBy.cjs +1 -7
  448. package/cjs/utils/lazyLoadComponent.cjs +1 -5
  449. package/cjs/utils/lockBodyScroll.cjs +1 -6
  450. package/cjs/utils/logError.cjs +1 -11
  451. package/cjs/utils/logInfo.cjs +1 -18
  452. package/cjs/utils/logWarn.cjs +1 -18
  453. package/cjs/utils/maskEmail.cjs +1 -9
  454. package/cjs/utils/maskPhone.cjs +1 -10
  455. package/cjs/utils/maxLength.cjs +1 -7
  456. package/cjs/utils/measureElement.cjs +1 -9
  457. package/cjs/utils/measurePerformance.cjs +1 -19
  458. package/cjs/utils/memoize.cjs +1 -13
  459. package/cjs/utils/mergeDeep.cjs +1 -13
  460. package/cjs/utils/minLength.cjs +1 -7
  461. package/cjs/utils/multiSort.cjs +1 -15
  462. package/cjs/utils/noop.cjs +1 -5
  463. package/cjs/utils/omit.cjs +1 -7
  464. package/cjs/utils/once.cjs +1 -14
  465. package/cjs/utils/openInNewTab.cjs +1 -6
  466. package/cjs/utils/paginate.cjs +1 -15
  467. package/cjs/utils/parallel.cjs +1 -4
  468. package/cjs/utils/percentage.cjs +1 -11
  469. package/cjs/utils/permissionGuard.cjs +1 -9
  470. package/cjs/utils/pick.cjs +1 -4
  471. package/cjs/utils/pipe.cjs +1 -4
  472. package/cjs/utils/rafThrottle.cjs +1 -13
  473. package/cjs/utils/randomBetween.cjs +1 -4
  474. package/cjs/utils/randomInt.cjs +1 -7
  475. package/cjs/utils/randomValue.cjs +1 -6
  476. package/cjs/utils/redirectTo.cjs +1 -6
  477. package/cjs/utils/removeExtraSpaces.cjs +1 -7
  478. package/cjs/utils/removeLocalStorage.cjs +1 -6
  479. package/cjs/utils/removeQueryParam.cjs +1 -8
  480. package/cjs/utils/removeToken.cjs +1 -4
  481. package/cjs/utils/requestIdleTask.cjs +1 -10
  482. package/cjs/utils/retry.cjs +1 -14
  483. package/cjs/utils/roundTo.cjs +1 -8
  484. package/cjs/utils/safeAsync.cjs +1 -11
  485. package/cjs/utils/safeJSONParse.cjs +1 -10
  486. package/cjs/utils/safeJSONStringify.cjs +1 -10
  487. package/cjs/utils/scrollToElement.cjs +1 -10
  488. package/cjs/utils/scrollToTop.cjs +1 -9
  489. package/cjs/utils/sequential.cjs +1 -10
  490. package/cjs/utils/setLocalStorage.cjs +1 -9
  491. package/cjs/utils/setQueryParam.cjs +1 -8
  492. package/cjs/utils/setSessionStorage.cjs +1 -9
  493. package/cjs/utils/setToken.cjs +1 -4
  494. package/cjs/utils/singleton.cjs +1 -10
  495. package/cjs/utils/sleep.cjs +1 -4
  496. package/cjs/utils/slugify.cjs +1 -7
  497. package/cjs/utils/smoothScroll.cjs +1 -19
  498. package/cjs/utils/snakeCase.cjs +1 -7
  499. package/cjs/utils/sortBy.cjs +1 -8
  500. package/cjs/utils/throttle.cjs +1 -13
  501. package/cjs/utils/timeAgo.cjs +1 -21
  502. package/cjs/utils/titleCase.cjs +1 -7
  503. package/cjs/utils/toggleFullscreen.cjs +1 -11
  504. package/cjs/utils/trackEvent.cjs +1 -17
  505. package/cjs/utils/trackPageView.cjs +1 -17
  506. package/cjs/utils/trapFocus.cjs +1 -31
  507. package/cjs/utils/truncate.cjs +1 -7
  508. package/cjs/utils/uniqueBy.cjs +1 -12
  509. package/cjs/utils/unlockBodyScroll.cjs +1 -6
  510. package/cjs/utils/waitForTransitionEnd.cjs +1 -11
  511. package/cjs/utils/withTimeout.cjs +1 -7
  512. package/colors/amber.js +2 -2
  513. package/colors/black.js +3 -3
  514. package/colors/blue.js +3 -3
  515. package/colors/blueGray.js +2 -2
  516. package/colors/brown.js +3 -3
  517. package/colors/cider.js +2 -2
  518. package/colors/colorMap.js +48 -48
  519. package/colors/cyan.js +2 -2
  520. package/colors/deepOrange.js +2 -2
  521. package/colors/deepPurple.js +2 -2
  522. package/colors/green.js +3 -3
  523. package/colors/grey.js +3 -3
  524. package/colors/indigo.js +3 -3
  525. package/colors/lightBlue.js +2 -2
  526. package/colors/lightGreen.js +2 -2
  527. package/colors/lime.js +2 -2
  528. package/colors/orange.js +3 -3
  529. package/colors/pink.js +3 -3
  530. package/colors/purple.js +3 -3
  531. package/colors/red.js +3 -3
  532. package/colors/teal.js +3 -3
  533. package/colors/violet.js +3 -3
  534. package/colors/white.js +3 -3
  535. package/colors/yellow.js +3 -3
  536. package/components/Button/Button.js +89 -135
  537. package/components/Button/constants.js +10 -14
  538. package/components/Button/index.js +2 -2
  539. package/components/Carousel/Carousel.js +210 -241
  540. package/components/Carousel/index.js +2 -2
  541. package/components/DatePicker/DatePicker.js +273 -343
  542. package/components/DatePicker/constants.js +17 -6
  543. package/components/DatePicker/index.js +2 -2
  544. package/components/DatePicker/utils.js +18 -41
  545. package/components/Dropdown/Dropdown.js +277 -326
  546. package/components/Dropdown/constants.js +3 -3
  547. package/components/Dropdown/index.js +2 -2
  548. package/components/Glass/Glass.js +6 -13
  549. package/components/Glass/index.js +2 -2
  550. package/components/Icons/Add.js +46 -13
  551. package/components/Icons/AddCircle.js +31 -10
  552. package/components/Icons/AddCircleFilled.js +22 -7
  553. package/components/Icons/ArrowDown.js +22 -7
  554. package/components/Icons/ArrowLeft.js +23 -7
  555. package/components/Icons/ArrowRight.js +23 -7
  556. package/components/Icons/ArrowUp.js +22 -7
  557. package/components/Icons/BagFilled.js +22 -7
  558. package/components/Icons/BagOutline.js +32 -10
  559. package/components/Icons/BellFilled.js +33 -10
  560. package/components/Icons/BellOffFilled.js +42 -11
  561. package/components/Icons/BellOffOutline.js +44 -11
  562. package/components/Icons/BellOutline.js +35 -10
  563. package/components/Icons/BookmarkFilled.js +25 -12
  564. package/components/Icons/BookmarkOutline.js +22 -7
  565. package/components/Icons/BoxCoveredFilled.js +43 -12
  566. package/components/Icons/BoxCoveredOutline.js +33 -10
  567. package/components/Icons/BoxFilled.js +36 -11
  568. package/components/Icons/BoxOutline.js +33 -10
  569. package/components/Icons/CalendarDays.js +22 -7
  570. package/components/Icons/CalendarLinesPen.js +23 -7
  571. package/components/Icons/CartCheckFilled.js +38 -11
  572. package/components/Icons/CartCheckOutline.js +48 -12
  573. package/components/Icons/CartCrossFilled.js +38 -11
  574. package/components/Icons/CartCrossOutline.js +47 -12
  575. package/components/Icons/CartFilled.js +36 -11
  576. package/components/Icons/CartMinusFilled.js +38 -11
  577. package/components/Icons/CartMinusOutline.js +49 -13
  578. package/components/Icons/CartOutline.js +48 -12
  579. package/components/Icons/CartPlusFilled.js +38 -11
  580. package/components/Icons/CartPlusOutline.js +47 -12
  581. package/components/Icons/Check.js +23 -7
  582. package/components/Icons/CheckDouble.js +23 -7
  583. package/components/Icons/ChevronDown.js +23 -7
  584. package/components/Icons/ChevronLeft.js +23 -7
  585. package/components/Icons/ChevronRight.js +23 -7
  586. package/components/Icons/ChevronUp.js +23 -7
  587. package/components/Icons/ClockCircleOutline.js +26 -10
  588. package/components/Icons/ClockSquareOutline.js +33 -10
  589. package/components/Icons/Close.js +20 -7
  590. package/components/Icons/CloseCircleFilled.js +22 -7
  591. package/components/Icons/CloseCircleOutline.js +23 -7
  592. package/components/Icons/CommentBubbleFilled.js +25 -12
  593. package/components/Icons/CommentBubbleOutline.js +25 -12
  594. package/components/Icons/CommentFilled.js +25 -12
  595. package/components/Icons/CommentLineFilled.js +25 -12
  596. package/components/Icons/CommentLineOutline.js +25 -12
  597. package/components/Icons/CommentOutline.js +25 -12
  598. package/components/Icons/ContactDetailsFilled.js +17 -10
  599. package/components/Icons/ContactDetailsOutline.js +17 -10
  600. package/components/Icons/DeliveryTruckFastFilled.js +28 -15
  601. package/components/Icons/DeliveryTruckFastOutline.js +28 -15
  602. package/components/Icons/DeliveryTruckLeftFilled.js +26 -10
  603. package/components/Icons/DeliveryTruckLeftOutline.js +27 -10
  604. package/components/Icons/DeliveryTruckRightFilled.js +23 -10
  605. package/components/Icons/DeliveryTruckRightOutline.js +23 -10
  606. package/components/Icons/DetailsOutline.js +17 -10
  607. package/components/Icons/DiscordConversation.js +29 -10
  608. package/components/Icons/DiscordFilled.js +23 -10
  609. package/components/Icons/DiscordOutline.js +27 -11
  610. package/components/Icons/DoorClosedFilled.js +22 -7
  611. package/components/Icons/DoorClosedOutline.js +23 -7
  612. package/components/Icons/DoorOpenFilled.js +22 -7
  613. package/components/Icons/DoorOpenOutline.js +23 -7
  614. package/components/Icons/DotsHorizontalFilled.js +36 -11
  615. package/components/Icons/DotsHorizontalOutline.js +45 -11
  616. package/components/Icons/DotsVerticalFilled.js +36 -11
  617. package/components/Icons/DotsVerticalOutline.js +45 -11
  618. package/components/Icons/Download.js +29 -10
  619. package/components/Icons/DownloadBoxFilled.js +22 -7
  620. package/components/Icons/DownloadBoxOutline.js +38 -11
  621. package/components/Icons/EditBoxThick.js +23 -7
  622. package/components/Icons/EditBoxThin.js +35 -10
  623. package/components/Icons/EmailFilled.js +29 -7
  624. package/components/Icons/EmailOutline.js +32 -7
  625. package/components/Icons/ExitArrowInOutline.js +23 -7
  626. package/components/Icons/ExitArrowOutOutline.js +35 -10
  627. package/components/Icons/ExitFullScreen.js +21 -7
  628. package/components/Icons/ExitFullScreenThick.js +21 -7
  629. package/components/Icons/EyeClosed.js +22 -7
  630. package/components/Icons/EyeFilled.js +31 -10
  631. package/components/Icons/EyeOutline.js +35 -10
  632. package/components/Icons/FacebookFilled.js +21 -7
  633. package/components/Icons/FacebookMessengerOutline.js +31 -10
  634. package/components/Icons/FacebookOutline.js +22 -7
  635. package/components/Icons/FacebookRoundFilled.js +20 -7
  636. package/components/Icons/Filter.js +19 -12
  637. package/components/Icons/FilterList.js +23 -7
  638. package/components/Icons/FilterThickFilled.js +20 -7
  639. package/components/Icons/FilterThickOutline.js +21 -7
  640. package/components/Icons/FullScreenArrowThick.js +21 -7
  641. package/components/Icons/FullScreenArrowThin.js +21 -7
  642. package/components/Icons/FullScreenExit.js +43 -12
  643. package/components/Icons/FullScreenFilled.js +22 -7
  644. package/components/Icons/FullScreenOutline.js +22 -7
  645. package/components/Icons/HamburgerMenu.js +42 -11
  646. package/components/Icons/HamburgerSpaced.js +25 -12
  647. package/components/Icons/HeartFilled.js +20 -7
  648. package/components/Icons/HeartOutline.js +25 -7
  649. package/components/Icons/Help.js +23 -7
  650. package/components/Icons/HelpCircleFilled.js +22 -7
  651. package/components/Icons/HelpCircleOutline.js +43 -11
  652. package/components/Icons/HomeFilled.js +22 -7
  653. package/components/Icons/HomeOutline.js +22 -7
  654. package/components/Icons/Info.js +29 -10
  655. package/components/Icons/InfoCircleFilled.js +22 -7
  656. package/components/Icons/InfoCircleOutline.js +18 -11
  657. package/components/Icons/InfoSquareFilled.js +22 -7
  658. package/components/Icons/InfoSquareOutline.js +25 -11
  659. package/components/Icons/InstagramOuline.js +23 -10
  660. package/components/Icons/InstagramRoundFilled.js +47 -12
  661. package/components/Icons/KeyFilled.js +22 -7
  662. package/components/Icons/KeyInSquareFilled.js +31 -10
  663. package/components/Icons/KeyInSquareOutline.js +40 -11
  664. package/components/Icons/KeyOutline.js +33 -10
  665. package/components/Icons/KeySideSquareFilled.js +31 -10
  666. package/components/Icons/KeySideSquareOutline.js +22 -7
  667. package/components/Icons/KeySquareFilled.js +31 -10
  668. package/components/Icons/KeySquareOutline.js +22 -7
  669. package/components/Icons/Link.js +33 -10
  670. package/components/Icons/LinkedinFilled.js +23 -7
  671. package/components/Icons/LinkedinOutline.js +21 -7
  672. package/components/Icons/LinkedinRoundFilled.js +24 -7
  673. package/components/Icons/Loading.js +23 -10
  674. package/components/Icons/LocationArrowFilled.js +14 -7
  675. package/components/Icons/LocationArrowOutline.js +23 -7
  676. package/components/Icons/LocationFilled.js +25 -12
  677. package/components/Icons/LocationOutline.js +25 -12
  678. package/components/Icons/LockKeyhole.js +22 -7
  679. package/components/Icons/LockKeyholeOutline.js +33 -11
  680. package/components/Icons/LockKeyholeUnlocked.js +22 -7
  681. package/components/Icons/LockKeyholeUnlockedOutline.js +33 -11
  682. package/components/Icons/MediaPauseCircleFilled.js +22 -7
  683. package/components/Icons/MediaPauseCircleOuline.js +38 -11
  684. package/components/Icons/MediaPauseFilled.js +29 -10
  685. package/components/Icons/MediaPauseOutline.js +33 -10
  686. package/components/Icons/MediaPlayCircleFilled.js +22 -7
  687. package/components/Icons/MediaPlayCircleOutline.js +33 -10
  688. package/components/Icons/MediaPlayFilled.js +20 -7
  689. package/components/Icons/MediaPlayOutline.js +22 -7
  690. package/components/Icons/MediaStopCircleFilled.js +22 -7
  691. package/components/Icons/MediaStopCircleOutline.js +33 -10
  692. package/components/Icons/MediaStopFilled.js +20 -7
  693. package/components/Icons/MediaStopOutline.js +22 -7
  694. package/components/Icons/Minus.js +23 -7
  695. package/components/Icons/MinusCircle.js +25 -12
  696. package/components/Icons/MinusCircleFilled.js +25 -12
  697. package/components/Icons/MoneyBagOutline.js +48 -12
  698. package/components/Icons/MoneyBriefcaseFilled.js +22 -7
  699. package/components/Icons/MoneyBriefcaseOutline.js +40 -11
  700. package/components/Icons/NoEntry.js +21 -7
  701. package/components/Icons/NoEntryFilled.js +20 -7
  702. package/components/Icons/NoEntryOutline.js +23 -10
  703. package/components/Icons/PaymentCardFilled.js +18 -11
  704. package/components/Icons/PaymentCardOutline.js +18 -11
  705. package/components/Icons/PhoneCallingFilled.js +38 -11
  706. package/components/Icons/PhoneCallingOutline.js +40 -11
  707. package/components/Icons/PhoneFilled.js +20 -7
  708. package/components/Icons/PhoneOutline.js +20 -7
  709. package/components/Icons/Pin.js +23 -7
  710. package/components/Icons/PinAddFilled.js +19 -12
  711. package/components/Icons/PinAddOutline.js +19 -12
  712. package/components/Icons/PinCircleFilled.js +22 -7
  713. package/components/Icons/PinCircleOutline.js +23 -10
  714. package/components/Icons/PinFilled.js +20 -7
  715. package/components/Icons/PinOutline.js +22 -7
  716. package/components/Icons/PinSubFilled.js +19 -12
  717. package/components/Icons/PinSubOutline.js +19 -12
  718. package/components/Icons/PinterestFilled.js +19 -12
  719. package/components/Icons/PinterestOutline.js +23 -7
  720. package/components/Icons/ProfileFemaleOutline.js +32 -7
  721. package/components/Icons/ProfileGroupFilled.js +30 -10
  722. package/components/Icons/ProfileMaleFilled.js +30 -10
  723. package/components/Icons/ProfileMaleOutline.js +33 -7
  724. package/components/Icons/RedditFilled.js +19 -12
  725. package/components/Icons/RedditOutline.js +45 -12
  726. package/components/Icons/RedditRoundFilled.js +68 -13
  727. package/components/Icons/RedditRoundOutline.js +72 -13
  728. package/components/Icons/RupeeOutlined.js +20 -7
  729. package/components/Icons/RupeeSign.js +23 -7
  730. package/components/Icons/SaveFilled.js +25 -12
  731. package/components/Icons/SaveOutline.js +25 -12
  732. package/components/Icons/Search.js +25 -12
  733. package/components/Icons/SettingFilled.js +20 -7
  734. package/components/Icons/SettingOutline.js +20 -7
  735. package/components/Icons/ShareAllFilled.js +22 -7
  736. package/components/Icons/ShareAllOutline.js +41 -13
  737. package/components/Icons/ShareBoxOutline.js +20 -7
  738. package/components/Icons/ShareFilled.js +31 -10
  739. package/components/Icons/ShareOutline.js +34 -10
  740. package/components/Icons/ShareThickFilled.js +20 -7
  741. package/components/Icons/ShieldCheckFilled.js +22 -7
  742. package/components/Icons/ShieldCheckOutline.js +33 -10
  743. package/components/Icons/ShieldCrossFilled.js +22 -7
  744. package/components/Icons/ShieldCrossOutline.js +32 -10
  745. package/components/Icons/ShieldFilled.js +20 -7
  746. package/components/Icons/ShieldOutline.js +22 -7
  747. package/components/Icons/ShieldWarningFilled.js +22 -7
  748. package/components/Icons/ShieldWarningOutline.js +25 -11
  749. package/components/Icons/SnapchatFilled.js +19 -12
  750. package/components/Icons/SnapchatOutline.js +22 -7
  751. package/components/Icons/SortBottomToTop.js +28 -12
  752. package/components/Icons/SortHorizontal.js +22 -7
  753. package/components/Icons/SortTopToBottom.js +28 -12
  754. package/components/Icons/SortVertical.js +22 -7
  755. package/components/Icons/StarFilled.js +25 -7
  756. package/components/Icons/StarOutline.js +27 -7
  757. package/components/Icons/TelegramFilled.js +25 -10
  758. package/components/Icons/TelegramOutline.js +22 -7
  759. package/components/Icons/TelegramRoundFilled.js +25 -10
  760. package/components/Icons/ThumbsDownFilled.js +20 -7
  761. package/components/Icons/ThumbsDownOutline.js +20 -7
  762. package/components/Icons/ThumbsUpFilled.js +20 -7
  763. package/components/Icons/ThumbsUpOutline.js +20 -7
  764. package/components/Icons/TiktokBox.js +20 -7
  765. package/components/Icons/TiktokThickFilled.js +23 -10
  766. package/components/Icons/TiktokThinFilled.js +34 -10
  767. package/components/Icons/TrashBigFilled.js +25 -12
  768. package/components/Icons/TrashBigOutline.js +25 -12
  769. package/components/Icons/TrashFilled.js +29 -10
  770. package/components/Icons/TrashLinesFilled.js +31 -10
  771. package/components/Icons/TrashLinesOutline.js +35 -13
  772. package/components/Icons/TrashOutline.js +33 -11
  773. package/components/Icons/Upload.js +29 -10
  774. package/components/Icons/UploadBoxFilled.js +22 -7
  775. package/components/Icons/UploadBoxOutline.js +38 -11
  776. package/components/Icons/VolumeFilled.js +32 -13
  777. package/components/Icons/VolumeMuteFilled.js +32 -13
  778. package/components/Icons/VolumeMuteOutline.js +32 -13
  779. package/components/Icons/VolumeOffFilled.js +32 -13
  780. package/components/Icons/VolumeOffOutline.js +32 -13
  781. package/components/Icons/VolumeOutline.js +32 -13
  782. package/components/Icons/WalletFilled.js +25 -12
  783. package/components/Icons/WalletOutline.js +25 -12
  784. package/components/Icons/Warning.js +23 -7
  785. package/components/Icons/WarningCircleFilled.js +20 -7
  786. package/components/Icons/WarningCircleOutline.js +20 -7
  787. package/components/Icons/WarningSmall.js +23 -7
  788. package/components/Icons/WarningTriangleFilled.js +23 -10
  789. package/components/Icons/WarningTriangleOutline.js +23 -7
  790. package/components/Icons/WhatsappFilled.js +19 -12
  791. package/components/Icons/WhatsappOutline.js +22 -7
  792. package/components/Icons/Youtube.js +20 -7
  793. package/components/Icons/YoutubeFilled.js +25 -12
  794. package/components/Icons/YoutubeRoundFilled.js +25 -10
  795. package/components/Icons/index.js +737 -737
  796. package/components/Image/Image.js +57 -62
  797. package/components/Image/index.js +2 -2
  798. package/components/Input/Checkbox/Checkbox.js +101 -107
  799. package/components/Input/Checkbox/index.js +2 -2
  800. package/components/Input/FileUploader/FileUploader.js +125 -160
  801. package/components/Input/FileUploader/constants.js +10 -14
  802. package/components/Input/FileUploader/index.js +2 -2
  803. package/components/Input/Input/Input.js +115 -177
  804. package/components/Input/Input/index.js +2 -2
  805. package/components/Input/Radio/Radio.js +45 -54
  806. package/components/Input/RadioGroup/RadioGroup.js +86 -76
  807. package/components/Input/RadioGroup/index.js +2 -2
  808. package/components/Input/Textarea/SvgIcon.js +4 -14
  809. package/components/Input/Textarea/Textarea.js +126 -190
  810. package/components/Input/Textarea/index.js +2 -2
  811. package/components/Loader/Loader.js +67 -90
  812. package/components/Loader/constants.js +12 -27
  813. package/components/Loader/index.js +2 -2
  814. package/components/MenuItem/MenuItem.js +59 -82
  815. package/components/Modal/Modal.js +132 -162
  816. package/components/Modal/index.js +2 -2
  817. package/components/OtpInput/OtpInput.js +82 -138
  818. package/components/OtpInput/index.js +2 -2
  819. package/components/PageLoader/PageLoader.js +47 -48
  820. package/components/PageLoader/index.js +2 -2
  821. package/components/Pagination/Pagination.js +148 -237
  822. package/components/Pagination/constants.js +22 -39
  823. package/components/Pagination/index.js +2 -2
  824. package/components/Ripple/Ripple.js +36 -39
  825. package/components/Ripple/index.js +2 -2
  826. package/components/RootComponent/RootComponent.js +8 -14
  827. package/components/RootComponent/index.js +2 -2
  828. package/components/Selectbox/Selectbox.js +294 -313
  829. package/components/Selectbox/index.js +2 -2
  830. package/components/Shimmer/Shimmer.js +38 -39
  831. package/components/Shimmer/index.js +2 -2
  832. package/components/Spinner/Spinner.js +48 -47
  833. package/components/Spinner/index.js +2 -2
  834. package/components/Timer/Timer.js +278 -335
  835. package/components/Timer/components/TimerRing/TimerRing.js +82 -44
  836. package/components/Timer/constants.js +22 -22
  837. package/components/Timer/index.js +2 -2
  838. package/components/Toast/Toast.js +159 -245
  839. package/components/Toast/constants.js +28 -33
  840. package/components/Toast/index.js +4 -4
  841. package/components/Typography/Headings/H1.js +10 -19
  842. package/components/Typography/Headings/H2.js +10 -19
  843. package/components/Typography/Headings/H3.js +10 -19
  844. package/components/Typography/Headings/H4.js +10 -19
  845. package/components/Typography/Headings/H5.js +10 -19
  846. package/components/Typography/Headings/H6.js +10 -19
  847. package/components/Typography/Headings/index.js +14 -21
  848. package/components/Typography/P/P.js +13 -25
  849. package/components/Typography/P/index.js +2 -2
  850. package/components/VideoPlayer/VideoPlayer.js +43 -54
  851. package/components/VideoPlayer/components/Volumebar/Volumebar.js +14 -22
  852. package/components/VideoPlayer/index.js +2 -2
  853. package/components/VideoPlayer/useSpacebarToggle.js +43 -48
  854. package/components/VideoPlayer/useVolumeOverlay.js +6 -13
  855. package/hooks/index.js +36 -36
  856. package/hooks/useCopyToClipboard.js +9 -12
  857. package/hooks/useDebounce.js +8 -9
  858. package/hooks/useEventListener.js +12 -14
  859. package/hooks/useFirstRender.js +7 -8
  860. package/hooks/useIntersectionObserver.js +10 -12
  861. package/hooks/useInterval.js +11 -12
  862. package/hooks/useIsMounted.js +7 -11
  863. package/hooks/useLocalStorage.js +18 -20
  864. package/hooks/useMediaQuery.js +8 -11
  865. package/hooks/useOnlineStatus.js +9 -14
  866. package/hooks/useOutsideClick.js +9 -12
  867. package/hooks/usePrevious.js +7 -8
  868. package/hooks/useSessionStorage.js +18 -20
  869. package/hooks/useThrottle.js +13 -14
  870. package/hooks/useTimeout.js +11 -12
  871. package/hooks/useToggle.js +6 -7
  872. package/hooks/useUnmount.js +7 -10
  873. package/hooks/useWindowSize.js +8 -13
  874. package/index.js +377 -377
  875. package/package.json +1 -1
  876. package/reactUtils/composeProviders.js +3 -5
  877. package/reactUtils/createContextHook.js +8 -9
  878. package/reactUtils/createPortalNode.js +4 -5
  879. package/reactUtils/index.js +14 -14
  880. package/reactUtils/lazyImport.js +4 -6
  881. package/reactUtils/memoCompare.js +3 -3
  882. package/reactUtils/withErrorBoundary.js +14 -22
  883. package/reactUtils/withSuspense.js +7 -8
  884. package/utils/addDays.js +4 -5
  885. package/utils/announceToScreenReader.js +5 -10
  886. package/utils/auditLog.js +8 -13
  887. package/utils/buildURL.js +6 -7
  888. package/utils/camelCase.js +2 -5
  889. package/utils/cancelablePromise.js +10 -12
  890. package/utils/capFirstLetter.js +2 -7
  891. package/utils/capitalize.js +2 -5
  892. package/utils/captureException.js +7 -12
  893. package/utils/chunk.js +6 -7
  894. package/utils/clamp.js +2 -2
  895. package/utils/clearStorage.js +3 -4
  896. package/utils/compose.js +2 -2
  897. package/utils/copyToClipboard.js +7 -12
  898. package/utils/countdown.js +7 -8
  899. package/utils/createPubSub.js +11 -17
  900. package/utils/debounce.js +5 -6
  901. package/utils/decodeJWT.js +5 -5
  902. package/utils/deepClone.js +2 -7
  903. package/utils/deepFreeze.js +5 -8
  904. package/utils/detectOutsideClick.js +7 -8
  905. package/utils/differenceInDays.js +4 -5
  906. package/utils/downloadFile.js +4 -8
  907. package/utils/fadeIn.js +4 -7
  908. package/utils/fadeOut.js +5 -7
  909. package/utils/fallback.js +2 -2
  910. package/utils/featureGate.js +2 -7
  911. package/utils/filterByKey.js +2 -2
  912. package/utils/flattenObject.js +4 -9
  913. package/utils/focusElement.js +5 -5
  914. package/utils/formatCompactNumber.js +4 -8
  915. package/utils/formatCurrency.js +2 -8
  916. package/utils/formatDate.js +6 -9
  917. package/utils/formatNumber.js +2 -5
  918. package/utils/formatTime.js +6 -7
  919. package/utils/fuzzySearch.js +11 -16
  920. package/utils/generateAriaId.js +3 -3
  921. package/utils/generateInitials.js +2 -5
  922. package/utils/getCurrentPath.js +2 -2
  923. package/utils/getGreetingByTime.js +4 -6
  924. package/utils/getLocalStorage.js +5 -5
  925. package/utils/getQueryParams.js +6 -7
  926. package/utils/getScreenSize.js +2 -2
  927. package/utils/getSessionStorage.js +5 -5
  928. package/utils/getToken.js +2 -2
  929. package/utils/getVariant.js +4 -5
  930. package/utils/groupBy.js +5 -6
  931. package/utils/handleKeyboardNavigation.js +13 -25
  932. package/utils/hasEqualProps.js +7 -11
  933. package/utils/hasPermission.js +11 -11
  934. package/utils/identity.js +2 -2
  935. package/utils/index.js +278 -278
  936. package/utils/isAadhaar.js +5 -5
  937. package/utils/isActiveRoute.js +2 -2
  938. package/utils/isAndroid.js +2 -4
  939. package/utils/isAuthenticated.js +8 -14
  940. package/utils/isDarkMode.js +2 -4
  941. package/utils/isEmail.js +2 -5
  942. package/utils/isEmpty.js +2 -7
  943. package/utils/isEqual.js +7 -10
  944. package/utils/isFeatureEnabled.js +6 -7
  945. package/utils/isGST.js +2 -5
  946. package/utils/isIOS.js +2 -4
  947. package/utils/isMobile.js +2 -4
  948. package/utils/isNonEmptyArray.js +2 -2
  949. package/utils/isOnline.js +2 -4
  950. package/utils/isPAN.js +2 -5
  951. package/utils/isPasswordStrong.js +2 -5
  952. package/utils/isPast.js +2 -5
  953. package/utils/isPhone.js +2 -5
  954. package/utils/isRequired.js +2 -7
  955. package/utils/isSafari.js +2 -4
  956. package/utils/isToday.js +4 -5
  957. package/utils/isURL.js +7 -7
  958. package/utils/kebabCase.js +2 -5
  959. package/utils/keyBy.js +2 -5
  960. package/utils/lazyLoadComponent.js +3 -3
  961. package/utils/lockBodyScroll.js +2 -2
  962. package/utils/logError.js +4 -8
  963. package/utils/logInfo.js +5 -15
  964. package/utils/logWarn.js +5 -15
  965. package/utils/maskEmail.js +5 -6
  966. package/utils/maskPhone.js +6 -7
  967. package/utils/maxLength.js +2 -5
  968. package/utils/measureElement.js +5 -6
  969. package/utils/measurePerformance.js +8 -14
  970. package/utils/memoize.js +8 -9
  971. package/utils/mergeDeep.js +6 -10
  972. package/utils/minLength.js +2 -5
  973. package/utils/multiSort.js +6 -10
  974. package/utils/noop.js +2 -2
  975. package/utils/omit.js +4 -4
  976. package/utils/once.js +4 -11
  977. package/utils/openInNewTab.js +3 -3
  978. package/utils/paginate.js +8 -10
  979. package/utils/parallel.js +2 -2
  980. package/utils/percentage.js +4 -8
  981. package/utils/permissionGuard.js +2 -7
  982. package/utils/pick.js +2 -2
  983. package/utils/pipe.js +2 -2
  984. package/utils/rafThrottle.js +7 -9
  985. package/utils/randomBetween.js +2 -2
  986. package/utils/randomInt.js +3 -5
  987. package/utils/randomValue.js +2 -4
  988. package/utils/redirectTo.js +3 -3
  989. package/utils/removeExtraSpaces.js +2 -5
  990. package/utils/removeLocalStorage.js +3 -3
  991. package/utils/removeQueryParam.js +4 -5
  992. package/utils/removeToken.js +2 -2
  993. package/utils/requestIdleTask.js +3 -7
  994. package/utils/retry.js +8 -9
  995. package/utils/roundTo.js +5 -5
  996. package/utils/safeAsync.js +5 -6
  997. package/utils/safeJSONParse.js +5 -5
  998. package/utils/safeJSONStringify.js +4 -4
  999. package/utils/scrollToElement.js +4 -7
  1000. package/utils/scrollToTop.js +3 -6
  1001. package/utils/sequential.js +6 -7
  1002. package/utils/setLocalStorage.js +3 -3
  1003. package/utils/setQueryParam.js +4 -5
  1004. package/utils/setSessionStorage.js +3 -3
  1005. package/utils/setToken.js +2 -2
  1006. package/utils/singleton.js +4 -7
  1007. package/utils/sleep.js +2 -2
  1008. package/utils/slugify.js +2 -5
  1009. package/utils/smoothScroll.js +10 -15
  1010. package/utils/snakeCase.js +2 -5
  1011. package/utils/sortBy.js +4 -5
  1012. package/utils/throttle.js +6 -9
  1013. package/utils/timeAgo.js +12 -18
  1014. package/utils/titleCase.js +2 -5
  1015. package/utils/toggleFullscreen.js +4 -8
  1016. package/utils/trackEvent.js +5 -14
  1017. package/utils/trackPageView.js +7 -12
  1018. package/utils/trapFocus.js +12 -26
  1019. package/utils/truncate.js +2 -5
  1020. package/utils/uniqueBy.js +6 -8
  1021. package/utils/unlockBodyScroll.js +2 -2
  1022. package/utils/waitForTransitionEnd.js +5 -7
  1023. package/utils/withTimeout.js +6 -4
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const isRequired = (value) => {
4
- if (value === null || value === void 0) return false;
5
- if (typeof value === "string") return value.trim().length > 0;
6
- if (Array.isArray(value)) return value.length > 0;
7
- return true;
8
- };
9
- exports.default = isRequired;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=e=>e==null?!1:typeof e=="string"?e.trim().length>0:Array.isArray(e)?e.length>0:!0;exports.default=r;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const isSafari = () => {
4
- return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
5
- };
6
- exports.default = isSafari;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent);exports.default=e;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const isToday = (date) => {
4
- const d = date instanceof Date ? date : new Date(date);
5
- const now = /* @__PURE__ */ new Date();
6
- return d.getFullYear() === now.getFullYear() && d.getMonth() === now.getMonth() && d.getDate() === now.getDate();
7
- };
8
- exports.default = isToday;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=e=>{const t=e instanceof Date?e:new Date(e),n=new Date;return t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()&&t.getDate()===n.getDate()};exports.default=o;
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const isURL = (value) => {
4
- if (typeof value !== "string") return false;
5
- try {
6
- const url = new URL(value.trim());
7
- return url.protocol === "http:" || url.protocol === "https:";
8
- } catch (e) {
9
- return false;
10
- }
11
- };
12
- exports.default = isURL;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=e=>{if(typeof e!="string")return!1;try{const t=new URL(e.trim());return t.protocol==="http:"||t.protocol==="https:"}catch(t){return!1}};exports.default=r;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const kebabCase = (str) => {
4
- if (typeof str !== "string") return str;
5
- return str.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
6
- };
7
- exports.default = kebabCase;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>typeof e!="string"?e:e.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]+/g,"-").toLowerCase();exports.default=t;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const keyBy = (array, key) => array.reduce((acc, item) => {
4
- acc[typeof key === "function" ? key(item) : item[key]] = item;
5
- return acc;
6
- }, {});
7
- exports.default = keyBy;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(o,e)=>o.reduce((u,t)=>(u[typeof e=="function"?e(t):t[e]]=t,u),{});exports.default=r;
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const react = require("react");
4
- const lazyLoadComponent = (importFn) => react.lazy(importFn);
5
- exports.default = lazyLoadComponent;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react"),o=e=>t.lazy(e);exports.default=o;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const lockBodyScroll = () => {
4
- document.body.style.overflow = "hidden";
5
- };
6
- exports.default = lockBodyScroll;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=()=>{document.body.style.overflow="hidden"};exports.default=e;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const logError = (error, context = {}) => {
4
- const msg = error instanceof Error ? error.message : String(error);
5
- const stack = error instanceof Error ? error.stack : void 0;
6
- console.error("[logError]", msg, {
7
- ...context,
8
- stack
9
- });
10
- };
11
- exports.default = logError;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=(e,t={})=>{const o=e instanceof Error?e.message:String(e),s=e instanceof Error?e.stack:void 0;console.error("[logError]",o,{...t,stack:s})};exports.default=n;
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const logInfo = (message, context = {}) => {
4
- var _a;
5
- const entry = {
6
- level: "info",
7
- message,
8
- ...context,
9
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
10
- };
11
- if (typeof window !== "undefined" && typeof ((_a = window.__logger) == null ? void 0 : _a.info) === "function") {
12
- window.__logger.info(entry);
13
- } else {
14
- console.info("[logInfo]", entry);
15
- }
16
- return entry;
17
- };
18
- exports.default = logInfo;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=(n,t={})=>{var o;const e={level:"info",message:n,...t,timestamp:new Date().toISOString()};return typeof window!="undefined"&&typeof((o=window.__logger)==null?void 0:o.info)=="function"?window.__logger.info(e):console.info("[logInfo]",e),e};exports.default=i;
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const logWarn = (message, context = {}) => {
4
- var _a;
5
- const entry = {
6
- level: "warn",
7
- message,
8
- ...context,
9
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
10
- };
11
- if (typeof window !== "undefined" && typeof ((_a = window.__logger) == null ? void 0 : _a.warn) === "function") {
12
- window.__logger.warn(entry);
13
- } else {
14
- console.warn("[logWarn]", entry);
15
- }
16
- return entry;
17
- };
18
- exports.default = logWarn;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(o,t={})=>{var n;const e={level:"warn",message:o,...t,timestamp:new Date().toISOString()};return typeof window!="undefined"&&typeof((n=window.__logger)==null?void 0:n.warn)=="function"?window.__logger.warn(e):console.warn("[logWarn]",e),e};exports.default=r;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const maskEmail = (str) => {
4
- if (typeof str !== "string") return str;
5
- const [local, domain] = str.split("@");
6
- if (!domain) return str;
7
- return local.charAt(0) + "***@" + domain;
8
- };
9
- exports.default = maskEmail;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=e=>{if(typeof e!="string")return e;const[i,t]=e.split("@");return t?i.charAt(0)+"***@"+t:e};exports.default=l;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const maskPhone = (str) => {
4
- if (typeof str !== "string") return str;
5
- const digits = str.replace(/\D/g, "");
6
- const maskUntil = Math.max(0, digits.length - 4);
7
- let count = 0;
8
- return str.replace(/\d/g, () => count++ < maskUntil ? "*" : digits[count - 1]);
9
- };
10
- exports.default = maskPhone;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=e=>{if(typeof e!="string")return e;const t=e.replace(/\D/g,""),l=Math.max(0,t.length-4);let n=0;return e.replace(/\d/g,()=>n++<l?"*":t[n-1])};exports.default=o;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const maxLength = (value, n) => {
4
- if (typeof value !== "string") return false;
5
- return value.length <= n;
6
- };
7
- exports.default = maxLength;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,t)=>typeof e!="string"?!1:e.length<=t;exports.default=r;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const measureElement = (ref) => {
4
- var _a;
5
- const el = (_a = ref == null ? void 0 : ref.current) != null ? _a : ref;
6
- if (!el) return null;
7
- return el.getBoundingClientRect();
8
- };
9
- exports.default = measureElement;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=e=>{var u;const t=(u=e==null?void 0:e.current)!=null?u:e;return t?t.getBoundingClientRect():null};exports.default=n;
@@ -1,19 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const measurePerformance = (metric) => {
4
- var _a, _b, _c;
5
- const entry = typeof performance !== "undefined" ? (_a = performance.getEntriesByName(metric)[0]) != null ? _a : null : null;
6
- const result = {
7
- metric,
8
- duration: (_b = entry == null ? void 0 : entry.duration) != null ? _b : null,
9
- startTime: (_c = entry == null ? void 0 : entry.startTime) != null ? _c : null,
10
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
11
- };
12
- if (typeof window !== "undefined" && typeof window.__performanceReporter === "function") {
13
- window.__performanceReporter(result);
14
- } else {
15
- console.log("[measurePerformance]", result);
16
- }
17
- return result;
18
- };
19
- exports.default = measurePerformance;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=n=>{var r,t,u;const e=typeof performance!="undefined"&&(r=performance.getEntriesByName(n)[0])!=null?r:null,o={metric:n,duration:(t=e==null?void 0:e.duration)!=null?t:null,startTime:(u=e==null?void 0:e.startTime)!=null?u:null,timestamp:new Date().toISOString()};return typeof window!="undefined"&&typeof window.__performanceReporter=="function"?window.__performanceReporter(o):console.log("[measurePerformance]",o),o};exports.default=a;
@@ -1,13 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const memoize = (fn) => {
4
- const cache = /* @__PURE__ */ new Map();
5
- return (...args) => {
6
- const key = JSON.stringify(args);
7
- if (cache.has(key)) return cache.get(key);
8
- const result = fn(...args);
9
- cache.set(key, result);
10
- return result;
11
- };
12
- };
13
- exports.default = memoize;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=s=>{const e=new Map;return(...r)=>{const t=JSON.stringify(r);if(e.has(t))return e.get(t);const n=s(...r);return e.set(t,n),n}};exports.default=u;
@@ -1,13 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const isPlainObject = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
4
- const mergeDeep = (target, source) => {
5
- const result = {
6
- ...target
7
- };
8
- for (const key of Object.keys(source)) {
9
- result[key] = isPlainObject(target[key]) && isPlainObject(source[key]) ? mergeDeep(target[key], source[key]) : source[key];
10
- }
11
- return result;
12
- };
13
- exports.default = mergeDeep;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),r=(e,l)=>{const o={...e};for(const t of Object.keys(l))o[t]=n(e[t])&&n(l[t])?r(e[t],l[t]):l[t];return o};exports.default=r;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const minLength = (value, n) => {
4
- if (typeof value !== "string") return false;
5
- return value.length >= n;
6
- };
7
- exports.default = minLength;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,t)=>typeof e!="string"?!1:e.length>=t;exports.default=r;
@@ -1,15 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const multiSort = (data, config) => [...data].sort((a, b) => {
4
- for (const {
5
- key,
6
- order = "asc"
7
- } of config) {
8
- const av = typeof key === "function" ? key(a) : a[key];
9
- const bv = typeof key === "function" ? key(b) : b[key];
10
- if (av < bv) return order === "asc" ? -1 : 1;
11
- if (av > bv) return order === "asc" ? 1 : -1;
12
- }
13
- return 0;
14
- });
15
- exports.default = multiSort;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=(s,c)=>[...s].sort((e,o)=>{for(const{key:t,order:r="asc"}of c){const n=typeof t=="function"?t(e):e[t],u=typeof t=="function"?t(o):o[t];if(n<u)return r==="asc"?-1:1;if(n>u)return r==="asc"?1:-1}return 0});exports.default=f;
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const noop = () => {
4
- };
5
- exports.default = noop;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=()=>{};exports.default=e;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const omit = (obj, keys) => {
4
- const set = new Set(keys);
5
- return Object.fromEntries(Object.entries(obj).filter(([k]) => !set.has(k)));
6
- };
7
- exports.default = omit;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(e,t)=>{const r=new Set(t);return Object.fromEntries(Object.entries(e).filter(([s])=>!r.has(s)))};exports.default=o;
@@ -1,14 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const once = (fn) => {
4
- let called = false;
5
- let result;
6
- return (...args) => {
7
- if (!called) {
8
- called = true;
9
- result = fn(...args);
10
- }
11
- return result;
12
- };
13
- };
14
- exports.default = once;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=l=>{let e=!1,t;return(...r)=>(e||(e=!0,t=l(...r)),t)};exports.default=u;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const openInNewTab = (url) => {
4
- window.open(url, "_blank", "noopener,noreferrer");
5
- };
6
- exports.default = openInNewTab;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=e=>{window.open(e,"_blank","noopener,noreferrer")};exports.default=o;
@@ -1,15 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const paginate = (data, page, limit) => {
4
- const total = data.length;
5
- const totalPages = Math.ceil(total / limit);
6
- const start = (page - 1) * limit;
7
- return {
8
- data: data.slice(start, start + limit),
9
- total,
10
- page,
11
- limit,
12
- totalPages
13
- };
14
- };
15
- exports.default = paginate;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=(e,o,t)=>{const s=e.length,n=Math.ceil(s/t),a=(o-1)*t;return{data:e.slice(a,a+t),total:s,page:o,limit:t,totalPages:n}};exports.default=c;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const parallel = (promises) => Promise.all(promises);
4
- exports.default = parallel;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=e=>Promise.all(e);exports.default=l;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const percentage = (part, total, decimals = 2) => {
4
- if (typeof part !== "number" || typeof total !== "number" || total === 0) return 0;
5
- return roundTo(part / total * 100, decimals);
6
- };
7
- const roundTo = (num, decimals) => {
8
- const factor = Math.pow(10, decimals);
9
- return Math.round(num * factor) / factor;
10
- };
11
- exports.default = percentage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(r,e,t=2)=>typeof r!="number"||typeof e!="number"||e===0?0:n(r/e*100,t),n=(r,e)=>{const t=Math.pow(10,e);return Math.round(r*t)/t};exports.default=u;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const permissionGuard = (role, currentRoles = []) => {
4
- if (typeof window !== "undefined" && Array.isArray(window.__userRoles)) {
5
- return window.__userRoles.includes(role);
6
- }
7
- return Array.isArray(currentRoles) && currentRoles.includes(role);
8
- };
9
- exports.default = permissionGuard;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=(e,r=[])=>typeof window!="undefined"&&Array.isArray(window.__userRoles)?window.__userRoles.includes(e):Array.isArray(r)&&r.includes(e);exports.default=i;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const pick = (obj, keys) => Object.fromEntries(keys.filter((k) => k in obj).map((k) => [k, obj[k]]));
4
- exports.default = pick;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(t,i)=>Object.fromEntries(i.filter(e=>e in t).map(e=>[e,t[e]]));exports.default=r;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const pipe = (...fns) => (val) => fns.reduce((cv, cf) => cf(cv), val);
4
- exports.default = pipe;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(...e)=>t=>e.reduce((u,l)=>l(u),t);exports.default=o;
@@ -1,13 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const rafThrottle = (fn) => {
4
- let rafId = null;
5
- return (...args) => {
6
- if (rafId !== null) return;
7
- rafId = requestAnimationFrame(() => {
8
- fn(...args);
9
- rafId = null;
10
- });
11
- };
12
- };
13
- exports.default = rafThrottle;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=t=>{let e=null;return(...l)=>{e===null&&(e=requestAnimationFrame(()=>{t(...l),e=null}))}};exports.default=r;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const randomBetween = (min, max) => Math.random() * (max - min) + min;
4
- exports.default = randomBetween;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(e,t)=>Math.random()*(t-e)+e;exports.default=o;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const utils_randomValue = require("./randomValue.cjs");
4
- const randomInt = (min, max) => {
5
- return Math.floor(utils_randomValue.default(min, max));
6
- };
7
- exports.default = randomInt;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./randomValue.cjs"),u=(e,t)=>Math.floor(r.default(e,t));exports.default=u;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const randomValue = (min, max) => {
4
- return Math.random() * (max - min + 1) + min;
5
- };
6
- exports.default = randomValue;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,t)=>Math.random()*(t-e+1)+e;exports.default=r;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const redirectTo = (path) => {
4
- window.location.href = path;
5
- };
6
- exports.default = redirectTo;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>{window.location.href=e};exports.default=t;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const removeExtraSpaces = (str) => {
4
- if (typeof str !== "string") return str;
5
- return str.trim().replace(/\s+/g, " ");
6
- };
7
- exports.default = removeExtraSpaces;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>typeof e!="string"?e:e.trim().replace(/\s+/g," ");exports.default=t;
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const removeLocalStorage = (key) => {
4
- localStorage.removeItem(key);
5
- };
6
- exports.default = removeLocalStorage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=e=>{localStorage.removeItem(e)};exports.default=o;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const removeQueryParam = (key) => {
4
- const url = new URL(window.location.href);
5
- url.searchParams.delete(key);
6
- window.history.pushState({}, "", url);
7
- };
8
- exports.default = removeQueryParam;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=t=>{const e=new URL(window.location.href);e.searchParams.delete(t),window.history.pushState({},"",e)};exports.default=o;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const removeToken = (key = "auth_token") => localStorage.removeItem(key);
4
- exports.default = removeToken;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=(e="auth_token")=>localStorage.removeItem(e);exports.default=t;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const requestIdleTask = (fn) => {
4
- if (typeof requestIdleCallback !== "undefined") {
5
- requestIdleCallback(fn);
6
- } else {
7
- setTimeout(fn, 1);
8
- }
9
- };
10
- exports.default = requestIdleTask;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>{typeof requestIdleCallback!="undefined"?requestIdleCallback(e):setTimeout(e,1)};exports.default=t;
@@ -1,14 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const retry = async (fn, attempts = 3) => {
4
- let lastError;
5
- for (let i = 0; i < attempts; i++) {
6
- try {
7
- return await fn();
8
- } catch (err) {
9
- lastError = err;
10
- }
11
- }
12
- throw lastError;
13
- };
14
- exports.default = retry;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=async(r,a=3)=>{let e;for(let t=0;t<a;t++)try{return await r()}catch(l){e=l}throw e};exports.default=o;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const roundTo = (num, decimals = 0) => {
4
- if (typeof num !== "number") return num;
5
- const factor = Math.pow(10, decimals);
6
- return Math.round(num * factor) / factor;
7
- };
8
- exports.default = roundTo;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,o=0)=>{if(typeof e!="number")return e;const t=Math.pow(10,o);return Math.round(e*t)/t};exports.default=r;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const safeAsync = (fn) => async (...args) => {
4
- try {
5
- const result = await fn(...args);
6
- return [null, result];
7
- } catch (err) {
8
- return [err, null];
9
- }
10
- };
11
- exports.default = safeAsync;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=t=>async(...r)=>{try{return[null,await t(...r)]}catch(e){return[e,null]}};exports.default=u;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const safeJSONParse = (str, fallback = null) => {
4
- try {
5
- return JSON.parse(str);
6
- } catch (e) {
7
- return fallback;
8
- }
9
- };
10
- exports.default = safeJSONParse;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,t=null)=>{try{return JSON.parse(e)}catch(u){return t}};exports.default=r;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const safeJSONStringify = (obj, fallback = "", space) => {
4
- try {
5
- return JSON.stringify(obj, null, space);
6
- } catch (e) {
7
- return fallback;
8
- }
9
- };
10
- exports.default = safeJSONStringify;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,t="",r)=>{try{return JSON.stringify(e,null,r)}catch(i){return t}};exports.default=u;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const scrollToElement = (id, behavior = "smooth") => {
4
- const el = document.getElementById(id);
5
- if (el) el.scrollIntoView({
6
- behavior,
7
- block: "start"
8
- });
9
- };
10
- exports.default = scrollToElement;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=(t,o="smooth")=>{const e=document.getElementById(t);e&&e.scrollIntoView({behavior:o,block:"start"})};exports.default=l;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const scrollToTop = (behavior = "smooth") => {
4
- window.scrollTo({
5
- top: 0,
6
- behavior
7
- });
8
- };
9
- exports.default = scrollToTop;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=(o="smooth")=>{window.scrollTo({top:0,behavior:o})};exports.default=e;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const sequential = async (tasks) => {
4
- const results = [];
5
- for (const task of tasks) {
6
- results.push(await task());
7
- }
8
- return results;
9
- };
10
- exports.default = sequential;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=async t=>{const e=[];for(const s of t)e.push(await s());return e};exports.default=u;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const setLocalStorage = (key, value) => {
4
- try {
5
- localStorage.setItem(key, JSON.stringify(value));
6
- } catch (e) {
7
- }
8
- };
9
- exports.default = setLocalStorage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(e,t)=>{try{localStorage.setItem(e,JSON.stringify(t))}catch(a){}};exports.default=o;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const setQueryParam = (key, value) => {
4
- const url = new URL(window.location.href);
5
- url.searchParams.set(key, value);
6
- window.history.pushState({}, "", url);
7
- };
8
- exports.default = setQueryParam;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(t,o)=>{const e=new URL(window.location.href);e.searchParams.set(t,o),window.history.pushState({},"",e)};exports.default=r;