unframer 2.25.1 → 2.25.2

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/esm/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "2.25.1";
1
+ export declare const version = "2.25.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '2.25.1';
1
+ export const version = '2.25.2';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unframer",
3
- "version": "2.25.1",
3
+ "version": "2.25.2",
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",
@@ -57,7 +57,7 @@
57
57
  "nanospinner": "^1.2.2",
58
58
  "picocolors": "^1.1.1",
59
59
  "real-framer-motion": "npm:framer-motion@12.0.6",
60
- "spiceflow": "^1.6.1",
60
+ "spiceflow": "^1.9.1",
61
61
  "string-dedent": "^3.0.1",
62
62
  "undici": "^7.8.0"
63
63
  },
package/src/exporter.ts CHANGED
@@ -1287,12 +1287,6 @@ function findExampleProperty(propertyControls?: PropertyControls) {
1287
1287
  // these styles are global styles injected by Framer in the generated websites, without them things like icons can look weird
1288
1288
  const resetCssStyles = `
1289
1289
 
1290
- html, body, #main {
1291
- margin: 0;
1292
- padding: 0;
1293
- box-sizing: border-box;
1294
- }
1295
-
1296
1290
  :root {
1297
1291
  -webkit-font-smoothing: antialiased;
1298
1292
  -moz-osx-font-smoothing: grayscale;
@@ -1303,11 +1297,11 @@ html, body, #main {
1303
1297
  -webkit-font-smoothing: inherit;
1304
1298
  }
1305
1299
 
1306
- h1, h2, h3, h4, h5, h6, p, figure {
1300
+ .unframer h1, .unframer h2, .unframer h3, .unframer h4, .unframer h5, .unframer h6, .unframer p, .unframer figure {
1307
1301
  margin: 0;
1308
1302
  }
1309
1303
 
1310
- body, input, textarea, select, button {
1304
+ .unframer body, .unframer input, .unframer textarea, .unframer select, .unframer button {
1311
1305
  font-size: 12px;
1312
1306
  font-family: sans-serif;
1313
1307
  }