convex-cms 0.0.5-alpha.5 → 0.0.7-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/README.md +59 -97
  2. package/admin/src/components/ContentEntryEditor.tsx +2 -2
  3. package/admin/src/components/ContentTypeFormModal.tsx +121 -81
  4. package/admin/src/components/fields/ReferenceField.tsx +9 -9
  5. package/admin/src/pages/ContentPage.tsx +11 -19
  6. package/admin/src/pages/ContentTypesPage.tsx +62 -16
  7. package/admin/src/routes/entries/$entryId.tsx +1 -1
  8. package/admin/src/routes/entries/type/$contentTypeId.tsx +1 -1
  9. package/admin-dist/nitro.json +1 -1
  10. package/admin-dist/public/assets/CmsEmptyState-CXVkI3FZ.js +1 -0
  11. package/admin-dist/public/assets/CmsPageHeader-DU9fD34s.js +1 -0
  12. package/admin-dist/public/assets/{CmsStatusBadge-Dd9uToHE.js → CmsStatusBadge-nZ9TeLBL.js} +1 -1
  13. package/admin-dist/public/assets/{CmsSurface-DBy5Lumx.js → CmsSurface-DF7OcKg_.js} +1 -1
  14. package/admin-dist/public/assets/CmsToolbar-5S8FQrSx.js +1 -0
  15. package/admin-dist/public/assets/ContentEntryEditor-BDb44eTo.js +4 -0
  16. package/admin-dist/public/assets/TaxonomyFilter-DEN2Q9Lo.js +1 -0
  17. package/admin-dist/public/assets/_contentTypeId-Ba5iowxH.js +1 -0
  18. package/admin-dist/public/assets/_entryId-OY3sLz6O.js +1 -0
  19. package/admin-dist/public/assets/alert-BbW1Q9CR.js +1 -0
  20. package/admin-dist/public/assets/badge-DdM8Eua8.js +1 -0
  21. package/admin-dist/public/assets/{circle-check-big-CpLxAvEj.js → circle-check-big-B7eCOM8r.js} +1 -1
  22. package/admin-dist/public/assets/command-BIjzeKOv.js +1 -0
  23. package/admin-dist/public/assets/content-BV3YeSSW.js +1 -0
  24. package/admin-dist/public/assets/content-types-Bm4b2tf8.js +1 -0
  25. package/admin-dist/public/assets/globals-D41WzvyZ.css +1 -0
  26. package/admin-dist/public/assets/index-DnJ5Twlv.js +1 -0
  27. package/admin-dist/public/assets/main-BZB1uYTH.js +102 -0
  28. package/admin-dist/public/assets/media-BIMN5jXt.js +1 -0
  29. package/admin-dist/public/assets/new._contentTypeId-DTWb8ZDl.js +1 -0
  30. package/admin-dist/public/assets/pencil-BDQ1ZWRw.js +1 -0
  31. package/admin-dist/public/assets/{rotate-ccw-BZpZtw0N.js → rotate-ccw-BWblSIsl.js} +1 -1
  32. package/admin-dist/public/assets/scroll-area-BoaB6x8v.js +1 -0
  33. package/admin-dist/public/assets/{search-BvgYr-c9.js → search-CYMIpd39.js} +1 -1
  34. package/admin-dist/public/assets/settings-DaNDUtr5.js +1 -0
  35. package/admin-dist/public/assets/switch-DN7TOCa5.js +1 -0
  36. package/admin-dist/public/assets/tabs-RN__emeJ.js +1 -0
  37. package/admin-dist/public/assets/tanstack-adapter-DQcKErwf.js +1 -0
  38. package/admin-dist/public/assets/taxonomies-DylY9HE1.js +1 -0
  39. package/admin-dist/public/assets/trash-Dp_a2mpb.js +1 -0
  40. package/admin-dist/public/assets/{useBreadcrumbLabel-D00rvqjw.js → useBreadcrumbLabel-BQ9dJI6T.js} +1 -1
  41. package/admin-dist/public/assets/usePermissions-WUBNg_Id.js +1 -0
  42. package/admin-dist/server/_chunks/_libs/@date-fns/tz.mjs +2 -2
  43. package/admin-dist/server/_chunks/_libs/@radix-ui/react-avatar.mjs +1 -1
  44. package/admin-dist/server/_chunks/_libs/@radix-ui/react-collection.mjs +1 -1
  45. package/admin-dist/server/_chunks/_libs/@radix-ui/react-context.mjs +2 -2
  46. package/admin-dist/server/_chunks/_libs/@radix-ui/react-dialog.mjs +2 -2
  47. package/admin-dist/server/_chunks/_libs/@radix-ui/react-label.mjs +1 -1
  48. package/admin-dist/server/_chunks/_libs/@radix-ui/react-menu.mjs +1 -1
  49. package/admin-dist/server/_chunks/_libs/@radix-ui/react-popover.mjs +1 -1
  50. package/admin-dist/server/_chunks/_libs/@radix-ui/react-primitive.mjs +6 -72
  51. package/admin-dist/server/_chunks/_libs/@radix-ui/react-select.mjs +1 -1
  52. package/admin-dist/server/_chunks/_libs/@radix-ui/react-separator.mjs +1 -1
  53. package/admin-dist/server/_chunks/_libs/@radix-ui/react-slot.mjs +20 -435
  54. package/admin-dist/server/_chunks/_libs/@radix-ui/react-visually-hidden.mjs +30 -3
  55. package/admin-dist/server/_chunks/_libs/@tanstack/history.mjs +0 -376
  56. package/admin-dist/server/_chunks/_libs/@tanstack/react-router.mjs +168 -383
  57. package/admin-dist/server/_chunks/_libs/@tanstack/router-core.mjs +451 -1195
  58. package/admin-dist/server/_chunks/_libs/react-dom.mjs +5 -5
  59. package/admin-dist/server/_chunks/_libs/react.mjs +2 -2
  60. package/admin-dist/server/_libs/cmdk.mjs +1 -1
  61. package/admin-dist/server/_libs/convex.mjs +3 -3
  62. package/admin-dist/server/_libs/cookie-es.mjs +1 -58
  63. package/admin-dist/server/_libs/date-fns.mjs +1 -1
  64. package/admin-dist/server/_libs/lucide-react.mjs +110 -103
  65. package/admin-dist/server/_libs/seroval-plugins.mjs +1 -58
  66. package/admin-dist/server/_libs/seroval.mjs +1 -1765
  67. package/admin-dist/server/_libs/zod.mjs +1 -1
  68. package/admin-dist/server/_ssr/CmsEmptyState-DYh_PPQE.mjs +38 -0
  69. package/admin-dist/server/_ssr/{CmsPageHeader-ClNPU7Up.mjs → CmsPageHeader-BcniLh49.mjs} +1 -1
  70. package/admin-dist/server/_ssr/{CmsStatusBadge-CojMbrY7.mjs → CmsStatusBadge-BShWDxwE.mjs} +2 -2
  71. package/admin-dist/server/_ssr/{CmsSurface-Dcv440rp.mjs → CmsSurface-CHEv-Kba.mjs} +1 -1
  72. package/admin-dist/server/_ssr/{CmsToolbar-BKv1nL6u.mjs → CmsToolbar-Dqqb216_.mjs} +2 -3
  73. package/admin-dist/server/_ssr/{ContentEntryEditor-weiXSBdZ.mjs → ContentEntryEditor-DOIAyWME.mjs} +18 -21
  74. package/admin-dist/server/_ssr/{TaxonomyFilter-BPQ57Mwk.mjs → TaxonomyFilter-BfsPAZ-Y.mjs} +4 -5
  75. package/admin-dist/server/_ssr/{_contentTypeId-DyyauLOs.mjs → _contentTypeId-CPjmri90.mjs} +34 -43
  76. package/admin-dist/server/_ssr/{_entryId-9Cafwxmw.mjs → _entryId-D0yu8HuP.mjs} +35 -47
  77. package/admin-dist/server/_ssr/_tanstack-start-manifest_v-DgCpSt_y.mjs +4 -0
  78. package/admin-dist/server/_ssr/badge-Cp61aQNc.mjs +39 -0
  79. package/admin-dist/server/_ssr/{command-CEf8YBxY.mjs → command-BfjE1WJf.mjs} +2 -2
  80. package/admin-dist/server/_ssr/{config.server-D7JHDcDv.mjs → config.server-BOr7Jxr4.mjs} +5 -14
  81. package/admin-dist/server/_ssr/{content-ZFWVzO25.mjs → content-DrODe6sA.mjs} +40 -49
  82. package/admin-dist/server/_ssr/content-types-BPgMwxiT.mjs +459 -0
  83. package/admin-dist/server/_ssr/{index-BlSIlH4Z.mjs → index-BTHmIC9W.mjs} +26 -28
  84. package/admin-dist/server/_ssr/index.mjs +3459 -62
  85. package/admin-dist/server/_ssr/{media-CD2_NUMw.mjs → media-DkvBfmD9.mjs} +31 -43
  86. package/admin-dist/server/_ssr/{new._contentTypeId-dmZy6PBX.mjs → new._contentTypeId-Co_73sDJ.mjs} +33 -45
  87. package/admin-dist/server/_ssr/router-CaDgRHfQ.mjs +3031 -0
  88. package/admin-dist/server/_ssr/{scroll-area-BH_1K-WT.mjs → scroll-area-D3v-O_jk.mjs} +1 -1
  89. package/admin-dist/server/_ssr/{settings-DVdsoWoh.mjs → settings-MaEXh2Hz.mjs} +30 -39
  90. package/admin-dist/server/_ssr/{switch-DX_X8vZl.mjs → switch-DmbR03dm.mjs} +1 -1
  91. package/admin-dist/server/_ssr/{tabs-4FWM0sn8.mjs → tabs-5oFlAGLz.mjs} +2 -3
  92. package/admin-dist/server/_ssr/{tanstack-adapter-D3ZcKtbY.mjs → tanstack-adapter-DNaUioIZ.mjs} +1 -1
  93. package/admin-dist/server/_ssr/{taxonomies-BHFfO9Yr.mjs → taxonomies-D3xMK23a.mjs} +30 -39
  94. package/admin-dist/server/_ssr/{trash-9tUB2KwI.mjs → trash-CNw1mtF1.mjs} +30 -39
  95. package/admin-dist/server/_ssr/{useBreadcrumbLabel-DVme3DSb.mjs → useBreadcrumbLabel-BQGjOTcy.mjs} +1 -1
  96. package/admin-dist/server/_ssr/{usePermissions-zAQj-ruE.mjs → usePermissions-D0qtvmNi.mjs} +1 -1
  97. package/admin-dist/server/index.mjs +162 -204
  98. package/dist/cli/templates/cmsClient.d.ts +1 -1
  99. package/dist/cli/templates/cmsClient.d.ts.map +1 -1
  100. package/dist/cli/templates/cmsClient.js +30 -11
  101. package/dist/cli/templates/cmsClient.js.map +1 -1
  102. package/dist/cli/templates/cmsConfig.d.ts +1 -1
  103. package/dist/cli/templates/cmsConfig.d.ts.map +1 -1
  104. package/dist/cli/templates/cmsConfig.js +3 -3
  105. package/dist/client/admin/contentLock.d.ts +4 -4
  106. package/dist/client/admin/contentLock.d.ts.map +1 -1
  107. package/dist/client/admin/contentLock.js +1 -1
  108. package/dist/client/admin/contentLock.js.map +1 -1
  109. package/dist/client/admin/contentTypes.d.ts +303 -290
  110. package/dist/client/admin/contentTypes.d.ts.map +1 -1
  111. package/dist/client/admin/contentTypes.js +101 -9
  112. package/dist/client/admin/contentTypes.js.map +1 -1
  113. package/dist/client/admin/entries.d.ts +18 -19
  114. package/dist/client/admin/entries.d.ts.map +1 -1
  115. package/dist/client/admin/entries.js +6 -8
  116. package/dist/client/admin/entries.js.map +1 -1
  117. package/dist/client/admin/index.d.ts +690 -642
  118. package/dist/client/admin/index.d.ts.map +1 -1
  119. package/dist/client/admin/index.js +29 -5
  120. package/dist/client/admin/index.js.map +1 -1
  121. package/dist/client/admin/media.d.ts.map +1 -1
  122. package/dist/client/admin/taxonomies.d.ts.map +1 -1
  123. package/dist/client/admin/trash.d.ts +3 -4
  124. package/dist/client/admin/trash.d.ts.map +1 -1
  125. package/dist/client/admin/types.d.ts +181 -4
  126. package/dist/client/admin/types.d.ts.map +1 -1
  127. package/dist/client/admin/validators.d.ts +2009 -25
  128. package/dist/client/admin/validators.d.ts.map +1 -1
  129. package/dist/client/admin/validators.js +15 -4
  130. package/dist/client/admin/validators.js.map +1 -1
  131. package/dist/client/admin/versions.d.ts +1 -1
  132. package/dist/client/admin/versions.d.ts.map +1 -1
  133. package/dist/client/agentTools.d.ts +1 -4
  134. package/dist/client/agentTools.d.ts.map +1 -1
  135. package/dist/client/agentTools.js +9 -21
  136. package/dist/client/agentTools.js.map +1 -1
  137. package/dist/client/config.d.ts +10 -0
  138. package/dist/client/config.d.ts.map +1 -1
  139. package/dist/client/config.js +1 -0
  140. package/dist/client/config.js.map +1 -1
  141. package/dist/client/defineContent.d.ts +338 -0
  142. package/dist/client/defineContent.d.ts.map +1 -0
  143. package/dist/client/defineContent.js +368 -0
  144. package/dist/client/defineContent.js.map +1 -0
  145. package/dist/client/index.d.ts +2 -0
  146. package/dist/client/index.d.ts.map +1 -1
  147. package/dist/client/index.js +2 -0
  148. package/dist/client/index.js.map +1 -1
  149. package/dist/client/queryBuilder.d.ts +0 -15
  150. package/dist/client/queryBuilder.d.ts.map +1 -1
  151. package/dist/client/queryBuilder.js +0 -23
  152. package/dist/client/queryBuilder.js.map +1 -1
  153. package/dist/client/registry.d.ts +77 -0
  154. package/dist/client/registry.d.ts.map +1 -0
  155. package/dist/client/registry.js +95 -0
  156. package/dist/client/registry.js.map +1 -0
  157. package/dist/client/schema/defineContentType.d.ts +36 -24
  158. package/dist/client/schema/defineContentType.d.ts.map +1 -1
  159. package/dist/client/schema/defineContentType.js +77 -48
  160. package/dist/client/schema/defineContentType.js.map +1 -1
  161. package/dist/client/schema/typedClient.d.ts.map +1 -1
  162. package/dist/client/schema/typedClient.js +2 -10
  163. package/dist/client/schema/typedClient.js.map +1 -1
  164. package/dist/client/schema/types.d.ts +16 -9
  165. package/dist/client/schema/types.d.ts.map +1 -1
  166. package/dist/client/schema/types.js.map +1 -1
  167. package/dist/client/utils/toSlug.d.ts +60 -0
  168. package/dist/client/utils/toSlug.d.ts.map +1 -0
  169. package/dist/client/utils/toSlug.js +31 -0
  170. package/dist/client/utils/toSlug.js.map +1 -0
  171. package/dist/client/wrapper.d.ts +2 -2
  172. package/dist/client/wrapper.d.ts.map +1 -1
  173. package/dist/client/wrapper.js +22 -30
  174. package/dist/client/wrapper.js.map +1 -1
  175. package/dist/component/_generated/component.d.ts +24 -28
  176. package/dist/component/_generated/component.d.ts.map +1 -1
  177. package/dist/component/authorizationHooks.d.ts +1 -1
  178. package/dist/component/authorizationHooks.d.ts.map +1 -1
  179. package/dist/component/authorizationHooks.js +2 -2
  180. package/dist/component/authorizationHooks.js.map +1 -1
  181. package/dist/component/bulkOperations.d.ts.map +1 -1
  182. package/dist/component/bulkOperations.js +7 -4
  183. package/dist/component/bulkOperations.js.map +1 -1
  184. package/dist/component/contentEntries.d.ts +18 -56
  185. package/dist/component/contentEntries.d.ts.map +1 -1
  186. package/dist/component/contentEntries.js +45 -137
  187. package/dist/component/contentEntries.js.map +1 -1
  188. package/dist/component/contentEntryMutations.d.ts +14 -14
  189. package/dist/component/contentEntryMutations.d.ts.map +1 -1
  190. package/dist/component/contentEntryMutations.js +40 -43
  191. package/dist/component/contentEntryMutations.js.map +1 -1
  192. package/dist/component/contentEntryValidation.d.ts +3 -3
  193. package/dist/component/contentEntryValidation.js +6 -9
  194. package/dist/component/contentEntryValidation.js.map +1 -1
  195. package/dist/component/contentLock.d.ts +7 -7
  196. package/dist/component/contentLock.js +3 -3
  197. package/dist/component/contentLock.js.map +1 -1
  198. package/dist/component/contentTypeMigration.d.ts +1 -1
  199. package/dist/component/contentTypeMigration.js +2 -2
  200. package/dist/component/contentTypeMigration.js.map +1 -1
  201. package/dist/component/contentTypeMutations.js +2 -2
  202. package/dist/component/contentTypeMutations.js.map +1 -1
  203. package/dist/component/convex.config.d.ts.map +1 -1
  204. package/dist/component/convex.config.js +1 -1
  205. package/dist/component/convex.config.js.map +1 -1
  206. package/dist/component/eventEmitter.d.ts +0 -1
  207. package/dist/component/eventEmitter.d.ts.map +1 -1
  208. package/dist/component/eventEmitter.js.map +1 -1
  209. package/dist/component/exportImport.d.ts +37 -37
  210. package/dist/component/exportImport.d.ts.map +1 -1
  211. package/dist/component/exportImport.js +34 -34
  212. package/dist/component/exportImport.js.map +1 -1
  213. package/dist/component/lib/deepReferenceResolver.d.ts +2 -2
  214. package/dist/component/lib/deepReferenceResolver.d.ts.map +1 -1
  215. package/dist/component/lib/deepReferenceResolver.js +13 -8
  216. package/dist/component/lib/deepReferenceResolver.js.map +1 -1
  217. package/dist/component/lib/ragContentChunker.d.ts +3 -3
  218. package/dist/component/lib/ragContentChunker.d.ts.map +1 -1
  219. package/dist/component/lib/ragContentChunker.js +4 -4
  220. package/dist/component/lib/ragContentChunker.js.map +1 -1
  221. package/dist/component/lib/referenceResolver.d.ts.map +1 -1
  222. package/dist/component/lib/referenceResolver.js +10 -17
  223. package/dist/component/lib/referenceResolver.js.map +1 -1
  224. package/dist/component/mediaAssetMutations.js +4 -4
  225. package/dist/component/mediaAssetMutations.js.map +1 -1
  226. package/dist/component/ragContentIndexer.d.ts +2 -2
  227. package/dist/component/ragContentIndexer.d.ts.map +1 -1
  228. package/dist/component/ragContentIndexer.js +44 -48
  229. package/dist/component/ragContentIndexer.js.map +1 -1
  230. package/dist/component/roles.d.ts +3 -3
  231. package/dist/component/scheduledPublish.d.ts +4 -4
  232. package/dist/component/scheduledPublish.js +3 -3
  233. package/dist/component/scheduledPublish.js.map +1 -1
  234. package/dist/component/schema.d.ts +18 -18
  235. package/dist/component/schema.js +5 -5
  236. package/dist/component/schema.js.map +1 -1
  237. package/dist/component/trash.d.ts +6 -9
  238. package/dist/component/trash.d.ts.map +1 -1
  239. package/dist/component/trash.js +12 -36
  240. package/dist/component/trash.js.map +1 -1
  241. package/dist/component/userContext.d.ts +1 -2
  242. package/dist/component/userContext.d.ts.map +1 -1
  243. package/dist/component/userContext.js +1 -2
  244. package/dist/component/userContext.js.map +1 -1
  245. package/dist/component/validators.d.ts +27 -33
  246. package/dist/component/validators.d.ts.map +1 -1
  247. package/dist/component/validators.js +3 -5
  248. package/dist/component/validators.js.map +1 -1
  249. package/dist/component/versionMutations.d.ts +1 -1
  250. package/dist/component/webhookTrigger.d.ts +14 -14
  251. package/dist/test.d.ts +30 -30
  252. package/dist/test.d.ts.map +1 -1
  253. package/dist/test.js +24 -24
  254. package/dist/test.js.map +1 -1
  255. package/package.json +1 -1
  256. package/admin-dist/public/assets/CmsEmptyState-Do_erIgn.js +0 -5
  257. package/admin-dist/public/assets/CmsPageHeader-qDwPGi48.js +0 -1
  258. package/admin-dist/public/assets/CmsToolbar-D1-Y-7SK.js +0 -1
  259. package/admin-dist/public/assets/ContentEntryEditor-CWBiIx52.js +0 -4
  260. package/admin-dist/public/assets/TaxonomyFilter-CdYQawxb.js +0 -1
  261. package/admin-dist/public/assets/_contentTypeId-D9VMP6Gs.js +0 -1
  262. package/admin-dist/public/assets/_entryId-2FlCfqE7.js +0 -1
  263. package/admin-dist/public/assets/alert-GxZx0y5c.js +0 -1
  264. package/admin-dist/public/assets/badge-BAlGIjop.js +0 -1
  265. package/admin-dist/public/assets/command-di7XCqcv.js +0 -1
  266. package/admin-dist/public/assets/content-D8zELsDG.js +0 -1
  267. package/admin-dist/public/assets/content-types-BmzD0krT.js +0 -2
  268. package/admin-dist/public/assets/globals-BvFfH-v9.css +0 -1
  269. package/admin-dist/public/assets/index-zqfj4T_v.js +0 -1
  270. package/admin-dist/public/assets/label-B6PPtKR5.js +0 -1
  271. package/admin-dist/public/assets/link-2-W2fVnVOf.js +0 -1
  272. package/admin-dist/public/assets/list-F8O0lZXC.js +0 -1
  273. package/admin-dist/public/assets/main-dZT72bAG.js +0 -97
  274. package/admin-dist/public/assets/media-CETueFbV.js +0 -1
  275. package/admin-dist/public/assets/new._contentTypeId-BV2-TyyR.js +0 -1
  276. package/admin-dist/public/assets/plus-AABQIF0N.js +0 -1
  277. package/admin-dist/public/assets/scroll-area-CDfk-zrz.js +0 -1
  278. package/admin-dist/public/assets/select-BuiHcMzS.js +0 -1
  279. package/admin-dist/public/assets/settings-DBxbYDvn.js +0 -1
  280. package/admin-dist/public/assets/switch-DiJvolcs.js +0 -1
  281. package/admin-dist/public/assets/tabs-Cgz6G_Xy.js +0 -1
  282. package/admin-dist/public/assets/tanstack-adapter-BknsSgra.js +0 -1
  283. package/admin-dist/public/assets/taxonomies-DOErsLl5.js +0 -1
  284. package/admin-dist/public/assets/textarea-CgggMxUX.js +0 -1
  285. package/admin-dist/public/assets/trash-BU4ANuaW.js +0 -1
  286. package/admin-dist/public/assets/triangle-alert-lvCbwp0s.js +0 -1
  287. package/admin-dist/public/assets/usePermissions-D7tQowaF.js +0 -1
  288. package/admin-dist/server/_libs/h3-v2.mjs +0 -277
  289. package/admin-dist/server/_ssr/CmsButton-DbzfJru_.mjs +0 -125
  290. package/admin-dist/server/_ssr/CmsEmptyState-CuvcXr3Z.mjs +0 -290
  291. package/admin-dist/server/_ssr/_tanstack-start-manifest_v-Dk-FIYPN.mjs +0 -4
  292. package/admin-dist/server/_ssr/content-types-D25lUE-j.mjs +0 -1312
  293. package/admin-dist/server/_ssr/label-PblVvdRv.mjs +0 -22
  294. package/admin-dist/server/_ssr/router-x6Ab8T4s.mjs +0 -1622
  295. package/admin-dist/server/_ssr/select-CrfEkFJw.mjs +0 -142
  296. package/admin-dist/server/_ssr/textarea-CZVaroMc.mjs +0 -18
