@yewdiel21/motion-kit 0.18.0 → 0.19.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/README.md +245 -222
- package/bin/motion-kit.mjs +0 -0
- package/dist/auto/index.d.ts +4 -3
- package/dist/auto/index.js +5 -3
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-QFBOHPWZ.js → chunk-CQP66AZK.js} +2 -2
- package/dist/{chunk-QP4QJOEN.js → chunk-H4STLMCM.js} +2 -2
- package/dist/{chunk-AWDEKDEJ.js → chunk-LIXSOGS2.js} +8 -22
- package/dist/chunk-LIXSOGS2.js.map +1 -0
- package/dist/{chunk-Q7IW4FV3.js → chunk-NCGNIPJE.js} +1430 -968
- package/dist/chunk-NCGNIPJE.js.map +1 -0
- package/dist/{chunk-DOOMULVV.js → chunk-OLT3CWDJ.js} +4 -2
- package/dist/chunk-OLT3CWDJ.js.map +1 -0
- package/dist/{chunk-EDMXWUW3.js → chunk-PVN7YVKV.js} +3 -3
- package/dist/css/components/code-block.css +267 -0
- package/dist/css/components/command-search.css +274 -2
- package/dist/css/components/dialog.css +264 -0
- package/dist/css/components/heatmap-chart.css +267 -1
- package/dist/css/components/pill-button.css +7 -5
- package/dist/css/components/scroll-area.css +261 -0
- package/dist/css/components/scroll-island.css +6 -0
- package/dist/css/components/select.css +284 -4
- package/dist/elements/index.d.ts +15 -4
- package/dist/elements/index.js +36 -6
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-t8d7brjn.d.ts → engine-D6XV-WNt.d.ts} +50 -1
- package/dist/gl/index.js +2 -2
- package/dist/index.css +321 -12
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +20 -7
- package/dist/react/index.js +56 -7
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-dPsZYqtI.d.ts → reduced-4croIXl-.d.ts} +1 -1
- package/dist/{store-6hZNKiee.d.ts → store-CAHWkurn.d.ts} +1 -1
- package/package.json +117 -110
- package/registry.json +1357 -1340
- package/src/auto/auto-init.ts +341 -339
- package/src/components/code-block/README.md +1 -1
- package/src/components/code-block/code-block.css +5 -0
- package/src/components/code-block/engine.ts +5 -0
- package/src/components/command-search/README.md +1 -1
- package/src/components/command-search/command-search.css +12 -2
- package/src/components/command-search/engine.ts +6 -0
- package/src/components/dialog/README.md +104 -103
- package/src/components/dialog/dialog.css +2 -0
- package/src/components/dialog/engine.ts +465 -449
- package/src/components/heatmap-chart/README.md +48 -48
- package/src/components/heatmap-chart/engine.ts +6 -1
- package/src/components/heatmap-chart/heatmap-chart.css +5 -1
- package/src/components/icons.ts +1 -0
- package/src/components/pill-button/engine.ts +1 -1
- package/src/components/pill-button/pill-button.css +7 -5
- package/src/components/scroll-area/README.md +89 -0
- package/src/components/scroll-area/element.ts +35 -0
- package/src/components/scroll-area/engine.ts +528 -0
- package/src/components/scroll-area/react.tsx +67 -0
- package/src/components/scroll-area/scroll-area.css +260 -0
- package/src/components/scroll-island/engine.ts +10 -1
- package/src/components/scroll-island/scroll-island.css +6 -0
- package/src/components/select/README.md +1 -1
- package/src/components/select/engine.ts +16 -4
- package/src/components/select/select.css +22 -4
- package/src/core/timing.ts +2 -0
- package/src/elements/index.ts +321 -318
- package/src/index.ts +1 -0
- package/src/motion/morph.ts +5 -2
- package/src/react/index.ts +2 -1
- package/dist/chunk-AWDEKDEJ.js.map +0 -1
- package/dist/chunk-DOOMULVV.js.map +0 -1
- package/dist/chunk-Q7IW4FV3.js.map +0 -1
- /package/dist/{chunk-QFBOHPWZ.js.map → chunk-CQP66AZK.js.map} +0 -0
- /package/dist/{chunk-QP4QJOEN.js.map → chunk-H4STLMCM.js.map} +0 -0
- /package/dist/{chunk-EDMXWUW3.js.map → chunk-PVN7YVKV.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cu as MenuOptions, ct as MenuInstance, bC as DialogOptions, bA as DialogInstance, dg as RevealSpeed } from './engine-D6XV-WNt.js';
|
|
2
2
|
import { I as Instance } from './types-BkS_raL8.js';
|
|
3
3
|
import { SplitText } from 'gsap/SplitText';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as Instance } from './types-BkS_raL8.js';
|
|
2
2
|
import { Flip } from 'gsap/Flip';
|
|
3
|
-
import {
|
|
3
|
+
import { ao as RevealHandle, ap as DateInput } from './engine-D6XV-WNt.js';
|
|
4
4
|
|
|
5
5
|
interface ThemePickerOptions {
|
|
6
6
|
/** Theme ids to show, in order. Default: visible presets, or all with showHidden. */
|
package/package.json
CHANGED
|
@@ -1,110 +1,117 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@yewdiel21/motion-kit",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Motion toolkit for vanilla, Astro and React: GSAP recipes, accessible components, 19 themes, CSS controls and optional WebGL effects.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"homepage": "https://motion-kit-playground.vercel.app",
|
|
8
|
-
"bugs": {
|
|
9
|
-
"url": "https://github.com/YewdielMartinez/motion-kit/issues"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
],
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"types": "./dist/
|
|
31
|
-
"import": "./dist/
|
|
32
|
-
},
|
|
33
|
-
"./
|
|
34
|
-
"types": "./dist/
|
|
35
|
-
"import": "./dist/
|
|
36
|
-
},
|
|
37
|
-
"./
|
|
38
|
-
"types": "./dist/
|
|
39
|
-
"import": "./dist/
|
|
40
|
-
},
|
|
41
|
-
"./
|
|
42
|
-
"types": "./dist/
|
|
43
|
-
"import": "./dist/
|
|
44
|
-
},
|
|
45
|
-
"./
|
|
46
|
-
"types": "./dist/
|
|
47
|
-
"import": "./dist/
|
|
48
|
-
},
|
|
49
|
-
"./
|
|
50
|
-
"types": "./
|
|
51
|
-
"
|
|
52
|
-
},
|
|
53
|
-
"./
|
|
54
|
-
"types": "./
|
|
55
|
-
"
|
|
56
|
-
},
|
|
57
|
-
"./
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"registry.json"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"@
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@types/
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@yewdiel21/motion-kit",
|
|
3
|
+
"version": "0.19.1",
|
|
4
|
+
"description": "Motion toolkit for vanilla, Astro and React: GSAP recipes, accessible components, 19 themes, CSS controls and optional WebGL effects.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"homepage": "https://motion-kit-playground.vercel.app",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/YewdielMartinez/motion-kit/issues"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"animation",
|
|
13
|
+
"gsap",
|
|
14
|
+
"react",
|
|
15
|
+
"astro",
|
|
16
|
+
"webgl",
|
|
17
|
+
"motion",
|
|
18
|
+
"ui"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/YewdielMartinez/motion-kit.git",
|
|
23
|
+
"directory": "packages/motion-kit"
|
|
24
|
+
},
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"**/*.css"
|
|
27
|
+
],
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./react": {
|
|
34
|
+
"types": "./dist/react/index.d.ts",
|
|
35
|
+
"import": "./dist/react/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./auto": {
|
|
38
|
+
"types": "./dist/auto/index.d.ts",
|
|
39
|
+
"import": "./dist/auto/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./elements": {
|
|
42
|
+
"types": "./dist/elements/index.d.ts",
|
|
43
|
+
"import": "./dist/elements/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./theme": {
|
|
46
|
+
"types": "./dist/theme/index.d.ts",
|
|
47
|
+
"import": "./dist/theme/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./theme/generate": {
|
|
50
|
+
"types": "./dist/theme/generate.d.ts",
|
|
51
|
+
"import": "./dist/theme/generate.js"
|
|
52
|
+
},
|
|
53
|
+
"./gl": {
|
|
54
|
+
"types": "./dist/gl/index.d.ts",
|
|
55
|
+
"import": "./dist/gl/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./css": {
|
|
58
|
+
"types": "./css.d.ts",
|
|
59
|
+
"default": "./dist/index.css"
|
|
60
|
+
},
|
|
61
|
+
"./css/*": {
|
|
62
|
+
"types": "./css.d.ts",
|
|
63
|
+
"default": "./dist/css/*.css"
|
|
64
|
+
},
|
|
65
|
+
"./package.json": "./package.json",
|
|
66
|
+
"./registry.json": "./registry.json"
|
|
67
|
+
},
|
|
68
|
+
"bin": {
|
|
69
|
+
"motion-kit": "bin/motion-kit.mjs"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"dist",
|
|
73
|
+
"src",
|
|
74
|
+
"registry.json",
|
|
75
|
+
"bin",
|
|
76
|
+
"skills",
|
|
77
|
+
"NOTICE",
|
|
78
|
+
"css.d.ts"
|
|
79
|
+
],
|
|
80
|
+
"peerDependencies": {
|
|
81
|
+
"gsap": ">=3.13.0",
|
|
82
|
+
"react": ">=18",
|
|
83
|
+
"@material/material-color-utilities": "^0.3.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"react": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@material/material-color-utilities": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"publishConfig": {
|
|
94
|
+
"registry": "https://registry.npmjs.org/",
|
|
95
|
+
"access": "public"
|
|
96
|
+
},
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@material/material-color-utilities": "^0.3.0",
|
|
99
|
+
"@testing-library/dom": "^10.4.2",
|
|
100
|
+
"@testing-library/react": "^16.3.3",
|
|
101
|
+
"@types/node": "^24.19.2",
|
|
102
|
+
"@types/react": "19.2.14",
|
|
103
|
+
"@types/react-dom": "19.2.3",
|
|
104
|
+
"gsap": "3.14.2",
|
|
105
|
+
"jsdom": "^30.1.3",
|
|
106
|
+
"react": "19.2.4",
|
|
107
|
+
"react-dom": "19.2.4",
|
|
108
|
+
"tsup": "^8.5.1",
|
|
109
|
+
"typescript": "5.9.3",
|
|
110
|
+
"vitest": "4.1.11"
|
|
111
|
+
},
|
|
112
|
+
"scripts": {
|
|
113
|
+
"build": "tsup && node scripts/build-css.mjs",
|
|
114
|
+
"test": "vitest run",
|
|
115
|
+
"typecheck": "tsc --noEmit"
|
|
116
|
+
}
|
|
117
|
+
}
|