@vritti/quantum-ui 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/Avatar.js +4 -4
  2. package/dist/Checkbox2.js +2 -2
  3. package/dist/CurrencyField.js +6 -2
  4. package/dist/CurrencyField.js.map +1 -1
  5. package/dist/CurrencySelector.js +20 -177
  6. package/dist/CurrencySelector.js.map +1 -1
  7. package/dist/Dialog.js +1 -1
  8. package/dist/Progress.js +2 -2
  9. package/dist/RadioGroup.js +2 -2
  10. package/dist/Sidebar.js +1 -1
  11. package/dist/Switch.js +2 -2
  12. package/dist/TabsSkeleton.js +1 -1
  13. package/dist/Toggle.js +1 -1
  14. package/dist/assets/quantum-ui.css +0 -4
  15. package/dist/components/RichTextEditor.js +1 -1
  16. package/dist/currencies.js +179 -0
  17. package/dist/currencies.js.map +1 -0
  18. package/dist/dropdown-menu.js +2 -2
  19. package/dist/image-component.js +1 -1
  20. package/dist/index.js +2 -39
  21. package/dist/index.js.map +1 -1
  22. package/dist/index14.js +1 -1
  23. package/dist/index15.js +3 -3
  24. package/dist/index16.js +1 -1
  25. package/dist/index17.js +1 -1
  26. package/dist/index22.js +1 -1
  27. package/dist/index25.js +1 -1
  28. package/dist/index26.js +2 -2
  29. package/dist/index29.js +1123 -35
  30. package/dist/index29.js.map +1 -1
  31. package/dist/index30.js +36 -308
  32. package/dist/index30.js.map +1 -1
  33. package/dist/index31.js +307 -7
  34. package/dist/index31.js.map +1 -1
  35. package/dist/index32.js +8 -30
  36. package/dist/index32.js.map +1 -1
  37. package/dist/index33.js +29 -59
  38. package/dist/index33.js.map +1 -1
  39. package/dist/index34.js +59 -10
  40. package/dist/index34.js.map +1 -1
  41. package/dist/index35.js +10 -35
  42. package/dist/index35.js.map +1 -1
  43. package/dist/index36.js +27 -35341
  44. package/dist/index36.js.map +1 -1
  45. package/dist/index37.js +35341 -70
  46. package/dist/index37.js.map +1 -1
  47. package/dist/index38.js +72 -187
  48. package/dist/index38.js.map +1 -1
  49. package/dist/index39.js +199 -0
  50. package/dist/index39.js.map +1 -0
  51. package/dist/lib/components/CurrencyField/CurrencyField.d.ts.map +1 -1
  52. package/dist/lib/components/index.d.ts +0 -2
  53. package/dist/lib/components/index.d.ts.map +1 -1
  54. package/dist/lib/selects/index.d.ts +0 -34
  55. package/dist/lib/selects/index.d.ts.map +1 -1
  56. package/dist/selects/currency.js +1 -2
  57. package/dist/selects/currency.js.map +1 -1
  58. package/dist/utils/motion.js +2 -2
  59. package/dist/value.js +1 -1
  60. package/package.json +12 -176
  61. package/dist/AppSelector.js +0 -37
  62. package/dist/AppSelector.js.map +0 -1
  63. package/dist/BillingCycleSelector.js +0 -37
  64. package/dist/BillingCycleSelector.js.map +0 -1
  65. package/dist/BusinessSelector.js +0 -37
  66. package/dist/BusinessSelector.js.map +0 -1
  67. package/dist/CategoryFilter.js +0 -42
  68. package/dist/CategoryFilter.js.map +0 -1
  69. package/dist/CloudProviderSelector.js +0 -37
  70. package/dist/CloudProviderSelector.js.map +0 -1
  71. package/dist/Combination.js +0 -1129
  72. package/dist/Combination.js.map +0 -1
  73. package/dist/CompanySelector.js +0 -20
  74. package/dist/CompanySelector.js.map +0 -1
  75. package/dist/CountrySelector.js +0 -37
  76. package/dist/CountrySelector.js.map +0 -1
  77. package/dist/CurrencyFilter.js +0 -25
  78. package/dist/CurrencyFilter.js.map +0 -1
  79. package/dist/CustomerSelector.js +0 -37
  80. package/dist/CustomerSelector.js.map +0 -1
  81. package/dist/DeploymentSelector.js +0 -37
  82. package/dist/DeploymentSelector.js.map +0 -1
  83. package/dist/FeaturePermissionSelector.js +0 -37
  84. package/dist/FeaturePermissionSelector.js.map +0 -1
  85. package/dist/FeatureSelector.js +0 -37
  86. package/dist/FeatureSelector.js.map +0 -1
  87. package/dist/InventoryItemSelector.js +0 -40
  88. package/dist/InventoryItemSelector.js.map +0 -1
  89. package/dist/LegalEntitySelector.js +0 -37
  90. package/dist/LegalEntitySelector.js.map +0 -1
  91. package/dist/LocationSelector.js +0 -45
  92. package/dist/LocationSelector.js.map +0 -1
  93. package/dist/LotSelector.js +0 -39
  94. package/dist/LotSelector.js.map +0 -1
  95. package/dist/MicrofrontendSelector.js +0 -19
  96. package/dist/MicrofrontendSelector.js.map +0 -1
  97. package/dist/ModifierGroupSelector.js +0 -24
  98. package/dist/ModifierGroupSelector.js.map +0 -1
  99. package/dist/OfferingSelector.js +0 -21
  100. package/dist/OfferingSelector.js.map +0 -1
  101. package/dist/OfferingVariantSelector.js +0 -24
  102. package/dist/OfferingVariantSelector.js.map +0 -1
  103. package/dist/PersonSelector.js +0 -20
  104. package/dist/PersonSelector.js.map +0 -1
  105. package/dist/PlanSelector.js +0 -37
  106. package/dist/PlanSelector.js.map +0 -1
  107. package/dist/PurchaseOrderSelector.js +0 -44
  108. package/dist/PurchaseOrderSelector.js.map +0 -1
  109. package/dist/QuantSelector.js +0 -73
  110. package/dist/QuantSelector.js.map +0 -1
  111. package/dist/RegionSelector.js +0 -37
  112. package/dist/RegionSelector.js.map +0 -1
  113. package/dist/RepositorySelector.js +0 -20
  114. package/dist/RepositorySelector.js.map +0 -1
  115. package/dist/RoleSelector.js +0 -20
  116. package/dist/RoleSelector.js.map +0 -1
  117. package/dist/SerialSelector.js +0 -39
  118. package/dist/SerialSelector.js.map +0 -1
  119. package/dist/SiteGroupSelector.js +0 -37
  120. package/dist/SiteGroupSelector.js.map +0 -1
  121. package/dist/SiteSelector.js +0 -37
  122. package/dist/SiteSelector.js.map +0 -1
  123. package/dist/SupplierItemSelector.js +0 -75
  124. package/dist/SupplierItemSelector.js.map +0 -1
  125. package/dist/SupplierSelector.js +0 -51
  126. package/dist/SupplierSelector.js.map +0 -1
  127. package/dist/TaxClassSelector.js +0 -20
  128. package/dist/TaxClassSelector.js.map +0 -1
  129. package/dist/UomSelector.js +0 -43
  130. package/dist/UomSelector.js.map +0 -1
  131. package/dist/UserSelector.js +0 -37
  132. package/dist/UserSelector.js.map +0 -1
  133. package/dist/VariantOptionSelector.js +0 -25
  134. package/dist/VariantOptionSelector.js.map +0 -1
  135. package/dist/VersionSelector.js +0 -37
  136. package/dist/VersionSelector.js.map +0 -1
  137. package/dist/components/CompanySelector.js +0 -2
  138. package/dist/components/CompanySelector.js.map +0 -1
  139. package/dist/components/PersonSelector.js +0 -2
  140. package/dist/components/PersonSelector.js.map +0 -1
  141. package/dist/lib/components/CompanySelector/CompanySelector.d.ts +0 -4
  142. package/dist/lib/components/CompanySelector/CompanySelector.d.ts.map +0 -1
  143. package/dist/lib/components/CompanySelector/index.d.ts +0 -2
  144. package/dist/lib/components/CompanySelector/index.d.ts.map +0 -1
  145. package/dist/lib/components/PersonSelector/PersonSelector.d.ts +0 -4
  146. package/dist/lib/components/PersonSelector/PersonSelector.d.ts.map +0 -1
  147. package/dist/lib/components/PersonSelector/index.d.ts +0 -2
  148. package/dist/lib/components/PersonSelector/index.d.ts.map +0 -1
  149. package/dist/lib/selects/app/AppFilter.d.ts +0 -12
  150. package/dist/lib/selects/app/AppFilter.d.ts.map +0 -1
  151. package/dist/lib/selects/app/AppSelector.d.ts +0 -4
  152. package/dist/lib/selects/app/AppSelector.d.ts.map +0 -1
  153. package/dist/lib/selects/app/index.d.ts +0 -3
  154. package/dist/lib/selects/app/index.d.ts.map +0 -1
  155. package/dist/lib/selects/app-code/AppCodeFilter.d.ts +0 -12
  156. package/dist/lib/selects/app-code/AppCodeFilter.d.ts.map +0 -1
  157. package/dist/lib/selects/app-code/AppCodeSelector.d.ts +0 -4
  158. package/dist/lib/selects/app-code/AppCodeSelector.d.ts.map +0 -1
  159. package/dist/lib/selects/app-code/index.d.ts +0 -3
  160. package/dist/lib/selects/app-code/index.d.ts.map +0 -1
  161. package/dist/lib/selects/billing-cycle/BillingCycleFilter.d.ts +0 -12
  162. package/dist/lib/selects/billing-cycle/BillingCycleFilter.d.ts.map +0 -1
  163. package/dist/lib/selects/billing-cycle/BillingCycleSelector.d.ts +0 -4
  164. package/dist/lib/selects/billing-cycle/BillingCycleSelector.d.ts.map +0 -1
  165. package/dist/lib/selects/billing-cycle/index.d.ts +0 -3
  166. package/dist/lib/selects/billing-cycle/index.d.ts.map +0 -1
  167. package/dist/lib/selects/business/BusinessFilter.d.ts +0 -12
  168. package/dist/lib/selects/business/BusinessFilter.d.ts.map +0 -1
  169. package/dist/lib/selects/business/BusinessSelector.d.ts +0 -4
  170. package/dist/lib/selects/business/BusinessSelector.d.ts.map +0 -1
  171. package/dist/lib/selects/business/index.d.ts +0 -3
  172. package/dist/lib/selects/business/index.d.ts.map +0 -1
  173. package/dist/lib/selects/category/CategoryFilter.d.ts +0 -12
  174. package/dist/lib/selects/category/CategoryFilter.d.ts.map +0 -1
  175. package/dist/lib/selects/category/CategorySelector.d.ts +0 -5
  176. package/dist/lib/selects/category/CategorySelector.d.ts.map +0 -1
  177. package/dist/lib/selects/category/index.d.ts +0 -3
  178. package/dist/lib/selects/category/index.d.ts.map +0 -1
  179. package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts +0 -12
  180. package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts.map +0 -1
  181. package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts +0 -4
  182. package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts.map +0 -1
  183. package/dist/lib/selects/cloud-provider/index.d.ts +0 -3
  184. package/dist/lib/selects/cloud-provider/index.d.ts.map +0 -1
  185. package/dist/lib/selects/cost-category/CostCategoryFilter.d.ts +0 -12
  186. package/dist/lib/selects/cost-category/CostCategoryFilter.d.ts.map +0 -1
  187. package/dist/lib/selects/cost-category/CostCategorySelector.d.ts +0 -4
  188. package/dist/lib/selects/cost-category/CostCategorySelector.d.ts.map +0 -1
  189. package/dist/lib/selects/cost-category/index.d.ts +0 -3
  190. package/dist/lib/selects/cost-category/index.d.ts.map +0 -1
  191. package/dist/lib/selects/country/CountryFilter.d.ts +0 -12
  192. package/dist/lib/selects/country/CountryFilter.d.ts.map +0 -1
  193. package/dist/lib/selects/country/CountrySelector.d.ts +0 -4
  194. package/dist/lib/selects/country/CountrySelector.d.ts.map +0 -1
  195. package/dist/lib/selects/country/index.d.ts +0 -3
  196. package/dist/lib/selects/country/index.d.ts.map +0 -1
  197. package/dist/lib/selects/customer/CustomerFilter.d.ts +0 -12
  198. package/dist/lib/selects/customer/CustomerFilter.d.ts.map +0 -1
  199. package/dist/lib/selects/customer/CustomerSelector.d.ts +0 -4
  200. package/dist/lib/selects/customer/CustomerSelector.d.ts.map +0 -1
  201. package/dist/lib/selects/customer/index.d.ts +0 -3
  202. package/dist/lib/selects/customer/index.d.ts.map +0 -1
  203. package/dist/lib/selects/deployment/DeploymentFilter.d.ts +0 -12
  204. package/dist/lib/selects/deployment/DeploymentFilter.d.ts.map +0 -1
  205. package/dist/lib/selects/deployment/DeploymentSelector.d.ts +0 -4
  206. package/dist/lib/selects/deployment/DeploymentSelector.d.ts.map +0 -1
  207. package/dist/lib/selects/deployment/index.d.ts +0 -3
  208. package/dist/lib/selects/deployment/index.d.ts.map +0 -1
  209. package/dist/lib/selects/feature/FeatureFilter.d.ts +0 -12
  210. package/dist/lib/selects/feature/FeatureFilter.d.ts.map +0 -1
  211. package/dist/lib/selects/feature/FeatureSelector.d.ts +0 -4
  212. package/dist/lib/selects/feature/FeatureSelector.d.ts.map +0 -1
  213. package/dist/lib/selects/feature/index.d.ts +0 -3
  214. package/dist/lib/selects/feature/index.d.ts.map +0 -1
  215. package/dist/lib/selects/feature-permission/FeaturePermissionFilter.d.ts +0 -12
  216. package/dist/lib/selects/feature-permission/FeaturePermissionFilter.d.ts.map +0 -1
  217. package/dist/lib/selects/feature-permission/FeaturePermissionSelector.d.ts +0 -4
  218. package/dist/lib/selects/feature-permission/FeaturePermissionSelector.d.ts.map +0 -1
  219. package/dist/lib/selects/feature-permission/index.d.ts +0 -3
  220. package/dist/lib/selects/feature-permission/index.d.ts.map +0 -1
  221. package/dist/lib/selects/inventory-item/InventoryItemFilter.d.ts +0 -12
  222. package/dist/lib/selects/inventory-item/InventoryItemFilter.d.ts.map +0 -1
  223. package/dist/lib/selects/inventory-item/InventoryItemSelector.d.ts +0 -4
  224. package/dist/lib/selects/inventory-item/InventoryItemSelector.d.ts.map +0 -1
  225. package/dist/lib/selects/inventory-item/index.d.ts +0 -3
  226. package/dist/lib/selects/inventory-item/index.d.ts.map +0 -1
  227. package/dist/lib/selects/legal-entity/LegalEntityFilter.d.ts +0 -12
  228. package/dist/lib/selects/legal-entity/LegalEntityFilter.d.ts.map +0 -1
  229. package/dist/lib/selects/legal-entity/LegalEntitySelector.d.ts +0 -4
  230. package/dist/lib/selects/legal-entity/LegalEntitySelector.d.ts.map +0 -1
  231. package/dist/lib/selects/legal-entity/index.d.ts +0 -3
  232. package/dist/lib/selects/legal-entity/index.d.ts.map +0 -1
  233. package/dist/lib/selects/location/LocationFilter.d.ts +0 -12
  234. package/dist/lib/selects/location/LocationFilter.d.ts.map +0 -1
  235. package/dist/lib/selects/location/LocationSelector.d.ts +0 -5
  236. package/dist/lib/selects/location/LocationSelector.d.ts.map +0 -1
  237. package/dist/lib/selects/location/index.d.ts +0 -3
  238. package/dist/lib/selects/location/index.d.ts.map +0 -1
  239. package/dist/lib/selects/lot/LotFilter.d.ts +0 -17
  240. package/dist/lib/selects/lot/LotFilter.d.ts.map +0 -1
  241. package/dist/lib/selects/lot/LotSelector.d.ts +0 -11
  242. package/dist/lib/selects/lot/LotSelector.d.ts.map +0 -1
  243. package/dist/lib/selects/lot/index.d.ts +0 -3
  244. package/dist/lib/selects/lot/index.d.ts.map +0 -1
  245. package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts +0 -4
  246. package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts.map +0 -1
  247. package/dist/lib/selects/microfrontend/index.d.ts +0 -2
  248. package/dist/lib/selects/microfrontend/index.d.ts.map +0 -1
  249. package/dist/lib/selects/modifier-group/ModifierGroupSelector.d.ts +0 -8
  250. package/dist/lib/selects/modifier-group/ModifierGroupSelector.d.ts.map +0 -1
  251. package/dist/lib/selects/modifier-group/index.d.ts +0 -2
  252. package/dist/lib/selects/modifier-group/index.d.ts.map +0 -1
  253. package/dist/lib/selects/offering/OfferingSelector.d.ts +0 -4
  254. package/dist/lib/selects/offering/OfferingSelector.d.ts.map +0 -1
  255. package/dist/lib/selects/offering/index.d.ts +0 -2
  256. package/dist/lib/selects/offering/index.d.ts.map +0 -1
  257. package/dist/lib/selects/offering-variant/OfferingVariantSelector.d.ts +0 -6
  258. package/dist/lib/selects/offering-variant/OfferingVariantSelector.d.ts.map +0 -1
  259. package/dist/lib/selects/offering-variant/index.d.ts +0 -2
  260. package/dist/lib/selects/offering-variant/index.d.ts.map +0 -1
  261. package/dist/lib/selects/permission-group/PermissionGroupSelector.d.ts +0 -4
  262. package/dist/lib/selects/permission-group/PermissionGroupSelector.d.ts.map +0 -1
  263. package/dist/lib/selects/permission-group/index.d.ts +0 -2
  264. package/dist/lib/selects/permission-group/index.d.ts.map +0 -1
  265. package/dist/lib/selects/plan/PlanFilter.d.ts +0 -12
  266. package/dist/lib/selects/plan/PlanFilter.d.ts.map +0 -1
  267. package/dist/lib/selects/plan/PlanSelector.d.ts +0 -4
  268. package/dist/lib/selects/plan/PlanSelector.d.ts.map +0 -1
  269. package/dist/lib/selects/plan/index.d.ts +0 -3
  270. package/dist/lib/selects/plan/index.d.ts.map +0 -1
  271. package/dist/lib/selects/purchase-order/PurchaseOrderFilter.d.ts +0 -12
  272. package/dist/lib/selects/purchase-order/PurchaseOrderFilter.d.ts.map +0 -1
  273. package/dist/lib/selects/purchase-order/PurchaseOrderSelector.d.ts +0 -4
  274. package/dist/lib/selects/purchase-order/PurchaseOrderSelector.d.ts.map +0 -1
  275. package/dist/lib/selects/purchase-order/index.d.ts +0 -3
  276. package/dist/lib/selects/purchase-order/index.d.ts.map +0 -1
  277. package/dist/lib/selects/purchase-order-item/PurchaseOrderItemSelector.d.ts +0 -12
  278. package/dist/lib/selects/purchase-order-item/PurchaseOrderItemSelector.d.ts.map +0 -1
  279. package/dist/lib/selects/purchase-order-item/index.d.ts +0 -2
  280. package/dist/lib/selects/purchase-order-item/index.d.ts.map +0 -1
  281. package/dist/lib/selects/quant/QuantFilter.d.ts +0 -12
  282. package/dist/lib/selects/quant/QuantFilter.d.ts.map +0 -1
  283. package/dist/lib/selects/quant/QuantSelector.d.ts +0 -5
  284. package/dist/lib/selects/quant/QuantSelector.d.ts.map +0 -1
  285. package/dist/lib/selects/quant/index.d.ts +0 -3
  286. package/dist/lib/selects/quant/index.d.ts.map +0 -1
  287. package/dist/lib/selects/region/RegionFilter.d.ts +0 -12
  288. package/dist/lib/selects/region/RegionFilter.d.ts.map +0 -1
  289. package/dist/lib/selects/region/RegionSelector.d.ts +0 -4
  290. package/dist/lib/selects/region/RegionSelector.d.ts.map +0 -1
  291. package/dist/lib/selects/region/index.d.ts +0 -3
  292. package/dist/lib/selects/region/index.d.ts.map +0 -1
  293. package/dist/lib/selects/repository/RepositorySelector.d.ts +0 -4
  294. package/dist/lib/selects/repository/RepositorySelector.d.ts.map +0 -1
  295. package/dist/lib/selects/repository/index.d.ts +0 -2
  296. package/dist/lib/selects/repository/index.d.ts.map +0 -1
  297. package/dist/lib/selects/role/RoleSelector.d.ts +0 -4
  298. package/dist/lib/selects/role/RoleSelector.d.ts.map +0 -1
  299. package/dist/lib/selects/role/index.d.ts +0 -2
  300. package/dist/lib/selects/role/index.d.ts.map +0 -1
  301. package/dist/lib/selects/serial/SerialFilter.d.ts +0 -17
  302. package/dist/lib/selects/serial/SerialFilter.d.ts.map +0 -1
  303. package/dist/lib/selects/serial/SerialSelector.d.ts +0 -11
  304. package/dist/lib/selects/serial/SerialSelector.d.ts.map +0 -1
  305. package/dist/lib/selects/serial/index.d.ts +0 -3
  306. package/dist/lib/selects/serial/index.d.ts.map +0 -1
  307. package/dist/lib/selects/site/SiteFilter.d.ts +0 -12
  308. package/dist/lib/selects/site/SiteFilter.d.ts.map +0 -1
  309. package/dist/lib/selects/site/SiteSelector.d.ts +0 -4
  310. package/dist/lib/selects/site/SiteSelector.d.ts.map +0 -1
  311. package/dist/lib/selects/site/index.d.ts +0 -3
  312. package/dist/lib/selects/site/index.d.ts.map +0 -1
  313. package/dist/lib/selects/site-group/SiteGroupFilter.d.ts +0 -12
  314. package/dist/lib/selects/site-group/SiteGroupFilter.d.ts.map +0 -1
  315. package/dist/lib/selects/site-group/SiteGroupSelector.d.ts +0 -4
  316. package/dist/lib/selects/site-group/SiteGroupSelector.d.ts.map +0 -1
  317. package/dist/lib/selects/site-group/index.d.ts +0 -3
  318. package/dist/lib/selects/site-group/index.d.ts.map +0 -1
  319. package/dist/lib/selects/supplier/SupplierFilter.d.ts +0 -12
  320. package/dist/lib/selects/supplier/SupplierFilter.d.ts.map +0 -1
  321. package/dist/lib/selects/supplier/SupplierSelector.d.ts +0 -4
  322. package/dist/lib/selects/supplier/SupplierSelector.d.ts.map +0 -1
  323. package/dist/lib/selects/supplier/index.d.ts +0 -3
  324. package/dist/lib/selects/supplier/index.d.ts.map +0 -1
  325. package/dist/lib/selects/supplier-item/SupplierItemFilter.d.ts +0 -15
  326. package/dist/lib/selects/supplier-item/SupplierItemFilter.d.ts.map +0 -1
  327. package/dist/lib/selects/supplier-item/SupplierItemSelector.d.ts +0 -13
  328. package/dist/lib/selects/supplier-item/SupplierItemSelector.d.ts.map +0 -1
  329. package/dist/lib/selects/supplier-item/index.d.ts +0 -3
  330. package/dist/lib/selects/supplier-item/index.d.ts.map +0 -1
  331. package/dist/lib/selects/tax-class/TaxClassSelector.d.ts +0 -4
  332. package/dist/lib/selects/tax-class/TaxClassSelector.d.ts.map +0 -1
  333. package/dist/lib/selects/tax-class/index.d.ts +0 -2
  334. package/dist/lib/selects/tax-class/index.d.ts.map +0 -1
  335. package/dist/lib/selects/tax-group/TaxGroupFilter.d.ts +0 -12
  336. package/dist/lib/selects/tax-group/TaxGroupFilter.d.ts.map +0 -1
  337. package/dist/lib/selects/tax-group/TaxGroupSelector.d.ts +0 -4
  338. package/dist/lib/selects/tax-group/TaxGroupSelector.d.ts.map +0 -1
  339. package/dist/lib/selects/tax-group/index.d.ts +0 -3
  340. package/dist/lib/selects/tax-group/index.d.ts.map +0 -1
  341. package/dist/lib/selects/uom/UomFilter.d.ts +0 -12
  342. package/dist/lib/selects/uom/UomFilter.d.ts.map +0 -1
  343. package/dist/lib/selects/uom/UomSelector.d.ts +0 -4
  344. package/dist/lib/selects/uom/UomSelector.d.ts.map +0 -1
  345. package/dist/lib/selects/uom/index.d.ts +0 -3
  346. package/dist/lib/selects/uom/index.d.ts.map +0 -1
  347. package/dist/lib/selects/user/UserFilter.d.ts +0 -12
  348. package/dist/lib/selects/user/UserFilter.d.ts.map +0 -1
  349. package/dist/lib/selects/user/UserSelector.d.ts +0 -4
  350. package/dist/lib/selects/user/UserSelector.d.ts.map +0 -1
  351. package/dist/lib/selects/user/index.d.ts +0 -3
  352. package/dist/lib/selects/user/index.d.ts.map +0 -1
  353. package/dist/lib/selects/variant-option/VariantOptionSelector.d.ts +0 -8
  354. package/dist/lib/selects/variant-option/VariantOptionSelector.d.ts.map +0 -1
  355. package/dist/lib/selects/variant-option/index.d.ts +0 -2
  356. package/dist/lib/selects/variant-option/index.d.ts.map +0 -1
  357. package/dist/lib/selects/version/VersionFilter.d.ts +0 -12
  358. package/dist/lib/selects/version/VersionFilter.d.ts.map +0 -1
  359. package/dist/lib/selects/version/VersionSelector.d.ts +0 -4
  360. package/dist/lib/selects/version/VersionSelector.d.ts.map +0 -1
  361. package/dist/lib/selects/version/index.d.ts +0 -3
  362. package/dist/lib/selects/version/index.d.ts.map +0 -1
  363. package/dist/selects/app-code.js +0 -37
  364. package/dist/selects/app-code.js.map +0 -1
  365. package/dist/selects/app.js +0 -2
  366. package/dist/selects/app.js.map +0 -1
  367. package/dist/selects/billing-cycle.js +0 -2
  368. package/dist/selects/billing-cycle.js.map +0 -1
  369. package/dist/selects/business.js +0 -2
  370. package/dist/selects/business.js.map +0 -1
  371. package/dist/selects/category.js +0 -2
  372. package/dist/selects/category.js.map +0 -1
  373. package/dist/selects/cloud-provider.js +0 -2
  374. package/dist/selects/cloud-provider.js.map +0 -1
  375. package/dist/selects/cost-category.js +0 -50
  376. package/dist/selects/cost-category.js.map +0 -1
  377. package/dist/selects/country.js +0 -2
  378. package/dist/selects/country.js.map +0 -1
  379. package/dist/selects/customer.js +0 -2
  380. package/dist/selects/customer.js.map +0 -1
  381. package/dist/selects/deployment.js +0 -2
  382. package/dist/selects/deployment.js.map +0 -1
  383. package/dist/selects/feature-permission.js +0 -2
  384. package/dist/selects/feature-permission.js.map +0 -1
  385. package/dist/selects/feature.js +0 -2
  386. package/dist/selects/feature.js.map +0 -1
  387. package/dist/selects/inventory-item.js +0 -2
  388. package/dist/selects/inventory-item.js.map +0 -1
  389. package/dist/selects/legal-entity.js +0 -2
  390. package/dist/selects/legal-entity.js.map +0 -1
  391. package/dist/selects/location.js +0 -2
  392. package/dist/selects/location.js.map +0 -1
  393. package/dist/selects/lot.js +0 -2
  394. package/dist/selects/lot.js.map +0 -1
  395. package/dist/selects/microfrontend.js +0 -2
  396. package/dist/selects/microfrontend.js.map +0 -1
  397. package/dist/selects/modifier-group.js +0 -2
  398. package/dist/selects/modifier-group.js.map +0 -1
  399. package/dist/selects/offering-variant.js +0 -2
  400. package/dist/selects/offering-variant.js.map +0 -1
  401. package/dist/selects/offering.js +0 -2
  402. package/dist/selects/offering.js.map +0 -1
  403. package/dist/selects/permission-group.js +0 -21
  404. package/dist/selects/permission-group.js.map +0 -1
  405. package/dist/selects/plan.js +0 -2
  406. package/dist/selects/plan.js.map +0 -1
  407. package/dist/selects/purchase-order-item.js +0 -58
  408. package/dist/selects/purchase-order-item.js.map +0 -1
  409. package/dist/selects/purchase-order.js +0 -2
  410. package/dist/selects/purchase-order.js.map +0 -1
  411. package/dist/selects/quant.js +0 -2
  412. package/dist/selects/quant.js.map +0 -1
  413. package/dist/selects/region.js +0 -2
  414. package/dist/selects/region.js.map +0 -1
  415. package/dist/selects/repository.js +0 -2
  416. package/dist/selects/repository.js.map +0 -1
  417. package/dist/selects/role.js +0 -2
  418. package/dist/selects/role.js.map +0 -1
  419. package/dist/selects/serial.js +0 -2
  420. package/dist/selects/serial.js.map +0 -1
  421. package/dist/selects/site-group.js +0 -2
  422. package/dist/selects/site-group.js.map +0 -1
  423. package/dist/selects/site.js +0 -2
  424. package/dist/selects/site.js.map +0 -1
  425. package/dist/selects/supplier-item.js +0 -2
  426. package/dist/selects/supplier-item.js.map +0 -1
  427. package/dist/selects/supplier.js +0 -2
  428. package/dist/selects/supplier.js.map +0 -1
  429. package/dist/selects/tax-class.js +0 -2
  430. package/dist/selects/tax-class.js.map +0 -1
  431. package/dist/selects/tax-group.js +0 -37
  432. package/dist/selects/tax-group.js.map +0 -1
  433. package/dist/selects/uom.js +0 -2
  434. package/dist/selects/uom.js.map +0 -1
  435. package/dist/selects/user.js +0 -2
  436. package/dist/selects/user.js.map +0 -1
  437. package/dist/selects/variant-option.js +0 -2
  438. package/dist/selects/variant-option.js.map +0 -1
  439. package/dist/selects/version.js +0 -2
  440. package/dist/selects/version.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index30.js","sources":["../node_modules/.pnpm/@radix-ui+react-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_759603dcb12523e99413fb21d5cebc08/node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PortalPrimitive","RemoveScroll","createContext"],"mappings":";;;;;;;;AAmBA,IAAI,WAAW,GAAG,QAAQ;AAC1B,IAAI,CAAC,mBAAsC,CAAC,GAAG,kBAAkB,CAAC,WAAW,CAAC;AAC9E,IAAI,CAAC,cAAc,EAAE,gBAAgB,CAAC,GAAG,mBAAmB,CAAC,WAAW,CAAC;AACzE,IAAI,MAAM,GAAG,CAAC,KAAK,KAAK;AACxB,EAAE,MAAM;AACR,IAAI,aAAa;AACjB,IAAI,QAAQ;AACZ,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,WAAW;AACf,IAAI,YAAY;AAChB,IAAI,KAAK,GAAG;AACZ,GAAG,GAAG,KAAK;AACX,EAAE,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;AACvC,EAAE,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;AACvC,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,oBAAoB,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K,GAAG;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index30.js","sources":["../node_modules/.pnpm/@radix-ui+react-primitive@2.1.4_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_e693d0774db9e4b0810d0a29698def24/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;AAAA;AAKA,IAAI,KAAK,GAAG;AACZ,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,KAAK;AACP,EAAE,MAAM;AACR,EAAE,IAAI;AACN,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,OAAO;AACT,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,IAAI;AACN,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,KAAK;AACP,EAAE;AACF,CAAC;AACE,IAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC9C,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACzD,IAAI,MAAM,EAAE,OAAO,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK;AAChD,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI;AACtC,IAAI,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACvC,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI;AAC3C,IAAI;AACJ,IAAI,uBAAuB,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC;AAC9E,EAAE,CAAC,CAAC;AACJ,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACxC,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE;AACvC,CAAC,EAAE,EAAE;;;;","x_google_ignoreList":[0]}
