@arbidocs/react 0.3.98 → 0.3.100

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/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { ArbiOptions, Arbi, SSEStreamResult, SSEStreamStartData, AgentStepEvent } from '@arbidocs/sdk/browser';
4
4
  export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, MessageMetadataPayload, OutputTokensDetails, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, UserInputRequestEvent, UserMessageEvent } from '@arbidocs/sdk/browser';
@@ -8,7 +8,7 @@ import * as _arbidocs_client from '@arbidocs/client';
8
8
  interface ArbiProviderProps extends ArbiOptions {
9
9
  children: ReactNode;
10
10
  }
11
- declare function ArbiProvider({ children, ...options }: ArbiProviderProps): react_jsx_runtime.JSX.Element;
11
+ declare function ArbiProvider({ children, ...options }: ArbiProviderProps): react.JSX.Element;
12
12
 
13
13
  interface ArbiChatTheme {
14
14
  /** Primary action color — buttons, links (default: '#00adef' ARBI cyan) */
@@ -123,7 +123,7 @@ interface ArbiChatProps {
123
123
  * <ArbiChat url="https://www.arbidocs.com" />
124
124
  * ```
125
125
  */
126
- declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): react_jsx_runtime.JSX.Element;
126
+ declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): react.JSX.Element;
127
127
 
128
128
  /**
129
129
  * Hook to access the Arbi instance from the nearest ArbiProvider.
@@ -175,6 +175,7 @@ declare function useWorkspaces(options?: {
175
175
  joined_at: string;
176
176
  conversation_count: number;
177
177
  document_count: number;
178
+ files_mb: number;
178
179
  agent_ext_id?: string | null | undefined;
179
180
  is_temporary: boolean;
180
181
  }[];
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { ArbiOptions, Arbi, SSEStreamResult, SSEStreamStartData, AgentStepEvent } from '@arbidocs/sdk/browser';
4
4
  export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, MessageMetadataPayload, OutputTokensDetails, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, UserInputRequestEvent, UserMessageEvent } from '@arbidocs/sdk/browser';
@@ -8,7 +8,7 @@ import * as _arbidocs_client from '@arbidocs/client';
8
8
  interface ArbiProviderProps extends ArbiOptions {
9
9
  children: ReactNode;
10
10
  }
11
- declare function ArbiProvider({ children, ...options }: ArbiProviderProps): react_jsx_runtime.JSX.Element;
11
+ declare function ArbiProvider({ children, ...options }: ArbiProviderProps): react.JSX.Element;
12
12
 
13
13
  interface ArbiChatTheme {
14
14
  /** Primary action color — buttons, links (default: '#00adef' ARBI cyan) */
@@ -123,7 +123,7 @@ interface ArbiChatProps {
123
123
  * <ArbiChat url="https://www.arbidocs.com" />
124
124
  * ```
125
125
  */
126
- declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): react_jsx_runtime.JSX.Element;
126
+ declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): react.JSX.Element;
127
127
 
128
128
  /**
129
129
  * Hook to access the Arbi instance from the nearest ArbiProvider.
@@ -175,6 +175,7 @@ declare function useWorkspaces(options?: {
175
175
  joined_at: string;
176
176
  conversation_count: number;
177
177
  document_count: number;
178
+ files_mb: number;
178
179
  agent_ext_id?: string | null | undefined;
179
180
  is_temporary: boolean;
180
181
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.3.98",
3
+ "version": "0.3.100",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -22,21 +22,21 @@
22
22
  "typecheck": "tsc --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@arbidocs/sdk": "0.3.98",
26
- "@arbidocs/client": "0.3.98",
25
+ "@arbidocs/sdk": "0.3.100",
26
+ "@arbidocs/client": "0.3.100",
27
27
  "@tanstack/react-query": ">=5"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": ">=18"
31
31
  },
32
32
  "devDependencies": {
33
- "@tanstack/react-query": "^5.100.11",
33
+ "@tanstack/react-query": "^5.101.2",
34
34
  "@testing-library/react": "^16.3.0",
35
- "@types/react": "^19.2.2",
35
+ "@types/react": "^19.2.17",
36
36
  "@types/react-dom": "^19.2.2",
37
37
  "jsdom": "^29.1.1",
38
- "react": "^19.2.0",
39
- "react-dom": "^19.2.0",
38
+ "react": "^19.2.7",
39
+ "react-dom": "^19.2.7",
40
40
  "tsup": "^8.5.1",
41
41
  "typescript": "^6.0.3",
42
42
  "vitest": "^4.0.18"