@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.
Files changed (25) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/features/charts/catalog-manifests.js +1 -1
  3. package/dist/features/charts/contract.d.ts +1 -1
  4. package/dist/features/charts/contract.js +1 -1
  5. package/dist/features/charts/registry.js +1 -1
  6. package/dist/features/charts/wire.d.ts +1 -1
  7. package/dist/features/charts/wire.js +1 -1
  8. package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts +1 -1
  9. package/dist/features/interactive-ui/providers/native/data-table.manifest.js +1 -1
  10. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts +1 -1
  11. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js +1 -1
  12. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts +1 -1
  13. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js +1 -1
  14. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts +1 -1
  15. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js +1 -1
  16. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts +1 -1
  17. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js +1 -1
  18. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts +1 -1
  19. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js +1 -1
  20. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts +1 -1
  21. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js +1 -1
  22. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts +1 -1
  23. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js +1 -1
  24. package/dist/features/interactive-ui/types.d.ts +1 -1
  25. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.7.2
2
+
3
+ ### Patch Changes
4
+
5
+ - @jini-ai/agentic@0.7.2
6
+ - @jini-ai/core@0.7.2
7
+ - @jini-ai/platform@0.7.2
8
+ - @jini-ai/ui-kit@0.7.2
9
+
1
10
  ## 0.7.1
2
11
 
3
12
  ### Patch Changes
@@ -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
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  /**
4
4
  * Zero-React manifest for the dependency-free HTML fallback. shadcn now owns preferred table
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  /**
3
3
  * Zero-React manifest for the dependency-free HTML fallback. shadcn now owns preferred table
4
4
  * resolution; native stays available without external component primitives. Both providers
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  /**
4
4
  * `.passthrough()` for the same reason as `data-table.manifest.ts` — an A2UI-embedded instance
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  /**
3
3
  * `.passthrough()` for the same reason as `data-table.manifest.ts` — an A2UI-embedded instance
4
4
  * may carry an `action` prop this schema doesn't itself validate.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  export declare const shadcnCheckboxPropsSchema: z.ZodObject<{
4
4
  label: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  export const shadcnCheckboxPropsSchema = z
3
3
  .object({
4
4
  label: z.string().optional(),
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  export declare const shadcnCardPropsSchema: z.ZodObject<{
4
4
  title: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  export const shadcnCardPropsSchema = z
3
3
  .object({
4
4
  title: z.string().optional(),
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  /**
4
4
  * Same required wire shape as `native.data-table` (see that manifest), plus optional local
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  /**
3
3
  * Same required wire shape as `native.data-table` (see that manifest), plus optional local
4
4
  * sorting/paging settings — shared capabilities, so
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  export declare const shadcnRadioGroupPropsSchema: z.ZodObject<{
4
4
  options: z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  export const shadcnRadioGroupPropsSchema = z
3
3
  .object({
4
4
  options: z.array(z.object({ value: z.string(), label: z.string() }).strict()).min(1),
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  export declare const shadcnSelectPropsSchema: z.ZodObject<{
4
4
  options: z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  export const shadcnSelectPropsSchema = z
3
3
  .object({
4
4
  options: z.array(z.object({ value: z.string(), label: z.string() }).strict()).min(1),
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  import type { InteractiveComponentManifest } from '../../types.js';
3
3
  export declare const shadcnTextInputPropsSchema: z.ZodObject<{
4
4
  value: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v3';
2
2
  export const shadcnTextInputPropsSchema = z
3
3
  .object({
4
4
  value: z.string().optional(),
@@ -1,4 +1,4 @@
1
- import type { z } from 'zod';
1
+ import type { z } from 'zod/v3';
2
2
  /**
3
3
  * The Node/MCP-safe half of an interactive-ui provider: enough to search and describe a
4
4
  * component without ever importing the React implementation that renders it. A
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/ui",
3
- "version": "0.7.3-next.1",
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.1.9",
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": "^25.0.1",
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": "^3.25.76",
300
- "@jini-ai/agent-runtime": "^0.7.3-next.1",
301
- "@jini-ai/agentic": "^0.7.3-next.1",
302
- "@jini-ai/core": "^0.7.3-next.1",
303
- "@jini-ai/integrations": "^0.7.3-next.1",
304
- "@jini-ai/ui-kit": "^0.7.3-next.1"
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/core": "^0.7.3-next.1",
310
- "@jini-ai/protocol": "^0.7.3-next.1"
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": "^3.25.76"
329
+ "zod": "^4.6.6"
330
330
  },
331
331
  "peerDependenciesMeta": {
332
332
  "@tanstack/react-query": {