@dimaan/ui 0.0.23 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.cjs +183 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -4
- package/dist/index.d.ts +107 -4
- package/dist/index.js +182 -28
- package/dist/index.js.map +1 -1
- package/dist/preset.css +282 -20
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -390,7 +390,7 @@ type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'destructiv
|
|
|
390
390
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'icon' | 'icon-sm';
|
|
391
391
|
declare const buttonVariantClass: Record<ButtonVariant, string>;
|
|
392
392
|
declare const buttonSizeClass: Record<ButtonSize, string>;
|
|
393
|
-
declare const buttonBaseClass = "group/button relative inline-flex items-center justify-center font-medium select-none whitespace-nowrap outline-none transition-[background-color,color,box-shadow,opacity] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
393
|
+
declare const buttonBaseClass = "group/button relative inline-flex items-center justify-center font-medium select-none whitespace-nowrap outline-none transition-[background-color,color,box-shadow,opacity,transform] active:scale-[0.98] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 motion-reduce:transition-none motion-reduce:active:scale-100 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
394
394
|
|
|
395
395
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
396
396
|
variant?: ButtonVariant;
|
|
@@ -1628,6 +1628,17 @@ interface ListPageSelectFilter extends ListPageFilterBase {
|
|
|
1628
1628
|
interface ListPageTextFilter extends ListPageFilterBase {
|
|
1629
1629
|
type: 'text';
|
|
1630
1630
|
placeholder?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Debounce window in milliseconds so a request fires only after the user
|
|
1633
|
+
* pauses typing — instead of on every keystroke. The displayed value still
|
|
1634
|
+
* updates instantly; only `onFilterChange` is delayed. **Live mode only**
|
|
1635
|
+
* (ignored when `filterMode="manual"`, which already emits on Apply).
|
|
1636
|
+
*
|
|
1637
|
+
* Defaults to `400` — text filters are debounced out of the box, so you don't
|
|
1638
|
+
* need to pass anything. Set a different number to tune it, or `0` to opt out
|
|
1639
|
+
* and emit on every keystroke.
|
|
1640
|
+
*/
|
|
1641
|
+
debounceMs?: number;
|
|
1631
1642
|
}
|
|
1632
1643
|
/** Date filter — rendered as a `DatePicker`. ISO `YYYY-MM-DD`; empty means "no filter". */
|
|
1633
1644
|
interface ListPageDateFilter extends ListPageFilterBase {
|
|
@@ -1667,6 +1678,8 @@ interface ListPageEmptyState {
|
|
|
1667
1678
|
interface ListPageLabels extends TableLabels {
|
|
1668
1679
|
/** "Reset filters" button label. */
|
|
1669
1680
|
reset?: string;
|
|
1681
|
+
/** "Apply" button label — shown in `manual` filter mode (the default). */
|
|
1682
|
+
apply?: string;
|
|
1670
1683
|
/** "No results matching filters" title. */
|
|
1671
1684
|
emptyTitle?: string;
|
|
1672
1685
|
/** "No results matching filters" description. */
|
|
@@ -1703,8 +1716,19 @@ interface ListPageProps<T> {
|
|
|
1703
1716
|
filters?: ListPageFilter[];
|
|
1704
1717
|
/** Current filter selections, keyed by `filter.key` (date values are ISO `YYYY-MM-DD`). */
|
|
1705
1718
|
filterValues?: Record<string, string>;
|
|
1706
|
-
/** Fires when
|
|
1719
|
+
/** Fires when a filter changes (`live`) or when Apply is pressed (`manual`). */
|
|
1707
1720
|
onFilterChange?: (key: string, value: string) => void;
|
|
1721
|
+
/**
|
|
1722
|
+
* How filter edits reach `onFilterChange`. Defaults to `'manual'`.
|
|
1723
|
+
* - `'manual'` (default) — edits are held locally; an **Apply** button (a real
|
|
1724
|
+
* form submit, so Enter also applies) flushes them in one go. Filtering only
|
|
1725
|
+
* fires on submit, so it never refetches on every keystroke/selection.
|
|
1726
|
+
* - `'live'` — control changes fire `onFilterChange` as they happen. Text
|
|
1727
|
+
* filters are **debounced by default (400ms)** so they don't refetch on
|
|
1728
|
+
* every keystroke; tune it per filter with `debounceMs`, or set `0` to emit
|
|
1729
|
+
* immediately. Selects / dates emit instantly.
|
|
1730
|
+
*/
|
|
1731
|
+
filterMode?: 'live' | 'manual';
|
|
1708
1732
|
enableRowSelection?: boolean;
|
|
1709
1733
|
bulkActions?: (selected: T[]) => ReactNode;
|
|
1710
1734
|
/** Current page state from the consumer's data layer. */
|
|
@@ -1780,7 +1804,7 @@ interface ListPageProps<T> {
|
|
|
1780
1804
|
* );
|
|
1781
1805
|
* ```
|
|
1782
1806
|
*/
|
|
1783
|
-
declare function ListPage<T>({ title, description, bordered, actions, data, columns, getRowId, isLoading, loadingRowCount, filters, filterValues, onFilterChange, enableRowSelection, bulkActions, pagination, onPaginationChange, totalCount, pageSizeOptions, emptyState, noDataState, labels: labelsProp, className, }: ListPageProps<T>): react_jsx_runtime.JSX.Element;
|
|
1807
|
+
declare function ListPage<T>({ title, description, bordered, actions, data, columns, getRowId, isLoading, loadingRowCount, filters, filterValues, onFilterChange, filterMode, enableRowSelection, bulkActions, pagination, onPaginationChange, totalCount, pageSizeOptions, emptyState, noDataState, labels: labelsProp, className, }: ListPageProps<T>): react_jsx_runtime.JSX.Element;
|
|
1784
1808
|
|
|
1785
1809
|
interface MultiSelectLabels {
|
|
1786
1810
|
/** Search input placeholder. Direction-aware default: `"Search…"` / `"بحث…"`. */
|
|
@@ -2101,6 +2125,85 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<Omit<RadixRadioGro
|
|
|
2101
2125
|
radioSize?: RadioGroupSize;
|
|
2102
2126
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
2103
2127
|
|
|
2128
|
+
/** Recurring action with a baked icon, default label, and styling. */
|
|
2129
|
+
interface PresetRowAction {
|
|
2130
|
+
/** 'view' (Eye), 'edit' (Pencil), or 'delete' (Trash2, destructive). */
|
|
2131
|
+
kind: 'view' | 'edit' | 'delete';
|
|
2132
|
+
/** Click handler. */
|
|
2133
|
+
onClick: () => void;
|
|
2134
|
+
/** Override the default accessible label (e.g. for i18n: 'تعديل'). */
|
|
2135
|
+
label?: string;
|
|
2136
|
+
/** Disable this single action. */
|
|
2137
|
+
disabled?: boolean;
|
|
2138
|
+
}
|
|
2139
|
+
/** Custom action for anything outside the presets. */
|
|
2140
|
+
interface CustomRowAction {
|
|
2141
|
+
/** Icon element, e.g. <Archive />. */
|
|
2142
|
+
icon: ReactNode;
|
|
2143
|
+
/** Accessible label — used as the button's aria-label. Required. */
|
|
2144
|
+
label: string;
|
|
2145
|
+
/** Click handler. */
|
|
2146
|
+
onClick: () => void;
|
|
2147
|
+
/** Destructive (red) styling. Defaults to 'default'. */
|
|
2148
|
+
variant?: 'default' | 'destructive';
|
|
2149
|
+
/** Disable this single action. */
|
|
2150
|
+
disabled?: boolean;
|
|
2151
|
+
}
|
|
2152
|
+
type RowAction = PresetRowAction | CustomRowAction;
|
|
2153
|
+
interface RowActionsProps {
|
|
2154
|
+
/** Actions rendered in array order (the flex row flips in RTL). */
|
|
2155
|
+
actions: RowAction[];
|
|
2156
|
+
/** Button size. Defaults to 'icon-sm'. */
|
|
2157
|
+
size?: 'icon-sm' | 'icon';
|
|
2158
|
+
/** Extra classes on the wrapping element. */
|
|
2159
|
+
className?: string;
|
|
2160
|
+
}
|
|
2161
|
+
/**
|
|
2162
|
+
* Inline icon action buttons for table rows (or anywhere). Pass a single
|
|
2163
|
+
* `actions` array mixing presets (`kind: 'view' | 'edit' | 'delete'`) and
|
|
2164
|
+
* custom actions. Presets supply a standard icon, label, and destructive
|
|
2165
|
+
* styling (delete); custom actions provide their own icon/label/variant.
|
|
2166
|
+
*
|
|
2167
|
+
* Icon-only buttons get their accessible name from `label` (aria-label).
|
|
2168
|
+
* Destructive actions (the `delete` preset or `variant: 'destructive'`) are
|
|
2169
|
+
* styling only — wire your own confirmation inside `onClick`.
|
|
2170
|
+
*
|
|
2171
|
+
* @example Presets — the common case
|
|
2172
|
+
* ```tsx
|
|
2173
|
+
* <RowActions
|
|
2174
|
+
* actions={[
|
|
2175
|
+
* { kind: 'view', onClick: () => view(row) },
|
|
2176
|
+
* { kind: 'edit', onClick: () => edit(row) },
|
|
2177
|
+
* { kind: 'delete', onClick: () => remove(row), disabled: row.locked },
|
|
2178
|
+
* ]}
|
|
2179
|
+
* />
|
|
2180
|
+
* ```
|
|
2181
|
+
*
|
|
2182
|
+
* @example Custom action + i18n label override
|
|
2183
|
+
* ```tsx
|
|
2184
|
+
* <RowActions
|
|
2185
|
+
* actions={[
|
|
2186
|
+
* { kind: 'edit', label: 'تعديل', onClick: () => edit(row) },
|
|
2187
|
+
* { icon: <Archive />, label: 'Archive', onClick: () => archive(row) },
|
|
2188
|
+
* ]}
|
|
2189
|
+
* />
|
|
2190
|
+
* ```
|
|
2191
|
+
*/
|
|
2192
|
+
declare function RowActions({ actions, size, className }: RowActionsProps): react_jsx_runtime.JSX.Element | null;
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Class constants for RowActions. Exported from the package root so consumers
|
|
2196
|
+
* can compose the same styling onto custom action buttons.
|
|
2197
|
+
*/
|
|
2198
|
+
/** Wrapper around the inline action buttons. */
|
|
2199
|
+
declare const rowActionsBaseClass = "inline-flex items-center gap-1";
|
|
2200
|
+
/**
|
|
2201
|
+
* Classes layered onto a ghost Button for destructive actions (the `delete`
|
|
2202
|
+
* preset or `variant: 'destructive'`). Red icon + subtle red hover. Ordered
|
|
2203
|
+
* after the ghost variant so tailwind-merge lets these win.
|
|
2204
|
+
*/
|
|
2205
|
+
declare const rowActionsDestructiveClass = "text-destructive hover:bg-destructive/10 hover:text-destructive focus-visible:ring-destructive/40";
|
|
2206
|
+
|
|
2104
2207
|
type SwitchSize = 'sm' | 'md' | 'lg';
|
|
2105
2208
|
/**
|
|
2106
2209
|
* Each size is a tuple: track dimensions + thumb size + thumb travel distance.
|
|
@@ -2372,4 +2475,4 @@ declare function useDirection(): Direction;
|
|
|
2372
2475
|
|
|
2373
2476
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2374
2477
|
|
|
2375
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, AppShell, type AppShellBrand, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxSize, type Column, type ColumnAlign, type ConfirmDialogLabels, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, DashboardContent, type DashboardContentProps, DashboardHeader, type DashboardHeaderProps, DashboardLayout, type DashboardLayoutContextValue, type DashboardLayoutProps, DashboardMain, type DashboardMainProps, DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerVariant, DetailPage, type DetailPageLabels, type DetailPageNotFoundState, type DetailPageProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, type Direction, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, Field, type FieldOrientation, type FieldProps, type FieldRHFProps, FileUpload, type FileUploadError, type FileUploadErrorCode, type FileUploadLabels, type FileUploadProps, FormPage, type FormPageLabels, type FormPageProps, HeaderActions, type HeaderActionsProps, HeaderCollapseTrigger, type HeaderCollapseTriggerProps, HeaderMobileTrigger, type HeaderMobileTriggerProps, HeaderSearch, type HeaderSearchProps, HeaderTitle, type HeaderTitleProps, Input, type InputProps, type InputSize, type InputVariant, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, ListPage, type ListPageDateFilter, type ListPageEmptyState, type ListPageFilter, type ListPageFilterWidth, type ListPageLabels, type ListPageMultiSelectFilter, type ListPageProps, type ListPageSelectFilter, type ListPageTextFilter, MultiSelect, type MultiSelectLabels, type MultiSelectProps, PageHeader, type PageHeaderBackProps, type PageHeaderBackRenderProps, type PageHeaderHeadingLevel, type PageHeaderProps, type PaginationState, RadioGroup, RadioGroupItem, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RowSelectionState, Select, type SelectOption, type SelectProps, type SelectSize, type SelectVariant, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavItemRenderProps, type SidebarNavProps, type SidebarProps, type SortDirection, type SortState, Switch, type SwitchProps, type SwitchSize, Table, type TableLabels, type TableProps, type TableSize, type TableSizeClasses, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaVariant, Toaster, type ToasterProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, badgeBaseClass, badgeDotSizeClass, badgeSizeClass, badgeVariantClass, buttonBaseClass, buttonSizeClass, buttonVariantClass, cn, datePickerCalendarClass, datePickerCaptionClass, datePickerContentClass, datePickerDayBaseClass, datePickerDayWrapperClass, datePickerDisabledClass, datePickerMonthClass, datePickerMonthGridClass, datePickerMonthsClass, datePickerNavButtonClass, datePickerNavClass, datePickerOutsideClass, datePickerPlaceholderClass, datePickerSelectedClass, datePickerTodayClass, datePickerTriggerBaseClass, datePickerTriggerSizeClass, datePickerTriggerVariantClass, datePickerValueClass, datePickerWeekClass, datePickerWeekdayClass, datePickerWeekdaysClass, detailPageBaseClass, detailPageBodyClass, detailPageEmptyClass, detailPageSkeletonRowClass, dialogCloseButtonClass, dialogContentClass, dialogDescriptionClass, dialogFooterClass, dialogHeaderClass, dialogOverlayClass, dialogTitleClass, dropdownMenuContentClass, dropdownMenuItemBaseClass, dropdownMenuItemInsetClass, dropdownMenuItemVariantClass, dropdownMenuLabelClass, dropdownMenuSeparatorClass, dropdownMenuShortcutClass, emptyStateActionsSpacingClass, emptyStateBaseClass, emptyStateContainerSizeClass, emptyStateDescriptionSizeClass, emptyStateIconWrapperBaseClass, emptyStateIconWrapperSizeClass, emptyStateTitleSizeClass, fileUploadBaseClass, fileUploadDropzoneClass, fileUploadFileNameClass, fileUploadFileRowClass, fileUploadFileSizeClass, fileUploadHintClass, fileUploadIconClass, fileUploadPromptClass, fileUploadRemoveClass, formPageActionsBarClass, formPageBaseClass, formPageBodyClass, formPageSkeletonRowClass, inputBaseClass, inputSizeClass, inputVariantClass, multiSelectChipClass, multiSelectChipRemoveClass, multiSelectContentClass, multiSelectEmptyClass, multiSelectListClass, multiSelectOptionClass, multiSelectSearchRowClass, multiSelectTriggerSizeClass, multiSelectValueRowClass, pageHeaderActionsClass, pageHeaderBackClass, pageHeaderBackIconClass, pageHeaderBaseClass, pageHeaderBorderedClass, pageHeaderBreadcrumbsClass, pageHeaderDescriptionClass, pageHeaderTitleBlockClass, pageHeaderTitleClass, pageHeaderTitleRowClass, radioGroupBaseClass, radioGroupOrientationClass, radioIndicatorBaseClass, radioIndicatorDotClass, radioIndicatorSizeClass, radioItemBaseClass, radioItemSizeClass, radioLabelSizeClass, radioOptionRowClass, selectBaseClass, selectSizeClass, selectVariantClass, switchThumbBaseClass, switchThumbClass, switchTrackBaseClass, switchTrackClass, alignClass as tableAlignClass, tableBaseClass, selectedRowClass as tableSelectedRowClass, tableSizeClass, sortIconClass as tableSortIconClass, textareaBaseClass, textareaResizeClass, textareaSizeClass, textareaVariantClass, toastClassNames, tooltipArrowClass, tooltipContentClass, useConfirm, useDashboardLayout, useDirection };
|
|
2478
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, AppShell, type AppShellBrand, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxSize, type Column, type ColumnAlign, type ConfirmDialogLabels, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, type CustomRowAction, DashboardContent, type DashboardContentProps, DashboardHeader, type DashboardHeaderProps, DashboardLayout, type DashboardLayoutContextValue, type DashboardLayoutProps, DashboardMain, type DashboardMainProps, DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerVariant, DetailPage, type DetailPageLabels, type DetailPageNotFoundState, type DetailPageProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, type Direction, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, Field, type FieldOrientation, type FieldProps, type FieldRHFProps, FileUpload, type FileUploadError, type FileUploadErrorCode, type FileUploadLabels, type FileUploadProps, FormPage, type FormPageLabels, type FormPageProps, HeaderActions, type HeaderActionsProps, HeaderCollapseTrigger, type HeaderCollapseTriggerProps, HeaderMobileTrigger, type HeaderMobileTriggerProps, HeaderSearch, type HeaderSearchProps, HeaderTitle, type HeaderTitleProps, Input, type InputProps, type InputSize, type InputVariant, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, ListPage, type ListPageDateFilter, type ListPageEmptyState, type ListPageFilter, type ListPageFilterWidth, type ListPageLabels, type ListPageMultiSelectFilter, type ListPageProps, type ListPageSelectFilter, type ListPageTextFilter, MultiSelect, type MultiSelectLabels, type MultiSelectProps, PageHeader, type PageHeaderBackProps, type PageHeaderBackRenderProps, type PageHeaderHeadingLevel, type PageHeaderProps, type PaginationState, type PresetRowAction, RadioGroup, RadioGroupItem, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RowAction, RowActions, type RowActionsProps, type RowSelectionState, Select, type SelectOption, type SelectProps, type SelectSize, type SelectVariant, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavItemRenderProps, type SidebarNavProps, type SidebarProps, type SortDirection, type SortState, Switch, type SwitchProps, type SwitchSize, Table, type TableLabels, type TableProps, type TableSize, type TableSizeClasses, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaVariant, Toaster, type ToasterProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, badgeBaseClass, badgeDotSizeClass, badgeSizeClass, badgeVariantClass, buttonBaseClass, buttonSizeClass, buttonVariantClass, cn, datePickerCalendarClass, datePickerCaptionClass, datePickerContentClass, datePickerDayBaseClass, datePickerDayWrapperClass, datePickerDisabledClass, datePickerMonthClass, datePickerMonthGridClass, datePickerMonthsClass, datePickerNavButtonClass, datePickerNavClass, datePickerOutsideClass, datePickerPlaceholderClass, datePickerSelectedClass, datePickerTodayClass, datePickerTriggerBaseClass, datePickerTriggerSizeClass, datePickerTriggerVariantClass, datePickerValueClass, datePickerWeekClass, datePickerWeekdayClass, datePickerWeekdaysClass, detailPageBaseClass, detailPageBodyClass, detailPageEmptyClass, detailPageSkeletonRowClass, dialogCloseButtonClass, dialogContentClass, dialogDescriptionClass, dialogFooterClass, dialogHeaderClass, dialogOverlayClass, dialogTitleClass, dropdownMenuContentClass, dropdownMenuItemBaseClass, dropdownMenuItemInsetClass, dropdownMenuItemVariantClass, dropdownMenuLabelClass, dropdownMenuSeparatorClass, dropdownMenuShortcutClass, emptyStateActionsSpacingClass, emptyStateBaseClass, emptyStateContainerSizeClass, emptyStateDescriptionSizeClass, emptyStateIconWrapperBaseClass, emptyStateIconWrapperSizeClass, emptyStateTitleSizeClass, fileUploadBaseClass, fileUploadDropzoneClass, fileUploadFileNameClass, fileUploadFileRowClass, fileUploadFileSizeClass, fileUploadHintClass, fileUploadIconClass, fileUploadPromptClass, fileUploadRemoveClass, formPageActionsBarClass, formPageBaseClass, formPageBodyClass, formPageSkeletonRowClass, inputBaseClass, inputSizeClass, inputVariantClass, multiSelectChipClass, multiSelectChipRemoveClass, multiSelectContentClass, multiSelectEmptyClass, multiSelectListClass, multiSelectOptionClass, multiSelectSearchRowClass, multiSelectTriggerSizeClass, multiSelectValueRowClass, pageHeaderActionsClass, pageHeaderBackClass, pageHeaderBackIconClass, pageHeaderBaseClass, pageHeaderBorderedClass, pageHeaderBreadcrumbsClass, pageHeaderDescriptionClass, pageHeaderTitleBlockClass, pageHeaderTitleClass, pageHeaderTitleRowClass, radioGroupBaseClass, radioGroupOrientationClass, radioIndicatorBaseClass, radioIndicatorDotClass, radioIndicatorSizeClass, radioItemBaseClass, radioItemSizeClass, radioLabelSizeClass, radioOptionRowClass, rowActionsBaseClass, rowActionsDestructiveClass, selectBaseClass, selectSizeClass, selectVariantClass, switchThumbBaseClass, switchThumbClass, switchTrackBaseClass, switchTrackClass, alignClass as tableAlignClass, tableBaseClass, selectedRowClass as tableSelectedRowClass, tableSizeClass, sortIconClass as tableSortIconClass, textareaBaseClass, textareaResizeClass, textareaSizeClass, textareaVariantClass, toastClassNames, tooltipArrowClass, tooltipContentClass, useConfirm, useDashboardLayout, useDirection };
|
package/dist/index.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'destructiv
|
|
|
390
390
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'icon' | 'icon-sm';
|
|
391
391
|
declare const buttonVariantClass: Record<ButtonVariant, string>;
|
|
392
392
|
declare const buttonSizeClass: Record<ButtonSize, string>;
|
|
393
|
-
declare const buttonBaseClass = "group/button relative inline-flex items-center justify-center font-medium select-none whitespace-nowrap outline-none transition-[background-color,color,box-shadow,opacity] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
393
|
+
declare const buttonBaseClass = "group/button relative inline-flex items-center justify-center font-medium select-none whitespace-nowrap outline-none transition-[background-color,color,box-shadow,opacity,transform] active:scale-[0.98] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 motion-reduce:transition-none motion-reduce:active:scale-100 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
394
394
|
|
|
395
395
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
396
396
|
variant?: ButtonVariant;
|
|
@@ -1628,6 +1628,17 @@ interface ListPageSelectFilter extends ListPageFilterBase {
|
|
|
1628
1628
|
interface ListPageTextFilter extends ListPageFilterBase {
|
|
1629
1629
|
type: 'text';
|
|
1630
1630
|
placeholder?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Debounce window in milliseconds so a request fires only after the user
|
|
1633
|
+
* pauses typing — instead of on every keystroke. The displayed value still
|
|
1634
|
+
* updates instantly; only `onFilterChange` is delayed. **Live mode only**
|
|
1635
|
+
* (ignored when `filterMode="manual"`, which already emits on Apply).
|
|
1636
|
+
*
|
|
1637
|
+
* Defaults to `400` — text filters are debounced out of the box, so you don't
|
|
1638
|
+
* need to pass anything. Set a different number to tune it, or `0` to opt out
|
|
1639
|
+
* and emit on every keystroke.
|
|
1640
|
+
*/
|
|
1641
|
+
debounceMs?: number;
|
|
1631
1642
|
}
|
|
1632
1643
|
/** Date filter — rendered as a `DatePicker`. ISO `YYYY-MM-DD`; empty means "no filter". */
|
|
1633
1644
|
interface ListPageDateFilter extends ListPageFilterBase {
|
|
@@ -1667,6 +1678,8 @@ interface ListPageEmptyState {
|
|
|
1667
1678
|
interface ListPageLabels extends TableLabels {
|
|
1668
1679
|
/** "Reset filters" button label. */
|
|
1669
1680
|
reset?: string;
|
|
1681
|
+
/** "Apply" button label — shown in `manual` filter mode (the default). */
|
|
1682
|
+
apply?: string;
|
|
1670
1683
|
/** "No results matching filters" title. */
|
|
1671
1684
|
emptyTitle?: string;
|
|
1672
1685
|
/** "No results matching filters" description. */
|
|
@@ -1703,8 +1716,19 @@ interface ListPageProps<T> {
|
|
|
1703
1716
|
filters?: ListPageFilter[];
|
|
1704
1717
|
/** Current filter selections, keyed by `filter.key` (date values are ISO `YYYY-MM-DD`). */
|
|
1705
1718
|
filterValues?: Record<string, string>;
|
|
1706
|
-
/** Fires when
|
|
1719
|
+
/** Fires when a filter changes (`live`) or when Apply is pressed (`manual`). */
|
|
1707
1720
|
onFilterChange?: (key: string, value: string) => void;
|
|
1721
|
+
/**
|
|
1722
|
+
* How filter edits reach `onFilterChange`. Defaults to `'manual'`.
|
|
1723
|
+
* - `'manual'` (default) — edits are held locally; an **Apply** button (a real
|
|
1724
|
+
* form submit, so Enter also applies) flushes them in one go. Filtering only
|
|
1725
|
+
* fires on submit, so it never refetches on every keystroke/selection.
|
|
1726
|
+
* - `'live'` — control changes fire `onFilterChange` as they happen. Text
|
|
1727
|
+
* filters are **debounced by default (400ms)** so they don't refetch on
|
|
1728
|
+
* every keystroke; tune it per filter with `debounceMs`, or set `0` to emit
|
|
1729
|
+
* immediately. Selects / dates emit instantly.
|
|
1730
|
+
*/
|
|
1731
|
+
filterMode?: 'live' | 'manual';
|
|
1708
1732
|
enableRowSelection?: boolean;
|
|
1709
1733
|
bulkActions?: (selected: T[]) => ReactNode;
|
|
1710
1734
|
/** Current page state from the consumer's data layer. */
|
|
@@ -1780,7 +1804,7 @@ interface ListPageProps<T> {
|
|
|
1780
1804
|
* );
|
|
1781
1805
|
* ```
|
|
1782
1806
|
*/
|
|
1783
|
-
declare function ListPage<T>({ title, description, bordered, actions, data, columns, getRowId, isLoading, loadingRowCount, filters, filterValues, onFilterChange, enableRowSelection, bulkActions, pagination, onPaginationChange, totalCount, pageSizeOptions, emptyState, noDataState, labels: labelsProp, className, }: ListPageProps<T>): react_jsx_runtime.JSX.Element;
|
|
1807
|
+
declare function ListPage<T>({ title, description, bordered, actions, data, columns, getRowId, isLoading, loadingRowCount, filters, filterValues, onFilterChange, filterMode, enableRowSelection, bulkActions, pagination, onPaginationChange, totalCount, pageSizeOptions, emptyState, noDataState, labels: labelsProp, className, }: ListPageProps<T>): react_jsx_runtime.JSX.Element;
|
|
1784
1808
|
|
|
1785
1809
|
interface MultiSelectLabels {
|
|
1786
1810
|
/** Search input placeholder. Direction-aware default: `"Search…"` / `"بحث…"`. */
|
|
@@ -2101,6 +2125,85 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<Omit<RadixRadioGro
|
|
|
2101
2125
|
radioSize?: RadioGroupSize;
|
|
2102
2126
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
2103
2127
|
|
|
2128
|
+
/** Recurring action with a baked icon, default label, and styling. */
|
|
2129
|
+
interface PresetRowAction {
|
|
2130
|
+
/** 'view' (Eye), 'edit' (Pencil), or 'delete' (Trash2, destructive). */
|
|
2131
|
+
kind: 'view' | 'edit' | 'delete';
|
|
2132
|
+
/** Click handler. */
|
|
2133
|
+
onClick: () => void;
|
|
2134
|
+
/** Override the default accessible label (e.g. for i18n: 'تعديل'). */
|
|
2135
|
+
label?: string;
|
|
2136
|
+
/** Disable this single action. */
|
|
2137
|
+
disabled?: boolean;
|
|
2138
|
+
}
|
|
2139
|
+
/** Custom action for anything outside the presets. */
|
|
2140
|
+
interface CustomRowAction {
|
|
2141
|
+
/** Icon element, e.g. <Archive />. */
|
|
2142
|
+
icon: ReactNode;
|
|
2143
|
+
/** Accessible label — used as the button's aria-label. Required. */
|
|
2144
|
+
label: string;
|
|
2145
|
+
/** Click handler. */
|
|
2146
|
+
onClick: () => void;
|
|
2147
|
+
/** Destructive (red) styling. Defaults to 'default'. */
|
|
2148
|
+
variant?: 'default' | 'destructive';
|
|
2149
|
+
/** Disable this single action. */
|
|
2150
|
+
disabled?: boolean;
|
|
2151
|
+
}
|
|
2152
|
+
type RowAction = PresetRowAction | CustomRowAction;
|
|
2153
|
+
interface RowActionsProps {
|
|
2154
|
+
/** Actions rendered in array order (the flex row flips in RTL). */
|
|
2155
|
+
actions: RowAction[];
|
|
2156
|
+
/** Button size. Defaults to 'icon-sm'. */
|
|
2157
|
+
size?: 'icon-sm' | 'icon';
|
|
2158
|
+
/** Extra classes on the wrapping element. */
|
|
2159
|
+
className?: string;
|
|
2160
|
+
}
|
|
2161
|
+
/**
|
|
2162
|
+
* Inline icon action buttons for table rows (or anywhere). Pass a single
|
|
2163
|
+
* `actions` array mixing presets (`kind: 'view' | 'edit' | 'delete'`) and
|
|
2164
|
+
* custom actions. Presets supply a standard icon, label, and destructive
|
|
2165
|
+
* styling (delete); custom actions provide their own icon/label/variant.
|
|
2166
|
+
*
|
|
2167
|
+
* Icon-only buttons get their accessible name from `label` (aria-label).
|
|
2168
|
+
* Destructive actions (the `delete` preset or `variant: 'destructive'`) are
|
|
2169
|
+
* styling only — wire your own confirmation inside `onClick`.
|
|
2170
|
+
*
|
|
2171
|
+
* @example Presets — the common case
|
|
2172
|
+
* ```tsx
|
|
2173
|
+
* <RowActions
|
|
2174
|
+
* actions={[
|
|
2175
|
+
* { kind: 'view', onClick: () => view(row) },
|
|
2176
|
+
* { kind: 'edit', onClick: () => edit(row) },
|
|
2177
|
+
* { kind: 'delete', onClick: () => remove(row), disabled: row.locked },
|
|
2178
|
+
* ]}
|
|
2179
|
+
* />
|
|
2180
|
+
* ```
|
|
2181
|
+
*
|
|
2182
|
+
* @example Custom action + i18n label override
|
|
2183
|
+
* ```tsx
|
|
2184
|
+
* <RowActions
|
|
2185
|
+
* actions={[
|
|
2186
|
+
* { kind: 'edit', label: 'تعديل', onClick: () => edit(row) },
|
|
2187
|
+
* { icon: <Archive />, label: 'Archive', onClick: () => archive(row) },
|
|
2188
|
+
* ]}
|
|
2189
|
+
* />
|
|
2190
|
+
* ```
|
|
2191
|
+
*/
|
|
2192
|
+
declare function RowActions({ actions, size, className }: RowActionsProps): react_jsx_runtime.JSX.Element | null;
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Class constants for RowActions. Exported from the package root so consumers
|
|
2196
|
+
* can compose the same styling onto custom action buttons.
|
|
2197
|
+
*/
|
|
2198
|
+
/** Wrapper around the inline action buttons. */
|
|
2199
|
+
declare const rowActionsBaseClass = "inline-flex items-center gap-1";
|
|
2200
|
+
/**
|
|
2201
|
+
* Classes layered onto a ghost Button for destructive actions (the `delete`
|
|
2202
|
+
* preset or `variant: 'destructive'`). Red icon + subtle red hover. Ordered
|
|
2203
|
+
* after the ghost variant so tailwind-merge lets these win.
|
|
2204
|
+
*/
|
|
2205
|
+
declare const rowActionsDestructiveClass = "text-destructive hover:bg-destructive/10 hover:text-destructive focus-visible:ring-destructive/40";
|
|
2206
|
+
|
|
2104
2207
|
type SwitchSize = 'sm' | 'md' | 'lg';
|
|
2105
2208
|
/**
|
|
2106
2209
|
* Each size is a tuple: track dimensions + thumb size + thumb travel distance.
|
|
@@ -2372,4 +2475,4 @@ declare function useDirection(): Direction;
|
|
|
2372
2475
|
|
|
2373
2476
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2374
2477
|
|
|
2375
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, AppShell, type AppShellBrand, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxSize, type Column, type ColumnAlign, type ConfirmDialogLabels, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, DashboardContent, type DashboardContentProps, DashboardHeader, type DashboardHeaderProps, DashboardLayout, type DashboardLayoutContextValue, type DashboardLayoutProps, DashboardMain, type DashboardMainProps, DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerVariant, DetailPage, type DetailPageLabels, type DetailPageNotFoundState, type DetailPageProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, type Direction, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, Field, type FieldOrientation, type FieldProps, type FieldRHFProps, FileUpload, type FileUploadError, type FileUploadErrorCode, type FileUploadLabels, type FileUploadProps, FormPage, type FormPageLabels, type FormPageProps, HeaderActions, type HeaderActionsProps, HeaderCollapseTrigger, type HeaderCollapseTriggerProps, HeaderMobileTrigger, type HeaderMobileTriggerProps, HeaderSearch, type HeaderSearchProps, HeaderTitle, type HeaderTitleProps, Input, type InputProps, type InputSize, type InputVariant, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, ListPage, type ListPageDateFilter, type ListPageEmptyState, type ListPageFilter, type ListPageFilterWidth, type ListPageLabels, type ListPageMultiSelectFilter, type ListPageProps, type ListPageSelectFilter, type ListPageTextFilter, MultiSelect, type MultiSelectLabels, type MultiSelectProps, PageHeader, type PageHeaderBackProps, type PageHeaderBackRenderProps, type PageHeaderHeadingLevel, type PageHeaderProps, type PaginationState, RadioGroup, RadioGroupItem, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RowSelectionState, Select, type SelectOption, type SelectProps, type SelectSize, type SelectVariant, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavItemRenderProps, type SidebarNavProps, type SidebarProps, type SortDirection, type SortState, Switch, type SwitchProps, type SwitchSize, Table, type TableLabels, type TableProps, type TableSize, type TableSizeClasses, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaVariant, Toaster, type ToasterProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, badgeBaseClass, badgeDotSizeClass, badgeSizeClass, badgeVariantClass, buttonBaseClass, buttonSizeClass, buttonVariantClass, cn, datePickerCalendarClass, datePickerCaptionClass, datePickerContentClass, datePickerDayBaseClass, datePickerDayWrapperClass, datePickerDisabledClass, datePickerMonthClass, datePickerMonthGridClass, datePickerMonthsClass, datePickerNavButtonClass, datePickerNavClass, datePickerOutsideClass, datePickerPlaceholderClass, datePickerSelectedClass, datePickerTodayClass, datePickerTriggerBaseClass, datePickerTriggerSizeClass, datePickerTriggerVariantClass, datePickerValueClass, datePickerWeekClass, datePickerWeekdayClass, datePickerWeekdaysClass, detailPageBaseClass, detailPageBodyClass, detailPageEmptyClass, detailPageSkeletonRowClass, dialogCloseButtonClass, dialogContentClass, dialogDescriptionClass, dialogFooterClass, dialogHeaderClass, dialogOverlayClass, dialogTitleClass, dropdownMenuContentClass, dropdownMenuItemBaseClass, dropdownMenuItemInsetClass, dropdownMenuItemVariantClass, dropdownMenuLabelClass, dropdownMenuSeparatorClass, dropdownMenuShortcutClass, emptyStateActionsSpacingClass, emptyStateBaseClass, emptyStateContainerSizeClass, emptyStateDescriptionSizeClass, emptyStateIconWrapperBaseClass, emptyStateIconWrapperSizeClass, emptyStateTitleSizeClass, fileUploadBaseClass, fileUploadDropzoneClass, fileUploadFileNameClass, fileUploadFileRowClass, fileUploadFileSizeClass, fileUploadHintClass, fileUploadIconClass, fileUploadPromptClass, fileUploadRemoveClass, formPageActionsBarClass, formPageBaseClass, formPageBodyClass, formPageSkeletonRowClass, inputBaseClass, inputSizeClass, inputVariantClass, multiSelectChipClass, multiSelectChipRemoveClass, multiSelectContentClass, multiSelectEmptyClass, multiSelectListClass, multiSelectOptionClass, multiSelectSearchRowClass, multiSelectTriggerSizeClass, multiSelectValueRowClass, pageHeaderActionsClass, pageHeaderBackClass, pageHeaderBackIconClass, pageHeaderBaseClass, pageHeaderBorderedClass, pageHeaderBreadcrumbsClass, pageHeaderDescriptionClass, pageHeaderTitleBlockClass, pageHeaderTitleClass, pageHeaderTitleRowClass, radioGroupBaseClass, radioGroupOrientationClass, radioIndicatorBaseClass, radioIndicatorDotClass, radioIndicatorSizeClass, radioItemBaseClass, radioItemSizeClass, radioLabelSizeClass, radioOptionRowClass, selectBaseClass, selectSizeClass, selectVariantClass, switchThumbBaseClass, switchThumbClass, switchTrackBaseClass, switchTrackClass, alignClass as tableAlignClass, tableBaseClass, selectedRowClass as tableSelectedRowClass, tableSizeClass, sortIconClass as tableSortIconClass, textareaBaseClass, textareaResizeClass, textareaSizeClass, textareaVariantClass, toastClassNames, tooltipArrowClass, tooltipContentClass, useConfirm, useDashboardLayout, useDirection };
|
|
2478
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, AppShell, type AppShellBrand, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, type CheckboxProps, type CheckboxSize, type Column, type ColumnAlign, type ConfirmDialogLabels, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, type CustomRowAction, DashboardContent, type DashboardContentProps, DashboardHeader, type DashboardHeaderProps, DashboardLayout, type DashboardLayoutContextValue, type DashboardLayoutProps, DashboardMain, type DashboardMainProps, DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerVariant, DetailPage, type DetailPageLabels, type DetailPageNotFoundState, type DetailPageProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, type Direction, DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, Field, type FieldOrientation, type FieldProps, type FieldRHFProps, FileUpload, type FileUploadError, type FileUploadErrorCode, type FileUploadLabels, type FileUploadProps, FormPage, type FormPageLabels, type FormPageProps, HeaderActions, type HeaderActionsProps, HeaderCollapseTrigger, type HeaderCollapseTriggerProps, HeaderMobileTrigger, type HeaderMobileTriggerProps, HeaderSearch, type HeaderSearchProps, HeaderTitle, type HeaderTitleProps, Input, type InputProps, type InputSize, type InputVariant, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, ListPage, type ListPageDateFilter, type ListPageEmptyState, type ListPageFilter, type ListPageFilterWidth, type ListPageLabels, type ListPageMultiSelectFilter, type ListPageProps, type ListPageSelectFilter, type ListPageTextFilter, MultiSelect, type MultiSelectLabels, type MultiSelectProps, PageHeader, type PageHeaderBackProps, type PageHeaderBackRenderProps, type PageHeaderHeadingLevel, type PageHeaderProps, type PaginationState, type PresetRowAction, RadioGroup, RadioGroupItem, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RowAction, RowActions, type RowActionsProps, type RowSelectionState, Select, type SelectOption, type SelectProps, type SelectSize, type SelectVariant, Sidebar, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarNav, SidebarNavGroup, type SidebarNavGroupProps, SidebarNavItem, type SidebarNavItemProps, type SidebarNavItemRenderProps, type SidebarNavProps, type SidebarProps, type SortDirection, type SortState, Switch, type SwitchProps, type SwitchSize, Table, type TableLabels, type TableProps, type TableSize, type TableSizeClasses, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaVariant, Toaster, type ToasterProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, badgeBaseClass, badgeDotSizeClass, badgeSizeClass, badgeVariantClass, buttonBaseClass, buttonSizeClass, buttonVariantClass, cn, datePickerCalendarClass, datePickerCaptionClass, datePickerContentClass, datePickerDayBaseClass, datePickerDayWrapperClass, datePickerDisabledClass, datePickerMonthClass, datePickerMonthGridClass, datePickerMonthsClass, datePickerNavButtonClass, datePickerNavClass, datePickerOutsideClass, datePickerPlaceholderClass, datePickerSelectedClass, datePickerTodayClass, datePickerTriggerBaseClass, datePickerTriggerSizeClass, datePickerTriggerVariantClass, datePickerValueClass, datePickerWeekClass, datePickerWeekdayClass, datePickerWeekdaysClass, detailPageBaseClass, detailPageBodyClass, detailPageEmptyClass, detailPageSkeletonRowClass, dialogCloseButtonClass, dialogContentClass, dialogDescriptionClass, dialogFooterClass, dialogHeaderClass, dialogOverlayClass, dialogTitleClass, dropdownMenuContentClass, dropdownMenuItemBaseClass, dropdownMenuItemInsetClass, dropdownMenuItemVariantClass, dropdownMenuLabelClass, dropdownMenuSeparatorClass, dropdownMenuShortcutClass, emptyStateActionsSpacingClass, emptyStateBaseClass, emptyStateContainerSizeClass, emptyStateDescriptionSizeClass, emptyStateIconWrapperBaseClass, emptyStateIconWrapperSizeClass, emptyStateTitleSizeClass, fileUploadBaseClass, fileUploadDropzoneClass, fileUploadFileNameClass, fileUploadFileRowClass, fileUploadFileSizeClass, fileUploadHintClass, fileUploadIconClass, fileUploadPromptClass, fileUploadRemoveClass, formPageActionsBarClass, formPageBaseClass, formPageBodyClass, formPageSkeletonRowClass, inputBaseClass, inputSizeClass, inputVariantClass, multiSelectChipClass, multiSelectChipRemoveClass, multiSelectContentClass, multiSelectEmptyClass, multiSelectListClass, multiSelectOptionClass, multiSelectSearchRowClass, multiSelectTriggerSizeClass, multiSelectValueRowClass, pageHeaderActionsClass, pageHeaderBackClass, pageHeaderBackIconClass, pageHeaderBaseClass, pageHeaderBorderedClass, pageHeaderBreadcrumbsClass, pageHeaderDescriptionClass, pageHeaderTitleBlockClass, pageHeaderTitleClass, pageHeaderTitleRowClass, radioGroupBaseClass, radioGroupOrientationClass, radioIndicatorBaseClass, radioIndicatorDotClass, radioIndicatorSizeClass, radioItemBaseClass, radioItemSizeClass, radioLabelSizeClass, radioOptionRowClass, rowActionsBaseClass, rowActionsDestructiveClass, selectBaseClass, selectSizeClass, selectVariantClass, switchThumbBaseClass, switchThumbClass, switchTrackBaseClass, switchTrackClass, alignClass as tableAlignClass, tableBaseClass, selectedRowClass as tableSelectedRowClass, tableSizeClass, sortIconClass as tableSortIconClass, textareaBaseClass, textareaResizeClass, textareaSizeClass, textareaVariantClass, toastClassNames, tooltipArrowClass, tooltipContentClass, useConfirm, useDashboardLayout, useDirection };
|