framercode 0.1.0

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 (31) hide show
  1. package/dist/breakpoints.d.ts +17 -0
  2. package/dist/breakpoints.js +28 -0
  3. package/dist/framer-chunks/SqliteDatabase-VAKIICSG-OPV4MG3Y.js +98 -0
  4. package/dist/framer-chunks/chunk-7ZLQTYXQ.js +102 -0
  5. package/dist/framer-chunks/chunk-IKQSD2QC.js +10 -0
  6. package/dist/framer-chunks/default-blog-sqlite-7ZHEY3GT-TVGUYU6H.js +7 -0
  7. package/dist/framer-chunks/fontshare-4THNDPMZ-FLLTWCDO.js +7 -0
  8. package/dist/framer-chunks/fontshare-B2QLD7YB-5V3XZJAH.js +7 -0
  9. package/dist/framer-chunks/fontshare-O22OBJ3D-FIG3CRN3.js +7 -0
  10. package/dist/framer-chunks/fontshare-PZLWRK4B-MHMZIGTX.js +7 -0
  11. package/dist/framer-chunks/fontshare-SXU5BGFE-OWTMMPGS.js +7 -0
  12. package/dist/framer-chunks/fontshare-TIA7QUPT-PUDLUTQ7.js +7 -0
  13. package/dist/framer-chunks/framer-font-45AI7UCZ-CKGC4MJC.js +7 -0
  14. package/dist/framer-chunks/framer-font-RD2SUPQH-Q4MS7WS6.js +7 -0
  15. package/dist/framer-chunks/google-3FCAKCAC-AM34UPJK.js +7 -0
  16. package/dist/framer-chunks/google-3SZHWBC6-2VTQEQ7J.js +7 -0
  17. package/dist/framer-chunks/google-EGNT223R-P4DUHBW2.js +7 -0
  18. package/dist/framer-chunks/google-GXDJLGJB-JNEJGCGD.js +7 -0
  19. package/dist/framer-chunks/google-H6SFY4F5-5JSJCGDR.js +7 -0
  20. package/dist/framer-chunks/google-YSYBFRE6-L7YAHH7V.js +7 -0
  21. package/dist/framer-chunks/sqlite-wasm-FGP37EAY-NO5QVZDI.js +7 -0
  22. package/dist/framer-chunks/sqlite3-SISQ6ENZ-5WRKGWTY.js +7 -0
  23. package/dist/framer.d.ts +4990 -0
  24. package/dist/framer.js +63235 -0
  25. package/dist/index.d.ts +5 -0
  26. package/dist/index.js +5 -0
  27. package/dist/react.d.ts +44 -0
  28. package/dist/react.js +79 -0
  29. package/dist/styles/framer.css +920 -0
  30. package/dist/styles/reset.css +37 -0
  31. package/package.json +38 -0
@@ -0,0 +1,37 @@
1
+ :root {
2
+ -webkit-font-smoothing: antialiased;
3
+ -moz-osx-font-smoothing: grayscale;
4
+ }
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ -webkit-font-smoothing: inherit;
9
+ }
10
+
11
+ :where(
12
+ .framercode h1,
13
+ .framercode h2,
14
+ .framercode h3,
15
+ .framercode h4,
16
+ .framercode h5,
17
+ .framercode h6,
18
+ .framercode p,
19
+ .framercode figure
20
+ ) {
21
+ margin: 0;
22
+ }
23
+
24
+ :where(.framercode) {
25
+ line-height: normal;
26
+ }
27
+
28
+ :where(
29
+ .framercode,
30
+ .framercode input,
31
+ .framercode textarea,
32
+ .framercode select,
33
+ .framercode button
34
+ ) {
35
+ font-size: 12px;
36
+ font-family: sans-serif;
37
+ }
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "framercode",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Run Framer components exported by Framer Code in your own React app. Minimal runtime, no lock-in.",
6
+ "sideEffects": false,
7
+ "license": "MIT",
8
+ "main": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./styles/*": {
16
+ "default": "./dist/styles/*"
17
+ },
18
+ "./package.json": "./package.json"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json && node scripts/postbuild.mjs",
25
+ "check-types": "tsc -p tsconfig.json --noEmit"
26
+ },
27
+ "peerDependencies": {
28
+ "react": "^18 || ^19",
29
+ "react-dom": "^18 || ^19"
30
+ },
31
+ "devDependencies": {
32
+ "@types/react": "^18",
33
+ "@types/react-dom": "^18",
34
+ "react": "^18",
35
+ "react-dom": "^18",
36
+ "typescript": "^5.9"
37
+ }
38
+ }