@northslopetech/altitude-ui 3.0.0-alpha.6 → 3.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,11 +5,26 @@ React UI components for the Altitude design system, built on top of [shadcn/ui](
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @northslopetech/altitude-ui
9
- # or
10
8
  pnpm add @northslopetech/altitude-ui
11
9
  ```
12
10
 
11
+ `@northslopetech/altitude-tokens` is installed automatically as a dependency.
12
+
13
+ Then import the stylesheet once at your app's entry point:
14
+
15
+ ```ts
16
+ import "@northslopetech/altitude-ui/styles.css";
17
+ ```
18
+
19
+ This single import provides design tokens, typography utilities, and semantic color utilities. No Tailwind preset is required.
20
+
21
+ Fonts (`Hanken Grotesk Variable` and `JetBrains Mono Variable`) are bundled with this package — `styles.css` `@import`s them via `@fontsource-variable`, so consumers don't need to install or load fonts separately. (`@northslopetech/altitude-tokens` declares the family names but deliberately leaves font loading to the rendering layer; this package is that rendering layer.)
22
+
23
+ ### Requirements
24
+
25
+ - **Tailwind CSS v4** — the stylesheet uses `@theme` and `@utility` directives.
26
+ - **Peer dependencies** — `react`, `react-dom`.
27
+
13
28
  ## Architecture
14
29
 
15
30
  This package combines the best of both worlds:
@@ -167,7 +182,7 @@ pnpm check-types
167
182
  npx shadcn@latest add [component-name]
168
183
  ```
169
184
 
170
- > **Note**: The package includes a prebuild script that automatically builds tokens, but for development mode you should build tokens manually first.
185
+ > **Note**: The package includes a prebuild script that automatically builds tokens. For watch mode (`pnpm dev`), build tokens manually first with `pnpm tokens:build` from the repo root.
171
186
 
172
187
  ## Adding New Components
173
188
 
package/dist/index.d.mts CHANGED
@@ -15,6 +15,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
15
15
  import * as _base_ui_react_dialog from '@base-ui/react/dialog';
16
16
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
17
17
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
18
+ import { Popover as Popover$1 } from '@base-ui/react/popover';
18
19
  import { DayPicker, DayButton, Locale } from 'react-day-picker';
19
20
  export { DateRange } from 'react-day-picker';
20
21
  import * as _base_ui_react_avatar from '@base-ui/react/avatar';
@@ -25,7 +26,8 @@ import { Switch as Switch$1 } from '@base-ui/react/switch';
25
26
  import { Input as Input$1 } from '@base-ui/react/input';
26
27
  import * as _base_ui_react from '@base-ui/react';
27
28
  import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
28
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
29
+ import * as _base_ui_react_menu from '@base-ui/react/menu';
30
+ import { Menu } from '@base-ui/react/menu';
29
31
  import { Table as Table$1 } from '@tanstack/react-table';
30
32
 
31
33
  declare const alertVariants: (props?: ({
@@ -272,6 +274,19 @@ type TooltipProps = Tooltip$1.Root.Props;
272
274
  type TooltipTriggerProps = Tooltip$1.Trigger.Props;
273
275
  type TooltipProviderProps = Tooltip$1.Provider.Props;
274
276
 
277
+ declare function Popover({ ...props }: Popover$1.Root.Props): react_jsx_runtime.JSX.Element;
278
+ declare function PopoverTrigger({ ...props }: Popover$1.Trigger.Props): react_jsx_runtime.JSX.Element;
279
+ type PopoverContentProps = Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">;
280
+ declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: PopoverContentProps): react_jsx_runtime.JSX.Element;
281
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
282
+ declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): react_jsx_runtime.JSX.Element;
283
+ declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): react_jsx_runtime.JSX.Element;
284
+ type PopoverProps = Popover$1.Root.Props;
285
+ type PopoverTriggerProps = Popover$1.Trigger.Props;
286
+ type PopoverHeaderProps = React$1.ComponentProps<"div">;
287
+ type PopoverTitleProps = Popover$1.Title.Props;
288
+ type PopoverDescriptionProps = Popover$1.Description.Props;
289
+
275
290
  /**
276
291
  * @fileoverview Sidebar component for Altitude UI.
277
292
  * Provides a collapsible sidebar navigation with icon-only and expanded states.
@@ -386,31 +401,38 @@ declare namespace CalendarDayButton {
386
401
  var displayName: string;
387
402
  }
388
403
 
404
+ interface DatePickerTriggerProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> {
405
+ label?: string | null;
406
+ placeholder?: string;
407
+ disabled?: boolean;
408
+ }
389
409
  /**
390
- * @fileoverview DatePicker component for Altitude UI.
410
+ * The trigger button for a DatePicker. Must be rendered inside a `<Popover>`.
411
+ * Used internally by `DatePicker` and exposed for composing custom pickers
412
+ * (e.g. date range) with `Popover` + `Calendar`.
391
413
  */
392
-
414
+ declare const DatePickerTrigger: React$1.ForwardRefExoticComponent<DatePickerTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
393
415
  interface DatePickerProps {
394
416
  value?: Date;
395
417
  onValueChange?: (date: Date | undefined) => void;
396
- defaultValue?: Date | string | number;
418
+ defaultValue?: Date;
397
419
  disabled?: boolean;
420
+ /** Earliest selectable date. Also constrains calendar navigation. */
421
+ fromDate?: Date;
422
+ /** Latest selectable date. Also constrains calendar navigation. */
423
+ toDate?: Date;
398
424
  placeholder?: string;
399
425
  className?: string;
400
- minDate?: Date;
401
- maxDate?: Date;
402
426
  }
403
427
  /**
404
- * DatePicker component with input field and calendar popover.
405
- * @param {Date} [props.value] - Controlled date value
406
- * @param {function} [props.onValueChange] - Callback when date changes
407
- * @param {Date | string | number} [props.defaultValue] - Default date value
408
- * @param {boolean} [props.disabled] - Whether picker is disabled
409
- * @param {string} [props.placeholder] - Input placeholder text
410
- * @param {Date} [props.minDate] - Minimum selectable date
411
- * @param {Date} [props.maxDate] - Maximum selectable date
428
+ * DatePicker component.
429
+ *
430
+ * Supports controlled (`value` + `onValueChange`) and uncontrolled
431
+ * (`defaultValue`) modes. Controlled vs. uncontrolled is determined by whether
432
+ * the `value` prop is present at mount — do not switch between modes after the
433
+ * component mounts.
412
434
  */
413
- declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLInputElement>>;
435
+ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
414
436
 
415
437
  /**
416
438
  * Upload variant styles for different states.
@@ -908,56 +930,61 @@ interface TabsContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
908
930
  }
909
931
  declare const TabsContent: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
910
932
 
911
- /**
912
- * DropdownMenu root component.
913
- */
914
- declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
915
- interface DropdownMenuTriggerProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger> {
916
- icon?: React$1.ReactNode;
917
- }
918
- /**
919
- * DropdownMenuTrigger component.
920
- * @param {React.ReactNode} [props.icon] - Custom icon element
921
- */
933
+ declare const DropdownMenu: typeof Menu.Root;
934
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_menu.MenuGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
935
+ declare const DropdownMenuSub: typeof Menu.SubmenuRoot;
936
+ declare const DropdownMenuRadioGroup: React$1.NamedExoticComponent<Omit<_base_ui_react_menu.MenuRadioGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
937
+ type DropdownMenuTriggerProps = Omit<Menu.Trigger.Props, "ref">;
922
938
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
923
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
924
- declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
925
- declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
926
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
927
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
939
+ interface DropdownMenuContentProps extends Menu.Popup.Props {
940
+ align?: Menu.Positioner.Props["align"];
941
+ alignOffset?: Menu.Positioner.Props["alignOffset"];
942
+ side?: Menu.Positioner.Props["side"];
943
+ sideOffset?: Menu.Positioner.Props["sideOffset"];
944
+ }
945
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
946
+ interface DropdownMenuSubTriggerProps extends React$1.ComponentPropsWithoutRef<typeof Menu.SubmenuTrigger> {
928
947
  inset?: boolean;
929
- } & React$1.RefAttributes<HTMLDivElement>>;
930
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
931
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
932
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
948
+ }
949
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLElement>>;
950
+ type DropdownMenuSubContentProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuContent>;
951
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<Omit<DropdownMenuContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
952
+ declare const dropdownMenuItemVariants: (props?: ({
953
+ variant?: "default" | "destructive" | null | undefined;
954
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
955
+ interface DropdownMenuItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.Item>, VariantProps<typeof dropdownMenuItemVariants> {
933
956
  inset?: boolean;
934
- } & React$1.RefAttributes<HTMLDivElement>>;
935
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
936
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
937
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
957
+ }
958
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<DropdownMenuItemProps & React$1.RefAttributes<HTMLElement>>;
959
+ interface DropdownMenuCheckboxItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.CheckboxItem> {
938
960
  inset?: boolean;
939
- } & React$1.RefAttributes<HTMLDivElement>>;
940
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
961
+ }
962
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLElement>>;
963
+ interface DropdownMenuRadioItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.RadioItem> {
964
+ inset?: boolean;
965
+ }
966
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLElement>>;
967
+ type DropdownMenuLabelProps = React$1.ComponentPropsWithoutRef<typeof Menu.GroupLabel>;
968
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_menu.MenuGroupLabelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
969
+ type DropdownMenuSeparatorProps = Separator$1.Props;
970
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
971
+ type DropdownMenuShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
941
972
  declare const DropdownMenuShortcut: {
942
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
973
+ ({ className, ...props }: DropdownMenuShortcutProps): react_jsx_runtime.JSX.Element;
943
974
  displayName: string;
944
975
  };
945
976
 
946
977
  /**
947
978
  * @fileoverview Icon components for Altitude UI.
948
979
  * Icons are sourced from Phosphor Icons (https://phosphoricons.com) and wrapped
949
- * to support the design system's variant and sizing API.
980
+ * to support the design system's sizing and weight API. Color is inherited via
981
+ * currentColor from the parent element.
950
982
  */
951
983
 
952
- /**
953
- * Icon color variant type.
954
- */
955
- type IconVariant = "dark" | "light" | "gray" | "error" | "warning";
956
984
  /** Phosphor icon weight (outline, filled, or duotone). */
957
985
  type IconWeight = "regular" | "fill" | "duotone";
958
986
  interface IconProps extends React$1.SVGProps<SVGSVGElement> {
959
987
  className?: string;
960
- variant?: IconVariant;
961
988
  /** Icon size in pixels. Default 16. */
962
989
  size?: number;
963
990
  /** Phosphor weight: outline (regular), filled, or duotone. */
@@ -1528,4 +1555,4 @@ interface TableProps<T> {
1528
1555
  */
1529
1556
  declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
1530
1557
 
1531
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, Calendar, CalendarDayButton, CalendarIcon, type CalendarProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogOverlay, type DialogOverlayProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconVariant, type IconWeight, InformationIcon, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, ItemTitle, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, alertVariants, avatarVariants, badgeVariants, buttonGroupTextVariants, buttonGroupVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, inputVariants, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
1558
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, Calendar, CalendarDayButton, CalendarIcon, type CalendarProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, DatePickerTrigger, type DatePickerTriggerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogOverlay, type DialogOverlayProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconWeight, InformationIcon, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, ItemTitle, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, Popover, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, alertVariants, avatarVariants, badgeVariants, buttonGroupTextVariants, buttonGroupVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, dropdownMenuItemVariants, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, inputVariants, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
15
15
  import * as _base_ui_react_dialog from '@base-ui/react/dialog';
16
16
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
17
17
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
18
+ import { Popover as Popover$1 } from '@base-ui/react/popover';
18
19
  import { DayPicker, DayButton, Locale } from 'react-day-picker';
19
20
  export { DateRange } from 'react-day-picker';
20
21
  import * as _base_ui_react_avatar from '@base-ui/react/avatar';
@@ -25,7 +26,8 @@ import { Switch as Switch$1 } from '@base-ui/react/switch';
25
26
  import { Input as Input$1 } from '@base-ui/react/input';
26
27
  import * as _base_ui_react from '@base-ui/react';
27
28
  import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
28
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
29
+ import * as _base_ui_react_menu from '@base-ui/react/menu';
30
+ import { Menu } from '@base-ui/react/menu';
29
31
  import { Table as Table$1 } from '@tanstack/react-table';
30
32
 
31
33
  declare const alertVariants: (props?: ({
@@ -272,6 +274,19 @@ type TooltipProps = Tooltip$1.Root.Props;
272
274
  type TooltipTriggerProps = Tooltip$1.Trigger.Props;
273
275
  type TooltipProviderProps = Tooltip$1.Provider.Props;
274
276
 
277
+ declare function Popover({ ...props }: Popover$1.Root.Props): react_jsx_runtime.JSX.Element;
278
+ declare function PopoverTrigger({ ...props }: Popover$1.Trigger.Props): react_jsx_runtime.JSX.Element;
279
+ type PopoverContentProps = Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">;
280
+ declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: PopoverContentProps): react_jsx_runtime.JSX.Element;
281
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
282
+ declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): react_jsx_runtime.JSX.Element;
283
+ declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): react_jsx_runtime.JSX.Element;
284
+ type PopoverProps = Popover$1.Root.Props;
285
+ type PopoverTriggerProps = Popover$1.Trigger.Props;
286
+ type PopoverHeaderProps = React$1.ComponentProps<"div">;
287
+ type PopoverTitleProps = Popover$1.Title.Props;
288
+ type PopoverDescriptionProps = Popover$1.Description.Props;
289
+
275
290
  /**
276
291
  * @fileoverview Sidebar component for Altitude UI.
277
292
  * Provides a collapsible sidebar navigation with icon-only and expanded states.
@@ -386,31 +401,38 @@ declare namespace CalendarDayButton {
386
401
  var displayName: string;
387
402
  }
388
403
 
404
+ interface DatePickerTriggerProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> {
405
+ label?: string | null;
406
+ placeholder?: string;
407
+ disabled?: boolean;
408
+ }
389
409
  /**
390
- * @fileoverview DatePicker component for Altitude UI.
410
+ * The trigger button for a DatePicker. Must be rendered inside a `<Popover>`.
411
+ * Used internally by `DatePicker` and exposed for composing custom pickers
412
+ * (e.g. date range) with `Popover` + `Calendar`.
391
413
  */
392
-
414
+ declare const DatePickerTrigger: React$1.ForwardRefExoticComponent<DatePickerTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
393
415
  interface DatePickerProps {
394
416
  value?: Date;
395
417
  onValueChange?: (date: Date | undefined) => void;
396
- defaultValue?: Date | string | number;
418
+ defaultValue?: Date;
397
419
  disabled?: boolean;
420
+ /** Earliest selectable date. Also constrains calendar navigation. */
421
+ fromDate?: Date;
422
+ /** Latest selectable date. Also constrains calendar navigation. */
423
+ toDate?: Date;
398
424
  placeholder?: string;
399
425
  className?: string;
400
- minDate?: Date;
401
- maxDate?: Date;
402
426
  }
403
427
  /**
404
- * DatePicker component with input field and calendar popover.
405
- * @param {Date} [props.value] - Controlled date value
406
- * @param {function} [props.onValueChange] - Callback when date changes
407
- * @param {Date | string | number} [props.defaultValue] - Default date value
408
- * @param {boolean} [props.disabled] - Whether picker is disabled
409
- * @param {string} [props.placeholder] - Input placeholder text
410
- * @param {Date} [props.minDate] - Minimum selectable date
411
- * @param {Date} [props.maxDate] - Maximum selectable date
428
+ * DatePicker component.
429
+ *
430
+ * Supports controlled (`value` + `onValueChange`) and uncontrolled
431
+ * (`defaultValue`) modes. Controlled vs. uncontrolled is determined by whether
432
+ * the `value` prop is present at mount — do not switch between modes after the
433
+ * component mounts.
412
434
  */
413
- declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLInputElement>>;
435
+ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
414
436
 
415
437
  /**
416
438
  * Upload variant styles for different states.
@@ -908,56 +930,61 @@ interface TabsContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
908
930
  }
909
931
  declare const TabsContent: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
910
932
 
911
- /**
912
- * DropdownMenu root component.
913
- */
914
- declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
915
- interface DropdownMenuTriggerProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger> {
916
- icon?: React$1.ReactNode;
917
- }
918
- /**
919
- * DropdownMenuTrigger component.
920
- * @param {React.ReactNode} [props.icon] - Custom icon element
921
- */
933
+ declare const DropdownMenu: typeof Menu.Root;
934
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_menu.MenuGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
935
+ declare const DropdownMenuSub: typeof Menu.SubmenuRoot;
936
+ declare const DropdownMenuRadioGroup: React$1.NamedExoticComponent<Omit<_base_ui_react_menu.MenuRadioGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
937
+ type DropdownMenuTriggerProps = Omit<Menu.Trigger.Props, "ref">;
922
938
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
923
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
924
- declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
925
- declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
926
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
927
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
939
+ interface DropdownMenuContentProps extends Menu.Popup.Props {
940
+ align?: Menu.Positioner.Props["align"];
941
+ alignOffset?: Menu.Positioner.Props["alignOffset"];
942
+ side?: Menu.Positioner.Props["side"];
943
+ sideOffset?: Menu.Positioner.Props["sideOffset"];
944
+ }
945
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
946
+ interface DropdownMenuSubTriggerProps extends React$1.ComponentPropsWithoutRef<typeof Menu.SubmenuTrigger> {
928
947
  inset?: boolean;
929
- } & React$1.RefAttributes<HTMLDivElement>>;
930
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
931
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
932
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
948
+ }
949
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLElement>>;
950
+ type DropdownMenuSubContentProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuContent>;
951
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<Omit<DropdownMenuContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
952
+ declare const dropdownMenuItemVariants: (props?: ({
953
+ variant?: "default" | "destructive" | null | undefined;
954
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
955
+ interface DropdownMenuItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.Item>, VariantProps<typeof dropdownMenuItemVariants> {
933
956
  inset?: boolean;
934
- } & React$1.RefAttributes<HTMLDivElement>>;
935
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
936
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
937
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
957
+ }
958
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<DropdownMenuItemProps & React$1.RefAttributes<HTMLElement>>;
959
+ interface DropdownMenuCheckboxItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.CheckboxItem> {
938
960
  inset?: boolean;
939
- } & React$1.RefAttributes<HTMLDivElement>>;
940
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
961
+ }
962
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLElement>>;
963
+ interface DropdownMenuRadioItemProps extends React$1.ComponentPropsWithoutRef<typeof Menu.RadioItem> {
964
+ inset?: boolean;
965
+ }
966
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLElement>>;
967
+ type DropdownMenuLabelProps = React$1.ComponentPropsWithoutRef<typeof Menu.GroupLabel>;
968
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_menu.MenuGroupLabelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
969
+ type DropdownMenuSeparatorProps = Separator$1.Props;
970
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
971
+ type DropdownMenuShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
941
972
  declare const DropdownMenuShortcut: {
942
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
973
+ ({ className, ...props }: DropdownMenuShortcutProps): react_jsx_runtime.JSX.Element;
943
974
  displayName: string;
944
975
  };
945
976
 
946
977
  /**
947
978
  * @fileoverview Icon components for Altitude UI.
948
979
  * Icons are sourced from Phosphor Icons (https://phosphoricons.com) and wrapped
949
- * to support the design system's variant and sizing API.
980
+ * to support the design system's sizing and weight API. Color is inherited via
981
+ * currentColor from the parent element.
950
982
  */
951
983
 
952
- /**
953
- * Icon color variant type.
954
- */
955
- type IconVariant = "dark" | "light" | "gray" | "error" | "warning";
956
984
  /** Phosphor icon weight (outline, filled, or duotone). */
957
985
  type IconWeight = "regular" | "fill" | "duotone";
958
986
  interface IconProps extends React$1.SVGProps<SVGSVGElement> {
959
987
  className?: string;
960
- variant?: IconVariant;
961
988
  /** Icon size in pixels. Default 16. */
962
989
  size?: number;
963
990
  /** Phosphor weight: outline (regular), filled, or duotone. */
@@ -1528,4 +1555,4 @@ interface TableProps<T> {
1528
1555
  */
1529
1556
  declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
1530
1557
 
1531
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, Calendar, CalendarDayButton, CalendarIcon, type CalendarProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogOverlay, type DialogOverlayProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconVariant, type IconWeight, InformationIcon, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, ItemTitle, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, alertVariants, avatarVariants, badgeVariants, buttonGroupTextVariants, buttonGroupVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, inputVariants, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
1558
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, Calendar, CalendarDayButton, CalendarIcon, type CalendarProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, DatePickerTrigger, type DatePickerTriggerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogOverlay, type DialogOverlayProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconWeight, InformationIcon, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, ItemTitle, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, Popover, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, alertVariants, avatarVariants, badgeVariants, buttonGroupTextVariants, buttonGroupVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, dropdownMenuItemVariants, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, inputVariants, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };