@sikka/hawa 0.26.28 → 0.26.29

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 (364) hide show
  1. package/dist/tooltip/index.js +1 -0
  2. package/dist/tooltip/index.js.map +1 -0
  3. package/dist/tooltip/index.mjs +1 -0
  4. package/dist/tooltip/index.mjs.map +1 -0
  5. package/package.json +1 -1
  6. package/dist/Chip-H5BnuDdx.d.ts +0 -36
  7. package/dist/Chip-hr2gRBJ-.d.mts +0 -36
  8. package/dist/DropdownMenu-EUL-D3I3.d.mts +0 -95
  9. package/dist/DropdownMenu-SPisqCzV.d.ts +0 -95
  10. package/dist/Radio-K1WGpnGA.d.ts +0 -75
  11. package/dist/Radio-hsrLKNxE.d.mts +0 -75
  12. package/dist/Toast-VBd4UvlM.d.mts +0 -26
  13. package/dist/Toast-pOd4uGZz.d.ts +0 -26
  14. package/dist/accordion/index.d.mts +0 -51
  15. package/dist/accordion/index.d.ts +0 -51
  16. package/dist/accordion/index.js +0 -271
  17. package/dist/accordion/index.mjs +0 -227
  18. package/dist/alert/index.d.mts +0 -29
  19. package/dist/alert/index.d.ts +0 -29
  20. package/dist/alert/index.js +0 -442
  21. package/dist/alert/index.mjs +0 -402
  22. package/dist/appLayout/index.d.mts +0 -126
  23. package/dist/appLayout/index.d.ts +0 -126
  24. package/dist/appLayout/index.js +0 -1326
  25. package/dist/appLayout/index.mjs +0 -1286
  26. package/dist/appMenubar/index.d.mts +0 -33
  27. package/dist/appMenubar/index.d.ts +0 -33
  28. package/dist/appMenubar/index.js +0 -281
  29. package/dist/appMenubar/index.mjs +0 -224
  30. package/dist/appStores/index.d.mts +0 -8
  31. package/dist/appStores/index.d.ts +0 -8
  32. package/dist/appStores/index.js +0 -75
  33. package/dist/appStores/index.mjs +0 -38
  34. package/dist/appTabs/index.d.mts +0 -18
  35. package/dist/appTabs/index.d.ts +0 -18
  36. package/dist/appTabs/index.js +0 -92
  37. package/dist/appTabs/index.mjs +0 -50
  38. package/dist/appTopbar/index.d.mts +0 -44
  39. package/dist/appTopbar/index.d.ts +0 -44
  40. package/dist/appTopbar/index.js +0 -483
  41. package/dist/appTopbar/index.mjs +0 -441
  42. package/dist/avatar/index.d.mts +0 -16
  43. package/dist/avatar/index.d.ts +0 -16
  44. package/dist/avatar/index.js +0 -162
  45. package/dist/avatar/index.mjs +0 -122
  46. package/dist/backToTop/index.d.mts +0 -15
  47. package/dist/backToTop/index.d.ts +0 -15
  48. package/dist/backToTop/index.js +0 -398
  49. package/dist/backToTop/index.mjs +0 -358
  50. package/dist/badge/index.d.mts +0 -13
  51. package/dist/badge/index.d.ts +0 -13
  52. package/dist/badge/index.js +0 -127
  53. package/dist/badge/index.mjs +0 -84
  54. package/dist/blocks/auth/index.d.mts +0 -202
  55. package/dist/blocks/auth/index.d.ts +0 -202
  56. package/dist/blocks/auth/index.js +0 -4197
  57. package/dist/blocks/auth/index.mjs +0 -3389
  58. package/dist/blocks/feedback/index.d.mts +0 -74
  59. package/dist/blocks/feedback/index.d.ts +0 -74
  60. package/dist/blocks/feedback/index.js +0 -1544
  61. package/dist/blocks/feedback/index.mjs +0 -558
  62. package/dist/blocks/index.d.mts +0 -480
  63. package/dist/blocks/index.d.ts +0 -480
  64. package/dist/blocks/index.js +0 -6700
  65. package/dist/blocks/index.mjs +0 -2550
  66. package/dist/blocks/misc/index.d.mts +0 -90
  67. package/dist/blocks/misc/index.d.ts +0 -90
  68. package/dist/blocks/misc/index.js +0 -1186
  69. package/dist/blocks/misc/index.mjs +0 -387
  70. package/dist/blocks/pricing/index.d.mts +0 -93
  71. package/dist/blocks/pricing/index.d.ts +0 -93
  72. package/dist/blocks/pricing/index.js +0 -1528
  73. package/dist/blocks/pricing/index.mjs +0 -677
  74. package/dist/breadcrumb/index.d.mts +0 -14
  75. package/dist/breadcrumb/index.d.ts +0 -14
  76. package/dist/breadcrumb/index.js +0 -63
  77. package/dist/breadcrumb/index.mjs +0 -26
  78. package/dist/button/index.d.mts +0 -16
  79. package/dist/button/index.d.ts +0 -16
  80. package/dist/button/index.js +0 -301
  81. package/dist/button/index.mjs +0 -260
  82. package/dist/card/index.d.mts +0 -17
  83. package/dist/card/index.d.ts +0 -17
  84. package/dist/card/index.js +0 -139
  85. package/dist/card/index.mjs +0 -92
  86. package/dist/carousel/index.d.mts +0 -15
  87. package/dist/carousel/index.d.ts +0 -15
  88. package/dist/carousel/index.js +0 -193
  89. package/dist/carousel/index.mjs +0 -151
  90. package/dist/checkbox/index.d.mts +0 -20
  91. package/dist/checkbox/index.d.ts +0 -20
  92. package/dist/checkbox/index.js +0 -184
  93. package/dist/checkbox/index.mjs +0 -142
  94. package/dist/chip/index.d.mts +0 -36
  95. package/dist/chip/index.d.ts +0 -36
  96. package/dist/chip/index.js +0 -129
  97. package/dist/chip/index.mjs +0 -87
  98. package/dist/chunk-2R7F2GL7.mjs +0 -82
  99. package/dist/chunk-4EGKGSGY.mjs +0 -129
  100. package/dist/chunk-5YXZXYLH.mjs +0 -67
  101. package/dist/chunk-65TG6EVD.mjs +0 -264
  102. package/dist/chunk-D22AALLE.mjs +0 -22
  103. package/dist/chunk-D36MPDGE.mjs +0 -476
  104. package/dist/chunk-F3DQJHTG.mjs +0 -3113
  105. package/dist/chunk-FQ6WVEHW.mjs +0 -151
  106. package/dist/chunk-GVJYACGA.mjs +0 -189
  107. package/dist/chunk-JNUGOUYJ.mjs +0 -154
  108. package/dist/chunk-KMCIHW76.mjs +0 -150
  109. package/dist/chunk-MQUAGP7K.mjs +0 -1098
  110. package/dist/chunk-NMS5LCSQ.mjs +0 -195
  111. package/dist/chunk-OY66MBXP.mjs +0 -163
  112. package/dist/chunk-R4HAAT6R.mjs +0 -131
  113. package/dist/chunk-SJ2Z6ZOG.mjs +0 -442
  114. package/dist/chunk-TGZRVRLP.mjs +0 -107
  115. package/dist/chunk-TWNGV3RE.mjs +0 -10
  116. package/dist/chunk-WUHNPHD5.mjs +0 -0
  117. package/dist/chunk-ZFXKCRJC.mjs +0 -11
  118. package/dist/chunk-ZS3FB3PO.mjs +0 -12
  119. package/dist/codeBlock/index.d.mts +0 -24
  120. package/dist/codeBlock/index.d.ts +0 -24
  121. package/dist/codeBlock/index.js +0 -517
  122. package/dist/codeBlock/index.mjs +0 -432
  123. package/dist/collapsible/index.d.mts +0 -8
  124. package/dist/collapsible/index.d.ts +0 -8
  125. package/dist/collapsible/index.js +0 -49
  126. package/dist/collapsible/index.mjs +0 -12
  127. package/dist/colorPicker/index.d.mts +0 -34
  128. package/dist/colorPicker/index.d.ts +0 -34
  129. package/dist/colorPicker/index.js +0 -276
  130. package/dist/colorPicker/index.mjs +0 -170
  131. package/dist/combobox/index.d.mts +0 -41
  132. package/dist/combobox/index.d.ts +0 -41
  133. package/dist/combobox/index.js +0 -749
  134. package/dist/combobox/index.mjs +0 -295
  135. package/dist/command/index.d.mts +0 -48
  136. package/dist/command/index.d.ts +0 -48
  137. package/dist/command/index.js +0 -485
  138. package/dist/command/index.mjs +0 -22
  139. package/dist/commonTypes-2IGtJ5cq.d.mts +0 -3
  140. package/dist/commonTypes-2IGtJ5cq.d.ts +0 -3
  141. package/dist/commonTypes-2k6FnHw5.d.mts +0 -4
  142. package/dist/commonTypes-2k6FnHw5.d.ts +0 -4
  143. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  144. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  145. package/dist/commonTypes-CKtkuNFH.d.mts +0 -11
  146. package/dist/commonTypes-CKtkuNFH.d.ts +0 -11
  147. package/dist/commonTypes-GhKAraJw.d.mts +0 -4
  148. package/dist/commonTypes-GhKAraJw.d.ts +0 -4
  149. package/dist/commonTypes-MxCJyrHv.d.mts +0 -8
  150. package/dist/commonTypes-MxCJyrHv.d.ts +0 -8
  151. package/dist/commonTypes-PBumfOBg.d.mts +0 -3
  152. package/dist/commonTypes-PBumfOBg.d.ts +0 -3
  153. package/dist/commonTypes-WPhcN3Vr.d.mts +0 -5
  154. package/dist/commonTypes-WPhcN3Vr.d.ts +0 -5
  155. package/dist/commonTypes-_11epZYh.d.mts +0 -4
  156. package/dist/commonTypes-_11epZYh.d.ts +0 -4
  157. package/dist/commonTypes-ko_NGEoT.d.mts +0 -3
  158. package/dist/commonTypes-ko_NGEoT.d.ts +0 -3
  159. package/dist/copyrights/index.d.mts +0 -17
  160. package/dist/copyrights/index.d.ts +0 -17
  161. package/dist/copyrights/index.js +0 -45
  162. package/dist/copyrights/index.mjs +0 -8
  163. package/dist/count/index.d.mts +0 -11
  164. package/dist/count/index.d.ts +0 -11
  165. package/dist/count/index.js +0 -45
  166. package/dist/count/index.mjs +0 -8
  167. package/dist/dataTable/index.d.mts +0 -41
  168. package/dist/dataTable/index.d.ts +0 -41
  169. package/dist/dataTable/index.js +0 -1313
  170. package/dist/dataTable/index.mjs +0 -1281
  171. package/dist/destroyableCard/index.d.mts +0 -12
  172. package/dist/destroyableCard/index.d.ts +0 -12
  173. package/dist/destroyableCard/index.js +0 -203
  174. package/dist/destroyableCard/index.mjs +0 -163
  175. package/dist/dialog/index.d.mts +0 -57
  176. package/dist/dialog/index.d.ts +0 -57
  177. package/dist/dialog/index.js +0 -368
  178. package/dist/dialog/index.mjs +0 -314
  179. package/dist/docsLayout/index.d.mts +0 -37
  180. package/dist/docsLayout/index.d.ts +0 -37
  181. package/dist/docsLayout/index.js +0 -927
  182. package/dist/docsLayout/index.mjs +0 -887
  183. package/dist/docsSidebar/index.d.mts +0 -11
  184. package/dist/docsSidebar/index.d.ts +0 -11
  185. package/dist/docsSidebar/index.js +0 -111
  186. package/dist/docsSidebar/index.mjs +0 -69
  187. package/dist/dropdownMenu/index.d.mts +0 -96
  188. package/dist/dropdownMenu/index.d.ts +0 -96
  189. package/dist/dropdownMenu/index.js +0 -420
  190. package/dist/dropdownMenu/index.mjs +0 -362
  191. package/dist/elements/index.d.mts +0 -788
  192. package/dist/elements/index.d.ts +0 -788
  193. package/dist/elements/index.js +0 -7835
  194. package/dist/elements/index.mjs +0 -3418
  195. package/dist/fileDropzone/index.d.mts +0 -37
  196. package/dist/fileDropzone/index.d.ts +0 -37
  197. package/dist/fileDropzone/index.js +0 -665
  198. package/dist/fileDropzone/index.mjs +0 -625
  199. package/dist/fileUploader/index.d.mts +0 -5
  200. package/dist/fileUploader/index.d.ts +0 -5
  201. package/dist/fileUploader/index.js +0 -62
  202. package/dist/fileUploader/index.mjs +0 -25
  203. package/dist/glow/index.d.mts +0 -16
  204. package/dist/glow/index.d.ts +0 -16
  205. package/dist/glow/index.js +0 -155
  206. package/dist/glow/index.mjs +0 -117
  207. package/dist/hooks/index.d.mts +0 -108
  208. package/dist/hooks/index.d.ts +0 -108
  209. package/dist/hooks/index.js +0 -459
  210. package/dist/hooks/index.mjs +0 -255
  211. package/dist/index.d.mts +0 -1932
  212. package/dist/index.d.ts +0 -1932
  213. package/dist/index.js +0 -12126
  214. package/dist/index.mjs +0 -11911
  215. package/dist/input/index.d.mts +0 -43
  216. package/dist/input/index.d.ts +0 -43
  217. package/dist/input/index.js +0 -293
  218. package/dist/input/index.mjs +0 -158
  219. package/dist/interfaceSettings/index.d.mts +0 -18
  220. package/dist/interfaceSettings/index.d.ts +0 -18
  221. package/dist/interfaceSettings/index.js +0 -420
  222. package/dist/interfaceSettings/index.mjs +0 -283
  223. package/dist/label/index.d.mts +0 -13
  224. package/dist/label/index.d.ts +0 -13
  225. package/dist/label/index.js +0 -142
  226. package/dist/label/index.mjs +0 -102
  227. package/dist/layout/index.d.mts +0 -256
  228. package/dist/layout/index.d.ts +0 -256
  229. package/dist/layout/index.js +0 -2627
  230. package/dist/layout/index.mjs +0 -1393
  231. package/dist/loading/index.d.mts +0 -15
  232. package/dist/loading/index.d.ts +0 -15
  233. package/dist/loading/index.js +0 -225
  234. package/dist/loading/index.mjs +0 -183
  235. package/dist/logos/index.d.mts +0 -27
  236. package/dist/logos/index.d.ts +0 -27
  237. package/dist/logos/index.js +0 -244
  238. package/dist/logos/index.mjs +0 -207
  239. package/dist/navbar/index.d.mts +0 -17
  240. package/dist/navbar/index.d.ts +0 -17
  241. package/dist/navbar/index.js +0 -166
  242. package/dist/navbar/index.mjs +0 -126
  243. package/dist/navigationMenu/index.d.mts +0 -39
  244. package/dist/navigationMenu/index.d.ts +0 -39
  245. package/dist/navigationMenu/index.js +0 -221
  246. package/dist/navigationMenu/index.mjs +0 -169
  247. package/dist/pagination/index.d.mts +0 -11
  248. package/dist/pagination/index.d.ts +0 -11
  249. package/dist/pagination/index.js +0 -160
  250. package/dist/pagination/index.mjs +0 -118
  251. package/dist/passwordInput/index.d.mts +0 -13
  252. package/dist/passwordInput/index.d.ts +0 -13
  253. package/dist/passwordInput/index.js +0 -577
  254. package/dist/passwordInput/index.mjs +0 -534
  255. package/dist/phoneInput/index.d.mts +0 -23
  256. package/dist/phoneInput/index.d.ts +0 -23
  257. package/dist/phoneInput/index.js +0 -2085
  258. package/dist/phoneInput/index.mjs +0 -2045
  259. package/dist/pinInput/index.d.mts +0 -20
  260. package/dist/pinInput/index.d.ts +0 -20
  261. package/dist/pinInput/index.js +0 -131
  262. package/dist/pinInput/index.mjs +0 -89
  263. package/dist/popover/index.d.mts +0 -23
  264. package/dist/popover/index.d.ts +0 -23
  265. package/dist/popover/index.js +0 -112
  266. package/dist/popover/index.mjs +0 -68
  267. package/dist/progress/index.d.mts +0 -6
  268. package/dist/progress/index.d.ts +0 -6
  269. package/dist/progress/index.js +0 -71
  270. package/dist/progress/index.mjs +0 -29
  271. package/dist/progressCircle/index.d.mts +0 -16
  272. package/dist/progressCircle/index.d.ts +0 -16
  273. package/dist/progressCircle/index.js +0 -159
  274. package/dist/progressCircle/index.mjs +0 -117
  275. package/dist/radio/index.d.mts +0 -39
  276. package/dist/radio/index.d.ts +0 -39
  277. package/dist/radio/index.js +0 -331
  278. package/dist/radio/index.mjs +0 -291
  279. package/dist/scrollArea/index.d.mts +0 -10
  280. package/dist/scrollArea/index.d.ts +0 -10
  281. package/dist/scrollArea/index.js +0 -90
  282. package/dist/scrollArea/index.mjs +0 -47
  283. package/dist/scrollIndicator/index.d.mts +0 -9
  284. package/dist/scrollIndicator/index.d.ts +0 -9
  285. package/dist/scrollIndicator/index.js +0 -80
  286. package/dist/scrollIndicator/index.mjs +0 -43
  287. package/dist/select/index.d.mts +0 -50
  288. package/dist/select/index.d.ts +0 -50
  289. package/dist/select/index.js +0 -325
  290. package/dist/select/index.mjs +0 -285
  291. package/dist/separator/index.d.mts +0 -10
  292. package/dist/separator/index.d.ts +0 -10
  293. package/dist/separator/index.js +0 -66
  294. package/dist/separator/index.mjs +0 -24
  295. package/dist/sheet/index.d.mts +0 -30
  296. package/dist/sheet/index.d.ts +0 -30
  297. package/dist/sheet/index.js +0 -201
  298. package/dist/sheet/index.mjs +0 -150
  299. package/dist/sidebar/index.d.mts +0 -48
  300. package/dist/sidebar/index.d.ts +0 -48
  301. package/dist/sidebar/index.js +0 -341
  302. package/dist/sidebar/index.mjs +0 -298
  303. package/dist/signature/index.d.mts +0 -27
  304. package/dist/signature/index.d.ts +0 -27
  305. package/dist/signature/index.js +0 -261
  306. package/dist/signature/index.mjs +0 -219
  307. package/dist/simpleTable/index.d.mts +0 -30
  308. package/dist/simpleTable/index.d.ts +0 -30
  309. package/dist/simpleTable/index.js +0 -253
  310. package/dist/simpleTable/index.mjs +0 -217
  311. package/dist/skeleton/index.d.mts +0 -10
  312. package/dist/skeleton/index.d.ts +0 -10
  313. package/dist/skeleton/index.js +0 -75
  314. package/dist/skeleton/index.mjs +0 -33
  315. package/dist/slider/index.d.mts +0 -6
  316. package/dist/slider/index.d.ts +0 -6
  317. package/dist/slider/index.js +0 -66
  318. package/dist/slider/index.mjs +0 -24
  319. package/dist/sortButton/index.d.mts +0 -10
  320. package/dist/sortButton/index.d.ts +0 -10
  321. package/dist/sortButton/index.js +0 -336
  322. package/dist/sortButton/index.mjs +0 -42
  323. package/dist/splitButton/index.d.mts +0 -52
  324. package/dist/splitButton/index.d.ts +0 -52
  325. package/dist/splitButton/index.js +0 -692
  326. package/dist/splitButton/index.mjs +0 -400
  327. package/dist/stats/index.d.mts +0 -19
  328. package/dist/stats/index.d.ts +0 -19
  329. package/dist/stats/index.js +0 -191
  330. package/dist/stats/index.mjs +0 -154
  331. package/dist/stopPropagationWrapper/index.d.mts +0 -5
  332. package/dist/stopPropagationWrapper/index.d.ts +0 -5
  333. package/dist/stopPropagationWrapper/index.js +0 -48
  334. package/dist/stopPropagationWrapper/index.mjs +0 -11
  335. package/dist/switch/index.d.mts +0 -12
  336. package/dist/switch/index.d.ts +0 -12
  337. package/dist/switch/index.js +0 -125
  338. package/dist/switch/index.mjs +0 -83
  339. package/dist/table/index.d.mts +0 -21
  340. package/dist/table/index.d.ts +0 -21
  341. package/dist/table/index.js +0 -172
  342. package/dist/table/index.mjs +0 -123
  343. package/dist/tabs/index.d.mts +0 -33
  344. package/dist/tabs/index.d.ts +0 -33
  345. package/dist/tabs/index.js +0 -200
  346. package/dist/tabs/index.mjs +0 -157
  347. package/dist/textTypes-559CaoOV.d.mts +0 -88
  348. package/dist/textTypes-559CaoOV.d.ts +0 -88
  349. package/dist/textarea/index.d.mts +0 -27
  350. package/dist/textarea/index.d.ts +0 -27
  351. package/dist/textarea/index.js +0 -229
  352. package/dist/textarea/index.mjs +0 -189
  353. package/dist/toast/index.d.mts +0 -26
  354. package/dist/toast/index.d.ts +0 -26
  355. package/dist/toast/index.js +0 -197
  356. package/dist/toast/index.mjs +0 -19
  357. package/dist/toaster/index.d.mts +0 -9
  358. package/dist/toaster/index.d.ts +0 -9
  359. package/dist/toaster/index.js +0 -353
  360. package/dist/toaster/index.mjs +0 -184
  361. package/dist/types/index.d.mts +0 -115
  362. package/dist/types/index.d.ts +0 -115
  363. package/dist/types/index.js +0 -18
  364. package/dist/types/index.mjs +0 -0
@@ -1,3113 +0,0 @@
1
- import {
2
- Button,
3
- Chip,
4
- Skeleton,
5
- Tooltip,
6
- cn
7
- } from "./chunk-MQUAGP7K.mjs";
8
-
9
- // elements/alert/Alert.tsx
10
- import React, { useRef, useState, useEffect } from "react";
11
- var Alert = ({
12
- variant = "normal",
13
- direction = "ltr",
14
- severity = "none",
15
- duration,
16
- icon,
17
- className,
18
- ...props
19
- }) => {
20
- const alertRef = useRef(null);
21
- const [closed, setClosed] = useState(false);
22
- useEffect(() => {
23
- if (duration) {
24
- const timeoutHide = setTimeout(() => {
25
- setClosed(true);
26
- }, duration);
27
- const timeoutDestroy = setTimeout(() => {
28
- setClosed(true);
29
- if (alertRef == null ? void 0 : alertRef.current) {
30
- alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
31
- }
32
- }, duration + 1e3);
33
- return () => {
34
- clearTimeout(timeoutHide);
35
- clearTimeout(timeoutDestroy);
36
- };
37
- }
38
- }, [duration]);
39
- let closeButtonStyle = {
40
- none: "",
41
- info: "",
42
- warning: "",
43
- error: "",
44
- success: "",
45
- hyper: "",
46
- oceanic: ""
47
- };
48
- let styleVariant = {
49
- none: "hawa-text-gray-700 hawa-bg-gray-100 dark:hawa-bg-gray-900 ",
50
- info: "hawa-text-info-foreground hawa-bg-info/90",
51
- warning: "hawa-text-warning-foreground hawa-bg-warning/90",
52
- error: "hawa-text-destructive-foreground hawa-bg-destructive/90",
53
- success: "hawa-text-success-foreground hawa-bg-success/90",
54
- hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
55
- oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
56
- };
57
- return /* @__PURE__ */ React.createElement("div", { ref: alertRef }, /* @__PURE__ */ React.createElement(
58
- "div",
59
- {
60
- "data-testid": "alert",
61
- "aria-label": "Alert",
62
- role: "alert",
63
- dir: direction,
64
- className: cn(
65
- "hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all",
66
- styleVariant[severity],
67
- closed ? "hawa-opacity-0" : "hawa-opacity-100",
68
- className
69
- )
70
- },
71
- /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React.createElement(
72
- "div",
73
- {
74
- className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
75
- },
76
- icon
77
- ), /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React.createElement(
78
- "span",
79
- {
80
- className: cn(
81
- "hawa-font-bold",
82
- direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8"
83
- )
84
- },
85
- props.title
86
- ), /* @__PURE__ */ React.createElement(
87
- "span",
88
- {
89
- className: cn(
90
- direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
91
- props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
92
- )
93
- },
94
- props.text
95
- ), props.actions && /* @__PURE__ */ React.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React.createElement(
96
- Button,
97
- {
98
- key: index,
99
- variant: act.variant,
100
- onClick: act.onClick()
101
- },
102
- act.label
103
- ))))),
104
- !props.persistent && /* @__PURE__ */ React.createElement(
105
- "button",
106
- {
107
- type: "button",
108
- "data-dismiss-target": "#alert-default",
109
- "aria-label": "Close",
110
- className: cn(
111
- "hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
112
- closeButtonStyle[severity],
113
- direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
114
- ),
115
- onClick: () => {
116
- if (props.onAlertClosed) {
117
- props.onAlertClosed();
118
- }
119
- setClosed(true);
120
- setTimeout(() => {
121
- if (alertRef == null ? void 0 : alertRef.current) {
122
- alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
123
- }
124
- }, 200);
125
- }
126
- },
127
- /* @__PURE__ */ React.createElement("span", { className: "hawa-sr-only" }, "Close"),
128
- /* @__PURE__ */ React.createElement(
129
- "svg",
130
- {
131
- "aria-label": "Close Icon",
132
- "aria-hidden": "true",
133
- className: "hawa-h-5 hawa-w-5",
134
- fill: "currentColor",
135
- viewBox: "0 0 20 20"
136
- },
137
- /* @__PURE__ */ React.createElement(
138
- "path",
139
- {
140
- fillRule: "evenodd",
141
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
142
- clipRule: "evenodd"
143
- }
144
- )
145
- )
146
- )
147
- ));
148
- };
149
-
150
- // elements/label/Label.tsx
151
- import * as React2 from "react";
152
- var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
153
- "label",
154
- {
155
- ref,
156
- className: cn(
157
- "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
158
- className
159
- ),
160
- ...props
161
- },
162
- children,
163
- required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
164
- ), hint && /* @__PURE__ */ React2.createElement(
165
- Tooltip,
166
- {
167
- content: hint,
168
- side: hintSide,
169
- triggerProps: {
170
- tabIndex: -1,
171
- onClick: (event) => event.preventDefault()
172
- }
173
- },
174
- /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
175
- "svg",
176
- {
177
- xmlns: "http://www.w3.org/2000/svg",
178
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
179
- viewBox: "0 0 24 24",
180
- fill: "none",
181
- stroke: "currentColor",
182
- strokeWidth: "2",
183
- strokeLinecap: "round",
184
- strokeLinejoin: "round"
185
- },
186
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
187
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
188
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
189
- ))
190
- )));
191
- Label.displayName = "Label";
192
-
193
- // elements/input/Input.tsx
194
- import React3, { forwardRef as forwardRef2 } from "react";
195
- var Input = forwardRef2(
196
- ({
197
- margin = "none",
198
- width = "full",
199
- preview = false,
200
- forceHideHelperText = false,
201
- labelProps,
202
- placeholder,
203
- showCount,
204
- inputProps,
205
- countPosition = "bottom",
206
- ...props
207
- }, ref) => {
208
- var _a;
209
- let marginStyles = {
210
- none: "hawa-mb-0",
211
- normal: "hawa-mb-3",
212
- large: "hawa-mb-5"
213
- };
214
- let widthStyles = {
215
- small: "hawa-w-full hawa-max-w-2xs",
216
- normal: "hawa-w-1/2",
217
- full: "hawa-w-full",
218
- auto: ""
219
- };
220
- let defaultStyle = "hawa-flex hawa-max-h-fit hawa-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-0";
221
- let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-3 hawa-text-sm ";
222
- return /* @__PURE__ */ React3.createElement(
223
- "div",
224
- {
225
- className: cn(
226
- defaultStyle,
227
- marginStyles[margin],
228
- widthStyles[width],
229
- props.containerClassName,
230
- "hawa-w-full hawa-gap-2"
231
- )
232
- },
233
- props.label && /* @__PURE__ */ React3.createElement(Label, { ...labelProps }, props.label),
234
- props.isLoading ? /* @__PURE__ */ React3.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React3.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React3.createElement(React3.Fragment, null, !props.hideSeparator && /* @__PURE__ */ React3.createElement(
235
- "div",
236
- {
237
- className: cn(
238
- "hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800",
239
- preview ? "hawa-opacity-100" : "hawa-opacity-0"
240
- )
241
- }
242
- ), /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ React3.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ React3.createElement(
243
- "div",
244
- {
245
- className: cn(
246
- "hawa-absolute hawa-end-3 hawa-top-1/2 hawa--translate-y-1/2",
247
- (_a = props.endIconProps) == null ? void 0 : _a.className
248
- )
249
- },
250
- props.endIcon
251
- ), /* @__PURE__ */ React3.createElement(
252
- "input",
253
- {
254
- required: true,
255
- dir: props.dir,
256
- type: props.type,
257
- value: props.value,
258
- onChange: props.onChange,
259
- autoComplete: props.autoComplete,
260
- defaultValue: props.defaultValue,
261
- placeholder,
262
- disabled: props.disabled || preview,
263
- style: { height: 40 },
264
- ...inputProps,
265
- className: cn(
266
- defaultInputStyle,
267
- " focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 dark:hawa-text-white",
268
- {
269
- "hawa-pe-9": props.endIcon,
270
- "hawa-ps-9": props.startIcon,
271
- "hawa-pe-[60px]": countPosition === "center"
272
- },
273
- preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
274
- inputProps == null ? void 0 : inputProps.className
275
- )
276
- }
277
- )), !forceHideHelperText && /* @__PURE__ */ React3.createElement(
278
- "p",
279
- {
280
- className: cn(
281
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
282
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
283
- )
284
- },
285
- props.helperText
286
- ), !props.disabled && forceHideHelperText && /* @__PURE__ */ React3.createElement(
287
- "div",
288
- {
289
- className: cn(
290
- "hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start hawa-text-xs hawa-text-helper-color hawa-drop-shadow-md hawa-transition-all",
291
- props.helperText ? "hawa-border hawa-p-1" : "hawa-border-none hawa-p-0"
292
- )
293
- },
294
- props.helperText
295
- ), showCount && /* @__PURE__ */ React3.createElement(
296
- "div",
297
- {
298
- className: cn(
299
- "hawa-absolute hawa-translate-y-1/2 hawa-text-start hawa-text-xs hawa-transition-all",
300
- {
301
- "hawa-end-0 hawa-top-[62px]": countPosition === "bottom",
302
- "hawa-bottom-[62px] hawa-end-0": countPosition === "top",
303
- "hawa-end-2": countPosition === "center"
304
- }
305
- )
306
- },
307
- props.value ? String(props.value).length : 0,
308
- "/",
309
- props.maxLength
310
- )))
311
- );
312
- }
313
- );
314
-
315
- // elements/select/Select.tsx
316
- import React4 from "react";
317
- import ReactSelect from "react-select";
318
- import CreatableSelect from "react-select/creatable";
319
- import clsx from "clsx";
320
- var Select = ({
321
- labelProps,
322
- labelKey = "label",
323
- ...props
324
- }) => {
325
- const NoOption = () => {
326
- var _a, _b;
327
- return /* @__PURE__ */ React4.createElement("div", null, (_b = (_a = props.texts) == null ? void 0 : _a.noOptions) != null ? _b : "No Items Found");
328
- };
329
- const Control = ({ children, innerProps, innerRef }) => {
330
- return /* @__PURE__ */ React4.createElement(
331
- "div",
332
- {
333
- ref: innerRef,
334
- className: clsx(
335
- "hawa-flex hawa-w-full hawa-rounded hawa-border hawa-bg-background hawa-p-2 hawa-text-sm hawa-text-gray-900 focus:hawa-border-blue-500 focus:hawa-ring-blue-500 dark:focus:hawa-ring-blue-500"
336
- ),
337
- ...innerProps
338
- },
339
- children
340
- );
341
- };
342
- const Option = ({ children, innerProps, innerRef }) => {
343
- return /* @__PURE__ */ React4.createElement(
344
- "div",
345
- {
346
- ref: innerRef,
347
- className: cn(
348
- "hawa-flex hawa-cursor-pointer hawa-select-none hawa-flex-row hawa-items-center hawa-justify-between hawa-rounded-inner hawa-p-1 hawa-px-2 hawa-transition-all hover:hawa-bg-primary hover:hawa-text-primary-foreground"
349
- ),
350
- ...innerProps
351
- },
352
- children
353
- );
354
- };
355
- const Menu = ({
356
- cx,
357
- children,
358
- getStyles,
359
- innerProps,
360
- innerRef,
361
- ...menuProps
362
- }) => {
363
- const menuOpen = menuProps.selectProps.menuIsOpen;
364
- return /* @__PURE__ */ React4.createElement(
365
- "div",
366
- {
367
- className: cn(
368
- "dark:dark-shadow hawa-absolute hawa-z-10 -hawa-mx-1 hawa-mt-1 hawa-flex hawa-flex-col hawa-justify-start hawa-rounded hawa-border hawa-bg-background hawa-shadow-md",
369
- props.phoneCode ? "hawa-p-1.5" : "hawa-w-full hawa-p-1.5",
370
- menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 "
371
- ),
372
- ref: innerRef,
373
- ...innerProps
374
- },
375
- children
376
- );
377
- };
378
- return /* @__PURE__ */ React4.createElement(
379
- "div",
380
- {
381
- className: cn(
382
- "hawa-flex hawa-flex-col hawa-gap-2",
383
- props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
384
- )
385
- },
386
- props.label && /* @__PURE__ */ React4.createElement(Label, { ...labelProps }, props.label),
387
- props.isLoading ? /* @__PURE__ */ React4.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? (
388
- // TODO: enable keyboard to go to the next item in the list
389
- /* @__PURE__ */ React4.createElement(
390
- ReactSelect,
391
- {
392
- noOptionsMessage: NoOption,
393
- classNames: {
394
- control: () => cn(
395
- props.phoneCode && "hawa-rounded-r-none",
396
- props.controlClassNames
397
- ),
398
- container: () => cn(
399
- "hawa-rounded",
400
- props.phoneCode && "hawa-w-fit hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
401
- "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
402
- props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
403
- ),
404
- placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
405
- valueContainer: () => "hawa-text-foreground hawa-px-1 ",
406
- singleValue: () => "hawa-text-foreground",
407
- indicatorsContainer: () => cn(
408
- "hawa-cursor-pointer hawa-text-muted-foreground",
409
- props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
410
- )
411
- },
412
- unstyled: true,
413
- autoFocus: true,
414
- components: props.hideIndicator ? { Option, Menu, IndicatorsContainer: () => null } : { Option, Menu },
415
- onChange: (newValue, action) => props.onChange(newValue, action),
416
- options: props.options,
417
- getOptionLabel: props.getOptionLabel,
418
- defaultValue: props.defaultValue,
419
- placeholder: props.placeholder,
420
- isDisabled: props.disabled,
421
- isClearable: props.isClearable,
422
- isMulti: props.isMulti,
423
- isSearchable: props.isSearchable
424
- }
425
- )
426
- ) : /* @__PURE__ */ React4.createElement(
427
- CreatableSelect,
428
- {
429
- formatCreateLabel: (inputValue) => {
430
- var _a, _b;
431
- return `${(_b = (_a = props.texts) == null ? void 0 : _a.createLabel) != null ? _b : "Create"} "${inputValue}"`;
432
- },
433
- classNames: {
434
- container: () => cn(
435
- "hawa-rounded",
436
- props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
437
- ),
438
- placeholder: () => "hawa-px-2 hawa-text-muted-foreground",
439
- input: () => "hawa-text-primary hawa-px-2",
440
- valueContainer: () => "hawa-text-white dark:hawa-text-muted-foreground",
441
- singleValue: () => "hawa-text-black dark:hawa-text-white hawa-px-2",
442
- indicatorsContainer: () => " hawa-px-2 hawa-cursor-pointer hawa-text-muted-foreground"
443
- },
444
- unstyled: true,
445
- options: props.options,
446
- isClearable: props.isClearable,
447
- isMulti: props.isMulti,
448
- isSearchable: props.isSearchable,
449
- placeholder: props.placeholder,
450
- onCreateOption: props.handleCreateOption,
451
- onChange: (newValue, action) => props.onChange(newValue, action),
452
- components: { Control, Option, Menu },
453
- onInputChange: (newValue, action) => props.onInputChange(newValue, action)
454
- }
455
- ),
456
- !props.hideHelperText && /* @__PURE__ */ React4.createElement(
457
- "p",
458
- {
459
- className: cn(
460
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
461
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
462
- )
463
- },
464
- props.helperText
465
- )
466
- );
467
- };
468
-
469
- // elements/phoneInput/PhoneInput.tsx
470
- import React5, { useState as useState2, useRef as useRef2, useEffect as useEffect2 } from "react";
471
-
472
- // countries.ts
473
- var countries = [
474
- {
475
- country_label: "Saudi Arabia",
476
- code: "SA",
477
- unicode: "🇸🇦",
478
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SA.svg",
479
- label: "+966"
480
- },
481
- {
482
- country_label: "United Arab Emirates",
483
- code: "AE",
484
- unicode: "🇦🇪",
485
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AE.svg",
486
- label: "+971"
487
- },
488
- {
489
- country_label: "Bahrain",
490
- code: "BH",
491
- unicode: "🇧🇭",
492
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BH.svg",
493
- label: "+973"
494
- },
495
- {
496
- country_label: "Kuwait",
497
- code: "KW",
498
- unicode: "🇰🇼",
499
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KW.svg",
500
- label: "+965"
501
- },
502
- {
503
- country_label: "Qatar",
504
- code: "QA",
505
- unicode: "🇶🇦",
506
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/QA.svg",
507
- label: "+974"
508
- },
509
- {
510
- country_label: "Oman",
511
- code: "OM",
512
- unicode: "🇴🇲",
513
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/OM.svg",
514
- label: "+968"
515
- },
516
- {
517
- country_label: "Andorra",
518
- value: "Andorra",
519
- code: "AD",
520
- unicode: "🇦🇩",
521
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AD.svg",
522
- label: "+376"
523
- },
524
- {
525
- country_label: "Afghanistan",
526
- code: "AF",
527
- unicode: "🇦🇫",
528
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AF.svg",
529
- label: "+93"
530
- },
531
- {
532
- country_label: "Antigua & Barbuda",
533
- code: "AG",
534
- unicode: "🇦🇬",
535
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AG.svg",
536
- label: "+1268"
537
- },
538
- {
539
- country_label: "Anguilla",
540
- code: "AI",
541
- unicode: "🇦🇮",
542
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AI.svg",
543
- label: "+1264"
544
- },
545
- {
546
- country_label: "Albania",
547
- code: "AL",
548
- unicode: "🇦🇱",
549
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AL.svg",
550
- label: "+355"
551
- },
552
- {
553
- country_label: "Armenia",
554
- code: "AM",
555
- unicode: "🇦🇲",
556
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AM.svg",
557
- label: "+374"
558
- },
559
- {
560
- country_label: "Angola",
561
- code: "AO",
562
- unicode: "🇦🇴",
563
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AO.svg",
564
- label: "+244"
565
- },
566
- {
567
- country_label: "Antarctica",
568
- code: "AQ",
569
- unicode: "🇦🇶",
570
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AQ.svg",
571
- label: "+672"
572
- },
573
- {
574
- country_label: "Argentina",
575
- code: "AR",
576
- unicode: "🇦🇷",
577
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AR.svg",
578
- label: "+54"
579
- },
580
- {
581
- country_label: "American Samoa",
582
- code: "AS",
583
- unicode: "🇦🇸",
584
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AS.svg",
585
- label: "+1684"
586
- },
587
- {
588
- country_label: "Austria",
589
- code: "AT",
590
- unicode: "🇦🇹",
591
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AT.svg",
592
- label: "+43"
593
- },
594
- {
595
- country_label: "Australia",
596
- code: "AU",
597
- unicode: "🇦🇺",
598
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AU.svg",
599
- label: "+61"
600
- },
601
- {
602
- country_label: "Aruba",
603
- code: "AW",
604
- unicode: "🇦🇼",
605
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AW.svg",
606
- label: "+297"
607
- },
608
- {
609
- country_label: "\xC5land Islands",
610
- code: "AX",
611
- unicode: "🇦🇽",
612
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AX.svg",
613
- label: "+358"
614
- },
615
- {
616
- country_label: "Azerbaijan",
617
- code: "AZ",
618
- unicode: "🇦🇿",
619
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AZ.svg",
620
- label: "+994"
621
- },
622
- {
623
- country_label: "Bosnia & Herzegovina",
624
- code: "BA",
625
- unicode: "🇧🇦",
626
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BA.svg",
627
- label: "+387"
628
- },
629
- {
630
- country_label: "Barbados",
631
- code: "BB",
632
- unicode: "🇧🇧",
633
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BB.svg",
634
- label: "+1246"
635
- },
636
- {
637
- country_label: "Bangladesh",
638
- code: "BD",
639
- unicode: "🇧🇩",
640
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BD.svg",
641
- label: "+880"
642
- },
643
- {
644
- country_label: "Belgium",
645
- code: "BE",
646
- unicode: "🇧🇪",
647
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BE.svg",
648
- label: "+32"
649
- },
650
- {
651
- country_label: "Burkina Faso",
652
- code: "BF",
653
- unicode: "🇧🇫",
654
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BF.svg",
655
- label: "+226"
656
- },
657
- {
658
- country_label: "Bulgaria",
659
- code: "BG",
660
- unicode: "🇧🇬",
661
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BG.svg",
662
- label: "+359"
663
- },
664
- {
665
- country_label: "Burundi",
666
- code: "BI",
667
- unicode: "🇧🇮",
668
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BI.svg",
669
- label: "+257"
670
- },
671
- {
672
- country_label: "Benin",
673
- code: "BJ",
674
- unicode: "🇧🇯",
675
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BJ.svg",
676
- label: "+229"
677
- },
678
- {
679
- country_label: "St. Barth\xE9lemy",
680
- code: "BL",
681
- unicode: "🇧🇱",
682
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BL.svg",
683
- label: "+590"
684
- },
685
- {
686
- country_label: "Bermuda",
687
- code: "BM",
688
- unicode: "🇧🇲",
689
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BM.svg",
690
- label: "+1441"
691
- },
692
- {
693
- country_label: "Brunei",
694
- code: "BN",
695
- unicode: "🇧🇳",
696
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BN.svg",
697
- label: "+673"
698
- },
699
- {
700
- country_label: "Bolivia",
701
- code: "BO",
702
- unicode: "🇧🇴",
703
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BO.svg",
704
- label: "+591"
705
- },
706
- {
707
- country_label: "Brazil",
708
- code: "BR",
709
- unicode: "🇧🇷",
710
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BR.svg",
711
- label: "+55"
712
- },
713
- {
714
- country_label: "Bahamas",
715
- code: "BS",
716
- unicode: "🇧🇸",
717
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BS.svg",
718
- label: "+1242"
719
- },
720
- {
721
- country_label: "Bhutan",
722
- code: "BT",
723
- unicode: "🇧🇹",
724
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BT.svg",
725
- label: "+975"
726
- },
727
- {
728
- country_label: "Botswana",
729
- code: "BW",
730
- unicode: "🇧🇼",
731
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BW.svg",
732
- label: "+267"
733
- },
734
- {
735
- country_label: "Belarus",
736
- code: "BY",
737
- unicode: "🇧🇾",
738
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BY.svg",
739
- label: "+375"
740
- },
741
- {
742
- country_label: "Belize",
743
- code: "BZ",
744
- unicode: "🇧🇿",
745
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BZ.svg",
746
- label: "+501"
747
- },
748
- {
749
- country_label: "Canada",
750
- code: "CA",
751
- unicode: "🇨🇦",
752
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CA.svg",
753
- label: "+1"
754
- },
755
- {
756
- country_label: "Cocos (Keeling) Islands",
757
- code: "CC",
758
- unicode: "🇨🇨",
759
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CC.svg",
760
- label: "+61"
761
- },
762
- {
763
- country_label: "Congo - Kinshasa",
764
- code: "CD",
765
- unicode: "🇨🇩",
766
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CD.svg",
767
- label: "+243"
768
- },
769
- {
770
- country_label: "Central African Republic",
771
- code: "CF",
772
- unicode: "🇨🇫",
773
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CF.svg",
774
- label: "+236"
775
- },
776
- {
777
- country_label: "Congo - Brazzaville",
778
- code: "CG",
779
- unicode: "🇨🇬",
780
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CG.svg",
781
- label: "+242"
782
- },
783
- {
784
- country_label: "Switzerland",
785
- code: "CH",
786
- unicode: "🇨🇭",
787
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CH.svg",
788
- label: "+41"
789
- },
790
- {
791
- country_label: "C\xF4te d\u2019Ivoire",
792
- code: "CI",
793
- unicode: "🇨🇮",
794
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CI.svg",
795
- label: "+225"
796
- },
797
- {
798
- country_label: "Cook Islands",
799
- code: "CK",
800
- unicode: "🇨🇰",
801
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CK.svg",
802
- label: "+682"
803
- },
804
- {
805
- country_label: "Chile",
806
- code: "CL",
807
- unicode: "🇨🇱",
808
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CL.svg",
809
- label: "+56"
810
- },
811
- {
812
- country_label: "Cameroon",
813
- code: "CM",
814
- unicode: "🇨🇲",
815
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CM.svg",
816
- label: "+237"
817
- },
818
- {
819
- country_label: "China",
820
- code: "CN",
821
- unicode: "🇨🇳",
822
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CN.svg",
823
- label: "+86"
824
- },
825
- {
826
- country_label: "Colombia",
827
- code: "CO",
828
- unicode: "🇨🇴",
829
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CO.svg",
830
- label: "+57"
831
- },
832
- {
833
- country_label: "Costa Rica",
834
- code: "CR",
835
- unicode: "🇨🇷",
836
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CR.svg",
837
- label: "+506"
838
- },
839
- {
840
- country_label: "Cuba",
841
- code: "CU",
842
- unicode: "🇨🇺",
843
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CU.svg",
844
- label: "+53"
845
- },
846
- {
847
- country_label: "Cape Verde",
848
- code: "CV",
849
- unicode: "🇨🇻",
850
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CV.svg",
851
- label: "+238"
852
- },
853
- {
854
- country_label: "Christmas Island",
855
- code: "CX",
856
- unicode: "🇨🇽",
857
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CX.svg",
858
- label: "+61"
859
- },
860
- {
861
- country_label: "Cyprus",
862
- code: "CY",
863
- unicode: "🇨🇾",
864
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CY.svg",
865
- label: "+357"
866
- },
867
- {
868
- country_label: "Czechia",
869
- code: "CZ",
870
- unicode: "🇨🇿",
871
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CZ.svg",
872
- label: "+420"
873
- },
874
- {
875
- country_label: "Germany",
876
- code: "DE",
877
- unicode: "🇩🇪",
878
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DE.svg",
879
- label: "+49"
880
- },
881
- {
882
- country_label: "Djibouti",
883
- code: "DJ",
884
- unicode: "🇩🇯",
885
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DJ.svg",
886
- label: "+253"
887
- },
888
- {
889
- country_label: "Denmark",
890
- code: "DK",
891
- unicode: "🇩🇰",
892
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DK.svg",
893
- label: "+45"
894
- },
895
- {
896
- country_label: "Dominica",
897
- code: "DM",
898
- unicode: "🇩🇲",
899
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DM.svg",
900
- label: "+1767"
901
- },
902
- {
903
- country_label: "Dominican Republic",
904
- code: "DO",
905
- unicode: "🇩🇴",
906
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DO.svg",
907
- label: "+1849"
908
- },
909
- {
910
- country_label: "Algeria",
911
- code: "DZ",
912
- unicode: "🇩🇿",
913
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DZ.svg",
914
- label: "+213"
915
- },
916
- {
917
- country_label: "Ecuador",
918
- code: "EC",
919
- unicode: "🇪🇨",
920
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EC.svg",
921
- label: "+593"
922
- },
923
- {
924
- country_label: "Estonia",
925
- code: "EE",
926
- unicode: "🇪🇪",
927
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EE.svg",
928
- label: "+372"
929
- },
930
- {
931
- country_label: "Egypt",
932
- code: "EG",
933
- unicode: "🇪🇬",
934
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EG.svg",
935
- label: "+20"
936
- },
937
- {
938
- country_label: "Eritrea",
939
- code: "ER",
940
- unicode: "🇪🇷",
941
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ER.svg",
942
- label: "+291"
943
- },
944
- {
945
- country_label: "Spain",
946
- code: "ES",
947
- unicode: "🇪🇸",
948
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ES.svg",
949
- label: "+34"
950
- },
951
- {
952
- country_label: "Ethiopia",
953
- code: "ET",
954
- unicode: "🇪🇹",
955
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ET.svg",
956
- label: "+251"
957
- },
958
- {
959
- country_label: "Finland",
960
- code: "FI",
961
- unicode: "🇫🇮",
962
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FI.svg",
963
- label: "+358"
964
- },
965
- {
966
- country_label: "Fiji",
967
- code: "FJ",
968
- unicode: "🇫🇯",
969
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FJ.svg",
970
- label: "+679"
971
- },
972
- {
973
- country_label: "Falkland Islands",
974
- code: "FK",
975
- unicode: "🇫🇰",
976
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FK.svg",
977
- label: "+500"
978
- },
979
- {
980
- country_label: "Micronesia",
981
- code: "FM",
982
- unicode: "🇫🇲",
983
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FM.svg",
984
- label: "+691"
985
- },
986
- {
987
- country_label: "Faroe Islands",
988
- code: "FO",
989
- unicode: "🇫🇴",
990
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FO.svg",
991
- label: "+298"
992
- },
993
- {
994
- country_label: "France",
995
- code: "FR",
996
- unicode: "🇫🇷",
997
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FR.svg",
998
- label: "+33"
999
- },
1000
- {
1001
- country_label: "Gabon",
1002
- code: "GA",
1003
- unicode: "🇬🇦",
1004
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GA.svg",
1005
- label: "+241"
1006
- },
1007
- {
1008
- country_label: "United Kingdom",
1009
- code: "GB",
1010
- unicode: "🇬🇧",
1011
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GB.svg",
1012
- label: "+44"
1013
- },
1014
- {
1015
- country_label: "Grenada",
1016
- code: "GD",
1017
- unicode: "🇬🇩",
1018
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GD.svg",
1019
- label: "+1473"
1020
- },
1021
- {
1022
- country_label: "Georgia",
1023
- code: "GE",
1024
- unicode: "🇬🇪",
1025
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GE.svg",
1026
- label: "+995"
1027
- },
1028
- {
1029
- country_label: "French Guiana",
1030
- code: "GF",
1031
- unicode: "🇬🇫",
1032
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GF.svg",
1033
- label: "+594"
1034
- },
1035
- {
1036
- country_label: "Guernsey",
1037
- code: "GG",
1038
- unicode: "🇬🇬",
1039
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GG.svg",
1040
- label: "+44"
1041
- },
1042
- {
1043
- country_label: "Ghana",
1044
- code: "GH",
1045
- unicode: "🇬🇭",
1046
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GH.svg",
1047
- label: "+233"
1048
- },
1049
- {
1050
- country_label: "Gibraltar",
1051
- code: "GI",
1052
- unicode: "🇬🇮",
1053
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GI.svg",
1054
- label: "+350"
1055
- },
1056
- {
1057
- country_label: "Greenland",
1058
- code: "GL",
1059
- unicode: "🇬🇱",
1060
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GL.svg",
1061
- label: "+299"
1062
- },
1063
- {
1064
- country_label: "Gambia",
1065
- code: "GM",
1066
- unicode: "🇬🇲",
1067
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GM.svg",
1068
- label: "+220"
1069
- },
1070
- {
1071
- country_label: "Guinea",
1072
- code: "GN",
1073
- unicode: "🇬🇳",
1074
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GN.svg",
1075
- label: "+224"
1076
- },
1077
- {
1078
- country_label: "Guadeloupe",
1079
- code: "GP",
1080
- unicode: "🇬🇵",
1081
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GP.svg",
1082
- label: "+590"
1083
- },
1084
- {
1085
- country_label: "Equatorial Guinea",
1086
- code: "GQ",
1087
- unicode: "🇬🇶",
1088
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GQ.svg",
1089
- label: "+240"
1090
- },
1091
- {
1092
- country_label: "Greece",
1093
- code: "GR",
1094
- unicode: "🇬🇷",
1095
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GR.svg",
1096
- label: "+30"
1097
- },
1098
- {
1099
- country_label: "South Georgia & South Sandwich Islands",
1100
- code: "GS",
1101
- unicode: "🇬🇸",
1102
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GS.svg",
1103
- label: "+500"
1104
- },
1105
- {
1106
- country_label: "Guatemala",
1107
- code: "GT",
1108
- unicode: "🇬🇹",
1109
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GT.svg",
1110
- label: "+502"
1111
- },
1112
- {
1113
- country_label: "Guam",
1114
- code: "GU",
1115
- unicode: "🇬🇺",
1116
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GU.svg",
1117
- label: "+1671"
1118
- },
1119
- {
1120
- country_label: "Guinea-Bissau",
1121
- code: "GW",
1122
- unicode: "🇬🇼",
1123
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GW.svg",
1124
- label: "+245"
1125
- },
1126
- {
1127
- country_label: "Guyana",
1128
- code: "GY",
1129
- unicode: "🇬🇾",
1130
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GY.svg",
1131
- label: "+595"
1132
- },
1133
- {
1134
- country_label: "Hong Kong SAR China",
1135
- code: "HK",
1136
- unicode: "🇭🇰",
1137
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HK.svg",
1138
- label: "+852"
1139
- },
1140
- {
1141
- country_label: "Honduras",
1142
- code: "HN",
1143
- unicode: "🇭🇳",
1144
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HN.svg",
1145
- label: "+504"
1146
- },
1147
- {
1148
- country_label: "Croatia",
1149
- code: "HR",
1150
- unicode: "🇭🇷",
1151
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HR.svg",
1152
- label: "+385"
1153
- },
1154
- {
1155
- country_label: "Haiti",
1156
- code: "HT",
1157
- unicode: "🇭🇹",
1158
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HT.svg",
1159
- label: "+509"
1160
- },
1161
- {
1162
- country_label: "Hungary",
1163
- code: "HU",
1164
- unicode: "🇭🇺",
1165
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HU.svg",
1166
- label: "+36"
1167
- },
1168
- {
1169
- country_label: "Indonesia",
1170
- code: "ID",
1171
- unicode: "🇮🇩",
1172
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ID.svg",
1173
- label: "+62"
1174
- },
1175
- {
1176
- country_label: "Ireland",
1177
- code: "IE",
1178
- unicode: "🇮🇪",
1179
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IE.svg",
1180
- label: "+353"
1181
- },
1182
- {
1183
- country_label: "Israel",
1184
- code: "IL",
1185
- unicode: "🇮🇱",
1186
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IL.svg",
1187
- label: "+972"
1188
- },
1189
- {
1190
- country_label: "Isle of Man",
1191
- code: "IM",
1192
- unicode: "🇮🇲",
1193
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IM.svg",
1194
- label: "+44"
1195
- },
1196
- {
1197
- country_label: "India",
1198
- code: "IN",
1199
- unicode: "🇮🇳",
1200
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IN.svg",
1201
- label: "+91"
1202
- },
1203
- {
1204
- country_label: "British Indian Ocean Territory",
1205
- code: "IO",
1206
- unicode: "🇮🇴",
1207
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IO.svg",
1208
- label: "+246"
1209
- },
1210
- {
1211
- country_label: "Iraq",
1212
- code: "IQ",
1213
- unicode: "🇮🇶",
1214
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IQ.svg",
1215
- label: "+964"
1216
- },
1217
- {
1218
- country_label: "Iran",
1219
- code: "IR",
1220
- unicode: "🇮🇷",
1221
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IR.svg",
1222
- label: "+98"
1223
- },
1224
- {
1225
- country_label: "Iceland",
1226
- code: "IS",
1227
- unicode: "🇮🇸",
1228
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IS.svg",
1229
- label: "+354"
1230
- },
1231
- {
1232
- country_label: "Italy",
1233
- code: "IT",
1234
- unicode: "🇮🇹",
1235
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IT.svg",
1236
- label: "+39"
1237
- },
1238
- {
1239
- country_label: "Jersey",
1240
- code: "JE",
1241
- unicode: "🇯🇪",
1242
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JE.svg",
1243
- label: "+44"
1244
- },
1245
- {
1246
- country_label: "Jamaica",
1247
- code: "JM",
1248
- unicode: "🇯🇲",
1249
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JM.svg",
1250
- label: "+1876"
1251
- },
1252
- {
1253
- country_label: "Jordan",
1254
- code: "JO",
1255
- unicode: "🇯🇴",
1256
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JO.svg",
1257
- label: "+962"
1258
- },
1259
- {
1260
- country_label: "Japan",
1261
- code: "JP",
1262
- unicode: "🇯🇵",
1263
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JP.svg",
1264
- label: "+81"
1265
- },
1266
- {
1267
- country_label: "Kenya",
1268
- code: "KE",
1269
- unicode: "🇰🇪",
1270
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KE.svg",
1271
- label: "+254"
1272
- },
1273
- {
1274
- country_label: "Kyrgyzstan",
1275
- code: "KG",
1276
- unicode: "🇰🇬",
1277
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KG.svg",
1278
- label: "+996"
1279
- },
1280
- {
1281
- country_label: "Cambodia",
1282
- code: "KH",
1283
- unicode: "🇰🇭",
1284
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KH.svg",
1285
- label: "+855"
1286
- },
1287
- {
1288
- country_label: "Kiribati",
1289
- code: "KI",
1290
- unicode: "🇰🇮",
1291
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KI.svg",
1292
- label: "+686"
1293
- },
1294
- {
1295
- country_label: "Comoros",
1296
- code: "KM",
1297
- unicode: "🇰🇲",
1298
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KM.svg",
1299
- label: "+269"
1300
- },
1301
- {
1302
- country_label: "St. Kitts & Nevis",
1303
- code: "KN",
1304
- unicode: "🇰🇳",
1305
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KN.svg",
1306
- label: "+1869"
1307
- },
1308
- {
1309
- country_label: "North Korea",
1310
- code: "KP",
1311
- unicode: "🇰🇵",
1312
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KP.svg",
1313
- label: "+850"
1314
- },
1315
- {
1316
- country_label: "South Korea",
1317
- code: "KR",
1318
- unicode: "🇰🇷",
1319
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KR.svg",
1320
- label: "+82"
1321
- },
1322
- {
1323
- country_label: "Cayman Islands",
1324
- code: "KY",
1325
- unicode: "🇰🇾",
1326
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KY.svg",
1327
- label: "+ 345"
1328
- },
1329
- {
1330
- country_label: "Kazakhstan",
1331
- code: "KZ",
1332
- unicode: "🇰🇿",
1333
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KZ.svg",
1334
- label: "+77"
1335
- },
1336
- {
1337
- country_label: "Laos",
1338
- code: "LA",
1339
- unicode: "🇱🇦",
1340
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LA.svg",
1341
- label: "+856"
1342
- },
1343
- {
1344
- country_label: "Lebanon",
1345
- code: "LB",
1346
- unicode: "🇱🇧",
1347
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LB.svg",
1348
- label: "+961"
1349
- },
1350
- {
1351
- country_label: "St. Lucia",
1352
- code: "LC",
1353
- unicode: "🇱🇨",
1354
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LC.svg",
1355
- label: "+1758"
1356
- },
1357
- {
1358
- country_label: "Liechtenstein",
1359
- code: "LI",
1360
- unicode: "🇱🇮",
1361
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LI.svg",
1362
- label: "+423"
1363
- },
1364
- {
1365
- country_label: "Sri Lanka",
1366
- code: "LK",
1367
- unicode: "🇱🇰",
1368
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LK.svg",
1369
- label: "+94"
1370
- },
1371
- {
1372
- country_label: "Liberia",
1373
- code: "LR",
1374
- unicode: "🇱🇷",
1375
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LR.svg",
1376
- label: "+231"
1377
- },
1378
- {
1379
- country_label: "Lesotho",
1380
- code: "LS",
1381
- unicode: "🇱🇸",
1382
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LS.svg",
1383
- label: "+266"
1384
- },
1385
- {
1386
- country_label: "Lithuania",
1387
- code: "LT",
1388
- unicode: "🇱🇹",
1389
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LT.svg",
1390
- label: "+370"
1391
- },
1392
- {
1393
- country_label: "Luxembourg",
1394
- code: "LU",
1395
- unicode: "🇱🇺",
1396
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LU.svg",
1397
- label: "+352"
1398
- },
1399
- {
1400
- country_label: "Latvia",
1401
- code: "LV",
1402
- unicode: "🇱🇻",
1403
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LV.svg",
1404
- label: "+371"
1405
- },
1406
- {
1407
- country_label: "Libya",
1408
- code: "LY",
1409
- unicode: "🇱🇾",
1410
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LY.svg",
1411
- label: "+218"
1412
- },
1413
- {
1414
- country_label: "Morocco",
1415
- code: "MA",
1416
- unicode: "🇲🇦",
1417
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MA.svg",
1418
- label: "+212"
1419
- },
1420
- {
1421
- country_label: "Monaco",
1422
- code: "MC",
1423
- unicode: "🇲🇨",
1424
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MC.svg",
1425
- label: "+377"
1426
- },
1427
- {
1428
- country_label: "Moldova",
1429
- code: "MD",
1430
- unicode: "🇲🇩",
1431
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MD.svg",
1432
- label: "+373"
1433
- },
1434
- {
1435
- country_label: "Montenegro",
1436
- code: "ME",
1437
- unicode: "🇲🇪",
1438
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ME.svg",
1439
- label: "+382"
1440
- },
1441
- {
1442
- country_label: "St. Martin",
1443
- code: "MF",
1444
- unicode: "🇲🇫",
1445
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MF.svg",
1446
- label: "+590"
1447
- },
1448
- {
1449
- country_label: "Madagascar",
1450
- code: "MG",
1451
- unicode: "🇲🇬",
1452
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MG.svg",
1453
- label: "+261"
1454
- },
1455
- {
1456
- country_label: "Marshall Islands",
1457
- code: "MH",
1458
- unicode: "🇲🇭",
1459
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MH.svg",
1460
- label: "+692"
1461
- },
1462
- {
1463
- country_label: "North Macedonia",
1464
- code: "MK",
1465
- unicode: "🇲🇰",
1466
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MK.svg",
1467
- label: "+389"
1468
- },
1469
- {
1470
- country_label: "Mali",
1471
- code: "ML",
1472
- unicode: "🇲🇱",
1473
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ML.svg",
1474
- label: "+223"
1475
- },
1476
- {
1477
- country_label: "Myanmar (Burma)",
1478
- code: "MM",
1479
- unicode: "🇲🇲",
1480
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MM.svg",
1481
- label: "+95"
1482
- },
1483
- {
1484
- country_label: "Mongolia",
1485
- code: "MN",
1486
- unicode: "🇲🇳",
1487
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MN.svg",
1488
- label: "+976"
1489
- },
1490
- {
1491
- country_label: "Macao SAR China",
1492
- code: "MO",
1493
- unicode: "🇲🇴",
1494
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MO.svg",
1495
- label: "+853"
1496
- },
1497
- {
1498
- country_label: "Northern Mariana Islands",
1499
- code: "MP",
1500
- unicode: "🇲🇵",
1501
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MP.svg",
1502
- label: "+1670"
1503
- },
1504
- {
1505
- country_label: "Martinique",
1506
- code: "MQ",
1507
- unicode: "🇲🇶",
1508
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MQ.svg",
1509
- label: "+596"
1510
- },
1511
- {
1512
- country_label: "Mauritania",
1513
- code: "MR",
1514
- unicode: "🇲🇷",
1515
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MR.svg",
1516
- label: "+222"
1517
- },
1518
- {
1519
- country_label: "Montserrat",
1520
- code: "MS",
1521
- unicode: "🇲🇸",
1522
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MS.svg",
1523
- label: "+1664"
1524
- },
1525
- {
1526
- country_label: "Malta",
1527
- code: "MT",
1528
- unicode: "🇲🇹",
1529
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MT.svg",
1530
- label: "+356"
1531
- },
1532
- {
1533
- country_label: "Mauritius",
1534
- code: "MU",
1535
- unicode: "🇲🇺",
1536
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MU.svg",
1537
- label: "+230"
1538
- },
1539
- {
1540
- country_label: "Maldives",
1541
- code: "MV",
1542
- unicode: "🇲🇻",
1543
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MV.svg",
1544
- label: "+960"
1545
- },
1546
- {
1547
- country_label: "Malawi",
1548
- code: "MW",
1549
- unicode: "🇲🇼",
1550
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MW.svg",
1551
- label: "+265"
1552
- },
1553
- {
1554
- country_label: "Mexico",
1555
- code: "MX",
1556
- unicode: "🇲🇽",
1557
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MX.svg",
1558
- label: "+52"
1559
- },
1560
- {
1561
- country_label: "Malaysia",
1562
- code: "MY",
1563
- unicode: "🇲🇾",
1564
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MY.svg",
1565
- label: "+60"
1566
- },
1567
- {
1568
- country_label: "Mozambique",
1569
- code: "MZ",
1570
- unicode: "🇲🇿",
1571
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MZ.svg",
1572
- label: "+258"
1573
- },
1574
- {
1575
- country_label: "Namibia",
1576
- code: "NA",
1577
- unicode: "🇳🇦",
1578
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NA.svg",
1579
- label: "+264"
1580
- },
1581
- {
1582
- country_label: "New Caledonia",
1583
- code: "NC",
1584
- unicode: "🇳🇨",
1585
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NC.svg",
1586
- label: "+687"
1587
- },
1588
- {
1589
- country_label: "Niger",
1590
- code: "NE",
1591
- unicode: "🇳🇪",
1592
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NE.svg",
1593
- label: "+227"
1594
- },
1595
- {
1596
- country_label: "Norfolk Island",
1597
- code: "NF",
1598
- unicode: "🇳🇫",
1599
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NF.svg",
1600
- label: "+672"
1601
- },
1602
- {
1603
- country_label: "Nigeria",
1604
- code: "NG",
1605
- unicode: "🇳🇬",
1606
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NG.svg",
1607
- label: "+234"
1608
- },
1609
- {
1610
- country_label: "Nicaragua",
1611
- code: "NI",
1612
- unicode: "🇳🇮",
1613
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NI.svg",
1614
- label: "+505"
1615
- },
1616
- {
1617
- country_label: "Netherlands",
1618
- code: "NL",
1619
- unicode: "🇳🇱",
1620
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NL.svg",
1621
- label: "+31"
1622
- },
1623
- {
1624
- country_label: "Norway",
1625
- code: "NO",
1626
- unicode: "🇳🇴",
1627
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NO.svg",
1628
- label: "+47"
1629
- },
1630
- {
1631
- country_label: "Nepal",
1632
- code: "NP",
1633
- unicode: "🇳🇵",
1634
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NP.svg",
1635
- label: "+977"
1636
- },
1637
- {
1638
- country_label: "Nauru",
1639
- code: "NR",
1640
- unicode: "🇳🇷",
1641
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NR.svg",
1642
- label: "+674"
1643
- },
1644
- {
1645
- country_label: "Niue",
1646
- code: "NU",
1647
- unicode: "🇳🇺",
1648
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NU.svg",
1649
- label: "+683"
1650
- },
1651
- {
1652
- country_label: "New Zealand",
1653
- code: "NZ",
1654
- unicode: "🇳🇿",
1655
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NZ.svg",
1656
- label: "+64"
1657
- },
1658
- {
1659
- country_label: "Panama",
1660
- code: "PA",
1661
- unicode: "🇵🇦",
1662
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PA.svg",
1663
- label: "+507"
1664
- },
1665
- {
1666
- country_label: "Peru",
1667
- code: "PE",
1668
- unicode: "🇵🇪",
1669
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PE.svg",
1670
- label: "+51"
1671
- },
1672
- {
1673
- country_label: "French Polynesia",
1674
- code: "PF",
1675
- unicode: "🇵🇫",
1676
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PF.svg",
1677
- label: "+689"
1678
- },
1679
- {
1680
- country_label: "Papua New Guinea",
1681
- code: "PG",
1682
- unicode: "🇵🇬",
1683
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PG.svg",
1684
- label: "+675"
1685
- },
1686
- {
1687
- country_label: "Philippines",
1688
- code: "PH",
1689
- unicode: "🇵🇭",
1690
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PH.svg",
1691
- label: "+63"
1692
- },
1693
- {
1694
- country_label: "Pakistan",
1695
- code: "PK",
1696
- unicode: "🇵🇰",
1697
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PK.svg",
1698
- label: "+92"
1699
- },
1700
- {
1701
- country_label: "Poland",
1702
- code: "PL",
1703
- unicode: "🇵🇱",
1704
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PL.svg",
1705
- label: "+48"
1706
- },
1707
- {
1708
- country_label: "St. Pierre & Miquelon",
1709
- code: "PM",
1710
- unicode: "🇵🇲",
1711
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PM.svg",
1712
- label: "+508"
1713
- },
1714
- {
1715
- country_label: "Pitcairn Islands",
1716
- code: "PN",
1717
- unicode: "🇵🇳",
1718
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PN.svg",
1719
- label: "+872"
1720
- },
1721
- {
1722
- country_label: "Puerto Rico",
1723
- code: "PR",
1724
- unicode: "🇵🇷",
1725
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PR.svg",
1726
- label: "+1939"
1727
- },
1728
- {
1729
- country_label: "Palestinian Territories",
1730
- code: "PS",
1731
- unicode: "🇵🇸",
1732
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PS.svg",
1733
- label: "+970"
1734
- },
1735
- {
1736
- country_label: "Portugal",
1737
- code: "PT",
1738
- unicode: "🇵🇹",
1739
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PT.svg",
1740
- label: "+351"
1741
- },
1742
- {
1743
- country_label: "Palau",
1744
- code: "PW",
1745
- unicode: "🇵🇼",
1746
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PW.svg",
1747
- label: "+680"
1748
- },
1749
- {
1750
- country_label: "Paraguay",
1751
- code: "PY",
1752
- unicode: "🇵🇾",
1753
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PY.svg",
1754
- label: "+595"
1755
- },
1756
- {
1757
- country_label: "R\xE9union",
1758
- code: "RE",
1759
- unicode: "🇷🇪",
1760
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RE.svg",
1761
- label: "+262"
1762
- },
1763
- {
1764
- country_label: "Romania",
1765
- code: "RO",
1766
- unicode: "🇷🇴",
1767
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RO.svg",
1768
- label: "+40"
1769
- },
1770
- {
1771
- country_label: "Serbia",
1772
- code: "RS",
1773
- unicode: "🇷🇸",
1774
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RS.svg",
1775
- label: "+381"
1776
- },
1777
- {
1778
- country_label: "Russia",
1779
- code: "RU",
1780
- unicode: "🇷🇺",
1781
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RU.svg",
1782
- label: "+7"
1783
- },
1784
- {
1785
- country_label: "Rwanda",
1786
- code: "RW",
1787
- unicode: "🇷🇼",
1788
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RW.svg",
1789
- label: "+250"
1790
- },
1791
- {
1792
- country_label: "Solomon Islands",
1793
- code: "SB",
1794
- unicode: "🇸🇧",
1795
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SB.svg",
1796
- label: "+677"
1797
- },
1798
- {
1799
- country_label: "Seychelles",
1800
- code: "SC",
1801
- unicode: "🇸🇨",
1802
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SC.svg",
1803
- label: "+248"
1804
- },
1805
- {
1806
- country_label: "Sudan",
1807
- code: "SD",
1808
- unicode: "🇸🇩",
1809
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SD.svg",
1810
- label: "+249"
1811
- },
1812
- {
1813
- country_label: "Sweden",
1814
- code: "SE",
1815
- unicode: "🇸🇪",
1816
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SE.svg",
1817
- label: "+46"
1818
- },
1819
- {
1820
- country_label: "Singapore",
1821
- code: "SG",
1822
- unicode: "🇸🇬",
1823
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SG.svg",
1824
- label: "+65"
1825
- },
1826
- {
1827
- country_label: "St. Helena",
1828
- code: "SH",
1829
- unicode: "🇸🇭",
1830
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SH.svg",
1831
- label: "+290"
1832
- },
1833
- {
1834
- country_label: "Slovenia",
1835
- code: "SI",
1836
- unicode: "🇸🇮",
1837
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SI.svg",
1838
- label: "+386"
1839
- },
1840
- {
1841
- country_label: "Svalbard & Jan Mayen",
1842
- code: "SJ",
1843
- unicode: "🇸🇯",
1844
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SJ.svg",
1845
- label: "+47"
1846
- },
1847
- {
1848
- country_label: "Slovakia",
1849
- code: "SK",
1850
- unicode: "🇸🇰",
1851
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SK.svg",
1852
- label: "+421"
1853
- },
1854
- {
1855
- country_label: "Sierra Leone",
1856
- code: "SL",
1857
- unicode: "🇸🇱",
1858
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SL.svg",
1859
- label: "+232"
1860
- },
1861
- {
1862
- country_label: "San Marino",
1863
- code: "SM",
1864
- unicode: "🇸🇲",
1865
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SM.svg",
1866
- label: "+378"
1867
- },
1868
- {
1869
- country_label: "Senegal",
1870
- code: "SN",
1871
- unicode: "🇸🇳",
1872
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SN.svg",
1873
- label: "+221"
1874
- },
1875
- {
1876
- country_label: "Somalia",
1877
- code: "SO",
1878
- unicode: "🇸🇴",
1879
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SO.svg",
1880
- label: "+252"
1881
- },
1882
- {
1883
- country_label: "Suriname",
1884
- code: "SR",
1885
- unicode: "🇸🇷",
1886
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SR.svg",
1887
- label: "+597"
1888
- },
1889
- {
1890
- country_label: "South Sudan",
1891
- code: "SS",
1892
- unicode: "🇸🇸",
1893
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SS.svg",
1894
- label: "+211"
1895
- },
1896
- {
1897
- country_label: "S\xE3o Tom\xE9 & Pr\xEDncipe",
1898
- code: "ST",
1899
- unicode: "🇸🇹",
1900
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ST.svg",
1901
- label: "+239"
1902
- },
1903
- {
1904
- country_label: "El Salvador",
1905
- code: "SV",
1906
- unicode: "🇸🇻",
1907
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SV.svg",
1908
- label: "+503"
1909
- },
1910
- {
1911
- country_label: "Syria",
1912
- code: "SY",
1913
- unicode: "🇸🇾",
1914
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SY.svg",
1915
- label: "+963"
1916
- },
1917
- {
1918
- country_label: "Eswatini",
1919
- code: "SZ",
1920
- unicode: "🇸🇿",
1921
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SZ.svg",
1922
- label: "+268"
1923
- },
1924
- {
1925
- country_label: "Turks & Caicos Islands",
1926
- code: "TC",
1927
- unicode: "🇹🇨",
1928
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TC.svg",
1929
- label: "+1649"
1930
- },
1931
- {
1932
- country_label: "Chad",
1933
- code: "TD",
1934
- unicode: "🇹🇩",
1935
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TD.svg",
1936
- label: "+235"
1937
- },
1938
- {
1939
- country_label: "Togo",
1940
- code: "TG",
1941
- unicode: "🇹🇬",
1942
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TG.svg",
1943
- label: "+228"
1944
- },
1945
- {
1946
- country_label: "Thailand",
1947
- code: "TH",
1948
- unicode: "🇹🇭",
1949
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TH.svg",
1950
- label: "+66"
1951
- },
1952
- {
1953
- country_label: "Tajikistan",
1954
- code: "TJ",
1955
- unicode: "🇹🇯",
1956
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TJ.svg",
1957
- label: "+992"
1958
- },
1959
- {
1960
- country_label: "Tokelau",
1961
- code: "TK",
1962
- unicode: "🇹🇰",
1963
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TK.svg",
1964
- label: "+690"
1965
- },
1966
- {
1967
- country_label: "Timor-Leste",
1968
- code: "TL",
1969
- unicode: "🇹🇱",
1970
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TL.svg",
1971
- label: "+670"
1972
- },
1973
- {
1974
- country_label: "Turkmenistan",
1975
- code: "TM",
1976
- unicode: "🇹🇲",
1977
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TM.svg",
1978
- label: "+993"
1979
- },
1980
- {
1981
- country_label: "Tunisia",
1982
- code: "TN",
1983
- unicode: "🇹🇳",
1984
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TN.svg",
1985
- label: "+216"
1986
- },
1987
- {
1988
- country_label: "Tonga",
1989
- code: "TO",
1990
- unicode: "🇹🇴",
1991
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TO.svg",
1992
- label: "+676"
1993
- },
1994
- {
1995
- country_label: "Turkey",
1996
- code: "TR",
1997
- unicode: "🇹🇷",
1998
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TR.svg",
1999
- label: "+90"
2000
- },
2001
- {
2002
- country_label: "Trinidad & Tobago",
2003
- code: "TT",
2004
- unicode: "🇹🇹",
2005
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TT.svg",
2006
- label: "+1868"
2007
- },
2008
- {
2009
- country_label: "Tuvalu",
2010
- code: "TV",
2011
- unicode: "🇹🇻",
2012
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TV.svg",
2013
- label: "+688"
2014
- },
2015
- {
2016
- country_label: "Taiwan",
2017
- code: "TW",
2018
- unicode: "🇹🇼",
2019
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TW.svg",
2020
- label: "+886"
2021
- },
2022
- {
2023
- country_label: "Tanzania",
2024
- code: "TZ",
2025
- unicode: "🇹🇿",
2026
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TZ.svg",
2027
- label: "+255"
2028
- },
2029
- {
2030
- country_label: "Ukraine",
2031
- code: "UA",
2032
- unicode: "🇺🇦",
2033
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UA.svg",
2034
- label: "+380"
2035
- },
2036
- {
2037
- country_label: "Uganda",
2038
- code: "UG",
2039
- unicode: "🇺🇬",
2040
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UG.svg",
2041
- label: "+256"
2042
- },
2043
- {
2044
- country_label: "United States",
2045
- code: "US",
2046
- unicode: "🇺🇸",
2047
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/US.svg",
2048
- label: "+1"
2049
- },
2050
- {
2051
- country_label: "Uruguay",
2052
- code: "UY",
2053
- unicode: "🇺🇾",
2054
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UY.svg",
2055
- label: "+598"
2056
- },
2057
- {
2058
- country_label: "Uzbekistan",
2059
- code: "UZ",
2060
- unicode: "🇺🇿",
2061
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UZ.svg",
2062
- label: "+998"
2063
- },
2064
- {
2065
- country_label: "Vatican City",
2066
- code: "VA",
2067
- unicode: "🇻🇦",
2068
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VA.svg",
2069
- label: "+379"
2070
- },
2071
- {
2072
- country_label: "St. Vincent & Grenadines",
2073
- code: "VC",
2074
- unicode: "🇻🇨",
2075
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VC.svg",
2076
- label: "+1784"
2077
- },
2078
- {
2079
- country_label: "Venezuela",
2080
- code: "VE",
2081
- unicode: "🇻🇪",
2082
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VE.svg",
2083
- label: "+58"
2084
- },
2085
- {
2086
- country_label: "British Virgin Islands",
2087
- code: "VG",
2088
- unicode: "🇻🇬",
2089
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VG.svg",
2090
- label: "+1284"
2091
- },
2092
- {
2093
- country_label: "U.S. Virgin Islands",
2094
- code: "VI",
2095
- unicode: "🇻🇮",
2096
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VI.svg",
2097
- label: "+1340"
2098
- },
2099
- {
2100
- country_label: "Vietnam",
2101
- code: "VN",
2102
- unicode: "🇻🇳",
2103
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VN.svg",
2104
- label: "+84"
2105
- },
2106
- {
2107
- country_label: "Vanuatu",
2108
- code: "VU",
2109
- unicode: "🇻🇺",
2110
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VU.svg",
2111
- label: "+678"
2112
- },
2113
- {
2114
- country_label: "Wallis & Futuna",
2115
- code: "WF",
2116
- unicode: "🇼🇫",
2117
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WF.svg",
2118
- label: "+681"
2119
- },
2120
- {
2121
- country_label: "Samoa",
2122
- code: "WS",
2123
- unicode: "🇼🇸",
2124
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WS.svg",
2125
- label: "+685"
2126
- },
2127
- {
2128
- country_label: "Yemen",
2129
- code: "YE",
2130
- unicode: "🇾🇪",
2131
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YE.svg",
2132
- label: "+967"
2133
- },
2134
- {
2135
- country_label: "Mayotte",
2136
- code: "YT",
2137
- unicode: "🇾🇹",
2138
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YT.svg",
2139
- label: "+262"
2140
- },
2141
- {
2142
- country_label: "South Africa",
2143
- code: "ZA",
2144
- unicode: "🇿🇦",
2145
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZA.svg",
2146
- label: "+27"
2147
- },
2148
- {
2149
- country_label: "Zambia",
2150
- code: "ZM",
2151
- unicode: "🇿🇲",
2152
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZM.svg",
2153
- label: "+260"
2154
- },
2155
- {
2156
- country_label: "Zimbabwe",
2157
- code: "ZW",
2158
- unicode: "🇿🇼",
2159
- image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZW.svg",
2160
- label: "+263"
2161
- }
2162
- ];
2163
- var countries_default = countries;
2164
-
2165
- // elements/phoneInput/PhoneInput.tsx
2166
- var PhoneInput = ({ labelProps, ...props }) => {
2167
- const [phoneNumber, setPhoneNumber] = useState2("");
2168
- const [countryCode, setCountryCode] = useState2(props.preferredCountry);
2169
- const inputRef = useRef2(null);
2170
- useEffect2(() => {
2171
- var _a;
2172
- if (inputRef.current) {
2173
- (_a = inputRef.current) == null ? void 0 : _a.focus();
2174
- }
2175
- }, []);
2176
- const handleInputChange = (e) => {
2177
- const validChars = /^[0-9-()]+$/;
2178
- const input = e.target.value;
2179
- if (input === "" || validChars.test(input)) {
2180
- setPhoneNumber(input);
2181
- }
2182
- if (props.handleChange) {
2183
- props.handleChange(`${countryCode == null ? void 0 : countryCode.label}-${e.target.value}`);
2184
- } else {
2185
- console.log("handleChange prop was not provided in <PhoneInput/>");
2186
- }
2187
- };
2188
- return /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React5.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ React5.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React5.createElement(
2189
- Select,
2190
- {
2191
- width: "fit",
2192
- hideHelperText: true,
2193
- phoneCode: true,
2194
- hideIndicator: true,
2195
- placeholder: "Code",
2196
- options: countries_default,
2197
- isMulti: false,
2198
- isSearchable: true,
2199
- isClearable: false,
2200
- defaultValue: props.preferredCountry,
2201
- value: countryCode == null ? void 0 : countryCode.label,
2202
- onChange: setCountryCode
2203
- }
2204
- ), /* @__PURE__ */ React5.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React5.createElement(
2205
- "input",
2206
- {
2207
- ref: inputRef,
2208
- id: "phone-number",
2209
- className: cn(
2210
- "hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
2211
- ),
2212
- onChange: handleInputChange,
2213
- value: phoneNumber,
2214
- type: "tel",
2215
- placeholder: "531045453"
2216
- }
2217
- ))), /* @__PURE__ */ React5.createElement(
2218
- "p",
2219
- {
2220
- className: cn(
2221
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
2222
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
2223
- )
2224
- },
2225
- props.helperText
2226
- ));
2227
- };
2228
-
2229
- // elements/checkbox/Checkbox.tsx
2230
- import * as React6 from "react";
2231
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
2232
- var Checkbox = ({
2233
- id,
2234
- label,
2235
- sublabel,
2236
- helperText,
2237
- disabled,
2238
- size = "default",
2239
- radius = "inherit",
2240
- ...props
2241
- }) => {
2242
- let labelLineHeightStyles = {
2243
- xs: sublabel || helperText ? 0.5 : 0.1,
2244
- sm: 0.6,
2245
- default: 1,
2246
- md: 0.8,
2247
- lg: 0.9,
2248
- xl: 1
2249
- };
2250
- return /* @__PURE__ */ React6.createElement(
2251
- "div",
2252
- {
2253
- className: cn(
2254
- "hawa-flex hawa-gap-2",
2255
- size === "default" ? "hawa-items-top" : "hawa-items-center"
2256
- )
2257
- },
2258
- /* @__PURE__ */ React6.createElement(
2259
- CheckboxElement,
2260
- {
2261
- ...props,
2262
- size,
2263
- radius,
2264
- disabled,
2265
- id
2266
- }
2267
- ),
2268
- (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React6.createElement(
2269
- "label",
2270
- {
2271
- htmlFor: id,
2272
- className: cn(
2273
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
2274
- disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
2275
- ),
2276
- style: {
2277
- // lineHeight: labelLineHeightStyles[size]
2278
- lineHeight: 1
2279
- }
2280
- },
2281
- label
2282
- ), sublabel && /* @__PURE__ */ React6.createElement(
2283
- "label",
2284
- {
2285
- htmlFor: id,
2286
- className: cn(
2287
- "hawa-w-fit hawa-select-none hawa-text-sm hawa-text-muted-foreground",
2288
- disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70" : "hawa-cursor-pointer"
2289
- )
2290
- },
2291
- sublabel
2292
- ), helperText && !disabled && /* @__PURE__ */ React6.createElement(
2293
- "label",
2294
- {
2295
- htmlFor: id,
2296
- className: cn(
2297
- "hawa-w-fit hawa-select-none hawa-text-xs hawa-text-helper-color",
2298
- disabled && "hawa-cursor-not-allowed hawa-opacity-70"
2299
- )
2300
- },
2301
- helperText
2302
- ))
2303
- );
2304
- };
2305
- var CheckboxElement = React6.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
2306
- let checkboxRadius = {
2307
- none: "hawa-rounded-none",
2308
- inherit: "hawa-rounded-sm",
2309
- full: "hawa-rounded-full"
2310
- };
2311
- let checkboxSizes = {
2312
- xs: "hawa-w-3 hawa-h-3",
2313
- sm: "hawa-w-6 hawa-h-6",
2314
- default: "hawa-icon",
2315
- md: "hawa-w-8 hawa-h-8",
2316
- lg: "hawa-w-10 hawa-h-10",
2317
- xl: "hawa-w-12 hawa-h-12"
2318
- };
2319
- let checkboxIndicatorSizes = {
2320
- xs: "0.5em",
2321
- default: "0.60em",
2322
- sm: "0.75em",
2323
- md: "0.875em",
2324
- lg: "1em",
2325
- xl: "1.25em"
2326
- };
2327
- return /* @__PURE__ */ React6.createElement(
2328
- CheckboxPrimitive.Root,
2329
- {
2330
- ref,
2331
- className: cn(
2332
- "hawa-peer hawa-shrink-0 hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
2333
- checkboxSizes[size],
2334
- checkboxRadius[radius],
2335
- className
2336
- ),
2337
- ...props
2338
- },
2339
- /* @__PURE__ */ React6.createElement(
2340
- CheckboxPrimitive.Indicator,
2341
- {
2342
- className: cn(
2343
- "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
2344
- )
2345
- },
2346
- /* @__PURE__ */ React6.createElement(
2347
- "svg",
2348
- {
2349
- "aria-label": "Check Mark",
2350
- stroke: "currentColor",
2351
- fill: "currentColor",
2352
- strokeWidth: "0",
2353
- viewBox: "0 0 512 512",
2354
- height: checkboxIndicatorSizes[size],
2355
- width: checkboxIndicatorSizes[size]
2356
- },
2357
- /* @__PURE__ */ React6.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
2358
- ),
2359
- " "
2360
- )
2361
- );
2362
- });
2363
- CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
2364
-
2365
- // elements/stopPropagationWrapper/StopPropagationWrapper.tsx
2366
- import React7 from "react";
2367
- var StopPropagationWrapper = (props) => {
2368
- const handleClick = (e) => {
2369
- e.stopPropagation();
2370
- };
2371
- return /* @__PURE__ */ React7.createElement("div", { onClick: handleClick }, props.children);
2372
- };
2373
-
2374
- // elements/pinInput/PinInput.tsx
2375
- import React8, { useEffect as useEffect3, useState as useState3 } from "react";
2376
- var PinInput = ({
2377
- label,
2378
- icon,
2379
- digits,
2380
- width = "normal",
2381
- getPins,
2382
- inputProps,
2383
- ...props
2384
- }) => {
2385
- const [pin, setPin] = useState3(Array.from(Array(digits)));
2386
- const handleKeyDown = (e, index) => {
2387
- let backTo = 0;
2388
- if (e.key === "Backspace") {
2389
- e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
2390
- const previousInput = document.getElementById(`input-${backTo}`);
2391
- previousInput == null ? void 0 : previousInput.focus();
2392
- }
2393
- };
2394
- useEffect3(() => {
2395
- let unfilled = pin.includes(void 0);
2396
- if (!unfilled && getPins) {
2397
- getPins(pin);
2398
- }
2399
- });
2400
- const handleChange = (e, index) => {
2401
- if (!/^\d*$/.test(e.target.value)) {
2402
- const newPin = [...pin];
2403
- newPin[index] = "";
2404
- setPin(newPin);
2405
- return;
2406
- } else {
2407
- const newPin = [...pin];
2408
- newPin[index] = e.target.value;
2409
- setPin(newPin);
2410
- if (e.target.value.length === 1) {
2411
- const nextInput = document.getElementById(`input-${index + 1}`);
2412
- nextInput == null ? void 0 : nextInput.focus();
2413
- } else if (e.target.value.length === 0) {
2414
- const previousInput = document.getElementById(`input-${index - 1}`);
2415
- previousInput == null ? void 0 : previousInput.focus();
2416
- }
2417
- }
2418
- };
2419
- return /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React8.createElement(
2420
- "div",
2421
- {
2422
- className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
2423
- dir: "ltr"
2424
- },
2425
- pin.map((value, index) => /* @__PURE__ */ React8.createElement(
2426
- "input",
2427
- {
2428
- key: index,
2429
- type: "text",
2430
- maxLength: 1,
2431
- value,
2432
- inputMode: "numeric",
2433
- id: `input-${index}`,
2434
- pattern: "[0-9]*",
2435
- className: cn(
2436
- "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center",
2437
- width === "full" ? "hawa-w-full" : "hawa-w-10"
2438
- ),
2439
- onChange: (e) => handleChange(e, index),
2440
- onKeyDown: (e) => handleKeyDown(e, index),
2441
- onFocus: (e) => e.target.select(),
2442
- ...inputProps
2443
- }
2444
- ))
2445
- ), /* @__PURE__ */ React8.createElement(
2446
- "p",
2447
- {
2448
- className: cn(
2449
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
2450
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
2451
- )
2452
- },
2453
- props.helperText
2454
- ));
2455
- };
2456
-
2457
- // elements/radio/Radio.tsx
2458
- import React9, { useState as useState4, useRef as useRef3, useEffect as useEffect4 } from "react";
2459
- var Radio = ({
2460
- design = "default",
2461
- width = "default",
2462
- size = "default",
2463
- orientation = "horizontal",
2464
- name,
2465
- labelProps,
2466
- tabsContainerClassName,
2467
- onChange,
2468
- ...props
2469
- }) => {
2470
- var _a, _b, _c;
2471
- const [selectedOption, setSelectedOption] = useState4(props.defaultValue);
2472
- let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
2473
- let inactiveTabStyle = "hawa-inline-block hawa-w-full hawa-transition-all hover:hawa-bg-muted hawa-bg-primary-foreground dark:hover:hawa-text-white";
2474
- let orientationStyle = {
2475
- horizontal: "hawa-flex hawa-flex-row",
2476
- vertical: "hawa-flex hawa-flex-col"
2477
- };
2478
- let tabSizeStyle = {
2479
- default: "hawa-py-2 hawa-px-4 hawa-text-sm",
2480
- lg: "hawa-py-2 hawa-px-4",
2481
- sm: "hawa-p-1.5 hawa-text-xs",
2482
- xs: "hawa-p-1 hawa-text-[10px]"
2483
- };
2484
- let widthStyle = {
2485
- none: "",
2486
- default: "hawa-max-w-fit",
2487
- full: "hawa-w-full"
2488
- };
2489
- const [parentDirection, setParentDirection] = React9.useState(
2490
- null
2491
- );
2492
- const parentRef = useRef3(null);
2493
- useEffect4(() => {
2494
- var _a2;
2495
- const parentNode = (_a2 = parentRef.current) == null ? void 0 : _a2.parentNode;
2496
- if (parentNode) {
2497
- const dir = window.getComputedStyle(parentNode).direction;
2498
- setParentDirection(dir);
2499
- }
2500
- });
2501
- const handleChange = (opt) => {
2502
- setSelectedOption(opt.value);
2503
- if (onChange) {
2504
- onChange(opt.value);
2505
- } else {
2506
- console.log("onChange was not provided");
2507
- }
2508
- };
2509
- switch (design) {
2510
- case "tabs":
2511
- return /* @__PURE__ */ React9.createElement(
2512
- "ul",
2513
- {
2514
- ref: parentRef,
2515
- className: cn(
2516
- props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
2517
- "hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
2518
- orientationStyle[orientation],
2519
- widthStyle[width],
2520
- tabsContainerClassName
2521
- )
2522
- },
2523
- (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ React9.createElement(
2524
- "li",
2525
- {
2526
- "aria-current": "page",
2527
- onClick: () => handleChange(opt),
2528
- className: cn(
2529
- "hawa-w-full hawa-cursor-pointer ",
2530
- orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
2531
- orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
2532
- orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
2533
- tabSizeStyle[size],
2534
- "hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
2535
- selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
2536
- ),
2537
- key: o
2538
- },
2539
- opt.icon && opt.icon,
2540
- opt.label
2541
- ))
2542
- );
2543
- case "bordered":
2544
- return /* @__PURE__ */ React9.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ React9.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ React9.createElement(
2545
- "div",
2546
- {
2547
- className: cn(
2548
- "radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
2549
- props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
2550
- ),
2551
- key: i + 1
2552
- },
2553
- /* @__PURE__ */ React9.createElement(
2554
- "input",
2555
- {
2556
- disabled: opt.disabled,
2557
- id: opt.value.toString(),
2558
- type: "radio",
2559
- value: opt.value,
2560
- name,
2561
- onChange: () => handleChange(opt)
2562
- }
2563
- ),
2564
- /* @__PURE__ */ React9.createElement(
2565
- "label",
2566
- {
2567
- htmlFor: opt.value.toString(),
2568
- className: cn(
2569
- "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium hawa-text-black dark:hawa-text-white",
2570
- opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
2571
- )
2572
- },
2573
- opt.label
2574
- )
2575
- ))));
2576
- case "cards":
2577
- return /* @__PURE__ */ React9.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ React9.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ React9.createElement(
2578
- "input",
2579
- {
2580
- type: "radio",
2581
- id: opt.value.toString(),
2582
- name,
2583
- value: opt.value.toString(),
2584
- className: "hawa-peer hawa-hidden",
2585
- required: true,
2586
- disabled: opt.disabled
2587
- }
2588
- ), /* @__PURE__ */ React9.createElement(
2589
- "label",
2590
- {
2591
- htmlFor: opt.value.toString(),
2592
- className: cn(
2593
- "hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
2594
- opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
2595
- )
2596
- },
2597
- /* @__PURE__ */ React9.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ React9.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ React9.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
2598
- ))));
2599
- default:
2600
- return /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React9.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ React9.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ React9.createElement(
2601
- "div",
2602
- {
2603
- className: cn(
2604
- "radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
2605
- props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
2606
- ),
2607
- key: i + 1
2608
- },
2609
- /* @__PURE__ */ React9.createElement(
2610
- "input",
2611
- {
2612
- disabled: opt.disabled,
2613
- id: opt.value.toString(),
2614
- type: "radio",
2615
- value: opt.value,
2616
- name,
2617
- onChange: () => handleChange(opt)
2618
- }
2619
- ),
2620
- /* @__PURE__ */ React9.createElement(
2621
- "label",
2622
- {
2623
- htmlFor: opt.value.toString(),
2624
- className: cn(
2625
- "hawa-text-sm hawa-font-medium dark:hawa-text-white",
2626
- opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
2627
- )
2628
- },
2629
- opt.label
2630
- )
2631
- ))), /* @__PURE__ */ React9.createElement(
2632
- "p",
2633
- {
2634
- className: cn(
2635
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
2636
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
2637
- )
2638
- },
2639
- props.helperText
2640
- ));
2641
- }
2642
- };
2643
-
2644
- // elements/textarea/Textarea.tsx
2645
- import * as React10 from "react";
2646
- var Textarea = React10.forwardRef(
2647
- ({
2648
- className,
2649
- classNames,
2650
- labelProps,
2651
- showCount,
2652
- forceHideHelperText,
2653
- textareaProps,
2654
- countPosition = "bottom",
2655
- isLoading,
2656
- ...props
2657
- }, ref) => {
2658
- return /* @__PURE__ */ React10.createElement(
2659
- "div",
2660
- {
2661
- className: cn(
2662
- "textarea-main hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col",
2663
- !forceHideHelperText && "hawa-gap-2",
2664
- className
2665
- )
2666
- },
2667
- /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React10.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React10.createElement(
2668
- "div",
2669
- {
2670
- className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none"
2671
- },
2672
- (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0,
2673
- "/",
2674
- textareaProps == null ? void 0 : textareaProps.maxLength
2675
- )),
2676
- isLoading ? /* @__PURE__ */ React10.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React10.createElement(
2677
- "textarea",
2678
- {
2679
- className: cn(
2680
- "hawa-flex hawa-min-h-[40px] hawa-h-[40px] hawa-w-full hawa-rounded-md hawa-border hawa-border-input hawa-bg-background hawa-px-3 hawa-py-2 hawa-text-sm hawa-ring-offset-background placeholder:hawa-text-gray-400 placeholder:hawa-text-muted-foreground focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
2681
- classNames == null ? void 0 : classNames.textarea
2682
- ),
2683
- ref,
2684
- ...textareaProps
2685
- }
2686
- ),
2687
- /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React10.createElement(
2688
- "p",
2689
- {
2690
- className: cn(
2691
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
2692
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
2693
- )
2694
- },
2695
- props.helperText
2696
- ), showCount && countPosition === "bottom" && /* @__PURE__ */ React10.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength))
2697
- );
2698
- }
2699
- );
2700
- Textarea.displayName = "Textarea";
2701
-
2702
- // elements/popover/Popover.tsx
2703
- import * as React11 from "react";
2704
- import * as PopoverPrimitive from "@radix-ui/react-popover";
2705
- var PopoverContent = React11.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React11.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React11.createElement(
2706
- PopoverPrimitive.Content,
2707
- {
2708
- ref,
2709
- align,
2710
- sideOffset,
2711
- className: cn(
2712
- "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
2713
- className
2714
- ),
2715
- ...props
2716
- }
2717
- )));
2718
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
2719
- var Popover = ({
2720
- trigger,
2721
- children,
2722
- className,
2723
- align = "center",
2724
- side,
2725
- sideOffset = 4,
2726
- open,
2727
- width = "default",
2728
- disableTrigger,
2729
- contentProps,
2730
- triggerProps,
2731
- ...props
2732
- }) => {
2733
- let widthStyles = {
2734
- trigger: "var(--radix-popover-trigger-width)",
2735
- default: "auto"
2736
- };
2737
- return /* @__PURE__ */ React11.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React11.createElement(
2738
- PopoverPrimitive.Trigger,
2739
- {
2740
- className: "hawa-w-full",
2741
- disabled: disableTrigger,
2742
- ...triggerProps
2743
- },
2744
- trigger
2745
- ), /* @__PURE__ */ React11.createElement(
2746
- PopoverContent,
2747
- {
2748
- side,
2749
- className,
2750
- align,
2751
- sideOffset,
2752
- style: {
2753
- width: widthStyles[width]
2754
- },
2755
- ...contentProps
2756
- },
2757
- children
2758
- ));
2759
- };
2760
- var PopoverTrigger = PopoverPrimitive.Trigger;
2761
-
2762
- // elements/scrollArea/ScrollArea.tsx
2763
- import * as React12 from "react";
2764
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2765
- var ScrollArea = React12.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React12.createElement(
2766
- ScrollAreaPrimitive.Root,
2767
- {
2768
- ref,
2769
- className: cn("hawa-relative hawa-overflow-hidden", className),
2770
- ...props
2771
- },
2772
- /* @__PURE__ */ React12.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
2773
- /* @__PURE__ */ React12.createElement(ScrollBar, { orientation }),
2774
- /* @__PURE__ */ React12.createElement(ScrollAreaPrimitive.Corner, null)
2775
- ));
2776
- ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
2777
- var ScrollBar = React12.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React12.createElement(
2778
- ScrollAreaPrimitive.ScrollAreaScrollbar,
2779
- {
2780
- ref,
2781
- orientation,
2782
- className: cn(
2783
- "hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors",
2784
- orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]",
2785
- orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]",
2786
- className
2787
- ),
2788
- ...props
2789
- },
2790
- /* @__PURE__ */ React12.createElement(
2791
- ScrollAreaPrimitive.ScrollAreaThumb,
2792
- {
2793
- className: cn(
2794
- "hawa-relative hawa-rounded-full hawa-bg-border",
2795
- orientation === "vertical" && "hawa-flex-1"
2796
- )
2797
- }
2798
- )
2799
- ));
2800
- ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2801
-
2802
- // elements/tabs/Tabs.tsx
2803
- import * as React13 from "react";
2804
- import * as TabsPrimitive from "@radix-ui/react-tabs";
2805
- var TabsContext = React13.createContext({ orientation: "vertical" });
2806
- var Tabs = React13.forwardRef(
2807
- ({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React13.createElement(
2808
- TabsPrimitive.Root,
2809
- {
2810
- ref,
2811
- className: cn(
2812
- "hawa-flex hawa-gap-2",
2813
- orientation === "vertical" ? "hawa-flex-row" : "hawa-flex-col",
2814
- className
2815
- ),
2816
- ...props
2817
- },
2818
- /* @__PURE__ */ React13.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
2819
- )
2820
- );
2821
- Tabs.displayName = TabsPrimitive.Root.displayName;
2822
- var TabsList = React13.forwardRef(({ className, ...props }, ref) => {
2823
- const { orientation } = React13.useContext(TabsContext);
2824
- return /* @__PURE__ */ React13.createElement(
2825
- TabsPrimitive.List,
2826
- {
2827
- ref,
2828
- className: cn(
2829
- "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-border hawa-bg-muted hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10",
2830
- orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
2831
- className
2832
- ),
2833
- ...props
2834
- }
2835
- );
2836
- });
2837
- TabsList.displayName = TabsPrimitive.List.displayName;
2838
- var TabsTrigger = React13.forwardRef(({ className, chipProps, ...props }, ref) => {
2839
- return /* @__PURE__ */ React13.createElement(
2840
- TabsPrimitive.Trigger,
2841
- {
2842
- ref,
2843
- className: cn(
2844
- "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-border hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground data-[state=active]:hawa-shadow-sm dark:hawa-border-primary/10",
2845
- className
2846
- ),
2847
- ...props
2848
- },
2849
- props.children,
2850
- chipProps && /* @__PURE__ */ React13.createElement(Chip, { ...chipProps })
2851
- );
2852
- });
2853
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2854
- var TabsContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
2855
- TabsPrimitive.Content,
2856
- {
2857
- ref,
2858
- className: cn(
2859
- "hawa-ring-offset-hawa-background hawa-w-full focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2",
2860
- className
2861
- ),
2862
- ...props
2863
- }
2864
- ));
2865
- TabsContent.displayName = TabsPrimitive.Content.displayName;
2866
-
2867
- // elements/separator/Separator.tsx
2868
- import * as React14 from "react";
2869
- var Separator = ({
2870
- className,
2871
- orientation = "horizontal",
2872
- ...props
2873
- }) => /* @__PURE__ */ React14.createElement(
2874
- "div",
2875
- {
2876
- className: cn(
2877
- "hawa-shrink-0 hawa-bg-border",
2878
- orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]",
2879
- className
2880
- ),
2881
- ...props
2882
- }
2883
- );
2884
-
2885
- // elements/progress/Progress.tsx
2886
- import * as React15 from "react";
2887
- import * as ProgressPrimitive from "@radix-ui/react-progress";
2888
- var Progress = React15.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React15.createElement(
2889
- ProgressPrimitive.Root,
2890
- {
2891
- ref,
2892
- className: cn(
2893
- "hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary",
2894
- className
2895
- ),
2896
- ...props
2897
- },
2898
- /* @__PURE__ */ React15.createElement(
2899
- ProgressPrimitive.Indicator,
2900
- {
2901
- className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
2902
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
2903
- }
2904
- )
2905
- ));
2906
- Progress.displayName = ProgressPrimitive.Root.displayName;
2907
-
2908
- // icons/Emojis.tsx
2909
- import React16 from "react";
2910
- var VeryGoodEmoji = () => /* @__PURE__ */ React16.createElement(
2911
- "svg",
2912
- {
2913
- fill: "none",
2914
- height: "16",
2915
- viewBox: "0 0 16 16",
2916
- width: "16",
2917
- xmlns: "http://www.w3.org/2000/svg"
2918
- },
2919
- /* @__PURE__ */ React16.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React16.createElement(
2920
- "path",
2921
- {
2922
- clipRule: "evenodd",
2923
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
2924
- fill: "currentColor",
2925
- fillRule: "evenodd"
2926
- }
2927
- ), /* @__PURE__ */ React16.createElement(
2928
- "path",
2929
- {
2930
- clipRule: "evenodd",
2931
- d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
2932
- fill: "#FF990A",
2933
- fillRule: "evenodd"
2934
- }
2935
- ))
2936
- );
2937
- var GoodEmoji = () => /* @__PURE__ */ React16.createElement(
2938
- "svg",
2939
- {
2940
- fill: "none",
2941
- height: "16",
2942
- viewBox: "0 0 16 16",
2943
- width: "16",
2944
- xmlns: "http://www.w3.org/2000/svg"
2945
- },
2946
- /* @__PURE__ */ React16.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React16.createElement(
2947
- "path",
2948
- {
2949
- clipRule: "evenodd",
2950
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
2951
- fill: "currentColor",
2952
- fillRule: "evenodd"
2953
- }
2954
- ))
2955
- );
2956
- var BadEmoji = () => /* @__PURE__ */ React16.createElement(
2957
- "svg",
2958
- {
2959
- fill: "none",
2960
- height: "16",
2961
- viewBox: "0 0 16 16",
2962
- width: "16",
2963
- xmlns: "http://www.w3.org/2000/svg"
2964
- },
2965
- /* @__PURE__ */ React16.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React16.createElement(
2966
- "path",
2967
- {
2968
- clipRule: "evenodd",
2969
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
2970
- fill: "currentColor",
2971
- fillRule: "evenodd"
2972
- }
2973
- ))
2974
- );
2975
- var VeryBadEmoji = () => /* @__PURE__ */ React16.createElement(
2976
- "svg",
2977
- {
2978
- fill: "none",
2979
- height: "16",
2980
- viewBox: "0 0 16 16",
2981
- width: "16",
2982
- xmlns: "http://www.w3.org/2000/svg"
2983
- },
2984
- /* @__PURE__ */ React16.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React16.createElement(
2985
- "path",
2986
- {
2987
- d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
2988
- fill: "#0070F3"
2989
- }
2990
- ), /* @__PURE__ */ React16.createElement(
2991
- "path",
2992
- {
2993
- clipRule: "evenodd",
2994
- d: "M8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 10.9668 3.48826 13.4711 6.20649 14.2496L5.79351 15.6916C2.44895 14.7338 0 11.6539 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 9.4652 15.6054 10.8405 14.9162 12.023L13.6203 11.2677C14.1794 10.3083 14.5 9.19272 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
2995
- fill: "currentColor",
2996
- fillRule: "evenodd"
2997
- }
2998
- ))
2999
- );
3000
-
3001
- // icons/InputIcons.tsx
3002
- import React17 from "react";
3003
- var EyeIcon = (props) => /* @__PURE__ */ React17.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React17.createElement(
3004
- "svg",
3005
- {
3006
- xmlns: "http://www.w3.org/2000/svg",
3007
- viewBox: "0 0 24 24",
3008
- fill: "none",
3009
- stroke: "currentColor",
3010
- strokeWidth: "2",
3011
- strokeLinecap: "round",
3012
- strokeLinejoin: "round"
3013
- },
3014
- /* @__PURE__ */ React17.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3015
- /* @__PURE__ */ React17.createElement("circle", { cx: "12", cy: "12", r: "3" })
3016
- ));
3017
- var HiddenEyeIcon = (props) => /* @__PURE__ */ React17.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React17.createElement(
3018
- "svg",
3019
- {
3020
- xmlns: "http://www.w3.org/2000/svg",
3021
- viewBox: "0 0 24 24",
3022
- fill: "none",
3023
- stroke: "currentColor",
3024
- strokeWidth: "2",
3025
- strokeLinecap: "round",
3026
- strokeLinejoin: "round"
3027
- },
3028
- /* @__PURE__ */ React17.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
3029
- /* @__PURE__ */ React17.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
3030
- /* @__PURE__ */ React17.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
3031
- /* @__PURE__ */ React17.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
3032
- ));
3033
-
3034
- // icons/CommonIcons.tsx
3035
- import React18 from "react";
3036
- var CheckMark = ({ size = "default", className }) => {
3037
- let sizeStyles = {
3038
- default: "hawa-h-5 hawa-w-5",
3039
- sm: "hawa-h-3 hawa-w-3"
3040
- };
3041
- return /* @__PURE__ */ React18.createElement(
3042
- "svg",
3043
- {
3044
- className: cn(sizeStyles[size], className),
3045
- "aria-hidden": "true",
3046
- fill: "currentColor",
3047
- viewBox: "0 0 20 20"
3048
- },
3049
- /* @__PURE__ */ React18.createElement(
3050
- "path",
3051
- {
3052
- fillRule: "evenodd",
3053
- d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
3054
- clipRule: "evenodd"
3055
- }
3056
- )
3057
- );
3058
- };
3059
- var UncheckMark = ({ size = "default", className }) => {
3060
- let sizeStyles = {
3061
- default: "hawa-h-5 hawa-w-5",
3062
- sm: "hawa-h-3 hawa-w-3"
3063
- };
3064
- return /* @__PURE__ */ React18.createElement(
3065
- "svg",
3066
- {
3067
- className: cn(sizeStyles[size], className),
3068
- "aria-hidden": "true",
3069
- fill: "currentColor",
3070
- viewBox: "0 0 20 20"
3071
- },
3072
- /* @__PURE__ */ React18.createElement(
3073
- "path",
3074
- {
3075
- fillRule: "evenodd",
3076
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
3077
- clipRule: "evenodd"
3078
- }
3079
- )
3080
- );
3081
- };
3082
-
3083
- export {
3084
- Alert,
3085
- Label,
3086
- Input,
3087
- Select,
3088
- PhoneInput,
3089
- VeryGoodEmoji,
3090
- GoodEmoji,
3091
- BadEmoji,
3092
- VeryBadEmoji,
3093
- EyeIcon,
3094
- HiddenEyeIcon,
3095
- CheckMark,
3096
- UncheckMark,
3097
- Checkbox,
3098
- StopPropagationWrapper,
3099
- PinInput,
3100
- Radio,
3101
- Textarea,
3102
- PopoverContent,
3103
- Popover,
3104
- PopoverTrigger,
3105
- ScrollArea,
3106
- ScrollBar,
3107
- Tabs,
3108
- TabsList,
3109
- TabsTrigger,
3110
- TabsContent,
3111
- Separator,
3112
- Progress
3113
- };