meticulous-ui 3.7.12 → 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 (310) hide show
  1. package/components/Button/Button.js +46 -67
  2. package/components/Carousel/Carousel.js +127 -72
  3. package/components/DatePicker/DatePicker.js +181 -142
  4. package/components/DatePicker/constants.js +14 -1
  5. package/components/DatePicker/utils.js +1 -5
  6. package/components/Dropdown/Dropdown.js +114 -80
  7. package/components/Glass/Glass.js +2 -8
  8. package/components/Icons/Add.js +44 -11
  9. package/components/Icons/AddCircle.js +29 -8
  10. package/components/Icons/AddCircleFilled.js +20 -5
  11. package/components/Icons/ArrowDown.js +20 -5
  12. package/components/Icons/ArrowLeft.js +21 -5
  13. package/components/Icons/ArrowRight.js +21 -5
  14. package/components/Icons/ArrowUp.js +20 -5
  15. package/components/Icons/BagFilled.js +20 -5
  16. package/components/Icons/BagOutline.js +30 -8
  17. package/components/Icons/BellFilled.js +31 -8
  18. package/components/Icons/BellOffFilled.js +40 -9
  19. package/components/Icons/BellOffOutline.js +42 -9
  20. package/components/Icons/BellOutline.js +33 -8
  21. package/components/Icons/BookmarkFilled.js +23 -10
  22. package/components/Icons/BookmarkOutline.js +20 -5
  23. package/components/Icons/BoxCoveredFilled.js +41 -10
  24. package/components/Icons/BoxCoveredOutline.js +31 -8
  25. package/components/Icons/BoxFilled.js +34 -9
  26. package/components/Icons/BoxOutline.js +31 -8
  27. package/components/Icons/CalendarDays.js +20 -5
  28. package/components/Icons/CalendarLinesPen.js +21 -5
  29. package/components/Icons/CartCheckFilled.js +36 -9
  30. package/components/Icons/CartCheckOutline.js +46 -10
  31. package/components/Icons/CartCrossFilled.js +36 -9
  32. package/components/Icons/CartCrossOutline.js +45 -10
  33. package/components/Icons/CartFilled.js +34 -9
  34. package/components/Icons/CartMinusFilled.js +36 -9
  35. package/components/Icons/CartMinusOutline.js +47 -11
  36. package/components/Icons/CartOutline.js +46 -10
  37. package/components/Icons/CartPlusFilled.js +36 -9
  38. package/components/Icons/CartPlusOutline.js +45 -10
  39. package/components/Icons/Check.js +21 -5
  40. package/components/Icons/CheckDouble.js +21 -5
  41. package/components/Icons/ChevronDown.js +21 -5
  42. package/components/Icons/ChevronLeft.js +21 -5
  43. package/components/Icons/ChevronRight.js +21 -5
  44. package/components/Icons/ChevronUp.js +21 -5
  45. package/components/Icons/ClockCircleOutline.js +24 -8
  46. package/components/Icons/ClockSquareOutline.js +31 -8
  47. package/components/Icons/Close.js +18 -5
  48. package/components/Icons/CloseCircleFilled.js +20 -5
  49. package/components/Icons/CloseCircleOutline.js +21 -5
  50. package/components/Icons/CommentBubbleFilled.js +23 -10
  51. package/components/Icons/CommentBubbleOutline.js +23 -10
  52. package/components/Icons/CommentFilled.js +23 -10
  53. package/components/Icons/CommentLineFilled.js +23 -10
  54. package/components/Icons/CommentLineOutline.js +23 -10
  55. package/components/Icons/CommentOutline.js +23 -10
  56. package/components/Icons/ContactDetailsFilled.js +15 -8
  57. package/components/Icons/ContactDetailsOutline.js +15 -8
  58. package/components/Icons/DeliveryTruckFastFilled.js +26 -13
  59. package/components/Icons/DeliveryTruckFastOutline.js +26 -13
  60. package/components/Icons/DeliveryTruckLeftFilled.js +22 -9
  61. package/components/Icons/DeliveryTruckLeftOutline.js +22 -9
  62. package/components/Icons/DeliveryTruckRightFilled.js +21 -8
  63. package/components/Icons/DeliveryTruckRightOutline.js +21 -8
  64. package/components/Icons/DetailsOutline.js +15 -8
  65. package/components/Icons/DiscordConversation.js +27 -8
  66. package/components/Icons/DiscordFilled.js +21 -8
  67. package/components/Icons/DiscordOutline.js +25 -9
  68. package/components/Icons/DoorClosedFilled.js +20 -5
  69. package/components/Icons/DoorClosedOutline.js +21 -5
  70. package/components/Icons/DoorOpenFilled.js +20 -5
  71. package/components/Icons/DoorOpenOutline.js +21 -5
  72. package/components/Icons/DotsHorizontalFilled.js +34 -9
  73. package/components/Icons/DotsHorizontalOutline.js +43 -9
  74. package/components/Icons/DotsVerticalFilled.js +34 -9
  75. package/components/Icons/DotsVerticalOutline.js +43 -9
  76. package/components/Icons/Download.js +27 -8
  77. package/components/Icons/DownloadBoxFilled.js +20 -5
  78. package/components/Icons/DownloadBoxOutline.js +36 -9
  79. package/components/Icons/EditBoxThick.js +21 -5
  80. package/components/Icons/EditBoxThin.js +33 -8
  81. package/components/Icons/EmailFilled.js +19 -6
  82. package/components/Icons/EmailOutline.js +19 -6
  83. package/components/Icons/ExitArrowInOutline.js +21 -5
  84. package/components/Icons/ExitArrowOutOutline.js +33 -8
  85. package/components/Icons/ExitFullScreen.js +19 -5
  86. package/components/Icons/ExitFullScreenThick.js +19 -5
  87. package/components/Icons/EyeClosed.js +20 -5
  88. package/components/Icons/EyeFilled.js +29 -8
  89. package/components/Icons/EyeOutline.js +33 -8
  90. package/components/Icons/FacebookFilled.js +19 -6
  91. package/components/Icons/FacebookMessengerOutline.js +29 -8
  92. package/components/Icons/FacebookOutline.js +20 -5
  93. package/components/Icons/FacebookRoundFilled.js +18 -5
  94. package/components/Icons/Filter.js +17 -10
  95. package/components/Icons/FilterList.js +21 -5
  96. package/components/Icons/FilterThickFilled.js +18 -5
  97. package/components/Icons/FilterThickOutline.js +19 -5
  98. package/components/Icons/FullScreenArrowThick.js +19 -5
  99. package/components/Icons/FullScreenArrowThin.js +19 -5
  100. package/components/Icons/FullScreenExit.js +41 -10
  101. package/components/Icons/FullScreenFilled.js +20 -5
  102. package/components/Icons/FullScreenOutline.js +20 -5
  103. package/components/Icons/HamburgerMenu.js +40 -9
  104. package/components/Icons/HamburgerSpaced.js +23 -10
  105. package/components/Icons/HeartFilled.js +18 -5
  106. package/components/Icons/HeartOutline.js +23 -5
  107. package/components/Icons/Help.js +21 -5
  108. package/components/Icons/HelpCircleFilled.js +20 -5
  109. package/components/Icons/HelpCircleOutline.js +41 -9
  110. package/components/Icons/HomeFilled.js +20 -5
  111. package/components/Icons/HomeOutline.js +20 -5
  112. package/components/Icons/Info.js +27 -8
  113. package/components/Icons/InfoCircleFilled.js +20 -5
  114. package/components/Icons/InfoCircleOutline.js +16 -9
  115. package/components/Icons/InfoSquareFilled.js +20 -5
  116. package/components/Icons/InfoSquareOutline.js +23 -9
  117. package/components/Icons/InstagramOuline.js +21 -8
  118. package/components/Icons/InstagramRoundFilled.js +44 -13
  119. package/components/Icons/KeyFilled.js +20 -5
  120. package/components/Icons/KeyInSquareFilled.js +29 -8
  121. package/components/Icons/KeyInSquareOutline.js +38 -9
  122. package/components/Icons/KeyOutline.js +31 -8
  123. package/components/Icons/KeySideSquareFilled.js +29 -8
  124. package/components/Icons/KeySideSquareOutline.js +20 -5
  125. package/components/Icons/KeySquareFilled.js +29 -8
  126. package/components/Icons/KeySquareOutline.js +20 -5
  127. package/components/Icons/Link.js +31 -8
  128. package/components/Icons/LinkedinFilled.js +19 -6
  129. package/components/Icons/LinkedinOutline.js +19 -5
  130. package/components/Icons/LinkedinRoundFilled.js +19 -6
  131. package/components/Icons/Loading.js +21 -8
  132. package/components/Icons/LocationArrowFilled.js +12 -5
  133. package/components/Icons/LocationArrowOutline.js +21 -5
  134. package/components/Icons/LocationFilled.js +23 -10
  135. package/components/Icons/LocationOutline.js +23 -10
  136. package/components/Icons/LockKeyhole.js +20 -5
  137. package/components/Icons/LockKeyholeOutline.js +31 -9
  138. package/components/Icons/LockKeyholeUnlocked.js +20 -5
  139. package/components/Icons/LockKeyholeUnlockedOutline.js +31 -9
  140. package/components/Icons/MediaPauseCircleFilled.js +20 -5
  141. package/components/Icons/MediaPauseCircleOuline.js +36 -9
  142. package/components/Icons/MediaPauseFilled.js +27 -8
  143. package/components/Icons/MediaPauseOutline.js +31 -8
  144. package/components/Icons/MediaPlayCircleFilled.js +20 -5
  145. package/components/Icons/MediaPlayCircleOutline.js +31 -8
  146. package/components/Icons/MediaPlayFilled.js +18 -5
  147. package/components/Icons/MediaPlayOutline.js +20 -5
  148. package/components/Icons/MediaStopCircleFilled.js +20 -5
  149. package/components/Icons/MediaStopCircleOutline.js +31 -8
  150. package/components/Icons/MediaStopFilled.js +18 -5
  151. package/components/Icons/MediaStopOutline.js +20 -5
  152. package/components/Icons/Minus.js +21 -5
  153. package/components/Icons/MinusCircle.js +23 -10
  154. package/components/Icons/MinusCircleFilled.js +23 -10
  155. package/components/Icons/MoneyBagOutline.js +46 -10
  156. package/components/Icons/MoneyBriefcaseFilled.js +20 -5
  157. package/components/Icons/MoneyBriefcaseOutline.js +38 -9
  158. package/components/Icons/NoEntry.js +19 -5
  159. package/components/Icons/NoEntryFilled.js +18 -5
  160. package/components/Icons/NoEntryOutline.js +21 -8
  161. package/components/Icons/PaymentCardFilled.js +16 -9
  162. package/components/Icons/PaymentCardOutline.js +16 -9
  163. package/components/Icons/PhoneCallingFilled.js +36 -9
  164. package/components/Icons/PhoneCallingOutline.js +38 -9
  165. package/components/Icons/PhoneFilled.js +18 -5
  166. package/components/Icons/PhoneOutline.js +18 -5
  167. package/components/Icons/Pin.js +21 -5
  168. package/components/Icons/PinAddFilled.js +17 -10
  169. package/components/Icons/PinAddOutline.js +17 -10
  170. package/components/Icons/PinCircleFilled.js +20 -5
  171. package/components/Icons/PinCircleOutline.js +21 -8
  172. package/components/Icons/PinFilled.js +18 -5
  173. package/components/Icons/PinOutline.js +20 -5
  174. package/components/Icons/PinSubFilled.js +17 -10
  175. package/components/Icons/PinSubOutline.js +17 -10
  176. package/components/Icons/PinterestFilled.js +17 -10
  177. package/components/Icons/PinterestOutline.js +21 -5
  178. package/components/Icons/ProfileFemaleOutline.js +19 -6
  179. package/components/Icons/ProfileGroupFilled.js +28 -8
  180. package/components/Icons/ProfileMaleFilled.js +28 -8
  181. package/components/Icons/ProfileMaleOutline.js +19 -6
  182. package/components/Icons/RedditFilled.js +17 -10
  183. package/components/Icons/RedditOutline.js +43 -10
  184. package/components/Icons/RedditRoundFilled.js +52 -15
  185. package/components/Icons/RedditRoundOutline.js +53 -16
  186. package/components/Icons/RupeeOutlined.js +18 -5
  187. package/components/Icons/RupeeSign.js +21 -5
  188. package/components/Icons/SaveFilled.js +23 -10
  189. package/components/Icons/SaveOutline.js +23 -10
  190. package/components/Icons/Search.js +23 -10
  191. package/components/Icons/SettingFilled.js +18 -5
  192. package/components/Icons/SettingOutline.js +18 -5
  193. package/components/Icons/ShareAllFilled.js +20 -5
  194. package/components/Icons/ShareAllOutline.js +39 -11
  195. package/components/Icons/ShareBoxOutline.js +18 -5
  196. package/components/Icons/ShareFilled.js +29 -8
  197. package/components/Icons/ShareOutline.js +32 -8
  198. package/components/Icons/ShareThickFilled.js +18 -5
  199. package/components/Icons/ShieldCheckFilled.js +20 -5
  200. package/components/Icons/ShieldCheckOutline.js +31 -8
  201. package/components/Icons/ShieldCrossFilled.js +20 -5
  202. package/components/Icons/ShieldCrossOutline.js +30 -8
  203. package/components/Icons/ShieldFilled.js +18 -5
  204. package/components/Icons/ShieldOutline.js +20 -5
  205. package/components/Icons/ShieldWarningFilled.js +20 -5
  206. package/components/Icons/ShieldWarningOutline.js +23 -9
  207. package/components/Icons/SnapchatFilled.js +17 -10
  208. package/components/Icons/SnapchatOutline.js +20 -5
  209. package/components/Icons/SortBottomToTop.js +26 -10
  210. package/components/Icons/SortHorizontal.js +20 -5
  211. package/components/Icons/SortTopToBottom.js +26 -10
  212. package/components/Icons/SortVertical.js +20 -5
  213. package/components/Icons/StarFilled.js +19 -6
  214. package/components/Icons/StarOutline.js +19 -6
  215. package/components/Icons/TelegramFilled.js +22 -9
  216. package/components/Icons/TelegramOutline.js +20 -5
  217. package/components/Icons/TelegramRoundFilled.js +22 -9
  218. package/components/Icons/ThumbsDownFilled.js +18 -5
  219. package/components/Icons/ThumbsDownOutline.js +18 -5
  220. package/components/Icons/ThumbsUpFilled.js +18 -5
  221. package/components/Icons/ThumbsUpOutline.js +18 -5
  222. package/components/Icons/TiktokBox.js +18 -5
  223. package/components/Icons/TiktokThickFilled.js +21 -8
  224. package/components/Icons/TiktokThinFilled.js +32 -8
  225. package/components/Icons/TrashBigFilled.js +23 -10
  226. package/components/Icons/TrashBigOutline.js +23 -10
  227. package/components/Icons/TrashFilled.js +27 -8
  228. package/components/Icons/TrashLinesFilled.js +29 -8
  229. package/components/Icons/TrashLinesOutline.js +33 -11
  230. package/components/Icons/TrashOutline.js +31 -9
  231. package/components/Icons/Upload.js +27 -8
  232. package/components/Icons/UploadBoxFilled.js +20 -5
  233. package/components/Icons/UploadBoxOutline.js +36 -9
  234. package/components/Icons/VolumeFilled.js +30 -11
  235. package/components/Icons/VolumeMuteFilled.js +30 -11
  236. package/components/Icons/VolumeMuteOutline.js +30 -11
  237. package/components/Icons/VolumeOffFilled.js +30 -11
  238. package/components/Icons/VolumeOffOutline.js +30 -11
  239. package/components/Icons/VolumeOutline.js +30 -11
  240. package/components/Icons/WalletFilled.js +23 -10
  241. package/components/Icons/WalletOutline.js +23 -10
  242. package/components/Icons/Warning.js +21 -5
  243. package/components/Icons/WarningCircleFilled.js +18 -5
  244. package/components/Icons/WarningCircleOutline.js +18 -5
  245. package/components/Icons/WarningSmall.js +21 -5
  246. package/components/Icons/WarningTriangleFilled.js +21 -8
  247. package/components/Icons/WarningTriangleOutline.js +21 -5
  248. package/components/Icons/WhatsappFilled.js +17 -10
  249. package/components/Icons/WhatsappOutline.js +20 -5
  250. package/components/Icons/Youtube.js +18 -5
  251. package/components/Icons/YoutubeFilled.js +23 -10
  252. package/components/Icons/YoutubeRoundFilled.js +22 -9
  253. package/components/Image/Image.js +33 -27
  254. package/components/Input/Checkbox/Checkbox.js +30 -20
  255. package/components/Input/FileUploader/FileUploader.js +73 -82
  256. package/components/Input/Input/Input.js +49 -47
  257. package/components/Input/Radio/Radio.js +18 -17
  258. package/components/Input/RadioGroup/RadioGroup.js +33 -16
  259. package/components/Input/Textarea/SvgIcon.js +1 -7
  260. package/components/Input/Textarea/Textarea.js +54 -54
  261. package/components/Loader/Loader.js +18 -29
  262. package/components/Loader/constants.js +3 -12
  263. package/components/MenuItem/MenuItem.js +30 -28
  264. package/components/Modal/Modal.js +58 -37
  265. package/components/OtpInput/OtpInput.js +28 -28
  266. package/components/PageLoader/PageLoader.js +13 -9
  267. package/components/Pagination/Pagination.js +87 -95
  268. package/components/Ripple/Ripple.js +12 -2
  269. package/components/RootComponent/RootComponent.js +1 -4
  270. package/components/Selectbox/Selectbox.js +143 -101
  271. package/components/Shimmer/Shimmer.js +17 -13
  272. package/components/Spinner/Spinner.js +29 -22
  273. package/components/Timer/Timer.js +154 -92
  274. package/components/Timer/components/TimerRing/TimerRing.js +56 -11
  275. package/components/Toast/Toast.js +76 -81
  276. package/components/Typography/Headings/H1.js +2 -8
  277. package/components/Typography/Headings/H2.js +2 -8
  278. package/components/Typography/Headings/H3.js +2 -8
  279. package/components/Typography/Headings/H4.js +2 -8
  280. package/components/Typography/Headings/H5.js +2 -8
  281. package/components/Typography/Headings/H6.js +2 -8
  282. package/components/Typography/Headings/index.js +1 -8
  283. package/components/Typography/P/P.js +3 -12
  284. package/components/VideoPlayer/VideoPlayer.js +19 -23
  285. package/components/VideoPlayer/components/Volumebar/Volumebar.js +2 -6
  286. package/components/VideoPlayer/useSpacebarToggle.js +11 -1
  287. package/components/VideoPlayer/useVolumeOverlay.js +1 -4
  288. package/hooks/useThrottle.js +6 -3
  289. package/hooks/useWindowSize.js +1 -4
  290. package/package.json +1 -1
  291. package/reactUtils/composeProviders.js +1 -3
  292. package/reactUtils/lazyImport.js +1 -3
  293. package/reactUtils/withErrorBoundary.js +2 -8
  294. package/utils/cancelablePromise.js +4 -5
  295. package/utils/createPubSub.js +9 -12
  296. package/utils/formatCompactNumber.js +3 -4
  297. package/utils/formatCurrency.js +1 -4
  298. package/utils/formatDate.js +3 -5
  299. package/utils/handleKeyboardNavigation.js +1 -5
  300. package/utils/isAuthenticated.js +1 -3
  301. package/utils/logError.js +1 -4
  302. package/utils/logInfo.js +1 -6
  303. package/utils/logWarn.js +1 -6
  304. package/utils/mergeDeep.js +1 -3
  305. package/utils/multiSort.js +1 -4
  306. package/utils/scrollToElement.js +1 -4
  307. package/utils/scrollToTop.js +1 -4
  308. package/utils/timeAgo.js +1 -3
  309. package/utils/trackEvent.js +1 -5
  310. package/utils/withTimeout.js +3 -1