package/dist/index31.js CHANGED
@@ -1,13 +1,313 @@
1
1
  import * as React from 'react';
2
+ import { u as useControllableState, P as Primitive, c as composeEventHandlers, b as createSlot } from './index20.js';
3
+ import { u as useComposedRefs } from './index12.js';
4
+ import { u as useId, P as Presence, c as createContextScope, a as createContext2 } from './index21.js';
5
+ import { P as Portal$1, D as DismissableLayer } from './index25.js';
6
+ import { h as hideOthers, R as ReactRemoveScroll, u as useFocusGuards, F as FocusScope } from './index29.js';
7
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
8
 
3
- // packages/react/use-callback-ref/src/use-callback-ref.tsx
4
- function useCallbackRef(callback) {
5
- const callbackRef = React.useRef(callback);
6
- React.useEffect(() => {
7
- callbackRef.current = callback;
9
+ var DIALOG_NAME = "Dialog";
10
+ var [createDialogContext] = createContextScope(DIALOG_NAME);
11
+ var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
12
+ var Dialog = (props) => {
13
+ const {
14
+ __scopeDialog,
15
+ children,
16
+ open: openProp,
17
+ defaultOpen,
18
+ onOpenChange,
19
+ modal = true
20
+ } = props;
21
+ const triggerRef = React.useRef(null);
22
+ const contentRef = React.useRef(null);
23
+ const [open, setOpen] = useControllableState({
24
+ prop: openProp,
25
+ defaultProp: defaultOpen ?? false,
26
+ onChange: onOpenChange,
27
+ caller: DIALOG_NAME
8
28
  });
9
- return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);
29
+ return /* @__PURE__ */ jsx(
30
+ DialogProvider,
31
+ {
32
+ scope: __scopeDialog,
33
+ triggerRef,
34
+ contentRef,
35
+ contentId: useId(),
36
+ titleId: useId(),
37
+ descriptionId: useId(),
38
+ open,
39
+ onOpenChange: setOpen,
40
+ onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
41
+ modal,
42
+ children
43
+ }
44
+ );
45
+ };
46
+ Dialog.displayName = DIALOG_NAME;
47
+ var TRIGGER_NAME = "DialogTrigger";
48
+ var DialogTrigger = React.forwardRef(
49
+ (props, forwardedRef) => {
50
+ const { __scopeDialog, ...triggerProps } = props;
51
+ const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
52
+ const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
53
+ return /* @__PURE__ */ jsx(
54
+ Primitive.button,
55
+ {
56
+ type: "button",
57
+ "aria-haspopup": "dialog",
58
+ "aria-expanded": context.open,
59
+ "aria-controls": context.contentId,
60
+ "data-state": getState(context.open),
61
+ ...triggerProps,
62
+ ref: composedTriggerRef,
63
+ onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
64
+ }
65
+ );
66
+ }
67
+ );
68
+ DialogTrigger.displayName = TRIGGER_NAME;
69
+ var PORTAL_NAME = "DialogPortal";
70
+ var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {
71
+ forceMount: void 0
72
+ });
73
+ var DialogPortal = (props) => {
74
+ const { __scopeDialog, forceMount, children, container } = props;
75
+ const context = useDialogContext(PORTAL_NAME, __scopeDialog);
76
+ return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$1, { asChild: true, container, children: child }) })) });
77
+ };
78
+ DialogPortal.displayName = PORTAL_NAME;
79
+ var OVERLAY_NAME = "DialogOverlay";
80
+ var DialogOverlay = React.forwardRef(
81
+ (props, forwardedRef) => {
82
+ const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
83
+ const { forceMount = portalContext.forceMount, ...overlayProps } = props;
84
+ const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
85
+ return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
86
+ }
87
+ );
88
+ DialogOverlay.displayName = OVERLAY_NAME;
89
+ var Slot = createSlot("DialogOverlay.RemoveScroll");
90
+ var DialogOverlayImpl = React.forwardRef(
91
+ (props, forwardedRef) => {
92
+ const { __scopeDialog, ...overlayProps } = props;
93
+ const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
94
+ return (
95
+ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
96
+ // ie. when `Overlay` and `Content` are siblings
97
+ /* @__PURE__ */ jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(
98
+ Primitive.div,
99
+ {
100
+ "data-state": getState(context.open),
101
+ ...overlayProps,
102
+ ref: forwardedRef,
103
+ style: { pointerEvents: "auto", ...overlayProps.style }
104
+ }
105
+ ) })
106
+ );
107
+ }
108
+ );
109
+ var CONTENT_NAME = "DialogContent";
110
+ var DialogContent = React.forwardRef(
111
+ (props, forwardedRef) => {
112
+ const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
113
+ const { forceMount = portalContext.forceMount, ...contentProps } = props;
114
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
115
+ return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
116
+ }
117
+ );
118
+ DialogContent.displayName = CONTENT_NAME;
119
+ var DialogContentModal = React.forwardRef(
120
+ (props, forwardedRef) => {
121
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
122
+ const contentRef = React.useRef(null);
123
+ const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
124
+ React.useEffect(() => {
125
+ const content = contentRef.current;
126
+ if (content) return hideOthers(content);
127
+ }, []);
128
+ return /* @__PURE__ */ jsx(
129
+ DialogContentImpl,
130
+ {
131
+ ...props,
132
+ ref: composedRefs,
133
+ trapFocus: context.open,
134
+ disableOutsidePointerEvents: true,
135
+ onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {
136
+ event.preventDefault();
137
+ context.triggerRef.current?.focus();
138
+ }),
139
+ onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {
140
+ const originalEvent = event.detail.originalEvent;
141
+ const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
142
+ const isRightClick = originalEvent.button === 2 || ctrlLeftClick;
143
+ if (isRightClick) event.preventDefault();
144
+ }),
145
+ onFocusOutside: composeEventHandlers(
146
+ props.onFocusOutside,
147
+ (event) => event.preventDefault()
148
+ )
149
+ }
150
+ );
151
+ }
152
+ );
153
+ var DialogContentNonModal = React.forwardRef(
154
+ (props, forwardedRef) => {
155
+ const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
156
+ const hasInteractedOutsideRef = React.useRef(false);
157
+ const hasPointerDownOutsideRef = React.useRef(false);
158
+ return /* @__PURE__ */ jsx(
159
+ DialogContentImpl,
160
+ {
161
+ ...props,
162
+ ref: forwardedRef,
163
+ trapFocus: false,
164
+ disableOutsidePointerEvents: false,
165
+ onCloseAutoFocus: (event) => {
166
+ props.onCloseAutoFocus?.(event);
167
+ if (!event.defaultPrevented) {
168
+ if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();
169
+ event.preventDefault();
170
+ }
171
+ hasInteractedOutsideRef.current = false;
172
+ hasPointerDownOutsideRef.current = false;
173
+ },
174
+ onInteractOutside: (event) => {
175
+ props.onInteractOutside?.(event);
176
+ if (!event.defaultPrevented) {
177
+ hasInteractedOutsideRef.current = true;
178
+ if (event.detail.originalEvent.type === "pointerdown") {
179
+ hasPointerDownOutsideRef.current = true;
180
+ }
181
+ }
182
+ const target = event.target;
183
+ const targetIsTrigger = context.triggerRef.current?.contains(target);
184
+ if (targetIsTrigger) event.preventDefault();
185
+ if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) {
186
+ event.preventDefault();
187
+ }
188
+ }
189
+ }
190
+ );
191
+ }
192
+ );
193
+ var DialogContentImpl = React.forwardRef(
194
+ (props, forwardedRef) => {
195
+ const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;
196
+ const context = useDialogContext(CONTENT_NAME, __scopeDialog);
197
+ const contentRef = React.useRef(null);
198
+ const composedRefs = useComposedRefs(forwardedRef, contentRef);
199
+ useFocusGuards();
200
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
201
+ /* @__PURE__ */ jsx(
202
+ FocusScope,
203
+ {
204
+ asChild: true,
205
+ loop: true,
206
+ trapped: trapFocus,
207
+ onMountAutoFocus: onOpenAutoFocus,
208
+ onUnmountAutoFocus: onCloseAutoFocus,
209
+ children: /* @__PURE__ */ jsx(
210
+ DismissableLayer,
211
+ {
212
+ role: "dialog",
213
+ id: context.contentId,
214
+ "aria-describedby": context.descriptionId,
215
+ "aria-labelledby": context.titleId,
216
+ "data-state": getState(context.open),
217
+ ...contentProps,
218
+ ref: composedRefs,
219
+ onDismiss: () => context.onOpenChange(false)
220
+ }
221
+ )
222
+ }
223
+ ),
224
+ /* @__PURE__ */ jsxs(Fragment, { children: [
225
+ /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),
226
+ /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
227
+ ] })
228
+ ] });
229
+ }
230
+ );
231
+ var TITLE_NAME = "DialogTitle";
232
+ var DialogTitle = React.forwardRef(
233
+ (props, forwardedRef) => {
234
+ const { __scopeDialog, ...titleProps } = props;
235
+ const context = useDialogContext(TITLE_NAME, __scopeDialog);
236
+ return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
237
+ }
238
+ );
239
+ DialogTitle.displayName = TITLE_NAME;
240
+ var DESCRIPTION_NAME = "DialogDescription";
241
+ var DialogDescription = React.forwardRef(
242
+ (props, forwardedRef) => {
243
+ const { __scopeDialog, ...descriptionProps } = props;
244
+ const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
245
+ return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
246
+ }
247
+ );
248
+ DialogDescription.displayName = DESCRIPTION_NAME;
249
+ var CLOSE_NAME = "DialogClose";
250
+ var DialogClose = React.forwardRef(
251
+ (props, forwardedRef) => {
252
+ const { __scopeDialog, ...closeProps } = props;
253
+ const context = useDialogContext(CLOSE_NAME, __scopeDialog);
254
+ return /* @__PURE__ */ jsx(
255
+ Primitive.button,
256
+ {
257
+ type: "button",
258
+ ...closeProps,
259
+ ref: forwardedRef,
260
+ onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))
261
+ }
262
+ );
263
+ }
264
+ );
265
+ DialogClose.displayName = CLOSE_NAME;
266
+ function getState(open) {
267
+ return open ? "open" : "closed";
10
268
  }
