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,140 +1,112 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { useState, useRef, useEffect } from "react";
3
- import PropTypes from "prop-types";
4
- import Glass from "../Glass/Glass.js";
5
- import TimerRing from "./components/TimerRing/TimerRing.js";
6
- import white from "../../colors/white.js";
7
- import { black } from "../../colors/black.js";
8
- import red from "../../colors/red.js";
9
- import ClockCircleOutline from "../Icons/ClockCircleOutline.js";
10
- import Add from "../Icons/Add.js";
11
- import MediaStopFilled from "../Icons/MediaStopFilled.js";
12
- import MediaPauseFilled from "../Icons/MediaPauseFilled.js";
13
- import MediaPlayFilled from "../Icons/MediaPlayFilled.js";
14
- import { COLOR_MAPPING } from "./constants.js";
15
- import styled, { css, keyframes } from "styled-components";
16
- const getSize = (ratio) => ({
17
- $size
18
- }) => $size / ratio;
19
- const WRAPPER_RATIO = 1;
20
- const WRAPPER_BR_RATIO = 16.67;
21
- const DIMMER_RATIO = 1.67;
22
- const TRANSFORM_ORIGIN_RATIO = 3.404;
23
- const getColor = ({
24
- $color
25
- }) => COLOR_MAPPING[$color];
26
- const HAND_CSS = css`
1
+ import { jsxs as p, jsx as e, Fragment as U } from "react/jsx-runtime";
2
+ import { useState as b, useRef as Tt, useEffect as K } from "react";
3
+ import n from "prop-types";
4
+ import vt from "../Glass/Glass.js";
5
+ import St from "./components/TimerRing/TimerRing.js";
6
+ import c from "../../colors/white.js";
7
+ import { black as kt } from "../../colors/black.js";
8
+ import At from "../../colors/red.js";
9
+ import Rt from "../Icons/ClockCircleOutline.js";
10
+ import xt from "../Icons/Add.js";
11
+ import Pt from "../Icons/MediaStopFilled.js";
12
+ import It from "../Icons/MediaPauseFilled.js";
13
+ import Mt from "../Icons/MediaPlayFilled.js";
14
+ import { COLOR_MAPPING as Dt } from "./constants.js";
15
+ import r, { css as h, keyframes as S } from "styled-components";
16
+ const t = (i) => ({ $size: w }) => w / i, q = 1, Ct = 16.67, J = 1.67, Ot = 3.404, zt = ({ $color: i }) => Dt[i], _ = h`
27
17
  position: absolute;
28
18
  bottom: 50%;
29
19
  transform-origin: bottom;
30
20
  border-radius: 4px;
31
21
  transition: rotate 0.3s ease-in-out;
32
22
  rotate: var(--hand-rotate);
33
- `;
34
- const Wrapper = /*@__PURE__*/styled.div`
23
+ `, _t = r.div`
35
24
  position: relative;
36
- height: ${/* @__PURE__ */ getSize(WRAPPER_RATIO)}rem;
37
- width: ${/* @__PURE__ */ getSize(WRAPPER_RATIO)}rem;
38
- border-radius: ${/* @__PURE__ */ getSize(WRAPPER_BR_RATIO)}rem;
39
- background-color: ${getColor};
40
- `;
41
- const Dimmer = /*@__PURE__*/styled.div`
25
+ height: ${t(q)}rem;
26
+ width: ${t(q)}rem;
27
+ border-radius: ${t(Ct)}rem;
28
+ background-color: ${zt};
29
+ `, Et = r.div`
42
30
  position: absolute;
43
31
  left: 50%;
44
32
  top: 48%;
45
- width: ${/* @__PURE__ */ getSize(DIMMER_RATIO)}rem;
46
- height: ${/* @__PURE__ */ getSize(DIMMER_RATIO)}rem;
33
+ width: ${t(J)}rem;
34
+ height: ${t(J)}rem;
47
35
  transform: translate(-50%, -50%);
48
36
  border-radius: 50%;
49
37
  background-color: rgba(0, 0, 0, 0.16);
50
38
  pointer-events: none;
51
- `;
52
- const Time = /*@__PURE__*/styled.div`
39
+ `, Q = r.div`
53
40
  position: absolute;
54
41
  left: 50%;
55
42
  top: 48%;
56
43
  transform: translate(-50%, -50%);
57
- `;
58
- const TimeTxt = /*@__PURE__*/styled.div`
59
- color: ${white};
60
- font-size: ${/* @__PURE__ */ getSize(13.33)}rem;
44
+ `, V = r.div`
45
+ color: ${c};
46
+ font-size: ${t(13.33)}rem;
61
47
  font-weight: 650;
62
48
  text-align: center;
63
49
  opacity: 0.84;