@@ -5,35 +5,23 @@ import s from "styled-components";
5
5
  const j = s.span`
6
6
  position: relative;
7
7
  display: inline-block;
8
- width: ${({
9
- $width: e
10
- }) => e};
11
- height: ${({
12
- $height: e
13
- }) => e};
14
- border-radius: ${({
15
- $borderRadius: e
16
- }) => e};
8
+ width: ${({ $width: e }) => e};
9
+ height: ${({ $height: e }) => e};
10
+ border-radius: ${({ $borderRadius: e }) => e};
17
11
  overflow: hidden;
18
12
  `, I = s.img`
19
13
  display: block;
20
14
  width: 100%;
21
15
  height: 100%;
22
16
  object-fit: cover;
23
- border-radius: ${({
24
- $borderRadius: e
25
- }) => e};
26
- opacity: ${({
27
- $loaded: e
28
- }) => e ? 1 : 0};
17
+ border-radius: ${({ $borderRadius: e }) => e};
18
+ opacity: ${({ $loaded: e }) => e ? 1 : 0};
29
19
  transition: opacity 0.5s ease-in-out;
30
20
  `, k = s.div`
31
21
  position: absolute;
32
22
  inset: 0;
33
23
  z-index: 2;
34
- opacity: ${({
35
- $loaded: e
36
- }) => e ? 0 : 1};
24
+ opacity: ${({ $loaded: e }) => e ? 0 : 1};
37
25
  transition: opacity 0.35s ease-out;
38
26
  pointer-events: none;
39
27
  `, S = s.img`
@@ -45,13 +33,8 @@ const j = s.span`
45
33
  height: 100%;
