@arbidocs/react 0.4.1 → 0.4.3

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.
@@ -114,14 +114,14 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
114
114
  declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
115
115
 
116
116
  declare const badgeVariants: (props?: ({
117
- variant?: "outline" | "default" | "accent" | "secondary" | "destructive" | null | undefined;
117
+ variant?: "default" | "outline" | "accent" | "secondary" | "destructive" | null | undefined;
118
118
  } & class_variance_authority_types.ClassProp) | undefined) => string;
119
119
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
120
120
  }
121
121
  declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
122
122
 
123
123
  declare const buttonVariants: (props?: ({
124
- variant?: "link" | "outline" | "default" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
124
+ variant?: "link" | "default" | "outline" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
125
125
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
126
126
  } & class_variance_authority_types.ClassProp) | undefined) => string;
127
127
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -228,20 +228,20 @@ interface SliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrim
228
228
  declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
229
229
 
230
230
  declare const toggleVariants: (props?: ({
231
- variant?: "outline" | "default" | null | undefined;
231
+ variant?: "default" | "outline" | null | undefined;
232
232
  size?: "default" | "sm" | "lg" | null | undefined;
233
233
  } & class_variance_authority_types.ClassProp) | undefined) => string;
234
234
  declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
235
- variant?: "outline" | "default" | null | undefined;
235
+ variant?: "default" | "outline" | null | undefined;
236
236
  size?: "default" | "sm" | "lg" | null | undefined;
237
237
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
238
238
 
239
239
  declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
240
- variant?: "outline" | "default" | null | undefined;
240
+ variant?: "default" | "outline" | null | undefined;
241
241
  size?: "default" | "sm" | "lg" | null | undefined;
242
242
  } & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
243
243
  declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
244
- variant?: "outline" | "default" | null | undefined;
244
+ variant?: "default" | "outline" | null | undefined;
245
245
  size?: "default" | "sm" | "lg" | null | undefined;
246
246
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
247
247
 
@@ -367,7 +367,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
367
367
  ref?: React$1.Ref<HTMLDivElement>;
368
368
  } & {
369
369
  asChild?: boolean;
370
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
370
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
371
371
  label?: string;
372
372
  shouldFilter?: boolean;
373
373
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -393,7 +393,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
393
393
  ref?: React$1.Ref<HTMLDivElement>;
394
394
  } & {
395
395
  asChild?: boolean;
396
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
396
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
397
397
  label?: string;
398
398
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
399
399
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
@@ -402,14 +402,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
402
402
  ref?: React$1.Ref<HTMLDivElement>;
403
403
  } & {
404
404
  asChild?: boolean;
405
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
405
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
406
406
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
407
407
  children?: React$1.ReactNode;
408
408
  } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
409
409
  ref?: React$1.Ref<HTMLDivElement>;
410
410
  } & {
411
411
  asChild?: boolean;
412
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
412
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
413
413
  heading?: React$1.ReactNode;
414
414
  value?: string;
415
415
  forceMount?: boolean;
@@ -418,7 +418,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
418
418
  ref?: React$1.Ref<HTMLDivElement>;
419
419
  } & {
420
420
  asChild?: boolean;
421
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
421
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
422
422
  alwaysRender?: boolean;
423
423
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
424
424
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
@@ -427,7 +427,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
427
427
  ref?: React$1.Ref<HTMLDivElement>;
428
428
  } & {
429
429
  asChild?: boolean;
430
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "disabled" | "onSelect"> & {
430
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
431
431
  disabled?: boolean;
432
432
  onSelect?: (value: string) => void;
433
433
  value?: string;
@@ -114,14 +114,14 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
114
114
  declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
115
115
 
116
116
  declare const badgeVariants: (props?: ({
117
- variant?: "outline" | "default" | "accent" | "secondary" | "destructive" | null | undefined;
117
+ variant?: "default" | "outline" | "accent" | "secondary" | "destructive" | null | undefined;
118
118
  } & class_variance_authority_types.ClassProp) | undefined) => string;
119
119
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
120
120
  }
121
121
  declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
122
122
 
123
123
  declare const buttonVariants: (props?: ({
124
- variant?: "link" | "outline" | "default" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
124
+ variant?: "link" | "default" | "outline" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
125
125
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
126
126
  } & class_variance_authority_types.ClassProp) | undefined) => string;
127
127
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -228,20 +228,20 @@ interface SliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrim
228
228
  declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
229
229
 
230
230
  declare const toggleVariants: (props?: ({
231
- variant?: "outline" | "default" | null | undefined;
231
+ variant?: "default" | "outline" | null | undefined;
232
232
  size?: "default" | "sm" | "lg" | null | undefined;
233
233
  } & class_variance_authority_types.ClassProp) | undefined) => string;
234
234
  declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
235
- variant?: "outline" | "default" | null | undefined;
235
+ variant?: "default" | "outline" | null | undefined;
236
236
  size?: "default" | "sm" | "lg" | null | undefined;
237
237
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
238
238
 
239
239
  declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
240
- variant?: "outline" | "default" | null | undefined;
240
+ variant?: "default" | "outline" | null | undefined;
241
241
  size?: "default" | "sm" | "lg" | null | undefined;
242
242
  } & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
