@worldcoin/mini-apps-ui-kit-react 1.2.3 → 1.3.0

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 (111) hide show
  1. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  2. package/dist/components/Button/Button.js +1 -1
  3. package/dist/components/Checkbox/Checkbox.js +3 -3
  4. package/dist/components/Chip/Chip.js +1 -1
  5. package/dist/components/CircularIcon/CircularIcon.js +1 -1
  6. package/dist/components/ColorPicker/ColorPicker.js +1 -1
  7. package/dist/components/CountryDrawer/CountryDrawer.js +1 -1
  8. package/dist/components/CountryDrawer/useCountryFiltering.js +1 -1
  9. package/dist/components/CountryDrawer/useCountryGrouping.js +1 -1
  10. package/dist/components/Drawer/Drawer.js +1 -1
  11. package/dist/components/Form/Form.js +1 -1
  12. package/dist/components/Haptic/Haptic.js +1 -1
  13. package/dist/components/OTPField/OTPField.js +1 -1
  14. package/dist/components/PhoneField/PhoneField.js +1 -3
  15. package/dist/components/PhoneField/utils.js +1 -1
  16. package/dist/components/Pill/Pill.js +1 -1
  17. package/dist/components/Progress/Progress.js +1 -1
  18. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  19. package/dist/components/RadioGroup/RadioGroupItem.js +1 -1
  20. package/dist/components/SafeAreaView/SafeAreaView.d.ts +21 -0
  21. package/dist/components/SafeAreaView/SafeAreaView.js +21 -0
  22. package/dist/components/SafeAreaView/index.d.ts +2 -0
  23. package/dist/components/SafeAreaView/useSafeAreaInsets.d.ts +7 -0
  24. package/dist/components/SafeAreaView/useSafeAreaInsets.js +8 -0
  25. package/dist/components/Select/Select.js +1 -1
  26. package/dist/components/Switch/Switch.js +1 -1
  27. package/dist/components/Tabs/Tabs.js +2 -2
  28. package/dist/components/Toast/Toast.js +1 -1
  29. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  30. package/dist/globals.css +1 -1
  31. package/dist/index.d.ts +1 -0
  32. package/dist/index.js +4 -0
  33. package/dist/lib/haptics.d.ts +0 -9
  34. package/dist/node_modules/.pnpm/{@floating-ui_core@1.6.8 → @floating-ui_core@1.7.2}/node_modules/@floating-ui/core/dist/floating-ui.core.js +18 -12
  35. package/dist/node_modules/.pnpm/{@floating-ui_dom@1.6.12 → @floating-ui_dom@1.7.2}/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +22 -8
  36. package/dist/node_modules/.pnpm/{@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1 → @floating-ui_react-dom@2.1.4_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +7 -4
  37. package/dist/node_modules/.pnpm/{@floating-ui_utils@0.2.8 → @floating-ui_utils@0.2.10}/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +13 -6
  38. package/dist/node_modules/.pnpm/{@floating-ui_utils@0.2.8 → @floating-ui_utils@0.2.10}/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +9 -8
  39. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_wfj52omijboqejc6zhpwkjvyjq → @radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3.2_ppizsnczyvrxy2jwwginhmbjbi}/node_modules/@radix-ui/react-arrow/dist/index.js +1 -1
  40. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18._hxkgakiv4lbc3e4ney2qd3uwtu/node_modules/@radix-ui/react-checkbox/dist/index.js +281 -0
  41. package/dist/node_modules/.pnpm/{@radix-ui_react-collection@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_du3umibpgknzrmwryvhzp3lgou → @radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@1_g2rahi25b6vuxt66qpykugaxdq}/node_modules/@radix-ui/react-collection/dist/index.js +7 -5
  42. package/dist/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vurlugjqrhlu53o6edaj3yx2bq → @radix-ui_react-dialog@1.1.14_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3_skdkbhdoafm46nddrsexoqxvsa}/node_modules/@radix-ui/react-dialog/dist/index.js +19 -17
  43. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai → @radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.23__@types_ed6g35xmswrdo4rpjcoc2ylqq4}/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +5 -5
  44. package/dist/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_4owg5o3kd7femmpae5yic5inii → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@_2fbc3wi7jfrrglulhiq3cho3yi}/node_modules/@radix-ui/react-focus-scope/dist/index.js +3 -3
  45. package/dist/node_modules/.pnpm/{@radix-ui_react-form@0.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_z32yjmfa36dn2egycaeb5u52lm → @radix-ui_react-form@0.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3.23_apkqp66vvdcqkpglsoqjb3qdve}/node_modules/@radix-ui/react-form/dist/index.js +7 -7
  46. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-id@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-id/dist/index.js +2 -2
  47. package/dist/node_modules/.pnpm/{@radix-ui_react-label@2.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_qr7n7ocfbwauilv6obluyms2qy → @radix-ui_react-label@2.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3.2_lbzigta2mnq6k7i6lbdxjopqzu}/node_modules/@radix-ui/react-label/dist/index.js +1 -1
  48. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._z2gu7tymhfvx6ebd6lqqykecmq → @radix-ui_react-popper@1.2.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._wwc252xynq3agan6q2g4prz53u}/node_modules/@radix-ui/react-popper/dist/index.js +9 -9
  49. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._jmui37rk6fvzofztyauznikgpi → @radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._vj5bwhvxp26kuufjjrp4d4yqwm}/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
  50. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu → @radix-ui_react-presence@1.1.4_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18._mcnf744msur4vp7w5dm65hzhsi}/node_modules/@radix-ui/react-presence/dist/index.js +4 -4
  51. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.0.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sspjpiczol7qxzbuuyfihuep4u → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18_ujcax4x2btumxxy334cxx2hjfq}/node_modules/@radix-ui/react-primitive/dist/index.js +3 -1
  52. package/dist/node_modules/.pnpm/{@radix-ui_react-progress@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._wpsg2ubedou6txnsnvgmus4txq → @radix-ui_react-progress@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18._sjnakivefrkfebui63vvxznhwi}/node_modules/@radix-ui/react-progress/dist/index.js +2 -2
  53. package/dist/node_modules/.pnpm/{@radix-ui_react-radio-group@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_2u6lfd2xt65wmbxn7lgvaxqbmy → @radix-ui_react-radio-group@1.3.7_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@_5d2dyspydcbyvcln5sgvi5rqn4}/node_modules/@radix-ui/react-radio-group/dist/index.js +64 -49
  54. package/dist/node_modules/.pnpm/{@radix-ui_react-roving-focus@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_bkbd3syfptkiebtjifbhjosaba → @radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.23__@types_reac_fkad3ywkl2psdzndyckeemdxa4}/node_modules/@radix-ui/react-roving-focus/dist/index.js +17 -14
  55. package/dist/node_modules/.pnpm/{@radix-ui_react-select@2.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._atdh45n5c7sked5b6tbwgdz7re → @radix-ui_react-select@2.2.5_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._ayy2jyj2jwk25cmitaj3rv7g4i}/node_modules/@radix-ui/react-select/dist/index.js +47 -35
  56. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-slot@1.2.3_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-slot/dist/index.js +6 -2
  57. package/dist/node_modules/.pnpm/{@radix-ui_react-switch@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._udl6ccyllphugejc6sszfrese4 → @radix-ui_react-switch@1.2.5_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._gdbycdgdwiviepytqhsfczir6a}/node_modules/@radix-ui/react-switch/dist/index.js +61 -46
  58. package/dist/node_modules/.pnpm/{@radix-ui_react-toast@1.2.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_mux33mveszkw5z6iia6acnivvy → @radix-ui_react-toast@1.2.14_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._ltalqimxfmxlfy2fx7azj2iwea}/node_modules/@radix-ui/react-toast/dist/index.js +17 -16
  59. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle-group@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_3smwloudr6a3igss4kifyxcwju → @radix-ui_react-toggle-group@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.23__@types_reac_axpqujuwkbdyymhoqfwbg5slyu}/node_modules/@radix-ui/react-toggle-group/dist/index.js +14 -12
  60. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._yiv2ptaqcv244n5f7zfldmgupm → @radix-ui_react-toggle@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3._4jbroaz6kxjbrczfvrtrmrh5vy}/node_modules/@radix-ui/react-toggle/dist/index.js +7 -6
  61. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +71 -0
  62. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +1 -1
  63. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  64. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-use-size@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-use-size/dist/index.js +1 -1
  65. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.23__@types_re_ai4rarwltg7o2u2yozjp5gcjt4/node_modules/@radix-ui/react-visually-hidden/dist/index.js +34 -0
  66. package/dist/node_modules/.pnpm/{aria-hidden@1.2.4 → aria-hidden@1.2.6}/node_modules/aria-hidden/dist/es2015/index.js +1 -1
  67. package/dist/node_modules/.pnpm/{input-otp@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1 → input-otp@1.4.2_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/input-otp/dist/index.js +13 -13
  68. package/dist/node_modules/.pnpm/{react-international-phone@4.4.0_react@18.3.1 → react-international-phone@4.5.0_react@18.3.1}/node_modules/react-international-phone/dist/index.js +36 -36
  69. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/component.js +1 -1
  70. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +4 -4
  71. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/UI.js +4 -4
  72. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +7 -7
  73. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/medium.js +1 -1
  74. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/sidecar.js +1 -1
  75. package/dist/node_modules/.pnpm/{vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e → vaul@1.1.2_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3.23_react-dom@18.3._hck6bgtscpcdlplcvchrs7yfhu}/node_modules/vaul/dist/index.js +2 -30
  76. package/package.json +8 -4
  77. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._5vtvszwgvdmnkk62ia2dob365m/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -162
  78. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
  79. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -35
  80. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types__ejthwt4vwbnzwtfufv7q3bddiy/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -213
  81. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js +0 -19
  82. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js +0 -41
  83. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_ecf5vqfgocrxupsewlhf3pl374/node_modules/@radix-ui/react-primitive/dist/index.js +0 -38
  84. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_ki7uy4u3diz5446cqygvbjwuge/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -225
  85. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
  86. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
  87. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -45
  88. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  89. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_m7thze522i3jfpb2tnge6dybgi/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  90. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  91. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_cidkwodbmpmiwtvvmizcw56fem/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
  92. /package/dist/node_modules/.pnpm/{@radix-ui_number@1.1.0 → @radix-ui_number@1.1.1}/node_modules/@radix-ui/number/dist/index.js +0 -0
  93. /package/dist/node_modules/.pnpm/{@radix-ui_primitive@1.1.1 → @radix-ui_primitive@1.1.2}/node_modules/@radix-ui/primitive/dist/index.js +0 -0
  94. /package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-compose-refs@1.1.2_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -0
  95. /package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-context@1.1.2_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-context/dist/index.js +0 -0
  96. /package/dist/node_modules/.pnpm/{@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-direction@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-direction/dist/index.js +0 -0
  97. /package/dist/node_modules/.pnpm/{@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-focus-guards@1.1.2_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -0
  98. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -0
  99. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1 → @radix-ui_react-use-previous@1.1.1_@types_react@18.3.23_react@18.3.1}/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -0
  100. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -0
  101. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -0
  102. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -0
  103. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1 → react-remove-scroll@2.7.1_@types_react@18.3.23_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -0
  104. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.23_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/component.js +0 -0
  105. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.23_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/hook.js +0 -0
  106. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.23_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -0
  107. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.23_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -0
  108. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.23_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -0
  109. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.23_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -0
  110. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.23_react@18.3.1}/node_modules/use-sidecar/dist/es2015/exports.js +0 -0
  111. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.23_react@18.3.1}/node_modules/use-sidecar/dist/es2015/medium.js +0 -0
