autumn-js 0.1.41-beta.0 → 0.1.41
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/react/{chunk-Q7N6ARDI.mjs → chunk-2CIFBRPG.mjs} +1 -1
- package/dist/libraries/react/{chunk-Z5BMY5OQ.mjs → chunk-3HGWHP3P.mjs} +17 -17
- package/dist/libraries/react/{chunk-BFQ772QL.mjs → chunk-5AWCXHI3.mjs} +448 -450
- package/dist/libraries/react/{chunk-SFI5BHCB.mjs → chunk-AHFPBGNV.mjs} +6 -6
- package/dist/libraries/react/{chunk-2LS46JI3.mjs → chunk-BVLKOMJA.mjs} +6 -6
- package/dist/libraries/react/{chunk-5RG2M33M.mjs → chunk-OCLWLKH7.mjs} +2 -2
- package/dist/libraries/react/{chunk-5SVQ3PPG.mjs → chunk-OGDFDSBE.mjs} +2 -2
- package/dist/libraries/react/{chunk-KAQC7WDQ.mjs → chunk-RZVWBOKP.mjs} +1 -1
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +14 -14
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +14 -14
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +14 -14
- package/dist/libraries/react/components/ui/accordion.mjs +3 -3
- package/dist/libraries/react/components/ui/dialog.mjs +4 -4
- package/dist/libraries/react/components/ui/popover.mjs +5 -5
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/package.json +1 -1
- package/tsup.config.ts +186 -193
- package/dist/libraries/react/{chunk-7NRUXGKJ.mjs → chunk-YJ66CCNM.mjs} +11 -11
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
useLayoutEffect2
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YJ66CCNM.mjs";
|
|
6
6
|
|
|
7
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";
|
|
@@ -2,28 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
useLayoutEffect2
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YJ66CCNM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
useComposedRefs
|
|
8
8
|
} from "./chunk-DXHYWJOY.mjs";
|
|
9
9
|
|
|
10
|
-
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
11
|
-
import * as React from "react";
|
|
12
|
-
var useReactId = React[" useId ".trim().toString()] || (() => void 0);
|
|
13
|
-
var count = 0;
|
|
14
|
-
function useId(deterministicId) {
|
|
15
|
-
const [id, setId] = React.useState(useReactId());
|
|
16
|
-
useLayoutEffect2(() => {
|
|
17
|
-
if (!deterministicId) setId((reactId) => reactId ?? String(count++));
|
|
18
|
-
}, [deterministicId]);
|
|
19
|
-
return deterministicId || (id ? `radix-${id}` : "");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
10
|
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.9_@types+react@19.1.10__@types+rea_7d38616061dbf89127c9b19685065376/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
23
11
|
import * as React2 from "react";
|
|
24
|
-
import * as
|
|
12
|
+
import * as React from "react";
|
|
25
13
|
function useStateMachine(initialState, machine) {
|
|
26
|
-
return
|
|
14
|
+
return React.useReducer((state, event) => {
|
|
27
15
|
const nextState = machine[state][event];
|
|
28
16
|
return nextState ?? state;
|
|
29
17
|
}, initialState);
|
|
@@ -145,7 +133,19 @@ function getElementRef(element) {
|
|
|
145
133
|
return element.props.ref || element.ref;
|
|
146
134
|
}
|
|
147
135
|
|
|
136
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
137
|
+
import * as React3 from "react";
|
|
138
|
+
var useReactId = React3[" useId ".trim().toString()] || (() => void 0);
|
|
139
|
+
var count = 0;
|
|
140
|
+
function useId(deterministicId) {
|
|
141
|
+
const [id, setId] = React3.useState(useReactId());
|
|
142
|
+
useLayoutEffect2(() => {
|
|
143
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count++));
|
|
144
|
+
}, [deterministicId]);
|
|
145
|
+
return deterministicId || (id ? `radix-${id}` : "");
|
|
146
|
+
}
|
|
147
|
+
|
|
148
148
|
export {
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
Presence,
|
|
150
|
+
useId
|
|
151
151
|
};
|