64
- `;
65
- const Dots = /*@__PURE__*/styled.span`
50
+ `, Ht = r.span`
66
51
  position: absolute;
67
- width: ${/* @__PURE__ */ getSize(120)}rem;
68
- height: ${/* @__PURE__ */ getSize(120)}rem;
52
+ width: ${t(120)}rem;
53
+ height: ${t(120)}rem;
69
54
  background: rgba(255, 255, 255, 0.4);
70
- transform-origin: ${/* @__PURE__ */ getSize(TRANSFORM_ORIGIN_RATIO)}rem;
55
+ transform-origin: ${t(Ot)}rem;
71
56
  border-radius: 2px;
72
- rotate: ${({
73
- $i
74
- }) => `${$i * 6}deg`};
57
+ rotate: ${({ $i: i }) => `${i * 6}deg`};
75
58
 
76
59
  &:nth-child(5n) {
77
- width: ${/* @__PURE__ */ getSize(90)}rem;
78
- height: ${/* @__PURE__ */ getSize(90)}rem;
60
+ width: ${t(90)}rem;
61
+ height: ${t(90)}rem;
79
62
  background: rgba(255, 255, 255, 0.7);
80
63
  }
81
64
 
82
65
  &:nth-child(15n) {
83
- width: ${/* @__PURE__ */ getSize(50)}rem;
84
- height: ${/* @__PURE__ */ getSize(130)}rem;
66
+ width: ${t(50)}rem;
67
+ height: ${t(130)}rem;
85
68
  background: rgba(255, 255, 255);
86
69
  }
87
- `;
88
- const DotsWrapper = /*@__PURE__*/styled.div`
70
+ `, Nt = r.div`
89
71
  position: relative;
90
72
  height: 100%;
91
73
  width: 100%;
92
- `;
93
- const AllDots = /*@__PURE__*/styled.div`
74
+ `, Wt = r.div`
94
75
  position: absolute;
95
76
  left: 1.6%;
96
77
  top: 43.8%;
97
78
  transform: translate(-50%, -50%) rotate(6.7deg);
98
- `;
99
- const HourHand = /*@__PURE__*/styled.div`
100
- ${HAND_CSS};
101
- width: ${/* @__PURE__ */ getSize(50)}rem;
102
- height: ${/* @__PURE__ */ getSize(5.33)}rem;
103
- background: ${white};
104
- `;
105
- const MinuteHand = /*@__PURE__*/styled.div`
106
- ${HAND_CSS};
107
- width: ${/* @__PURE__ */ getSize(80)}rem;
108
- height: ${/* @__PURE__ */ getSize(4)}rem;
109
- background: ${black.m200};
110
- `;
111
- const SecondHand = /*@__PURE__*/styled.div`
112
- ${HAND_CSS};
113
- width: ${/* @__PURE__ */ getSize(133.33)}rem;
114
- height: ${/* @__PURE__ */ getSize(3.64)}rem;
115
- background: ${red.m800};
116
- `;
117
- const dismissAnimation = keyframes`
79
+ `, Ft = r.div`
80
+ ${_};
81
+ width: ${t(50)}rem;
82
+ height: ${t(5.33)}rem;
83
+ background: ${c};
84
+ `, Lt = r.div`
85
+ ${_};
86
+ width: ${t(80)}rem;
87
+ height: ${t(4)}rem;
88
+ background: ${kt.m200};
89
+ `, Yt = r.div`
90
+ ${_};
91
+ width: ${t(133.33)}rem;
92
+ height: ${t(3.64)}rem;
93
+ background: ${At.m800};
94
+ `, Z = S`
118
95
  from { opacity: 1; transform: scale(1); }
119
96
  to { opacity: 0; transform: scale(0.9); }
120
- `;
121
- const digitSlideIn = keyframes`
97
+ `, Bt = S`
122
98
  from { opacity: 0; transform: translateY(-5px); }
123
99
  to { opacity: 1; transform: translateY(0); }
124
- `;
125
- const labelEnter = keyframes`
100
+ `, jt = S`
126
101
  from { opacity: 0; transform: translateX(-50%) translateY(calc(-100% + 8px)) scale(0.9); }
127
102
  to { opacity: 1; transform: translateX(-50%) translateY(-100%) scale(1); }
128
- `;
129
- const labelExit = keyframes`
103
+ `, Xt = S`
130
104
  from { opacity: 1; transform: translateX(-50%) translateY(-100%) scale(1); }
131
105
  to { opacity: 0; transform: translateX(-50%) translateY(calc(-100% + 8px)) scale(0.85); }
132
- `;
133
- const TimerDigit = /*@__PURE__*/styled.span`
106
+ `, Gt = r.span`
134
107
  display: inline-block;
