@superfeedback/widget 0.0.5 → 0.0.7

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/README.md CHANGED
@@ -65,6 +65,7 @@ Ideal for React, Vue, Angular, Svelte, or standard bundlers (Vite, Webpack).
65
65
 
66
66
  ```javascript
67
67
  import { Superfeedback } from "@superfeedback/widget";
68
+ import "@superfeedback/widget/style.css";
68
69
 
69
70
  // Initialize with your public API Key
70
71
  Superfeedback.init("YOUR_API_KEY_HERE");
@@ -75,6 +76,9 @@ Superfeedback.init("YOUR_API_KEY_HERE");
75
76
  If you are not using a build step, you can load the widget directly from `unpkg`.
76
77
 
77
78
  ```html
79
+ <head>
80
+ <link rel="stylesheet" href="https://unpkg.com/@superfeedback/widget/style.css">
81
+ </head>
78
82
  <script src="https://unpkg.com/@superfeedback/widget"></script>
79
83
 
80
84
  <script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superfeedback/widget",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "private": false,
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "script": "./dist/index.iife.js"
21
21
  },
22
- "./style.css": "./dist/index.css",
22
+ "./style.css": "./dist/style.css",
23
23
  "./package.json": "./package.json"
24
24
  },
25
25
  "publishConfig": {
File without changes