46
34
  object-fit: cover;
47
35
  transform: scale(1.05);
48
- filter: ${({
49
- $loaded: e
50
- }) => e ? "blur(0px)" : "blur(12px)"};
51
- opacity: ${({
52
- $lowLoaded: e,
53
- $loaded: t
54
- }) => e && !t ? 1 : 0};
36
+ filter: ${({ $loaded: e }) => e ? "blur(0px)" : "blur(12px)"};
37
+ opacity: ${({ $lowLoaded: e, $loaded: t }) => e && !t ? 1 : 0};
55
38
  transition:
56
39
  opacity 0.5s ease-in-out,
57
40
  filter 0.5s ease-in-out;
@@ -71,8 +54,31 @@ const j = s.span`
71
54
  const [m, $] = d(!1), [n, f] = d(!1), [a, y] = d(!1), b = () => $(!0), g = () => f(!0), L = () => y(!0), w = c ? m : n;
72
55
  return /* @__PURE__ */ x(j, { $width: o(p), $height: o(u), $borderRadius: o(i), children: [
73
56
  !a && /* @__PURE__ */ r(k, { $loaded: w, children: /* @__PURE__ */ r(v, { borderRadius: i }) }),
74
- c && l && !a && /* @__PURE__ */ r(S, { src: l, alt: "", "aria-hidden": "true", $lowLoaded: m, $loaded: n, $borderRadius: o(i), onLoad: b }),
75
- !a && /* @__PURE__ */ r(I, { src: e, alt: t, "aria-hidden": t === "" ? "true" : void 0, $loaded: n, $borderRadius: o(i), onLoad: g, onError: L, ...h })
57
+ c && l && !a && /* @__PURE__ */ r(
58
+ S,
59
+ {
60
+ src: l,
61
+ alt: "",
62
+ "aria-hidden": "true",
63
+ $lowLoaded: m,
64
+ $loaded: n,
65
+ $borderRadius: o(i),
66
+ onLoad: b
67
+ }
68
+ ),
69
+ !a && /* @__PURE__ */ r(
70
+ I,
71
+ {
72
+ src: e,
73
+ alt: t,
74
+ "aria-hidden": t === "" ? "true" : void 0,
75
+ $loaded: n,
76
+ $borderRadius: o(i),
77
+ onLoad: g,
78
+ onError: L,
79
+ ...h
80
+ }
81
+ )
76
82
  ] });
77
83
  };
78
84
  export {
@@ -39,41 +39,28 @@ const J = {
39
39
  width: max-content;
40
40
  position: relative;
41
41
 
42
- ${({
43
- $disabled: o
44
- }) => o && q`
42
+ ${({ $disabled: o }) => o && q`
45
43
  pointer-events: none;
46
44
  opacity: 0.4;
47
45
  `}