@@ -1,12 +1,12 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../react.mjs";
2
2
  import { c as composeRefs } from "./react-compose-refs.mjs";
3
3
  // @__NO_SIDE_EFFECTS__
4
- function createSlot$6(ownerName) {
5
- const SlotClone = /* @__PURE__ */ createSlotClone$6(ownerName);
4
+ function createSlot$1(ownerName) {
5
+ const SlotClone = /* @__PURE__ */ createSlotClone$1(ownerName);
6
6
  const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
7
7
  const { children, ...slotProps } = props;
8
8
  const childrenArray = reactExports.Children.toArray(children);
9
- const slottable = childrenArray.find(isSlottable$6);
9
+ const slottable = childrenArray.find(isSlottable$1);
10
10
  if (slottable) {
11
11
  const newElement = slottable.props.children;
12
12
  const newChildren = childrenArray.map((child) => {
@@ -25,12 +25,12 @@ function createSlot$6(ownerName) {
25
25
  return Slot2;
26
26
  }
27
27
  // @__NO_SIDE_EFFECTS__
28
- function createSlotClone$6(ownerName) {
28
+ function createSlotClone$1(ownerName) {
29
29
  const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
30
30
  const { children, ...slotProps } = props;
31
31
  if (reactExports.isValidElement(children)) {
32
- const childrenRef = getElementRef$6(children);
33
- const props2 = mergeProps$6(slotProps, children.props);
32
+ const childrenRef = getElementRef$1(children);
33
+ const props2 = mergeProps$1(slotProps, children.props);
34
34
  if (children.type !== reactExports.Fragment) {
35
35
  props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
36
36
  }
@@ -41,11 +41,11 @@ function createSlotClone$6(ownerName) {
41
41
  SlotClone.displayName = `${ownerName}.SlotClone`;
42
42
  return SlotClone;
43
43
  }
44
- var SLOTTABLE_IDENTIFIER$6 = Symbol("radix.slottable");
45
- function isSlottable$6(child) {
46
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$6;
44
+ var SLOTTABLE_IDENTIFIER$1 = /* @__PURE__ */ Symbol("radix.slottable");
45
+ function isSlottable$1(child) {
46
+ return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$1;
47
47
  }
48
- function mergeProps$6(slotProps, childProps) {
48
+ function mergeProps$1(slotProps, childProps) {
49
49
  const overrideProps = { ...childProps };
50
50
  for (const propName in childProps) {
51
51
  const slotPropValue = slotProps[propName];
@@ -69,7 +69,7 @@ function mergeProps$6(slotProps, childProps) {
69
69
  }
70
70
  return { ...slotProps, ...overrideProps };
71
71
  }
72
- function getElementRef$6(element) {
72
+ function getElementRef$1(element) {
73
73
  let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
74
74
  let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
75
75
  if (mayWarn) {
@@ -82,7 +82,7 @@ function getElementRef$6(element) {
82
82
  }
83
83
  return element.props.ref || element.ref;
84
84
  }
85
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
85
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
86
86
  var use = React[" use ".trim().toString()];
87
87
  function isPromiseLike(value) {
88
88
  return typeof value === "object" && value !== null && "then" in value;
@@ -91,15 +91,15 @@ function isLazyComponent(element) {
91
91
  return element != null && typeof element === "object" && "$$typeof" in element && element.$$typeof === REACT_LAZY_TYPE && "_payload" in element && isPromiseLike(element._payload);
92
92
  }
93
93
  // @__NO_SIDE_EFFECTS__
94
- function createSlot$5(ownerName) {
95
- const SlotClone = /* @__PURE__ */ createSlotClone$5(ownerName);
94
+ function createSlot(ownerName) {
95
+ const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
96
96
  const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
97
97
  let { children, ...slotProps } = props;
98
98
  if (isLazyComponent(children) && typeof use === "function") {
99
99
  children = use(children._payload);
100
100
  }
101
101
  const childrenArray = reactExports.Children.toArray(children);
102
- const slottable = childrenArray.find(isSlottable$5);
102
+ const slottable = childrenArray.find(isSlottable);
103
103
  if (slottable) {
104
104
  const newElement = slottable.props.children;
105
105
  const newChildren = childrenArray.map((child) => {
@@ -117,424 +117,14 @@ function createSlot$5(ownerName) {
117
117
  Slot2.displayName = `${ownerName}.Slot`;
118
118
  return Slot2;
119
119
  }
120
- var Slot = /* @__PURE__ */ createSlot$5("Slot");
120
+ var Slot = /* @__PURE__ */ createSlot("Slot");
121
121
  // @__NO_SIDE_EFFECTS__
122
- function createSlotClone$5(ownerName) {
122
+ function createSlotClone(ownerName) {
123
123
  const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
124
124
  let { children, ...slotProps } = props;
125
125
  if (isLazyComponent(children) && typeof use === "function") {
126
126
  children = use(children._payload);
127
127
  }
128
- if (reactExports.isValidElement(children)) {
129
- const childrenRef = getElementRef$5(children);
130
- const props2 = mergeProps$5(slotProps, children.props);
131
- if (children.type !== reactExports.Fragment) {
132
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
133
- }
134
- return reactExports.cloneElement(children, props2);
135
- }
136
- return reactExports.Children.count(children) > 1 ? reactExports.Children.only(null) : null;
137
- });
138
- SlotClone.displayName = `${ownerName}.SlotClone`;
139
- return SlotClone;
140
- }
141
- var SLOTTABLE_IDENTIFIER$5 = Symbol("radix.slottable");
142
- function isSlottable$5(child) {
143
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$5;
144
- }
145
- function mergeProps$5(slotProps, childProps) {
146
- const overrideProps = { ...childProps };
147
- for (const propName in childProps) {
148
- const slotPropValue = slotProps[propName];
149
- const childPropValue = childProps[propName];
150
- const isHandler = /^on[A-Z]/.test(propName);
151
- if (isHandler) {
152
- if (slotPropValue && childPropValue) {
153
- overrideProps[propName] = (...args) => {
154
- const result = childPropValue(...args);
155
- slotPropValue(...args);
156
- return result;
157
- };
158
- } else if (slotPropValue) {
159
- overrideProps[propName] = slotPropValue;
160
- }
161
- } else if (propName === "style") {
162
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
163
- } else if (propName === "className") {
164
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
165
- }
166
- }
167
- return { ...slotProps, ...overrideProps };
168
- }
169
- function getElementRef$5(element) {
170
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
171
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
172
- if (mayWarn) {
173
- return element.ref;
174
- }
175
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
176
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
177
- if (mayWarn) {
178
- return element.props.ref;
179
- }
180
- return element.props.ref || element.ref;
181
- }
182
- // @__NO_SIDE_EFFECTS__
183
- function createSlot$4(ownerName) {
184
- const SlotClone = /* @__PURE__ */ createSlotClone$4(ownerName);
185
- const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
186
- const { children, ...slotProps } = props;
187
- const childrenArray = reactExports.Children.toArray(children);
188
- const slottable = childrenArray.find(isSlottable$4);
189
- if (slottable) {
190
- const newElement = slottable.props.children;
191
- const newChildren = childrenArray.map((child) => {
192
- if (child === slottable) {
193
- if (reactExports.Children.count(newElement) > 1) return reactExports.Children.only(null);
194
- return reactExports.isValidElement(newElement) ? newElement.props.children : null;
195
- } else {
196
- return child;
197
- }
198
- });
199
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: reactExports.isValidElement(newElement) ? reactExports.cloneElement(newElement, void 0, newChildren) : null });
200
- }
201
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
202
- });
203
- Slot2.displayName = `${ownerName}.Slot`;
204
- return Slot2;
205
- }
206
- // @__NO_SIDE_EFFECTS__
207
- function createSlotClone$4(ownerName) {
208
- const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
209
- const { children, ...slotProps } = props;
210
- if (reactExports.isValidElement(children)) {
211
- const childrenRef = getElementRef$4(children);
212
- const props2 = mergeProps$4(slotProps, children.props);
213
- if (children.type !== reactExports.Fragment) {
214
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
215
- }
216
- return reactExports.cloneElement(children, props2);
217
- }
218
- return reactExports.Children.count(children) > 1 ? reactExports.Children.only(null) : null;
219
- });
220
- SlotClone.displayName = `${ownerName}.SlotClone`;
221
- return SlotClone;
222
- }
223
- var SLOTTABLE_IDENTIFIER$4 = Symbol("radix.slottable");
224
- function isSlottable$4(child) {
225
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$4;
226
- }
227
- function mergeProps$4(slotProps, childProps) {
228
- const overrideProps = { ...childProps };
229
- for (const propName in childProps) {
230
- const slotPropValue = slotProps[propName];
231
- const childPropValue = childProps[propName];
232
- const isHandler = /^on[A-Z]/.test(propName);
233
- if (isHandler) {
234
- if (slotPropValue && childPropValue) {
235
- overrideProps[propName] = (...args) => {
236
- const result = childPropValue(...args);
237
- slotPropValue(...args);
238
- return result;
239
- };
240
- } else if (slotPropValue) {
241
- overrideProps[propName] = slotPropValue;
242
- }
243
- } else if (propName === "style") {
244
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
245
- } else if (propName === "className") {
246
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
247
- }
248
- }
249
- return { ...slotProps, ...overrideProps };
250
- }
251
- function getElementRef$4(element) {
252
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
253
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
254
- if (mayWarn) {
255
- return element.ref;
256
- }
257
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
258
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
259
- if (mayWarn) {
260
- return element.props.ref;
261
- }
262
- return element.props.ref || element.ref;
263
- }
264
- // @__NO_SIDE_EFFECTS__
265
- function createSlot$3(ownerName) {
266
- const SlotClone = /* @__PURE__ */ createSlotClone$3(ownerName);
267
- const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
268
- const { children, ...slotProps } = props;
269
- const childrenArray = reactExports.Children.toArray(children);
270
- const slottable = childrenArray.find(isSlottable$3);
271
- if (slottable) {
272
- const newElement = slottable.props.children;
273
- const newChildren = childrenArray.map((child) => {
274
- if (child === slottable) {
275
- if (reactExports.Children.count(newElement) > 1) return reactExports.Children.only(null);
276
- return reactExports.isValidElement(newElement) ? newElement.props.children : null;
277
- } else {
278
- return child;
279
- }
280
- });
281
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: reactExports.isValidElement(newElement) ? reactExports.cloneElement(newElement, void 0, newChildren) : null });
282
- }
283
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
284
- });
285
- Slot2.displayName = `${ownerName}.Slot`;
286
- return Slot2;
287
- }
288
- // @__NO_SIDE_EFFECTS__
289
- function createSlotClone$3(ownerName) {
290
- const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
291
- const { children, ...slotProps } = props;
292
- if (reactExports.isValidElement(children)) {
293
- const childrenRef = getElementRef$3(children);
294
- const props2 = mergeProps$3(slotProps, children.props);
295
- if (children.type !== reactExports.Fragment) {
296
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
297
- }
298
- return reactExports.cloneElement(children, props2);
299
- }
300
- return reactExports.Children.count(children) > 1 ? reactExports.Children.only(null) : null;
301
- });
302
- SlotClone.displayName = `${ownerName}.SlotClone`;
303
- return SlotClone;
304
- }
305
- var SLOTTABLE_IDENTIFIER$3 = Symbol("radix.slottable");
306
- function isSlottable$3(child) {
307
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$3;
308
- }
309
- function mergeProps$3(slotProps, childProps) {
310
- const overrideProps = { ...childProps };
311
- for (const propName in childProps) {
312
- const slotPropValue = slotProps[propName];
313
- const childPropValue = childProps[propName];
314
- const isHandler = /^on[A-Z]/.test(propName);
315
- if (isHandler) {
316
- if (slotPropValue && childPropValue) {
317
- overrideProps[propName] = (...args) => {
318
- const result = childPropValue(...args);
319
- slotPropValue(...args);
320
- return result;
321
- };
322
- } else if (slotPropValue) {
323
- overrideProps[propName] = slotPropValue;
324
- }
325
- } else if (propName === "style") {
326
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
327
- } else if (propName === "className") {
328
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
329
- }
330
- }
331
- return { ...slotProps, ...overrideProps };
332
- }
333
- function getElementRef$3(element) {
334
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
335
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
336
- if (mayWarn) {
337
- return element.ref;
338
- }
339
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
340
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
341
- if (mayWarn) {
342
- return element.props.ref;
343
- }
344
- return element.props.ref || element.ref;
345
- }
346
- // @__NO_SIDE_EFFECTS__
347
- function createSlot$2(ownerName) {
348
- const SlotClone = /* @__PURE__ */ createSlotClone$2(ownerName);
349
- const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
350
- const { children, ...slotProps } = props;
351
- const childrenArray = reactExports.Children.toArray(children);
352
- const slottable = childrenArray.find(isSlottable$2);
353
- if (slottable) {
354
- const newElement = slottable.props.children;
355
- const newChildren = childrenArray.map((child) => {
356
- if (child === slottable) {
357
- if (reactExports.Children.count(newElement) > 1) return reactExports.Children.only(null);
358
- return reactExports.isValidElement(newElement) ? newElement.props.children : null;
359
- } else {
360
- return child;
361
- }
362
- });
363
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: reactExports.isValidElement(newElement) ? reactExports.cloneElement(newElement, void 0, newChildren) : null });
364
- }
365
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
366
- });
367
- Slot2.displayName = `${ownerName}.Slot`;
368
- return Slot2;
369
- }
370
- // @__NO_SIDE_EFFECTS__
371
- function createSlotClone$2(ownerName) {
372
- const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
373
- const { children, ...slotProps } = props;
374
- if (reactExports.isValidElement(children)) {
375
- const childrenRef = getElementRef$2(children);
376
- const props2 = mergeProps$2(slotProps, children.props);
377
- if (children.type !== reactExports.Fragment) {
378
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
379
- }
380
- return reactExports.cloneElement(children, props2);
381
- }
382
- return reactExports.Children.count(children) > 1 ? reactExports.Children.only(null) : null;
383
- });
384
- SlotClone.displayName = `${ownerName}.SlotClone`;
385
- return SlotClone;
386
- }
387
- var SLOTTABLE_IDENTIFIER$2 = Symbol("radix.slottable");
388
- function isSlottable$2(child) {
389
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$2;
390
- }
391
- function mergeProps$2(slotProps, childProps) {
392
- const overrideProps = { ...childProps };
393
- for (const propName in childProps) {
394
- const slotPropValue = slotProps[propName];
395
- const childPropValue = childProps[propName];
396
- const isHandler = /^on[A-Z]/.test(propName);
397
- if (isHandler) {
398
- if (slotPropValue && childPropValue) {
399
- overrideProps[propName] = (...args) => {
400
- const result = childPropValue(...args);
401
- slotPropValue(...args);
402
- return result;
403
- };
404
- } else if (slotPropValue) {
405
- overrideProps[propName] = slotPropValue;
406
- }
407
- } else if (propName === "style") {
408
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
409
- } else if (propName === "className") {
410
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
411
- }
412
- }
413
- return { ...slotProps, ...overrideProps };
414
- }
415
- function getElementRef$2(element) {
416
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
417
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
418
- if (mayWarn) {
419
- return element.ref;
420
- }
421
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
422
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
423
- if (mayWarn) {
424
- return element.props.ref;
425
- }
426
- return element.props.ref || element.ref;
427
- }
428
- // @__NO_SIDE_EFFECTS__
429
- function createSlot$1(ownerName) {
430
- const SlotClone = /* @__PURE__ */ createSlotClone$1(ownerName);
431
- const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
432
- const { children, ...slotProps } = props;
433
- const childrenArray = reactExports.Children.toArray(children);
434
- const slottable = childrenArray.find(isSlottable$1);
435
- if (slottable) {
436
- const newElement = slottable.props.children;
437
- const newChildren = childrenArray.map((child) => {
438
- if (child === slottable) {
439
- if (reactExports.Children.count(newElement) > 1) return reactExports.Children.only(null);
440
- return reactExports.isValidElement(newElement) ? newElement.props.children : null;
441
- } else {
442
- return child;
443
- }
444
- });
445
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: reactExports.isValidElement(newElement) ? reactExports.cloneElement(newElement, void 0, newChildren) : null });
446
- }
447
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
448
- });
449
- Slot2.displayName = `${ownerName}.Slot`;
450
- return Slot2;
451
- }
452
- // @__NO_SIDE_EFFECTS__
453
- function createSlotClone$1(ownerName) {
454
- const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
455
- const { children, ...slotProps } = props;
456
- if (reactExports.isValidElement(children)) {
457
- const childrenRef = getElementRef$1(children);
458
- const props2 = mergeProps$1(slotProps, children.props);
459
- if (children.type !== reactExports.Fragment) {
460
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
461
- }
462
- return reactExports.cloneElement(children, props2);
463
- }
464
- return reactExports.Children.count(children) > 1 ? reactExports.Children.only(null) : null;
465
- });
466
- SlotClone.displayName = `${ownerName}.SlotClone`;
467
- return SlotClone;
468
- }
469
- var SLOTTABLE_IDENTIFIER$1 = Symbol("radix.slottable");
470
- function isSlottable$1(child) {
471
- return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER$1;
472
- }
473
- function mergeProps$1(slotProps, childProps) {
474
- const overrideProps = { ...childProps };
475
- for (const propName in childProps) {
476
- const slotPropValue = slotProps[propName];
477
- const childPropValue = childProps[propName];
478
- const isHandler = /^on[A-Z]/.test(propName);
479
- if (isHandler) {
480
- if (slotPropValue && childPropValue) {
481
- overrideProps[propName] = (...args) => {
482
- const result = childPropValue(...args);
483
- slotPropValue(...args);
484
- return result;
485
- };
486
- } else if (slotPropValue) {
487
- overrideProps[propName] = slotPropValue;
488
- }
489
- } else if (propName === "style") {
490
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
491
- } else if (propName === "className") {
492
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
493
- }
494
- }
495
- return { ...slotProps, ...overrideProps };
496
- }
497
- function getElementRef$1(element) {
498
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
499
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
500
- if (mayWarn) {
501
- return element.ref;
502
- }
503
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
504
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
505
- if (mayWarn) {
506
- return element.props.ref;
507
- }
508
- return element.props.ref || element.ref;
509
- }
510
- // @__NO_SIDE_EFFECTS__
511
- function createSlot(ownerName) {
512
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
513
- const Slot2 = reactExports.forwardRef((props, forwardedRef) => {
514
- const { children, ...slotProps } = props;
515
- const childrenArray = reactExports.Children.toArray(children);
516
- const slottable = childrenArray.find(isSlottable);
517
- if (slottable) {
518
- const newElement = slottable.props.children;
519
- const newChildren = childrenArray.map((child) => {
520
- if (child === slottable) {
521
- if (reactExports.Children.count(newElement) > 1) return reactExports.Children.only(null);
522
- return reactExports.isValidElement(newElement) ? newElement.props.children : null;
523
- } else {
524
- return child;
525
- }
526
- });
527
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: reactExports.isValidElement(newElement) ? reactExports.cloneElement(newElement, void 0, newChildren) : null });
528
- }
529
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
530
- });
531
- Slot2.displayName = `${ownerName}.Slot`;
532
- return Slot2;
533
- }
534
- // @__NO_SIDE_EFFECTS__
535
- function createSlotClone(ownerName) {
536
- const SlotClone = reactExports.forwardRef((props, forwardedRef) => {
537
- const { children, ...slotProps } = props;
538
128
  if (reactExports.isValidElement(children)) {
539
129
  const childrenRef = getElementRef(children);
540
130
  const props2 = mergeProps(slotProps, children.props);
@@ -548,7 +138,7 @@ function createSlotClone(ownerName) {
548
138
  SlotClone.displayName = `${ownerName}.SlotClone`;
549
139
  return SlotClone;
550
140
  }
551
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
141
+ var SLOTTABLE_IDENTIFIER = /* @__PURE__ */ Symbol("radix.slottable");
552
142
  function isSlottable(child) {
553
143
  return reactExports.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
554
144
  }
@@ -591,11 +181,6 @@ function getElementRef(element) {
591
181
  }
592
182
  export {
593
183
  Slot as S,
594
- createSlot$5 as a,
595
- createSlot$4 as b,
596
- createSlot$6 as c,
597
- createSlot$3 as d,
598
- createSlot$2 as e,
599
- createSlot$1 as f,
600
- createSlot as g
184
+ createSlot as a,
185
+ createSlot$1 as c
601
186
  };
@@ -1,5 +1,32 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../react.mjs";
2
- import { P as Primitive } from "./react-primitive.mjs";
2
+ import { P as Primitive, a as Primitive$1 } from "./react-primitive.mjs";
3
+ var VISUALLY_HIDDEN_STYLES$1 = Object.freeze({
4
+ // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
5
+ position: "absolute",
6
+ border: 0,
7
+ width: 1,
8
+ height: 1,
9
+ padding: 0,
10
+ margin: -1,
11
+ overflow: "hidden",
12
+ clip: "rect(0, 0, 0, 0)",
13
+ whiteSpace: "nowrap",
14
+ wordWrap: "normal"
15
+ });
16
+ var NAME$1 = "VisuallyHidden";
17
+ var VisuallyHidden$1 = reactExports.forwardRef(
18
+ (props, forwardedRef) => {
19
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
20
+ Primitive.span,
21
+ {
22
+ ...props,
23
+ ref: forwardedRef,
24
+ style: { ...VISUALLY_HIDDEN_STYLES$1, ...props.style }
25
+ }
26
+ );
27
+ }
28
+ );
29
+ VisuallyHidden$1.displayName = NAME$1;
3
30
  var VISUALLY_HIDDEN_STYLES = Object.freeze({
4
31
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
5
32
  position: "absolute",
@@ -17,7 +44,7 @@ var NAME = "VisuallyHidden";
17
44
  var VisuallyHidden = reactExports.forwardRef(
18
45
  (props, forwardedRef) => {
19
46
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
20
- Primitive.span,
47
+ Primitive$1.span,
21
48
  {
22
49
  ...props,
23
50
  ref: forwardedRef,
@@ -28,6 +55,6 @@ var VisuallyHidden = reactExports.forwardRef(
28
55
  );
29
56
  VisuallyHidden.displayName = NAME;
30
57
  export {
31
- VISUALLY_HIDDEN_STYLES as V,
58
+ VISUALLY_HIDDEN_STYLES$1 as V,
32
59
  VisuallyHidden as a
33
60
  };