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,33 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const react = require("react");
5
- class ErrorBoundary extends react.Component {
6
- constructor(props) {
7
- super(props);
8
- this.state = {
9
- hasError: false,
10
- error: null
11
- };
12
- }
13
- static getDerivedStateFromError(error) {
14
- return {
15
- hasError: true,
16
- error
17
- };
18
- }
19
- render() {
20
- if (this.state.hasError) {
21
- const Fallback = this.props.fallback;
22
- return /* @__PURE__ */ jsxRuntime.jsx(Fallback, { error: this.state.error });
23
- }
24
- return this.props.children;
25
- }
26
- }
27
- const withErrorBoundary = (WrappedComponent, FallbackComponent) => {
28
- var _a, _b;
29
- const WithErrorBoundary = (props) => /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { fallback: FallbackComponent, children: /* @__PURE__ */ jsxRuntime.jsx(WrappedComponent, { ...props }) });
30
- WithErrorBoundary.displayName = `withErrorBoundary(${(_b = (_a = WrappedComponent.displayName) != null ? _a : WrappedComponent.name) != null ? _b : "Component"})`;
31
- return WithErrorBoundary;
32
- };
33
- exports.default = withErrorBoundary;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),i=require("react");class u extends i.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){if(this.state.hasError){const r=this.props.fallback;return t.jsx(r,{error:this.state.error})}return this.props.children}}const l=(e,r)=>{var o,a;const s=n=>t.jsx(u,{fallback:r,children:t.jsx(e,{...n})});return s.displayName=`withErrorBoundary(${(a=(o=e.displayName)!=null?o:e.name)!=null?a:"Component"})`,s};exports.default=l;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const react = require("react");
5
- const withSuspense = (WrappedComponent, fallback = null) => {
6
- var _a, _b;
7
- const WithSuspense = (props) => /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback, children: /* @__PURE__ */ jsxRuntime.jsx(WrappedComponent, { ...props }) });
8
- WithSuspense.displayName = `withSuspense(${(_b = (_a = WrappedComponent.displayName) != null ? _a : WrappedComponent.name) != null ? _b : "Component"})`;
9
- return WithSuspense;
10
- };
11
- exports.default = withSuspense;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),r=require("react"),a=(e,n=null)=>{var t,u;const s=l=>i.jsx(r.Suspense,{fallback:n,children:i.jsx(e,{...l})});return s.displayName=`withSuspense(${(u=(t=e.displayName)!=null?t:e.name)!=null?u:"Component"})`,s};exports.default=a;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const addDays = (date, n) => {
4
- const d = date instanceof Date ? new Date(date) : new Date(date);
5
- d.setDate(d.getDate() + n);
6
- return d;
7
- };
8
- exports.default = addDays;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=(e,a)=>{const t=e instanceof Date?new Date(e):new Date(e);return t.setDate(t.getDate()+a),t};exports.default=n;
@@ -1,14 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const announceToScreenReader = (msg, politeness = "polite") => {
4
- const el = document.createElement("div");
5
- el.setAttribute("aria-live", politeness);
6
- el.setAttribute("aria-atomic", "true");
7
- el.style.cssText = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0";
8
- document.body.appendChild(el);
9
- requestAnimationFrame(() => {
10
- el.textContent = msg;
11
- setTimeout(() => document.body.removeChild(el), 1e3);
12
- });
13
- };
14
- exports.default = announceToScreenReader;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=(t,o="polite")=>{const e=document.createElement("div");e.setAttribute("aria-live",o),e.setAttribute("aria-atomic","true"),e.style.cssText="position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0",document.body.appendChild(e),requestAnimationFrame(()=>{e.textContent=t,setTimeout(()=>document.body.removeChild(e),1e3)})};exports.default=i;
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const auditLog = (action, metadata = {}) => {
4
- var _a;
5
- const entry = {
6
- action,
7
- metadata,
8
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
9
- user: typeof window !== "undefined" ? (_a = window.__currentUser) != null ? _a : null : null
10
- };
11
- if (typeof window !== "undefined" && typeof window.__auditLogger === "function") {
12
- window.__auditLogger(entry);
13
- } else {
14
- console.log("[auditLog]", entry);
15
- }
16
- return entry;
17
- };
18
- exports.default = auditLog;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=(o,n={})=>{var t;const e={action:o,metadata:n,timestamp:new Date().toISOString(),user:typeof window!="undefined"&&(t=window.__currentUser)!=null?t:null};return typeof window!="undefined"&&typeof window.__auditLogger=="function"?window.__auditLogger(e):console.log("[auditLog]",e),e};exports.default=i;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const buildURL = (path, params = {}) => {
4
- const url = new URL(path, window.location.origin);
5
- Object.entries(params).forEach(([key, value]) => {
6
- url.searchParams.set(key, value);
7
- });
8
- return url.toString();
9
- };
10
- exports.default = buildURL;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=(t,r={})=>{const e=new URL(t,window.location.origin);return Object.entries(r).forEach(([o,i])=>{e.searchParams.set(o,i)}),e.toString()};exports.default=n;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const camelCase = (str) => {
4
- if (typeof str !== "string") return str;
5
- return str.trim().toLowerCase().replace(/[-_\s]+(.)?/g, (_, char) => char ? char.toUpperCase() : "");
6
- };
7
- exports.default = camelCase;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=e=>typeof e!="string"?e:e.trim().toLowerCase().replace(/[-_\s]+(.)?/g,(o,t)=>t?t.toUpperCase():"");exports.default=r;
@@ -1,19 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const cancelablePromise = (promise) => {
4
- let canceled = false;
5
- const wrapper = new Promise((resolve, reject) => {
6
- promise.then((value) => canceled ? reject({
7
- canceled: true
8
- }) : resolve(value), (err) => canceled ? reject({
9
- canceled: true
10
- }) : reject(err));
11
- });
12
- return {
13
- promise: wrapper,
14
- cancel: () => {
15
- canceled = true;
16
- }
17
- };
18
- };
19
- exports.default = cancelablePromise;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=t=>{let e=!1;return{promise:new Promise((a,r)=>{t.then(l=>e?r({canceled:!0}):a(l),l=>r(e?{canceled:!0}:l))}),cancel:()=>{e=!0}}};exports.default=c;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const capFirstLetter = (str) => {
4
- if (typeof str !== "string" || str.length === 0) {
5
- return str;
6
- }
7
- return str.charAt(0).toUpperCase() + str.slice(1);
8
- };
9
- exports.default = capFirstLetter;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>typeof e!="string"||e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1);exports.default=t;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const capitalize = (str) => {
4
- if (typeof str !== "string" || str.length === 0) return str;
5
- return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
6
- };
7
- exports.default = capitalize;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>typeof e!="string"||e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase();exports.default=t;
@@ -1,17 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const captureException = (error, context = {}) => {
4
- const entry = {
5
- message: error instanceof Error ? error.message : String(error),
6
- stack: error instanceof Error ? error.stack : void 0,
7
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
8
- ...context
9
- };
10
- if (typeof window !== "undefined" && typeof window.__captureException === "function") {
11
- window.__captureException(entry);
12
- } else {
13
- console.error("[captureException]", entry);
14
- }
15
- return entry;
16
- };
17
- exports.default = captureException;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(e,n={})=>{const t={message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,timestamp:new Date().toISOString(),...n};return typeof window!="undefined"&&typeof window.__captureException=="function"?window.__captureException(t):console.error("[captureException]",t),t};exports.default=o;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const chunk = (array, size) => {
4
- const result = [];
5
- for (let i = 0; i < array.length; i += size) {
6
- result.push(array.slice(i, i + size));
7
- }
8
- return result;
9
- };
10
- exports.default = chunk;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(t,u)=>{const l=[];for(let e=0;e<t.length;e+=u)l.push(t.slice(e,e+u));return l};exports.default=o;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
4
- exports.default = clamp;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=(e,t,a)=>Math.min(Math.max(e,t),a);exports.default=l;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const clearStorage = () => {
4
- localStorage.clear();
5
- sessionStorage.clear();
6
- };
7
- exports.default = clearStorage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=()=>{localStorage.clear(),sessionStorage.clear()};exports.default=e;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const compose = (...funcs) => (val) => funcs.reduceRight((cv, cf) => cf(cv), val);
4
- exports.default = compose;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=(...e)=>t=>e.reduceRight((o,u)=>u(o),t);exports.default=l;
@@ -1,17 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const copyToClipboard = async (text) => {
4
- var _a;
5
- if ((_a = navigator.clipboard) == null ? void 0 : _a.writeText) {
6
- await navigator.clipboard.writeText(text);
7
- return;
8
- }
9
- const el = document.createElement("textarea");
10
- el.value = text;
11
- el.style.cssText = "position:fixed;opacity:0";
12
- document.body.appendChild(el);
13
- el.select();
14
- document.execCommand("copy");
15
- document.body.removeChild(el);
16
- };
17
- exports.default = copyToClipboard;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=async t=>{var o;if((o=navigator.clipboard)!=null&&o.writeText){await navigator.clipboard.writeText(t);return}const e=document.createElement("textarea");e.value=t,e.style.cssText="position:fixed;opacity:0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)};exports.default=a;
@@ -1,13 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const countdown = (targetDate) => {
4
- const target = targetDate instanceof Date ? targetDate : new Date(targetDate);
5
- const diff = Math.max(0, target.getTime() - Date.now());
6
- return {
7
- days: Math.floor(diff / (1e3 * 60 * 60 * 24)),
8
- hours: Math.floor(diff % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)),
9
- minutes: Math.floor(diff % (1e3 * 60 * 60) / (1e3 * 60)),
10
- seconds: Math.floor(diff % (1e3 * 60) / 1e3)
11
- };
12
- };
13
- exports.default = countdown;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=e=>{const t=e instanceof Date?e:new Date(e),o=Math.max(0,t.getTime()-Date.now());return{days:Math.floor(o/(1e3*60*60*24)),hours:Math.floor(o%(1e3*60*60*24)/(1e3*60*60)),minutes:Math.floor(o%(1e3*60*60)/(1e3*60)),seconds:Math.floor(o%(1e3*60)/1e3)}};exports.default=n;
@@ -1,21 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const createPubSub = () => {
4
- const listeners = {};
5
- const subscribe = (event, handler) => {
6
- var _a;
7
- ((_a = listeners[event]) != null ? _a : listeners[event] = []).push(handler);
8
- return () => {
9
- listeners[event] = listeners[event].filter((h) => h !== handler);
10
- };
11
- };
12
- const publish = (event, ...args) => {
13
- var _a;
14
- ((_a = listeners[event]) != null ? _a : []).forEach((h) => h(...args));
15
- };
16
- return {
17
- subscribe,
18
- publish
19
- };
20
- };
21
- exports.default = createPubSub;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=()=>{const s={};return{subscribe:(u,b)=>{var r;return((r=s[u])!=null?r:s[u]=[]).push(b),()=>{s[u]=s[u].filter(c=>c!==b)}},publish:(u,...b)=>{var r;((r=s[u])!=null?r:[]).forEach(c=>c(...b))}}};exports.default=o;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const debounce = (fn, delay) => {
4
- let timer;
5
- return (...args) => {
6
- clearTimeout(timer);
7
- timer = setTimeout(() => fn(...args), delay);
8
- };
9
- };
10
- exports.default = debounce;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(t,u)=>{let e;return(...o)=>{clearTimeout(e),e=setTimeout(()=>t(...o),u)}};exports.default=r;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const decodeJWT = (token) => {
4
- try {
5
- const [, payload] = token.split(".");
6
- return JSON.parse(atob(payload));
7
- } catch (e) {
8
- return null;
9
- }
10
- };
11
- exports.default = decodeJWT;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=t=>{try{const[,e]=t.split(".");return JSON.parse(atob(e))}catch(e){return null}};exports.default=r;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const deepClone = (obj) => {
4
- if (obj === null || typeof obj !== "object") return obj;
5
- if (obj instanceof Date) return new Date(obj.getTime());
6
- if (Array.isArray(obj)) return obj.map(deepClone);
7
- return Object.fromEntries(Object.entries(obj).map(([k, v]) => [k, deepClone(v)]));
8
- };
9
- exports.default = deepClone;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>e===null||typeof e!="object"?e:e instanceof Date?new Date(e.getTime()):Array.isArray(e)?e.map(t):Object.fromEntries(Object.entries(e).map(([r,n])=>[r,t(n)]));exports.default=t;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const deepFreeze = (obj) => {
4
- Object.getOwnPropertyNames(obj).forEach((name) => {
5
- const value = obj[name];
6
- if (value && typeof value === "object") deepFreeze(value);
7
- });
8
- return Object.freeze(obj);
9
- };
10
- exports.default = deepFreeze;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=e=>(Object.getOwnPropertyNames(e).forEach(o=>{const t=e[o];t&&typeof t=="object"&&r(t)}),Object.freeze(e));exports.default=r;
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const detectOutsideClick = (ref, callback) => {
4
- const handler = (e) => {
5
- var _a;
6
- const el = (_a = ref == null ? void 0 : ref.current) != null ? _a : ref;
7
- if (el && !el.contains(e.target)) callback(e);
8
- };
9
- document.addEventListener("mousedown", handler);
10
- return () => document.removeEventListener("mousedown", handler);
11
- };
12
- exports.default = detectOutsideClick;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=(e,d)=>{const t=n=>{var u;const o=(u=e==null?void 0:e.current)!=null?u:e;o&&!o.contains(n.target)&&d(n)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)};exports.default=s;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const differenceInDays = (a, b) => {
4
- const da = a instanceof Date ? a : new Date(a);
5
- const db = b instanceof Date ? b : new Date(b);
6
- return Math.round((db.getTime() - da.getTime()) / (1e3 * 60 * 60 * 24));
7
- };
8
- exports.default = differenceInDays;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(e,t)=>{const n=e instanceof Date?e:new Date(e),a=t instanceof Date?t:new Date(t);return Math.round((a.getTime()-n.getTime())/(1e3*60*60*24))};exports.default=o;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const downloadFile = (url, filename) => {
4
- const a = document.createElement("a");
5
- a.href = url;
6
- a.download = filename || url.split("/").pop() || "download";
7
- document.body.appendChild(a);
8
- a.click();
9
- document.body.removeChild(a);
10
- };
11
- exports.default = downloadFile;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=(o,d)=>{const e=document.createElement("a");e.href=o,e.download=d||o.split("/").pop()||"download",document.body.appendChild(e),e.click(),document.body.removeChild(e)};exports.default=t;
@@ -1,13 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const fadeIn = (element, duration = 300) => {
4
- element.style.opacity = "0";
5
- element.style.display = "";
6
- element.style.transition = `opacity ${duration}ms ease`;
7
- requestAnimationFrame(() => {
8
- requestAnimationFrame(() => {
9
- element.style.opacity = "1";
10
- });
11
- });
12
- };
13
- exports.default = fadeIn;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=(t,e=300)=>{t.style.opacity="0",t.style.display="",t.style.transition=`opacity ${e}ms ease`,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.style.opacity="1"})})};exports.default=a;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const fadeOut = (element, duration = 300) => {
4
- element.style.transition = `opacity ${duration}ms ease`;
5
- element.style.opacity = "0";
6
- setTimeout(() => {
7
- element.style.display = "none";
8
- }, duration);
9
- };
10
- exports.default = fadeOut;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=(e,t=300)=>{e.style.transition=`opacity ${t}ms ease`,e.style.opacity="0",setTimeout(()=>{e.style.display="none"},t)};exports.default=s;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const fallback = (value, defaultValue) => value !== null && value !== void 0 && value !== "" ? value : defaultValue;
4
- exports.default = fallback;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=(e,t)=>e!=null&&e!==""?e:t;exports.default=l;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const featureGate = (flag) => {
4
- if (typeof window !== "undefined" && window.__featureFlags) {
5
- return Boolean(window.__featureFlags[flag]);
6
- }
7
- return false;
8
- };
9
- exports.default = featureGate;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=e=>typeof window!="undefined"&&window.__featureFlags?!!window.__featureFlags[e]:!1;exports.default=t;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const filterByKey = (data, key, value) => data.filter((item) => item[key] === value);
4
- exports.default = filterByKey;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,t,l)=>e.filter(r=>r[t]===l);exports.default=u;
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const flattenObject = (obj, prefix = "") => Object.entries(obj).reduce((acc, [key, val]) => {
4
- const fullKey = prefix ? `${prefix}.${key}` : key;
5
- if (val !== null && typeof val === "object" && !Array.isArray(val)) {
6
- Object.assign(acc, flattenObject(val, fullKey));
7
- } else {
8
- acc[fullKey] = val;
9
- }
10
- return acc;
11
- }, {});
12
- exports.default = flattenObject;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=(o,r="")=>Object.entries(o).reduce((t,[s,e])=>{const u=r?`${r}.${s}`:s;return e!==null&&typeof e=="object"&&!Array.isArray(e)?Object.assign(t,n(e,u)):t[u]=e,t},{});exports.default=n;
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const focusElement = (ref) => {
4
- var _a;
5
- const el = (_a = ref == null ? void 0 : ref.current) != null ? _a : ref;
6
- el == null ? void 0 : el.focus();
7
- };
8
- exports.default = focusElement;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=t=>{var u;const e=(u=t==null?void 0:t.current)!=null?u:t;e==null||e.focus()};exports.default=o;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const formatCompactNumber = (num, locale = "en-US") => {
4
- if (typeof num !== "number") return num;
5
- return new Intl.NumberFormat(locale, {
6
- notation: "compact",
7
- compactDisplay: "short"
8
- }).format(num);
9
- };
10
- exports.default = formatCompactNumber;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=(t,e="en-US")=>typeof t!="number"?t:new Intl.NumberFormat(e,{notation:"compact",compactDisplay:"short"}).format(t);exports.default=o;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const formatCurrency = (num, currency = "USD", locale = "en-US") => {
4
- if (typeof num !== "number") return num;
5
- return new Intl.NumberFormat(locale, {
6
- style: "currency",
7
- currency
8
- }).format(num);
9
- };
10
- exports.default = formatCurrency;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,r="USD",t="en-US")=>typeof e!="number"?e:new Intl.NumberFormat(t,{style:"currency",currency:r}).format(e);exports.default=u;
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const formatDate = (date, locale = "en-US") => {
4
- const d = date instanceof Date ? date : new Date(date);
5
- if (isNaN(d)) return "";
6
- return new Intl.DateTimeFormat(locale, {
7
- year: "numeric",
8
- month: "long",
9
- day: "numeric"
10
- }).format(d);
11
- };
12
- exports.default = formatDate;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,n="en-US")=>{const t=e instanceof Date?e:new Date(e);return isNaN(t)?"":new Intl.DateTimeFormat(n,{year:"numeric",month:"long",day:"numeric"}).format(t)};exports.default=r;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const formatNumber = (num, locale = "en-US") => {
4
- if (typeof num !== "number") return num;
5
- return new Intl.NumberFormat(locale).format(num);
6
- };
7
- exports.default = formatNumber;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=(e,t="en-US")=>typeof e!="number"?e:new Intl.NumberFormat(t).format(e);exports.default=r;
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const formatTime = (date, locale = "en-US") => {
4
- const d = date instanceof Date ? date : new Date(date);
5
- if (isNaN(d)) return "";
6
- return new Intl.DateTimeFormat(locale, {
7
- hour: "numeric",
8
- minute: "2-digit",
9
- hour12: true
10
- }).format(d);
11
- };
12
- exports.default = formatTime;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=(e,r="en-US")=>{const t=e instanceof Date?e:new Date(e);return isNaN(t)?"":new Intl.DateTimeFormat(r,{hour:"numeric",minute:"2-digit",hour12:!0}).format(t)};exports.default=n;
@@ -1,21 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const fuzzySearch = (data, query) => {
4
- if (!query) return data;
5
- const q = query.toLowerCase();
6
- const matches = (str) => {
7
- let i = 0;
8
- const s = str.toLowerCase();
9
- for (const ch of q) {
10
- i = s.indexOf(ch, i);
11
- if (i === -1) return false;
12
- i++;
13
- }
14
- return true;
15
- };
16
- return data.filter((item) => {
17
- if (typeof item === "string") return matches(item);
18
- return Object.values(item).some((v) => typeof v === "string" && matches(v));
19
- });
20
- };
21
- exports.default = fuzzySearch;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=(r,o)=>{if(!o)return r;const n=o.toLowerCase(),s=t=>{let e=0;const u=t.toLowerCase();for(const f of n){if(e=u.indexOf(f,e),e===-1)return!1;e++}return!0};return r.filter(t=>typeof t=="string"?s(t):Object.values(t).some(e=>typeof e=="string"&&s(e)))};exports.default=c;
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- let counter = 0;
4
- const generateAriaId = (prefix = "aria") => `${prefix}-${++counter}`;
5
- exports.default = generateAriaId;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let t=0;const r=(e="aria")=>`${e}-${++t}`;exports.default=r;
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const generateInitials = (name) => {
4
- if (typeof name !== "string") return name;
5
- return name.trim().split(/\s+/).filter(Boolean).map((word) => word.charAt(0).toUpperCase()).join("");
6
- };
7
- exports.default = generateInitials;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=e=>typeof e!="string"?e:e.trim().split(/\s+/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()).join("");exports.default=r;
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const getCurrentPath = () => window.location.pathname;
4
- exports.default = getCurrentPath;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=()=>window.location.pathname;exports.default=e;
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const getGreetingByTime = () => {
4
- const hour = (/* @__PURE__ */ new Date()).getHours();
5
- if (hour < 12) return "Good morning";
6
- if (hour < 17) return "Good afternoon";
7
- return "Good evening";
8
- };
9
- exports.default = getGreetingByTime;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=()=>{const e=new Date().getHours();return e<12?"Good morning":e<17?"Good afternoon":"Good evening"};exports.default=o;
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const getLocalStorage = (key) => {
4
- try {
5
- const item = localStorage.getItem(key);
6
- return item !== null ? JSON.parse(item) : null;
7
- } catch (e) {
8
- return null;
9
- }
10
- };
11
- exports.default = getLocalStorage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=t=>{try{const e=localStorage.getItem(t);return e!==null?JSON.parse(e):null}catch(e){return null}};exports.default=l;
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const getQueryParams = () => {
4
- const params = {};
5
- new URLSearchParams(window.location.search).forEach((value, key) => {
6
- params[key] = value;
7
- });
8
- return params;
9
- };
10
- exports.default = getQueryParams;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=()=>{const e={};return new URLSearchParams(window.location.search).forEach((a,r)=>{e[r]=a}),e};exports.default=t;