48
46
  `, U = f(G)`
49
47
  width: 1.92rem;
50
48
  height: 1.92rem;
51
- border: 1px solid ${({
52
- $value: o,
53
- $outerShade: r
54
- }) => o ? r : l.m800};
49
+ border: 1px solid ${({ $value: o, $outerShade: r }) => o ? r : l.m800};
55
50
  border-radius: 0.32rem;
56
- background-color: ${({
57
- $value: o,
58
- $innerShade: r
59
- }) => o ? r : "transparent"};
51
+ background-color: ${({ $value: o, $innerShade: r }) => o ? r : "transparent"};
60
52
  transition:
61
53
  background-color 0.5s ease,
62
54
  border-color 0.5s ease,
63
55
  box-shadow 0.5s ease;
64
56
  flex-shrink: 0;
65
- box-shadow: 0 0 0 1px ${({
66
- $focused: o,
67
- $outerShade: r
68
- }) => o ? r : "transparent"};
57
+ box-shadow: 0 0 0 1px ${({ $focused: o, $outerShade: r }) => o ? r : "transparent"};
69
58
 
70
59
  path {
71
60
  stroke-width: 3;
72
61
  transform-box: fill-box;
73
62
  transform-origin: center;
74
- transform: scale(${({
75
- $value: o
76
- }) => o ? 1 : 0});
63
+ transform: scale(${({ $value: o }) => o ? 1 : 0});
77
64
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
78
65
  }