@@ -1,5 +1,5 @@
1
- import React__default, { forwardRef, useImperativeHandle, useRef, useCallback, useMemo, useEffect, useState } from "react";
2
- var R = [["Afghanistan", "af", "93"], ["Albania", "al", "355"], ["Algeria", "dz", "213"], ["Andorra", "ad", "376"], ["Angola", "ao", "244"], ["Antigua and Barbuda", "ag", "1268"], ["Argentina", "ar", "54", "(..) ........", 0], ["Armenia", "am", "374", ".. ......"], ["Aruba", "aw", "297"], ["Australia", "au", "61", { default: ". .... ....", "/^4/": "... ... ...", "/^5(?!50)/": "... ... ...", "/^1(3|8)00/": ".... ... ...", "/^13/": ".. .. ..", "/^180/": "... ...." }, 0, []], ["Austria", "at", "43"], ["Azerbaijan", "az", "994", "(..) ... .. .."], ["Bahamas", "bs", "1242"], ["Bahrain", "bh", "973"], ["Bangladesh", "bd", "880"], ["Barbados", "bb", "1246"], ["Belarus", "by", "375", "(..) ... .. .."], ["Belgium", "be", "32", "... .. .. .."], ["Belize", "bz", "501"], ["Benin", "bj", "229"], ["Bhutan", "bt", "975"], ["Bolivia", "bo", "591"], ["Bosnia and Herzegovina", "ba", "387"], ["Botswana", "bw", "267"], ["Brazil", "br", "55", "(..) ........."], ["British Indian Ocean Territory", "io", "246"], ["Brunei", "bn", "673"], ["Bulgaria", "bg", "359"], ["Burkina Faso", "bf", "226"], ["Burundi", "bi", "257"], ["Cambodia", "kh", "855"], ["Cameroon", "cm", "237"], ["Canada", "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", "cv", "238"], ["Caribbean Netherlands", "bq", "599", "", 1], ["Cayman Islands", "ky", "1", "... ... ....", 4, ["345"]], ["Central African Republic", "cf", "236"], ["Chad", "td", "235"], ["Chile", "cl", "56"], ["China", "cn", "86", "... .... ...."], ["Colombia", "co", "57", "... ... ...."], ["Comoros", "km", "269"], ["Congo", "cd", "243"], ["Congo", "cg", "242"], ["Costa Rica", "cr", "506", "....-...."], ["Côte d'Ivoire", "ci", "225", ".. .. .. .. .."], ["Croatia", "hr", "385"], ["Cuba", "cu", "53"], ["Curaçao", "cw", "599", "", 0], ["Cyprus", "cy", "357", ".. ......"], ["Czech Republic", "cz", "420", "... ... ..."], ["Denmark", "dk", "45", ".. .. .. .."], ["Djibouti", "dj", "253"], ["Dominica", "dm", "1767"], ["Dominican Republic", "do", "1", "(...) ...-....", 2, ["809", "829", "849"]], ["Ecuador", "ec", "593"], ["Egypt", "eg", "20"], ["El Salvador", "sv", "503", "....-...."], ["Equatorial Guinea", "gq", "240"], ["Eritrea", "er", "291"], ["Estonia", "ee", "372", ".... ......"], ["Ethiopia", "et", "251"], ["Fiji", "fj", "679"], ["Finland", "fi", "358", ".. ... .. .."], ["France", "fr", "33", ". .. .. .. .."], ["French Guiana", "gf", "594"], ["French Polynesia", "pf", "689"], ["Gabon", "ga", "241"], ["Gambia", "gm", "220"], ["Georgia", "ge", "995"], ["Germany", "de", "49", "... ........."], ["Ghana", "gh", "233"], ["Greece", "gr", "30"], ["Greenland", "gl", "299", ".. .. .."], ["Grenada", "gd", "1473"], ["Guadeloupe", "gp", "590", "", 0], ["Guam", "gu", "1671"], ["Guatemala", "gt", "502", "....-...."], ["Guinea", "gn", "224"], ["Guinea-Bissau", "gw", "245"], ["Guyana", "gy", "592"], ["Haiti", "ht", "509", "....-...."], ["Honduras", "hn", "504"], ["Hong Kong", "hk", "852", ".... ...."], ["Hungary", "hu", "36"], ["Iceland", "is", "354", "... ...."], ["India", "in", "91", ".....-....."], ["Indonesia", "id", "62"], ["Iran", "ir", "98", "... ... ...."], ["Iraq", "iq", "964"], ["Ireland", "ie", "353", ".. ......."], ["Israel", "il", "972", "... ... ...."], ["Italy", "it", "39", "... .......", 0], ["Jamaica", "jm", "1876"], ["Japan", "jp", "81", ".. .... ...."], ["Jordan", "jo", "962"], ["Kazakhstan", "kz", "7", "... ...-..-..", 0], ["Kenya", "ke", "254"], ["Kiribati", "ki", "686"], ["Kosovo", "xk", "383"], ["Kuwait", "kw", "965"], ["Kyrgyzstan", "kg", "996", "... ... ..."], ["Laos", "la", "856"], ["Latvia", "lv", "371", ".. ... ..."], ["Lebanon", "lb", "961"], ["Lesotho", "ls", "266"], ["Liberia", "lr", "231"], ["Libya", "ly", "218"], ["Liechtenstein", "li", "423"], ["Lithuania", "lt", "370"], ["Luxembourg", "lu", "352"], ["Macau", "mo", "853"], ["Macedonia", "mk", "389"], ["Madagascar", "mg", "261"], ["Malawi", "mw", "265"], ["Malaysia", "my", "60", "..-....-...."], ["Maldives", "mv", "960"], ["Mali", "ml", "223"], ["Malta", "mt", "356"], ["Marshall Islands", "mh", "692"], ["Martinique", "mq", "596"], ["Mauritania", "mr", "222"], ["Mauritius", "mu", "230"], ["Mexico", "mx", "52", "... ... ....", 0], ["Micronesia", "fm", "691"], ["Moldova", "md", "373", "(..) ..-..-.."], ["Monaco", "mc", "377"], ["Mongolia", "mn", "976"], ["Montenegro", "me", "382"], ["Morocco", "ma", "212"], ["Mozambique", "mz", "258"], ["Myanmar", "mm", "95"], ["Namibia", "na", "264"], ["Nauru", "nr", "674"], ["Nepal", "np", "977"], ["Netherlands", "nl", "31", { "/^06/": "(.). .........", "/^6/": ". .........", "/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/": "(.).. ........", "/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/": ".. ........", "/^0/": "(.)... .......", default: "... ......." }], ["New Caledonia", "nc", "687"], ["New Zealand", "nz", "64", "...-...-...."], ["Nicaragua", "ni", "505"], ["Niger", "ne", "227"], ["Nigeria", "ng", "234"], ["North Korea", "kp", "850"], ["Norway", "no", "47", "... .. ..."], ["Oman", "om", "968"], ["Pakistan", "pk", "92", "...-......."], ["Palau", "pw", "680"], ["Palestine", "ps", "970"], ["Panama", "pa", "507"], ["Papua New Guinea", "pg", "675"], ["Paraguay", "py", "595"], ["Peru", "pe", "51"], ["Philippines", "ph", "63", "... ... ...."], ["Poland", "pl", "48", "...-...-..."], ["Portugal", "pt", "351"], ["Puerto Rico", "pr", "1", "(...) ...-....", 3, ["787", "939"]], ["Qatar", "qa", "974"], ["Réunion", "re", "262"], ["Romania", "ro", "40"], ["Russia", "ru", "7", "(...) ...-..-..", 1], ["Rwanda", "rw", "250"], ["Saint Kitts and Nevis", "kn", "1869"], ["Saint Lucia", "lc", "1758"], ["Saint Vincent and the Grenadines", "vc", "1784"], ["Samoa", "ws", "685"], ["San Marino", "sm", "378"], ["São Tomé and Príncipe", "st", "239"], ["Saudi Arabia", "sa", "966"], ["Senegal", "sn", "221"], ["Serbia", "rs", "381"], ["Seychelles", "sc", "248"], ["Sierra Leone", "sl", "232"], ["Singapore", "sg", "65", "....-...."], ["Slovakia", "sk", "421"], ["Slovenia", "si", "386"], ["Solomon Islands", "sb", "677"], ["Somalia", "so", "252"], ["South Africa", "za", "27"], ["South Korea", "kr", "82", "... .... ...."], ["South Sudan", "ss", "211"], ["Spain", "es", "34", "... ... ..."], ["Sri Lanka", "lk", "94"], ["Sudan", "sd", "249"], ["Suriname", "sr", "597"], ["Swaziland", "sz", "268"], ["Sweden", "se", "46", "... ... ..."], ["Switzerland", "ch", "41", ".. ... .. .."], ["Syria", "sy", "963"], ["Taiwan", "tw", "886"], ["Tajikistan", "tj", "992"], ["Tanzania", "tz", "255"], ["Thailand", "th", "66"], ["Timor-Leste", "tl", "670"], ["Togo", "tg", "228"], ["Tonga", "to", "676"], ["Trinidad and Tobago", "tt", "1868"], ["Tunisia", "tn", "216"], ["Turkey", "tr", "90", "... ... .. .."], ["Turkmenistan", "tm", "993"], ["Tuvalu", "tv", "688"], ["Uganda", "ug", "256"], ["Ukraine", "ua", "380", "(..) ... .. .."], ["United Arab Emirates", "ae", "971"], ["United Kingdom", "gb", "44", ".... ......"], ["United States", "us", "1", "(...) ...-....", 0], ["Uruguay", "uy", "598"], ["Uzbekistan", "uz", "998", ".. ... .. .."], ["Vanuatu", "vu", "678"], ["Vatican City", "va", "39", ".. .... ....", 1], ["Venezuela", "ve", "58"], ["Vietnam", "vn", "84"], ["Yemen", "ye", "967"], ["Zambia", "zm", "260"], ["Zimbabwe", "zw", "263"]];
1
+ import React__default, { useRef, useCallback, useMemo, useEffect, useState, forwardRef, useImperativeHandle } from "react";
2
+ var R = [["Afghanistan", "af", "93"], ["Albania", "al", "355"], ["Algeria", "dz", "213"], ["Andorra", "ad", "376"], ["Angola", "ao", "244"], ["Antigua and Barbuda", "ag", "1268"], ["Argentina", "ar", "54", "(..) ........", 0], ["Armenia", "am", "374", ".. ......"], ["Aruba", "aw", "297"], ["Australia", "au", "61", { default: ". .... ....", "/^4/": "... ... ...", "/^5(?!50)/": "... ... ...", "/^1(3|8)00/": ".... ... ...", "/^13/": ".. .. ..", "/^180/": "... ...." }, 0, []], ["Austria", "at", "43"], ["Azerbaijan", "az", "994", "(..) ... .. .."], ["Bahamas", "bs", "1242"], ["Bahrain", "bh", "973"], ["Bangladesh", "bd", "880"], ["Barbados", "bb", "1246"], ["Belarus", "by", "375", "(..) ... .. .."], ["Belgium", "be", "32", "... .. .. .."], ["Belize", "bz", "501"], ["Benin", "bj", "229"], ["Bhutan", "bt", "975"], ["Bolivia", "bo", "591"], ["Bosnia and Herzegovina", "ba", "387"], ["Botswana", "bw", "267"], ["Brazil", "br", "55", "(..) .....-...."], ["British Indian Ocean Territory", "io", "246"], ["Brunei", "bn", "673"], ["Bulgaria", "bg", "359"], ["Burkina Faso", "bf", "226"], ["Burundi", "bi", "257"], ["Cambodia", "kh", "855"], ["Cameroon", "cm", "237"], ["Canada", "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", "cv", "238"], ["Caribbean Netherlands", "bq", "599", "", 1], ["Cayman Islands", "ky", "1", "... ... ....", 4, ["345"]], ["Central African Republic", "cf", "236"], ["Chad", "td", "235"], ["Chile", "cl", "56"], ["China", "cn", "86", "... .... ...."], ["Colombia", "co", "57", "... ... ...."], ["Comoros", "km", "269"], ["Congo", "cd", "243"], ["Congo", "cg", "242"], ["Costa Rica", "cr", "506", "....-...."], ["Côte d'Ivoire", "ci", "225", ".. .. .. .. .."], ["Croatia", "hr", "385"], ["Cuba", "cu", "53"], ["Curaçao", "cw", "599", "", 0], ["Cyprus", "cy", "357", ".. ......"], ["Czech Republic", "cz", "420", "... ... ..."], ["Denmark", "dk", "45", ".. .. .. .."], ["Djibouti", "dj", "253", ".. .. ...."], ["Dominica", "dm", "1767"], ["Dominican Republic", "do", "1", "(...) ...-....", 2, ["809", "829", "849"]], ["Ecuador", "ec", "593"], ["Egypt", "eg", "20"], ["El Salvador", "sv", "503", "....-...."], ["Equatorial Guinea", "gq", "240"], ["Eritrea", "er", "291"], ["Estonia", "ee", "372", ".... ......"], ["Ethiopia", "et", "251", ".. ... ...."], ["Fiji", "fj", "679"], ["Finland", "fi", "358", ".. ... .. .."], ["France", "fr", "33", ". .. .. .. .."], ["French Guiana", "gf", "594"], ["French Polynesia", "pf", "689"], ["Gabon", "ga", "241"], ["Gambia", "gm", "220"], ["Georgia", "ge", "995"], ["Germany", "de", "49", "... ........."], ["Ghana", "gh", "233"], ["Greece", "gr", "30"], ["Greenland", "gl", "299", ".. .. .."], ["Grenada", "gd", "1473"], ["Guadeloupe", "gp", "590", "", 0], ["Guam", "gu", "1671"], ["Guatemala", "gt", "502", "....-...."], ["Guinea", "gn", "224"], ["Guinea-Bissau", "gw", "245"], ["Guyana", "gy", "592"], ["Haiti", "ht", "509", "....-...."], ["Honduras", "hn", "504"], ["Hong Kong", "hk", "852", ".... ...."], ["Hungary", "hu", "36"], ["Iceland", "is", "354", "... ...."], ["India", "in", "91", ".....-....."], ["Indonesia", "id", "62"], ["Iran", "ir", "98", "... ... ...."], ["Iraq", "iq", "964"], ["Ireland", "ie", "353", ".. ......."], ["Israel", "il", "972", "... ... ...."], ["Italy", "it", "39", "... .......", 0], ["Jamaica", "jm", "1876"], ["Japan", "jp", "81", ".. .... ...."], ["Jordan", "jo", "962"], ["Kazakhstan", "kz", "7", "... ...-..-..", 0], ["Kenya", "ke", "254"], ["Kiribati", "ki", "686"], ["Kosovo", "xk", "383"], ["Kuwait", "kw", "965"], ["Kyrgyzstan", "kg", "996", "... ... ..."], ["Laos", "la", "856"], ["Latvia", "lv", "371", ".. ... ..."], ["Lebanon", "lb", "961"], ["Lesotho", "ls", "266"], ["Liberia", "lr", "231"], ["Libya", "ly", "218"], ["Liechtenstein", "li", "423"], ["Lithuania", "lt", "370"], ["Luxembourg", "lu", "352"], ["Macau", "mo", "853"], ["Macedonia", "mk", "389"], ["Madagascar", "mg", "261"], ["Malawi", "mw", "265"], ["Malaysia", "my", "60", "..-....-...."], ["Maldives", "mv", "960"], ["Mali", "ml", "223"], ["Malta", "mt", "356"], ["Marshall Islands", "mh", "692"], ["Martinique", "mq", "596"], ["Mauritania", "mr", "222"], ["Mauritius", "mu", "230"], ["Mayotte", "yt", "262", "", 1, ["269", "639"]], ["Mexico", "mx", "52", "... ... ....", 0], ["Micronesia", "fm", "691"], ["Moldova", "md", "373", "(..) ..-..-.."], ["Monaco", "mc", "377"], ["Mongolia", "mn", "976"], ["Montenegro", "me", "382"], ["Morocco", "ma", "212"], ["Mozambique", "mz", "258"], ["Myanmar", "mm", "95"], ["Namibia", "na", "264"], ["Nauru", "nr", "674"], ["Nepal", "np", "977"], ["Netherlands", "nl", "31", { "/^06/": "(.). .........", "/^6/": ". .........", "/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/": "(.).. ........", "/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/": ".. ........", "/^0/": "(.)... .......", default: "... ......." }], ["New Caledonia", "nc", "687"], ["New Zealand", "nz", "64", "...-...-...."], ["Nicaragua", "ni", "505"], ["Niger", "ne", "227"], ["Nigeria", "ng", "234"], ["North Korea", "kp", "850"], ["Norway", "no", "47", "... .. ..."], ["Oman", "om", "968"], ["Pakistan", "pk", "92", "...-......."], ["Palau", "pw", "680"], ["Palestine", "ps", "970"], ["Panama", "pa", "507"], ["Papua New Guinea", "pg", "675"], ["Paraguay", "py", "595"], ["Peru", "pe", "51"], ["Philippines", "ph", "63", "... ... ...."], ["Poland", "pl", "48", "...-...-..."], ["Portugal", "pt", "351"], ["Puerto Rico", "pr", "1", "(...) ...-....", 3, ["787", "939"]], ["Qatar", "qa", "974"], ["Réunion", "re", "262", "", 0], ["Romania", "ro", "40"], ["Russia", "ru", "7", "(...) ...-..-..", 1], ["Rwanda", "rw", "250"], ["Saint Kitts and Nevis", "kn", "1869"], ["Saint Lucia", "lc", "1758"], ["Saint Vincent and the Grenadines", "vc", "1784"], ["Samoa", "ws", "685"], ["San Marino", "sm", "378"], ["São Tomé and Príncipe", "st", "239"], ["Saudi Arabia", "sa", "966"], ["Senegal", "sn", "221"], ["Serbia", "rs", "381"], ["Seychelles", "sc", "248"], ["Sierra Leone", "sl", "232"], ["Singapore", "sg", "65", "....-...."], ["Slovakia", "sk", "421"], ["Slovenia", "si", "386"], ["Solomon Islands", "sb", "677"], ["Somalia", "so", "252"], ["South Africa", "za", "27"], ["South Korea", "kr", "82", "... .... ...."], ["South Sudan", "ss", "211"], ["Spain", "es", "34", "... ... ..."], ["Sri Lanka", "lk", "94"], ["Sudan", "sd", "249"], ["Suriname", "sr", "597"], ["Swaziland", "sz", "268"], ["Sweden", "se", "46", "... ... ..."], ["Switzerland", "ch", "41", ".. ... .. .."], ["Syria", "sy", "963"], ["Taiwan", "tw", "886"], ["Tajikistan", "tj", "992"], ["Tanzania", "tz", "255"], ["Thailand", "th", "66"], ["Timor-Leste", "tl", "670"], ["Togo", "tg", "228"], ["Tonga", "to", "676"], ["Trinidad and Tobago", "tt", "1868"], ["Tunisia", "tn", "216"], ["Turkey", "tr", "90", "... ... .. .."], ["Turkmenistan", "tm", "993"], ["Tuvalu", "tv", "688"], ["Uganda", "ug", "256"], ["Ukraine", "ua", "380", "(..) ... .. .."], ["United Arab Emirates", "ae", "971"], ["United Kingdom", "gb", "44", ".... ......"], ["United States", "us", "1", "(...) ...-....", 0], ["Uruguay", "uy", "598"], ["Uzbekistan", "uz", "998", ".. ... .. .."], ["Vanuatu", "vu", "678"], ["Vatican City", "va", "39", ".. .... ....", 1], ["Venezuela", "ve", "58"], ["Vietnam", "vn", "84"], ["Yemen", "ye", "967"], ["Zambia", "zm", "260"], ["Zimbabwe", "zw", "263"]];
3
3
  var xe = "react-international-phone-", se = (...t) => t.filter((e) => !!e).join(" ").trim(), Se = (...t) => se(...t).split(" ").map((e) => `${xe}${e}`).join(" "), P = ({ addPrefix: t, rawClassNames: e }) => se(Se(...t), ...e);