135
- animation: ${digitSlideIn} 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
136
- `;
137
- const AlarmRing = /*@__PURE__*/styled.div`
108
+ animation: ${Bt} 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
109
+ `, Ut = r.div`
138
110
  position: absolute;
139
111
  inset: 0;
140
112
  pointer-events: none;
@@ -147,22 +119,19 @@ const AlarmRing = /*@__PURE__*/styled.div`
147
119
  rgba(0, 0, 0, 0.3) 85%,
148
120
  rgba(0, 0, 0, 0.42) 100%
149
121
  );
150
- ${({
151
- $dismissing
152
- }) => $dismissing && css`
153
- animation: ${dismissAnimation} 0.6s ease-out forwards;
122
+ ${({ $dismissing: i }) => i && h`
123
+ animation: ${Z} 0.6s ease-out forwards;
154
124
  `}
155
- `;
156
- const AlarmLabel = /*@__PURE__*/styled.div`
125
+ `, Kt = r.div`
157
126
  position: absolute;
158
127
  left: 50%;
159
- top: calc(${/* @__PURE__ */ getSize(100 / 12)}rem - ${/* @__PURE__ */ getSize(55)}rem);
128
+ top: calc(${t(100 / 12)}rem - ${t(55)}rem);
160
129
  display: flex;
161
130
  align-items: center;
162
131
  gap: 0.3em;
163
132
  white-space: nowrap;
164
133
  color: rgba(255, 255, 255, 0.82);
165
- font-size: ${/* @__PURE__ */ getSize(21)}rem;
134
+ font-size: ${t(21)}rem;
166
135
  font-weight: 600;
167
136
  letter-spacing: 0.05em;
168
137
  padding: 0.22em 0.6em;
@@ -172,94 +141,80 @@ const AlarmLabel = /*@__PURE__*/styled.div`
172
141
  -webkit-backdrop-filter: blur(6px);
173
142
  border: 1px solid rgba(255, 255, 255, 0.12);
174
143
  pointer-events: none;
175
- animation: ${({
176
- $dismissing
177
- }) => $dismissing ? css`
178
- ${labelExit} 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards
179
- ` : css`
180
- ${labelEnter} 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both
144
+ animation: ${({ $dismissing: i }) => i ? h`
145
+ ${Xt} 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards
146
+ ` : h`
147
+ ${jt} 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both
181
148
  `};
182
- `;
183
- const LeftActions = /*@__PURE__*/styled.div`
149
+ `, qt = r.div`
184
150
  position: absolute;
185
151
  bottom: 6%;
186
152
  left: 8%;
187
153
  display: flex;
188
154
  align-items: center;
189
- gap: ${/* @__PURE__ */ getSize(50)}rem;
155
+ gap: ${t(50)}rem;
190
156
 
