@keboola/design 9.0.0 → 9.1.0

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.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
3
+ import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, CSSProperties, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
4
4
  import * as class_variance_authority from 'class-variance-authority';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
@@ -1797,13 +1797,20 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComb
1797
1797
  empty?: ReactNode;
1798
1798
  indicator?: Indicator$1;
1799
1799
  prefix?: ReactNode;
1800
+ /**
1801
+ * Window the list with a virtualizer so large option sets stay fast. Opt-in — defaults to
1802
+ * `false` to keep behavior unchanged for existing call sites (every option stays in the DOM).
1803
+ * Pass `'auto'` to virtualize only ungrouped lists longer than {@link VIRTUALIZE_THRESHOLD},
1804
+ * or `true` to force it. Grouped lists are never virtualized.
1805
+ */
1806
+ virtualized?: boolean | 'auto';
1800
1807
  itemToLabel?: (item: Value) => ReactNode;
1801
1808
  itemToIcon?: (item: Value) => ReactNode;
1802
1809
  itemToDisabled?: (item: Value) => boolean;
1803
1810
  groupToLabel?: (group: GroupShape) => ReactNode;
1804
1811
  };
1805
1812
  declare const Combobox: {
1806
- <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
1813
+ <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
1807
1814
  Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
1808
1815
  InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
1809
1816
  variant?: "primary" | "secondary" | null | undefined;
@@ -1823,7 +1830,7 @@ declare const Combobox: {
1823
1830
  popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
1824
1831
  form?: string | undefined | undefined;
1825
1832
  slot?: string | undefined | undefined;
1826
- style?: react.CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
1833
+ style?: CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
1827
1834
  title?: string | undefined | undefined;
1828
1835
  pattern?: string | undefined | undefined;
1829
1836
  ref?: react.Ref<HTMLInputElement> | undefined;
@@ -10322,6 +10329,24 @@ declare const useScrollbarPosition: () => {
10322
10329
  isNone: boolean;
10323
10330
  };
10324
10331
 
10332
+ /**
10333
+ * A callback with a permanently stable identity that always sees the latest
10334
+ * render's values — for any consumer that keys off the handler's identity: a
10335
+ * third-party component that redoes expensive work when it changes, or a
10336
+ * memoized context value.
10337
+ *
10338
+ * React 19.2's `useEffectEvent` does this in one line, but it is scoped to
10339
+ * Effects and explicitly not to be passed to another component, which is the
10340
+ * whole point here.
10341
+ *
10342
+ * The swap is a layout effect rather than a passive one so it lands before the
10343
+ * browser can paint and accept input against the previous render's handler. It
10344
+ * is still an effect, and a child's runs before its parent's — so a consumer
10345
+ * calling the returned function from its own layout effect can still see the
10346
+ * previous render's closure.
10347
+ */
10348
+ declare const useStableCallback: <Args extends unknown[], Result>(callback: (...args: Args) => Result) => ((...args: Args) => Result);
10349
+
10325
10350
  declare const cn: (...classes: ClassValue[]) => string;
10326
10351
 
10327
10352
  declare const copyToClipboard: (text: string) => Promise<void>;
@@ -10410,4 +10435,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
10410
10435
  /** WCAG level for normal-size text at a given ratio. */
10411
10436
  declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
10412
10437
 
10413
- export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
10438
+ export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, wcagLevel, withForm };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
3
+ import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, CSSProperties, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
4
4
  import * as class_variance_authority from 'class-variance-authority';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
@@ -1797,13 +1797,20 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComb
1797
1797
  empty?: ReactNode;
1798
1798
  indicator?: Indicator$1;
1799
1799
  prefix?: ReactNode;
1800
+ /**
1801
+ * Window the list with a virtualizer so large option sets stay fast. Opt-in — defaults to
1802
+ * `false` to keep behavior unchanged for existing call sites (every option stays in the DOM).
1803
+ * Pass `'auto'` to virtualize only ungrouped lists longer than {@link VIRTUALIZE_THRESHOLD},
1804
+ * or `true` to force it. Grouped lists are never virtualized.
1805
+ */
1806
+ virtualized?: boolean | 'auto';
1800
1807
  itemToLabel?: (item: Value) => ReactNode;
1801
1808
  itemToIcon?: (item: Value) => ReactNode;
1802
1809
  itemToDisabled?: (item: Value) => boolean;
1803
1810
  groupToLabel?: (group: GroupShape) => ReactNode;
1804
1811
  };
