autumn-js 0.1.16 → 0.1.17
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.
- package/dist/libraries/backend/better-auth.d.mts +52 -52
- package/dist/libraries/backend/better-auth.d.ts +52 -52
- package/dist/libraries/react/AutumnContext.d.mts +1 -1
- package/dist/libraries/react/AutumnContext.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.mjs +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.mjs +6 -6
- package/dist/libraries/react/{ReactAutumnClient-BG8_E3nb.d.ts → ReactAutumnClient-CqDsfKHI.d.ts} +1 -0
- package/dist/libraries/react/{ReactAutumnClient-gvMVYgdO.d.mts → ReactAutumnClient-DxzJiNXI.d.mts} +1 -0
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -1
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -1
- package/dist/libraries/react/ReactAutumnProvider.js +2 -1
- package/dist/libraries/react/ReactAutumnProvider.mjs +7 -7
- package/dist/libraries/react/{chunk-QJPZFEVW.mjs → chunk-2OHJ6PS6.mjs} +10 -10
- package/dist/libraries/react/{chunk-WT5K3J2K.mjs → chunk-2PBWI3T6.mjs} +19 -19
- package/dist/libraries/react/{chunk-UJVW3UWD.mjs → chunk-4UZ5VXK2.mjs} +5 -4
- package/dist/libraries/react/{chunk-5K2M3CQZ.mjs → chunk-65S4VY5K.mjs} +32 -32
- package/dist/libraries/react/{chunk-SBX6TYV2.mjs → chunk-AKE6UAQS.mjs} +1 -1
- package/dist/libraries/react/{chunk-M7SUFZ42.mjs → chunk-DAZBMK7R.mjs} +2 -2
- package/dist/libraries/react/{chunk-RPEGNKJH.mjs → chunk-DXHYWJOY.mjs} +3 -3
- package/dist/libraries/react/{chunk-A6E436YR.mjs → chunk-EY2AQBIO.mjs} +464 -466
- package/dist/libraries/react/{chunk-6S7MT3MM.mjs → chunk-FD42XGXU.mjs} +1 -1
- package/dist/libraries/react/{chunk-37TR2YZH.mjs → chunk-GYL7XSVZ.mjs} +2 -2
- package/dist/libraries/react/{chunk-FJX2BGGF.mjs → chunk-I24K3F47.mjs} +1 -1
- package/dist/libraries/react/{chunk-FAODWMTA.mjs → chunk-L4FS7ENO.mjs} +1 -1
- package/dist/libraries/react/{chunk-USBPNC5B.mjs → chunk-QL75Q3H6.mjs} +1 -1
- package/dist/libraries/react/{chunk-AIBWQU4K.mjs → chunk-QWWPID3I.mjs} +2 -2
- package/dist/libraries/react/{chunk-S52LXSZB.mjs → chunk-RJSVDPCH.mjs} +1 -1
- package/dist/libraries/react/{chunk-EV5RNY5U.mjs → chunk-SWSFJTEQ.mjs} +1 -1
- package/dist/libraries/react/{chunk-YCDNQZT5.mjs → chunk-VYBU4WHO.mjs} +9 -9
- package/dist/libraries/react/{chunk-NHDZWWMZ.mjs → chunk-WUEXMQIT.mjs} +6 -6
- package/dist/libraries/react/{chunk-2TQBFCWM.mjs → chunk-X6FMCHSB.mjs} +14 -14
- package/dist/libraries/react/{chunk-BXMZYHE7.mjs → chunk-YE6KQQS7.mjs} +6 -6
- package/dist/libraries/react/{chunk-KWNH6C27.mjs → chunk-YN67J64M.mjs} +17 -17
- package/dist/libraries/react/{chunk-H2QK3ZOW.mjs → chunk-ZAYIRIY2.mjs} +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.mjs +3 -3
- package/dist/libraries/react/client/clientCompMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCompMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.ts +1 -1
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.js +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.mjs +1 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.css +120 -141
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.js +71 -71
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +26 -26
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.css +120 -141
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.js +69 -69
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +26 -26
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +120 -141
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +70 -70
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +26 -26
- package/dist/libraries/react/components/ui/accordion.js +23 -23
- package/dist/libraries/react/components/ui/accordion.mjs +5 -5
- package/dist/libraries/react/components/ui/button.js +3 -3
- package/dist/libraries/react/components/ui/button.mjs +2 -2
- package/dist/libraries/react/components/ui/dialog.js +49 -49
- package/dist/libraries/react/components/ui/dialog.mjs +6 -6
- package/dist/libraries/react/components/ui/popover.js +50 -50
- package/dist/libraries/react/components/ui/popover.mjs +6 -6
- package/dist/libraries/react/components/ui/switch.js +12 -12
- package/dist/libraries/react/components/ui/switch.mjs +4 -4
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useAnalytics.mjs +5 -5
- package/dist/libraries/react/hooks/useCustomer.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomer.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomer.mjs +6 -6
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.mjs +5 -5
- package/dist/libraries/react/hooks/useEntity.mjs +6 -6
- package/dist/libraries/react/hooks/useEntityBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.mjs +5 -5
- package/dist/libraries/react/hooks/usePaywall.mjs +5 -5
- package/dist/libraries/react/hooks/usePricingTable.mjs +5 -5
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useProductsBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useProductsBase.d.ts +1 -1
- package/dist/libraries/react/index.d.mts +3 -1
- package/dist/libraries/react/index.d.ts +3 -1
- package/dist/libraries/react/index.js +73 -72
- package/dist/libraries/react/index.mjs +73 -72
- package/dist/next/client/NextAutumnClient.d.mts +2 -1
- package/dist/next/client/NextAutumnClient.d.ts +2 -1
- package/dist/next/client/{clientAttachTypes-traKz9UZ.d.mts → clientAttachTypes-B0BWHPDs.d.mts} +1 -0
- package/dist/next/client/{clientAttachTypes-DWFk8mOR.d.ts → clientAttachTypes-C2rh2H-X.d.ts} +1 -0
- package/dist/next/client/hooks/useAutumn.d.mts +1 -1
- package/dist/next/client/hooks/useAutumn.d.ts +1 -1
- package/dist/next/client/hooks/useCustomer.d.mts +1 -1
- package/dist/next/client/hooks/useCustomer.d.ts +1 -1
- package/dist/next/client/hooks/useEntity.d.mts +1 -1
- package/dist/next/client/hooks/useEntity.d.ts +1 -1
- package/dist/styles/global.css +120 -141
- package/package.json +1 -1
- package/dist/libraries/react/{chunk-XZ7XNWDB.mjs → chunk-2OPGTDRC.mjs} +6 -6
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
BaseAutumnProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZAYIRIY2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
AutumnContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RJSVDPCH.mjs";
|
|
9
9
|
import {
|
|
10
10
|
AutumnClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2OPGTDRC.mjs";
|
|
12
12
|
|
|
13
13
|
// src/libraries/react/ReactAutumnProvider.tsx
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -28,7 +28,8 @@ var ReactAutumnProvider = ({
|
|
|
28
28
|
customerData,
|
|
29
29
|
includeCredentials,
|
|
30
30
|
betterAuthUrl,
|
|
31
|
-
headers
|
|
31
|
+
headers,
|
|
32
|
+
convexApi
|
|
32
33
|
}) => {
|
|
33
34
|
let client = new AutumnClient({
|
|
34
35
|
backendUrl: getBackendUrl(backendUrl),
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
composeEventHandlers,
|
|
6
6
|
dispatchDiscreteCustomEvent,
|
|
7
7
|
useLayoutEffect2
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YN67J64M.mjs";
|
|
9
9
|
import {
|
|
10
10
|
useComposedRefs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DXHYWJOY.mjs";
|
|
12
12
|
|
|
13
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.
|
|
13
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.7_@types+react@19.1.10__@types_kkkjgucmf2iks2g3unne4yz33y/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
14
14
|
import * as React3 from "react";
|
|
15
15
|
|
|
16
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.
|
|
16
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
function useCallbackRef(callback) {
|
|
19
19
|
const callbackRef = React.useRef(callback);
|
|
@@ -23,7 +23,7 @@ function useCallbackRef(callback) {
|
|
|
23
23
|
return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.
|
|
26
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
27
27
|
import * as React2 from "react";
|
|
28
28
|
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
29
29
|
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
@@ -38,7 +38,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
|
|
|
38
38
|
}, [onEscapeKeyDown, ownerDocument]);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.
|
|
41
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.7_@types+react@19.1.10__@types_kkkjgucmf2iks2g3unne4yz33y/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
42
42
|
import { jsx } from "react/jsx-runtime";
|
|
43
43
|
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
44
44
|
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
@@ -243,7 +243,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.
|
|
246
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.7_@types+react@19.1.10__@types+react@_vydxvrk5sybelf6rsj26ktbpwa/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
247
247
|
import * as React4 from "react";
|
|
248
248
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
249
249
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
@@ -447,7 +447,7 @@ function removeLinks(items) {
|
|
|
447
447
|
return items.filter((item) => item.tagName !== "A");
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.
|
|
450
|
+
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.7_@types+react@19.1.10__@types+react@19.1._5sa65pl6oblkuen3v5fktjly74/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
451
451
|
import * as React5 from "react";
|
|
452
452
|
import ReactDOM from "react-dom";
|
|
453
453
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
@@ -461,7 +461,7 @@ var Portal = React5.forwardRef((props, forwardedRef) => {
|
|
|
461
461
|
});
|
|
462
462
|
Portal.displayName = PORTAL_NAME;
|
|
463
463
|
|
|
464
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.
|
|
464
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
465
465
|
import * as React6 from "react";
|
|
466
466
|
var count = 0;
|
|
467
467
|
function useFocusGuards() {
|
|
@@ -521,19 +521,19 @@ function __spreadArray(to, from, pack) {
|
|
|
521
521
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
524
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
525
525
|
import * as React13 from "react";
|
|
526
526
|
|
|
527
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
527
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
528
528
|
import * as React9 from "react";
|
|
529
529
|
|
|
530
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.
|
|
530
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
531
531
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
532
532
|
var fullWidthClassName = "width-before-scroll-bar";
|
|
533
533
|
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
534
534
|
var removedBarSizeVariable = "--removed-body-scroll-bar-size";
|
|
535
535
|
|
|
536
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.
|
|
536
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.1.1/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
537
537
|
function assignRef(ref, value) {
|
|
538
538
|
if (typeof ref === "function") {
|
|
539
539
|
ref(value);
|
|
@@ -543,7 +543,7 @@ function assignRef(ref, value) {
|
|
|
543
543
|
return ref;
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.
|
|
546
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.1.1/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
547
547
|
import { useState as useState4 } from "react";
|
|
548
548
|
function useCallbackRef2(initialValue, callback) {
|
|
549
549
|
var ref = useState4(function() {
|
|
@@ -571,7 +571,7 @@ function useCallbackRef2(initialValue, callback) {
|
|
|
571
571
|
return ref.facade;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.
|
|
574
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.1.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
575
575
|
import * as React7 from "react";
|
|
576
576
|
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React7.useLayoutEffect : React7.useEffect;
|
|
577
577
|
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
@@ -603,7 +603,7 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
603
603
|
return callbackRef;
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.
|
|
606
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.1.1/node_modules/use-sidecar/dist/es2015/medium.js
|
|
607
607
|
function ItoI(a) {
|
|
608
608
|
return a;
|
|
609
609
|
}
|
|
@@ -689,7 +689,7 @@ function createSidecarMedium(options) {
|
|
|
689
689
|
return medium;
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.
|
|
692
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.1.1/node_modules/use-sidecar/dist/es2015/exports.js
|
|
693
693
|
import * as React8 from "react";
|
|
694
694
|
var SideCar = function(_a) {
|
|
695
695
|
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
@@ -708,10 +708,10 @@ function exportSidecar(medium, exported) {
|
|
|
708
708
|
return SideCar;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
711
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
712
712
|
var effectCar = createSidecarMedium();
|
|
713
713
|
|
|
714
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
714
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
715
715
|
var nothing = function() {
|
|
716
716
|
return;
|
|
717
717
|
};
|
|
@@ -743,13 +743,13 @@ RemoveScroll.classNames = {
|
|
|
743
743
|
zeroRight: zeroRightClassName
|
|
744
744
|
};
|
|
745
745
|
|
|
746
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
746
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
747
747
|
import * as React12 from "react";
|
|
748
748
|
|
|
749
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.
|
|
749
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
750
750
|
import * as React11 from "react";
|
|
751
751
|
|
|
752
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.
|
|
752
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.1.1/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
753
753
|
import * as React10 from "react";
|
|
754
754
|
|
|
755
755
|
// ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
@@ -764,7 +764,7 @@ var getNonce = function() {
|
|
|
764
764
|
return void 0;
|
|
765
765
|
};
|
|
766
766
|
|
|
767
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.
|
|
767
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.1.1/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
768
768
|
function makeStyleTag() {
|
|
769
769
|
if (!document)
|
|
770
770
|
return null;
|
|
@@ -810,7 +810,7 @@ var stylesheetSingleton = function() {
|
|
|
810
810
|
};
|
|
811
811
|
};
|
|
812
812
|
|
|
813
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.
|
|
813
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.1.1/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
814
814
|
var styleHookSingleton = function() {
|
|
815
815
|
var sheet = stylesheetSingleton();
|
|
816
816
|
return function(styles, isDynamic) {
|
|
@@ -823,7 +823,7 @@ var styleHookSingleton = function() {
|
|
|
823
823
|
};
|
|
824
824
|
};
|
|
825
825
|
|
|
826
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.
|
|
826
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.1.1/node_modules/react-style-singleton/dist/es2015/component.js
|
|
827
827
|
var styleSingleton = function() {
|
|
828
828
|
var useStyle = styleHookSingleton();
|
|
829
829
|
var Sheet = function(_a) {
|
|
@@ -834,7 +834,7 @@ var styleSingleton = function() {
|
|
|
834
834
|
return Sheet;
|
|
835
835
|
};
|
|
836
836
|
|
|
837
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.
|
|
837
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
838
838
|
var zeroGap = {
|
|
839
839
|
left: 0,
|
|
840
840
|
top: 0,
|
|
@@ -869,7 +869,7 @@ var getGapWidth = function(gapMode) {
|
|
|
869
869
|
};
|
|
870
870
|
};
|
|
871
871
|
|
|
872
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.
|
|
872
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
873
873
|
var Style = styleSingleton();
|
|
874
874
|
var lockAttribute = "data-scroll-locked";
|
|
875
875
|
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
@@ -909,7 +909,7 @@ var RemoveScrollBar = function(_a) {
|
|
|
909
909
|
return React11.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
910
910
|
};
|
|
911
911
|
|
|
912
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
912
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
913
913
|
var passiveSupported = false;
|
|
914
914
|
if (typeof window !== "undefined") {
|
|
915
915
|
try {
|
|
@@ -928,7 +928,7 @@ if (typeof window !== "undefined") {
|
|
|
928
928
|
var options;
|
|
929
929
|
var nonPassive = passiveSupported ? { passive: false } : false;
|
|
930
930
|
|
|
931
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
931
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
|
|
932
932
|
var alwaysContainsScroll = function(node) {
|
|
933
933
|
return node.tagName === "TEXTAREA";
|
|
934
934
|
};
|
|
@@ -1028,7 +1028,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
|
1028
1028
|
return shouldCancelScroll;
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
1031
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
1031
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
1032
1032
|
var getTouchXY = function(event) {
|
|
1033
1033
|
return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
|
|
1034
1034
|
};
|
|
@@ -1193,10 +1193,10 @@ function getOutermostShadowParent(node) {
|
|
|
1193
1193
|
return shadowParent;
|
|
1194
1194
|
}
|
|
1195
1195
|
|
|
1196
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
1196
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
1197
1197
|
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
1198
1198
|
|
|
1199
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.
|
|
1199
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.1.1/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
1200
1200
|
var ReactRemoveScroll = React13.forwardRef(function(props, ref) {
|
|
1201
1201
|
return React13.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
|
|
1202
1202
|
});
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
useLayoutEffect2
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YN67J64M.mjs";
|
|
6
6
|
|
|
7
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.1.
|
|
7
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
function useSize(element) {
|
|
10
10
|
const [size, setSize] = React.useState(void 0);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.
|
|
4
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
5
5
|
import * as React2 from "react";
|
|
6
6
|
|
|
7
|
-
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.
|
|
7
|
+
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
function setRef(ref, value) {
|
|
10
10
|
if (typeof ref === "function") {
|
|
@@ -41,7 +41,7 @@ function useComposedRefs(...refs) {
|
|
|
41
41
|
return React.useCallback(composeRefs(...refs), refs);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.
|
|
44
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
45
45
|
import { Fragment as Fragment2, jsx } from "react/jsx-runtime";
|
|
46
46
|
// @__NO_SIDE_EFFECTS__
|
|
47
47
|
function createSlot(ownerName) {
|