243
243
  declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
244
- variant?: "outline" | "default" | null | undefined;
244
+ variant?: "default" | "outline" | null | undefined;
245
245
  size?: "default" | "sm" | "lg" | null | undefined;
246
246
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
247
247
 
@@ -367,7 +367,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
367
367
  ref?: React$1.Ref<HTMLDivElement>;
368
368
  } & {
369
369
  asChild?: boolean;
370
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
370
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
371
371
  label?: string;
372
372
  shouldFilter?: boolean;
373
373
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -393,7 +393,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
393
393
  ref?: React$1.Ref<HTMLDivElement>;
394
394
  } & {
395
395
  asChild?: boolean;
396
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
396
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
397
397
  label?: string;
398
398
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
399
399
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
@@ -402,14 +402,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
402
402
  ref?: React$1.Ref<HTMLDivElement>;
403
403
  } & {
404
404
  asChild?: boolean;
405
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
405
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
406
406
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
407
407
  children?: React$1.ReactNode;
408
408
  } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
409
409
  ref?: React$1.Ref<HTMLDivElement>;
410
410
  } & {
411
411
  asChild?: boolean;
412
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
412
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
413
413
  heading?: React$1.ReactNode;
414
414
  value?: string;
415
415
  forceMount?: boolean;
@@ -418,7 +418,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
418
418
  ref?: React$1.Ref<HTMLDivElement>;
419
419
  } & {
420
420
  asChild?: boolean;
421
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
421
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
422
422
  alwaysRender?: boolean;
423
423
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
424
424
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
@@ -427,7 +427,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
427
427
  ref?: React$1.Ref<HTMLDivElement>;
428
428
  } & {
429
429
  asChild?: boolean;
430
- }, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "disabled" | "onSelect"> & {
430
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
431
431
  disabled?: boolean;
432
432
  onSelect?: (value: string) => void;
433
433
  value?: string;
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { AgentBadge, AiMarkdown, 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, EntityIcon, EntityPill, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, Input, Label, MarkMenu, MarkdownRenderer, MarkdownStreamingContext, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, 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, VisibilityIcon, badgeVariants, buttonVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, markdownBaseComponents, splitMarkdownBlocks, toggleVariants } from '../chunk-3CLGHHME.js';
1
+ export { AgentBadge, AiMarkdown, 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, EntityIcon, EntityPill, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, Input, Label, MarkMenu, MarkdownRenderer, MarkdownStreamingContext, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, 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, VisibilityIcon, badgeVariants, buttonVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, markdownBaseComponents, splitMarkdownBlocks, toggleVariants } from '../chunk-MIJRORQL.js';
2
2
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar, cn } from '../chunk-6ALMBER7.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -53,8 +53,8 @@
53
53
  "build-storybook": "storybook build"
54
54
  },
55
55
  "dependencies": {
56
- "@arbidocs/sdk": "0.4.1",
57
- "@arbidocs/client": "0.4.1",
56
+ "@arbidocs/sdk": "0.4.3",
57
+ "@arbidocs/client": "0.4.3",
58
58
  "@radix-ui/react-avatar": "^1.2.0",
59
59
  "@radix-ui/react-checkbox": "^1.3.5",
60
60
  "@radix-ui/react-collapsible": "^1.1.14",