@supermousejs/labs 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 +10 -0
- package/README.md +38 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @supermousejs/labs
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add minimal README.md files to packages
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @supermousejs/zoetrope@2.0.1
|
|
10
|
+
- @supermousejs/utils@2.0.1
|
|
11
|
+
- @supermousejs/core@2.0.1
|
|
12
|
+
|
|
3
13
|
## 2.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# @supermousejs/labs
|
|
3
|
+
|
|
4
|
+
Experimental and advanced plugins for Supermouse.
|
|
5
|
+
|
|
6
|
+
## Included Plugins
|
|
7
|
+
|
|
8
|
+
### SmartIcon
|
|
9
|
+
Morphs SVG icons based on semantic tags (links, inputs) or context.
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { SmartIcon } from '@supermousejs/labs';
|
|
13
|
+
app.use(SmartIcon({ icons: { default: '...', pointer: '...' } }));
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### SmartRing
|
|
17
|
+
A reactive ring that distorts with velocity and adapts to stuck elements.
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import { SmartRing } from '@supermousejs/labs';
|
|
21
|
+
app.use(SmartRing({ enableSkew: true }));
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Sparkles
|
|
25
|
+
Emits particle trails based on movement velocity.
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { Sparkles } from '@supermousejs/labs';
|
|
29
|
+
app.use(Sparkles({ color: 'gold' }));
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### TextRing
|
|
33
|
+
Rotates text around the cursor position.
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { TextRing } from '@supermousejs/labs';
|
|
37
|
+
app.use(TextRing({ text: 'LOADING • ' }));
|
|
38
|
+
```
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supermousejs/labs",
|
|
3
|
-
"version": "2.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/zoetrope": "2.0.
|
|
9
|
-
"@supermousejs/
|
|
10
|
-
"@supermousejs/
|
|
8
|
+
"@supermousejs/zoetrope": "2.0.1",
|
|
9
|
+
"@supermousejs/utils": "2.0.1",
|
|
10
|
+
"@supermousejs/core": "2.0.1"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@supermousejs/core": "2.0.
|
|
13
|
+
"@supermousejs/core": "2.0.1"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@supermousejs/core": "2.0.
|
|
16
|
+
"@supermousejs/core": "2.0.1"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|