4
4
  var le = ({ value: t, mask: e, maskSymbol: a, offset: s = 0, trimNonMaskCharsLeftover: r = false }) => {
5
5
  if (t.length < s) return t;
@@ -76,8 +76,8 @@ var ke = (t) => {
76
76
  let b = k ? s : `${r}${e.dialCode}${o}`;
77
77
  return { inputValue: b, phone: O({ phone: b, prefix: r }), cursorPosition: r.length + e.dialCode.length + o.length, country: e };
78
78
  }
79
- let { phone: N, inputValue: u, country: C } = W({ value: k, country: e, trimNonDigitsEnd: S === "backward", insertDialCodeOnEmpty: a, countryGuessingEnabled: n, countries: m, prefix: r, charAfterDialCode: o, forceDialCode: c, disableDialCodeAndPrefix: i, disableFormatting: d, defaultMask: l }), y = me({ cursorPositionAfterInput: _, phoneBeforeInput: s, phoneAfterInput: k, phoneAfterFormatted: u, leftOffset: c ? r.length + e.dialCode.length + o.length : 0, deletion: S });
80
- return { phone: N, inputValue: u, cursorPosition: y, country: C };
79
+ let { phone: N, inputValue: u, country: y } = W({ value: k, country: e, trimNonDigitsEnd: S === "backward", insertDialCodeOnEmpty: a, countryGuessingEnabled: n, countries: m, prefix: r, charAfterDialCode: o, forceDialCode: c, disableDialCodeAndPrefix: i, disableFormatting: d, defaultMask: l }), C = me({ cursorPositionAfterInput: _, phoneBeforeInput: s, phoneAfterInput: k, phoneAfterFormatted: u, leftOffset: c ? r.length + e.dialCode.length + o.length : 0, deletion: S });
80
+ return { phone: N, inputValue: u, cursorPosition: C, country: y };
81
81
  };
