@arbidocs/react 0.3.162 → 0.3.164
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/{chunk-VTX77MYP.js → chunk-4DOFFRWP.js} +7 -7
- package/dist/{chunk-VTX77MYP.js.map → chunk-4DOFFRWP.js.map} +1 -1
- package/dist/{chunk-ZBZKHBDS.cjs → chunk-NIGFEOMC.cjs} +7 -7
- package/dist/{chunk-ZBZKHBDS.cjs.map → chunk-NIGFEOMC.cjs.map} +1 -1
- package/dist/index.cjs +281 -281
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +107 -107
- package/dist/ui/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1650,12 +1650,12 @@ declare function getTagTypeLabel(type?: string | null): string;
|
|
|
1650
1650
|
* ProjectEntity Component
|
|
1651
1651
|
*
|
|
1652
1652
|
* Fully-rounded pill for a "project" (a.k.a. a "matter" in some consumer apps).
|
|
1653
|
-
* The viewer's relationship to the project drives
|
|
1654
|
-
*
|
|
1655
|
-
* - your paid project → primary
|
|
1656
|
-
* - someone else's → secondary
|
|
1657
|
-
* - your free project → grey
|
|
1658
|
-
* "Common" keeps the neutral
|
|
1653
|
+
* The viewer's relationship to the project drives a TINTED (soft-fill) colour
|
|
1654
|
+
* so the kinds read at a glance without shouting:
|
|
1655
|
+
* - your paid project → primary tint
|
|
1656
|
+
* - someone else's → secondary tint
|
|
1657
|
+
* - your free project → grey tint
|
|
1658
|
+
* "Common" keeps the neutral muted pill.
|
|
1659
1659
|
*
|
|
1660
1660
|
* Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
|
|
1661
1661
|
* defaults to the `CreditCard` glyph and can be overridden via `icon`, and
|
package/dist/index.d.ts
CHANGED
|
@@ -1650,12 +1650,12 @@ declare function getTagTypeLabel(type?: string | null): string;
|
|
|
1650
1650
|
* ProjectEntity Component
|
|
1651
1651
|
*
|
|
1652
1652
|
* Fully-rounded pill for a "project" (a.k.a. a "matter" in some consumer apps).
|
|
1653
|
-
* The viewer's relationship to the project drives
|
|
1654
|
-
*
|
|
1655
|
-
* - your paid project → primary
|
|
1656
|
-
* - someone else's → secondary
|
|
1657
|
-
* - your free project → grey
|
|
1658
|
-
* "Common" keeps the neutral
|
|
1653
|
+
* The viewer's relationship to the project drives a TINTED (soft-fill) colour
|
|
1654
|
+
* so the kinds read at a glance without shouting:
|
|
1655
|
+
* - your paid project → primary tint
|
|
1656
|
+
* - someone else's → secondary tint
|
|
1657
|
+
* - your free project → grey tint
|
|
1658
|
+
* "Common" keeps the neutral muted pill.
|
|
1659
1659
|
*
|
|
1660
1660
|
* Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
|
|
1661
1661
|
* defaults to the `CreditCard` glyph and can be overridden via `icon`, and
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cn, Avatar, AvatarFallback, AvatarImage, Tooltip, TooltipTrigger, TooltipContent, Popover, PopoverTrigger, PopoverContent, AiMarkdown, Card, Button, Badge, MarkdownRenderer, Input, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, ScrollArea, DropdownMenuItem, Textarea, Slider, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DropdownMenuLabel, DropdownMenuSeparator, Checkbox } from './chunk-
|
|
2
|
-
export { AiMarkdown, Avatar, AvatarFallback, AvatarImage, 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, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, MarkdownRenderer, MarkdownStreamingContext, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, markdownBaseComponents, splitMarkdownBlocks, toggleVariants } from './chunk-
|
|
1
|
+
import { cn, Avatar, AvatarFallback, AvatarImage, Tooltip, TooltipTrigger, TooltipContent, Popover, PopoverTrigger, PopoverContent, AiMarkdown, Card, Button, Badge, MarkdownRenderer, Input, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, ScrollArea, DropdownMenuItem, Textarea, Slider, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DropdownMenuLabel, DropdownMenuSeparator, Checkbox } from './chunk-4DOFFRWP.js';
|
|
2
|
+
export { AiMarkdown, Avatar, AvatarFallback, AvatarImage, 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, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, MarkdownRenderer, MarkdownStreamingContext, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, markdownBaseComponents, splitMarkdownBlocks, toggleVariants } from './chunk-4DOFFRWP.js';
|
|
3
3
|
import { useArbi, ArbiProvider } from './chunk-J4MX2W4H.js';
|
|
4
4
|
export { ArbiProvider, useArbi } from './chunk-J4MX2W4H.js';
|
|
5
5
|
import React2, { memo, useState, createContext, forwardRef, useMemo, useCallback, useId, useRef, useContext, useEffect, Fragment as Fragment$1 } from 'react';
|
|
@@ -4356,16 +4356,16 @@ function DocumentEntity({
|
|
|
4356
4356
|
}
|
|
4357
4357
|
var VARIANT_STYLES = {
|
|
4358
4358
|
"mine-paid": {
|
|
4359
|
-
pill: "bg-primary text-primary
|
|
4360
|
-
icon: "text-primary
|
|
4359
|
+
pill: "bg-primary/10 text-primary border-border/60",
|
|
4360
|
+
icon: "text-primary"
|
|
4361
4361
|
},
|
|
4362
4362
|
other: {
|
|
4363
|
-
pill: "bg-secondary text-secondary
|
|
4364
|
-
icon: "text-secondary
|
|
4363
|
+
pill: "bg-secondary/10 text-secondary border-border/60",
|
|
4364
|
+
icon: "text-secondary"
|
|
4365
4365
|
},
|
|
4366
4366
|
"mine-free": {
|
|
4367
|
-
pill: "bg-muted-foreground text-
|
|
4368
|
-
icon: "text-
|
|
4367
|
+
pill: "bg-muted-foreground/10 text-muted-foreground border-border/60",
|
|
4368
|
+
icon: "text-muted-foreground"
|
|
4369
4369
|
},
|
|
4370
4370
|
common: {
|
|
4371
4371
|
pill: "",
|
|
@@ -4403,7 +4403,7 @@ function ProjectEntity({
|
|
|
4403
4403
|
icon: iconNode,
|
|
4404
4404
|
label: label ?? name,
|
|
4405
4405
|
size,
|
|
4406
|
-
shape: "
|
|
4406
|
+
shape: "rounded",
|
|
4407
4407
|
className: cn(pill, className),
|
|
4408
4408
|
onClick,
|
|
4409
4409
|
tooltipContent
|