1805
1812
  declare const Combobox: {
1806
- <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
1813
+ <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
1807
1814
  Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
1808
1815
  InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
1809
1816
  variant?: "primary" | "secondary" | null | undefined;
@@ -1823,7 +1830,7 @@ declare const Combobox: {
1823
1830
  popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
1824
1831
  form?: string | undefined | undefined;
1825
1832
  slot?: string | undefined | undefined;
1826
- style?: react.CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
1833
+ style?: CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
1827
1834
  title?: string | undefined | undefined;
1828
1835
  pattern?: string | undefined | undefined;
1829
1836
  ref?: react.Ref<HTMLInputElement> | undefined;
@@ -10322,6 +10329,24 @@ declare const useScrollbarPosition: () => {
10322
10329
  isNone: boolean;
10323
10330
  };
10324
10331
 
10332
+ /**
10333
+ * A callback with a permanently stable identity that always sees the latest
10334
+ * render's values — for any consumer that keys off the handler's identity: a
10335
+ * third-party component that redoes expensive work when it changes, or a
10336
+ * memoized context value.
10337
+ *
10338
+ * React 19.2's `useEffectEvent` does this in one line, but it is scoped to
10339
+ * Effects and explicitly not to be passed to another component, which is the
10340
+ * whole point here.
10341
+ *
10342
+ * The swap is a layout effect rather than a passive one so it lands before the
10343
+ * browser can paint and accept input against the previous render's handler. It
10344
+ * is still an effect, and a child's runs before its parent's — so a consumer
10345
+ * calling the returned function from its own layout effect can still see the
10346
+ * previous render's closure.
10347
+ */
10348
+ declare const useStableCallback: <Args extends unknown[], Result>(callback: (...args: Args) => Result) => ((...args: Args) => Result);
10349
+
10325
10350
  declare const cn: (...classes: ClassValue[]) => string;
10326
10351
 
10327
10352
  declare const copyToClipboard: (text: string) => Promise<void>;
@@ -10410,4 +10435,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
10410
10435
  /** WCAG level for normal-size text at a given ratio. */
10411
10436
  declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
10412
10437
 
10413
- export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
10438
+ export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, wcagLevel, withForm };
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ import * as SelectPrimitive6 from '@radix-ui/react-select';
34
34
  import { Root as Root$6 } from '@radix-ui/react-select';
35
35
  import { Root as Root$4, Indicator } from '@radix-ui/react-checkbox';
36
36
  import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
37
+ import { useVirtualizer } from '@tanstack/react-virtual';
37
38
  import { OTPInput, REGEXP_ONLY_DIGITS, OTPInputContext } from 'input-otp';
38
39
  export { REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
39
40
  import ReactMarkdown from 'react-markdown';
@@ -12403,9 +12404,9 @@ var ComboboxItemIndicator = ({ ref, className, variant = "check", ...props }) =>
12403
12404
  "tw:absolute",
12404
12405
  "tw:right-2",
12405
12406
  "tw:group-data-[variant=default]/combobox-content:right-4",
12406
- // Lucide SVGs default to 24×24 — constrain the rendered child so the
12407
- // 16px indicator slot owns the actual size.
12408
- 'tw:[&_svg:not([class*="tw:size-"])]:size-4',
12407
+ // `render={<Check />}` makes the icon the indicator element itself (not a descendant), so a
12408
+ // `[&_svg]` rule never matches it — size it directly or Lucide renders at its 24px default.
12409
+ "tw:size-4",
12409
12410
  "tw:group-data-[highlighted]/combobox-item:text-accent-foreground",
12410
12411
  "tw:group-data-[variant=default]/combobox-content:group-data-[highlighted]/combobox-item:text-foreground",
12411
12412
  className
@@ -12530,6 +12531,9 @@ var ComboboxGroupLabel = ({ ref, className, ...props }) => /* @__PURE__ */ jsx(
12530
12531
  }
12531
12532
  );
12532
12533
  var ComboboxCollection = ({ ...props }) => /* @__PURE__ */ jsx(Combobox$1.Collection, { "data-slot": "combobox-collection", ...props });
12534
+ var VIRTUALIZE_THRESHOLD = 30;
12535
+ var ESTIMATED_ROW_HEIGHT = 40;
12536
+ var ESTIMATED_LIST_HEIGHT = 320;
12533
12537
  var Combobox = ({
12534
12538
  // root props
12535
12539
  items: _itemsProp,
@@ -12556,6 +12560,7 @@ var Combobox = ({
12556
12560
  empty = "No items",
12557
12561
  indicator,
12558
12562
  prefix,
12563
+ virtualized = false,
12559
12564
  // creatable
12560
12565
  allowCreate,
12561
12566
  queryToCreateValue,
@@ -12579,7 +12584,9 @@ var Combobox = ({
12579
12584
  const label = value === null ? "" : itemToStringLabelProp?.(value) ?? toLabel(value);
12580
12585
  setInputValue((prev) => prev === label ? prev : label);
12581
12586
  }, [value]);
12582
- const query = inputValue.trim();
12587
+ const selectedLabel = value == null ? void 0 : itemToStringLabelProp?.(value) ?? toLabel(value);
12588
+ const isShowingSelection = selectedLabel !== void 0 && inputValue === selectedLabel;
12589
+ const query = (isShowingSelection ? "" : inputValue).trim();
12583
12590
  const queryLower = query.toLowerCase();
12584
12591
  const itemsProp = _itemsProp ?? [];
12585
12592
  const sampleItem = itemsProp.flatMap((item) => isGroupItem(item) ? item.items : [item])[0];
@@ -12604,7 +12611,7 @@ var Combobox = ({
12604
12611
  if (isCreatableItem(value2)) return value2.value;
12605
12612
  return itemToStringLabelProp?.(value2) ?? toLabel(value2);
12606
12613
  };
12607
- const wrappedFilter = !allowCreate || !filter ? filter : (item, ...args) => isCreatableItem(item) || filter(item, ...args);
12614
+ const wrappedFilter = isShowingSelection ? () => true : !allowCreate || !filter ? filter : (item, ...args) => isCreatableItem(item) || filter(item, ...args);
12608
12615
  const wrappedItemToStringValue = !allowCreate || !itemToStringValue ? itemToStringValue : (item) => isCreatableItem(item) ? item.value : itemToStringValue(item);
12609
12616
  const isItemEqualToValue = (a, b) => {
12610
12617
  if (isCreatableItem(a) || isCreatableItem(b)) return toValueKey(a) === toValueKey(b);
@@ -12639,10 +12646,34 @@ var Combobox = ({
12639
12646
  closeReasonRef.current = "item-press";
12640
12647
  onValueChange?.(next, event);
12641
12648
  };
12642
- const renderItem = (item) => {
12649
+ const [listElement, setListElement] = useState(null);
12650
+ const isGrouped = isGroupItems(allItems);
12651
+ const shouldVirtualize = !isGrouped && (virtualized === true || virtualized === "auto" && allItems.length > VIRTUALIZE_THRESHOLD);
12652
+ const matchesQuery2 = (item) => {
12653
+ if (isCreatableItem(item)) return true;
12654
+ if (!query) return true;
12655
+ if (filter) return !!filter(item, query, (value2) => itemToStringLabel(value2) ?? toLabel(value2));
12656
+ return (itemToStringLabel(item) ?? toLabel(item)).toLowerCase().includes(queryLower);
12657
+ };
12658
+ const virtualItems = shouldVirtualize ? items.filter(matchesQuery2) : [];
12659
+ const virtualizer = useVirtualizer({
12660
+ count: virtualItems.length,
12661
+ getScrollElement: () => listElement,
12662
+ estimateSize: () => ESTIMATED_ROW_HEIGHT,
12663
+ overscan: 12,
12664
+ enabled: shouldVirtualize,
12665
+ // Seed a viewport height so rows paint on the first frame. Without it the list measures 0 until
12666
+ // the ResizeObserver fires (a frame later), which renders an empty popup on open.
12667
+ initialRect: { width: 0, height: ESTIMATED_LIST_HEIGHT }
12668
+ });
12669
+ const renderItem = (item, index) => {
12670
+ if (isCreatableItem(item)) {
12671
+ return /* @__PURE__ */ jsx(Combobox.Item, { index, value: item, icon: /* @__PURE__ */ jsx(Plus, {}), children: queryToCreateLabel(item.value) });
12672
+ }
12643
12673
  return /* @__PURE__ */ jsx(
12644
12674
  Combobox.Item,
12645
12675
  {
12676
+ index,
12646
12677
  value: item,
12647
12678
  indicator,
12648
12679
  icon: itemToIcon(item),
@@ -12651,13 +12682,20 @@ var Combobox = ({
12651
12682
  }
12652
12683
  );
12653
12684
  };
12685
+ const rowStyle = (offset) => ({
12686
+ position: "absolute",
12687
+ top: 0,
12688
+ left: 0,
12689
+ width: "100%",
12690
+ transform: `translateY(${offset}px)`
12691
+ });
12654
12692
  return /* @__PURE__ */ jsxs(
12655
12693
  Combobox$1.Root,
12656
12694
  {
12657
- items,
12695
+ items: shouldVirtualize ? virtualItems : items,
12658
12696
  value,
12659
12697
  defaultValue,
12660
- filter: wrappedFilter,
12698
+ filter: shouldVirtualize ? null : wrappedFilter,
12661
12699
  onValueChange: handleOnValueChange,
12662
12700
  itemToStringLabel,
12663
12701
  isItemEqualToValue,
@@ -12667,6 +12705,12 @@ var Combobox = ({
12667
12705
  inputRef,
12668
12706
  inputValue,
12669
12707
  onInputValueChange: handleInputValueChange,
12708
+ virtualized: shouldVirtualize,
12709
+ onItemHighlighted: (_, details) => {
12710
+ if (shouldVirtualize && details.reason === "keyboard") {
12711
+ virtualizer.scrollToIndex(details.index);
12712
+ }
12713
+ },
12670
12714
  children: [
12671
12715
  /* @__PURE__ */ jsxs(
12672
12716
  ComboboxInputGroup,
@@ -12688,7 +12732,30 @@ var Combobox = ({
12688
12732
  ),
12689
12733
  /* @__PURE__ */ jsxs(ComboboxContent, { children: [
12690
12734
  /* @__PURE__ */ jsx(ComboboxEmpty, { children: empty }),
12691
- /* @__PURE__ */ jsx(ComboboxList, { children: (itemOrGroup) => {
12735
+ shouldVirtualize ? /* @__PURE__ */ jsx(ComboboxList, { ref: setListElement, children: /* @__PURE__ */ jsx(
12736
+ "div",
12737
+ {
12738
+ style: {
12739
+ position: "relative",
12740
+ width: "100%",
12741
+ height: `${virtualizer.getTotalSize()}px`
12742
+ },
12743
+ children: virtualizer.getVirtualItems().map((row) => {
12744
+ const item = virtualItems[row.index];
12745
+ if (item === void 0) return null;
12746
+ return /* @__PURE__ */ jsx(
12747
+ "div",
12748
+ {
12749
+ "data-index": row.index,
12750
+ ref: virtualizer.measureElement,
12751
+ style: rowStyle(row.start),
12752
+ children: renderItem(item, row.index)
12753
+ },
12754
+ row.key
12755
+ );
12756
+ })
12757
+ }
12758
+ ) }) : /* @__PURE__ */ jsx(ComboboxList, { children: (itemOrGroup) => {
12692
12759
  if (isCreatableItem(itemOrGroup))
12693
12760
  return /* @__PURE__ */ jsx(Combobox.Item, { value: itemOrGroup, icon: /* @__PURE__ */ jsx(Plus, {}), children: queryToCreateLabel(itemOrGroup.value) });
12694
12761
  if (isGroupItem(itemOrGroup)) {
@@ -12699,7 +12766,7 @@ var Combobox = ({
12699
12766
  const groupLabel = groupToLabel(itemOrGroup);
12700
12767
  return /* @__PURE__ */ jsxs(Combobox.Group, { items: itemOrGroup.items, children: [
12701
12768
  groupLabel && /* @__PURE__ */ jsx(Combobox.GroupLabel, { children: groupLabel }),
12702
- /* @__PURE__ */ jsx(Combobox.GroupList, { children: renderItem })
12769
+ /* @__PURE__ */ jsx(Combobox.GroupList, { children: (item) => renderItem(item) })
12703
12770
  ] });
12704
12771
  }
12705
12772
  return renderItem(itemOrGroup);
@@ -13737,6 +13804,8 @@ var formatDateRange = (range, inputValue) => {
13737
13804
  const toStr = to?.toLocaleDateString();
13738
13805
  return `${fromStr} - ${toStr}`;
13739
13806
  };
13807
+ var ISO_DATE_ONLY = /^\d{4}-\d{2}-\d{2}$/;
13808
+ var parseLocalDate = (value) => ISO_DATE_ONLY.test(value) ? /* @__PURE__ */ new Date(`${value}T00:00:00`) : new Date(value);
13740
13809
  var parseDateRange = (value) => {
13741
13810
  const parts = value.split(" - ");
13742
13811
  if (parts.length !== 2) {
@@ -13746,8 +13815,8 @@ var parseDateRange = (value) => {
13746
13815
  if (!fromPart || !toPart) {
13747
13816
  return null;
13748
13817
  }
13749
- const from = new Date(fromPart.trim());
13750
- const to = new Date(toPart.trim());
13818
+ const from = parseLocalDate(fromPart.trim());
13819
+ const to = parseLocalDate(toPart.trim());
13751
13820
  if (isNaN(from.getTime()) || isNaN(to.getTime())) {
13752
13821
  return null;
13753
13822
  }
@@ -23610,6 +23679,13 @@ function useAutosizeInput({
23610
23679
  ] });
23611
23680
  return { inputRef, inputStyle, sizerElement };
23612
23681
  }
23682
+ var useStableCallback = (callback) => {
23683
+ const latestRef = useRef(callback);
23684
+ useLayoutEffect(() => {
23685
+ latestRef.current = callback;
23686
+ }, [callback]);
23687
+ return useCallback((...args) => latestRef.current(...args), []);
23688
+ };
23613
23689
  var MIN_SCALE = 0.5;
23614
23690
  var MAX_SCALE = 3;
23615
23691
  var ZOOM_STEP = 0.1;
@@ -24565,6 +24641,6 @@ object-assign/index.js:
24565
24641
  *)
24566
24642
  */
24567
24643
 
24568
- export { Alert, AlertModal, AnswerSummary, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge2 as Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar2 as Calendar, Card, ChartPanel, Checkbox, Clipboard2 as Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, Command2 as Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, ExportMenu, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, InlineStepLabel, InputGroup, Kbd, Label2 as Label, Link3 as Link, Markdown, MarkedText, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, RadioGroup2 as RadioGroup, ResizableHandle, ResizablePanelGroup, ScrollArea, ScrollBar, Search2 as Search, SearchForm, SearchInput, SearchInputWithNavigation, Select2 as Select, Separator2 as Separator, Sheet2 as Sheet, Sidebar2 as Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table3 as Table, Tabs2 as Tabs, TabsContent, TextInput, Textarea, ThemeProvider, ThinkingIndicator, TimeInput, TimePicker, Timeline2 as Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, Tooltip, TooltipProvider, Truncated, UsageStats, UsageStatsRing, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
24644
+ export { Alert, AlertModal, AnswerSummary, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge2 as Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar2 as Calendar, Card, ChartPanel, Checkbox, Clipboard2 as Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, Command2 as Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, ExportMenu, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, InlineStepLabel, InputGroup, Kbd, Label2 as Label, Link3 as Link, Markdown, MarkedText, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, RadioGroup2 as RadioGroup, ResizableHandle, ResizablePanelGroup, ScrollArea, ScrollBar, Search2 as Search, SearchForm, SearchInput, SearchInputWithNavigation, Select2 as Select, Separator2 as Separator, Sheet2 as Sheet, Sidebar2 as Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table3 as Table, Tabs2 as Tabs, TabsContent, TextInput, Textarea, ThemeProvider, ThinkingIndicator, TimeInput, TimePicker, Timeline2 as Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, Tooltip, TooltipProvider, Truncated, UsageStats, UsageStatsRing, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, wcagLevel, withForm };
24569
24645
  //# sourceMappingURL=index.js.map
24570
24646
  //# sourceMappingURL=index.js.map