@supermousejs/icon 2.0.0 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @supermousejs/icon
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add minimal README.md files to packages
8
+ - Updated dependencies
9
+ - @supermousejs/utils@2.0.1
10
+ - @supermousejs/core@2.0.1
11
+
3
12
  ## 2.0.0
4
13
 
5
14
  ### Major Changes
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+
2
+ # @supermousejs/icon
3
+
4
+ Renders a static SVG icon at the cursor position. Useful for custom pointers.
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ pnpm add @supermousejs/icon
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ ```ts
15
+ import { Supermouse } from '@supermousejs/core';
16
+ import { Icon } from '@supermousejs/icon';
17
+
18
+ const app = new Supermouse();
19
+
20
+ app.use(Icon({
21
+ svg: '<svg>...</svg>', // Your SVG string
22
+ size: 24,
23
+ color: 'black'
24
+ }));
25
+ ```
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@supermousejs/icon",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
7
7
  "dependencies": {
8
- "@supermousejs/core": "2.0.0",
9
- "@supermousejs/utils": "2.0.0"
8
+ "@supermousejs/core": "2.0.1",
9
+ "@supermousejs/utils": "2.0.1"
10
10
  },
11
11
  "devDependencies": {},
12
12
  "peerDependencies": {},