@btst/stack 1.1.1 → 1.1.2

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 (289) hide show
  1. package/README.md +1 -1
  2. package/dist/client/components/index.cjs +2 -2
  3. package/dist/client/components/index.mjs +2 -2
  4. package/dist/client/index.cjs +3 -3
  5. package/dist/client/index.mjs +3 -3
  6. package/dist/context/index.cjs +1 -1
  7. package/dist/context/index.mjs +1 -1
  8. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +825 -0
  9. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +814 -0
  10. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +763 -0
  11. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +751 -0
  12. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +375 -0
  13. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +350 -0
  14. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +160 -0
  15. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +182 -0
  16. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +161 -0
  17. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +137 -0
  18. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.1/node_modules/@radix-ui/number/dist/index.cjs +8 -0
  19. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs +6 -0
  20. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
  21. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.mjs +11 -0
  22. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@1_9e04309f365863673e44407648bb0cb6/node_modules/@radix-ui/react-arrow/dist/index.cjs +42 -0
  23. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@1_9e04309f365863673e44407648bb0cb6/node_modules/@radix-ui/react-arrow/dist/index.mjs +25 -0
  24. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_re_6d7c277722b3619c9ee7e64e9a822c45/node_modules/@radix-ui/react-collection/dist/index.cjs +77 -0
  25. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_re_6d7c277722b3619c9ee7e64e9a822c45/node_modules/@radix-ui/react-collection/dist/index.mjs +71 -0
  26. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +56 -0
  27. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +39 -0
  28. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +79 -0
  29. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.mjs +63 -0
  30. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-direction/dist/index.cjs +27 -0
  31. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs +11 -0
  32. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.2_@types_react@19.2.2__@_ca5522e5d45d4722cb9eb5ce53defa61/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +229 -0
  33. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.2_@types_react@19.2.2__@_ca5522e5d45d4722cb9eb5ce53defa61/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +212 -0
  34. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +46 -0
  35. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +30 -0
  36. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_r_93de389b3f622f9f764acc8e59ec80c0/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +224 -0
  37. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_r_93de389b3f622f9f764acc8e59ec80c0/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +208 -0
  38. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +31 -0
  39. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.mjs +15 -0
  40. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_d6285b8269ea5d6b59b300f5be279a0c/node_modules/@radix-ui/react-popper/dist/index.cjs +308 -0
  41. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_d6285b8269ea5d6b59b300f5be279a0c/node_modules/@radix-ui/react-popper/dist/index.mjs +284 -0
  42. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_478b3d5dd4afab1a3dcce7ed1748cb95/node_modules/@radix-ui/react-portal/dist/index.cjs +37 -0
  43. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_478b3d5dd4afab1a3dcce7ed1748cb95/node_modules/@radix-ui/react-portal/dist/index.mjs +18 -0
  44. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.cjs +61 -0
  45. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.mjs +43 -0
  46. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_802c3d414c85063bee785fcc98a39c07/node_modules/@radix-ui/react-select/dist/index.cjs +1198 -0
  47. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@_802c3d414c85063bee785fcc98a39c07/node_modules/@radix-ui/react-select/dist/index.mjs +1154 -0
  48. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +28 -0
  49. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +12 -0
  50. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +86 -0
  51. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +70 -0
  52. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +34 -0
  53. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +18 -0
  54. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +23 -0
  55. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +7 -0
  56. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs +31 -0
  57. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-previous/dist/index.mjs +15 -0
  58. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs +56 -0
  59. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-size/dist/index.mjs +40 -0
  60. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.2_@types_react@19.2.2__@typ_a84e98a44624c31e835a98d4b8b0c30d/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +51 -0
  61. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.2_@types_react@19.2.2__@typ_a84e98a44624c31e835a98d4b8b0c30d/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +34 -0
  62. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +139 -0
  63. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.mjs +137 -0
  64. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.0/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +39 -0
  65. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.0/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.mjs +37 -0
  66. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +43 -0
  67. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.mjs +38 -0
  68. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1671 -0
  69. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.mjs +1669 -0
  70. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +10 -0
  71. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.mjs +8 -0
  72. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +74 -0
  73. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +56 -0
  74. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +15 -0
  75. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +10 -0
  76. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +34 -0
  77. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +31 -0
  78. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +25 -0
  79. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +9 -0
  80. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +178 -0
  81. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +160 -0
  82. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.cjs +54 -0
  83. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.mjs +38 -0
  84. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +23 -0
  85. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +21 -0
  86. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +113 -0
  87. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +110 -0
  88. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.cjs +7 -0
  89. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.mjs +5 -0
  90. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +9 -0
  91. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.2_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +7 -0
  92. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.cjs +21 -0
  93. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.mjs +19 -0
  94. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.cjs +41 -0
  95. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.mjs +25 -0
  96. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.cjs +53 -0
  97. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.2_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.mjs +51 -0
  98. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +59 -0
  99. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs +56 -0
  100. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +26 -0
  101. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +24 -0
  102. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +64 -0
  103. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +48 -0
  104. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.cjs +44 -0
  105. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.2_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.mjs +42 -0
  106. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.cjs +37 -0
  107. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.mjs +21 -0
  108. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.cjs +79 -0
  109. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.2_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.mjs +77 -0
  110. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/image-field.cjs +3 -3
  111. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/image-field.mjs +3 -3
  112. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/post-forms.cjs +5 -5
  113. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/post-forms.mjs +5 -5
  114. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/tags-multiselect.cjs +2 -6
  115. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/tags-multiselect.mjs +1 -1
  116. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/form-page-skeleton.cjs +1 -1
  117. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/form-page-skeleton.mjs +1 -1
  118. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/list-page-skeleton.cjs +1 -1
  119. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/list-page-skeleton.mjs +1 -1
  120. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/page-header-skeleton.cjs +1 -1
  121. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/page-header-skeleton.mjs +1 -1
  122. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/post-card-skeleton.cjs +2 -2
  123. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/post-card-skeleton.mjs +2 -2
  124. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/post-page-skeleton.cjs +1 -1
  125. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/post-page-skeleton.mjs +1 -1
  126. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/post-page.internal.cjs +1 -1
  127. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/post-page.internal.mjs +1 -1
  128. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/empty-list.cjs +1 -1
  129. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/empty-list.mjs +1 -1
  130. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/on-this-page.cjs +1 -1
  131. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/on-this-page.mjs +1 -1
  132. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/post-card.cjs +2 -2
  133. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/post-card.mjs +2 -2
  134. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/post-navigation.cjs +1 -1
  135. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/post-navigation.mjs +1 -1
  136. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/posts-list.cjs +1 -1
  137. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/posts-list.mjs +1 -1
  138. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/recent-posts-carousel.cjs +1 -1
  139. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/recent-posts-carousel.mjs +1 -1
  140. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/search-modal.cjs +1 -1
  141. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/search-modal.mjs +1 -1
  142. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/tags-list.cjs +1 -1
  143. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/tags-list.mjs +1 -1
  144. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/hooks/blog-hooks.cjs +1 -1
  145. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/hooks/blog-hooks.mjs +1 -1
  146. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/plugin.cjs +1 -1
  147. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/plugin.mjs +1 -1
  148. package/dist/packages/ui/src/components/badge.cjs +42 -0
  149. package/dist/packages/ui/src/components/badge.mjs +39 -0
  150. package/dist/packages/ui/src/components/button.cjs +54 -0
  151. package/dist/packages/ui/src/components/button.mjs +51 -0
  152. package/dist/packages/ui/src/components/card.cjs +67 -0
  153. package/dist/packages/ui/src/components/card.mjs +61 -0
  154. package/dist/packages/ui/src/components/carousel.cjs +215 -0
  155. package/dist/packages/ui/src/components/carousel.mjs +195 -0
  156. package/dist/packages/ui/src/components/command.cjs +142 -0
  157. package/dist/packages/ui/src/components/command.mjs +134 -0
  158. package/dist/packages/ui/src/components/dialog.cjs +127 -0
  159. package/dist/packages/ui/src/components/dialog.mjs +105 -0
  160. package/dist/packages/ui/src/components/empty.cjs +76 -0
  161. package/dist/packages/ui/src/components/empty.mjs +71 -0
  162. package/dist/packages/ui/src/components/form.cjs +133 -0
  163. package/dist/packages/ui/src/components/form.mjs +110 -0
  164. package/dist/packages/ui/src/components/input.cjs +23 -0
  165. package/dist/packages/ui/src/components/input.mjs +21 -0
  166. package/dist/packages/ui/src/components/label.cjs +39 -0
  167. package/dist/packages/ui/src/components/label.mjs +23 -0
  168. package/dist/packages/ui/src/components/multi-select.cjs +555 -0
  169. package/dist/packages/ui/src/components/multi-select.mjs +540 -0
  170. package/dist/packages/ui/src/components/select.cjs +140 -0
  171. package/dist/packages/ui/src/components/select.mjs +132 -0
  172. package/dist/packages/ui/src/components/skeleton.cjs +17 -0
  173. package/dist/packages/ui/src/components/skeleton.mjs +15 -0
  174. package/dist/packages/ui/src/components/switch.cjs +48 -0
  175. package/dist/packages/ui/src/components/switch.mjs +32 -0
  176. package/dist/packages/ui/src/components/textarea.cjs +20 -0
  177. package/dist/packages/ui/src/components/textarea.mjs +18 -0
  178. package/dist/packages/ui/src/hooks/use-debounce.cjs +18 -0
  179. package/dist/packages/ui/src/hooks/use-debounce.mjs +16 -0
  180. package/dist/packages/ui/src/lib/utils.cjs +10 -0
  181. package/dist/packages/ui/src/lib/utils.mjs +8 -0
  182. package/dist/plugins/blog/api/index.cjs +1 -1
  183. package/dist/plugins/blog/api/index.d.cts +1 -1
  184. package/dist/plugins/blog/api/index.d.mts +1 -1
  185. package/dist/plugins/blog/api/index.d.ts +1 -1
  186. package/dist/plugins/blog/api/index.mjs +1 -1
  187. package/dist/plugins/blog/client/components/index.cjs +4 -4
  188. package/dist/plugins/blog/client/components/index.mjs +4 -4
  189. package/dist/plugins/blog/client/hooks/index.cjs +1 -1
  190. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  191. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  192. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  193. package/dist/plugins/blog/client/hooks/index.mjs +1 -1
  194. package/dist/plugins/blog/client/index.cjs +1 -1
  195. package/dist/plugins/blog/client/index.d.cts +1 -1
  196. package/dist/plugins/blog/client/index.d.mts +1 -1
  197. package/dist/plugins/blog/client/index.d.ts +1 -1
  198. package/dist/plugins/blog/client/index.mjs +1 -1
  199. package/dist/plugins/blog/query-keys.d.cts +2 -2
  200. package/dist/plugins/blog/query-keys.d.mts +2 -2
  201. package/dist/plugins/blog/query-keys.d.ts +2 -2
  202. package/dist/plugins/client/index.cjs +1 -1
  203. package/dist/plugins/client/index.mjs +1 -1
  204. package/package.json +5 -5
  205. package/dist/{client → packages/better-stack/src/client}/components/compose.cjs +0 -0
  206. package/dist/{client → packages/better-stack/src/client}/components/compose.mjs +0 -0
  207. package/dist/{client → packages/better-stack/src/client}/components/error-boundary.cjs +0 -0
  208. package/dist/{client → packages/better-stack/src/client}/components/error-boundary.mjs +0 -0
  209. package/dist/{client → packages/better-stack/src/client}/meta-utils.cjs +0 -0
  210. package/dist/{client → packages/better-stack/src/client}/meta-utils.mjs +0 -0
  211. package/dist/{client → packages/better-stack/src/client}/path-utils.cjs +0 -0
  212. package/dist/{client → packages/better-stack/src/client}/path-utils.mjs +0 -0
  213. package/dist/{client → packages/better-stack/src/client}/sitemap-utils.cjs +0 -0
  214. package/dist/{client → packages/better-stack/src/client}/sitemap-utils.mjs +0 -0
  215. package/dist/{context → packages/better-stack/src/context}/provider.cjs +0 -0
  216. package/dist/{context → packages/better-stack/src/context}/provider.mjs +0 -0
  217. package/dist/{plugins → packages/better-stack/src/plugins}/blog/api/plugin.cjs +0 -0
  218. package/dist/{plugins → packages/better-stack/src/plugins}/blog/api/plugin.mjs +0 -0
  219. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/markdown-editor.cjs +0 -0
  220. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/forms/markdown-editor.mjs +0 -0
  221. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/index.cjs +0 -0
  222. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/loading/index.mjs +0 -0
  223. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/404-page.cjs +0 -0
  224. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/404-page.mjs +0 -0
  225. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/edit-post-page.cjs +0 -0
  226. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/edit-post-page.internal.cjs +0 -0
  227. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/edit-post-page.internal.mjs +0 -0
  228. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/edit-post-page.mjs +0 -0
  229. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/home-page.cjs +0 -0
  230. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/home-page.internal.cjs +0 -0
  231. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/home-page.internal.mjs +0 -0
  232. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/home-page.mjs +0 -0
  233. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/new-post-page.cjs +0 -0
  234. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/new-post-page.internal.cjs +0 -0
  235. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/new-post-page.internal.mjs +0 -0
  236. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/new-post-page.mjs +0 -0
  237. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/post-page.cjs +0 -0
  238. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/post-page.mjs +0 -0
  239. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/tag-page.cjs +0 -0
  240. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/tag-page.internal.cjs +0 -0
  241. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/tag-page.internal.mjs +0 -0
  242. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/pages/tag-page.mjs +0 -0
  243. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/better-blog-attribution.cjs +0 -0
  244. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/better-blog-attribution.mjs +0 -0
  245. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/default-error.cjs +0 -0
  246. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/default-error.mjs +0 -0
  247. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/defaults.cjs +0 -0
  248. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/defaults.mjs +0 -0
  249. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/error-placeholder.cjs +0 -0
  250. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/error-placeholder.mjs +0 -0
  251. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/highlight-text.cjs +0 -0
  252. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/highlight-text.mjs +0 -0
  253. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/markdown-content.cjs +0 -0
  254. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/markdown-content.mjs +0 -0
  255. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-header.cjs +0 -0
  256. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-header.mjs +0 -0
  257. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-layout.cjs +0 -0
  258. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-layout.mjs +0 -0
  259. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-wrapper.cjs +0 -0
  260. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/page-wrapper.mjs +0 -0
  261. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/search-input.cjs +0 -0
  262. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/search-input.mjs +0 -0
  263. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/use-route-lifecycle.cjs +0 -0
  264. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/components/shared/use-route-lifecycle.mjs +0 -0
  265. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/hooks/use-debounce.cjs +0 -0
  266. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/hooks/use-debounce.mjs +0 -0
  267. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-card.cjs +0 -0
  268. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-card.mjs +0 -0
  269. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-common.cjs +0 -0
  270. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-common.mjs +0 -0
  271. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-forms.cjs +0 -0
  272. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-forms.mjs +0 -0
  273. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-list.cjs +0 -0
  274. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-list.mjs +0 -0
  275. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-post.cjs +0 -0
  276. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/blog-post.mjs +0 -0
  277. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/index.cjs +0 -0
  278. package/dist/{plugins → packages/better-stack/src/plugins}/blog/client/localization/index.mjs +0 -0
  279. package/dist/{plugins → packages/better-stack/src/plugins}/blog/db.cjs +0 -0
  280. package/dist/{plugins → packages/better-stack/src/plugins}/blog/db.mjs +0 -0
  281. package/dist/{plugins → packages/better-stack/src/plugins}/blog/schemas.cjs +0 -0
  282. package/dist/{plugins → packages/better-stack/src/plugins}/blog/schemas.mjs +0 -0
  283. package/dist/{plugins → packages/better-stack/src/plugins}/blog/utils.cjs +0 -0
  284. package/dist/{plugins → packages/better-stack/src/plugins}/blog/utils.mjs +0 -0
  285. package/dist/{plugins → packages/better-stack/src/plugins}/utils.cjs +0 -0
  286. package/dist/{plugins → packages/better-stack/src/plugins}/utils.mjs +0 -0
  287. package/dist/shared/{stack.CoPoHVfV.d.cts → stack.Cr2JoQdo.d.cts} +1 -1
  288. package/dist/shared/{stack.CoPoHVfV.d.mts → stack.Cr2JoQdo.d.mts} +1 -1
  289. package/dist/shared/{stack.CoPoHVfV.d.ts → stack.Cr2JoQdo.d.ts} +1 -1