269
+ var TITLE_WARNING_NAME = "DialogTitleWarning";
270
+ var [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {
271
+ contentName: CONTENT_NAME,
272
+ titleName: TITLE_NAME,
273
+ docsSlug: "dialog"
274
+ });
275
+ var TitleWarning = ({ titleId }) => {
276
+ const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);
277
+ const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users.
278
+
279
+ If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
280
+
281
+ For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
282
+ React.useEffect(() => {
283
+ if (titleId) {
284
+ const hasTitle = document.getElementById(titleId);
285
+ if (!hasTitle) console.error(MESSAGE);
286
+ }
287
+ }, [MESSAGE, titleId]);
288
+ return null;
289
+ };
290
+ var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
291
+ var DescriptionWarning = ({ contentRef, descriptionId }) => {
292
+ const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);
293
+ const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`;
294
+ React.useEffect(() => {
295
+ const describedById = contentRef.current?.getAttribute("aria-describedby");
296
+ if (descriptionId && describedById) {
297
+ const hasDescription = document.getElementById(descriptionId);
298
+ if (!hasDescription) console.warn(MESSAGE);
299
+ }
300
+ }, [MESSAGE, contentRef, descriptionId]);
301
+ return null;
302
+ };
303
+ var Root = Dialog;
304
+ var Trigger = DialogTrigger;
305
+ var Portal = DialogPortal;
306
+ var Overlay = DialogOverlay;
307
+ var Content = DialogContent;
308
+ var Title = DialogTitle;
309
+ var Description = DialogDescription;
310
+ var Close = DialogClose;
11
311
 
12
- export { useCallbackRef as u };
312
+ export { Content as C, Description as D, Overlay as O, Portal as P, Root as R, Trigger as T, Close as a, Title as b };
13
313
  //# sourceMappingURL=index31.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index31.js","sources":["../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.14_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,cAAc,CAAC,QAAQ,EAAE;AAClC,EAAE,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC5C,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;AACxB,IAAI,WAAW,CAAC,OAAO,GAAG,QAAQ;AAClC,EAAE,CAAC,CAAC;AACJ,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,KAAK,WAAW,CAAC,OAAO,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;AAC7E;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index31.js","sources":["../node_modules/.pnpm/@radix-ui+react-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_759603dcb12523e99413fb21d5cebc08/node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PortalPrimitive","RemoveScroll","createContext"],"mappings":";;;;;;;;AAmBA,IAAI,WAAW,GAAG,QAAQ;AAC1B,IAAI,CAAC,mBAAsC,CAAC,GAAG,kBAAkB,CAAC,WAAW,CAAC;AAC9E,IAAI,CAAC,cAAc,EAAE,gBAAgB,CAAC,GAAG,mBAAmB,CAAC,WAAW,CAAC;AACzE,IAAI,MAAM,GAAG,CAAC,KAAK,KAAK;AACxB,EAAE,MAAM;AACR,IAAI,aAAa;AACjB,IAAI,QAAQ;AACZ,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,WAAW;AACf,IAAI,YAAY;AAChB,IAAI,KAAK,GAAG;AACZ,GAAG,GAAG,KAAK;AACX,EAAE,MAAM,UAAU,GAAG,K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IAAI,GAAG;AACR,IAAC,OAAO,GAAG;AACX,IAAC,MAAM,GAAG;AACV,IAAC,OAAO,GAAG;AACX,IAAC,OAAO,GAAG;AACX,IAAC,KAAK,GAAG;AACT,IAAC,WAAW,GAAG;AACf,IAAC,KAAK,GAAG;;;;","x_google_ignoreList":[0]}
package/dist/index32.js CHANGED
@@ -1,35 +1,13 @@
1
1
  import * as React from 'react';
2
- import { u as useControllableState, P as Primitive, c as composeEventHandlers } from './index20.js';
3
- import { jsx } from 'react/jsx-runtime';
4
2
 
5
- var NAME = "Toggle";
6
- var Toggle = React.forwardRef((props, forwardedRef) => {
7
- const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;
8
- const [pressed, setPressed] = useControllableState({
9
- prop: pressedProp,
10
- onChange: onPressedChange,
11
- defaultProp: defaultPressed ?? false,
12
- caller: NAME
3
+ // packages/react/use-callback-ref/src/use-callback-ref.tsx
4
+ function useCallbackRef(callback) {
5
+ const callbackRef = React.useRef(callback);
6
+ React.useEffect(() => {
7
+ callbackRef.current = callback;
13
8
  });
14
- return /* @__PURE__ */ jsx(
15
- Primitive.button,
16
- {
17
- type: "button",
18
- "aria-pressed": pressed,
19
- "data-state": pressed ? "on" : "off",
20
- "data-disabled": props.disabled ? "" : void 0,
21
- ...buttonProps,
22
- ref: forwardedRef,
23
- onClick: composeEventHandlers(props.onClick, () => {
24
- if (!props.disabled) {
25
- setPressed(!pressed);
26
- }
27
- })
28
- }
29
- );
30
- });
31
- Toggle.displayName = NAME;
32
- var Root = Toggle;
9
+ return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);
10
+ }
33
11
 
34
- export { Root as R, Toggle as T };
12
+ export { useCallbackRef as u };
35
13
  //# sourceMappingURL=index32.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index32.js","sources":["../node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_02bb79b21a738a2104b8454b73513f70/node_modules/@radix-ui/react-toggle/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/toggle.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Toggle\";\nvar Toggle = React.forwardRef((props, forwardedRef) => {\n const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;\n const [pressed, setPressed] = useControllableState({\n prop: pressedProp,\n onChange: onPressedChange,\n defaultProp: defaultPressed ?? false,\n caller: NAME\n });\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-pressed\": pressed,\n \"data-state\": pressed ? \"on\" : \"off\",\n \"data-disabled\": props.disabled ? \"\" : void 0,\n ...buttonProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => {\n if (!props.disabled) {\n setPressed(!pressed);\n }\n })\n }\n );\n});\nToggle.displayName = NAME;\nvar Root = Toggle;\nexport {\n Root,\n Toggle\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAQA,IAAI,IAAI,GAAG,QAAQ;AAChB,IAAC,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACvD,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK;AACzF,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,oBAAoB,CAAC;AACrD,IAAI,IAAI,EAAE,WAAW;AACrB,IAAI,QAAQ,EAAE,eAAe;AAC7B,IAAI,WAAW,EAAE,cAAc,IAAI,KAAK;AACxC,IAAI,MAAM,EAAE;AACZ,GAAG,CAAC;AACJ,EAAE,uBAAuB,GAAG;AAC5B,IAAI,SAAS,CAAC,MAAM;AACpB,IAAI;AACJ,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,cAAc,EAAE,OAAO;AAC7B,MAAM,YAAY,EAAE,OAAO,GAAG,IAAI,GAAG,KAAK;AAC1C,MAAM,eAAe,EAAE,KAAK,CAAC,QAAQ,GAAG,EAAE,GAAG,MAAM;AACnD,MAAM,GAAG,WAAW;AACpB,MAAM,GAAG,EAAE,YAAY;AACvB,MAAM,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM;AACzD,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;AAC7B,UAAU,UAAU,CAAC,CAAC,OAAO,CAAC;AAC9B,QAAQ;AACR,MAAM,CAAC;AACP;AACA,GAAG;AACH,CAAC;AACD,MAAM,CAAC,WAAW,GAAG,IAAI;AACtB,IAAC,IAAI,GAAG;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index32.js","sources":["../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.14_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,cAAc,CAAC,QAAQ,EAAE;AAClC,EAAE,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC5C,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;AACxB,IAAI,WAAW,CAAC,OAAO,GAAG,QAAQ;AAClC,EAAE,CAAC,CAAC;AACJ,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,KAAK,WAAW,CAAC,OAAO,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;AAC7E;;;;","x_google_ignoreList":[0]}
package/dist/index33.js CHANGED
@@ -1,65 +1,35 @@
1
1
  import * as React from 'react';
2
+ import { u as useControllableState, P as Primitive, c as composeEventHandlers } from './index20.js';
2
3
  import { jsx } from 'react/jsx-runtime';
3
4
 
4
- // src/create-context.tsx
5
- function createContextScope(scopeName, createContextScopeDeps = []) {
6
- let defaultContexts = [];
7
- function createContext3(rootComponentName, defaultContext) {
8
- const BaseContext = React.createContext(defaultContext);
9
- BaseContext.displayName = rootComponentName + "Context";
10
- const index = defaultContexts.length;
11
- defaultContexts = [...defaultContexts, defaultContext];
12
- const Provider = (props) => {
13
- const { scope, children, ...context } = props;
14
- const Context = scope?.[scopeName]?.[index] || BaseContext;
15
- const value = React.useMemo(() => context, Object.values(context));
16
- return /* @__PURE__ */ jsx(Context.Provider, { value, children });
17
- };
18
- Provider.displayName = rootComponentName + "Provider";
19
- function useContext2(consumerName, scope) {
20
- const Context = scope?.[scopeName]?.[index] || BaseContext;
21
- const context = React.useContext(Context);
22
- if (context) return context;
23
- if (defaultContext !== void 0) return defaultContext;
24
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
5
+ var NAME = "Toggle";
6
+ var Toggle = React.forwardRef((props, forwardedRef) => {
7
+ const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;
8
+ const [pressed, setPressed] = useControllableState({
9
+ prop: pressedProp,
10
+ onChange: onPressedChange,
11
+ defaultProp: defaultPressed ?? false,
12
+ caller: NAME
13
+ });
14
+ return /* @__PURE__ */ jsx(
15
+ Primitive.button,
16
+ {
17
+ type: "button",
18
+ "aria-pressed": pressed,
19
+ "data-state": pressed ? "on" : "off",
20
+ "data-disabled": props.disabled ? "" : void 0,
21
+ ...buttonProps,
22
+ ref: forwardedRef,
23
+ onClick: composeEventHandlers(props.onClick, () => {
24
+ if (!props.disabled) {
25
+ setPressed(!pressed);
26
+ }
27
+ })
25
28
  }
26
- return [Provider, useContext2];
27
- }
28
- const createScope = () => {
29
- const scopeContexts = defaultContexts.map((defaultContext) => {
30
- return React.createContext(defaultContext);
31
- });
32
- return function useScope(scope) {
33
- const contexts = scope?.[scopeName] || scopeContexts;
34
- return React.useMemo(
35
- () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
36
- [scope, contexts]
37
- );
38
- };
39
- };
40
- createScope.scopeName = scopeName;
41
- return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
42
- }
43
- function composeContextScopes(...scopes) {
44
- const baseScope = scopes[0];
45
- if (scopes.length === 1) return baseScope;
46
- const createScope = () => {
47
- const scopeHooks = scopes.map((createScope2) => ({
48
- useScope: createScope2(),
49
- scopeName: createScope2.scopeName
50
- }));
51
- return function useComposedScopes(overrideScopes) {
52
- const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
53
- const scopeProps = useScope(overrideScopes);
54
- const currentScope = scopeProps[`__scope${scopeName}`];
55
- return { ...nextScopes2, ...currentScope };
56
- }, {});
57
- return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
58
- };
59
- };
60
- createScope.scopeName = baseScope.scopeName;
61
- return createScope;
62
- }
29
+ );
30
+ });
31
+ Toggle.displayName = NAME;
32
+ var Root = Toggle;
63
33
 
64
- export { createContextScope as c };
34
+ export { Root as R, Toggle as T };
65
35
  //# sourceMappingURL=index33.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index33.js","sources":["../node_modules/.pnpm/@radix-ui+react-context@1.1.3_@types+react@19.2.14_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n Context.displayName = rootComponentName + \"Context\";\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n BaseContext.displayName = rootComponentName + \"Context\";\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;AAAA;AAoBA,SAAS,kBAAkB,CAAC,SAAS,EAAE,sBAAsB,GAAG,EAAE,EAAE;AACpE,EAAE,IAAI,eAAe,GAAG,EAAE;AAC1B,EAAE,SAAS,cAAc,CAAC,iBAAiB,EAAE,cAAc,EAAE;AAC7D,IAAI,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC;AAC3D,IAAI,WAAW,CAAC,WAAW,GAAG,iBAAiB,GAAG,SAAS;AAC3D,IAAI,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM;AACxC,IAAI,eAAe,GAAG,CAAC,GAAG,eAAe,EAAE,cAAc,CAAC;AAC1D,IAAI,MAAM,QAAQ,GAAG,CAAC,KAAK,KAAK;AAChC,MAAM,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK;AACnD,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC,GAAG,KAAK,CAAC,IAAI,WAAW;AAChE,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACxE,MAAM,uBAAuB,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvE,IAAI,CAAC;AACL,IAAI,QAAQ,CAAC,WAAW,GAAG,iBAAiB,GAAG,UAAU;AACzD,IAAI,SAAS,WAAW,CAAC,YAAY,EAAE,KAAK,EAAE;AAC9C,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC,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AE,OAAO,SAAS;AAC3C,EAAE,MAAM,WAAW,GAAG,MAAM;AAC5B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,YAAY,MAAM;AACrD,MAAM,QAAQ,EAAE,YAAY,EAAE;AAC9B,MAAM,SAAS,EAAE,YAAY,CAAC;AAC9B,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,SAAS,iBAAiB,CAAC,cAAc,EAAE;AACtD,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK;AACrF,QAAQ,MAAM,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC;AACnD,QAAQ,MAAM,YAAY,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;AAC9D,QAAQ,OAAO,EAAE,GAAG,WAAW,EAAE,GAAG,YAAY,EAAE;AAClD,MAAM,CAAC,EAAE,EAAE,CAAC;AACZ,MAAM,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;AACnG,IAAI,CAAC;AACL,EAAE,CAAC;AACH,EAAE,WAAW,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS;AAC7C,EAAE,OAAO,WAAW;AACpB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index33.js","sources":["../node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_02bb79b21a738a2104b8454b73513f70/node_modules/@radix-ui/react-toggle/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/toggle.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Toggle\";\nvar Toggle = React.forwardRef((props, forwardedRef) => {\n const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;\n const [pressed, setPressed] = useControllableState({\n prop: pressedProp,\n onChange: onPressedChange,\n defaultProp: defaultPressed ?? false,\n caller: NAME\n });\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-pressed\": pressed,\n \"data-state\": pressed ? \"on\" : \"off\",\n \"data-disabled\": props.disabled ? \"\" : void 0,\n ...buttonProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => {\n if (!props.disabled) {\n setPressed(!pressed);\n }\n })\n }\n );\n});\nToggle.displayName = NAME;\nvar Root = Toggle;\nexport {\n Root,\n Toggle\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAQA,IAAI,IAAI,GAAG,QAAQ;AAChB,IAAC,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACvD,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK;AACzF,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,oBAAoB,CAAC;AACrD,IAAI,IAAI,EAAE,WAAW;AACrB,IAAI,QAAQ,EAAE,eAAe;AAC7B,IAAI,WAAW,EAAE,cAAc,IAAI,KAAK;AACxC,IAAI,MAAM,EAAE;AACZ,GAAG,CAAC;AACJ,EAAE,uBAAuB,GAAG;AAC5B,IAAI,SAAS,CAAC,MAAM;AACpB,IAAI;AACJ,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,cAAc,EAAE,OAAO;AAC7B,MAAM,YAAY,EAAE,OAAO,GAAG,IAAI,GAAG,KAAK;AAC1C,MAAM,eAAe,EAAE,KAAK,CAAC,QAAQ,GAAG,EAAE,GAAG,MAAM;AACnD,MAAM,GAAG,WAAW;AACpB,MAAM,GAAG,EAAE,YAAY;AACvB,MAAM,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM;AACzD,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;AAC7B,UAAU,UAAU,CAAC,CAAC,OAAO,CAAC;AAC9B,QAAQ;AACR,MAAM,CAAC;AACP;AACA,GAAG;AACH,CAAC;AACD,MAAM,CAAC,WAAW,GAAG,IAAI;AACtB,IAAC,IAAI,GAAG;;;;","x_google_ignoreList":[0]}