unframer 2.5.0 → 2.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.
- package/dist/framer.d.ts.map +1 -1
- package/dist/framer.js +2306 -1885
- package/dist/framer.js.map +1 -1
- package/dist/react.d.ts +1 -11
- package/dist/react.d.ts.map +1 -1
- package/esm/framer.d.ts.map +1 -1
- package/esm/framer.js +2460 -2040
- package/esm/framer.js.map +1 -1
- package/esm/react.d.ts +1 -11
- package/esm/react.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/framer.js +2813 -2275
package/esm/react.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
1
|
import { defaultBreakpointSizes } from './css.js';
|
|
3
2
|
export type UnframerBreakpoint = keyof typeof defaultBreakpointSizes;
|
|
4
3
|
/**
|
|
@@ -7,14 +6,5 @@ export type UnframerBreakpoint = keyof typeof defaultBreakpointSizes;
|
|
|
7
6
|
export declare function FramerStyles({ Components }: {
|
|
8
7
|
Components?: any[] | undefined;
|
|
9
8
|
}): any;
|
|
10
|
-
export declare const WithFramerBreakpoints:
|
|
11
|
-
Component: ComponentType<{
|
|
12
|
-
variant?: any;
|
|
13
|
-
className?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
variants: Record<"2xl" | "base" | "sm" | "md" | "lg" | "xl", any>;
|
|
16
|
-
} & Omit<{
|
|
17
|
-
variant?: any;
|
|
18
|
-
className?: string | undefined;
|
|
19
|
-
}, "variant"> & import("react").RefAttributes<unknown>>;
|
|
9
|
+
export declare const WithFramerBreakpoints: any;
|
|
20
10
|
//# sourceMappingURL=react.d.ts.map
|
package/esm/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEH,sBAAsB,EAEzB,MAAM,UAAU,CAAA;AAWjB,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,sBAAsB,CAAA;AA8BpE;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,UAAwB,EAAE;;CAAA,GAAG,GAAG,CAmD9D;AAED,eAAO,MAAM,qBAAqB,KA4EhC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unframer",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Import Framer components directly in your React app, type safe and customizable",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"repository": "https://github.com/remorses/unframer",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"author": "Tommaso De Rossi, morse <beats.by.morse@gmail.com>",
|
|
27
27
|
"license": "",
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@types/react": "*",
|
|
30
29
|
"react": "*",
|
|
31
30
|
"react-dom": "*"
|
|
32
31
|
},
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
"chokidar": "^3.5.3",
|
|
37
36
|
"dedent": "^1.5.1",
|
|
38
37
|
"dprint-node": "^1.0.8",
|
|
39
|
-
"esbuild": "^0.
|
|
38
|
+
"esbuild": "^0.21.4",
|
|
40
39
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
|
41
40
|
"eventemitter3": "^3.1.0",
|
|
42
41
|
"find-up": "^5.0.0",
|
|
@@ -60,15 +59,16 @@
|
|
|
60
59
|
"@types/fs-extra": "^11.0.1",
|
|
61
60
|
"@types/node": "^20.5.7",
|
|
62
61
|
"@xmorse/deployment-utils": "^0.1.0",
|
|
62
|
+
"concurrently": "^8.2.2",
|
|
63
63
|
"openai": "^4.40.2",
|
|
64
64
|
"posthtml": "^0.16.6",
|
|
65
|
-
"react": "
|
|
66
|
-
"react-dom": "
|
|
65
|
+
"react": "18.3.1",
|
|
66
|
+
"react-dom": "18.3.1",
|
|
67
67
|
"tiktoken": "^1.0.14"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "rm -rf dist && tsc -m esnext --outDir esm && tsc && cp ../README.md ./README.md && cp ./src/framer.d.ts ./dist/framer.d.ts && cp ./src/framer.d.ts ./esm/framer.d.ts",
|
|
71
71
|
"download-framer": "tsx scripts/download.ts",
|
|
72
|
-
"watch": "rm -rf dist && tsc -w"
|
|
72
|
+
"watch": "rm -rf dist esm && concurrently 'tsc -w' 'tsc -m esnext -w --outDir esm'"
|
|
73
73
|
}
|
|
74
74
|
}
|