@nubase/frontend 0.1.17 → 0.1.19

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
@@ -2400,7 +2400,8 @@ interface ButtonProps extends React__default.ComponentProps<"button">, VariantPr
2400
2400
  }
2401
2401
  declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
2402
2402
 
2403
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
2403
+ declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
2404
+ interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
2404
2405
  hasError?: boolean;
2405
2406
  }
2406
2407
  declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -3677,4 +3678,4 @@ declare function isServerNetworkError(error: unknown): error is ServerNetworkErr
3677
3678
  */
3678
3679
  declare function getNetworkErrorMessage(error: unknown): string;
3679
3680
 
3680
- export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, ControllableSearchableTree, type ControllableSearchableTreeProps, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type FillEvent, type FlatItem, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, ListNavigator, type ListNavigatorItem, type ListNavigatorProps, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, type LookupSelectProps, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseFrontendConfig, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchTextInput, type SearchTextInputProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, ToggleGroup, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorItem, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defineCreateView, defineViewView, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, resolveMenuItem, resolveMenuItems, resolveResourceLink, resourceLink, showPromiseToast, showToast, strikethroughCommand, textEditor, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDialog, useHeaderRowSelection, useLayout, useModal, useNubaseMutation, useNubaseQuery, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaForm, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
3681
+ export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, ControllableSearchableTree, type ControllableSearchableTreeProps, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type FillEvent, type FlatItem, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, ListNavigator, type ListNavigatorItem, type ListNavigatorProps, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, type LookupSelectProps, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseFrontendConfig, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchTextInput, type SearchTextInputProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, ToggleGroup, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorItem, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defineCreateView, defineViewView, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, resolveMenuItem, resolveMenuItems, resolveResourceLink, resourceLink, showPromiseToast, showToast, strikethroughCommand, textEditor, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDialog, useHeaderRowSelection, useLayout, useModal, useNubaseMutation, useNubaseQuery, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaForm, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
package/dist/index.d.ts CHANGED
@@ -2400,7 +2400,8 @@ interface ButtonProps extends React__default.ComponentProps<"button">, VariantPr
2400
2400
  }
2401
2401
  declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
2402
2402
 
2403
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
2403
+ declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
2404
+ interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
2404
2405
  hasError?: boolean;
2405
2406
  }
2406
2407
  declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -3677,4 +3678,4 @@ declare function isServerNetworkError(error: unknown): error is ServerNetworkErr
3677
3678
  */
3678
3679
  declare function getNetworkErrorMessage(error: unknown): string;
3679
3680
 