@@ -0,0 +1,308 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ const React = require('react');
5
+ const floatingUi_reactDom = require('../../../../../@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs');
6
+ const index$6 = require('../../../../../@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@1_9e04309f365863673e44407648bb0cb6/node_modules/@radix-ui/react-arrow/dist/index.cjs');
7
+ const index$1 = require('../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs');
8
+ const index = require('../../../../../@radix-ui_react-context@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs');
9
+ const index$2 = require('../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.cjs');
10
+ const index$4 = require('../../../../../@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs');
11
+ const index$5 = require('../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs');
12
+ const index$3 = require('../../../../../@radix-ui_react-use-size@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs');
13
+ const jsxRuntime = require('react/jsx-runtime');
14
+ const floatingUi_dom = require('../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs');
15
+
16
+ function _interopNamespaceCompat(e) {
17
+ if (e && typeof e === 'object' && 'default' in e) return e;
18
+ const n = Object.create(null);
19
+ if (e) {
20
+ for (const k in e) {
21
+ n[k] = e[k];
22
+ }
23
+ }
24
+ n.default = e;
25
+ return n;
26
+ }
27
+
28
+ const React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
29
+
30
+ var POPPER_NAME = "Popper";
31
+ var [createPopperContext, createPopperScope] = index.createContextScope(POPPER_NAME);
32
+ var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
33
+ var Popper = (props) => {
34
+ const { __scopePopper, children } = props;
35
+ const [anchor, setAnchor] = React__namespace.useState(null);
36
+ return /* @__PURE__ */ jsxRuntime.jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
37
+ };
38
+ Popper.displayName = POPPER_NAME;
39
+ var ANCHOR_NAME = "PopperAnchor";
40
+ var PopperAnchor = React__namespace.forwardRef(
41
+ (props, forwardedRef) => {
42
+ const { __scopePopper, virtualRef, ...anchorProps } = props;
43
+ const context = usePopperContext(ANCHOR_NAME, __scopePopper);
44
+ const ref = React__namespace.useRef(null);
45
+ const composedRefs = index$1.useComposedRefs(forwardedRef, ref);
46
+ const anchorRef = React__namespace.useRef(null);
47
+ React__namespace.useEffect(() => {
48
+ const previousAnchor = anchorRef.current;
49
+ anchorRef.current = virtualRef?.current || ref.current;
50
+ if (previousAnchor !== anchorRef.current) {
51
+ context.onAnchorChange(anchorRef.current);
52
+ }
53
+ });
54
+ return virtualRef ? null : /* @__PURE__ */ jsxRuntime.jsx(index$2.Primitive.div, { ...anchorProps, ref: composedRefs });
55
+ }
56
+ );
57
+ PopperAnchor.displayName = ANCHOR_NAME;
58
+ var CONTENT_NAME = "PopperContent";
59
+ var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
60
+ var PopperContent = React__namespace.forwardRef(
61
+ (props, forwardedRef) => {
62
+ const {
63
+ __scopePopper,
64
+ side = "bottom",
65
+ sideOffset = 0,
66
+ align = "center",
67
+ alignOffset = 0,
68
+ arrowPadding = 0,
69
+ avoidCollisions = true,
70
+ collisionBoundary = [],
71
+ collisionPadding: collisionPaddingProp = 0,
72
+ sticky = "partial",
73
+ hideWhenDetached = false,
74
+ updatePositionStrategy = "optimized",
75
+ onPlaced,
76
+ ...contentProps
77
+ } = props;
78
+ const context = usePopperContext(CONTENT_NAME, __scopePopper);
79
+ const [content, setContent] = React__namespace.useState(null);
80
+ const composedRefs = index$1.useComposedRefs(forwardedRef, (node) => setContent(node));
81
+ const [arrow, setArrow] = React__namespace.useState(null);
82
+ const arrowSize = index$3.useSize(arrow);
83
+ const arrowWidth = arrowSize?.width ?? 0;
84
+ const arrowHeight = arrowSize?.height ?? 0;
85
+ const desiredPlacement = side + (align !== "center" ? "-" + align : "");
86
+ const collisionPadding = typeof collisionPaddingProp === "number" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };
87
+ const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];
88
+ const hasExplicitBoundaries = boundary.length > 0;
89
+ const detectOverflowOptions = {
90
+ padding: collisionPadding,
91
+ boundary: boundary.filter(isNotNull),
92
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
93
+ altBoundary: hasExplicitBoundaries
94
+ };
95
+ const { refs, floatingStyles, placement, isPositioned, middlewareData } = floatingUi_reactDom.useFloating({
96
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
97
+ strategy: "fixed",
98
+ placement: desiredPlacement,
99
+ whileElementsMounted: (...args) => {
100
+ const cleanup = floatingUi_dom.autoUpdate(...args, {
101
+ animationFrame: updatePositionStrategy === "always"
102
+ });
103
+ return cleanup;
104
+ },
105
+ elements: {
106
+ reference: context.anchor
107
+ },
108
+ middleware: [
109
+ floatingUi_reactDom.offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),
110
+ avoidCollisions && floatingUi_reactDom.shift({
111
+ mainAxis: true,
112
+ crossAxis: false,
113
+ limiter: sticky === "partial" ? floatingUi_reactDom.limitShift() : void 0,
114
+ ...detectOverflowOptions
115
+ }),
116
+ avoidCollisions && floatingUi_reactDom.flip({ ...detectOverflowOptions }),
117
+ floatingUi_reactDom.size({
118
+ ...detectOverflowOptions,
119
+ apply: ({ elements, rects, availableWidth, availableHeight }) => {
120
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
121
+ const contentStyle = elements.floating.style;
122
+ contentStyle.setProperty("--radix-popper-available-width", `${availableWidth}px`);
123
+ contentStyle.setProperty("--radix-popper-available-height", `${availableHeight}px`);
124
+ contentStyle.setProperty("--radix-popper-anchor-width", `${anchorWidth}px`);
125
+ contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
126
+ }
127
+ }),
128
+ arrow && floatingUi_reactDom.arrow({ element: arrow, padding: arrowPadding }),
129
+ transformOrigin({ arrowWidth, arrowHeight }),
130
+ hideWhenDetached && floatingUi_reactDom.hide({ strategy: "referenceHidden", ...detectOverflowOptions })
131
+ ]
132
+ });
133
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
134
+ const handlePlaced = index$4.useCallbackRef(onPlaced);
135
+ index$5.useLayoutEffect(() => {
136
+ if (isPositioned) {
137
+ handlePlaced?.();
138
+ }
139
+ }, [isPositioned, handlePlaced]);
140
+ const arrowX = middlewareData.arrow?.x;
141
+ const arrowY = middlewareData.arrow?.y;
142
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
143
+ const [contentZIndex, setContentZIndex] = React__namespace.useState();
144
+ index$5.useLayoutEffect(() => {
145
+ if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
146
+ }, [content]);
147
+ return /* @__PURE__ */ jsxRuntime.jsx(
148
+ "div",
149
+ {
150
+ ref: refs.setFloating,
151
+ "data-radix-popper-content-wrapper": "",
152
+ style: {
153
+ ...floatingStyles,
154
+ transform: isPositioned ? floatingStyles.transform : "translate(0, -200%)",
155
+ // keep off the page when measuring
156
+ minWidth: "max-content",
157
+ zIndex: contentZIndex,
158
+ ["--radix-popper-transform-origin"]: [
159
+ middlewareData.transformOrigin?.x,
160
+ middlewareData.transformOrigin?.y
161
+ ].join(" "),
162
+ // hide the content if using the hide middleware and should be hidden
163
+ // set visibility to hidden and disable pointer events so the UI behaves
164
+ // as if the PopperContent isn't there at all
165
+ ...middlewareData.hide?.referenceHidden && {
166
+ visibility: "hidden",
167
+ pointerEvents: "none"
168
+ }
169
+ },
170
+ dir: props.dir,
171
+ children: /* @__PURE__ */ jsxRuntime.jsx(
172
+ PopperContentProvider,
173
+ {
174
+ scope: __scopePopper,
175
+ placedSide,
176
+ onArrowChange: setArrow,
177
+ arrowX,
178
+ arrowY,
179
+ shouldHideArrow: cannotCenterArrow,
180
+ children: /* @__PURE__ */ jsxRuntime.jsx(
181
+ index$2.Primitive.div,
182
+ {
183
+ "data-side": placedSide,
184
+ "data-align": placedAlign,
185
+ ...contentProps,
186
+ ref: composedRefs,
187
+ style: {
188
+ ...contentProps.style,
189
+ // if the PopperContent hasn't been placed yet (not all measurements done)
190
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
191
+ animation: !isPositioned ? "none" : void 0
192
+ }
193
+ }
194
+ )
195
+ }
196
+ )
197
+ }
198
+ );
199
+ }
200
+ );
201
+ PopperContent.displayName = CONTENT_NAME;
202
+ var ARROW_NAME = "PopperArrow";
203
+ var OPPOSITE_SIDE = {
204
+ top: "bottom",
205
+ right: "left",
206
+ bottom: "top",
207
+ left: "right"
208
+ };
209
+ var PopperArrow = React__namespace.forwardRef(function PopperArrow2(props, forwardedRef) {
210
+ const { __scopePopper, ...arrowProps } = props;
211
+ const contentContext = useContentContext(ARROW_NAME, __scopePopper);
212
+ const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
213
+ return (
214
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
215
+ // doesn't report size as we'd expect on SVG elements.
216
+ // it reports their bounding box which is effectively the largest path inside the SVG.
217
+ /* @__PURE__ */ jsxRuntime.jsx(
218
+ "span",
219
+ {
220
+ ref: contentContext.onArrowChange,
221
+ style: {
222
+ position: "absolute",
223
+ left: contentContext.arrowX,
224
+ top: contentContext.arrowY,
225
+ [baseSide]: 0,
226
+ transformOrigin: {
227
+ top: "",
228
+ right: "0 0",
229
+ bottom: "center 0",
230
+ left: "100% 0"
231
+ }[contentContext.placedSide],
232
+ transform: {
233
+ top: "translateY(100%)",
234
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
235
+ bottom: `rotate(180deg)`,
236
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
237
+ }[contentContext.placedSide],
238
+ visibility: contentContext.shouldHideArrow ? "hidden" : void 0
239
+ },
240
+ children: /* @__PURE__ */ jsxRuntime.jsx(
241
+ index$6.Root,
242
+ {
243
+ ...arrowProps,
244
+ ref: forwardedRef,
245
+ style: {
246
+ ...arrowProps.style,
247
+ // ensures the element can be measured correctly (mostly for if SVG)
248
+ display: "block"
249
+ }
250
+ }
251
+ )
252
+ }
253
+ )
254
+ );
255
+ });
256
+ PopperArrow.displayName = ARROW_NAME;
257
+ function isNotNull(value) {
258
+ return value !== null;
259
+ }
260
+ var transformOrigin = (options) => ({
261
+ name: "transformOrigin",
262
+ options,
263
+ fn(data) {
264
+ const { placement, rects, middlewareData } = data;
265
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
266
+ const isArrowHidden = cannotCenterArrow;
267
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
268
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
269
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
270
+ const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
271
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
272
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
273
+ let x = "";
274
+ let y = "";
275
+ if (placedSide === "bottom") {
276
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
277
+ y = `${-arrowHeight}px`;
278
+ } else if (placedSide === "top") {
279
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
280
+ y = `${rects.floating.height + arrowHeight}px`;
281
+ } else if (placedSide === "right") {
282
+ x = `${-arrowHeight}px`;
283
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
284
+ } else if (placedSide === "left") {
285
+ x = `${rects.floating.width + arrowHeight}px`;
286
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
287
+ }
288
+ return { data: { x, y } };
289
+ }
290
+ });
291
+ function getSideAndAlignFromPlacement(placement) {
292
+ const [side, align = "center"] = placement.split("-");
293
+ return [side, align];
294
+ }
295
+ var Root2 = Popper;
296
+ var Anchor = PopperAnchor;
297
+ var Content = PopperContent;
298
+ var Arrow = PopperArrow;
299
+
300
+ exports.Anchor = Anchor;
301
+ exports.Arrow = Arrow;
302
+ exports.Content = Content;
303
+ exports.Popper = Popper;
304
+ exports.PopperAnchor = PopperAnchor;
305
+ exports.PopperArrow = PopperArrow;
306
+ exports.PopperContent = PopperContent;
307
+ exports.Root = Root2;
308
+ exports.createPopperScope = createPopperScope;
@@ -0,0 +1,284 @@
1
+ "use client";
2
+ import * as React from 'react';
3
+ import { useFloating, offset, shift, flip, size, arrow, hide, limitShift } from '../../../../../@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs';
4
+ import { Root } from '../../../../../@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.2_@types_react@19.2.2__@types_react@1_9e04309f365863673e44407648bb0cb6/node_modules/@radix-ui/react-arrow/dist/index.mjs';
5
+ import { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs';
6
+ import { createContextScope } from '../../../../../@radix-ui_react-context@1.1.2_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.mjs';
7
+ import { Primitive } from '../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.mjs';
8
+ import { useCallbackRef } from '../../../../../@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs';
9
+ import { useLayoutEffect as useLayoutEffect2 } from '../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs';
10
+ import { useSize } from '../../../../../@radix-ui_react-use-size@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-size/dist/index.mjs';
11
+ import { jsx } from 'react/jsx-runtime';
12
+ import { autoUpdate } from '../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs';
13
+
14
+ var POPPER_NAME = "Popper";
15
+ var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
16
+ var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
17
+ var Popper = (props) => {
18
+ const { __scopePopper, children } = props;
19
+ const [anchor, setAnchor] = React.useState(null);
20
+ return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
21
+ };
22
+ Popper.displayName = POPPER_NAME;
23
+ var ANCHOR_NAME = "PopperAnchor";
24
+ var PopperAnchor = React.forwardRef(
25
+ (props, forwardedRef) => {
26
+ const { __scopePopper, virtualRef, ...anchorProps } = props;
27
+ const context = usePopperContext(ANCHOR_NAME, __scopePopper);
28
+ const ref = React.useRef(null);
29
+ const composedRefs = useComposedRefs(forwardedRef, ref);
30
+ const anchorRef = React.useRef(null);
31
+ React.useEffect(() => {
32
+ const previousAnchor = anchorRef.current;
33
+ anchorRef.current = virtualRef?.current || ref.current;
34
+ if (previousAnchor !== anchorRef.current) {
35
+ context.onAnchorChange(anchorRef.current);
36
+ }
37
+ });
38
+ return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });
39
+ }
40
+ );
41
+ PopperAnchor.displayName = ANCHOR_NAME;
42
+ var CONTENT_NAME = "PopperContent";
43
+ var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
44
+ var PopperContent = React.forwardRef(
45
+ (props, forwardedRef) => {
46
+ const {
47
+ __scopePopper,
48
+ side = "bottom",
49
+ sideOffset = 0,
50
+ align = "center",
51
+ alignOffset = 0,
52
+ arrowPadding = 0,
53
+ avoidCollisions = true,
54
+ collisionBoundary = [],
55
+ collisionPadding: collisionPaddingProp = 0,
56
+ sticky = "partial",
57
+ hideWhenDetached = false,
58
+ updatePositionStrategy = "optimized",
59
+ onPlaced,
60
+ ...contentProps
61
+ } = props;
62
+ const context = usePopperContext(CONTENT_NAME, __scopePopper);
63
+ const [content, setContent] = React.useState(null);
64
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
65
+ const [arrow$1, setArrow] = React.useState(null);
66
+ const arrowSize = useSize(arrow$1);
67
+ const arrowWidth = arrowSize?.width ?? 0;
68
+ const arrowHeight = arrowSize?.height ?? 0;
69
+ const desiredPlacement = side + (align !== "center" ? "-" + align : "");
70
+ const collisionPadding = typeof collisionPaddingProp === "number" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };
71
+ const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];
72
+ const hasExplicitBoundaries = boundary.length > 0;
73
+ const detectOverflowOptions = {
74
+ padding: collisionPadding,
75
+ boundary: boundary.filter(isNotNull),
76
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
77
+ altBoundary: hasExplicitBoundaries
78
+ };
79
+ const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({
80
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
81
+ strategy: "fixed",
82
+ placement: desiredPlacement,
83
+ whileElementsMounted: (...args) => {
84
+ const cleanup = autoUpdate(...args, {
85
+ animationFrame: updatePositionStrategy === "always"
86
+ });
87
+ return cleanup;
88
+ },
89
+ elements: {
90
+ reference: context.anchor
91
+ },
92
+ middleware: [
93
+ offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),
94
+ avoidCollisions && shift({
95
+ mainAxis: true,
96
+ crossAxis: false,
97
+ limiter: sticky === "partial" ? limitShift() : void 0,
98
+ ...detectOverflowOptions
99
+ }),
100
+ avoidCollisions && flip({ ...detectOverflowOptions }),
101
+ size({
102
+ ...detectOverflowOptions,
103
+ apply: ({ elements, rects, availableWidth, availableHeight }) => {
104
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
105
+ const contentStyle = elements.floating.style;
106
+ contentStyle.setProperty("--radix-popper-available-width", `${availableWidth}px`);
107
+ contentStyle.setProperty("--radix-popper-available-height", `${availableHeight}px`);
108
+ contentStyle.setProperty("--radix-popper-anchor-width", `${anchorWidth}px`);
109
+ contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
110
+ }
111
+ }),
112
+ arrow$1 && arrow({ element: arrow$1, padding: arrowPadding }),
113
+ transformOrigin({ arrowWidth, arrowHeight }),
114
+ hideWhenDetached && hide({ strategy: "referenceHidden", ...detectOverflowOptions })
115
+ ]
116
+ });
117
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
118
+ const handlePlaced = useCallbackRef(onPlaced);
119
+ useLayoutEffect2(() => {
120
+ if (isPositioned) {
121
+ handlePlaced?.();
122
+ }
123
+ }, [isPositioned, handlePlaced]);
124
+ const arrowX = middlewareData.arrow?.x;
125
+ const arrowY = middlewareData.arrow?.y;
126
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
127
+ const [contentZIndex, setContentZIndex] = React.useState();
128
+ useLayoutEffect2(() => {
129
+ if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
130
+ }, [content]);
131
+ return /* @__PURE__ */ jsx(
132
+ "div",
133
+ {
134
+ ref: refs.setFloating,
135
+ "data-radix-popper-content-wrapper": "",
136
+ style: {
137
+ ...floatingStyles,
138
+ transform: isPositioned ? floatingStyles.transform : "translate(0, -200%)",
139
+ // keep off the page when measuring
140
+ minWidth: "max-content",
141
+ zIndex: contentZIndex,
142
+ ["--radix-popper-transform-origin"]: [
143
+ middlewareData.transformOrigin?.x,
144
+ middlewareData.transformOrigin?.y
145
+ ].join(" "),
146
+ // hide the content if using the hide middleware and should be hidden
147
+ // set visibility to hidden and disable pointer events so the UI behaves
148
+ // as if the PopperContent isn't there at all
149
+ ...middlewareData.hide?.referenceHidden && {
150
+ visibility: "hidden",
151
+ pointerEvents: "none"
152
+ }
153
+ },
154
+ dir: props.dir,
155
+ children: /* @__PURE__ */ jsx(
156
+ PopperContentProvider,
157
+ {
158
+ scope: __scopePopper,
159
+ placedSide,
160
+ onArrowChange: setArrow,
161
+ arrowX,
162
+ arrowY,
163
+ shouldHideArrow: cannotCenterArrow,
164
+ children: /* @__PURE__ */ jsx(
165
+ Primitive.div,
166
+ {
167
+ "data-side": placedSide,
168
+ "data-align": placedAlign,
169
+ ...contentProps,
170
+ ref: composedRefs,
171
+ style: {
172
+ ...contentProps.style,
173
+ // if the PopperContent hasn't been placed yet (not all measurements done)
174
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
175
+ animation: !isPositioned ? "none" : void 0
176
+ }
177
+ }
178
+ )
179
+ }
180
+ )
181
+ }
182
+ );
183
+ }
184
+ );
185
+ PopperContent.displayName = CONTENT_NAME;
186
+ var ARROW_NAME = "PopperArrow";
187
+ var OPPOSITE_SIDE = {
188
+ top: "bottom",
189
+ right: "left",
190
+ bottom: "top",
191
+ left: "right"
192
+ };
193
+ var PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {
194
+ const { __scopePopper, ...arrowProps } = props;
195
+ const contentContext = useContentContext(ARROW_NAME, __scopePopper);
196
+ const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
197
+ return (
198
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
199
+ // doesn't report size as we'd expect on SVG elements.
200
+ // it reports their bounding box which is effectively the largest path inside the SVG.
201
+ /* @__PURE__ */ jsx(
202
+ "span",
203
+ {
204
+ ref: contentContext.onArrowChange,
205
+ style: {
206
+ position: "absolute",
207
+ left: contentContext.arrowX,
208
+ top: contentContext.arrowY,
209
+ [baseSide]: 0,
210
+ transformOrigin: {
211
+ top: "",
212
+ right: "0 0",
213
+ bottom: "center 0",
214
+ left: "100% 0"
215
+ }[contentContext.placedSide],
216
+ transform: {
217
+ top: "translateY(100%)",
218
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
219
+ bottom: `rotate(180deg)`,
220
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
221
+ }[contentContext.placedSide],
222
+ visibility: contentContext.shouldHideArrow ? "hidden" : void 0
223
+ },
224
+ children: /* @__PURE__ */ jsx(
225
+ Root,
226
+ {
227
+ ...arrowProps,
228
+ ref: forwardedRef,
229
+ style: {
230
+ ...arrowProps.style,
231
+ // ensures the element can be measured correctly (mostly for if SVG)
232
+ display: "block"
233
+ }
234
+ }
235
+ )
236
+ }
237
+ )
238
+ );
239
+ });
240
+ PopperArrow.displayName = ARROW_NAME;
241
+ function isNotNull(value) {
242
+ return value !== null;
243
+ }
244
+ var transformOrigin = (options) => ({
245
+ name: "transformOrigin",
246
+ options,
247
+ fn(data) {
248
+ const { placement, rects, middlewareData } = data;
249
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
250
+ const isArrowHidden = cannotCenterArrow;
251
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
252
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
253
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
254
+ const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
255
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
256
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
257
+ let x = "";
258
+ let y = "";
259
+ if (placedSide === "bottom") {
260
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
261
+ y = `${-arrowHeight}px`;
262
+ } else if (placedSide === "top") {
263
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
264
+ y = `${rects.floating.height + arrowHeight}px`;
265
+ } else if (placedSide === "right") {
266
+ x = `${-arrowHeight}px`;
267
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
268
+ } else if (placedSide === "left") {
269
+ x = `${rects.floating.width + arrowHeight}px`;
270
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
271
+ }
272
+ return { data: { x, y } };
273
+ }
274
+ });
275
+ function getSideAndAlignFromPlacement(placement) {
276
+ const [side, align = "center"] = placement.split("-");
277
+ return [side, align];
278
+ }
279
+ var Root2 = Popper;
280
+ var Anchor = PopperAnchor;
281
+ var Content = PopperContent;
282
+ var Arrow = PopperArrow;
283
+
284
+ export { Anchor, Arrow, Content, Popper, PopperAnchor, PopperArrow, PopperContent, Root2 as Root, createPopperScope };
@@ -0,0 +1,37 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ const React = require('react');
5
+ const ReactDOM = require('react-dom');
6
+ const index$1 = require('../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.cjs');
7
+ const index = require('../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs');
8
+ const jsxRuntime = require('react/jsx-runtime');
9
+
10
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
11
+
12
+ function _interopNamespaceCompat(e) {
13
+ if (e && typeof e === 'object' && 'default' in e) return e;
14
+ const n = Object.create(null);
15
+ if (e) {
16
+ for (const k in e) {
17
+ n[k] = e[k];
18
+ }
19
+ }
20
+ n.default = e;
21
+ return n;
22
+ }
23
+
24
+ const React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
25
+ const ReactDOM__default = /*#__PURE__*/_interopDefaultCompat(ReactDOM);
26
+
27
+ var PORTAL_NAME = "Portal";
28
+ var Portal = React__namespace.forwardRef((props, forwardedRef) => {
29
+ const { container: containerProp, ...portalProps } = props;
30
+ const [mounted, setMounted] = React__namespace.useState(false);
31
+ index.useLayoutEffect(() => setMounted(true), []);
32
+ const container = containerProp || mounted && globalThis?.document?.body;
33
+ return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsxRuntime.jsx(index$1.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
34
+ });
35
+ Portal.displayName = PORTAL_NAME;
36
+
37
+ exports.Portal = Portal;
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import * as React from 'react';
3
+ import ReactDOM__default from 'react-dom';
4
+ import { Primitive } from '../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.2_@types_react@19.2.2__@types_rea_bdc15f10281778271ffcbe8dd3cd491e/node_modules/@radix-ui/react-primitive/dist/index.mjs';
5
+ import { useLayoutEffect as useLayoutEffect2 } from '../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.2_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs';
6
+ import { jsx } from 'react/jsx-runtime';
7
+
8
+ var PORTAL_NAME = "Portal";
9
+ var Portal = React.forwardRef((props, forwardedRef) => {
10
+ const { container: containerProp, ...portalProps } = props;
11
+ const [mounted, setMounted] = React.useState(false);
12
+ useLayoutEffect2(() => setMounted(true), []);
13
+ const container = containerProp || mounted && globalThis?.document?.body;
14
+ return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
15
+ });
16
+ Portal.displayName = PORTAL_NAME;
17
+
18
+ export { Portal };