@codefast/ui 0.5.0-canary.3 → 0.5.0-canary.5

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/CHANGELOG.md CHANGED
@@ -1,21 +1,47 @@
1
1
  # @codefast/ui
2
2
 
3
+ ## 0.5.0-canary.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @codefast/tailwind-variants@0.5.0-canary.5
9
+
10
+ ## 0.5.0-canary.4
11
+
12
+ ### Minor Changes
13
+
14
+ - [`ca47aff`](https://github.com/codefastlabs/codefast/commit/ca47aff20ebb5ac9e4c3db759da31102ff9d5f84) Thanks [@thevuong](https://github.com/thevuong)! - Rename four APIs whose names misstated their role (Swift API Design Guidelines pass).
15
+
16
+ **Breaking:**
17
+
18
+ - `ProgressCircle`: `animate` → `animated` (a boolean should read as an assertion, not a bare verb) and `customLabel` → `renderLabel` (the prop holds a render function, not a label value; "custom" was filler). `useAnimatedValue`'s third parameter follows suit.
19
+ - `MessageScrollerItem`: `scrollAnchor` → `isScrollAnchor` (assertion form, matching the existing `isActive` convention). The emitted `data-scroll-anchor` attribute is unchanged.
20
+ - `UsePaginationProps` → `UsePaginationOptions` — a hook takes options, not component props.
21
+
22
+ ### Patch Changes
23
+
24
+ - [`3e1050b`](https://github.com/codefastlabs/codefast/commit/3e1050b4e51e8eefd5fce9a979e78acce09a0683) Thanks [@thevuong](https://github.com/thevuong)! - Remove the dead `separator` prop from the `Breadcrumb` root — it was never consumed (a vestige of the old upstream shape) and only leaked onto the `<nav>` element as an invalid DOM attribute. Custom separators keep working the supported way: pass children to `<BreadcrumbSeparator>`.
25
+
26
+ - Updated dependencies []:
27
+ - @codefast/tailwind-variants@0.5.0-canary.4
28
+
3
29
  ## 0.5.0-canary.3
4
30
 
5
31
  ### Minor Changes
6
32
 
7
- - [#552](https://github.com/codefastlabs/codefast/pull/552) [`78bf5a4`](https://github.com/codefastlabs/codefast/commit/78bf5a494de8276f5eeb262bc5dc45c882bb63f7) Thanks [@thevuong](https://github.com/thevuong)! - Refine two surfaces after comparing with shadcn radix-nova:
33
+ - [#552](https://github.com/codefastlabs/codefast/pull/552) [`78bf5a4`](https://github.com/codefastlabs/codefast/commit/78bf5a494de8276f5eeb262bc5dc45c882bb63f7) Thanks [@thevuong](https://github.com/thevuong)! - Refine two surfaces for a more consistent container language:
8
34
 
9
35
  - `CardFooter` is now a distinct tinted tray by default (`border-t bg-muted/50` with full `--card-spacing` padding). `Card` drops its bottom padding when a footer is present (`has-data-[slot=card-footer]:pb-0`) so the tint reaches the card's bottom edge. Footers that previously relied on the transparent, opt-in-border behavior will now render with a background and top border.
10
36
  - `Empty` uses `rounded-xl` instead of `rounded-lg`, matching `Card`'s corner radius for a consistent container language.
11
37
 
12
- - [#552](https://github.com/codefastlabs/codefast/pull/552) [`e7839f2`](https://github.com/codefastlabs/codefast/commit/e7839f2d49da7b3af805aafcb6863a32e18e9563) Thanks [@thevuong](https://github.com/thevuong)! - Add chat surface components adapted from shadcn radix-nova: `Attachment` (file/media card with upload states, three sizes, and horizontal/vertical orientations), `Bubble` (message bubble with seven variants, alignment, and reaction pills), `Message` (avatar + content row with start/end alignment), and `Marker` (inline feed divider). Each ships per-component and `./variants/*` subpath exports, stories, and unit tests.
38
+ - [#552](https://github.com/codefastlabs/codefast/pull/552) [`e7839f2`](https://github.com/codefastlabs/codefast/commit/e7839f2d49da7b3af805aafcb6863a32e18e9563) Thanks [@thevuong](https://github.com/thevuong)! - Add chat surface components: `Attachment` (file/media card with upload states, three sizes, and horizontal/vertical orientations), `Bubble` (message bubble with seven variants, alignment, and reaction pills), `Message` (avatar + content row with start/end alignment), and `Marker` (inline feed divider). Each ships per-component and `./variants/*` subpath exports, stories, and unit tests.
13
39
 
14
40
  Also adds `scroll-fade-*` (scroll-aware, RTL-mirrored edge fades) and `shimmer` (text loading shimmer) utilities to the foundation preset, used by these components and available on any scroller.
15
41
 
16
42
  - [#552](https://github.com/codefastlabs/codefast/pull/552) [`5e74e3e`](https://github.com/codefastlabs/codefast/commit/5e74e3e426a10d26f86a053a15acf971dc0115dc) Thanks [@thevuong](https://github.com/thevuong)! - Add `MessageScroller`, a headless-driven scroll manager for chat transcripts: follow-the-bottom autoscroll, scroll preservation on prepend, anchored streaming turns, `defaultScrollPosition`, and a self-hiding scroll-to-edge button. Ships the styled component (`@codefast/ui/message-scroller`), the headless primitive (`@codefast/ui/primitives/message-scroller`), and the `useMessageScroller`, `useMessageScrollerScrollable`, and `useMessageScrollerVisibility` hooks.
17
43
 
18
- The scroll engine (geometry, stores, and controller hooks) is vendored from shadcn's `@shadcn/react/message-scroller` into `@codefast/ui` internals and adapted to codefast conventions, so it carries no extra runtime dependency. Adds an internal `useRender` utility that backs the primitives' `render` prop.
44
+ The scroll engine (geometry, stores, and controller hooks) is vendored from an external message-scroller implementation into `@codefast/ui` internals and adapted to codefast conventions, so it carries no extra runtime dependency. Adds an internal `useRender` utility that backs the primitives' `render` prop.
19
45
 
20
46
  - [#552](https://github.com/codefastlabs/codefast/pull/552) [`feb5639`](https://github.com/codefastlabs/codefast/commit/feb5639ea4443b8c1c90e638e3f9d12e6a32b14e) Thanks [@thevuong](https://github.com/thevuong)! - Complete RTL hardening across the component library, closing the last physical-direction gaps and making the carousel direction-aware.
21
47
 
@@ -1,12 +1,10 @@
1
- import { ComponentProps, JSX, ReactNode } from "react";
1
+ import { ComponentProps, JSX } from "react";
2
2
 
3
3
  //#region src/components/breadcrumb.d.ts
4
4
  /**
5
5
  * @since 0.3.16-canary.0
6
6
  */
7
- interface BreadcrumbProps extends ComponentProps<"nav"> {
8
- separator?: ReactNode;
9
- }
7
+ type BreadcrumbProps = ComponentProps<"nav">;
10
8
  /**
11
9
  * @since 0.3.16-canary.0
12
10
  */
@@ -64,7 +64,7 @@ type MessageScrollerItemProps = ComponentProps<typeof MessageScrollerItem$1>;
64
64
  */
65
65
  declare function MessageScrollerItem({
66
66
  className,
67
- scrollAnchor,
67
+ isScrollAnchor,
68
68
  ...props
69
69
  }: MessageScrollerItemProps): JSX.Element;
70
70
  /**
@@ -43,11 +43,11 @@ function MessageScrollerContent({ className, ...props }) {
43
43
  /**
44
44
  * @since 0.5.0-canary.3
45
45
  */
46
- function MessageScrollerItem({ className, scrollAnchor = false, ...props }) {
46
+ function MessageScrollerItem({ className, isScrollAnchor = false, ...props }) {
47
47
  return /* @__PURE__ */ jsx(MessageScrollerItem$1, {
48
48
  className: cn("min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]", className),
49
49
  "data-slot": "message-scroller-item",
50
- scrollAnchor,
50
+ isScrollAnchor,
51
51
  ...props
52
52
  });
53
53
  }
@@ -10,7 +10,7 @@ interface ProgressCircleProps extends Omit<ComponentProps<typeof ProgressCircleP
10
10
  /**
11
11
  * Enables animation effect when value changes
12
12
  */
13
- animate?: boolean;
13
+ animated?: boolean;
14
14
  /**
15
15
  * Duration of the animation in milliseconds
16
16
  */
@@ -49,7 +49,7 @@ interface ProgressCircleProps extends Omit<ComponentProps<typeof ProgressCircleP
49
49
  * @param value - Current value of the component
50
50
  * @returns React element to display in the center of the circle
51
51
  */
52
- customLabel?: ({
52
+ renderLabel?: ({
53
53
  value
54
54
  }: {
55
55
  value: number;
@@ -68,11 +68,11 @@ interface ProgressCircleProps extends Omit<ComponentProps<typeof ProgressCircleP
68
68
  * @since 0.3.16-canary.0
69
69
  */
70
70
  declare function ProgressCircle({
71
- animate,
71
+ animated,
72
72
  animationDuration,
73
73
  className,
74
74
  classNames,
75
- customLabel,
75
+ renderLabel,
76
76
  showValue,
77
77
  size,
78
78
  sizeInPixels,
@@ -7,8 +7,8 @@ import { useCallback, useMemo } from "react";
7
7
  /**
8
8
  * @since 0.3.16-canary.0
9
9
  */
10
- function ProgressCircle({ animate = true, animationDuration = 1e3, className, classNames, customLabel, showValue = false, size, sizeInPixels, strokeWidth, thickness = "regular", value = 0, variant = "default", ...props }) {
11
- const displayValue = useAnimatedValue(value, animationDuration, animate);
10
+ function ProgressCircle({ animated = true, animationDuration = 1e3, className, classNames, renderLabel, showValue = false, size, sizeInPixels, strokeWidth, thickness = "regular", value = 0, variant = "default", ...props }) {
11
+ const displayValue = useAnimatedValue(value, animationDuration, animated);
12
12
  const actualSize = useMemo(() => sizeInPixels ?? getActualSize(size), [sizeInPixels, size]);
13
13
  const actualThickness = useMemo(() => strokeWidth ?? getStrokeWidth(thickness, actualSize), [
14
14
  strokeWidth,
@@ -24,11 +24,11 @@ function ProgressCircle({ animate = true, animationDuration = 1e3, className, cl
24
24
  size,
25
25
  thickness
26
26
  ]);
27
- const shouldShowLabel = showValue || Boolean(customLabel);
28
- const renderLabel = useCallback(() => {
29
- if (customLabel) return customLabel({ value: displayValue });
27
+ const shouldShowLabel = showValue || Boolean(renderLabel);
28
+ const labelContent = useCallback(() => {
29
+ if (renderLabel) return renderLabel({ value: displayValue });
30
30
  return `${displayValue.toString()}%`;
31
- }, [customLabel, displayValue]);
31
+ }, [renderLabel, displayValue]);
32
32
  return /* @__PURE__ */ jsx(ProgressCircleProvider, {
33
33
  size: actualSize,
34
34
  strokeWidth: actualThickness,
@@ -47,7 +47,7 @@ function ProgressCircle({ animate = true, animationDuration = 1e3, className, cl
47
47
  })]
48
48
  }), shouldShowLabel ? /* @__PURE__ */ jsx(ProgressCircleValue, {
49
49
  className: slots.label({ className: classNames?.label }),
50
- children: renderLabel()
50
+ children: labelContent()
51
51
  }) : null]
52
52
  })
53
53
  });
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @param targetValue - Target number to animate toward; null resolves to 0.
9
9
  * @param duration - Animation duration in milliseconds.
10
- * @param animate - When false, bypasses animation and sets the value directly.
10
+ * @param animated - When false, bypasses animation and sets the value directly.
11
11
  * @returns The current (rounded) animated value.
12
12
  *
13
13
  * @example
@@ -18,6 +18,6 @@
18
18
  *
19
19
  * @since 0.3.16-canary.0
20
20
  */
21
- declare function useAnimatedValue(targetValue: null | number, duration: number, animate?: boolean): number;
21
+ declare function useAnimatedValue(targetValue: null | number, duration: number, animated?: boolean): number;
22
22
  //#endregion
23
23
  export { useAnimatedValue };
@@ -8,7 +8,7 @@ import { useEffect, useRef, useState } from "react";
8
8
  *
9
9
  * @param targetValue - Target number to animate toward; null resolves to 0.
10
10
  * @param duration - Animation duration in milliseconds.
11
- * @param animate - When false, bypasses animation and sets the value directly.
11
+ * @param animated - When false, bypasses animation and sets the value directly.
12
12
  * @returns The current (rounded) animated value.
13
13
  *
14
14
  * @example
@@ -19,7 +19,7 @@ import { useEffect, useRef, useState } from "react";
19
19
  *
20
20
  * @since 0.3.16-canary.0
21
21
  */
22
- function useAnimatedValue(targetValue, duration, animate) {
22
+ function useAnimatedValue(targetValue, duration, animated) {
23
23
  const actualTargetValue = targetValue ?? 0;
24
24
  const [animatedValue, setAnimatedValue] = useState(actualTargetValue);
25
25
  const animatedValueRef = useRef(actualTargetValue);
@@ -27,7 +27,7 @@ function useAnimatedValue(targetValue, duration, animate) {
27
27
  animatedValueRef.current = animatedValue;
28
28
  }, [animatedValue]);
29
29
  useEffect(() => {
30
- if (!animate) {
30
+ if (!animated) {
31
31
  setAnimatedValue(actualTargetValue);
32
32
  return;
33
33
  }
@@ -57,7 +57,7 @@ function useAnimatedValue(targetValue, duration, animate) {
57
57
  }, [
58
58
  actualTargetValue,
59
59
  duration,
60
- animate
60
+ animated
61
61
  ]);
62
62
  return Math.round(animatedValue);
63
63
  }
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @since 0.3.16-canary.0
4
4
  */
5
- interface UsePaginationProps {
5
+ interface UsePaginationOptions {
6
6
  /**
7
7
  * Current active page number.
8
8
  */
@@ -34,7 +34,7 @@ declare const ELLIPSIS = "\u2022\u2022\u2022";
34
34
  * collapsed ranges. The shape adapts to the total pages and the requested
35
35
  * sibling window around the current page.
36
36
  *
37
- * @param props - Pagination options. See {@link UsePaginationProps}.
37
+ * @param props - Pagination options. See {@link UsePaginationOptions}.
38
38
  * @returns Array of page numbers and `ELLIPSIS` representing the pagination model.
39
39
  *
40
40
  * @example
@@ -54,6 +54,6 @@ declare function usePagination({
54
54
  resultsPerPage,
55
55
  siblingPagesCount,
56
56
  totalResults
57
- }: UsePaginationProps): Array<number | string>;
57
+ }: UsePaginationOptions): Array<number | string>;
58
58
  //#endregion
59
- export { ELLIPSIS, UsePaginationProps, usePagination };
59
+ export { ELLIPSIS, UsePaginationOptions, usePagination };
@@ -24,7 +24,7 @@ const createRange = (start, end) => {
24
24
  * collapsed ranges. The shape adapts to the total pages and the requested
25
25
  * sibling window around the current page.
26
26
  *
27
- * @param props - Pagination options. See {@link UsePaginationProps}.
27
+ * @param props - Pagination options. See {@link UsePaginationOptions}.
28
28
  * @returns Array of page numbers and `ELLIPSIS` representing the pagination model.
29
29
  *
30
30
  * @example
package/dist/index.d.mts CHANGED
@@ -91,6 +91,6 @@ import { useCopyToClipboard } from "./hooks/use-copy-to-clipboard.mjs";
91
91
  import { useIsMobile } from "./hooks/use-is-mobile.mjs";
92
92
  import { useMediaQuery } from "./hooks/use-media-query.mjs";
93
93
  import { useMutationObserver } from "./hooks/use-mutation-observer.mjs";
94
- import { ELLIPSIS, UsePaginationProps, usePagination } from "./hooks/use-pagination.mjs";
94
+ import { ELLIPSIS, UsePaginationOptions, usePagination } from "./hooks/use-pagination.mjs";
95
95
  import { NavigationMenuTriggerVariants, navigationMenuTriggerVariants } from "./variants/navigation-menu.mjs";
96
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertAction, type AlertActionProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBody, type AlertDialogBodyProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, AlertTitle, type AlertTitleProps, type AlertVariants, AspectRatio, type AspectRatioProps, Attachment, AttachmentAction, type AttachmentActionProps, AttachmentActions, type AttachmentActionsProps, AttachmentContent, type AttachmentContentProps, AttachmentDescription, type AttachmentDescriptionProps, AttachmentGroup, type AttachmentGroupProps, AttachmentMedia, type AttachmentMediaProps, type AttachmentMediaVariants, type AttachmentProps, AttachmentTitle, type AttachmentTitleProps, AttachmentTrigger, type AttachmentTriggerProps, type AttachmentVariants, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariants, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsVariants, type BubbleVariants, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupVariants, type ButtonProps, type ButtonVariants, Calendar, CalendarDayButton, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type ChartConfig, ChartContainer, type ChartContainerProps, ChartLegend, ChartLegendContent, type ChartLegendContentProps, type ChartLegendProps, ChartStyle, type ChartStyleProps, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipProps, Checkbox, CheckboxCards, CheckboxCardsItem, type CheckboxCardsItemProps, type CheckboxCardsProps, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuArrow, type DropdownMenuArrowProps, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, ELLIPSIS, Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyMediaVariants, type EmptyProps, EmptyTitle, type EmptyTitleProps, Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps, type FieldVariants, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, HoverCard, HoverCardArrow, type HoverCardArrowProps, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAddonVariants, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonVariants, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputGroupVariants, InputNumber, type InputNumberProps, InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps, InputPassword, type InputPasswordProps, type InputProps, InputSearch, type InputSearchProps, Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemMediaVariants, type ItemProps, ItemSeparator, type ItemSeparatorProps, ItemTitle, type ItemTitleProps, type ItemVariants, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, Marker, MarkerContent, type MarkerContentProps, MarkerIcon, type MarkerIconProps, type MarkerProps, type MarkerVariants, Menubar, MenubarArrow, type MenubarArrowProps, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, Message, MessageAvatar, type MessageAvatarProps, MessageContent, type MessageContentProps, MessageFooter, type MessageFooterProps, MessageGroup, type MessageGroupProps, MessageHeader, type MessageHeaderProps, type MessageProps, MessageScroller, MessageScrollerButton, type MessageScrollerButtonProps, MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerDefaultScrollPosition, MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerProps, MessageScrollerProvider, type MessageScrollerProviderProps, type MessageScrollerScrollAlign, type MessageScrollerScrollOptions, type MessageScrollerScrollable, MessageScrollerViewport, type MessageScrollerViewportProps, type MessageScrollerVisibilityState, NativeSelect, NativeSelectOptGroup, type NativeSelectOptGroupProps, NativeSelectOption, type NativeSelectOptionProps, type NativeSelectProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, type NavigationMenuTriggerVariants, NavigationMenuViewport, type NavigationMenuViewportProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverArrow, type PopoverArrowProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, Progress, ProgressCircle, type ProgressCircleProps, type ProgressCircleVariants, type ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, ResizableGroup, type ResizableGroupProps, ResizablePanel, type ResizablePanelProps, ResizableSeparator, type ResizableSeparatorProps, ScrollArea, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, type ScrollAreaScrollbarVariants, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, SeparatorItem, type SeparatorItemProps, type SeparatorProps, type SeparatorVariants, Sheet, SheetBody, type SheetBodyProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentVariants, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonVariants, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariants, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleVariants, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, type UsePaginationProps, alertVariants, attachmentMediaVariants, attachmentVariants, badgeVariants, bubbleReactionsVariants, bubbleVariants, buttonGroupVariants, buttonVariants, createCarouselScope, createChartScope, createFormFieldScope, emptyMediaVariants, fieldVariants, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, itemMediaVariants, itemVariants, markerVariants, navigationMenuTriggerVariants, progressCircleVariants, scrollAreaScrollbarVariants, separatorVariants, sheetContentVariants, sidebarMenuButtonVariants, tabsListVariants, toast, toggleVariants, useAnimatedValue, useCopyToClipboard, useDirection, useIsMobile, useMediaQuery, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useMutationObserver, usePagination, useSidebar, useSonner };
96
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertAction, type AlertActionProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBody, type AlertDialogBodyProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, AlertTitle, type AlertTitleProps, type AlertVariants, AspectRatio, type AspectRatioProps, Attachment, AttachmentAction, type AttachmentActionProps, AttachmentActions, type AttachmentActionsProps, AttachmentContent, type AttachmentContentProps, AttachmentDescription, type AttachmentDescriptionProps, AttachmentGroup, type AttachmentGroupProps, AttachmentMedia, type AttachmentMediaProps, type AttachmentMediaVariants, type AttachmentProps, AttachmentTitle, type AttachmentTitleProps, AttachmentTrigger, type AttachmentTriggerProps, type AttachmentVariants, Avatar, AvatarBadge, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariants, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsVariants, type BubbleVariants, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupVariants, type ButtonProps, type ButtonVariants, Calendar, CalendarDayButton, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type ChartConfig, ChartContainer, type ChartContainerProps, ChartLegend, ChartLegendContent, type ChartLegendContentProps, type ChartLegendProps, ChartStyle, type ChartStyleProps, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipProps, Checkbox, CheckboxCards, CheckboxCardsItem, type CheckboxCardsItemProps, type CheckboxCardsProps, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DirectionProvider, type DirectionProviderProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuArrow, type DropdownMenuArrowProps, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, ELLIPSIS, Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyMediaVariants, type EmptyProps, EmptyTitle, type EmptyTitleProps, Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps, type FieldVariants, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, HoverCard, HoverCardArrow, type HoverCardArrowProps, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAddonVariants, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonVariants, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputGroupVariants, InputNumber, type InputNumberProps, InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps, InputPassword, type InputPasswordProps, type InputProps, InputSearch, type InputSearchProps, Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemMediaVariants, type ItemProps, ItemSeparator, type ItemSeparatorProps, ItemTitle, type ItemTitleProps, type ItemVariants, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, Marker, MarkerContent, type MarkerContentProps, MarkerIcon, type MarkerIconProps, type MarkerProps, type MarkerVariants, Menubar, MenubarArrow, type MenubarArrowProps, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, Message, MessageAvatar, type MessageAvatarProps, MessageContent, type MessageContentProps, MessageFooter, type MessageFooterProps, MessageGroup, type MessageGroupProps, MessageHeader, type MessageHeaderProps, type MessageProps, MessageScroller, MessageScrollerButton, type MessageScrollerButtonProps, MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerDefaultScrollPosition, MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerProps, MessageScrollerProvider, type MessageScrollerProviderProps, type MessageScrollerScrollAlign, type MessageScrollerScrollOptions, type MessageScrollerScrollable, MessageScrollerViewport, type MessageScrollerViewportProps, type MessageScrollerVisibilityState, NativeSelect, NativeSelectOptGroup, type NativeSelectOptGroupProps, NativeSelectOption, type NativeSelectOptionProps, type NativeSelectProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, type NavigationMenuTriggerVariants, NavigationMenuViewport, type NavigationMenuViewportProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverArrow, type PopoverArrowProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, Progress, ProgressCircle, type ProgressCircleProps, type ProgressCircleVariants, type ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, ResizableGroup, type ResizableGroupProps, ResizablePanel, type ResizablePanelProps, ResizableSeparator, type ResizableSeparatorProps, ScrollArea, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, type ScrollAreaScrollbarVariants, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, SeparatorItem, type SeparatorItemProps, type SeparatorProps, type SeparatorVariants, Sheet, SheetBody, type SheetBodyProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentVariants, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonVariants, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariants, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleVariants, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, type UsePaginationOptions, alertVariants, attachmentMediaVariants, attachmentVariants, badgeVariants, bubbleReactionsVariants, bubbleVariants, buttonGroupVariants, buttonVariants, createCarouselScope, createChartScope, createFormFieldScope, emptyMediaVariants, fieldVariants, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, itemMediaVariants, itemVariants, markerVariants, navigationMenuTriggerVariants, progressCircleVariants, scrollAreaScrollbarVariants, separatorVariants, sheetContentVariants, sidebarMenuButtonVariants, tabsListVariants, toast, toggleVariants, useAnimatedValue, useCopyToClipboard, useDirection, useIsMobile, useMediaQuery, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useMutationObserver, usePagination, useSidebar, useSonner };
@@ -96,7 +96,7 @@ type MessageScrollerContentProps = ComponentProps<"div"> & {
96
96
  */
97
97
  type MessageScrollerItemProps = ComponentProps<"div"> & {
98
98
  messageId?: string;
99
- scrollAnchor?: boolean;
99
+ isScrollAnchor?: boolean;
100
100
  };
101
101
  /**
102
102
  * @since 0.5.0-canary.3
@@ -68,7 +68,7 @@ declare function MessageScrollerContent({
68
68
  declare function MessageScrollerItem({
69
69
  messageId,
70
70
  ref,
71
- scrollAnchor,
71
+ isScrollAnchor,
72
72
  ...props
73
73
  }: MessageScrollerItemProps): import("react").JSX.Element;
74
74
  /**
@@ -172,7 +172,7 @@ function MessageScrollerContent({ "aria-relevant": ariaRelevant, children, ref,
172
172
  /**
173
173
  * @since 0.5.0-canary.3
174
174
  */
175
- function MessageScrollerItem({ messageId, ref, scrollAnchor = false, ...props }) {
175
+ function MessageScrollerItem({ messageId, ref, isScrollAnchor = false, ...props }) {
176
176
  const registerMessage = useMessageScrollerItemContext();
177
177
  const elementRef = useRef(null);
178
178
  return /* @__PURE__ */ jsx("div", {
@@ -187,7 +187,7 @@ function MessageScrollerItem({ messageId, ref, scrollAnchor = false, ...props })
187
187
  registerMessage
188
188
  ]),
189
189
  "data-message-id": messageId,
190
- "data-scroll-anchor": scrollAnchor ? "true" : "false",
190
+ "data-scroll-anchor": isScrollAnchor ? "true" : "false",
191
191
  ...props
192
192
  });
193
193
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.5.0-canary.3",
3
+ "version": "0.5.0-canary.5",
4
4
  "description": "Core UI components library built with React and Tailwind CSS",
5
5
  "keywords": [
6
6
  "components",
@@ -100,6 +100,11 @@
100
100
  "types": "./dist/components/breadcrumb.d.mts",
101
101
  "import": "./dist/components/breadcrumb.mjs"
102
102
  },
103
+ "./bubble": {
104
+ "source": "./src/components/bubble.tsx",
105
+ "types": "./dist/components/bubble.d.mts",
106
+ "import": "./dist/components/bubble.mjs"
107
+ },
103
108
  "./button": {
104
109
  "source": "./src/components/button.tsx",
105
110
  "types": "./dist/components/button.d.mts",
@@ -110,11 +115,6 @@
110
115
  "types": "./dist/components/button-group.d.mts",
111
116
  "import": "./dist/components/button-group.mjs"
112
117
  },
113
- "./bubble": {
114
- "source": "./src/components/bubble.tsx",
115
- "types": "./dist/components/bubble.d.mts",
116
- "import": "./dist/components/bubble.mjs"
117
- },
118
118
  "./calendar": {
119
119
  "source": "./src/components/calendar.tsx",
120
120
  "types": "./dist/components/calendar.d.mts",
@@ -420,6 +420,21 @@
420
420
  "types": "./dist/hooks/use-media-query.d.mts",
421
421
  "import": "./dist/hooks/use-media-query.mjs"
422
422
  },
423
+ "./hooks/use-message-scroller-commands": {
424
+ "source": "./src/hooks/use-message-scroller-commands.ts",
425
+ "types": "./dist/hooks/use-message-scroller-commands.d.mts",
426
+ "import": "./dist/hooks/use-message-scroller-commands.mjs"
427
+ },
428
+ "./hooks/use-message-scroller-controller": {
429
+ "source": "./src/hooks/use-message-scroller-controller.ts",
430
+ "types": "./dist/hooks/use-message-scroller-controller.d.mts",
431
+ "import": "./dist/hooks/use-message-scroller-controller.mjs"
432
+ },
433
+ "./hooks/use-message-scroller-refs": {
434
+ "source": "./src/hooks/use-message-scroller-refs.ts",
435
+ "types": "./dist/hooks/use-message-scroller-refs.d.mts",
436
+ "import": "./dist/hooks/use-message-scroller-refs.mjs"
437
+ },
423
438
  "./hooks/use-mutation-observer": {
424
439
  "source": "./src/hooks/use-mutation-observer.ts",
425
440
  "types": "./dist/hooks/use-mutation-observer.d.mts",
@@ -430,6 +445,31 @@
430
445
  "types": "./dist/hooks/use-pagination.d.mts",
431
446
  "import": "./dist/hooks/use-pagination.mjs"
432
447
  },
448
+ "./lib/message-scroller/geometry": {
449
+ "source": "./src/lib/message-scroller/geometry.ts",
450
+ "types": "./dist/lib/message-scroller/geometry.d.mts",
451
+ "import": "./dist/lib/message-scroller/geometry.mjs"
452
+ },
453
+ "./lib/message-scroller/stores": {
454
+ "source": "./src/lib/message-scroller/stores.ts",
455
+ "types": "./dist/lib/message-scroller/stores.d.mts",
456
+ "import": "./dist/lib/message-scroller/stores.mjs"
457
+ },
458
+ "./lib/message-scroller/types": {
459
+ "source": "./src/lib/message-scroller/types.ts",
460
+ "types": "./dist/lib/message-scroller/types.d.mts",
461
+ "import": "./dist/lib/message-scroller/types.mjs"
462
+ },
463
+ "./lib/message-scroller/utils": {
464
+ "source": "./src/lib/message-scroller/utils.ts",
465
+ "types": "./dist/lib/message-scroller/utils.d.mts",
466
+ "import": "./dist/lib/message-scroller/utils.mjs"
467
+ },
468
+ "./lib/use-render": {
469
+ "source": "./src/lib/use-render.ts",
470
+ "types": "./dist/lib/use-render.d.mts",
471
+ "import": "./dist/lib/use-render.mjs"
472
+ },
433
473
  "./lib/utils": {
434
474
  "source": "./src/lib/utils.ts",
435
475
  "types": "./dist/lib/utils.d.mts",
@@ -574,13 +614,13 @@
574
614
  "lucide-react": "^1.23.0",
575
615
  "next-themes": "^0.4.6",
576
616
  "radix-ui": "^1.6.1",
577
- "react-hook-form": "^7.80.0",
617
+ "react-hook-form": "^7.81.0",
578
618
  "react-resizable-panels": "^4.12.1",
579
619
  "recharts": "^3.9.2",
580
620
  "sonner": "^2.0.7",
581
621
  "tw-animate-css": "^1.4.0",
582
622
  "vaul": "^1.1.2",
583
- "@codefast/tailwind-variants": "0.5.0-canary.3"
623
+ "@codefast/tailwind-variants": "0.5.0-canary.5"
584
624
  },
585
625
  "devDependencies": {
586
626
  "@storybook/addon-a11y": "^10.4.6",
@@ -594,7 +634,7 @@
594
634
  "@testing-library/user-event": "^14.6.1",
595
635
  "@types/jest-axe": "^3.5.9",
596
636
  "@types/node": "^26.1.0",
597
- "@typescript/native-preview": "7.0.0-dev.20260703.1",
637
+ "@typescript/native-preview": "7.0.0-dev.20260704.1",
598
638
  "@vitejs/plugin-react": "^6.0.3",
599
639
  "@vitest/browser": "^4.1.9",
600
640
  "@vitest/browser-playwright": "^4.1.9",
@@ -608,7 +648,7 @@
608
648
  "tsdown": "^0.22.3",
609
649
  "typescript": "^6.0.3",
610
650
  "vitest": "^4.1.9",
611
- "@codefast/typescript-config": "0.5.0-canary.3"
651
+ "@codefast/typescript-config": "0.5.0-canary.5"
612
652
  },
613
653
  "peerDependencies": {
614
654
  "@types/react": ">=19.0.0",
@@ -1,6 +1,6 @@
1
1
  import { ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
2
2
  import { Slot } from "radix-ui";
3
- import type { ComponentProps, JSX, ReactNode } from "react";
3
+ import type { ComponentProps, JSX } from "react";
4
4
 
5
5
  import { cn } from "#/lib/utils";
6
6
 
@@ -11,9 +11,7 @@ import { cn } from "#/lib/utils";
11
11
  /**
12
12
  * @since 0.3.16-canary.0
13
13
  */
14
- interface BreadcrumbProps extends ComponentProps<"nav"> {
15
- separator?: ReactNode;
16
- }
14
+ type BreadcrumbProps = ComponentProps<"nav">;
17
15
 
18
16
  /**
19
17
  * @since 0.3.16-canary.0
@@ -122,12 +122,12 @@ type MessageScrollerItemProps = ComponentProps<typeof MessageScrollerItemPrimiti
122
122
  /**
123
123
  * @since 0.5.0-canary.3
124
124
  */
125
- function MessageScrollerItem({ className, scrollAnchor = false, ...props }: MessageScrollerItemProps): JSX.Element {
125
+ function MessageScrollerItem({ className, isScrollAnchor = false, ...props }: MessageScrollerItemProps): JSX.Element {
126
126
  return (
127
127
  <MessageScrollerItemPrimitive
128
128
  className={cn("min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]", className)}
129
129
  data-slot="message-scroller-item"
130
- scrollAnchor={scrollAnchor}
130
+ isScrollAnchor={isScrollAnchor}
131
131
  {...props}
132
132
  />
133
133
  );
@@ -18,7 +18,7 @@ interface ProgressCircleProps
18
18
  /**
19
19
  * Enables animation effect when value changes
20
20
  */
21
- animate?: boolean;
21
+ animated?: boolean;
22
22
 
23
23
  /**
24
24
  * Duration of the animation in milliseconds
@@ -65,7 +65,7 @@ interface ProgressCircleProps
65
65
  * @param value - Current value of the component
66
66
  * @returns React element to display in the center of the circle
67
67
  */
68
- customLabel?: ({ value }: { value: number }) => JSX.Element;
68
+ renderLabel?: ({ value }: { value: number }) => JSX.Element;
69
69
 
70
70
  /**
71
71
  * Display the numeric value in the center of the circle
@@ -83,11 +83,11 @@ interface ProgressCircleProps
83
83
  * @since 0.3.16-canary.0
84
84
  */
85
85
  function ProgressCircle({
86
- animate = true,
86
+ animated = true,
87
87
  animationDuration = 1000,
88
88
  className,
89
89
  classNames,
90
- customLabel,
90
+ renderLabel,
91
91
  showValue = false,
92
92
  size,
93
93
  sizeInPixels,
@@ -97,7 +97,7 @@ function ProgressCircle({
97
97
  variant = "default",
98
98
  ...props
99
99
  }: ProgressCircleProps): JSX.Element {
100
- const displayValue = useAnimatedValue(value, animationDuration, animate);
100
+ const displayValue = useAnimatedValue(value, animationDuration, animated);
101
101
 
102
102
  const actualSize = useMemo(() => sizeInPixels ?? getActualSize(size), [sizeInPixels, size]);
103
103
 
@@ -108,15 +108,15 @@ function ProgressCircle({
108
108
 
109
109
  const slots = useMemo(() => progressCircleVariants({ size, thickness, variant }), [variant, size, thickness]);
110
110
 
111
- const shouldShowLabel = showValue || Boolean(customLabel);
111
+ const shouldShowLabel = showValue || Boolean(renderLabel);
112
112
 
113
- const renderLabel = useCallback(() => {
114
- if (customLabel) {
115
- return customLabel({ value: displayValue });
113
+ const labelContent = useCallback(() => {
114
+ if (renderLabel) {
115
+ return renderLabel({ value: displayValue });
116
116
  }
117
117
 
118
118
  return `${displayValue.toString()}%`;
119
- }, [customLabel, displayValue]);
119
+ }, [renderLabel, displayValue]);
120
120
 
121
121
  return (
122
122
  <ProgressCirclePrimitive.Provider size={actualSize} strokeWidth={actualThickness} value={value} {...props}>
@@ -135,7 +135,7 @@ function ProgressCircle({
135
135
  </ProgressCirclePrimitive.SVG>
136
136
  {shouldShowLabel ? (
137
137
  <ProgressCirclePrimitive.Value className={slots.label({ className: classNames?.label })}>
138
- {renderLabel()}
138
+ {labelContent()}
139
139
  </ProgressCirclePrimitive.Value>
140
140
  ) : null}
141
141
  </ProgressCirclePrimitive.Root>
@@ -9,8 +9,8 @@
9
9
  * feature is unsupported. `shimmer` clips a moving highlight to text for
10
10
  * loading states. Both mirror in RTL.
11
11
  *
12
- * Vendored from shadcn-ui/ui packages/shadcn/src/tailwind.css (scroll-fade,
13
- * shimmer). Keep faithful so upstream fixes re-apply mechanically.
12
+ * Vendored from an external Tailwind preset (scroll-fade, shimmer). Keep
13
+ * faithful so upstream fixes re-apply mechanically.
14
14
  * ------------------------------------------------------------------------- */
15
15
 
16
16
  /* scroll-fade */
@@ -8,7 +8,7 @@ import { useEffect, useRef, useState } from "react";
8
8
  *
9
9
  * @param targetValue - Target number to animate toward; null resolves to 0.
10
10
  * @param duration - Animation duration in milliseconds.
11
- * @param animate - When false, bypasses animation and sets the value directly.
11
+ * @param animated - When false, bypasses animation and sets the value directly.
12
12
  * @returns The current (rounded) animated value.
13
13
  *
14
14
  * @example
@@ -19,7 +19,7 @@ import { useEffect, useRef, useState } from "react";
19
19
  *
20
20
  * @since 0.3.16-canary.0
21
21
  */
22
- export function useAnimatedValue(targetValue: null | number, duration: number, animate?: boolean): number {
22
+ export function useAnimatedValue(targetValue: null | number, duration: number, animated?: boolean): number {
23
23
  // Default to 0 when targetValue is null
24
24
  const actualTargetValue = targetValue ?? 0;
25
25
 
@@ -34,7 +34,7 @@ export function useAnimatedValue(targetValue: null | number, duration: number, a
34
34
  }, [animatedValue]);
35
35
 
36
36
  useEffect(() => {
37
- if (!animate) {
37
+ if (!animated) {
38
38
  setAnimatedValue(actualTargetValue);
39
39
 
40
40
  return;
@@ -85,7 +85,7 @@ export function useAnimatedValue(targetValue: null | number, duration: number, a
85
85
  return (): void => {
86
86
  cancelAnimationFrame(animationFrame);
87
87
  };
88
- }, [actualTargetValue, duration, animate]);
88
+ }, [actualTargetValue, duration, animated]);
89
89
 
90
90
  return Math.round(animatedValue);
91
91
  }
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/use-message-scroller-commands.ts
2
1
  // Callbacks read from stable refs; omitting them from deps is intentional and keeps identities stable.
3
2
  /* oxlint-disable react-hooks/exhaustive-deps */
4
3
  import { useCallback } from "react";
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/use-message-scroller-controller.ts
2
1
  // Callbacks read from stable refs; omitting them from deps is intentional and keeps identities stable.
3
2
  /* oxlint-disable react-hooks/exhaustive-deps */
4
3
  import { useCallback, useEffect, useLayoutEffect, useMemo, useRef } from "react";
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/use-message-scroller-refs.ts
2
1
  import { useRef } from "react";
3
2
  import type { RefObject } from "react";
4
3
 
@@ -3,7 +3,7 @@ import { useMemo } from "react";
3
3
  /**
4
4
  * @since 0.3.16-canary.0
5
5
  */
6
- export interface UsePaginationProps {
6
+ export interface UsePaginationOptions {
7
7
  /**
8
8
  * Current active page number.
9
9
  */
@@ -50,7 +50,7 @@ const createRange = (start: number, end: number): Array<number> => {
50
50
  * collapsed ranges. The shape adapts to the total pages and the requested
51
51
  * sibling window around the current page.
52
52
  *
53
- * @param props - Pagination options. See {@link UsePaginationProps}.
53
+ * @param props - Pagination options. See {@link UsePaginationOptions}.
54
54
  * @returns Array of page numbers and `ELLIPSIS` representing the pagination model.
55
55
  *
56
56
  * @example
@@ -70,7 +70,7 @@ export function usePagination({
70
70
  resultsPerPage,
71
71
  siblingPagesCount = 1,
72
72
  totalResults,
73
- }: UsePaginationProps): Array<number | string> {
73
+ }: UsePaginationOptions): Array<number | string> {
74
74
  return useMemo<Array<number | string>>(() => {
75
75
  // Total pages derived from results and page size
76
76
  const totalPages = Math.ceil(totalResults / Math.floor(resultsPerPage));
package/src/index.ts CHANGED
@@ -710,7 +710,7 @@ export { useIsMobile } from "#/hooks/use-is-mobile";
710
710
  export { useMediaQuery } from "#/hooks/use-media-query";
711
711
  export { useMutationObserver } from "#/hooks/use-mutation-observer";
712
712
  export { ELLIPSIS, usePagination } from "#/hooks/use-pagination";
713
- export type { UsePaginationProps } from "#/hooks/use-pagination";
713
+ export type { UsePaginationOptions } from "#/hooks/use-pagination";
714
714
  export { alertVariants } from "#/variants/alert";
715
715
  export type { AlertVariants } from "#/variants/alert";
716
716
  export { attachmentMediaVariants, attachmentVariants } from "#/variants/attachment";
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/geometry.ts
2
1
  import {
3
2
  EMPTY_MESSAGE_SCROLLER_SCROLLABLE,
4
3
  EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE,
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/stores.ts
2
1
  import { EMPTY_MESSAGE_SCROLLER_VISIBILITY_STATE } from "./types";
3
2
  import type {
4
3
  MessageScrollerScrollable,
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/types.ts
2
1
  import type { ComponentProps, ReactNode, RefObject } from "react";
3
2
 
4
3
  import type { UseRenderComponentProps } from "#/lib/use-render";
@@ -169,7 +168,7 @@ type MessageScrollerItemProps = ComponentProps<"div"> & {
169
168
  // Stable row id for scrollToMessage, visibility, and prepend preservation.
170
169
  messageId?: string;
171
170
  // Marks a turn boundary that newly appended anchors and last-anchor restore use.
172
- scrollAnchor?: boolean;
171
+ isScrollAnchor?: boolean;
173
172
  };
174
173
 
175
174
  // State passed to MessageScrollerButton's render prop.
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/utils.ts
2
1
  import { useRef } from "react";
3
2
 
4
3
  /**
@@ -1,5 +1,4 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/use-render. A poor man's
2
- // version of Base UI's useRender (https://base-ui.com/react/utils/use-render):
1
+ // A poor man's version of Base UI's useRender (https://base-ui.com/react/utils/use-render):
3
2
  // renders a default tag, a render function, or a cloned render element, merging
4
3
  // props/refs/handlers. Backs the message-scroller primitives' `render` prop.
5
4
  import type {
@@ -1,4 +1,3 @@
1
- // Vendored from shadcn-ui/ui packages/react/src/message-scroller/components.tsx
2
1
  import {
3
2
  createContext,
4
3
  useCallback,
@@ -293,7 +292,7 @@ function MessageScrollerContent({
293
292
  /**
294
293
  * @since 0.5.0-canary.3
295
294
  */
296
- function MessageScrollerItem({ messageId, ref, scrollAnchor = false, ...props }: MessageScrollerItemProps) {
295
+ function MessageScrollerItem({ messageId, ref, isScrollAnchor = false, ...props }: MessageScrollerItemProps) {
297
296
  const registerMessage = useMessageScrollerItemContext();
298
297
  const elementRef = useRef<HTMLDivElement | null>(null);
299
298
 
@@ -313,7 +312,12 @@ function MessageScrollerItem({ messageId, ref, scrollAnchor = false, ...props }:
313
312
  );
314
313
 
315
314
  return (
316
- <div ref={setItemRef} data-message-id={messageId} data-scroll-anchor={scrollAnchor ? "true" : "false"} {...props} />
315
+ <div
316
+ ref={setItemRef}
317
+ data-message-id={messageId}
318
+ data-scroll-anchor={isScrollAnchor ? "true" : "false"}
319
+ {...props}
320
+ />
317
321
  );
318
322
  }
319
323