@arbidocs/blocks 0.4.64 → 0.4.66

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.
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-IC2VHFWR.js';
3
2
  import { ModalBreadcrumbHeader } from '../chunk-RC6VTY2H.js';
3
+ export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-IC2VHFWR.js';
4
4
  import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
5
5
  export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
6
6
  import { GridView, SelectionBar, SelectionBarAction } from '../chunk-BUHKUKKB.js';
7
7
  export { DEFAULT_SELECTION_BAR_LABELS, GridView, SelectionBar, SelectionBarAction } from '../chunk-BUHKUKKB.js';
8
- import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
9
8
  import { FilterInput } from '../chunk-YU2KUMGE.js';
10
9
  import { ActionLink } from '../chunk-S7PSMMRG.js';
11
- import '../chunk-76JDDMSP.js';
10
+ import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
12
11
  import '../chunk-SLSBJRWW.js';
13
12
  import '../chunk-NPLYHR2E.js';
14
- import { formatCount } from '../chunk-OXF2IFXG.js';
15
13
  import { ShareControl } from '../chunk-K4BGOPGG.js';
16
14
  import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-CPMNAJLF.js';
17
15
  import '../chunk-TJMKFY5P.js';
16
+ import '../chunk-76JDDMSP.js';
17
+ import { formatCount } from '../chunk-OXF2IFXG.js';
18
18
  import { testIdOr } from '../chunk-7F6CBP3Z.js';
19
19
  import { memo, useState, useRef, useEffect, forwardRef, useMemo, useCallback } from 'react';
20
- import { Check, Minus, PencilLine, Loader2, UploadCloud, Folder, LoaderCircle, Sparkles, AlertCircle, X, FolderOpen, Upload, FileText, FolderPlus, Globe, Download, Copy, FolderInput, Users, XCircle, AlertTriangle, CheckCircle2, Info, RotateCcw, Share2, ImagePlus, Crop, ChevronLeft, ChevronRight, ZoomIn, CopyX, Plus, Tags, StickyNote, Columns2, ChevronDown, BookMarked, ExternalLink, Square, RefreshCw, Settings, Unplug, CalendarDays, CheckCircle, CircleSlash, Hourglass, Mail, CornerDownRight, CornerRightDown, GitFork, Blend, MoreVertical, SquarePen, BookOpen, MessagesSquare, Pencil, Trash2, SquareCheckBig, NotebookPen, MoreHorizontal, ArrowRightFromLine, Hash, ArrowDownToLine, Tag, Bot, Calendar, Search, List, Columns3, Save, Undo2, CheckIcon, ArrowUpDown, FolderUp, FileX, ChevronsUpDown, Table2, ArrowRightLeft } from 'lucide-react';
20
+ import { Check, Minus, PencilLine, Loader2, UploadCloud, Folder, LoaderCircle, Sparkles, AlertCircle, X, FolderOpen, Upload, FileText, FolderPlus, Globe, Download, Copy, FolderInput, Users, XCircle, AlertTriangle, CheckCircle2, Info, RotateCcw, Share2, ImagePlus, Crop, ChevronLeft, ChevronRight, ZoomIn, CopyX, Plus, Tags, StickyNote, Columns2, ChevronDown, BookMarked, ExternalLink, Square, RefreshCw, Settings, Unplug, CalendarDays, CheckCircle, CircleSlash, Hourglass, Mail, CornerDownRight, CornerRightDown, GitFork, Blend, MoreVertical, SquarePen, BookOpen, MessagesSquare, Pencil, FileDown, Trash2, SquareCheckBig, NotebookPen, MoreHorizontal, ArrowRightFromLine, Hash, ArrowDownToLine, Tag, Bot, Calendar, Search, List, Columns3, Save, Undo2, CheckIcon, ArrowUpDown, FolderUp, FileX, ChevronsUpDown, Table2, ArrowRightLeft } from 'lucide-react';
21
21
  import { cn, Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, Tooltip, TooltipTrigger, TooltipContent, Button, Progress, Badge, RadioGroup, RadioGroupItem, Label, ScrollArea, Checkbox, Dialog, DialogContent, DialogTitle, DialogDescription, TooltipProvider, IconToggle, Textarea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuSeparator, DropdownMenuItem, DialogTrigger, Input, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, DialogHeader, CommandSeparator, getTagTypeIcon, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, Switch } from '@arbidocs/react/ui';
22
22
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
23
23
  import { cva } from 'class-variance-authority';
@@ -4167,6 +4167,7 @@ function DocumentRowMenu({
4167
4167
  onDocumentChat,
4168
4168
  onRename,
4169
4169
  onDownload,
4170
+ onDownloadMarkup,
4170
4171
  onMove,
4171
4172
  onDelete,
4172
4173
  testId = "document-row-menu"
@@ -4211,6 +4212,10 @@ function DocumentRowMenu({
4211
4212
  /* @__PURE__ */ jsx(Download, { className: "mr-2 h-4 w-4" }),
4212
4213
  "Download"
4213
4214
  ] }),
4215
+ onDownloadMarkup && /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: onDownloadMarkup, "data-testid": "document-row-download-markup", children: [
4216
+ /* @__PURE__ */ jsx(FileDown, { className: "mr-2 h-4 w-4" }),
4217
+ "Download with markup"
4218
+ ] }),
4214
4219
  canEdit && /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: onMove, children: [
4215
4220
  /* @__PURE__ */ jsx(FolderInput, { className: "mr-2 h-4 w-4" }),
4216
4221
  "Move to\u2026"