@northslopetech/altitude-ui 3.0.0-alpha.3 → 3.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -5,12 +5,16 @@ import { Button as Button$1 } from '@base-ui/react/button';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import * as SelectPrimitive from '@radix-ui/react-select';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import * as _base_ui_react_dialog from '@base-ui/react/dialog';
9
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
8
10
  import * as _base_ui_react_separator from '@base-ui/react/separator';
9
11
  import { Separator as Separator$1 } from '@base-ui/react/separator';
10
12
  import { useRender } from '@base-ui/react/use-render';
11
13
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
+ import * as _base_ui_react_checkbox from '@base-ui/react/checkbox';
15
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
13
16
  import { Switch as Switch$1 } from '@base-ui/react/switch';
17
+ import * as _base_ui_react from '@base-ui/react';
14
18
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
15
19
  import { Table as Table$1 } from '@tanstack/react-table';
16
20
 
@@ -148,6 +152,53 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
148
152
  } | undefined>;
149
153
  }): react_jsx_runtime.JSX.Element | null;
150
154
 
155
+ type DialogProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Root>;
156
+ declare const Dialog: typeof Dialog$1.Root;
157
+ type DialogTriggerProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Trigger>;
158
+ declare const DialogTrigger: Dialog$1.Trigger;
159
+ type DialogOverlayProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Backdrop>;
160
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogBackdropProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
161
+ type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Popup> & {
162
+ /**
163
+ * Whether to show the default close button in the top-right corner.
164
+ * Set to false to hide it (e.g., when providing custom actions).
165
+ */
166
+ showCloseButton?: boolean;
167
+ /**
168
+ * Preset dialog dimensions.
169
+ * - desktop: 640x480
170
+ * - mobile: 320x240, can grow up to 640px height
171
+ */
172
+ size?: "desktop" | "mobile";
173
+ };
174
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogPopupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
175
+ /**
176
+ * Whether to show the default close button in the top-right corner.
177
+ * Set to false to hide it (e.g., when providing custom actions).
178
+ */
179
+ showCloseButton?: boolean;
180
+ /**
181
+ * Preset dialog dimensions.
182
+ * - desktop: 640x480
183
+ * - mobile: 320x240, can grow up to 640px height
184
+ */
185
+ size?: "desktop" | "mobile";
186
+ } & React$1.RefAttributes<HTMLDivElement>>;
187
+ type DialogBodyProps = React$1.HTMLAttributes<HTMLDivElement>;
188
+ /**
189
+ * Scrollable main region of the dialog (Figma "Slot"). Keep {@link DialogFooter}
190
+ * as a sibling so the footer stays pinned to the bottom while this area scrolls.
191
+ */
192
+ declare const DialogBody: React$1.ForwardRefExoticComponent<DialogBodyProps & React$1.RefAttributes<HTMLDivElement>>;
193
+ type DialogFooterProps = React$1.HTMLAttributes<HTMLDivElement>;
194
+ declare const DialogFooter: React$1.ForwardRefExoticComponent<DialogFooterProps & React$1.RefAttributes<HTMLDivElement>>;
195
+ type DialogTitleProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Title>;
196
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogTitleProps, "ref"> & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
197
+ type DialogDescriptionProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Description>;
198
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogDescriptionProps, "ref"> & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
199
+ type DialogCloseProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Close>;
200
+ declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_dialog.DialogCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
201
+
151
202
  type SeparatorProps = Separator$1.Props;
152
203
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
153
204
 
@@ -329,21 +380,18 @@ interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onEr
329
380
  */
330
381
  declare const Upload: React$1.ForwardRefExoticComponent<UploadProps & React$1.RefAttributes<HTMLDivElement>>;
331
382
 
332
- /**
333
- * Checkbox variant styles.
334
- */
335
383
  declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
336
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
337
- className?: string;
338
- }
384
+ type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof Checkbox$1.Root>;
339
385
  /**
340
- * Checkbox component with Altitude design system styling.
386
+ * Checkbox component for binary and indeterminate selection states.
341
387
  * @param {boolean} [props.checked] - Controlled checked state
342
- * @param {function} [props.onCheckedChange] - Callback when checked state changes
343
- * @param {boolean} [props.disabled] - Whether checkbox is disabled
344
- * @param {string} [props.className] - Additional CSS classes
388
+ * @param {boolean} [props.defaultChecked] - Initial unchecked/checked state
389
+ * @param {(checked: boolean) => void} [props.onCheckedChange] - Checked state change handler
390
+ * @param {boolean} [props.indeterminate] - Shows a mixed/indeterminate state with a minus icon
391
+ * @param {boolean} [props.disabled] - Disables interaction and applies disabled styles
392
+ * @param {string} [props.className] - Additional class names for custom styling
345
393
  */
346
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
394
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_checkbox.CheckboxRootProps, "ref"> & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
347
395
 
