@wello-dev/core 1.0.3 → 1.0.5

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 (268) hide show
  1. package/dist/{chunk-DZZFNE3T.js → chunk-2A6MTZBO.js} +4 -4
  2. package/dist/{chunk-JULZQR53.js → chunk-2GM6477D.js} +4 -4
  3. package/dist/{chunk-ISMMMDVN.js → chunk-2WIGWLPL.js} +4 -4
  4. package/dist/{chunk-HTVCNO6D.js → chunk-3E3X5RLN.js} +4 -4
  5. package/dist/{chunk-BDCHO6UH.js → chunk-3NXEX2BT.js} +4 -4
  6. package/dist/{chunk-MT2ORIYR.js → chunk-3Z5OAUG3.js} +6 -6
  7. package/dist/{chunk-SUOKYV33.js → chunk-4L4RMGVI.js} +5 -5
  8. package/dist/{chunk-4US3CQBQ.js → chunk-4QBFXTYH.js} +2 -2
  9. package/dist/{chunk-PN2YIL6X.js → chunk-52P4CIAK.js} +2 -2
  10. package/dist/{chunk-GTD4FTYZ.js → chunk-57ZKN6G3.js} +4 -4
  11. package/dist/{chunk-CR2NHBTR.js → chunk-5BD5JJVJ.js} +3 -3
  12. package/dist/{chunk-PFKEUV6H.js → chunk-5N3F6CKC.js} +4 -4
  13. package/dist/{chunk-DNWNM4V5.js → chunk-5SQC5LKY.js} +3 -3
  14. package/dist/{chunk-72BHT4LF.js → chunk-5XXK7KQE.js} +6 -6
  15. package/dist/{chunk-2RUM3LAM.js → chunk-62UUESHU.js} +4 -4
  16. package/dist/{chunk-WLBEONY6.js → chunk-63PSLIW5.js} +7 -7
  17. package/dist/{chunk-CWY52RBD.js → chunk-7GLDYLJ6.js} +3 -3
  18. package/dist/{chunk-BEGWA5VF.js → chunk-7JGIQGZP.js} +4 -4
  19. package/dist/{chunk-L42RFJ2M.js → chunk-7KIXQ2XG.js} +6 -6
  20. package/dist/{chunk-VNFSDED4.js → chunk-7PTDAI65.js} +4 -4
  21. package/dist/{chunk-NGL6LF6N.js → chunk-7S7RIVCI.js} +5 -5
  22. package/dist/{chunk-CDW7N4AN.js → chunk-APTAGITO.js} +4 -4
  23. package/dist/{chunk-HJVSWVIF.js → chunk-B3LVDQJU.js} +4 -4
  24. package/dist/{chunk-UEUYG4I3.js → chunk-BVGYS3NN.js} +6 -6
  25. package/dist/{chunk-FE7FV5RC.js → chunk-BZ222ZYD.js} +4 -4
  26. package/dist/{chunk-3BHZGA6W.js → chunk-CGR72YL6.js} +6 -6
  27. package/dist/{chunk-LBVEHQSM.js → chunk-COAMHU2N.js} +7 -7
  28. package/dist/{chunk-QBC6SDBH.js → chunk-CVIHRO4Q.js} +4 -4
  29. package/dist/{chunk-X7G4K53Y.js → chunk-DCC7EE67.js} +2 -2
  30. package/dist/{chunk-ZOARZOEE.js → chunk-DHAMBKCR.js} +4 -4
  31. package/dist/{chunk-P6UFGXBS.js → chunk-DJR6BSCZ.js} +3 -3
  32. package/dist/{chunk-UYZYNUHV.js → chunk-DZ7HIMJ5.js} +26 -10
  33. package/dist/chunk-DZ7HIMJ5.js.map +1 -0
  34. package/dist/{chunk-DJOL6H2F.js → chunk-E2765LHX.js} +4 -4
  35. package/dist/{chunk-733IBCOF.js → chunk-E74HEMFS.js} +4 -4
  36. package/dist/{chunk-GOUDPDWV.js → chunk-ECFQDEFL.js} +5 -5
  37. package/dist/{chunk-L6J2OM3L.js → chunk-EJ7ZXISQ.js} +3 -3
  38. package/dist/{chunk-IFE7QHRN.js → chunk-F2FJLMJF.js} +5 -5
  39. package/dist/{chunk-FD47ZYZC.js → chunk-FIAJMBSD.js} +19 -3
  40. package/dist/chunk-FIAJMBSD.js.map +1 -0
  41. package/dist/{chunk-X5BSDJID.js → chunk-FR7TZXY3.js} +2 -2
  42. package/dist/{chunk-NOH3TQ4D.js → chunk-GGRLDV5L.js} +4 -4
  43. package/dist/{chunk-O2WLHCV3.js → chunk-GKBBDYNB.js} +4 -4
  44. package/dist/{chunk-6CW6GP3R.js → chunk-GSLJSEUI.js} +5 -5
  45. package/dist/{chunk-Z2YAWE47.js → chunk-H4D7LXZL.js} +2 -2
  46. package/dist/{chunk-PUB2EEND.js → chunk-HESG7OWV.js} +4 -4
  47. package/dist/{chunk-Z4RC6VEN.js → chunk-HGYIOR5F.js} +8 -8
  48. package/dist/{chunk-H7JTY3KG.js → chunk-HSJ27BGL.js} +4 -4
  49. package/dist/{chunk-SVW4PGXZ.js → chunk-IK562BNJ.js} +2 -1
  50. package/dist/chunk-IK562BNJ.js.map +1 -0
  51. package/dist/{chunk-Z6ICZOPQ.js → chunk-JJXJXOZ7.js} +5 -5
  52. package/dist/{chunk-DSB2LJ6C.js → chunk-JZJ5R7XW.js} +5 -5
  53. package/dist/{chunk-U5L4N6I4.js → chunk-KNN75VAT.js} +4 -4
  54. package/dist/{chunk-KLPE3VVW.js → chunk-KPWAEDRU.js} +6 -6
  55. package/dist/{chunk-CKMQASED.js → chunk-L2V4OD4Q.js} +4 -4
  56. package/dist/{chunk-OHWHQ6XW.js → chunk-L5MO7VKZ.js} +4 -4
  57. package/dist/{chunk-2X5FFBSJ.js → chunk-MO6GW5AX.js} +4 -4
  58. package/dist/{chunk-5H65TSPL.js → chunk-MWYGXAJQ.js} +4 -4
  59. package/dist/{chunk-RGIFDATB.js → chunk-N7T45HQC.js} +9 -9
  60. package/dist/chunk-N7T45HQC.js.map +1 -0
  61. package/dist/{chunk-K4A2K7BZ.js → chunk-NOYSHU5U.js} +4 -4
  62. package/dist/{chunk-RXCMM3CW.js → chunk-NVAE2R5E.js} +4 -4
  63. package/dist/{chunk-IMLWKUCJ.js → chunk-NZQI4WL5.js} +6 -6
  64. package/dist/{chunk-QVV44ZD4.js → chunk-QFN4MBT2.js} +4 -4
  65. package/dist/{chunk-R7JHVYVG.js → chunk-QHJMXGDE.js} +4 -4
  66. package/dist/{chunk-UHG6UFVC.js → chunk-QIS6W7Q6.js} +4 -4
  67. package/dist/{chunk-F4OMXH3E.js → chunk-QSFXOVRL.js} +5 -5
  68. package/dist/{chunk-F4OMXH3E.js.map → chunk-QSFXOVRL.js.map} +1 -1
  69. package/dist/{chunk-TN5SXVSE.js → chunk-R3H3IYNM.js} +2 -2
  70. package/dist/{chunk-ABMECAUS.js → chunk-RJK6AQEW.js} +4 -4
  71. package/dist/{chunk-IQSYVFOY.js → chunk-SIZ7G2KD.js} +3 -3
  72. package/dist/{chunk-WTLFHZ57.js → chunk-SJBYDDDD.js} +59 -22
  73. package/dist/chunk-SJBYDDDD.js.map +1 -0
  74. package/dist/{chunk-JPJVBAIH.js → chunk-TIVOXLDX.js} +4 -4
  75. package/dist/{chunk-JPJVBAIH.js.map → chunk-TIVOXLDX.js.map} +1 -1
  76. package/dist/{chunk-4YJIHKKS.js → chunk-TIZEUZHC.js} +4 -4
  77. package/dist/{chunk-JZ6ELH2V.js → chunk-TVOR2RGE.js} +4 -4
  78. package/dist/{chunk-XNI4OQ3T.js → chunk-TWM6DSH4.js} +2 -2
  79. package/dist/{chunk-KQ4GKCTA.js → chunk-UAEHGDZX.js} +3 -3
  80. package/dist/{chunk-IOU3HQDO.js → chunk-ULMVA37U.js} +4 -4
  81. package/dist/{chunk-NA64PNKX.js → chunk-UYKK6PVB.js} +5 -5
  82. package/dist/{chunk-F7EQPL6N.js → chunk-VIO22OUP.js} +5 -5
  83. package/dist/{chunk-PHVD4HWN.js → chunk-VNM5TVQZ.js} +6 -6
  84. package/dist/chunk-X7WXW6AV.js +206 -0
  85. package/dist/chunk-X7WXW6AV.js.map +1 -0
  86. package/dist/{chunk-3QR5FZWN.js → chunk-XAHR3DK7.js} +4 -4
  87. package/dist/{chunk-GZAMLRD4.js → chunk-YFBYWNYF.js} +6 -6
  88. package/dist/{chunk-B7SEAJUZ.js → chunk-YQOS23WP.js} +3 -3
  89. package/dist/{chunk-DAPHWP42.js → chunk-YTH2T5E4.js} +6 -6
  90. package/dist/{chunk-VNIR2LZ5.js → chunk-YTI5AZL4.js} +5 -5
  91. package/dist/{chunk-2QS3KCRK.js → chunk-ZJZUNSCO.js} +4 -4
  92. package/dist/{chunk-AGVNLPLN.js → chunk-ZMR3K4MX.js} +4 -4
  93. package/dist/{chunk-FAQMYDMP.js → chunk-ZTOAB4HM.js} +6 -6
  94. package/dist/{chunk-J67OXWXG.js → chunk-ZVXCVBC4.js} +2 -2
  95. package/dist/components/Accordion/Accordion.js +6 -6
  96. package/dist/components/ActionIcon/ActionIcon.js +6 -6
  97. package/dist/components/Alert/Alert.js +8 -8
  98. package/dist/components/Anchor/Anchor.js +5 -5
  99. package/dist/components/Avatar/Avatar.js +4 -4
  100. package/dist/components/Badge/Badge.js +4 -4
  101. package/dist/components/Blockquote/Blockquote.js +4 -4
  102. package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -4
  103. package/dist/components/Burger/Burger.js +5 -5
  104. package/dist/components/Button/Button.js +6 -6
  105. package/dist/components/Card/Card.js +4 -4
  106. package/dist/components/Carousel/Carousel.js +4 -4
  107. package/dist/components/Center/Center.js +4 -4
  108. package/dist/components/Checkbox/Checkbox.js +9 -9
  109. package/dist/components/Chip/Chip.js +4 -4
  110. package/dist/components/CloseButton/CloseButton.js +7 -7
  111. package/dist/components/Code/Code.js +4 -4
  112. package/dist/components/Collapse/Collapse.js +4 -4
  113. package/dist/components/ColorPicker/ColorInput.js +15 -15
  114. package/dist/components/ColorPicker/ColorPicker.js +5 -5
  115. package/dist/components/Combobox/Combobox.js +12 -12
  116. package/dist/components/Combobox/Pill.js +9 -9
  117. package/dist/components/Combobox/Select.js +16 -16
  118. package/dist/components/Combobox/TagsInput.js +16 -16
  119. package/dist/components/Container/Container.js +4 -4
  120. package/dist/components/CopyButton/CopyButton.js +3 -3
  121. package/dist/components/Dialog/Dialog.js +10 -10
  122. package/dist/components/Divider/Divider.js +4 -4
  123. package/dist/components/Dropzone/Dropzone.js +14 -14
  124. package/dist/components/EmptyState/EmptyState.js +4 -4
  125. package/dist/components/Field/Field.js +9 -9
  126. package/dist/components/FileButton/FileButton.js +3 -3
  127. package/dist/components/Flex/Flex.js +4 -4
  128. package/dist/components/Grid/Grid.js +4 -4
  129. package/dist/components/Group/Group.js +4 -4
  130. package/dist/components/Image/Image.js +4 -4
  131. package/dist/components/Indicator/Indicator.js +4 -4
  132. package/dist/components/Input/Input.js +8 -8
  133. package/dist/components/List/List.js +4 -4
  134. package/dist/components/Loader/Loader.js +4 -4
  135. package/dist/components/Menu/Menu.js +9 -9
  136. package/dist/components/Modal/Drawer.js +12 -12
  137. package/dist/components/Modal/Modal.js +12 -12
  138. package/dist/components/Modal/ModalBase.js +11 -11
  139. package/dist/components/NavLink/NavLink.js +6 -6
  140. package/dist/components/Notification/Notification.js +8 -8
  141. package/dist/components/NumberFormatter/NumberFormatter.js +3 -3
  142. package/dist/components/Overlay/Overlay.js +6 -6
  143. package/dist/components/Pagination/Pagination.js +5 -5
  144. package/dist/components/Paper/Paper.js +4 -4
  145. package/dist/components/PhoneInput/PhoneInput.js +22 -18
  146. package/dist/components/PinInput/PinInput.js +4 -4
  147. package/dist/components/Popover/Popover.js +7 -7
  148. package/dist/components/Portal/Portal.js +3 -3
  149. package/dist/components/Progress/Progress.js +4 -4
  150. package/dist/components/RingProgress/RingProgress.js +4 -4
  151. package/dist/components/ScrollArea/ScrollArea.js +4 -4
  152. package/dist/components/SimpleGrid/SimpleGrid.js +4 -4
  153. package/dist/components/Skeleton/Skeleton.js +4 -4
  154. package/dist/components/Slider/Slider.js +4 -4
  155. package/dist/components/Spoiler/Spoiler.js +6 -6
  156. package/dist/components/Stack/Stack.js +4 -4
  157. package/dist/components/Stepper/Stepper.js +6 -6
  158. package/dist/components/Table/Table.js +4 -4
  159. package/dist/components/Tabs/Tabs.js +5 -5
  160. package/dist/components/Text/Text.js +4 -4
  161. package/dist/components/TextInput/TextInput.js +10 -10
  162. package/dist/components/ThemeIcon/ThemeIcon.js +4 -4
  163. package/dist/components/ThemeToggle/ThemeToggle.js +7 -7
  164. package/dist/components/Timeline/Timeline.js +4 -4
  165. package/dist/components/Title/Title.js +4 -4
  166. package/dist/components/Toggle/Toggle.js +5 -5
  167. package/dist/components/Tooltip/Tooltip.js +7 -7
  168. package/dist/components/Transition/Transition.js +3 -3
  169. package/dist/components/Typography/Typography.js +4 -4
  170. package/dist/components/UnstyledButton/UnstyledButton.js +4 -4
  171. package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -3
  172. package/dist/core/index.js +4 -4
  173. package/dist/index.cjs +187 -101
  174. package/dist/index.cjs.map +1 -1
  175. package/dist/index.d.cts +17 -1
  176. package/dist/index.d.ts +17 -1
  177. package/dist/index.js +120 -116
  178. package/dist/shadcn/Command.js +16 -16
  179. package/dist/shadcn/Dialog.js +15 -15
  180. package/dist/shadcn/Floating.js +11 -11
  181. package/dist/shadcn/Parts.js +7 -7
  182. package/dist/styles.css +207 -22
  183. package/package.json +1 -1
  184. package/dist/chunk-FD47ZYZC.js.map +0 -1
  185. package/dist/chunk-RGIFDATB.js.map +0 -1
  186. package/dist/chunk-SVW4PGXZ.js.map +0 -1
  187. package/dist/chunk-TVQLZTJP.js +0 -192
  188. package/dist/chunk-TVQLZTJP.js.map +0 -1
  189. package/dist/chunk-UYZYNUHV.js.map +0 -1
  190. package/dist/chunk-WTLFHZ57.js.map +0 -1
  191. /package/dist/{chunk-DZZFNE3T.js.map → chunk-2A6MTZBO.js.map} +0 -0
  192. /package/dist/{chunk-JULZQR53.js.map → chunk-2GM6477D.js.map} +0 -0
  193. /package/dist/{chunk-ISMMMDVN.js.map → chunk-2WIGWLPL.js.map} +0 -0
  194. /package/dist/{chunk-HTVCNO6D.js.map → chunk-3E3X5RLN.js.map} +0 -0
  195. /package/dist/{chunk-BDCHO6UH.js.map → chunk-3NXEX2BT.js.map} +0 -0
  196. /package/dist/{chunk-MT2ORIYR.js.map → chunk-3Z5OAUG3.js.map} +0 -0
  197. /package/dist/{chunk-SUOKYV33.js.map → chunk-4L4RMGVI.js.map} +0 -0
  198. /package/dist/{chunk-4US3CQBQ.js.map → chunk-4QBFXTYH.js.map} +0 -0
  199. /package/dist/{chunk-PN2YIL6X.js.map → chunk-52P4CIAK.js.map} +0 -0
  200. /package/dist/{chunk-GTD4FTYZ.js.map → chunk-57ZKN6G3.js.map} +0 -0
  201. /package/dist/{chunk-CR2NHBTR.js.map → chunk-5BD5JJVJ.js.map} +0 -0
  202. /package/dist/{chunk-PFKEUV6H.js.map → chunk-5N3F6CKC.js.map} +0 -0
  203. /package/dist/{chunk-DNWNM4V5.js.map → chunk-5SQC5LKY.js.map} +0 -0
  204. /package/dist/{chunk-72BHT4LF.js.map → chunk-5XXK7KQE.js.map} +0 -0
  205. /package/dist/{chunk-2RUM3LAM.js.map → chunk-62UUESHU.js.map} +0 -0
  206. /package/dist/{chunk-WLBEONY6.js.map → chunk-63PSLIW5.js.map} +0 -0
  207. /package/dist/{chunk-CWY52RBD.js.map → chunk-7GLDYLJ6.js.map} +0 -0
  208. /package/dist/{chunk-BEGWA5VF.js.map → chunk-7JGIQGZP.js.map} +0 -0
  209. /package/dist/{chunk-L42RFJ2M.js.map → chunk-7KIXQ2XG.js.map} +0 -0
  210. /package/dist/{chunk-VNFSDED4.js.map → chunk-7PTDAI65.js.map} +0 -0
  211. /package/dist/{chunk-NGL6LF6N.js.map → chunk-7S7RIVCI.js.map} +0 -0
  212. /package/dist/{chunk-CDW7N4AN.js.map → chunk-APTAGITO.js.map} +0 -0
  213. /package/dist/{chunk-HJVSWVIF.js.map → chunk-B3LVDQJU.js.map} +0 -0
  214. /package/dist/{chunk-UEUYG4I3.js.map → chunk-BVGYS3NN.js.map} +0 -0
  215. /package/dist/{chunk-FE7FV5RC.js.map → chunk-BZ222ZYD.js.map} +0 -0
  216. /package/dist/{chunk-3BHZGA6W.js.map → chunk-CGR72YL6.js.map} +0 -0
  217. /package/dist/{chunk-LBVEHQSM.js.map → chunk-COAMHU2N.js.map} +0 -0
  218. /package/dist/{chunk-QBC6SDBH.js.map → chunk-CVIHRO4Q.js.map} +0 -0
  219. /package/dist/{chunk-X7G4K53Y.js.map → chunk-DCC7EE67.js.map} +0 -0
  220. /package/dist/{chunk-ZOARZOEE.js.map → chunk-DHAMBKCR.js.map} +0 -0
  221. /package/dist/{chunk-P6UFGXBS.js.map → chunk-DJR6BSCZ.js.map} +0 -0
  222. /package/dist/{chunk-DJOL6H2F.js.map → chunk-E2765LHX.js.map} +0 -0
  223. /package/dist/{chunk-733IBCOF.js.map → chunk-E74HEMFS.js.map} +0 -0
  224. /package/dist/{chunk-GOUDPDWV.js.map → chunk-ECFQDEFL.js.map} +0 -0
  225. /package/dist/{chunk-L6J2OM3L.js.map → chunk-EJ7ZXISQ.js.map} +0 -0
  226. /package/dist/{chunk-IFE7QHRN.js.map → chunk-F2FJLMJF.js.map} +0 -0
  227. /package/dist/{chunk-X5BSDJID.js.map → chunk-FR7TZXY3.js.map} +0 -0
  228. /package/dist/{chunk-NOH3TQ4D.js.map → chunk-GGRLDV5L.js.map} +0 -0
  229. /package/dist/{chunk-O2WLHCV3.js.map → chunk-GKBBDYNB.js.map} +0 -0
  230. /package/dist/{chunk-6CW6GP3R.js.map → chunk-GSLJSEUI.js.map} +0 -0
  231. /package/dist/{chunk-Z2YAWE47.js.map → chunk-H4D7LXZL.js.map} +0 -0
  232. /package/dist/{chunk-PUB2EEND.js.map → chunk-HESG7OWV.js.map} +0 -0
  233. /package/dist/{chunk-Z4RC6VEN.js.map → chunk-HGYIOR5F.js.map} +0 -0
  234. /package/dist/{chunk-H7JTY3KG.js.map → chunk-HSJ27BGL.js.map} +0 -0
  235. /package/dist/{chunk-Z6ICZOPQ.js.map → chunk-JJXJXOZ7.js.map} +0 -0
  236. /package/dist/{chunk-DSB2LJ6C.js.map → chunk-JZJ5R7XW.js.map} +0 -0
  237. /package/dist/{chunk-U5L4N6I4.js.map → chunk-KNN75VAT.js.map} +0 -0
  238. /package/dist/{chunk-KLPE3VVW.js.map → chunk-KPWAEDRU.js.map} +0 -0
  239. /package/dist/{chunk-CKMQASED.js.map → chunk-L2V4OD4Q.js.map} +0 -0
  240. /package/dist/{chunk-OHWHQ6XW.js.map → chunk-L5MO7VKZ.js.map} +0 -0
  241. /package/dist/{chunk-2X5FFBSJ.js.map → chunk-MO6GW5AX.js.map} +0 -0
  242. /package/dist/{chunk-5H65TSPL.js.map → chunk-MWYGXAJQ.js.map} +0 -0
  243. /package/dist/{chunk-K4A2K7BZ.js.map → chunk-NOYSHU5U.js.map} +0 -0
  244. /package/dist/{chunk-RXCMM3CW.js.map → chunk-NVAE2R5E.js.map} +0 -0
  245. /package/dist/{chunk-IMLWKUCJ.js.map → chunk-NZQI4WL5.js.map} +0 -0
  246. /package/dist/{chunk-QVV44ZD4.js.map → chunk-QFN4MBT2.js.map} +0 -0
  247. /package/dist/{chunk-R7JHVYVG.js.map → chunk-QHJMXGDE.js.map} +0 -0
  248. /package/dist/{chunk-UHG6UFVC.js.map → chunk-QIS6W7Q6.js.map} +0 -0
  249. /package/dist/{chunk-TN5SXVSE.js.map → chunk-R3H3IYNM.js.map} +0 -0
  250. /package/dist/{chunk-ABMECAUS.js.map → chunk-RJK6AQEW.js.map} +0 -0
  251. /package/dist/{chunk-IQSYVFOY.js.map → chunk-SIZ7G2KD.js.map} +0 -0
  252. /package/dist/{chunk-4YJIHKKS.js.map → chunk-TIZEUZHC.js.map} +0 -0
  253. /package/dist/{chunk-JZ6ELH2V.js.map → chunk-TVOR2RGE.js.map} +0 -0
  254. /package/dist/{chunk-XNI4OQ3T.js.map → chunk-TWM6DSH4.js.map} +0 -0
  255. /package/dist/{chunk-KQ4GKCTA.js.map → chunk-UAEHGDZX.js.map} +0 -0
  256. /package/dist/{chunk-IOU3HQDO.js.map → chunk-ULMVA37U.js.map} +0 -0
  257. /package/dist/{chunk-NA64PNKX.js.map → chunk-UYKK6PVB.js.map} +0 -0
  258. /package/dist/{chunk-F7EQPL6N.js.map → chunk-VIO22OUP.js.map} +0 -0
  259. /package/dist/{chunk-PHVD4HWN.js.map → chunk-VNM5TVQZ.js.map} +0 -0
  260. /package/dist/{chunk-3QR5FZWN.js.map → chunk-XAHR3DK7.js.map} +0 -0
  261. /package/dist/{chunk-GZAMLRD4.js.map → chunk-YFBYWNYF.js.map} +0 -0
  262. /package/dist/{chunk-B7SEAJUZ.js.map → chunk-YQOS23WP.js.map} +0 -0
  263. /package/dist/{chunk-DAPHWP42.js.map → chunk-YTH2T5E4.js.map} +0 -0
  264. /package/dist/{chunk-VNIR2LZ5.js.map → chunk-YTI5AZL4.js.map} +0 -0
  265. /package/dist/{chunk-2QS3KCRK.js.map → chunk-ZJZUNSCO.js.map} +0 -0
  266. /package/dist/{chunk-AGVNLPLN.js.map → chunk-ZMR3K4MX.js.map} +0 -0
  267. /package/dist/{chunk-FAQMYDMP.js.map → chunk-ZTOAB4HM.js.map} +0 -0
  268. /package/dist/{chunk-J67OXWXG.js.map → chunk-ZVXCVBC4.js.map} +0 -0
package/dist/index.cjs CHANGED
@@ -377,9 +377,11 @@ __export(index_exports, {
377
377
  localStorageColorSchemeManager: () => localStorageColorSchemeManager,
378
378
  luminance: () => luminance,
379
379
  mapResponsive: () => mapResponsive,
380
+ matchesPhoneStartingNumber: () => matchesPhoneStartingNumber,
380
381
  mergeRefs: () => mergeRefs,
381
382
  mergeStyles: () => mergeStyles,
382
383
  mergeTheme: () => mergeTheme,
384
+ normalizeStartingNumber: () => normalizeStartingNumber,
383
385
  parseColor: () => parseColor,
384
386
  parseThemeColor: () => parseThemeColor,
385
387
  polymorphicFactory: () => polymorphicFactory,
@@ -1752,6 +1754,7 @@ var DEFAULT_LABELS = {
1752
1754
  lastPage: "Last page",
1753
1755
  phoneCode: "Code",
1754
1756
  phoneDigits: (count) => `${count} digits`,
1757
+ phoneStartingNumber: (start) => `Phone number must start with ${start}`,
1755
1758
  otpDigit: (position) => `Digit ${position}`,
1756
1759
  colorSaturation: "Saturation",
1757
1760
  colorHue: "Hue",
@@ -3391,13 +3394,20 @@ var import_react16 = require("react");
3391
3394
  var import_react_dom2 = require("react-dom");
3392
3395
  var import_jsx_runtime12 = require("react/jsx-runtime");
3393
3396
  var sharedNode = null;
3397
+ function syncPortalDir(el) {
3398
+ const dir = document.documentElement.getAttribute("dir");
3399
+ if (dir) el.setAttribute("dir", dir);
3400
+ else el.removeAttribute("dir");
3401
+ }
3394
3402
  function Portal(_props) {
3395
3403
  const { target, reuseTargetNode, className, id, children } = useProps("Portal", { reuseTargetNode: true }, _props);
3396
3404
  const [node, setNode] = (0, import_react16.useState)(null);
3397
3405
  const created = (0, import_react16.useRef)(null);
3398
3406
  (0, import_react16.useEffect)(() => {
3399
3407
  if (target) {
3400
- setNode(typeof target === "string" ? document.querySelector(target) : target);
3408
+ const el = typeof target === "string" ? document.querySelector(target) : target;
3409
+ if (el) syncPortalDir(el);
3410
+ setNode(el);
3401
3411
  return;
3402
3412
  }
3403
3413
  if (reuseTargetNode && !className && !id) {
@@ -3406,6 +3416,7 @@ function Portal(_props) {
3406
3416
  sharedNode.setAttribute("data-wello-portal", "shared");
3407
3417
  document.body.appendChild(sharedNode);
3408
3418
  }
3419
+ syncPortalDir(sharedNode);
3409
3420
  setNode(sharedNode);
3410
3421
  return;
3411
3422
  }
@@ -3413,6 +3424,7 @@ function Portal(_props) {
3413
3424
  div.setAttribute("data-wello-portal", "");
3414
3425
  if (className) div.className = className;
3415
3426
  if (id) div.id = id;
3427
+ syncPortalDir(div);
3416
3428
  document.body.appendChild(div);
3417
3429
  created.current = div;
3418
3430
  setNode(div);
@@ -3421,6 +3433,13 @@ function Portal(_props) {
3421
3433
  created.current = null;
3422
3434
  };
3423
3435
  }, [target, reuseTargetNode, className, id]);
3436
+ (0, import_react16.useEffect)(() => {
3437
+ if (!node) return;
3438
+ syncPortalDir(node);
3439
+ const observer = new MutationObserver(() => syncPortalDir(node));
3440
+ observer.observe(document.documentElement, { attributes: true, attributeFilter: ["dir"] });
3441
+ return () => observer.disconnect();
3442
+ }, [node]);
3424
3443
  return node ? (0, import_react_dom2.createPortal)(children, node) : null;
3425
3444
  }
3426
3445
  function OptionalPortal({ withinPortal = true, children, ...props }) {
@@ -5565,7 +5584,7 @@ function formatNumber(value, options = {}) {
5565
5584
  }
5566
5585
  function NumberFormatter(_props) {
5567
5586
  const { value, ...options } = useProps("NumberFormatter", {}, _props);
5568
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: formatNumber(value, options) });
5587
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { dir: "ltr", style: { unicodeBidi: "isolate" }, children: formatNumber(value, options) });
5569
5588
  }
5570
5589
 
5571
5590
  // src/components/Popover/Popover.tsx
@@ -5699,17 +5718,17 @@ function useFloating(options) {
5699
5718
  }, [opened, update2]);
5700
5719
  const setReference = (0, import_react32.useCallback)(
5701
5720
  (node) => {
5702
- if (!node || node === reference.current) return;
5721
+ if (node === reference.current) return;
5703
5722
  reference.current = node;
5704
- if (opened) update2();
5723
+ if (node && opened) update2();
5705
5724
  },
5706
5725
  [opened, update2]
5707
5726
  );
5708
5727
  const setFloating = (0, import_react32.useCallback)(
5709
5728
  (node) => {
5710
- if (!node || node === floating.current) return;
5729
+ if (node === floating.current) return;
5711
5730
  floating.current = node;
5712
- update2();
5731
+ if (node) update2();
5713
5732
  },
5714
5733
  [update2]
5715
5734
  );
@@ -5765,14 +5784,14 @@ function Popover(_props) {
5765
5784
  props.onChange?.(next);
5766
5785
  (next ? props.onOpen : props.onClose)?.();
5767
5786
  };
5768
- const { dir } = useDirection();
5787
+ const { dir: appDir } = useDirection();
5769
5788
  const floating = useFloating({
5770
5789
  opened,
5771
5790
  position: props.position,
5772
5791
  offset: props.offset + (props.withArrow ? props.arrowSize / 2 : 0),
5773
5792
  flip: props.middlewares?.flip ?? true,
5774
5793
  shift: props.middlewares?.shift ?? true,
5775
- dir,
5794
+ dir: props.dir ?? appDir,
5776
5795
  arrowSize: props.withArrow ? props.arrowSize : 0,
5777
5796
  arrowOffset: props.arrowOffset,
5778
5797
  arrowPosition: props.arrowPosition,
@@ -8569,12 +8588,28 @@ function comparable(value) {
8569
8588
  if (typeof value === "object" && "id" in value) return String(value.id);
8570
8589
  return String(value);
8571
8590
  }
8591
+ function pickPlainLabel(raw2, fallback) {
8592
+ if (typeof raw2 === "string" || typeof raw2 === "number") return raw2;
8593
+ if ((0, import_react45.isValidElement)(raw2)) return raw2;
8594
+ if (raw2 && typeof raw2 === "object" && !Array.isArray(raw2)) {
8595
+ const map = raw2;
8596
+ for (const key of ["ar", "en", "label", "name", "title"]) {
8597
+ const hit = map[key];
8598
+ if (typeof hit === "string" && hit.trim()) return hit.trim();
8599
+ }
8600
+ for (const hit of Object.values(map)) {
8601
+ if (typeof hit === "string" && hit.trim()) return hit.trim();
8602
+ }
8603
+ }
8604
+ return fallback;
8605
+ }
8572
8606
  function toSelectItem(entry, keys) {
8573
8607
  const record = typeof entry === "object" ? entry : { value: entry, label: String(entry) };
8574
8608
  const value = comparable(record.value ?? record[keys.valueKey]);
8575
8609
  const raw2 = record.label ?? record[keys.labelKey];
8576
- const plain = typeof raw2 === "string" || typeof raw2 === "number" || (0, import_react45.isValidElement)(raw2) ? raw2 : value;
8577
- const node = keys.getOptionLabel ? keys.getOptionLabel(record) : plain;
8610
+ const plain = pickPlainLabel(raw2, value);
8611
+ const fromGetter = keys.getOptionLabel ? keys.getOptionLabel(record) : void 0;
8612
+ const node = fromGetter !== void 0 && fromGetter !== null && fromGetter !== "" ? fromGetter : plain;
8578
8613
  const text = typeof node === "string" || typeof node === "number" ? String(node) : typeof raw2 === "string" ? raw2 : value;
8579
8614
  const label = record.searchText ?? (typeof record.description === "string" ? `${text} ${record.description}` : text);
8580
8615
  return { value, label, node, display: record.displayLabel ?? node, disabled: record.disabled, option: entry, record };
@@ -9500,27 +9535,40 @@ var ALL_PHONE_COUNTRIES = ROWS.map(([iso, name, code]) => ({
9500
9535
  var DEFAULT_PHONE_CODE = "20";
9501
9536
 
9502
9537
  // src/components/PhoneInput/PhoneInput.tsx
9503
- var import_jsx_runtime68 = require("react/jsx-runtime");
9538
+ var import_jsx_runtime68 = (
9539
+ // Always LTR: flag then dial code (RTL pages were flipping to "966 | flag").
9540
+ require("react/jsx-runtime")
9541
+ );
9504
9542
  var DEFAULT_COUNTRIES = ALL_PHONE_COUNTRIES;
9505
9543
  var digitsOnly = (value) => String(value ?? "").replace(/\D/g, "");
9506
9544
  function parseLimit(value) {
9507
9545
  const limit = Number(value);
9508
9546
  return Number.isFinite(limit) && limit > 0 ? limit : null;
9509
9547
  }
9548
+ function normalizeStartingNumber(value) {
9549
+ if (value == null || value === "") return null;
9550
+ const digits = digitsOnly(value);
9551
+ return digits || null;
9552
+ }
9553
+ function matchesPhoneStartingNumber(digits, start) {
9554
+ if (!start || !digits) return true;
9555
+ return digits.startsWith(start) || start.startsWith(digits);
9556
+ }
9510
9557
  function resolvePhoneCountry(country) {
9511
- const start = country.startingNumber ?? country.phone_starting_number;
9512
9558
  return {
9513
9559
  code: String(country.code ?? country.phone_code ?? country.value ?? ""),
9514
9560
  name: country.name,
9515
9561
  flag: country.flag,
9516
9562
  limit: parseLimit(country.limit ?? country.phone_limit ?? country.phone_number_limit),
9517
- startingNumber: start === void 0 || start === null || start === "" ? null : String(start),
9563
+ startingNumber: normalizeStartingNumber(country.startingNumber ?? country.phone_starting_number),
9518
9564
  country
9519
9565
  };
9520
9566
  }
9521
9567
  function fitPhoneNumber(value, country) {
9522
9568
  let phone = digitsOnly(value);
9523
- if (phone && country.startingNumber && !phone.startsWith(country.startingNumber)) phone = country.startingNumber + phone.slice(country.startingNumber.length);
9569
+ if (phone && country.startingNumber && !phone.startsWith(country.startingNumber)) {
9570
+ phone = country.startingNumber + phone.slice(country.startingNumber.length);
9571
+ }
9524
9572
  return country.limit ? phone.slice(0, country.limit) : phone;
9525
9573
  }
9526
9574
  var PhoneInput = factory((_props, ref) => {
@@ -9549,6 +9597,7 @@ var PhoneInput = factory((_props, ref) => {
9549
9597
  onCodeChange,
9550
9598
  codeName,
9551
9599
  limitName,
9600
+ startingNumberName,
9552
9601
  countries,
9553
9602
  endpoint,
9554
9603
  params,
@@ -9622,17 +9671,21 @@ var PhoneInput = factory((_props, ref) => {
9622
9671
  const fitted = fitPhoneNumber(latest.current.phone, country);
9623
9672
  if (fitted !== latest.current.phone) latest.current.setPhone(fitted);
9624
9673
  }, [countryCode]);
9625
- const showCountry = (item) => renderCountry ? renderCountry(item) : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { ...getStyles("codeValue"), children: [
9674
+ const showCountry = (item) => renderCountry ? renderCountry(item) : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { ...getStyles("codeValue"), dir: "ltr", children: [
9626
9675
  typeof item.flag === "string" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("img", { ...getStyles("flag"), src: item.flag, alt: item.name ?? "", onError: (event) => event.currentTarget.style.display = "none" }) : item.flag,
9627
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { ...getStyles("dialCode"), dir: "ltr", children: item.code })
9676
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { ...getStyles("dialCode"), children: item.code })
9628
9677
  ] });
9629
9678
  const toOption = (item) => ({ value: item.code, label: showCountry(item), searchText: `${item.name ?? ""} ${item.code}`, resolved: item });
9630
- const hasError = !!error || !!codeError;
9631
9679
  const hasMessage = (message) => message !== void 0 && message !== null && message !== false && message !== true && message !== "";
9680
+ const startingMismatch = !!startingNumber && !!phone && !matchesPhoneStartingNumber(phone, startingNumber);
9681
+ const startingError = startingMismatch ? labels.phoneStartingNumber(startingNumber) : null;
9682
+ const numberError = hasMessage(error) ? error : startingError;
9683
+ const hasError = hasMessage(numberError) || hasMessage(codeError);
9632
9684
  const errorId = `${inputId}-phone-error`;
9633
9685
  const shownPlaceholder = typeof placeholder === "function" ? placeholder(limit) : placeholder ?? (limit ? labels.phoneDigits(limit) : void 0);
9634
9686
  const layout = { m, mt, mb, ml, mr, ms, me, mx, my, w, miw, maw, flex };
9635
9687
  if (loading) return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Skeleton, { height: 36, radius: 999, ...layout });
9688
+ const selectPropClassNames = typeof selectProps?.classNames === "object" && selectProps.classNames ? selectProps.classNames : {};
9636
9689
  const select = {
9637
9690
  value: code,
9638
9691
  emptyValue: "",
@@ -9641,10 +9694,25 @@ var PhoneInput = factory((_props, ref) => {
9641
9694
  placeholder: codePlaceholder,
9642
9695
  withFooter: false,
9643
9696
  radius: 0,
9644
- comboboxProps: { width: 240, position: "bottom-start" },
9645
9697
  "aria-invalid": !!codeError || void 0,
9646
9698
  "aria-label": codePlaceholder,
9647
9699
  ...selectProps,
9700
+ // PhoneInput wins these after selectProps — dial codes stay LTR and compact.
9701
+ searchable: false,
9702
+ checkIconPosition: "right",
9703
+ classNames: {
9704
+ ...selectPropClassNames,
9705
+ dropdown: ["wello-PhoneInput-dropdown", selectPropClassNames.dropdown].filter(Boolean).join(" ")
9706
+ },
9707
+ comboboxProps: {
9708
+ width: "target",
9709
+ middlewares: { flip: true, shift: true },
9710
+ ...selectProps?.comboboxProps,
9711
+ position: "bottom-start",
9712
+ withinPortal: true,
9713
+ // Don't RTL-flip start/end — dial code stays left-anchored like a phone number.
9714
+ dir: "ltr"
9715
+ },
9648
9716
  onChange: (next, option) => {
9649
9717
  const resolved = option?.resolved ?? null;
9650
9718
  if (resolved) setFetched(resolved);
@@ -9690,6 +9758,7 @@ var PhoneInput = factory((_props, ref) => {
9690
9758
  type: "tel",
9691
9759
  inputMode: "numeric",
9692
9760
  autoComplete: "tel-national",
9761
+ dir: "ltr",
9693
9762
  name,
9694
9763
  value: phone,
9695
9764
  disabled,
@@ -9697,8 +9766,8 @@ var PhoneInput = factory((_props, ref) => {
9697
9766
  required,
9698
9767
  maxLength: limit ?? void 0,
9699
9768
  placeholder: shownPlaceholder,
9700
- "aria-invalid": !!error || void 0,
9701
- "aria-describedby": hasMessage(error) ? errorId : void 0,
9769
+ "aria-invalid": hasMessage(numberError) || void 0,
9770
+ "aria-describedby": hasMessage(numberError) ? errorId : void 0,
9702
9771
  onBlur,
9703
9772
  onChange: (event) => {
9704
9773
  const digits = digitsOnly(event.currentTarget.value);
@@ -9707,12 +9776,13 @@ var PhoneInput = factory((_props, ref) => {
9707
9776
  }
9708
9777
  )
9709
9778
  ] }),
9710
- (hasMessage(error) || hasMessage(codeError)) && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { ...getStyles("errors"), children: [
9711
- hasMessage(error) && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputError, { ...getStyles("error"), id: errorId, children: error }),
9779
+ (hasMessage(numberError) || hasMessage(codeError)) && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { ...getStyles("errors"), children: [
9780
+ hasMessage(numberError) && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputError, { ...getStyles("error"), id: errorId, children: numberError }),
9712
9781
  hasMessage(codeError) && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputError, { ...getStyles("error"), "data-code": true, children: codeError })
9713
9782
  ] }),
9714
9783
  codeName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: codeName, value: code }),
9715
- limitName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: limitName, value: limit ?? "" })
9784
+ limitName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: limitName, value: limit ?? "" }),
9785
+ startingNumberName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: startingNumberName, value: startingNumber ?? "" })
9716
9786
  ]
9717
9787
  }
9718
9788
  );
@@ -10241,87 +10311,101 @@ var ColorInput = factory((_props, ref) => {
10241
10311
  const [eyeDropperSupported, setSupported] = (0, import_react49.useState)(false);
10242
10312
  (0, import_react49.useEffect)(() => setSupported(typeof window !== "undefined" && "EyeDropper" in window), []);
10243
10313
  const named = typeof size2 === "string" ? size2 : "sm";
10244
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Popover, { position: "bottom-start", offset: 5, opened, width: fullWidth ? "target" : void 0, transitionProps: { duration: 0 }, ...popoverProps, withRoles: false, disabled: readOnly || withPicker === false && !swatches?.length, children: [
10245
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(PopoverTarget, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10246
- InputBase,
10247
- {
10248
- autoComplete: "off",
10249
- spellCheck: false,
10250
- ...others,
10251
- __staticSelector: "ColorInput",
10252
- ref,
10253
- classNames: partClasses,
10254
- styles: partStyles,
10255
- unstyled,
10256
- size: size2,
10257
- disabled,
10258
- readOnly: disallowInput || readOnly,
10259
- pointer: disallowInput,
10260
- value: current,
10261
- onFocus: (event) => {
10262
- onFocus?.(event);
10263
- setOpened(true);
10264
- },
10265
- onBlur: (event) => {
10266
- if (fixOnBlur && current !== lastValid.current) setValue(lastValid.current);
10267
- onBlur?.(event);
10268
- setOpened(false);
10269
- },
10270
- onClick: (event) => {
10271
- onClick2?.(event);
10272
- setOpened(true);
10273
- },
10274
- onChange: (event) => {
10275
- const next = event.currentTarget.value;
10276
- setValue(next);
10277
- if (isColorValid(next)) onChangeEnd?.(convertHsvaTo(format, parseColor(next)));
10278
- },
10279
- leftSection: leftSection || (withPreview ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ColorSwatch, { color: isColorValid(current) ? current : "#fff", size: PREVIEW_SIZE[named] ?? 18, ...getStyles("colorPreview") }) : null),
10280
- rightSectionPointerEvents: "auto",
10281
- rightSection: rightSection || (withEyeDropper && !disabled && !readOnly && eyeDropperSupported ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10282
- ActionIcon,
10314
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
10315
+ Popover,
10316
+ {
10317
+ position: "bottom-start",
10318
+ offset: 5,
10319
+ opened,
10320
+ width: fullWidth ? "target" : void 0,
10321
+ transitionProps: { duration: 0 },
10322
+ ...popoverProps,
10323
+ dir: popoverProps?.dir ?? "ltr",
10324
+ withRoles: false,
10325
+ disabled: readOnly || withPicker === false && !swatches?.length,
10326
+ children: [
10327
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(PopoverTarget, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10328
+ InputBase,
10283
10329
  {
10284
- "aria-label": labels.colorEyeDropper,
10285
- ...eyeDropperButtonProps,
10286
- ...getStyles("eyeDropperButton"),
10287
- variant: "subtle",
10288
- color: "gray",
10289
- onMouseDown: (event) => event.preventDefault(),
10290
- onClick: () => {
10291
- const EyeDropper = window.EyeDropper;
10292
- new EyeDropper().open().then(({ sRGBHex }) => {
10293
- const color2 = convertHsvaTo(format, parseColor(sRGBHex));
10294
- setValue(color2);
10295
- onChangeEnd?.(color2);
10296
- }).catch(() => void 0);
10330
+ autoComplete: "off",
10331
+ spellCheck: false,
10332
+ ...others,
10333
+ __staticSelector: "ColorInput",
10334
+ ref,
10335
+ classNames: partClasses,
10336
+ styles: partStyles,
10337
+ unstyled,
10338
+ size: size2,
10339
+ disabled,
10340
+ readOnly: disallowInput || readOnly,
10341
+ pointer: disallowInput,
10342
+ value: current,
10343
+ onFocus: (event) => {
10344
+ onFocus?.(event);
10345
+ setOpened(true);
10346
+ },
10347
+ onBlur: (event) => {
10348
+ if (fixOnBlur && current !== lastValid.current) setValue(lastValid.current);
10349
+ onBlur?.(event);
10350
+ setOpened(false);
10297
10351
  },
10298
- children: eyeDropperIcon || /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(EyeDropperIcon, { size: ICON_SIZE[named] ?? 16, ...getStyles("eyeDropperIcon") })
10352
+ onClick: (event) => {
10353
+ onClick2?.(event);
10354
+ setOpened(true);
10355
+ },
10356
+ onChange: (event) => {
10357
+ const next = event.currentTarget.value;
10358
+ setValue(next);
10359
+ if (isColorValid(next)) onChangeEnd?.(convertHsvaTo(format, parseColor(next)));
10360
+ },
10361
+ leftSection: leftSection || (withPreview ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ColorSwatch, { color: isColorValid(current) ? current : "#fff", size: PREVIEW_SIZE[named] ?? 18, ...getStyles("colorPreview") }) : null),
10362
+ rightSectionPointerEvents: "auto",
10363
+ rightSection: rightSection || (withEyeDropper && !disabled && !readOnly && eyeDropperSupported ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10364
+ ActionIcon,
10365
+ {
10366
+ "aria-label": labels.colorEyeDropper,
10367
+ ...eyeDropperButtonProps,
10368
+ ...getStyles("eyeDropperButton"),
10369
+ variant: "subtle",
10370
+ color: "gray",
10371
+ onMouseDown: (event) => event.preventDefault(),
10372
+ onClick: () => {
10373
+ const EyeDropper = window.EyeDropper;
10374
+ new EyeDropper().open().then(({ sRGBHex }) => {
10375
+ const color2 = convertHsvaTo(format, parseColor(sRGBHex));
10376
+ setValue(color2);
10377
+ onChangeEnd?.(color2);
10378
+ }).catch(() => void 0);
10379
+ },
10380
+ children: eyeDropperIcon || /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(EyeDropperIcon, { size: ICON_SIZE[named] ?? 16, ...getStyles("eyeDropperIcon") })
10381
+ }
10382
+ ) : null)
10299
10383
  }
10300
- ) : null)
10301
- }
10302
- ) }),
10303
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(PopoverDropdown, { ...getStyles("dropdown"), onMouseDown: (event) => event.preventDefault(), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10304
- ColorPicker,
10305
- {
10306
- value: current,
10307
- onChange: setValue,
10308
- onChangeEnd,
10309
- format,
10310
- swatches,
10311
- swatchesPerRow,
10312
- withPicker,
10313
- size: size2,
10314
- focusable: false,
10315
- unstyled,
10316
- classNames: partClasses,
10317
- styles: partStyles,
10318
- fullWidth,
10319
- onColorSwatchClick: () => {
10320
- if (closeOnColorSwatchClick) setOpened(false);
10321
- }
10322
- }
10323
- ) })
10324
- ] });
10384
+ ) }),
10385
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(PopoverDropdown, { ...getStyles("dropdown"), onMouseDown: (event) => event.preventDefault(), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
10386
+ ColorPicker,
10387
+ {
10388
+ value: current,
10389
+ onChange: setValue,
10390
+ onChangeEnd,
10391
+ format,
10392
+ swatches,
10393
+ swatchesPerRow,
10394
+ withPicker,
10395
+ size: size2,
10396
+ focusable: false,
10397
+ unstyled,
10398
+ classNames: partClasses,
10399
+ styles: partStyles,
10400
+ fullWidth,
10401
+ onColorSwatchClick: () => {
10402
+ if (closeOnColorSwatchClick) setOpened(false);
10403
+ }
10404
+ }
10405
+ ) })
10406
+ ]
10407
+ }
10408
+ );
10325
10409
  });
10326
10410
  ColorInput.displayName = "ColorInput";
10327
10411
 
@@ -20689,9 +20773,11 @@ function CommandShortcut({ className, ...props }) {
20689
20773
  localStorageColorSchemeManager,
20690
20774
  luminance,
20691
20775
  mapResponsive,
20776
+ matchesPhoneStartingNumber,
20692
20777
  mergeRefs,
20693
20778
  mergeStyles,
20694
20779
  mergeTheme,
20780
+ normalizeStartingNumber,
20695
20781
  parseColor,
20696
20782
  parseThemeColor,
20697
20783
  polymorphicFactory,