@jini-ai/ui 0.7.3-next.1 → 0.7.3-next.2
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 +9 -0
- package/dist/features/charts/catalog-manifests.js +1 -1
- package/dist/features/charts/contract.d.ts +1 -1
- package/dist/features/charts/contract.js +1 -1
- package/dist/features/charts/registry.js +1 -1
- package/dist/features/charts/wire.d.ts +1 -1
- package/dist/features/charts/wire.js +1 -1
- package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/native/data-table.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js +1 -1
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js +1 -1
- package/dist/features/interactive-ui/types.d.ts +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** The one headless owner of chart catalog entries. The browser registry attaches components to
|
|
2
2
|
* these exact entries; a server catalog serves them as they are. React-free and DOM-free.
|
|
3
3
|
*/
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from 'zod/v3';
|
|
5
5
|
import { chartSpecSchema } from './contract.js';
|
|
6
6
|
import {} from '@jini-ai/core/contracts/charts';
|
|
7
7
|
import { chartCapability, chartProvidersByKind, createChartProviderRegistry } from './registry.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Chart spec validation. The provider ABI lives in `@jini-ai/core/contracts/charts`. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import { z } from 'zod/v3';
|
|
3
3
|
import type { ChartValue } from '@jini-ai/core/contracts/charts';
|
|
4
4
|
/** Serializable, provider-neutral specification; kind admission belongs to each provider. */
|
|
5
5
|
export declare const chartSpecSchema: z.ZodObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Chart spec validation. The provider ABI lives in `@jini-ai/core/contracts/charts`. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import { z } from 'zod/v3';
|
|
3
3
|
const chartValueSchema = z.lazy(() => z.union([
|
|
4
4
|
z.string(), z.number().finite(), z.boolean(), z.null(), z.array(chartValueSchema), z.record(chartValueSchema),
|
|
5
5
|
]));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Capability ordering belongs to InteractiveUiRegistry, including framework-neutral entries. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import { z } from 'zod/v3';
|
|
3
3
|
import { InteractiveUiRegistry } from '../interactive-ui/registry.js';
|
|
4
4
|
/** Each kind has a distinct capability, so a pie-only provider can never satisfy a bar request. */
|
|
5
5
|
export function chartCapability({ kind }, _options = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The existing wire schemas remain core-owned, even when no chart plugin is enabled. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import { z } from 'zod/v3';
|
|
3
3
|
import type { InteractiveComponentManifest } from '../interactive-ui/types.js';
|
|
4
4
|
import { type ChartSpec } from '@jini-ai/core/contracts/charts';
|
|
5
5
|
/** Same passthrough/record reasoning as native data-table: A2UI action bindings and extra row data
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The existing wire schemas remain core-owned, even when no chart plugin is enabled. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import { z } from 'zod/v3';
|
|
3
3
|
import { chartSpecSchema } from './contract.js';
|
|
4
4
|
import {} from '@jini-ai/core/contracts/charts';
|
|
5
5
|
/** Same passthrough/record reasoning as native data-table: A2UI action bindings and extra row data
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/ui",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.2",
|
|
4
4
|
"description": "Generic, product-neutral React UI primitives and feature domains. Framework-free types, decision rules, catalogs, and host port contracts live behind ./core (no React, no DOM). The Excalidraw editor lives behind ./sketch-editor; the GrapesJS-backed inline HTML editor lives behind ./html-editor.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -283,11 +283,11 @@
|
|
|
283
283
|
"@testing-library/user-event": "^14.5.0",
|
|
284
284
|
"@types/react": "^19.2.0",
|
|
285
285
|
"@types/react-dom": "^19.2.0",
|
|
286
|
-
"@vitest/coverage-v8": "^2.
|
|
286
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
287
287
|
"class-variance-authority": "^0.7.1",
|
|
288
288
|
"clsx": "^2.1.1",
|
|
289
289
|
"grapesjs": "0.23.4",
|
|
290
|
-
"jsdom": "^
|
|
290
|
+
"jsdom": "^26.1.0",
|
|
291
291
|
"micromark": "^4.0.0",
|
|
292
292
|
"micromark-extension-gfm": "^3.0.0",
|
|
293
293
|
"parse5": "^8.0.1",
|
|
@@ -296,18 +296,18 @@
|
|
|
296
296
|
"shiki": "^1.24.4",
|
|
297
297
|
"tailwind-merge": "^2.6.0",
|
|
298
298
|
"tailwindcss": "^4.1.16",
|
|
299
|
-
"zod": "^
|
|
300
|
-
"@jini-ai/agent-runtime": "^0.7.3-next.
|
|
301
|
-
"@jini-ai/agentic": "^0.7.3-next.
|
|
302
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
303
|
-
"@jini-ai/integrations": "^0.7.3-next.
|
|
304
|
-
"@jini-ai/ui-kit": "^0.7.3-next.
|
|
299
|
+
"zod": "^4.6.6",
|
|
300
|
+
"@jini-ai/agent-runtime": "^0.7.3-next.2",
|
|
301
|
+
"@jini-ai/agentic": "^0.7.3-next.2",
|
|
302
|
+
"@jini-ai/core": "^0.7.3-next.2",
|
|
303
|
+
"@jini-ai/integrations": "^0.7.3-next.2",
|
|
304
|
+
"@jini-ai/ui-kit": "^0.7.3-next.2"
|
|
305
305
|
},
|
|
306
306
|
"dependencies": {
|
|
307
307
|
"micromark": "^4.0.0",
|
|
308
308
|
"micromark-extension-gfm": "^3.0.0",
|
|
309
|
-
"@jini-ai/
|
|
310
|
-
"@jini-ai/
|
|
309
|
+
"@jini-ai/protocol": "^0.7.3-next.2",
|
|
310
|
+
"@jini-ai/core": "^0.7.3-next.2"
|
|
311
311
|
},
|
|
312
312
|
"peerDependencies": {
|
|
313
313
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
"parse5": "^7.3.0 || ^8.0.1",
|
|
327
327
|
"shiki": "^1.24.4",
|
|
328
328
|
"tailwind-merge": "^2.6.0",
|
|
329
|
-
"zod": "^
|
|
329
|
+
"zod": "^4.6.6"
|
|
330
330
|
},
|
|
331
331
|
"peerDependenciesMeta": {
|
|
332
332
|
"@tanstack/react-query": {
|