348
396
  declare const switchVariants: (props?: ({
349
397
  size?: "default" | "sm" | null | undefined;
@@ -403,6 +451,47 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantPro
403
451
  */
404
452
  declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
405
453
 
454
+ /**
455
+ * Wrapper that provides `role="list"` semantics and adjusts gap spacing
456
+ * based on the `size` of its child Items.
457
+ */
458
+ declare const ItemGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
459
+ declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
460
+ /** Item variant styles. */
461
+ declare const itemVariants: (props?: ({
462
+ variant?: "default" | "outline" | "muted" | null | undefined;
463
+ size?: "default" | "sm" | null | undefined;
464
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
465
+ type ItemProps = useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>;
466
+ /**
467
+ * Core Item component. Renders as a `div`. Automatically gets `role="listitem"`
468
+ * when inside an `ItemGroup` (`role="list"`), and no role otherwise.
469
+ * Supports polymorphic rendering via the `render` prop (e.g. `<a>`, `<Link>`).
470
+ */
471
+ declare const Item: {
472
+ ({ className, variant, size, render, ...props }: ItemProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
473
+ displayName: string;
474
+ };
475
+ /** ItemMedia variant styles. */
476
+ declare const itemMediaVariants: (props?: ({
477
+ variant?: "default" | "image" | "icon" | "iconBadge" | null | undefined;
478
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
479
+ type ItemMediaProps = React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>;
480
+ /**
481
+ * Leading visual slot. Use `variant="icon"` for SVG icons (auto-sized to 20px),
482
+ * `variant="iconBadge"` for icons in a 32px badge container (icon auto-sized to 16px),
483
+ * or `variant="image"` for thumbnails (cropped to fit, size-responsive).
484
+ */
485
+ declare const ItemMedia: React$1.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
486
+ /** Flex container for title and description. Grows to fill available space. */
487
+ declare const ItemContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
488
+ declare const ItemTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
489
+ /** Secondary text, clamped to 2 lines. Inline links are auto-styled. */
490
+ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
491
+ declare const ItemActions: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
492
+ declare const ItemHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
493
+ declare const ItemFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
494
+
406
495
  /**
407
496
  * @fileoverview Shared TypeScript types for PDF viewer components.
408
497
  */
@@ -1281,4 +1370,4 @@ interface TableProps<T> {
1281
1370
  */
1282
1371
  declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
1283
1372
 
1284
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, 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, 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, type InputProps, 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, SelectLabel, 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, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
1373
+ export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, 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, 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, SelectLabel, 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, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
package/dist/index.d.ts CHANGED
@@ -5,12 +5,16 @@ import { Button as Button$1 } from '@base-ui/react/button';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import * as SelectPrimitive from '@radix-ui/react-select';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import * as _base_ui_react_dialog from '@base-ui/react/dialog';
9
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
8
10
  import * as _base_ui_react_separator from '@base-ui/react/separator';
9
11
  import { Separator as Separator$1 } from '@base-ui/react/separator';
10
12
  import { useRender } from '@base-ui/react/use-render';
11
13
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
+ import * as _base_ui_react_checkbox from '@base-ui/react/checkbox';
15
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
13
16
  import { Switch as Switch$1 } from '@base-ui/react/switch';
17
+ import * as _base_ui_react from '@base-ui/react';
14
18
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
15
19
  import { Table as Table$1 } from '@tanstack/react-table';
16
20
 
@@ -148,6 +152,53 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
148
152
  } | undefined>;
149
153
  }): react_jsx_runtime.JSX.Element | null;
150
154
 
155
+ type DialogProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Root>;
156
+ declare const Dialog: typeof Dialog$1.Root;
157
+ type DialogTriggerProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Trigger>;
158
+ declare const DialogTrigger: Dialog$1.Trigger;
159
+ type DialogOverlayProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Backdrop>;
160
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogBackdropProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
161
+ type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Popup> & {
162
+ /**
163
+ * Whether to show the default close button in the top-right corner.
164
+ * Set to false to hide it (e.g., when providing custom actions).
165
+ */
166
+ showCloseButton?: boolean;
167
+ /**
168
+ * Preset dialog dimensions.
169
+ * - desktop: 640x480
170
+ * - mobile: 320x240, can grow up to 640px height
171
+ */
172
+ size?: "desktop" | "mobile";
173
+ };
174
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogPopupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
175
+ /**
176
+ * Whether to show the default close button in the top-right corner.
177
+ * Set to false to hide it (e.g., when providing custom actions).
178
+ */
179
+ showCloseButton?: boolean;
180
+ /**
181
+ * Preset dialog dimensions.
182
+ * - desktop: 640x480
183
+ * - mobile: 320x240, can grow up to 640px height
184
+ */
185
+ size?: "desktop" | "mobile";
186
+ } & React$1.RefAttributes<HTMLDivElement>>;
187
+ type DialogBodyProps = React$1.HTMLAttributes<HTMLDivElement>;
188
+ /**
189
+ * Scrollable main region of the dialog (Figma "Slot"). Keep {@link DialogFooter}
190
+ * as a sibling so the footer stays pinned to the bottom while this area scrolls.
191
+ */
192
+ declare const DialogBody: React$1.ForwardRefExoticComponent<DialogBodyProps & React$1.RefAttributes<HTMLDivElement>>;
193
+ type DialogFooterProps = React$1.HTMLAttributes<HTMLDivElement>;
194
+ declare const DialogFooter: React$1.ForwardRefExoticComponent<DialogFooterProps & React$1.RefAttributes<HTMLDivElement>>;
195
+ type DialogTitleProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Title>;
196
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogTitleProps, "ref"> & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
197
+ type DialogDescriptionProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Description>;
198
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogDescriptionProps, "ref"> & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
199
+ type DialogCloseProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Close>;
200
+ declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_dialog.DialogCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
201
+
151
202
  type SeparatorProps = Separator$1.Props;
152
203
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
153
204
 
@@ -329,21 +380,18 @@ interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onEr
329
380
  */
330
381
  declare const Upload: React$1.ForwardRefExoticComponent<UploadProps & React$1.RefAttributes<HTMLDivElement>>;
331
382
 
332
- /**
333
- * Checkbox variant styles.
334
- */
335
383
  declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
336
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
337
- className?: string;
338
- }
384
+ type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof Checkbox$1.Root>;
339
385
  /**
340
- * Checkbox component with Altitude design system styling.
386
+ * Checkbox component for binary and indeterminate selection states.
341
387
  * @param {boolean} [props.checked] - Controlled checked state
342
- * @param {function} [props.onCheckedChange] - Callback when checked state changes
343
- * @param {boolean} [props.disabled] - Whether checkbox is disabled
344
- * @param {string} [props.className] - Additional CSS classes
388
+ * @param {boolean} [props.defaultChecked] - Initial unchecked/checked state
389
+ * @param {(checked: boolean) => void} [props.onCheckedChange] - Checked state change handler
390
+ * @param {boolean} [props.indeterminate] - Shows a mixed/indeterminate state with a minus icon
391
+ * @param {boolean} [props.disabled] - Disables interaction and applies disabled styles
392
+ * @param {string} [props.className] - Additional class names for custom styling
345
393
  */
346
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
394
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_checkbox.CheckboxRootProps, "ref"> & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
347
395
 
348
396
  declare const switchVariants: (props?: ({
349
397
  size?: "default" | "sm" | null | undefined;
@@ -403,6 +451,47 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantPro
403
451
  */
404
452
  declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
405
453
 
454
+ /**
455
+ * Wrapper that provides `role="list"` semantics and adjusts gap spacing
456
+ * based on the `size` of its child Items.
457
+ */
458
+ declare const ItemGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
459
+ declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
460
+ /** Item variant styles. */
461
+ declare const itemVariants: (props?: ({
462
+ variant?: "default" | "outline" | "muted" | null | undefined;
463
+ size?: "default" | "sm" | null | undefined;
464
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
465
+ type ItemProps = useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>;
466
+ /**
467
+ * Core Item component. Renders as a `div`. Automatically gets `role="listitem"`
468
+ * when inside an `ItemGroup` (`role="list"`), and no role otherwise.
469
+ * Supports polymorphic rendering via the `render` prop (e.g. `<a>`, `<Link>`).
470
+ */
471
+ declare const Item: {
472
+ ({ className, variant, size, render, ...props }: ItemProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
473
+ displayName: string;
474
+ };
475
+ /** ItemMedia variant styles. */
476
+ declare const itemMediaVariants: (props?: ({
477
+ variant?: "default" | "image" | "icon" | "iconBadge" | null | undefined;
478
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
479
+ type ItemMediaProps = React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>;
480
+ /**
481
+ * Leading visual slot. Use `variant="icon"` for SVG icons (auto-sized to 20px),
482
+ * `variant="iconBadge"` for icons in a 32px badge container (icon auto-sized to 16px),
483
+ * or `variant="image"` for thumbnails (cropped to fit, size-responsive).
484
+ */
485
+ declare const ItemMedia: React$1.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
486
+ /** Flex container for title and description. Grows to fill available space. */
487
+ declare const ItemContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
488
+ declare const ItemTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
489
+ /** Secondary text, clamped to 2 lines. Inline links are auto-styled. */
490
+ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
491
+ declare const ItemActions: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
492
+ declare const ItemHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
493
+ declare const ItemFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
494
+
406
495
  /**
407
496
  * @fileoverview Shared TypeScript types for PDF viewer components.
408
497
  */
@@ -1281,4 +1370,4 @@ interface TableProps<T> {
1281
1370
  */
1282
1371
  declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
1283
1372
 
1284
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, 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, 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, type InputProps, 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, SelectLabel, 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, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
1373
+ export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, 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, 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, SelectLabel, 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, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };