@arbidocs/blocks 0.4.27 → 0.4.28
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 +17 -0
- package/dist/agents/index.cjs +222 -210
- package/dist/agents/index.js +4 -4
- package/dist/agents/tasks/TaskRowMenu.d.ts +4 -1
- package/dist/agents/tasks/TaskRunsDialog.d.ts +3 -1
- package/dist/agents/tasks/taskRows.d.ts +2 -0
- package/dist/agents/workflows/WorkflowDocumentsField.d.ts +12 -0
- package/dist/agents/workflows/index.d.ts +2 -0
- package/dist/agents/workflows/workspaceScope.d.ts +18 -0
- package/dist/chat/ChatPage.d.ts +1 -1
- package/dist/chat/chat-page-types.d.ts +12 -1
- package/dist/chat/index.cjs +129 -129
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-CQ6CYPV4.js → chunk-3NZR6PAG.js} +7 -119
- package/dist/chunk-3NZR6PAG.js.map +1 -0
- package/dist/chunk-4XJZ6AAY.js +407 -0
- package/dist/chunk-4XJZ6AAY.js.map +1 -0
- package/dist/{chunk-UOLMFC5K.js → chunk-6YVI74BC.js} +498 -108
- package/dist/chunk-6YVI74BC.js.map +1 -0
- package/dist/{chunk-ZEIOREJY.js → chunk-EHXSBH6U.js} +37 -6
- package/dist/chunk-EHXSBH6U.js.map +1 -0
- package/dist/chunk-EYPPB5CY.cjs +85 -0
- package/dist/chunk-EYPPB5CY.cjs.map +1 -0
- package/dist/{chunk-TL2DHSC5.cjs → chunk-FRRDPYBR.cjs} +5 -120
- package/dist/chunk-FRRDPYBR.cjs.map +1 -0
- package/dist/{chunk-557EU3G4.js → chunk-JLOYWXRB.js} +3 -3
- package/dist/{chunk-557EU3G4.js.map → chunk-JLOYWXRB.js.map} +1 -1
- package/dist/chunk-KF4EC5XU.js +68 -0
- package/dist/chunk-KF4EC5XU.js.map +1 -0
- package/dist/{chunk-3ZXXHROK.cjs → chunk-NSZAHL23.cjs} +156 -37
- package/dist/chunk-NSZAHL23.cjs.map +1 -0
- package/dist/{chunk-ENY6XXKR.js → chunk-QMUI2MGT.js} +153 -37
- package/dist/chunk-QMUI2MGT.js.map +1 -0
- package/dist/chunk-S5HZBXZA.cjs +430 -0
- package/dist/chunk-S5HZBXZA.cjs.map +1 -0
- package/dist/{chunk-JCVZKCXC.cjs → chunk-TLQQV7WW.cjs} +37 -6
- package/dist/chunk-TLQQV7WW.cjs.map +1 -0
- package/dist/{chunk-NNH7N62N.cjs → chunk-VMCOH3AY.cjs} +497 -105
- package/dist/chunk-VMCOH3AY.cjs.map +1 -0
- package/dist/{chunk-JLPYOPCX.js → chunk-WSJVHSGN.js} +225 -36
- package/dist/chunk-WSJVHSGN.js.map +1 -0
- package/dist/{chunk-DCEI37AX.cjs → chunk-YVIOCITQ.cjs} +3 -3
- package/dist/{chunk-DCEI37AX.cjs.map → chunk-YVIOCITQ.cjs.map} +1 -1
- package/dist/{chunk-J22DXUJY.cjs → chunk-ZHLMDJCO.cjs} +226 -34
- package/dist/chunk-ZHLMDJCO.cjs.map +1 -0
- package/dist/connect/docx.cjs +26 -8
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/docx.d.ts +1 -0
- package/dist/connect/docx.js +24 -7
- package/dist/connect/docx.js.map +1 -1
- package/dist/connect/index.cjs +303 -61
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +4 -0
- package/dist/connect/index.js +263 -25
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedAgentChatPanel.d.ts +7 -0
- package/dist/connection/ConnectedNativeDocxEditor.d.ts +2 -1
- package/dist/connection/ConnectedSkillUpload.d.ts +2 -0
- package/dist/connection/ConnectedStreamedWordArtifact.d.ts +4 -0
- package/dist/connection/ConnectedTaskAccessRequest.d.ts +4 -0
- package/dist/connection/ai.d.ts +4 -1
- package/dist/connection/useConnectedWorkNotifications.d.ts +21 -0
- package/dist/docx/DocxMentions.d.ts +9 -2
- package/dist/docx/NativeDocxEditor.d.ts +11 -3
- package/dist/docx/StreamedWordArtifact.d.ts +15 -0
- package/dist/docx/index.cjs +16 -8
- package/dist/docx/index.d.ts +3 -2
- package/dist/docx/index.js +2 -2
- package/dist/docx/streamWordDocument.d.ts +12 -0
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +444 -432
- package/dist/index.js +7 -7
- package/dist/settings/index.cjs +41 -231
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +6 -202
- package/dist/settings/index.js.map +1 -1
- package/dist/studio/index.cjs +6 -5
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +4 -3
- package/dist/studio/index.js.map +1 -1
- package/dist/workspaces/index.cjs +2 -2
- package/dist/workspaces/index.js +2 -2
- package/package.json +3 -3
- package/src/docx/styles.css +13 -0
- package/dist/chunk-3ZXXHROK.cjs.map +0 -1
- package/dist/chunk-5TRALRWN.js +0 -42
- package/dist/chunk-5TRALRWN.js.map +0 -1
- package/dist/chunk-CQ6CYPV4.js.map +0 -1
- package/dist/chunk-CQCC7LE7.js +0 -210
- package/dist/chunk-CQCC7LE7.js.map +0 -1
- package/dist/chunk-ENY6XXKR.js.map +0 -1
- package/dist/chunk-EUOGPUMJ.cjs +0 -59
- package/dist/chunk-EUOGPUMJ.cjs.map +0 -1
- package/dist/chunk-J22DXUJY.cjs.map +0 -1
- package/dist/chunk-JCVZKCXC.cjs.map +0 -1
- package/dist/chunk-JLPYOPCX.js.map +0 -1
- package/dist/chunk-NNH7N62N.cjs.map +0 -1
- package/dist/chunk-RFIBUWLF.cjs +0 -232
- package/dist/chunk-RFIBUWLF.cjs.map +0 -1
- package/dist/chunk-TL2DHSC5.cjs.map +0 -1
- package/dist/chunk-UOLMFC5K.js.map +0 -1
- package/dist/chunk-ZEIOREJY.js.map +0 -1
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
|
|
5
5
|
var chunkXAJIKT6Y_cjs = require('../chunk-XAJIKT6Y.cjs');
|
|
6
6
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
7
|
+
require('../chunk-C54XEN5T.cjs');
|
|
8
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
7
9
|
var chunk7G2LJMUG_cjs = require('../chunk-7G2LJMUG.cjs');
|
|
8
10
|
var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
|
|
9
11
|
require('../chunk-DCDVWPMB.cjs');
|
|
10
|
-
require('../chunk-C54XEN5T.cjs');
|
|
11
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
12
12
|
var react = require('react');
|
|
13
13
|
var lucideReact = require('lucide-react');
|
|
14
14
|
var ui = require('@arbidocs/react/ui');
|
package/dist/workspaces/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { CollapsibleSection, KeyValueRow } from '../chunk-LGBAZD37.js';
|
|
3
3
|
import { MemberAvatarStack } from '../chunk-XNOASBGW.js';
|
|
4
4
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
5
|
+
import '../chunk-76JDDMSP.js';
|
|
6
|
+
import { fromNow, fmtDate } from '../chunk-OXF2IFXG.js';
|
|
5
7
|
export { RoleBadge, WorkspaceTypeBadgeView } from '../chunk-NBV56SGU.js';
|
|
6
8
|
import { ModalHeader } from '../chunk-CPMNAJLF.js';
|
|
7
9
|
import '../chunk-TJMKFY5P.js';
|
|
8
|
-
import '../chunk-76JDDMSP.js';
|
|
9
|
-
import { fromNow, fmtDate } from '../chunk-OXF2IFXG.js';
|
|
10
10
|
import { createContext, useContext, useMemo, useState, useCallback, useId } from 'react';
|
|
11
11
|
import { FileText, MessagesSquare, Users, Check, ChevronRight, UserPlus, LogOut, AlertCircle, Plus, ArrowUpRight, AlignLeft, Globe, CreditCard, Loader2, FolderLock } from 'lucide-react';
|
|
12
12
|
import { cn, Button, Dialog, DialogContent, DialogTitle, DialogDescription, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, SelectSeparator, Input } from '@arbidocs/react/ui';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.28",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"example:test:e2e": "playwright test -c examples/custom-ui/playwright.config.ts"
|
|
214
214
|
},
|
|
215
215
|
"dependencies": {
|
|
216
|
-
"@arbidocs/client": "0.4.
|
|
216
|
+
"@arbidocs/client": "0.4.28",
|
|
217
217
|
"@dnd-kit/core": "^6.3.1",
|
|
218
218
|
"@dnd-kit/sortable": "^10.0.0",
|
|
219
219
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"@hocuspocus/provider": "4.6.0"
|
|
231
231
|
},
|
|
232
232
|
"peerDependencies": {
|
|
233
|
-
"@arbidocs/react": "0.4.
|
|
233
|
+
"@arbidocs/react": "0.4.28",
|
|
234
234
|
"@mdxeditor/editor": "^4.0.4",
|
|
235
235
|
"@measured/puck": ">=0.20",
|
|
236
236
|
"@playwright/test": ">=1.40",
|
package/src/docx/styles.css
CHANGED
|
@@ -14,6 +14,15 @@
|
|
|
14
14
|
.native-docx-error{padding:24px;display:grid;gap:12px;color:var(--foreground)}
|
|
15
15
|
.native-docx-notice{position:absolute;z-index:40;top:48px;left:12px;right:12px;padding:8px 12px;font-size:11px;border-radius:8px;background:#fff6e5;color:#76572f;box-shadow:0 2px 10px #00000014}.native-docx-notice[data-error=true]{background:#fff0ef;color:#a23832}
|
|
16
16
|
.native-docx-body .docx-review__card{font-family:inherit}
|
|
17
|
+
.native-docx-body .docx-review__card[data-active]{max-height:min(65dvh,560px);overflow-y:auto;overscroll-behavior:contain}
|
|
18
|
+
.native-docx-body .docx-review__card[data-active] .docx-review__summary{display:block;-webkit-line-clamp:unset;overflow:visible}
|
|
19
|
+
.native-docx-body .docx-review__summary,.native-docx-body .docx-review__replies{overflow-wrap:anywhere;white-space:pre-wrap}
|
|
20
|
+
.native-docx-comment-extra{display:flex;flex-direction:column;gap:6px}
|
|
21
|
+
.native-docx-comment-extra>button{align-self:flex-start;border:0;background:transparent;color:var(--doc-primary,#285c4b);font:inherit;cursor:pointer;text-decoration:underline}
|
|
22
|
+
.native-docx-comment-activity{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--doc-primary,#285c4b)}
|
|
23
|
+
.native-docx-agent-spinner{width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:native-docx-agent-spin .8s linear infinite}
|
|
24
|
+
@keyframes native-docx-agent-spin{to{transform:rotate(360deg)}}
|
|
25
|
+
@media(prefers-reduced-motion:reduce){.native-docx-agent-spinner{animation:none}}
|
|
17
26
|
@media(max-width:600px){.native-docx-actions{right:8px;left:8px;gap:5px}.native-docx-actions .native-docx-status{font-size:10px;padding:5px;max-width:40%}.native-docx-actions button{padding:6px}.native-docx-presence{display:none}}
|
|
18
27
|
|
|
19
28
|
/* Review controls overlay the page, matching the other ARBI viewers. */
|
|
@@ -34,3 +43,7 @@
|
|
|
34
43
|
.native-docx-ribbon-trigger:hover,.native-docx-ribbon-trigger[aria-expanded=true]{background:var(--muted)}
|
|
35
44
|
.native-docx-ribbon-popover{position:absolute;top:100%;right:8px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:270px;max-width:calc(100% - 16px);padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--background);box-shadow:0 4px 16px #0002}
|
|
36
45
|
.native-docx-ribbon .docx-toolbar__button{width:28px;min-width:28px;padding-inline:4px}
|
|
46
|
+
|
|
47
|
+
.native-docx-include-arbi{align-self:flex-start;border:0;background:transparent;color:var(--doc-text-muted,#68736d);padding:4px 6px;font:inherit;font-size:11px;cursor:pointer}.native-docx-include-arbi:hover{color:var(--doc-primary,#285c4b);text-decoration:underline}
|
|
48
|
+
|
|
49
|
+
.native-docx-body .docx-review__card[data-active]>*{flex-shrink:0}
|