picked 0.0.1-dev.1793772853474 → 0.0.1-dev.1793776638554
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.
|
@@ -50,17 +50,18 @@ shows a warning in place of the tool.
|
|
|
50
50
|
|
|
51
51
|
## 3. Choose where the tool shows
|
|
52
52
|
|
|
53
|
-
By default, the tool is
|
|
54
|
-
`placement`.
|
|
53
|
+
By default, the tool is an entry of its own under **Custom Tools** in the sidebar. To show it in a
|
|
54
|
+
different place, set `placement`.
|
|
55
55
|
|
|
56
56
|
| `placement` | Where the tool shows |
|
|
57
57
|
| --- | --- |
|
|
58
|
-
| Not set |
|
|
58
|
+
| Not set | An entry under **Custom Tools**. |
|
|
59
59
|
| `'review'` | A tab of its own in the main list, below the review tabs. |
|
|
60
|
+
| `'personas'` | A section of **Personas & Scenarios**, below the personas. The label of the tool is the heading of the section. |
|
|
60
61
|
| `'footer'` | An icon at the bottom of the menu, next to **Auto-hide button**. The label shows when the pointer is on the icon. |
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
Add a `description` to show a short text above the tool. Add a `guide` to add a section with the
|
|
64
|
+
label of the tool to **How to use**.
|
|
64
65
|
|
|
65
66
|
```typescript
|
|
66
67
|
{
|
|
@@ -49,8 +49,8 @@ const picked = createClient({
|
|
|
49
49
|
})
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
use `getPicked()`. To show a tool in a different place, see
|
|
52
|
+
Each tool is an entry under **Custom Tools** in the sidebar. In React use `usePicked()`, and in
|
|
53
|
+
Svelte use `getPicked()`. To show a tool in a different place, see
|
|
54
54
|
[How to add a tool to the devtools](/how-to/add-a-tool-to-the-devtools).
|
|
55
55
|
|
|
56
56
|
## Related
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picked",
|
|
3
3
|
"description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.1793776638554",
|
|
5
5
|
"bin": {
|
|
6
6
|
"picked": "dist/esm/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@picked/cli": "0.0.1-dev.
|
|
10
|
-
"@picked/config": "0.0.1-dev.
|
|
9
|
+
"@picked/cli": "0.0.1-dev.1793776638554",
|
|
10
|
+
"@picked/config": "0.0.1-dev.1793776638554"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"main": "./dist/cjs/index.js",
|
|
65
65
|
"module": "./dist/esm/index.js",
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@picked/client": "0.0.1-dev.
|
|
67
|
+
"@picked/client": "0.0.1-dev.1793776638554"
|
|
68
68
|
},
|
|
69
69
|
"private": false,
|
|
70
70
|
"publishConfig": {
|