191
- ${({
192
- $noActions
193
- }) => $noActions && css`
157
+ ${({ $noActions: i }) => i && h`
194
158
  pointer-events: none;
195
159
  opacity: 0.5;
196
160
  `}
197
- `;
198
- const RightActions = /*@__PURE__*/styled.div`
161
+ `, Jt = r.div`
199
162
  position: absolute;
200
163
  bottom: 6%;
201
164
  right: 8%;
202
- border-radius: ${/* @__PURE__ */ getSize(50)}rem;
203
- `;
204
- const ActionBtn = /*@__PURE__*/styled.button`
165
+ border-radius: ${t(50)}rem;
166
+ `, v = r.button`
205
167
  position: relative;
206
- height: ${/* @__PURE__ */ getSize(8.33)}rem;
207
- width: ${/* @__PURE__ */ getSize(8.33)}rem;
168
+ height: ${t(8.33)}rem;
169
+ width: ${t(8.33)}rem;
208
170
  cursor: pointer;
209
171
  background-color: rgba(0, 0, 0, 0.28);
210
172
  backdrop-filter: blur(6px);
211
173
  -webkit-backdrop-filter: blur(6px);
212
174
  border: 1px solid rgba(255, 255, 255, 0.1);
213
- border-radius: ${/* @__PURE__ */ getSize(50)}rem;
175
+ border-radius: ${t(50)}rem;
214
176
  padding: 0;
215
177
 
216
178
  &:focus-visible {
217
- outline: 2px solid ${white};
179
+ outline: 2px solid ${c};
218
180
  outline-offset: 2px;
219
181
  }
220
- `;
221
- const AddWrapper = /*@__PURE__*/styled(Add)`
182
+ `, Qt = r(xt)`
222
183
  position: absolute;
223
184
  left: 50%;
224
185
  top: 50%;
225
186
  transform: translate(-50%, -50%);
226
- `;
227
- const MediaStopFilledWrapper = /*@__PURE__*/styled(MediaStopFilled)`
187
+ `, Vt = r(Pt)`
228
188
  position: absolute;
229
189
  left: 50%;
230
190
  top: 50%;
231
191
  transform: translate(-50%, -50%);
232
- `;
233
- const MediaPauseFilledWrapper = /*@__PURE__*/styled(MediaPauseFilled)`
192
+ `, Zt = r(It)`
234
193
  position: absolute;
235
194
  left: 50%;
236
195
  top: 50%;
237
196
  transform: translate(-50%, -50%);
238
- `;
239
- const MediaPlayFilledWrapper = /*@__PURE__*/styled(MediaPlayFilled)`
197
+ `, te = r(Mt)`
240
198
  position: absolute;
241
199
  left: 50%;
242
200
  top: 50%;
243
201
  transform: translate(-50%, -50%);
244
- `;
245
- const VisuallyHidden = /*@__PURE__*/styled.span`
202
+ `, ee = r.span`
246
203
  position: absolute;
247
204
  width: 1px;
248
205
  height: 1px;
249
206
  overflow: hidden;
250
207
  clip-path: inset(50%);
251
208
  white-space: nowrap;
252
- `;
253
- const Bullet = /*@__PURE__*/styled.div`
209
+ `, re = r.div`
254
210
  position: absolute;
255
- width: ${/* @__PURE__ */ getSize(35)}rem;
256
- height: ${/* @__PURE__ */ getSize(35)}rem;
211
+ width: ${t(35)}rem;
212
+ height: ${t(35)}rem;
257
213
  border-radius: 50%;
258
- background-color: ${white};
259
- left: calc(-${/* @__PURE__ */ getSize(70)}rem);
260
- top: calc(-${/* @__PURE__ */ getSize(100 / 33)}rem - ${/* @__PURE__ */ getSize(70)}rem);
261
- `;
262
- const BulletRing = /*@__PURE__*/styled.div`
214
+ background-color: ${c};
215
+ left: calc(-${t(70)}rem);
216
+ top: calc(-${t(100 / 33)}rem - ${t(70)}rem);
217
+ `, oe = r.div`
263
218
  position: absolute;
264
219
  left: 50%;
265
220
  top: 48%;
@@ -268,231 +223,219 @@ const BulletRing = /*@__PURE__*/styled.div`
268
223
  rotate: var(--bullet-rotate);
269
224
  transform-origin: 0 0;
270
225
  transition: rotate 0.3s ease;
271
- ${({
272
- $dismissing
273
- }) => $dismissing && css`
274
- animation: ${dismissAnimation} 0.6s ease-out forwards;
226
+ ${({ $dismissing: i }) => i && h`
227
+ animation: ${Z} 0.6s ease-out forwards;
275
228
  `}
276
- `;
277
- const noop = () => {
278
- };
279
- const getHandRotations = (timeZone) => () => {
280
- const now = /* @__PURE__ */ new Date();
281
- const timeStr = now.toLocaleString("en-Us", {
282
- hour12: true,
283
- timeZone
284
- });
285
- const timePart = timeStr.split(", ")[1].split(" ")[0];
286
- const [h, m, s] = timePart.split(":").map(Number);
229
+ `, $ = () => {
230
+ }, ie = (i) => () => {
231
+ const g = (/* @__PURE__ */ new Date()).toLocaleString("en-Us", { hour12: !0, timeZone: i }).split(", ")[1].split(" ")[0], [A, a, y] = g.split(":").map(Number);
287
232
  return {
288
- second: s * 6,
289
- minute: m * 6 + s * 0.1,
290
- hour: h % 12 * 30 + m * 0.5
233
+ second: y * 6,
234
+ minute: a * 6 + y * 0.1,
235
+ hour: A % 12 * 30 + a * 0.5
291
236
  };
292
- };
293
- const Timer = ({
294
- color = "green",
295
- showTime = true,
296
- showTimeWithSec = true,
297
- timeZone = "Asia/Kolkata",
298
- isDigital = true,
299
- timerSeconds = 0,
300
- onTimerAdd = noop,
301
- onTimerComplete = noop,
302
- onTimerRemove = noop,
303
- onTimerPause = noop,
304
- onTimerPlay = noop,
305
- size = 30,
306
- ...rest
237
+ }, ne = ({
238
+ color: i = "green",
239
+ showTime: w = !0,
240
+ showTimeWithSec: k = !0,
241
+ timeZone: g = "Asia/Kolkata",
242
+ isDigital: A = !0,
243
+ timerSeconds: a = 0,
244
+ onTimerAdd: y = $,
245
+ onTimerComplete: tt = $,
246
+ onTimerRemove: et = $,
247
+ onTimerPause: rt = $,
248
+ onTimerPlay: ot = $,
249
+ size: E = 30,
250
+ ...it
307
251
  }) => {
308
- const [time, setTime] = useState(/* @__PURE__ */ new Date());
309
- const [timerSec, setTimerSec] = useState(0);
310
- const [isPaused, setPaused] = useState(false);
311
- const [handRotations, setHandRotations] = useState(getHandRotations(timeZone));
312
- const [bulletAngle, setBulletAngle] = useState(0);
313
- const [isDismissing, setIsDismissing] = useState(false);
314
- const isPausedRef = useRef(isPaused);
315
- const $size = Math.round(size);
316
- const ICON_SIZE = Math.round(14 * size / 20);
317
- useEffect(() => {
318
- isPausedRef.current = isPaused;
319
- }, [isPaused]);
320
- const setTimer = () => {
321
- setTimerSec(timerSeconds);
322
- setBulletAngle(timerSeconds % 60 * 6);
323
- setPaused(false);
324
- onTimerAdd();
325
- };
326
- const removeTimer = () => {
327
- setIsDismissing(true);
328
- onTimerRemove();
329
- };
330
- const handleDismissEnd = () => {
331
- setTimerSec(0);
332
- setBulletAngle(0);
333
- setIsDismissing(false);
252
+ const [R, nt] = b(/* @__PURE__ */ new Date()), [s, x] = b(0), [T, P] = b(!1), [I, at] = b(ie(g)), [st, M] = b(0), [f, D] = b(!1), H = Tt(T), o = Math.round(E), C = Math.round(14 * E / 20);
253
+ K(() => {
254
+ H.current = T;
255
+ }, [T]);
256
+ const lt = () => {
257
+ x(a), M(a % 60 * 6), P(!1), y();
258
+ }, dt = () => {
259
+ D(!0), et();
260
+ }, ct = () => {
261
+ x(0), M(0), D(!1);
262
+ }, mt = () => {
263
+ P(!0), rt();
264
+ }, pt = () => {
265
+ P(!1), ot();
334
266
  };
335
- const pauseTimer = () => {
336
- setPaused(true);
337
- onTimerPause();
338
- };
339
- const playTimer = () => {
340
- setPaused(false);
341
- onTimerPlay();
342
- };
343
- useEffect(() => {
344
- const interval = setInterval(() => {
345
- const now = /* @__PURE__ */ new Date();
346
- setTime(now);
347
- setHandRotations((prev) => {
348
- const timeStr = now.toLocaleString("en-Us", {
349
- hour12: true,
350
- timeZone
351
- });
352
- const timePart = timeStr.split(", ")[1].split(" ")[0];
353
- const [h, m, s] = timePart.split(":").map(Number);
354
- const rawSecond = s * 6;
355
- const rawMinute = m * 6 + s * 0.1;
356
- const rawHour = h % 12 * 30 + m * 0.5;
357
- const adjust = (prevVal, raw) => {
358
- const prevMod = prevVal % 360;
359
- return prevVal - prevMod + raw + (raw < prevMod ? 360 : 0);
267
+ K(() => {
268
+ const m = setInterval(() => {
269
+ const l = /* @__PURE__ */ new Date();
270
+ nt(l), at((d) => {
271
+ const gt = l.toLocaleString("en-Us", { hour12: !0, timeZone: g }).split(", ")[1].split(" ")[0], [ft, Y, B] = gt.split(":").map(Number), $t = B * 6, wt = Y * 6 + B * 0.1, yt = ft % 12 * 30 + Y * 0.5, z = (j, X) => {
272
+ const G = j % 360;
273
+ return j - G + X + (X < G ? 360 : 0);
360
274
  };
361
275
  return {
362
- second: adjust(prev.second, rawSecond),
363
- minute: adjust(prev.minute, rawMinute),
364
- hour: adjust(prev.hour, rawHour)
276
+ second: z(d.second, $t),
277
+ minute: z(d.minute, wt),
278
+ hour: z(d.hour, yt)
365
279
  };
366
- });
367
- if (!isPausedRef.current) {
368
- setTimerSec((timerSec2) => {
369
- if (timerSec2 - 1 === 0) {
370
- onTimerComplete();
371
- setIsDismissing(true);
372
- }
373
- return timerSec2 - 1;
374
- });
375
- setBulletAngle((prev) => prev - 6);
376
- }
280
+ }), H.current || (x((d) => (d - 1 === 0 && (tt(), D(!0)), d - 1)), M((d) => d - 6));
377
281
  }, 1e3);
378
- return () => clearInterval(interval);
282
+ return () => clearInterval(m);
379
283
  }, []);
380
- const date = time.toLocaleString("en-Us", {
381
- hour12: true,
382
- timeZone
383
- });
384
- const currentTime = date.split(", ")[1];
385
- const currentTimeWithoutAmPm = currentTime.split(" ")[0];
386
- const amPm = currentTime.split(" ")[1];
387
- const withoutSec = currentTime.split(":").slice(0, 2).join(":");
388
- const hasNoTimer = !(Number.isInteger(timerSec) && timerSec > 0);
389
- const timerMinutes = String(Math.floor(timerSec / 60)).padStart(2, "0");
390
- const timerSeconds_ = String(timerSec % 60).padStart(2, "0");
391
- const timerLabel = `${timerMinutes}:${timerSeconds_}`;
392
- const timeLabel = `${showTimeWithSec ? currentTimeWithoutAmPm : withoutSec} ${amPm}`;
393
- return /* @__PURE__ */ jsxs(Wrapper, { $color: color, role: "region", "aria-label": "Clock", ...{
394
- $size
395
- }, ...rest, children: [
396
- /* @__PURE__ */ jsx(Glass, { borderRadius: `${getSize(16.67)({
397
- $size
398
- })}rem`, "aria-hidden": "true" }),
399
- (!hasNoTimer || isDismissing) && /* @__PURE__ */ jsxs(Fragment, { children: [
400
- /* @__PURE__ */ jsx(AlarmRing, { $dismissing: isDismissing, onAnimationEnd: handleDismissEnd, "aria-hidden": "true", children: /* @__PURE__ */ jsx(TimerRing, { progress: timerSec >= 60 ? 1 : timerSec % 60 / 60 }) }),
401
- /* @__PURE__ */ jsx(BulletRing, { ...{
402
- $size
403
- }, style: {
404
- "--bullet-rotate": `${bulletAngle}deg`
405
- }, $dismissing: isDismissing, "aria-hidden": "true", children: /* @__PURE__ */ jsx(Bullet, { ...{
406
- $size
407
- } }) }),
408
- /* @__PURE__ */ jsx(VisuallyHidden, { role: "timer", "aria-live": "polite", "aria-label": `${timerSec} seconds remaining` })
284
+ const O = R.toLocaleString("en-Us", { hour12: !0, timeZone: g }).split(", ")[1], N = O.split(" ")[0], W = O.split(" ")[1], F = O.split(":").slice(0, 2).join(":"), u = !(Number.isInteger(s) && s > 0), ut = String(Math.floor(s / 60)).padStart(2, "0"), bt = String(s % 60).padStart(2, "0"), ht = `${ut}:${bt}`, L = `${k ? N : F} ${W}`;
285
+ return /* @__PURE__ */ p(_t, { $color: i, role: "region", "aria-label": "Clock", $size: o, ...it, children: [
286
+ /* @__PURE__ */ e(vt, { borderRadius: `${t(16.67)({ $size: o })}rem`, "aria-hidden": "true" }),
287
+ (!u || f) && /* @__PURE__ */ p(U, { children: [
288
+ /* @__PURE__ */ e(
289
+ Ut,
290
+ {
291
+ $dismissing: f,
292
+ onAnimationEnd: ct,
293
+ "aria-hidden": "true",
294
+ children: /* @__PURE__ */ e(St, { progress: s >= 60 ? 1 : s % 60 / 60 })
295
+ }
296
+ ),
297
+ /* @__PURE__ */ e(
298
+ oe,
299
+ {
300
+ $size: o,
301
+ style: { "--bullet-rotate": `${st}deg` },
302
+ $dismissing: f,
303
+ "aria-hidden": "true",
304
+ children: /* @__PURE__ */ e(re, { $size: o })
305
+ }
306
+ ),
307
+ /* @__PURE__ */ e(
308
+ ee,
309
+ {
310
+ role: "timer",
311
+ "aria-live": "polite",
312
+ "aria-label": `${s} seconds remaining`
313
+ }
314
+ )
409
315
  ] }),
410
- showTime && /* @__PURE__ */ jsxs(Fragment, { children: [
411
- /* @__PURE__ */ jsx(Dimmer, { "aria-hidden": "true", ...{
412
- $size
413
- }, children: /* @__PURE__ */ jsx(DotsWrapper, { children: /* @__PURE__ */ jsx(AllDots, { "aria-hidden": "true", children: [...Array(60)].map((_, i) => /* @__PURE__ */ jsx(Dots, { $i: i, ...{
414
- $size
415
- } }, i)) }) }) }),
416
- isDigital ? /* @__PURE__ */ jsxs(Time, { as: "time", dateTime: time.toISOString(), "aria-label": timeLabel, children: [
417
- /* @__PURE__ */ jsx(TimeTxt, { ...{
418
- $size
419
- }, "aria-hidden": "true", children: showTimeWithSec ? currentTimeWithoutAmPm : withoutSec }),
420
- /* @__PURE__ */ jsx(TimeTxt, { ...{
421
- $size
422
- }, "aria-hidden": "true", children: amPm })
423
- ] }) : /* @__PURE__ */ jsxs(Time, { as: "time", dateTime: time.toISOString(), "aria-label": timeLabel, children: [
424
- /* @__PURE__ */ jsx(HourHand, { ...{
425
- $size
426
- }, style: {
427
- "--hand-rotate": `${handRotations.hour}deg`
428
- }, "aria-hidden": "true" }),
429
- /* @__PURE__ */ jsx(MinuteHand, { ...{
430
- $size
431
- }, style: {
432
- "--hand-rotate": `${handRotations.minute}deg`
433
- }, "aria-hidden": "true" }),
434
- /* @__PURE__ */ jsx(SecondHand, { ...{
435
- $size
436
- }, style: {
437
- "--hand-rotate": `${handRotations.second}deg`
438
- }, "aria-hidden": "true" })
316
+ w && /* @__PURE__ */ p(U, { children: [
317
+ /* @__PURE__ */ e(Et, { "aria-hidden": "true", $size: o, children: /* @__PURE__ */ e(Nt, { children: /* @__PURE__ */ e(Wt, { "aria-hidden": "true", children: [...Array(60)].map((m, l) => /* @__PURE__ */ e(Ht, { $i: l, $size: o }, l)) }) }) }),
318
+ A ? /* @__PURE__ */ p(Q, { as: "time", dateTime: R.toISOString(), "aria-label": L, children: [
319
+ /* @__PURE__ */ e(V, { $size: o, "aria-hidden": "true", children: k ? N : F }),
320
+ /* @__PURE__ */ e(V, { $size: o, "aria-hidden": "true", children: W })
321
+ ] }) : /* @__PURE__ */ p(Q, { as: "time", dateTime: R.toISOString(), "aria-label": L, children: [
322
+ /* @__PURE__ */ e(
323
+ Ft,
324
+ {
325
+ $size: o,
326
+ style: { "--hand-rotate": `${I.hour}deg` },
327
+ "aria-hidden": "true"
328
+ }
329
+ ),
330
+ /* @__PURE__ */ e(
331
+ Lt,
332
+ {
333
+ $size: o,
334
+ style: { "--hand-rotate": `${I.minute}deg` },
335
+ "aria-hidden": "true"
336
+ }
337
+ ),
338
+ /* @__PURE__ */ e(
339
+ Yt,
340
+ {
341
+ $size: o,
342
+ style: { "--hand-rotate": `${I.second}deg` },
343
+ "aria-hidden": "true"
344
+ }
345
+ )
439
346
  ] })
440
347
  ] }),
441
- timerSeconds > 0 && /* @__PURE__ */ jsxs(LeftActions, { ...{
442
- $size
443
- }, $noActions: hasNoTimer, role: "group", "aria-label": "Timer controls", children: [
444
- /* @__PURE__ */ jsx(ActionBtn, { type: "button", onClick: removeTimer, ...{
445
- $size
446
- }, "aria-label": "Stop timer", "aria-disabled": hasNoTimer, children: /* @__PURE__ */ jsx(MediaStopFilledWrapper, { color: white, size: ICON_SIZE, "aria-hidden": "true" }) }),
447
- hasNoTimer || !isPaused ? /* @__PURE__ */ jsx(ActionBtn, { type: "button", onClick: pauseTimer, ...{
448
- $size
449
- }, "aria-label": "Pause timer", "aria-disabled": hasNoTimer, children: /* @__PURE__ */ jsx(MediaPauseFilledWrapper, { color: white, size: ICON_SIZE, "aria-hidden": "true" }) }) : /* @__PURE__ */ jsx(ActionBtn, { type: "button", onClick: playTimer, "aria-label": "Resume timer", ...{
450
- $size
451
- }, children: /* @__PURE__ */ jsx(MediaPlayFilledWrapper, { color: white, size: ICON_SIZE, "aria-hidden": "true" }) })
452
- ] }),
453
- (!hasNoTimer || isDismissing) && /* @__PURE__ */ jsxs(AlarmLabel, { ...{
454
- $size
455
- }, $dismissing: isDismissing, "aria-label": `${timerSec} seconds remaining`, children: [
456
- /* @__PURE__ */ jsx(ClockCircleOutline, { color: "rgba(255,255,255,0.82)", style: {
457
- width: "1em",
458
- height: "1em",
459
- flexShrink: 0
460
- } }),
461
- timerLabel.split("").map((char, i) => char === ":" ? /* @__PURE__ */ jsx("span", { children: char }, i) : /* @__PURE__ */ jsx(TimerDigit, { children: char }, `${i}-${char}`))
462
- ] }),
463
- timerSeconds > 0 && /* @__PURE__ */ jsx(RightActions, { role: "group", ...{
464
- $size
465
- }, "aria-label": "Start timer", children: /* @__PURE__ */ jsx(ActionBtn, { type: "button", onClick: setTimer, ...{
466
- $size
467
- }, "aria-label": `Start ${timerSeconds} second timer`, children: /* @__PURE__ */ jsx(AddWrapper, { color: white, size: $size, "aria-hidden": "true" }) }) })
348
+ a > 0 && /* @__PURE__ */ p(
349
+ qt,
350
+ {
351
+ $size: o,
352
+ $noActions: u,
353
+ role: "group",
354
+ "aria-label": "Timer controls",
355
+ children: [
356
+ /* @__PURE__ */ e(
357
+ v,
358
+ {
359
+ type: "button",
360
+ onClick: dt,
361
+ $size: o,
362
+ "aria-label": "Stop timer",
363
+ "aria-disabled": u,
364
+ children: /* @__PURE__ */ e(Vt, { color: c, size: C, "aria-hidden": "true" })
365
+ }
366
+ ),
367
+ u || !T ? /* @__PURE__ */ e(
368
+ v,
369
+ {
370
+ type: "button",
371
+ onClick: mt,
372
+ $size: o,
373
+ "aria-label": "Pause timer",
374
+ "aria-disabled": u,
375
+ children: /* @__PURE__ */ e(Zt, { color: c, size: C, "aria-hidden": "true" })
376
+ }
377
+ ) : /* @__PURE__ */ e(v, { type: "button", onClick: pt, "aria-label": "Resume timer", $size: o, children: /* @__PURE__ */ e(te, { color: c, size: C, "aria-hidden": "true" }) })
378
+ ]
379
+ }
380
+ ),
381
+ (!u || f) && /* @__PURE__ */ p(
382
+ Kt,
383
+ {
384
+ $size: o,
385
+ $dismissing: f,
386
+ "aria-label": `${s} seconds remaining`,
387
+ children: [
388
+ /* @__PURE__ */ e(
389
+ Rt,
390
+ {
391
+ color: "rgba(255,255,255,0.82)",
392
+ style: { width: "1em", height: "1em", flexShrink: 0 }
393
+ }
394
+ ),
395
+ ht.split("").map(
396
+ (m, l) => m === ":" ? /* @__PURE__ */ e("span", { children: m }, l) : /* @__PURE__ */ e(Gt, { children: m }, `${l}-${m}`)
397
+ )
398
+ ]
399
+ }
400
+ ),
401
+ a > 0 && /* @__PURE__ */ e(Jt, { role: "group", $size: o, "aria-label": "Start timer", children: /* @__PURE__ */ e(
402
+ v,
403
+ {
404
+ type: "button",
405
+ onClick: lt,
406
+ $size: o,
407
+ "aria-label": `Start ${a} second timer`,
408
+ children: /* @__PURE__ */ e(Qt, { color: c, size: o, "aria-hidden": "true" })
409
+ }
410
+ ) })
468
411
  ] });
469
412
  };
470
- Timer.propTypes = {
413
+ ne.propTypes = {
471
414
  /** Color theme key for the clock and accent elements. Defaults to `'green'` */
472
- color: PropTypes.string,
415
+ color: n.string,
473
416
  /** Diameter of the clock in pixels. Defaults to `30` */
474
- size: PropTypes.number,
417
+ size: n.number,
475
418
  /** Whether to display the time readout. Defaults to `true` */
476
- showTime: PropTypes.bool,
419
+ showTime: n.bool,
477
420
  /** Includes seconds in the digital readout when true. Defaults to `true` */
478
- showTimeWithSec: PropTypes.bool,
421
+ showTimeWithSec: n.bool,
479
422
  /** IANA timezone string (e.g. `'Asia/Kolkata'`). Defaults to `'Asia/Kolkata'` */
480
- timeZone: PropTypes.string,
423
+ timeZone: n.string,
481
424
  /** Shows a digital readout when true; analog hands when false. Defaults to `true` */
482
- isDigital: PropTypes.bool,
425
+ isDigital: n.bool,
483
426
  /** Countdown duration in seconds. Shows timer controls when > 0 */
484
- timerSeconds: PropTypes.number,
427
+ timerSeconds: n.number,
485
428
  /** Called when the timer is started */
486
- onTimerAdd: PropTypes.func,
429
+ onTimerAdd: n.func,
487
430
  /** Called when the countdown reaches zero */
488
- onTimerComplete: PropTypes.func,
431
+ onTimerComplete: n.func,
489
432
  /** Called when the timer is stopped */
490
- onTimerRemove: PropTypes.func,
433
+ onTimerRemove: n.func,
491
434
  /** Called when the timer is paused */
492
- onTimerPause: PropTypes.func,
435
+ onTimerPause: n.func,
493
436
  /** Called when a paused timer is resumed */
494
- onTimerPlay: PropTypes.func
437
+ onTimerPlay: n.func
495
438
  };
496
439
  export {
497
- Timer as default
440
+ ne as default
498
441
  };