82
82
  var he = (t, e) => {
83
83
  let a = Object.keys(t), s = Object.keys(e);
@@ -85,7 +85,7 @@ var he = (t, e) => {
85
85
  for (let r of a) if (t[r] !== e[r]) return false;
86
86
  return true;
87
87
  };
88
- var ye = () => {
88
+ var Ce = () => {
89
89
  let t = useRef(), e = useRef(Date.now());
90
90
  return { check: () => {
91
91
  let s = Date.now(), r = t.current ? s - e.current : void 0;
@@ -94,7 +94,7 @@ var ye = () => {
94
94
  };
95
95
  var Ie = { size: 20, overrideLastItemDebounceMS: -1 };
96
96
  function ge(t, e) {
97
- let { size: a, overrideLastItemDebounceMS: s, onChange: r } = { ...Ie, ...e }, [o, c] = useState(t), [i, n] = useState([o]), [l, d] = useState(0), m = ye();
97
+ let { size: a, overrideLastItemDebounceMS: s, onChange: r } = { ...Ie, ...e }, [o, c] = useState(t), [i, n] = useState([o]), [l, d] = useState(0), m = Ce();
98
98
  return [o, (p, h) => {
99
99
  if (typeof p == "object" && typeof o == "object" && he(p, o) || p === o) return;
100
100
  let I = s > 0, D = m.check(), k = I && D !== void 0 ? D > s : true;
@@ -114,13 +114,13 @@ function ge(t, e) {
114
114
  return c(p), d((h) => h + 1), r == null ? void 0 : r(p), { success: true, value: p };
115
115
  }];
116
116
  }
117
- var J = ".", E = { defaultCountry: "us", value: "", prefix: "+", defaultMask: "............", charAfterDialCode: " ", historySaveDebounceMS: 200, disableCountryGuess: false, disableDialCodePrefill: false, forceDialCode: false, disableDialCodeAndPrefix: false, disableFormatting: false, countries: R, preferredCountries: [] }, ee = ({ defaultCountry: t = E.defaultCountry, value: e = E.value, countries: a = E.countries, prefix: s = E.prefix, defaultMask: r = E.defaultMask, charAfterDialCode: o = E.charAfterDialCode, historySaveDebounceMS: c = E.historySaveDebounceMS, disableCountryGuess: i = E.disableCountryGuess, disableDialCodePrefill: n = E.disableDialCodePrefill, forceDialCode: l = E.forceDialCode, disableDialCodeAndPrefix: d = E.disableDialCodeAndPrefix, disableFormatting: m = E.disableFormatting, onChange: f, inputRef: g }) => {
117
+ var J = ".", E = { defaultCountry: "us", value: "", prefix: "+", defaultMask: "............", charAfterDialCode: " ", historySaveDebounceMS: 200, disableCountryGuess: false, disableDialCodePrefill: false, forceDialCode: false, disableDialCodeAndPrefix: false, disableFormatting: false, countries: R }, ee = ({ defaultCountry: t = E.defaultCountry, value: e = E.value, countries: a = E.countries, prefix: s = E.prefix, defaultMask: r = E.defaultMask, charAfterDialCode: o = E.charAfterDialCode, historySaveDebounceMS: c = E.historySaveDebounceMS, disableCountryGuess: i = E.disableCountryGuess, disableDialCodePrefill: n = E.disableDialCodePrefill, forceDialCode: l = E.forceDialCode, disableDialCodeAndPrefix: d = E.disableDialCodeAndPrefix, disableFormatting: m = E.disableFormatting, onChange: f, inputRef: g }) => {
118
118
  let h = { countries: a, prefix: s, charAfterDialCode: o, forceDialCode: d ? false : l, disableDialCodeAndPrefix: d, defaultMask: r, countryGuessingEnabled: !i, disableFormatting: m }, I = useRef(null), D = g || I, k = (w) => {
119
119
  Promise.resolve().then(() => {
120
120
  var _a;
121
121
  typeof window > "u" || D.current !== (document == null ? void 0 : document.activeElement) || ((_a = D.current) == null ? void 0 : _a.setSelectionRange(w, w));
122
122
  });
123
- }, [{ phone: _, inputValue: N, country: u }, C, y, b] = ge(() => {
123
+ }, [{ phone: _, inputValue: N, country: u }, y, C, b] = ge(() => {
124
124
  let w = $({ value: t, field: "iso2", countries: a });
125
125
  w || console.error(`[react-international-phone]: can not find a country with "${t}" iso2 code`);
126
126
  let T = w || $({ value: "us", field: "iso2", countries: a }), { phone: x, inputValue: L, country: U } = W({ value: e, country: T, insertDialCodeOnEmpty: !n, ...h });
@@ -140,17 +140,17 @@ var J = ".", E = { defaultCountry: "us", value: "", prefix: "+", defaultMask: ".
140
140
  if (de()) {
141
141
  if (!U) return;
142
142
  } else if (!L) return;
143
- ve ? b() : y();
143
+ ve ? b() : C();
144
144
  }
145
145
  };
146
146
  return w.addEventListener("keydown", T), () => {
147
147
  w.removeEventListener("keydown", T);
148
148
  };
149
- }, [D, y, b]);
149
+ }, [D, C, b]);
150
150
  let V = (w) => {
151
151
  w.preventDefault();
152
152
  let { phone: T, inputValue: x, country: L, cursorPosition: U } = fe(w, { country: A, phoneBeforeInput: N, insertDialCodeOnEmpty: false, ...h });
153
- return C({ inputValue: x, phone: T, country: L.iso2 }), k(U), e;
153
+ return y({ inputValue: x, phone: T, country: L.iso2 }), k(U), e;
154
154
  }, K = (w, T = { focusOnInput: false }) => {
155
155
  let x = $({ value: w, field: "iso2", countries: a });
156
156
  if (!x) {
@@ -158,7 +158,7 @@ var J = ".", E = { defaultCountry: "us", value: "", prefix: "+", defaultMask: ".
158
158
  return;
159
159
  }
160
160
  let L = d ? "" : `${s}${x.dialCode}${o}`;
161
- C({ inputValue: L, phone: `${s}${x.dialCode}`, country: x.iso2 }), T.focusOnInput && Promise.resolve().then(() => {
161
+ y({ inputValue: L, phone: `${s}${x.dialCode}`, country: x.iso2 }), T.focusOnInput && Promise.resolve().then(() => {
162
162
  var _a;
163
163
  (_a = D.current) == null ? void 0 : _a.focus();
164
164
  });
@@ -170,7 +170,7 @@ var J = ".", E = { defaultCountry: "us", value: "", prefix: "+", defaultMask: ".
170
170
  }
171
171
  if (e === _) return;
172
172
  let { phone: w, inputValue: T, country: x } = W({ value: e, country: A, insertDialCodeOnEmpty: !n, ...h });
173
- C({ phone: w, inputValue: T, country: x.iso2 });
173
+ y({ phone: w, inputValue: T, country: x.iso2 });
174
174
  }, [e]), { phone: _, inputValue: N, country: A, setCountry: K, handlePhoneValueChange: V, inputRef: D };
175
175
  };
176
176
  var Q = ({ phone: t, country: e, defaultMask: a = "............", disableFormatting: s = false }) => {
@@ -248,35 +248,35 @@ var Te = (t, e) => {
248
248
  var He = 1e3, ne = ({ show: t, dialCodePrefix: e = "+", selectedCountry: a, countries: s = R, preferredCountries: r = [], flags: o, onSelect: c, onClose: i, ...n }) => {
249
249
  let l = useRef(null), d = useRef(), m = useMemo(() => {
250
250
  if (!r || !r.length) return s;
251
- let u = [], C = [...s];
252
- for (let y of r) {
253
- let b = C.findIndex((v) => M(v).iso2 === y);
251
+ let u = [], y = [...s];
252
+ for (let C of r) {
253
+ let b = y.findIndex((v) => M(v).iso2 === C);
254
254
  if (b !== -1) {
255
- let v = C.splice(b, 1)[0];
255
+ let v = y.splice(b, 1)[0];
256
256
  u.push(v);
257
257
  }
258
258
  }
259
- return u.concat(C);
259
+ return u.concat(y);
260
260
  }, [s, r]), f = useRef({ updatedAt: void 0, value: "" }), g = (u) => {
261
- let C = f.current.updatedAt && (/* @__PURE__ */ new Date()).getTime() - f.current.updatedAt.getTime() > He;
262
- f.current = { value: C ? u : `${f.current.value}${u}`, updatedAt: /* @__PURE__ */ new Date() };
263
- let y = m.findIndex((b) => M(b).name.toLowerCase().startsWith(f.current.value));
264
- y !== -1 && h(y);
265
- }, S = useCallback((u) => m.findIndex((C) => M(C).iso2 === u), [m]), [p, h] = useState(S(a)), I = () => {
261
+ let y = f.current.updatedAt && (/* @__PURE__ */ new Date()).getTime() - f.current.updatedAt.getTime() > He;
262
+ f.current = { value: y ? u : `${f.current.value}${u}`, updatedAt: /* @__PURE__ */ new Date() };
263
+ let C = m.findIndex((b) => M(b).name.toLowerCase().startsWith(f.current.value));
264
+ C !== -1 && h(C);
265
+ }, S = useCallback((u) => m.findIndex((y) => M(y).iso2 === u), [m]), [p, h] = useState(S(a)), I = () => {
266
266
  d.current !== a && h(S(a));
267
267
  }, D = useCallback((u) => {
268
268
  h(S(u.iso2)), c == null ? void 0 : c(u);
269
269
  }, [c, S]), k = (u) => {
270
- let C = m.length - 1, y = (b) => u === "prev" ? b - 1 : u === "next" ? b + 1 : u === "last" ? C : 0;
270
+ let y = m.length - 1, C = (b) => u === "prev" ? b - 1 : u === "next" ? b + 1 : u === "last" ? y : 0;
271
271
  h((b) => {
272
- let v = y(b);
273
- return v < 0 ? 0 : v > C ? C : v;
272
+ let v = C(b);
273
+ return v < 0 ? 0 : v > y ? y : v;
274
274
  });
275
275
  }, _ = (u) => {
276
276
  if (u.stopPropagation(), u.key === "Enter") {
277
277
  u.preventDefault();
278
- let C = M(m[p]);
279
- D(C);
278
+ let y = M(m[p]);
279
+ D(y);
280
280
  return;
281
281
  }
282
282
  if (u.key === "Escape") {
@@ -304,8 +304,8 @@ var He = 1e3, ne = ({ show: t, dialCodePrefix: e = "+", selectedCountry: a, coun
304
304
  if (!l.current || p === void 0) return;
305
305
  let u = M(m[p]).iso2;
306
306
  if (u === d.current) return;
307
- let C = l.current.querySelector(`[data-country="${u}"]`);
308
- C && (ue(l.current, C), d.current = u);
307
+ let y = l.current.querySelector(`[data-country="${u}"]`);
308
+ y && (ue(l.current, y), d.current = u);
309
309
  }, [p, m]);
310
310
  return useEffect(() => {
311
311
  N();
@@ -313,9 +313,9 @@ var He = 1e3, ne = ({ show: t, dialCodePrefix: e = "+", selectedCountry: a, coun
313
313
  l.current && (t ? l.current.focus() : I());
314
314
  }, [t]), useEffect(() => {
315
315
  I();
316
- }, [a]), React__default.createElement("ul", { ref: l, role: "listbox", className: P({ addPrefix: ["country-selector-dropdown"], rawClassNames: [n.className] }), style: { display: t ? "block" : "none", ...n.style }, onKeyDown: _, onBlur: i, tabIndex: -1, "aria-activedescendant": `react-international-phone__${M(m[p]).iso2}-option` }, m.map((u, C) => {
317
- let y = M(u), b = y.iso2 === a, v = C === p, A = r.includes(y.iso2), V = C === r.length - 1, K = o == null ? void 0 : o.find((G) => G.iso2 === y.iso2);
318
- return React__default.createElement(React__default.Fragment, { key: y.iso2 }, React__default.createElement("li", { "data-country": y.iso2, role: "option", "aria-selected": b, "aria-label": `${y.name} ${e}${y.dialCode}`, id: `react-international-phone__${y.iso2}-option`, className: P({ addPrefix: ["country-selector-dropdown__list-item", A && "country-selector-dropdown__list-item--preferred", b && "country-selector-dropdown__list-item--selected", v && "country-selector-dropdown__list-item--focused"], rawClassNames: [n.listItemClassName] }), onClick: () => D(y), style: n.listItemStyle, title: y.name }, React__default.createElement(q, { iso2: y.iso2, src: K == null ? void 0 : K.src, className: P({ addPrefix: ["country-selector-dropdown__list-item-flag-emoji"], rawClassNames: [n.listItemFlagClassName] }), style: n.listItemFlagStyle }), React__default.createElement("span", { className: P({ addPrefix: ["country-selector-dropdown__list-item-country-name"], rawClassNames: [n.listItemCountryNameClassName] }), style: n.listItemCountryNameStyle }, y.name), React__default.createElement("span", { className: P({ addPrefix: ["country-selector-dropdown__list-item-dial-code"], rawClassNames: [n.listItemDialCodeClassName] }), style: n.listItemDialCodeStyle }, e, y.dialCode)), V ? React__default.createElement("hr", { className: P({ addPrefix: ["country-selector-dropdown__preferred-list-divider"], rawClassNames: [n.preferredListDividerClassName] }), style: n.preferredListDividerStyle }) : null);
316
+ }, [a]), React__default.createElement("ul", { ref: l, role: "listbox", className: P({ addPrefix: ["country-selector-dropdown"], rawClassNames: [n.className] }), style: { display: t ? "block" : "none", ...n.style }, onKeyDown: _, onBlur: i, tabIndex: -1, "aria-activedescendant": `react-international-phone__${M(m[p]).iso2}-option` }, m.map((u, y) => {
317
+ let C = M(u), b = C.iso2 === a, v = y === p, A = r.includes(C.iso2), V = y === r.length - 1, K = o == null ? void 0 : o.find((G) => G.iso2 === C.iso2);
318
+ return React__default.createElement(React__default.Fragment, { key: C.iso2 }, React__default.createElement("li", { "data-country": C.iso2, role: "option", "aria-selected": b, "aria-label": `${C.name} ${e}${C.dialCode}`, id: `react-international-phone__${C.iso2}-option`, className: P({ addPrefix: ["country-selector-dropdown__list-item", A && "country-selector-dropdown__list-item--preferred", b && "country-selector-dropdown__list-item--selected", v && "country-selector-dropdown__list-item--focused"], rawClassNames: [n.listItemClassName] }), onClick: () => D(C), style: n.listItemStyle, title: C.name }, React__default.createElement(q, { iso2: C.iso2, src: K == null ? void 0 : K.src, className: P({ addPrefix: ["country-selector-dropdown__list-item-flag-emoji"], rawClassNames: [n.listItemFlagClassName] }), style: n.listItemFlagStyle }), React__default.createElement("span", { className: P({ addPrefix: ["country-selector-dropdown__list-item-country-name"], rawClassNames: [n.listItemCountryNameClassName] }), style: n.listItemCountryNameStyle }, C.name), React__default.createElement("span", { className: P({ addPrefix: ["country-selector-dropdown__list-item-dial-code"], rawClassNames: [n.listItemDialCodeClassName] }), style: n.listItemDialCodeStyle }, e, C.dialCode)), V ? React__default.createElement("hr", { className: P({ addPrefix: ["country-selector-dropdown__preferred-list-divider"], rawClassNames: [n.preferredListDividerClassName] }), style: n.preferredListDividerStyle }) : null);
319
319
  }));
320
320
  };
321
321
  var ae = ({ selectedCountry: t, onSelect: e, disabled: a, hideDropdown: s, countries: r = R, preferredCountries: o = [], flags: c, renderButtonWrapper: i, ...n }) => {
@@ -335,11 +335,11 @@ var ae = ({ selectedCountry: t, onSelect: e, disabled: a, hideDropdown: s, count
335
335
  }, ...n.dropdownStyleProps }));
336
336
  };
337
337
  var ie = ({ dialCode: t, prefix: e, disabled: a, style: s, className: r }) => React__default.createElement("div", { className: P({ addPrefix: ["dial-code-preview", a && "dial-code-preview--disabled"], rawClassNames: [r] }), style: s }, `${e}${t}`);
338
- forwardRef(({ value: t, onChange: e, countries: a = R, preferredCountries: s = [], hideDropdown: r, showDisabledDialCodeAndPrefix: o, disableFocusAfterCountrySelect: c, flags: i, style: n, className: l, inputStyle: d, inputClassName: m, countrySelectorStyleProps: f, dialCodePreviewStyleProps: g, inputProps: S, placeholder: p, disabled: h, name: I, onFocus: D, onBlur: k, required: _, autoFocus: N, ...u }, C) => {
339
- let { phone: y, inputValue: b, inputRef: v, country: A, setCountry: V, handlePhoneValueChange: K } = ee({ value: t, countries: a, ...u, onChange: (j) => {
338
+ forwardRef(({ value: t, onChange: e, countries: a = R, preferredCountries: s = [], hideDropdown: r, showDisabledDialCodeAndPrefix: o, disableFocusAfterCountrySelect: c, flags: i, style: n, className: l, inputStyle: d, inputClassName: m, countrySelectorStyleProps: f, dialCodePreviewStyleProps: g, inputProps: S, placeholder: p, disabled: h, name: I, onFocus: D, onBlur: k, required: _, autoFocus: N, ...u }, y) => {
339
+ let { phone: C, inputValue: b, inputRef: v, country: A, setCountry: V, handlePhoneValueChange: K } = ee({ value: t, countries: a, ...u, onChange: (j) => {
340
340
  e == null ? void 0 : e(j.phone, { country: j.country, inputValue: j.inputValue });
341
341
  } }), G = u.disableDialCodeAndPrefix && o && (A == null ? void 0 : A.dialCode);
342
- return useImperativeHandle(C, () => v.current ? Object.assign(v.current, { setCountry: V, state: { phone: y, inputValue: b, country: A } }) : null, [v, V, y, b, A]), React__default.createElement("div", { ref: C, className: P({ addPrefix: ["input-container"], rawClassNames: [l] }), style: n }, React__default.createElement(ae, { onSelect: (j) => V(j.iso2, { focusOnInput: !c }), flags: i, selectedCountry: A.iso2, countries: a, preferredCountries: s, disabled: h, hideDropdown: r, ...f }), G && React__default.createElement(ie, { dialCode: A.dialCode, prefix: u.prefix ?? "+", disabled: h, ...g }), React__default.createElement("input", { onChange: K, value: b, type: "tel", ref: v, className: P({ addPrefix: ["input", h && "input--disabled"], rawClassNames: [m] }), placeholder: p, disabled: h, style: d, name: I, onFocus: D, onBlur: k, autoFocus: N, required: _, ...S }));
342
+ return useImperativeHandle(y, () => v.current ? Object.assign(v.current, { setCountry: V, state: { phone: C, inputValue: b, country: A } }) : null, [v, V, C, b, A]), React__default.createElement("div", { ref: y, className: P({ addPrefix: ["input-container"], rawClassNames: [l] }), style: n }, React__default.createElement(ae, { onSelect: (j) => V(j.iso2, { focusOnInput: !c }), flags: i, selectedCountry: A.iso2, countries: a, preferredCountries: s, disabled: h, hideDropdown: r, ...f }), G && React__default.createElement(ie, { dialCode: A.dialCode, prefix: u.prefix ?? "+", disabled: h, ...g }), React__default.createElement("input", { onChange: K, value: b, type: "tel", ref: v, className: P({ addPrefix: ["input", h && "input--disabled"], rawClassNames: [m] }), placeholder: p, disabled: h, style: d, name: I, onFocus: D, onBlur: k, autoFocus: N, required: _, ...S }));
343
343
  });
344
344
  export {
345
345
  ae as CountrySelector,
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { styleSingleton } from "../../../../../react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js";
2
+ import { styleSingleton } from "../../../../../react-style-singleton@2.2.3_@types_react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js";
3
3
  import { noScrollbarsClassName, zeroRightClassName, fullWidthClassName, removedBarSizeVariable } from "./constants.js";
4
4
  import { getGapWidth } from "./utils.js";
5
5
  var Style = styleSingleton();
@@ -1,7 +1,7 @@
1
1
  import { __spreadArray } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
2
2
  import * as React from "react";
3
- import { RemoveScrollBar } from "../../../../../react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js";
4
- import { styleSingleton } from "../../../../../react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js";
3
+ import { RemoveScrollBar } from "../../../../../react-remove-scroll-bar@2.3.8_@types_react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js";
4
+ import { styleSingleton } from "../../../../../react-style-singleton@2.2.3_@types_react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js";
5
5
  import { nonPassive } from "./aggresiveCapture.js";
6
6
  import { locationCouldBeScrolled, handleScroll } from "./handleScroll.js";
7
7
  var getTouchXY = function(event) {
@@ -81,7 +81,7 @@ function RemoveScrollSideCar(props) {
81
81
  return true;
82
82
  }
83
83
  var cancelingAxis = activeAxis.current || currentAxis;
84
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
84
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
85
85
  }, []);
86
86
  var shouldPrevent = React.useCallback(function(_event) {
87
87
  var event = _event;
@@ -153,7 +153,7 @@ function RemoveScrollSideCar(props) {
153
153
  React.Fragment,
154
154
  null,
155
155
  inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,
156
- removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null
156
+ removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null
157
157
  );
158
158
  }
159
159
  function getOutermostShadowParent(node) {
@@ -1,8 +1,8 @@
1
1
  import { __rest, __assign } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
2
2
  import * as React from "react";
3
- import { fullWidthClassName, zeroRightClassName } from "../../../../../react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js";
3
+ import { zeroRightClassName, fullWidthClassName } from "../../../../../react-remove-scroll-bar@2.3.8_@types_react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js";
4
4
  import { effectCar } from "./medium.js";
5
- import { useMergeRefs } from "../../../../../use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js";
5
+ import { useMergeRefs } from "../../../../../use-callback-ref@1.3.3_@types_react@18.3.23_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js";
6
6
  var nothing = function() {
7
7
  return;
8
8
  };
@@ -13,14 +13,14 @@ var RemoveScroll = React.forwardRef(function(props, parentRef) {
13
13
  onWheelCapture: nothing,
14
14
  onTouchMoveCapture: nothing
15
15
  }), callbacks = _a[0], setCallbacks = _a[1];
16
- var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
16
+ var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
17
17
  var SideCar = sideCar;
18
18
  var containerRef = useMergeRefs([ref, parentRef]);
19
19
  var containerProps = __assign(__assign({}, rest), callbacks);
20
20
  return React.createElement(
21
21
  React.Fragment,
22
22
  null,
23
- enabled && React.createElement(SideCar, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
23
+ enabled && React.createElement(SideCar, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
24
24
  forwardProps ? React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
25
25
  );
26
26
  });
@@ -71,6 +71,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
71
71
  var availableScroll = 0;
72
72
  var availableScrollTop = 0;
73
73
  do {
74
+ if (!target) {
75
+ break;
76
+ }
74
77
  var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];
75
78
  var elementScroll = scroll_1 - capacity - directionFactor * position;
76
79
  if (position || elementScroll) {
@@ -79,19 +82,16 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
79
82
  availableScrollTop += position;
80
83
  }
81
84
  }
82
- if (target instanceof ShadowRoot) {
83
- target = target.host;
84
- } else {
85
- target = target.parentNode;
86
- }
85
+ var parent_1 = target.parentNode;
86
+ target = parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1;
87
87
  } while (
88
88
  // portaled content
89
89
  !targetInLock && target !== document.body || // self content
90
90
  targetInLock && (endTarget.contains(target) || endTarget === target)
91
91
  );
92
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
92
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
93
93
  shouldCancelScroll = true;
94
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
94
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
95
95
  shouldCancelScroll = true;
96
96
  }
97
97
  return shouldCancelScroll;
@@ -1,4 +1,4 @@
1
- import { createSidecarMedium } from "../../../../../use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js";
1
+ import { createSidecarMedium } from "../../../../../use-sidecar@1.1.3_@types_react@18.3.23_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js";
2
2
  var effectCar = createSidecarMedium();
3
3
  export {
4
4
  effectCar
@@ -1,6 +1,6 @@
1
1
  import { RemoveScrollSideCar } from "./SideEffect.js";
2
2
  import { effectCar } from "./medium.js";
3
- import { exportSidecar } from "../../../../../use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js";
3
+ import { exportSidecar } from "../../../../../use-sidecar@1.1.3_@types_react@18.3.23_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js";
4
4
  const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
5
5
  export {
6
6
  SideCar as default
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Overlay as Overlay$1, Content as Content$1, Trigger, Close, Title, Description, Root as Root$1, Portal as Portal$1 } from "../../../../@radix-ui_react-dialog@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vurlugjqrhlu53o6edaj3yx2bq/node_modules/@radix-ui/react-dialog/dist/index.js";
2
+ import { Trigger, Close, Title, Portal as Portal$1, Description, Root as Root$1, Content as Content$1, Overlay as Overlay$1 } from "../../../../@radix-ui_react-dialog@1.1.14_@types_react-dom@18.3.7_@types_react@18.3.23__@types_react@18.3_skdkbhdoafm46nddrsexoqxvsa/node_modules/@radix-ui/react-dialog/dist/index.js";
3
3
  import * as React from "react";
4
- import React__default, { useMemo, useLayoutEffect, useEffect } from "react";
4
+ import React__default, { useLayoutEffect, useEffect, useMemo } from "react";
5
5
  function __insertCSS(code) {
6
6
  if (typeof document == "undefined") return;
7
7
  let head = document.head || document.getElementsByTagName("head")[0];
@@ -1451,31 +1451,6 @@ const Handle = /* @__PURE__ */ React__default.forwardRef(function({ preventCycle
1451
1451
  }, children));
1452
1452
  });
1453
1453
  Handle.displayName = "Drawer.Handle";
1454
- function NestedRoot({ onDrag, onOpenChange, open: nestedIsOpen, ...rest }) {
1455
- const { onNestedDrag, onNestedOpenChange, onNestedRelease } = useDrawerContext();
1456
- if (!onNestedDrag) {
1457
- throw new Error("Drawer.NestedRoot must be placed in another drawer");
1458
- }
1459
- return /* @__PURE__ */ React__default.createElement(Root, {
1460
- nested: true,
1461
- open: nestedIsOpen,
1462
- onClose: () => {
1463
- onNestedOpenChange(false);
1464
- },
1465
- onDrag: (e, p) => {
1466
- onNestedDrag(e, p);
1467
- onDrag == null ? void 0 : onDrag(e, p);
1468
- },
1469
- onOpenChange: (o) => {
1470
- if (o) {
1471
- onNestedOpenChange(o);
1472
- }
1473
- onOpenChange == null ? void 0 : onOpenChange(o);
1474
- },
1475
- onRelease: onNestedRelease,
1476
- ...rest
1477
- });
1478
- }
1479
1454
  function Portal(props) {
1480
1455
  const context = useDrawerContext();
1481
1456
  const { container = context.container, ...portalProps } = props;
@@ -1486,12 +1461,10 @@ function Portal(props) {
1486
1461
  }
1487
1462
  const Drawer = {
1488
1463
  Root,
1489
- NestedRoot,
1490
1464
  Content,
1491
1465
  Overlay,
1492
1466
  Trigger,
1493
1467
  Portal,
1494
- Handle,
1495
1468
  Close,
1496
1469
  Title,
1497
1470
  Description
@@ -1500,7 +1473,6 @@ export {
1500
1473
  Content,
1501
1474
  Drawer,
1502
1475
  Handle,
1503
- NestedRoot,
1504
1476
  Overlay,
1505
1477
  Portal,
1506
1478
  Root
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldcoin/mini-apps-ui-kit-react",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -49,15 +49,15 @@
49
49
  "globals": "^15.11.0",
50
50
  "react": "^18.3.1",
51
51
  "react-dom": "^18.3.1",
52
- "rollup-plugin-visualizer": "^5.14.0",
52
+ "rollup-plugin-visualizer": "^6.0.3",
53
53
  "rollup-preserve-directives": "^1.1.3",
54
54
  "storybook": "^8.4.7",
55
55
  "tailwindcss": "^3.4.15",
56
56
  "tailwindcss-animate": "^1.0.7",
57
57
  "typescript": "~5.6.2",
58
58
  "typescript-eslint": "^8.11.0",
59
- "vite": ">=5.4.12",
60
- "vite-plugin-dts": "^4.3.0"
59
+ "vite": "^6.3.5",
60
+ "vite-plugin-dts": "^4.5.4"
61
61
  },
62
62
  "dependencies": {
63
63
  "@radix-ui/react-checkbox": "^1.1.2",
@@ -245,6 +245,10 @@
245
245
  "types": "./dist/components/Haptic/index.d.ts",
246
246
  "default": "./dist/components/Haptic/index.js"
247
247
  },
248
+ "./SafeAreaView": {
249
+ "types": "./dist/components/SafeAreaView/index.d.ts",
250
+ "default": "./dist/components/SafeAreaView/index.js"
251
+ },
248
252
  "./tailwind": {
249
253
  "types": "./dist/tailwind/index.d.ts",
250
254
  "import": "./dist/tailwind/index.js",