79
66
  `, V = f.input`
@@ -114,8 +101,31 @@ const J = {
114
101
  t.key === "Escape" && m(!1);
115
102
  }, d = (t) => () => m(t);
116
103
  return /* @__PURE__ */ E(Q, { as: "label", $disabled: u, ...$, children: [
117
- /* @__PURE__ */ p(V, { type: "checkbox", checked: r, onChange: H, onKeyDown: z, onFocus: d(!0), onBlur: d(!1), disabled: u, tabIndex: w }),
118
- /* @__PURE__ */ p(U, { $value: r, $focused: C, size: 6, color: B, $innerShade: D, $outerShade: P, "aria-hidden": "true" }),
104
+ /* @__PURE__ */ p(
105
+ V,
106
+ {
107
+ type: "checkbox",
108
+ checked: r,
109
+ onChange: H,
110
+ onKeyDown: z,
111
+ onFocus: d(!0),
112
+ onBlur: d(!1),
113
+ disabled: u,
114
+ tabIndex: w
115
+ }
116
+ ),
117
+ /* @__PURE__ */ p(
118
+ U,
119
+ {
120
+ $value: r,
121
+ $focused: C,
122
+ size: 6,
123
+ color: B,
124
+ $innerShade: D,
125
+ $outerShade: P,
126
+ "aria-hidden": "true"
127
+ }
128
+ ),
119
129
  /* @__PURE__ */ p(A, { color: y, size: "1.92rem", children: o })
120
130
  ] });
121
131
  };
@@ -12,17 +12,12 @@ import { SIZE as L, MEDIUM as O } from "./constants.js";
12
12
  import l, { css as f } from "styled-components";
13
13
  import Y from "../../Typography/P/P.js";
14
14
  const Z = l.div`
15
- height: ${({
16
- $height: e
17
- }) => e}rem;
15
+ height: ${({ $height: e }) => e}rem;
18
16
  display: inline-block;
19
17
  position: relative;
20
18
  border-radius: 0.96rem;
21
19
 
22
- ${({
23
- disabled: e,
24
- $isLoading: o
25
- }) => !(e || o) && f`
20
+ ${({ disabled: e, $isLoading: o }) => !(e || o) && f`
26
21
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.2);
27
22
  transition:
28
23
  transform 0.2s,
@@ -35,12 +30,8 @@ const Z = l.div`
35
30
  }
36
31
  `};
37
32
  `, q = l.label`
38
- height: ${({
39
- $height: e
40
- }) => `${e}rem`};
41
- width: ${({
42
- $width: e
43
- }) => `${e}rem`};
33
+ height: ${({ $height: e }) => `${e}rem`};
34
+ width: ${({ $width: e }) => `${e}rem`};
44
35
  border-radius: 0.96rem;
45
36
  border: none;
46
37
  padding: 0 0.8rem;
@@ -50,54 +41,32 @@ const Z = l.div`
50
41
  outline: none;
51
42
  position: relative;
52
43
  overflow: hidden;
53
- background-color: ${({
54
- $selectedColor: e,
55
- disabled: o
56
- }) => o ? k.m500 : e};
57
- cursor: ${({
58
- disabled: e,
59
- $isLoading: o
60
- }) => e ? "not-allowed" : o ? "auto" : "pointer"};
44
+ background-color: ${({ $selectedColor: e, disabled: o }) => o ? k.m500 : e};
45
+ cursor: ${({ disabled: e, $isLoading: o }) => e ? "not-allowed" : o ? "auto" : "pointer"};
61
46
 
