@devtools-ui/plugin 0.4.0 → 0.4.1-next.0
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 +54 -0
- package/package.json +26 -26
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# @devtools-ui/plugin
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
`@devtools-ui/plugin` is a [Player-UI](https://player-ui.github.io/next/plugins) assets plugin.
|
|
6
|
+
|
|
7
|
+
It register the following assets to your React Player instance:
|
|
8
|
+
|
|
9
|
+
- action
|
|
10
|
+
- collection
|
|
11
|
+
- input
|
|
12
|
+
- list
|
|
13
|
+
- navigation
|
|
14
|
+
- object-inspector
|
|
15
|
+
- text
|
|
16
|
+
- stacked-view
|
|
17
|
+
- table
|
|
18
|
+
- console
|
|
19
|
+
- copy-to-clipboard
|
|
20
|
+
- code-editor
|
|
21
|
+
- radio-group
|
|
22
|
+
- toggle
|
|
23
|
+
- flame-graph
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
To install `@devtools-ui/plugin`, you can use pnpm or yarn:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pnpm i @devtools-ui/plugin
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
or
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
yarn add @devtools-ui/plugin
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
You can leverage this plugin through the `@devtools-ui/plugin`:
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
import { ReactPlayer } from "@player-ui/react";
|
|
45
|
+
import DevtoolsUIPlugin from "@devtools-ui/plugin";
|
|
46
|
+
|
|
47
|
+
const reactPlayer = new ReactPlayer({
|
|
48
|
+
plugins: [new DevtoolsUIPlugin()],
|
|
49
|
+
});
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
|
|
54
|
+
We welcome contributions to `@devtools-ui/plugin`!
|
package/package.json
CHANGED
|
@@ -1,27 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@devtools-ui/plugin",
|
|
3
|
-
"version": "0.4.0",
|
|
4
2
|
"sideEffects": false,
|
|
3
|
+
"files": [
|
|
4
|
+
"dist",
|
|
5
|
+
"src",
|
|
6
|
+
"types"
|
|
7
|
+
],
|
|
8
|
+
"name": "@devtools-ui/plugin",
|
|
9
|
+
"version": "0.4.1-next.0",
|
|
5
10
|
"main": "dist/cjs/index.cjs",
|
|
6
11
|
"dependencies": {
|
|
7
|
-
"@devtools-ui/action": "0.4.0",
|
|
8
|
-
"@devtools-ui/console": "0.4.0",
|
|
9
|
-
"@devtools-ui/collection": "0.4.0",
|
|
10
|
-
"@devtools-ui/input": "0.4.0",
|
|
11
|
-
"@devtools-ui/list": "0.4.0",
|
|
12
|
-
"@devtools-ui/navigation": "0.4.0",
|
|
13
|
-
"@devtools-ui/object-inspector": "0.4.0",
|
|
14
|
-
"@devtools-ui/text": "0.4.0",
|
|
15
|
-
"@devtools-ui/stacked-view": "0.4.0",
|
|
16
|
-
"@devtools-ui/table": "0.4.0",
|
|
17
|
-
"@devtools-ui/copy-to-clipboard": "0.4.0",
|
|
18
|
-
"@devtools-ui/code-editor": "0.4.0",
|
|
19
|
-
"@devtools-ui/toggle": "0.4.0",
|
|
20
|
-
"@devtools-ui/radio-group": "0.4.0",
|
|
21
|
-
"@devtools-ui/flame-graph": "0.4.0",
|
|
12
|
+
"@devtools-ui/action": "0.4.1-next.0",
|
|
13
|
+
"@devtools-ui/console": "0.4.1-next.0",
|
|
14
|
+
"@devtools-ui/collection": "0.4.1-next.0",
|
|
15
|
+
"@devtools-ui/input": "0.4.1-next.0",
|
|
16
|
+
"@devtools-ui/list": "0.4.1-next.0",
|
|
17
|
+
"@devtools-ui/navigation": "0.4.1-next.0",
|
|
18
|
+
"@devtools-ui/object-inspector": "0.4.1-next.0",
|
|
19
|
+
"@devtools-ui/text": "0.4.1-next.0",
|
|
20
|
+
"@devtools-ui/stacked-view": "0.4.1-next.0",
|
|
21
|
+
"@devtools-ui/table": "0.4.1-next.0",
|
|
22
|
+
"@devtools-ui/copy-to-clipboard": "0.4.1-next.0",
|
|
23
|
+
"@devtools-ui/code-editor": "0.4.1-next.0",
|
|
24
|
+
"@devtools-ui/toggle": "0.4.1-next.0",
|
|
25
|
+
"@devtools-ui/radio-group": "0.4.1-next.0",
|
|
26
|
+
"@devtools-ui/flame-graph": "0.4.1-next.0",
|
|
22
27
|
"@chakra-ui/react": "^2.8.2",
|
|
23
|
-
"@player-ui/asset-provider-plugin-react": "0.
|
|
24
|
-
"@player-ui/asset-transform-plugin": "0.
|
|
28
|
+
"@player-ui/asset-provider-plugin-react": "0.15.5",
|
|
29
|
+
"@player-ui/asset-transform-plugin": "0.15.5",
|
|
25
30
|
"@types/react": "^18.2.51",
|
|
26
31
|
"react": "^18.2.0",
|
|
27
32
|
"tslib": "^2.6.2"
|
|
@@ -37,13 +42,8 @@
|
|
|
37
42
|
"default": "./dist/cjs/index.cjs"
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
|
-
"files": [
|
|
41
|
-
"dist",
|
|
42
|
-
"src",
|
|
43
|
-
"types"
|
|
44
|
-
],
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@player-ui/player": "0.
|
|
47
|
-
"@player-ui/react": "0.
|
|
46
|
+
"@player-ui/player": "0.15.5",
|
|
47
|
+
"@player-ui/react": "0.15.5"
|
|
48
48
|
}
|
|
49
49
|
}
|