3680
- export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, ControllableSearchableTree, type ControllableSearchableTreeProps, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type FillEvent, type FlatItem, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, ListNavigator, type ListNavigatorItem, type ListNavigatorProps, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, type LookupSelectProps, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseFrontendConfig, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchTextInput, type SearchTextInputProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, ToggleGroup, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorItem, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defineCreateView, defineViewView, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, resolveMenuItem, resolveMenuItems, resolveResourceLink, resourceLink, showPromiseToast, showToast, strikethroughCommand, textEditor, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDialog, useHeaderRowSelection, useLayout, useModal, useNubaseMutation, useNubaseQuery, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaForm, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
3681
+ export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, ControllableSearchableTree, type ControllableSearchableTreeProps, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type FillEvent, type FlatItem, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, ListNavigator, type ListNavigatorItem, type ListNavigatorProps, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, type LookupSelectProps, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseFrontendConfig, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchTextInput, type SearchTextInputProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, ToggleGroup, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorItem, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defineCreateView, defineViewView, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, resolveMenuItem, resolveMenuItems, resolveResourceLink, resourceLink, showPromiseToast, showToast, strikethroughCommand, textEditor, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDialog, useHeaderRowSelection, useLayout, useModal, useNubaseMutation, useNubaseQuery, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaForm, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
package/dist/index.js CHANGED
@@ -4502,6 +4502,7 @@ __export(index_exports, {
4502
4502
  Widget: () => Widget,
4503
4503
  boldCommand: () => boldCommand,
4504
4504
  checkListCommand: () => checkListCommand,
4505
+ checkboxVariants: () => checkboxVariants,
4505
4506
  cleanupKeybindings: () => cleanupKeybindings,
4506
4507
  codeBlockCommand: () => codeBlockCommand,
4507
4508
  codeCommand: () => codeCommand,
@@ -5463,9 +5464,40 @@ FormControl.displayName = "FormControl";
5463
5464
 
5464
5465
  // src/components/form-controls/controls/Checkbox/Checkbox.tsx
5465
5466
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
5467
+ var import_class_variance_authority4 = require("class-variance-authority");
5466
5468
  var import_lucide_react3 = require("lucide-react");
5467
5469
  var React = __toESM(require("react"));
5468
5470
  var import_jsx_runtime13 = require("react/jsx-runtime");
5471
+ var checkboxVariants = (0, import_class_variance_authority4.cva)([
5472
+ // Layout & Sizing
5473
+ "peer size-4 shrink-0",
5474
+ // Border & Shape
5475
+ "border border-input rounded-[4px]",
5476
+ // Background
5477
+ "dark:bg-input/30",
5478
+ // Visual Effects
5479
+ "shadow-xs outline-none",
5480
+ "transition-shadow",
5481
+ // Checked State
5482
+ "data-[state=checked]:bg-primary",
5483
+ "data-[state=checked]:text-primary-foreground",
5484
+ "data-[state=checked]:border-primary",
5485
+ "dark:data-[state=checked]:bg-primary",
5486
+ // Focus State
5487
+ "focus-visible:border-ring",
5488
+ "focus-visible:ring-ring/50 focus-visible:ring-[3px]",
5489
+ // Disabled State
5490
+ "disabled:cursor-not-allowed",
5491
+ "disabled:opacity-50"
5492
+ ]);
5493
+ var checkboxIndicatorVariants = (0, import_class_variance_authority4.cva)([
5494
+ // Layout
5495
+ "flex items-center justify-center",
5496
+ // Text
5497
+ "text-current",
5498
+ // Animation
5499
+ "transition-none"
5500
+ ]);
5469
5501
  var Checkbox = React.forwardRef(({ className, hasError, ...props }, ref) => {
5470
5502
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5471
5503
  CheckboxPrimitive.Root,
@@ -5473,8 +5505,14 @@ var Checkbox = React.forwardRef(({ className, hasError, ...props }, ref) => {
5473
5505
  ref,
5474
5506
  "data-slot": "checkbox",
5475
5507
  className: cn(
5476
- "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
5477
- hasError && "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-destructive ring-destructive/20",
5508
+ checkboxVariants(),
5509
+ hasError && [
5510
+ "border-destructive",
5511
+ "ring-destructive/20",
5512
+ "aria-invalid:border-destructive",
5513
+ "aria-invalid:ring-destructive/20",
5514
+ "dark:aria-invalid:ring-destructive/40"
5515
+ ],
5478
5516
  className
5479
5517
  ),
5480
5518
  "aria-invalid": hasError,
@@ -5483,7 +5521,7 @@ var Checkbox = React.forwardRef(({ className, hasError, ...props }, ref) => {
5483
5521
  CheckboxPrimitive.Indicator,
5484
5522
  {
5485
5523
  "data-slot": "checkbox-indicator",
5486
- className: "flex items-center justify-center text-current transition-none",
5524
+ className: checkboxIndicatorVariants(),
5487
5525
  children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react3.CheckIcon, { className: "size-3.5" })
5488
5526
  }
5489
5527
  )
@@ -5513,9 +5551,9 @@ var BooleanEditFieldRenderer = ({
5513
5551
  };
5514
5552
 
5515
5553
  // src/components/form/renderers/ViewFieldWrapper.tsx
5516
- var import_class_variance_authority4 = require("class-variance-authority");
5554
+ var import_class_variance_authority5 = require("class-variance-authority");
5517
5555
  var import_jsx_runtime15 = require("react/jsx-runtime");
5518
- var viewFieldWrapperVariants = (0, import_class_variance_authority4.cva)(
5556
+ var viewFieldWrapperVariants = (0, import_class_variance_authority5.cva)(
5519
5557
  [
5520
5558
  // Base styles shared by all view field renderers
5521
5559
  "w-full min-w-0 px-3 py-1 rounded-md",
@@ -5567,18 +5605,62 @@ var import_react_query = require("@tanstack/react-query");
5567
5605
  var import_react14 = require("react");
5568
5606
 
5569
5607
  // src/components/form-controls/controls/LookupSelect/LookupSelect.tsx
5570
- var import_class_variance_authority5 = require("class-variance-authority");
5608
+ var import_class_variance_authority6 = require("class-variance-authority");
5571
5609
  var import_downshift = require("downshift");
5572
5610
  var import_react13 = require("react");
5573
5611
  var import_jsx_runtime17 = require("react/jsx-runtime");
5574
- var lookupSelectVariants = (0, import_class_variance_authority5.cva)(
5575
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
5576
- );
5577
- var menuVariants = (0, import_class_variance_authority5.cva)(
5578
- "absolute z-50 w-full mt-1 bg-background border border-border rounded-md shadow-lg max-h-60 overflow-auto text-sm"
5579
- );
5580
- var optionVariants = (0, import_class_variance_authority5.cva)(
5581
- "px-3 py-2 cursor-pointer transition-colors select-none relative",
5612
+ var lookupSelectVariants = (0, import_class_variance_authority6.cva)([
5613
+ // Layout & Sizing
5614
+ "flex h-9 w-full min-w-0",
5615
+ // Spacing & Borders
5616
+ "px-3 py-1 rounded-md border border-input",
5617
+ // Background & Text
5618
+ "bg-transparent text-base",
5619
+ "dark:bg-input/30",
5620
+ // Visual Effects
5621
+ "shadow-xs outline-none",
5622
+ "transition-[color,box-shadow]",
5623
+ // Placeholder & Selection
5624
+ "placeholder:text-muted-foreground",
5625
+ "selection:bg-primary selection:text-primary-foreground",
5626
+ // File Input Styling
5627
+ "file:text-foreground file:inline-flex file:h-7",
5628
+ "file:border-0 file:bg-transparent file:text-sm file:font-medium",
5629
+ // Focus State
5630
+ "focus-visible:border-ring",
5631
+ "focus-visible:ring-ring/50 focus-visible:ring-[3px]",
5632
+ // Invalid State
5633
+ "aria-invalid:border-destructive",
5634
+ "aria-invalid:ring-destructive/20",
5635
+ "dark:aria-invalid:ring-destructive/40",
5636
+ // Disabled State
5637
+ "disabled:pointer-events-none",
5638
+ "disabled:cursor-not-allowed",
5639
+ "disabled:opacity-50"
5640
+ ]);
5641
+ var menuVariants = (0, import_class_variance_authority6.cva)([
5642
+ // Positioning
5643
+ "absolute z-50 w-full mt-1",
5644
+ // Background & Border
5645
+ "bg-background border border-border rounded-md",
5646
+ // Visual Effects
5647
+ "shadow-lg",
5648
+ // Sizing & Overflow
5649
+ "max-h-60 overflow-auto",
5650
+ // Text
5651
+ "text-sm"
5652
+ ]);
5653
+ var optionVariants = (0, import_class_variance_authority6.cva)(
5654
+ [
5655
+ // Layout
5656
+ "relative",
5657
+ // Spacing
5658
+ "px-3 py-2",
5659
+ // Interaction
5660
+ "cursor-pointer select-none",
5661
+ // Visual Effects
5662
+ "transition-colors"
5663
+ ],
5582
5664
  {
5583
5665
  variants: {
5584
5666
  isHighlighted: {
@@ -6046,10 +6128,10 @@ var LookupViewFieldRenderer = ({
6046
6128
  var import_react16 = require("react");
6047
6129
 
6048
6130
  // src/components/form-controls/controls/TextInput/TextInput.tsx
6049
- var import_class_variance_authority6 = require("class-variance-authority");
6131
+ var import_class_variance_authority7 = require("class-variance-authority");
6050
6132
  var import_react15 = require("react");
6051
6133
  var import_jsx_runtime20 = require("react/jsx-runtime");
6052
- var textInputVariants = (0, import_class_variance_authority6.cva)([
6134
+ var textInputVariants = (0, import_class_variance_authority7.cva)([
6053
6135
  // Layout & Sizing
6054
6136
  "flex h-9 w-full min-w-0",
6055
6137
  // Spacing & Borders
@@ -6807,10 +6889,10 @@ var SchemaFormBody = ({
6807
6889
  };
6808
6890
 
6809
6891
  // src/components/buttons/ButtonBar/ButtonBar.tsx
6810
- var import_class_variance_authority7 = require("class-variance-authority");
6892
+ var import_class_variance_authority8 = require("class-variance-authority");
6811
6893
  var import_react22 = require("react");
6812
6894
  var import_jsx_runtime33 = require("react/jsx-runtime");
6813
- var buttonBarVariants = (0, import_class_variance_authority7.cva)("flex gap-3 p-3", {
6895
+ var buttonBarVariants = (0, import_class_variance_authority8.cva)("flex gap-3 p-3", {
6814
6896
  variants: {
6815
6897
  alignment: {
6816
6898
  left: "justify-start",
@@ -6884,9 +6966,9 @@ var SchemaFormButtonBar = ({
6884
6966
  };
6885
6967
 
6886
6968
  // src/components/callout/Callout.tsx
6887
- var import_class_variance_authority8 = require("class-variance-authority");
6969
+ var import_class_variance_authority9 = require("class-variance-authority");
6888
6970
  var import_jsx_runtime35 = require("react/jsx-runtime");
6889
- var calloutVariants = (0, import_class_variance_authority8.cva)(
6971
+ var calloutVariants = (0, import_class_variance_authority9.cva)(
6890
6972
  "rounded-md px-4 py-3 text-sm flex items-start gap-3",
6891
6973
  {
6892
6974
  variants: {
@@ -7145,13 +7227,39 @@ var useModal = () => {
7145
7227
  var import_react27 = require("react");
7146
7228
 
7147
7229
  // src/components/form-controls/controls/SearchTextInput/SearchTextInput.tsx
7148
- var import_class_variance_authority9 = require("class-variance-authority");
7230
+ var import_class_variance_authority10 = require("class-variance-authority");
7149
7231
  var import_lucide_react5 = require("lucide-react");
7150
7232
  var import_react24 = require("react");
7151
7233
  var import_jsx_runtime41 = require("react/jsx-runtime");
7152
- var searchTextInputVariants = (0, import_class_variance_authority9.cva)(
7153
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent pl-10 pr-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
7154
- );
7234
+ var searchTextInputVariants = (0, import_class_variance_authority10.cva)([
7235
+ // Layout & Sizing
7236
+ "flex h-9 w-full min-w-0",
7237
+ // Spacing & Borders (pl-10 for search icon)
7238
+ "pl-10 pr-3 py-1 rounded-md border border-input",
7239
+ // Background & Text
7240
+ "bg-transparent text-base",
7241
+ "dark:bg-input/30",
7242
+ // Visual Effects
7243
+ "shadow-xs outline-none",
7244
+ "transition-[color,box-shadow]",
7245
+ // Placeholder & Selection
7246
+ "placeholder:text-muted-foreground",
7247
+ "selection:bg-primary selection:text-primary-foreground",
7248
+ // File Input Styling
7249
+ "file:text-foreground file:inline-flex file:h-7",
7250
+ "file:border-0 file:bg-transparent file:text-sm file:font-medium",
7251
+ // Focus State
7252
+ "focus-visible:border-ring",
7253
+ "focus-visible:ring-ring/50 focus-visible:ring-[3px]",
7254
+ // Invalid State
7255
+ "aria-invalid:border-destructive",
7256
+ "aria-invalid:ring-destructive/20",
7257
+ "dark:aria-invalid:ring-destructive/40",
7258
+ // Disabled State
7259
+ "disabled:pointer-events-none",
7260
+ "disabled:cursor-not-allowed",
7261
+ "disabled:opacity-50"
7262
+ ]);
7155
7263
  var SearchTextInput = (0, import_react24.forwardRef)(
7156
7264
  ({ className, type = "search", hasError, ...props }, ref) => {
7157
7265
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative", children: [
@@ -7397,8 +7505,10 @@ var TreeNavigatorComponent = ({
7397
7505
  event.preventDefault();
7398
7506
  if (currentItem?.hasChildren) {
7399
7507
  toggleExpanded(currentItem.id);
7508
+ } else if (currentItem?.onExecute) {
7509
+ currentItem.onExecute();
7400
7510
  } else {
7401
- currentItem?.onExecute?.();
7511
+ itemRefs.current[selectedIndex]?.click();
7402
7512
  }
7403
7513
  }
7404
7514
  }
@@ -8782,18 +8892,60 @@ function ActionCellRendererGroup(_props) {
8782
8892
  }
8783
8893
 
8784
8894
  // src/components/form-controls/controls/Select/Select.tsx
8785
- var import_class_variance_authority10 = require("class-variance-authority");
8895
+ var import_class_variance_authority11 = require("class-variance-authority");
8786
8896
  var import_downshift2 = require("downshift");
8787
8897
  var import_react31 = require("react");
8788
8898
  var import_jsx_runtime51 = require("react/jsx-runtime");
8789
- var selectVariants = (0, import_class_variance_authority10.cva)(
8790
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
8791
- );
8792
- var menuVariants2 = (0, import_class_variance_authority10.cva)(
8793
- "absolute z-50 w-full mt-1 bg-background border border-border rounded-md shadow-lg max-h-60 overflow-auto text-sm"
8794
- );
8795
- var optionVariants2 = (0, import_class_variance_authority10.cva)(
8796
- "px-4 py-2 cursor-pointer transition-colors select-none",
8899
+ var selectVariants = (0, import_class_variance_authority11.cva)([
8900
+ // Layout & Sizing
8901
+ "flex h-9 w-full min-w-0",
8902
+ // Spacing & Borders
8903
+ "px-3 py-1 rounded-md border border-input",
8904
+ // Background & Text
8905
+ "bg-transparent text-base",
8906
+ "dark:bg-input/30",
8907
+ // Visual Effects
8908
+ "shadow-xs outline-none",
8909
+ "transition-[color,box-shadow]",
8910
+ // Placeholder & Selection
8911
+ "placeholder:text-muted-foreground",
8912
+ "selection:bg-primary selection:text-primary-foreground",
8913
+ // File Input Styling
8914
+ "file:text-foreground file:inline-flex file:h-7",
8915
+ "file:border-0 file:bg-transparent file:text-sm file:font-medium",
8916
+ // Focus State
8917
+ "focus-visible:border-ring",
8918
+ "focus-visible:ring-ring/50 focus-visible:ring-[3px]",
8919
+ // Invalid State
8920
+ "aria-invalid:border-destructive",
8921
+ "aria-invalid:ring-destructive/20",
8922
+ "dark:aria-invalid:ring-destructive/40",
8923
+ // Disabled State
8924
+ "disabled:pointer-events-none",
8925
+ "disabled:cursor-not-allowed",
8926
+ "disabled:opacity-50"
8927
+ ]);
8928
+ var menuVariants2 = (0, import_class_variance_authority11.cva)([
8929
+ // Positioning
8930
+ "absolute z-50 w-full mt-1",
8931
+ // Background & Border
8932
+ "bg-background border border-border rounded-md",
8933
+ // Visual Effects
8934
+ "shadow-lg",
8935
+ // Sizing & Overflow
8936
+ "max-h-60 overflow-auto",
8937
+ // Text
8938
+ "text-sm"
8939
+ ]);
8940
+ var optionVariants2 = (0, import_class_variance_authority11.cva)(
8941
+ [
8942
+ // Spacing
8943
+ "px-4 py-2",
8944
+ // Interaction
8945
+ "cursor-pointer select-none",
8946
+ // Visual Effects
8947
+ "transition-colors"
8948
+ ],
8797
8949
  {
8798
8950
  variants: {
8799
8951
  isHighlighted: {
@@ -12182,10 +12334,10 @@ __export(definitions_exports, {
12182
12334
  });
12183
12335
 
12184
12336
  // src/components/buttons/ActionBar/ActionBar.tsx
12185
- var import_class_variance_authority11 = require("class-variance-authority");
12337
+ var import_class_variance_authority12 = require("class-variance-authority");
12186
12338
  var import_react51 = require("react");
12187
12339
  var import_jsx_runtime74 = require("react/jsx-runtime");
12188
- var actionBarVariants = (0, import_class_variance_authority11.cva)("flex items-center gap-1 text-sm font-medium", {
12340
+ var actionBarVariants = (0, import_class_variance_authority12.cva)("flex items-center gap-1 text-sm font-medium", {
12189
12341
  variants: {
12190
12342
  variant: {
12191
12343
  default: ""
@@ -12195,7 +12347,7 @@ var actionBarVariants = (0, import_class_variance_authority11.cva)("flex items-c
12195
12347
  variant: "default"
12196
12348
  }
12197
12349
  });
12198
- var actionVariants = (0, import_class_variance_authority11.cva)(
12350
+ var actionVariants = (0, import_class_variance_authority12.cva)(
12199
12351
  "inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] px-2 py-1.5 text-sm cursor-pointer hover:bg-accent hover:text-accent-foreground",
12200
12352
  {
12201
12353
  variants: {
@@ -12209,7 +12361,7 @@ var actionVariants = (0, import_class_variance_authority11.cva)(
12209
12361
  }
12210
12362
  }
12211
12363
  );
12212
- var separatorVariants = (0, import_class_variance_authority11.cva)("bg-border w-[1px] h-6 mx-2 opacity-60");
12364
+ var separatorVariants = (0, import_class_variance_authority12.cva)("bg-border w-[1px] h-6 mx-2 opacity-60");
12213
12365
  var ActionBar = (0, import_react51.forwardRef)(
12214
12366
  ({ className, variant, actions, ...props }, ref) => {
12215
12367
  const { executeAction: executeAction2 } = useActionExecutor();
@@ -12265,10 +12417,10 @@ var ActionBar = (0, import_react51.forwardRef)(
12265
12417
  ActionBar.displayName = "ActionBar";
12266
12418
 
12267
12419
  // src/components/buttons/ActionBar/ActionBarContainer.tsx
12268
- var import_class_variance_authority12 = require("class-variance-authority");
12420
+ var import_class_variance_authority13 = require("class-variance-authority");
12269
12421
  var import_react52 = require("react");
12270
12422
  var import_jsx_runtime75 = require("react/jsx-runtime");
12271
- var actionBarContainerVariants = (0, import_class_variance_authority12.cva)(
12423
+ var actionBarContainerVariants = (0, import_class_variance_authority13.cva)(
12272
12424
  "bg-card border-border rounded-lg border p-3",
12273
12425
  {
12274
12426
  variants: {
@@ -14603,7 +14755,7 @@ var MainNav = (0, import_react65.forwardRef)(
14603
14755
  MainNav.displayName = "MainNav";
14604
14756
 
14605
14757
  // src/components/navigation/main-nav/NavItemComponent.tsx
14606
- var import_class_variance_authority13 = require("class-variance-authority");
14758
+ var import_class_variance_authority14 = require("class-variance-authority");
14607
14759
 
14608
14760
  // src/components/navigation/main-nav/SafeLink.tsx
14609
14761
  var import_jsx_runtime101 = require("react/jsx-runtime");
@@ -14625,7 +14777,7 @@ var SafeLink = ({ to, className, onClick, children }) => {
14625
14777
 
14626
14778
  // src/components/navigation/main-nav/NavItemComponent.tsx
14627
14779
  var import_jsx_runtime102 = require("react/jsx-runtime");
14628
- var navItemVariants = (0, import_class_variance_authority13.cva)(
14780
+ var navItemVariants = (0, import_class_variance_authority14.cva)(
14629
14781
  "flex items-center gap-3 px-3 py-2 text-sm font-medium transition-all duration-200 rounded-md group",
14630
14782
  {
14631
14783
  variants: {
@@ -15765,7 +15917,8 @@ function SignInScreen() {
15765
15917
  {
15766
15918
  name: "email",
15767
15919
  validators: {
15768
- onBlur: ({ value }) => !value ? "Email is required" : void 0
15920
+ onBlur: ({ value }) => !value ? "Email is required" : void 0,
15921
+ onChange: ({ value }) => !value ? "Email is required" : void 0
15769
15922
  },
15770
15923
  children: (field) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(FormControl, { label: "Email", required: true, field, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
15771
15924
  TextInput,
@@ -15775,6 +15928,7 @@ function SignInScreen() {
15775
15928
  placeholder: "Enter your email",
15776
15929
  value: field.state.value,
15777
15930
  onChange: (e) => field.handleChange(e.target.value),
15931
+ onInput: (e) => field.handleChange(e.target.value),
15778
15932
  onBlur: field.handleBlur,
15779
15933
  autoComplete: "email",
15780
15934
  disabled: isLoading,
@@ -15788,7 +15942,8 @@ function SignInScreen() {
15788
15942
  {
15789
15943
  name: "password",
15790
15944
  validators: {
15791
- onBlur: ({ value }) => !value ? "Password is required" : void 0
15945
+ onBlur: ({ value }) => !value ? "Password is required" : void 0,
15946
+ onChange: ({ value }) => !value ? "Password is required" : void 0
15792
15947
  },
15793
15948
  children: (field) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(FormControl, { label: "Password", required: true, field, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
15794
15949
  TextInput,
@@ -15798,6 +15953,7 @@ function SignInScreen() {
15798
15953
  placeholder: "Enter your password",
15799
15954
  value: field.state.value,
15800
15955
  onChange: (e) => field.handleChange(e.target.value),
15956
+ onInput: (e) => field.handleChange(e.target.value),
15801
15957
  onBlur: field.handleBlur,
15802
15958
  autoComplete: "current-password",
15803
15959
  disabled: isLoading,
@@ -15971,6 +16127,13 @@ function SignUpScreen() {
15971
16127
  return "Please enter a valid email address";
15972
16128
  }
15973
16129
  return void 0;
16130
+ },
16131
+ onChange: ({ value }) => {
16132
+ if (!value) return "Email is required";
16133
+ if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
16134
+ return "Please enter a valid email address";
16135
+ }
16136
+ return void 0;
15974
16137
  }
15975
16138
  },
15976
16139
  children: (field) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(FormControl, { label: "Email", required: true, field, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
@@ -15981,6 +16144,7 @@ function SignUpScreen() {
15981
16144
  placeholder: "Enter your email",
15982
16145
  value: field.state.value,
15983
16146
  onChange: (e) => field.handleChange(e.target.value),
16147
+ onInput: (e) => field.handleChange(e.target.value),
15984
16148
  onBlur: field.handleBlur,
15985
16149
  autoComplete: "email",
15986
16150
  disabled: isLoading,
@@ -16023,6 +16187,13 @@ function SignUpScreen() {
16023
16187
  return "Password must be at least 8 characters";
16024
16188
  }
16025
16189
  return void 0;
16190
+ },
16191
+ onChange: ({ value }) => {
16192
+ if (!value) return "Password is required";
16193
+ if (value.length < 8) {
16194
+ return "Password must be at least 8 characters";
16195
+ }
16196
+ return void 0;
16026
16197
  }
16027
16198
  },
16028
16199
  children: (field) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(FormControl, { label: "Password", required: true, field, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
@@ -16033,6 +16204,7 @@ function SignUpScreen() {
16033
16204
  placeholder: "Enter your password",
16034
16205
  value: field.state.value,
16035
16206
  onChange: (e) => field.handleChange(e.target.value),
16207
+ onInput: (e) => field.handleChange(e.target.value),
16036
16208
  onBlur: field.handleBlur,
16037
16209
  autoComplete: "new-password",
16038
16210
  disabled: isLoading,
@@ -16051,6 +16223,12 @@ function SignUpScreen() {
16051
16223
  if (!value) return "Please confirm your password";
16052
16224
  if (value !== password) return "Passwords do not match";
16053
16225
  return void 0;
16226
+ },
16227
+ onChange: ({ value, fieldApi }) => {
16228
+ const password = fieldApi.form.getFieldValue("password");
16229
+ if (!value) return "Please confirm your password";
16230
+ if (value !== password) return "Passwords do not match";
16231
+ return void 0;
16054
16232
  }
16055
16233
  },
16056
16234
  children: (field) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(FormControl, { label: "Confirm Password", required: true, field, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
@@ -16061,6 +16239,7 @@ function SignUpScreen() {
16061
16239
  placeholder: "Confirm your password",
16062
16240
  value: field.state.value,
16063
16241
  onChange: (e) => field.handleChange(e.target.value),
16242
+ onInput: (e) => field.handleChange(e.target.value),
16064
16243
  onBlur: field.handleBlur,
16065
16244
  autoComplete: "new-password",
16066
16245
  disabled: isLoading,
@@ -19136,6 +19315,7 @@ function resolveMenuItems(items, commandRegistry2) {
19136
19315
  Widget,
19137
19316
  boldCommand,
19138
19317
  checkListCommand,
19318
+ checkboxVariants,
19139
19319
  cleanupKeybindings,
19140
19320
  codeBlockCommand,
19141
19321
  codeCommand,