@worldcoin/mini-apps-ui-kit-react 1.2.4 → 1.3.1

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 -1
  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 +1 -10
  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,225 +0,0 @@
1
- "use client";
2
- import * as React from "react";
3
- import { composeEventHandlers } from "../../../../../@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js";
4
- import { createCollection } from "../../../../../@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";
5
- import { useComposedRefs } from "../../../../../@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js";
6
- import { createContextScope } from "../../../../../@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js";
7
- import { useId } from "../../../../../@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js";
8
- import { Primitive } from "../../../../../@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";
9
- import { useCallbackRef } from "../../../../../@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js";
10
- import { useControllableState } from "../../../../../@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";
11
- import { useDirection } from "../../../../../@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js";
12
- import { jsx } from "react/jsx-runtime";
13
- var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
14
- var EVENT_OPTIONS = { bubbles: false, cancelable: true };
15
- var GROUP_NAME = "RovingFocusGroup";
16
- var [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);
17
- var [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(
18
- GROUP_NAME,
19
- [createCollectionScope]
20
- );
21
- var [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);
22
- var RovingFocusGroup = React.forwardRef(
23
- (props, forwardedRef) => {
24
- return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });
25
- }
26
- );
27
- RovingFocusGroup.displayName = GROUP_NAME;
28
- var RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {
29
- const {
30
- __scopeRovingFocusGroup,
31
- orientation,
32
- loop = false,
33
- dir,
34
- currentTabStopId: currentTabStopIdProp,
35
- defaultCurrentTabStopId,
36
- onCurrentTabStopIdChange,
37
- onEntryFocus,
38
- preventScrollOnEntryFocus = false,
39
- ...groupProps
40
- } = props;
41
- const ref = React.useRef(null);
42
- const composedRefs = useComposedRefs(forwardedRef, ref);
43
- const direction = useDirection(dir);
44
- const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({
45
- prop: currentTabStopIdProp,
46
- defaultProp: defaultCurrentTabStopId,
47
- onChange: onCurrentTabStopIdChange
48
- });
49
- const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);
50
- const handleEntryFocus = useCallbackRef(onEntryFocus);
51
- const getItems = useCollection(__scopeRovingFocusGroup);
52
- const isClickFocusRef = React.useRef(false);
53
- const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);
54
- React.useEffect(() => {
55
- const node = ref.current;
56
- if (node) {
57
- node.addEventListener(ENTRY_FOCUS, handleEntryFocus);
58
- return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);
59
- }
60
- }, [handleEntryFocus]);
61
- return /* @__PURE__ */ jsx(
62
- RovingFocusProvider,
63
- {
64
- scope: __scopeRovingFocusGroup,
65
- orientation,
66
- dir: direction,
67
- loop,
68
- currentTabStopId,
69
- onItemFocus: React.useCallback(
70
- (tabStopId) => setCurrentTabStopId(tabStopId),
71
- [setCurrentTabStopId]
72
- ),
73
- onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),
74
- onFocusableItemAdd: React.useCallback(
75
- () => setFocusableItemsCount((prevCount) => prevCount + 1),
76
- []
77
- ),
78
- onFocusableItemRemove: React.useCallback(
79
- () => setFocusableItemsCount((prevCount) => prevCount - 1),
80
- []
81
- ),
82
- children: /* @__PURE__ */ jsx(
83
- Primitive.div,
84
- {
85
- tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
86
- "data-orientation": orientation,
87
- ...groupProps,
88
- ref: composedRefs,
89
- style: { outline: "none", ...props.style },
90
- onMouseDown: composeEventHandlers(props.onMouseDown, () => {
91
- isClickFocusRef.current = true;
92
- }),
93
- onFocus: composeEventHandlers(props.onFocus, (event) => {
94
- const isKeyboardFocus = !isClickFocusRef.current;
95
- if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {
96
- const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);
97
- event.currentTarget.dispatchEvent(entryFocusEvent);
98
- if (!entryFocusEvent.defaultPrevented) {
99
- const items = getItems().filter((item) => item.focusable);
100
- const activeItem = items.find((item) => item.active);
101
- const currentItem = items.find((item) => item.id === currentTabStopId);
102
- const candidateItems = [activeItem, currentItem, ...items].filter(
103
- Boolean
104
- );
105
- const candidateNodes = candidateItems.map((item) => item.ref.current);
106
- focusFirst(candidateNodes, preventScrollOnEntryFocus);
107
- }
108
- }
109
- isClickFocusRef.current = false;
110
- }),
111
- onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))
112
- }
113
- )
114
- }
115
- );
116
- });
117
- var ITEM_NAME = "RovingFocusGroupItem";
118
- var RovingFocusGroupItem = React.forwardRef(
119
- (props, forwardedRef) => {
120
- const {
121
- __scopeRovingFocusGroup,
122
- focusable = true,
123
- active = false,
124
- tabStopId,
125
- ...itemProps
126
- } = props;
127
- const autoId = useId();
128
- const id = tabStopId || autoId;
129
- const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);
130
- const isCurrentTabStop = context.currentTabStopId === id;
131
- const getItems = useCollection(__scopeRovingFocusGroup);
132
- const { onFocusableItemAdd, onFocusableItemRemove } = context;
133
- React.useEffect(() => {
134
- if (focusable) {
135
- onFocusableItemAdd();
136
- return () => onFocusableItemRemove();
137
- }
138
- }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);
139
- return /* @__PURE__ */ jsx(
140
- Collection.ItemSlot,
141
- {
142
- scope: __scopeRovingFocusGroup,
143
- id,
144
- focusable,
145
- active,
146
- children: /* @__PURE__ */ jsx(
147
- Primitive.span,
148
- {
149
- tabIndex: isCurrentTabStop ? 0 : -1,
150
- "data-orientation": context.orientation,
151
- ...itemProps,
152
- ref: forwardedRef,
153
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
154
- if (!focusable) event.preventDefault();
155
- else context.onItemFocus(id);
156
- }),
157
- onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),
158
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
159
- if (event.key === "Tab" && event.shiftKey) {
160
- context.onItemShiftTab();
161
- return;
162
- }
163
- if (event.target !== event.currentTarget) return;
164
- const focusIntent = getFocusIntent(event, context.orientation, context.dir);
165
- if (focusIntent !== void 0) {
166
- if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;
167
- event.preventDefault();
168
- const items = getItems().filter((item) => item.focusable);
169
- let candidateNodes = items.map((item) => item.ref.current);
170
- if (focusIntent === "last") candidateNodes.reverse();
171
- else if (focusIntent === "prev" || focusIntent === "next") {
172
- if (focusIntent === "prev") candidateNodes.reverse();
173
- const currentIndex = candidateNodes.indexOf(event.currentTarget);
174
- candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
175
- }
176
- setTimeout(() => focusFirst(candidateNodes));
177
- }
178
- })
179
- }
180
- )
181
- }
182
- );
183
- }
184
- );
185
- RovingFocusGroupItem.displayName = ITEM_NAME;
186
- var MAP_KEY_TO_FOCUS_INTENT = {
187
- ArrowLeft: "prev",
188
- ArrowUp: "prev",
189
- ArrowRight: "next",
190
- ArrowDown: "next",
191
- PageUp: "first",
192
- Home: "first",
193
- PageDown: "last",
194
- End: "last"
195
- };
196
- function getDirectionAwareKey(key, dir) {
197
- if (dir !== "rtl") return key;
198
- return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
199
- }
200
- function getFocusIntent(event, orientation, dir) {
201
- const key = getDirectionAwareKey(event.key, dir);
202
- if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
203
- if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
204
- return MAP_KEY_TO_FOCUS_INTENT[key];
205
- }
206
- function focusFirst(candidates, preventScroll = false) {
207
- const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
208
- for (const candidate of candidates) {
209
- if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
210
- candidate.focus({ preventScroll });
211
- if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
212
- }
213
- }
214
- function wrapArray(array, startIndex) {
215
- return array.map((_, index) => array[(startIndex + index) % array.length]);
216
- }
217
- var Root = RovingFocusGroup;
218
- var Item = RovingFocusGroupItem;
219
- export {
220
- Item,
221
- Root,
222
- RovingFocusGroup,
223
- RovingFocusGroupItem,
224
- createRovingFocusGroupScope
225
- };
@@ -1,82 +0,0 @@
1
- import * as React from "react";
2
- import { composeRefs } from "../../../../../@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js";
3
- import { jsx, Fragment } from "react/jsx-runtime";
4
- var Slot = React.forwardRef((props, forwardedRef) => {
5
- const { children, ...slotProps } = props;
6
- const childrenArray = React.Children.toArray(children);
7
- const slottable = childrenArray.find(isSlottable);
8
- if (slottable) {
9
- const newElement = slottable.props.children;
10
- const newChildren = childrenArray.map((child) => {
11
- if (child === slottable) {
12
- if (React.Children.count(newElement) > 1) return React.Children.only(null);
13
- return React.isValidElement(newElement) ? newElement.props.children : null;
14
- } else {
15
- return child;
16
- }
17
- });
18
- return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });
19
- }
20
- return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
21
- });
22
- Slot.displayName = "Slot";
23
- var SlotClone = React.forwardRef((props, forwardedRef) => {
24
- const { children, ...slotProps } = props;
25
- if (React.isValidElement(children)) {
26
- const childrenRef = getElementRef(children);
27
- return React.cloneElement(children, {
28
- ...mergeProps(slotProps, children.props),
29
- // @ts-ignore
30
- ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef
31
- });
32
- }
33
- return React.Children.count(children) > 1 ? React.Children.only(null) : null;
34
- });
35
- SlotClone.displayName = "SlotClone";
36
- var Slottable = ({ children }) => {
37
- return /* @__PURE__ */ jsx(Fragment, { children });
38
- };
39
- function isSlottable(child) {
40
- return React.isValidElement(child) && child.type === Slottable;
41
- }
42
- function mergeProps(slotProps, childProps) {
43
- const overrideProps = { ...childProps };
44
- for (const propName in childProps) {
45
- const slotPropValue = slotProps[propName];
46
- const childPropValue = childProps[propName];
47
- const isHandler = /^on[A-Z]/.test(propName);
48
- if (isHandler) {
49
- if (slotPropValue && childPropValue) {
50
- overrideProps[propName] = (...args) => {
51
- childPropValue(...args);
52
- slotPropValue(...args);
53
- };
54
- } else if (slotPropValue) {
55
- overrideProps[propName] = slotPropValue;
56
- }
57
- } else if (propName === "style") {
58
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
59
- } else if (propName === "className") {
60
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
61
- }
62
- }
63
- return { ...slotProps, ...overrideProps };
64
- }
65
- function getElementRef(element) {
66
- var _a, _b;
67
- let getter = (_a = Object.getOwnPropertyDescriptor(element.props, "ref")) == null ? void 0 : _a.get;
68
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
69
- if (mayWarn) {
70
- return element.ref;
71
- }
72
- getter = (_b = Object.getOwnPropertyDescriptor(element, "ref")) == null ? void 0 : _b.get;
73
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
74
- if (mayWarn) {
75
- return element.props.ref;
76
- }
77
- return element.props.ref || element.ref;
78
- }
79
- export {
80
- Slot,
81
- Slottable
82
- };
@@ -1,82 +0,0 @@
1
- import * as React from "react";
2
- import { composeRefs } from "../../../../../@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js";
3
- import { jsx, Fragment } from "react/jsx-runtime";
4
- var Slot = React.forwardRef((props, forwardedRef) => {
5
- const { children, ...slotProps } = props;
6
- const childrenArray = React.Children.toArray(children);
7
- const slottable = childrenArray.find(isSlottable);
8
- if (slottable) {
9
- const newElement = slottable.props.children;
10
- const newChildren = childrenArray.map((child) => {
11
- if (child === slottable) {
12
- if (React.Children.count(newElement) > 1) return React.Children.only(null);
13
- return React.isValidElement(newElement) ? newElement.props.children : null;
14
- } else {
15
- return child;
16
- }
17
- });
18
- return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });
19
- }
20
- return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
21
- });
22
- Slot.displayName = "Slot";
23
- var SlotClone = React.forwardRef((props, forwardedRef) => {
24
- const { children, ...slotProps } = props;
25
- if (React.isValidElement(children)) {
26
- const childrenRef = getElementRef(children);
27
- const props2 = mergeProps(slotProps, children.props);
28
- if (children.type !== React.Fragment) {
29
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
30
- }
31
- return React.cloneElement(children, props2);
32
- }
33
- return React.Children.count(children) > 1 ? React.Children.only(null) : null;
34
- });
35
- SlotClone.displayName = "SlotClone";
36
- var Slottable = ({ children }) => {
37
- return /* @__PURE__ */ jsx(Fragment, { children });
38
- };
39
- function isSlottable(child) {
40
- return React.isValidElement(child) && child.type === Slottable;
41
- }
42
- function mergeProps(slotProps, childProps) {
43
- const overrideProps = { ...childProps };
44
- for (const propName in childProps) {
45
- const slotPropValue = slotProps[propName];
46
- const childPropValue = childProps[propName];
47
- const isHandler = /^on[A-Z]/.test(propName);
48
- if (isHandler) {
49
- if (slotPropValue && childPropValue) {
50
- overrideProps[propName] = (...args) => {
51
- childPropValue(...args);
52
- slotPropValue(...args);
53
- };
54
- } else if (slotPropValue) {
55
- overrideProps[propName] = slotPropValue;
56
- }
57
- } else if (propName === "style") {
58
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
59
- } else if (propName === "className") {
60
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
61
- }
62
- }
63
- return { ...slotProps, ...overrideProps };
64
- }
65
- function getElementRef(element) {
66
- var _a, _b;
67
- let getter = (_a = Object.getOwnPropertyDescriptor(element.props, "ref")) == null ? void 0 : _a.get;
68
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
69
- if (mayWarn) {
70
- return element.ref;
71
- }
72
- getter = (_b = Object.getOwnPropertyDescriptor(element, "ref")) == null ? void 0 : _b.get;
73
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
74
- if (mayWarn) {
75
- return element.props.ref;
76
- }
77
- return element.props.ref || element.ref;
78
- }
79
- export {
80
- Slot,
81
- Slottable
82
- };
@@ -1,45 +0,0 @@
1
- import * as React from "react";
2
- import { useCallbackRef } from "../../../../../@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js";
3
- function useControllableState({
4
- prop,
5
- defaultProp,
6
- onChange = () => {
7
- }
8
- }) {
9
- const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });
10
- const isControlled = prop !== void 0;
11
- const value = isControlled ? prop : uncontrolledProp;
12
- const handleChange = useCallbackRef(onChange);
13
- const setValue = React.useCallback(
14
- (nextValue) => {
15
- if (isControlled) {
16
- const setter = nextValue;
17
- const value2 = typeof nextValue === "function" ? setter(prop) : nextValue;
18
- if (value2 !== prop) handleChange(value2);
19
- } else {
20
- setUncontrolledProp(nextValue);
21
- }
22
- },
23
- [isControlled, prop, setUncontrolledProp, handleChange]
24
- );
25
- return [value, setValue];
26
- }
27
- function useUncontrolledState({
28
- defaultProp,
29
- onChange
30
- }) {
31
- const uncontrolledState = React.useState(defaultProp);
32
- const [value] = uncontrolledState;
33
- const prevValueRef = React.useRef(value);
34
- const handleChange = useCallbackRef(onChange);
35
- React.useEffect(() => {
36
- if (prevValueRef.current !== value) {
37
- handleChange(value);
38
- prevValueRef.current = value;
39
- }
40
- }, [value, prevValueRef, handleChange]);
41
- return uncontrolledState;
42
- }
43
- export {
44
- useControllableState
45
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- var useLayoutEffect2 = Boolean(globalThis == null ? void 0 : globalThis.document) ? React.useLayoutEffect : () => {
3
- };
4
- export {
5
- useLayoutEffect2 as useLayoutEffect
6
- };
@@ -1,33 +0,0 @@
1
- import * as React from "react";
2
- import { Primitive } from "../../../../../@radix-ui_react-primitive@2.0.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sspjpiczol7qxzbuuyfihuep4u/node_modules/@radix-ui/react-primitive/dist/index.js";
3
- import { jsx } from "react/jsx-runtime";
4
- var NAME = "VisuallyHidden";
5
- var VisuallyHidden = React.forwardRef(
6
- (props, forwardedRef) => {
7
- return /* @__PURE__ */ jsx(
8
- Primitive.span,
9
- {
10
- ...props,
11
- ref: forwardedRef,
12
- style: {
13
- // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
14
- position: "absolute",
15
- border: 0,
16
- width: 1,
17
- height: 1,
18
- padding: 0,
19
- margin: -1,
20
- overflow: "hidden",
21
- clip: "rect(0, 0, 0, 0)",
22
- whiteSpace: "nowrap",
23
- wordWrap: "normal",
24
- ...props.style
25
- }
26
- }
27
- );
28
- }
29
- );
30
- VisuallyHidden.displayName = NAME;
31
- export {
32
- VisuallyHidden
33
- };
@@ -1,33 +0,0 @@
1
- import * as React from "react";
2
- import { Primitive } from "../../../../../@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";
3
- import { jsx } from "react/jsx-runtime";
4
- var NAME = "VisuallyHidden";
5
- var VisuallyHidden = React.forwardRef(
6
- (props, forwardedRef) => {
7
- return /* @__PURE__ */ jsx(
8
- Primitive.span,
9
- {
10
- ...props,
11
- ref: forwardedRef,
12
- style: {
13
- // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
14
- position: "absolute",
15
- border: 0,
16
- width: 1,
17
- height: 1,
18
- padding: 0,
19
- margin: -1,
20
- overflow: "hidden",
21
- clip: "rect(0, 0, 0, 0)",
22
- whiteSpace: "nowrap",
23
- wordWrap: "normal",
24
- ...props.style
25
- }
26
- }
27
- );
28
- }
29
- );
30
- VisuallyHidden.displayName = NAME;
31
- export {
32
- VisuallyHidden
33
- };
@@ -1,33 +0,0 @@
1
- import * as React from "react";
2
- import { Primitive } from "../../../../../@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";
3
- import { jsx } from "react/jsx-runtime";
4
- var NAME = "VisuallyHidden";
5
- var VisuallyHidden = React.forwardRef(
6
- (props, forwardedRef) => {
7
- return /* @__PURE__ */ jsx(
8
- Primitive.span,
9
- {
10
- ...props,
11
- ref: forwardedRef,
12
- style: {
13
- // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
14
- position: "absolute",
15
- border: 0,
16
- width: 1,
17
- height: 1,
18
- padding: 0,
19
- margin: -1,
20
- overflow: "hidden",
21
- clip: "rect(0, 0, 0, 0)",
22
- whiteSpace: "nowrap",
23
- wordWrap: "normal",
24
- ...props.style
25
- }
26
- }
27
- );
28
- }
29
- );
30
- VisuallyHidden.displayName = NAME;
31
- export {
32
- VisuallyHidden
33
- };