najm-kit 2.1.47 → 2.1.49
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 +42 -0
- package/README.md +140 -6
- package/dist/index.d.ts +104 -5
- package/dist/index.mjs +625 -180
- package/dist/theme.css +60 -2
- package/package.json +4 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2.1.49 - 2026-08-04
|
|
4
|
+
|
|
5
|
+
### ImageInput and AvatarInput
|
|
6
|
+
|
|
7
|
+
- Add `previewAlt`, `fallbackImage`, `fallbackAlt`, `unavailableContent`,
|
|
8
|
+
`imageClassName`, `onPreviewError`, `replaceAriaLabel`, and `clearAriaLabel`
|
|
9
|
+
to `ImageInputProps`. `AvatarInput` forwards every new prop unchanged.
|
|
10
|
+
- Preview sources resolve in this priority order: `value`, `fallbackImage`,
|
|
11
|
+
`defaultImage`. Candidate URLs are deduplicated so a failing primary URL is
|
|
12
|
+
never retried through multiple stages. When every candidate fails, the
|
|
13
|
+
broken `<img>` is unmounted and `unavailableContent` (or a neutral default)
|
|
14
|
+
is rendered in its place.
|
|
15
|
+
- `imageVersion` is appended safely to relative, absolute, queried, and
|
|
16
|
+
fragmented URLs. `data:`, `blob:`, `javascript:`, and `file:` URLs are
|
|
17
|
+
left unchanged.
|
|
18
|
+
- Expose `data-image-input-state="empty" | "preview" | "fallback" | "unavailable"`
|
|
19
|
+
on the preview container for styling, testing, and consumer diagnostics.
|
|
20
|
+
- File selection is race-safe: stale `FileReader` completions cannot replace
|
|
21
|
+
a newer value. Object URLs created by the component are tracked so
|
|
22
|
+
consumer-owned blob URLs are never revoked.
|
|
23
|
+
- Replace and clear controls are real `<button>` elements, are reachable
|
|
24
|
+
with the keyboard, and stay visible on touch and coarse-pointer devices.
|
|
25
|
+
Only on `(hover: hover) and (pointer: fine)` desktops do the controls fall
|
|
26
|
+
back to a hover/focus reveal. `focus-visible` always restores visibility.
|
|
27
|
+
- Use logical positioning (`end-*`) so the clear button works correctly in
|
|
28
|
+
RTL layouts.
|
|
29
|
+
- Re-export `ImageInputPreviewSource` and `ImageInputPreviewError` from
|
|
30
|
+
`najm-kit/components/inputs` and the package root.
|
|
31
|
+
|
|
32
|
+
## 2.1.48 - 2026-08-04
|
|
33
|
+
|
|
34
|
+
- Keep responsive card row actions visible on phone, tablet, and touch input,
|
|
35
|
+
while retaining hover and keyboard-focus reveal on fine-pointer desktops.
|
|
36
|
+
- Size table and card loading skeletons from the measured body and active grid,
|
|
37
|
+
and keep loading borders, radius, color, and shadow aligned with loaded
|
|
38
|
+
surfaces.
|
|
39
|
+
- Add the exported `NTableCardPagination` and `NTableLoadMorePagination`
|
|
40
|
+
contracts for paged, complete supplied-data, and explicit server-backed Load
|
|
41
|
+
more card presentation, including guarded append/retry behavior and accessible
|
|
42
|
+
loading, result, error, and terminal feedback.
|
package/README.md
CHANGED
|
@@ -141,12 +141,80 @@ import { Form, FormInput, useNForm } from 'najm-kit';
|
|
|
141
141
|
| Category | Components |
|
|
142
142
|
|----------|-----------|
|
|
143
143
|
| Actions | NButton, IconButton, toggleVariants |
|
|
144
|
-
| Forms | Input, Textarea, Label, Select, Checkbox, RadioGroup, Switch, DateInput, FileInput |
|
|
144
|
+
| Forms | Input, Textarea, Label, Select, Checkbox, RadioGroup, Switch, DateInput, FileInput, ImageInput, AvatarInput |
|
|
145
145
|
| Feedback | Alert, Badge, Progress, Spinner, Toast |
|
|
146
146
|
| Layout | Card, Sheet, Dialog, Popover, DropdownMenu, Tabs |
|
|
147
147
|
| Data | Table (NTable), StatCard, DetailList |
|
|
148
148
|
| Overlays | Command palette, Tooltip, Toast |
|
|
149
149
|
|
|
150
|
+
## ImageInput and AvatarInput
|
|
151
|
+
|
|
152
|
+
`ImageInput` and `AvatarInput` ship with a resilient preview contract so
|
|
153
|
+
consumers do not need to wrap them with application-specific preview
|
|
154
|
+
components.
|
|
155
|
+
|
|
156
|
+
Source precedence:
|
|
157
|
+
|
|
158
|
+
- When `value` is a non-empty string URL, candidates are tried in order:
|
|
159
|
+
1. `value` is the primary preview source.
|
|
160
|
+
2. If the primary source fails, `fallbackImage` is tried when supplied.
|
|
161
|
+
3. `defaultImage` is the last-resort fallback.
|
|
162
|
+
- When `value` is `null` or empty, only `defaultImage` is tracked. The
|
|
163
|
+
`fallbackImage` is intentionally not used in the empty state — a null
|
|
164
|
+
`value` is the consumer's empty-state signal, and only the configured
|
|
165
|
+
default participates in the failed-default → unavailable transition.
|
|
166
|
+
If `defaultImage` itself fails, `onPreviewError({ source: "default" })`
|
|
167
|
+
fires and the unavailable state is rendered.
|
|
168
|
+
|
|
169
|
+
Candidate URLs are deduplicated so the same failing URL is never retried
|
|
170
|
+
through multiple stages. When every candidate fails, the broken `<img>` is
|
|
171
|
+
unmounted and `unavailableContent` (or a neutral default) is rendered in its
|
|
172
|
+
place. A `data-image-input-state="empty" | "preview" | "fallback" | "unavailable"`
|
|
173
|
+
marker is exposed for styling, testing, and consumer diagnostics.
|
|
174
|
+
|
|
175
|
+
Candidate URLs are deduplicated so the same failing URL is never retried
|
|
176
|
+
through multiple stages. When every candidate fails, the broken `<img>` is
|
|
177
|
+
unmounted and `unavailableContent` (or a neutral default) is rendered in its
|
|
178
|
+
place. A `data-image-input-state="empty" | "preview" | "fallback" | "unavailable"`
|
|
179
|
+
marker is exposed for styling, testing, and consumer diagnostics.
|
|
180
|
+
|
|
181
|
+
```tsx
|
|
182
|
+
import { ImageInput } from "najm-kit";
|
|
183
|
+
|
|
184
|
+
<ImageInput
|
|
185
|
+
value="https://cdn.example.com/avatar.png"
|
|
186
|
+
onChange={setAvatar}
|
|
187
|
+
previewAlt="Workspace logo"
|
|
188
|
+
fallbackImage="/assets/logo-default.png"
|
|
189
|
+
fallbackAlt="Default workspace logo"
|
|
190
|
+
unavailableContent={<span>Logo unavailable</span>}
|
|
191
|
+
imageClassName="object-contain"
|
|
192
|
+
imageVersion={cacheBustVersion}
|
|
193
|
+
replaceAriaLabel="Replace workspace logo"
|
|
194
|
+
clearAriaLabel="Remove workspace logo"
|
|
195
|
+
onPreviewError={(err) => log(err)}
|
|
196
|
+
/>
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Key behaviors:
|
|
200
|
+
|
|
201
|
+
- The replace and clear controls are real `<button>` elements, are reachable
|
|
202
|
+
with the keyboard (`Enter` and `Space` activate them once), and stay
|
|
203
|
+
visible on touch and coarse-pointer devices. Only on `(hover: hover) and
|
|
204
|
+
(pointer: fine)` desktops do the controls fall back to a hover/focus
|
|
205
|
+
reveal. `focus-visible` always restores visibility.
|
|
206
|
+
- Positioning uses logical properties (`end-*`) so the clear button works
|
|
207
|
+
correctly in RTL layouts.
|
|
208
|
+
- `imageVersion` is appended safely to relative, absolute, queried, and
|
|
209
|
+
fragmented URLs. `data:`, `blob:`, `javascript:`, and `file:` URLs are
|
|
210
|
+
left unchanged.
|
|
211
|
+
- File selection is race-safe: stale `FileReader` completions cannot replace
|
|
212
|
+
a newer value, and object URLs created by the component are tracked so
|
|
213
|
+
consumer-owned blob URLs are never revoked.
|
|
214
|
+
|
|
215
|
+
`AvatarInput` forwards every preview and accessibility prop unchanged while
|
|
216
|
+
preserving its circular, size, fill, and camera-icon defaults.
|
|
217
|
+
|
|
150
218
|
## Hooks
|
|
151
219
|
|
|
152
220
|
```tsx
|
|
@@ -211,8 +279,74 @@ Notes:
|
|
|
211
279
|
- The columns the TanStack table receives are already filtered, so the
|
|
212
280
|
settings menu will not list `visible: false` columns.
|
|
213
281
|
|
|
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.
|
|
282
|
+
If you need to inspect or build your own effective column list, the same
|
|
283
|
+
pure helper is exported as `filterResponsiveColumns`. The literal class
|
|
284
|
+
map is also exported as `hiddenBelowClasses`, and
|
|
285
|
+
`resolveHiddenBelowClass(breakpoint)` returns the class for a single
|
|
286
|
+
breakpoint or `undefined` when no breakpoint is set.
|
|
287
|
+
|
|
288
|
+
## NTable responsive cards, loading, and pagination
|
|
289
|
+
|
|
290
|
+
Responsive row actions are visible by default on phone, tablet, and coarse or
|
|
291
|
+
non-hover pointers. Fine-pointer desktop layouts may reveal them on hover, but
|
|
292
|
+
keyboard focus always reveals the action. Applications still decide which menu
|
|
293
|
+
items exist through `menu`, `onView`, `onEdit`, and `onDelete`; visibility does
|
|
294
|
+
not grant an action or replace server authorization.
|
|
295
|
+
|
|
296
|
+
When `dynamicHeight` is enabled, table and card loading skeletons measure the
|
|
297
|
+
available body. Table rows use the same header/row geometry as dynamic page
|
|
298
|
+
sizing, while cards measure the active grid columns, card height, and gap. The
|
|
299
|
+
loading surface also follows the loaded `bordered`, design recipe, radius,
|
|
300
|
+
border color, shadow, and `classNames.content`/`classNames.cards` contract.
|
|
301
|
+
|
|
302
|
+
Use `cardPagination` to choose pagination presentation whenever the effective
|
|
303
|
+
rendered mode is cards:
|
|
304
|
+
|
|
305
|
+
- `{ mode: "paged" }` (the default) preserves existing pagination.
|
|
306
|
+
- `{ mode: "all" }` renders every row already supplied and hides the footer.
|
|
307
|
+
- `{ mode: "load-more", ... }` renders every supplied row and provides a
|
|
308
|
+
guarded, keyboard-operable Load more/Retry control with polite loading,
|
|
309
|
+
appended-result, and end-of-list announcements.
|
|
310
|
+
|
|
311
|
+
`showPagination={false}` remains an absolute presentation override and hides
|
|
312
|
+
both numbered controls and Load more. In table mode, existing controlled and
|
|
313
|
+
manual server pagination remains unchanged.
|
|
314
|
+
|
|
315
|
+
```tsx
|
|
316
|
+
import { NTable, type NTableCardPagination } from "najm-kit";
|
|
317
|
+
|
|
318
|
+
const cardPagination: NTableCardPagination = {
|
|
319
|
+
mode: "load-more",
|
|
320
|
+
hasNextPage: query.hasNextPage,
|
|
321
|
+
loadingMore: query.isFetchingNextPage,
|
|
322
|
+
loadMoreError: query.isFetchNextPageError
|
|
323
|
+
? "The next page could not be loaded."
|
|
324
|
+
: undefined,
|
|
325
|
+
onLoadMore: () => query.fetchNextPage(),
|
|
326
|
+
loadMoreLabel: "Load more",
|
|
327
|
+
loadingMoreLabel: "Loading more...",
|
|
328
|
+
retryLabel: "Retry",
|
|
329
|
+
endLabel: "No more results.",
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
<NTable
|
|
333
|
+
data={query.data?.pages.flatMap((page) => page.rows) ?? []}
|
|
334
|
+
columns={columns}
|
|
335
|
+
getRowId={(row) => row.id}
|
|
336
|
+
renderCard={ResultCard}
|
|
337
|
+
cardPagination={cardPagination}
|
|
338
|
+
/>
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
The application owns the query, cursor/offset, accumulated pages, cache
|
|
342
|
+
invalidation, search/filter/sort semantics, authorization, and privacy
|
|
343
|
+
projection. Najm Kit never imports React Query, calls an endpoint, invents a
|
|
344
|
+
page size, or treats supplied rows as proof that every database row is loaded.
|
|
345
|
+
Client sorting and filtering cover the rows currently supplied unless the
|
|
346
|
+
application implements matching server-side behavior.
|
|
347
|
+
|
|
348
|
+
For a responsive screen that uses current-page data in desktop table mode and
|
|
349
|
+
accumulated pages in card mode, keep those two query shapes in the application
|
|
350
|
+
and pass the appropriate `data`. Crossing the `<640px` responsive-card
|
|
351
|
+
breakpoint does not overwrite the user's chosen view, pagination position,
|
|
352
|
+
sorting, filters, expansion, or row selection.
|
package/dist/index.d.ts
CHANGED
|
@@ -2178,6 +2178,11 @@ interface TimeInputProps extends BaseProps {
|
|
|
2178
2178
|
interface TimeZoneInputProps extends Omit<ComboboxInputProps, "items"> {
|
|
2179
2179
|
items?: SelectItemType[];
|
|
2180
2180
|
}
|
|
2181
|
+
type ImageInputPreviewSource = "value" | "fallback" | "default";
|
|
2182
|
+
interface ImageInputPreviewError {
|
|
2183
|
+
source: ImageInputPreviewSource;
|
|
2184
|
+
src: string;
|
|
2185
|
+
}
|
|
2181
2186
|
interface ImageInputProps extends BaseProps {
|
|
2182
2187
|
value: File | string | null;
|
|
2183
2188
|
onChange: (file: File | null) => void;
|
|
@@ -2192,6 +2197,8 @@ interface ImageInputProps extends BaseProps {
|
|
|
2192
2197
|
previewStyle?: CSSProperties;
|
|
2193
2198
|
/** Class applied to the empty and replace-overlay content inside the preview. */
|
|
2194
2199
|
contentClassName?: string;
|
|
2200
|
+
/** Class applied to the preview <img> element to control object-fit / sizing. */
|
|
2201
|
+
imageClassName?: string;
|
|
2195
2202
|
showPreview?: boolean;
|
|
2196
2203
|
previewPosition?: "top" | "bottom" | "left" | "right";
|
|
2197
2204
|
allowClear?: boolean;
|
|
@@ -2208,6 +2215,26 @@ interface ImageInputProps extends BaseProps {
|
|
|
2208
2215
|
trigger?: "icon" | "button" | "both";
|
|
2209
2216
|
buttonLabel?: string;
|
|
2210
2217
|
disabled?: boolean;
|
|
2218
|
+
/** Accessible name for the primary preview image. Falls back to `replaceTitle`. */
|
|
2219
|
+
previewAlt?: string;
|
|
2220
|
+
/** Accessible name for the fallback/default preview image. Falls back to `previewAlt`. */
|
|
2221
|
+
fallbackAlt?: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* URL tried when the primary `value` fails to load.
|
|
2224
|
+
* The same URL is never attempted twice, so a failing primary cannot loop.
|
|
2225
|
+
*/
|
|
2226
|
+
fallbackImage?: string | null;
|
|
2227
|
+
/**
|
|
2228
|
+
* Rendered inside the preview area when every candidate URL has failed.
|
|
2229
|
+
* When omitted, a small neutral unavailable state is rendered instead.
|
|
2230
|
+
*/
|
|
2231
|
+
unavailableContent?: React.ReactNode;
|
|
2232
|
+
/** Fires once for every URL that failed to load, with its source. */
|
|
2233
|
+
onPreviewError?: (error: ImageInputPreviewError) => void;
|
|
2234
|
+
/** Accessible name for the replace (re-upload) control. */
|
|
2235
|
+
replaceAriaLabel?: string;
|
|
2236
|
+
/** Accessible name for the clear control. */
|
|
2237
|
+
clearAriaLabel?: string;
|
|
2211
2238
|
}
|
|
2212
2239
|
interface OtpInputProps extends BaseProps {
|
|
2213
2240
|
value: string;
|
|
@@ -2334,7 +2361,7 @@ interface NUploaderProps {
|
|
|
2334
2361
|
}
|
|
2335
2362
|
declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, onFilesSelected, onCancel, onRemove, }: NUploaderProps): react_jsx_runtime.JSX.Element;
|
|
2336
2363
|
|
|
2337
|
-
declare function ImageInput({ value, onChange, containerClassName, previewClassName, previewStyle, contentClassName, showPreview, previewPosition, allowClear, accept, defaultImage, imageSize, imageVersion, disabled, uploadIcon, title, subtitle, titleClassName, subtitleClassName, replaceTitle, replaceSubtitle, trigger, buttonLabel, }: ImageInputProps): react_jsx_runtime.JSX.Element;
|
|
2364
|
+
declare function ImageInput({ value, onChange, containerClassName, previewClassName, previewStyle, contentClassName, imageClassName, showPreview, previewPosition, allowClear, accept, defaultImage, fallbackImage, previewAlt, fallbackAlt, unavailableContent, onPreviewError, replaceAriaLabel, clearAriaLabel, imageSize, imageVersion, disabled, uploadIcon, title, subtitle, titleClassName, subtitleClassName, replaceTitle, replaceSubtitle, trigger, buttonLabel, }: ImageInputProps): react_jsx_runtime.JSX.Element;
|
|
2338
2365
|
|
|
2339
2366
|
/** A circular image picker preset for profile photos and user avatars. */
|
|
2340
2367
|
declare function AvatarInput({ imageSize, size, fill, radius, containerClassName, previewClassName, previewStyle, contentClassName, uploadIcon, title, subtitleClassName, trigger, ...props }: AvatarInputProps): react_jsx_runtime.JSX.Element;
|
|
@@ -2671,6 +2698,39 @@ type StepSubmitResult = {
|
|
|
2671
2698
|
};
|
|
2672
2699
|
declare function useFormSubmission({ steps, schema, defaultValues, onSubmit, currentStep, isLastStep, handleNext, markStepCompleted, reset, }: UseFormSubmissionOptions): FormSubmissionState;
|
|
2673
2700
|
|
|
2701
|
+
interface NTableLoadMorePagination {
|
|
2702
|
+
/** Render the supplied rows as one card list with an explicit continuation control. */
|
|
2703
|
+
mode: "load-more";
|
|
2704
|
+
/** Whether the owning application has another server page available. */
|
|
2705
|
+
hasNextPage: boolean;
|
|
2706
|
+
/** True while the owning application is appending the next page. */
|
|
2707
|
+
loadingMore?: boolean;
|
|
2708
|
+
/** A controlled append error. Existing rows remain rendered and the control becomes Retry. */
|
|
2709
|
+
loadMoreError?: ReactNode;
|
|
2710
|
+
/** Fetch exactly one additional page. Najm Kit never constructs or owns the request. */
|
|
2711
|
+
onLoadMore: () => unknown | Promise<unknown>;
|
|
2712
|
+
loadMoreLabel?: string;
|
|
2713
|
+
loadingMoreLabel?: string;
|
|
2714
|
+
retryLabel?: string;
|
|
2715
|
+
endLabel?: string;
|
|
2716
|
+
loadMoreErrorLabel?: string;
|
|
2717
|
+
/** Localize the polite announcement made after appended rows arrive. */
|
|
2718
|
+
itemsLoadedLabel?: (count: number) => string;
|
|
2719
|
+
}
|
|
2720
|
+
/**
|
|
2721
|
+
* Presentation policy used while NTable is actually rendering cards.
|
|
2722
|
+
*
|
|
2723
|
+
* `paged` preserves the existing page controls. `all` renders every supplied
|
|
2724
|
+
* row without a footer. `load-more` also renders every supplied row and adds a
|
|
2725
|
+
* guarded, accessible continuation control. Applications remain responsible
|
|
2726
|
+
* for fetching, accumulating, filtering, sorting, authorization, and privacy.
|
|
2727
|
+
*/
|
|
2728
|
+
type NTableCardPagination = {
|
|
2729
|
+
mode?: "paged";
|
|
2730
|
+
} | {
|
|
2731
|
+
mode: "all";
|
|
2732
|
+
} | NTableLoadMorePagination;
|
|
2733
|
+
|
|
2674
2734
|
interface NTableClassNames {
|
|
2675
2735
|
root?: string;
|
|
2676
2736
|
header?: string;
|
|
@@ -2742,7 +2802,14 @@ interface TableState {
|
|
|
2742
2802
|
addButtonText: string;
|
|
2743
2803
|
pageSizeOptions: number[];
|
|
2744
2804
|
calculatedPageSize: number;
|
|
2805
|
+
skeletonRowCount: number;
|
|
2745
2806
|
maxHeight: number | null;
|
|
2807
|
+
bodyWidth: number;
|
|
2808
|
+
bodyHeight: number;
|
|
2809
|
+
tableHeaderHeight: number;
|
|
2810
|
+
cardColumnCount: number;
|
|
2811
|
+
cardRowHeight: number;
|
|
2812
|
+
cardGap: number;
|
|
2746
2813
|
syncWithProps: (updates: Partial<TableState>) => void;
|
|
2747
2814
|
jsonValue: unknown;
|
|
2748
2815
|
jsonColors: any;
|
|
@@ -2782,6 +2849,8 @@ interface TableState {
|
|
|
2782
2849
|
hasSyncedSortingFromProps: boolean;
|
|
2783
2850
|
responsiveCards: boolean;
|
|
2784
2851
|
isMobile: boolean;
|
|
2852
|
+
effectiveViewMode: ViewMode;
|
|
2853
|
+
cardPagination: NTableCardPagination;
|
|
2785
2854
|
isEmpty: boolean | undefined;
|
|
2786
2855
|
isFilteredEmpty: boolean;
|
|
2787
2856
|
renderFilteredEmpty: (() => React.ReactNode) | null;
|
|
@@ -2858,7 +2927,14 @@ declare const createTableStore: () => {
|
|
|
2858
2927
|
addButtonText: () => string;
|
|
2859
2928
|
pageSizeOptions: () => number[];
|
|
2860
2929
|
calculatedPageSize: () => number;
|
|
2930
|
+
skeletonRowCount: () => number;
|
|
2861
2931
|
maxHeight: () => number;
|
|
2932
|
+
bodyWidth: () => number;
|
|
2933
|
+
bodyHeight: () => number;
|
|
2934
|
+
tableHeaderHeight: () => number;
|
|
2935
|
+
cardColumnCount: () => number;
|
|
2936
|
+
cardRowHeight: () => number;
|
|
2937
|
+
cardGap: () => number;
|
|
2862
2938
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
2863
2939
|
jsonValue: () => unknown;
|
|
2864
2940
|
jsonColors: () => any;
|
|
@@ -2898,6 +2974,8 @@ declare const createTableStore: () => {
|
|
|
2898
2974
|
hasSyncedSortingFromProps: () => boolean;
|
|
2899
2975
|
responsiveCards: () => boolean;
|
|
2900
2976
|
isMobile: () => boolean;
|
|
2977
|
+
effectiveViewMode: () => ViewMode;
|
|
2978
|
+
cardPagination: () => NTableCardPagination;
|
|
2901
2979
|
isEmpty: () => boolean;
|
|
2902
2980
|
isFilteredEmpty: () => boolean;
|
|
2903
2981
|
renderFilteredEmpty: () => () => React.ReactNode;
|
|
@@ -3030,6 +3108,8 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
|
|
|
3030
3108
|
pageIndex: number;
|
|
3031
3109
|
pageSize: number;
|
|
3032
3110
|
}) => void;
|
|
3111
|
+
/** Pagination presentation used whenever NTable is actually rendering cards. */
|
|
3112
|
+
cardPagination?: NTableCardPagination;
|
|
3033
3113
|
rowSelection?: RowSelectionState;
|
|
3034
3114
|
defaultRowSelection?: RowSelectionState;
|
|
3035
3115
|
onRowSelectionChange?: (state: RowSelectionState) => void;
|
|
@@ -3125,8 +3205,9 @@ interface NDataCardShellProps {
|
|
|
3125
3205
|
openRowMenu?: ((e: React__default.MouseEvent, row: any) => void) | null;
|
|
3126
3206
|
menuButton?: boolean;
|
|
3127
3207
|
bordered?: boolean;
|
|
3208
|
+
borderColor?: string;
|
|
3128
3209
|
}
|
|
3129
|
-
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
|
|
3210
|
+
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderColor }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
|
|
3130
3211
|
|
|
3131
3212
|
interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> {
|
|
3132
3213
|
card: {
|
|
@@ -3264,7 +3345,14 @@ declare const TableStoreContext: React$1.Context<{
|
|
|
3264
3345
|
addButtonText: () => string;
|
|
3265
3346
|
pageSizeOptions: () => number[];
|
|
3266
3347
|
calculatedPageSize: () => number;
|
|
3348
|
+
skeletonRowCount: () => number;
|
|
3267
3349
|
maxHeight: () => number;
|
|
3350
|
+
bodyWidth: () => number;
|
|
3351
|
+
bodyHeight: () => number;
|
|
3352
|
+
tableHeaderHeight: () => number;
|
|
3353
|
+
cardColumnCount: () => number;
|
|
3354
|
+
cardRowHeight: () => number;
|
|
3355
|
+
cardGap: () => number;
|
|
3268
3356
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
3269
3357
|
jsonValue: () => unknown;
|
|
3270
3358
|
jsonColors: () => any;
|
|
@@ -3304,6 +3392,8 @@ declare const TableStoreContext: React$1.Context<{
|
|
|
3304
3392
|
hasSyncedSortingFromProps: () => boolean;
|
|
3305
3393
|
responsiveCards: () => boolean;
|
|
3306
3394
|
isMobile: () => boolean;
|
|
3395
|
+
effectiveViewMode: () => ViewMode;
|
|
3396
|
+
cardPagination: () => NTableCardPagination;
|
|
3307
3397
|
isEmpty: () => boolean;
|
|
3308
3398
|
isFilteredEmpty: () => boolean;
|
|
3309
3399
|
renderFilteredEmpty: () => () => React.ReactNode;
|
|
@@ -3384,7 +3474,14 @@ declare function useStoreSync(props: any): {
|
|
|
3384
3474
|
addButtonText: () => string;
|
|
3385
3475
|
pageSizeOptions: () => number[];
|
|
3386
3476
|
calculatedPageSize: () => number;
|
|
3477
|
+
skeletonRowCount: () => number;
|
|
3387
3478
|
maxHeight: () => number;
|
|
3479
|
+
bodyWidth: () => number;
|
|
3480
|
+
bodyHeight: () => number;
|
|
3481
|
+
tableHeaderHeight: () => number;
|
|
3482
|
+
cardColumnCount: () => number;
|
|
3483
|
+
cardRowHeight: () => number;
|
|
3484
|
+
cardGap: () => number;
|
|
3388
3485
|
syncWithProps: () => (updates: Partial<TableState>) => void;
|
|
3389
3486
|
jsonValue: () => unknown;
|
|
3390
3487
|
jsonColors: () => any;
|
|
@@ -3424,6 +3521,8 @@ declare function useStoreSync(props: any): {
|
|
|
3424
3521
|
hasSyncedSortingFromProps: () => boolean;
|
|
3425
3522
|
responsiveCards: () => boolean;
|
|
3426
3523
|
isMobile: () => boolean;
|
|
3524
|
+
effectiveViewMode: () => ViewMode;
|
|
3525
|
+
cardPagination: () => NTableCardPagination;
|
|
3427
3526
|
isEmpty: () => boolean;
|
|
3428
3527
|
isFilteredEmpty: () => boolean;
|
|
3429
3528
|
renderFilteredEmpty: () => () => React__default.ReactNode;
|
|
@@ -3436,8 +3535,8 @@ declare function useStoreSync(props: any): {
|
|
|
3436
3535
|
hasSyncedExpandedFromProps: () => boolean;
|
|
3437
3536
|
};
|
|
3438
3537
|
};
|
|
3439
|
-
declare function useDynamicPageSize(containerRef: React__default.RefObject<HTMLDivElement | null
|
|
3440
|
-
declare function useTable(): {
|
|
3538
|
+
declare function useDynamicPageSize(containerRef: React__default.RefObject<HTMLDivElement | null>, effectiveViewMode?: TableState["viewMode"]): void;
|
|
3539
|
+
declare function useTable(effectiveViewModeOverride?: TableState["viewMode"]): {
|
|
3441
3540
|
table: _tanstack_table_core.Table<unknown>;
|
|
3442
3541
|
finalColumns: _tanstack_table_core.ColumnDef<unknown, unknown>[];
|
|
3443
3542
|
sorting: SortingState;
|
|
@@ -3833,4 +3932,4 @@ interface NGridItemProps extends Omit<React$1.AllHTMLAttributes<HTMLDivElement>,
|
|
|
3833
3932
|
declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps): react_jsx_runtime.JSX.Element;
|
|
3834
3933
|
declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps): react_jsx_runtime.JSX.Element;
|
|
3835
3934
|
|
|
3836
|
-
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, 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 };
|
|
3935
|
+
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 ImageInputPreviewError, type ImageInputPreviewSource, 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 };
|