autumn-js 0.1.35 → 0.1.36

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 (41) hide show
  1. package/dist/libraries/react/AutumnContext.mjs +4 -4
  2. package/dist/libraries/react/BaseAutumnProvider.mjs +6 -6
  3. package/dist/libraries/react/ReactAutumnProvider.mjs +7 -7
  4. package/dist/libraries/react/{chunk-FW7AQFVX.mjs → chunk-5BTQDWG6.mjs} +1 -1
  5. package/dist/libraries/react/{chunk-WSX7HWKQ.mjs → chunk-6PLIVXZY.mjs} +1 -1
  6. package/dist/libraries/react/{chunk-RNIUZGWU.mjs → chunk-6U2XJZGO.mjs} +1 -1
  7. package/dist/libraries/react/{chunk-5TLRC3ED.mjs → chunk-AHIEANFE.mjs} +17 -17
  8. package/dist/libraries/react/{chunk-QEWVBDWJ.mjs → chunk-ATGLJHUN.mjs} +1 -1
  9. package/dist/libraries/react/{chunk-7FMBA5I4.mjs → chunk-BR56DHZ2.mjs} +1 -1
  10. package/dist/libraries/react/{chunk-Q7LVAQ5K.mjs → chunk-DJXOY3UC.mjs} +2 -2
  11. package/dist/libraries/react/{chunk-4KLTPVNG.mjs → chunk-FAG5HHVM.mjs} +2 -2
  12. package/dist/libraries/react/{chunk-P4GHLIEZ.mjs → chunk-FSJNDXTY.mjs} +452 -450
  13. package/dist/libraries/react/{chunk-4QVAJKUF.mjs → chunk-HNWWFCOW.mjs} +1 -1
  14. package/dist/libraries/react/{chunk-MHAXHLX4.mjs → chunk-KCO4V65K.mjs} +6 -6
  15. package/dist/libraries/react/{chunk-YKJYGNXR.mjs → chunk-NJRJLNGW.mjs} +1 -1
  16. package/dist/libraries/react/{chunk-2LZIBRD4.mjs → chunk-NPPSXTRQ.mjs} +2 -2
  17. package/dist/libraries/react/{chunk-HN7ULWIM.mjs → chunk-P4BHBYHL.mjs} +1 -1
  18. package/dist/libraries/react/{chunk-C3G5RW3Q.mjs → chunk-QFOYSJQW.mjs} +6 -6
  19. package/dist/libraries/react/{chunk-7T7IOMAA.mjs → chunk-W3YUWXSL.mjs} +2 -2
  20. package/dist/libraries/react/{chunk-FL4H464X.mjs → chunk-WJZUVBCL.mjs} +3 -3
  21. package/dist/libraries/react/{chunk-4YM2QKRI.mjs → chunk-WRYAEUUV.mjs} +1 -1
  22. package/dist/libraries/react/client/ReactAutumnClient.mjs +3 -3
  23. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +25 -25
  24. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +25 -25
  25. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +25 -25
  26. package/dist/libraries/react/components/ui/accordion.mjs +3 -3
  27. package/dist/libraries/react/components/ui/button.d.mts +1 -1
  28. package/dist/libraries/react/components/ui/button.d.ts +1 -1
  29. package/dist/libraries/react/components/ui/dialog.mjs +4 -4
  30. package/dist/libraries/react/components/ui/popover.mjs +5 -5
  31. package/dist/libraries/react/components/ui/switch.mjs +3 -3
  32. package/dist/libraries/react/hooks/useAnalytics.mjs +5 -5
  33. package/dist/libraries/react/hooks/useCustomer.mjs +6 -6
  34. package/dist/libraries/react/hooks/useCustomerBase.mjs +5 -5
  35. package/dist/libraries/react/hooks/useEntity.mjs +6 -6
  36. package/dist/libraries/react/hooks/useEntityBase.mjs +5 -5
  37. package/dist/libraries/react/hooks/usePaywall.mjs +5 -5
  38. package/dist/libraries/react/hooks/usePricingTable.mjs +5 -5
  39. package/package.json +1 -1
  40. package/dist/libraries/react/{chunk-2GEDBGON.mjs → chunk-4XU63W7I.mjs} +11 -11
  41. package/dist/libraries/react/{chunk-5OBFJVZC.mjs → chunk-XGIQOMYH.mjs} +6 -6
@@ -4,6 +4,16 @@ import {
4
4
  createSlot
5
5
  } from "./chunk-DXHYWJOY.mjs";
6
6
 
7
+ // ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
8
+ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
9
+ return function handleEvent(event) {
10
+ originalEventHandler?.(event);
11
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) {
12
+ return ourEventHandler?.(event);
13
+ }
14
+ };
15
+ }
16
+
7
17
  // ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-context/dist/index.mjs
8
18
  import * as React from "react";
9
19
  import { jsx } from "react/jsx-runtime";
@@ -81,16 +91,6 @@ function composeContextScopes(...scopes) {
81
91
  return createScope;
82
92
  }
83
93
 
84
- // ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
85
- function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
86
- return function handleEvent(event) {
87
- originalEventHandler?.(event);
88
- if (checkForDefaultPrevented === false || !event.defaultPrevented) {
89
- return ourEventHandler?.(event);
90
- }
91
- };
92
- }
93
-
94
94
  // ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
95
95
  import * as React3 from "react";
96
96
 
@@ -208,9 +208,9 @@ function dispatchDiscreteCustomEvent(target, event) {
208
208
  }
209
209
 
210
210
  export {
211
+ composeEventHandlers,
211
212
  createContext2,
212
213
  createContextScope,
213
- composeEventHandlers,
214
214
  useLayoutEffect2,
215
215
  useControllableState,
216
216
  Primitive,
@@ -1,11 +1,5 @@
1
1
  "use client";
2
2
 
3
- import {
4
- logAuthError
5
- } from "./chunk-JVCOY7ZL.mjs";
6
- import {
7
- logFetchError
8
- } from "./chunk-CIBQ4BJU.mjs";
9
3
  import {
10
4
  attachMethod,
11
5
  cancelMethod,
@@ -23,6 +17,12 @@ import {
23
17
  createCode,
24
18
  redeemCode
25
19
  } from "./chunk-SUENW2KS.mjs";
20
+ import {
21
+ logAuthError
22
+ } from "./chunk-JVCOY7ZL.mjs";
23
+ import {
24
+ logFetchError
25
+ } from "./chunk-CIBQ4BJU.mjs";
26
26
  import {
27
27
  AutumnError,
28
28
  toContainerResult