najm-kit 2.1.46 → 2.1.48
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/CHANGELOG.md +13 -0
- package/README.md +71 -5
- package/dist/index.d.ts +96 -4
- package/dist/index.mjs +484 -112
- package/dist/theme.css +22 -3
- package/package.json +4 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2.1.48 - 2026-08-04
|
|
4
|
+
|
|
5
|
+
- Keep responsive card row actions visible on phone, tablet, and touch input,
|
|
6
|
+
while retaining hover and keyboard-focus reveal on fine-pointer desktops.
|
|
7
|
+
- Size table and card loading skeletons from the measured body and active grid,
|
|
8
|
+
and keep loading borders, radius, color, and shadow aligned with loaded
|
|
9
|
+
surfaces.
|
|
10
|
+
- Add the exported `NTableCardPagination` and `NTableLoadMorePagination`
|
|
11
|
+
contracts for paged, complete supplied-data, and explicit server-backed Load
|
|
12
|
+
more card presentation, including guarded append/retry behavior and accessible
|
|
13
|
+
loading, result, error, and terminal feedback.
|
package/README.md
CHANGED
|
@@ -211,8 +211,74 @@ Notes:
|
|
|
211
211
|
- The columns the TanStack table receives are already filtered, so the
|
|
212
212
|
settings menu will not list `visible: false` columns.
|
|
213
213
|
|
|
214
|
-
If you need to inspect or build your own effective column list, the same
|
|
215
|
-
pure helper is exported as `filterResponsiveColumns`. The literal class
|
|
216
|
-
map is also exported as `hiddenBelowClasses`, and
|
|
217
|
-
`resolveHiddenBelowClass(breakpoint)` returns the class for a single
|
|
218
|
-
breakpoint or `undefined` when no breakpoint is set.
|
|
214
|
+
If you need to inspect or build your own effective column list, the same
|
|
215
|
+
pure helper is exported as `filterResponsiveColumns`. The literal class
|
|
216
|
+
map is also exported as `hiddenBelowClasses`, and
|
|
217
|
+
`resolveHiddenBelowClass(breakpoint)` returns the class for a single
|
|
218
|
+
breakpoint or `undefined` when no breakpoint is set.
|
|
219
|
+
|
|
220
|
+
## NTable responsive cards, loading, and pagination
|
|
221
|
+
|
|
222
|
+
Responsive row actions are visible by default on phone, tablet, and coarse or
|
|
223
|
+
non-hover pointers. Fine-pointer desktop layouts may reveal them on hover, but
|
|
224
|
+
keyboard focus always reveals the action. Applications still decide which menu
|
|
225
|
+
items exist through `menu`, `onView`, `onEdit`, and `onDelete`; visibility does
|
|
226
|
+
not grant an action or replace server authorization.
|
|
227
|
+
|
|
228
|
+
When `dynamicHeight` is enabled, table and card loading skeletons measure the
|
|
229
|
+
available body. Table rows use the same header/row geometry as dynamic page
|
|
230
|
+
sizing, while cards measure the active grid columns, card height, and gap. The
|
|
231
|
+
loading surface also follows the loaded `bordered`, design recipe, radius,
|
|
232
|
+
border color, shadow, and `classNames.content`/`classNames.cards` contract.
|
|
233
|
+
|
|
234
|
+
Use `cardPagination` to choose pagination presentation whenever the effective
|
|
235
|
+
rendered mode is cards:
|
|
236
|
+
|
|
237
|
+
- `{ mode: "paged" }` (the default) preserves existing pagination.
|
|
238
|
+
- `{ mode: "all" }` renders every row already supplied and hides the footer.
|
|
239
|
+
- `{ mode: "load-more", ... }` renders every supplied row and provides a
|
|
240
|
+
guarded, keyboard-operable Load more/Retry control with polite loading,
|
|
241
|
+
appended-result, and end-of-list announcements.
|
|
242
|
+
|
|
243
|
+
`showPagination={false}` remains an absolute presentation override and hides
|
|
244
|
+
both numbered controls and Load more. In table mode, existing controlled and
|
|
245
|
+
manual server pagination remains unchanged.
|
|
246
|
+
|
|
247
|
+
```tsx
|
|
248
|
+
import { NTable, type NTableCardPagination } from "najm-kit";
|
|
249
|
+
|
|
250
|
+
const cardPagination: NTableCardPagination = {
|
|
251
|
+
mode: "load-more",
|
|
252
|
+
hasNextPage: query.hasNextPage,
|
|
253
|
+
loadingMore: query.isFetchingNextPage,
|
|
254
|
+
loadMoreError: query.isFetchNextPageError
|
|
255
|
+
? "The next page could not be loaded."
|
|
256
|
+
: undefined,
|
|
257
|
+
onLoadMore: () => query.fetchNextPage(),
|
|
258
|
+
loadMoreLabel: "Load more",
|
|
259
|
+
loadingMoreLabel: "Loading more...",
|
|
260
|
+
retryLabel: "Retry",
|
|
261
|
+
endLabel: "No more results.",
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
<NTable
|
|
265
|
+
data={query.data?.pages.flatMap((page) => page.rows) ?? []}
|
|
266
|
+
columns={columns}
|
|
267
|
+
getRowId={(row) => row.id}
|
|
268
|
+
renderCard={ResultCard}
|
|
269
|
+
cardPagination={cardPagination}
|
|
270
|
+
/>
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
The application owns the query, cursor/offset, accumulated pages, cache
|
|
274
|
+
invalidation, search/filter/sort semantics, authorization, and privacy
|
|
275
|
+
projection. Najm Kit never imports React Query, calls an endpoint, invents a
|
|
276
|
+
page size, or treats supplied rows as proof that every database row is loaded.
|
|
277
|
+
Client sorting and filtering cover the rows currently supplied unless the
|
|
278
|
+
application implements matching server-side behavior.
|
|
279
|
+
|
|
280
|
+
For a responsive screen that uses current-page data in desktop table mode and
|
|
281
|
+
accumulated pages in card mode, keep those two query shapes in the application
|
|
282
|
+
and pass the appropriate `data`. Crossing the `<640px` responsive-card
|
|
283
|
+
breakpoint does not overwrite the user's chosen view, pagination position,
|
|
284
|
+
sorting, filters, expansion, or row selection.
|
package/dist/index.d.ts
CHANGED
|
@@ -2209,6 +2209,22 @@ interface ImageInputProps extends BaseProps {
|
|
|
2209
2209
|
buttonLabel?: string;
|
|
2210
2210
|
disabled?: boolean;
|
|
2211
2211
|
}
|
|
2212
|
+
interface OtpInputProps extends BaseProps {
|
|
2213
|
+
value: string;
|
|
2214
|
+
onChange: (value: string) => void;
|
|
2215
|
+
/** Number of one-character cells. */
|
|
2216
|
+
length?: number;
|
|
2217
|
+
/** Restrict the code to decimal digits. */
|
|
2218
|
+
numeric?: boolean;
|
|
2219
|
+
ariaLabel?: string;
|
|
2220
|
+
digitAriaLabel?: (position: number, length: number) => string;
|
|
2221
|
+
autoFocus?: boolean;
|
|
2222
|
+
autoComplete?: React.HTMLInputAutoCompleteAttribute;
|
|
2223
|
+
disabled?: boolean;
|
|
2224
|
+
readOnly?: boolean;
|
|
2225
|
+
inputClassName?: string;
|
|
2226
|
+
onComplete?: (value: string) => void;
|
|
2227
|
+
}
|
|
2212
2228
|
type AvatarInputRadius = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
2213
2229
|
/** ImageInput options with avatar-specific radius defaults. */
|
|
2214
2230
|
interface AvatarInputProps extends ImageInputProps {
|
|
@@ -2266,6 +2282,9 @@ declare const NumberInput: React__default.FC<NumberInputProps>;
|
|
|
2266
2282
|
|
|
2267
2283
|
declare const PasswordInput: React__default.FC<PasswordInputProps>;
|
|
2268
2284
|
|
|
2285
|
+
/** Accessible, controlled one-time-code input with keyboard and paste support. */
|
|
2286
|
+
declare const OtpInput: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
2287
|
+
|
|
2269
2288
|
declare const TextAreaInput: React__default.FC<TextAreaInputProps>;
|
|
2270
2289
|
|
|
2271
2290
|
declare const SelectInput: React__default.FC<SelectInputProps>;
|
|
@@ -2439,6 +2458,7 @@ type InputTypeMap = {
|
|
|
2439
2458
|
text: FormInputSpecificProps<TextInputProps>;
|
|
2440
2459
|
number: FormInputSpecificProps<NumberInputProps>;
|
|
2441
2460
|
password: FormInputSpecificProps<PasswordInputProps>;
|
|
2461
|
+
otp: FormInputSpecificProps<OtpInputProps>;
|
|
2442
2462
|
textarea: FormInputSpecificProps<TextAreaInputProps>;
|
|
2443
2463
|
select: FormInputSpecificProps<SelectInputProps>;
|
|
2444
2464
|
combobox: FormInputSpecificProps<ComboboxInputProps>;
|
|
@@ -2651,6 +2671,39 @@ type StepSubmitResult = {
|
|
|
2651
2671
|
};
|
|
2652
2672
|
declare function useFormSubmission({ steps, schema, defaultValues, onSubmit, currentStep, isLastStep, handleNext, markStepCompleted, reset, }: UseFormSubmissionOptions): FormSubmissionState;
|
|
2653
2673
|
|
|
2674
|
+
interface NTableLoadMorePagination {
|
|
2675
|
+
/** Render the supplied rows as one card list with an explicit continuation control. */
|
|
2676
|
+
mode: "load-more";
|
|
2677
|
+
/** Whether the owning application has another server page available. */
|
|
2678
|
+
hasNextPage: boolean;
|
|
2679
|
+
/** True while the owning application is appending the next page. */
|
|
2680
|
+
loadingMore?: boolean;
|
|
2681
|
+
/** A controlled append error. Existing rows remain rendered and the control becomes Retry. */
|
|
2682
|
+
loadMoreError?: ReactNode;
|
|
2683
|
+
/** Fetch exactly one additional page. Najm Kit never constructs or owns the request. */
|
|
2684
|
+
onLoadMore: () => unknown | Promise<unknown>;
|
|
2685
|
+
loadMoreLabel?: string;
|
|
2686
|
+
loadingMoreLabel?: string;
|
|
2687
|
+
retryLabel?: string;
|
|
2688
|
+
endLabel?: string;
|
|
2689
|
+
loadMoreErrorLabel?: string;
|
|
2690
|
+
/** Localize the polite announcement made after appended rows arrive. */
|
|
2691
|
+
itemsLoadedLabel?: (count: number) => string;
|
|
2692
|
+
}
|
|
2693
|
+
/**
|
|
2694
|
+
* Presentation policy used while NTable is actually rendering cards.
|
|
2695
|
+
*
|
|
2696
|
+
* `paged` preserves the existing page controls. `all` renders every supplied
|
|
2697
|
+
* row without a footer. `load-more` also renders every supplied row and adds a
|
|
2698
|
+
* guarded, accessible continuation control. Applications remain responsible
|
|
2699
|
+
* for fetching, accumulating, filtering, sorting, authorization, and privacy.
|
|
2700
|
+
*/
|
|
2701
|
+
type NTableCardPagination = {
|
|
2702
|
+
mode?: "paged";
|
|
2703
|
+
} | {
|
|
2704
|
+
mode: "all";
|
|
2705
|
+
} | NTableLoadMorePagination;
|
|
2706
|
+
|
|
2654
2707
|
interface NTableClassNames {
|
|
2655
2708
|
root?: string;
|
|
2656
2709
|
header?: string;
|
|
@@ -2722,7 +2775,14 @@ interface TableState {
|
|
|
2722
2775
|
addButtonText: string;
|
|
2723
2776
|
pageSizeOptions: number[];
|
|
2724
2777
|
calculatedPageSize: number;
|
|
2778
|
+
skeletonRowCount: number;
|
|
2725
2779
|
maxHeight: number | null;
|
|
2780
|
+
bodyWidth: number;
|
|
2781
|
+
bodyHeight: number;
|
|
2782
|
+
tableHeaderHeight: number;
|
|
2783
|
+
cardColumnCount: number;
|
|
2784
|
+
cardRowHeight: number;
|
|
2785
|
+
cardGap: number;
|
|
2726
2786
|
syncWithProps: (updates: Partial<TableState>) => void;
|
|
2727
2787
|
jsonValue: unknown;
|
|
2728
2788
|
jsonColors: any;
|
|
@@ -2762,6 +2822,8 @@ interface TableState {
|
|
|
2762
2822
|
hasSyncedSortingFromProps: boolean;
|
|
2763
2823
|
responsiveCards: boolean;
|
|
2764
2824
|
isMobile: boolean;
|
|
2825
|
+
effectiveViewMode: ViewMode;
|
|
2826
|
+
cardPagination: NTableCardPagination;
|
|
2765
2827
|
isEmpty: boolean | undefined;
|
|
2766
2828
|
isFilteredEmpty: boolean;
|
|
2767
2829
|
renderFilteredEmpty: (() => React.ReactNode) | null;
|
|
@@ -2838,7 +2900,14 @@ declare const createTableStore: () => {
|
|
|
2838
2900
|
addButtonText: () => string;
|
|
2839
2901
|
pageSizeOptions: () => number[];
|
|
2840
2902
|
calculatedPageSize: () => number;
|
|
2903
|
+
skeletonRowCount: () => number;
|
|
2841
2904
|
maxHeight: () => number;
|
|
2905
|
+
bodyWidth: () => number;
|
|
2906
|
+
bodyHeight: () => number;
|
|
2907
|
+
tableHeaderHeight: () => number;
|
|
2908
|
+
cardColumnCount: () => number;
|
|
2909
|
+
cardRowHeight: () => number;
|
|
2910
|
+
cardGap: () => number;
|
|
2842
2911
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
2843
2912
|
jsonValue: () => unknown;
|
|
2844
2913
|
jsonColors: () => any;
|
|
@@ -2878,6 +2947,8 @@ declare const createTableStore: () => {
|
|
|
2878
2947
|
hasSyncedSortingFromProps: () => boolean;
|
|
2879
2948
|
responsiveCards: () => boolean;
|
|
2880
2949
|
isMobile: () => boolean;
|
|
2950
|
+
effectiveViewMode: () => ViewMode;
|
|
2951
|
+
cardPagination: () => NTableCardPagination;
|
|
2881
2952
|
isEmpty: () => boolean;
|
|
2882
2953
|
isFilteredEmpty: () => boolean;
|
|
2883
2954
|
renderFilteredEmpty: () => () => React.ReactNode;
|
|
@@ -3010,6 +3081,8 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
|
|
|
3010
3081
|
pageIndex: number;
|
|
3011
3082
|
pageSize: number;
|
|
3012
3083
|
}) => void;
|
|
3084
|
+
/** Pagination presentation used whenever NTable is actually rendering cards. */
|
|
3085
|
+
cardPagination?: NTableCardPagination;
|
|
3013
3086
|
rowSelection?: RowSelectionState;
|
|
3014
3087
|
defaultRowSelection?: RowSelectionState;
|
|
3015
3088
|
onRowSelectionChange?: (state: RowSelectionState) => void;
|
|
@@ -3105,8 +3178,9 @@ interface NDataCardShellProps {
|
|
|
3105
3178
|
openRowMenu?: ((e: React__default.MouseEvent, row: any) => void) | null;
|
|
3106
3179
|
menuButton?: boolean;
|
|
3107
3180
|
bordered?: boolean;
|
|
3181
|
+
borderColor?: string;
|
|
3108
3182
|
}
|
|
3109
|
-
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
|
|
3183
|
+
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderColor }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
|
|
3110
3184
|
|
|
3111
3185
|
interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> {
|
|
3112
3186
|
card: {
|
|
@@ -3244,7 +3318,14 @@ declare const TableStoreContext: React$1.Context<{
|
|
|
3244
3318
|
addButtonText: () => string;
|
|
3245
3319
|
pageSizeOptions: () => number[];
|
|
3246
3320
|
calculatedPageSize: () => number;
|
|
3321
|
+
skeletonRowCount: () => number;
|
|
3247
3322
|
maxHeight: () => number;
|
|
3323
|
+
bodyWidth: () => number;
|
|
3324
|
+
bodyHeight: () => number;
|
|
3325
|
+
tableHeaderHeight: () => number;
|
|
3326
|
+
cardColumnCount: () => number;
|
|
3327
|
+
cardRowHeight: () => number;
|
|
3328
|
+
cardGap: () => number;
|
|
3248
3329
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
3249
3330
|
jsonValue: () => unknown;
|
|
3250
3331
|
jsonColors: () => any;
|
|
@@ -3284,6 +3365,8 @@ declare const TableStoreContext: React$1.Context<{
|
|
|
3284
3365
|
hasSyncedSortingFromProps: () => boolean;
|
|
3285
3366
|
responsiveCards: () => boolean;
|
|
3286
3367
|
isMobile: () => boolean;
|
|
3368
|
+
effectiveViewMode: () => ViewMode;
|
|
3369
|
+
cardPagination: () => NTableCardPagination;
|
|
3287
3370
|
isEmpty: () => boolean;
|
|
3288
3371
|
isFilteredEmpty: () => boolean;
|
|
3289
3372
|
renderFilteredEmpty: () => () => React.ReactNode;
|
|
@@ -3364,7 +3447,14 @@ declare function useStoreSync(props: any): {
|
|
|
3364
3447
|
addButtonText: () => string;
|
|
3365
3448
|
pageSizeOptions: () => number[];
|
|
3366
3449
|
calculatedPageSize: () => number;
|
|
3450
|
+
skeletonRowCount: () => number;
|
|
3367
3451
|
maxHeight: () => number;
|
|
3452
|
+
bodyWidth: () => number;
|
|
3453
|
+
bodyHeight: () => number;
|
|
3454
|
+
tableHeaderHeight: () => number;
|
|
3455
|
+
cardColumnCount: () => number;
|
|
3456
|
+
cardRowHeight: () => number;
|
|
3457
|
+
cardGap: () => number;
|
|
3368
3458
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
3369
3459
|
jsonValue: () => unknown;
|
|
3370
3460
|
jsonColors: () => any;
|
|
@@ -3404,6 +3494,8 @@ declare function useStoreSync(props: any): {
|
|
|
3404
3494
|
hasSyncedSortingFromProps: () => boolean;
|
|
3405
3495
|
responsiveCards: () => boolean;
|
|
3406
3496
|
isMobile: () => boolean;
|
|
3497
|
+
effectiveViewMode: () => ViewMode;
|
|
3498
|
+
cardPagination: () => NTableCardPagination;
|
|
3407
3499
|
isEmpty: () => boolean;
|
|
3408
3500
|
isFilteredEmpty: () => boolean;
|
|
3409
3501
|
renderFilteredEmpty: () => () => React__default.ReactNode;
|
|
@@ -3416,8 +3508,8 @@ declare function useStoreSync(props: any): {
|
|
|
3416
3508
|
hasSyncedExpandedFromProps: () => boolean;
|
|
3417
3509
|
};
|
|
3418
3510
|
};
|
|
3419
|
-
declare function useDynamicPageSize(containerRef: React__default.RefObject<HTMLDivElement | null
|
|
3420
|
-
declare function useTable(): {
|
|
3511
|
+
declare function useDynamicPageSize(containerRef: React__default.RefObject<HTMLDivElement | null>, effectiveViewMode?: TableState["viewMode"]): void;
|
|
3512
|
+
declare function useTable(effectiveViewModeOverride?: TableState["viewMode"]): {
|
|
3421
3513
|
table: _tanstack_table_core.Table<unknown>;
|
|
3422
3514
|
finalColumns: _tanstack_table_core.ColumnDef<unknown, unknown>[];
|
|
3423
3515
|
sorting: SortingState;
|
|
@@ -3813,4 +3905,4 @@ interface NGridItemProps extends Omit<React$1.AllHTMLAttributes<HTMLDivElement>,
|
|
|
3813
3905
|
declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps): react_jsx_runtime.JSX.Element;
|
|
3814
3906
|
declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps): react_jsx_runtime.JSX.Element;
|
|
3815
3907
|
|
|
3816
|
-
export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, type AvatarInputProps, type AvatarInputRadius, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, Badge, type BadgeColor, type BadgeIcon, type BadgeLook, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, type CheckboxGroupInputProps, CheckboxInput, type CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, type ColorArrayInputProps, type ColorFormat, ColorPickerInput, type ColorPickerInputProps, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_THEME_FILE_NAME, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormField, FormInput, type FormInputBackground, type FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_COMPONENT_NAMES, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, type NCardDensity, NCardFooter, NCardInfo, type NCardInfoProps, NCardMedia, type NCardMediaAspect, type NCardMediaPlacement, type NCardMediaProps, type NCardMediaSize, type NCardMediaVariant, type CardProps as NCardProps, NCardSection, type NCardSectionProps, type NCardSectionSurface, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NEmptyState, type NEmptyStateProps, NErrorBoundary, NErrorState, type NErrorStateProps, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIcon, type NIconProps, type NIconSource, NIndicator, NInspectorSheet, NLoadingState, type NLoadingStateProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPortalScopeProvider, NProgress, type NProgressProps, NRowActions, NSection, NSectionHeader, type NSectionHeaderActionsProps, type NSectionHeaderContentProps, type NSectionHeaderProps, type NSectionHeaderSubtitleProps, type NSectionHeaderTitleProps, NSectionInfo, type NSectionInfoProps, type NSectionProps, NSectionWithInfo, type NSectionWithInfoItem, type NSectionWithInfoProps, NSheet, type NSheetClassNames, type NSheetProps, NSidebar, NSidebarContent, type NSidebarContentProps, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarLogo, type NSidebarLogoProps, NSidebarMobile, type NSidebarMobileProps, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSlider, type NSliderProps, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, Swap as NSwap, type NSwapProps, NTable, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, NTablePagination, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NThemeCustomizer, type NThemeCustomizerFontOption, type NThemeCustomizerLabels, type NThemeCustomizerProps, type NThemeCustomizerTab, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, type NajmAccent, type NajmAppearance, type NajmBorderSide, type NajmComponentName, type NajmComponentRadius, type NajmComponentStyleConfig, type NajmComponentThemeConfig, type NajmDensity, type NajmDesignConfig, NajmDesignProvider, type NajmDesignProviderProps, type NajmLayoutConfig, type NajmMode, type NajmPreset, type NajmResponsiveBreakpoint, type NajmResponsiveValue, NajmScroll, type NajmScrollProps, type NajmSlotStyle, type NajmThemeConfig, NajmThemeProvider, type NajmThemeProviderProps, type NajmThemeTokens, type NajmTypographyConfig, type NajmVariantStyle, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RADIUS_VALUE_MAP, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarItemProps, type SidebarProps, type SidebarWidth, type SidebarWidths, SimpleTooltip, type SimpleTooltipProps, NSkeleton as Skeleton, Slider, SliderInput, type SliderInputProps, type SliderOrientation, type SliderProps, type SliderSize, type SliderVariant, type SmartPastePreview, type SpinnerVariant, StarRatingInput, type StarRatingInputProps, StatusPill, type StatusPillProps, type StatusPillTone, type StepConfig, StepIndicator, type StepMeta, StepsHeader, StepsProgress, type StorageMenuAction, type StorageSortOption, type StorageTarget, Swap, type SwapEffect, SwapIndeterminate, SwapOff, SwapOn, type SwapProps, type SwapSize, type SwapState, Switch, type SwitchColor, SwitchInput, type SwitchInputProps, type SwitchSize, TAB_COLORS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderColor, TableRow, type TableState, type TableStore, TableStoreContext, Tabs, TabsContent, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, type TabsVariant, TextAreaInput, type TextAreaInputProps, TextInput, type TextInputProps, Textarea, TimeInput, type TimeInputProps, TimeZoneInput, type TimeZoneInputProps, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseContextMenuResult, type UseNFormOptions, type UseStorageContextMenuOptions, type UseStorageContextMenuResult, type UserMenuAction, VariantProvider, type WizardClassNames, WizardForm, type WizardFormProps, alertVariants, avatarVariants, badgeColorVariants, badgeVariants, buildDefaultFileColumns, buttonVariants, cn, composePreset, createDialogStore, createTableStore, defineNajmDesignConfig, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, normalizeThemeFileName, parseColor, parseNajmDesignConfig, parseNajmThemeConfig, parseThemeFile, resolveHiddenBelowClass, resolvePreset, resolveRadiusValue, resolveSlot, resolveVariantAlias, sidebarBorderClasses, sliderVariants, stringifyNajmDesignConfig, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNForm, useNPortalScope, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
|
|
3908
|
+
export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, type AvatarInputProps, type AvatarInputRadius, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, Badge, type BadgeColor, type BadgeIcon, type BadgeLook, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, type CheckboxGroupInputProps, CheckboxInput, type CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, type ColorArrayInputProps, type ColorFormat, ColorPickerInput, type ColorPickerInputProps, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_THEME_FILE_NAME, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormField, FormInput, type FormInputBackground, type FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_COMPONENT_NAMES, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, type NCardDensity, NCardFooter, NCardInfo, type NCardInfoProps, NCardMedia, type NCardMediaAspect, type NCardMediaPlacement, type NCardMediaProps, type NCardMediaSize, type NCardMediaVariant, type CardProps as NCardProps, NCardSection, type NCardSectionProps, type NCardSectionSurface, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NEmptyState, type NEmptyStateProps, NErrorBoundary, NErrorState, type NErrorStateProps, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIcon, type NIconProps, type NIconSource, NIndicator, NInspectorSheet, NLoadingState, type NLoadingStateProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPortalScopeProvider, NProgress, type NProgressProps, NRowActions, NSection, NSectionHeader, type NSectionHeaderActionsProps, type NSectionHeaderContentProps, type NSectionHeaderProps, type NSectionHeaderSubtitleProps, type NSectionHeaderTitleProps, NSectionInfo, type NSectionInfoProps, type NSectionProps, NSectionWithInfo, type NSectionWithInfoItem, type NSectionWithInfoProps, NSheet, type NSheetClassNames, type NSheetProps, NSidebar, NSidebarContent, type NSidebarContentProps, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarLogo, type NSidebarLogoProps, NSidebarMobile, type NSidebarMobileProps, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSlider, type NSliderProps, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, Swap as NSwap, type NSwapProps, NTable, type NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, type NTableLoadMorePagination, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, NTablePagination, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NThemeCustomizer, type NThemeCustomizerFontOption, type NThemeCustomizerLabels, type NThemeCustomizerProps, type NThemeCustomizerTab, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, type NajmAccent, type NajmAppearance, type NajmBorderSide, type NajmComponentName, type NajmComponentRadius, type NajmComponentStyleConfig, type NajmComponentThemeConfig, type NajmDensity, type NajmDesignConfig, NajmDesignProvider, type NajmDesignProviderProps, type NajmLayoutConfig, type NajmMode, type NajmPreset, type NajmResponsiveBreakpoint, type NajmResponsiveValue, NajmScroll, type NajmScrollProps, type NajmSlotStyle, type NajmThemeConfig, NajmThemeProvider, type NajmThemeProviderProps, type NajmThemeTokens, type NajmTypographyConfig, type NajmVariantStyle, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, OtpInput, type OtpInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RADIUS_VALUE_MAP, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarItemProps, type SidebarProps, type SidebarWidth, type SidebarWidths, SimpleTooltip, type SimpleTooltipProps, NSkeleton as Skeleton, Slider, SliderInput, type SliderInputProps, type SliderOrientation, type SliderProps, type SliderSize, type SliderVariant, type SmartPastePreview, type SpinnerVariant, StarRatingInput, type StarRatingInputProps, StatusPill, type StatusPillProps, type StatusPillTone, type StepConfig, StepIndicator, type StepMeta, StepsHeader, StepsProgress, type StorageMenuAction, type StorageSortOption, type StorageTarget, Swap, type SwapEffect, SwapIndeterminate, SwapOff, SwapOn, type SwapProps, type SwapSize, type SwapState, Switch, type SwitchColor, SwitchInput, type SwitchInputProps, type SwitchSize, TAB_COLORS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderColor, TableRow, type TableState, type TableStore, TableStoreContext, Tabs, TabsContent, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, type TabsVariant, TextAreaInput, type TextAreaInputProps, TextInput, type TextInputProps, Textarea, TimeInput, type TimeInputProps, TimeZoneInput, type TimeZoneInputProps, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseContextMenuResult, type UseNFormOptions, type UseStorageContextMenuOptions, type UseStorageContextMenuResult, type UserMenuAction, VariantProvider, type WizardClassNames, WizardForm, type WizardFormProps, alertVariants, avatarVariants, badgeColorVariants, badgeVariants, buildDefaultFileColumns, buttonVariants, cn, composePreset, createDialogStore, createTableStore, defineNajmDesignConfig, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, normalizeThemeFileName, parseColor, parseNajmDesignConfig, parseNajmThemeConfig, parseThemeFile, resolveHiddenBelowClass, resolvePreset, resolveRadiusValue, resolveSlot, resolveVariantAlias, sidebarBorderClasses, sliderVariants, stringifyNajmDesignConfig, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNForm, useNPortalScope, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
|