@jigs.design/catalog 0.1.1 → 0.2.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 +7 -7
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -13,18 +13,18 @@ export const host = defineHost({ components: catalog, procedures });
|
|
|
13
13
|
```tsx
|
|
14
14
|
// in the browser
|
|
15
15
|
import { components } from "@jigs.design/catalog/react";
|
|
16
|
-
<
|
|
16
|
+
<JigsView client={client} components={components} program={program} />;
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Import `@jigs.design/catalog/styles.css` once, in your root layout.
|
|
20
20
|
|
|
21
21
|
## Entry points
|
|
22
22
|
|
|
23
|
-
| Entry | Runs in | What it holds
|
|
24
|
-
| --------------------------------- | ------- |
|
|
25
|
-
| `@jigs.design/catalog` | Server | `catalog` and the `DefaultCatalog` type
|
|
26
|
-
| `@jigs.design/catalog/react` | Browser | `components`, the registry for `
|
|
27
|
-
| `@jigs.design/catalog/styles.css` | Browser | The registry's styles
|
|
23
|
+
| Entry | Runs in | What it holds |
|
|
24
|
+
| --------------------------------- | ------- | ----------------------------------------- |
|
|
25
|
+
| `@jigs.design/catalog` | Server | `catalog` and the `DefaultCatalog` type |
|
|
26
|
+
| `@jigs.design/catalog/react` | Browser | `components`, the registry for `JigsView` |
|
|
27
|
+
| `@jigs.design/catalog/styles.css` | Browser | The registry's styles |
|
|
28
28
|
|
|
29
29
|
## Components
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ Import `@jigs.design/catalog/styles.css` once, in your root layout.
|
|
|
34
34
|
- Data: `table`, and on Recharts `chart`, `pieChart`, `scatterChart`, `radarChart` and `sparkline`, and `progress`.
|
|
35
35
|
- Media: `image`, `icon` (Lucide).
|
|
36
36
|
|
|
37
|
-
The catalog is at version 3, since `icon` took `color="info"` (version 2 brought the charts and `progress`). A spec's `{@
|
|
37
|
+
The catalog is at version 3, since `icon` took `color="info"` (version 2 brought the charts and `progress`). A spec's `{@jigs 0 catalog=3}` line names the version it was written for. Field controls take an `ariaLabel`.
|
|
38
38
|
|
|
39
39
|
## Source
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jigs.design/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The default catalog, modeled on ChatKit widgets, and a React registry for it.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/yoamomonstruos/
|
|
8
|
+
"url": "git+https://github.com/yoamomonstruos/jigs.git",
|
|
9
9
|
"directory": "packages/catalog"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"lucide-react": "1.57.0",
|
|
36
36
|
"recharts": "3.10.1",
|
|
37
|
-
"@jigs.design/host": "0.
|
|
38
|
-
"@jigs.design/react": "0.
|
|
37
|
+
"@jigs.design/host": "0.2.0",
|
|
38
|
+
"@jigs.design/react": "0.2.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^18.0.0 || ^19.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@jigs.design/prompt": "0.
|
|
45
|
-
"@jigs.design/server": "0.
|
|
44
|
+
"@jigs.design/prompt": "0.2.0",
|
|
45
|
+
"@jigs.design/server": "0.2.0"
|
|
46
46
|
}
|
|
47
47
|
}
|