najm-kit 2.11.11 → 2.11.13
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 +26 -16
- package/README.md +34 -1
- package/dist/{NNotFoundState-D1CLLLxc.d.ts → NNotFoundState-CgU76llk.d.ts} +8 -8
- package/dist/NTableJson-BHXwRVvL.d.ts +5 -0
- package/dist/{NajmUIProvider-cNCb8Tpn.d.ts → NajmUIProvider-DTyRrukg.d.ts} +110 -8
- package/dist/adapters/app.d.ts +17 -6
- package/dist/adapters/app.mjs +8 -4
- package/dist/adapters/next.d.ts +3 -4
- package/dist/adapters/next.mjs +2 -2
- package/dist/{chunk-W2HMBUZ4.mjs → chunk-26EASWUY.mjs} +1 -1
- package/dist/{chunk-6UDJNTJ6.mjs → chunk-BDQK6ECA.mjs} +157 -94
- package/dist/{chunk-T6RL7TSQ.mjs → chunk-DKHIQFXX.mjs} +1 -1
- package/dist/index.d.ts +269 -252
- package/dist/index.mjs +58 -33
- package/dist/json.d.ts +3 -4
- package/dist/theme.css +5 -5
- package/package.json +3 -2
- package/dist/NTableJson-tXqgfZI1.d.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as NajmDesignConfig, f as NajmThemeProviderProps, g as NajmAppearance, e as NajmMode, h as NajmThemeConfig, i as NajmAccent, j as NajmThemeTokens, k as NajmPreset, l as NajmComponentName, m as NajmComponentStyleConfig, N as NajmComponentThemeConfig, c as NajmTypographyConfig, b as NajmLayoutConfig, n as NajmResponsiveBreakpoint, o as NajmResponsiveValue } from './design-types-Rkpt8Pg1.js';
|
|
3
|
-
export { p as NAJM_COMPONENT_NAMES, q as NajmComponentRadius, r as NajmDensity, s as NajmSlotStyle, d as NajmVariantStyle, R as RADIUS_VALUE_MAP, t as resolveRadiusValue } from './design-types-Rkpt8Pg1.js';
|
|
4
1
|
import * as React$1 from 'react';
|
|
5
2
|
import React__default, { RefObject, ReactNode, ComponentType, InputHTMLAttributes, Ref, ImgHTMLAttributes, CSSProperties, MouseEvent, MouseEventHandler } from 'react';
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
8
|
-
import {
|
|
9
|
-
export { D as
|
|
3
|
+
import { a as NajmDesignConfig, f as NajmThemeProviderProps, g as NajmAppearance, e as NajmMode, h as NajmThemeConfig, i as NajmAccent, j as NajmThemeTokens, k as NajmPreset, l as NajmComponentName, m as NajmComponentStyleConfig, N as NajmComponentThemeConfig, c as NajmTypographyConfig, b as NajmLayoutConfig, n as NajmResponsiveBreakpoint, o as NajmResponsiveValue } from './design-types-Rkpt8Pg1.js';
|
|
4
|
+
export { p as NAJM_COMPONENT_NAMES, q as NajmComponentRadius, r as NajmDensity, s as NajmSlotStyle, d as NajmVariantStyle, R as RADIUS_VALUE_MAP, t as resolveRadiusValue } from './design-types-Rkpt8Pg1.js';
|
|
5
|
+
import { d as NTableToolbarLabels, e as NIconSource, B as BadgeColor, f as BadgeShape } from './NajmUIProvider-DTyRrukg.js';
|
|
6
|
+
export { g as Badge, h as BadgeIcon, i as BadgeLook, j as BadgeProps, k as BadgeSize, l as BadgeVariant, D as DEFAULT_FEEDBACK_KEY_PREFIX, m as DEFAULT_TIME_ZONE, F as FeedbackKey, n as NBadge, o as NBadgeDefaults, p as NBadgeLook, q as NBadgeProps, N as NFeedbackDefaults, a as NFeedbackLabelKeys, b as NFeedbackLabels, r as NIcon, s as NIconProps, t as NTableDefaults, u as NTableDefaultsProvider, v as NajmPreferencesContextValue, w as NajmPreferencesProvider, x as NajmPreferencesProviderProps, y as NajmUIProvider, c as NajmUIProviderProps, z as badgeColorVariants, A as badgeVariants, C as useDocumentDirection, E as useNTableDefaults, G as useNajmPreferencesContext, H as useNajmTheme, I as useNajmTimeZone, J as useResolvedToolbarLabels } from './NajmUIProvider-DTyRrukg.js';
|
|
7
|
+
import { N as NajmTranslate, c as NTablePaginationVariant, b as NTablePaginationLabels, a as NTableCardPagination } from './paginationLabels-dZLSNxfo.js';
|
|
8
|
+
export { D as DEFAULT_PAGINATION_KEY_PREFIX, d as NTableInfinitePagination, e as NTableLoadMorePagination, f as buildPaginationLabels } from './paginationLabels-dZLSNxfo.js';
|
|
10
9
|
export { d as defineNajmDesignConfig, p as parseNajmDesignConfig, r as resolveVariantAlias, s as stringifyNajmDesignConfig } from './design-config-D_x1GCu3.js';
|
|
11
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
12
11
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -25,8 +24,8 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
25
24
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
26
25
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
27
26
|
import { OverlayScrollbarsComponentProps } from 'overlayscrollbars-react';
|
|
28
|
-
import { l as FormDevTools, F as FormDevToolsOptions } from './NNotFoundState-
|
|
29
|
-
export { m as FormDevToolsConfig, n as FormFillOverride, o as FormFillOverrides, p as NBrandingEditorValue, N as NBrandingInput, q as NBrandingPayload, r as NBrandingProvider, s as NBrandingStateProvider, t as NBrandingStateProviderProps, u as NBrandingValue, a as NEmptyState, b as NEmptyStateProps, c as NErrorState, d as NErrorStateProps, e as NFeedbackSurface, f as NForbiddenState, g as NForbiddenStateProps, h as NLoadingState, i as NLoadingStateProps, j as NNotFoundState, k as NNotFoundStateProps, v as buildFormFill, w as normalizeBranding, x as useNBranding, y as useNBrandingEditor } from './NNotFoundState-
|
|
27
|
+
import { l as FormDevTools, F as FormDevToolsOptions } from './NNotFoundState-CgU76llk.js';
|
|
28
|
+
export { m as FormDevToolsConfig, n as FormFillOverride, o as FormFillOverrides, p as NBrandingEditorValue, N as NBrandingInput, q as NBrandingPayload, r as NBrandingProvider, s as NBrandingStateProvider, t as NBrandingStateProviderProps, u as NBrandingValue, a as NEmptyState, b as NEmptyStateProps, c as NErrorState, d as NErrorStateProps, e as NFeedbackSurface, f as NForbiddenState, g as NForbiddenStateProps, h as NLoadingState, i as NLoadingStateProps, j as NNotFoundState, k as NNotFoundStateProps, v as buildFormFill, w as normalizeBranding, x as useNBranding, y as useNBrandingEditor } from './NNotFoundState-CgU76llk.js';
|
|
30
29
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
31
30
|
import { Command as Command$1 } from 'cmdk';
|
|
32
31
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
@@ -41,7 +40,7 @@ import * as culori from 'culori';
|
|
|
41
40
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
42
41
|
import { ZodTypeAny, TypeOf } from 'zod';
|
|
43
42
|
import { SortingState, ExpandedState, ColumnDef, Row, ColumnFiltersState, VisibilityState, RowSelectionState } from '@tanstack/react-table';
|
|
44
|
-
export { N as NTableJson } from './NTableJson-
|
|
43
|
+
export { N as NTableJson } from './NTableJson-BHXwRVvL.js';
|
|
45
44
|
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
46
45
|
export { C as CardPaginationKey, a as CardPaginationLabels, b as CardPaginationState, D as DEFAULT_CARD_PAGINATION_KEY_PREFIX, L as ListStrategy, R as ResolvedListMode, c as buildCardPaginationLabels, d as createCardPagination } from './cardPagination-Bwf3tEeN.js';
|
|
47
46
|
import { ClassValue } from 'clsx';
|
|
@@ -97,12 +96,29 @@ interface NajmDesignEditorProviderProps {
|
|
|
97
96
|
*/
|
|
98
97
|
initialDesign?: NajmDesignConfig;
|
|
99
98
|
}
|
|
100
|
-
declare function NajmDesignEditorProvider({ children, design, initialDesign, }: NajmDesignEditorProviderProps):
|
|
99
|
+
declare function NajmDesignEditorProvider({ children, design, initialDesign, }: NajmDesignEditorProviderProps): React$1.JSX.Element;
|
|
100
|
+
|
|
101
|
+
declare const DEFAULT_TOOLBAR_KEY_PREFIX = "common.table";
|
|
102
|
+
type DefaultToolbarPrefix = typeof DEFAULT_TOOLBAR_KEY_PREFIX;
|
|
103
|
+
/** The twelve catalog keys `buildToolbarLabels` reads under `Prefix`. */
|
|
104
|
+
type ToolbarKey<Prefix extends string = DefaultToolbarPrefix> = `${Prefix}.settings` | `${Prefix}.view` | `${Prefix}.columns` | `${Prefix}.modeTable` | `${Prefix}.modeCards` | `${Prefix}.modeJson` | `${Prefix}.modeFiles` | `${Prefix}.modeOption` | `${Prefix}.filters` | `${Prefix}.filterRegion` | `${Prefix}.allOption` | `${Prefix}.create`;
|
|
105
|
+
/**
|
|
106
|
+
* Projects a translator onto the toolbar labels, matching
|
|
107
|
+
* `buildPaginationLabels` — same prefix convention, same key-per-field naming.
|
|
108
|
+
*
|
|
109
|
+
* `modeOption` interpolates `mode` with the already-translated visible name, so
|
|
110
|
+
* a catalog writes one template rather than four accessible names.
|
|
111
|
+
*
|
|
112
|
+
* No result is inspected or second-guessed, for the reason given on
|
|
113
|
+
* `buildPaginationLabels`: a translator that echoes a missing key renders that
|
|
114
|
+
* key, which is the signal the entry is missing.
|
|
115
|
+
*/
|
|
116
|
+
declare function buildToolbarLabels<Prefix extends string = DefaultToolbarPrefix>(t: NajmTranslate<ToolbarKey<Prefix>>, prefix?: Prefix): NTableToolbarLabels;
|
|
101
117
|
|
|
102
118
|
/** Returns the active mode inherited from the nearest Najm theme provider. */
|
|
103
119
|
declare function useNajmThemeMode(): NajmMode | undefined;
|
|
104
120
|
declare function useNajmAppearance(): NajmAppearance;
|
|
105
|
-
declare function NajmThemeProvider({ config, preset, mode, accent, tokens, accentOnly, appearance, radius, className, asChild, children, }: NajmThemeProviderProps):
|
|
121
|
+
declare function NajmThemeProvider({ config, preset, mode, accent, tokens, accentOnly, appearance, radius, className, asChild, children, }: NajmThemeProviderProps): React$1.JSX.Element;
|
|
106
122
|
|
|
107
123
|
declare const THEME_TOKEN_KEYS: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "tertiary", "tertiary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "destructive-foreground", "border", "input", "ring", "sidebar", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5"];
|
|
108
124
|
type ThemeCustomizerTokenKey = (typeof THEME_TOKEN_KEYS)[number];
|
|
@@ -270,7 +286,7 @@ interface NThemeCustomizerProps {
|
|
|
270
286
|
className?: string;
|
|
271
287
|
}
|
|
272
288
|
|
|
273
|
-
declare function NThemeCustomizer({ value, factoryValue, onChange, previewMode, onPreviewModeChange, showPreviewMode, showFileActions, showResetAction, exportFileName, onImportError, showTabs, tabs, fontOptions, labels, presets, selectedPresetId, presetsStatus, savedDesign, onPresetSelect, onPresetSave, onPresetDelete, presetLabels, disabled, className, }: NThemeCustomizerProps):
|
|
289
|
+
declare function NThemeCustomizer({ value, factoryValue, onChange, previewMode, onPreviewModeChange, showPreviewMode, showFileActions, showResetAction, exportFileName, onImportError, showTabs, tabs, fontOptions, labels, presets, selectedPresetId, presetsStatus, savedDesign, onPresetSelect, onPresetSave, onPresetDelete, presetLabels, disabled, className, }: NThemeCustomizerProps): React$1.JSX.Element;
|
|
274
290
|
|
|
275
291
|
/** Sentinel row that drops the preview and shows the host's saved design. */
|
|
276
292
|
declare const NAJM_SAVED_THEME_VALUE = "__najm_saved_theme__";
|
|
@@ -279,7 +295,7 @@ declare const NAJM_SAVED_THEME_VALUE = "__najm_saved_theme__";
|
|
|
279
295
|
* where presets live and what saving one means. Selecting a row hands the
|
|
280
296
|
* design back through `onSelect` so the host can preview it before persisting.
|
|
281
297
|
*/
|
|
282
|
-
declare function NThemePresets({ presets, selectedPresetId, savedDesign, status, onSelect, onSave, onDelete, labels, disabled, className, }: NThemePresetsProps):
|
|
298
|
+
declare function NThemePresets({ presets, selectedPresetId, savedDesign, status, onSelect, onSave, onDelete, labels, disabled, className, }: NThemePresetsProps): React$1.JSX.Element;
|
|
283
299
|
|
|
284
300
|
declare const DEFAULT_THEME_FILE_NAME = "najm-theme.json";
|
|
285
301
|
declare function parseThemeFile(content: string): NajmDesignConfig;
|
|
@@ -314,7 +330,7 @@ interface NajmDesignProviderProps {
|
|
|
314
330
|
* tokens, applies typography CSS variables, and exposes component recipes via
|
|
315
331
|
* context. NajmThemeProvider continues to work standalone for token-only needs.
|
|
316
332
|
*/
|
|
317
|
-
declare function NajmDesignProvider({ config, mode, className, children, }: NajmDesignProviderProps):
|
|
333
|
+
declare function NajmDesignProvider({ config, mode, className, children, }: NajmDesignProviderProps): React$1.JSX.Element;
|
|
318
334
|
|
|
319
335
|
type NajmBorderSide = 'all' | 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
320
336
|
/**
|
|
@@ -529,7 +545,7 @@ interface IndicatorProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "c
|
|
|
529
545
|
overlayClassName?: string;
|
|
530
546
|
}
|
|
531
547
|
declare const indicatorVariants: (props?: {} & class_variance_authority_types.ClassProp) => string;
|
|
532
|
-
declare function NIndicator({ children, position, overlay, color, size, shape, content, ping, pulse, className, overlayClassName, ...rest }: IndicatorProps):
|
|
548
|
+
declare function NIndicator({ children, position, overlay, color, size, shape, content, ping, pulse, className, overlayClassName, ...rest }: IndicatorProps): React$1.JSX.Element;
|
|
533
549
|
declare namespace NIndicator {
|
|
534
550
|
var displayName: string;
|
|
535
551
|
}
|
|
@@ -539,21 +555,21 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTML
|
|
|
539
555
|
|
|
540
556
|
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
541
557
|
|
|
542
|
-
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>):
|
|
543
|
-
|
|
544
|
-
declare function Card({ className, ...props }: React$1.ComponentProps<"div">):
|
|
545
|
-
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
546
|
-
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">):
|
|
547
|
-
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">):
|
|
548
|
-
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">):
|
|
549
|
-
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">):
|
|
550
|
-
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">):
|
|
551
|
-
|
|
552
|
-
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>):
|
|
553
|
-
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
554
|
-
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
555
|
-
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>):
|
|
556
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
558
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): React$1.JSX.Element;
|
|
559
|
+
|
|
560
|
+
declare function Card({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
561
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
562
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
563
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
564
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
565
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
566
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
567
|
+
|
|
568
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): React$1.JSX.Element;
|
|
569
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): React$1.JSX.Element;
|
|
570
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): React$1.JSX.Element;
|
|
571
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): React$1.JSX.Element;
|
|
572
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): React$1.JSX.Element;
|
|
557
573
|
type DialogPadding = "none" | "sm" | "md" | "lg";
|
|
558
574
|
interface DialogContentProps extends React$1.ComponentProps<typeof DialogPrimitive.Content> {
|
|
559
575
|
/** Controls the padding of the dialog surface. `none` also collapses the header/body/footer gap. Defaults to `sm` on mobile, `md` on desktop. */
|
|
@@ -561,11 +577,11 @@ interface DialogContentProps extends React$1.ComponentProps<typeof DialogPrimiti
|
|
|
561
577
|
/** Hides the built-in close (X) in the top inline-end corner. Use when the content provides its own close control (e.g. inside a page header). */
|
|
562
578
|
hideClose?: boolean;
|
|
563
579
|
}
|
|
564
|
-
declare function DialogContent({ className, children, padding, hideClose, onOpenAutoFocus, onCloseAutoFocus, ...props }: DialogContentProps):
|
|
565
|
-
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
566
|
-
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">):
|
|
567
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>):
|
|
568
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>):
|
|
580
|
+
declare function DialogContent({ className, children, padding, hideClose, onOpenAutoFocus, onCloseAutoFocus, ...props }: DialogContentProps): React$1.JSX.Element;
|
|
581
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
582
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
583
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): React$1.JSX.Element;
|
|
584
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): React$1.JSX.Element;
|
|
569
585
|
|
|
570
586
|
type SelectItemType$1 = {
|
|
571
587
|
value: string;
|
|
@@ -616,23 +632,23 @@ interface NPageHeaderProps {
|
|
|
616
632
|
card?: boolean;
|
|
617
633
|
bordered?: boolean;
|
|
618
634
|
}
|
|
619
|
-
declare function NPageHeaderActions({ children, className }: PageHeaderSlotProps):
|
|
635
|
+
declare function NPageHeaderActions({ children, className }: PageHeaderSlotProps): React__default.JSX.Element;
|
|
620
636
|
declare namespace NPageHeaderActions {
|
|
621
637
|
var displayName: string;
|
|
622
638
|
}
|
|
623
|
-
declare function NPageHeaderCompactActions({ children, className }: PageHeaderSlotProps):
|
|
639
|
+
declare function NPageHeaderCompactActions({ children, className }: PageHeaderSlotProps): React__default.JSX.Element;
|
|
624
640
|
declare namespace NPageHeaderCompactActions {
|
|
625
641
|
var displayName: string;
|
|
626
642
|
}
|
|
627
|
-
declare function NPageHeaderFilters({ children, className }: PageHeaderSlotProps):
|
|
643
|
+
declare function NPageHeaderFilters({ children, className }: PageHeaderSlotProps): React__default.JSX.Element;
|
|
628
644
|
declare namespace NPageHeaderFilters {
|
|
629
645
|
var displayName: string;
|
|
630
646
|
}
|
|
631
|
-
declare function NPageHeaderTop({ children, className }: PageHeaderSlotProps):
|
|
647
|
+
declare function NPageHeaderTop({ children, className }: PageHeaderSlotProps): React__default.JSX.Element;
|
|
632
648
|
declare namespace NPageHeaderTop {
|
|
633
649
|
var displayName: string;
|
|
634
650
|
}
|
|
635
|
-
declare function NPageHeader({ icon: Icon, title, subtitle, actions, compactActions, filters, top, mobileBreakpoint: mobileBreakpointProp, onSidebarOpen, sidebarTriggerLabel, sidebarTriggerClassName, search, children, className, headerClassName, card, bordered, }: NPageHeaderProps):
|
|
651
|
+
declare function NPageHeader({ icon: Icon, title, subtitle, actions, compactActions, filters, top, mobileBreakpoint: mobileBreakpointProp, onSidebarOpen, sidebarTriggerLabel, sidebarTriggerClassName, search, children, className, headerClassName, card, bordered, }: NPageHeaderProps): React__default.JSX.Element;
|
|
636
652
|
|
|
637
653
|
type DialogActionMode = "auto" | "dialog" | "content";
|
|
638
654
|
type DialogVariant = "default" | "window";
|
|
@@ -802,7 +818,7 @@ declare const dialogVariants: (props?: {
|
|
|
802
818
|
interface NMultiDialogProps {
|
|
803
819
|
store?: DialogStore;
|
|
804
820
|
}
|
|
805
|
-
declare function NMultiDialog({ store: storeProp }: NMultiDialogProps):
|
|
821
|
+
declare function NMultiDialog({ store: storeProp }: NMultiDialogProps): React__default.JSX.Element;
|
|
806
822
|
interface NDialogDirectProps extends Omit<PushDialogOptions, "render"> {
|
|
807
823
|
trigger?: React__default.ReactElement;
|
|
808
824
|
open?: boolean;
|
|
@@ -812,7 +828,7 @@ interface NDialogDirectProps extends Omit<PushDialogOptions, "render"> {
|
|
|
812
828
|
closeOnSecondary?: boolean;
|
|
813
829
|
}
|
|
814
830
|
type NDialogProps = NMultiDialogProps | NDialogDirectProps;
|
|
815
|
-
declare function NDialog(props: NDialogProps):
|
|
831
|
+
declare function NDialog(props: NDialogProps): React__default.JSX.Element;
|
|
816
832
|
|
|
817
833
|
interface NConfirmDialogProps {
|
|
818
834
|
open: boolean;
|
|
@@ -827,7 +843,7 @@ interface NConfirmDialogProps {
|
|
|
827
843
|
children?: React__default.ReactNode;
|
|
828
844
|
icon?: NIconSource;
|
|
829
845
|
}
|
|
830
|
-
declare function NConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, variant, loading, children, icon, }: NConfirmDialogProps):
|
|
846
|
+
declare function NConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, variant, loading, children, icon, }: NConfirmDialogProps): React__default.JSX.Element;
|
|
831
847
|
|
|
832
848
|
interface NDeleteDialogContentProps {
|
|
833
849
|
itemName: string;
|
|
@@ -850,13 +866,13 @@ interface NDeleteDialogProps extends Omit<NDeleteDialogContentProps, "className"
|
|
|
850
866
|
onConfirm?: () => void | Promise<void>;
|
|
851
867
|
onCancel?: () => void | Promise<void>;
|
|
852
868
|
}
|
|
853
|
-
declare function NDeleteDialogContent({ itemName, itemType, icon: Icon, warningText, className, }: NDeleteDialogContentProps):
|
|
854
|
-
declare function NDeleteDialog({ open, title, description, itemName, itemType, icon, warningText, confirmText, cancelText, loading, zIndex, className, contentClassName, onOpenChange, onConfirm, onCancel, }: NDeleteDialogProps):
|
|
869
|
+
declare function NDeleteDialogContent({ itemName, itemType, icon: Icon, warningText, className, }: NDeleteDialogContentProps): React$1.JSX.Element;
|
|
870
|
+
declare function NDeleteDialog({ open, title, description, itemName, itemType, icon, warningText, confirmText, cancelText, loading, zIndex, className, contentClassName, onOpenChange, onConfirm, onCancel, }: NDeleteDialogProps): React$1.JSX.Element;
|
|
855
871
|
|
|
856
872
|
declare function NPortalScopeProvider({ className, children }: {
|
|
857
873
|
className?: string;
|
|
858
874
|
children: ReactNode;
|
|
859
|
-
}):
|
|
875
|
+
}): React__default.JSX.Element;
|
|
860
876
|
declare const useNPortalScope: () => string;
|
|
861
877
|
interface NSheetClassNames {
|
|
862
878
|
content?: string;
|
|
@@ -892,7 +908,7 @@ interface NSheetProps {
|
|
|
892
908
|
* - Inherits portal scope from `NPortalScopeProvider` so prefixed CSS (e.g. `.rs-studio`) reaches portaled content.
|
|
893
909
|
* - One header + scrollable body + optional sticky footer.
|
|
894
910
|
*/
|
|
895
|
-
declare function NSheet({ open, onOpenChange, icon: Icon, title, description, width, side, portalClassName, classNames, bodyClassName, contentClassName, children, footer, }: NSheetProps):
|
|
911
|
+
declare function NSheet({ open, onOpenChange, icon: Icon, title, description, width, side, portalClassName, classNames, bodyClassName, contentClassName, children, footer, }: NSheetProps): React__default.JSX.Element;
|
|
896
912
|
|
|
897
913
|
declare function useDialog(store?: DialogStore): DialogApi;
|
|
898
914
|
|
|
@@ -914,64 +930,64 @@ interface AlertProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title
|
|
|
914
930
|
actions?: React$1.ReactNode;
|
|
915
931
|
icon?: NIconSource | React$1.ReactNode | false;
|
|
916
932
|
}
|
|
917
|
-
declare function Alert({ className, variant, tone: toneProp, look, size, orientation, title, description, actions, icon, children, ...props }: AlertProps):
|
|
933
|
+
declare function Alert({ className, variant, tone: toneProp, look, size, orientation, title, description, actions, icon, children, ...props }: AlertProps): React$1.JSX.Element;
|
|
918
934
|
declare const NAlert: typeof Alert;
|
|
919
935
|
|
|
920
|
-
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>):
|
|
921
|
-
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
922
|
-
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>):
|
|
923
|
-
declare function SheetPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
924
|
-
declare function SheetOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
936
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): React$1.JSX.Element;
|
|
937
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): React$1.JSX.Element;
|
|
938
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): React$1.JSX.Element;
|
|
939
|
+
declare function SheetPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): React$1.JSX.Element;
|
|
940
|
+
declare function SheetOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): React$1.JSX.Element;
|
|
925
941
|
declare const sheetVariants: (props?: {
|
|
926
942
|
side?: "left" | "right" | "bottom" | "top";
|
|
927
943
|
} & class_variance_authority_types.ClassProp) => string;
|
|
928
944
|
type SheetContentProps = React$1.ComponentProps<typeof DialogPrimitive.Content> & VariantProps<typeof sheetVariants> & {
|
|
929
945
|
portalClassName?: string;
|
|
930
946
|
};
|
|
931
|
-
declare function SheetContent({ className, portalClassName, side, children, ...props }: SheetContentProps):
|
|
932
|
-
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">):
|
|
933
|
-
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">):
|
|
934
|
-
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>):
|
|
935
|
-
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>):
|
|
936
|
-
|
|
937
|
-
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
938
|
-
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
939
|
-
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
940
|
-
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
941
|
-
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
942
|
-
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
947
|
+
declare function SheetContent({ className, portalClassName, side, children, ...props }: SheetContentProps): React$1.JSX.Element;
|
|
948
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
949
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
950
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): React$1.JSX.Element;
|
|
951
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): React$1.JSX.Element;
|
|
952
|
+
|
|
953
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): React$1.JSX.Element;
|
|
954
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React$1.JSX.Element;
|
|
955
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): React$1.JSX.Element;
|
|
956
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React$1.JSX.Element;
|
|
957
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React$1.JSX.Element;
|
|
958
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React$1.JSX.Element;
|
|
943
959
|
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
944
960
|
inset?: boolean;
|
|
945
|
-
}):
|
|
946
|
-
declare function DropdownMenuSubContent({ className, children, style, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
947
|
-
declare function DropdownMenuContent({ className, children, sideOffset, style, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
961
|
+
}): React$1.JSX.Element;
|
|
962
|
+
declare function DropdownMenuSubContent({ className, children, style, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React$1.JSX.Element;
|
|
963
|
+
declare function DropdownMenuContent({ className, children, sideOffset, style, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): React$1.JSX.Element;
|
|
948
964
|
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
949
965
|
inset?: boolean;
|
|
950
966
|
variant?: "default" | "destructive";
|
|
951
|
-
}):
|
|
952
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
953
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
967
|
+
}): React$1.JSX.Element;
|
|
968
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React$1.JSX.Element;
|
|
969
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React$1.JSX.Element;
|
|
954
970
|
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
955
971
|
inset?: boolean;
|
|
956
|
-
}):
|
|
957
|
-
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
958
|
-
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">):
|
|
959
|
-
|
|
960
|
-
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
961
|
-
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
962
|
-
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
963
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
964
|
-
|
|
965
|
-
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>):
|
|
966
|
-
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>):
|
|
967
|
-
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>):
|
|
968
|
-
declare function SelectTrigger({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger>):
|
|
969
|
-
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>):
|
|
970
|
-
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>):
|
|
971
|
-
declare function SelectContent({ className, children, position, style, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>):
|
|
972
|
-
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>):
|
|
973
|
-
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>):
|
|
974
|
-
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
972
|
+
}): React$1.JSX.Element;
|
|
973
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React$1.JSX.Element;
|
|
974
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
975
|
+
|
|
976
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): React$1.JSX.Element;
|
|
977
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): React$1.JSX.Element;
|
|
978
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): React$1.JSX.Element;
|
|
979
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): React$1.JSX.Element;
|
|
980
|
+
|
|
981
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): React$1.JSX.Element;
|
|
982
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): React$1.JSX.Element;
|
|
983
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): React$1.JSX.Element;
|
|
984
|
+
declare function SelectTrigger({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger>): React$1.JSX.Element;
|
|
985
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React$1.JSX.Element;
|
|
986
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React$1.JSX.Element;
|
|
987
|
+
declare function SelectContent({ className, children, position, style, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): React$1.JSX.Element;
|
|
988
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): React$1.JSX.Element;
|
|
989
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): React$1.JSX.Element;
|
|
990
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): React$1.JSX.Element;
|
|
975
991
|
|
|
976
992
|
interface NativeSelectOption {
|
|
977
993
|
value: string;
|
|
@@ -983,10 +999,10 @@ interface NativeSelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelect
|
|
|
983
999
|
}
|
|
984
1000
|
declare const NativeSelect: React$1.ForwardRefExoticComponent<NativeSelectProps & React$1.RefAttributes<HTMLSelectElement>>;
|
|
985
1001
|
|
|
986
|
-
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>):
|
|
1002
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): React$1.JSX.Element;
|
|
987
1003
|
|
|
988
|
-
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
989
|
-
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
1004
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): React$1.JSX.Element;
|
|
1005
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): React$1.JSX.Element;
|
|
990
1006
|
|
|
991
1007
|
type SwitchSize = 'xs' | 'sm' | 'default' | 'lg' | 'xl';
|
|
992
1008
|
type SwitchColor = 'default' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
@@ -994,7 +1010,7 @@ interface SwitchProps extends React$1.ComponentProps<typeof SwitchPrimitive.Root
|
|
|
994
1010
|
size?: SwitchSize;
|
|
995
1011
|
color?: SwitchColor;
|
|
996
1012
|
}
|
|
997
|
-
declare function Switch({ className, size, color, ...props }: SwitchProps):
|
|
1013
|
+
declare function Switch({ className, size, color, ...props }: SwitchProps): React$1.JSX.Element;
|
|
998
1014
|
|
|
999
1015
|
type TabsVariant = "pills" | "underline" | "bordered" | "ghost";
|
|
1000
1016
|
type TabsOrientation = "horizontal" | "vertical";
|
|
@@ -1002,17 +1018,17 @@ interface TabsProps extends React$1.ComponentProps<typeof TabsPrimitive.Root> {
|
|
|
1002
1018
|
variant?: TabsVariant;
|
|
1003
1019
|
orientation?: TabsOrientation;
|
|
1004
1020
|
}
|
|
1005
|
-
declare function Tabs({ className, variant, orientation, ...props }: TabsProps):
|
|
1021
|
+
declare function Tabs({ className, variant, orientation, ...props }: TabsProps): React$1.JSX.Element;
|
|
1006
1022
|
interface TabsListProps extends React$1.ComponentProps<typeof TabsPrimitive.List> {
|
|
1007
1023
|
variant?: TabsVariant;
|
|
1008
1024
|
orientation?: TabsOrientation;
|
|
1009
1025
|
}
|
|
1010
|
-
declare function TabsList({ className, variant, orientation, ...props }: TabsListProps):
|
|
1026
|
+
declare function TabsList({ className, variant, orientation, ...props }: TabsListProps): React$1.JSX.Element;
|
|
1011
1027
|
interface TabsTriggerProps extends React$1.ComponentProps<typeof TabsPrimitive.Trigger> {
|
|
1012
1028
|
variant?: TabsVariant;
|
|
1013
1029
|
}
|
|
1014
|
-
declare function TabsTrigger({ className, variant, ...props }: TabsTriggerProps):
|
|
1015
|
-
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>):
|
|
1030
|
+
declare function TabsTrigger({ className, variant, ...props }: TabsTriggerProps): React$1.JSX.Element;
|
|
1031
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): React$1.JSX.Element;
|
|
1016
1032
|
|
|
1017
1033
|
declare const TAB_COLORS: {
|
|
1018
1034
|
readonly default: {
|
|
@@ -1068,7 +1084,7 @@ interface NTabsProps<V extends string = string> {
|
|
|
1068
1084
|
classNames?: NTabsClassNames;
|
|
1069
1085
|
styles?: NTabsStyles;
|
|
1070
1086
|
}
|
|
1071
|
-
declare function NTabs<V extends string = string>({ items, defaultValue, value, onValueChange, variant, orientation, color, accentColor, fullWidth, className, classNames, styles, }: NTabsProps<V>):
|
|
1087
|
+
declare function NTabs<V extends string = string>({ items, defaultValue, value, onValueChange, variant, orientation, color, accentColor, fullWidth, className, classNames, styles, }: NTabsProps<V>): React__default.JSX.Element;
|
|
1072
1088
|
|
|
1073
1089
|
type NEditorTab<V extends string = string> = {
|
|
1074
1090
|
value: V;
|
|
@@ -1095,16 +1111,16 @@ interface NEditorTabsProps<V extends string = string> {
|
|
|
1095
1111
|
* remaining one, else undefined when the list becomes empty.
|
|
1096
1112
|
*/
|
|
1097
1113
|
declare function getNextEditorTabValue<V extends string = string>(items: NEditorTab<V>[], closedValue: V): V | undefined;
|
|
1098
|
-
declare function NEditorTabs<V extends string = string>({ items, value, defaultValue, onValueChange, onClose, className, classNames, styles, }: NEditorTabsProps<V>):
|
|
1114
|
+
declare function NEditorTabs<V extends string = string>({ items, value, defaultValue, onValueChange, onClose, className, classNames, styles, }: NEditorTabsProps<V>): React__default.JSX.Element;
|
|
1099
1115
|
|
|
1100
|
-
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
1101
|
-
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
1102
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
1116
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): React$1.JSX.Element;
|
|
1117
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
|
|
1118
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): React$1.JSX.Element;
|
|
1103
1119
|
declare const tooltipContentVariants: (props?: {
|
|
1104
1120
|
variant?: "filled" | "outlined";
|
|
1105
1121
|
} & class_variance_authority_types.ClassProp) => string;
|
|
1106
1122
|
type TooltipContentProps = React$1.ComponentProps<typeof TooltipPrimitive.Content> & VariantProps<typeof tooltipContentVariants>;
|
|
1107
|
-
declare function TooltipContent({ className, sideOffset, variant, children, ...props }: TooltipContentProps):
|
|
1123
|
+
declare function TooltipContent({ className, sideOffset, variant, children, ...props }: TooltipContentProps): React$1.JSX.Element;
|
|
1108
1124
|
|
|
1109
1125
|
interface SimpleTooltipProps {
|
|
1110
1126
|
content: React$1.ReactNode;
|
|
@@ -1115,7 +1131,7 @@ interface SimpleTooltipProps {
|
|
|
1115
1131
|
disabled?: boolean;
|
|
1116
1132
|
variant?: "filled" | "outlined";
|
|
1117
1133
|
}
|
|
1118
|
-
declare function SimpleTooltip({ content, children, side, align, delayDuration, disabled, variant, }: SimpleTooltipProps):
|
|
1134
|
+
declare function SimpleTooltip({ content, children, side, align, delayDuration, disabled, variant, }: SimpleTooltipProps): React$1.JSX.Element;
|
|
1119
1135
|
|
|
1120
1136
|
type ProgressColor = "primary" | "secondary" | "accent" | "neutral" | "success" | "warning" | "error" | "info";
|
|
1121
1137
|
type ProgressSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -1127,15 +1143,15 @@ interface ProgressProps extends Omit<React$1.ComponentProps<typeof ProgressPrimi
|
|
|
1127
1143
|
label?: React$1.ReactNode;
|
|
1128
1144
|
labelPosition?: ProgressLabelPosition;
|
|
1129
1145
|
}
|
|
1130
|
-
declare function Progress({ className, value, color, size, indeterminate, label, labelPosition, ...props }: ProgressProps):
|
|
1146
|
+
declare function Progress({ className, value, color, size, indeterminate, label, labelPosition, ...props }: ProgressProps): React$1.JSX.Element;
|
|
1131
1147
|
declare const NProgress: typeof Progress;
|
|
1132
1148
|
type NProgressProps = ProgressProps;
|
|
1133
1149
|
|
|
1134
|
-
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
1150
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): React$1.JSX.Element;
|
|
1135
1151
|
|
|
1136
1152
|
interface ScrollAreaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1137
1153
|
}
|
|
1138
|
-
declare function ScrollArea({ className, children, ...props }: ScrollAreaProps):
|
|
1154
|
+
declare function ScrollArea({ className, children, ...props }: ScrollAreaProps): React$1.JSX.Element;
|
|
1139
1155
|
|
|
1140
1156
|
interface NajmScrollProps extends Omit<OverlayScrollbarsComponentProps, "options" | "ref" | "element"> {
|
|
1141
1157
|
/** Host element tag. Defaults to "div". */
|
|
@@ -1157,7 +1173,7 @@ interface NajmScrollProps extends Omit<OverlayScrollbarsComponentProps, "options
|
|
|
1157
1173
|
* (grid/flex) classes on a child element, and sizing (`flex-1 min-h-0`,
|
|
1158
1174
|
* `max-h-*`, etc.) on this component.
|
|
1159
1175
|
*/
|
|
1160
|
-
declare function NajmScroll({ className, axis, autoHide, viewportRef, events, options, element, children, style, ...props }: NajmScrollProps):
|
|
1176
|
+
declare function NajmScroll({ className, axis, autoHide, viewportRef, events, options, element, children, style, ...props }: NajmScrollProps): React$1.JSX.Element;
|
|
1161
1177
|
|
|
1162
1178
|
interface NImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, "src"> {
|
|
1163
1179
|
src: string;
|
|
@@ -1174,7 +1190,7 @@ interface NImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, "src"> {
|
|
|
1174
1190
|
* a caller that logs a broken asset still sees the event, and the fallback
|
|
1175
1191
|
* still appears.
|
|
1176
1192
|
*/
|
|
1177
|
-
declare function NImage({ src, fallback, alt, onError, ...rest }: NImageProps):
|
|
1193
|
+
declare function NImage({ src, fallback, alt, onError, ...rest }: NImageProps): React$1.JSX.Element;
|
|
1178
1194
|
|
|
1179
1195
|
type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
1180
1196
|
type AvatarShape$1 = "circle" | "rounded" | "square";
|
|
@@ -1194,18 +1210,18 @@ interface AvatarProps$1 extends Omit<React$1.ComponentProps<typeof AvatarPrimiti
|
|
|
1194
1210
|
imageClassName?: string;
|
|
1195
1211
|
fallbackClassName?: string;
|
|
1196
1212
|
}
|
|
1197
|
-
declare function Avatar({ className, size, shape, ring, ringColor, src, alt, fallback, status, imageClassName, fallbackClassName, children, ...props }: AvatarProps$1):
|
|
1198
|
-
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
1199
|
-
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
1213
|
+
declare function Avatar({ className, size, shape, ring, ringColor, src, alt, fallback, status, imageClassName, fallbackClassName, children, ...props }: AvatarProps$1): React$1.JSX.Element;
|
|
1214
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): React$1.JSX.Element;
|
|
1215
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): React$1.JSX.Element;
|
|
1200
1216
|
declare function AvatarStatus({ status, size, className, }: {
|
|
1201
1217
|
status: AvatarStatusType;
|
|
1202
1218
|
size?: AvatarSize;
|
|
1203
1219
|
className?: string;
|
|
1204
|
-
}):
|
|
1220
|
+
}): React$1.JSX.Element;
|
|
1205
1221
|
interface AvatarGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1206
1222
|
ring?: boolean;
|
|
1207
1223
|
}
|
|
1208
|
-
declare function AvatarGroup({ ring, className, children, ...props }: AvatarGroupProps):
|
|
1224
|
+
declare function AvatarGroup({ ring, className, children, ...props }: AvatarGroupProps): React$1.JSX.Element;
|
|
1209
1225
|
|
|
1210
1226
|
type SwapEffect = "none" | "rotate" | "flip";
|
|
1211
1227
|
type SwapSize = "sm" | "md" | "lg" | "icon";
|
|
@@ -1242,40 +1258,40 @@ declare const swapVariants: (props?: {
|
|
|
1242
1258
|
effect?: "none" | "flip" | "rotate";
|
|
1243
1259
|
size?: "icon" | "sm" | "md" | "lg";
|
|
1244
1260
|
} & class_variance_authority_types.ClassProp) => string;
|
|
1245
|
-
declare function Swap({ checked: controlledChecked, defaultChecked, state: controlledState, onCheckedChange, onStateChange, onClick, on, off, indeterminate: indeterminateContent, onIcon, offIcon, indeterminateIcon, onText, offText, indeterminateText, effect, size, disabled, className, ...props }: SwapProps):
|
|
1261
|
+
declare function Swap({ checked: controlledChecked, defaultChecked, state: controlledState, onCheckedChange, onStateChange, onClick, on, off, indeterminate: indeterminateContent, onIcon, offIcon, indeterminateIcon, onText, offText, indeterminateText, effect, size, disabled, className, ...props }: SwapProps): React$1.JSX.Element;
|
|
1246
1262
|
|
|
1247
1263
|
type NSwapProps = SwapProps;
|
|
1248
1264
|
declare function SwapOn({ children }: {
|
|
1249
1265
|
children: React$1.ReactNode;
|
|
1250
|
-
}):
|
|
1266
|
+
}): React$1.JSX.Element;
|
|
1251
1267
|
declare function SwapOff({ children }: {
|
|
1252
1268
|
children: React$1.ReactNode;
|
|
1253
|
-
}):
|
|
1269
|
+
}): React$1.JSX.Element;
|
|
1254
1270
|
declare function SwapIndeterminate({ children }: {
|
|
1255
1271
|
children: React$1.ReactNode;
|
|
1256
|
-
}):
|
|
1272
|
+
}): React$1.JSX.Element;
|
|
1257
1273
|
|
|
1258
|
-
declare function Calendar(props: Record<string, any>):
|
|
1274
|
+
declare function Calendar(props: Record<string, any>): React$1.JSX.Element;
|
|
1259
1275
|
|
|
1260
|
-
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>):
|
|
1261
|
-
declare function CommandDialog({ children, ...props }: React$1.ComponentProps<typeof Dialog>):
|
|
1262
|
-
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>):
|
|
1263
|
-
declare function CommandList({ className, children, ...props }: React$1.ComponentProps<typeof Command$1.List>):
|
|
1264
|
-
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>):
|
|
1265
|
-
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>):
|
|
1266
|
-
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>):
|
|
1267
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>):
|
|
1268
|
-
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">):
|
|
1276
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): React$1.JSX.Element;
|
|
1277
|
+
declare function CommandDialog({ children, ...props }: React$1.ComponentProps<typeof Dialog>): React$1.JSX.Element;
|
|
1278
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): React$1.JSX.Element;
|
|
1279
|
+
declare function CommandList({ className, children, ...props }: React$1.ComponentProps<typeof Command$1.List>): React$1.JSX.Element;
|
|
1280
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): React$1.JSX.Element;
|
|
1281
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): React$1.JSX.Element;
|
|
1282
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): React$1.JSX.Element;
|
|
1283
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): React$1.JSX.Element;
|
|
1284
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1269
1285
|
|
|
1270
|
-
declare function Collapsible({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.Root>):
|
|
1271
|
-
declare function CollapsibleTrigger({ className, ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>):
|
|
1272
|
-
declare function CollapsibleContent({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>):
|
|
1286
|
+
declare function Collapsible({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.Root>): React$1.JSX.Element;
|
|
1287
|
+
declare function CollapsibleTrigger({ className, ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React$1.JSX.Element;
|
|
1288
|
+
declare function CollapsibleContent({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React$1.JSX.Element;
|
|
1273
1289
|
|
|
1274
1290
|
declare const toggleVariants: (props?: {
|
|
1275
1291
|
variant?: "default" | "outline";
|
|
1276
1292
|
size?: "default" | "sm" | "lg";
|
|
1277
1293
|
} & class_variance_authority_types.ClassProp) => string;
|
|
1278
|
-
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
1294
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
1279
1295
|
|
|
1280
1296
|
type IconButtonVariant = "primary" | "secondary" | "ghost" | "destructive";
|
|
1281
1297
|
type IconButtonSize = "sm" | "md" | "lg";
|
|
@@ -1303,7 +1319,7 @@ interface SegmentedControlProps<T extends string = string> {
|
|
|
1303
1319
|
size?: "sm" | "md";
|
|
1304
1320
|
disabled?: boolean;
|
|
1305
1321
|
}
|
|
1306
|
-
declare function SegmentedControl<T extends string = string>({ value, onChange, options, ariaLabel, className, size, disabled, }: SegmentedControlProps<T>):
|
|
1322
|
+
declare function SegmentedControl<T extends string = string>({ value, onChange, options, ariaLabel, className, size, disabled, }: SegmentedControlProps<T>): React$1.JSX.Element;
|
|
1307
1323
|
|
|
1308
1324
|
type StatusPillTone = "neutral" | "success" | "warning" | "danger" | "info" | "brand";
|
|
1309
1325
|
interface StatusPillProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -1313,10 +1329,10 @@ interface StatusPillProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
1313
1329
|
}
|
|
1314
1330
|
declare const StatusPill: React$1.ForwardRefExoticComponent<StatusPillProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1315
1331
|
|
|
1316
|
-
declare function Toaster({ toastOptions, ...props }: ToasterProps):
|
|
1332
|
+
declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
|
|
1317
1333
|
|
|
1318
1334
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
1319
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) =>
|
|
1335
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
1320
1336
|
declare const useFormField: () => {
|
|
1321
1337
|
invalid: boolean;
|
|
1322
1338
|
isDirty: boolean;
|
|
@@ -1329,27 +1345,27 @@ declare const useFormField: () => {
|
|
|
1329
1345
|
formDescriptionId: string;
|
|
1330
1346
|
formMessageId: string;
|
|
1331
1347
|
};
|
|
1332
|
-
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">):
|
|
1333
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label>):
|
|
1334
|
-
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>):
|
|
1335
|
-
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">):
|
|
1336
|
-
declare function FormMessage({ className, children, ...props }: React$1.ComponentProps<"p">):
|
|
1337
|
-
|
|
1338
|
-
declare function Table({ className, ...props }: React$1.ComponentProps<"table">):
|
|
1339
|
-
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">):
|
|
1340
|
-
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">):
|
|
1341
|
-
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">):
|
|
1342
|
-
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">):
|
|
1343
|
-
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">):
|
|
1344
|
-
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">):
|
|
1345
|
-
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">):
|
|
1348
|
+
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1349
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
1350
|
+
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): React$1.JSX.Element;
|
|
1351
|
+
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
1352
|
+
declare function FormMessage({ className, children, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
1353
|
+
|
|
1354
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): React$1.JSX.Element;
|
|
1355
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): React$1.JSX.Element;
|
|
1356
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): React$1.JSX.Element;
|
|
1357
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): React$1.JSX.Element;
|
|
1358
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): React$1.JSX.Element;
|
|
1359
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): React$1.JSX.Element;
|
|
1360
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): React$1.JSX.Element;
|
|
1361
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): React$1.JSX.Element;
|
|
1346
1362
|
|
|
1347
1363
|
type SpinnerVariant = "default" | "circle" | "pinwheel" | "circle-filled" | "ellipsis" | "ring" | "bars" | "infinite";
|
|
1348
1364
|
interface NSpinnerProps extends LucideProps {
|
|
1349
1365
|
variant?: SpinnerVariant;
|
|
1350
1366
|
size?: number;
|
|
1351
1367
|
}
|
|
1352
|
-
declare function NSpinner({ variant, size, className, ...props }: NSpinnerProps):
|
|
1368
|
+
declare function NSpinner({ variant, size, className, ...props }: NSpinnerProps): React$1.JSX.Element;
|
|
1353
1369
|
|
|
1354
1370
|
interface ErrorBoundaryProps {
|
|
1355
1371
|
children: React__default.ReactNode;
|
|
@@ -1364,31 +1380,31 @@ declare class NErrorBoundary extends React__default.Component<ErrorBoundaryProps
|
|
|
1364
1380
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
1365
1381
|
componentDidCatch(error: Error, errorInfo: React__default.ErrorInfo): void;
|
|
1366
1382
|
handleReset: () => void;
|
|
1367
|
-
render(): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode>> |
|
|
1383
|
+
render(): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode>> | React__default.JSX.Element;
|
|
1368
1384
|
}
|
|
1369
1385
|
|
|
1370
1386
|
interface SkeletonProps extends React__default.ComponentProps<"div"> {
|
|
1371
1387
|
}
|
|
1372
|
-
declare function NSkeleton({ className, ...props }: SkeletonProps):
|
|
1388
|
+
declare function NSkeleton({ className, ...props }: SkeletonProps): React__default.JSX.Element;
|
|
1373
1389
|
|
|
1374
|
-
declare function NStatCardSkeleton():
|
|
1390
|
+
declare function NStatCardSkeleton(): React__default.JSX.Element;
|
|
1375
1391
|
declare function NTableRowSkeleton({ columns }: {
|
|
1376
1392
|
columns?: number;
|
|
1377
|
-
}):
|
|
1393
|
+
}): React__default.JSX.Element;
|
|
1378
1394
|
declare function NTableSkeleton({ rows, columns }: {
|
|
1379
1395
|
rows?: number;
|
|
1380
1396
|
columns?: number;
|
|
1381
|
-
}):
|
|
1382
|
-
declare function NSkeletonChart():
|
|
1383
|
-
declare function NSkeletonDonut():
|
|
1384
|
-
declare function NSkeletonCalendar():
|
|
1397
|
+
}): React__default.JSX.Element;
|
|
1398
|
+
declare function NSkeletonChart(): React__default.JSX.Element;
|
|
1399
|
+
declare function NSkeletonDonut(): React__default.JSX.Element;
|
|
1400
|
+
declare function NSkeletonCalendar(): React__default.JSX.Element;
|
|
1385
1401
|
declare function NSkeletonEventList({ count }: {
|
|
1386
1402
|
count?: number;
|
|
1387
|
-
}):
|
|
1388
|
-
declare function NSkeletonWidget():
|
|
1403
|
+
}): React__default.JSX.Element;
|
|
1404
|
+
declare function NSkeletonWidget(): React__default.JSX.Element;
|
|
1389
1405
|
declare function NSkeletonWidgets({ count }: {
|
|
1390
1406
|
count?: number;
|
|
1391
|
-
}):
|
|
1407
|
+
}): React__default.JSX.Element;
|
|
1392
1408
|
|
|
1393
1409
|
/**
|
|
1394
1410
|
* Normalizes a consumer-supplied icon to a renderable element.
|
|
@@ -1467,21 +1483,21 @@ interface AvatarProps {
|
|
|
1467
1483
|
* and no optimizer sits between the two. The package therefore never needs to
|
|
1468
1484
|
* know which routes an application protects.
|
|
1469
1485
|
*/
|
|
1470
|
-
declare function NAvatar({ src, title, fallback, fallbackSrc, alt, version, srcVersion, size, shape, subtitle, meta, className, classNames, imageProps, }: AvatarProps):
|
|
1486
|
+
declare function NAvatar({ src, title, fallback, fallbackSrc, alt, version, srcVersion, size, shape, subtitle, meta, className, classNames, imageProps, }: AvatarProps): React__default.JSX.Element;
|
|
1471
1487
|
|
|
1472
1488
|
type NAvatarProps = AvatarProps;
|
|
1473
1489
|
type NAvatarClassNames = AvatarClassNames;
|
|
1474
1490
|
|
|
1475
1491
|
declare function NCardAction({ children }: {
|
|
1476
1492
|
children: React__default.ReactNode;
|
|
1477
|
-
}):
|
|
1493
|
+
}): React__default.JSX.Element;
|
|
1478
1494
|
declare namespace NCardAction {
|
|
1479
1495
|
var displayName: string;
|
|
1480
1496
|
}
|
|
1481
1497
|
declare function NCardFooter({ children }: {
|
|
1482
1498
|
children: React__default.ReactNode;
|
|
1483
1499
|
className?: string;
|
|
1484
|
-
}):
|
|
1500
|
+
}): React__default.JSX.Element;
|
|
1485
1501
|
declare namespace NCardFooter {
|
|
1486
1502
|
var displayName: string;
|
|
1487
1503
|
}
|
|
@@ -1498,7 +1514,7 @@ interface NCardMediaProps extends React__default.HTMLAttributes<HTMLDivElement>
|
|
|
1498
1514
|
/** Hero aspect ratio. */
|
|
1499
1515
|
aspect?: NCardMediaAspect;
|
|
1500
1516
|
}
|
|
1501
|
-
declare function NCardMedia({ children }: NCardMediaProps):
|
|
1517
|
+
declare function NCardMedia({ children }: NCardMediaProps): React__default.JSX.Element;
|
|
1502
1518
|
declare namespace NCardMedia {
|
|
1503
1519
|
var displayName: string;
|
|
1504
1520
|
}
|
|
@@ -1537,7 +1553,7 @@ interface CardProps {
|
|
|
1537
1553
|
className?: string;
|
|
1538
1554
|
classNames?: CardClassNames;
|
|
1539
1555
|
}
|
|
1540
|
-
declare function NCard({ children, title, description, icon, iconColor, loading, error, empty, noData, loadingText, errorText, emptyText, noDataText, skeleton, onRetry, noPadding, separator, bordered, embedded, className, classNames, onClick, }: CardProps):
|
|
1556
|
+
declare function NCard({ children, title, description, icon, iconColor, loading, error, empty, noData, loadingText, errorText, emptyText, noDataText, skeleton, onRetry, noPadding, separator, bordered, embedded, className, classNames, onClick, }: CardProps): React__default.JSX.Element;
|
|
1541
1557
|
|
|
1542
1558
|
declare function truncateByCharacters(text: string, maxCharacters: number, suffix?: string): string;
|
|
1543
1559
|
type NCardDensity = "default" | "compact" | "responsive";
|
|
@@ -1552,7 +1568,7 @@ interface NCardInfoProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1552
1568
|
labelClassName?: string;
|
|
1553
1569
|
valueClassName?: string;
|
|
1554
1570
|
}
|
|
1555
|
-
declare function NCardInfo({ icon: Icon, label, value, density, maxChars, iconClassName, labelClassName, valueClassName, className, ...props }: NCardInfoProps):
|
|
1571
|
+
declare function NCardInfo({ icon: Icon, label, value, density, maxChars, iconClassName, labelClassName, valueClassName, className, ...props }: NCardInfoProps): React__default.JSX.Element;
|
|
1556
1572
|
interface NCardSectionProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
1557
1573
|
icon?: LucideIcon;
|
|
1558
1574
|
title?: React__default.ReactNode;
|
|
@@ -1561,7 +1577,7 @@ interface NCardSectionProps extends Omit<React__default.HTMLAttributes<HTMLDivEl
|
|
|
1561
1577
|
iconClassName?: string;
|
|
1562
1578
|
titleClassName?: string;
|
|
1563
1579
|
}
|
|
1564
|
-
declare function NCardSection({ icon: Icon, title, density, surface, iconClassName, titleClassName, children, className, ...props }: NCardSectionProps):
|
|
1580
|
+
declare function NCardSection({ icon: Icon, title, density, surface, iconClassName, titleClassName, children, className, ...props }: NCardSectionProps): React__default.JSX.Element;
|
|
1565
1581
|
interface NSectionInfoProps {
|
|
1566
1582
|
icon?: LucideIcon;
|
|
1567
1583
|
label: string;
|
|
@@ -1571,7 +1587,7 @@ interface NSectionInfoProps {
|
|
|
1571
1587
|
className?: string;
|
|
1572
1588
|
maxChars?: number;
|
|
1573
1589
|
}
|
|
1574
|
-
declare function NSectionInfo({ icon: Icon, label, value, valueColor, iconColor, className, maxChars, }: NSectionInfoProps):
|
|
1590
|
+
declare function NSectionInfo({ icon: Icon, label, value, valueColor, iconColor, className, maxChars, }: NSectionInfoProps): React__default.JSX.Element;
|
|
1575
1591
|
interface NSectionProps {
|
|
1576
1592
|
icon: LucideIcon;
|
|
1577
1593
|
title: string;
|
|
@@ -1580,7 +1596,7 @@ interface NSectionProps {
|
|
|
1580
1596
|
iconColor?: string;
|
|
1581
1597
|
background?: string;
|
|
1582
1598
|
}
|
|
1583
|
-
declare function NSection({ icon: Icon, title, children, className, iconColor, background, }: NSectionProps):
|
|
1599
|
+
declare function NSection({ icon: Icon, title, children, className, iconColor, background, }: NSectionProps): React__default.JSX.Element;
|
|
1584
1600
|
interface NSectionWithInfoItem {
|
|
1585
1601
|
icon?: LucideIcon;
|
|
1586
1602
|
label: string;
|
|
@@ -1591,7 +1607,7 @@ interface NSectionWithInfoItem {
|
|
|
1591
1607
|
interface NSectionWithInfoProps extends Omit<NSectionProps, "children"> {
|
|
1592
1608
|
items: NSectionWithInfoItem[];
|
|
1593
1609
|
}
|
|
1594
|
-
declare function NSectionWithInfo({ icon, title, items, className, iconColor, background, }: NSectionWithInfoProps):
|
|
1610
|
+
declare function NSectionWithInfo({ icon, title, items, className, iconColor, background, }: NSectionWithInfoProps): React__default.JSX.Element;
|
|
1595
1611
|
interface NSectionHeaderProps {
|
|
1596
1612
|
children: React__default.ReactNode;
|
|
1597
1613
|
image?: string;
|
|
@@ -1619,11 +1635,11 @@ interface NSectionHeaderActionsProps {
|
|
|
1619
1635
|
children: React__default.ReactNode;
|
|
1620
1636
|
className?: string;
|
|
1621
1637
|
}
|
|
1622
|
-
declare function NSectionHeaderRoot({ children, image, showImage, imageSize, icon: Icon, iconColor, className, background, layout, }: NSectionHeaderProps):
|
|
1623
|
-
declare function NSectionHeaderTitle({ children, className }: NSectionHeaderTitleProps):
|
|
1624
|
-
declare function NSectionHeaderSubtitle({ children, className }: NSectionHeaderSubtitleProps):
|
|
1625
|
-
declare function NSectionHeaderContent({ children, className }: NSectionHeaderContentProps):
|
|
1626
|
-
declare function NSectionHeaderActions({ children, className }: NSectionHeaderActionsProps):
|
|
1638
|
+
declare function NSectionHeaderRoot({ children, image, showImage, imageSize, icon: Icon, iconColor, className, background, layout, }: NSectionHeaderProps): React__default.JSX.Element;
|
|
1639
|
+
declare function NSectionHeaderTitle({ children, className }: NSectionHeaderTitleProps): React__default.JSX.Element;
|
|
1640
|
+
declare function NSectionHeaderSubtitle({ children, className }: NSectionHeaderSubtitleProps): React__default.JSX.Element;
|
|
1641
|
+
declare function NSectionHeaderContent({ children, className }: NSectionHeaderContentProps): React__default.JSX.Element;
|
|
1642
|
+
declare function NSectionHeaderActions({ children, className }: NSectionHeaderActionsProps): React__default.JSX.Element;
|
|
1627
1643
|
declare const NSectionHeader: typeof NSectionHeaderRoot & {
|
|
1628
1644
|
Title: typeof NSectionHeaderTitle;
|
|
1629
1645
|
Subtitle: typeof NSectionHeaderSubtitle;
|
|
@@ -1693,7 +1709,7 @@ interface UsageProps extends BaseProps$1 {
|
|
|
1693
1709
|
change?: never;
|
|
1694
1710
|
}
|
|
1695
1711
|
type NStatCardProps = DefaultProps | UsageProps | CompactProps;
|
|
1696
|
-
declare function NStatCard(props: NStatCardProps):
|
|
1712
|
+
declare function NStatCard(props: NStatCardProps): React__default.JSX.Element;
|
|
1697
1713
|
|
|
1698
1714
|
type NChartSize = "sm" | "md" | "lg" | number;
|
|
1699
1715
|
interface NChartSeries {
|
|
@@ -1800,14 +1816,14 @@ interface NDonutCardProps {
|
|
|
1800
1816
|
loading?: boolean;
|
|
1801
1817
|
loadingLabel?: string;
|
|
1802
1818
|
}
|
|
1803
|
-
declare function NDonutCard({ title, ariaLabel, icon, iconColor, items, valueFormatter, centerValueFormatter, centerUnit, totalLabel, centerIcon, emptyLabel, footer, variant, size, layout, legendMarker, centerOrientation, percentageFormatter, className, classNames, loading, loadingLabel, }: NDonutCardProps):
|
|
1819
|
+
declare function NDonutCard({ title, ariaLabel, icon, iconColor, items, valueFormatter, centerValueFormatter, centerUnit, totalLabel, centerIcon, emptyLabel, footer, variant, size, layout, legendMarker, centerOrientation, percentageFormatter, className, classNames, loading, loadingLabel, }: NDonutCardProps): React__default.JSX.Element;
|
|
1804
1820
|
|
|
1805
1821
|
declare function getNChartColor(index: number, override?: string): string;
|
|
1806
|
-
declare function NChartSkeleton({ className, points, rows, variant, }: NChartSkeletonProps):
|
|
1807
|
-
declare function NBarChart({ ariaLabel, className, data, emptyLabel, height, icon, iconColor, loading, loadingLabel, series, showLegend, title, valueFormatter, }: NBarChartProps):
|
|
1808
|
-
declare function NLineChart(props: NLineChartProps):
|
|
1809
|
-
declare function NPieChart({ ariaLabel, className, emptyLabel, icon, iconColor, items, loading, loadingLabel, percentageFormatter, showLegend, size, title, valueFormatter, }: NPieChartProps):
|
|
1810
|
-
declare function NStatusBreakdown({ ariaLabel, className, emptyLabel, icon, iconColor, items, loading, loadingLabel, minimumVisiblePercent, title, valueFormatter, }: NStatusBreakdownProps):
|
|
1822
|
+
declare function NChartSkeleton({ className, points, rows, variant, }: NChartSkeletonProps): React__default.JSX.Element;
|
|
1823
|
+
declare function NBarChart({ ariaLabel, className, data, emptyLabel, height, icon, iconColor, loading, loadingLabel, series, showLegend, title, valueFormatter, }: NBarChartProps): React__default.JSX.Element;
|
|
1824
|
+
declare function NLineChart(props: NLineChartProps): React__default.JSX.Element;
|
|
1825
|
+
declare function NPieChart({ ariaLabel, className, emptyLabel, icon, iconColor, items, loading, loadingLabel, percentageFormatter, showLegend, size, title, valueFormatter, }: NPieChartProps): React__default.JSX.Element;
|
|
1826
|
+
declare function NStatusBreakdown({ ariaLabel, className, emptyLabel, icon, iconColor, items, loading, loadingLabel, minimumVisiblePercent, title, valueFormatter, }: NStatusBreakdownProps): React__default.JSX.Element;
|
|
1811
1827
|
|
|
1812
1828
|
interface NDetailCardClassNames {
|
|
1813
1829
|
root?: string;
|
|
@@ -1824,7 +1840,7 @@ interface NDetailCardProps {
|
|
|
1824
1840
|
className?: string;
|
|
1825
1841
|
classNames?: NDetailCardClassNames;
|
|
1826
1842
|
}
|
|
1827
|
-
declare function NDetailCard({ title, description, icon, action, children, className, classNames, }: NDetailCardProps):
|
|
1843
|
+
declare function NDetailCard({ title, description, icon, action, children, className, classNames, }: NDetailCardProps): React__default.JSX.Element;
|
|
1828
1844
|
interface NDetailItemProps {
|
|
1829
1845
|
icon?: NIconSource;
|
|
1830
1846
|
label: string;
|
|
@@ -1834,7 +1850,7 @@ interface NDetailItemProps {
|
|
|
1834
1850
|
className?: string;
|
|
1835
1851
|
maxChars?: number;
|
|
1836
1852
|
}
|
|
1837
|
-
declare function NDetailItem({ icon, label, value, valueClassName, iconClassName, className, maxChars, }: NDetailItemProps):
|
|
1853
|
+
declare function NDetailItem({ icon, label, value, valueClassName, iconClassName, className, maxChars, }: NDetailItemProps): React__default.JSX.Element;
|
|
1838
1854
|
interface NDetailListItem {
|
|
1839
1855
|
icon?: NIconSource;
|
|
1840
1856
|
label: string;
|
|
@@ -1847,32 +1863,32 @@ interface NDetailListProps {
|
|
|
1847
1863
|
className?: string;
|
|
1848
1864
|
itemClassName?: string;
|
|
1849
1865
|
}
|
|
1850
|
-
declare function NDetailList({ items, className, itemClassName }: NDetailListProps):
|
|
1866
|
+
declare function NDetailList({ items, className, itemClassName }: NDetailListProps): React__default.JSX.Element;
|
|
1851
1867
|
|
|
1852
1868
|
interface NViewToggleProps {
|
|
1853
1869
|
mode: 'table' | 'json';
|
|
1854
1870
|
onChange: (mode: 'table' | 'json') => void;
|
|
1855
1871
|
className?: string;
|
|
1856
1872
|
}
|
|
1857
|
-
declare function NViewToggle({ mode, onChange, className }: NViewToggleProps):
|
|
1873
|
+
declare function NViewToggle({ mode, onChange, className }: NViewToggleProps): React$1.JSX.Element;
|
|
1858
1874
|
|
|
1859
1875
|
interface NFilterBarProps {
|
|
1860
1876
|
children: ReactNode;
|
|
1861
1877
|
className?: string;
|
|
1862
1878
|
}
|
|
1863
|
-
declare function NFilterBar({ children, className }: NFilterBarProps):
|
|
1879
|
+
declare function NFilterBar({ children, className }: NFilterBarProps): React__default.JSX.Element;
|
|
1864
1880
|
|
|
1865
1881
|
interface NRowActionsProps {
|
|
1866
1882
|
children: ReactNode;
|
|
1867
1883
|
}
|
|
1868
|
-
declare function NRowActions({ children }: NRowActionsProps):
|
|
1884
|
+
declare function NRowActions({ children }: NRowActionsProps): React__default.JSX.Element;
|
|
1869
1885
|
|
|
1870
1886
|
interface NViewBodyProps {
|
|
1871
1887
|
children: ReactNode;
|
|
1872
1888
|
className?: string;
|
|
1873
1889
|
variant?: 'table' | 'empty' | 'stack';
|
|
1874
1890
|
}
|
|
1875
|
-
declare function NViewBody({ children, className, variant }: NViewBodyProps):
|
|
1891
|
+
declare function NViewBody({ children, className, variant }: NViewBodyProps): React__default.JSX.Element;
|
|
1876
1892
|
|
|
1877
1893
|
interface NContextMenuItem {
|
|
1878
1894
|
id: string;
|
|
@@ -1896,7 +1912,7 @@ interface NContextMenuProps {
|
|
|
1896
1912
|
* Closes on outside click, Escape, or after an action fires.
|
|
1897
1913
|
* Supports a single level of submenus (hover the parent item).
|
|
1898
1914
|
*/
|
|
1899
|
-
declare function NContextMenu({ x, y, items, onAction, onClose, className }: NContextMenuProps):
|
|
1915
|
+
declare function NContextMenu({ x, y, items, onAction, onClose, className }: NContextMenuProps): React__default.JSX.Element;
|
|
1900
1916
|
|
|
1901
1917
|
/**
|
|
1902
1918
|
* A single context menu entry. Each item carries its own `onSelect` callback,
|
|
@@ -2057,7 +2073,7 @@ interface NBulkActionsBarProps {
|
|
|
2057
2073
|
* Renders a mix of plain button actions (Delete, Copy, Move, …) and
|
|
2058
2074
|
* select-then-confirm actions (Move to lang, Move to folder, …).
|
|
2059
2075
|
*/
|
|
2060
|
-
declare function NBulkActionsBar({ count, actions, onAction, onClear, busy, variant, className }: NBulkActionsBarProps):
|
|
2076
|
+
declare function NBulkActionsBar({ count, actions, onAction, onClear, busy, variant, className }: NBulkActionsBarProps): React__default.JSX.Element;
|
|
2061
2077
|
|
|
2062
2078
|
interface NCredentialField {
|
|
2063
2079
|
label: string;
|
|
@@ -2089,7 +2105,7 @@ interface NCredentialsCardProps {
|
|
|
2089
2105
|
className?: string;
|
|
2090
2106
|
classNames?: NCredentialsCardClassNames;
|
|
2091
2107
|
}
|
|
2092
|
-
declare function NCredentialsCard({ fields, title, description, icon, copyLabel, copiedLabel, copyErrorLabel, copyText, hideCopyAction, onCopy, onCopyError, actions, className, classNames, }: NCredentialsCardProps):
|
|
2108
|
+
declare function NCredentialsCard({ fields, title, description, icon, copyLabel, copiedLabel, copyErrorLabel, copyText, hideCopyAction, onCopy, onCopyError, actions, className, classNames, }: NCredentialsCardProps): React$1.JSX.Element;
|
|
2093
2109
|
declare namespace NCredentialsCard {
|
|
2094
2110
|
var displayName: string;
|
|
2095
2111
|
}
|
|
@@ -2104,12 +2120,12 @@ interface NFileTypeIconProps {
|
|
|
2104
2120
|
className?: string;
|
|
2105
2121
|
imageClassName?: string;
|
|
2106
2122
|
}
|
|
2107
|
-
declare function NFileTypeIcon({ mimeType, fileName, url, showThumbnail, size, className, imageClassName, }: NFileTypeIconProps):
|
|
2123
|
+
declare function NFileTypeIcon({ mimeType, fileName, url, showThumbnail, size, className, imageClassName, }: NFileTypeIconProps): React__default.JSX.Element;
|
|
2108
2124
|
interface NFolderIconProps {
|
|
2109
2125
|
size?: IconSize;
|
|
2110
2126
|
className?: string;
|
|
2111
2127
|
}
|
|
2112
|
-
declare function NFolderIcon({ size, className }: NFolderIconProps):
|
|
2128
|
+
declare function NFolderIcon({ size, className }: NFolderIconProps): React__default.JSX.Element;
|
|
2113
2129
|
|
|
2114
2130
|
type ColorFormat = "hex" | "rgb" | "hsl" | "oklch";
|
|
2115
2131
|
declare function parseColor(input: string): culori.Color;
|
|
@@ -2143,7 +2159,7 @@ interface NSliderProps extends Omit<React$1.ComponentPropsWithoutRef<typeof Slid
|
|
|
2143
2159
|
"aria-label"?: string;
|
|
2144
2160
|
"aria-labelledby"?: string;
|
|
2145
2161
|
}
|
|
2146
|
-
declare function NSlider({ value: controlledValue, defaultValue, onValueChange, min, max, step, variant, size, orientation, disabled, showTooltip, formatTooltip, dir, name, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: NSliderProps):
|
|
2162
|
+
declare function NSlider({ value: controlledValue, defaultValue, onValueChange, min, max, step, variant, size, orientation, disabled, showTooltip, formatTooltip, dir, name, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: NSliderProps): React$1.JSX.Element;
|
|
2147
2163
|
declare namespace NSlider {
|
|
2148
2164
|
var displayName: string;
|
|
2149
2165
|
}
|
|
@@ -2152,7 +2168,7 @@ interface SliderProps extends Omit<NSliderProps, "value" | "defaultValue" | "onV
|
|
|
2152
2168
|
value: number[];
|
|
2153
2169
|
onValueChange: (value: number[]) => void;
|
|
2154
2170
|
}
|
|
2155
|
-
declare function Slider({ value, onValueChange, ...rest }: SliderProps):
|
|
2171
|
+
declare function Slider({ value, onValueChange, ...rest }: SliderProps): React$1.JSX.Element;
|
|
2156
2172
|
interface SliderInputProps extends Omit<NSliderProps, "value" | "defaultValue" | "onValueChange" | "onChange"> {
|
|
2157
2173
|
value?: number;
|
|
2158
2174
|
onChange?: (value: number) => void;
|
|
@@ -2161,7 +2177,7 @@ interface SliderInputProps extends Omit<NSliderProps, "value" | "defaultValue" |
|
|
|
2161
2177
|
iconColor?: string;
|
|
2162
2178
|
readOnly?: boolean;
|
|
2163
2179
|
}
|
|
2164
|
-
declare function SliderInput({ value, onChange, status: _status, icon: _icon, iconColor: _iconColor, readOnly: _readOnly, ...rest }: SliderInputProps):
|
|
2180
|
+
declare function SliderInput({ value, onChange, status: _status, icon: _icon, iconColor: _iconColor, readOnly: _readOnly, ...rest }: SliderInputProps): React$1.JSX.Element;
|
|
2165
2181
|
|
|
2166
2182
|
type InputIcon = string | ReactNode | ComponentType<{
|
|
2167
2183
|
className?: string;
|
|
@@ -2477,7 +2493,7 @@ declare const CheckboxInput: React__default.FC<CheckboxInputProps>;
|
|
|
2477
2493
|
|
|
2478
2494
|
declare function CheckboxGroupInput({ value, onChange, items, layout, className, variant, status, bordered, borderColor, disabled, }: CheckboxGroupInputProps & {
|
|
2479
2495
|
disabled?: boolean;
|
|
2480
|
-
}):
|
|
2496
|
+
}): React__default.JSX.Element;
|
|
2481
2497
|
|
|
2482
2498
|
declare const SwitchInput: React__default.FC<SwitchInputProps>;
|
|
2483
2499
|
|
|
@@ -2510,31 +2526,31 @@ interface NUploaderProps {
|
|
|
2510
2526
|
onCancel?: (id: string) => void;
|
|
2511
2527
|
onRemove?: (id: string) => void;
|
|
2512
2528
|
}
|
|
2513
|
-
declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, onFilesSelected, onCancel, onRemove, }: NUploaderProps):
|
|
2529
|
+
declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, onFilesSelected, onCancel, onRemove, }: NUploaderProps): React__default.JSX.Element;
|
|
2514
2530
|
|
|
2515
|
-
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):
|
|
2531
|
+
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__default.JSX.Element;
|
|
2516
2532
|
|
|
2517
2533
|
/** A circular image picker preset for profile photos and user avatars. */
|
|
2518
|
-
declare function AvatarInput({ imageSize, size, fill, radius, containerClassName, previewClassName, previewStyle, contentClassName, uploadIcon, title, subtitleClassName, trigger, ...props }: AvatarInputProps):
|
|
2534
|
+
declare function AvatarInput({ imageSize, size, fill, radius, containerClassName, previewClassName, previewStyle, contentClassName, uploadIcon, title, subtitleClassName, trigger, ...props }: AvatarInputProps): React__default.JSX.Element;
|
|
2519
2535
|
|
|
2520
2536
|
declare const StarRatingInput: React__default.FC<StarRatingInputProps>;
|
|
2521
2537
|
|
|
2522
2538
|
declare const ColorArrayInput: React__default.FC<ColorArrayInputProps>;
|
|
2523
2539
|
|
|
2524
|
-
declare function ColorPickerInput(props: ColorPickerInputProps):
|
|
2540
|
+
declare function ColorPickerInput(props: ColorPickerInputProps): React__default.JSX.Element;
|
|
2525
2541
|
|
|
2526
2542
|
declare function EmojiInput({ value, onChange, options, className, variant, status, bordered, borderColor, disabled, }: EmojiInputProps & {
|
|
2527
2543
|
disabled?: boolean;
|
|
2528
|
-
}):
|
|
2544
|
+
}): React__default.JSX.Element;
|
|
2529
2545
|
|
|
2530
|
-
declare function LangInput({ value, onChange, items, disabled, className, }: LangInputProps):
|
|
2546
|
+
declare function LangInput({ value, onChange, items, disabled, className, }: LangInputProps): React__default.JSX.Element;
|
|
2531
2547
|
|
|
2532
2548
|
declare function PhoneInput({ value, onChange, defaultCountry, placeholder, disabled, className, variant, status, bordered, borderColor, }: PhoneInputProps & {
|
|
2533
2549
|
variant?: "default" | "rounded" | "ghost";
|
|
2534
2550
|
status?: "default" | "error";
|
|
2535
2551
|
borderColor?: TailwindColor;
|
|
2536
2552
|
bordered?: boolean;
|
|
2537
|
-
}):
|
|
2553
|
+
}): React__default.JSX.Element;
|
|
2538
2554
|
|
|
2539
2555
|
declare const TimeInput: React__default.ForwardRefExoticComponent<TimeInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
2540
2556
|
|
|
@@ -2558,7 +2574,7 @@ interface SearchFieldProps {
|
|
|
2558
2574
|
placeholder?: string;
|
|
2559
2575
|
className?: string;
|
|
2560
2576
|
}
|
|
2561
|
-
declare function SearchField({ value, onChange, placeholder, className }: SearchFieldProps):
|
|
2577
|
+
declare function SearchField({ value, onChange, placeholder, className }: SearchFieldProps): React__default.JSX.Element;
|
|
2562
2578
|
|
|
2563
2579
|
interface FileImportButtonProps {
|
|
2564
2580
|
onFile?: (file: File) => void;
|
|
@@ -2568,7 +2584,7 @@ interface FileImportButtonProps {
|
|
|
2568
2584
|
children?: React__default.ReactNode;
|
|
2569
2585
|
loading?: boolean;
|
|
2570
2586
|
}
|
|
2571
|
-
declare function FileImportButton({ onFile, onFiles, accept, multiple, children, loading, }: FileImportButtonProps):
|
|
2587
|
+
declare function FileImportButton({ onFile, onFiles, accept, multiple, children, loading, }: FileImportButtonProps): React__default.JSX.Element;
|
|
2572
2588
|
|
|
2573
2589
|
interface ComboboxOption {
|
|
2574
2590
|
value: string;
|
|
@@ -2584,7 +2600,7 @@ interface ComboboxProps {
|
|
|
2584
2600
|
allowFreeText?: boolean;
|
|
2585
2601
|
disabled?: boolean;
|
|
2586
2602
|
}
|
|
2587
|
-
declare function Combobox({ options, value, onChange, placeholder, emptyText, className, allowFreeText, disabled, }: ComboboxProps):
|
|
2603
|
+
declare function Combobox({ options, value, onChange, placeholder, emptyText, className, allowFreeText, disabled, }: ComboboxProps): React$1.JSX.Element;
|
|
2588
2604
|
|
|
2589
2605
|
type FormVariant = "default" | "studio" | "compact";
|
|
2590
2606
|
interface FormSlotClassNames {
|
|
@@ -2687,7 +2703,7 @@ interface NFormSectionHeaderProps {
|
|
|
2687
2703
|
className?: string;
|
|
2688
2704
|
color?: string;
|
|
2689
2705
|
}
|
|
2690
|
-
declare function NFormSectionHeader({ icon: Icon, title, className, color, }: NFormSectionHeaderProps):
|
|
2706
|
+
declare function NFormSectionHeader({ icon: Icon, title, className, color, }: NFormSectionHeaderProps): React__default.JSX.Element;
|
|
2691
2707
|
|
|
2692
2708
|
declare const FormInput: React__default.FC<FormInputProps>;
|
|
2693
2709
|
|
|
@@ -2695,7 +2711,7 @@ type AvatarFormInputProps = Omit<Extract<FormInputProps, {
|
|
|
2695
2711
|
type: "avatar";
|
|
2696
2712
|
}>, "type">;
|
|
2697
2713
|
/** Form-bound avatar picker convenience wrapper. */
|
|
2698
|
-
declare function AvatarFormInput(props: AvatarFormInputProps):
|
|
2714
|
+
declare function AvatarFormInput(props: AvatarFormInputProps): React__default.JSX.Element;
|
|
2699
2715
|
|
|
2700
2716
|
interface DynamicArrayProps {
|
|
2701
2717
|
name: string;
|
|
@@ -2709,8 +2725,8 @@ interface DynamicArrayProps {
|
|
|
2709
2725
|
emptyLabel?: string;
|
|
2710
2726
|
}
|
|
2711
2727
|
type RepeatingFieldsProps = DynamicArrayProps;
|
|
2712
|
-
declare const DynamicArray: ({ name, children, title, onAdd, className, collapsible, defaultCollapsed, addLabel, emptyLabel }: DynamicArrayProps) =>
|
|
2713
|
-
declare const RepeatingFields: ({ name, children, title, onAdd, className, collapsible, defaultCollapsed, addLabel, emptyLabel }: DynamicArrayProps) =>
|
|
2728
|
+
declare const DynamicArray: ({ name, children, title, onAdd, className, collapsible, defaultCollapsed, addLabel, emptyLabel }: DynamicArrayProps) => React__default.JSX.Element;
|
|
2729
|
+
declare const RepeatingFields: ({ name, children, title, onAdd, className, collapsible, defaultCollapsed, addLabel, emptyLabel }: DynamicArrayProps) => React__default.JSX.Element;
|
|
2714
2730
|
|
|
2715
2731
|
declare const PrefixProvider: React__default.FC<{
|
|
2716
2732
|
prefix?: string | number;
|
|
@@ -2726,7 +2742,7 @@ declare function useNForm<T extends ZodTypeAny>(options: UseNFormOptions<T>): Us
|
|
|
2726
2742
|
declare function FormDevToolsProvider({ children, value, }: {
|
|
2727
2743
|
children: React__default.ReactNode;
|
|
2728
2744
|
value?: boolean | FormDevToolsOptions;
|
|
2729
|
-
}):
|
|
2745
|
+
}): React__default.JSX.Element;
|
|
2730
2746
|
|
|
2731
2747
|
interface StepConfig {
|
|
2732
2748
|
id: string;
|
|
@@ -2777,7 +2793,7 @@ interface StepMeta {
|
|
|
2777
2793
|
title: string;
|
|
2778
2794
|
}
|
|
2779
2795
|
|
|
2780
|
-
declare function WizardForm({ steps, schema, defaultValues, onSubmit, currentStep: controlledStep, onCurrentStepChange, onStepComplete, showHeader, showFooter, nextLabel, previousLabel, submitLabel, variant, bordered, className, classNames, footerSlot, footerDivider, footerDividerClassName, devTools, }: WizardFormProps):
|
|
2796
|
+
declare function WizardForm({ steps, schema, defaultValues, onSubmit, currentStep: controlledStep, onCurrentStepChange, onStepComplete, showHeader, showFooter, nextLabel, previousLabel, submitLabel, variant, bordered, className, classNames, footerSlot, footerDivider, footerDividerClassName, devTools, }: WizardFormProps): React__default.JSX.Element;
|
|
2781
2797
|
|
|
2782
2798
|
interface StepIndicatorProps {
|
|
2783
2799
|
stepNumber: number;
|
|
@@ -2787,7 +2803,7 @@ interface StepIndicatorProps {
|
|
|
2787
2803
|
onClick?: (step: number) => void;
|
|
2788
2804
|
className?: string;
|
|
2789
2805
|
}
|
|
2790
|
-
declare function StepIndicator({ stepNumber, title, currentStep, completedSteps, onClick, className, }: StepIndicatorProps):
|
|
2806
|
+
declare function StepIndicator({ stepNumber, title, currentStep, completedSteps, onClick, className, }: StepIndicatorProps): React__default.JSX.Element;
|
|
2791
2807
|
|
|
2792
2808
|
interface StepsHeaderProps {
|
|
2793
2809
|
steps: StepMeta[];
|
|
@@ -2797,14 +2813,14 @@ interface StepsHeaderProps {
|
|
|
2797
2813
|
className?: string;
|
|
2798
2814
|
classNames?: WizardClassNames;
|
|
2799
2815
|
}
|
|
2800
|
-
declare function StepsHeader({ steps, currentStep, completedSteps, onStepClick, className, classNames, }: StepsHeaderProps):
|
|
2816
|
+
declare function StepsHeader({ steps, currentStep, completedSteps, onStepClick, className, classNames, }: StepsHeaderProps): React__default.JSX.Element;
|
|
2801
2817
|
|
|
2802
2818
|
interface StepsProgressProps {
|
|
2803
2819
|
steps: StepMeta[];
|
|
2804
2820
|
currentStep: number;
|
|
2805
2821
|
className?: string;
|
|
2806
2822
|
}
|
|
2807
|
-
declare function StepsProgress({ steps, currentStep, className }: StepsProgressProps):
|
|
2823
|
+
declare function StepsProgress({ steps, currentStep, className }: StepsProgressProps): React__default.JSX.Element;
|
|
2808
2824
|
|
|
2809
2825
|
interface UseStepNavigationOptions {
|
|
2810
2826
|
steps: StepConfig[];
|
|
@@ -2876,7 +2892,7 @@ interface TableState {
|
|
|
2876
2892
|
showColumnVisibility: boolean;
|
|
2877
2893
|
showAddButton: boolean;
|
|
2878
2894
|
showViewToggle: boolean;
|
|
2879
|
-
toolbarLabels:
|
|
2895
|
+
toolbarLabels: NTableToolbarLabels;
|
|
2880
2896
|
showContent: boolean;
|
|
2881
2897
|
isTableView: boolean;
|
|
2882
2898
|
isCardView: boolean;
|
|
@@ -3025,7 +3041,7 @@ declare const createTableStore: (seed?: Partial<TableState>) => {
|
|
|
3025
3041
|
showColumnVisibility: () => boolean;
|
|
3026
3042
|
showAddButton: () => boolean;
|
|
3027
3043
|
showViewToggle: () => boolean;
|
|
3028
|
-
toolbarLabels: () =>
|
|
3044
|
+
toolbarLabels: () => NTableToolbarLabels;
|
|
3029
3045
|
showContent: () => boolean;
|
|
3030
3046
|
isTableView: () => boolean;
|
|
3031
3047
|
isCardView: () => boolean;
|
|
@@ -3328,7 +3344,8 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
|
|
|
3328
3344
|
showColumnVisibility?: boolean;
|
|
3329
3345
|
showAddButton?: boolean;
|
|
3330
3346
|
showViewToggle?: boolean;
|
|
3331
|
-
|
|
3347
|
+
/** Accessible names and visible copy for the toolbar and settings menu. */
|
|
3348
|
+
toolbarLabels?: NTableToolbarLabels;
|
|
3332
3349
|
dynamicHeight?: boolean;
|
|
3333
3350
|
headerClassName?: string;
|
|
3334
3351
|
/** CSS color or Najm token name for the table header background. Defaults to primary. */
|
|
@@ -3399,19 +3416,19 @@ declare function buildPageItems(pageIndex: number, pageCount: number, siblingCou
|
|
|
3399
3416
|
|
|
3400
3417
|
declare function NTableContent({ effectiveMode }: {
|
|
3401
3418
|
effectiveMode?: string;
|
|
3402
|
-
}):
|
|
3419
|
+
}): React__default.JSX.Element;
|
|
3403
3420
|
|
|
3404
3421
|
declare function NTableCards({ effectiveMode }: {
|
|
3405
3422
|
effectiveMode?: string;
|
|
3406
|
-
}):
|
|
3423
|
+
}): React__default.JSX.Element;
|
|
3407
3424
|
|
|
3408
|
-
declare function NTablePagination():
|
|
3425
|
+
declare function NTablePagination(): React__default.JSX.Element;
|
|
3409
3426
|
|
|
3410
|
-
declare function NTableHeader():
|
|
3427
|
+
declare function NTableHeader(): React__default.JSX.Element;
|
|
3411
3428
|
|
|
3412
3429
|
declare function NTableLoadingSkeleton({ rows }: {
|
|
3413
3430
|
rows?: number;
|
|
3414
|
-
}):
|
|
3431
|
+
}): React__default.JSX.Element;
|
|
3415
3432
|
|
|
3416
3433
|
interface NDataCardShellActions {
|
|
3417
3434
|
onView?: (row: unknown) => void;
|
|
@@ -3432,7 +3449,7 @@ interface NDataCardShellProps {
|
|
|
3432
3449
|
bordered?: boolean;
|
|
3433
3450
|
borderColor?: string;
|
|
3434
3451
|
}
|
|
3435
|
-
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderColor }: NDataCardShellProps):
|
|
3452
|
+
declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderColor }: NDataCardShellProps): React__default.JSX.Element;
|
|
3436
3453
|
|
|
3437
3454
|
interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> {
|
|
3438
3455
|
card: {
|
|
@@ -3442,7 +3459,7 @@ interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDiv
|
|
|
3442
3459
|
children: React__default.ReactNode;
|
|
3443
3460
|
className?: string;
|
|
3444
3461
|
}
|
|
3445
|
-
declare function NTableCardRoot({ card, children, className, ...rest }: NTableCardRootProps):
|
|
3462
|
+
declare function NTableCardRoot({ card, children, className, ...rest }: NTableCardRootProps): React__default.JSX.Element;
|
|
3446
3463
|
|
|
3447
3464
|
interface FileNode {
|
|
3448
3465
|
key: string;
|
|
@@ -3504,7 +3521,7 @@ interface BuildDefaultFileColumnsOptions {
|
|
|
3504
3521
|
showModified?: boolean;
|
|
3505
3522
|
}
|
|
3506
3523
|
declare function buildDefaultFileColumns(options?: BuildDefaultFileColumnsOptions): ColumnDef<FileNode>[];
|
|
3507
|
-
declare function NFileBrowser({ nodes, mode, defaultMode, onModeChange, availableModes, onOpen, onContextMenu, onBackgroundContextMenu, selected, onSelectionChange, renderThumb, renderCard, columns, extraColumns, showSize, showType, showModified, loading, sorting, onSortingChange, showCheckbox, showPagination, showViewToggle, responsiveCards, noDataText, loadingText, renderEmpty, renderToolbar, className, }: NFileBrowserProps):
|
|
3524
|
+
declare function NFileBrowser({ nodes, mode, defaultMode, onModeChange, availableModes, onOpen, onContextMenu, onBackgroundContextMenu, selected, onSelectionChange, renderThumb, renderCard, columns, extraColumns, showSize, showType, showModified, loading, sorting, onSortingChange, showCheckbox, showPagination, showViewToggle, responsiveCards, noDataText, loadingText, renderEmpty, renderToolbar, className, }: NFileBrowserProps): React__default.JSX.Element;
|
|
3508
3525
|
|
|
3509
3526
|
declare const TableStoreContext: React$1.Context<{
|
|
3510
3527
|
(): TableState;
|
|
@@ -3523,7 +3540,7 @@ declare const TableStoreContext: React$1.Context<{
|
|
|
3523
3540
|
showColumnVisibility: () => boolean;
|
|
3524
3541
|
showAddButton: () => boolean;
|
|
3525
3542
|
showViewToggle: () => boolean;
|
|
3526
|
-
toolbarLabels: () =>
|
|
3543
|
+
toolbarLabels: () => NTableToolbarLabels;
|
|
3527
3544
|
showContent: () => boolean;
|
|
3528
3545
|
isTableView: () => boolean;
|
|
3529
3546
|
isCardView: () => boolean;
|
|
@@ -3661,7 +3678,7 @@ declare function useStoreSync(props: any): {
|
|
|
3661
3678
|
showColumnVisibility: () => boolean;
|
|
3662
3679
|
showAddButton: () => boolean;
|
|
3663
3680
|
showViewToggle: () => boolean;
|
|
3664
|
-
toolbarLabels: () =>
|
|
3681
|
+
toolbarLabels: () => NTableToolbarLabels;
|
|
3665
3682
|
showContent: () => boolean;
|
|
3666
3683
|
isTableView: () => boolean;
|
|
3667
3684
|
isCardView: () => boolean;
|
|
@@ -3870,7 +3887,7 @@ interface NajmFormatProviderProps {
|
|
|
3870
3887
|
* preference and the rendering of every date derived from it stay in one place,
|
|
3871
3888
|
* and a zone change re-renders the consumers instead of leaving stale text.
|
|
3872
3889
|
*/
|
|
3873
|
-
declare function NajmFormatProvider({ children, locale, currency, timeZone, placeholder, }: NajmFormatProviderProps):
|
|
3890
|
+
declare function NajmFormatProvider({ children, locale, currency, timeZone, placeholder, }: NajmFormatProviderProps): React$1.JSX.Element;
|
|
3874
3891
|
/** Returns the context when one is mounted, or `null`. */
|
|
3875
3892
|
declare function useNajmFormatContext(): NajmFormatContextValue | null;
|
|
3876
3893
|
/**
|
|
@@ -3911,7 +3928,7 @@ interface NSmartPasteDialogProps {
|
|
|
3911
3928
|
onCancel: () => void;
|
|
3912
3929
|
parseAndPreview: (pasteJson: unknown, currentJson: string) => SmartPastePreview | null;
|
|
3913
3930
|
}
|
|
3914
|
-
declare function NSmartPasteDialog({ open, currentJson, colors, title, subtitle, description, placeholder, emptyMessage, itemLabel, onMerge, onCancel, parseAndPreview, }: NSmartPasteDialogProps):
|
|
3931
|
+
declare function NSmartPasteDialog({ open, currentJson, colors, title, subtitle, description, placeholder, emptyMessage, itemLabel, onMerge, onCancel, parseAndPreview, }: NSmartPasteDialogProps): React$1.JSX.Element;
|
|
3915
3932
|
|
|
3916
3933
|
type LinkComponentType = ComponentType<{
|
|
3917
3934
|
href: string;
|
|
@@ -4121,17 +4138,17 @@ interface NSidebarMobileProps {
|
|
|
4121
4138
|
bordered?: boolean;
|
|
4122
4139
|
}
|
|
4123
4140
|
|
|
4124
|
-
declare function NSidebarHeader({ children, collapsed, className, classNames }: NSidebarHeaderProps):
|
|
4141
|
+
declare function NSidebarHeader({ children, collapsed, className, classNames }: NSidebarHeaderProps): React$1.JSX.Element;
|
|
4125
4142
|
|
|
4126
|
-
declare function NSidebarBrand({ logo, collapsed, linkComponent: Link, className }: NSidebarBrandProps):
|
|
4143
|
+
declare function NSidebarBrand({ logo, collapsed, linkComponent: Link, className }: NSidebarBrandProps): React$1.JSX.Element;
|
|
4127
4144
|
|
|
4128
|
-
declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, contentStyle, classNames, }: NSidebarContentProps):
|
|
4145
|
+
declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, contentStyle, classNames, }: NSidebarContentProps): React$1.JSX.Element;
|
|
4129
4146
|
|
|
4130
|
-
declare function NSidebarSection({ group, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, isFirst, classNames, }: NSidebarSectionProps):
|
|
4147
|
+
declare function NSidebarSection({ group, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, isFirst, classNames, }: NSidebarSectionProps): React$1.JSX.Element;
|
|
4131
4148
|
|
|
4132
|
-
declare function NSidebarFooter({ children, onSettings, settingsLabel, onLogout, logoutLabel, showCollapseButton, collapsed, onToggleCollapsed, collapseLabel, expandLabel, isMobile, className, classNames, }: NSidebarFooterProps):
|
|
4149
|
+
declare function NSidebarFooter({ children, onSettings, settingsLabel, onLogout, logoutLabel, showCollapseButton, collapsed, onToggleCollapsed, collapseLabel, expandLabel, isMobile, className, classNames, }: NSidebarFooterProps): React$1.JSX.Element;
|
|
4133
4150
|
|
|
4134
|
-
declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, }: NSidebarMobileProps):
|
|
4151
|
+
declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, }: NSidebarMobileProps): React$1.JSX.Element;
|
|
4135
4152
|
|
|
4136
4153
|
interface NSidebarContextValue {
|
|
4137
4154
|
collapsed: boolean;
|
|
@@ -4162,11 +4179,11 @@ declare function NSidebarProvider({ children, defaultCollapsed, mobileBreakpoint
|
|
|
4162
4179
|
children: ReactNode;
|
|
4163
4180
|
defaultCollapsed?: boolean;
|
|
4164
4181
|
mobileBreakpoint?: "sm" | "md" | "lg";
|
|
4165
|
-
}>):
|
|
4182
|
+
}>): React$1.JSX.Element;
|
|
4166
4183
|
|
|
4167
|
-
declare function NSidebar({ logo, navItems, activePath, isActive, onNavigate, linkComponent, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, showCollapseButton, collapseButtonPosition, showSectionLabels, showSectionIcons, showSectionSeparators, bordered, footer, className, classNames, mobileBreakpoint: mobileBreakpointProp, autoCollapseAt, mobileOpen: mobileOpenProp, defaultMobileOpen, onMobileOpenChange, closeOnNavigate, hamburgerLabel, closeLabel, collapseLabel, expandLabel, hamburgerClassName, showHamburgerButton, onSettings, settingsLabel, onLogout, logoutLabel, widths, }: SidebarProps):
|
|
4184
|
+
declare function NSidebar({ logo, navItems, activePath, isActive, onNavigate, linkComponent, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, showCollapseButton, collapseButtonPosition, showSectionLabels, showSectionIcons, showSectionSeparators, bordered, footer, className, classNames, mobileBreakpoint: mobileBreakpointProp, autoCollapseAt, mobileOpen: mobileOpenProp, defaultMobileOpen, onMobileOpenChange, closeOnNavigate, hamburgerLabel, closeLabel, collapseLabel, expandLabel, hamburgerClassName, showHamburgerButton, onSettings, settingsLabel, onLogout, logoutLabel, widths, }: SidebarProps): React$1.JSX.Element;
|
|
4168
4185
|
|
|
4169
|
-
declare function NSidebarItem({ item, activePath, isActive, onNavigate, linkComponent: LinkComponent, collapsed, depth, classNames, }: SidebarItemProps):
|
|
4186
|
+
declare function NSidebarItem({ item, activePath, isActive, onNavigate, linkComponent: LinkComponent, collapsed, depth, classNames, }: SidebarItemProps): React__default.JSX.Element;
|
|
4170
4187
|
|
|
4171
4188
|
interface UserMenuAction {
|
|
4172
4189
|
id: string;
|
|
@@ -4236,7 +4253,7 @@ interface NCommandPaletteProps {
|
|
|
4236
4253
|
className?: string;
|
|
4237
4254
|
}
|
|
4238
4255
|
|
|
4239
|
-
declare function NAppShell({ children, logo, title, navItems, activePath, onNavigate, isActive, linkComponent, user, actions, userMenuActions, onLogout, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseButtonPosition, widths, sidebarFooter, navbarLeft, navbarRight, classNames, }: NAppShellProps):
|
|
4256
|
+
declare function NAppShell({ children, logo, title, navItems, activePath, onNavigate, isActive, linkComponent, user, actions, userMenuActions, onLogout, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseButtonPosition, widths, sidebarFooter, navbarLeft, navbarRight, classNames, }: NAppShellProps): React__default.JSX.Element;
|
|
4240
4257
|
|
|
4241
4258
|
interface NavbarProps {
|
|
4242
4259
|
title?: string;
|
|
@@ -4252,14 +4269,14 @@ interface NavbarProps {
|
|
|
4252
4269
|
className?: string;
|
|
4253
4270
|
classNames?: NAppShellClassNames;
|
|
4254
4271
|
}
|
|
4255
|
-
declare function NNavbar({ title, logo, user, actions, userMenuActions, onLogout, onToggleSidebar, onToggleMobile, leftSlot, rightSlot, className, classNames, }: NavbarProps):
|
|
4272
|
+
declare function NNavbar({ title, logo, user, actions, userMenuActions, onLogout, onToggleSidebar, onToggleMobile, leftSlot, rightSlot, className, classNames, }: NavbarProps): React__default.JSX.Element;
|
|
4256
4273
|
|
|
4257
|
-
declare function NCommandPalette({ commands, open, onOpenChange, placeholder, emptyMessage, className, }: NCommandPaletteProps):
|
|
4274
|
+
declare function NCommandPalette({ commands, open, onOpenChange, placeholder, emptyMessage, className, }: NCommandPaletteProps): React__default.JSX.Element;
|
|
4258
4275
|
|
|
4259
4276
|
interface NPageLayoutProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
4260
4277
|
as?: "main" | "div" | "section";
|
|
4261
4278
|
}
|
|
4262
|
-
declare function NPageLayout({ as: Comp, className, style, ...props }: NPageLayoutProps):
|
|
4279
|
+
declare function NPageLayout({ as: Comp, className, style, ...props }: NPageLayoutProps): React$1.JSX.Element;
|
|
4263
4280
|
|
|
4264
4281
|
interface InspectorSheetProps {
|
|
4265
4282
|
open: boolean;
|
|
@@ -4267,7 +4284,7 @@ interface InspectorSheetProps {
|
|
|
4267
4284
|
title: string;
|
|
4268
4285
|
children: React__default.ReactNode;
|
|
4269
4286
|
}
|
|
4270
|
-
declare function NInspectorSheet({ open, onClose, title, children }: InspectorSheetProps):
|
|
4287
|
+
declare function NInspectorSheet({ open, onClose, title, children }: InspectorSheetProps): React__default.JSX.Element;
|
|
4271
4288
|
|
|
4272
4289
|
type NGridCols = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
4273
4290
|
type NGridSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
@@ -4303,7 +4320,7 @@ interface NGridItemProps extends Omit<React$1.AllHTMLAttributes<HTMLDivElement>,
|
|
|
4303
4320
|
xlSpan?: NGridSpan;
|
|
4304
4321
|
className?: string;
|
|
4305
4322
|
}
|
|
4306
|
-
declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps):
|
|
4307
|
-
declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps):
|
|
4323
|
+
declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps): React$1.JSX.Element;
|
|
4324
|
+
declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps): React$1.JSX.Element;
|
|
4308
4325
|
|
|
4309
|
-
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, BadgeColor, BadgeShape, 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_CARD_BREAKPOINT, 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, EMPTY_DESIGN, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormDevTools, FormDevToolsOptions, FormDevToolsProvider, 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_COLOR_TEXT_CLASSES, NAJM_SAVED_THEME_VALUE, NAJM_STATUS_COLORS, 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 NAvatarImageProps, type NAvatarProps, type AvatarShape as NAvatarShape, NBarChart, type NBarChartProps, 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, type NCartesianChartProps, type NChartCardProps, type NChartDatum, type NChartItem, type NChartSeries, type NChartSize, NChartSkeleton, type NChartSkeletonProps, type NChartSkeletonVariant, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, type NCredentialField, NCredentialsCard, type NCredentialsCardClassNames, type NCredentialsCardProps, 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, NErrorBoundary, type NFeedbackIconSize, 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, NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPieChart, type NPieChartProps, 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, NSidebarBrand, type NSidebarBrandProps, NSidebarContent, type NSidebarContentProps, type NSidebarContextValue, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarMobile, type NSidebarMobileProps, NSidebarProvider, 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, NStatusBreakdown, type NStatusBreakdownProps, Swap as NSwap, type NSwapProps, NTable, NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, type NTablePageItem, NTablePagination, NTablePaginationLabels, NTablePaginationVariant, 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, type NThemePreset, NThemePresets, type NThemePresetsLabels, type NThemePresetsProps, type NThemePresetsStatus, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, NajmAccent, NajmAppearance, type NajmBorderSide, NajmComponentName, NajmComponentStyleConfig, NajmComponentThemeConfig, NajmDesignConfig, NajmDesignEditorProvider, type NajmDesignEditorProviderProps, type NajmDesignEditorValue, NajmDesignProvider, type NajmDesignProviderProps, NajmFormatConfig, type NajmFormatContextValue, NajmFormatProvider, type NajmFormatProviderProps, NajmLayoutConfig, NajmMode, NajmPreset, NajmResponsiveBreakpoint, NajmResponsiveValue, NajmScroll, type NajmScrollProps, NajmThemeConfig, NajmThemeProvider, NajmThemeProviderProps, NajmThemeTokens, NajmTypographyConfig, 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, 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 SidebarLogo, type SidebarLogoRender, 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, buildDefaultFileColumns, buildPageItems, buttonVariants, cn, colorTextClass, composePreset, createDialogStore, createTableStore, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, findStatusColor, focusRingClasses, focusRingWithinClasses, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, isPlaceholderAvatar, normalizeStatusToken, normalizeThemeFileName, parseColor, parseNajmThemeConfig, parseThemeFile, resolveAvatarSrc, resolveHiddenBelowClass, resolvePreset, resolveSlot, resolveStatusColor, sidebarBorderClasses, sliderVariants, statusTextClass, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useCardViewport, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDesktopTableMode, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useMediaQuery, useNForm, useNPortalScope, useNSidebar, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmDesignEditor, useNajmFormat, useNajmFormatContext, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
|
|
4326
|
+
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, BadgeColor, BadgeShape, 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_CARD_BREAKPOINT, DEFAULT_THEME_FILE_NAME, DEFAULT_TOOLBAR_KEY_PREFIX, 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, EMPTY_DESIGN, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormDevTools, FormDevToolsOptions, FormDevToolsProvider, 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_COLOR_TEXT_CLASSES, NAJM_SAVED_THEME_VALUE, NAJM_STATUS_COLORS, 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 NAvatarImageProps, type NAvatarProps, type AvatarShape as NAvatarShape, NBarChart, type NBarChartProps, 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, type NCartesianChartProps, type NChartCardProps, type NChartDatum, type NChartItem, type NChartSeries, type NChartSize, NChartSkeleton, type NChartSkeletonProps, type NChartSkeletonVariant, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, type NCredentialField, NCredentialsCard, type NCredentialsCardClassNames, type NCredentialsCardProps, 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, NErrorBoundary, type NFeedbackIconSize, 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, NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPieChart, type NPieChartProps, 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, NSidebarBrand, type NSidebarBrandProps, NSidebarContent, type NSidebarContentProps, type NSidebarContextValue, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarMobile, type NSidebarMobileProps, NSidebarProvider, 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, NStatusBreakdown, type NStatusBreakdownProps, Swap as NSwap, type NSwapProps, NTable, NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, type NTablePageItem, NTablePagination, NTablePaginationLabels, NTablePaginationVariant, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTableToolbarLabels, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NThemeCustomizer, type NThemeCustomizerFontOption, type NThemeCustomizerLabels, type NThemeCustomizerProps, type NThemeCustomizerTab, type NThemePreset, NThemePresets, type NThemePresetsLabels, type NThemePresetsProps, type NThemePresetsStatus, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, NajmAccent, NajmAppearance, type NajmBorderSide, NajmComponentName, NajmComponentStyleConfig, NajmComponentThemeConfig, NajmDesignConfig, NajmDesignEditorProvider, type NajmDesignEditorProviderProps, type NajmDesignEditorValue, NajmDesignProvider, type NajmDesignProviderProps, NajmFormatConfig, type NajmFormatContextValue, NajmFormatProvider, type NajmFormatProviderProps, NajmLayoutConfig, NajmMode, NajmPreset, NajmResponsiveBreakpoint, NajmResponsiveValue, NajmScroll, type NajmScrollProps, NajmThemeConfig, NajmThemeProvider, NajmThemeProviderProps, NajmThemeTokens, NajmTranslate, NajmTypographyConfig, 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, 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 SidebarLogo, type SidebarLogoRender, 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, buildDefaultFileColumns, buildPageItems, buildToolbarLabels, buttonVariants, cn, colorTextClass, composePreset, createDialogStore, createTableStore, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, findStatusColor, focusRingClasses, focusRingWithinClasses, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, isPlaceholderAvatar, normalizeStatusToken, normalizeThemeFileName, parseColor, parseNajmThemeConfig, parseThemeFile, resolveAvatarSrc, resolveHiddenBelowClass, resolvePreset, resolveSlot, resolveStatusColor, sidebarBorderClasses, sliderVariants, statusTextClass, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useCardViewport, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDesktopTableMode, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useMediaQuery, useNForm, useNPortalScope, useNSidebar, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmDesignEditor, useNajmFormat, useNajmFormatContext, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
|