@optilogic/core 1.2.2 → 1.2.3
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.cjs +662 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +143 -5
- package/dist/index.d.ts +143 -5
- package/dist/index.js +658 -53
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/combobox.tsx +340 -0
- package/src/components/data-grid/DataGrid.tsx +66 -24
- package/src/components/data-grid/components/HeaderCell.tsx +5 -1
- package/src/components/data-grid/hooks/useColumnResize.ts +30 -1
- package/src/components/data-grid/types.ts +5 -0
- package/src/components/multi-select.tsx +375 -0
- package/src/components/select.tsx +18 -2
- package/src/components/tabs.tsx +92 -28
- package/src/index.ts +16 -0
package/dist/index.d.cts
CHANGED
|
@@ -253,6 +253,9 @@ declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<Sel
|
|
|
253
253
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
254
254
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
255
255
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
256
|
+
interface SelectItemDescriptionProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
257
|
+
}
|
|
258
|
+
declare const SelectItemDescription: React$1.ForwardRefExoticComponent<SelectItemDescriptionProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
256
259
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
257
260
|
|
|
258
261
|
/**
|
|
@@ -271,18 +274,32 @@ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrim
|
|
|
271
274
|
* </Tabs>
|
|
272
275
|
*/
|
|
273
276
|
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
277
|
+
declare const tabsListVariants: (props?: ({
|
|
278
|
+
variant?: "default" | "pill" | "unstyled" | null | undefined;
|
|
279
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
280
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
281
|
+
variant?: "default" | "pill" | "unstyled" | null | undefined;
|
|
282
|
+
indicatorSize?: "default" | "sm" | "lg" | null | undefined;
|
|
283
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
284
|
+
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
285
|
+
}
|
|
274
286
|
/**
|
|
275
287
|
* TabsList
|
|
276
288
|
*
|
|
277
289
|
* Container for tab triggers. Provides the tab header bar.
|
|
290
|
+
* Supports variants: default, pill, unstyled
|
|
278
291
|
*/
|
|
279
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<
|
|
292
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
293
|
+
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
294
|
+
}
|
|
280
295
|
/**
|
|
281
296
|
* TabsTrigger
|
|
282
297
|
*
|
|
283
298
|
* Individual tab button that activates its associated content.
|
|
299
|
+
* Supports variants: default, pill, unstyled
|
|
300
|
+
* Supports indicatorSize: sm, default, lg (only applies to default variant)
|
|
284
301
|
*/
|
|
285
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<
|
|
302
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
286
303
|
/**
|
|
287
304
|
* TabsContent
|
|
288
305
|
*
|
|
@@ -1611,6 +1628,10 @@ interface DataGridProps<T = Record<string, CellValue>> {
|
|
|
1611
1628
|
tooltipMinLength?: number;
|
|
1612
1629
|
/** Show column dividing borders between cells (default: true) */
|
|
1613
1630
|
showColumnBorders?: boolean;
|
|
1631
|
+
/** When true, columns scale proportionally to fill the container width.
|
|
1632
|
+
* Columns shrink/grow to keep total width = container width.
|
|
1633
|
+
* Horizontal scroll only kicks in if columns hit their minWidth constraints. */
|
|
1634
|
+
fillWidth?: boolean;
|
|
1614
1635
|
/** Enable internal sorting when in uncontrolled mode (default: true) */
|
|
1615
1636
|
enableInternalSorting?: boolean;
|
|
1616
1637
|
/** Enable internal filtering when in uncontrolled mode (default: true) */
|
|
@@ -1724,6 +1745,7 @@ interface HeaderCellProps$1<T = Record<string, CellValue>> {
|
|
|
1724
1745
|
sorting?: SortConfig;
|
|
1725
1746
|
filter?: FilterConfig;
|
|
1726
1747
|
isResizable: boolean;
|
|
1748
|
+
fillWidth?: boolean;
|
|
1727
1749
|
onSort?: () => void;
|
|
1728
1750
|
onFilterChange?: (filter: FilterConfig | null) => void;
|
|
1729
1751
|
onResize?: (width: number) => void;
|
|
@@ -1769,7 +1791,7 @@ interface GridCellProps<T = Record<string, CellValue>> {
|
|
|
1769
1791
|
/**
|
|
1770
1792
|
* DataGrid Component
|
|
1771
1793
|
*/
|
|
1772
|
-
declare function DataGrid<T = Record<string, CellValue>>({ data, columns, getRowKey, resizableColumns, virtualized, stickyHeader, showTooltips, tooltipMinLength, enableKeyboardNavigation, showColumnBorders, enableInternalSorting, enableInternalFiltering, sorting: controlledSorting, onSortChange, filters: controlledFilters, onFilterChange, columnWidths: controlledColumnWidths, onColumnResize, onColumnResizeStart, onColumnResizeEnd, defaultSorting, defaultFilters, defaultColumnWidths, onStateChange, onRowClick, onRowDoubleClick, selectedRows, onSelectedRowsChange, rowClassName, onCellEdit, onCellEditStart, onCellEditCancel, focusedCell: controlledFocusedCell, onFocusedCellChange, pagination, search, loading, loadingComponent, emptyMessage, emptyComponent, className, tableClassName, infiniteScroll, onLoadMore, hasMore, loadingMore, }: DataGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
1794
|
+
declare function DataGrid<T = Record<string, CellValue>>({ data, columns, getRowKey, resizableColumns, virtualized, stickyHeader, showTooltips, tooltipMinLength, enableKeyboardNavigation, showColumnBorders, fillWidth, enableInternalSorting, enableInternalFiltering, sorting: controlledSorting, onSortChange, filters: controlledFilters, onFilterChange, columnWidths: controlledColumnWidths, onColumnResize, onColumnResizeStart, onColumnResizeEnd, defaultSorting, defaultFilters, defaultColumnWidths, onStateChange, onRowClick, onRowDoubleClick, selectedRows, onSelectedRowsChange, rowClassName, onCellEdit, onCellEditStart, onCellEditCancel, focusedCell: controlledFocusedCell, onFocusedCellChange, pagination, search, loading, loadingComponent, emptyMessage, emptyComponent, className, tableClassName, infiniteScroll, onLoadMore, hasMore, loadingMore, }: DataGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
1773
1795
|
|
|
1774
1796
|
interface HeaderCellProps<T = any> {
|
|
1775
1797
|
/** Column definition */
|
|
@@ -1784,6 +1806,8 @@ interface HeaderCellProps<T = any> {
|
|
|
1784
1806
|
filter?: FilterConfig;
|
|
1785
1807
|
/** Whether this column is resizable */
|
|
1786
1808
|
isResizable: boolean;
|
|
1809
|
+
/** Whether fillWidth mode is active */
|
|
1810
|
+
fillWidth?: boolean;
|
|
1787
1811
|
/** Callback when sort is toggled */
|
|
1788
1812
|
onSort?: () => void;
|
|
1789
1813
|
/** Callback when filter changes */
|
|
@@ -1798,7 +1822,7 @@ interface HeaderCellProps<T = any> {
|
|
|
1798
1822
|
/**
|
|
1799
1823
|
* HeaderCell Component
|
|
1800
1824
|
*/
|
|
1801
|
-
declare function HeaderCell<T = any>({ column, columnIndex, width, sorting, filter, isResizable, onSort, onFilterChange, onResizeMouseDown, onResizeDoubleClick, isResizing, }: HeaderCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
1825
|
+
declare function HeaderCell<T = any>({ column, columnIndex, width, sorting, filter, isResizable, fillWidth, onSort, onFilterChange, onResizeMouseDown, onResizeDoubleClick, isResizing, }: HeaderCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
1802
1826
|
|
|
1803
1827
|
interface FilterPopoverProps<T = Record<string, CellValue>> {
|
|
1804
1828
|
/** Column definition */
|
|
@@ -2002,6 +2026,12 @@ interface UseColumnResizeManagerOptions<T = any> {
|
|
|
2002
2026
|
onColumnResizeStart?: (columnKey: string) => void;
|
|
2003
2027
|
/** Callback when resize ends */
|
|
2004
2028
|
onColumnResizeEnd?: (columnKey: string, width: number) => void;
|
|
2029
|
+
/** Whether fillWidth mode is active */
|
|
2030
|
+
fillWidth?: boolean;
|
|
2031
|
+
/** Measured container width for fillWidth redistribution */
|
|
2032
|
+
containerWidth?: number;
|
|
2033
|
+
/** Effective column widths (after fillWidth scaling) */
|
|
2034
|
+
effectiveColumnWidths?: Record<string, number>;
|
|
2005
2035
|
}
|
|
2006
2036
|
interface UseColumnResizeManagerReturn {
|
|
2007
2037
|
/** Currently resizing column key */
|
|
@@ -2110,6 +2140,114 @@ interface AutocompleteProps {
|
|
|
2110
2140
|
*/
|
|
2111
2141
|
declare function Autocomplete({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, clearable, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
2112
2142
|
|
|
2143
|
+
interface MultiSelectProps {
|
|
2144
|
+
/** Array of options to display */
|
|
2145
|
+
options: AutocompleteOption[];
|
|
2146
|
+
/** Currently selected values */
|
|
2147
|
+
value?: string[];
|
|
2148
|
+
/** Callback when selection changes */
|
|
2149
|
+
onChange?: (values: string[]) => void;
|
|
2150
|
+
/** Placeholder text when no selection */
|
|
2151
|
+
placeholder?: string;
|
|
2152
|
+
/** Placeholder for the search input */
|
|
2153
|
+
searchPlaceholder?: string;
|
|
2154
|
+
/** Text to show when no options match the search */
|
|
2155
|
+
emptyText?: string;
|
|
2156
|
+
/** Whether the multi-select is disabled */
|
|
2157
|
+
disabled?: boolean;
|
|
2158
|
+
/** Additional class name for the trigger */
|
|
2159
|
+
className?: string;
|
|
2160
|
+
/** Whether to show the clear-all button */
|
|
2161
|
+
clearable?: boolean;
|
|
2162
|
+
/** Max number of pills to display before showing "+N more" */
|
|
2163
|
+
maxDisplayItems?: number;
|
|
2164
|
+
/** Whether to show a "Select All" toggle */
|
|
2165
|
+
showSelectAll?: boolean;
|
|
2166
|
+
/** Custom label for the select all option */
|
|
2167
|
+
selectAllLabel?: string;
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* MultiSelect component - a multi-select dropdown with checkboxes
|
|
2171
|
+
*
|
|
2172
|
+
* Features:
|
|
2173
|
+
* - Checkbox selection for multiple options
|
|
2174
|
+
* - Search filtering
|
|
2175
|
+
* - Grouped options support
|
|
2176
|
+
* - Descriptions per option
|
|
2177
|
+
* - Tag pills with individual removal
|
|
2178
|
+
* - "Select All" toggle
|
|
2179
|
+
*
|
|
2180
|
+
* @example
|
|
2181
|
+
* <MultiSelect
|
|
2182
|
+
* options={[
|
|
2183
|
+
* { value: 'react', label: 'React', description: 'A JS library' },
|
|
2184
|
+
* { value: 'vue', label: 'Vue', group: 'Frameworks' },
|
|
2185
|
+
* ]}
|
|
2186
|
+
* value={selected}
|
|
2187
|
+
* onChange={setSelected}
|
|
2188
|
+
* placeholder="Select frameworks..."
|
|
2189
|
+
* showSelectAll
|
|
2190
|
+
* />
|
|
2191
|
+
*/
|
|
2192
|
+
declare function MultiSelect({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, clearable, maxDisplayItems, showSelectAll, selectAllLabel, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
|
|
2193
|
+
declare namespace MultiSelect {
|
|
2194
|
+
var displayName: string;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
interface ComboboxProps {
|
|
2198
|
+
/** Array of options to display */
|
|
2199
|
+
options: AutocompleteOption[];
|
|
2200
|
+
/** Currently selected value */
|
|
2201
|
+
value?: string;
|
|
2202
|
+
/** Callback when selection changes */
|
|
2203
|
+
onChange?: (value: string | undefined) => void;
|
|
2204
|
+
/** Callback when the input text changes (for controlled/async filtering) */
|
|
2205
|
+
onInputChange?: (input: string) => void;
|
|
2206
|
+
/** Placeholder text when empty */
|
|
2207
|
+
placeholder?: string;
|
|
2208
|
+
/** Text to show when no options match */
|
|
2209
|
+
emptyText?: string;
|
|
2210
|
+
/** Whether the combobox is disabled */
|
|
2211
|
+
disabled?: boolean;
|
|
2212
|
+
/** Additional class name for the trigger */
|
|
2213
|
+
className?: string;
|
|
2214
|
+
/** Whether to allow clearing the selection */
|
|
2215
|
+
clearable?: boolean;
|
|
2216
|
+
/** Whether to allow custom values not in the options list */
|
|
2217
|
+
allowCustomValue?: boolean;
|
|
2218
|
+
}
|
|
2219
|
+
/**
|
|
2220
|
+
* Combobox component - a searchable input that also allows custom values
|
|
2221
|
+
*
|
|
2222
|
+
* Unlike Autocomplete (button trigger, select-only), Combobox uses an
|
|
2223
|
+
* inline text input as the trigger. Users can type to filter options
|
|
2224
|
+
* AND optionally commit custom values not in the list.
|
|
2225
|
+
*
|
|
2226
|
+
* Features:
|
|
2227
|
+
* - Inline text input trigger
|
|
2228
|
+
* - Dropdown opens on focus/typing
|
|
2229
|
+
* - Grouped options with descriptions
|
|
2230
|
+
* - Custom value support (allowCustomValue)
|
|
2231
|
+
* - Clearable selection
|
|
2232
|
+
* - Async filtering via onInputChange
|
|
2233
|
+
*
|
|
2234
|
+
* @example
|
|
2235
|
+
* <Combobox
|
|
2236
|
+
* options={[
|
|
2237
|
+
* { value: 'react', label: 'React' },
|
|
2238
|
+
* { value: 'vue', label: 'Vue' },
|
|
2239
|
+
* ]}
|
|
2240
|
+
* value={selected}
|
|
2241
|
+
* onChange={setSelected}
|
|
2242
|
+
* placeholder="Type or select..."
|
|
2243
|
+
* allowCustomValue
|
|
2244
|
+
* />
|
|
2245
|
+
*/
|
|
2246
|
+
declare function Combobox({ options, value, onChange, onInputChange, placeholder, emptyText, disabled, className, clearable, allowCustomValue, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
2247
|
+
declare namespace Combobox {
|
|
2248
|
+
var displayName: string;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2113
2251
|
declare const iconButtonVariants: (props?: ({
|
|
2114
2252
|
variant?: "default" | "outline" | "ghost" | "muted" | "filled" | null | undefined;
|
|
2115
2253
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -3088,4 +3226,4 @@ type SortingConfig = {
|
|
|
3088
3226
|
onSort: (field: string) => void;
|
|
3089
3227
|
};
|
|
3090
3228
|
|
|
3091
|
-
export { ALL_THEMES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Autocomplete, type AutocompleteOption, type AutocompleteProps, Badge, type BadgeProps, Board, BoardContent, type BoardContentProps, BoardHeader, type BoardHeaderProps, type BoardProps, type BuiltInContentType, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGrid, type CardGridProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, CardList, type CardListProps, type CardProps, CardTitle, type CardTitleProps, type CellEditEvent, CellEditor, type CellEditorProps$1 as CellEditorProps, type CellPosition, Checkbox, type CheckboxProps, Chip, type ChipProps, CodeRenderer, type ColorFieldConfig, type ColumnDef, ConfirmationModal, type ConfirmationModalProps, type ContentType, type ContentTypeDetectionResult, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, CosmicFrogIcon, type CosmicFrogIconProps, CsvRenderer, DARK_ELEGANT_THEME, DEFAULT_RENDERERS, DataGrid, type DataGridContextValue, type DataGridInternalState, type DataGridProps, type DataGridState, DataStarIcon, type DataStarIconProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DateFilterOperator, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type EditingCell, type EditorType, type FileRenderer, type FileRendererProps, FileView, type FileViewError, type FileViewProps, type FilterConfig, type FilterOperator, FilterPopover, type FilterPopoverProps$1 as FilterPopoverProps, type FilterType, type GridCellProps, HeaderCell, type HeaderCellProps$1 as HeaderCellProps, HtmlRenderer, IconButton, type IconButtonProps, ImageRenderer, Input, type InputProps, Label, type LabelProps, LoadingSpinner, type LoadingSpinnerProps, MINIMALIST_LIGHT_THEME, MODERN_DARK_THEME, MODERN_LIGHT_THEME, MarkdownRenderer, Modal, ModalButton, type ModalButtonProps, type ModalProps, type NumberFilterOperator, OPTILOGIC_DARK_THEME, OPTILOGIC_LEGACY_THEME, OptilogicLogo, type OptilogicLogoProps, OptilogicLogoWithText, type OptilogicLogoWithTextProps, PRESET_THEMES, type PaginationConfig, PlainTextRenderer, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, type ProgressProps, type RendererRegistry, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleProps, type ResolveImageUrl, type SearchConfig, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCard, type SelectableCardProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SortConfig, type SortingConfig, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextFilterOperator, Textarea, type TextareaProps, type Theme, type ThemeHSL, type ThemeHex, ThemePicker, type ThemePickerProps, Toaster, type ToasterProps, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, type UseContentTypeOptions, type UseContentTypeReturn, type UseContextMenuResult, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, applyFilterOperator, applyFilters, applySorting, applyTheme, areThemesEqual, badgeVariants, boardVariants, buttonVariants, cardActionsVariants, cardGridVariants, cardImageVariants, cardListVariants, cardVariants, cloneTheme, cn, detectContentType, exportTheme, getCellValue, getCurrentTheme, getDefaultTheme, getFileExtension, getPresetTheme, hexToHsl, iconButtonVariants, importTheme, isPresetTheme, isTextContentType, isUrlContentType, labelVariants, loadingSpinnerVariants, mergeRenderers, resolveRenderer, themeToHsl, useColumnResize, useColumnResizeManager, useConfirmation, useContentType, useContextMenu, useDataGridState, useKeyboardNavigation, validateTheme };
|
|
3229
|
+
export { ALL_THEMES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Autocomplete, type AutocompleteOption, type AutocompleteProps, Badge, type BadgeProps, Board, BoardContent, type BoardContentProps, BoardHeader, type BoardHeaderProps, type BoardProps, type BuiltInContentType, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGrid, type CardGridProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, CardList, type CardListProps, type CardProps, CardTitle, type CardTitleProps, type CellEditEvent, CellEditor, type CellEditorProps$1 as CellEditorProps, type CellPosition, Checkbox, type CheckboxProps, Chip, type ChipProps, CodeRenderer, type ColorFieldConfig, type ColumnDef, Combobox, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, type ContentType, type ContentTypeDetectionResult, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, CosmicFrogIcon, type CosmicFrogIconProps, CsvRenderer, DARK_ELEGANT_THEME, DEFAULT_RENDERERS, DataGrid, type DataGridContextValue, type DataGridInternalState, type DataGridProps, type DataGridState, DataStarIcon, type DataStarIconProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DateFilterOperator, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type EditingCell, type EditorType, type FileRenderer, type FileRendererProps, FileView, type FileViewError, type FileViewProps, type FilterConfig, type FilterOperator, FilterPopover, type FilterPopoverProps$1 as FilterPopoverProps, type FilterType, type GridCellProps, HeaderCell, type HeaderCellProps$1 as HeaderCellProps, HtmlRenderer, IconButton, type IconButtonProps, ImageRenderer, Input, type InputProps, Label, type LabelProps, LoadingSpinner, type LoadingSpinnerProps, MINIMALIST_LIGHT_THEME, MODERN_DARK_THEME, MODERN_LIGHT_THEME, MarkdownRenderer, Modal, ModalButton, type ModalButtonProps, type ModalProps, MultiSelect, type MultiSelectProps, type NumberFilterOperator, OPTILOGIC_DARK_THEME, OPTILOGIC_LEGACY_THEME, OptilogicLogo, type OptilogicLogoProps, OptilogicLogoWithText, type OptilogicLogoWithTextProps, PRESET_THEMES, type PaginationConfig, PlainTextRenderer, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, type ProgressProps, type RendererRegistry, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleProps, type ResolveImageUrl, type SearchConfig, Select, SelectContent, SelectGroup, SelectItem, SelectItemDescription, type SelectItemDescriptionProps, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCard, type SelectableCardProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SortConfig, type SortingConfig, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, type TextFilterOperator, Textarea, type TextareaProps, type Theme, type ThemeHSL, type ThemeHex, ThemePicker, type ThemePickerProps, Toaster, type ToasterProps, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, type UseContentTypeOptions, type UseContentTypeReturn, type UseContextMenuResult, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, applyFilterOperator, applyFilters, applySorting, applyTheme, areThemesEqual, badgeVariants, boardVariants, buttonVariants, cardActionsVariants, cardGridVariants, cardImageVariants, cardListVariants, cardVariants, cloneTheme, cn, detectContentType, exportTheme, getCellValue, getCurrentTheme, getDefaultTheme, getFileExtension, getPresetTheme, hexToHsl, iconButtonVariants, importTheme, isPresetTheme, isTextContentType, isUrlContentType, labelVariants, loadingSpinnerVariants, mergeRenderers, resolveRenderer, tabsListVariants, tabsTriggerVariants, themeToHsl, useColumnResize, useColumnResizeManager, useConfirmation, useContentType, useContextMenu, useDataGridState, useKeyboardNavigation, validateTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -253,6 +253,9 @@ declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<Sel
|
|
|
253
253
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
254
254
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
255
255
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
256
|
+
interface SelectItemDescriptionProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
257
|
+
}
|
|
258
|
+
declare const SelectItemDescription: React$1.ForwardRefExoticComponent<SelectItemDescriptionProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
256
259
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
257
260
|
|
|
258
261
|
/**
|
|
@@ -271,18 +274,32 @@ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrim
|
|
|
271
274
|
* </Tabs>
|
|
272
275
|
*/
|
|
273
276
|
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
277
|
+
declare const tabsListVariants: (props?: ({
|
|
278
|
+
variant?: "default" | "pill" | "unstyled" | null | undefined;
|
|
279
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
280
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
281
|
+
variant?: "default" | "pill" | "unstyled" | null | undefined;
|
|
282
|
+
indicatorSize?: "default" | "sm" | "lg" | null | undefined;
|
|
283
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
284
|
+
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
285
|
+
}
|
|
274
286
|
/**
|
|
275
287
|
* TabsList
|
|
276
288
|
*
|
|
277
289
|
* Container for tab triggers. Provides the tab header bar.
|
|
290
|
+
* Supports variants: default, pill, unstyled
|
|
278
291
|
*/
|
|
279
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<
|
|
292
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
293
|
+
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
294
|
+
}
|
|
280
295
|
/**
|
|
281
296
|
* TabsTrigger
|
|
282
297
|
*
|
|
283
298
|
* Individual tab button that activates its associated content.
|
|
299
|
+
* Supports variants: default, pill, unstyled
|
|
300
|
+
* Supports indicatorSize: sm, default, lg (only applies to default variant)
|
|
284
301
|
*/
|
|
285
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<
|
|
302
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
286
303
|
/**
|
|
287
304
|
* TabsContent
|
|
288
305
|
*
|
|
@@ -1611,6 +1628,10 @@ interface DataGridProps<T = Record<string, CellValue>> {
|
|
|
1611
1628
|
tooltipMinLength?: number;
|
|
1612
1629
|
/** Show column dividing borders between cells (default: true) */
|
|
1613
1630
|
showColumnBorders?: boolean;
|
|
1631
|
+
/** When true, columns scale proportionally to fill the container width.
|
|
1632
|
+
* Columns shrink/grow to keep total width = container width.
|
|
1633
|
+
* Horizontal scroll only kicks in if columns hit their minWidth constraints. */
|
|
1634
|
+
fillWidth?: boolean;
|
|
1614
1635
|
/** Enable internal sorting when in uncontrolled mode (default: true) */
|
|
1615
1636
|
enableInternalSorting?: boolean;
|
|
1616
1637
|
/** Enable internal filtering when in uncontrolled mode (default: true) */
|
|
@@ -1724,6 +1745,7 @@ interface HeaderCellProps$1<T = Record<string, CellValue>> {
|
|
|
1724
1745
|
sorting?: SortConfig;
|
|
1725
1746
|
filter?: FilterConfig;
|
|
1726
1747
|
isResizable: boolean;
|
|
1748
|
+
fillWidth?: boolean;
|
|
1727
1749
|
onSort?: () => void;
|
|
1728
1750
|
onFilterChange?: (filter: FilterConfig | null) => void;
|
|
1729
1751
|
onResize?: (width: number) => void;
|
|
@@ -1769,7 +1791,7 @@ interface GridCellProps<T = Record<string, CellValue>> {
|
|
|
1769
1791
|
/**
|
|
1770
1792
|
* DataGrid Component
|
|
1771
1793
|
*/
|
|
1772
|
-
declare function DataGrid<T = Record<string, CellValue>>({ data, columns, getRowKey, resizableColumns, virtualized, stickyHeader, showTooltips, tooltipMinLength, enableKeyboardNavigation, showColumnBorders, enableInternalSorting, enableInternalFiltering, sorting: controlledSorting, onSortChange, filters: controlledFilters, onFilterChange, columnWidths: controlledColumnWidths, onColumnResize, onColumnResizeStart, onColumnResizeEnd, defaultSorting, defaultFilters, defaultColumnWidths, onStateChange, onRowClick, onRowDoubleClick, selectedRows, onSelectedRowsChange, rowClassName, onCellEdit, onCellEditStart, onCellEditCancel, focusedCell: controlledFocusedCell, onFocusedCellChange, pagination, search, loading, loadingComponent, emptyMessage, emptyComponent, className, tableClassName, infiniteScroll, onLoadMore, hasMore, loadingMore, }: DataGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
1794
|
+
declare function DataGrid<T = Record<string, CellValue>>({ data, columns, getRowKey, resizableColumns, virtualized, stickyHeader, showTooltips, tooltipMinLength, enableKeyboardNavigation, showColumnBorders, fillWidth, enableInternalSorting, enableInternalFiltering, sorting: controlledSorting, onSortChange, filters: controlledFilters, onFilterChange, columnWidths: controlledColumnWidths, onColumnResize, onColumnResizeStart, onColumnResizeEnd, defaultSorting, defaultFilters, defaultColumnWidths, onStateChange, onRowClick, onRowDoubleClick, selectedRows, onSelectedRowsChange, rowClassName, onCellEdit, onCellEditStart, onCellEditCancel, focusedCell: controlledFocusedCell, onFocusedCellChange, pagination, search, loading, loadingComponent, emptyMessage, emptyComponent, className, tableClassName, infiniteScroll, onLoadMore, hasMore, loadingMore, }: DataGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
1773
1795
|
|
|
1774
1796
|
interface HeaderCellProps<T = any> {
|
|
1775
1797
|
/** Column definition */
|
|
@@ -1784,6 +1806,8 @@ interface HeaderCellProps<T = any> {
|
|
|
1784
1806
|
filter?: FilterConfig;
|
|
1785
1807
|
/** Whether this column is resizable */
|
|
1786
1808
|
isResizable: boolean;
|
|
1809
|
+
/** Whether fillWidth mode is active */
|
|
1810
|
+
fillWidth?: boolean;
|
|
1787
1811
|
/** Callback when sort is toggled */
|
|
1788
1812
|
onSort?: () => void;
|
|
1789
1813
|
/** Callback when filter changes */
|
|
@@ -1798,7 +1822,7 @@ interface HeaderCellProps<T = any> {
|
|
|
1798
1822
|
/**
|
|
1799
1823
|
* HeaderCell Component
|
|
1800
1824
|
*/
|
|
1801
|
-
declare function HeaderCell<T = any>({ column, columnIndex, width, sorting, filter, isResizable, onSort, onFilterChange, onResizeMouseDown, onResizeDoubleClick, isResizing, }: HeaderCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
1825
|
+
declare function HeaderCell<T = any>({ column, columnIndex, width, sorting, filter, isResizable, fillWidth, onSort, onFilterChange, onResizeMouseDown, onResizeDoubleClick, isResizing, }: HeaderCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
1802
1826
|
|
|
1803
1827
|
interface FilterPopoverProps<T = Record<string, CellValue>> {
|
|
1804
1828
|
/** Column definition */
|
|
@@ -2002,6 +2026,12 @@ interface UseColumnResizeManagerOptions<T = any> {
|
|
|
2002
2026
|
onColumnResizeStart?: (columnKey: string) => void;
|
|
2003
2027
|
/** Callback when resize ends */
|
|
2004
2028
|
onColumnResizeEnd?: (columnKey: string, width: number) => void;
|
|
2029
|
+
/** Whether fillWidth mode is active */
|
|
2030
|
+
fillWidth?: boolean;
|
|
2031
|
+
/** Measured container width for fillWidth redistribution */
|
|
2032
|
+
containerWidth?: number;
|
|
2033
|
+
/** Effective column widths (after fillWidth scaling) */
|
|
2034
|
+
effectiveColumnWidths?: Record<string, number>;
|
|
2005
2035
|
}
|
|
2006
2036
|
interface UseColumnResizeManagerReturn {
|
|
2007
2037
|
/** Currently resizing column key */
|
|
@@ -2110,6 +2140,114 @@ interface AutocompleteProps {
|
|
|
2110
2140
|
*/
|
|
2111
2141
|
declare function Autocomplete({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, clearable, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
2112
2142
|
|
|
2143
|
+
interface MultiSelectProps {
|
|
2144
|
+
/** Array of options to display */
|
|
2145
|
+
options: AutocompleteOption[];
|
|
2146
|
+
/** Currently selected values */
|
|
2147
|
+
value?: string[];
|
|
2148
|
+
/** Callback when selection changes */
|
|
2149
|
+
onChange?: (values: string[]) => void;
|
|
2150
|
+
/** Placeholder text when no selection */
|
|
2151
|
+
placeholder?: string;
|
|
2152
|
+
/** Placeholder for the search input */
|
|
2153
|
+
searchPlaceholder?: string;
|
|
2154
|
+
/** Text to show when no options match the search */
|
|
2155
|
+
emptyText?: string;
|
|
2156
|
+
/** Whether the multi-select is disabled */
|
|
2157
|
+
disabled?: boolean;
|
|
2158
|
+
/** Additional class name for the trigger */
|
|
2159
|
+
className?: string;
|
|
2160
|
+
/** Whether to show the clear-all button */
|
|
2161
|
+
clearable?: boolean;
|
|
2162
|
+
/** Max number of pills to display before showing "+N more" */
|
|
2163
|
+
maxDisplayItems?: number;
|
|
2164
|
+
/** Whether to show a "Select All" toggle */
|
|
2165
|
+
showSelectAll?: boolean;
|
|
2166
|
+
/** Custom label for the select all option */
|
|
2167
|
+
selectAllLabel?: string;
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* MultiSelect component - a multi-select dropdown with checkboxes
|
|
2171
|
+
*
|
|
2172
|
+
* Features:
|
|
2173
|
+
* - Checkbox selection for multiple options
|
|
2174
|
+
* - Search filtering
|
|
2175
|
+
* - Grouped options support
|
|
2176
|
+
* - Descriptions per option
|
|
2177
|
+
* - Tag pills with individual removal
|
|
2178
|
+
* - "Select All" toggle
|
|
2179
|
+
*
|
|
2180
|
+
* @example
|
|
2181
|
+
* <MultiSelect
|
|
2182
|
+
* options={[
|
|
2183
|
+
* { value: 'react', label: 'React', description: 'A JS library' },
|
|
2184
|
+
* { value: 'vue', label: 'Vue', group: 'Frameworks' },
|
|
2185
|
+
* ]}
|
|
2186
|
+
* value={selected}
|
|
2187
|
+
* onChange={setSelected}
|
|
2188
|
+
* placeholder="Select frameworks..."
|
|
2189
|
+
* showSelectAll
|
|
2190
|
+
* />
|
|
2191
|
+
*/
|
|
2192
|
+
declare function MultiSelect({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, clearable, maxDisplayItems, showSelectAll, selectAllLabel, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
|
|
2193
|
+
declare namespace MultiSelect {
|
|
2194
|
+
var displayName: string;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
interface ComboboxProps {
|
|
2198
|
+
/** Array of options to display */
|
|
2199
|
+
options: AutocompleteOption[];
|
|
2200
|
+
/** Currently selected value */
|
|
2201
|
+
value?: string;
|
|
2202
|
+
/** Callback when selection changes */
|
|
2203
|
+
onChange?: (value: string | undefined) => void;
|
|
2204
|
+
/** Callback when the input text changes (for controlled/async filtering) */
|
|
2205
|
+
onInputChange?: (input: string) => void;
|
|
2206
|
+
/** Placeholder text when empty */
|
|
2207
|
+
placeholder?: string;
|
|
2208
|
+
/** Text to show when no options match */
|
|
2209
|
+
emptyText?: string;
|
|
2210
|
+
/** Whether the combobox is disabled */
|
|
2211
|
+
disabled?: boolean;
|
|
2212
|
+
/** Additional class name for the trigger */
|
|
2213
|
+
className?: string;
|
|
2214
|
+
/** Whether to allow clearing the selection */
|
|
2215
|
+
clearable?: boolean;
|
|
2216
|
+
/** Whether to allow custom values not in the options list */
|
|
2217
|
+
allowCustomValue?: boolean;
|
|
2218
|
+
}
|
|
2219
|
+
/**
|
|
2220
|
+
* Combobox component - a searchable input that also allows custom values
|
|
2221
|
+
*
|
|
2222
|
+
* Unlike Autocomplete (button trigger, select-only), Combobox uses an
|
|
2223
|
+
* inline text input as the trigger. Users can type to filter options
|
|
2224
|
+
* AND optionally commit custom values not in the list.
|
|
2225
|
+
*
|
|
2226
|
+
* Features:
|
|
2227
|
+
* - Inline text input trigger
|
|
2228
|
+
* - Dropdown opens on focus/typing
|
|
2229
|
+
* - Grouped options with descriptions
|
|
2230
|
+
* - Custom value support (allowCustomValue)
|
|
2231
|
+
* - Clearable selection
|
|
2232
|
+
* - Async filtering via onInputChange
|
|
2233
|
+
*
|
|
2234
|
+
* @example
|
|
2235
|
+
* <Combobox
|
|
2236
|
+
* options={[
|
|
2237
|
+
* { value: 'react', label: 'React' },
|
|
2238
|
+
* { value: 'vue', label: 'Vue' },
|
|
2239
|
+
* ]}
|
|
2240
|
+
* value={selected}
|
|
2241
|
+
* onChange={setSelected}
|
|
2242
|
+
* placeholder="Type or select..."
|
|
2243
|
+
* allowCustomValue
|
|
2244
|
+
* />
|
|
2245
|
+
*/
|
|
2246
|
+
declare function Combobox({ options, value, onChange, onInputChange, placeholder, emptyText, disabled, className, clearable, allowCustomValue, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
2247
|
+
declare namespace Combobox {
|
|
2248
|
+
var displayName: string;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2113
2251
|
declare const iconButtonVariants: (props?: ({
|
|
2114
2252
|
variant?: "default" | "outline" | "ghost" | "muted" | "filled" | null | undefined;
|
|
2115
2253
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -3088,4 +3226,4 @@ type SortingConfig = {
|
|
|
3088
3226
|
onSort: (field: string) => void;
|
|
3089
3227
|
};
|
|
3090
3228
|
|
|
3091
|
-
export { ALL_THEMES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Autocomplete, type AutocompleteOption, type AutocompleteProps, Badge, type BadgeProps, Board, BoardContent, type BoardContentProps, BoardHeader, type BoardHeaderProps, type BoardProps, type BuiltInContentType, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGrid, type CardGridProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, CardList, type CardListProps, type CardProps, CardTitle, type CardTitleProps, type CellEditEvent, CellEditor, type CellEditorProps$1 as CellEditorProps, type CellPosition, Checkbox, type CheckboxProps, Chip, type ChipProps, CodeRenderer, type ColorFieldConfig, type ColumnDef, ConfirmationModal, type ConfirmationModalProps, type ContentType, type ContentTypeDetectionResult, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, CosmicFrogIcon, type CosmicFrogIconProps, CsvRenderer, DARK_ELEGANT_THEME, DEFAULT_RENDERERS, DataGrid, type DataGridContextValue, type DataGridInternalState, type DataGridProps, type DataGridState, DataStarIcon, type DataStarIconProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DateFilterOperator, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type EditingCell, type EditorType, type FileRenderer, type FileRendererProps, FileView, type FileViewError, type FileViewProps, type FilterConfig, type FilterOperator, FilterPopover, type FilterPopoverProps$1 as FilterPopoverProps, type FilterType, type GridCellProps, HeaderCell, type HeaderCellProps$1 as HeaderCellProps, HtmlRenderer, IconButton, type IconButtonProps, ImageRenderer, Input, type InputProps, Label, type LabelProps, LoadingSpinner, type LoadingSpinnerProps, MINIMALIST_LIGHT_THEME, MODERN_DARK_THEME, MODERN_LIGHT_THEME, MarkdownRenderer, Modal, ModalButton, type ModalButtonProps, type ModalProps, type NumberFilterOperator, OPTILOGIC_DARK_THEME, OPTILOGIC_LEGACY_THEME, OptilogicLogo, type OptilogicLogoProps, OptilogicLogoWithText, type OptilogicLogoWithTextProps, PRESET_THEMES, type PaginationConfig, PlainTextRenderer, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, type ProgressProps, type RendererRegistry, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleProps, type ResolveImageUrl, type SearchConfig, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCard, type SelectableCardProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SortConfig, type SortingConfig, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextFilterOperator, Textarea, type TextareaProps, type Theme, type ThemeHSL, type ThemeHex, ThemePicker, type ThemePickerProps, Toaster, type ToasterProps, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, type UseContentTypeOptions, type UseContentTypeReturn, type UseContextMenuResult, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, applyFilterOperator, applyFilters, applySorting, applyTheme, areThemesEqual, badgeVariants, boardVariants, buttonVariants, cardActionsVariants, cardGridVariants, cardImageVariants, cardListVariants, cardVariants, cloneTheme, cn, detectContentType, exportTheme, getCellValue, getCurrentTheme, getDefaultTheme, getFileExtension, getPresetTheme, hexToHsl, iconButtonVariants, importTheme, isPresetTheme, isTextContentType, isUrlContentType, labelVariants, loadingSpinnerVariants, mergeRenderers, resolveRenderer, themeToHsl, useColumnResize, useColumnResizeManager, useConfirmation, useContentType, useContextMenu, useDataGridState, useKeyboardNavigation, validateTheme };
|
|
3229
|
+
export { ALL_THEMES, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Autocomplete, type AutocompleteOption, type AutocompleteProps, Badge, type BadgeProps, Board, BoardContent, type BoardContentProps, BoardHeader, type BoardHeaderProps, type BoardProps, type BuiltInContentType, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGrid, type CardGridProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, CardList, type CardListProps, type CardProps, CardTitle, type CardTitleProps, type CellEditEvent, CellEditor, type CellEditorProps$1 as CellEditorProps, type CellPosition, Checkbox, type CheckboxProps, Chip, type ChipProps, CodeRenderer, type ColorFieldConfig, type ColumnDef, Combobox, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, type ContentType, type ContentTypeDetectionResult, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, CosmicFrogIcon, type CosmicFrogIconProps, CsvRenderer, DARK_ELEGANT_THEME, DEFAULT_RENDERERS, DataGrid, type DataGridContextValue, type DataGridInternalState, type DataGridProps, type DataGridState, DataStarIcon, type DataStarIconProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DateFilterOperator, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type EditingCell, type EditorType, type FileRenderer, type FileRendererProps, FileView, type FileViewError, type FileViewProps, type FilterConfig, type FilterOperator, FilterPopover, type FilterPopoverProps$1 as FilterPopoverProps, type FilterType, type GridCellProps, HeaderCell, type HeaderCellProps$1 as HeaderCellProps, HtmlRenderer, IconButton, type IconButtonProps, ImageRenderer, Input, type InputProps, Label, type LabelProps, LoadingSpinner, type LoadingSpinnerProps, MINIMALIST_LIGHT_THEME, MODERN_DARK_THEME, MODERN_LIGHT_THEME, MarkdownRenderer, Modal, ModalButton, type ModalButtonProps, type ModalProps, MultiSelect, type MultiSelectProps, type NumberFilterOperator, OPTILOGIC_DARK_THEME, OPTILOGIC_LEGACY_THEME, OptilogicLogo, type OptilogicLogoProps, OptilogicLogoWithText, type OptilogicLogoWithTextProps, PRESET_THEMES, type PaginationConfig, PlainTextRenderer, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, type ProgressProps, type RendererRegistry, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleProps, type ResolveImageUrl, type SearchConfig, Select, SelectContent, SelectGroup, SelectItem, SelectItemDescription, type SelectItemDescriptionProps, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableCard, type SelectableCardProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SortConfig, type SortingConfig, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, type TextFilterOperator, Textarea, type TextareaProps, type Theme, type ThemeHSL, type ThemeHex, ThemePicker, type ThemePickerProps, Toaster, type ToasterProps, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, type UseContentTypeOptions, type UseContentTypeReturn, type UseContextMenuResult, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, applyFilterOperator, applyFilters, applySorting, applyTheme, areThemesEqual, badgeVariants, boardVariants, buttonVariants, cardActionsVariants, cardGridVariants, cardImageVariants, cardListVariants, cardVariants, cloneTheme, cn, detectContentType, exportTheme, getCellValue, getCurrentTheme, getDefaultTheme, getFileExtension, getPresetTheme, hexToHsl, iconButtonVariants, importTheme, isPresetTheme, isTextContentType, isUrlContentType, labelVariants, loadingSpinnerVariants, mergeRenderers, resolveRenderer, tabsListVariants, tabsTriggerVariants, themeToHsl, useColumnResize, useColumnResizeManager, useConfirmation, useContentType, useContextMenu, useDataGridState, useKeyboardNavigation, validateTheme };
|