@arbidocs/react 0.4.17 → 0.4.19

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.
@@ -3,8 +3,8 @@
3
3
  var chunkSJBGNP7E_cjs = require('../chunk-SJBGNP7E.cjs');
4
4
  var chunkPATLJSAO_cjs = require('../chunk-PATLJSAO.cjs');
5
5
  var chunkEOOHRPFM_cjs = require('../chunk-EOOHRPFM.cjs');
6
- var chunkZMTLGO3K_cjs = require('../chunk-ZMTLGO3K.cjs');
7
6
  require('../chunk-S6A6FSG7.cjs');
7
+ var chunkZMTLGO3K_cjs = require('../chunk-ZMTLGO3K.cjs');
8
8
  var react = require('react');
9
9
  var reactQuery = require('@tanstack/react-query');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -3,8 +3,8 @@ export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParse
3
3
  import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown, normalizeMarkdown } from '../chunk-43AKLNBC.js';
4
4
  export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, normalizeMarkdown, revertRedlineRegion } from '../chunk-43AKLNBC.js';
5
5
  import { MarkdownRenderer } from '../chunk-6YSHODMG.js';
6
- import { useArbi } from '../chunk-J4MX2W4H.js';
7
6
  import '../chunk-SN5YV6FF.js';
7
+ import { useArbi } from '../chunk-J4MX2W4H.js';
8
8
  import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
9
9
  import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
10
10
  import { jsx } from 'react/jsx-runtime';
package/dist/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkSJBGNP7E_cjs = require('./chunk-SJBGNP7E.cjs');
4
+ var chunkPGLV23SB_cjs = require('./chunk-PGLV23SB.cjs');
4
5
  var chunkC3Q4TYFW_cjs = require('./chunk-C3Q4TYFW.cjs');
5
6
  var chunkEOOHRPFM_cjs = require('./chunk-EOOHRPFM.cjs');
6
- var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
7
- var chunkZMTLGO3K_cjs = require('./chunk-ZMTLGO3K.cjs');
8
- var chunkPGLV23SB_cjs = require('./chunk-PGLV23SB.cjs');
9
7
  var chunkOBNTJEEO_cjs = require('./chunk-OBNTJEEO.cjs');
10
8
  var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
9
+ var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
10
+ var chunkZMTLGO3K_cjs = require('./chunk-ZMTLGO3K.cjs');
11
11
  var React = require('react');
12
12
  var browser = require('@arbidocs/sdk/browser');
13
13
  var lucideReact = require('lucide-react');
@@ -5962,6 +5962,42 @@ Object.defineProperty(exports, "useWorkspaces", {
5962
5962
  enumerable: true,
5963
5963
  get: function () { return chunkSJBGNP7E_cjs.useWorkspaces; }
5964
5964
  });
5965
+ Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
5966
+ enumerable: true,
5967
+ get: function () { return chunkPGLV23SB_cjs.DEFAULT_NOTIFY_TONE; }
5968
+ });
5969
+ Object.defineProperty(exports, "NotificationBell", {
5970
+ enumerable: true,
5971
+ get: function () { return chunkPGLV23SB_cjs.NotificationBell; }
5972
+ });
5973
+ Object.defineProperty(exports, "Toaster", {
5974
+ enumerable: true,
5975
+ get: function () { return chunkPGLV23SB_cjs.Toaster; }
5976
+ });
5977
+ Object.defineProperty(exports, "formatRelativeTime", {
5978
+ enumerable: true,
5979
+ get: function () { return chunkPGLV23SB_cjs.formatRelativeTime; }
5980
+ });
5981
+ Object.defineProperty(exports, "notify", {
5982
+ enumerable: true,
5983
+ get: function () { return chunkPGLV23SB_cjs.notify; }
5984
+ });
5985
+ Object.defineProperty(exports, "seedNotifications", {
5986
+ enumerable: true,
5987
+ get: function () { return chunkPGLV23SB_cjs.seedNotifications; }
5988
+ });
5989
+ Object.defineProperty(exports, "selectUnread", {
5990
+ enumerable: true,
5991
+ get: function () { return chunkPGLV23SB_cjs.selectUnread; }
5992
+ });
5993
+ Object.defineProperty(exports, "toast", {
5994
+ enumerable: true,
5995
+ get: function () { return chunkPGLV23SB_cjs.toast; }
5996
+ });
5997
+ Object.defineProperty(exports, "useNotify", {
5998
+ enumerable: true,
5999
+ get: function () { return chunkPGLV23SB_cjs.useNotify; }
6000
+ });
5965
6001
  Object.defineProperty(exports, "AgentBadge", {
5966
6002
  enumerable: true,
5967
6003
  get: function () { return chunkC3Q4TYFW_cjs.AgentBadge; }
@@ -6526,50 +6562,6 @@ Object.defineProperty(exports, "trimOpenCitation", {
6526
6562
  enumerable: true,
6527
6563
  get: function () { return chunkEOOHRPFM_cjs.trimOpenCitation; }
6528
6564
  });
6529
- Object.defineProperty(exports, "ArbiProvider", {
6530
- enumerable: true,
6531
- get: function () { return chunkZMTLGO3K_cjs.ArbiProvider; }
6532
- });
6533
- Object.defineProperty(exports, "useArbi", {
6534
- enumerable: true,
6535
- get: function () { return chunkZMTLGO3K_cjs.useArbi; }
6536
- });
6537
- Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
6538
- enumerable: true,
6539
- get: function () { return chunkPGLV23SB_cjs.DEFAULT_NOTIFY_TONE; }
6540
- });
6541
- Object.defineProperty(exports, "NotificationBell", {
6542
- enumerable: true,
6543
- get: function () { return chunkPGLV23SB_cjs.NotificationBell; }
6544
- });
6545
- Object.defineProperty(exports, "Toaster", {
6546
- enumerable: true,
6547
- get: function () { return chunkPGLV23SB_cjs.Toaster; }
6548
- });
6549
- Object.defineProperty(exports, "formatRelativeTime", {
6550
- enumerable: true,
6551
- get: function () { return chunkPGLV23SB_cjs.formatRelativeTime; }
6552
- });
6553
- Object.defineProperty(exports, "notify", {
6554
- enumerable: true,
6555
- get: function () { return chunkPGLV23SB_cjs.notify; }
6556
- });
6557
- Object.defineProperty(exports, "seedNotifications", {
6558
- enumerable: true,
6559
- get: function () { return chunkPGLV23SB_cjs.seedNotifications; }
6560
- });
6561
- Object.defineProperty(exports, "selectUnread", {
6562
- enumerable: true,
6563
- get: function () { return chunkPGLV23SB_cjs.selectUnread; }
6564
- });
6565
- Object.defineProperty(exports, "toast", {
6566
- enumerable: true,
6567
- get: function () { return chunkPGLV23SB_cjs.toast; }
6568
- });
6569
- Object.defineProperty(exports, "useNotify", {
6570
- enumerable: true,
6571
- get: function () { return chunkPGLV23SB_cjs.useNotify; }
6572
- });
6573
6565
  Object.defineProperty(exports, "DropdownMenu", {
6574
6566
  enumerable: true,
6575
6567
  get: function () { return chunkOBNTJEEO_cjs.DropdownMenu; }
@@ -6642,6 +6634,14 @@ Object.defineProperty(exports, "cn", {
6642
6634
  enumerable: true,
6643
6635
  get: function () { return chunkS6A6FSG7_cjs.cn; }
6644
6636
  });
6637
+ Object.defineProperty(exports, "ArbiProvider", {
6638
+ enumerable: true,
6639
+ get: function () { return chunkZMTLGO3K_cjs.ArbiProvider; }
6640
+ });
6641
+ Object.defineProperty(exports, "useArbi", {
6642
+ enumerable: true,
6643
+ get: function () { return chunkZMTLGO3K_cjs.useArbi; }
6644
+ });
6645
6645
  Object.defineProperty(exports, "Arbi", {
6646
6646
  enumerable: true,
6647
6647
  get: function () { return browser.Arbi; }
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { useDocuments, useConversations, useAssistantQuery, useConversationThreads, arbiQueryKeys, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-JJSPTHI2.js';
2
2
  export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, cleanDraftMarkdown, cleanDraftWithReport, creditsToUsd, formatCredits, isUsageMetered, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaces } from './chunk-JJSPTHI2.js';
3
+ import { formatRelativeTime } from './chunk-FSMIN5VX.js';
4
+ export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-FSMIN5VX.js';
3
5
  import { MarkMenu, AiMarkdown, Card, Button, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-NGBWNGXM.js';
4
6
  export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DictateProvider, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, VisibilityToggle, badgeVariants, buttonVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants, useAudioRecorder } from './chunk-NGBWNGXM.js';
5
7
  import { normalizeCitationMarkup, MarkdownRenderer } from './chunk-6YSHODMG.js';
6
8
  export { MarkdownRenderer, MarkdownStreamingContext, closeOpenEmphasis, markdownBaseComponents, normalizeCitationMarkup, splitMarkdownBlocks, trimOpenCitation } from './chunk-6YSHODMG.js';
7
- import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
8
- import { useArbi } from './chunk-J4MX2W4H.js';
9
- export { ArbiProvider, useArbi } from './chunk-J4MX2W4H.js';
10
- import { formatRelativeTime } from './chunk-FSMIN5VX.js';
11
- export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-FSMIN5VX.js';
12
9
  import { ScrollArea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-N5SVBDLC.js';
13
10
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar } from './chunk-N5SVBDLC.js';
14
11
  import { cn } from './chunk-SN5YV6FF.js';
15
12
  export { cn } from './chunk-SN5YV6FF.js';
13
+ import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
14
+ import { useArbi } from './chunk-J4MX2W4H.js';
15
+ export { ArbiProvider, useArbi } from './chunk-J4MX2W4H.js';
16
16
  import React, { memo, useState, createContext, useMemo, useCallback, useEffect, useRef, useLayoutEffect, useContext, useId, Fragment as Fragment$1 } from 'react';
17
17
  import { resolveCitations, summarizeCitations, connectWithReconnect } from '@arbidocs/sdk/browser';
18
18
  export { Arbi, ArbiError } from '@arbidocs/sdk/browser';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.4.17",
3
+ "version": "0.4.19",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -69,8 +69,8 @@
69
69
  "build-storybook": "storybook build"
70
70
  },
71
71
  "dependencies": {
72
- "@arbidocs/sdk": "0.4.17",
73
- "@arbidocs/client": "0.4.17",
72
+ "@arbidocs/sdk": "0.4.19",
73
+ "@arbidocs/client": "0.4.19",
74
74
  "@radix-ui/react-avatar": "^1.2.0",
75
75
  "@radix-ui/react-checkbox": "^1.3.5",
76
76
  "@radix-ui/react-collapsible": "^1.1.14",