62
- ${({
63
- $isLoading: e
64
- }) => e && f`
47
+ ${({ $isLoading: e }) => e && f`
65
48
  pointer-events: none;
66
49
  `};
67
50
 
68
- ${({
69
- disabled: e,
70
- $isLoading: o
71
- }) => !(e || o) && f`
51
+ ${({ disabled: e, $isLoading: o }) => !(e || o) && f`
72
52
  &:hover {
73
- background-color: ${({
74
- $hoverColor: i
75
- }) => i};
53
+ background-color: ${({ $hoverColor: i }) => i};
76
54
  }
77
55
 
78
56
  &:active {
79
- background-color: ${({
80
- $activeColor: i
81
- }) => i};
57
+ background-color: ${({ $activeColor: i }) => i};
82
58
  }
83
59
  `};
84
60
  `, A = l(Y)`
85
- color: ${({
86
- color: e
87
- }) => e};
88
- font-size: ${({
89
- size: e
90
- }) => e};
61
+ color: ${({ color: e }) => e};
62
+ font-size: ${({ size: e }) => e};
91
63
  margin: 0;
92
64
  white-space: nowrap;
93
65
  overflow: hidden;
94
66
  text-overflow: ellipsis;
95
67
  width: calc(
96
68
  100%
97
- ${({
98
- $prefixIcon: e,
99
- $iconSize: o
100
- }) => e ? ` - ${o}px - 0.8rem` : ""}${({
69
+ ${({ $prefixIcon: e, $iconSize: o }) => e ? ` - ${o}px - 0.8rem` : ""}${({
101
70
  $suffixIcon: e,
102
71
  $iconSize: o
103
72
  }) => e ? ` - ${o}px - 0.8rem` : ""}
@@ -108,9 +77,7 @@ const Z = l.div`
108
77
  display: flex;
109
78
  align-items: center;
110
79
  justify-content: center;
111
- opacity: ${({
112
- $isLoading: e
113
- }) => e ? 1 : 0};
80
+ opacity: ${({ $isLoading: e }) => e ? 1 : 0};
114
81
  transition: opacity 0.3s ease;
115
82
  pointer-events: none;
116
83
  `, J = l.div`
@@ -119,9 +86,7 @@ const Z = l.div`
119
86
  gap: 0.8rem;
120
87
  flex: 1;
121
88
  min-width: 0;
122
- opacity: ${({
123
- $isLoading: e
124
- }) => e ? 0 : 1};
89
+ opacity: ${({ $isLoading: e }) => e ? 0 : 1};
125
90
  transition: opacity 0.3s ease;
126
91
  `, N = l.input`
127
92
  position: absolute;
@@ -133,10 +98,7 @@ const Z = l.div`
133
98
  white-space: nowrap;
134
99
  opacity: 0;
135
100
  pointer-events: none;
136
- `, Q = ({
137
- theme: e,
138
- children: o
139
- }) => /* @__PURE__ */ t(H, { rippleColor: e.m100, children: o }), V = ({
101
+ `, Q = ({ theme: e, children: o }) => /* @__PURE__ */ t(H, { rippleColor: e.m100, children: o }), V = ({
140
102
  label: e,
141
103
  labelColor: o,
142
104
  theme: i = C,
@@ -153,34 +115,63 @@ const Z = l.div`
153
115
  ...W
154
116
  }) => {
155
117
  var g;
156
- const h = v(null), {
157
- m400: j,
158
- m500: E,
159
- m600: M
160
- } = (g = F[i]) != null ? g : C, {
161
- height: $,
162
- width: P,
163
- font: p
164
- } = L[z] || {}, a = o || ["white", "yellow"].includes(i) ? k.m600 : S, u = v(0), w = /* @__PURE__ */ x(q, { $selectedColor: j, $hoverColor: E, $height: $, $width: I || P, $activeColor: M, disabled: s, $isLoading: n, tabIndex: 0, "aria-disabled": s, onKeyDown: (c) => {
165
- var y;
166
- if (c.key === "Enter" || c.key === " ") {
167
- c.preventDefault();
168
- const b = Date.now();
169
- if (b - u.current < 500) {
170
- c.stopPropagation();
171
- return;
172
- }
173
- u.current = b, !s && !n && ((y = h.current) == null || y.click());
118
+ const h = v(null), { m400: j, m500: E, m600: M } = (g = F[i]) != null ? g : C, { height: $, width: P, font: p } = L[z] || {}, a = o || ["white", "yellow"].includes(i) ? k.m600 : S, u = v(0), w = /* @__PURE__ */ x(
119
+ q,
120
+ {
121
+ $selectedColor: j,
122
+ $hoverColor: E,
123
+ $height: $,
124
+ $width: I || P,
125
+ $activeColor: M,
126
+ disabled: s,
127
+ $isLoading: n,
128
+ tabIndex: 0,
129
+ "aria-disabled": s,
130
+ onKeyDown: (c) => {
131
+ var y;
132
+ if (c.key === "Enter" || c.key === " ") {
133
+ c.preventDefault();
134
+ const b = Date.now();
135
+ if (b - u.current < 500) {
136
+ c.stopPropagation();
137
+ return;
138
+ }
139
+ u.current = b, !s && !n && ((y = h.current) == null || y.click());
140
+ }
141
+ },
142
+ children: [
143
+ /* @__PURE__ */ t(
144
+ N,
145
+ {
146
+ ref: h,
147
+ type: D,
148
+ accept: R,
149
+ multiple: T,
150
+ disabled: s,
151
+ onChange: K,
152
+ tabIndex: -1
153
+ }
154
+ ),
155
+ /* @__PURE__ */ t(G, { $isLoading: n, children: /* @__PURE__ */ t(U, { size: "small", color: a }) }),
156
+ /* @__PURE__ */ x(J, { $isLoading: n, children: [
157
+ m && /* @__PURE__ */ t(m, { color: a, size: p + 19 }),
158
+ /* @__PURE__ */ t(
159
+ A,
160
+ {
161
+ color: a,
162
+ size: `${p}rem`,
163
+ $prefixIcon: !!m,
164
+ $suffixIcon: !!d,
165
+ $iconSize: p + 19,
166
+ title: e,
167
+ children: e
168
+ }
169
+ ),
170
+ d && /* @__PURE__ */ t(d, { color: a, size: p + 19 })
171
+ ] })
172
+ ]
174
173
  }
175
- }, children: [
176
- /* @__PURE__ */ t(N, { ref: h, type: D, accept: R, multiple: T, disabled: s, onChange: K, tabIndex: -1 }),
177
- /* @__PURE__ */ t(G, { $isLoading: n, children: /* @__PURE__ */ t(U, { size: "small", color: a }) }),
178
- /* @__PURE__ */ x(J, { $isLoading: n, children: [
179
- m && /* @__PURE__ */ t(m, { color: a, size: p + 19 }),
180
- /* @__PURE__ */ t(A, { color: a, size: `${p}rem`, $prefixIcon: !!m, $suffixIcon: !!d, $iconSize: p + 19, title: e, children: e }),
181
- d && /* @__PURE__ */ t(d, { color: a, size: p + 19 })
182
- ] })
183
- ] });
174
+ );
184
175
  return /* @__PURE__ */ t(Z, { $height: $, disabled: s, $isLoading: n, ...W, children: n || s ? w : /* @__PURE__ */ t(Q, { theme: i, children: w }) });
185
176
  };
186
177
  V.propTypes = {
@@ -193,7 +184,7 @@ V.propTypes = {
193
184
  /** Button size variant: 'small', 'medium', 'large', or 'ex-large'. Defaults to 'medium' */
194
185
  size: r.string,
195
186
  /** Override the button width */
196
- width: /* @__PURE__ */ r.oneOfType([r.string, r.number]),
187
+ width: r.oneOfType([r.string, r.number]),
197
188
  /** Shows a spinner and disables interaction while true */
198
189
  isLoading: r.bool,
199
190
  /** Disables the file uploader */
@@ -29,28 +29,15 @@ const V = {
29
29
  }, X = (o) => {
30
30
  var r;
31
31
  return (r = V[o]) != null ? r : m.m500;
32
- }, $ = ({
33
- $hasError: o,
34
- $shade: r,
35
- $isFocused: e,
36
- value: t,
37
- $onlyPh: l
38
- }) => o ? typeof t == "string" && !t && !e ? m.m500 : h.m400 : e && !l ? r : m.m500, Y = ({
39
- $hasLeftIcon: o,
40
- $hasRightIcon: r
41
- }) => o && r ? "0 3.84rem" : o ? "0 0.96rem 0 3.84rem" : r ? "0 3.84rem 0 0.96rem" : "0 0.96rem", Z = n.input`
32
+ }, $ = ({ $hasError: o, $shade: r, $isFocused: e, value: t, $onlyPh: l }) => o ? typeof t == "string" && !t && !e ? m.m500 : h.m400 : e && !l ? r : m.m500, Y = ({ $hasLeftIcon: o, $hasRightIcon: r }) => o && r ? "0 3.84rem" : o ? "0 0.96rem 0 3.84rem" : r ? "0 3.84rem 0 0.96rem" : "0 0.96rem", Z = n.input`
42
33
  height: 4.8rem;
43
34
  border-radius: 0.64rem;
44
35
  font-size: 2.24rem;
45
- border: 2px solid ${({
46
- $hasError: o
47
- }) => o ? h.m400 : F.m200};
36
+ border: 2px solid ${({ $hasError: o }) => o ? h.m400 : F.m200};
48
37
  padding: ${Y};
49
38
  font-weight: 400;
50
39
  transition: border-color 0.3s ease;
51
- background-color: ${({
52
- $background: o
53
- }) => o} !important;
40
+ background-color: ${({ $background: o }) => o} !important;
54
41
  overflow: hidden;
55
42
 
56
43
  &:-webkit-autofill,
@@ -66,22 +53,13 @@ const V = {
66
53
  color: ${m.m500};
67
54
  font-weight: 300;
68
55
  font-size: 2.24rem;
69
- background-color: ${({
70
- $background: o
71
- }) => o};
56
+ background-color: ${({ $background: o }) => o};
72
57
  pointer-events: none;
73
58
  }
74
59
 
75
60
  &:focus {
76
61
  border: 2px solid
77
- ${({
78
- $shade: o,
79
- $hasError: r
80
- }) => $({
81
- $shade: o,
82
- $hasError: r,
83
- $isFocused: !0
84
- })};
62
+ ${({ $shade: o, $hasError: r }) => $({ $shade: o, $hasError: r, $isFocused: !0 })};
85
63
  outline: none;
86
64
  }
87
65
  `, T = n.p`
@@ -110,9 +88,7 @@ const to = n.div`
110
88
  top: -0.64rem;
111
89
  left: 0.8rem;
112
90
  font-size: 1.28rem;
113
- background-color: ${({
114
- $outerBackground: o
115
- }) => o};
91
+ background-color: ${({ $outerBackground: o }) => o};
116
92
  border-radius: 0.64rem;
117
93
  margin: 0 0.64rem;
118
94
  transition: 0.25s;
@@ -120,22 +96,14 @@ const to = n.div`
120
96
  pointer-events: none;
121
97
  color: ${$};
122
98
 
123
- ${({
124
- $isFocused: o,
125
- value: r,
126
- $onlyPh: e
127
- }) => !e && (o || r) ? C`
99
+ ${({ $isFocused: o, value: r, $onlyPh: e }) => !e && (o || r) ? C`
128
100
  top: -0.64rem;
129
- left: ${({
130
- $hasLeftIcon: t
131
- }) => t ? 3.52 : 0.8}rem;
101
+ left: ${({ $hasLeftIcon: t }) => t ? 3.52 : 0.8}rem;
132
102
  padding: 0 0.64rem;
133
103
  margin: 0;
134
104
  ` : C`
135
105
  top: 1.28rem;
136
- left: ${({
137
- $hasLeftIcon: t
138
- }) => t ? 3.52 : 0.8}rem;
106
+ left: ${({ $hasLeftIcon: t }) => t ? 3.52 : 0.8}rem;
139
107
  font-size: 2.24rem;
140
108
  `}
141
109
  `, ko = ({
@@ -158,15 +126,49 @@ const to = n.div`
158
126
  }) => {
159
127
  const [s, k] = _(!1), f = X(S), j = () => k(!0), A = () => k(!1), E = (O) => {
160
128
  r(O);
161
- }, x = {
162
- color: m.m500,
163
- size: 22
164
- }, g = !!d, y = !!c, a = l, H = w, b = `input-${v}`, z = p ? `${b}-helper` : void 0;
129
+ }, x = { color: m.m500, size: 22 }, g = !!d, y = !!c, a = l, H = w, b = `input-${v}`, z = p ? `${b}-helper` : void 0;
165
130
  return /* @__PURE__ */ R(oo, { children: [
166
- /* @__PURE__ */ i(Z, { type: t, name: v, $hasError: a, size: B, value: e, $isFocused: s, $shade: f, $background: H, $hasLeftIcon: g, $hasRightIcon: y, id: b, "aria-invalid": a ? !0 : void 0, "aria-describedby": z, onFocus: j, onBlur: A, onChange: E, autoComplete: L ? "off" : "on", ...W }),
131
+ /* @__PURE__ */ i(
132
+ Z,
133
+ {
134
+ type: t,
135
+ name: v,
136
+ $hasError: a,
137
+ size: B,
138
+ value: e,
139
+ $isFocused: s,
140
+ $shade: f,
141
+ $background: H,
142
+ $hasLeftIcon: g,
143
+ $hasRightIcon: y,
144
+ id: b,
145
+ "aria-invalid": a ? !0 : void 0,
146
+ "aria-describedby": z,
147
+ onFocus: j,
148
+ onBlur: A,
149
+ onChange: E,
150
+ autoComplete: L ? "off" : "on",
151
+ ...W
152
+ }
153
+ ),
167
154
  d && /* @__PURE__ */ i(ro, { "aria-hidden": "true", children: /* @__PURE__ */ i(I, { svgIcon: d, iconStyles: x }) }),
168
155
  c && /* @__PURE__ */ i(eo, { "aria-hidden": "true", children: /* @__PURE__ */ i(I, { svgIcon: c, iconStyles: x }) }),
169
- (o || u && !e) && /* @__PURE__ */ i(to, { as: "label", htmlFor: b, $hasError: a, $isFocused: s, $shade: f, value: e, $outerBackground: s || e ? P : w, $hasLeftIcon: g, $hasRightIcon: y, $onlyPh: u && !o, children: o || u }),
156
+ (o || u && !e) && /* @__PURE__ */ i(
157
+ to,
158
+ {
159
+ as: "label",
160
+ htmlFor: b,
161
+ $hasError: a,
162
+ $isFocused: s,
163
+ $shade: f,
164
+ value: e,
165
+ $outerBackground: s || e ? P : w,
166
+ $hasLeftIcon: g,
167
+ $hasRightIcon: y,
168
+ $onlyPh: u && !o,
169
+ children: o || u
170
+ }
171
+ ),
170
172
  p && /* @__PURE__ */ i(T, { id: z, $hasError: a, $isFocused: s, $shade: f, $hasLeftIcon: g, children: p })
171
173
  ] });
172
174
  };
@@ -11,18 +11,12 @@ const k = i.div`
11
11
  left: 50%;
12
12
  top: 50%;
13
13
  transform: translate(-50%, -50%);
14
- background-color: ${({
15
- $isSelected: e,
16
- $shade: t
17
- }) => e ? t : "transparent"};
14
+ background-color: ${({ $isSelected: e, $shade: t }) => e ? t : "transparent"};
18
15
  transition: background-color 0.35s ease;
19
16
  `, f = i.div`
20
17
  width: 1.76rem;
21
18
  height: 1.76rem;
22
- border: 1px solid ${({
23
- $isSelected: e,
24
- $shade: t
25
- }) => e ? t : u.m900};
19
+ border: 1px solid ${({ $isSelected: e, $shade: t }) => e ? t : u.m900};
26
20
  border-radius: 50%;
27
21
  position: relative;
28
22
  transition:
@@ -45,14 +39,10 @@ const k = i.div`
45
39
  width: max-content;
46
40
 
47
41
  &:focus-within ${f} {
48
- box-shadow: 0 0 0 1px ${({
49
- $focusShade: e
50
- }) => e || u.m900};
42
+ box-shadow: 0 0 0 1px ${({ $focusShade: e }) => e || u.m900};
51
43
  }
52
44
 
53
- ${({
54
- $disabled: e
55
- }) => e ? l`
45
+ ${({ $disabled: e }) => e ? l`
56
46
  pointer-events: none;
57
47
  opacity: 0.4;
58
48
  cursor: not-allowed;
@@ -73,9 +63,20 @@ const k = i.div`
73
63
  var p, h;
74
64
  const x = (p = r == null ? void 0 : r.m500) != null ? p : m.m500, d = (h = r == null ? void 0 : r.m800) != null ? h : m.m800;
75
65
  return /* @__PURE__ */ $(D, { $disabled: s, $focusShade: d, ...g, children: [
76
- /* @__PURE__ */ n(v, { type: "radio", name: w, value: t, checked: o, disabled: s, onChange: () => a(t), onKeyDown: (c) => {
77
- c.key === "Enter" && (c.preventDefault(), s || a(t));
78
- } }),
66
+ /* @__PURE__ */ n(
67
+ v,
68
+ {
69
+ type: "radio",
70
+ name: w,
71
+ value: t,
72
+ checked: o,
73
+ disabled: s,
74
+ onChange: () => a(t),
75
+ onKeyDown: (c) => {
76
+ c.key === "Enter" && (c.preventDefault(), s || a(t));
77
+ }
78
+ }
79
+ ),
79
80
  /* @__PURE__ */ n(f, { "aria-hidden": "true", $isSelected: o, $shade: d, children: /* @__PURE__ */ n(k, { $isSelected: o, $shade: x }) }),
80
81
  /* @__PURE__ */ n(y, { color: b, size: "1.92rem", children: e })
81
82
  ] });
@@ -34,13 +34,9 @@ const E = {
34
34
  padding: 0;
35
35
  margin: 0;
36
36
  display: flex;
37
- flex-direction: ${({
38
- $isHorizonatal: e
39
- }) => e ? "row" : "column"};
37
+ flex-direction: ${({ $isHorizonatal: e }) => e ? "row" : "column"};
40
38
 
41
- ${({
42
- $isHorizonatal: e
43
- }) => e ? m`
39
+ ${({ $isHorizonatal: e }) => e ? m`
44
40
  flex-wrap: wrap;
45
41
  justify-content: space-between;
46
42
  ` : m`
@@ -59,19 +55,40 @@ const E = {
59
55
  }) => {
60
56
  const d = L(i), g = (o) => {
61
57
  o !== a && l(o);
62
- }, u = (o) => /* @__PURE__ */ h(x, { ...o, key: o == null ? void 0 : o.value, name: f, color: d, isSelected: a === (o == null ? void 0 : o.value), onChange: g });
63
- return /* @__PURE__ */ y(P, { role: "radiogroup", "aria-label": n ? void 0 : p, $isHorizonatal: s, ...c, children: [
64
- n && /* @__PURE__ */ b("legend", { children: n }),
65
- e.map(u)
66
- ] });
58
+ }, u = (o) => /* @__PURE__ */ h(
59
+ x,
60
+ {
61
+ ...o,
62
+ key: o == null ? void 0 : o.value,
63
+ name: f,
64
+ color: d,
65
+ isSelected: a === (o == null ? void 0 : o.value),
66
+ onChange: g
67
+ }
68
+ );
69
+ return /* @__PURE__ */ y(
70
+ P,
71
+ {
72
+ role: "radiogroup",
73
+ "aria-label": n ? void 0 : p,
74
+ $isHorizonatal: s,
75
+ ...c,
76
+ children: [
77
+ n && /* @__PURE__ */ b("legend", { children: n }),
78
+ e.map(u)
79
+ ]
80
+ }
81
+ );
67
82
  };
68
83
  S.propTypes = {
69
84
  /** Array of option objects, each with { value, label, disabled? } */
70
- options: /* @__PURE__ */ r.arrayOf(/* @__PURE__ */ r.shape({
71
- value: r.any,
72
- label: r.string,
73
- disabled: r.bool
74
- })),
85
+ options: r.arrayOf(
86
+ r.shape({
87
+ value: r.any,
88
+ label: r.string,
89
+ disabled: r.bool
90
+ })
91
+ ),
75
92
  /** Currently selected value */
76
93
  value: r.any,
77
94
  /** Called with the selected value when a radio is clicked */
@@ -1,12 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { Suspense as n } from "react";
3
- const c = ({
4
- svgIcon: t,
5
- iconStyles: r
6
- }) => t ? /* @__PURE__ */ e(n, { fallback: /* @__PURE__ */ e("div", { style: {
7
- width: "1em",
8
- height: "1em"
9
- } }), children: /* @__PURE__ */ e(t, { ...r }) }) : null;
3
+ const c = ({ svgIcon: t, iconStyles: r }) => t ? /* @__PURE__ */ e(n, { fallback: /* @__PURE__ */ e("div", { style: { width: "1em", height: "1em" } }), children: /* @__PURE__ */ e(t, { ...r }) }) : null;
10
4
  export {
11
5
  c as default
12
6
  };